Clear Filters
Clear Filters

Simulink PI controller error

5 views (last 30 days)
승필 박
승필 박 on 10 Mar 2022
Answered: MULI on 15 Feb 2024
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

Answers (1)

MULI
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.

Tags

Community Treasure Hunt

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

Start Hunting!