Why does DQ Current control of 3 phase inverter work with Simscape SPS components but not with Simscape Electrical components?
Hi Community,
I am building a current controller for a three phase inverter in the dq frame. I have two models. Both are attached here.
Model 1 is built with Simscape Specialised Pwer systems library components &
Model 2 has components from Simscape electrical.
Expected Results – Measured Id and Iq should follow the setpoint/references provided for each respectively. As there is PID control involved there will be some overshoot, rise time etc as expected, but eventually steady state values should converge to the reference.
With all the parameters and controller design same (to the best of my knowledge) I see desired results with Model 1 but not with Model 2. Any ideas why this could be happening?
Model 1
Model 1 results
Model 2
Model 2 results
This result not does not follow the setpoint but also becomes unstable. The PID parameters are the same but could there be a need for different tuning? If so why, since the input output ranges should be similar as all the other parameters are the same.
Due credit for Model 1
"Syed Abdul Rahman Kashif (2025). Grid Tied Inverter with Current Controller (https://www.mathworks.com/matlabcentral/fileexchange/130854-grid-tied-inverter-with-current-controller), MATLAB Central File Exchange. Retrieved January 31, 2025."Hi Community,
I am building a current controller for a three phase inverter in the dq frame. I have two models. Both are attached here.
Model 1 is built with Simscape Specialised Pwer systems library components &
Model 2 has components from Simscape electrical.
Expected Results – Measured Id and Iq should follow the setpoint/references provided for each respectively. As there is PID control involved there will be some overshoot, rise time etc as expected, but eventually steady state values should converge to the reference.
With all the parameters and controller design same (to the best of my knowledge) I see desired results with Model 1 but not with Model 2. Any ideas why this could be happening?
Model 1
Model 1 results
Model 2
Model 2 results
This result not does not follow the setpoint but also becomes unstable. The PID parameters are the same but could there be a need for different tuning? If so why, since the input output ranges should be similar as all the other parameters are the same.
Due credit for Model 1
"Syed Abdul Rahman Kashif (2025). Grid Tied Inverter with Current Controller (https://www.mathworks.com/matlabcentral/fileexchange/130854-grid-tied-inverter-with-current-controller), MATLAB Central File Exchange. Retrieved January 31, 2025." Hi Community,
I am building a current controller for a three phase inverter in the dq frame. I have two models. Both are attached here.
Model 1 is built with Simscape Specialised Pwer systems library components &
Model 2 has components from Simscape electrical.
Expected Results – Measured Id and Iq should follow the setpoint/references provided for each respectively. As there is PID control involved there will be some overshoot, rise time etc as expected, but eventually steady state values should converge to the reference.
With all the parameters and controller design same (to the best of my knowledge) I see desired results with Model 1 but not with Model 2. Any ideas why this could be happening?
Model 1
Model 1 results
Model 2
Model 2 results
This result not does not follow the setpoint but also becomes unstable. The PID parameters are the same but could there be a need for different tuning? If so why, since the input output ranges should be similar as all the other parameters are the same.
Due credit for Model 1
"Syed Abdul Rahman Kashif (2025). Grid Tied Inverter with Current Controller (https://www.mathworks.com/matlabcentral/fileexchange/130854-grid-tied-inverter-with-current-controller), MATLAB Central File Exchange. Retrieved January 31, 2025." dq control, current control, pq control, three phase inverter, mmc, simscape sps, simscape electrical MATLAB Answers — New Questions