ask intergral and derivate
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
One of the voltage equations in the LCL grid-connected inverter is as follows. This is an equation transformed into the synchronous reference frame.

To summarize this,


I can organize it in these two ways. One is the voltage equation that was first defined, which includes the differential term. The second is the iq2 current, which is integrated on both sides.
I made each equation into a simulated link equation. However, the result is different. Equations with differentials represent the correct values, but equations with integrals represent completely different values.
Please let me know what I need to do to express this
- integral equation block

- Derivative equation

Result :

10 Kommentare
Yifeng Tang
am 19 Feb. 2025
Bearbeitet: Yifeng Tang
am 19 Feb. 2025
I'm afraid this is beyond my domain knowledge. I'm a mechanical engineer, and know very little about three-phase AC :p
The "example" model has a missing parameter omega, but it looks like whatever value I put there I'm getting a decreasing signal with some oscillation, while the other scope shows just oscillation.

This makes me wonder whether you have a constant somewhere in your integrand that needs to be zero-ed out first.
Sorry, just my random thoughts. I have no intuition which one is correct :(
Antworten (1)
Sam Chak
am 20 Feb. 2025
Hi @승표
I used the ordinary differential equations (ODEs) from this PMSM example because they are similar to your case. Specifying the ODEs using the Fcn block with appropriate labels is much easier to troubleshoot than adding multiple fundamental blocks, which may obscure your ability to trace signal flows in Simulink.
In the block diagram, there is a clear feedback loop that sends the outputs
and
, along with the other defined parameters, back to the ODEs in the Fcn blocks. In this example, the number of pole pairs (P) is assumed to be 1 for simplicity, and I directly specified it in the Fcn blocks without labeling it. The constants are somewhat unrealistic in this example, but you can modify them to suit your LCL grid-connected inverter.
I would also like to thank @Yifeng Tang for his response. I rarely use Simulink nowadays, so any tips or advice to help the OP improve modeling skills in Simulink/Simscape would be appreciated.



Siehe auch
Kategorien
Mehr zu Electrical Sensors finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!






