IJLRET
Analysis of Step Response, Impulse and Ramp Response in the Continuous Stirred Tank Reactor System
*
Zohreh Khoshraftar
1, Pirouz Derakhshi
21,2(Department of Chemistry, Science and Research Branch, Islamic Azad University, Tehran, Iran)
Abstract:
The three main type reactor developed for batch, continuous-stirred tank, and plug-flow reactors are useful for modeling many complex chemical reactors. In this work, step response, impulse and ramp response is studied theoretician in a continuous stirred tank reactor. The aim of this study is to investigate the mathematical analysis on functions response in a continuous stirred tank reactor. The parameters assumed for analysis are the flow rate is constant for the whole system, , the volume of three thanks is the equal : V1= V2= V3= VT= 1.05 m3 and reaction rate K= 0.04 min-1. all three transfer function showed favorable results.Keywords:
Step Response, Ramp, Impulse Response, CSTR.I. INTRODUCTION
There are several types of reactors used in chemical or biochemical industries. Continuous stirred tank reactors in the form of either single tank or (or more often) tanks in series, are used widely and these are particular suitable for liquid phase reactions (Danish et al, 2015).
The control of the operation of chemical reactors has attracted the attention of researchers for a long time (Adebekun,1996). The three main reactor types developed thus far batch, continuous-stirred tank, and plug-flow reactors are useful for modeling many complex chemical reactors.
Continuous stirred tank reactor system (CSTR) is a typical chemical reactor system . The CSTR consists of three tanks as showed in Figure 1. It is suppose that the overflow tanks are well-mixed , and the density is the equal in three tanks. So the assumptions for the overflow tanks, the volumes in the two tanks can be taken to be constant, and all flows are constant and same (Saad et al, 2013).
In this work, step response, impulse and ramp response is studied theoretician in a continuous stirred tank reactor. The aim of this study is to investigate the mathematical analysis on functions response in a continuous stirred tank reactor.
II. RESULT AND DISCUSSION
Modeling of the continuous stirred tank reactor system
Figure 1 shows the simple concentration process control. It is assumed that the overflow tanks are well- mixed isothermal reactors, and the density is the same in three tanks. Due to the assumptions for the overflow tanks, the volumes in the three tanks can be taken to be constant, and all flows are constant and equal. It is assumed that the inlet flow is constant. Figure 2 shows the block diagram of three tanks of chemical reactor.
Fig1.The simple concentration process control
3
0.085 min F m
IJLRET
Fig. 2 The block diagram of the three tank system The transfer function of the first tank can be expressed as follows:
(1)
Where F is the flow, CA0is the inlet concentration of the first tank, CA1is the outlet concentration of the first tank, CA2 is the outlet concentration of the Second tank and it too the inlet concentration of third tank, CA3 is the outlet concentration of third tank, V1 is the volume of the first tank and K is the reaction rate. Equation 1 can be rearranged to be after simplify:
(2)
By taking Laplace transform from equation (2):
The transfer function of the first tank can be represented as (3):
(3)
Where Kp1 is the gain of the transfer function of the first tank. The transfer function of the second tank can be expressed as follows:
(4)
Equation 4 can be rearranged to be (5):
(5)
1
0 1 1 1
1
1
A
A A A
dC FC FC V KC dt V
1 1
0 1
1 1
A
A A
dC F F KV
C C
dt V V
1 1
1 1
0 1
A
A A
dC F KV F
C C
dt V V
1 0
1 1
1 1
A A
dCA F
C C
dt V
1 1 0
1 1
( ) 1 ( ) ( )
A A A
SC s C s F C s
V
1 0
1 1
( ) 1 ( )
A A
C s S F C s
V
1
1 1 1 1 1 1
0 1 1 1
1
( )
( ) 1 1 1 1
A
A
p
F V
F F
C s V V F KV F KV K
C s s s s
S
2
1
-
2-
2 2 2 AA A A
FC FC V KC V dC
dt
1
0 1 1 1 1
A
A A A
FC FC V KC V dC
dt
2
2 1
2 2
1
A
A A
dC F
C C
dt V
IJLRET
By taking Laplace transform and rearranging equation 5, the transfer function of the second tank can be obtained:
(6)
Where is the time constant for the second tank.
The transfer function of the third tank can be expressed as follows:
(7) Equation 7 can be rearranged to be (8):
(8)
By taking Laplace transform and rearranging equation8, the transfer function of the third tank can be obtained:
(9)
Where
The transfer function of the combined three tanks with the assumed parameters can be presented equation (10):
(10)
Figure 3 shows the block diagram of the open loop combined three tank system.
Fig3. The block diagram of the open loop system
The transfer function of the whole system can be obtained according to the following assumptions of parameters:
1- The flow rate is constant for the whole system . 2- The volume of the three thanks is the equal:
3- Reaction rate .
Due to time constants ( ) and the gains are same for three tank, they can be calculated as follow:
2 2
1 2
( )
( ) 1
A
A
C s K
pC s s
2
2 p
K F
F KV
3
3 2
3 3
1
A
A A
dC F
C C
dt V
3 3
2 3
( )
( ) 1
A
A
C s K
pC s s
3
3 p
K F
F KV
3 3
0 3
( ) ( )
( ) ( 1) 3
A
A
C s K
pG s C s s
3
0.085 min F m
1 2 3
1.05
3V V V V
T m 0.04 min
1K
1.05 8.26
0.085 (0.04 1.05) V
F KV
3
2
-
3-
3 3 3 AA A A
FC FC V KC V dC
dt
IJLRET
Transient response
The transfer function of a first- order system has been studied. Due to the study of response to different common forcing function: step, impulse, and ramp.
Step response
The transfer function, which is written by equation (11), is
(11) (1.11)
Combining equation (11) and (1.11) gives:
(2.11) This can be expanded by partial fractions to give:
Multiply equation by the denominator:
Simplify:
Combining equation (11) and (1.11) gives:
(2.11)
This can be expanded by partial fractions to give:
Multiply equation by the
denominator:
Simplify:
Solve the unknown parameters by plugging the real roots of the denominator:
For the denominator roots 0 and
:Plug in the solutions to the known parameters:
Expand:
0.669
p
K F
F KV
3
0
0.29942 ( ) ( )
( ) (8.26 1) 3
A A
G s C s
C s s
3 3
0.29942 ( ) (8.26 1) C s
As s
0.29942
3 (8.26 1) 2 3
(8.26 1) (8.26 1) (8.26 1)
C
A B D
s s
s s s s
3 3 3 3 3
3 2 3
0.29942 (8.26 1) (8.26 1) (8.26 1) (8.26 1) (8.26 1)
(8.26 1) (8.26 1) (8.26 1) (8.26 1)
s s As s Bs s Cs s Ds s
s s s s s s
3 2
0.29942 A (8.26 s 1) Bs (8.26 s 1) Cs (8.26 s 1) Ds
3 3
0.29942 ( ) (8.26 1) C s
As s
0.29942
3 (8.26 1) 2 3
(8.26 1) (8.26 1) (8.26 1)
C
A B D
s s
s s s s
3 3 3 3 3
3 2 3
0.29942 (8.26 1) (8.26 1) (8.26 1) (8.26 1) (8.26 1)
(8.26 1) (8.26 1) (8.26 1) (8.26 1)
s s As s Bs s Cs s Ds s
s s s s s s
3 2
0.29942 A (8.26 s 1) Bs (8.26 s 1) Cs (8.26 s 1) Ds
0, 1 s s 8.26
1 s 8.26 0.29942, 2.47312
A D
3 2
0.29942 0.29942(8.26 s 1) Bs (8.26 s 1) Cs (8.26 s 1) ( 2.47312) s
0
( ) ( )
0( ) 1
A A
C t U t C s
s
IJLRET
Group elements according to power of s:
Equate the coefficients of similar terms on both sides to create a list of equation:
Solve system of equations:
Plug the solutions to the partial f partial fraction parameters to obtain the final results:
Inverse Laplace :Taking
Solve the unknown parameters by plugging the real roots of the denominator:
Ramp Response:
The transfer function, which is written by equation (12) is
(12)
Combining equation (12) and (1.12) gives:
This can be expanded by partial fractions to give:
Multiply equation by the denominator:
Simplify:
Solve the unknown parameters by plugging the real roots of the denominator:
For the denominator roots 0 and :
Plug in the solutions to the known parameters:
Expand:
2 3 2 2 2
0.2994268.2276Bs 168.74113s 16.52Bs 8.26Cs 61.28612s Cs4.94651sBs0.29942
3 2
0.29942s (68.2276B 168.74113)s (8.26C 16.52B 61.28612)s(4.94651 B C) 0.29942
4.94651 0
68.2276 8.26 61.28612 0 68.2276 168.4113 0
C B
B C
B
2.47321, 2.4733 B C
3
0.29942 ( 2.47321) ( 2.4733) ( 2.47312) ( ) (8.26 1) (8.26 1) 2 (8.26 1) 3 C s
As s s s
3( ) 0.29942 0.29942 0.121065 ( 0.0362507 0.121065 )( 0.00219419 0.121065 2)
A
t t t
C s
e
e
t e
t
3
0 3
( ) 3
( ) ( ) ( 1) 3
A p
A
C s K
G s C s s
0 0
( ) ( ) 1
A A
2
C t t C s s
3
3
3
0.29942 ( ) 2 ( 1) 3 2 (8.26 1) 3
p A
C s K
s s s s
2 3 2 2 3
0.29942
(8.26 1) (8.26 1) (8.26 1) (8.26 1)
A B C D E
s s s s s s s
2 3 2 3 2 3 2 3 2 3 2 3
2 3 2 2 3
0.29942 (8.26 1) (8.26 1) (8.26 1) (8.26 1) (8.26 1) (8.26 1)
(8.26 1) (8.26 1) (8.26 1) (8.26 1)
s s As s Bs s Cs s Ds s Es s
s s s s s s s
3 3 2 3 2 3 2
0.29942 As (8.26 s 1) B (8.26 s 1) Cs (8.26 s 1) Ds (8.26 s 1) Es
0, 1 s s 8.26
1 s 8.26 0.29942
B
20.42428 E
3 3 2 3 2 3 2
0.29942 As (8.26 s 1) 0.29942(8.26 s 1) Cs (8.26 s 1) Ds (8.26 s 1) 20.42428 s
IJLRET
Group elements according to power of s:
Equate the coefficients of similar terms on both sides to create a list of equation:
Plug the solutions to the partial fraction parameters to obtain the final results:
Inverse Laplace :Taking
Impulse response
The transfer function, which is written by equation (13) is
Combining equation (13) and (1.13) gives:
This can be expanded by partial fractions to give:
Multiply equation by the denominator:
Simplify:
Solve the unknown parameters by plugging the real roots of the denominator:
Plug in the solutions to the known parameters:
4 4 3 2
0.29942 68.2276 Cs 563.5598 As 204.6828 As 8.26 Ds
3 2 2 2 2 2
168.74113 s 16.52 Cs Cs 81.7104 s 24.78 As Ds As 7.41963 s 0.29942
4 3
0.29942 s 68.2276 C 563.5598 A s 8.26 D 16.52 C 168.74113 204.6828 A
2
24.78 81.7104 7.41963 0.29942
s A C D s A
7.41963 0
81.7104 24.78 0
204.6828 8.26 168.74113 16.52 0 68.2276 563.55998 0
A
C A D
A D C
C A
7.41963, 61.2862, 40.8618
A C D
3 2 2 3
7.41963 0.29942 61.2862 40.8618 20.42428
( ) 8.26 1 (8.26 1) (8.26 1)
C s
As s s s s
3
1
0.121065 0.121065 2
( ) 7.41963 0.29942 7.41963
8.260.5989 0.0181208
A
t t
C t t e
te
e
t
3
0
3
( ) ( ) 3
( ) ( ) ( ) ( 1) 3
A A
Y s C s Kp
G s X s C s s
0
( ) ( )
0( ) 1
A A
C t t C s
3
3
3
3 (0.669)
( ) ( 1) 3 (8.26 1) 3
A
C s Kp
s s
3 3 3 3
3
3 ( 1) 2 3
( 1) ( 1) ( 1)
A C
Kp B
s s s s
3 3 3 3
3 3 3
3 3
3 3 3 ( 1)
0.29942( 1) ( 1) ( 1)
3 8.26 1 2 ( 1)
( 1) ( 1)
C s
s A s B s
s s
s s
3 3
0.29942 A ( s 1)
2 B ( s 1) C 1
s 8.26
0.29942
C
IJLRET
Expand:
Group elements according to power of s:
Equate the coefficients of similar terms on both sides to create a list of equation:
Plug the solutions to the partial fraction parameters to obtain the final results:
Inverse Laplace:
III. CONCLUSION
The mathematical analysis on transform of the response is investigate in a continuous stirred tank reactor. All three transfer function showed favorable results.
References
[1]. Adebekun. (1996). Output feedback control of a stirred tank reactor, Computers and Chemical Engineering, 20 (8), 1017–1021.
[2]. Danish and et al, (2015). Effect of Operating Conditions on CSTR performance: an Experimental Study. Journal of Engineering Research and Applications. 5 (2)74-78.
[3]. Saad and et al. (2013), Modeling and Control Design of Continuous Stirred Tank Reactor System.Proceedings of the 15th International Conference on Automatic Control, Modelling &
Simulation (ACMOS '13).
0.29942 A (8.26 s 1)
2 B (8.26 s 1) 0.29942
0.29942 68.2276 As
2 16.5 As A 8.26 Bs B 0.29942
0.29942 68.2276 As
2 s 16.5 A 8.26 B 0.29942 B A
16.5 8.26 0
0.29942 0.29942
68.2276 0
A B
B A A
3
0.29942
0, 0, ( )
(8.26 1) 3 A B C s
As
2 3
0 0 0.29942 ( )
8.26 1 (8.26 1) (8.26 1) 3
C s
As s s
3
( ) 0.29942 (8.26 1) 3 C
As
s
3
( ) 0.000265651 0.121065 2
A