Beruflich Dokumente
Kultur Dokumente
Abstract— The paper presents the algorithm for intelligent air The air conditioning process can be controlled using
conditioner controller. This algorithm is based on fuzzy logic. various methods. Some of these methods are on/off control,
The implementation is done on arduino based microcontroller neural network control, fuzzy control, robust control and many
with temperature and humidity as two inputs and power as more. A detailed review of these control methods is given by
output. Air conditioners based on such controller are more
Afram et al [3].
energy efficient as compared to conventional air conditioners.
The experimental results have also shown the superiority of such Shumit Saha et al developed a simulation based model of
controller. an air conditioning system using fuzzy logic. They defined
two input variables namely temperature and humidity and the
Keywords—Energy efficient control, fuzzy inference system, output is the compressor motor speed. Gaussian membership
temperature and humidity sensor, triangular membership functions have been used for fuzzification of inputs and output
function with eighteen fuzzy rules. If the room temperature reaches the
desired level, the fuzzy based controller switches off the
compressor motor and hence reduces the energy consumption
[4]. Vikas Kumar et al developed fuzzy logic based controller
I. INTRODUCTION
for maintaining temperature, humidity and other hygienic
Air conditioning systems are major electrical loads in conditions as desired for operating rooms (operation theaters)
houses, auditorium halls, indoor stadiums and other such [5]. They used temperature, humidity, oxygen level and
buildings. Conventional air conditioners consume constant number of particles in the room as input parameters. The
wattage when they are operating [1]. When the desired speed of air conditioner motor and speed of exhaust motor
temperature reaches, the outside unit turned off. There are two were used as output parameters. Air conditioners control,
states of operation; either on or off. The operating states can be
using fuzzy logic with two input parameters, is also developed
increased using fuzzy logic for reducing the consumption of
electricity without affecting air conditioning process. This by Yordanaova et al [6].
paper focuses on the development of air conditioner controller The Rest of this paper is organized as follows: section II
using fuzzy logic. describes the designed algorithm and simulations done on
matlab. Section III explains the experiments done using
In fuzzy logic, the output of the system is evaluated based various electronic and electrical components. Results are
on the system’s input/inputs. The inputs are fuzzified using discussed in section IV. Section V concludes the paper.
triangular membership function. Based on these values Section VI discusses triangular membership function.
fuzzified output is produced using fuzzy rules. The fuzzified
output is converted to crisp output by ‘center average using
singleton value’ defuzzification method [2]. II. ALGORITHM AND SIMULATIONS
The focus of this research is to develop an intelligent air The process of air conditioning control is shown in figure
conditioning system. If the temperature is very hot, the motor 1. In this figure, set point is the user defined temperature and
of air conditioner compressor should run at high speed and as humidity. Controller output is power to be supplied to the
the temperature lowers the compressor motor should run at compressor of air conditioner.
lower speeds. This process continues until the desired An algorithm based on fuzzy logic is developed for
temperature and humidity is reached. At this stage the experimentation purpose [7]. Flow chart depicting the detailed
compressor will be consuming a little electricity for algorithm is shown in figure 2.
maintaining the desired temperature and humidity and hence
saving the electricity.
Fig. 2 Flowchart of proposed algorithm Fig. 2 Membership functions for relative humidity
Fuzzy control make use of rules, in the form of sentences, 22. If (temperature is VHot) and (humidity is Dry) then
to control a process [8]. The number of fuzzy rules depend on (power is Normal)
possible combinations of membership functions of inputs. As
there are five membership functions for temperature and five 23. If (temperature is VHot) and (humidity is Normal) then
for humidity; twenty five fuzzy rules will be sufficient. These (power is High)
combinations of input membership functions will determine the 24. If (temperature is VHot) and (humidity is Wet) then
appropriate rule/rules to be fired. These rules are: (power is VHigh)
1. If (temperature is VCold) and (humidity is VDry) then 25. If (temperature is VHot) and (humidity is VWet) then
(power is High) (power is VHigh)
2. If (temperature is VCold) and (humidity is Dry) then These rules will yield a membership function of output
(power is High) (power). The power range of 0 to 250 watts is divided to five
3. If (temperature is VCold) and (humidity is Normal) triangular membership functions named as ‘VLow’, ‘Low’,
then (power is VHigh) ‘Normal’ ‘High’ and ‘VHigh’. The membership grade value of
output function, known as fuzzified output, is determined using
4. If (temperature is VCold) and (humidity is Wet) then ‘AND’ fuzzy relation of membership functions of two inputs
(power is VHigh) [9]. Centroid method of defuzzification is used to convert
fuzzified output to crisp value.
5. If (temperature is VCold) and (humidity is VWet) then
(power is VHigh)
6. If (temperature is Cold) and (humidity is VDry) then
(power is Normal)
7. If (temperature is Cold) and (humidity is Dry) then
(power is High)
8. If (temperature is Cold) and (humidity is Normal) then
(power is High)
9. If (temperature is Cold) and (humidity is Wet) then
(power is VHigh)
10. If (temperature is Cold) and (humidity is VWet) then
(power is VHigh)
11. If (temperature is Warm) and (humidity is VDry) then Fig. 3 Output membership functions
(power is VLow) Some results of simulations are discussed here. The power
12. If (temperature is Warm) and (humidity is Dry) then is 50 Watts when temperature is set at 25 ˚C and humidity at
(power is VLow) 50 percent relative humidity. If temperature is 35 ˚C and
relative humidity is 32 %; the output is 152 watts. When
13. If (temperature is Warm) and (humidity is Normal) simulation is performed while setting temperature 37.1 ˚C and
then (power is VLow) relative humidity 60.5 %; the output is 200 watts. These
14. If (temperature is Warm) and (humidity is Wet) then results show that the output power increases as temperature
(power is Low) and relative humidity rises.
15. If (temperature is Warm) and (humidity is VWet) then
(power is Normal) III. DESIGN METHODOLOGY AND EXPERIMENTATION
16. If (temperature is Hot) and (humidity is VDry) then Arduino coding, based on fuzzy logic, has been developed
(power is Normal) to perform experiments using microcontroller [10] [11].
17. If (temperature is Hot) and (humidity is Dry) then The experiments are performed using microcontroller,
(power is Normal) sensor for temperature and humidity measurement, an
alternating current motor and a specially designed hardware
18. If (temperature is Hot) and (humidity is Normal) then for controlling alternating current. The digital sensor is used to
(power is High) detect temperature and humidity of the room/hall. These
19. If (temperature is Hot) and (humidity is Wet) then readings are fuzzified, using triangular membership function,
(power is High) in the microcontroller. Fuzzy rules have been hardcoded in the
microcontroller. The output is produced using these rules. This
20. If (temperature is Hot) and (humidity is VWet) then
is the fuzzified output. Centre average method of
(power is VHigh)
defuzzification is employed to find the crisp value of output.
21. If (temperature is VHot) and (humidity is VDry) then This output is converted to direct current (DC) voltage using
(power is Low) pulse width modulation of microcontroller [12]. The DC
voltage is converted to alternating current (AC) voltage using consumption of electricity. These results have been
opto-couplers, bilateral triode thyristor and full wave rectifier. demonstrated by simulation model and experimental model of
This AC voltage is to be supplied to the compressor of air air conditioner.
conditioner. Arduino is isolated from this high voltage using
optical-isolators (opto-isolator).
In this experimental setup, an induction motor of 250 watts VI. APPENDIX
is used for comparing the results with ‘Power’ being generated Triangular membership functions can be realized by three
by ‘matlab simulations’. Table 1 depicts comparison of results parameters (a, b, m). The parameters a, b and m are lower
being produced by experiments and matlab simulations. Table boundary, upper boundary and peak of this membership
2 shows the comparison of results being generated by function respectively. is the function value at any value of
emulating ‘temperature’ and ‘humidity’ and simulations.
independent variable .
Table 1 Comparison of results
Temp Humidity Simulation Experiment Percentage
(˚C) (% RH) Results Results Error
(Watts) (Watts)
29 32 50 52 0.01
30 32 51.8 52 0.00
35 32 152 128 9.6
43 24 127 133 2.4
47 24 126 133 2.8