Design and Implementation of A Fuzzy Logic Based Controller For Refrigerating Systems

You might also like

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

International Conference on Computer and Communication Engineering (ICCCE 2010), 11-13 May 2010, Kuala Lumpur, Malaysia

Design and Implementation of a Fuzzy logic based


controller for refrigerating systems
M.Mahbubur Rashid Ashraful Islam
Dept of Mechatronics Engineering Dept of Electrical and Computer Engineering
International Islamic University Malaysia International Islamic University Malaysia
Kuala lumpur, Malaysia
E-mail mahbub@iiu.edu.my

Abstract: This paper describes an intelligent the temperature consists in varying the compressor speed to continuously
control at a desired level in a refrigerator. The control works match the compressor refrigeration capacity to the load, has
on the basis of modeling a thermostatic appliance and the been analyzed during the last years [4–9]. An inverter can be
use of fuzzy logic. A refrigeration system control device used to regulate the compressor speed. There are different
using fuzzy logic for controlling a plurality of refrigeration types of electronic variable-speed drives, but the pulse width
compressors such that the closest capacity is selected to modulated source inverter (PWM) is the most suitable for its
match the load to each of a plurality of evaporators low cost and high efficiency.
comprising, a control having an input adapted to be So, the primary aim of this paper is to develop a controller
connected to a means to sense the temperature in the capable of controlling continuously the speed of a compressor.
controlled space wherein a control signal is indicative of the This kind of control allows us to match the compressor
maximum refrigeration load of the controlled space, a means refrigeration capacity to the cooling load at any time, so that
for determining whether the primary control variable in said the compressor can also work at other than system frequency
space is above or below a single predetermined desired 50 Hz. In particular, referring to a vapor compression
target. Thermostatically simulated and fuzzy controlled refrigeration plant subjected to a commercially available cold
model are presented successively. The latter is set-up on the store, a control algorithm based on the fuzzy logic, and able to
basis of the Mamdani’s type of fuzzy rules. MATLAB, select the most suitable compressor speed in function of the
SIMULINK and Fuzzy Logic TOOLBOX (FLT) are the cold store air temperature,
programming environments used for realization of the
model. The principal aim in designing the control is to Moreover, a fuzzy controller with respect to PID control
assure the fastest and best transition possible from an generally might allow obtaining performances comparable or
analogue to digital control of the refrigerating appliance, sometimes better in terms of precision of the set point
which represents the basis of a functional expansion required. Besides referring to a fuzzy controller the overshoot
demanded by the present market. of the variables is small and the settling time fast as regards
the dynamic response during the sudden variations in the
cooling load; all this generally results in a robust control [10–
Keywords-Refrigeration; off-on compressor; controller
13]. So, experimental tests have been conducted to compare
I. Introduction the plant performances obtainable using as compressor
refrigeration capacity control systems, both the fuzzy
Introduction: The vapor compression refrigeration plants, algorithm and the classical thermostat that determines on-off
though designed to satisfy the maximum load, work at part- cycles of the compressor that works at a frequency of 50 Hz.
load for much of their life generally regulated by on/off cycles
of the compressor, working at the nominal frequency of 50 Hz,
II. Conventional temperature controller for refrigerator
imposed by a thermostatic control which determines high
energy consumption. Moreover, the inefficient use of The schematic diagram of the refrigerator and the cooling air
electricity to supply the refrigeration and air-conditioning
flow is shown in Figure. 1. In general, the refrigerator for
compressors is considered as an indirect contribution to the home is operated with indirect cooling method and separated
greenhouse gases emitted in the atmosphere; these emissions refrigerating and freezing compartment whose temperature is
can be reduced by improving the energy conversion efficiency
maintained 3°C and -18°C respectively. Basically, Freon R12
[1]. A theoretical comparison of various refrigeration capacity and R13 are used for the coolant of the refrigerator, but
control methods in full and part-load conditions shows that the nowadays Freon R-134a which is non-CFC is broadly used
compressor speed variation is the most efficient technique [2-
because of the environmental pollution. The compressed
3]. This method of refrigeration capacity control, which coolant in the compressor which flows through the heat

978-1-4244-6235-3/10/$26.00 ©2010 IEEE


dissipating pipe and the capillary tube is evaporated in the IV. Fuzzy Controller Design for variable speed controller
evaporator and then flows back to the compressor through the
suction pipe. The evaporated coolant in the evaporator plays
In the fuzzy controller for the system as seen in Figure. 3, two
the role of decreasing the evaporator temperature. The fan,
inputs variable used are the error and the change of error. The
installed in front of the evaporator, ventilates the cooling air
former can be define as the difference between the set point,
and refrigerates the food in the refrigerator. The circulation of
Tsp and the reactor temperature T(t) at time, t as follows,
the cooling air is done by the on-off control of the fan
according to the inner temperature of the refrigerator. Typical e(t) = Tsp – T(t) (1)
temperature control method of the refrigerator is on-off control and the latter as the difference between the error at time, t and
of the compressor and the air blowing fan. The on-off the previous error, e(t-1),
controller in the refrigerator compares the real inner
temperature with the desired temperature and feeds this error ce (t) = e(t) – e(t-1) (2)
signal to the control input of the switch block of the controller. Fuzzy logic in the compressor speed control, the main goal of
This conventional on-off control is easy to implement and the this paper is to determine a fuzzy
control algorithm is simple but is difficult to adapt the controller capable of regulating the compressor electric motor
temperature variation due to the outer temperature change or supply current frequency. In particular, the figure shows a
the volume change of the stored foods which results in two-input one-output fuzzy controller. The input variables are
temperature perturbation and more energy consumption. the temperature difference between the set point temperature
Above all, the worst thing to overcome in conventional control and the real temperature of the air in the refrigerator ΔT ; and
of the refrigerator is manual adjust of the desired refrigerator's the derivative of this temperature difference with time
temperature by user according to the above changes. So d ( ΔT )
instead of using on-off controller of compressor, frequency ; the fuzzy output variable is the f frequency of the
based variable compressor is used. Complete block diagram of dt
experimental process is shown in Figure 2. supply current of the compressor electric motor. However, it is
to be considered that it is certainly convenient to control from
the energy saving point of view the compressor speed because
it works at lower frequencies, if compressor run at low
frequency for long time it will another problem. So it is
necessary to minimize the compressor operation at low
frequency. This problem is considered in proposed fuzzy
controller.

The fuzzy inference process involving the process of


formulating the mapping between the inputs, ΔT and
d ( ΔT )
to the output, f (frequency) is simulated using the
Figure. 1 Conventional compressor operation dt
Fuzzy Logic Toolbox in MATLAB. In this study, Mamdani’s
III. CONTROLLER DESIGN fuzzy inference method is used. In Mamdani’s inference, the
Fuzzy Logic Control: Fuzzy logic is a logical system, which output membership function of f is also fuzzy sets.
is an extension of multi-valued logic. Additionally, fuzzy logic
The error and its derivative normally pass through two suitable
is almost synonymous with the theory of fuzzy sets, a theory gains, Ke and Kce respectively before they are fed into the
that relates to classes of objects without sharp boundaries in fuzzy controller. The output signal of the controller is also
which membership is a matter of degree. Fuzzy logic is all
scaled by an output gain, KQ and is sent to the manipulated
about the relative importance of precision, i.e. how important variable. The main objective of these gains is to allow the use
is to be exactly right when a rough answer will work. Fuzzy of normalized of error and change of error signals in
inference systems have been successfully applied in fields
normalized quantities. For the inputs and output in this case,
such as automatic control, data classification, decision the gains are set to the unity for two reasons, simplicity and to
analysis, expert systems and computer vision. The successful
avoid distortion between the measured error and the values
attempt of fuzzy logic control was done by Mamdani for a
represented in the membership function. On other instances,
boiler steam engine. Fuzzy logic is a convenient way to map these scaling gains can be independently used for fixed and
an input space to an output space, and it is a useful tool to act
adaptive tuning.
as a nonlinear controller for the styrene system which will be
described in the next section.
Valve

Set Temp Error temp


Refrigerator
Refrigerator Cooling
Management

V
Controller Freezer

Set Temp Variable


Error temp capacity
Freezer Compressor

Figure. 2 Refrigeration process (Experimental layout).

For error, ∆T: λe ∈ [ Le , Ce , U e ]


(∆T)` For change of error, ∆T/dt: λce ∈ [ Lce , Cce , U ce ]
Signal Fuzzy-controller
Set (3)
conditioning
value T ∆T For output, f λQ ∈ [ LQ , CQ , U Q ]
Drive Circuit
Where the variable Li and Ui are the limit of the space of the
triangular function and Ci is the center peak of the triangular
Compressor function. The values of Li, Ci, and Ui of the membership
functions are as indicated in Table 1.
Refrigerator Table 1 Linguistic variables

Figure. 3 Controller for refrigerator λ Linguistic Meaning


N negative Negative
difference
Fuzzification is one of the inference processes that transfer the Z zero No difference
crisp input variables to corresponding fuzzy variables. For P positive Positive
each input and output fuzzy variables, three linguistics difference
variables are defined linguistically using the linguistic
variable. In several simulation studies, five memberships
function was tried in which they represented by five linguistic
variables i.e. Negative High (NH), Negative Low (NL), Zero 1 N Z P
D e g re e o f m e m b e rs h ip

(Z), Positive Low (PL) and Positive High (PH). In the study,
0.8
it was found that only three membership functions were fired
during the control application. The graphical representation 0.6
of the inputs and the outputs membership function are given 0.4
as in Fig 3 to 5. 0.2
0
These membership functions are confined within their -10 -5 0 5 10
respective space depending on the working range. The Error, e
triangular form is used to represent the membership function.
Figure 4: Input membership function, Error (∆T)
V. Result
Number of experimental tests has been conducted to show
the energy saving possibility with the fuzzy based controller
for vapor refrigeration system. In these experimental tests
different type foods have been adopted as cooling load and
periodic opening of the refrigerator door and also due to the
inevitable heat exchanges with outdoor air when the
refrigerator door is closed. In Figure. 7 a comparison in terms
of electric energy efficiency, measured by means of a proper
electric energy meter one can clearly observe that the energy
consumption increases when the refrigerator air temperature
decreases

Figure 5: Input membership function, rate of Change of VI. Conclusion


Error This study reveals that the evaporative condenser can be
modeled using Fuzzy logic controller in efficient way, the
latter yielding somewhat superior predictions. In near future,
with the use of these techniques, the performance of
evaporative condensers can be enhanced by performing some
modification with conventional method, thus saving electric
energy and cost.

References :

[1] Apreaa, C., R. Mastrullob, C. Rennoa, “Fuzzy control of


Figure 6: Output membership function, f the compressor speed in a refrigeration plant” International
Journal of Refrigeration Vol 27, pp 639–648, 2004
For this FL controller with two inputs and three linguistic
variables for each input, there is a maximum of 9 decision [2] Janssen H, Krusc H. “Continuous and discontinuous
rules as shown in Table 2. The formulation of the control capacity control for high-speed refrigeration compressors”.
rules is crucial in determining the performance of the Proceedings Purdue Compressor Technology Conference
controller. Every entity in the table represents a rule relating Purdue, US, 1984
two inputs and one output. In other words, having two
antecedents can enhance the robustness of the controller. [3] Zubair SM, Bahel V. “Compressor capacity modulation
schemes.” Heating Piping Air Conditioning; pp 135–43,1989.
Table 2 Fuzzy rules for the controller
[4] Cohen R, Hamilton JF, Pearson JT “Possible energy
Error,(∆T) conservation through the use of variable capacity
N Z P compressor”. Proceedings Purdue, 1974
N Z Z P \
Change of Z N Z P [5] Binneberg P, Philipp J, Krauss WE. “Variable-speed
error,(∆T/dt) hermetic compressor in a household refrigerator”.
P N Z Z Proceedings of the 20th International Congress of
Refrigeration, Sydney, Australia; Paper code 539. 1999

[6] Jang K, Jeong S ”Temperature heat flux measurement


inside variable-speed scroll compressor” Proceedings of the
20th International Congress of Refrigeration, Sydney,
In this work AND operator is used as logical operator. After Australia, 1999
decision is made by combining the triggered rules, then the
output of each rules are combined into a single fuzzy set. This [7] Fredsted JP, de Bernardi J. “Multi-variable control of
is called aggregation. Only one output of the aggregation vapor compression processes using a variable speed control
process is assigned for each output variable. The fuzzy set is compressor with integrated inverter”. Proceedings of the 20th
the input for defuzzification to yield a crisp (numerical) value. International Congress of Refrigeration, Sydney, Australia;
The numerical value is the final output to be sent to the 1999
manipulated variable f .
90

80

70

60 Off-On compressor
Efficiency (% )

Variable frequency based compressor


50

40

30

20

10

0
400 500 600 700 800 900 1000 1100 1200 1300 1400
Speed (RPM)

Figure.7 Refrigerator Efficiency comparisons at different compressor speed.

[8] Pedersen PH, Poulsen CS, Gundtoft S. “Refrigerators and


freezers with variable speed compressors”. Proceedings of the [11] J.R. Garcı´a-Cascales , F. Vera-Garcı´a, J. Gonza´lvez-
20th International Congress of Refrigeration, Sydney, Macia´, J.M. Corbera´n-Salvador, M.W. Johnson , G.T.
Australia 1999. Kohler “Compact heat exchangers modeling: Condensation”,
Iinternational journal of refrigeration 135–147,2010
[9] Aprea C, Mastrullo R, Renno C. “Refrigeration power
control in variable-speed compressor applications”. [12] H. Metin Ertunc,, Murat Hosoz “Comparative analysis of
Proceedings of the 7th World Congress CLIMA, , Naples, an evaporative condenser using artificial neural network and
Italy; 15–18 2001 adaptive neuro-fuzzy inference system 2008

[13] A.H.B.M. Yatim W.M. Utomo “NeuroFuzzy On-Line


[10] Aprea C., R. Mastrull, C. Renno “Fuzzy control of the Optimal Energy Control for Variable Speed Compressor”
compressor speed in a refrigeration plant”, International Motor Drive System, IEEE PEDS, 2005
Journal of Refrigeration vol 17 639–648, 2004

You might also like