Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Article history: Separation of two immiscible liquids by a decanter is an important unit operation widely used in petro-
Received 7 April 2017 chemical processes. However, fluctuations in the feed stream create a difficulty in achieving the desired
Received in revised form 10 October 2017 product by such a unit due to the limitations of interface detection and entrainment of heavy phase into
Accepted 18 October 2017
a light phase. This research proposes techniques for estimating and controlling the interface position.
Available online 18 October 2017
The interface position is calculated by using information from an ultrasonic sensor and a pressure trans-
ducer. An input/output linearizing controller is applied to control the interface position and total liquid
Keywords:
height by adjusting the outflows of each liquid phase. A real-time estimator predicts the feed fraction
Two-phase vertical decanter
Input/output linearization
that cannot be measured directly. The proposed method is evaluated through servo and regulatory tests
Interface estimation with a bench-scale palm-oil/water decanter. The experimental results show that the developed method
Model-based control forces outputs to desired setpoints effectively despite the presence of feed disturbances.
Advanced process control © 2017 Elsevier Ltd. All rights reserved.
Palm-oil/water separation
https://doi.org/10.1016/j.compchemeng.2017.10.022
0098-1354/© 2017 Elsevier Ltd. All rights reserved.
W. Chonwattana et al. / Computers and Chemical Engineering 108 (2018) 372–381 373
F 1980 mL/min
d (w hw A)
= ˛Fmix − FW W (1) Fo 630 mL/min
dt Fw 1350 mL/min
where hW is the interface level; F and FW are the flow rates of the o 915 kg/m3
w 1009 kg/m3
mixed feed and water, respectively; A is the cross-sectional area of
˛ 0.688
the decanter; ␣ is the water mass fraction; W is the density of the A 1.76 × 10−2 m2
water; and mix is the density of the mixed feed, which is defined
as follows:
fraction (␣) is the time-varying parameter. The Eqs. (3) and (5) are
mix = (1 − ˛)O + ˛W (2)
nonlinear because the water mass fraction exists in the nonlinear
where O is the density of the palm oil. form. By managing the outflows, the dynamics of both levels are
By substituting Eq. (2) into Eq. (1), the dynamics of the water constantly changed due to an imbalance between the inflow and
level can be expressed by outflows. Note that the process parameters and their values are
dhW 1
O
given in Table 1.
= ˛2 F + (1 − ˛) · ˛F − FW (3)
dt A W
3. Development of the controller system for the vertical
2.2. Total mass balance in the vertical decanter decanter system
The overall mass balance in the decanter system is as follows: The control objective of this study is to regulate the interface
level (y1 = hW ) and the total liquid height (y2 = H) by adjusting the
d(O A(H − hW ) + W AhW ) outflows of the water layer (u1 = FW ) and the palm-oil layer (u2 = FO ).
= Fmix − (FO O + FW W ) (4)
dt The water mass fraction ( = ␣) is a time-varying unmeasured
where H is the total liquid height and FO is the palm-oil flow rate. parameter in the system. A schematic diagram of the proposed
By substituting Eqs. (2) and (3) into Eq. (4), the dynamics of the control system, which consists of the I/O linearizing controller
total liquid height can be rewritten as and the parameter estimator and compensator, is shown in Fig. 2.
Details of the control system are given in the following subsec-
dH 1 (2 + O2)
= (F · (1 − ˛(1 − ˛)) · (2 − W ) − FO − FW ) (5) tions.
dt A W O
The interface level (hW ) and the total liquid height (H) are the con- 3.1. Input/output linearizing controller
trolled variables, while the palm-oil flow rate (FO ) and water flow
rate (FW ) are the manipulated variables. In operation, the mixed I/O linearization is a method that a relationship of the nonlinear
feed flow (F) is the measurable disturbance, and the water mass behavior between input and output is transformed to be a linear
W. Chonwattana et al. / Computers and Chemical Engineering 108 (2018) 372–381 375
relation. This is achieved by repeatedly differentiating the output y The I/O linearization in Eq. (8) with the decanter dynamic model
with respect to time until it is explicitly related to the input u, which becomes
is called relative order. A review of I/O linearization approach can
1 O
be found in (Henson and Seborg, 1997; Kanter et al., 2001). ˇ1 ( ( 2 F + (1 − )F − u1 )) + y1 = v1
A W
A nonlinear process can be represented in the general form: (10)
1 (2 + O2)
ˇ2 ( (F · (1 − (1 − )) · (2 − W ) − u1 − u2 )) + y2 = v2
A O W
ẋ = f (x, u, )
(6)
y = h(x) By analytically solving Eq. (10) for u1 and u2 , the controllers can
be expressed by
ẏ = f (u, ) (7) The studied decanter system is the integrating process which
is sensitive to input disturbances. Thus, the following form of the
The closed-loop responses for the outputs are requested in the compensator is introduced to compensate the output offset from
form as follows: unmeasured disturbances and model mismatch
r
ỹ˙ = f u, ˆ
(ˇD + 1) y = v (8)
1
(13)
˙ = diag (ỹ − )
where D is a differential operator (i.e.D = d/dt), v is the vector of the
setpoints, ˇ is the vector of positive tuning parameters setting the
v = ysp − y +
speed of the closed-loop response and r are the relative orders of
the outputs. The smaller the values of ˇare, the faster the closed- where ỹ is the vector of predicted outputs by the open-loop model
loop responses of the outputs obtained. The relative order of the with the time-varying parameter (), ˆ denote the vector of pre-
output i with respect to the inputs are denoted by ri , where ri is the dicted outputs under the first-order low-pass filter, is the vector
smallest integer such that ∂[dri yi /dtri ]/∂u =
/ 0. It is straightforward of positive tuning parameters and v is the vector of compensated set
that the relative orders of the outputs are both equal to one (r1 , points. The tuning of necessarily has to balance between a con-
r2 = 1): vergence speed and a noise reduction. A smaller value of results
in a faster convergence in the estimation but it also induces a higher
r = 1; ẏ1 = f1 (u1 , ) noise in the predicted output. The desired setpoint has been com-
(9) pensated by a deviation between the filtered estimate and actual
ẏ2 = f2 (u1 , u2 , ) outputs. By substituting the decanter model into Eq. (13), the out-
376 W. Chonwattana et al. / Computers and Chemical Engineering 108 (2018) 372–381
put compensator can be expressed as follows Therefore, the parameter estimator for the decanter described
by Eq. (17) can be expressed as follows
ˆ = 1 (ˆ 2 F + O (1
ỹ˙ 1 = f1 (u1 , ) ˆ − u1 )
ˆ − )F ˆ
F ˆ O (1 − 2)
A W (2 + )
∂f A W
(2 + O2) ( )=[ ]
ˆ = 1 (F · (1 − (1
ỹ˙ 2 = f2 (u1 , u2 , ) ˆ − ))
ˆ · (2 − W ) − u1 − u2 ) ∂ˆ F (2 + O 2)
A O W (−1 + 2)ˆ · (2 − W ) (19)
A O W
1 T −1 T ¯
(ỹ1 − 1 )/1 − f1 (u1 , )
˙ 1 = (ỹ1 − 1 ) ∂ f ∂ f ∂ f
1 ˆ = ¯ + [( ) ( )] ( ) [ ]
1 ∂ˆ ∂ˆ ∂ˆ ¯
(ỹ2 − 2 )/2 − f2 (, u1 , u2 , )
˙ 2 = (ỹ2 − 2 )
2
v1 = y1sp − y1 + 1 3.3. Interface estimation for the palm-oil/water decanter
v2 = y2sp − y2 + 2 The interface level (y1 ) cannot be measured in real time directly.
(14) Thus, a new method to estimate the interface position is proposed
by using a total static pressure of the liquids in the decanter and
measurements from the ultrasonic sensor and pressure transducer.
As mentioned previously, the interface level in the decanter A relation of total static pressure of the liquids can be described by
depends on the mixture feed rate, feed fraction, and outflows pg = W ghW + o g(H − hW ) (20)
of palm oil and water. In practice, the water mass fraction of
feed stream parameter cannot be measured directly, and it has By solving Eq. (20) for the interface level (hW ), the interface
been changed with the operating condition. To improve the pre- position can be calculated by the relation in Eq. (21) and the mea-
diction accuracy, a time-varying parameter estimator based on a surements from ultrasonic sensor and pressure transducer.
dynamic-inversion-based technique is introduced. The dynamic pg − O gy2
inversion-based parameter estimation is the method that performs y1 = (21)
g(W − O )
a least square error to calculate the process parameters at each time
interval by left inversion of the process model. It has been received 4. Experimental results
much attention (Tatiraju and Soroush, 1998; Panjapornpon and
Soroush, 2007; Ding, 2014) because of its simplicity and efficiency 4.1. Experimental setup
to use for estimating unknown time-varying process parameters
in real time. A review of the dynamic-inversion-based estimation To evaluate the real-time control performance of the system,
technique used in this work can be found in Panjapornpon and the bench-scale, vertical decanter unit described in Section 2 is
Soroush (2007). connected to an embedded device NI myRIO-1900 (National Instru-
For each time interval, the estimated time-varying parameter ments, later called “myRIO target”). The myRIO target allows a user
ˆ is calculated by assuming the vector of inputs (u) to be constant
() to embed a control algorithm into the hardware with the use of Lab-
over the time. The open-loop model in Eq. (13) is approximated by VIEW. Furthermore, the user can access it via a wireless network to
the first-order Taylor expansion around the nominal value of the monitor the process.
time-varying parameter (), ¯ which is
As regards the process instruments, the total liquid height is
measured by an ultrasonic sensor (a level span of 0.20–0.80 m),
∂f ˆ ¯ while the static pressure of the liquid is measured by a pressure
ỹ˙ = f u, ˆ ≈ f u, ¯ + ( − ) (15)
∂ˆ transducer (a pressure span of 0–0.3 bar). The mixture feed pre-
pared by supplying fresh water and palm oil streams to a mixing
tee is continuously fed to the middle of the vertical decanter. It
where f u, ¯ is the nominal open-loop output response and then gradually separates into two layers: a palm-oil layer and a
∂f ˆ ¯ is the deviation of output by a change of time-varying
( − ) water layer. The water mass fraction of the mixture feed (␣) can
∂ˆ
parameter from the nominal value. If ŷis forced to go to y asymp- be varied by adjusting the speed of peristaltic pumps (a flow rate
totically, ˆ will converge to and ŷ equal to ỹ. Hence 200–6000 mL/min) for each supplied stream. Levels of palm-oil and
water layers are managed by the peristaltic pumps (a flow rate
Table 2
Closed-loop performance under step response.
points faster and with less oscillation compared to the PI and LQR
controllers. The outputs under the PI controller oscillate and move
around the setpoint, especially in the case of the total liquid height
and for some periods of the control action settling at the upper
limit of the oil flow rate. It can be seen that the LQR controller has
the same success for the closed-loop test as the proposed controller,
but it has the excessive control actions, resulting in high overshoot-
ing in the outputs. Table 2 shows and compares the performances
of both the proposed method, PI controller and LQR controller for
various indexes. The results show that the proposed method has
overall better performance compared to the PI and LQR controllers.
The small oscillations of the calculated interface level are caused by
measurement noise which is due to signal amplification, as well as
the pressure swing due to the movement of liquids in the decanter.
Although the LQR controller has some slightly better closed-loop
performance in the settling time and ISE indexes compared to the
PI controller, it shows the worse performance in the percentage of
the overshoot index. The excessive control actions of the LQR con- Fig. 6. Closed-loop responses of (a) interface level (hw ) and (b) total liquid height
troller could cause a pump damage or failure. Thus, the PI controller (H) under the setpoint tracking.
Fig. 8. Profiles of (a) mixture feed (F) and (b) water mass fraction (). Fig. 10. Profiles of (a) water flow rate (FW ) and (b) oil flow rate (FO ) corresponding
to the closed-loop response of Fig. 9.
Table 3
Closed-loop performance under disturbance.
Fig. 11. Closed-loop responses of (a) interface level (hw ) and (b) total liquid height
(H) under the disturbance in the mixture feed.
5. Conclusions
Fig. 12. Profiles of (a) water flow rate (FW ), (b) oil flow rate (FO ) and (c) mixture feed
In this work, a case-study application of model-based estimation (F).
and control of the interface level of a bench-scale, palm-oil/water
vertical decanter system has been discussed. The interface posi-
tion was estimated through process information of the pressure
sensor and ultrasonic sensor. The proposed technique is simple Advanced Studies in Industrial Technology, and the Center of Excel-
to implement and provides good results in the estimation of the lence on Petrochemical and Materials Technology. Support from
interface level. To obtain the control system, input/output (I/O) lin- these sources is gratefully acknowledged.
earization is used along with a parameter estimation. Performances
of the proposed control system are evaluated through setpoint
tracking and the presence of disturbances in the mixture feed.
References
The experimental results showed that integrating the real-time
estimation of the unmeasured disturbance into the control strat- Ali, A., Majhi, S., 2010. PID controller tuning for integrating processes. ISA Trans.
egy results in obvious improvement of the control performance 49, 70–78.
compared to the PI and LQR controllers. Even though fluctuations Ding, F., 2014. Combined state and least squares parameter estimation algorithms
for dynamic systems. Appl. Math. Model. 38, 403–412.
in the feed rate or feed composition occur, the proposed con- Fernandes, L.S.L., Moraes Filho, F.C., Paulo, J.B.A., Oliveira, J.A., 2013. Gain
troller successfully maintains the interface level at the desired scheduling adaptive control applied to a particular mixer-settler equipment.
setpoints, resulting in product separation without any problem of Control Eng. Pract. 21, 1121–1127.
Henson, M.A., Seborg, D.E., 1997. Nonlinear Process Control. Prentice Hall PTR,
entrainment of heavy liquid in the light product. The proposed Upper Saddle River, New Jersey.
technique provides a practical solution for monitoring and con- Jampana, P., Shah, S.L., Kadali, R., 2010. Computer vision based interface level
trol of interface level fluctuations in real-time applications, and control in separation cells. Control Eng. Pract. 18, 349–357.
Jaworski, A.J., Meng, G., 2009. On-line measurement of separation dynamics in
it can be extended to other related applications of liquid–liquid primary gas/oil/water separators: challenges and technical solutions—a
separation. review. J. Pet. Sci. Eng. 68, 47–59.
Jin, Q.B., Liu, Q., 2014. Analytical IMC-PID design in terms of
performance/robustness tradeoff for integrating processes: from 2-Dof to
Acknowledgments 1-Dof. J. Process Control 24, 22–32.
Kanter, J.M., Soroush, M., Seider, W.D., 2001. Continuous-time, nonlinear feedback
This research was financially supported by the Institutional control of stable processes. Ind. Eng. Chem. Res. 40, 2069–2078.
Liu, T., Gao, F., 2011. Enhanced IMC design of load disturbance rejection for
Research Fund Grant (Thailand Research Fund) (IRG5980004), the integrating and unstable processes with slow dynamics. ISA Trans. 50,
Faculty of Engineering at Kasetsart University, the Center for 239–248.
W. Chonwattana et al. / Computers and Chemical Engineering 108 (2018) 372–381 381
Narang, A., Shah, S.L., Chen, T., Shukeir, E., Kadali, R., 2015. Interface level Skeie, N.-O., Halstensen, M., 2010. Level estimation in oil/water separators based
regulation in an oil sands separation cell using model-based predictive control. on multiple pressure sensors and multivariate calibration. J. Chemom. 24,
Int. J. Miner. Process. 145, 94–107. 387–398.
Panjapornpon, C., Soroush, M., 2007. On-line parameter estimation through Tatiraju, S., Soroush, M., 1998. Parameter estimator design with application to a
dynamic inversion: a real-time study. Ind. Eng. Chem. Res. 46, 2503–2507. chemical reactor. Ind. Eng. Chem. Res. 37, 455–463.
Rice, B., Cooper, D., 2002. Design and tuning of PID controllers for integrating
(non-self regulating) processes. Tech. Pap. ISA 422, 437–448.