CHEE319 Quiz1 2014 Solu

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Queens University at Kingston

CHEE 319 - Winter 2014


Process Dynamics and Control
M. Guay
Quiz 1

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

Figure 1: Salt mixing tank.

For this process, you are asked to perform the following:


1. Identify the inputs and outputs of the system. Classify inputs as disturbances or manipulated
variables.
2. Develop a dynamic model that describes the relationship between the inputs and outputs.
2

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 ,

the following equation is obtained:


dcA
Fs
Fi
=
(cAo ca )
cA .
dt
Ah
Ah

(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) =

By partial fraction expansion, we obtain: (1 mark)


1
2
3
4
Y (s) =
+
+
+
.
2
s
s + 3 (s + 2)
s+2
By Heaviside expansion, the i are given by:
1 = sY (s)]s=0

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

(2 marks) As a result, one obtains:


Y (s) =

1
1
1
1

+
.
2
12s 3(s + 3) 2(s + 2)
4(s + 2)

Taking the inverse Laplace gives the following:


y(t) = L1 [Y (s)] =

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

Solution: Taking the Laplace transform on both sides yields:


2
s2 Y (s) + 3sY (s) + 2Y (s) = es
s
(1 mark for taking the Laplace of the RHS, 1 mark for taking the Laplace of the delayed step)
Solving for Y (s) yields:
2es
Y (s) =
.
s(s2 + 3s + 2)
We factorize the denominator as follows:
Y (s) =

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)

(2 marks) The final solution is the delayed function given by:

0
t<1
y(t) =
.
1 2e(t1) + e2(t1) t 1
(2 marks)

You might also like