Dynamics of Linear Systems: September 27, 2017
Dynamics of Linear Systems: September 27, 2017
1 Syllabus
2 Feedback Systems
3 Compensator
Module II
PID controllers-effect of proportional, integral and derivative gains on
system performance-PID tuning-integral windup and solutions (7 hours)
Module III
State Space Analysis and Design- Analysis of stabilization by pole
cancellation- reachability and constructability - stabilizability -
controllability - observability-grammians-Analysis of stabilization by output
feedback-Transfer function approach - state feedback and zeros of the
transfer function.Solution
(CET)
of Linear Time Varying Systems
Dynamics of Linear Systems
(10 hours) 6 / 103
September 27, 2017
Syllabus: Course Plan
Module IV
Linear state variable feedback for SISO systems, -modal controllability
formulae for feedback gain -significance of controllable Canonic form-
Ackermann’s formula feedback gains in terms of Eigen values
Mayne-Murdoch formula - non controllable realizations and stabilizability
-controllable and uncontrollable modes - regulator problems (12 hours).
Module V
Observers: Asymptotic observers for state measurement-open loop
observer-closed loop observer-formulae for observer gain implementation of
the observer - full order and reduced order observers separation principle -
combined observer -controller optimality criterion for choosing observer
poles (10 hours).
Module VI
Direct transfer function design procedures Design using polynomial
equations - Direct analysis of the Diophantine equation. MIMO systems:
Introduction, controllability, observability, different companion forms for
MIMO systems (10 hours).
What is Feedback?
The term feedback is used to refer to a situation in which two (or more)
dynamical systems are connected together such that each system
influences the other and their dynamics are thus strongly coupled. By
dynamical system, we refer to a system whose behavior changes over time,
often in response to external stimulation or forcing.
What is Feedback?
Figure 1.1 illustrates in block diagram form the idea of feedback. We often
use the terms open loop and closed loop when referring to such systems. A
system is said to be a closed loop system if the systems are interconnected
in a cycle, as shown in Figure 1.1a. If we break the interconnection, we
refer to the configuration as an open loop system, as shown in Figure 1.1b.
The term control has many meanings and often varies between
communities.
Control includes such examples as feedback loops in electronic
amplifiers, setpoint controllers in chemical and materials processing,
fly-by-wire systems on aircraft and even router protocols that control
traffic flow on the Internet.
Emerging applications include high confidence software systems,
autonomous vehicles and robots, real-time resource management
systems and biologically engineered systems.
At its core, control is an information science, and includes the use of
information in both analog and digital representations.
What is compensation?
Necessity of Compensation
Methods of Compensation
Series compensation
1 Compensator connected in series
with the plant.
Parallel/Feedback compensation
1 Compensator connected in inner
feedback loop.
Choice of compensation
Lead compensator
Lag compensator
Lag-Lead compensator
The compensator Gc (s) can be chosen to alter either the shape of the root
locus or the frequency response.
K M
Q
(s + zi )
Gc (s) = Qn i=1 (1)
j=1 (s + pj )
K (s + z)
Gc (s) = (2)
(s + p)
Using KCL
i1 + i2 = i
d(vi − v0 ) 1 1
C + (vi − v0 ) = v0 (7)
dt R1 R2
Taking LT
1 1 1
sCVi (s) − sCV0 (s) + Vi (s) − V0 (s) = V0 (s)
R1 R1 R2
h i
s + R11C
= (9)
s + h R2 1 i
R1 +R2
R1 C
S + T1
=
s + α1 T
2 1 1
ωm = 2
andωm = √ (13)
αT T α
(CET) Dynamics of Linear Systems September 27, 2017 27 / 103
Compensator
ωT − αωT ωT (1 − α) (14)
= =
1 + ωT αωT 1 + ω2T 2α
√
at ω = ωm = 1/T α, and
1−α 1−α
tanφ = √ = √ (15)
α(1 + 1) 2 α
1−α 1−α
sinφm = or φm = sin−1 (16)
1+α 1+α
The above equation relate α and the maximum lead angle φm .
Step 1
The lead compensator has a gain α at zero frequency. It provides an
attenuation for α < 1 The practical lead compensator is designed
with an amplifier having a gain Kc in series with the basic lead
network to cancel the attenuation.
Practical TF of a lead compensator is assumed as
(1 + Ts) (1 + Ts)
Gc (s) = Kc α =K (17)
1 + αTs 1 + αTs
where, K is DC gain = Kc α
Open loop transfer function for the system
K (1 + Ts)
Gc (s)G (s) = G (s) (18)
1 + αTs
(1 + Ts) (1 + Ts)
Gc (s)G (s) = KG (s) = G1 (s) (19)
1 + αTs 1 + αTs
where, G1 (s) = KG (s)
This is the open loop TF of compensated network.
Step 2
The bode plot of G (jω) is drawn using the value of K . The phase
margin is computed from the Bode plot.
Step 3
PM is given for a design problem, the necessary phase lead φm
required to be added is determined using the relation φm = φ + ε,
where, ε is the margin of safety as crossover frequency may shift due
to compensation and ε = 50 − 150 .
(CET) Dynamics of Linear Systems September 27, 2017 33 / 103
Design of Lead Compensator by Bode plot
Step 4
1−α
Find the value of α from the equation sinφm = 1+α
Step 5
The frequency ωm is calculated so thatthe magnitude of
uncompensated system is −10 log10 α1 dB at ω = ωm . This
1
frequency is taken as new gain crossover frequency, where ωm = T
√
α
Here, α is known. Therefore, can determine 1/T
Step 6
The two following corner frequencies of the lead compensator are
determined.
1 1
ωc1 = andωc2 =
T αT
(CET) Dynamics of Linear Systems September 27, 2017 34 / 103
Design of Lead Compensator by Bode plot
Step 7
Since K = Kc α, can obtain the value of Kc
Step 8
If the gain margin of tje compensated system is not satisfactory, the
design is repeated by modifying the pole-zero location of the
compensator till a satisfactory result is obtained.
Example 1
A system shown in the fig. Design a lead compensation such that the
closed loop system satisfy the following specifications.
Static velocity error constant = 24s − 1
Phase margin = 550
Gain margin 1 13 dB
Step 1
(1 + Ts) (1 + Ts)
Gc (s) = Kc α =K
1 + αTs 1 + αTs
12K
G1 (s) = KG (s) =
s(s + 2)
Kv = 24 = lim sG (s)Gc (s)
s→0
12K (1 + Ts)
24 = lim s
s→0 s(s + 2)(1 + αTs)
24 = 6K , K = 4
48
G1 (s) =
s(s + 2)
Step 3
φs = 550 , φm = φs − φ1 + Er
Let, Er = 50 , φm = 550 − 16.40 + 50 = 43.60
Step 4
1−α 1−α
sinφm = ∴ sin43.60 = = 0.6896
1+α 1+α
ie.,α = 0.1837 w 0.18
Step 6
Two corner frequencies of the lead compensator are,
1 1 1
ωc1 = = 4.497 and ωc2 = = 4.497 = 24.98
T αT 0.18
(CET) Dynamics of Linear Systems September 27, 2017 41 / 103
Design of Lead Compensator by Bode plot: Example 1
Step 7
K 4
K = Kc α = 0.18 ∴ Kc = = == 22.22
α 0.18
Step 8
(1 + 0.2224s) 3.99(1 + 0.2224s)
Gc (s) = 22.22 × 0.18 =
(1 + 0.0400s) (1 + 0.0400s)
This is the designed compensator.
12 3.99(1 + 0.2224s)
∴ Gc (s)G (s) = ×
s(s + 2) (1 + 0.0400s)
47.88(1 + 0.2224s)
=
s(s + 2)(1 + 0.0400s)
Phase-lag network
Step 1
Assume the lag compensator
!
V0 (s) 1 s + T1 (1 + Ts)
Gc (s) = = 1
= (26)
Vin (s) β s + βT (1 + βTs)
Step 2
The bode plot of G1 (jω) is drawn using the value of K . The phase
margin (φ1 ) is computed from the Bode plot.
Step 3
Usually the PM is specified. Let the given phase margin be φs .
Therefore, φ2 = φs + ε. Here, ε compensate for the phase lag of the
lag compensator and ε is the margin of safety = 50 − 150 .
Step 4
Corresponding the phase margin of φ2 degrees, the frequency ω2 is
determined, ie., the frequency at which the phase angle of an open
loop transfer function is 1800 + φ2 . This frequency is taken as the
new gain crossover frequency.
Step 5
For ω2 as the new gain crossover frequency, the attenuation to shift
the magnitude curve up of down to 0dB is calculated and this shift is
due to the contribution of β which is 20 log10 (1/β).
∴ shift to ω2 as new gain crossover = 20 log10 (1/β) = −20 log10 β.
Down shift must be taken negative while up shift must be taken
positive.
The value of β is determined.
Step 6
The upper corner frequency 1/T is chosen which 1/2 or 1/10 below
the ω2 determined in step 4.
1 ω2 ω2
∴ ωc2 = = or,
T 2 10
This determine the value of T
1
For the lag compensator, the other corner frequency is ωc1 = βT
Step 7
Plot the compensated system Bode plot. If the gain margin of the
compensated system is not satisfactory, the design is repeated by
modifying the pole-zero location of the compensator till a satisfactory
result is obtained.
(CET) Dynamics of Linear Systems September 27, 2017 52 / 103
Design of Lag Compensator by Bode plot
Example 2
A system shown in the fig. Design a suitable lag compensator to
satisfy the following specifications.
Velocity error constant = 27.3s − 1
Phase margin = 550
Step 1
0.035K
G1 (s) = KG (s) =
s(1 + 0.5s)(1 + 0.04s)
Kv = 27.3 = lim sG1 (s)Gc (s)
s→0
0.035K (1 + Ts)
27.3 = lim s
s→0 s(1 + 0.5s)(1 + 0.04s) (1 + βTs)
27.3 = 0.035K , K = 780
0.035 × 780 27.3
G1 (s) = =
s(1 + 0.5s)(1 + 0.04s) s(1 + 0.5s)(1 + 0.04s)
Step 3
φs = 450 , ε = 50
φ2 = φs + ε = 450 + 50 = 500
Step 4
The frequency ω2 at phase margin becomes 500 is given by
ω2 = 1.48rad/sec.
Step 5
Let ω2 =1.48 rad/sec. be the new gain crossover. It is necessary to bring
the magnitude curve down by 23.3 dB.
Step 6
Choose
ω2 1.48
ωc2 = = = 0.148rad/sec.
10 10
1
ωc2 = = 0.148rad/sec.
T
1 1
T = = 6.75 and ωc1 = = 0.0101
0.148 βT
Step 7
The lag compensator is
(1 + 6.75s)
Gc (s) =
(1 + 98.68s)
27.3(1 + 6.75s)
Gc (s)G (s) = (27)
s(1 + 0.5s)(1 + 0.04s)(1 + 98.68s)
V0 (s) R2 + 1/C2 s
Gc (s) = =
Vi (s) R2 + (1/C2 s) + RR11+(1/C
(1/C1 s)
s)
1
1
s + R1 C1 s + R21C2
=
(28)
s 2 + R11C1 + R21C1 + R21C2 s + R1 R21C1 C2
s + T11 s + T12
= , β > 1, α < 1
1 1
s + βT1 s + αT2
where, T1 = R1 C1 , T2 = R2 C2
(s + 1/T1 ) (s + 1/T2 ) (s + z1 ) (s + z2 )
Gc (s) = = (29)
(s + 1/βT1 ) (s + 1/αT2 ) (s + p1 ) (s + p2 )
Example 3
Consider the following system with transfer function
1
G (s) =
s(1 + 0.1s)(1 + 0.2s)
Design a lag-lead compensator C(s) such that the phase margin of the
compensated system is at least 450 at gain crossover frequency around 10
rad/sec and the velocity error constant Kv is 30.
(1 + T1 s) (1 + T2 s)
Gc (s) = K where, β > 1 and α < 1
(1 + βT1 s) (1 + αT2 s)
30
Uncompensated system is G1 (s) =
s(1 + 0.1s)(1 + 0.2s)
100
=1
ωg2 (1 + ωg2 )
⇒ ωg = 3.1
ωg + 0.5ωg
or , −tan−1 = 1250
1 − 0.5ωg2
1.5ωg
or , −tan−1 = tan1250 = −1.43
1 − 0.5ωg2
or , 0.715ωg2 − 1.5ωg − 1.43 = 0
⇒ ωg = 2.8rad/sec
(CET) Dynamics of Linear Systems September 27, 2017 82 / 103
Design of Compensator
The addition of zero to the open loop transfer function has the effect
of pulling the root locus to the left which make the system more
stable and reduce the settling time
The transfer function of lead compensator will have a zero and pole:
The zero can be placed in the real axis to satisfy transient response
specifications.
The introduction of zero will amplify high frequency noise which is
eliminated by pole.
If the pole is located far away from zero then it will not be effective in
suppressing the noise.
If the pole is too close to zero then it will not allow the zero to do its
job. In order to avoid this conflict, the pole is located at 3 to 10
times the value of zero locations.
(CET) Dynamics of Linear Systems September 27, 2017 87 / 103
Compensator:Root locus Design
The two main specifications which are used in the root locus
compensation are:
Damping factor and
Undamped natural frequency
(CET) Dynamics of Linear Systems September 27, 2017 88 / 103
Design of Lead Compensator by Root locus: Procedure
Step 1
The desired locations of dominant closed loop poles are found from
the given specifications. where, α < 1 and Kc is determined from the
requirement of open-loop gain.
Step 2
The lead compensator is assumed as
Kc α(1 + Ts)
Gc (s) = (31)
(1 + αTs)
Step 3
The sum of the angles at the desired location of one of the dominant
closed loop poles with the open loop poles and zeros of the original
system is to be calculated, which must be odd multiple of 1800 .
If it is not equal to 1800 , the necessary angle φ is calculated which is
to be add to get the sum as an odd multiple of 1800 . This angle φ is
contributed by the lead compensator.
If this angle φ is more than 600 , two or more networks may be used.
The is angle φ also helps to determine values of α and T .
Figure :
(CET) Dynamics of Linear Systems September 27, 2017 91 / 103
Design of Lead Compensator by Root locus: Procedure
Step 4 (Continue)
The origin is joined P
The angle between PA and PO is bisected
The two lines PC and PD are drawn, which makes an angle ± φ2 with
the bisector PB.
The intersection of PC and PD with negative real axis will give the
required pole and zero of compensator.
Step 5
The magnitude condition at point P is applied to determine the
open-loop gain.
Example 6
Design a suitable lead compensation for a system with unity feedback
and having open-loop transfer function
K
G (s) =
s(s + 1)(s + 2)
This has to meet the specifications: (i) Damping ratio ξ = 0.6 and
(ii) Undamped natural frequency ωn = 2rad/sec.
(CET) Dynamics of Linear Systems September 27, 2017 93 / 103
Design of Lag Compensator by Root locus
Step 1
The root locus of the uncompensated system is drawn and the
dominant closed loop poles on the root locus are located.
Step 2
The lag compensator is assumed as
Kc (s + 1/T )
Gc (s) = (32)
(s + 1/βT )
Step 3
The static error constant specified in the problem is calculated
Step 4
The of increase in static error constant which is necessary to satisfy
the specifications is calculated.
Step 5
The pole and zero of the compensator do not produce appreciable
change in original root locus but give necessary increase in static error
constant.
Step 6
The root locus of the compensated system is drawn. The dominant
closed-loop poles are located.
Step 7
Kc is adjusted from the magnitude condition, so as to place the
dominant closed-loop poles at the desired location.
Example 7
Design a lag compensator for a system with open-loop transfer
K
function, G (s) = s(s+1)(s+3) to satisfy the following specifications:
Damping ratio = +0.5, Velocity error constant > 5.5s −1 , and settling
time = 10 s.
(s + 1/T1 ) (s + 1/T2 )
Gc (s) = Kc ×
(s + 1/βT1 ) (s + 1/αT2 )
Step 1
The root locus of the uncompensated system is drawn and the
dominant closed loop poles on the root locus are located.
Step 2
Find the angle of deficiency φ for the dominant closed-loop poles to
be part of root locus.
Step 3
Select the zero, pole and Kc of lead portion from the angle and
magnitude criteria.
Step 4
Find β such that it satisfies the given static velocity error constant Kv
where,
Kv = lim sGc (s)G (s)
s→0