Professional Documents
Culture Documents
Experiment No. 5
2019-20
Experiment 5
Number
Experiment Design of a Controller based on Root Locus for the given specifications and
Title compare the step responses
Resources / Hardware: Software: Matlab/Simulink
Apparatus
Required
Objectives Problem: Block Diagram of a discrete control system is given as below. For
(Skill Set / this system design a controller such that the dominant closed loop poles have
Knowledge a damping ratio of 0.5, settling time 2 sec with a 2% tolerance band.
Tested / Obtain discrete domain TF with T=0.2 sec and
Imparted) 1. Sketch Root locus and step response for uncompensated system
2. Implement a discrete controller and repeat 1 for compensated system
3. Develop a Simulink model and obtain step response
Theory of With Sample and Hold circuit in loop, with T=0.2 sec
Operation The z domain transfer function for uncompensated system is
0.02(𝑧 + 0.93)
𝐺(𝑧) =
(𝑧 − 1)(𝑧 − 0.82)
Nature of controller/compensator
(𝑧 + 𝑎)
𝐺𝐷 (𝑧) = 𝐾
(𝑧 + 𝑏)
The parameters of controller are designed from the root locus by considering
the desired dominant pole location. The compensator transfer function to
achieve this is
(𝑧 − 0.85)
𝐺𝐷 (𝑧) = 10.75
(𝑧 − 0.253)
Block
Diagram
Simulink
Diagram
Pulse
Generator Scope1
Scope3
10.85z-8.82 1
In S/H
z-0.253 s2 +s
Step1 Discrete Zero-Order Transfer Fcn
Sample
Transfer Fcn Hold
and Hold
Scope
1.5
0.5
Imaginary Axis 0
-0.5
-1
-1.5
-2
-6 -5 -4 -3 -2 -1 0 1 2
Real Axis
1.5
0.5
Imaginary Axis
-0.5
-1
-1.5
-2
-6 -5 -4 -3 -2 -1 0 1 2
Real Axis
Conclusion With the addition of a controller in the system we observe that the settling
time is close to the desired value (2 seconds ) .