Beruflich Dokumente
Kultur Dokumente
1
Content
Introduction to control systems
Mathematical models of systems
Stability of the control systems
Steady state errors of the control systems
Frequency domain of the control systems
Bode plot of the control systems
The Root locus method
Frequency response method
Design PID controller
Design Lead/Lag controller
Design of feed back control systems
2
References
[1] “Lý thuyết Điều khiển tự động”, Nguyễn Thị Phương Hà, Huỳnh
Thái Hoàng, NXB ĐHQG TPHCM.
[2] “Bài tập Điều khiển tự động”, Nguyễn Thị Phương Hà, Huỳnh
Thái Hoàng, NXB ĐHQG TPHCM.
3
Criteria
1. Process examination (50%)
- Homework via online submission
- Paper test in class
4
Introduction
System – An interconnection of elements and devices for a desired
purpose.
Process – The device, plant, or system under control. The input and
output relationship represents the cause-and-effect relationship of the
process.
5
Introduction
Open-Loop Control Systems
utilize a controller or control
actuator to obtain the desired
response.
Closed-Loop Control
Systems utilizes feedback
to compare the actual output
to the desired output
response.
6
History
The first automatic feedback controller used in an industrial process is
generally agreed to be James Watt’s Flyball governor, developed in
1769 for controlling the speed of a steam engine.
7
History
James Watt’s
8
History
9
History
10
History
18th Century James Watt ’ s centrifugal
governor (bộ điều tốc ly tâm) for the speed
control of a steam engine.
1920s Minorsky worked on automatic
controllers for steering ships (hệ thống lái tàu).
11
History
1930s Nyquist developed a method for analyzing the stability of
controlled systems
12
Examples of Control Systems
13
Examples of Modern Control Systems
14
Examples of Modern Control Systems
15
Examples of Modern Control Systems
16
Examples of Modern Control Systems
17
Examples of Modern Control Systems
18
Examples of Modern Control Systems
19
The future evolution of control systems
20
Control system design
21
Design example: turntable speed control
22
Design example: turntable speed control
23
Design example: Electric ship concept
Vision
Electrically
Reconfigurable
All
Integrated Ship
Electric
Power Ship
System Technology
Insertion Increasing Affordability and Military Capability
Reduced manning
Electric Drive Warfighting
Automation
Reduce # of Prime Capabilities
Movers Eliminate auxiliary
systems (steam,
Fuel savings hydraulics, compressed Main Power
Reduced maintenance air) Distribution
Propulsion Motor Prime
Generator
Motor Drive Mover
Power Ship
Conversion Service
Module Power
24
Control systems are found in abundance in all sectors of industry
- Quality control of manufactured product
- Automatic assembly line
- Machine-tool control
- Space technology and weapon systems
- Computer control
- Transportation systems
- Power systems
- Robotic
- And many others
25
Control systems are found in abundance in all sectors of industry
26
Control systems are found in abundance in all sectors of industry
27
What type of control systems ?
Objectives Results
Control
system
28
Example 1:
29
Open-loop control systems (Nonfeedback systems)
30
Open-loop control systems (Nonfeedback systems)
31
Example 2:
Ceiling fan
Gearbox Speed
Fan
Five-speed gearbox
32
Closed-loop control systems (Feedback control systems)
To obtain more accurate control, the controlled signal c(t) should be
feedback and compared with the reference input, and an actuating signal
proportional to the difference of the input and the output must be sent
through the systems to correct the error. A system with one or more
feedback paths such as that just discribed is called a closed-loop system
Actuating Control
Error detector
Reference Signal (u) Controlled Variable (c)
Controller
Input (r) Process
Feedback
Elements of an Closed-loop control systems.
33
Example 2:
Air Conditioner
34
Mathematical models for systems
A mathematical model of a system is a “replica” (mô hình, bản
sao) of the relationships between the inputs and the outputs of
the system.
Example: A motor as a system.
The input is voltage (V)
The output is the speed of the rotation of the shaft ( )
35
Mathematical models for systems
Thus, we have:
36
Mathematical models for open-loop systems
Consider three elements in series:
37
Mathematical models for closed-loop systems
Consider a simple closed-loop system.
r + e c
X G
- f
H
c G
Transfer function :
r 1 GH
38
System models
Mathematical models are needed of the elements used in
such systems. These are equations representing the
relationship between the input and output of a system.
Inductor: vL
di 1
i vdt E
1 2
Li
dt L 2
Where L is the inductance
Capacitor: 1 dv 1 2
C
v idt i C E Cv
dt 2
39
System models
Resistor: v Ri 1 2
P v Ri 2
R
Where R is the resistance
RLC in series circuit:
v = v R + v L + vC
ò i dt
di 1
= i.R + L +
dt C
Where R,L,C are the resistance, inductance and
capacitance, respectively
40
System models
RLC in parallel circuit:
i iR iL iC
v 1 dv
vdt C
R L dt
Where R,L,C are the Resistance, Inductance and
Capacitance, respectively
41
System models
Ex 1: RC system:
v vR vC
i.R vC
dvC
RC vC
dt
Ex 2: RL system:
v i.R vL
R
vL dt vL
L
42
System models
di
v i.R L vC
dt
dvC d 2 vC
RC LC 2 vC
dt dt
43
Transfer function
An importance first step in the analysis and design a control
system is the mathematical description and modeling of the
process that is to be control.
The input-output relation of a linear time-invariant system is
described by the following n th-order differential equation
with constant real coefficients:
44
Transfer function
C ( s) bm1sm bmsm-1 b1
G( s)
R( s ) sn a nsn-1 a1
45
System models
di
v i.R L vC
dt
dvC d 2 vC
RC LC 2 vC
dt dt
1
G(s) = 2
s LC + sRC +1
46
Block Diagram
Summing Block
Takeoff
point point
+ Transfer
Function
+ or -
47
Block Diagram
R(s) E(s)
+ G(s)
- C(s)
B(s)
H(s)
()
G s =
C(s)
E(s)
: Open - loop transfer function Or forward - path transfer function
()
M s =
C(s)
=
G(s)
R(s) 1+ G(s).H(s)
:Closed - loop transfer function
48
Multi-element systems
In Series
In parallel
49
Equivalent systems
R1
R1 C G
1) G = C
() R2 ()
R2 G
2)
50
Example
Example2:
2
51
Example 2
C G2
Thus (1 G1 )
R 1 G2 H 1
52
Equivalent systems
3)
4)
53
Example 1
54
Example 1
G1G2 R G2 N
C WR R W N N
1 G2 H 2 G1G2 H 1
55
Signal flow graphs
56
Signal flow graphs
Consider a simple closed-loop system.
r + e c
X G
- f
H
G s
C( s)
: Open loop transfer function or forward path transfer function
E( s)
M s
C ( s)
G( s)
: Closed loop transfer function
R( s ) 1 G( s).H ( s)
H s : Feedback path transfer function
Gs H s : Loop transfer function
57
Mason’s gain formula for Signal flow graph
Mason’s gain formula is given by:
C 1 n
Where: G M K K
R K 1
M k : path gain or transmitta nce of Kth forward path
1 La Lb Lc L L L d e f ...
a b ,c d ,e , f
59
Example 1
Obtain the closed-loop transfer function by using the
Mason’s gain formula.
Ei y1 z2 y3 z4 1 E0
E0 1 y1 z 2 y 3 z 4
M M 11
Ei 1 y1 z 2 y 3 z 2 y 3 z 4 y1 z 2 y 3 z 4
60
Example 2
Obtain the closed-loop transfer function by using the
Mason’s gain formula.
61
Example 2
62
Basics of State Space Modeling
63
Basics of State Space Modeling
The vector x(t) is the state vector, and u(t) is the input vector. A is
called the state matrix, B the input matrix, C the output
matrix, and D is the direct transition matrix.
64
Basics of State Space Modeling
65
Basics of State Space Modeling
consider an 1st order linear plant model described by the differential
equation
Where y(t) is the plant output and u(t) is the plant input
66
Basics of State Space Modeling
In matrix form
67
68
Basics of State Space Modeling
di
v i.R L vC
dt
dvC d 2 vC
RC LC 2 vC
dt dt
69
Basics of State Space Modeling
70
Basics of State Space Modeling
71
Basics of State Space Modeling
72
Basics of State Space Modeling
73
Basics of State Space Modeling
74
Transfer Function to State Space Conversion
75
Transfer Function to State Space Conversion
First block
Second block
76
Transfer Function to State Space Conversion
77
State Space to Transfer Function Conversion
X2 X1
+
R
3 s2 C
- s4 s5
X3
s 1
s6
78
State Space to Transfer Function Conversion
Take Laplace transform and rearrange as follows:
79
Transfer Function
Otherwise ‘improper’
80
Transfer Function
the system
81
Stability of Control System
Absolute Stability
Relative Stability
82
Stability of Control System
83
Stability of Control System
84
Stability of Control System
Poles is also defined as “it is the frequency at
which system becomes infinite”. Hence the name
pole where field is infinite.
85
Stability of Control System
Poles is also defined as “it is the frequency at which
system becomes infinite”.
Like a magnetic pole or black hole.
86
Relation b/w poles and zeros and frequency response of
the system
87 87
Relation b/w poles and zeros and frequency response of
the system
88
Relation b/w poles and zeros and frequency response of
the system
89
Example
the denominato
r polynomialis As B 0
90
Example
Consider the following transfer functions.
Determine
– Whether the transfer function is proper or improper
– Poles of the system
– zeros of the system
– Order of the system
s3 G( s )
s
i) G( s ) ii)
s( s 2) ( s 1)( s 2)( s 3)
( s 3)2 s 2 ( s 1)
iii) G( s ) iv) G( s )
s( s 2 10) s( s 10)
91
Finding Zeros and Poles with Matlab
For example:
C ( s) 4s2 16s 12
4
R( s ) s 12s3 44s2 48s
92
Finding Zeros and Poles with Matlab
93
The following Matlab program will yield the original num/den
94
Partial-fraction expansion with Matlab
95
Partial-fraction expansion with Matlab
Finds the residues (r), poles (p), and direct terms (k) of partial-
fraction expansion of the ratio of two polynomials C(s)/R(s).
r 1 r 2 r n
k s
C ( s)
...
R( s ) s - p1 s - p2 s - pn
96
Example 1:
C ( s) 2s3 5s2 3s 6
3
R( s) s 6s2 11s 6
97
Example 1:
Then:
C ( s ) 2s3 5s2 3s 6
3
R( s ) s 6s2 11s 6
6 4 3
2
s 3 s 2 s 1
98
Partial-fraction expansion with Matlab
To convert the partial-fraction expansion back to the
polyminal ratio C(s)/R(s), we have the command:
99
Example 2:
Expand this polynomial into partial-fraction with matlab:
C ( s) s2 2 s 3
3
R( s) s 3s2 3s 1
100
Poles, zero and Stability.
An important requirement for a control system
is that should be stable.
Example: s 1
G s
( s 2)( s 2 1)
The pole: s = -2; s = +j; and s = -j.
The zero: s = 1
101
Pole-zero
Pole-zero plot:
plot
Example: j
Pole Zero
x1
s 1
G s
( s 2)( s 2 1)
x
-2 0
o
1
x -1
102
Stability of Control Systems
j
LHP RHP
Recall s j
s-plane
103
Stability of Control Systems
If all the poles of the system lie in left half plane the
system is said to be Stable.
If any of the poles lie in right half plane the system is
said to be unstable.
If pole(s) lie on imaginary axis the system is said to be
marginally stable. j
LHP RHP
s-plane
104
Stability of Control Systems
For example
C
G( s ) , if A 1, B 3 and C 10
As B
Then the only pole of the system lie at
j
pole 3
LHP RHP
X
-3
s-plane
105
Examples
s3 G( s )
s
i) G( s ) ii)
s( s 2) ( s 1)( s 2)( s 3)
( s 3)2 s 2 ( s 1)
iii) G( s ) iv) G( s )
s( s 2 10) s( s 10)
106
_________________Routh-Hurwitz stability criterion
107
Routh stability criterion
The denominator of the transfer function is called as
Characteristic equation:
F(s) = ansn + an-1sn-1 + an-2sn-2 + … + a1s + a0 = 0
108
Routh stability criterion
ansn + an-1sn-1 + an-2sn-2 + … + a1s + a0 = 0
Routh Array: Where:
sn an an 2 an 4 ... an 1an 2 an 3an
b1
s n 1 an 1 a n 3 an 5 ... an 1
an 1an 4 an 5 an
s n 2 b1 b2 b3 ... b2
an 1
s n 3 c1 c2 c3 ...
b1an 3 b2 an 1
... c1
b1
s1 y1 y2 b1an5 b3an1
c2
s0 z1 b1
109
Routh stability criterion
Example 1
F(s) = s4 + 10s3 + 3s2 + 19s + 1 = 0
110
Routh stability criterion
Example 2
F(s) = s5 + s4 + 4s3 + 4s2 + 2s + 1 = 0
111
Routh stability criterion
Example 3
F(s) = s5 + 10s4 + 16s3 + 160s2 + s + 10 = 0
112
Stability
Example 4
Given a system.
K
R(s) C(s)
s( s 2) 2
113
Hurwitz stability criterion
The denominator of the transfer function is called as
Characteristic equation:
F(s) = ansn + an-1sn-1 + an-2sn-2 + … + a1s + a0 = 0
114
Hurwitz stability criterion
115
_________________________Relative stability
116
Relative stability
Relative stability is amount for a stable system how close it
is to being unstable
j
a
0
117
Relative stability
Example 5
Given a system.
K
R(s) C(s)
s( s 2) 2
118
_________Frequency-Response Analysis
119
Frequency-Response Analysis
By the term of Frequency-Response, we mean the steady-
state response of a system to a sinusoidal input. In
Frequency-Response methods, we vary the frequency of
the input signal over a certain range and study the resulting
response.
Frequency-Response methods were developed in 1930s
and 1940s by Nyquist, Bode, Nichols, and many others.
Obtaining Steady-State Outputs to Sinusoidal Inputs:
120
Frequency-Response Analysis
r t X sin t
Suppose that the TF can be written as a ratio of two
polynomials in s, that is:
C ( s ) ( s z1 )( s z2 )...( s zm )
G s
R( s ) ( s s1 )( s s2 )...( s sn )
The Laplace Transform output C(s) is then:
C s Gs Rs
121
Frequency-Response Analysis
G j Me j M
Where:
M is amplitude ratio of the output and input si nusoids
is the phase shift between in the input si nusoid and the output si nusoid
122
Frequency-Response Analysis
ct ae jt ae jt b1e s1t b2e s2t ... bn e snt (t 0)
123
124
Frequency-Response Analysis
For stable system, -s1, -s2, …,-sn have negative real parts,
so that the steady-state response become:
X XG j
a G s 2 ( s j ) s j
s 2
2j
X XG j
a G s 2 ( s j )
s 2 s j
2j
125
Frequency-Response Analysis
X G j e j X G j e j
a a
2j 2j
Then the output is:
e j (t ) e j (t )
css t X G j
2j
X G j sint C sint
126
Frequency-Response Analysis
rt X sint
css t C sint
127
_________________Bode diagram
128
Bode diagram
A Bode diagram consists of two graphs:
129
Bode diagram
1.Gain K
2.Integral and derivative factor j 1
3.First order factors 1 jT
1
4.Quadractic factors 1 2 ( j / n ) ( j / n )
2 1
130
1. The Gain K
R2
Electrical circuit R1
-
+
R
R
0
131
( )
±1
2. Integral and derivative factor jw
The logarithmic of integral and derivative in decibels are:
1
20 lg 20 lg dB
j
The phase angle of integral and derivative are: 900
20 lg j 20 lg dB
134
( )
±1
3. First - order factors 1+ jwT
135
( )
±1
3. First - order factors 1+ jwT
20 lg 1 jT 20 lg 1 2T 2 dB
1
* 20 lg 1 2T 2 20 lg 1 0dB
T
1
* 20 lg 1 2T 2 20 lg T dB
T
The phase angle of the first-order factor 1 jT is:
* 0 0
arctan(T ) * 1 450
T
* 900
136
( )
±1
3. First - order factors 1+ jwT
137
Example
10s 1
G( s)
( s 10)( s 100)
138
Example
139
Example
140
4.Quadratic factors
Control systems open possess quadratic factors of the form:
n2
G j 2
s 2n s n2
G j
1
1 2 ( j / n ) ( j / n ) 2
141
4.Quadratic factors
Control systems open possess quadratic factors of the form:
G j 2
1
s 2 ( j / n ) s ( j / n ) 2
20 lg G j 20 lg
1
1 2 ( j / n ) ( j / n ) 2
142
( ) ( )
2
4. Quadratic factors [1+ 2z jw / wn + jw / wn ]±1
if n the log magnitude become : 20 lg(1) 0 dB
1 2 ( / n )
arctan 2
1 2jT( j / n ) ( j / n ) 2
1 ( / n )
143
( ) ( )
2
4. Quadratic factors [1+ 2z jw / wn + jw / wn ]±1
At 0 00
At n 900
At 1800
144
( ) ( )
2
4. Quadratic factors [1+ 2z jw / wn + jw / wn ]±1
145
( ) ( )
2
4. Quadratic factors [1+ 2z jw / wn + jw / wn ]±1
146
( ) ( )
2
4. Quadratic factors [1+ 2z jw / wn + jw / wn ]±1
r n 1 2 2 for 0 0.707
M r G jr
1
2 1 2
147
Plot Bode diagrams using Matlab
bode(num,den)
grid on
title(‘ title…’)
Example:
148
Manual plot
149
Example
10s 1
G( s)
( s 10)( s 100)
150
Example
151
Stability via Bode plots
152
Homework
Given a system.
K
R(s) C(s)
s( s 2) 2
153
Stability via Bode plots
𝜔𝑏𝑖𝑒𝑛
Gain m arg in
Phase m arg in
𝜔𝑝ℎ𝑎
154
Stability via Bode plots
Using Matlab
G = tf(num,den)
Bode(G)
Margin(G)
155
Stability via Bode plots
The system is stable if the Gain margin >0
and the Phase margin >0
156
Example
100(𝑠 + 10)
𝐺(𝑠) =
𝑠(𝑠 + 1)(𝑠 + 100)
157
158
159
𝑙𝑔𝜔
160
1
20
161
Dynamic system models
162
Dynamic system models
First-order and Second-order elements:
The order of an element or system can be defined as being
the highest power of s in the denominator.
First-order element:
G s
K
s 1 where K and are const ants
Second-order element:
where : b0 is const ants
bon2 n is freely oscillate angular frequency
G s 2
s 2 n s n2 is the damping ratio
163
Dynamic system models
Step input
Rs
1
r(t) = 1(t)
s
Ramp input:
Rs 2
1
r(t) = t(t)
s
Parabolic input:
t2
()
r t =
2
()
t Rs 3
s
1
Impulse input:
() ()
r t =d t ()
Þ R s =1
164
Dynamic system models
Step input to a first-order system:
C s
G s
K
s 1 R s
C s .R s
K K 1
.
s 1 s 1 s
(1 / )
K.
s[ s (1 / )]
165
166
Dynamic system models
Ramp input to a first-order system:
C s
G s
K
s 1 R s
C s .R s
K K 1
. 2
s 1 s 1 s
(1 / )
K. 2
s [ s (1 / )]
Thus the output for a unit slope ramp is given by:
ct K [t 1 e t / ]
167
Dynamic system models
Impulse input to a first-order system:
K s
G s
K
s 1 R s
C s .R s
K K
.1
s 1 s 1
(1 / )
K.
[ s (1 / )]
Thus the output is:
ct K 1 / e t /
168
Step input to a second-order system
169
Step input to a second-order system
bow2n (
C s )
()
G s =
s 2 + 2zw n s + w2n
=
R ( s)
bow 2n bow 2n
()
ÞC s = 2
s + 2zw ns + w n
2
.R s = 2 () .
(s + 2zw n s + w n ) s
2
1
bow2n
=
(s - m1 )(s - m 2 )s
where : m1 = -zw n + wn z 2 -1
m 2 = -zwn - wn z 2 -1
()
The type of response depends on the value of the damping factor z
170
Step input to a second-order system
when z > 1Þ m1 and m 2 are real
The system is said to be overdamped
Using partial fraction we have: Vc
()
1
Cs = +
A
+
B
s s - m1 s - m2
V
()
c t =1+ Aexp(m1t) + Bexp(m2 t)
0 t
b0 z b0 b0 z b0
where : A = - - B= -
2 x2 -1 2 2 x2 -1 2
171
Step input to a second-order system
when z = 1 Þ m1 =m 2 = -zwn
The system is said to be Critically damped
The output then become:
bow2n
()
Cs =
(s + wn ) 2 s Vc
V
The inverse transformation of this is:
()
c t = b0 [1- exp(-wn t) - wn t exp(-wn t)]
0 t
172
Step input to a second-order system
when z < 1Þ m1 and m 2 are complex
The system is said to be Underdamped
So we have: Vc
m1 = -zw n + jw n 1- z 2 V
m 2 = -zw n - jw n 1- z 2
Thus, the output is given: 0 t
é ù
()
c t = b0 ê1-
êë
1
exp(-zwn t)sin[wn (1- z 2 ).t + F]ú
úû
1- z 2
where : cosF = z
173
Step input to a second-order system
()
c t = b0 (1- sin wn t) Vc
174
Ramp input to a second-order system
175
Ramp input to a second-order system
bow2n C s ()
()
G s = 2 =
s + 2zw n s + w n R s
2
()
bow 2n bow2n
()
ÞC s = 2
s + 2zw n s + w n
2
.R s = 2 () 1
. 2
(s + 2zw ns + w n ) s
2
bow 2n
=
(s - m1 )(s - m 2 )s 2
where : m1 = -zw n + wn z 2 -1
m 2 = -zwn - wn z 2 -1
176
Ramp input to a second-order system
æA B D ö
()
C s = b0 çç 2 + +
C
+ ÷÷
è s s s - m1 s - m 2 ø
Using partial fraction we have:
()
c t = b0 [At + B+ Cexp(m1t) + Dexp(m2 t)]
2z
where : A = 1 B=-
wn
z 2z 2 -1 z 2z 2 -1
C= + D= -
w n 2w x2 -1 w n 2w x2 -1
n n
Ex. p.139
177
Impulse input to a second-order system
178
Impulse input to a second-order system
bow2n ( )
C s
()
G s =
s 2 + 2zw n s + w 2n
=
R ( s)
bow 2n bow2n
ÞC s = () s + 2zw n s + w
2 2 ()
.R s =
(s + 2zw n s + w )
2 2
.1
n n
bow2n
=
(s - m1 )(s - m 2 )
where : m1 = -zw n + wn z 2 -1
m 2 = -zwn - wn z 2 -1
179
Impulse input to a second-order system
()
Cs =
A
+
B
s - m1 s - m 2
()
c t = Aexp(m1t) + Bexp(m2 t)
b0w n
where : A = -B =
2 x2 -1
Thus, we have:
b0w n
c t =() [exp(m1t) - exp(m 2 t)]
Ex. p.142
2 x2 -1
180
Impulse input to a second-order system
Vc
1
0 t
Ex. p.142
181
______________________Steady-state error
182
Steady-state error
183
Steady-state error
The error is the difference between the
required output and the actual output signal.
For a closed loop system:
R(s) E(s) C(s)
G(s)
(-)
B(s)
H(s)
1
Es Rs Bs E ( s) R( s )
1 GH ( s)
184
Steady-state error
Example 1, p.168
185
Steady-state error
Rs
1
r(t) = 1(t)
s
1 1 1
ess _ p = lim s . =
s®o s 1+ G(s)H(s) 1+ K p
186
Steady-state error
Rs 2
1
r(t) = t(t)
s
1 1 1
ess _ v = lim s 2 . =
s®o s 1+ G(s)H(s) Kv
Example 4, p.173
187
Steady-state error
t2
r t t Rs 3
1
2 s
1 1 1
ess _ a = lim s 3 . =
s®o s 1+ G(s)H(s) Ka
K
where: a lim s 2
G( s) H ( s) : Acceleration error constant
s 0
Example 5, p.175
188
Given a system.
K
R(s) C(s)
s( s 2) 2
where K = 5
Find steady-state errors
189
Given a system.
K
R(s) C(s)
s( s 2) 2
190
Nyquist diagrams_________________________
191
Nyquist diagrams
The Nyquist diagram is a polar plot of the frequency response
of the system
On the Nyquist diagram the output, for a multi-amplitude sinusoidal input at
particular angular frequency, is specified by drawing a line of length equal
to the magnitude G( j ) at the phase angle with the real axis.
Imaginary
R esponse at
for G ( j )
G( j)
Input
0 Real
192
Nyquist diagrams
193
Nyquist diagrams
First-order systems:
Transfer functions is: G s 1
where is const ant
s 1
G j
1
1 j
Magnitude:
G j
1
1
2
Phase: j = 0 - arctan(wt)
194
Nyquist diagrams
( )
G jw =
1
j = 0 - arctan(wt)
( )
2
1+ wt
Nyquist Diagram
-0.1
Imaginary Axis
1 1
Where : G( j) , 450 -0.2
2 -0.3
-0.4
-0.5
195
Nyquist diagrams
Second-order systems:
n2
Transfer functions is: G s 2
s 2 n s n2
where : n is freely oscillate angular frequency
is the damping ratio
Magnitude:
G j
1
1 / 2 /
n
2 2
n
2
Phase: 2 / n
arctan 2
1 / n
196
Nyquist diagrams
G j
1
1 / 2 /
n
2 2
n
2
2 / n
Nyquist Diagram
1.5
arctan 2
1
1 / n 0.5
-0.5
Imaginary Axis
-1
-1.5
-2
-2.5
-3
-3.5
-1 0 1 2 3 4 5
Real Axis
197
Given a system.
K
R(s) C(s)
s( s 2) 2
where K = 5
Plot Nyquist diagram
198
Nyquist diagrams
nyquist(num,den)
grid on
title(‘ title…’)
199
Nyquist stability criterion
Stable
Unstable
200
Nyquist stability criterion
Nyquist diagram
201
Nyquist stability criterion
202
Gain margin and Phase margin
Gain margin is defined as being the factor by which the
system gain, i.e. magnitude, can be increased before
instability occurs.
It is thus the amount by which the magnitude at 1800 has to
be increased to reach the critical value of 1.
203
Gain margin and Phase margin
G j 1800
204
Gain margin and Phase margin
G j 1800
If the Nyquist plot passes through the axis at 1 then the gain
margin is zero.
205
Gain margin and Phase margin
206
Given a system.
K
R(s) C(s)
s( s 2) 2
where K = 5
Plot Nyquist diagram and find GM and PM
207
208
209
_____________________________________ Root locus analysis
210
Root locus analysis_______________________
The properties of the root locus can be derived from the
general closed-loop control system:
R(s) E(s)
+ KG(s)
- C(s)
B(s)
H(s)
211
________________________________________ Root locus analysis
Fs 1 KG(s).H(s) 0
213
________________________________________ Root locus analysis
p1 p2 ... pn z1 z2 ... z m
nm
7. Obtain the intersection of the asymptotes with the imaginary axis.
214
________________________________________ Root locus analysis
- Breakaway points are used for where two or more loci meet at a point
and subsequently “break away” from that point along separate paths.
- The breakaway points occur at these point of which, for the
characteristic equation, dK/ds = 0
215
________________________________________ Root locus analysis
Example 1: Sketch the root loci for the system with open-
loop transfer function:
Gs
K
s 1s 2s 3
216
________________________________________ Root locus analysis
-3 -2 -1
0
-
1,42
217
________________________________________ Root locus analysis
Example 2: Sketch the root loci for the system with open-
loop transfer function:
K(s 1)
Gs
s 2 3 js 2 3 j
218
________________________________________ Root locus analysis
1990
-2+3j
-2 -1 0
-4,16
-2-3j
219
________________________________________ Root locus analysis
rlocus(num,den)
220
________________________________________ Root locus analysis
Homework:
Sketch the root loci for the system with open-loop
transfer function:
()
G s =
K
(
s s2 + 8s + 20 )
221
________________________________________ Root locus analysis
222
________________________________________ Root locus analysis
223
Compensation according to the desired frequency response
224
Series compensation
225
Compensation according to the desired frequency response
Example:
The desired frequency response is shown in Fig. 1.
Given
Determine Gc(s)
-40dB/dec
Fig.1
226
Compensation according to the desired frequency response
Example: 1
GH(s)
s( s 1)
-20dB/dec
100 1005
GH(s)
10
s( s 100)
-40dB/dec
Fig.1
227
Compensation according to the desired frequency response
Solution:
In terms of the desired frequency response we have:
10
G H d esi re ( s ) G c ( s ) G H ( s ) -20dB/dec
s ( 0 .0 1 s 1 ) 100
10
1 Fig.1 -40dB/dec
G H (s)
s ( s 1)
GH desire ( s ) 10 1
Gc ( s)
GH ( s ) s ( 0 .01s 1) s ( s 1)
( s 1)
10
( 0 .01s 1)
228
Parallel compensation
229
The configuration of the Parallel compensation
G’0(s) G’20(s)
R(s) C(s) R(s) C(s)
G 0 (s) G10 G 20
- - - -
GC GC
230
Function of the feedback:
- Decrease the time constant of the encircled elements →
Quicken the response of the encircled elements-may be;
G’20(s)
R(s) C(s)
G10 G 20
For example: - -
GC
'
K 20 K K
G 20 ( s ) , G c ( s ) G 20
'
(s) 20
' 20
Ts 1 Ts 1 K 20 T s 1
T
T
'
, but also K 20
'
K 20 /( 1 K 20 )
1 K 20
231
Function of the feedback:
- Decrease the time constant of the encircled elements →
Quicken the response of the encircled elements-may be;
G’20(s)
R(s) C(s)
G10 G 20
For example: - -
GC
K 20 K 20
But if G c ( s ) s '
G 20 (s) '
Ts 1 K 20 s T s 1
T ' (T K 20 ) , K 20 K 20
232
Function of the feedback:
- Decrease the time constant of the encircled elements →
Quicken the response of the encircled elements-may be;
'
K 20 K 20 K 20
For example: G 20 ( s ) , G c ( s ) G 20 ( s )
'
'
Ts 1 Ts 1 K 20 T s 1
T
T
'
, but also K 20'
K 20 /( 1 K 20 )
1 K 20
K 20 K 20
But if G c ( s ) s G 20 ( s )
'
'
Ts 1 K 20 s T s 1
T ' (T K 20 ) , K 20 K 20
233
The design procedure of the parallel compensator
- Design the desired characteristics, such as the desired Bode
diagram, of the encircled elements in terms of the system’s
analysis.
- Choose the appropriate feedback compensators to get the
desired characteristics. G’20(s)
R(s) C(s)
G10 G 20
- -
Example: For the system shown GC
in Fig.1, G20=10/s2, the desired
G’20(jω) shown in Fig.2. Fig.1
determine the Gc. -40dB/dec
-20dB/dec 10
0.1 1
-40dB/dec
Fig.2
234
-40dB/dec
-20dB/dec 10
0.1 1
-40dB/dec
Fig.2
Solution:
235