Professional Documents
Culture Documents
Control 4 DR - Ghanem
Control 4 DR - Ghanem
ﺍﻟﻤﺮﺣﻠﺔ ﺍﻟﺮﺍﺑﻌﺔ
Temp.
indicator
Hot water
Water
Heater
Steam
Cold water
Process: is defined as the changing or refining of raw materials that pass through or
remain in a liquid, gaseous, or slurry state to create end products.
Control: in process industries refers to the regulation of all aspects of the process.
Precise control of level, pH, oxygen, foam, nutrient, temperature, pressure and flow is
important in many process applications.
Sensor: a measuring instrument, the most common measurements are of flow (F),
temperature (T), pressure (P), level (L), pH and composition (A, for analyzer).The
sensor will detect the value of the measured variable as a function of time.
Set point: The value at which the controlled parameter is to be maintained.
Error Signal: The signal resulting from the difference between the set point
reference signal and the process variable feedback signal in a controller.
Steady-State: The condition when all process properties are constant with time,
transient responses having died out.
Disturbance: a process input (other than the manipulated parameter) which affects
the controlled parameter.
Process Time Constant( ): Amount of time counted from the moment the variable
starts to respond that it takes the process variable to reach 63.2% of its total change.
Block diagram: it is relationship between the input and the output of the system.It is
easier to visualize the control system in terms of a block diagram.
Block diagram
e.g. the transfer function of the above block diagram is G (s) = Y(s)/X(s)
Closed-loop control system: it is a feedback control system which the output signals
has a direct effect upon the control action.
Heater
(Heating)
Temperature
Transmitter
(Thermocouple)
(Timer) Motor
Advantages:
(1) Simple construction and ease of maintenance.
(2) Less expensive than closed-loop control system.
(3) There is no stability problem.
Disadvantages:
(1) Disturbance and change in calibration cause errors; and output may be
different from what is desired.
(2) To maintain the required quality in the output, recalibration is necessary
from time to time
Note: any control system which operates on a time basis is open-loop control system,
e.g. washing machine, traffic light …etc.
L[ f (t )e at ] F ( s a )
.
d 2 f (t )
L[ 2
] s 2 f ( s ) f (0) f (0)
dt
d3 f (t )
L[ 3
] s 3 f ( s ) s 2 f ( 0 ) sf ( 0 ) f ' ' ( 0 )
dt
d n f (t )
L[ n
(t )] s n f ( s ) s n1 f (0) s n 2 f (0) ... f ( n1) (0)
dt .
0 t0
1
f (t ) 0 t h
h
0 th
0 h Time
Whereu(t - h) is the unit-step function translated h units to the right. We may nowuse
the linearity of the transform and the previous theorem to write immediately
1 1 e hs
f(s)
h s
This result is of considerable value in establishing the transform of the unit-impulse
function.
Solved problems
1.Use Definition to determine the Laplace transform of the given function
2
(a) L{t 2 }
s3
N
t 1 1
(b) L{te } e te dt te
3t st 3t (3 s ) t
dt lim (
N 3 s
)e (3 s )t
0 0
(3 s ) 2 0
( s 3) 2
s
e 1 1
(c) L{ f (t )} 2
2
s s s
3 1 e3( s 2) e 3 s
(d) L{ f (t )} 0 e e dt 3 st 2 t st
e dt
s2 s
7 cos bt s
s b2
2 s0
8 sin bt b s0
s b2
2
L1 f ( s ) f (t )
1- Partial fraction
Example:
A o 1
( s a)( s b) ( s a) ( s b)
A o ( s b) 1 ( s a )
o ?
1 ?
Example:
A o 1 2
( s a )( s b) 2 ( s a ) ( s b) ( s b) 2
Example:
A o s 2
12
( s w )( s a ) ( s a ) ( s w 2 )
2 2
Example:
d 3x
1 d 2 x dx
Find L [ 3 2 2 2 x 4 e 2t ]
dt dt dt
where
x( 0 ) 1 , x' ( 0 ) 0 , x' ' ( 0 ) 1
Solution:
[ s 3 x( s ) s 2 x( 0 ) sx' ( 0 ) x' ' ( 0 )] 2 [ s 2 x( s ) sx( 0 ) x' ( 0 )] [ sx( s ) x( 0 )] 2 x( s )
4 1
s (s 2)
4 1
[ s 3 x ( s ) 2 s 2 x( s ) sx ( s ) 2 x ( s )] s 2 1 2 s 1
s ( s 2)
4 1
[ s 3 2 s 2 s 2] x ( s ) s 2 2s 2
s ( s 2)
1 4( s 2) s ( s 2 2 s 2)( s )( s 2)
x( s) 3
( s 2 s 2 s 2) s ( s 2)
s 4 6s 2 9s 8
x( s )
s( s 2 )( s 1 )( s 2 )( s 1 )
1 2 3 4
x( s ) o
s ( s 2 ) ( s 1) ( s 2 ) ( s 1)
s 4 6 s 2 9 s 8 o ( s 2 )( s 1 )( s 2 )( s 1 ) 1 s( s 1 )( s 2 )( s 1 )
2 s( s 2 )( s 2 )( s 1 ) 3 s( s 2 )( s 1 )( s 1 ) 4 s( s 2 )( s 1 )( s 2 )
assume s=0
8 o ( 2 )( 1 )( 2 )( 1 )
8
o 2
4
assume s = 2 1 1 / 12
assume s = -1 2 11 / 3
assume s = -2 3 17 / 12
assume s = 1 4 2 / 3
1 2t 11 t 17 2t 2 t
x ( t ) 2 e e e e
12 3 12 3
Example:
Find the final value of the function x(t) for which the laplace inverse is:-
1
x( s )
s( s 3s 2 3s 1 )
3
s 1
lim x( t ) lim sx( s ) lim
t s0 s 0 s( s 3 3s 2 3s 1 )
1
lim 1
s 0 ( s 3 3s 2 3 s 1 )
0 ta
f (t )
A ta A
A
f ( s ) e as
s 0 a Time
2. Pulse function
0 t0
f (t ) A 0 t a A
0 ta
0 a Time
A A
f ( s ) e as
s s
A
(1 e as )
s
if A=1unit Pulse
0 t0
A
f ( t ) A 0 t t
F(t) δt
0 t t
f ( s ) area A t Time
4. Ramp function
0 t0
f (t ) f(t)
At t0 Slope=A
A f(t)
f(s) 2
s Time
A f(t)
f ( s ) 2 e as
s a Time
A _______T_______
5. Sine function
0 ta
f (t )
A sin wt ta
A
f(s) -A
s 2 2
2f
1
T
f
Slope=2
01 4 5 6 7 8
-2
2t 0 t 1
2 1 t 4
2t 4t 5
f ( t ) 0 5t 6
2t 6t 7
2t 7t 8
0 t 8
f ( t ) 2t 2( t 1 ) 2( t 4 ) 2( t 5 ) 2( t 6 ) 2 2( t 7 ) 2( t 8 )
2 2 2 2 2 4 2
f ( s ) 2 2 e s 2 e 4 s 2 e 5 s 2 e 6 s 2 e 7 s 2 e 8 s
s s s s s s s
0 1 3 4 5
T
f ( t ) t ( t 1 ) 2( t 3 ) 2( t 4 ) ( t 5 )
1 1 2 2 1
f ( s ) 2 2 e s 2 e 3 s 2 e 4 s 2 e 5 s
s s s s s
Example:
F(t)
Slope=b Slope=-b
0 a 2a
f ( t ) bt 2b( t a ) b( t 2a )
b 2b b
f ( s ) 2 2 e as 2 e 2 as
s s s
Example:
0.5
-.5
f ( t ) 0.5 1( t 0.5 ) 0.5( t 1.5 ) 0.5( t 2 ) 1( t 3 ) 0.5( t 3.5 )
0.5 1 0.5 s 0.5 1.5 s 0.5 2 s 1 3s 0.5 3.5 s
f(s) e e e e e
s s s s s s
Process Control /Lec. 3 15
FourthClass
Solved problems
3 3 1 1 3 2 5t /2
(a) L1 3
L 3
t e
(2s 5) 8 ( s 5 / 2) 16
s 1
(b) L1 2 1 47t 5 47t
e t / 4 cos( ) e t / 4 sin( )
2s s 3 2 4 2 47 4
8s 2 5s 9 1 2 11
(a)
( s 1)( s 3s 2) s 1 s 1 s 2
2
5s 36 1 s 3
(b) 2 2 2 3 2
( s 2)( s 9)
2
s2 s 9 s 9
3s 2 5s 3 3s 2 5s 3 3 2 1 1
(c) 3 3 2
s s
4 3
s (s 1) s s s (s 1)
s 1 1 1 1 1 1
(d)
( s 1)( s 1) 2 ( s 1) 4 ( s 1) 4 ( s 1)
2 2
1
2. Determine L {F ( s)}
(a)
s 11 1 1
F ( s) 3 2
( s 1)( s 3) s 1 s3
(b)
7 s 3 2 s 2 3s 6 3 1 6
F (s) 3
s ( s 2)
3
s s s2
3
L1[ F ( s )] t 2 1 6e2t
2
Before studying the control system it is necessary to become familior with the
response os some of simple basic systems (i.e study the dynamic behaviour of the
first and second order systems).
ݐ ݂ ݉ݎ݂ݏ݊ܽݎݐ݈݁ܿܽܽܮℎ݁)݁ܿ݊ݏ݁ݎ(ݐݑݐݑ
ܶ. = ܨ
ݐ ݂ ݉ݎ݂ݏ݊ܽݎݐ݈݁ܿܽܽܮℎ݁݅݊)ܾ݁ܿ݊ܽݑݐݏ݅݀ ݊݅ݐܿ݊ݑ݂ ݃݊݅ܿݎ݂(ݐݑ
)ݏ(ݕ
ܶ. = )ݏ(ܩ = ܨ
)ݏ(ݔ
This definition is applied to linear systems
Example (5.1): A thermometer having a time constant of 0.1 min is at a steady state
temperature of 90 Fo. At time t = 0, the thermometer is placed in a temperature bath
maintained at 100°F. Determine the time needed for the thermometer to read 98 Fo.
Solution:
At s.s.xs=ys=90 Fo
A
Step Change X ( s ) s
A=100-90=10
10
X( s )
s
1 A 1 10 10 10 A B
Y( s )
s 1 s 0.1s 1 s s( 0.1s 1 ) 0.1s( s 10 ) 0.1s s 10
A( s 10 ) B( 0.1s ) 10
10
s 0 A 1
10
s 10 B 10
1 10 10 10
Y( s )
0.1s s 10 s s 10
By taken lablace inverse for the equation
Y ( t ) 10 10e 10t 10( 1 e 10t )
Substitute Y(t)=y(t)-ys =98-90
Y(t)=8
8 10( 1 e 10t )
0.8 1 e 10t
ln( e 10t ) ln( 0.2 )
10t ln( 0.2 )
t ln( 0.2 ) 0.1
t=0.161 min
Process Control /Lec. 4 20
FourthClass
2-Impulse Input
X( s ) A
x(t)
1 A
Y( s ) A
s 1 s 1
Area
A
Y( s )
s 1
A t
Y ( t ) y( t ) y s e
y(t)
A
Y (t ) e t y s
t
2-Sinsoidal input
x( t ) x s A sin wt t0
x( t ) x s A sin wt
X ( t ) x( t ) x s A sin wt
……………….(2.9)
Aw
X( s )
s w2
2
Aw 1 1
Y( s ) 2 Aw[ 2 ]
s w ( s 1 )
2
( s w )( s 1 )
2
This equation can be solved for y(t) by means of a partial fraction expansion as
described in previous lectures.
1 s 1 2
Y ( s ) Aw[ 2 ] Aw[ o2 ]
( s w )( s 1 )
2
( s w ) ( s 1 )
2
( o s 1 )( s 1 ) 2 ( s 2 w 2 ) 1
o s 2 o s 1s 1 2 s 2 2 w 2 1
s0 1 2 w 2 1 (1)
s1 o 1 0 o 1 (2)
s2 o 2 0 2 o (3)
By substitution eq.(2) in eq.(3)
2 1 2 (4)
By substitution eq.(4) in eq.(1)
1 1 2 w 2 1
Aw 1
Y( t ) [ cos wt sin wt e t ]
1 w
2 2
w
Using the definition
p cos q sin r sin( )
p
r p2 q2 tan
q
p
tan 1
q
1
q p
w
tan 1 ( w )
1 w2 2
r ( )
1 2 1
2 2
w w2 w
1
cos wt sin wt r sin( wt )
w
Aw t 1 w22
Y( t ) [ e sin( wt )]
1 2 w2 w
where
tan 1( w )
As t then e t 0 , the first term on the right side of main equation
vanishes and leavesonly the ultimate periodic solution, which is sometimes called the
steady-statesolution
A
Y( t ) sin( wt )]
1 w2 2 …..(2.10)
A X(t) _______T_______
-A
By comparing Eq. (2.9) for the input forcing function with Eq. (2.10) forthe ultimate
periodic response, we see that
1. The output is a sine wave with a frequency w equal to that of the input signal.
1
2. The ratio of output amplitude to input amplitude is 1.
1 w 2 2
3. The output lags behind the input by an angle . It is clear that lag occurs,for the
sign of is always negative.
0 phase lag
0 phase load
Example 5.2. A mercury thermometer having a time constant of 0.1 min is placedin a
temperature bath at 100°F and allowed to come to equilibrium with the bath. Attime
t= 0, the temperature of the bath begins to vary sinusoidally about its
averagetemperature of l00oF with an amplitude of 2°F If the frequency of oscillation
is 10/ߨ cycles/min, plot the ultimate response of the thermometer reading as a
function oftime. What is the phase lag?
In terms of the symbols used in this chapter
63.5o
Ultimate responseat the above angle
2
Y( t ) sin( 20t 63.5 )]
1 ( 0.1 20 )2
2
Y( t ) sin( 20t 63.5 )]
5
Y ( t ) 0.896 sin( 20t 63.5 )] Ultimate response
ଵ ௬ ଵ
A frequency of means that a complete cycle occurs in ( )ିଵ ݉ ݅݊. since cycle
గ గ
o o
is equivalent to 360 and lag is 63.5
0.63 A
τ t
Y ( t ) A( 1 e t )
as t Y ( ) A( 1 e ) A
as t Y ( ) A( 1 e 1 ) A( 1 0.3678 ) 0.67 A
Time constant (߬)is the time required for the response to reach 63% of the its utimate
value.
3. Third method
Y ( t ) A( 1 e t ) A
dy A
Ae t ( 1 ) e t
dt
Y(t)slope
dy A A
lim e 0
t 0 dt
A t
Slope of the tangent at t=0 is
A
Therfore
slope
Y ( t ) A( 1 e t )
Y ( t ) A Ae t
Ae t A Y ( t )
A Y( t )
e t
A
1
ln B t
let
y ln B
xt
1
slope
lnB
Y(t) A Y( t ) ln B t
B slope
1
A
1
slope
1
slope
R
H( s ) Q( s ) ………………………(5)
( s 1 )
Comparing the T.F. of the tank with thr T.F. of the thermometer we see that eq. (5)
contain the factor (R) which is relate H(t) to Q(t) at s.s. as s 0 t
K
For this reason, a factor K in the transfer function is called the steady state gain
s 1
To show that
1
Take Q( s )
s
R 1
Therefore H ( s ) .
s 1 s
This show that the ultimate change in H(t) for a unit change in Q(t) is R
Qo ( s )
?
Q( s )
h
qo
R
h
qos s
R
H
Qo
R
H( s )
Qo ( s ) H ( s ) RQo ( s )
R
Qo ( s ) R R
Q( s ) s 1
Qo ( s ) 1
Q( s ) s 1
For τ=1 H ( t ) e t
2.Mixing Tank
h1
In fig (7-1 a) variation of h2 does not effect on q1then q1
R1
h1 h2
In fig (7-1 b) variation of h2 does effect on q1then q1
R1
1-Non Interacting System
R2 R1 R
H 2( s ) Qi ( s ) 1
( 2 s 1 ) 1s 1
R2
H 2( s ) Qi ( s )
( 1 s 1 )( 2 s 1 )
H2( s ) R2
Qi ( s ) ( 1 s 1 )( 2 s 1 ) Non-interacting system
In the case of three non-interacting tanks in sereies the transfer function of the system
will be as below:-
H 3( s ) R3
Qi ( s ) ( 1s 1 )( 2 s 1 )( 3 s 1 )
R2
H 2( s ) Qi ( s )
( 1s 1 )( 2 s 1 )
1
Substituting Qi ( s ) Unit step change in Qi
s
R2 1
H2( s )
( 1s 1 )( 2 s 1 ) s
o 1 2
s ( 1s 1 ) ( 2 s 1 )
R2 o ( 1s 1 )( 2 s 1 ) 1s( 2 s 1 ) 2 s( 1 s 1 )
let s 0 o R2
1 1 1 1
let s 1 ( )( 2 ( ) 1 ) R2 1( 22 ) R2 1 ( 2 2 1 ) R2
1 1 1 1 1 1
12
1 R2 ( )
2 1
1 1 1 1
let s 2 ( )( 1 ( ) 1 ) R2 2 ( 12 ) R2 2 ( 1 2 2 ) R2
2 2 2 2 2 2
22
2 R2 ( )
1 2
R2 12 1 22 1
H 2( s ) R2 ( ) R2 ( )
s 2 1 ( 1s 1 ) 1 2 ( 2 s 1 )
1 1 1
H 2 ( s ) R2 [ ( 1 2 ) 1 ( 1 2 ) 2 ]
s 2 1 2 ( 1 s 1 ) 1 2 1 ( 2 s 1 )
1 1 1 1 1
H 2 ( s ) R2 [ ( 1 2 ) ( 1 2 ) ]
s 1 2 2 ( s 1 / 1 ) 1 2 1 ( s 1 / 2 )
1 2 1 1
H 2 ( t ) R2 ( 1 ( )( e t / 1 e t / 2 )
1 2 2 1
1 0.5 1 t / 0.5 1 t / 1
H2( t ) 1 ( )( e e )
0.5 1 1 0.5
H 1( t ) 1 e 2t
Example:
Obtain the transfer function of the following system (no reaction):
Where:
F = volumetric flow rate, Fi = F1 Fi , Ci
C = conc. of solute in stream.
FiiCii
V = liquid volume in tank.
F1, C1
Solution: V1 c1
Mass balance on concentration; i.e.
In – out = accumulation F2, C2
dC V2, C2
Tank 1: Fi Ci - F1 C1 = V1 1
dt (non-interacting system)
dc1
1 C1 Ci where τ1 = V1/F1
dt
Laplace transform → τ1 s C1(s) + C1(s) = Ci(s)
C1( s ) 1
1
Ci ( s ) 1s 1 …. (1) Ci(s)
1s 1
C1(s)
dC 2
Tank 2: F1 C1 + Fii C ii - F2 C 2 = V2
dt
V2 dC 2 F F
C 2 1 C1 + ii C ii
F2 dt F2 F2
dC2
2 C 2 K1C1 K 2 Cii
dt
2. Interacting System
R2
H 2( s ) .Qi ( s ) Non- Interacting system
1 2 s 2 ( 1 2 )s 1
The difference between the transfer function for the non-interacting system, and that
for the interacting system, is the presence of the cross-productterm A1R2 in the
coefficient of s. 12 A1 R2
To understand the effect of interaction on the transient response of a system,
considera two-tank system for which the time constants are equal (τ1=τ2=τ).
Q0
h1
R1 Q1
A1
h2
R2 Q2
A2
Figure H-1
2. The two tanks shown in Fig. H-2are connected in an interacting fashion. The
system is initially at steady state with q = 10 cfm. The following data apply to the
tanks: A1 = 1 ft2, A2 = 1.25 ft2, R1 = 1 ft/cfm, and R2 = 0.8 ft/cfm.
(a) If the flow changes from 10 to 11 cfm according to a step change, determine
H2(s),i.e., the Laplace transform of H2 where is the deviation in h2.
(b) Determine H2(1), H2(4), and H2(∞).
Q
h1 h2
R1 R2 Q2
A1 A2
Figure H-2
1-Linearization method
Making the non-linear function as linear using Taylar series and give approximate
results.
2-Non-linear solution
It is difficult and give exact solution
Linearization Technique
y 2t
Linear(all terms to power =1)
yt x
y t2
y2 t Non-Linear (power ≠1)
y ln x
To make the non-linear function linear one use Tayler series.
d f(x) 1 d2 f(x)
f ( x ) f ( xo ) ( x xo ) 2
( x xo ) 2 ...............
dx x xo 2! dx x xo
Neglacting the non linear terms because their value are very small.
Then
d f(x)
f ( x ) f ( xo ) ( x xo ) …….(1)
dx x xo
dh
qis c hs1 / 2 A s 0 …….. (3)at s.s h=hs
dt
1 1 d ( h hs )
( qi qis ) c 1 / 2 ( h hs ) A
2 hs dt
c 1 dH
Qi 1 / 2 H A
2 hs dt
c 1
assume
2 hs R
H dH
Qi A
R dt
dH
RA H RQi
dt
By taking laplace transform
( s 1 )H ( s ) RQi ( s )
H( s ) R
………….. 1 st
order system
Qi ( s ) s 1
2 hs
Where R AR
c
1-Transfer function is similar to linear.
2- R depends on the s.s. condition (at steady state the flow entering the tank equals to
the flow leaving the tank,thenqo=qos).
df ( x1 , x2 ,...xn ) df ( x1 , x2 ,...xn )
( x2 x2o ) ( xn xno )
dx2 x x0
dxn x x0
i i i i
Example:
Mixing tank F, ci
C( s )
G( s ) ? F, c
F( s )
c : Variable (kg/L)
F: Variable (L/min)
Ci: Constant
V: Constant
dc
Fci
Fc V
non linear term dt
f f
f ( x , y ) f ( xs , ys ) x xs ( x x s ) x xs ( y ys )
x y ys y y ys
Fc Fs c s c s ( F Fs ) Fs ( c cs )
dc
Fci [ Fs cs cs ( F Fs ) Fs ( c cs )] V Un s.s
dt
dcs
Fs ci Fs cs V 0 s.s
dt
d ( c cs )
ci ( F Fs ) cs ( F Fs ) Fs ( c cs ) V
dt
dY
ci X cs X FsY V
dt
Y c cs
where
X F Fs
Process Control /Lec. 7 45
Fourth Class
dY
[V FsY ( ci c s ) X ] Fs
dt
V dY ( c cs )
Y i X
Fs dt Fs
dY
Y RX
dt
Where
V ( ci c s )
, R
Fs Fs
Y( s ) R
1
st
order system
X ( s ) s 1
Time delay or dead time between inputs and outputs are very common
industrial procsses, engineering systems, economical, and biological systems.
qi(t) qo(t)
Dead
Time
If the variation in x(t) were some arbitrary function, as shown in figurebelow, the
response y(t) at the end of the pipe would be identical with x(t) but again delayed by t
F, c1F, c2
F, V : Constants
V L
c1
Time delay
C2 ( s ) d s
e
C1( s )
Volume of tube AL AL L
d
Volumetric flow rate q uA u
C1( s ) R
Ci ( s ) s 1
C2 ( s ) C2 ( s ) C1( s )
Ci ( s ) C1( s ) Ci ( s )
C2 ( s ) R d s L
C ( s ) s 1
e d
i u
A linear second order system under dynamic condition is given by the differential
equation:-
1 d 2Y 2 dY
Y kX
2n dt 2 n dt
1
n
d 2Y dY
2
2
2 Y kX
dt dt
Where:-
k : Steady state gain
Y : Response value
X : Input disturbing variable
ωn: Natural frequency of oscillation of the system.
Y( 0 ) Y ( 0 ) 0
ψ : Damping factor (damping coefficient)
By taking laplace for the above second order differential equation
2 s 2Y ( s ) 2sY ( s ) Y ( s ) kX ( s )
( 2 s 2 2s 1 )Y ( s ) kX ( s )
Y( s ) k
G( s ) 2 2
X ( s ) s 2s 1 T.F. of second ordersystem
If x is sudden force, such as,step change, inputs Y will oscillate depending on the
value of damping coefficient ψ .
ψ <1 Response will oscillate (Under damped)
ψ>1 Response will oscillate (Over damped)
ψ=1 Response critical oscillation (critical damped)
2 1 2 1
s1 and s2 ……(2)
k A s 2
Y( s ) 0 2 21
s 2s 1 s
2 2
s s 2s 1
o ( 2 s 2 2s 1 ) 1s 2 2 s kA
s0 0 kA
s1 2 0 2 0 2 2kA
s2 0 2 1 0 1 kA2
1 2 s 2
Y ( s ) kA[ 2 2 ]
s s 2s 1
1 2
s
1 1 2
kA [ ]
s 2 1 2 2
2 1 2 2
(s ) ( ) (s ) ( )
( / )t 1 2 ( / )t 1 2
Y ( t ) kA[ 1 e cos t e sin t]
1 2
1 2
w
Y ( t ) kA[ 1 e( / )t (cos wt sin wt ]
1 2
1
r p2 q2 1 ( )2
1 2 1 2
1 p 1 1 2
tan tan 1 tan 1
q
1 2
࢟
2 1
s
1 2 1
kA[ ]
s 2 1 2 2 2 1 2
( s )2 ( ) ( s ) ( )
sinh wt ] where w 1
2
Y ( t ) kA[ 1 e ( / )t (cosh wt
2 1
࢟
1.05 b
0.95 b
tp
1. Overshoot (OS)
Overshoot is a measure of how much the response exceeds the ultimatevalue (new
steady-state value)following a step change and is expressed as the ratio in the Fig.
(8-3).
OS exp
1 2 )
OS % 100 OS
3. Rise time(tr)
This is the time required for the response to first reach its ultimate valueand is labeled
in Fig. (8-3).
1 2
tan 1
tr
w
߰
Figure(8-4) Characteristics of a step response of underdamped second-order system.
n
t max or min n=1, 2, 3 ……
w
1 2
ymax kA[ 1 e ]
1 2
kA[ 1 e ] kA
Overshoot ]
kA
Overshoot exp
1 2 )
A max B
Overshoot
B B
t
1
Y ( t ) kA[ 1 e (sinh ( wt )]
1 2
2-Decay Ratio
C
Decay ratio
A
C
Decay ratio (The ratio of amount above the ultimate value of two sucessive
A
peaks).
n 3
t for n=3 then t
w w
1 2
First peak at n=1 y max kA[ 1 e ]
3
1 2
Second peak at n=3 y max kA[ 1 e ]
2
Decay Ratio exp
1 2
At tr y(t)=kA
t
1
kA kA[ 1 e sin ( t r w )]
1 2
0 sin ( t r w )]
sin 1( 0 )
tr
w
1 1 2
n tan
n
tr
w w
1 1 2
tan
tr for n=1
w
4-Period of oscillation (T)
1 2
w Radian frequency
1
w 2f also T
f
1 2
f
2
2
T
1 2
6-Response time(ts)
The time required for the response to reach (±5%) of its ultimate value and remain
there.
n
tp
w w 1 2
2- Impulse Response
If impulse δ(t) is applied to second order system then transfer response can be written
as.
k
Y( s ) 2 2 X( s )
s 2s 1
X ( s ) Area A
k
Y( s ) .A
s 2s 1
2 2
kA / 2 kA / 2
Y( s )
2 1 2 1
s
2
s 2 s2 s 2 ( )2 ( )2
i) ψ>1
kA 2 1
kA / 2 kA / 2 2 2 1
Y( s )
2 1 2
2
2
(s ) 2
1 2
1
2 ( s )2 ( s )2
t
kA
Y( t ) e sinh wt
1
2
2 1
w
ii)ψ<1
kA 1 2
kA / 2 kA / 2 1 2
2
Y( s )
2 1 2 2 2
(s ) 2 1 2
2 1 2
2 (s ) (s )
t
kA
Y( t ) e sin wt
1 2
1 2
w
iii)ψ=1
kA / 2 kA / 2 kA / 2
Y( s )
2 1 2 1 2 1 12 ( s 1 )2
(s ) (s ) 2
2
kA
Y ( t ) 2 te t /
1) For each of the second-order systems that follow, find ψ, τ, Tp, Tr ,OSand %OS.
16
a) Y( s ) 2
s 3s 16
Sol
0.04
b) Y( s ) 2
s 0.02s 0.04
2) The transfer function for a thermometer in a CSTR reactor is given by.
T (s) 16
Sol thermometer
TRe actor ( s ) ( 3s 1 )( 10s 1 )
Estimate the following.
a) find ψ, τ
b) The rise time.
c) The peak time.
d) The 2% settling time.
e) The percentage overshoot.
d 2Y ( t ) dY ( t )
2
5 25Y ( t ) 25 u( t )
dt dt
a) Write down the transfer function Y(s)/U(s) of the system, where U(s) and Y(s) are
the Laplace transforms of u(t) and y(t), respectively.
b) Obtain the damping ratio ψ and the natural frequency Wn of the system.
c) Calculate the rise time and percent overshoot of the system.
d) Evaluate y(t) for a unit-step input u(t).
Requlating problem
The desired value TR is to remain fixed and the purpose of the control system is
to maintain the controlled variable TR in spite of change in load if there is a change in
the input variable (disturbance load).
Tmor Ym
Measuring
device
Gm
Process
The procedure for developing the transfer function remain the same.
An unsteady-state energy balance around the heating tank gives.
dT
W Cp (Ti To ) q W Cp (T To ) Cp V
dt
Where To is the reference temperature
dT
At steady state, dt 0
dT
W Cp( Tis To ) q s W Cp( Ts To ) Cp V 0
dt
By substracting both equations
d ( T Ts )
W Cp(( Ti Tis ) ( T Ts )) q q s Cp V
dt
Note that the refernece temperature To cancels in the subtraction. If we introduce
thedeviation variables.
Ti Ti Tis
T T Ts
Q q qs
dT
W Cp( Ti T ) Q Cp V
dt
Taking the laplace transform gives
W Cp (Ti ( s ) T ( s )) Q ( s ) Cp VsT W Cp
V Q( s)
sT T ( s ) Ti ( s )
W WCp
The last expression can be written as
1 Q ( s ) Ti ( s )
T (s)
( s 1) WCp s 1
Where
V
W
T (s) or Y (s ) controlled var iable
Q (s ) or m (s) manipulate d var iable
Ti (s ) or d (s ) disturbanc e var iable
If there is a change in Q(t) only then Ti ( t ) 0 and the transfer function relating
Ti to Q is
T (s) 1 1
Q ( s ) (s 1) WCp
Process Control /Lec. 9 63
Fourth Class
If there is a change in Ti (s) only thenQ(t)=0and the transfer function relating T to Ti
is
T(s) 1
Ti ( s ) ( s 1 )
Gd
d( s ) 1
Ti ( s ) s 1
+
Gp
m( s ) 1 / WCp + Y( s )
Qi ( s ) s 1 T(s)
Measuring Element
The T.F. of the temperature-measuring element is a first order system
Tm ( s ) km
Tm ( s ) Gm T ( s )
T ( s ) m s 1
km
Gm
m s 1
Where T and Tm are deviation variables defined as
T T Ts
Tm Tm Tm s
Output
K m steady state gain
input
τm=time lag (time constant)=(1-9) sec
Km T(s)
Gm Tm (s )
m s 1
Controller
Tsp(or TR)+ E P(s)
Gc
-
Tm
Control valve
Control valve that can control the rate of flow of a fluid in proportion to the
amplitude of a pressure (electrical) signal from the controller. From experiments
conducted on pneumatic valves, the relationship between flow and valve-top pressure
for a linear valve can often be represented by a first-order transfer function:
Air supply Air supply
Control Action
It is the manner, in which the automatic controller compares the actual value of the
process output with the actual desired value, determines the deviations and produce a
control signal which will reduce the deviation to zero or to small value.
Classification of industrial automatic controller:
They are classified according to their control action as:
1) On-off controller
2) Proportional controller (P)
3) Integral controller (I)
4) Proportional plus Integral controller (PI)
5) Proportional plus Derivative controller (PD)
6) Proportional plus Integral plus Derivative controller (PID)
The automatic controller may be classified according to the kind of power
employed in the operation, such as pneumatic controller, hydraulic controller or
electronic controller.
Self operated controller: In thiscontroller the measuring element (sensor) and the
actuator in one unit.It is widely used for the water and gas pressure control.
d=Ti(s) ܴ
ܩௗ =
߬ݏ+ 1
Comparator
E
TR P ݒܭ m
ܴ y(s)
GC=Kc ܩ௩ = ܩ =
߬௩ݏ+ 1 ߬ݏ+ 1
Set point Q T(s)
Or ysp Final control
Controller Process
element
P( s )
GC KC (T .F )
E ( s)
P( s ) KC E ( s ) Output signal
p
KC ( ) s.s
E
Proportional Band (Band Width)
Is defined as the error (expressed as a percentage of the range of measured variable)
required to make the valve from fully close to fully open.
1
P.B 100 %
KC
On-Off Control
On-Off control is a special case of proportional control.
If the gain KCis made very high, the valve will move from one extreme position to the
other if the set point is slightly changed.So the valve is either fully open or fully
closed (The valve acts like a switch).
The P.B. of the on-off controller reaches a zero because the gain is very high
P.B 0
P( s ) 1
K C (1 s)
E ( s) Is D
P(t) P(s)
P
Solution:
The equation of PID controller is
P (s ) 1
K C (1 Ds) m(t)
E (s ) Is
1
E (s) slop = 10
s
10 1
P (s) (1 0.5s) 5
s s
10 10
P (s ) 5 10
s s2
m(t) = 10 + 10t + 5 (t)
0 t→
Ex: Consider the 1st order T. F. of the process with control valve
Valve process
P(s) KV KP Y(s)
V s 1 s 1
If we assume no interaction;
The T. F. from P(s) to Y(s) is
Y (s) KV K p
For a unit step input in P
P ( s ) ( v s 1)( s 1)
1 KV K p
Y(s) =
s ( v s 1)( s 1)
1 t / v 1 t /
y(t) = KvKp 1 v e e
v v
Y ( s) KK
If τ>>τvthe T. F. is v p
P( s ) ( s 1)
For a unit step input in p
y(t) = KvKp (1 – e-t/τ)
Solution:
1. The process transfer function
Component M.B on A in tank 1:
dc m
V 1 Fco m ( F )c Vk1c1 …. (1)
dt A 1
m m
<< F F+ ≈F (assumption)
A A
Equation (1) becomes
dc
V 1 ( F Vk 1 )c1 Fc o m …. (2)
dt
R1 R2
C1 (s) C o (s) M (s) Transfer function of firsttank
(1s 1) (1s 1)
C o (s) disturbance
M (s) manipulate d var iable
Co(s)
R 1
1s 1
M(s) R2 C1(s)
2s 1
F 100 1
R3
F Vk 2 100 300 2 3
3
V 300
2 1
( F Vk 2 ) 100 300 2
3
1/ 3 2/3 1 / 3 1 / 150
C 2 (s ) C o (s ) M (s )
(s 1) 2s 1 (s 1) ( 2s 1)
Ms=1 lbmol/min
Fc os m s ( F kV )c1s 0 at s.s
100 0.1 1 lbmol (100 50 )c1s 0
11
c 1s 0.0733 lb mole / ft 3
150
Process Control /Lec. 10 74
Fourth Class
Fc1s Fc 2 s Vk 2 c 2 s 0
11
100 300 c 2 s 0
150
11 100 11
c 2s 0.024 lb mol / ft 3
300 150 450
Co(s)
2/9
(2s 1)(s 1)
3- Controller proportion
p
GC KC Must be given or calculated
E
bs=1.4 ps=10.5 psig
4- Control valve
v 0
Flow 2 0 1 cfm
kv
Pr essure 15 3 6 psi
Since ms/ ρA= 1.25 cfm, the normal operating pressure on the valve is
5-Transportation lag
A portion of the liquid leaving tank 2 is continuously withdrawn through a sample
line,containing a concentration measuring element, at a rate of 0.1 cfm. The
measuring elementmust be remotely located from the process, because rigid ambient
conditions mustbe maintained for accurate concentration measurements. The sample
line has a lengthof 50 ft, and the cross-sectional area of the line is 0.001 ft2 .
The sample line can be represented by a transportation lag with parameter
1 Volume 5 ft 0.001 ft 2
td 0.5 min
u Volumetric Flowrate 0.1 ft 3 / min
+
C2sp(s) E(s) M(s) C2(s)
Km
+ P(s) 2 1 / 450
KC
- 15 (2s 1)(s 1) +
controller Control
valve
C2m(s)
100 e0.5s
E
1.0 in
10 psi
Kc
8psi
Kc
I
For PI control
K
p (t ) K c c Edt p s
I
For E=1
K
p (t ) K c c t p s
I
From the above figure
Kc 2
Kc 75 2
I 60 20 40
I 20 K c 20 (2) 40 sec
Ex: (A) a unit-step change in error is introduced into a pid controller, if Kc=10 , τI=1
and τD=0.5 plot the response of the controller P(t).
(B) if the error changed with a ratio of 0.5 in/min plot the response of p(t).
Solution:
(A) For a PID control
K dE
p (t ) K ct c Edt K c D ps
I dt
For a unit step change in error E(t)=1
At t=0 p (0) K c p s
Kc
t>0 p (t ) K c t ps
I
P p ps 10 10t
0 0
dE
(B) E=0.5 t 0.5 and dEdt 0.5dt
dt
p (t ) 10 0.5 t 10 0.5 tdt 10 0.5 0.5 ps
p (t ) p s 5 t 2.5 t 2 2.5
P( t ) p( t ) p s 2.5 5 t 2.5 t 2 t P(t)
0 2.5
1 10
E 0.5 P(t) 2 22.5
3 40
0 2.5 4 62.5
5 90
0 t 0 t
d(s) Gd
Comparator
ysp E(s) C(s) m(s) y(s)
GC Gf Gp
ym(s) y (s)
Gm
Process balance
y ( s ) G p m ( s ) Gd d ( s ) Measuring Device
Measuring device
y m ( s ) Gm y ( s )
Controller system
E ( s ) ysp ( s ) ym ( s ) Comparator
C ( s) Gc E ( s) Controller
Final control element
m( s ) G f C ( s )
The feedback controller tries to eliminate the impact of the load change d to keep y at
the desired setpoint.
0
2- Effect of Integral Control
Consider a servo problem, d ( s ) 0
Gc G f G p
y ( s) y SP ( s ) (*)
1 Gc G f G p G m
Consider Gm G f 1
kp
For the 1st order process G p
ps 1
For a simple integral control
1
Gc K c
Is
Sub in eqn. (*)
KP K
C
ps 1 I s K P KC
y( s ) ySP ( s ) ySP ( s )
1
KP
KC ( p s 1 )( I s ) K K
P C
ps 1 I s
K P KC
K P KC
y( s ) ySP ( s )
p I s 2
Is K P KC
K P KC K P KC K P KC
1
y ( s) 2 2 y SP ( s ) (**)
s 2s 1
Process Control /Lec. 11 82
Fourth Class
Where
I p 1 I
K p Kc 2 p K p Kc
Eqn. (**) indicates an important effect of the integral control action:-
1- It increases the order of the dynamic for the closed-loop reponse.
Thus for a first-order uncontrolled process, the response of the closed-loop
becomes second order.
2- Increase K C decreases more oscillatory
3- To examine the effect of integral on s.s error
1
y ( s) 2 2 y SP ( s )
s 2s 1
1
If y SP ( s)
s
The ultimate value= AK=1*1=1
offset= New setpoint-ultimate value
=1-1=0
It indicate that the integral control eliminates any offset
1
Solution:
o ( s) Gd ( s ) Gm(s)
Regulator loop:
d ( s ) 1 Gm ( s )G ( s )
3 9
G(s) = GC(s) Gf (s) GP(s) = 2×1.5× =
10 s 1 10 s 1
1
o ( s )
10 s 1
1
=
d ( s ) 1 9 10 s 10
10 s 1
1
θd(s) = 1/10
s
1
o (s) = 10 θo(t) off-set
s ( s 1)
o (t) 0.1(1 - e-t )
At t = 0 , o (t) = 0
At t = , o () = 0.1
Or
1
1
o ( ) = lim s o ( s ) lim s 10
s 0 s 0 s ( s 1) 10
Offset= New s.s value-Ultimate value= 0 - 0.1= -0.1
Ex: Consider the figure below, a unit step change in load enters at either location 1 or
location 2.
What is the offset when the load enters at location 1 and when it enters at location 2
Process Control /Lec. 11 86
Fourth Class
U1 G1 U2 G2
Gc
2 1
R Kc 5 C
(2 s 1) (2s 1)
1 1 C
R K c (1 D s)
Is 1s 1
For D I 1 and I 2
a- Calculate ψ when Kc=0.5 and Kc=2
b- Determine the effect for a unit-step change in load if Kc=2
C ( s) GcG p
R ( s ) 1 GcG p
1 1 1 1
K c (1 D s) K c (1 s )
C ( s) Is 1s 1 s 2s 1
R ( s ) 1 K (1 1 s ) 1 1
1 K c (1 s )
1
Is 1s 1 2s 1
c D
s
s 1 s2 1
Kc ( )
s 2 s 1 Kc (s 1 s 2 ) Kc (s 1 s2 )
2
s 1 s2 1 2s s K c ( s 1 s 2 ) ( 2 K c ) s 2 (1 K c ) s K c
1 Kc ( )
s 2s 1
(s 1 s )
2
(2 K c ) 2 (1 K c )
s s 1
Kc Kc
a-1) Kc=0.5
2 Kc 2 0.5
2.2361
Kc 0.5
(1 K c ) 1 0.5 3 3
2 3 0.6708
Kc 0.5 2 2 2.2361
a-2) Kc=2
22
1.4142
2
(1 K c ) 1 2 1.5 1.5
2 1.5 0.5303
Kc 2 2 2 1.41421
Gp
B) C ( s ) U ( s)
1 G pGc
1 1
1s 1 2s 1
C ( s) U ( s) U ( s)
1 1 1 1
1 K c (1 D s) 1 K c (1 s )
Is 1s 1 s 2s 1
s s 1
2 U ( s )
2s s K c ( s 1 s 2 ) 2s 2 s 2( s 1 s 2 ) s
Process Control /Lec. 11 88
Fourth Class
1
4s 3s 1
2
2
3
2 3 0.75
4
1
C () lim s 2 0
s 0 4 s 3s 1
Offset=0-0=0
ms 1
K c (1 D s )( m s 1)
C R(s)
1 m s 2 ( 1 m K c D ) s (1 K c )
K c ( 1 D s )( m s 1 )
( 1 Kc )
C R( s )
1 m s 2
( 1 m K c D )
s1
(1 Kc ) ( 1 Kc )
1 m
1 Kc
1 m K c D
b) for ψ=0.7
2 (1 K c ) 1 m
1) τD=0
60 10 0 35
0 .7
2 (1 K c ) 60 10 600 600 K c
600 600 K c 50
600 600 K c 2500
K c 3.166
2) τD=3 sec
60 10 3K c 70 3K c
0 .7
2 (1 K c ) 600 2 (1 K c ) 600
70 3K c 34.292 (1 K c )
2.04(1 0.042 K c ) (1 K c )
4.1616 0.355 K c 0.0075 K c2 (1 K c )
0.0075 K c2 0.0645 K c 3.1616 0
K c 80.73 or K c 5.266
The transfer function of a block diagram is defined as the output divided by its input
when represented in the Laplace domain with zero initial conditions. The transfer
function G(s) of the block diagram shown in Fig. (1).
Y (s)
G (s)
X (s)
Here the path of the signals X(s) and Y(s) is a forward path.
Consider the block diagram of cascaded elements shown in Fig. (2a). Form the
definition of a transfer function we have:
X 2 (s)
G 1 (s )
X1 (s)
X 3 (s)
G 2 (s)
X 2 (s)
Y(s)
G 3 (s)
X 3 (s )
And substitution yields
Y(s) G 3 (s)X 3 (s) G 3 (s)[G 2 (s)X 2 (s)] G 3 (s)G 2 (s)G1 (s)X1 (s)
Which can be written as
Y(s)
G 3 (s)G 2 (s)G1 (s) G (s)
X1 (s)
(a) (b)
The overall transfer function then is simply the product of individual transfer
functions.
For applications where it is required to generate a signal which is the sum of two
signals we define a summer or summing junction as shown in Fig. (3a). If the
difference is required, then we define a subtractor as shown in Fig. (3b). Subtractors
X1(s) + +
X1(s)+X2(s) X1(s) X1(s)-X2(s)
+ -
X2(s) X2(s)
(a) (b)
Summer Subtractor (Error detecting device)
Fig. (3) Addition or subtraction of signals
The combination of block diagrams in parallel is shown in Fig. (4a). Form the
definition of the transfer function we have
Y1 (s) G1 (s)X(s)
Y2 (s) G 2 (s)X(s)
Y3 (s) G 3 (s)X(s)
And the summer adds these signals,
Y(s) Y1 (s) Y2 (s) Y3 (s)
or
Y (s) [G1 (s) G 2 (s) G 3 (s)]X(s)
The overall transfer function shown in Fig.(4b) is
Y (s)
G (s )
X (s)
where
G (s) G1 (s) G 2 (s) G 3 (s)
Y 1(s)
G 1(s)
X(s) Y 2(s) +
G 2(s) Y(s) X(s) G(s) Y(s)
+ +
Y 3(s)
G 3(s)
(b)
(a)
Fig. (4) Parallel combination of elements
In summary, we observe that for cascaded elements the overall transfer function is
equal to the product of the transfer function of each element, whereas the overall
transfer function for parallel elements is equal to the sum of the individual transfer
function.
Process Control /Lec. 12 92
Fourth Class
Ex:Derive the overall transfer function for the control system shown in Fig. (5).
H1(s)
B1(s)
+ E1(s) C1(s) - E2(s) C2(s) C(s)
R(s) G1(s) G2(s) G3(s)
- +
B2(s) H2(s)
Solution
Y (s) G
Transfer function
R (s) 1 GH
2(s 1)(s 3) 2(s 1)(s 3)
Y(s) s(s 2)(s 4) s(s 3)(s 4)
R (s) 1 2(s 1)(s 3) *1 s(s 2)(s 4) 2(s 1)(s 3)
s(s 2)(s 4) s(s 2)(s 4)
2(s 1)(s 3) 2s 2 6s 2s 6
s(s 2)(s 4) 2(s 1)(s 3) s3 4s 2 2s 2 8s 2s 2 6s 2s 6
Y(s) 2s 2 8s 6
R (s) s 3 8s 2 16s 6
Block Diagram Reduction
When the block diagram representation gets complicated, it is advisable to reduce the
diagram to a simpler and more manageable form prior to obtaining the overall
transfer function. We shall consider only a few rules for block diagram reduction. We
have already two rules, viz. Cascading and parallel connection.
Consider the problem of moving the starting point of a signal shown in Fig. (6a) from
behind to the front of G(s). since B(s)=R(s) and R(s)=C(s)/G(s), then B(s)=C(s)/G(s).
therefore if the takeoff point is in front of G(s), then the signal must go through a
transfer function 1/G(s) to yield B(s) as shown in Fig. (7b).
R(s) G(s) C(s) R(s) G(s) C(s)
(a) (b)
R(s) + C(s)
G1(s)
Addition or + R(s) C(s)
G1(s)+G2(s)
subtraction
G2(s)
R(s) C(s)
G(s)
R(s) C(s)
G(s)
Moving a
starting point 1
B(s) G (s)
B(s)
R(s) + C(s)
Closed loop G(s) R(s) G(s) C(s)
-
system 1 H ( s )G ( s )
H(s)
First reduction
G3(s)
R(s) + +
G1(s) G2(s) C(s)
+ G4(s)
- +
-
H1(s)
H2(s)
R(s) + C(s)
G1(s) G2(s)+G3(s) G4(s)
- +
-
H 1 (s)
G 4 (s)
H2(s)
(b)
H2(s)
(c)
(d)
Fig.8 Obtaining transfer function by block diagram reduction
Ex: Obtain the transfer function C/R of the block diagram shown in Figure below.
G4(s)
R(s) +
+ + +
G1(s) G2(s) G3(s) C(s)
- +
H1(s)
H2(s)
R(s)
+ +
G1(s) G2(s) G3(s) + G4(s) C(s)
- +
H1(s)
H2(s)
R(s)
+ G1(s) x G2(s)
G3(s) + G4(s) C(s)
1- H1(s)x(G1(s) x G2(s))
-
H2(s)
A stable system is one where the controlled variable will always settle near the set
point. An unstable system is one where, under some conditions, the controlled
variable drifts away from the set point or breaks into oscillations that get larger and
larger until the system saturates on each side.
H
G1G 2 G2
C R (s) U (s )
1 G1G 2 H 1 G1G 2 H
1 G1G 2 H 0 (Characterstic Equation)
(s r1 )(s r2 )(s r3 )......... 0 Im
s-p
s
p
Re
A linear control system is unstable if any roots of its characterstic equation are to the
right of imaginary axis.
If this Eqn has some roots with positive real parts, then the system is unstable, or
some roots equal to zero, the system is marginally stable (oscillatory), therefore it is
unstable.
Then for stability the roots of characteristic Eqn must have negative
real parts.
2-Routh’s Method
a-Write the characterstic eqn. on the form of a polynomial shape:
a os n + a1s n -1 + a 2s n - 2 + …..a n = 0 (*)
Where ao is positive
It is necessary that ao, a1, a2,…. an-1, an be positive. If any coeff. is negative, the
system is unstable.
If all of the coeff. are positive, the system may be stable or unstable. Then apply the
next step.
b. Routh array:
Arrange the coeff. of eqn. (*) into the first two rows of the Routh array shown
below.
Row
1 a o a2 a4 a6
2 a 1 a3 a5 a7
3 A1 A2 A3
4 B 1 B2 B3
n+1 C1 C2 C3
The system is stable if all the elements in the first column of the array are
positive
The elemnets of the first-column are positive except the third, which can be positive
or negative depending on Kc and τI.
So state the stability
Put 2( 2 K c ) K c I 0 2( 2 K c ) K c
2 I
If Kc and τI satisfy the condition, then the system is atable
Critical stability
Put the third element=0
i.e 2( 2 K c ) K c
I
For τI=0.1
2( 2 K c ) 10 K c 4 8K c
K c 0 .5
2) if K c 0.5 , the third element of the 1st column is negative. We have two sign
change in the elements of the first column.
Ex:
U
R 1
Kc C
( 1s 1)( 2 s 1)
1
( 3s 1)
1 1
If 1 = 1, 2 = , 3 =
2 3
Determine Kc for a stable system
Solution:
The char. Eqn.
1
1 Kc 0
1 1
(s 1)( s 1)( s 1)
2 3
1 1
(s 1)( s 1)( s 1) K c 0
2 3
1 3 1
( s 2 s 1)( s 1) K c 0
2 2 3
3 2 2
s s s s 3s
1 Kc 0
6 2 3 2 2
1 3 2 11
s s s 1 Kc 0
6 6
Row
1 1/6 11/6
2 1 1+Kc
3 10 K c 0
6
4 1+Kc
Since Kc>0
The system will be stable
If 10-Kc>0
K c 10
Process Control /Lec. 13 102
Fourth Class
Therfore Kc must within the range 0<Kc< 10
Ex: U
R 3
K c (1 ) 2
s
C
1
0.2s 2 0.4s 1
Study the stability for Kc=2
Solution:
3 1
1 K c (1 ) 2 0
s 0.2s 2 0.4s 1
s3 2
1 Kc ( ) 0
s 0.2s 0.4s 1
2
sK 3K c 2
1 ( c ) 0
s 0.2s 2 0.4s 1
0.2s3 0.4s 2 s 2sK c 6K c 0
0.2s3 0.4s 2 (1 2K c )s 6K c 0
Row Row For Kc=2
1 0.2 1+2Kc 1 0.2 5
2 0.4 6Kc 2 0.4 12
3 A1 0 3 2 2.4 0
4 B1 0 0.4
4 1.2 0
0.4(1 2K c ) (1.2K c ) 0.4 0.8K c 1.2K c 0.4 0.4K c
A1
0.4 0.4 0.4
0.4 0.4K c 0
The system is stable for K c 1
B1 6K c 6K c 0
And K c 0
Therfore Kc must within the range 0 <Kc< 1
+ controller ( s 20)
R(s) Y(s)
k s ( s 10) 2 Heading
-
Solution
k (s 20) ks 20k ks 20k
G(s) = 2 3
s(s 10) 2
s(s 20s 100) s 20s 2 100s
Characteristic equation,
1+GH = 0
ks 20k
1+ 3 *1 0
s 20s 2 100s
s3 20s 2 100s +ks+20k =0
s3 20s 2 (100 k )s 20k 0
The corresponding Routh array can now be formed
Row
1 1 100+k
2 20 20k
3 a 0
4 b 0
Y (s)
(a)Determine closed-loop transfer function T(s) =
R (s)
(b)Determine whether or not the systems given below are stable.
Q3) Determine the range of values of K for which the following system s are
stable.
It is how the output response (amplitude, phase shift) change with the frequency of
the input sinusoidal.
The input frequency is varied, and the output characteristics are computed or
represented as a function of the frequency. Frequency response analysis provides
useful insights into stability and performance characteristics of the control system.
Figure below shows the hypothetical experiment that is conducted.
q 1 p p
r ( p ) 2 1 2p 2 1
2
p p
tan 1 tan 1 ( ) tan 1 ( p )
q 1
Then eq.(3) yield
Kp A
yss ( t ) 2 2 [( 2p 2 1) sin(t )]
p 1
Kp A
yss ( t ) sin( t ) (4)
p2 2 1
A B
Process Control /Lec. 14 107
Fourth Class
T Output = B sin (ωt- )
It is the most important methods for stability analysis and used for design purposes
control system.
Suppose the input to the process is sinusoidal signal
Where: A is amplitude
1
ω is frequency (rad/sec) =
T
T is period of one complete cycle (time)
2- PI controller:
1
The transfer function is G (s) K c (1 )
I s
1
AR K c 1
( I )2
1
tan 1 ( ) 0
I
3- PD controller:
The transfer function is G (s) K c (1 D s)
AR K c 1 2D 2
tan 1 ( D ) 0
The positive phase shift is called phase lead and implies that the controller output
lead the input.
4-PID controller:
1
The transfer function is G (s) K c (1 D s)
I s
1 2
AR K c ( D ) 1
I
1
tan 1 ( D )
I
߶
or
Phase lag
߬ ߱
Figure:Bode diagram for first-order system.
ψ=0.1
ܴܣ
ܭ
ψ=0.1
߶
or
Phase lag
߬ ߱
1
Figure Block diagram for second-order system
2s 2 2s 1
Process Control /Lec. 15 111
Fourth Class
AR 1
log log[(1 2 2 ) 2 ( 2 ) 2 ]
Kp 2
AR 1
1) as 0 , then log log(1) 0
Kp 2
AR
1 stright line of a slope=0 (L.F.A)
Kp
0
tan 1 0
1
AR 1
2) as , then log log ( ) 4 2 log ( ) (H.F.A)
Kp 2
It is a straight line with a slope -2 passing through the pointAR=1 and τω=1
1
3) c
Pure dead-time system
For the system
AR 1
d
as 0 , 0
as ,
1.0
AR
ϕ -180
-360 | | |
1 10 100
ω
Ex: Two systems in series
1 6
G 1 (s ) and G 2 (s)
2s 1 5s 1
The overall T.F. is
1 6
G (s)
2s 1 5s 1
1 6
AR
1 4 2 1 25 2
log AR log 6 log( AR )1 log( AR ) 2
-45
߶ -90
-135
-180 | |
0.2 ω 0.5
Feedback Controller
1-Propertional controller
AR K c 0
ܴܣ
1.0
ܭ
ϕ 0
1- Low frequencyasymptote
1 AR
as 0 , 1 thenn log( ) log( I )
( I ) 2
Kc
Consequently, the LFA is a straight line with slope=-1
1
tan 1 90o
0
2- High frequency asymptote
1 AR AR
as , 0 then log( ) 0 i.e 1
( I ) 2
Kc Kc
AR
HFA is a horizontal line at value 1
Kc
For the ϕ
as 0 , 90
as c , 45
as , 0
AR 1 AR
as 0 , log( ) log( D2 2 ) 0 1 (L.F.A) slope=0
Kc 2 Kc
tan 1 0 0o
2) High frequency asymptote
AR 1
as , log( ) log( D2 2 ) log( D ) (H.F.A) slope=+1
Kc 2
tan 1 0 90 o
as 0 , 0
as c , 45o
as , 90 o
ω=1/τD
AR 1 2
1) as 0 then 1 ( ) PI Controller
Kc I
AR
2) as then 1 ( D ) 2 PD Controller
Kc
1 AR
3) as then 1 ( D 1) 2
I Kc
1 AR 1 2
4) as then 1 (1 )
D Kc I
Frequency Response of non-interacting capactine in sereies
G (s ) G 1 (s) G 2 (s) G 3 (s) .......... .. G n (s)
AR t AR 1 AR 2 AR 3 ............ AR n
t 1 2 3 ............ n
ோ
1.0
1ൗ 1ൗ
߬ூ ߬
90
+45
ϕ
0
-45
-90
1ൗ
߬ூ ω 1ൗ
߬
Gc Gf Gp
YSP(s) 1 10 5e 0.2s
K c (1 ) Y(s)
Is 0.1s 1 ( 2s 1)(s 1)
Ym(s)
2
0.5s 1
The Open loop T.F. of the feedback control
G OL G c G f G p G m
1 1 1 1
G OL 100K c (1 ) e 0. 2 s
I s 0.1s 1 ( 2s 1)(s 1) (0.5s 1)
With Kc=4 and τI=0.25
K=400
= ݈݁ݏ−1 1
1
0.1ݏ+ 1
= ݈݁ݏ−2
ܴܣ 1
ܭ 0.5ݏ+ 1
1
= ݈݁ݏ−3 ݏ+ 1
1
2ݏ+ 1
= ݈݁ݏ−4
0.1 0.5 1 2 4 10
0 = ݈݁ݏ−3
-45
= ݈݁ݏ−4
-90
߶ .0
-135
-180
ܱ݈݈ܽݎ݁ݒ
Ex: Plot the B.D. for the open loop T.F. for the fig. below
G U Gp
c
R K c (1 D s) 1
(s 1) (0.1s 1)
2 C
Ym(s) s
e 10
Figure: Block diagram for: (a) Amplitude ratio; (b) phase angle.