( )
Time Impurity Concentration Limit
Time Impurity Concentration Limit
Impurity Concentration Limit
(1)
:
( , Setpoint):
:
(CV, PV):
(MV):
: /
:
(DV):
(2)
:
( ):
:
:
( ): /
:
:
:
(Feedback Control) ( )
(
)
(Measuring Instrument, Sensor)
Ex:
(Automatic Controller)
(Final Control Element)
(Control Valve)
(Process)
( )
Time
CV SP
Time
CV
SP
-
-
-
-
-
(DO)
- O2
-
-
-
(Ion-specific electrode )
-
Piping and Instrumentation Diagram (P&ID)
Control diagram
P&ID (Engineering flowsheet)
(Sensor)
P&ID
- (Transfer Function)
(TF)
:
( ) ( ) ( )
Process
( )
u t y t
U s → →Y s
u
input ( )
forcing function( )
“cause” ( )
y
output ( ) response ( )
“effect” ( )
G(s)
( ) ( )
( ) ( )
( )
Y s s
G s ≜ U s = 輸出 s 輸入
( ) ( )
( ) ( )
Y s y t U s u t
≜
≜ L
L
Both y(t) and u(t) are deviation variables.
(deviation variable = variable – its steady-state value)
1. Steady-State 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. For example, suppose we
know two steady states for an input, u, and an output, y.
Then we can calculate the steady-state gain, K, from:
,2 ,1
,2 ,1
s s
s s
y y
K u u
= −
−
For a linear system, K is a constant. But for a nonlinear system, K will depend on the operating condition
(
u ys, s)
.( ) K
2. Order of a TF Model ( )
Consider a general n-th order, linear ODE:
1 1
1 1 0 1 1 0
n n m m
n n n n m m m m
d y dy d u d u
a a a y b b b u
dt dt dt dt
− −
− − − −
+ + +… = + + +…
Take , assuming the initial conditions are all zero.
Rearranging gives the TF:
( ) ( )
( )
00
m i
i i
n i
i i
Y s b s
G s n m
U s a s
=
=
= = ≥
∑
∑
( ) n
Note: The order of the TF is equal to the order of the ODE.
L
(Physical realizability)
3. Additive Property ( )
Suppose that an output is influenced by two inputs and that the transfer functions are known:
( ) ( ) ( ) ( )
( ) ( )
1 2
1 2
Y s and Y s
G s G s
U s = U s =
Then the response to changes in both U1 and U2 can be written as:
( )
1( ) ( )
1 2( ) ( )
2Y s = G s U s +G s U s
U1(s)
U2(s)
G1(s)
G2(s)
Y(s)
The graphical representation (or block diagram) is:
4. Multiplicative Property ( )
Suppose that,
( ) ( ) ( ) ( )
( ) ( )
1
1 2
1 2
Y s and U s
G s G s
U s = U s =
Then,
( )
1( ) ( )
1 1( )
2( ) ( )
2Y s = G s U s and U s = G s U s Substitute,
( )
G s G1( ) ( )
2 2( )
Y s = s U s
Or,
( ) ( )
1( ) ( )
2 2( )
2( )
1( ) ( )
2
Y s G s G s U s G s G s Y s
U s =
( )
U1 s
The standard form for a first-order TF is:
where:
Consider the response of this system to a step of magnitude, M:
Step Response of First-Order Process
( ) ( )
τ 1Y s K
U s = s +
steady-state gain τ time constant
K ≜
≜
( )
for 0( )
Mu t M t U s
= ≥ ⇒ = s
( )
τ K 1 ( )(
KMτ 1)
Y s U s
s s s
= = ⇒
+ +
( )
( )
( ) ( 1
t / τ)
y t = KM − e
−- 1
• ,
• ,
• ,
y∞ = KM t → ∞
t =τ y = 0.632KM 5
t = τ y ≈ y∞
Note: Large means a slow response.
τ
Consider a step change of magnitude M. Then U(s) = M/s and,
Step Response of Integrating Process
Not all processes have a steady-state gain. For example, an
“integrating process” or “integrator” has the transfer function:
( ) ( ) (
constant)
Y s K
U s = s K =
( )
KM2( )
Y s y t KMt
= s ⇒ =
Thus, y(t) is unbounded and a new steady-state value does not exist.
L-1
h qi
q
• Standard form:
Step Response of Second-Order Process
( ) ( )
τ2 2 2ζτ 1Y s K
U s = s s
+ +
which has three model parameters:
steady-state gain
τ "time constant" [=] time
ζ damping coefficient (dimensionless) K ≜
≜
≜
( )
( )
( )
• The type of behavior that occurs depends on the value of damping coefficient, ζ
• It is convenient to consider three types of behavior:
Complex conjugates Underdamped
Real and = Critically damped
,
Real and ≠ Overdamped
Roots of Type of Response
Damping Coefficient and Transfer Function
ζ >1
ζ =1
0 ≤ <ζ 1
τ2 2s + 2ζτs + =1 0
<
(
1 1)(
2 1)
K
s s
τ + τ +
(
1)
2K τs +
τ2 2 2ζτ 1 K
s + s +
( )
( )
( )
( )
( )
( )
C h a p te r 5
C h a p te r 5
General Transfer Function Models
• General representation of transfer function:
There are two equivalent representations:
( )
00
m i
i i
n i
i i
b s G s
a s
=
=
=
∑
∑
( ) ( )( ) ( )
(
11)(
22) ( )
m m
n n
b s z s z s z G s a s p s p s p
− − −
= − − −
…
…
where {zi} are the “zeros” and {pi} are the “poles”.
• The dynamic behavior of a transfer function model can be characterized by the value of its poles and zeros.
( :n ≥ m )
Summary: Effects of Pole and Zero Locations
1. Poles
• Pole in “right half plane (RHP)”: results in unstable system (i.e., unstable step responses)
(
pj= += −a bj1)
x
x x
Real axis Imaginary axis
x = unstable pole
• Complex pole : results in oscillatory responses
Real axis Imaginary axis
x
x x = complex poles
2. Zeros
• Pole at the origin (1/s term in TF model): results in an
“integrating process”
Note: Zeros have no effect on system stability.
• Zero in RHP: results in an inverse response to a step change in the input
• Zero in left half plane: may result in “overshoot” during a step response.
x ⇒ y 0
t
inverse response Real
axis
Imaginary axis
Time Delay (Dead Time)
Time delays occur due to:
1. Fluid flow in a pipe 2. Chemical analysis
- Sampling line delay
- Time required to do the analysis (e.g., on-line gas chromatograph)
Mathematical description:
A time delay, , between an input u and an output y results in the following expression:
θ
( ) ( )
0 for t θ
y t <
= ⇒
− ≥
( )
( )
θsY s = e−
Example: Turbulent flow in a pipe
Let, fluid property (e.g., temperature or composition) at point 1
fluid property at point 2 u ≜
y ≜
Fluid In
Fluid Out
Point 1 Point 2
Time Delay:
• First-Order Plus Time Delay (FOPTD) Model
( ) ( )
θ( ) τ 1
s p
Y s K
G s e
U s s
= = −
+
• Second-Order Plus Time Delay (SOPTD) Model
( ) ( )
2 2 θ( ) τ 2ζτ 1
s p
Y s K
G s e
U s s s
= = −
+ +
( ) ( )
θ( ) τ 1
s p
Y s K
G s e
U s s
= = −
+
θ t
y(t)
KM
0.632KM
τ
θ
u(t) = M
PID
1930
PID
KC : ( )
ττττ
I :
ττττ
D :0
1 ( )
( ) ( ) ( )
where ( ) ( )
t
s c D
I sp
p t p K e t e t dt de t
dt
e t y y t
τ τ
= + + +
= −
∫
e(t) p(t)
(offset)
:
Kc
PB 100%
=
Time Setpoint
1.0
1 2 3
0
Offset
Small KC Large KC
PI
Time y
ysp
pprop
Time y
ysp
pi nt
PI K C ττττ I
KC
τ
ITime Time Time
KC KC
ττττI ττττI
( )
Time PID
PI
PID
(parallel) PID (ideal form)
(series) PID (actual form) ( ) 1 1
c c D
I
G s K s
s τ τ
= + +
( ) P s
( )
( ) 1 1 1
c c D
I
G s K s
s τ τ
= + +
1 1
Is
+ τ P s( )
1 ( ) 1 1
1
D
c c
G s K s
s s
τ
τ ατ
+
= + +
(with derivative filter) : 0.05 ~ 0.2
α
Consider response of a controlled system after a sustained disturbance occurs
(e.g., step change in the disturbance variable)
y
PID
90% PI
P:
( )
PI:
( )
PID: PI
PID
Gc(s) Gp(s)
Gm(s) +
-
Ysp(s) E(s) U(s) Y(s)
Ym(s)
GL(s) L(s)
+ +
Gv(s)
P(s)
1
p v c
sp p v c m
G G G Y
Y = G G G G +
1
L
p v c m
G Y
L = G G G G +
:
: (Ysp L)
1
f
i e
Z Z
= ∏
+ ∏
Z Zi
∏ =f
∏ =e
Zi Z
Example
Gp
(BIBO stability)
0
( ) ( ) ( )
1 1
p v c L
sp
p v c m p v c m
G G G G
Y s Y s L s
G G G G G G G G
= +
+ +
1+GOL = 0 1+G G G Gp v c m = 0
:
: :
: 1+G
OL(s)=0
( ((
( ))))
(((
( ))))
Example
Solution:
1 0.2 c 0
s K
⇒ − + + =
which has the single root, s = 1 + 0.2Kc. Thus, the stability requirement is that Kc < -5. This example illustrates the important fact that feedback control can be used to
stabilize a process that is not stable without control.
Consider a process, Gp = 0.2/(-s + 1), and thus is open-loop unstable. If Gv = Gm = 1, determine whether a proportional controller can stabilize the closed-loop system.
The characteristic equation for this system is
1 1 0.2 0
OL 1 c
G K
+ = + s =
− +