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

Respuestas (1)

MULI
MULI el 15 de Feb. de 2024

0 votos

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 comentario

Hong Tien
Hong Tien el 17 de Mzo. de 2025
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.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 10 de Mzo. de 2022

Comentada:

el 17 de Mzo. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by