Professional Documents
Culture Documents
SKEE 3143
SYSTEM MODELING AND
CONTROL SYSTEM
ANALYSIS
DESIGN
CHAPTER 3
Response and Stability Analysis in
Frequency Domain
Herman 1
Stability via Bode Plots
3
Stability via Bode Plots
Example 3:
• Sketch the bode plot use Matlab to get the actual
plotting
• Determine the range of K within which the unity
feedback system is stable. Let
K
G ( s )
s 2s 4s 5
K
Solution: Normalise G( s)
s s s
(40) 1 1 1
2 4 5
5
Stability via Bode Plots
at -1800, = 7 rad/s,
magnitude = -20 dB.
7 rad/s
6
Stability via Bode Plots
For the plot, K = 40
(Absolute Value).
A gain in +20dB
(20 log X = 20dB)
+20dB before the
system becomes X = 10 (Absolute value)
unstable
7 rad/s
7
MATLAB
>> bode(40/((s+2)*(s+4)*(s+5)))
Bode Diagram
0
-10
-20
Using MATLAB, Actual
-30
System: untitled1
Gain Margin (dB): 19.5
results: = 6.16 rad/s,
At frequency (rad/s): 6.16
Magnitude (dB)
-40
Closed loop stable? Yes
-50 From Gain Margin
-60
(20 log X = 19.5dB)
X = 9.4406
-70
-80
-90
Hence range of K =
0
-45
9.4406 X 40 = 378
-90
Phase (deg)
-135
-180
-225
-270
-2 -1 0 1 2
10 10 10 10 10
Frequency (rad/s)
To Measure Stability : Bode plot
Phase Margin
gain required to
raise/decrease the magnitude
curve to 0dB
Gain
7 rad/s
Margin
10
Frequency
Stability via Bode Plots
20dB
Gain
7 rad/s
Margin
11
Frequency
To Measure Stability : Bode plot
2 rad/s
13
Stability via Bode Plots
80o before
system become
unstable
Phase
2 rad/s
Margin
Frequency 14
Gain and Phase Margins - simplified
Gain
Margin
180
Gain Margin
Frequency
15
Gain and Phase Margins - simplified
Phase
margin
180
Phase Margin
Frequency
16
Example 4
Using MATLAB, find the gain margin and the phase margin
from the bode plot.
17
Solution :
• Note that: any additional zeros and/or poles will change the
original bode plot. This can be clearly observed by using the
command ‘sisotool(G)’ and adding zeros/poles from the
menu. Resulted in the changes in GM and M, hence the
stability
Relation between Closed-
Loop Time and Closed-Loop
Frequency Responses
Relation between Closed-Loop Time and
Closed-Loop Frequency Responses
20
Relation between Closed-Loop Time and
Closed-Loop Frequency Responses
C ( s) n 2
T (s) 2
R( s ) s 2n s n 2
n 2 n 2
T ( j )
( j ) j 2n n ( n 2 ) j 2n
2 2 2
n 2
M T ( j )
( n 2 ) 2 4 2 n 2
2 2
21
Relation between Closed-Loop Time and
Closed-Loop Frequency Responses M p
• Plot of magnitude-log
plot:
• The maximum value of
Mp,
1
MP
2 1 2
• The frequency,
P n 1 2 2
22
Relation between Closed-Loop Time and
Closed-Loop Frequency Responses
• Therefore, the maximum magnitude is directly related to
damping ratio and overshoot.
23
Relation between Closed-Loop Time and
Closed-Loop Frequency Responses
• Bandwidth, BW is the frequency at which the magnitude
response curve is -3 dB.
• Relationships between the bandwidth and the time
response specifications:
BW n (1 2 2 ) 4 4 4 2
4
BW (1 2 2 ) 4 4 4 2
Ts
BW (1 2 2 ) 4 4 4 2
Tp 1 2
Relation between Closed-Loop Time
and Closed-Loop Frequency Responses
• Bandwidth, BW and time response specifications:
• Example: Find the
closed-loop
bandwidth
required for 20%
overshoot and 2
seconds settling
time.
• Answer: BW = 5.
79 rad/s
25
Example 5
• Given a unity feedback system with G(s) = K/[s(s+1)(s+2)].
Using Matlab, find the system gain and phase margins,
maximum amplitude and bandwidth for K = 1 and 10.
ANSWER
Gain and phase margins are obtained from the open-loop
Bode plot. [prove using MATLAB]
Maximum amplitude and bandwidth can only be obtained
with the closed-loop Bode plot. [prove using MATLAB]
K=1 K = 10
Gain margin 29.5 dB 9.5 dB
Phase margin 780 250 Hard to find manually
Maximum amplitude 0 dB 7.3 dB
Bandwidth 0.26 rad/s 2 rad/s
26
Relation between Closed- and Open-
Loop Frequency Responses
• We do not have an easy way of finding the closed-loop
frequency response from which we could determine Mp and
thus the transient response.
• We can sketch the open-loop frequency response (Bode plot)
but not the closed-loop frequency response.
• One of the techniques to obtain the closed-loop frequency
response from open-loop frequency response is Nichols
Chart.
27
Nichols Chart
Open-loop
magnitude (dB) Closed-loop
magnitude
29
Nichols Chart: Example
30
Nichols Chart: Solution
(rad/s) Magnitude (dB) Phase (degree)
0.1 13.92 -98.6
0.3 4 -115
0.5 -1.2 -131
0.7 -5.16 -144
1 -10 -161.6
1.5 -16.6 -183
31
Nichols Chart: Solution Closed-loop:
Mag: 1.02 (0 dB)
Phase: -130
Closed-loop:
Mag: 0.45 (-7 dB)
Phase: -1550
32
Nichols Chart: Stability, Gain
and Phase Margins
• Stability, gain margin and phase margins can also be
determined using the Nichols Chart.
• For the system with K = 1, GM = 15.5 dB, M = 550.
33
Relation between CL transient
and OL frequency responses
• The maximum magnitude, Mp and the frequency p can be
obtained from the open-loop frequency response and
Nichols chart.
• Mp is found by maximum magnitude curve crossed by the
open-loop response.
• p is the frequency at the crossing.
• Bandwidth, BW is the frequency when the closed-loop
frequency achieve -3 dB (0.7)
34
Relation between CL transient
and OL frequency responses
Mp = 1.1
=
0.4rad/s
36
Steady-state Error from
Frequency Response
• For a unity feedback system with open-loop transfer function
G(s), the steady-state errors are:
38
Steady-state Error from
Frequency Response
• Steady-state error can also be obtained from
the open-loop Bode plot.
39
Steady-state Error from
Frequency Response
System type 2
40
Example
• Find the steady-state error for the following Bode plot:
20 log Kp = 25
Kp = 17.78
Kv = 0.55
41
Example
Ka = 9
42
Conclusion
We have covered
The graphical analysis using Bode Plot and Nichols
Chart
The stability analysis by looking at Gain and Phase
Margins
Some relationships between open loop and closed loop
systems’ information
43