Simulink PI controller error
显示 更早的评论
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
回答(1 个)
MULI
2024-2-15
0 个投票
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.
1 个评论
Hong Tien
2025-3-17
Hi everyone
I perform a project, simulating of PMSM motor Applied to Electric Vehicles by FOC method, but have a error, depicted in below image. Please, everyone can help me to deal with this error.

类别
在 帮助中心 和 File Exchange 中查找有关 Converters (High Power) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!