Académique Documents
Professionnel Documents
Culture Documents
1 OBJECTIVE
Design the P, PI, PID controller for a given transfer function by using Ziegler
Nichols Tuning method.
2 THEORY
Ziegler and Nichols proposed rules for determining values of the proportional
gain, integral time and derivative time based on the transient response characteristics of
a given plant. Such determination of the parameters of PID controllers or tuning of PID
controllers can be made by engineers on-site by experiments on the plant.
There are two methods called Ziegler-Nichols tuning rules: the first method and
second method.
CL_G=feedback(G,1)
figure(2)
step(CL_G)
Kc=margin(G)% using routh hurwitz criteria we can calculate
Kc=10
T=1.8945
figure(3)
% P controller design
Kp1=0.5*Kc con1=Kp1
com1=series(G,con1);
P_sys=feedback(com1
,1)
hold on
step(P_sys)
% PI controller design
Kp2=0.45*Kc
Ki2=(1/(0.83*T))*Kp2
con2=tf([Kp2 Ki2],[1 0])
com2=series(G,con2);
PI_sys=feedback(com2
,1)
hold on
step(PI_sys)
Type of
Controller
P 5 ∞ 0
PI 4.5 2.862 0