フィルターのクリア

Grid Connected VSI, PI controller output waveform never settles.

34 ビュー (過去 30 日間)
Maaz Samir
Maaz Samir 2024 年 9 月 1 日 5:05
I am designing and simulating a Virtual Synchronous machine which simulates an inertial response of a Synch. Gen.. I have designed the current loop such that the inverter follows the reference P & Q that I input to the system.
The issue I am facing is the PI controller I am using to make Id and Iq follow Id ref and Iq ref is working (i.e it follows the ref whenever we change it) but the oscillations never die out no matter how high Kp or Ki is, thus there is always an Ess no matter how small, the waveform never settles. I need help designing the controller such that the waveform settles.
In the image the red line is the reference signal and the blue is what the controller and current loop controls.

採用された回答

Shivam Gothi
Shivam Gothi 約6時間 前
Based on my understanding, it seems that the issue you're encountering is that the ("Id") and ("Iq") are not following their reference values.
After reviewing the model you provided, I have reached the following conclusions:
  • The voltage source inverter model appears to be good.
  • The controllers are well designed.
  • It seems the issue arises due to the use of “Goto” and “From” tags, which may be causing the signal to not properly transmit between blocks.
To address this, I have modified the sub-systems so that their “Goto” tag is positioned outside the block, as illustrated in the figure below. I have also shared the updated Simulink file with you (NOTE: I have saved the model in different simulink version. download the one according to the version you are using.).
Validating the Controller:
CASE-1: Change "Iqref" , keeping "Idref" = 0.
I applied a step increment to “Iqref” at various time intervals while maintaining “Idref = 0.” The results, shown below, indicate that the reference is being tracked accurately. ]
CASE 2: Change "Idref" by keeping "Iqref" = 10
Now, I set “Iqref = 10A” and incremented “Idref” in steps at different intervals. The results, also displayed below, confirm that the reference is tracked perfectly.
Further Steps:
You can now generate any “Idref” or “Iqref” by solving the Virtual Synchronous Machine model. The inverter's actual currents should track these references accurately.
I hope this information proves helpful !
NOTE: I have saved the model in different simulink version. download the one according to version you are using.
  4 件のコメント
Shivam Gothi
Shivam Gothi 約2時間 前
Glad to hear that the model is working as per your expectation.
Reason for small ripples:
From the waveform attached by you, It seems that the frequency of those ripples roughly corresponds to the line frequency, i.e 50Hz.
As per my understanding, in order to perfectly track the slow varying or DC reference voltages (with completely zero steady state error), we need to achieve infinite loop gain for low frequencies. But practically, it is not possible. Therefore, we may reach upto very high loop gain, but not infinite. This might be the cause behind the small oscillations.
How do I come to know about the "goto" tags ?
After exhausting all the possible solutions for troubleshooting, I asked myselves: "Are the "goto" tags inside the subsystem, visible to other sub-systems?"
After that, I tried on one of the signal. That is, I put the "goto" tag of one of the signals outside the subsystem. To my surprise, the results obtained were quite different from that obtained before. From this, I came to know that this might be causing the issue.
Shivam Gothi
Shivam Gothi 約1時間 前
below given is your PLL block.
The label for angle is "theta" not "Theta". You have used capital "T". Make it small "t". I think this will solve the issue.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by