Professional Documents
Culture Documents
CHEE319 Quiz1 2014 Solu
CHEE319 Quiz1 2014 Solu
CHEE319 Quiz1 2014 Solu
Instructions:
1. This is a 50 minute examination.
2. Please write your student number instead of your name on all answer booklets and sheets
submitted.
3. Please state all assumptions made.
4. Calculators are permitted.
5. This is an open-book examination. Textbooks, course notes, assignment and midterm solutions are allowed.
6. Please answer all questions.
7. There are three (3) pages in the question booklet.
8. Good luck!
Please note: If the instructor is unavailable in the examination room and if doubt exists as to
the interpretation of any question, the candidate is urged to submit with the answer paper a clear
statement of any assumptions made.
Question 1
30 Marks
Figure 1 provides the schematic description of a salt mixing tank. An aqueous salt solution enters
the tank at a flow rate Fs (m3 /s) and concentration cA0 (kg/m3 ). Water enters the tank at a flow
rate Fi (m3 /s). The salt solution leaves the tank at a flow rate Fo (m3 /s) and concentration cA
(kg/m3 ). The liquid level in the tank is denoted by h. The solution in the mixing tank is assumed
to be well-mixed. The liquid density, (kg/m3 ), is equal and constant in all streams. The cross
sectional area of the tank is denoted by A (m2 ).
The liquid level in the tank and the salt concentration at the outlet is assumed to be measured. Two
pumps are available to adjust the inlet flow of salt and the outlet flow from the tank, respectively.
The objective is to design a control system to control the tank level, h, and the salt concentration,
cA .
cA0 , Fs
Fi
h
cA , Fo
3. For your specific choice of inputs and outputs, is the dynamical control system linear or
nonlinear?
Solution.
The outputs are the level h and the salt concentration cA . (1 mark) The inputs are Fi , Fs ,
Fo and cAo (1 mark). Fi and cA0 are disturbances (1 mark). Fs and Fo are manipulated
variables as both streams are equipped with pumps (1 mark).
Total mass balance:
dAh
= Fs + Fi Fo .
dt
Since and A are constants, we can rearrange and isolate
dh
dt
to obtain:
dh
1
= (Fs + Fi Fo )
dt
A
(7 marks)
A component balance on the salt gives:
dcA Ah
= cAo Fs cA Fo
dt
(2 marks) This is rewritten as:
Ah
dcA
dh
+ AcA
= cAo Fs cA Fo .
dt
dt
(3 marks)
Upon substitution of
dh
dt ,
we obtain:
Ah
Rearranging and isolating
dcA
+ cA (Fs + Fi Fo ) = cAo Fs cA Fo .
dt
dcA
dt ,
(10 marks)
The control system:
dh
1
= (Fs + Fi Fo )
dt
A
dcA
Fs
Fi
=
(cAo ca )
cA
dt
Ah
Ah
is nonlinear. (4 marks)
3
Question 2
10 Marks
Consider the following Laplace domain function, compute the corresponding time-domain function.
If applicable, use the final value theorem to compute the limit limt y(t).
1. Y (s) =
s+4
s(s+3)(s+2)(s2 +6s+8)
Solution:
We first factor the denominator to its simplest form. That is, we factorize the second order term
(s2 + 6s + 8) = (s + 2)(s + 4). (1 mark) This yields:
1
.
s(s + 3)(s + 2)2
Y (s) =
1
=
(s + 3)(s + 2)2
=
s=0
1
,
12
(1 mark)
2 = (s + 3)Y (s)]s=3 =
1
s(s + 2)2
s=0
1
= ,
3
(1 mark)
3 = (s + 2) Y (s)
2
(1 mark)
4 =
s=2
1
=
s(s + 3)
s=2
1
= ,
2
2s + 3
1
(s + 2)2 Y (s)
= 2
= .
2
s
s
(s
+
3)
4
s=2
s=2
1
1
1
1
+
.
2
12s 3(s + 3) 2(s + 2)
4(s + 2)
1
1
1
1
e3t te2t + e2t .
12 3
2
4
(3 marks)
The limit of y(t) as t exists. The final value is given by sY (s)]s=0 =
Question 3
1
12 .
(1 mark)
10 Marks
Using Laplace transforms, solve the following second order ordinary differential equations:
4
1.
0,
dy(t)
d2 y(t)
+
3
+
2y(t)
=
2,
dt2
dt
t<1
t1
dy(0)
= 0, y(0) = 0.
dt
2es
s(s + 1)(s + 2)
(1 mark) We then compute the inverse Laplace transform of the undelayed part of the solution. By
partial fraction, we obtain:
2
1
2
3
=
+
+
.
s(s + 1)(s + 2)
s
s+1 s+2
By Heaviside expansion:
1 = sY (s)]s=0
2
=
(s + 1)(s + 2)
= 1,
s=0
(1 mark)
2 = (s + 1)Y (s)]s=1
2
=
s(s + 2)
= 2,
s=1
(1 mark)
3 = (s + 2)Y (s)]s=2
2
=
s(s + 1)
= 1,
s=2
(1 mark)
As a result,
1
g(t) = L
2
= 1 2et + e2t .
s(s + 1)(s + 2)
0
t<1
y(t) =
.
1 2e(t1) + e2(t1) t 1
(2 marks)