Simulink PI controller error
1 view (last 30 days)
Show older comments
Hello
I am buidling a modeling of boost PFC based on youtube lecture.
Even I designed same model as online lecture.
I have some error regarding PI controller as you can see the below picture.
Could you please check why I faced in this trouble ?
I attached my simulink data.
Please review my simulink error and give me feedback.
Thanks
0 Comments
Answers (1)
MULI
on 15 Feb 2024
I understand that simulation is stopped due to singularity in the solution.
This error is due to usage of RMS block that belongs to “DSP System Toolbox / Statistics” which gives the positive portion of the signal that has value zero at start of simulation which creates an issue since a division block is also used in the model.
Replace this with RMS block that belongs to “Simscape / Electrical / Specialized Power Systems / Sensors and Measurements” which computes the true root mean square (RMS) value of the input signal.
You may refer the link below for more information regarding this block:
I am attaching the Simulink model by replacing the correct RMS block which runs successfully.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!