Professional Documents
Culture Documents
Bode Plot
Bode Plot
are needed. 1
Amplitude
follows. 0.2
frequency response and obtain the Figure 3.1 Step response of closed loop system with
characteristics of the system. Kp=1.
Define the performance and uncertainty
weight functions to verify controller Remarks : the closed loop system is exhibiting SSE
robustness. so an appropriate controller need to be designed to
reduce the SSE and also to minimize the settling
Design the simplest proportional controller.
time along with sufficient margins .
With this controller obtain the closed-loop
step and open-loop frequency response. The frequency response of this system is shown
Using these responses obtain the below considering loop gain L=G*C Eq(3.3)
specifications Mp, ts, eSS and (GM & PM).
s−0.5 [3.3]
Verify the robustness using closed-loop L(S)= 3 2 *1
frequency response characteristics using s + 60 s + 500 s
sensitivity and complementary sensitivity
functions.
Verify the robustness using CRC Bode plot.
Co-relate the frequency response and time-
response characteristics using CRC Bode
plot and derive the conclusions.
Identify the whether all specifications met or
not with the simplest controller.
If specifications are not met then design an
appropriate controller using suitable method and
repeat the steps (e) to (i).
3. Design Systems and Simulation Results
Figure 3.2 Bode phase and magnitude plots of closed
EXAMPLE 1 loop system.
Let us consider a NMP system whose transfer Remarks :the Bode frequency response
function G(s) and controller transfer function is C(s) characteristics obtained from the loop-gain is
and loop gain transfer function is L(S)= G(s)* C(s) exhibiting the Gain margin of 14 dB. Though this
s−0.5 [3.1] system is stable the damping is unknown as the
G (s) = 3 2 system GCF is unknown and PM is also unknown.
s + 60 s + 500 s
Observation ::GM is positive shows that the closed- Bode Diagram
loop system is stable and unable to get the damping 0
INVSEN
of the overall system.
-20
Magnitude (dB)
& 3.4) -80
3 2 [3.4]
s +60 s +500 s
S= 3 2
-100
s + 60 s + 501 s−0.5
-120
10 0
T = [3.5] Frequency Fi
(rad/s)
The frequency response of sensitivity and The frequency response of inverse of performance
complementary sensitivity are shown in figure (3.3) weight function and sensitivity function are
obtained in the MATLAB environment is shown below.
Bode Diagram
10
SEN Bode Diagram
10
0 SEN
CMSEN
0
-10
-10
Magnitude (dB)
-20
Magnitude (dB)
-20
-30
-30
-40 -40
-50 -50
10 -4 10 -2 10 0 10 2 10 -4 10 -2 10 0 10 2
Frequency (rad/s) Frequency (rad/s)
Figure 3.3. Bode magnitude frequency response of Figure 3.5 Bode magnitude frequency response plots of
sensitivity transfer functions S(jw) , 1/W p
7 6 5 4 3
236 s +13646 s +8.735e04 s −2.456e05 s + 9.54e04 s +1915
8 7 6 5 4
s +120 s + 4600 s +60000 s +250000 s
0.8
0.4
Amplitude
0.2
Observation: 0
The CRC bode curve is conforming the results of Figure 3.7. step response of closed loop system with
bode curve. now proper controller is design by designed controller C.
using ZN tuning method. And it is Based on open
loop step response parameters. The parameters of The frequency response of inverse of performance
the controller obtained using this method is as weight function and sensitivity function are
follows obtained in the matlab environment is shown below
Proportional gain constant Kp =-198, integral gain Observation : the closed loop system step response
constant Ki= -3.83, derivative gain constant Kd with this controller shows zero steady-state
=118 . and the transfer function of PID controller is characteristic with very less settling time .
C(s) Eq(14)
The frequency response of this system is shown
−3.83∗1 [3.8] below considering loop gain L=G*C , Eq (3.9)
C(S)= −198+118 *s +
s 3 2
118 s −257 s + 95.17 s+ 1.915 [3.9]
The closed loop step response of this system using L(S) = 4 3 2
these controller parameters is shown in fig (6). s +60 s +500 s
40
20
0
From this frequency response the product of
-20
90
performance weight function and sensitivity are
less than one for all frequency ,therefore the system
Magnitude (dB)
-90
is exhibiting the desired performance .
-180
10 0
Observation:: The desired characteristics of
Phase (deg)
Frequency (rad/s)
Fig sensitivity and complementary sensitivity are
ure 3.8 Bode phase and magnitude plots of closed obtained and therefore the system is exhibiting the
loop system. stable response .
The closed-loop sensitivity Eq (3.10) and CRC BODE plot of this system with selected
complementary sensitivity Eq (3.11). These weight functions are shown in figure(5)
frequency responses are shown in figure (3.9).
Remarks :From Bode frequency response The
T= [3.11]
7 6 5 4 3 2
236 s +13646 s +8.735e04 s −2.456e05 s + 9.54e04 s +1915 s
8 7 6 5 4
s +120 s + 4600 s +60000 s +250000 s
50
Bode Diagram EXAMPLE 2
Let us consider a NMP system whose transfer function
0 G(s) and controller transfer function is C(s) and loop
gain transfer function is L(S)= G(s)* C(s) .
-50
−6 s +3 [3.14]
G (s) = 2
-100
50 s +15 s+1
Magnitude (dB)
2 (3.14)&figure(3.15).
1
2
0
50 s +15 s+1 [3.16]
S= 2
-1
0 20 40 60 80 50 s +9 s +4
3 2
Time (seconds)
−300 s + 60 s + 39 s+3 [3.17]
T= 4 3 2
Figure 3.11, step response of closed loop system 2500 s +1200 s +385 s +69 s +4
with Kp=1.and SettlingTime: 47.5428 ,Undershoot:
2.8571 0.55 s +0.5445 [3.18]
Wp=
s
Remarks : the closed loop system is exhibiting SSE 2
0.2 s + 0.03428 s+ 0.001469 [3.19]
so an appropriate controller need to be designed to Wi= 2
reduce the SSE and also to minimize the settling s
time along with sufficient margins .
The frequency response of this system is The frequency response of sensitivity and
shown below considering loop gain L=G*C Eq(11) complementary sensitivity are shown in figure
(3.12)
L(S)= 3 2 *1 SEN
50 s + 15 s + s 5
Bode Diagram 0
10
Magnitude (dB)
0 -5
Magnitude (dB)
-10
-10
-20
-15
10 -3 10 -2 10 -1 10 0 10 1
-30 Frequency (rad/s)
-40
360
Figure 3.12 Bode magnitude frequency response of
315
270
sensitivity transfer functions
Phase (deg)
225
Bode Diagram
180 5
INVSEN
135 0
90 -5
10 -3 10 -2 10 -1 10 0 10 1
Frequency (rad/s) -10
-15
-25
Bode Diagram
10
SEN
0
INVSEN Figure 3.15 . CRCBode plot of the system with
Kp=1
-10
Observation ::The CRC bode plot is passing
through forbidden regions and it can be easily
Magnitude (dB)
-20
-30
identified by a red line fig(3.15). This shows that
the system is having less or insufficient stability
-40 margins.
-50 The CRC bode curve is conforming the results of
-60
bode curve.Now proper controller is design by
using ZN tuning method. And it is Based on open
-70 loop step response parameters.the parameters of the
10 -3 10 -2 10 -1 10 0 10 1 10 2
Frequency (rad/s)
controller obtained using this method is as follows
Figure 3.14.Bode magnitude frequency Proportional gain constant Kp =0.715, integral gain
response plots of S(jw) , 1/W p constant Ki= 0.036, derivative gain constant Kd
=0.795 . and the transfer function of PID controller
From this frequency response the product of is C(s) Eq(3..20)
performance weight function and sensitivity should
0.795∗1 [3.20]
be less than one for all frequencies if the system is C(S)= 0.715+ 0.036 *s +
exhibiting the desired performance. In another way s
sensitivity function should be below the inverse of The closed loop step response of this system using
performance function. But the closed-loop these controller parameters is shown in fig (3.16).
sensitivity function is violating the constraint in low
Step Response
frequency region. 1.2
1
Observation:: from the frequency response of the
sensitivity function it is observed that the inverse of 0.8
3 2
−3 s −1.5 s −7.5 s+ 4.5 [3.21] -15
Magnitude (dB)
L(S) = 3 2
50 s + 15 s + s -20
-25
Bode Diagram
30
-30
20
-35
Magnitude (dB)
10
0 -40
-10 -45
10 -3 10 -2 10 -1 10 0 10 1
-20
315 Frequency (rad/s)
270
Figure 3.18.Bode magnitude frequency response of
Phase (deg)
225
sensitivity transfer functions
180
Bode Diagram
135 5
10 -2 10 -1 10 0 10 1 INVSEN
Frequency (rad/s)
the closed-loop system is stable. Figure 3.19. Bode magnitude frequency response of
complementary sensitivity transfer functions
The closed-loop sensitivity Eq (3.22) and
complementary sensitivity (Eq(3.22)Frequency Observation::The desired characteristics of
responses are obtained in the mat-lab environment. sensitivity is, at high frequency the magnitude of
3 2 sensitivity should be maximum with unity
50 s +15 s + s [3.22]
S= 3 2
magnitude and at low frequency it should be
47 s +13.5 s −6.5 s+ 4.5 minimum , therefore the system follows the desired
[3.23] characteristics (figure (3.20)) .
2
0.2 s + 0.03428 s+ 0.001469
T= 2 The frequency response of inverse of performance
s
weight function and sensitivity function are
0.55 s +0.5445 [3.24]
Wp= obtained in the matlab environment is shown below.
s
[3.25]
2
0.2 s + 0.03428 s+ 0.001469
Wi= 2
s
The frequency response of sensitivity and
complementary sensitivity are shown in figure
Bode Diagram
10
SEN
-10
CMSEN
-20
Magnitude (dB)
-30
-40
-50
-60
-70
-80
10 -3 10 -2 10 -1 10 0 10 1 10 2
Frequency (rad/s)