Professional Documents
Culture Documents
Objective
Implement Compensator Design by pole placement using SISO tool in MATLAB.
Apparatus
MATLAB
Introduction to Compensator
In redesigning a control system to alter the system response, an additional component is inserted
within the structure of the feedback system. It is this additional component or device that
equalizes or compensates for the performance deficiency. The compensating device may be
electric, mechanical, hydraulic, pneumatic, or some other type of device or network and is often
called a compensator.
Types of Compensation
Cascade Compensation
Feedback Compensation
Output, or Load Compensation
Input Compensation
Procedure
Let us consider Lead-compensator example, where the uncompensated loop transfer function is
1
G( s)
s2
The specifications for the system are
You can select control architecture based on controller position and number of feedback
loops as shown in figure 1. Here we select basic control architecture i.e. Cascade
compensation (C) with pre-filter (F).
Click ‘System data’ to import data for compensation. Following window appear as shown
in figure 2
o G represent Plant TF
o H represent Feedback TF
o C represent Compensator TF
o F represent Pre-Filter TF
By selecting ‘Browser’ option, you can import system TF as shown in figure 2 < sys >.
After clicking OK, following window appear representing root locus and bode plot of
Figure 2: Import Data
G(s) TF. As we can see, two poles at origin and corresponding bode plot.
Multiple plots can be shown at a time as we select root locus and bode plot only. We can
also plot Nichlos graph.
Select Lead compensator option. In case of lead compensator, |zero| < |pole|.
By adding pole and zero, root locus pass through desired location as shown by circle in
figure 6.
Figure 6: Compensated System Root locus
Step response to compensated system can be plot by selecting ‘Analysis Plot’ option and
Tick step response
Figure 8: Step Response
Task
Design a lead compensator for following TF using SISO Tool MATLAB
1
G( s)
s( s 1)
Design specs:
rise time Tr ≤0.8 s
Percent overshoot for a step input P.O. < 20%
Observations
I have designed a lead compensator that fulfilled the above design requirements;
2.7867(𝑠 + 1)
𝐶(𝑠) =
(9.34𝑠 + 1)
By adding this compensator to the original system the rise time tr has become 0.584 sec and
percentage overshoot O.S. has become 15.5%.
Comments
By adding a lead compensator, the net number of zeros and poles will be same (one zero and one
pole are added), but the added pole is a larger negative number than the added zero. Thus, the
result of a lead compensator is that the asymptotes' intersection is moved further to the left in the
complex plane, and the entire root locus is shifted to the left as well. This tends to increase the
region of stability and the system's response speed.