Is it possible to tune 2 PID controllers ?

조회 수: 64 (최근 30일)
Nuh Metehan
Nuh Metehan 2014년 4월 4일
편집: Raju Rambha 2018년 11월 15일
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 ?

채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2014년 4월 8일
편집: Arkadiy Turevskiy 2014년 4월 8일
The traditional way to handle this problem is tune the inner loop first with the outer loop open, then tune the outer loop.
What that means practically is that you would delete the line from the Saturation 1 to second sum block, and tune Current Controller PID. Then connect the line back and tune Position Control PID.
The alternative method is to tune two controllers simultaneously.
Take a look at this recent blog post which describes how to do it for a very similar setup.

추가 답변 (3개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 4일
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

Shery
Shery 2014년 5월 10일
편집: Shery 2014년 5월 10일
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
Raju Rambha 2018년 11월 15일
편집: Raju Rambha 2018년 11월 15일
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"

카테고리

Help CenterFile Exchange에서 PID Controller Tuning에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by