PID controller tuning, cannot linearize the plant and error.

12 views (last 30 days)
Hi, hope your doing well
need to tune the PID controller but I am facing a lot of errors, like linearizing failors, and this error :
"The Simulink model DABClosedLoop could not be linearized when downsampling unstable poles with large magnitude with a sample time of 1e-07 to 0.0001. Try decreasing the target sampling time."
The Simulink model is attached.
Please help and thanks

Accepted Answer

Zhao Wang
Zhao Wang on 21 Apr 2022
The model would be linearized while lauhcing the PID Tuner from the PID Controller block's parameters dialog. The attached model, is a switching model with PWM signals driving the IGBT/Diodes. Because of the discontinuities in the model, linearization would error out or maybe linearize to zero. As a result, tuning the PID controller is not possible based on this default linearization result.
To workaround this issue, there are two possible approaches:
  1. Use an average-value model to replace the switching circuit model using the same component parameters. This would allow linearization to obtain a meaningful result for controller tuning.
  2. Keep the switching circuit and conduct frequency response estimation to obtain a linear plant model. The frequency response estimation result can then be loaded into the PID Tuner for controller tuning.
  2 Comments
Zhao Wang
Zhao Wang on 21 Apr 2022
The sample times mentioned in the error message come from the model itself:
  1. A sample time of 1e-07 is used in the powergui block for discrete-time simulation
  2. A sample time of 0.0001 is used in the discrete time PID Controller block
The signals' sample times need to match each other in the linearization process.

Sign in to comment.

More Answers (0)

Communities

More Answers in the  Power Electronics Control

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!