Академический Документы
Профессиональный Документы
Культура Документы
b.
c.
d.
e.
f.
g.
h.
Cascade control
i.
j.
Supervisory control
k.
13.2 INTRODUCTION
Frequency response is a measure of the ability of a circuit or a system to respond or transmit
input signals of various frequencies that are applied to it. Frequency response measures the
ability of the device to respond to changes in the input that are changing with respect to time. It
therefore measures the dynamic characteristics of the system as against the first four
experiments in this series that measures the static characteristics like accuracy and resolution of
the device. Frequency response can also be used as a technique for parameter estimation of
unknown system. By determining the frequency response of unknown system we can determine
the order of the system as well as its dynamic parameters like time constant, gain and delay time.
13.2.1 Sinusoidal response of a first order system
Consider a first order system represented by the transfer function,
G ( s)
Y
K
X
s 1
where
217
X,Y
system gain
time constant
Laplace operator
X A sin t
then, the corresponding Laplace domain input is given by
A
s 2
2
Substituting and simplifying we can obtain the frequency response of the system. A simpler
method for determining the frequency is to substitute s =j and simpify the resulting complex
function complex function. Using the technique we get,
G ( j )
1
1 j
On rationalizing by multiplying the numerator and denominator by (1-j) and separating the real
and imaginary factors we get
G ( j )
j
2 2
1
1 2 2
The complex numbers in the rectangular form a+jb can be converted to polar form by the
relationships,
b
a
218
Amplitue ratio AR
2 1
Phase angle tan 1 ( )
2
The above analysis shows that when the transfer function of a system is known, we can
determine its frequency response by substituting j for s and then after rationalizing the complex
function convert it to the polar form and determine the magnitude and argument (angle) of the
complex number in the polar form. The substitution of j for the Laplace transform operator s is
the result of the De Moivres theorem that relates the exponential functions with trigonometric
functions.
13.2.2 Bode diagrams
The frequency response of s system is presented in the form of the Bode diagrams. For obtaining
the Bode diagram of a system its response at a number of frequencies from = 0 to very large
values of is determined and the AR and determines at each value of . Then log AR is plotted
against log and is plotted against log . These two graphs are called the Bode diagrams of a
system. An example of a theretical Bode diagram of a first order system given by 1/(1+2s) is
given by Figure 13.1.
219
From figure 13.1 we can summarise the following characteristics of frequency response of a first
order system.
The bode diagram consists of two graphs:
a.
b.
The unit of the frequency is radians/s or Hz. The AR is the output amplitude divided by the input
amplitude. Where the input and output are the same variables and they have the identical
magnitudes when the frequency is 0 then the AR vs f response starts at a value of 1.
However this, may not always be the case. If the input and output are different variables and have
different magnitudes at zero frequency, then the AR f curve will not start at a value of 1. To
ensure that the curve starts at 1, then results are normalized by dividing by AR 0, AR0 is the zero
frequency gain often called DC gain. In literature AR 0 is often plotted as decibels. Decibels and
AR0 are related by the relationship,
Decibels = 20 log10 AR0
Thus an AR0 of 1 corresponds to 0 decibels and AR 0 = 0.1 corresponding to 20 decibels. The
abbreviation for decibel is dB,
At low frequencies the amplitude ratio is nearly 1 as the frequency is increased keeping the input
amplitude constant the output amplitude progressively decreases. This is called the attenuation.
At low frequency the AR is a straight line at o dB. This is called the high frequency asymptote.
The low frequency asymptote and the high frequency asymptote intersect at appoint called the
frequency c. c is related with the time constant T by the relationship, c =1/T where c is in
radians/s and T is in s.
For the first order system the phase lag is zero at low frequencies. As the frequency increases
the phase lag increases and asymptotically reaches a maximum value of 90 deg. There is a
point of inflexion in the - curve. This point of inflexion occurs at =c. We can use the above
properties of the frequency response of a first order system to determine the time constant of
unknown first order system from its experimental frequency response curve.
13.2.3 Response of Higher Order System
220
G ( s)
1
( s 1)(0.2 s 1)
The equation represent the transfer function of a second order system obtained by combining
two first order systems of time constants 1 and 0.2 respectively. The overall gain of the system is
represented by the numerator and is 1. The frequency response of this second order system can
be obtained as before by substituting j for s and then writing the complex number in the polar
form.
Alternatelt we can combine the frequency response of the two component first order systems to
determine the overall second order system response. The graphical method for combining two
first order system responses to determine the second order response is discussed in
Coughnanowr (1981).A simple method for generating frequency response is to use software like
Matlab. Figure 13.2 is generated using Matlab software. Frequency response of higher order
cascaded like 3rd, 4th and 5th order system can be generated in a similar manner.
221
a.
b.
c.
If the c is the frequency at which the two asymptotes intersect and G is the amplitude
ratio of the frequency response curve at this frequency, then the following equations are
satisfied:
T1 T2
T1T2
d.
1
cG
1
c 2
If 1 and 2 are the frequencies at which the phase is -/4 and -/2 respectively, then the
following equations are satisfied:
T1 T2 1 1
2
T1T2
1
2
2
The equation gives us methods for determining the time constants of a second order system from
its frequency response diagrams.
13.2.4 Controllers
The controller used in the present experiment is the YS-170 Microprocessor based controller.
This controller can be used as proportional controller, Proportional Integral Controller,
Proportional Derivative Controller or Proportional Integral Derivative controller. The controller
equations are as follows:
Error , E X R X
Y Kc E
Pr opotional controller :
Pr oportional Integral controller
Pr opotional Derivative controller
Pr opotional Integral Derivative controller
XR
setpoint variable
controller output
222
1
Y Kc E
E dt
dE
Y K c E D
dt
1
dE
Y Kc E
E dt D
I
dt
error
Kc
proportional gain
TI
integral time
TD
derivative time
Figure 13.3 Response of a proportional controller to a square wave input (Proportional gain K c=2)
The response of a Proportional Integral controller to a step input is shown in Figure 13.4
223
Y/Kc = j TD+1
Therefore,
AR
(1 2TD
tan 1 (TD )
A typical response curve of the proportional derivative controller is shown in Figure 15.5. The
value of TD can be determined from the relationship, TD =1/c.
224
The equipment required for performing the experiments are shown in Table 12.6.
Table 15.6 Equipment required
Unit name
PID controller
Function generator
Paperless recorder
Model No
Yokogawa Model YS 170
Yokogawa Model FG120
Yokogawa Model DX104
Display, setting and operations of I/O value, various constants, and built in control
functions can be controlled easily from the full dot LCD and key switches on the front
panel
ii.
iii
The built in adjustable set point filter can provide a better response to set point changes.
iv
The self diagnosis function can be used to check the operation of the instrument and the
status of the input and output signal lines.
225
226
13.4 PROCEDURE
13.4.1 General outlook of the control panel
227
b)
c)
d)
Connect the equipment as shown in Figure 13.7. For the recording device we can use the
LR recorder, X-Y-t plotter or the 2 channel Oscillograph or the paperless recorder. In the
present experiment we will be using the paperless recorder DX104 together with the
recorder software.
228
2.
At the YS170 controller please make sure P01, P02, P03,P04, P05, P06 and P10 (in
Tuning Menu, P&T REG) are set to zero. Also set ACT1 (in ENG.MENU1, CONFIG2) to
DIR (Direct Action
3.
For calibrating the Proportional band (PB1) at YS170 (in Tuning Menu, PID 1), set the
integral time (TI1) to 9999 and derivative time (TD1) to zero.
4.
Choose square wave function at the FG 120 function generator. The frequency is not
important in this experiment. Choose any convenient frequency (small value should be
chosen). Refer to table 13.8 for the DC voltage setting for the data of PB1 set. Also set
time period to 60 sec.
5.
Set the YS170 to Manual mode (M), MV=0 and at YS170 (Tuning Menu, PID 1) set the
proportional band (PB1) to 400%.Turn on the output key of FG120 and make sure the
input YS170 at base value before change it to AUTO mode (A). Determine the input and
output value and enter in table 13.8. Calculate the system gain and compare it with the
set value as shown in Figure 13.9.
6.
Repeat step (v) for others data of PB1 as shown in table 13.8.
V input
PB1
Vb1
(%)
set
V1
Difference
V out
Vin=(V1-
Vb2
V2
Vb1)
Difference
Gain (G)
Actual Gain
Vout=(V2-
Vout/Vin
100/PB
Vb2)
400
350
300
250
200
150
100
229
Set FG120 to square wave with high level = 2.00 and low level to 1.00 V
Controller
V input
PB1
Vb1
(%)
set
V1
Difference
V out
Vin=(V1-
Vb2
V2
Vb1)
Difference
Gain (G)
Actual Gain
Vout=(V2-
Vout/Vin
100/PB
Vb2)
100
80
60
50
40
30
25
Vary the input voltage to the proportional controller from1 volts to 2 volt keeping the PB1
at 100%. Determine the output
8.
Change the input to 3 volts and repeat..Repeat the experiment in steps till the input
voltage is 4 volts. Enter the data in Table 13.10.
13 Repeat the experiment with the PB1 set at 50% and 150%. Plot the graph between the input
voltage and the output voltage of the controller Figure 13.11
230
V1
Difference
V out
Vin=(V1-
Vb2
V2
Vb1)
Difference
Gain (G)
Actual Gain
Vout=(V2-
Vout/Vin
100/PB
Difference
Gain (G)
Actual Gain
Vout=(V2-
Vout/Vin
100/PB
Difference
Gain (G)
Actual Gain
Vout=(V2-
Vout/Vin
100/PB
Vb2)
PB50%
V input
Vb1
V1
Difference
V out
Vin=(V1-
Vb2
V2
Vb1)
Vb2)
PB150
V input
Vb1
V1
Difference
V out
Vin=(V1-
Vb2
Vb1)
V2
Vb2)
231
setting
Offset (A)
Offset A
Gradient B
(Vbase)
(V1)
DX
DY
DX/DY
Offset A
TI meas (S)
V1-Vbase
232
18 Set the controller for Proportional Derivative operation. Set the PB=100% , TI = 9999s and
TD =15 s.
19 Set the FG frequency to 0.01 Hz.Set DC voltage high level at 3.25 V and low level at 2.75 V.
Plot the input and output sinusoid.
20 Now set the TD1=4 s, frequency at 0.01 Hz. Enter the data in the table 12.14. Increase the
frequency in steps till a frequency of 1 Hz is reached.
21 Plot the AR- bode diagrams and determine the corner frequency.TD is given as 1/c.
22 Repeat the experiment for several values of TD and enter in table 12.15. Plot a graph
between the experimental value and the set value of the derivative time Figure 12.16.
Input (CH 1)
Output (CH 2)
AR=V2/V1
Max
Min
Amplitude
Max
Min
Amplitude
V1
V2
0.01
0.05
0.10
0.20
0.30
0.40
0.50
0.60
0.70
0.80
0.90
1.00
Table 13.15 Derivative Set Value and Measure Value
TD 1 Set
sec
0
4
Hz
sec
233
First order
Y
K
X
Ts 1
First order delay time
Y
Ke s
X
Ts 1
Second order
Y
K
X
(T1s 1)(T2 s 1)
Second order delay time
Y
Ke s
X
(T1s 1)(T2 s 1)
X
input
output
13.5 PROCEDURE
Table 13.16 Equipment required
Unit name
Synthesised Function generator
Programmable controller
Paperless recorder
Process simulator
Model No
Yokogawa Model FG120
Yokogawa Model YS170
Yokogawa Model DX104
Software program in YS170
234
The FG120 Synthesized Function Generator is used to provide the sinusoidal function required
for testing the system. The model 706012 synthesized function generator can provide voltages in
the frequency range 1 Hz to 2 MHz. It can provide sine, square, tringuler, ramp and pulse
functions. There are two channels which are independent. The output can be adjusted
continuously in the range of 10 V.
13.5.2 DX10-4 Paperless recorder
The DX104 Paperless recorder is used to record the result of the testing. The measured data can
also be save to external storage media such as floppy disks, zip disks and ATA flash memory
cards.
The data that have been saved to an external storage medium can be displayed on a PC by
using the standard software that comes with the package. The data can also be loaded onto the
DX104 to be displayed.
13.5.3 Process simulator
The process simulator is a software where it was programmed into the YS170 controller. The
software process simulator schematic diagram Figure 13.17 provides the first, second and third
order system used in this present study. The process gain (K) is set to 2.
235
Set the time constant P01 = 15 and PO2 = PO3 = 0 (TUNING MENU, P&T REG). Set at
ACT1 (in ENG.MENU 1, CONFIG 2) to RVS (Reverse Action)
2.
Put the YS170 to Manual mode and set the output MV = 50% at YS136 set to Cascade
mode C
3.
4.
Record the process system input, X (CH01) and the process system output Y, (CH02)
5.
Time (sec)
Process Output
Output (%)
0
5
236
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
13.5.5 Data reduction, results and graphs
1.
2.
3.
The value of the input change was taken as from 50% to 70% and equal to 20%. Hence
gain K =Ymax/20
4.
5.
Determine the slope of the straight line in the fraction incomplete response. This gives the
value at the time constant T.
237
13.5.6.1 PROCEDURE
1.
For third order system in the software process simulator we need to set P01, P02 and
P03.
3.
4.
Set the YS170 to Auto mode. With the disturbance point is connected recording the
simulator input and output for 3 to 4 minutes. Record down the file name by refer to
recorder where the response waveform already obtained was saved.
5.
Transfet YS170 to Manual mode. Select the next step of PB, TI and TD from table 13.21
and set it to YS170.
6.
Repeat steps 3 to 5 for all the sets of PB1, TI1 and TD1 in table table 13.21.
7.
From the data saving from recorder calculate the maximum amplitude, A, settling time
Tset, decay ration, D, Oscillation frequency ,P and Offset amount E. Enter all the
calculation data in table 13.21.
238
70
150
30
70
70
70
70
70
70
70
70
70
70
150
30
TI
20
20
20
30
12
20
20
60
6
9999
9999
9999
9999
9999
9999
TD
Max
Settling
Decay
Oscillation
Error
amplitude
time
ratio
Frequency
A (%)
(min)
T (min)
5
5
5
5
5
30
0
0
0
5
60
3
0
0
0
239
1.
Set the following conditions in the process; Operation mode of YS170 controller to
manual mode (M). Disconnect the disturbance point and set PV=SV=50% and MV=50%.
PB1=100%,
TI1=9999,
TD1=0.
Time
constant
of
the
process
simulator,
PO1=P02=P03=10.
2.
3.
Produce a disturbance in the process by increasing the SV to 70% and bringing it quickly
back to 50%
4.
if the response curve quickly dampens out (Figure 12.22) then the PB is too high. Reduce
the PB and repeat step 3. Continue the process till the PV and MV continuously oscillate.
5.
Note the values of PB which is called the ultimate value, PBu. Note the corresponding
period of the oscillations which is called the PU.
6.
Set the value of PB, TI and TD using the recommended values given in table 15.23.
PB
2PBu
2.2PBu
1.7PBu
TI
TD
0.83PU
0.5PU
Set the above values of the controller settings and determine the response of the system
to a disturbance. Check whether a quarter decay ratio response is obtained. If not slightly
adjust the parameter obtained from the tabe 13.23 til a decay ratio is obtained.
Set the following conditions in the process; Operation mode of YS170 controller to
manual mode (M). Disconnect the disturbance point and set PV=SV=50% and MV=50%.
PB1=100%,
TI1=9999,
TD1=0.
Time
constant
of
the
process
simulator,
PO1=P02=P03=10.
2.
Increase MV by 10%. The response curve will be obtained as shown in Figure 12.24.
240
Figure 13.24 Typical reaction curve for step change in manual output
3.
Draw a tangent to the curve at the point of inflexion. Determine the values of L = time in
seconds between the step change and the point where the tangent crosses the intial
value of the controlled variable =
T = time constant =
sec
sec
4.
5.
PB
100KL/T
110KL/T
83KL/T
TI
TD
3.3L
2L
0.5L
Set the above values of the controller settings and determine the response of the system
to a disturbance. Check whether a quarter decay ratio response is obtained. If not slightly
adjust the parameter obtained from the tabe 13.26 til a decay ratio is obtained
241
In cascade control two control loops are nested one inside the other. The output of the UT350
controller becomes the set point of the YS170 controller. The UT350 gets an external setpoint.
The structural diagrams of the connection is shown in figure 13.27.
Connect the equipment as shown in figure 12.27. UT350 is primary controller variable
while YS170 is the secondary controlled variable. The YS36 auto manual selector
provides the signal input to the YS170 and YS135 auto set selector provides the signal
input to the UT350
2.
Set the P01, P02, P03 and P06 of the process simulator to 10 each. Set P10 to 20
3.
At the UT350 controller, set PB, TI and TD at the tuned values obtained from 12.6.
4.
5.
Set YS170 to manual mode and set MV=50%. Set the YS170 PB1=150, TI1=10 and
TD1=20
6.
7.
242
8.
Bring the SV value to 50%. Set the operation of UT350 controller to Auto
9.
10.
11.
if the output of YS170 controller takes longer time to stable. Try to change the
PB, TI and TD of YS170 to get ratio
b.
If changing the PID setting still not satisfy. Try to change the PID setting of UT350
controller
243
13.8
Feedforward is a method in which the correction to a load disturbance enters the system. In
normal feedback system the effect of the disturbance has to be seen at the PV before the
correction can be introduced. IN FF we measure the value of the disturbance and introduce an
approprtiate correction to the MV. The structure in Figure 12.28.
244
2.
Set the time constant P02=P03=10. Set the P01=15 and P05=20
3.
Set the PB,TI and TD values at the optimum values obtained in section 12.6.
4.
5.
6.
Changing the YS136 to 10% and by introduce the disturbance with perform the
connection of feed forward point. Record the output of the system.
7.
8.
Repeat step 6. Record the output. Compare the response with that obtained in step
There will be improvement. Change the FFG to 1.2 and repeat the experiment. Continue
increasing the FFG in steps of 0.1 till effect of the disturbance is removed from the
process output
9.
Even after the FFG is tuned as in step 8. There will be temporary small effect on the
output. This can be removed by introducing the dynamic element in the feed forward
245
path. Increase the feedforward lag FLG time constant to 1s. Repeat step 6. Continue
increase the FLG step of 1 s till the effect of the disturbance is completely removed from
the output.
2.
3.
4.
5.
For the controllers used in the study find out what other functions besides PID is the
controller capable?
6.
7.
13.10 REFERENCES
1. Coughanowr, D. R, Process System Analysis and Control, 2 nd edition McGraw Hill New
York 1991.
246