- Open Access
- Total Downloads : 545
- Authors : A. Elgarhy, M. T. Alwaked, S. Aboelkheir, A. F. Seddik
- Paper ID : IJERTV2IS80567
- Volume & Issue : Volume 02, Issue 08 (August 2013)
- Published (First Online): 16-08-2013
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Development of Dental Autoclave Control System Using Fuzzy Logic and Optimized PID Algorithm
A. Elgarhy 1, M. T. Alwaked 2, S. Aboelkheir 2, A. F. Seddik * 2
1: Electronics and Communication Department, 2: Biomedical Engineering Department, Faculty of Engineering, Helwan University, Egypt,
*: Guide
Abstract
Sterilization process is widely used in the medical field.Dental autoclave is the most popular devicethat is used in sterilizing process. The heat control system of the sterilization process suffers from problems related to undesirable overshoots and longer settling time and oscillations. The purpose of this work is to obtain the best control system to solve these heat control problems through building a model for the dental autoclave heat control system and a simulation of different control systems, different control systems were applied to the model and evaluated to select the best system to improve the performance of a dental autoclave. Our experimental results have shown that the fuzzy-PID control system reached the desired temperature of sterilization faster and more accurate than other systems, also the average error of the desired temperature is 0.05 ° C which is very small compared to average errors of other control systems.
Keywords:Dental autoclave modeling, Sterilization heat control, Fuzzy logic application, Particle swarm optimization.
-
Introduction
Sterilization process [1] through saturated water vapor (steam) is widely used in pharmaceutical, food industries and medical fields. The sterilization process purpose is to eliminate micro-organisms of any nature. Dental autoclave
[2] has one sterilizing cycle for a perfect and quick sterilization of different materials used in hospital and/or dental surgery. It is made of a boiler, a door, a gasket and a timer to count sterilizing time, a sensor to check temperature, and a safety valve for steam exhaust in case of over-heating as shown in figure 1.Figure1. Dental autoclave.
Water steam heating process is not immediate in any case, and needs time to reach thermal equilibrium; this time varies according to the size of the autoclave, the quantity and quality of the material to be sterilized. So the time of sterilization is important and must be considered in the treatment cycle.
Scientific European and American community have fixed and defined three temperatures [3] 115°C, 120°C and 134°C relative exposures for different materials and their resistance to temperature. Cycles at 125°C for 15 minutes of sterilization is a middle cycle for sterilization of any metal instruments. This is the used sterilization cycle in this study.Steam [4] is an effective sterling for two reasons. First, saturated steam is an extremely effective carrier of thermal energy. It is many times more effective in conveying this type of energy to the item than is hot (dry) air. Steam, especially under pressure, carries
their thermal energy very quickly, while hot air does so very slowly.
The second reason is that the steam is an effective sterling because any resistant, protective outer layer of the microorganisms can be softened by the steam, allowing coagulation of the sensitive inner portions of the microorganism.
Steam sterilization requires four conditions: adequate contact, sufficiently high temperature, correct time and sufficient moisture. Although all are necessary for sterilization to take place, sterilization failures in clinics and hospitals are most often caused by lack of steam contact or failure to attain adequate temperature. It also fails because it requires strict adherence to time, temperature and pressure settings. Many temperature control systems were used in order to improve sterilization
efficiency PID temperature control system, fuzzy temperature control system, and fuzzy PID temperature control system. But evaluation of these systems is very difficult, as it needs a simulation model, this work introduces that model.
The system model simulation [5][6] aims to predict the autoclave inner temperature behavior [7], mainly the time period when the system reaches the desired temperature. This is the period when there is no more commonly losses occur by overheating. Modeling
[8] should pursue simplicity and accuracy, but in general they are conflicting characteristics. Our first attempt led to complex models that treated the problem with distributed heat transfer [9][10] ruled by partial differential equations and thermodynamics basics [12][13][14]. But those models were unsuited to use with regular control theory. Searching for a simpler model, it was decided to use a model ruled by ordinary differential equations, depending upon quantity of energy transferred from the heater to the liquid per unit time. Microsoft excel software is used to import data from MATLAB/Simulink [15] to analyze the controller by studying the response generated from the modeling and simulation of the controller, The difference between the desired temperature and output feedback [16] temperature is passed as input into the controllerThe heater system block simulation model depends upon the fact that the transfer of energy as heat can take place via conduction processes. Conductionis the transport of thermal energy through an object by a series of collisions between adjacent atoms, molecules, or electrons. Heat flow [11] is represented by equation (2.1).
Heat flow = ([2K.pea)ter (t) * Qh (t) Ksys (t)Tsys (t)] * A / L
Where K heateris the thermal conductivity of heater substance [m o C/ (J /s)], K sys is the thermal conductivity of water inside autoclave [m o C/ ( J/s) ], Ais the cross sectional area of the autoclave (meters2 or feet2),Tis temperature ( o C or o F), Lis thickness (meters or inches),
Q h is the heat transferred to the water by the heater.
So heat transfer depends upon thermal conductivity of the heater material, the equation could be re-written as:
Energy transferred=heat flow*time (2.2) Energy transferred/time=heat flow (2.3)
Energy transferred to water / time=
subsystem.
(2.(4K)
hQh
-
KW TW )
-
-
PROPOSED METHOD
The overall dental autoclave temperature control system model is represented in figure 2. The model
consists mainly of the temperature controller system block
Where K h is a constant that depends on the material the heater is built and other factors, K wis a constant depends on the specific heat of water and other factors, Twiswater temperature, K wis a constant that is directly proportional to specific heat difference between heater and water(K hw).
and the heater system of dental autoclave block which controls the temperature inside the dental autoclave and
KW KhW (Th TW )
(2.5)
the safety valve to prevent explosion in case
(2.6)
of
dE / dt Kh (t) * Qh (t) KW (t)TW (t)
overheating. The inputs to the temperature controlled system block are the sterilization temperature and the temperature error (except ON/OFF it is forward system); and the inputs to the heater system block are energy supplied to the heater as a function of time and a constant representing the desired temperature (sterilization
temperature).The output of the overall system is actual
C h (t) and C w(t) are time dependent because the closer the water temperature gets to the desired temperature(temperature of sterilization), the less influence the heater has over the water, So C h approaches zero and it is exactly zero if water temperature is the same as heater temperature.
intrnal temperatures inside the autoclave with time.
(2.7)
dE Kh (t)Qh (t)dt KW (t)TW (t)dt
Using first law of thermodynamics:
+-
Sterilization temp.
E =E
system
+E
surroundings
= 0 (2.8)
Temperature
controller system block
Heater
systemblock
Output
(2.9)
By integration
t t
Safety valve
control
E(t) E0 Kh (t)Qh (t)dt KW (t)TW (t)dt
0
0
Where E is t0he initial energy c0ontained in the water.
Figure 2.The overall dental autoclave model.
Considering outside surface effect K out (surroundings), so the heater simulation model is implemented using
equation 2.9. Where, E (t): quantity of energy transferred from the heater to the liquid with time,E0:is the initial energy contained in the water, Q (t): is the heat transferred to the water by the heater, K h: constant depending upon the material of the coil, Tw: iswater temperature, K w: constant depending on the difference between actual temperature and the desired temperature, Tout: outside temperature.
3.3 Fuzzy controller system
Block diagram of fuzzy controller system is shown in figure 3.
Fuzzification
Fuzzification
Inference Mechani
sm
Inference Mechani
sm
Rule Base
Rule Base
Fuzzy Controller
The Simulink model of heater system block using equation (2.9) is shown in section 4.
-
Proposedtemperaturecontroller systems
The heater system of dental autoclave needs a controller to achieve best autoclave efficiency by reaching the desiered sterilization temperature faster and continue at this temperature till the end of the sterilization cycle (15
Setpoint
r (t)
Command
Defuzzification
Defuzzification
u (t)
Output
System
y (t)
minutes),Next subsections will discuss in details each of controller systems used.
-
ON/OFF controller system
This is the simplest type of control [18] used, if the input is below the set-point then the system is fully ON and if the input rises above the set-point then the system is fully OFF. In practice the use of ON/OFF control can cause problems [19] such as that the system rapidly switches ON and OFF leading to inefficient system operation and increased mechanical wear.No feedback process (only feedforward process) takes place in this controller system.
-
PID controller system
A PID controller incorporates a mix of proportional, integral and derivative control action [21]. In this case the control output is a function of the size of the error (e (t)),
de(t)
the rate of change of the error with time Td dt and the
Figure3. Fuzzy controller system block diagram.
Fuzzy techniques to control systems[22] consists of two very different stages, first stage must be completed before the control algorithm is executed and it consists of establishing the controllers input and output variables (linguistic variables), then defining each variables fuzzy set, thendefining the sets membership functions, after that establishing the rule base, defining the fuzzification, inference and defuzzification mechanisms. Second stage, to be completed with each step of the control algorithm, and consists of obtaining the precise input values, then fuzzification takes place by assigning the precise values to the fuzzy input sets and calculating the degree of membership for each of those sets, then Inference by applying the rule base and calculating the output fuzzy sets inferred from the input sets, finally defuzzification takes place by calculating the precise output values from the inferred fuzzy sets.These precise values will be the controllers outputs (commands) and is applied to the system to be controlled (heating system of dental autoclave).
Fuzzy controller for a dental autoclave considers
integral of the error over time 1
Ti
equation(3.1).
t
e(t)dt ,as shown in
0
temperature error e(t) and temperature error variationsde(t)/dt as inputs and energy supplied to the system as output.
Rule base of controlling temperatur is represented
de(t) 1 t
in table1.Consider, LN: Large Negative ,MN:Medium
Qo K e(t) Td dt T e(t)dt
(3.1)
Negative, SN:Small Negative, ZE:Zero,SP :Small
i o
Positive,MP :Medium Positiv,LP: Large Positive
Where, Td is the derivative action time (s), Ti the integral action time (s) and K the gain. PID control offers close control system, the control action responds to the rate of change of the error, while the integral control acts to eliminate the set-point error experienced with proportional control. The PID controller subsystem contains the proportional gain scaling factor, The derivative gain scaling factor and the integral gain scaling factor.
Table1 . representing rule base of controlling temperature.
error/error- variation
LN
MN
SN
ZE
SP
MP
LP
LP MP
LN LN
LN LN
LN LN
LP MP
LP LP
LP LP
LP LP
SP
LN
LN
LN
SP
SP
LP
LP
ZE
LN
LN
LN
ZE
MP
MP
LP
SN MN
LN LN
LN LN
LN LN
SN MN
ZE SN
SP ZE
MP SP
LN
LN
LN
LN
LN
MN
SN
ZE
-
PID/ fuzzycontrol system
It is a combination between PID control and fuzzy [23]control in order to increase efficiency of dental autoclave by increasing temperature stability inside the autoclave and by reducing time taken to reach the desired temperature this may also led to decrease time of sterilization as shown in figure 4
.
Fuzzy
called particles, fly through the problem space by following the current optimum particles. Each particle keeps track of its coordinates in the problem space which are associated with the best solution (fitness) it has achieved so far (The fitness value is also stored) .This value is called pbest. Another "best" value that is tracked by the particle swarm optimizer is the best value, obtained so far by any particle in the neighbours of the particle. This location is called lbest. When a particle takes all the population as its topological neighbours, the best value is a global best and is called gbest. The particle swarm optimization concept consists of, at each time step, changing the velocity of (accelerating) each particle toward its pbest and lbest locations (local version of PSO). Acceleration is weighted by a random term, with separate random numbers being generated for acceleration toward pbest and lbest locations. MATLAB M-file where utilized to run the PSO technique and apply it to the PID controller system in order to improve the system performance , The PID block calls the PID controller file, which in turn calls the PSO technique .
-
-
Results
PID
PID
In this study results aresubdivided into: the heater system model results, the temperature controller model results and the output response of different controller
Q (t)
+
Dental
T (t)
systems.
-
Results of heater control system using Simulink
Figure4. PID /Fuzzy control system scheme.
The simulink model of the PID/ fuzzy ontrol system of dental autoclave consists mainly of the fuzzy logic controller block and the heating system in the dental autoclave block. The fuzzy logic controller block contains
Using Simulink/ Matlab the simulation model of the overall dental autoclave temperature control system is shown in figure 5.
a reference to a fuzzy logic inference system. The inference system has four linguistic variables which are
125 +-
Temp(t)
two inputs (error signal and error derivative) and two output (energy supply control and safety valve control). The fuzzy logic inference system for the fuzzy proportional-integral-derivative controller contains a set of fuzzy logic rules thatdefine thebehavior of the system in relation between the error signal, error derivative signal
Sterilization
temp.
Heat Control system
Heater
systemof dentalautocla
Safety valve
controller
and the control signals (energy supplied to autoclave and safety valve). A multiplexer is used to combine the two inputs to the fuzzy logic controller
.
-
Optimized PID control system (using PSO technique)
The system is initialized with a population of random solutions and searches for optima by updating generations. In PSO [25] [26], the potential solutions,
Figure5. The overall of dental autoclave temperature control system simulation.
Dental autoclave heater model simulation using equation (2.9) is shown in figure 6.
PID fuzzy
PID fuzzy
1
Qh(t
X
Produ
Kh(t)
1
s
1/ E(t) -k-
–
+
(1/m)E +
1
125
Sterilizati on
temp.
set
Out
-1
Constant
Out
Qa
Ti
Switch
Ta
+
+
–
+
+
–
Safetyvalve 1
Safetyvalve 1
20 +
Tw(t
temp
In1 1
PID Fuzzy
2
Th(t)
X 1
s
Product
1 0.1
s
Ko
T0 Add
+
– 10
– To
Add
actual
In3
Out 2
controlled autoclave
Temp(t)
Kw(
–
+
–
+
0.1
Kh
E0
Fuzzy System
PID System
Safety valve
Figure 6. Heating system of dental autoclave simulation
-
-
Results of temperature controlled systems using Simulink/ Matlab.
ON/OFF temperature control system simulation is shown in figure 7.
ON
To
Figure 9.Simulink model of dental autoclave controlled by PID/fuzzy controller.
The output of the each controller system is discussed in details in the next section.
-
Output block results
-
ON/OFF temperature controller output
Ta1 125
Sterilization
Terr Q
Ti
SafetyValve
On/OFF autoclave
Temp(t)
Safety valvecontrol
Figure 7.Simulink model of dental autoclave control by ON/OFF controller.
Qa
Ta
Ta
Qa
Ta
Ta
PID temperature control system simulation is shown in figure 8.
1
Safet
valve
1
Safet
valve
1
in1
+-
T err
s+
15
Pl
1
Gai
1
in1
+-
T err
s+
15
Pl
1
Gai
+-
s+
15
PD
2
In2
1
Gai
Temp(
+-
s+
15
PD
2
In2
1
Gai
Temp(
PID
Controlle
PID
Controlle
Figure 8.Simulink model of dental autoclave controlled by PID controller.
The Simulink model of the PID/fuzzy control system of dental autoclave heater is shown in figure 9.
Figure 10.Output response of the conventional ON/OFF controller.
It is clear from curve in figure 10 that the ON/OFF control system there are many oscillations for about 368 second while the sterilization cycle takes about 900 sec. (15 minutes), so it reduces both efficiency of sterilization in dental autoclave and also affects the power unit efficiency with time.
TError= Settimg temperature – T avg
= 125 119.79 = 5.21°C
-
PID temperature controller output
Figure 11. Output response of the PID controller. It is clear from curve above in figure 11 that PID control system reached the set point (125°c) very fast (after about 86 seconds), but there are a lot of oscillations which affects efficiency of sterilization in dental autoclave and affects the power unit efficiency with time as it goes
up & down.
TError=Settimg temperature – T avg
= 125 124.4=0.6°C
-
Fuzzy temperature controller output
Figure 12. Surface view of fuzzy controlled autoclave.
Figure 13.Output response of the fuzzy controller.
It is clear from curve in figure 18 that the fuzzy control system reached (124.6° c) while the desired temperature is (125° c) but it is more stable than (PID control system) and (ON/OFF control system) as no oscillations occur, also it reaches this temperature with no oscillations in about 40 seconds only.
TError= Settimg temperature – T avg
= 125 124.5= 0.5°C
-
Optimized PID control system results: (using PSO technique)
-
Figure 14.Output response of Optimized PID control system.
This system reached the desired temperature only in 59 seconds then after that time this temperature remained till the end of the sterilization cycle as shown in figure14.
TError= Settimg temperature – T average
= 125 124.9 = 0.1°C
-
-
CONCLUSION
The most desirable heat control system performance requires that the controllers to have the smallest possible value for rise time, overshoot, and settling time. It also requires the final value to be as close as possible to the desired value which is 125° C as soon as possible; also the system temperature must be without oscillations as long as possible. From the output results it is clear that the PID controller systemhas good performance but it has a lot of oscillations till the end of sterilization cycle so it is not the best controller system. PID/FUZZY controller system has the bestperformance also it reaches accurately the desired temperature (125°C).
-
References
-
Sridhar RaoPn., Sterilization and disinfection, 2008.
-
Leah Vern Barnett, The manual of dental assisting 4e, 2008.
-
Ellen Roberta Dietz, Safety Standards and Infection Control for Dental Assistants, 2008.
-
Liesl K. Massey., The effect of sterilization methods on plastic and elastomers, 2nd edition, 2005.
-
Anu Maria, Introduction to modeling and simulation, State University of New York at Binghamton , Department of Systems Science and Industrial Engineering, 1997.
-
N. Deo., System Simulation, Prentice Hall of India.
-
Francisco Carlos de AmorimTerceir, Roberto Vieira da Fonseca Lope, HélioKoiti Kuga., Modeling the internal temperature of an autoclave using parameter estimation.
-
DshalabahSrivastava, Process modeling& simulation, 2010.
-
Mark W. Zemansky and Richard H.Dittman, Heat and Thermodynamics, 1997.
-
William S. Janna, Engineering Heat Transfer, 2009.
-
LatifM.Jiji, Heat Transfer Essentials, 2006.
-
Evelyn Guha., Basic Thermodynamics, 2000.
-
Charles Leonard Brawn, Thermodynamics basics, 2009.
-
A. S. Morton and Peter John Beckett, Basic thermodynamics, Michigan University, February 2010.
-
ArunRajagopalan and Gregory Washington, Simulink tutorial, 2002.
-
John Doyle, Bruce Francis and Allen Tannenbaum, Feedback Control Theory, 1990.
-
James E. Braun, Donghun Kim, Miroslav Baric, Pengfei Li, Satish Narayanan and Shui Yuan, Whole Building Control System Design and Evaluation: Simulation-Based, 2012.
-
Ernest O. Doebelin, Control system principles and designs, in: Open loop, input-compensated (feedforward) control.
-
Tore Hägglund andKarl Karl Johan Åström, Advanced Pid Control, 2006.
-
R.M. Aguilar, V. Mu oz and Y. Callero, Fuzzy Inference
System – Theory and Applications, in: Control Application Using Fuzzy Logic Design of a Fuzzy Temperature Controller, 2012.
-
Yunseop Kim, Fuzzy Logic Temperature Controller, 2001.
-
ConstantinVolosencu, Introduction to PID Controllers – Theory, Tuning and Application to Frontier Areas, in: Tuning Fuzzy PID Controllers, 2012.
-
F. ZHANGa, J. WANGa S. L. FUb and Z. T. HEa X. P. LIa, Adaptive Fuzzy PID Temperature Control System based on Single-chip Computer for the Autoclave, 2012.
-
M.AMRITA and SAROJINI Jajimoggala, Design optimization by using particle swarm optimization in matlab and APDL in ANSYS, 2012.
-
Edwin K. P. and Stanislaw H., An Introduction to Optimization, in: Particle swarm optimization, 2013.
li>
Stephen W. Fardo and Dale R. Patrick.Industrial Process Control Systems, in: Process control system overview, 2009.