Professional Documents
Culture Documents
Command KP
Command KP
clc
clear all
clc
A=19
num=[A]
den=[1 12 A]
go=tf(num,den)
figure,step(go)
KP=A*15;
KI=A*10;
KD=19;
numoP=[KP]
denoP=[1]
KP=tf(numoP,denoP)
GoKP=tf(KP*go)
figure,step(GoKP)
GcKP=feedback(GoKP,1)
figure,step(GcKP)
A=
19
num =
19
den =
go =
12
19
19
--------------s^2 + 12 s + 19
numoP =
285
denoP =
KP =
285
Static gain.
GoKP =
5415
--------------s^2 + 12 s + 19
GcKP =
5415
----------------s^2 + 12 s + 5434
>>