Professional Documents
Culture Documents
Robust controller design for First order Plus Time Delay systems using Kharitonov
Theorem
N.Varun Chowdary, M.Chidambaram*
Department of Instrumentation, M.I.T, Chromepet, Chennai
*Department of Chemical Engg, Indian Institute of Technology, Madras
Abstract: In this paper, a new method using Kharitonov theorem and an algorithm in MATLAB for stability boundary locus is applied
to compute all the stabilizing PI controller gains for a stable first order plus time delay system which satisfies both robust stability and
robust performance criteria. The PI settings designed using SIMC rule is also shown in the common stability region. Similarly for an
unstable FOPTD system all stabilizing PID controller is identified which satisfies both robust stability and P.M specification. The PI
settings designed for unstable FOPTD system using Dominant Pole Placement and Equating Coefficient method is shown on
plane to compare robustness. It is also shown that to design robust controller for Unstable FOPTD, PID controller should be preferred
to PI controller.
Keywords: Kharitonov Theorem, Robust control, PID controllers, Stabilization, First order plus Time Delay
3. METHOD PROPOSED
Consider a first order plus delay transfer function of the form
( )
( )
( )
3.1 Existing method
According to [5], to design the robust PID controller of the
form c(s)=( ) using complex kharitonov theorem for
a Gain margin(G.M), Phase Margin(P.M) it is required to take
the characteristic equation of the form (1+ G.M*c(s)*G(s)*
)=0 and substituting s=jw. Then the equation is separated 4. STABILITY, GAIN MARGIN, PHASE MARGIN
into real and imaginary parts and equated to zero. By solving CALCULATION
both the equations keeping as constant, are obtained To draw the graph between and for a fixed using
in terms of w. By sweeping over the admissible values of w stability boundary locus the methods given in [11], [12] requires
stability boundary locus is obtained. determination of ( ), ( ), ( ) ( ). In
Hence the above method is computationally intensive to order to simplify the design of robust PID controller the below
calculate and . To overcome this new method is proposed to given calculations and the program written in MATLAB based on
design a robust PID controller with a given specification which the calculation is used.
overcomes the analytical calculation for each system.
3.2 Method proposed 4.1 Stability and Gain Margin Calculation
Consider the transfer function of plant ( )
( )
(16) |G.M*Gc(s)*G(s)|=1 (21)
( ) Where G.M is the required Gain Margin, Gc(s) is the controller
Where N(s) = k*exp(-L*s),D(s)=T*s 1 (17) transfer function and G(s) is the plant model
K=[ ] , L =[ ], T= [ ] Gc(s)= (kds2+kps+ki)/s (22)
Consider the numerator N(s)=k*exp(-L*s) (18) Let s=jw
Substituting s=jw, then we get Gc(jw)=(kdj2w2+kpjw+ki)/jw (23)
N(s)=k*[cos(L*w)-j sin(L*w)] (19) ( )
( ) ( ) Where [ *cos( *w), *cos( *w)] |Gc(jw)|= = ( )
(24)
[ *sin( *w), *sin( *w)] (20) ( ) (25)
Instead of writing Kharitonov polynomials for N(s), by ( )
185
2014 ACODS
March 13-15, 2014. Kanpur, India
Gc(jw1)= (41)
EXAMPLE 6.1: STABLE FOPTD
= desired phase margin at w1(dpm) –phase margin of Let ( ) 4*exp(-2*s)/(4*s+1)
uncompensated system at w1
Where Gain k [ ] L [1.6, 2.4],T [3.2,4.8]
Gc(jw 1)= G.M≥3, P.M≥ 30
We know that Case1: ( ) 3.2*exp(-1.6*s)/(3.2*s+1) (48)
Gc(s) = (kds2+kps+ki)/s (43) Case 2: ( ) 3.2*exp(-1.6*s)/(4.8*s+1) (49)
Gc(jw 1)= (-kdw12+kpjw1+ki)/jw1 = [ ] (44) Case 3: ( ) 3.2*exp(-2.4*s)/(3.2*s+1) (50)
Case 4: ( ) 3.2*exp(-2.4*s)/(4.8*s+1) (51)
Comparing equations on both the sides, we get Case 5: ( ) 4.8*exp(-1.6*s)/(3.2*s+1) (52)
(45) Case 6: ( ) 4.8*exp(-1.6*s)/(4.8*s+1) (53)
Case 7: ( ) 4.8*exp(-2.4*s)/(3.2*s+1) (54)
(46)
Case 8: ( ) 4.8*exp(-2.4*s)/(4.8*s+1) (55)
(47)
6.1.1 Stability Boundary Locus
By substituting “gm=1” in the stability and gain margin code,
5. MATLAB CODE
the stability boundary locus is obtained. In order to avoid
frequency gridding problem adjust “i” such that “w” is just above
5.1 Stability and Gain Margin code
phase cross over frequency. Similarly draw the boundary locus
This code is valid only for process having non-zero phase cross
for all the cases (48) to (55) by changing “sys” in the code. The
over frequency.
curves obtained are as shown in Fig.2
s=zpk('s');
sys=(3.2*exp(-1.6*s))/(4.8*s+1); 6.1.2 Gain Margin Boundary Locus
d=0; % d=0 for PI controller
w=0; % w is frequency By substituting “gm=3” in the stability and gain margin
gm=3;% for stability gm=1 code, following the same procedure as mentioned in stability
for i=1:40 boundary locus the gain margin boundary locus is obtained.
[mag,phase]=bode(sys,w); 6.1.3 Phase Margin Boundary locus
t1=(-90-phase)*(pi/180);
y(i)=(gm*(mag)); By substituting “dpm=30” in the phase margin code and by
u(i)=(sin(t1))/(y(i)); following the same procedure as mentioned in stability
v(i)=(d*(w^2)+(u(i)*w/tan(t1))); boundary locus, the phase margin boundary locus is obtained.
w=w+0.05; 6.1.4 Robust PI Controller Settings
end
As shown in Fig.3, the gain margin curve for case 1 lies
plot(u,v,'m') %u(i)is ( ),v(i) is ( )
inside the stability curve. It also holds for all the cases .Hence it is
5.2 phase margin code sufficient that by choosing the points in the common region of all
the gain and phase margin curves as shown in Fig.5, the robust
This code is valid only for process having non-zero gain cross PID controller setting which satisfies both robust stability and
over frequency. robust performance specification can be obtained.
s=zpk('s'); EXAMPLE 6.2: UNSTABLE FOPTD
sys=(3.2*exp(-1.6*s))/(4.8*s+1); Let ( ) 4*exp(-2*s)/(4*s+1)
d=0; %d=0 for PI controller where Gain k [ ] L [1.6, 2.4],T [3.2,4.8]
dpm=30; P.M≥ 10
w=0;
Case1: ( ) 3.2*exp(-1.6*s)/(3.2*s-1) (56)
for i=1:50
Case 2: ( ) 3.2*exp(-1.6*s)/(4.8*s-1) (57)
[mag,phase]=bode(sys,w);
Case 3: ( ) 3.2*exp(-2.4*s)/(3.2*s-1) (58)
t=(dpm-phase-180)*pi/180;
Case 4: ( ) 3.2*exp(-2.4*s)/(4.8*s-1) (59)
b(i)=((d*(w^2))-((w/mag)*sin(t)));
Case 5: ( ) 4.8*exp(-1.6*s)/(3.2*s-1) (60)
a(i)=cos(t)/mag;
Case 6: ( ) 4.8*exp(-1.6*s)/(4.8*s-1) (61)
w=w+0.05;
end Case 7: ( ) 4.8*exp(-2.4*s)/(3.2*s-1) (62)
plot(a,b,'m') % a(i)is ( ), b(i) is ( ) Case 8: ( ) 4.8*exp(-2.4*s)/(4.8*s-1) (63)
186
2014 ACODS
March 13-15, 2014. Kanpur, India
B. PID CONTROLLER From the Fig.12 it is clear that for k [ ] L [1.6, 2.4],
Derivative gain ( ) is taken as 0.3. By substituting “d=0.3” in T [3.2,4.8] the system is stable , in addition to stability the
the MATLAB code, stability boundary locus for PID controller system has P.M ≥10ᵒ as shown in table 3. By changing the limits
is shown in Fig.7. In order to get the single best point which is of K, L, T and applying the same procedure, robust PID
robustly stable in the considered interval, choose any controller for that system can be designed. If there is no common
optimization technique which minimizes ISE(or) IAE etc.[6]. region then increase kd and apply the same procedure.
To show the validity of the proposed method for unstable
FOPTD only phase margin is taken. 7.4 Comparison of PI controller designed for unstable FOPTD
6.2.2 PHASE MARGIN BOUNDARY LOCUS using DOMINANT POLE PLACEMENT and EQUATING
For this process P.M≥10ᵒ. Hence by substituting “dpm=10” in COEFFICIENT methods
the MATLAB code, phase margin boundary locus is obtained. The settings of PI controller designed using DOMINANT
6.2.3 ROBUST PID CONTROLLER SETTINGS POLE PLACEMENT method is kp=0.3557, ki=0.012. [18]
The common region of stability and Phase Margin boundary The settings of PI controller designed using EQUATING
locus is shown in Fig.9. The point which is taken in the common COEFFICIENT method is kp=0.4912, ki=0.014. [19]
region is the robust PID controller which satisfies both the From the Fig. 13 it is clear that controller designed using
stability and P.M specification. Dominant Pole placement technique is more robust than Equating
Coefficient method, but both methods are not robust in the
7. VALIDATION OF PROPOSED METHOD considered interval. Furthermore, Simulation studies shows that,
7.1 Servo and Regulatory Response of Stable FOPTD in order to design a robust controller for unstable FOPTD system,
PID controller should be preferred to PI controller.
The transfer function model ( ) 4*exp(-2*s)/(4*s+1) is
considered. The PID parameters taken are kp=0.15, ki=0.04, kd ( )
=0. For unit step change in the input at t=0 and for unit The Equating coefficient tuning rule for ( )
( )
disturbance at t=100, the servo and regulatory response of all the is
cases for the fixed PI settings is as shown in the Fig.10
Where ,
From the Fig.10 it is clear that for k [ ] L [1.6, 2.4],
T [3.2,4.8] the system is stable , in addition to stability the
system has G.M≥3 and P.M ≥30ᵒ as shown in table 2. Just by
changing the limits of K, L, T and applying the same procedure, The dominant pole placement tuning rule is
robust PID controller for that system can be designed. ( )
187
2014 ACODS
March 13-15, 2014. Kanpur, India
Fig.3. Stability and Gain margin Boundary Locus for the pi controller (stable FOPTD)
Fig.4. Gain and Phase margin boundary locus of all 8 cases (stable FOPTD)
Fig.5.Gain& Phase margin boundary locus common region of 8 cases (stable FOPTD)
188
2014 ACODS
March 13-15, 2014. Kanpur, India
Fig.7. Stability curves of all the 8 cases (unstable FOPTD, =0.3 is fixed)
Fig.8. Stability and Phase margin boundary locus of 8 cases (unstable FOPTD, =0.3 is fixed)
Fig.9.Common region of Stability and Phase margin Boundary Locus (unstable FOPTD, =0.3 is fixed)
189
2014 ACODS
March 13-15, 2014. Kanpur, India
Fig.10. Servo and Regulatory response of 8 cases ( =0.15, =0.04, ) -stable FOPTD
Fig.12. Servo and Regulatory response of 8 cases ( =0.36, =0.004, ) -unstable FOPTD
190
2014 ACODS
March 13-15, 2014. Kanpur, India
191