PID autotuning in Matlab code

11 visualizaciones (últimos 30 días)
Sam Hayward
Sam Hayward el 13 de En. de 2021
Editada: Arkadiy Turevskiy el 12 de En. de 2024
I have a Simulink plant model with a PID controller that needs tuning when I change certain parameters. I have found that using the interactive autotuning (transfer-function based) available when double clicking on the PID block has given suitable results.
Is there a way to export the plant model to the matlab workspace, run the PID autotuner and update the Kp, Ki, Kd and filter coefficient values in the block using a .m code file or function?
Thanks in advance!

Respuestas (1)

Arkadiy Turevskiy
Arkadiy Turevskiy el 12 de En. de 2024
Editada: Arkadiy Turevskiy el 12 de En. de 2024
Answered here

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by