Lab 5 Control
Lab 5 Control
Objective
The main purpose of this laboratory experiment is to use Bode plots to design a
controller such that the specified set of steady-state and frequency response
requirements are satisfied.
The goals are such that:
2.0
Use frequency based design method for an Open loop feedback control
system using MatLab.
Design a controller to the performance specifications including transient
performance and steady error.
Use lead lag compensators for desired poles and zeros.
Robust analysis in the presence of 5% variation of the system parameter
values.
Investigate and comment on the robustness of the system to the
variations.
Introduction
The reduced plant transfer function along with the Controller is given in
Figure 2 below.
Procedure:
Step 1:
For plotting the open loop bode plot and the closed system response and for
checking the steady state error, the system transfer function has to be
developed using MatLab. Such that:
Checking the system step response and gain margin, it can be noted that the
Steady state error (ess) is 0.987 and the Gain Margin (GM) infinite db. at infinite
rad/s and Phase Margin (PM) is 27 degree at 63.8 at this stage.
From the previous studies, we can tell that the system is a type 0 system;
therefore a pole at 0 will make the system type 1 which can satisfy the steady
state requirement i.e. ess=0; For such purpose integrator controller will be
developed. The system response and Bode plot after adding a pole at origin is
given in figure 5 below.
The steady state requirement has been fulfilled. However the gain margin and
phase margin requirement are not fulfilled yet. The gain margin and phase
margin at this stage are 7.4db at 7.75 rad/s and -11.7 degree at 11.7 rad/s
respectively. The velocity error constant KV is given to be greater than 40.
Therefore, using steady state error the gain at is calculated to be 0.533. By
adding the gain the bode plot becomes as shown in Figure.
The gain margin and phase margin requirement are still not fulfilled yet. The gain
margin and phase margin is -1.93 dB at 7.75 rad/s and -3.07 deg at 8.65 rad/s
respectively.
Lead Compensation: The required gain margin is 15dB. Therefore the 15+1.93=
16.93 dB, for better approximation we choose 22 db. The lead compensator has
to add 22 dB gain to move the bode plot.
GClead =0.0793
(s +0.77)
(s +0.061)
The gain margin is 16 dB at 6.11 rad/s and phase margin is 20.2 degree at 2.23
rad/s. The required phase margin is 50 5% therefore there is a need of 30
additional phase margin to the system. For better approximation we add 40
additional phase margin by introducing a lead compensator to the system. For
such achievement the compensator has to be :
GClead =3.27
(s +2.367)
(s +7.7)
By cascading the lead compensator to the previous transfer function the phase
margin is expected to change and attain the desired 50 5 value. The bode
By analysing the bode diagram, the required 50 5 phase margin has been
achieved, However the gain margin is raised to 21.3. This error can be fixed by
better approximation of poles and zeroes of lead and lag compensators, which is
given in the controller design section below.