 Open Access
 Total Downloads : 514
 Authors : Trinh Luong Mien
 Paper ID : IJERTV5IS010473
 Volume & Issue : Volume 05, Issue 01 (January 2016)
 DOI : http://dx.doi.org/10.17577/IJERTV5IS010473
 Published (First Online): 25012016
 ISSN (Online) : 22780181
 Publisher Name : IJERT
 License: This work is licensed under a Creative Commons Attribution 4.0 International License
Design of FuzzyPI Decoupling Controller for the Temperature and Humidity Process in HVAC System
Trinh Luong Mien
University of Transport and Communications Falculty of Electrical and Electronic Engineering Hanoi, Vietnam
Abstract: Ensuring the comfortable air quality for people, using the heating, ventilation and air conditioning (HVAC) system, in the commercial center buildings or underground infrastructures is extremely important. This is directly related to the design of the controllers for two channels of the air conditioning: temperature and humidity of the indoor air. Firstly, the analysis and building an interactive nonlinear mathematical model of the indoor air is presented in this paper. Then, the article refers to methods of design the traditional PI controller, PI controller combined with decoupled controller and PI controller with selftuning parameter based on fuzzy logic principle combined with decoupled controller for the heating and humidifying processes of the indoor air. Finally, the proposed controlles for temperature and humidity process is simulatated and tested on Matlab.
Keywords: Temperature And Humidity; Fuzzy Logic Control; Decoupling Control; PID; SelfTunning Fuzzy PID; HVAC.
Symbol
Symbol Unit Description
a kg/m3 Air density
Cp J/kgoC Heat capacity of air
Vi m3 Volume of the room
Tp ,Tq ,To oC Temp. after heating/cooling coil, temp.
after humidifier, and outdoor temperature
s Time
Fp m3/s Flowrate of hot/cold water
Aw m2 Area of the wall
Uw W/m2. oC Overall heat transfer coefficient Kb W/moC Thermal conductivity of the brick dw m Thickness of the wall
ha W/moC Convection heat transfer coefficient of air
Ep kJ/kg Vapour enthalpy
fa m3/s Flow rate of the supplied air
Fq m3/s Flowrate of steam
Hp , Hq , Ho % Humidity after heating/cooling coil, humi.
after humidifier, and outdoor humidity
Gij , i,j=1,2 Laplace transfer function
h , t Channel coupling coefficient
It , Ih mA Controlled current for temp., hum. valves
T*, H* Setpoint temperature, humidity
ij Delay time
Abbreviation
HVAC Heating, ventilating, air conditioning PI, PID Propotinal, integral, derivative control NL Negative large
NS Negative small
ZE Zero
PS Positive small
PL Positive large
SM Small,
ME Medium
LA Large
QL Quite large
VL Very large
ET,DET Error and derivative error of temperature EH,DEH Error and derivative error of humidity
PT,IT Fuzzy output for tunningparameters of PI temperature PH,IH Fuzzy output for tunningparameters of PI humidity

INTRODUCTION
The strong growth in the civil indutrial construction and transport infrastructure leading to the introduction of more high buildings, commercial centers, many tunnels, undergrounds … where are required to be equiped with the HVAC system [1]. HVAC systems ensure to supply and maintain the comfortable indoor air for occupants with the desired air temperature, humidity and quality. The comfortable air inside these buidlings depends on the acurate temperature and relative humidity process control in HVAC system [24]. The comfortable temperature and humidity range are changing following on seasons and different countries [3]. Moreover, conventional HVAC systems consume approximate half of the total electric energy that is largely depend upon fossil fuel in modern cities [5]. This causes polluted atmophere and increasing in greenhouse gases emissions from HVAC applications. Therefore, the demand for the comfortable indoor air is in conflict with the call for reduction of energy consumption and environmental protection. Besides the problem of energy consumption, sometimes the incorrect operation of the HVAC systems may not help to improve indoor air [67]. Hence, it is a necessary to design control temperature and humidity strategies in order to improve the performance of HVAC systems. The control systems for indoor building air can be mainly classified into two categories according to the approaches employed: the conventional controllers and computational intelligence techniques. The proportional integrate derivative (PID) controller is employed the popular in conventional HVAC systems, because of the simpleness, easy installation and use [89]. However, PID is not solved completely nonlinear plant, resisting noise weakly, and not satifying demand about the indoor air quality. Intelligent controller, fuzzy logic or neural networks have
recently become practical as a fast, accurate and flexible tool to HVAC control strategy modeling, simulation and design [10 14]. With the designed controller, the performance of a HVAC system can be significantly improved [4,15]. Moreover, there are several disadvantages that limit the performance of current control technologies, such as: the on/off control causes the system switching working state too frequently; and neural

Mathematical model of the indoor air temperature
The indoor air temperature is affected by the outside air temperature, initial indoor air temperature, volume of the room, heat loss from the wall, hot/cold water flowrate and steam flowrate as presented in Fig. 1. Thus, the indoor air temperature can be expressed as follow:
networks are hard to put into application; controller is so
complex. The results of applying the sefttuning intelligent
T ( ) Tp ( ) Tq ( )
(2)
PID, fuzzy adaptive PID, adaptive predictive decoupling control, fuzzy control combined with neural network for the HVAC system, in papers [1621], are to impove performance
The main temperature Tp is supplied by the hot/cold water flowrate through the heating/cooling coil. Hence, it can be expressed as follows based on energy conservation principle:
of the HVAC system. But the nonlinear model and the
dTp
r C V = a
F (t ) U A [T (t ) T (t )]
(3)
interaction between temperature and humidity process were not
a p i dt p p
w w p o
regarded completly. Hence, it is worth developing temperature and humidity process controllers of HVAC system for the purpose of impoving the indoor air quality and energy
The overall heat transfer coefficient for the wall Uw when the individual convection heat transfer coefficients for fluid on each side of the wall is equal, can be calculated as [3,67]:
efficiency.
In this paper, by combining advantages of the selfturing parameters fuzzy PI control and decoupling control mothod,
U = ( 2 + dw ) 1
w
w
ha Kb
(4)
new temperature and humidity controller are developed and their performances as well as their potentials in HVAC control
By using Laplace transform, after changing equation (2)
can be described as follows:
systems are discussed. The proposed control system is finally
r aCpVi
[ s + 1]T (s) =a p
F (s) + T (s)
(5)
tested and evaluated by the simulation on Matlab.
U A p
U A p o


MATHEMATICAL MODEL OF THE INDOOR AIR TEMPERATURE & HUMIDITY CONTROL SYSTEM
w w w w
Assume To=0 and consider effect of the time delay of the heat transfer process in the room, such as tp, then (5) can be simply transferred as follows:
We study a room, equiped with the base HVAC system
which has the heater by hot/cold water and the humidifier by
G = Tp
(s)
=
– qtps
k e
k e
tp
; t =
r aCpVi , k =
a p
(6)
steam, suc as Fig.1. Depend on the mixed air temperature
11 F (s)
t s + 1
tp U A tp U A
p tp w w w w
after the filter, the outside air is heating or cooling by the heating/cooling coil. Then, the outside air can be humidified by the steam humidifier, and then it is supplied into the room by the supply fan. The exhaust air is conducted out the room
The indoor air temperature is also affected by the steam humidifier. Calculating the same as the main temperature, the temperature Tq causes by the steam humidifier, is expressed as
T (s) k e qtqs V a a
by the return fan. The heating/cooling coil gives the indoor air
G = q =
tq ; t
= i , k
= q t
(7)
a thermalhumid energy P by changing the hot/cold water
12 F (s)
t s + 1
tq f tq
f r E
flowrate Fp through the HWR/CHR control valve. The steam
q tq
a a a p
humidifier also gives the indoor air a thermalhumid energy Q by varying the steam flowrate Fq through the control steam valve. This system uses the temperature & humidity controller to adjusting the position of hot/cold water, steam valves, and

Mathematical model of the indoor air humidity
The indoor air humidity is directly affected by the steam humidifier, initial indoor air humidity, heating/cooling coil as in Fig.1. The indoor air humidity can be expressed as follows:
then can change flowrate Fp, Fq following equation:
H ( ) Hp ( ) Hq ( )
(8)
P = p.Fp; Q = q.Fq (1)
The main indoor air humidity Hq is produced by adjusting the position of the steam valve. So that it can be described as follows based on the energy conservation principle:
r V E
dHq = a
F (t ) r
f E (H
– H )
(9)
a i p dt
q q a a p q o
Assume Ho=0 and consider the time delay of the humidity spread process in the room, such as hq, then (9) can be simply transferred in Laplace – domain, as follows:
H (s)
k e qhqs V a q
G = q =
hq ; t hq = i , khq = (10)
22 F (s)
t s + 1
fa far a Ep
q hq
The indoor air humidity is also affected by the heating/cooling coil. So that humidity Hp can be presented as:
G = H p (s)
=
– qhps
k e
k e
hp
; t hp =
r aCpVi
, k = a pah (11)
hp
hp
21 F (s)
t s + 1
Uw Aw
Uw Aw
Fig. 1. Schematic diagram of the indoor air temperature & humidity
control processes in HVAC system
p hp

Dynamic model of control valve
Most of the control valves are usually designed so that the flowrate through the valve is a nearly linear function of the signal to the valve actuator. Therefore, a firstorder transfer function is an adequate model [8,14] for the dynamic characteristic of the electricpneumatic valve in this project:
3.1. The PI controllers design
The purpose of this PI controllers design is determined the initial paramaters for FuzzyPI controllers (kP0, kI0) for two temperature & humidity feedback control loop. If neglecting interaction between temperature and humidity, the transfer function of the temperature control loop object as:
Fp (s)
kvt e qvt s
Fq (s)
kvhe qvhs
0.42e 6.2s
Gvt =
=
I (s) t
; Gvh =
s + 1
=
I (s) t
s + 1
(12)
GT = Gvt G11 =
(562.24s + 1)(1.5s + 1)
(14)
t vt h vh
2.4. The mathematical model of the control object in the indoor air temperature and humidity control system
The transfer function of the humidity control loop object:
0.52e 17.2s
When considering interaction between temperature and
GH = GvhG22 =
(1600s + 1)(2.5s + 1)
(15)
humidity, the indoor air temperature and humidity processes is
Applied Skogestads approximation method, we have:
a twoinput twooutput model. The matrix transfer of control object in the indoor air temperature and humidity control
0.42e 6.95s
GT = =
0.42
(16)
system, when adding the model of the control valve, is given 562.99s + 1 (562.99s + 1)(6.95s + 1)
as follows:
0.52e 18.45s
0.52
T Gvt G11
GvhG12 Fp
GH = 1601.25s + 1 = (1601.25s + 1)(18.45s + 1)
(17)
H Gvt G21
GvhG22 Fq
(13)
Arcoding to the optimal module principle [22], the
In this paper, we assume that the length of the testing room is 4m, width is 2m, heigh is 3m; the thickness of the brick wall
parameters kP0, kI0 can be determined as follows:
kT k H
R0 (s) = kT + I 0 , R0 (s) = k H + I 0
(18)
is 0.3m; and the desired indoor temperature is 20oC. Therefore
Vi=24m3, Aw=36m2, dw=0.3m, fa=0.015m3/s. From [34] we recieve values as follows: Ep=2538kJ/kg, Cp=1005J/kg.oC,
T P0 s H P0 s
kT = 562.99 = 96.44, kT = 1 = 0.17
Kb=0.6W/m.oC, a=1.2kg/m3, ha=10W/m.oC. And then we can calculate: Uw=1.43, ktp=0.019, tp=562.24, ktq=0.009,
P0
k H =
2×0.42×6.95
1601.25
I 0
= 83.45, k H =
2×0.42×6.95
1
= 0.05
=1600, k =0.006, =562.24, k =0.022,
=1600, We
P0 2×0.52×18.45
I 0 2×0.52×18.45
tq hp hp hq hq
assume: t=0.4, h=0.3,tp=5.6, tq=6.4, hp=1.7, hq=16, kvt=22, vt=1.5, vt=0.6, kvh=23.75, vh=2.5, vh=1.2


A FUZZY – PI DECOUPLING CONTROLLER FOR THE TEMPERATURE AND HUMIDITY PROCESS
The temperature and humidity processes in the room are complicated: when making change the humidity then the temperature is also changing and on contrary while adjusting the temperature then humidity is also affected. So that , it is necessary to adding decoupling controllers in order to remove the relations between these two channels.
In HVAC system, it is common traditional PID controllers. However, the parameters of PID controllers is offten fixed in all operating time. This reduces the quality of control system when the process requires operating in different modes, or when the object parameters change, or impact noise. Meanwhile, the fuzzy logic has advantages in controlling uncertain objects and lets take advantage of experience operating the system.
Therefore, two PI controllers with sefttunning parameters based on fuzzy logic calculations is proposed for two feedback control loop of the temperature & humidity processes. The structure of the FuzzyPI controllers decoupling controller for the temperature and humidity control in HVAC system is proposed as in Fig.2. The RT, RH are FuzzyPI controllers
Fig. 2. Structure of FuzzyPI decoupling controller for HVAC system

The decoupling controllers design
Arcoding to the decoupling control principle, the decoupler RTH is designed to cancel H21 arising from process interaction between UT and H, and the decoupler RHT is designed to cancel T12 arising from process interaction between UH and T. In order to cancelling the influence between temperature and humidity chanels, output U21 & U12 need to satisfy conditions:
(FPI); kP0, kI0 are initial parameters of PI controller; kP, kI are
Gvt G21U11 + GvhG22U21 = 0, GvhG12U22 + GvtG11U12 = 0
(19)
sefttunning parameters based on fuzzy logic calculations
Hence we obtain the transfer function of the decouplers:
(FC). The RTH, RHT are the decoupling controllers, designed
G (s)G (s)
G (s)G (s)
based on the decoupling control principle.
R (s) = – vn 21 , R
(s) = – va 12
(20)
G
G
TH
TH
va (s)G22
(s) HT
Gvn
(s)G11
(s)
Using Skogestads approximation [22], the decoupling controllers have the following form:


SIMULATION AND RESULT
The simulation is carried out to analyse the performance of
RTH
(s) = – 0.25(1601.25s + 1)(18.45s + 1) (562.99s + 1)(3.0s + 1)
0.51(562.99s + 1)(6.95s + 1)
(21)
three controllers for the humidity and temperature control loops in HVAC system: (1) PI controller (PI), (2) PI decoupling controller (PIdcp); (3) fuzzyPID decoupling
RHT (s) = –
(1601.25s + 1)(8.85s + 1)
(22)
controller (FPIDdcp). The PI controller was designed in 3.1, The PI decoupling controller is composed of the decoupler in

The fuzzy logic calculation blocks design
Fuzzy logic calculations blocks (FC) have: two inputs – temperature/humidity error (ET or EH), derivative of temperature error (DET or DEH); two output is PT (or PH), IT (or IH) corresponding to the output value kPT, kIT (or kPH, kIH).
Using membership functions are shaped triangular for all variables, fuzzied for all input variables by 5 fuzzy sets {NL (Negative Large), NS (Negative Small), ZE (ZEro), PS (Positive Small), PL (Positive Large)}, fuzzied for all output variables by 5 fuzzy sets {SM (SMall), ME (MEdium), LA (LArge), QL (Quite Large), VL (Very Large)}. The physical domain of the input & output variables are determined as: ET[50,50], DET[5,5], PT[0,100], IT[0,0.5];
PH[0,95], IH[0,0.5], EH[95,95], DEH[10,10].
Depending on the characteristics of the indoor air temperature (or humidity) control process and the PID control principle in order to improve quality control for system (see Tab.1), we define the 25 base fuzzy rules as Tab.2.
Tab.1. The effect of kP, kI tunning
Closed loop respond
Rise time
Settling time
Over shoot
Steady state error
Stability
Increasing
kP
Decrease
Increase
Small increase
Decrease
Degrade
Increasing
kI
Small decrease
Increase
Increase
Large decrease
Degrade
Tab.2. The base fuzzy rule of kPT, kIT (or kPH, kIH)
PT (or PH) IT (or IH)
ET (or EH)
NL
NZ
ZE
PS
PL
DET
(or DEH)
NL
SM
SM
SM
SM
SM
NS
SM
ME
SM
SM
SM
ZE
SM
SM
LA
LA
QL
PS
SM
SM
LA
QL
VL
PL
SM
SM
QL
VL
VL
Using the MaxMin composition rule and the cetroid defuzzification method, we can obtain the clear output value of FCs: kPT, kIT for temperature loop and kPH, kIH for humidity loop. Then, the selftuning parameters of PI controllers can be calculated by equations:
3.2 and the PI controller in 3.1. The fuzzyPID decoupling controller consists of the decoupler in 3.2 and the PI controller with sefttunning parameters (the fuzzy logic calculation block was designed in 3.3, the PI initial parameters in 3.1). The simulations have been taken on the platform of Matlab as describled in Fig.3. The simulating results are used to indicate the controllers performance including several indexes: overshoot, steady time, steady error, coupling effect.
The simulation was tested with initial indoor air situations: 150C, 10% and assume required humidity & temperature
Fig. 3. Simulating the temperature & humidity control processes in Matlab
The simulation was tested with initial indoor air situations: 150C, 10%; Assume required indoor air temperature increased from 35oC up 55oC at 200 seconds, and humidity varied from 90% down to 70% at 400 seconds (Fig.4). The response curves of the indoor air temperature & humidity control
k*T = kT kT , k*T = kT kT
(23)
processes with 3 controllers is presented in Fig.4.
P P0 P I I 0 I
k*H = k H k H , k*H = k H k H
(24)
P P0 P I I 0 I
55
55
60 T [oC]
50 1 4
45 2
40 3
35
30
25
20
15
10
5
0
The simulation results have proved the proposed fuzzyPI decoupling controller has excellent performance on efficient auto tuning of the PI parameters only when needed: fast
6 response speed; small overshoot; small steady error; and stability and adaptability response to uncertain factors. In other words the fuzzyPI decoupling controller suitbles for controlling simultaneously the indoor air temperatue and humidity processes in HVAC system. The fuzzyPI decoupling controller can improve the indoor air quality, increase the process efficiency and bring economic benefits to the user.
100
90
0 100 200 300 400 500 600
2
REFERENCE
80 H [%]
70 1 3 7
60 5
50
40
30
20
10
0 100 200 300 400 500 600
Fig. 4. Response curves of temperature & humidity control with 3 cotrollers: 4T*, 4H*, 1PI, 2Pidcp, 3FPIdcp, 6varying H* affect the temperature response, 7varying T* effect the humidity response.
The performance of the proposed controllers (PI, PIdcp, FPIdcp) is presented in Tab.3.
Tab.3. The proposed controllers performance
Control process
Control ler
Over shoot (%)
Steady time (s)
Steady error
Coupling effect (%)
Temp erature
PI
55.9
84.5
0.02
8.3
PIdcp
15.3
59.5
0.01
2.5
FPIdcp
~ 0
31.4
0
0.05
Humidity
PI
2.1
80.2
0.08
8.2
PIdcp
5.6
104.3
0.21
5.2
FPIdcp
~ 0
80.1
0
3.5
The simulating results of the proposed temperature and humidity controllers show that the FPIdcp has the best control quality: no overshoot, eliminating steady error, the smallest steady time and eliminating neraly the effect of the coupling channels disturbaces when it was compared to other controllers: PI, PIdcp.
Therefore, with the proposed FPIdcp controller, the indoor air quality can be well control since: PI controller is suitable for various control object including indoor climate factors control; the fuzzy logic calculation block for optimal PI parameters tuning to ensure adaptability to different situations; better PI control parameters selection can ensure the desired system output; the decoupling controllers eliminate the interaction between temperature & humidity processes.


CONCLUSION
The indoor air temperature and humidity control process was studied and presented in this paper. Based on the nonlinear model of the indoor air temperature and himidity, considering the influence of the coupling channels, three controllers (PI controller, PI decoupling controller, fuzzyPI decoupling controller) were designed, simulated on Matlab.

Yu BF, Hu ZB, Liu M. (2009); Review of research on air conditioning systems and indoor air quality control for human health; International Journal Refrigeration 32.

Graudenz GS, Oliveira CH, Tribess A. (2005; Association of air conditioning with respiratory symptoms in office workers in tropical climate; Indoor Air 2005;15:626.

DeDear RJ, Brager GS (2002); Thermal comfort in naturally ventilated buildings: revisions to ASHRAE Standard 55; Energy and Buildings, 34(6): 54961.

S. Soyguder, H. Alli; An expert system for the humidity and temperature control in HVAC systems using ANFIS and optimization with Fuzzy Modeling Approach; Energy and Buildings 41 (2009) 814822.

S.W. Wang (2010); Intelligent Buildings and Building Automation; Spon Press (Taylor & Francis), London and New York, 2010.

Taleghani, M., Tenpierik, M., Kurvers, S. (2013); A review into thermal comfort in buildings, Renewable and Sustainable Energy Reviews, 26, 201215.

Wolkoff, P. (2013); Indoor air pollutants in office environments: Assessment of comfort, health, and performance, International Journal of Hygiene and Environmental Health 216, 2013, 371394.

W.S. Levine, Ed. (1996); PID Control: The Control Handbook; Piscataway, NJ: CRC IEEE Press, 1996, pp. 198209.

K.H. Ang, G. Chong, and Y. Li (2005); PID control system analysis, design, and technology; IEEE Trans. Contr. Syst. Tech., vol. 13, no. 4, pp. 559576.

S.W. Wang, X.Q. Jin (2000); Modelbased optimal control of VAV air conditioning system using genetic algorithm; Build. Environ. 35 (6), 471487.

F.W. Yu, K.T. Chan (2006); Advanced control of heat rejection airflow for improving the coefficient of performance of aircooled chillers; Appl. Therm. Eng. 26 (1), 97110.

X. Jin, Z. Du, X. Xiao (2007); Energy evaluation of optimal control strategies for central VWV chiller systems; Appl. Therm. Eng. 27 (56), 93494.

T.Y. Chen (2002); Application of adaptive predictive control to a floor heating system with a large thermal lag; Energy Build. 34.

S.W. Wang (1998); Dynamic simulation of building VAV air conditioning system and evaluation of EMCS online strategies; Building and Environment 1998, 36 (6).

Yang, S., Wu, S., Yan, Y.Y., (2013). Control strategies for indoor environment quality and energy efficiency – a review; International Journal of Low – Carbon Technologies.

Song, Y., Wu, S., Yan, Y. (2013); Development of SelfTuning Intelligent PID Controller Based on 115 for Indoor Air Quality Control; International Journal of Emerging Technology and Advanced Engineering, 3:11:283290.

Huang, S., & Nelson, R. M. (1994); Rule development and adjustment strategies of a fuzzy logic controller for an HVAC system: Part one analysis; ASHRAE Transaction, 100 (1), 841850.

Soyguder, S., Karakose, M., Alli, H. (2009) Design and simulation of selftuning PIDtype fuzzy adaptive control for an expert HVAC system; Expert Systems with Applications, 36.

Soyguder, S., Alli, H. (2009); An expert system for the humidity and temperature control in HVAC systems using ANFIS and optimization with Fuzzy Modeling Approach; Energy and Buildings 41, 814822.

S. Soyguder, M. Karakose, H. Alli (2008), Design and simulation of selftuning PIDtype fuzzy adaptive control for an expert HVAC system; Expert System with Applications 42.

Song, Y., Huang, X. and Feng, Y. (2013); A Kind of Temperature and Humidity Adaptive Predictive Decoupling Method in Wireless Greenhouse Environmental Test Simulation System; Adv. J. Food Sci. Technol., 5(10): 13951403.

Sigurd Skogestad (2001); Probably the best simple PID tuning rules in the world; Journal of Process Control.
Trinh Luong Mien obtained his Ph D degree in automation and control of technological processes and manufactures at Moscow State University of Railway Engineering (MIIT) in Russia Federation in 2012.
Trinh Luong Mien is a lecturer at Faculty of Electrical and Electronic Engineering – University Transport & Communications in Vietnam since 2004. His main research is the development of intelligent control algorithms for the technological and manufacturing processes in industry and transportation based on fuzzy logic, neuron network, adaptive & optimal theory; study control algorithms & guarantee safe movement of the electrical train in ATP/ATO/ATS/ATC system of the urban railway; design of supervisory control and multichannel data collection systems.