what algorithms are applied in the auto tuning of PID block in simulink?
3 views (last 30 days)
Show older comments
Stanley Cheng
on 13 May 2014
Commented: Karrar
on 7 Sep 2019
Hi everyone,
as the title, could anyone tell me about that?
The auto tuning really offers a really good control performance.
Thanks very much!
0 Comments
Accepted Answer
Arkadiy Turevskiy
on 15 May 2014
Proprietary algorithm developed by MathWorks.
Typical PID tuning objectives include:
Closed-loop stability — The closed-loop system output remains bounded for bounded input.
Adequate performance — The closed-loop system tracks reference changes and suppresses disturbances as rapidly as possible. The larger the loop bandwidth (the first frequency at which the open-loop gain is unity), the faster the controller responds to changes in the reference or disturbances in the loop.
Adequate robustness — The loop design has enough phase margin and gain margin to allow for modeling errors or variations in system dynamics.
The MathWorks algorithm for tuning PID controllers helps you meet these objectives by automatically tuning the PID gains to balance performance (response time) and robustness (stability margins).
By default, the algorithm chooses a crossover frequency (loop bandwidth) based upon the plant dynamics, and designs for a target phase margin of 60°. If you specify the crossover frequency using wc or the phase margin using pidtuneOptions, the algorithm computes PID gains that best meet those targets.
1 Comment
Karrar
on 7 Sep 2019
MATLAB uses the principle of Ziegler-Nichols' second method, but the tuning process is subjected to the constraints that you mentioned and tries to compromise between those constraints.
More Answers (0)
See Also
Categories
Find more on Loop-Shaping Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!