Borrar filtros
Borrar filtros

close loop PID autotuner

2 visualizaciones (últimos 30 días)
Dhaval Kapupara
Dhaval Kapupara el 24 de Abr. de 2020
Editada: Dhaval Kapupara el 26 de Abr. de 2020
Hi there,
I am using "https://www.mathworks.com/help/mcb/gs/tune-pi-controllers-using-foc-autotuner.html" example for PMSM autotuning simulation. but i want to modify it as per my requirement, for that i remove autotuner for speed loop and include "closed loop PID autotuner" but it shows following error.
so, what is possible solution for the same?
i tried to edit block(closed loop PID autotuner), but unable to do so.

Respuesta aceptada

Zhao Wang
Zhao Wang el 24 de Abr. de 2020
Based on the information you provided, replacing the 'FOC Autotuner' block with a 'Closed-Loop PID Autotuner' block is feasible. The error message you posted indicates possible sample-time mismatch associated with the inserted 'Closed-Loop PID Autotuner' block. To view sample times used in the model, please refer to the following link: https://www.mathworks.com/help/simulink/ug/how-to-view-sample-time-information.html
To resolve the issue, you will need to use 'Rate Transition' blocks to interface blocks with different sample times.Please also note that the 'Current Control' subsystem is a triggered subsystem, which is different from a block with fixed sample time. This triggering settings are because of its synchronization with ADC interrupt (explained in https://www.mathworks.com/help/mcb/ug/prepare-task-scheduling.html). Sample time settings also need to be adjusted accordingly.
  1 comentario
Dhaval Kapupara
Dhaval Kapupara el 25 de Abr. de 2020
Editada: Dhaval Kapupara el 26 de Abr. de 2020
Zhao Wang, Thank you!
It worked.

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by