Is it possible to tune 2 PID controllers ?
Show older comments
I am trying to tune 2 PID controllers but I am not able to get a good results.
Firstly I tuned the first PID then second, If I tune the first one again I got completely different results.
Could anyone give me an idea ?

Accepted Answer
More Answers (3)
Azzi Abdelmalek
on 4 Apr 2014
0 votes
Since your system you want to control is not linear, the behavior of your PID is unpredictable, what you need to do is
Step1: adjust the first controller, then vary the parameters for the second controller,
step2: adjust again the first controller, and do the same for the second controller
And so on until you find acceptable performances
Can u guys advise me on the position control of the BLDC motor , i have to tune 3 pid controllers , one for position , one for speed and one for PWM which will vary the duty cycle. I am using the simpower. Can I use PID auto tunning first for inner loop, than for outer and so on.
Raju Rambha
on 15 Nov 2018
Edited: Raju Rambha
on 15 Nov 2018
0 votes
You can get the position control example from mathworks in R2018b. where there is a compleate simulink structure for BLDC motor. If yours a latest version (R2018b) try it in command window as "pe_bldc_position_control"
Categories
Find more on PID Controller Tuning 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!