Problem using "pidtool" and "pidtune"

조회 수: 7 (최근 30일)
VIJETH DSOUZA
VIJETH DSOUZA 2014년 3월 10일
답변: Arkadiy Turevskiy 2014년 3월 11일
I tried using "pidtool" for tuning the controller. But the tuned values showed negative values of Kd and Ki. Kd and Ki values should always be positive as Kd = Td and Ki = 1/Ti
why does Kd and Ki show negative values?
Same problem occured while using "pidtune"
pA =
-3.802 s^2 - 0.175 s - 0.08049
----------------------------------------------------------------
s^5 + 4.307 s^4 + 1.257 s^3 + 0.1188 s^2 + 0.04301 s + 0.0007226
[C_pid,info] = pidtune(pA,'pid')
C_pid =
1
Kp + Ki * --- + Kd * s
s
with Kp = -0.869, Ki = -0.0225, Kd = -1.71

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2014년 3월 11일
Kd=Kp*Td and Ki=Kp/Ti.
As Kp, Ki, and Kd are all negative, Td and Ti are positive.
Take a look at pidstd reference page. If you want to get PID in standard from, in PID Tool select "Standard" in the "Form" drop down menu.
If you you are using pidtune, the do
C_pidstd=pidstd(C_pid);

카테고리

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