MATLAB: Can we generate C/C++ code for closed loop Autotuner
c codepower_electronics_control
Hello there,
I am using cloded loop Autotuner for motor controller application. I want to know that, can we get C/C++ code for simulink model "Closed loop PID Autotuner"?
If 'Yes' than how?
Thank you!!!
Best Answer
Let me answer the "how" part of this question. There is a documentation page about the complete workflow of using the Closed-Loop PID Autotuner block in real time:
Since the PMSM Field-Oriented Control Block is an advanced controller that is not supported by the auto-tuning workflow, there are currently limited options for tuning the PID parameters.
You can perform a parameter sweep or try using the Autotuner blocks to speed up the process of manually tuning the parameters. Here are some topics that may help you tune your controller.
Tuning power electronic controllers with PWM involved:
Best Answer