Anda di halaman 1dari 6

2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

Real Time PID Control for Hydro-diffusion Steam


Distillation Essential Oil Extraction System Using
Gradient Descent Tuning Method
Zakiah Mohd Yusoff#1, Zuraida Muhammad#2, Mohd Noor Nasriq Nordin#3, Mohd Hezri Fazalul Rahiman#4,
Mohd Nasir Taib#5
#Faculty of Electrical Engineering, UiTM Shah Alam,Selangor, Malaysia
1
zakiah_yusoff@yahoo.com
2
muhammmad_zuraida@yahoo.com
3
nasriq85@yahoo.com
4
hezrif@ieee.org
5
dr.nasir@ieee.org

Abstract—This paper present the implementation of real chromatography coupled to mass spectrometry (GC-MS) [1, 4-
time PID controller for hydro-diffusion steam distillation 6].
essential oil extraction system based on comparison of Steam distillation is the earliest and popular extraction
Gradient Descent (GD) and Ziegler Nichols (ZN) tuning technique for most botanical materials[7] compared to others
methods. The first order of Auto Regressive Exogenous techniques such as solvent extraction, expression and critical
(ARX) model was used to describe the behavior of the fluid extraction[1, 6]. The proportion of essential oils extracted
temperature system and will be use in the controller by steam distillation is 93% compared to the remaining only
design. A PID controller is expected to execute a robust 7% of essential oil extracted[1]. Steam distillation usually
response towards parameters changes and better control of applied on the fresh and dried material[8]. Based on the review
steam temperature during distillation process. The system above, the author already developed new system that uses
had been evaluated based on rise time, % overshoot, steam which is hydro-diffusion steam distillation system.
settling time and root mean square error (RMSE). The There are several factors affect the extraction yield such as
temperature control was achieved by controlling the temperature, pressure, distillation time, chemical composition
voltage fed to the heater ranging from 0V to 5V via digital- and particle size [9]. This paper concentrating on steam
to-analogue converter (DAC). Robustness test of the PID temperature as a controlled variable since it is one of the
controller are based on: i) introduce disturbance and ii) significant factors in the extraction process. Controlling and
set-point tracking. From the result, the performance of PID maintaining the temperature at the desired is a bit challenging
controller using GD tuning method reveals that this tasks due to various factors such as slow dynamic response
controller can be adapt for the system because being and process have lag or time delay[10, 11]. In order to make
sensitive to parameters changes and robust as the response sure the quality of essential oil, a good temperature controller
can compensate the load disturbance and set point change. is needed. The PID controller have been well developed for
industrial and process control today [11, 12, 13] due to
Keywords— Gradient descent, Ziegler Nichols, ARX model, simplicity, ease of design, low cost and effectiveness for most
hydro-diffusion, distillation process, set-point tracking. linear systems [12]. The application of PID controller in
hydro-diffusion steam distillation essential oil extraction
I. INTRODUCTION system is expected to execute a robust response towards
parameters changes and better control of steam temperature
Essential oils (EO) can be defined as the volatile aromatic during distillation process.
compound by extraction process which can be found mostly In later part of the paper is organized as follows: In section
from plant’s flowers, bark, wood, leaves, root, seed or resin [1, 2, hardware set up and system configuration is presented.
2] and it stored in the pockets of the botanical material which Section 3 describes the plant’s modeling and followed by PID
can be extracted by either breaking, heating or stirring the controller design in section 4. The results of experimental
pockets in boiling water[3]. The usage of essential oil covers evaluation of the proposed technique on the hydro-diffusion
in aromatherapy, food and beverages, perfume, antibacterial steam distillation are presented in Section 5, which is followed
activity, and spa practices [2, 4, 5]. Generally, an analytical by the concluding remarks.
procedure for essentials oils can be categories into two steps:
extraction process (such as steam distillation, hydro-distillation,
simultaneous distillation-extraction and solvent extraction),
and analysis process gas chromatography (GC), gas

978-1-4673-2036-8/12/$31.00 ©2012 IEEE 288


2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

II. METHODOLOGY The system consists of three phase 240 Vac immersion
i. Hydro-diffusion steam distillation essential oil type heater with a power rating of 1.5kW. The sensor is a
extraction system platinum sensing element, PT-100 3 wires type placed in the
Hydro-diffusion steam distillation essential oil extraction material tray. PT100 connected with the signal conditioning
system is visualized as in Figure 1 and installed at Distributed circuit varies in terms of resistance value of 100ohm at 0 oC.
Control System Laboratory (DCS) in University Teknologi The temperature control was achieved by controlling the
Mara, Malaysia. The distillation column with 10 litre water is voltage fed to the heater ranging from 0V to 5V via digital-to-
heated by immersion heater to produce steam. Pressurized analogue converter (DAC). Computer was used as a control
steam is supply from the top of the plant and passed through unit. PCI-1711 Advantech card was used to interface between
the botanical materials. Pressurized steam is used to vaporize hardware and control unit. Software for the system was
the volatile oils in the plant material. The steam and oil vapor developing using MATLAB programming to monitor the
mixture is then going down through the small tube to the signal response and for real-time implementation, MATLAB
condenser. The implementation of heating process in pilot Real Time Workshop (RTW) was employed.
plant of essential oil extraction system is described in Figure 1.
III. PLANT’S MODELING
Modeling approach basically starts with the design of
experiment to obtain input and output data, followed by model
structure selection, then model estimation and lastly is model
validation. The Auto Regressive Exogenous (ARX) model was
used to describe the behavior of the global model based on the
RTD relationship between input and output data. The system is
perturbed with Pseudo Random Binary Sequence (PRBS) as
an input and temperature as an output signal. The PRBS
amplitude is selected to adhere at maximum of 100% from the
full scale (5V) when PRBS signal is 1 and 50% of full scale
(2.5V) when the PRBS signal at 0. The output of steam
temperature response and PRBS input as in Figure 3.

Temperature vs time sample


95

90
T em p e ra tu re (oC )

85

Figure 1 The hydro-diffusion steam distillation essential oil extraction 80

system

ii. System Configuration 75

The system is divided into 3 main parts which is process PB=0.4

plant, data acquisition using PCI-1711 card and control unit as 70


0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000

in Figure 2 below. Time sample (s)

(a)
PRBS input
1

0.9

0.8

0.7

0.6
O n /O ff

0.5

0.4

0.3

0.2

0.1

0
0 500 1000 1500 2000 2500 3000
Figure 2 Block diagram of system configuration Time(sec)

(b)
Figure 3 Input-output data of heating process, (a) output, (b) input.

289
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

There are 5000 input-output data collected in this The PID controller is give in equation (4) where Kp, Ki,
experiment. The PRBS signal is generated with PB=0.4 and and Kd is the coefficients for proportional (P), integral (I) and
clock period factor Nb=2.5 (Nb=1/PB). All data have been derivative (D) respectively whereas e (t) is the error.
sampled at Ts=1. The initial temperature at steam tray is 70.8
o
C and was gradually increased up to 94.1 oC. (4)

i. ARX Modeling
The fundamental of ARX model structure is given by There are three gain parameters consists in PID controller.
equation (1) below [14] In this study, GD and ZN tuning methods were applied to tune
these parameters. The Ziegler-Nichols tuning method is well
(1) known and often forms the basis for tuning procedures used by
control system vendors. In the ZN approach, simple formulas
for PID controller settings are expressed in terms of ultimate
where the polynomials A(q) and B(q) are given by gain Ku and ultimate period Tu of the process. The
disadvantages of experimentally determining the critical
(2) parameters are that the system can be brought to a state of
instability [15, 16]. To overcome these problems, gradient
descent optimization is applied to tune these parameters and
where q-1 is the delay operator and e(t) represent the white was done by simulation. Gradient descent is one of the
noise. optimization techniques to tune important parameter
The input-output data are divided equally into 2 sets: odd simultaneously. The method improves dynamic and steady
number samples data (1, 3, 5...) are used for estimation, the state response and maintains the frequency at desired level [17,
even number samples (2, 4, 6...) are used for validation 18].Gradient descent tuning algorithm requires no knowledge
purposed by using interlacing technique. The modeling is done of the plant to be controlled. This makes the algorithm robust
by using model order 1. The obtained ARX model was to changes in the plant. It also makes the algorithm universally
employed as in equation (3) applicable to linear and nonlinear plants, with or without noise,
with or without time delay. The algorithm achieves the tuning
A(q) = 1 - q-1 objective by minimizing an error function [19].
(3)
The PID parameters are tabulated in Table 1 for GD and
B(q) = 0.0082 q-1 Table II for ZN tuning method .The tuned parameters of PID
controller that was done by simulation is tested on the real
In represent the system, good model should be system.
representative in all condition of the system. The validation on
ARX model shows the performance criteria using fitness, R2 is TABLE 1
98.41%.The performance criteria based on RMSE and mean
square error (MSE) are 0.1037 and 0.0108 respectively. This PID PARAMETERS USING GD
model accepted to perform further for controller design. Parameter
Kp 17.22
IV. PID CONTROLLER DESIGN Ki 0.0000288
Figure 4 illustrates the block diagram of PID module for Kd 0.0001583
controlling steam temperature for hydro-diffusion steam
distillation plant.
TABLE II

PID PARAMETERS USING ZN


Parameter
Kp 26.8
Ki 0.0002057
Kd 16.575

V. RESULT AND DISCUSSION


Figure 4 Block diagram of PID controller
i. Real Time Implementation
In this paper, PID controller is designed to control the steam
temperature at the desired temperature.

290
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

Step response performance Disturbance test


95
92

90 90

88
Steam temperature, degC

Steam temperature,degC
85 86

84

80
82

Without With
80
disturbance disturbance
75
GD 78
Setpoint
ZN 76
70
0 200 400 600 800 1000 1200 1400 1600 1800 2000 0 500 1000 1500 2000 2500
Time sample, s Time sample,s

Figure 5 PID controllers step response Figure 6 PID controllers response with disturbance

TABLE IV
TABLE III
DISTUREBANCE TEST PERFORMANCE
STEP RESPONSE PERFORMANCE PID CONTROLLER GD ZN
o o
Rise %OS Settling RMSE Tmin 87.62 C 87.42 C
PID time time (s) Time taken to go back to 151 386
CONTROLLER (s) the setpoint, (s)
GD 345 0.6700 1993 0.4239
ZN 658 0.9800 2667 0.6707 From the result in Figure 6, after introduce the disturbance
at sample 1000s, steam temperature decrease with Tmin=
o o
Figure 5 and Table III shows the step response 87.62 C and Tmin= 87.42 C for GD and ZN controller
performance for real time PID controller using GD and ZN respectively. However, time taken to go back to the set point
tuning method. In term of the rise time, GD gave faster after introduce disturbance for GD controller is two times
response with 345 s compared with the ZN with 658 s. There faster which is only 151s compared with ZN controller = 386s.
is different approximately 0.31% deviation for overshoot Significant improvement can be spotted to GD controller
between GD=0.67% and ZN= 0.98%. For a settling time because provide fast and robust response in comprising an
criteria, GD reach the faster settling time with 1993 s abrupt disturbance during running process.
compared with ZN= 2667 s. Meanwhile, the roots mean The PID controller also assessed based on the set point
squared error (RMSE) showed that PID controller using GD tracking where the actual response is expected to follow the
tuning method outperformed PID controller using ZN with reference signal, r(k):
0.4239 and 0.6707 respectively.
Robustness test of the PID controller are based on: i) o
introduce disturbance and ii) set-point tracking. The objective 80 C; for 0 <k< 700
o
of the introduce disturbance is to test ability of the PID r(k) = 85 C; for 701 <k< 1200
o
controller in comprising an abrupt disturbance during running 90 C; for 1201 <k< 1700
process. The disturbance is cut off the power supply from
1.5kW to 0W for 30 seconds and start at 1000 samples.

291
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

Setpoint change performance


[3] F. Chemat, M. E. Lucchesi, J. Smadja, L. Favretto, G.
92
Colnaghi, and F. Visinoni, "Microwave accelerated
90
steam distillation of essential oil from lavender: A
rapid, clean and environmentally friendly approach,"
88 Analytica Chimica Acta, vol. 555, pp. 157–160, 2006.
[4] E. Cassel, R. M. F. Vargas, N. Martinez, D. Lorenzo,
86 and E. Dellacassa, "Steam distillation modeling for
S t e a m t e m p e ra t u re , d e g C

essential oil extraction process," Industrial Crops and


Products, vol. 29, pp. 171–176, 2009.
84

82
[5] N. Kasuan, M. Yunus, M. H. F. Rahiman, S. R.
S.Aris, and M. N. Taib, "Essential Oil Composition
80 of Kaffir Lime: Comparative analysis between
Controlled Steam Distillation and Hydrodistillation
78
Extraction Process," Proceedings of 2009 Student
Conference on Research and Development (SCOReD
ZN
Setpoint
76
GD
2009), 2009.
200 400 600 800
Time sample,s
1000 1200 1400 1600
[6] F. Peng, L. Sheng, B. Liu, H. Tong, and S. Liu,
"Comparison of different extraction methods: steam
Figure 7 PID controllers with set-point tracking distillation, simultaneous distillation and extraction
and headspace co-distillation, used for the analysis of
Figure 7 illustrates the comparison between GD and ZN the volatile components in aged flue-cured tobacco
performance in controlling the system using step change input. leaves," Journal of Chromatography A, vol. 1040, pp.
As can be seen, at higher temperature level, both controllers 1–17, 2004.
performed well in tracking the stipulated set point. Regardless [7] P. Masango, "Cleaner production of essential oils by
of lower temperature, GD still showed a consistent and better steam distillation," Journal of Cleaner Production,
control performance compared to ZN. vol. 13, pp. 833-839, 2005.
[8] M. Rouatbi, A. Duquenoy, and P. Giampaoli,
VI. CONCLUSION "Extraction of the essential oil of thyme and black
This work demonstrates the implementation of real time pepper by superheated steam," Journal of Food
PID controller using GD and ZN tuning method for hydro- Engineering, vol. 78, pp. 708–714, 2007.
diffusion steam distillation essential oil extraction system. The
[9] N. Kasuan, Z. Yusuf, M. N. Taib, M. H. F. Rahiman,
performance of PID controller using GD tuning method
N. Tajuddin, and M. A. A. Aziz, "Robust Steam
reveals that this controller can be adapt for the system because Temperature Regulation for Distillation of Essential
being sensitive to parameters changes and robust as the Oil Extraction Process using Hybrid Fuzzy-PD plus
response can compensate the load disturbance and set point PID Controller," World Academy of Science,
change .
Engineering and Technology vol. 71, pp. 932-937,
2010.
ACKNOWLEDGEMENT [10] Z. Yusuf, Z. Janin, and M. N. Taib, "Application of
Fuzzy Logic Controller for Glycerin Bleaching
Process," Proceedings of 2009 IEEE Student
This work was conducted on the data gathered at the Conference on Research and Development (SCOReD
Faculty of Electrical Engineering, UiTM Shah Alam.The 2009), pp. 438-441, 2009.
authors would like to thank all staff involved and RMI UiTM [11] N. Tajjudin, Z. Yusuf, M. H. F. Rahiman, and M. N.
and JPbSM UiTM. Taib, "Self tuning PID Controller for Steam
Distillation Essential Oil Extraction System," 6th
REFERENCES International Colloquium on Signal Processing & Its
Applications (CSPA), pp. 259-262, 2010.
[1] H. Ebrahimzadeh, Y. Yamini, F. Sefidkon, M. [12] K. S. Tang, K. F. Man, G. Chen, and S. Kwang, "An
Chaloosi, and S. M. Pourmortazavi, "Chemical Optimal Fuzzy PID Controller," IEEE Transactions
composition of the essential oil and supercritical CO2 On Industrial Electronics, vol. 48, pp. 757-765, 2001.
extracts of Zataria multiflora Boiss," Food Chemistry, [13] Z. Yusuf, Z. Janin, and M. N. Taib, "Self Tuning
vol. 83, pp. 357–361, 2003. Fuzzy Logic Controller with Smith Structure for
[2] J. M. Roldan-Gutierrez, J. Ruiz-Jimenez, and M. D. L. Controlling Glycerin Bleaching Temperature," 2010
d. Castro, "Ultrasound-assisted dynamic extraction of IEEE Control and System Graduate Research
valuable compounds from aromatic plants and Colloquium, pp. 39-43, 2010.
flowers as compared with steam distillation and [14] N. Ismail, N. Tajjudin, M. H. F. Rahiman, and M.
superheated liquid extraction," Talanta, vol. 75, pp. N. Taib, "Modeling of Dynamic Response of
1369–1375, 2008.

292
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

Essential Oil Extraction Process," 2009 5th


International Colloquium on Signal Processing & Its
Applications (CSPA), pp. 298-301, 2009.
[15] M. Tajjudin, N. Ishak, H. Ismail, M. H. F. Rahiman, and
R. Adnan, "Optimized PID Control using Nelder-
Mead Method for Electro-hydraulic Actuator
Systems," 2011 IEEE Control and System Graduate
Research Colloquium, pp. 90-93, 2011.
[16] R. Adnan, M. Tajjudin, N. Ishak, H. Ismail, and M. H. F.
Rahiman, "Self-tuning Fuzzy PID Controller for
Electro-Hydraulic Cylinder," IEEE 7th International
Colloquium on Signal Processing and its
Applications, pp. 395-398, 2011.
[17] X. Dong and D.-X. Zhou, "Learning gradients by a
gradient descent algorithm," Journal of Mathematical
Analysis and Applications, vol. 341, pp. 1018-1027,
2008.
[18] G. Mallesham, S. Mishra, and A. N. Jha,
"Optimization of Control Parameters in AGC of
Microgrid using Gradient Descent Method " 16th
National Power Systems Conference, pp. 37-42, 2010.
[19] F. Lin, R. D.Brandt, and G. Saikalis, "Self-Tuning of
PID controller by adapitve interaction," Proceedings
of America Control Conference, pp. 3676-3681, 2010.

293

Anda mungkin juga menyukai