Professional Documents
Culture Documents
Control
First Order
System
Responses
Learning Objectives
2
Example: CSTR– step change in inlet
concentration
A CSTR has been operating at steady state for a long time with a constant feed composition of
0.5 kmol/m3. The feed composition experiences an instantaneous change (step change) to 1.5
kmol/m3. All other variables are constant. Determine the dynamic response of CA.
F0 F1
V=2.1 m3;
Fo= F1 = 0.085 m3/min
CAO,SS = 0.5 kmol/m3
CAO = 1.5 kmol/m3
Based on Marlin example 3.1
Example: CSTR– step change in inlet
concentration
dV
Overall mass balance: FO F1 0
dt
F C AO C A
dC A
Component mass balance: V
dt
1
Convert to deviation variables, C A ' C A0 '
Use Laplace to integrate, ts 1
Rearrange to standard form: V
where τ
F
Example: CSTR– step change in inlet
concentration (ctd.)
Disturbance: ΔCA0(t) = CA0’(t) = 1
A ' s
1 1
CSubstitute:
s (ts 1)
t
Invert: C A ' t 1 e t
y( s) K
f ( s ) ts 1
6
Laplace of 1st order ODE
dy
Take Laplace transforms: L t y Kf (t )
dt
tsy( s ) y ( s ) Kf ( s )
Rearrange: (ts 1) y ( s ) Kf ( s )
y(s) K
Standard form of a 1st
order transfer function: x( s ) ts 1
Order of the Transfer function
dy y( s) K
1st order: t y (t ) Kx(t )
dt x( s) ts 1
2 y( s) K
d y dy 2 2
order: t dt 2 2t dt y Kx(t )
2
2nd x(s) (t s 2ts 1)
8
Transfer Functions
xt y t
TF
X s Y s
9
Steady-State Gain, K
(also called static gain)
The steady-state gain of a TF can be used to calculate the steady-state change in
an output due to a steady-state change in the input.
If you know two steady states for an input, u, and an output, y, we can calculate the
steady-state gain, K, from:
y2 y1
K
x2 x1
For a linear system, K is a constant. But for a nonlinear system, K will depend on the
operating condition
Effect of Gain, K
3
K=4
2 K=2
1
K=1
Time
0
0 1 2 3 4 5 11
6 7
Effect of Time Constant, t
t is time constant
• Larger t means a 1
slower response to t =1
0.8
the step change t =2
63%
• Describes dynamics 0.6
t =4
0.2 τ =2 τ =4
τ =1
0
0 1 2 3 4 5 6 7
Time
12
First order step response
y
y
t ___
y
0 0
y
τ 0.632
2τ 0.865
3τ 0.950
t 0.982
4τ
τ 0.993 We define 5t
5τ
as reaching SS
• Discuss the differences in K and t for these two “CSTRs”, assuming the same
concentration, the same change in concentrations, and the same flowrate
http://www.labochema.com/products/magnetic-stirrer-with-hotplate/ https://www.hydrocarbons-technology.com/wp-content/uploads/sites/9/2017/09/1-Relocation-by-train-tracks.jpg
Example: simple tank
dht
Rearrange: AR ht RF0 (t )
dt
h( s ) R
Laplace:
F0 ( s ) ARs 1
15
Example: simple tank
Recognise as first order TF: h( s ) K
(where R = K and τ = AR) F0 ( s ) ts 1
Level
K/2
t / t
Inverse Laplace: h(t ) K (1 e )
0
0 t 2t 3t 4t
Time
Example: simple
h(t ) K (1 tank
e ) t / t
What value is h at t → ?
sK
lim f (t ) lim[ sf ( s)] lim[ ] K
t s 0 s 0 s (ts 1)
17
Practical uses – Calculators out
You have been given this tank concentration What is the initial
data by your boss. A unit step change was
made to the system. What’s the time constant concentration? 0.6
of the tank?
What is the final
concentration? 1.2
Answer …
18
Practical uses – Calculators out
You have been given this tank concentration What is the initial
data by your boss. A unit step change was
made to the system. What’s the time constant concentration? 0.6
of the tank?
What is the final
concentration? 1.2
You have been given this tank concentration At what time does the change
data by your boss. A unit step change was
made to the system. What’s the time constant start? 10 sec
of the tank?
t Is the time constant, and
occurs at 63% of the change
20
Practical uses – Calculators out
You have been given this tank concentration At what time does the change
data by your boss. A unit step change was
made to the system. What’s the time constant start? 10 sec
of the tank?
t Is the time constant, and
occurs at 63% of the change
You have been given this tank concentration What time does 0.98
data by your boss. A unit step change was
made to the system. What’s the time constant concentration happen?
of the tank? 18 min
What is t?
18 min-10 min = 8 min
22
Disturbance types
t=0 t
23
Disturbance types
0.2
0
0 5 10 15 20 25 30 35 40 45
25
1st order ramp response
Unit ramp: f(t)=rt where r is the ramp unit: 1
F (s) 2
s
h( s ) K
For a simple tank:
F0 ( s ) ts 1
K
Substitute ramp function for F0(s): h( s ) 2
s (ts 1)
27
Example: Mixing tank
with no reaction
Process model: 1
C A ' C A0 '
ts 1
A 1
Substitute into tank model: CA ' 2
s 2 ts 1
28
Mixing tank (no reaction)
– sine wave disturbance
Inverse Laplace from table:
t
1 Aw 1 Awte t A sin( wt )
L { 2 }
( s w ) (ts 1) 1 w t
2 2 2
1 w2t 2
tan 1 ( wt )
29
Sine wave response
• Phase angle is “shift”
of the peaks
• Transient response
decays, leaves SS
response
• Brief intro here
• More detail in lectures
on frequency response
t
1 Aw 1 Aw te t A sin( wt )
L { 2 2 }
( s w ) (ts 1) 1 w t
2 2
1 w2t 2
tan 1 ( wt ) Phase lag/shift
30
Looking ahead…
Next : 2nd order system responses….
T2: 1st Order T3: 2nd Order T4: Deadtime, T5: Frequency
responses responses Block Diagrams Response
31