ask intergral and derivate

4 ビュー (過去 30 日間)
승표
승표 2025 年 2 月 18 日
コメント済み: 승표 2025 年 2 月 20 日
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 件のコメント
Yifeng Tang
Yifeng Tang 2025 年 2 月 19 日
編集済み: Yifeng Tang 2025 年 2 月 19 日
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 :(
승표
승표 2025 年 2 月 19 日
@Sam ChakI understand to some extent what you say, but it's not perfect yet.
If you give feedback on the model above, I would like to ask where to do it.

サインインしてコメントする。

回答 (1 件)

Sam Chak
Sam Chak 2025 年 2 月 20 日
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.
response:
response:
  1 件のコメント
승표
승표 2025 年 2 月 20 日
Thank you very much for your help.If you have any more questions, I'll leave it again.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeElectrical Sensors についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by