Tutorial Solutions Complete
Tutorial Solutions Complete
Contents
1
Process Dynamics & Control – Tutorial Solutions 2
Answer
TRUE. Both feedforward and feedback control strategies rely on measurements. In
feedback control, the controlled variable (output) is measured and compared to the set
point. In feedforward control, the disturbance variable is measured before it affects
the process. Without measurements, neither strategy can function.
(b) “For feedforward control, the measured variable is the variable to be controlled.”
Answer
FALSE. In feedforward control, the measured variable is the disturbance (the input
disturbance entering the process), not the controlled variable. The idea of feedforward
is to measure the disturbance before it affects the output and take preemptive corrective
action. It is in feedback control where the controlled variable itself is measured.
(c) “Feedback control theoretically can provide perfect control if the process model used to
design the control system is perfect.”
Answer
FALSE. Even with a perfect process model, feedback control cannot provide perfect
control (zero deviation from set point) because it is inherently reactive—it requires an
error (deviation from set point) to exist before corrective action is taken. There will
always be a transient deviation after a disturbance occurs.
It is feedforward control that can theoretically provide perfect control if the process
model and disturbance model are perfect, because it acts before the disturbance affects
the output.
(d) “Feedback control takes corrective action for all types of process disturbances, both known
and unknown.”
Answer
TRUE. This is one of the major advantages of feedback control. Since it measures the
actual output (controlled variable), any disturbance—whether known, unknown, mea-
sured, or unmeasured—that causes a deviation from the set point will be detected and
corrected. The controller does not need to know the source or nature of the disturbance.
Answer
FALSE. Neither is universally superior. Each has advantages and disadvantages:
Feedback advantages: handles unknown disturbances, does not require a process model,
simpler to implement.
Feedforward advantages: acts before the disturbance affects the output (proactive), can
theoretically achieve perfect control.
In practice, the best strategy is often a combined feedforward-feedback control sys-
tem that leverages the strengths of both.
Process Dynamics & Control – Tutorial Solutions 4
Answer
In feedback control, we measure the controlled variable y (distillate composition) using
the composition analyzer and compare it with the set point ysp .
Strategy: Measure y → Compare with ysp → Controller adjusts the reflux flow rate R
(manipulated variable).
Control loop:
3. Based on the error, the controller adjusts the reflux flow rate R via a control valve.
4. Increasing R increases the purity of the distillate (increases y); decreasing R de-
creases y.
Answer
In feedforward control, we measure the disturbance variable F (feed flow rate) and take
preemptive action before the disturbance affects y.
Strategy: Measure F → Feedforward controller computes required adjustment → Ad-
just reflux flow rate R.
Control loop:
2. The feedforward controller, using a process model, computes the required change
in R to compensate for the change in F .
The feedforward controller transfer function is derived from the process model relating
F to y and R to y.
Process Dynamics & Control – Tutorial Solutions 5
Answer
Controlled Variable (CV): Outlet temperature of the process stream, T
Manipulated Variable (MV): Steam flow rate, Fst (adjusted via the steam
control valve)
Answer
Feedback Control Loop:
2. Feedforward controller uses a process model to compute the required steam flow
rate Fst to maintain T = Tsp .
Variables: w1 , w2 , w3 , T1 , T2 , T3 (6 variables)
Unknowns: w3 , T3 (2 unknowns)
dT3
ρV = w1 (T1 − T3 ) + w2 (T2 − T3 ) (7)
dt
This is a single first-order ODE in T3 (t) with known time-varying inputs w1 (t), w2 (t), T1 (t), T2 (t).
Process Dynamics & Control – Tutorial Solutions 7
ρ(h1 − h2 )
w2 = (10)
R2
For the exit valve from Tank 1:
ρ h1
w3 = (11)
R3
Answer
The complete model is:
dh1 ρ(h1 − h2 ) ρ h1
A1 ρ = w1 − − (12)
dt R2 R3
dh2 ρ(h1 − h2 )
A2 ρ = (13)
dt R2
ρ(h1 − h2 )
w2 = (14)
R2
ρ h1
w3 = (15)
R3
Answer
Variables: h1 , h2 , w1 , w2 , w3 (5 variables)
where the driving force is the total pressure at the bottom minus ambient pressure.
Gas pressure (ideal gas, isothermal):
mg
Pg V g = RT = constant (18)
M
The gas volume is Vg = A(H − h), so:
mg RT ng RT
Pg = = (19)
M · A(H − h) A(H − h)
Answer
Complete unsteady-state model:
s
dh ng RT
A = qi − C v + ρgh − Pa (20)
dt A(H − h)
ng RT
Pg = (21)
A(H − h)
Is operation independent of Pa ?
For the sealed tank: No, the operation is not independent of Pa . The outlet flow
depends on the pressure difference (Pg + ρgh − Pa ), so Pa directly affects the outflow rate
and hence the dynamic behavior.
For a system open to the atmosphere: The gas pressure Pg = Pa at the liquid sur-
face. The driving force becomes Pa + ρgh − Pa = ρgh. Thus the operation is independent
of Pa when the tank is open.
Process Dynamics & Control – Tutorial Solutions 9
Answer
dT1
ρCV1 = ρCq0 (Ti − T1 ) + U Aw (T2 − T1 ) (24)
dt
dT2
ρCV2 = ρCq0 (T1 − T2 ) − U Aw (T2 − T1 ) − Uc Ac (T2 − Tc ) (25)
dt
Two ODEs, two unknowns (T1 , T2 ) for given inputs q0 (t), Ti (t), Tc (t).
Answer
Parameters: ρ, C, V1 , V2 , U, Aw , Uc , Ac (8 parameters)
Outputs: T1 , T2 (2 unknowns)
Answer
We must add:
u(t) = h − at
Setting u(tw ) = 0:
h
h − atw = 0 =⇒ tw =
a
Or equivalently:
h a a
U (s) = − 2 + 2 e−tw s (32)
s s s
Process Dynamics & Control – Tutorial Solutions 12
5b
Y (s) =
(s + 2)(s + 3)(s + 4)
Answer
5c
Y (s) =
s2 (s + 3)(s + 4)
Answer
0 ≤ t < 1: f (t) = 1
1 ≤ t < 2: f (t) = 2
t ≥ 3: f (t) = 0
Verification:
0 < t < 1: f = 1 + 0 − 0 + 0 = 1 ✓
1 < t < 2: f = 1 + 1 − 0 + 0 = 2 ✓
t = 3: f = 1 + 1 − 2(1) + 0 = 0 ✓
Laplace Transform:
s(s + 1) A B C
= + +
(s + 2)(s + 3)(s + 4) s+2 s+3 s+4
s(s+1) (−2)(−1) 2
A= (s+3)(s+4) s=−2 = (1)(2) = 2 =1
s(s+1) (−3)(−2) 6
B= (s+2)(s+4) s=−3 = (−1)(1) = −1 = −6
s(s+1) (−4)(−3) 12
C= (s+2)(s+3) s=−4 = (−2)(−1) = 2 =6
Answer
s+2
(b) X(s) =
(s + 1)2
Repeated root at s = −1:
s+2 A B
2
= +
(s + 1) s + 1 (s + 1)2
s+2
B = (s + 1)2 · (s+1)2 s=−1
= (−1 + 2) = 1
For A: Multiply both sides by (s + 1)2 : (s + 2) = A(s + 1) + B
Setting s = 0: 2 = A(1) + 1 =⇒ A = 1.
Answer
1 1
X(s) = +
s + 1 (s + 1)2
x(t) = e−t + t e−t
1
(c) X(s) =
s2
+s+1 √ √
−1± 1−4 −1±j 3
The denominator has complex roots: s = 2 = 2
√
So σ = 12 , ω = 23 .
2
Complete the square: s2 + s + 1 = s + 21 + 3
4
√
3
1 2 2
X(s) = √ 2 = √ · √ 2
2
s + 12 + 23 3 s + 1 2 + 3
2 2
Process Dynamics & Control – Tutorial Solutions 15
Answer
√ !
2 3
x(t) = √ e−t/2 sin t
3 2
(s + 1)
(d) X(s) = e−0.5s
s(s + 4)(s + 3)
s+1
First find the inverse of s(s+4)(s+3) (without the delay):
s+1 A B C
= + +
s(s + 4)(s + 3) s s+4 s+3
s+1 1
A= (s+4)(s+3) s=0 = 12
−3
s+1
B = s(s+3) = (−4)(−1) = −3 3
4 = −4
s=−4
s+1 −2
C = s(s+4) = (−3)(1) = 32
s=−3
Let g(t) = 121
− 34 e−4t + 32 e−3t .
The e −0.5s factor gives a time delay of 0.5:
Answer
1 3 2 −3(t−0.5)
x(t) = − e−4(t−0.5) + e S(t − 0.5)
12 4 3
where S(t − 0.5) is the unit step function shifted to t = 0.5.
Process Dynamics & Control – Tutorial Solutions 16
2
(s2 + 4s + 3) X(s) =
s(s + 1)
2 2
X(s) = =
s(s + 1)(s + 1)(s + 3) s(s + 1)2 (s + 3)
Note: s2 + 4s + 3 = (s + 1)(s + 3).
Partial fraction expansion:
2 A B C D
= + + +
s(s + 1)2 (s + 3) s s + 1 (s + 1)2 s + 3
2 2
A= (s+1)2 (s+3) s=0
= 1·3 = 32
2 2 2
D= s(s+1)2 s=−3
= (−3)(−2) 2 = −12 = − 16
2 2
C= s(s+3) s=−1 = (−1)(2) = −1
For B: Multiply through by s(s + 1)2 (s + 3):
Comparing coefficients of s3 : 0 = A + B + D
2 1 4 1 1
B = −A − D = − + = − + = −
3 6 6 6 2
Answer
Answer
2
lim x(t) =
t→∞ 3
2
This can be verified using the Final Value Theorem: lims→0 sX(s) = lims→0 (s+1)2 (s+3)
=
2 2
1·3 = 3 ✓
Process Dynamics & Control – Tutorial Solutions 17
Answer
Answer
Answer
Answer
d d
Kss = G(0) = = (36)
b(0) + c c
dM dM
Y (s) = =
s(bs + c) b · s(s + c/b)
dM
y(t) = 1 − e−(c/b)t
c
Answer
The output is bounded only if c/b > 0 (i.e., b and c have the same sign), so that the
exponential decays. If c/b < 0, the pole is in the right-half plane and y(t) → ∞ as t → ∞.
Therefore, the answer is No—the output is not bounded for all values of b, c, and d. It
requires c/b > 0 for stability.
Process Dynamics & Control – Tutorial Solutions 19
Setting Pm = 45:
45 = 35 + 15 1 − e−t/10
2
10 = 15 1 − e−t/10 =⇒ 1 − e−t/10 =
3
1 t 1
e−t/10 = =⇒ − = ln = − ln 3
3 10 3
t = 10 ln 3 = 10 × 1.0986 = 10.99 seconds
Answer
t ≈ 11.0 seconds after the step change.
The alarm will sound at approximately 1:30:11 PM (about 11 seconds after 1:30 PM).
Process Dynamics & Control – Tutorial Solutions 20
2e−s 4 2·4
y(∞) = lim s · G(s) · U (s) = lim s · · = = 8
s→0 s→0 5s + 1 s 1
(d) For U (s) = 4/s, find y(10) and fraction of new steady state:
2e−s 4 8e−s
Y (s) = 5s+1 · s = s(5s+1)
y(t) = 8 1 − e−(t−1)/5 S(t − 1) (accounting for dead time of 1).
At t = 10:
y(10) = 8 1 − e−9/5 = 8 1 − e−1.8 = 8(1 − 0.1653) = 8 × 0.8347 = 6.678
Answer
y(∞) = 0 for the impulse input. The system is stable (pole at s = −1/5), so the output
decays to zero.
Process Dynamics & Control – Tutorial Solutions 21
Answer
−3 2 1 0
A= , B= , C = 1 −1
4 −5 0 2
Answer
1 −2
G(s) = s+7 s+7
Y (s) 1 Y (s) −2
So: = and =
Q1 (s) s+7 Q2 (s) s+7
where Y = H1 − H2 .
Process Dynamics & Control – Tutorial Solutions 23
df 3 3 3 1
= √ = √ = =
dh h̄ 2 h̄ 2 36 12 4
dh′ 1
A = qi′ − h′
dt 4
dh′ 1 ′
100 + h = qi′
dt 4
dh ′
400 + h′ = 4qi′
dt
Answer
Transfer function:
H ′ (s) 4 K
′ = =
Qi (s) 400s + 1 τs + 1
Overflow time:
Maximum height: hmax = 5000 ′
100 = 50 cm. So hmax = 50 − 36 = 14 cm.
Step change: qi = 4 cm /s. New steady-state deviation: h′∞ = K · qi′ = 4 × 4 = 16 cm.
′ 3
Answer
Answer
t ≈ 9.03 hours
New steady-state temperature change: ∆T = K × Q′ = 1.071 × 10.467 = 11.21°C.
Final temperature: T = 140 + 11.21 = 151.21°C.
(c) Time for outlet to go from 140 to 145°C when Ti jumps from 110 to 130°C:
Ti′ = 130 − 110 = 20°C (step change in inlet temperature).
Response: T ′ (t) = 20(1 − e−t/1.96 ) (gain from Ti to T is 1 for a first-order system).
New steady state: T = 140 + 20 = 160°C.
We need T ′ = 145 − 140 = 5°C:
Answer
Ẋ = µ(S)X − DX (40)
Ṡ = −µ(S)X/YX/S + D(Sf − S) (41)
Substituting:
0.2(0.225 S ′ − 4.5 D′ )
S ′ (s)(s + 0.55) = − + 9D′
s
0.045 S ′ 0.9 D′
S ′ (s + 0.55) + = + 9D′
s s
′ 0.045 ′ 0.9
S s + 0.55 + =D +9
s s
Process Dynamics & Control – Tutorial Solutions 26
Answer
240(1)
Gain: G(0) = 3 = 240
3 = 80
Answer
Yes, the step response will exhibit inverse response. This is because there is a positive
(RHP) zero at s = +1/4. A RHP zero causes the initial response to move in the opposite
direction from the final steady-state value before eventually moving toward it.
(b)(ii) Oscillations?
Answer
No oscillations. The poles are at s = −1/6 and s = −1, both real and distinct. Oscilla-
tory behavior requires complex conjugate poles (i.e., the discriminant of the characteristic
equation must be negative). Here both poles are real, so the response is non-oscillatory
(overdamped).
Process Dynamics & Control – Tutorial Solutions 28
′ 1
Tm (s) =
(0.1s + 1)s2
1 A B C
Partial fractions: (0.1s+1)s2
= s + s2
+ 0.1s+1
1
B = s2 · 0.1s+1 s=0 = 1
1
C = (0.1s + 1) · s12 s=−10 = 100 = 0.01
1 A 1 0.01
For A: (0.1s+1)s2 = s + s2 + 0.1s+1
Multiply by s, let s → ∞: 0 = A + 0.01/0.1 = A + 0.1, so A = −0.1.
′ 1 −t/0.1
Tm (t) = −0.1 + t + 0.01 · e = (t − 0.1) + 0.1 e−10t
0.1
The actual temperatures:
T (t) = 25 + t (49)
−10t −10t
Tm (t) = 25 + (t − 0.1) + 0.1 e = 24.9 + t + 0.1 e (50)
At t = 1.0 min:
Answer
Answer
Answer
ts ≈ 4.744 τ
(For comparison, a first-order system has ts ≈ 3τ for 5% settling.)
Lag = t − (t − 2τ ) = 2τ
Answer
the asymptotic time lag is nτ . For our critically damped case (n = 2), the lag is 2τ .