Compensation Design
Compensation Design
COMPENSATION DESIGN
Model: CD-02
(Rev : 01/04/2010)
Manufactured by:
Techno Instruments
261/16, Civil Lines
Roorkee-247 667 UK
Ph.: 01332-272852, Fax: 274831
Email: [email protected]
[email protected]
Website: www.sestechno.com
CONTENTS
Section Page
Please – Feel free to duplicate this manual subject to the copyright restriction given below.
COPYRIGHT NOTICE
The Techno Instruments Model CD-02 Compensation Design manual is copyrighted and all
rights reserved. However, permission is granted to non-profit educational institutions for
reproduction of any part of this manual provided the reproduction is used only for their
laboratories and is not sold for profit. Reproduction under any other circumstances, without
the written consent of Techno Instruments is prohibited.
LIMITED WARRANTY
Techno Instruments warrants this product to be free from defects in materials and
workmanship for a period of one year from the date of shipment to the customer. Techno
Instruments will repair or replace, at its option, any part of the product which is deemed to be
defective in material or workmanship. This warranty does not cover damage to the product
caused by abuse or improper use. Determination of whether a product failure is the result of
manufacturing defect or improper use by the customer shall be made solely by Techno
Instruments. Responsibility for the return of equipment for warranty repair belongs to the
customer. Equipment must be properly packed to prevent damage and shipped postage or
freight prepaid. (Damage caused by improper packaging of the equipment for return shipment
will not be covered by the warranty). Shipping costs for returning the equipment, after repair,
will be paid by Techno Instruments.
EQUIPMENT RETURN
Should this product have to be returned to Techno Instruments, for whatever reason, notify
Techno Instruments BEFORE returning the product. Upon notification, the return
authorization and shipping instructions will be promptly issued.
Hz GAIN PLANT
+ -
LEVEL
5 7 AMPLIFIER
3 9
FREQ 5 7
1 11
3 9
NETWORK ON
1 11
T TECHNO INSTRUMENTS, Roorkee
1. OBJECTIVE
To design, implement and study the effects of different cascade compensation
networks for a given system.
2. EQUIPMENT DESCRIPTION
The unit has been designed with the objective of exposing the students to the problem
of control system compensation. A simulated system of ‘unknown dynamics’ is available
which may be studied both in the time and frequency domains. In addition, the forward gain
is variable, thus the system dynamics is adjustable in a wide range as well. The closed-loop
system presents an ‘unsatisfactory’ performance. A set of performance specifications is to be
prescribed by the teacher, and the student would design a suitable compensator. Necessary
theoretical background and design steps are explained in section 3, covering the s-plane and ω
-plane designs of both lag and lead networks. Compensation network so designed may be
easily implemented in the unit, and its effect on the performance may be evaluated. All
necessary facilities are built-in in the system. Only a measuring CRO and a few passive
components are needed for conducting the experiment. Referring to the block diagram of Fig.
1, the various sections of the unit are described below in some detail.
(a) Plant: It is an active network simulation of a second order dynamic system. Its transfer
function is given by
K1
(sT + 1) 2
The values of K1 and T are not explicitly given but are determined through experimentation.
SIGNAL
COMPENSATION
SOURCE
3. BACKGROUND SUMMARY
Practical control systems use a range of mechanical, electrical, hydraulic, thermal and
other type of components for their operation. Examples include motors, gears, amplifiers,
control valves, heat exchangers etc. The design of these components is usually based upon
requirements other than those which might be prescribed by the control engineer - for
example a specified transfer function. As a result, the control engineer is constrained to make
the best possible choice out of the components offered by the manufacturer. The system so
constructed may not be entirely satisfactory. Compensation network is designed at this stage
to modify the system characteristics and to force it to meet the specifications. Although
compensation elements are used at the output (load compensation) and in the feedback path
(feedback compensation), the most common form of compensation is the cascade
compensation where the compensation acts on the error signal. The principal advantage of
this configuration is that the signal level of the error is very low and the error is more
commonly electrical in nature. Thus the compensation network needs to be a low power
electrical network which is very easy to implement. Basic theory of compensation is
discussed in the following pages. However, a thorough understanding of control system
analysis is a prerequisite for this experiment.
0.5
td tr tp ts
TIME t
ωg
0db
GAIN
ω
MARGIN
G PHASE
MARGIN
-180º
ωp ω
C (S)
R (S) 1
CUTOFF
0.707 BW RATE
Mr
ωr ω
(i) Delay time td, defined as the time needed for the response to reach 50% of the final value
(ii) Rise time tr, the time needed for the response to reach 100% of the final value for the first
time
(iii) Peak time tp, the time taken for the response to reach the first peak of the overshoot
(iv) Maximum Overshoot MP, given by
(b) Frequency-domain performance criterion: These are specifications indicated on the open
loop frequency response curves of the system i.e. Bode plot, Nyquist diagram or Gain
magnitude - phase shift plot or the closed loop frequency response of the system. Unlike the
time-domain specification, a number of the frequency-domain criterion are defined on the
closed loop characteristics. Frequency-domain approach to design is easily applicable to
systems with unknown dynamics by experimentally determining the frequency response.
However, the correlation between time and frequency response is not direct.
Referring to Fig. 3(a) (open loop Bode plot) and Fig. 3(b) (closed-loop frequency
response), the various performance criterion in the frequency-domain are given below:
(i) Gain Margin, is the amount by which the open loop gain may be increased at the phase
cross over frequency, ωP, to bring it to 0 dB.
(ii) Phase Margin, is the amount by which the phase of the open loop transfer function at the
gain cross over frequency, ωg, may be increased in the negative direction to bring it to -
180°.
(iii) Mr, Peak value of closed loop frequency response.
INTPUT C OUTPUT
ei eo
R2
jω
X σ
1 1
− −
T βT
1 1
Gc
βT T
0db
20 Log β ω
Gc
0db
ω
Lag network: The lag network is shown in Fig. 4(a). Its transfer function may be expressed as
R 2 Cs + 1
G c (s) =
(R 1 + R 2 )Cs + 1
Substituting R2C = T, and (R1+R2)/R2 = β (>1), Gc(s) may be written in two alternative forms :
Ts + 1
G c (s) = …Form I
βTs + 1
1 (s + 1/T)
= . …Form II
β (s + 1/βT)
Form I is directly suitable for frequency-domain design while Form II with the 1/β factor
cancelled by an amplifier, is suitable for root locus design. Pole zero configuration and the
Bode diagram of the lag network are shown in Fig. 4(b) and (c) respectively. It may be noted
that the network exhibits a low pass character and introduces a negative phase angle.
Lead network: The lead network is shown in Fig. 5(a). Its transfer function may be expressed as
R2 R 1Cs + 1
G c (s) = .
R 1 + R 2 R 1R 2 Cs
+1
R1 + R 2
Substituting R1C = T, and R2/(R1+R2) = α (<1), Gc(s) may be written in two alternative forms:
α (sT + 1)
G c (s) = …Form I
(sαT + 1)
s + 1/T
= …Form II
s + 1/αT
R1
OUTPUT
INPUT ei eo
R2
jω
X
0
1 1
−
αT T
Gc-WITH AMPLIFIER
Gc
-20 Log α
0db
1 ω
1
T −
αT
Gc
φm
0
ω
B
Y0
X0 A X
This step ensures that maximum phase lead shall be added at the new gain cross-over
frequency.
• The corner frequencies are now calculated from 1/T= α ωm and 1/αT=ωm/ α
• Implement Gc(s) with the help of a few passive components and the amplifier provided for
this purpose. The gain of the amplifier is to be set equal to 1/α.
• Insert the compensator and determine experimentally the phase margin of the plant with
compensator.
• Observe the step response of the compensated system. Obtain the values of MP, tP, ess and ζ.
In addition to the above experiments, the measurement of frequency response of
closed loop system, both before and after compensation, would provide further insight.
5. TYPICAL RESULTS
Following are the results obtained on a typical unit.
(a) Frequency response measurements :
Input = 1 Volt p-p, sine wave; CRO in x-y mode
All measurements are in volts p-p
fHz A B xo yo Gain dB Phase in
degrees
16 0.5 2.2 0.1 0.4 12.86 - 10.4
31 0.5 2.0 0.2 0.8 12.04 - 23.58
40 0.5 1.65 0.4 1.35 10.37 - 54.9
80 0.5 0.5 0.48 0.90 5.57 - 71.3
100 0.5 0.72 0.46 0.68 3.17 - 109.2
200 0.5 0.25 0.3 0.16 - 6.02 - 140.2
300 0.5 0.12 0.22 0.05 - 12.4 - 155.4
400 0.5 0.07 0.16 0.024 - 17.07 - 160.0
800 0.5 0.017 0.08 0.035 - 29.37 - 168.1
These measurements are carried out by the ellipse method (or by a double trace CRO).
If the input and output of a system, given as input x = Acos(ωt), and output y = Bcos(ωt-θ),
are fed to the x and y plates of the CRO respectively, the resulting trace is an ellipse (Fig. 6)
given by
y2 + (B2/A2)x2 - 2(B/A)xy cosθ = B2 sin2θ
Measurements of intercepts on x and y axes and peak values in these directions yield
Gain = B/A = yo/xo; or 20 log (B/A) dB, and
Phase θ = - sin-1(xo/A) = -sin-1(yo/B)
26
22
-2 1 10 100 1000
90 Hz
-6
Frequency (Hz)
-10
-14
9
-18
-22
-26
-30
Frequency (Hz)
0
1 10 100 1000
Phase (degrees)
330 Hz
G(jω) 175 Hz
-90
45° 24°
-180
We now proceed with the lead network design. To satisfy the steady state specifications, the
open loop gain will need to be set to 5 as in the lag network example, leading to MP = 48 %,
ess = 5 %.
The gain setting of 5 must not be changed throughout this experiment.
The Phase Margin from Fig. 7 is read as 24°. Following the steps outlined in sec. 4.3,
Phase lead needed (φm) = 40° - 24° + 10° = 26°
1 − sin 26 1
α= = 0.39, = 2.56
1 + sin 26 α
10 log α = - 4.08 dB
ωm ( from Fig. 7) = 2π420 rad/sec = 2638.93 rad/sec
1 1 ω
= α ω m = 1648.0, and = m = 4225.6
T αT α
Time Constant T = R1 C
Choosing C = 0.01 µF, the resistances are computed as
T
R1 = = 60.67 kΩ ≈ 62 kΩ
C
α R1
R2 = = 38.78 kΩ ≈ 39 kΩ
(1 − α)
With the compensator inserted and its gain set to 1/α = 2.5, the response of the closed loop
system {Fig. I(c) of Appendix-I} yields:
MP = 25 %
tp = 1.3 m sec
ess = 3 %
6. REFERENCES
[1] K. Ogata, ‘Modern Control Engineering’, Prentice Hall of India Pvt. Ltd.
[2] B.C. Kuo, ‘Automatic Control Systems’ Prentice Hall of India Pvt. Ltd.
[3] Nagrath, I.J. and M. Gopal, ‘Control System Engineering’, Wiley Eastern Limited, 1975
Feed Back
If you have any comments or suggestions about this product or this manual please let
us know. Techno Instruments appreciates any customer feedback. Your input helps us
evaluate and improve our product.
Before you call the Techno Instruments Technical Support staff it would be helpful to
prepare the following information: