On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al.,...

16
Modeling, Identification and Control, Vol. 40, No. 3, 2019, pp. 161–176, ISSN 1890–1328 On-line parameter and state estimation of an air handling unit model: experimental results using the modulating function method A. Ionesi 1 H. Ramezani 2 J. Jouffroy 3 1 Danfoss Heating Segment, District Energy, Ulvehavevej 61, DK-7100 Vejle, Denmark. E-mail: [email protected] 2 SDU Mechatronics, Mads Clausen Institute, University of Southern Denmark, Alsion 2, DK-6400 Sønderborg, Denmark. E-mail: [email protected] 3 UCL Business and Technology, University College Lillebælt, Seebladsgade 1, DK-5000 Odense C, Denmark. E- mail: [email protected] Abstract This paper considers the on-line implementation of the modulating function method, for parameter and state estimation, for the model of an air-handling unit, central element of HVAC systems. After recalling the few elements of the method, more attention is paid on issues related to its on-line implementation, issues for which we use two different techniques. Experimental results are obtained after implementation of the algorithms on a heat flow experiment, and they are compared with conventional techniques (conventional tools from Matlab for parameter estimation, and a simple Luenberger observer for state estimation) for their validation. Keywords: Modulating function method, heat flow, air-handling unit, parameter and state estimation. 1 Introduction The challenges of the clear evidence of climate change (Edenhofer and Seyboth, 2013) bring in the front-line new regulations which aim to reduce the green-house gas emissions in all sectors. A notable amount of emis- sions as well as energy consumption is accounted by buildings, both in the industrial and residential sector. According to Rey-Hernandez et al. (2018), the need for heating is going to decrease while the cooling demand in buildings is going to increase in the coming decades due to the climate change. In this respect, heating ventilation and air conditioning (HVAC) systems with higher energy efficiency and better building designs are continuously researched and developed. To facilitate the transition towards reducing the en- ergy consumption and the green-house gas emissions, mathematical models of buildings have been intensively used. The simulation tools available today (Crawley et al., 2008) and the ongoing research offer a high variety of possibilities when it comes to design opti- mization (Kheiri, 2018), renewable integration (Zhou, 2018), retrofitting (Fan and Xia, 2018), on-line fault detection diagnosis (Bonvini et al., 2014) and even op- timized real-time control. The HVAC system is one very important part of the building, which in Europe is estimated to share 76% of the total energy use (Gruber et al., 2014). The duty of this system is to ensure a comfortable indoor environ- ment by regulating the temperature and the air qual- ity. The well-functioning of the HVAC system will also contribute to an optimal energy consumption. Several doi:10.4173/mic.2019.3.3 c 2019 Norwegian Society of Automatic Control

Transcript of On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al.,...

Page 1: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control, Vol. 40, No. 3, 2019, pp. 161–176, ISSN 1890–1328

On-line parameter and state estimation of an airhandling unit model: experimental results using

the modulating function method

A. Ionesi 1 H. Ramezani 2 J. Jouffroy 3

1Danfoss Heating Segment, District Energy, Ulvehavevej 61, DK-7100 Vejle, Denmark. E-mail:[email protected]

2SDU Mechatronics, Mads Clausen Institute, University of Southern Denmark, Alsion 2, DK-6400 Sønderborg,Denmark. E-mail: [email protected]

3UCL Business and Technology, University College Lillebælt, Seebladsgade 1, DK-5000 Odense C, Denmark. E-mail: [email protected]

Abstract

This paper considers the on-line implementation of the modulating function method, for parameter andstate estimation, for the model of an air-handling unit, central element of HVAC systems. After recallingthe few elements of the method, more attention is paid on issues related to its on-line implementation, issuesfor which we use two different techniques. Experimental results are obtained after implementation of thealgorithms on a heat flow experiment, and they are compared with conventional techniques (conventionaltools from Matlab for parameter estimation, and a simple Luenberger observer for state estimation) fortheir validation.

Keywords: Modulating function method, heat flow, air-handling unit, parameter and state estimation.

1 Introduction

The challenges of the clear evidence of climate change(Edenhofer and Seyboth, 2013) bring in the front-linenew regulations which aim to reduce the green-housegas emissions in all sectors. A notable amount of emis-sions as well as energy consumption is accounted bybuildings, both in the industrial and residential sector.According to Rey-Hernandez et al. (2018), the need forheating is going to decrease while the cooling demandin buildings is going to increase in the coming decadesdue to the climate change. In this respect, heatingventilation and air conditioning (HVAC) systems withhigher energy efficiency and better building designs arecontinuously researched and developed.

To facilitate the transition towards reducing the en-

ergy consumption and the green-house gas emissions,mathematical models of buildings have been intensivelyused. The simulation tools available today (Crawleyet al., 2008) and the ongoing research offer a highvariety of possibilities when it comes to design opti-mization (Kheiri, 2018), renewable integration (Zhou,2018), retrofitting (Fan and Xia, 2018), on-line faultdetection diagnosis (Bonvini et al., 2014) and even op-timized real-time control.

The HVAC system is one very important part of thebuilding, which in Europe is estimated to share 76% ofthe total energy use (Gruber et al., 2014). The duty ofthis system is to ensure a comfortable indoor environ-ment by regulating the temperature and the air qual-ity. The well-functioning of the HVAC system will alsocontribute to an optimal energy consumption. Several

doi:10.4173/mic.2019.3.3 c© 2019 Norwegian Society of Automatic Control

Page 2: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

subsystems are considered when modeling an HVACsystem, as explained in Satyavada and Baldi (2016).Among them, the air handling unit (AHU) is the sub-system whose role is to condition the air circulatedthrough the building. Different models have been pro-posed in the literature for modeling an AHU: physi-cal models described by partial differential equationsused by most of the simulation tools available (Craw-ley et al., 2008), transfer functions (Afroz et al., 2017),data-driven models (Afram and Janabi-Sharifi, 2014),and hybrid models or reduced-order models (ROM)(Afram and Janabi-Sharifi, 2015).

The latter lead to many possibilities as they easilylink to estimation and control scenarios where real-time capabilities are important. In this paper, weinvestigate the use of the so-called modulating func-tion method to perform both state and parameter esti-mation on a continuous-time ROM- based on a sim-ple thermal-electrical analogy (Fraisse et al., 2002).In comparison with more conventional approaches us-ing discrete-time such as Kalman filtering, performingboth state and parameter estimation in continuous-time relates better to the formalism in which the sys-tem is originally modeled and ensures the convergenceof the estimates to the real values when sampling timeapproaches zero (Unbehauen and Rao, 1997). Com-pared to their discrete-time counterparts estimatingeither parameters or state components is the neces-sity of considering time derivatives. The modulatingfunction technique, originally introduced by Shinbrot(Shinbrot, 1957), allows to circumvent this issue ele-gantly, with the use of fixed-length time integrals ofthe measured signals, akin to continuous-time finiteimpulse response (FIR) filtering. This offers the ad-ditional advantages of giving estimates after a fixedand predetermined amount of time, contrary to usualKalman-based or observer-based methods. Originallyproposed towards parameter estimation, the modulat-ing function method was more recently extended to in-clude state estimation (Liu et al., 2014) (Jouffroy andReger, 2015).

Many studies considering the modulating functionapproach showed satisfactory performance, but mostlyin simulations using artificial data (Jouffroy and Reger,2015) or sources generated from real profiles (Asiriet al., 2017). In contrast to that and to the best ofour knowledge, not many applications can be foundin the literature dealing with experiments done on ac-tual measurements, to the notable exception of Daniel-Berhe and Unbehauen (1998), where Hartley modulat-ing functions are used to estimate the parameters of athyristor driven DC-motor.

This paper addresses the question of real-time de-terministic parameter and state estimation of an air

handling unit using the modulating function method.The corresponding algorithms are implemented in Mat-lab/Simulink on an actual heat flow model and ex-perimental results based on noisy measurements arepresented. While the model itself is easy to developand implement, performing estimation of its param-eters and states is still a challenge given the actualdistributed nature of these parameters, which are alsosubject to possible changes over time. We also look atpractical aspects related to implementation issues forusing the modulating function method in an on-line sit-uation, and which we believe has been less consideredin the literature. The main contributions of this paperare: 1) the proposal of a technique within the modulat-ing function framework whereby a modulating functionis defined based on online measurements as opposed toa priori; 2) another technique where a modulating func-tion is defined as a solution of a state-space represen-tation, thus allowing for rapid implementation in Mat-lab/Simulink; and 3) the actual implementation andtesting of these algorithms on an experimental plat-form consisting of a heat flow model. In doing so andcontrary to what can be usually seen in the literature,we focus more on application aspects than performanceand statistical properties of the estimates, which havebeen done elsewhere (see for example the interestingwork in Liu and Laleg-Kirati (2015)). Preliminary re-sults were reported in Ionesi and Jouffroy (2018), whereonly parameter estimation using the first technique isaddressed.

After this introduction, we start this paper by brieflyexplaining the principle of an HVAC system and thatof an AHU, and give a simple ROM of the latter (sec-tion 2). Then, the basics of the modulating functionmethod are recalled for both parameter and the stateestimation in a state-space context (section 3). A fol-lowing section is more specifically addressed to issuesthat are more prone to arise in an on-line scenario,i.e. possible singularities coming from the choice ofthe modulating function, and ease of implementationof the moving-horizon version in a block diagram envi-ronment such as Simulink. For this, we use two differ-ent techniques, each one dedicated to these two specificissues (section 4). We validate the proposed techniqueson a heat flow model and discuss our experimental re-sults (section 5). Brief concluding remarks end thispaper (section 6).

2 Heat Flow Model of an AHU

2.1 System description

The HVAC system within a building can be configuredin many different ways with regards to the buildings’

162

Page 3: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Ionesi et.al., “On-line parameter and state estimation of an AHU using the modulating function method”

layout and purpose, application or users’ needs. It usu-ally contains a variety of components such as chillers,cooling towers, condensing boilers, AHUs, heat pumps,heat recovery units, fans, control valves, pipes, etc. asdescribed, for example, in Satyavada and Baldi (2016).The air flow in a typical compact HVAC system canbe represented by the schematic diagram shown in Fig.1. The heating and cooling coils are part of separatenetworks with complex units that deliver cold or heatbased on requirements. Similar representations canbe seen in Dey and Dong (2016) or Chen and Treado(2014).

An important component of the HVAC system is theAHU (marked with green dashed box in Fig. 1). Therole of this component is to condition the air that isused for the ventilation of the rooms in order to main-tain a comfortable indoor environment in terms of tem-perature and air quality. In this unit, the fresh airis mixed with air coming from the rooms in a mix-ing chamber, then is circulated by a constant air vol-ume flow fan over a cooling/heating coil. Based onthe needs, the air is heated or cooled accordingly, sothat the temperature at the exit of the unit achievesprescribed values.

Figure 1: Air flow diagram through a typical fan coilcompact HVAC

2.2 Mathematical modeling

Many models have been developed to represent the dy-namic heat flow behavior of an AHU. In the existingliterature, the models that have been developed rangefrom the use of basic physics (Setayesh et al., 2015)to advanced data mining algorithms such as artificialneural networks and other machine learning techniques(Afram et al., 2018). An overview of the variety ofthese models can be found in Afroz et al. (2017).

The heat flow which is considered here is schemati-

Figure 2: Internal heat flow profile

cally represented in Fig. 2. It simply consists of a fan,a heating coil, and a duct where temperature sensorscan be placed. As expected from basic considerations,the temperature profile of the flowing medium, as wellas the heat transfer coefficients typically varies withthe length L of the duct (see for example Bergmanand Incropera (2011)). However, in the present appli-cation, only the temperature at the exit of the unit isof interest as it is typically the one which one wants toregulate. Hence we will, in the following, consider themeasured temperature Tm,L, hereafter simply short-ened as Tm. In order to model this heat flow, we resortto second-order linear ROM. A similar albeit first-ordermodel is described in Afram and Janabi-Sharifi (2015).

Figure 3: RC network analogy of the heat flow

The proposed 2nd order linear model uses the resis-tance capacitor (RC) network analogy depicted in Fig.3. In order to develop the model, we first write a flowbalance equation for each node. Hence, we get

CmdTmdt

=1

Rme(Te − Tm) +Qh (1)

for node 1, representing the air inside the unit, whereTm is the measured temperature in the AHU and Teis the envelope/surface temperature of the AHU, whileQh is the heating/cooling load added in the AHU. Theconstant parameters of this flow balance equation areCm, the summed heat capacity of the sensor and ofthe air inside the unit and Rme, the thermal resistance

163

Page 4: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

between the temperature sensor and the envelope ofthe unit.For node 2, the surface/envelope of the unit, we havethe differential relation

CedTedt

=1

Rme(Tm − Te) +

1

Rer(Tr − Te) (2)

where Tr is the temperature of the room surroundingthe unit. In equation (2), constant parameters are Ce,the heat capacity of the envelope of the AHU, and Rer,the total thermal resistance between the envelope of theunit and the room.

From eqs. (1)-(2), it is simple to obtain the state-space representation

x = Ax + Bu (3)

y = Cx (4)

where, defining the state vector and the input vectoras

x = [Tm, Te]T, (5)

andu = [Qh, Tr]

T(6)

while assuming we only measure the temperature atthe end of the unit, i.e. y = Tm, we have the matrices

A =

[− 1CmRme

1CmRme

1CeRme

−( 1CeRme

+ 1CeRer

)

], (7)

B =

[ 1Cm

0

0 1CeRer

], (8)

C =[1 0

]. (9)

3 The Modulating FunctionMethod: parameter and stateestimation

In this section, we briefly recall the basics of the mod-ulating function method. For the sake of clarity, wedo so on single-input single-output systems, with themultiple-input case as a direct extension.

The modulating function method being primarilybased on an input-output description of a dynamicalsystem, we start, as a preliminary by transforming ourstate-space presentation (3)-(4). Hence, consideringthe n-dimensional case where x ∈ Rn, u ∈ R and y ∈ R,we differentiate the output equation (4) n−1 times andget the well-known expression

y = Ox + Tu (10)

where y = [y, y, ..., y(n−1)]T and u = [u, u, ..., u(n−1)]T .Matrix O is the well-known observability matrix of the

Kalman criterion and matrix T is the system specificToeplitz matrix given by

T =

0 0 . . . 0

CB 0. . .

......

.... . . 0

CAn−2B CAn−3B . . . 0

. (11)

Then, differentiating equation (4) one more time andisolating x in expression (10), we get

y(n) = CAnO−1(y −Tu) + CCRu (12)

where the reversed controllability matrix CR is givenby

CR = [A(n−1)B,A(n−2)B, ...,AB,B]. (13)

Note that an obvious condition for expression (12) tobe defined is the observability of state-space represen-tation (3)-(4). We thus have the input-output form

y(n) = −aT y + bT u (14)

where aT = CAnO−1 = [a0, a1, ..., an−1] and bT =CCR − CAnO−1T = [b0, b1, ..., bn−1]. Defining thenthe vector Y as Y = [yT , uT ]T , the following para-metric form is obtained

y(n) = YTθ, (15)

where the unknown parameter vector θ ∈ R2n is givenby θ = [−aT ,bT ]T . In case a constant and unknowndisturbance d is impacting the system’s behavior atthe same level as the input, expression (15) can besimply modified such that Yd = [1,YT ]T replaces Yand θd = [d,θT ]T replaces θ.

Before proceeding, let us first recall the definition ofa modulating function (see Liu et al. (2014), Jouffroyand Reger (2015)).

Definition 1 The sufficiently smooth function ϕ :[0, T ] → R is called a modulating function (of orderk) if at least one of its boundaries and its derivativesup to order k equals zero, i.e. if

ϕ(i)(0) · ϕ(i)(T ) = 0, i = 0, k − 1. (16)

A modulating function where ϕ(i)(0) = 0 and ϕ(i)(T ) 6=0 (for i = 0, k − 1) is called a left modulating func-tion, while a modulating function with ϕ(i)(0) 6= 0and ϕ(i)(T ) = 0 is called a right modulating func-tion. If a modulating function is such that we haveϕ(i)(0) = ϕ(i)(T ) = 0, then it is called a total modulat-ing function.

164

Page 5: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Ionesi et.al., “On-line parameter and state estimation of an AHU using the modulating function method”

Note that a more general definition of a modulat-ing function (see Jouffroy and Reger (2015)) allows toinclude expanding horizons, allowing thus to includealternative integral approaches (Mathew and Fairman,1972) (Saha and Rao, 1980).

In this paper, we are interested in on-line estima-tion. Regarding parameter estimation, we hereby usethe following receding-horizon integral operator on thesignal y(t), using a total modulating function given by(Noack et al., 2018)

Li[y] :=

∫ t

t−T(−1)iϕ(i)(τ − t+ T )y(τ)dτ. (17)

where i = 0, k − 1 and T > 0. Due to the fact that ϕ(t)is a total modulating function and by simple integra-tion by parts, operator (17) has the important propertythat

L0[y(i)] = Li[y]. (18)

Then, applying operator L0[·] on each time-varying sig-nal of equality (15), and using property (18), we areable to avoid both explicit time-derivatives of measuredsignals and unknown initial conditions to get

z = wTθ, (19)

wherez = Ln[y] (20)

and

w = [L0[y], L1[y], ..., Ln−1[y], L0[u], L1[u], ..., Ln−1[u]]T .(21)

Finally, we can obtain an estimate of parameter vec-tor θ by either proceeding to a conventional receding-horizon Gramian-based estimator (Reger and Jouf-froy, 2009), (Reger and Jouffroy, 2008) over a horizonT ′ > 0, or aggregate a sufficient number of expressions(19), each one obtained with a different total modulat-ing function, so that with mt ≥ 2n total modulatingfunctions, we get the set of linear equations

z = WTθ (22)

where z = [z1, z2, ..., zmt ]T and W = [w1,w2, ...,wmt ].

In this case, we can in principle directly get the param-eter vector estimate by computing

θ =(WWT

)−1Wz (23)

or, alternatively, proceed by adding another receding-horizon stage similar to the Gramian-based estimatoralluded to above in order to remove noise further, anddefine the estimate as

θ =

(∫ t

t−T ′W(τ)WT (τ)dτ

)−1 ∫ t

t−T ′W(τ)z(τ)dτ.

(24)

Turning now to state estimation, we resort to anintegral operator based, this time, on a left modulatingfunction, and given by

Lil[y] :=

∫ t

t−T(−1)iϕ

(i)l (τ − t+ T )y(τ)dτ, (25)

where ϕl(t) ∈ [0, T ] is a left modulating function. Us-ing again integration by parts, and because of the factthat ϕl(T ) 6= 0, we have

L0l [y

(i)] =

i−1∑k=0

(−1)kϕ(k)l (T )y(i−1−k)(t) + Lil[y]. (26)

Proceeding then by applying operator L0l [.] on each

signal of equation (14), we get the expression

ϕly+aTΓly−bTΓlu = bTLl[u]−aTLl[y]−Lnl [y] (27)

where

ϕl =[(−1)n−1ϕ

(n−1)l (T ), (−1)n−2ϕ

(n−2)l (T ), . . .

. . . , (−1)0ϕ(0)l (T )

], (28)

Γl=

0 0 · · · 0

(−1)0ϕ(0)l (T ) 0

. . ....

.... . .

. . . 0

(−1)n−2ϕ(0)l (T ) . . . (−1)0ϕ

(0)l (T ) 0

(29)

andLl[y] =

[L0l [y], L1

l [y], ..., Ln−1l [y]]T

(30)

(and similarly for Ll[u]).Noticing then that(

ϕl + aTΓl)T = bTΓl, (31)

expression (27) can be put into a form similar to linearparamtric form (19), i.e. we have

zl = wTl (y −Tu) , (32)

wherezl = bTLl[u]− aTLl[y]− Lnl [y] (33)

andwl =

(ϕl + aTΓl

)T. (34)

Combining then ml ≥ n left modulating functions, weobtain, similarly to parametric form (22), the expres-sion

zl = WTl (y −Tu) , (35)

which, defining the state corresponding to an observ-ability canonical form as

x = y −Tu, (36)

165

Page 6: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

leads to its estimate ˆx with an expression similar toestimate (23). Alternatively, we can also estimate theoriginal state of the system (3)-(4) by using expression(10), thus leading to the simple transformation

x = O−1 ˆx. (37)

4 Implementing the modulatingfunction method for on-lineapplications

4.1 Using time-varying modulatingfunctions

0 2 4 6 8 10

0

2

4

6

Para

met

er e

stim

ate

of a

0

0 2 4 6 8 10Time (seconds)

-1

0

1

2

L0 [y]

104

Figure 4: Parameter estimate a0 (top) and operatorL0[y] (bottom) for the oscillator example(38).

Early works on the use of the modulating functionmethod for offline identification of unknown parame-ters (see for example Pearson and Lee (1985)) startwith the definition of a set of specific and predefinedmodulating functions, which can take different forms(ie Hartly, splines, trigonometric functions, etc). Oncea sufficient number of modulating functions are used,one can get a parameter estimate directly by simpleinversion, as in (22). However, when considering anon-line and receding-horizon situation, this can gener-ally lead, especially with the presence of noise on themeasurements, to singularity issues. For example, con-sidering the trivial system

y + a0y = 0, (38)

applying the modulating function method would sim-ply lead to

a0 = −L2[y]

L0[y], (39)

where the denominator of (39) could create difficulties.As an illustration, we have simulated the sinusoidal sig-nal y(t) = 15 sin 2t, corrupted with a uniform noise. Ascan be seen in Fig. 4, the estimate of a0, obtained withthe fixed total modulating function ϕ(t) = t2(t − T )2,shows singularities around the time when the signalL0[y](t) has its zero-crossings (see also similar spikingbehaviors in Figure 3 of Co and Ungarala (1997)). See-ing L0[y](t) =< ϕ, y > as a dot product between twofunctions, one has therefore an orthogonality issue be-tween these functions.

While one way to go around this issue typically con-sists of using a gradient or recursive least-squares algo-rithm (or even using more modulating functions), an-other possibility is to continuously redefine the modu-lating functions based on the current batch of the mea-sured signals y(t) and u(t).Indeed, setting the number of total modulating func-tions to mt = 2n, we impose a normalizing constraintrepresented as

W = Imt . (40)

In this way, we are simply bypassing the matrix inver-sion of (22) or (24). Realizing this constraint henceconsists of finding the set of mt modulating functionsthat will fulfil (40). Since W is composed of mt vectors(21), where Li[y] is given by (17), we have a set of mt

integro-differential equations, where the unknowns arethe mt total modulating functions ϕk’s, which are alsoconstrained at both their boundaries due to their totalmodulating function nature.

Let us then transform this set of integro-differentialequations into integral equations by considering the n-th order derivative of ϕ(t) arising in expression (20),and define the new function α : [0, T ]→ R as

α(t) := ϕ(n)(t). (41)

Then, using the anti-derivative notation

f (−i)(τ) :=

∫ τ

0

∫ τi

0

...

∫ τ2

0

f(τ1)dτ1 dτ2 . . . dτi, (42)

the right boundaries of the derivatives of a total mod-ulating function ϕ(t) can simply be re-written as

α(−i)(T ) = 0 , i = 1, n. (43)

while the zero left boundary conditions are simply ful-filled thanks to the successive integration of α. Thus,integral operator can now be re-written as

Li[y] :=

∫ t

t−T(−1)iα(i−n)(τ − t+ T )y(τ)dτ, (44)

so that w in (21) only consists of integrals of α. Hence,expression (40) is now a set of integral equations.

166

Page 7: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Ionesi et.al., “On-line parameter and state estimation of an AHU using the modulating function method”

Grouping the right boundary conditions (43) similarly,we also get

Γ = 0n×mt , (45)

where Γ = [α1,α2, ...,αmt ], with each vectorαj composed by all boundary conditions (43) forthis specific modulating function, i.e. αj =

[α(−n)j , α

(−n+1)j , ..., α

(−1)j ]T .

Combining finally (40) with (45), we have a system oflinear integral equations, which is simple to solve nu-merically (details of this numerical method are given inAppendix 6). Once a function α(·) is obtained for eachinstant t, constraint (40) is fulfilled, and Gramian-likeexpression (24) is simply replaced with

θ(t) =1

T ′

∫ t

t−T ′z(τ)dτ. (46)

As for state estimation, it is also possible to normalizeWl similarly so that we have the state estimate

x = O−1zl. (47)

The most notable difference with parameter estima-tion, is that, since Wl in (35) does not depend directlyon the measured signals, the ml = n left modulatingfunctions ϕl,j(·) can be chosen once and for all t. Notethat a similar kind of normalization was also mentionedin the context of least-squares observers (see Medvedev(1996)).

4.2 Direct continuous-timeimplementation

When needing to choose a particular estimationmethod, one can obviously focus on performance interms of the best possible match between the outputof the considered plant and its corresponding predictedoutput using the parameter estimates. However, otherfactors can also be under consideration, such as ease ofimplementation, portability of the code, etc. Regard-ing the on-line use of modulating functions, the latterare usually first discretized (as they would be in theprevious subsection or as in Co and Ungarala (1997)and Noack et al. (2018)). However, modern tools forsimulation and control such as Matlab/Simulink al-lows one to program systems and algorithms directly ina continuous-time setting, thus allowing for the addi-tional advantage of being able to consider non-regularsamplings. In this section, we present one way to dothat, with in mind direct continuous-time implementa-tion, as opposed to looking primarly at performance.To do so, we first begin by introducing a functionψ : [0, T ]→ R, which we will refer to as reversed mod-ulating function, and where ψ(·) is such that

ψ(t) := ϕ(T − t) (48)

where ϕ(·) is our usual modulating function of the verybasic following definition 1. In this case, note that, be-cause of reversal (48), a left reversed modulating func-tion corresponds to a right modulating function, andvice-versa. Then, replace operator (17) with

M i[y] :=

∫ t

t−Tψ(i)(t− τ)y(τ)dτ. (49)

The advantage of (49), is that, besides its slightly sim-pler expression than (17), it is directly put under ausual convolution form. Note, also similarly to (18),we have the property that M0[y(i)] = M i[y].Next, we notice that many modulating functions de-fined in the literature can be expressed by the solutionof a differential equation. For example, the total mod-ulating function ϕ(t) = t2(t − T )2 used for the triv-ial system (38) is the solution of differential equationϕ(5)(t) = 0. Hence, we introduce the following state-space representation

χ = Λχ, χ(0) = ` (50)

ψ = Σχ (51)

where the state vector χ ∈ Rnψ . Thus, integral opera-tor (49) can easily be rewritten using some advantagesof state-space representations. For example, M0[y] canbe rewritten as

M0[y] =

∫ t

t−TΣeΛ(t−τ)` y(τ)dτ. (52)

and similarly for the other M i[y]’s. Defining now thenew vector ξy ∈ Rnψ as

ξy :=

∫ t

0

eΛ(t−τ)` y(τ)dτ, (53)

then it can be shown that

M0[y] = Σ[ξy(t)− eΛT ξy(t− T )

](54)

where vector ξy(t) is obtained as the solution of differ-ential equation

ξy = Λξy + `y. (55)

Interestingly, imposing now the additional constraintof stability on system (50)1 means that filter (54)-(55)can be used to implement M0[y] in software tools suchas Matlab/Simulink without having to proceed to apreliminary discretization (the same is of course validfor M0[u], with a state vector ξu). Note that comput-ing M i[y] is not more difficult, and we would simplyhave

M i[y] = ΣΛi[ξy(t)− eΛT ξy(t− T )

]. (56)

1Note that this is not the case with the polynomial modulatingfunctions typically used in the literature, such as ϕ(t) = t2(t−T )2 previously mentioned and used in example (38).

167

Page 8: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

Gathering now the M i[y] terms similarly to (30), wehave

M[y] = OMF

[ξy(t)− eΛT ξy(t− T )

], (57)

where

M[y] =[M0[y],M1[y], ...,Mn−1[y]

]T(58)

and

OMF =[ΣT , (ΣΛ)T , ..., (ΣΛn−1)T

]T. (59)

From there, we end up with regression (19) again,where

w =[MT [y],MT [u]

]T(60)

while z is given by

z = Mn[y]. (61)

In case one wants to favor speed over precision, it ispossible to use a single total (reversed) modulatingfunction and use a Gramian-based expression in or-der to get the parameter estimate. Another advantageof using expressions such as (52) or (54), where themodulating function is generated by a stable system, isthat similar expressions can also be used to obtain theparameter estimates themselves. Indeed, as in Regerand Jouffroy (2009), we can use a generalized Gramianexpression where the kernel is generated thanks to areversed modulating function. Indeed, multiply eachterm of (19) by ψ(t− τ)w(τ) and integrate to get∫ t

t−Tψ(t−τ)w(τ)z(τ)dτ =

∫ t

t−Tψ(t−τ)w(τ)wT (τ)dτ θ

(62)which can be rewritten as

M0[h] = M0[G]θ (63)

where we have vector h = wz and matrix G = wwT .Proceeding in the same manner as we did from expres-sions (49) to (57), we can define, for M0[h], the filterequations

ξh = Λξh + `h (64)

M0[h] = Σ[ξh(t)− eΛT ξh(t− T )

](65)

where ξh ∈ R2nnψ , and where Λ = Λ⊗I2n, ` = `⊗I2nand Σ = Σ ⊗ I2n (with ⊗ for the Kronecker symbol).For M0[G], we have same kind of filter, this time witha matrix differential equation

ΞG = ΛΞG + `G (66)

M0[G] = Σ[ΞG(t)− eΛTΞG(t− T )

](67)

where ΞG ∈ R2nnψ×2n. Finally, an estimate of param-eter vector θ is obtained by simple inversion as

θ =(M0[G]

)−1M0[h]. (68)

Interestingly, and moving now to state estimation,the method simply consists in repeating the steps (32)to (37) by taking into account that left modulatingintegral operators Lil[y] and Lil[u] are replaced by theright reversed modulating integral operators M i

r[y] andM ir[u], where we have the property

M0r [y(i)] =

i−1∑k=0

ψ(k)r (0)y(i−1−k)(t) +M i

r[y] (69)

(note, therefore, that steps (60) through (68) are obvi-ously not necessary).

5 Case study

As a case study, a heat flow experimental chamberproduced by Quanser company is considered. Thisplant reproduces the thermodynamics of an Air Han-dling Unit of an HVAC system. A few technical de-tails related to the experimental set-up will be first in-troduced, while results of on-line parameter and stateestimation and their validation will be presented after-wards.

5.1 Quanser heat flow chamber

The heat flow experiment (Fig. 5) consists of a fiber-glass chamber equipped with a fan blowing over an elec-tric heating coil. Both the fan and the heater can becontrolled externally with a 0 − 5V input signal. Theair temperature inside the box is measured by threetemperature sensors positioned equidistantly. Addi-tionally, we make use of the Quanser Q8-USB Data Ac-quisition Board in order to enable the communicationbetween the computer and the experimental chamber.

5.2 Initial set-up and simulationenvironment

In the literature, the considered system model for con-trol applications is usually of first order model (withor without time delay) (Malek et al., 2013), (Yamada,2005). However, in practice, a second-order model canhave its importance, as the surface does not only repre-sent the envelope/box storing heat but also other com-ponents (fans, dampers, filters). In a faulty situationwhere the box /components inside get overheated andcan be damaged, estimating the box temperature can

168

Page 9: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Ionesi et.al., “On-line parameter and state estimation of an AHU using the modulating function method”

Figure 5: Quanser Heat Flow Experimental setup

generate important information, and help in fault de-tection. The set-up will be used both for parameter es-timation and state estimation scenarios where the lat-ter uses the results of the former. Because the chamberis located in a closed indoor environment and the ex-periment is conducted on short time interval, we willassume that the room temperature (Tr) is unknownbut constant during the experiment. In order to stayclose to an actual operation of a constant flow AHU,the fan is operating with a constant speed during thewhole experiment.

5.3 On-line parameter estimation

Using steps (10) to (15) on state-space representation(3)-(9), we obtain the ordinary differential equation

y(2) = −a1y(1) − a0y + b1u(1) + b0u+ d (70)

where y(t) = Tm(t) is the measured output,u(t) = 1/kh Qh(t) is the heater input (with kh =400/120 W/V beeing the heater gain), and a1, a0, b1,b0 and d are the unknown coefficients of the equation,the last one, d, representing the impact of the unknowninput Tr mentioned above, and considered here as aconstant disturbance. These coefficients are related tothe parameters of system (1)-(2) as follows:

a0 =1

CmRmeCeRer(71)

a1 =1

CeRme+

1

CeRer+

1

CmRme(72)

b0 =1

CmCeRme+

1

CmCeRer(73)

b1 =1

Cm(74)

d =1

CmRmeCeRerTr. (75)

To perform the parameter estimation with the time-varying modulating function technique, we have usedthe integration period T = 2000 sec with a samplingtime Ts = 2 sec, thus giving a total of 1000 samples.The additional receding horizon interval for obtain-ing the estimates is T ′ = 2000 sec. For the directcontinuous-time implementation technique, the matri-ces Λ, Σ are simply

Λ =

0 1 0 0 00 0 1 0 00 0 0 1 00 0 0 0 1−λ5 −5λ4 −10λ3 −10λ2 −5λ

(76)

andΣ =

[1 0 · · · 0

], (77)

while the initial conditions of (50), representing theboundary conditions of the modulating function, areset as

` = χ(0) =

00

2T 2

−12T − 6λT 2

24 + 48λT + 12λ2T 2

. (78)

To implement filter (54)-(55), we have set λ = 0.02(in matrix Λ, see (76), and ` = χ(0), see (78)) andT = 3000 sec, while for filters (64)-(65) and (66)-(67),we chose λ = 0.001 and T = 3000 sec.

Input profile and persistence of excitation

A key point in parameter estimation is the persistenceof excitation of the input signal. Reliable estimateswill be obtained if the input signal is sufficiently richso that the observed response contains the required in-formation to perform the estimation process. As spec-ified in Ljung (1999), if a specific matrix characteristicof the input signal is non-singular, the input is con-sidered to be persistent. It is well-known that, whenestimating the parameters of a system with an inputsignal having enough persistence of excitation, the esti-mated parameters approach their true values (Khalil,1996). However, it is worth mentioning that, unfor-tunately, not enough attention has been given to theconsideration of persistent inputs in building modelsand thus not many studies can be found on this topic(Li and Wen, 2014).

169

Page 10: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

0 2000 4000 6000 8000 10000

Time (seconds)

-0.5

0

0.5

1

1.5

2

Hea

ter

inp

ut

(V)

Figure 6: Input profile for parameter estimation

The considered input signal for parameter estima-tion is a pulse function shown in Fig. 6. This signalis informative enough to capture the dynamics ofthe heating chamber and obtain the estimates. Theamplitude of signal is selected to 1.5V to change thetemperature of chamber up to around 30◦C. Theperiod of the signal is 2000 sec, with the pulse widthof 60%, which is long enough for the plant to reach atleast 80% of its final value.

Estimates obtained using the modulating functionmethod

The results of parameter estimation using the mod-ulating function method described in section 3 arepresented in Fig. 7. The results are given for bothmethods: the time-vayring modulating function tech-nique (continuous lines) and the direct continuous-time technique (dashed lines). As expected, the di-rect continuous-time technique, using only one modu-lating function, does not perform as well as the time-varying technique (although it is computationally moreefficient). The latter shows quite good results and con-verges to an almost constant value after the additionalreceding horizon interval T ′.

Relating to the time-varying modulating functionmethod presented in section 4.1, Fig. 8 shows howone of the total modulating functions (correspondingin this case to a1) evolves over time. The modulat-ing function is a signal of length T = 2000 sec, andthe figure shows its evolution from t = 8000 sec tot = 10000 sec (the curve highlighted in red is the MFat time obtained t = 8000 sec). As it can be seen, theamplitude of the MF is constantly adapting to new in-coming data/measurements that are fed on-line to theestimator.

5.4 Validation

Since there is no upfront knowledge about the realvalues of the parameters, we will compare the resultsof the modulating function method with the results

of two well-known estimation methods available inthe System Identification Toolbox for Matlab (Ljung,2007). These two methods, applicable to continuous-time systems, are the Transfer Function methodand the Grey-box estimation method. Moreover, forfurther inspection of the results, the system outputis reconstructed using the estimated parameterscompared with the real measurements.

5.4.1 Continuous Transfer Function Estimation

The first method used for comparison is the “tfest”function of Matlab, which estimates a continuoustransfer function for the given data. In this method,the input and output of the model are filtered using apre-filter L(s), and the differential equation of the sys-tem is written in a regression form with respect to thefiltered signals. The parameters are then estimated tominimize the prediction error.

Matlab uses different numerical search methods toestimate the parameters iteratively. Whenever thedefault setting is selected, a combination of fourline search algorithms ’Subspace Gauss-Newton leastsquares search’, ’Levenberg-Marquardt least squaressearch’, ’Adaptive subspace Gauss-Newton search’,and ’Steepest descent least squares search’ methodswill be applied and the first descent direction leadingto a reduction in estimation cost is used.

In order to initialize the parameters, different algo-rithms are available in Matlab. The algorithm used inthis study is the instrumental variable approach (Gar-nier et al., 2003), (Ljung, 2009).

5.4.2 Grey-Box Model Estimation

The second method used for comparison is the grey-boxmodel estimation using the “idgrey” function of Mat-lab. This method directly uses the parametric state-space representation of the system given in (3)-(4) andminimizes the prediction error.Matlab uses the same numerical search methods asexplained in section 5.4.1. However, contrary to thetransfer function estimation technique, the initial valuefor the parameters should be given by the user.

Table 1 shows the parameters estimated using theMF method together with those obtained by the trans-fer function and grey-box approaches. As it can beseen, the results of the MF method are very close tothe results of the grey-box method, while there is a dis-crepancy in some parameters with when compared tothe transfer function method. The comparison is moreclear in Fig. 9 where the output of the estimated mod-els are plotted together and compared with the mea-sured data. The goodness of the fit is 97.57%, 97.33%

170

Page 11: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Ionesi et.al., “On-line parameter and state estimation of an AHU using the modulating function method”

0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000Time (seconds)

-0.04

-0.02

0

0.02

0.04

0.06

0.08

0.1

Estim

ated

par

amet

ers

MF1: a1MF1: a0MF1: b1MF1: b0MF1: dMF2: a1MF2: a0MF2: b1MF2: b0MF2: d

Figure 7: Estimated parameters

Figure 8: Evolution of the modulation function

and 97.65%, for the modulating function, transfer func-tion and grey-box methods, respectively, which con-firms the validity of the proposed MF method.

The main reason for achieving a slightly different(better) result by grey-box estimation method is thatthe reported goodness of fit was based on non-filteredmeasured data which matches the structure of grey-boxmethod. The grey-box method works on the originalinput-output signals whereas the other two methods,i.e. modulating function and transfer function meth-ods, use a pre-filter for the input-output signals (L(s)

in transfer function method and the modulating inte-gral operators in the MF method). Therefore the op-timization algorithm in the MF and transfer functionmethods minimizes the filtered error while the reportedgoodness of fit was based on the original error. In casewe would define the goodness of fit based on filteredsignals, a higher fit would be achieved for the MF andtransfer function methods.

Another important point that should be mentionedis that our implementation of the MF method is on-line while the other two methods are iterative and off-

171

Page 12: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

4000 5000 6000 7000 8000 9000 10000Time (seconds)

23

24

25

26

27

28

29

30

31Te

mpe

ratu

re (°

C)

DataGreyMFTF

2400 2600 2800 3000 320029.6

29.8

30

30.2

Figure 9: Validation - measured vs. simulated model output

Table 1: Summary of estimated parameters

Grey-box TransferFunction

ModulatingFunction

a0 6.2415e-05 2.028e-05 7.868e-5a1 0.028655 0.02539 0.02896b0 2.6766e-04 9.98e-05 3.2983-04b1 0.095424 0.09291 0.09228d 0.001491 4.72991e-

040.001887

line. In particular, the convergence of the grey-boxmethod highly depends on the initial guess for the pa-rameters (in this study, the estimated parameters fromMF method are considered as initial guess for the grey-box method). Therefore, achieving a result in the orderof off-line methods in finite time further attests the ac-ceptable performance of our results.

5.5 On-line state estimation

Given the estimated parameters from previous section,it is straightforward to apply the method described insection 3 to obtain the state estimates. Here, bothTm and Ts are estimated on-line using an integrationinterval T = 50sec with sampling period Ts = 1sec.

In a normal operation set-up, the requirements forthe temperature at the exit of the AHU might not varytoo much in a short time interval. However, to test theproposed state estimation algorithm in different workconditions, a pseudo random input profile shown inFig. 10 is applied to the system. This is not a common

operating profile, but it helps to visualize the state es-timator and evaluate its behavior.

In Fig. 11, it can be observed that the estimatedtemperature inside the chamber is very close to thenoisy measured temperature. Also, as expected, thevalue for the state representing the envelope temper-ature of the chamber is lower than the temperatureinside, and follows the same heating profile which is inperfect concordance with the heater input profile. Theestimated states are comparably good with the ones ob-tained from a standard observer. In this specific case,the convergence of the states is faster due to the fixedintegration interval, which ensures convergence afterthe first receding horizon window.

6 Conclusion

A 2nd-order model is presented in this paper to rep-resent the heat flow in the air handling unit presentin compact HVAC systems. To facilitate the real-timeapplications of the model, we have proposed the useof a comparably unconventional method, the modu-lating function, with two different implementation ap-proaches.

As a case study, a heat flow experiment by Quanser,whose thermodynamics are very close to those ofan AHU, is considered. The on-line parameter andstate estimation algorithms were implemented in Mat-lab/Simulink. The results underline the potential ofthis approach, showing a good match between the mea-sured and estimated parameters and states. A goodconvergence of the parameters was observed, having as

172

Page 13: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Ionesi et.al., “On-line parameter and state estimation of an AHU using the modulating function method”

0 100 200 300 400 500 600 700 800

Time (seconds)

-0.5

0

0.5

1

1.5

2

2.5

3

3.5

4

Hea

ter

input

(V

)

Figure 10: Input profile for state estimation

0 100 200 300 400 500 600 700 800Time (seconds)

10

20

30

40

50

60

70

80

90

Tem

pera

ture

(°C)

MF x1MF x2Observer x1Observer x2Measured x1

370 380 390 400 410 42033.5

34

34.5

35

35.5

36

36.5

37

Figure 11: Measured vs. estimated temperature inside the heating chamber using the modulating function andsimple observer.

a baseline the parameters estimated with standard es-timation methods: the transfer function method andthe grey-box method. Moreover, using several (as op-posed to only one) modulating functions gives a betterestimation of the parameters compared with an ap-proach that uses only one, at the cost of speed althoughthe latter requires less resources to implement and run.The method can be successfully used for on-line stateestimation as well, the results showing similar perfor-mances to a standard observer.

Acknowledgments

This work was supported by Danfoss, Heating Seg-ment, District Energy Vertical.

Appendix: Numerical integration

For implementing the proposed estimation method asimple Riemann sum is used, taking into account thatthe signals y(t) and u(t) are in practice sampled at

173

Page 14: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

regular intervals. Therefore, for the simple boundarycondition (43), with i = 1, we use the approximation

α(−1)(T ) =

∫ t

t−Tα(τ−t+T ) dτ ≈

N∑k=1

Tsα(k) = Ts1Tα

(79)where N is the number of samples over the interval, Tsis the sampling period, and α(k) is the sampled valueof function α at iteration k, which gives the vectorα = [α(1),α(2), ...,α(N)]T . Vector 1 is a vector ofdimension N containing only ones. Using a similarreasoning, α(−1)(τ) can be approximated as

α(−1)(τ) =

∫ τ

t−Tα(σ−t+T )dσ ≈

k∑l=1

Tsα(l) =: α(−1)(k)

(80)so that

α(−1) = TsQα (81)

where α(−1) = [α(−1)(1),α(−1)(2), ...,α(−1)(N)]T ,while the matrix Q is a lower triangular matrix of onesgiven by

Q =

1 0 . . . 0...

. . .. . .

...1 . . . 1 01 1 . . . 1

. (82)

Hence, for i = 2, condition (43) gives

α(−2)(T ) =

∫ t

t−Tα(−1)(τ−t+T ) dτ ≈ T 2

s 1TQα. (83)

and for i = 3, n:

α(−i)(T ) =

∫ t

t−Tα(−i+1)(τ − t+ T ) dτ ≈ T is1TQi−1α.

(84)The operators Li[y] of w in equation (44) can be sim-ilarly approximated, so that

Li[y] :=

∫ t

t−T(−1)iα(i−n)(τ − t+ T )y(τ)dτ

≈ (−1)iTn−i+1s yTQn−iα, i = 0, n− 1

(85)

Likewise are defined the remaining terms of w inexpression (44), where vector y in operator approxi-mation (85) is replaced by u. Taking now mt = 2nmodulating functions, W in equation (40) can thus beapproximated by

W ≈W = Kα (86)

where α = [α1,α2, ...,αmt ] and the matrix K is givenby

K =

(−1)0Tn+1s yTQn

...(−1)n−1T 2

s yTQ(−1)0Tn+1

s uTQn

...(−1)n−1T 2

s uTQ

. (87)

Proceeding similarly with the discrete approximationof Γ in boundary constraint expression (45), it can beexpressed

Γ ≈ Γ = Bα (88)

where

B =

Tns 1TQn−1

...T 2s 1TQTs1

T

. (89)

Then, matrix α is obtained by simple pseudoinversion,i.e.

α =

[KB

]+ [Imφ

0n×mφ

]. (90)

The discrete approximation of z is given by

z ≈ z = TsyTα. (91)

The parameter estimate vector is finally obtained af-ter applying the simple discretized version of receding-horizon expression (46).

References

Afram, A., Fung, A. S., Janabi-Sharifi, F.,and Raahemifar, K. Development and perfor-mance comparison of low-order black-box mod-els for a residential hvac system. Journalof Building Engineering, 2018. 15:137–155.doi:https://doi.org/10.1016/j.jobe.2017.11.021.

Afram, A. and Janabi-Sharifi, F. Review ofmodeling methods for hvac systems. AppliedThermal Engineering, 2014. 67(1-2):507–519.doi:https://doi.org/10.1016/j.applthermaleng.2014.03.055.

Afram, A. and Janabi-Sharifi, F. Gray-box modelingand validation of residential hvac system for controlsystem design. Applied Energy, 2015. 137:134–150.doi:https://doi.org/10.1016/j.apenergy.2014.10.026.

Afroz, Z., Shafiullah, G., Urmee, T., and Hig-gins, G. Modeling techniques used in build-ing hvac control systems: A review. Re-newable and Sustainable Energy Reviews, 2017.doi:https://doi.org/10.1016/j.rser.2017.10.044.

174

Page 15: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Ionesi et.al., “On-line parameter and state estimation of an AHU using the modulating function method”

Asiri, S., Elmetennani, S., and Laleg-Kirati, T.-M.Moving-horizon modulating functions-based algo-rithm for online source estimation in a first-orderhyperbolic partial differential equation. Journalof Solar Energy Engineering, 2017. 139(6):061007.doi:https://doi.org/10.1115/1.4037743.

Bergman, T. L. and Incropera, F. P. Fundamentals ofheat and mass transfer. John Wiley & Sons, 2011.

Bonvini, M., Sohn, M. D., Granderson, J., Wet-ter, M., and Piette, M. A. Robust on-line fault detection diagnosis for hvac compo-nents based on nonlinear state estimation tech-niques. Applied Energy, 2014. 124:156 – 166.doi:https://doi.org/10.1016/j.apenergy.2014.03.009.

Chen, Y. and Treado, S. Development of a simulationplatform based on dynamic models for hvac controlanalysis. Energy and Buildings, 2014. 68:376–386.doi:https://doi.org/10.1016/j.enbuild.2013.09.016.

Co, T. B. and Ungarala, S. Batch scheme re-cursive parameter estimation of continuous-time systems using the modulating functionsmethod. Automatica, 1997. 33(6):1185–1191.doi:https://doi.org/10.1016/S0005-1098(97)00020-4.

Crawley, D. B., Hand, J. W., Kummert, M., andGriffith, B. T. Contrasting the capabilities ofbuilding energy performance simulation programs.Building and Environment, 2008. 43(4):661 – 673.doi:https://doi.org/10.1016/j.buildenv.2006.10.027.Part Special: Building Performance Simulation.

Daniel-Berhe, S. and Unbehauen, H. Experimen-tal physical parameter estimation of a thyristordriven dc-motor using the hmf-method. Con-trol Engineering Practice, 1998. 6(5):615–626.doi:https://doi.org/10.1016/S0967-0661(98)00036-7.

Dey, D. and Dong, B. A probabilistic approachto diagnose faults of air handling units in build-ings. Energy and Buildings, 2016. 130:177 – 187.doi:https://doi.org/10.1016/j.enbuild.2016.08.017.

Edenhofer, O. and Seyboth, K. Intergovernmentalpanel on climate change (ipcc). In J. F. Shogren, ed-itor, Encyclopedia of Energy, Natural Resource, andEnvironmental Economics, pages 48 – 56. Elsevier,Waltham, 2013. doi:https://doi.org/10.1016/B978-0-12-375067-9.00128-5.

Fan, Y. and Xia, X. Building retrofit op-timization models using notch test data con-sidering energy performance certificate compli-

ance. Applied Energy, 2018. 228:2140 – 2152.doi:https://doi.org/10.1016/j.apenergy.2018.07.043.

Fraisse, G., Viardot, C., Lafabrie, O., and Achard,G. Development of a simplified and accuratebuilding model based on electrical analogy. En-ergy and buildings, 2002. 34(10):1017–1031.doi:https://doi.org/10.1016/S0378-7788(02)00019-1.

Garnier, H., Mensler, M., and Richard, A. Continuous-time model identification from sampled data: imple-mentation issues and performance evaluation. Inter-national journal of Control, 2003. 76(13):1337–1357.doi:https://doi.org/10.1080/0020717031000149636.

Gruber, M., Truschel, A., and Dalenback, J.-O. Alternative strategies for supply airtemperature control in office buildings. En-ergy and Buildings, 2014. 82:406–415.doi:https://doi.org/10.1016/j.enbuild.2014.06.056.

Ionesi, A. and Jouffroy, J. On-line parameter es-timation of an air handling unit model: ex-perimental results using the modulating functionmethod. In 2018 IEEE International Conferenceon Advanced Intelligent Mechatronics (AIM). 2018.doi:10.1109/AIM.2018.8452284.

Jouffroy, J. and Reger, J. Finite-time simultaneousparameter and state estimation using modulatingfunctions. In Control Applications (CCA), 2015IEEE Conference on. IEEE, pages 394–399, 2015.doi:10.1109/CCA.2015.7320661.

Khalil, H. K. Adaptive output feedback control ofnonlinear systems represented by input-output mod-els. IEEE Transactions on Automatic Control, 1996.41(2):177–188. doi:10.1109/9.481517.

Kheiri, F. A review on optimization meth-ods applied in energy-efficient building geome-try and envelope design. Renewable and Sus-tainable Energy Reviews, 2018. 92:897 – 920.doi:https://doi.org/10.1016/j.rser.2018.04.080.

Li, X. and Wen, J. Review of building energy mod-eling for control and operation. Renewable andSustainable Energy Reviews, 2014. 37:517–537.doi:https://doi.org/10.1016/j.rser.2014.05.056.

Liu, D.-Y. and Laleg-Kirati, T.-M. Ro-bust fractional order differentiators usinggeneralized modulating functions method.Signal Processing, 2015. 107:395–406.doi:https://doi.org/10.1016/j.sigpro.2014.05.016.

175

Page 16: On-line parameter and state estimation of an air handling unit … · 2019-12-02 · Ionesi et.al., \On-line parameter and state estimation of an AHU using the modulating function

Modeling, Identification and Control

Liu, D.-Y., Laleg-Kirati, T.-M., Perruquetti, W., andGibaru, O. Non-asymptotic state estimation for aclass of linear time-varying systems with unknowninputs. In the 19th World Congress of the In-ternational Federation of Automatic Control 2014.2014. doi:https://doi.org/10.3182/20140824-6-ZA-1003.02036.

Ljung, L., editor. System Identification (2Nd Ed.):Theory for the User. Prentice Hall PTR, Upper Sad-dle River, NJ, USA, 1999.

Ljung, L. System identification toolbox for use with{MATLAB}. 2007.

Ljung, L. Experiments with identification of continuoustime models. Linkoping University Electronic Press,2009.

Malek, H., Luo, Y., and Chen, Y. Identificationand tuning fractional order proportional integralcontrollers for time delayed systems with a frac-tional pole. Mechatronics, 2013. 23(7):746 – 754.doi:https://doi.org/10.1016/j.mechatronics.2013.02.005.1. Fractional Order Modeling and Control inMechatronics 2. Design, control, and softwareimplementation for distributed MEMS (dMEMS).

Mathew, A. and Fairman, F. Identification in thepresence of initial conditions. IEEE Transac-tions on Automatic Control, 1972. 17(3):394–396.doi:10.1109/TAC.1972.1099997.

Medvedev, A. Continuous least-squares observers withapplications. IEEE Transactions on Automatic Con-trol, 1996. 41(10):1530–1537. doi:10.1109/9.539439.

Noack, M., Botha, T., Hamersma, H. A., Ivanov, V.,Reger, J., and Els, S. Road profile estimation withmodulation function based sensor fusion and seriesexpansion for input reconstruction. In AdvancedMotion Control (AMC), 2018 IEEE 15th Interna-tional Workshop on. IEEE, pages 547–552, 2018.doi:10.1109/AMC.2019.8371152.

Pearson, A. and Lee, F. On the identification of polyno-mial input-output differential systems. IEEE Trans-actions on Automatic Control, 1985. 30(8):778–782.doi:10.1109/TAC.1985.1104051.

Reger, J. and Jouffroy, J. Algebraischeableitungsschatzung im kontext der rekon-struierbarkeit (algebraic time-derivative esti-mation in the context of reconstructibility).at-Automatisierungstechnik, 2008. 56(6 (2008)):324–331. doi:https://doi.org/10.1524/auto.2008.0711.

Reger, J. and Jouffroy, J. On algebraic time-derivativeestimation and deadbeat state reconstruction. InProceedings of the 48h IEEE Conference on Deci-sion and Control (CDC) held jointly with 2009 28thChinese Control Conference. pages 1740–1745, 2009.doi:10.1109/CDC.2009.5400719.

Rey-Hernandez, J. M., Yousif, C., Gatt, D., Velasco-Gomez, E., Jose-Alonso, J. S., and Rey-Martinez,F. J. Modelling the long-term effect of cli-mate change on a zero energy and carbon diox-ide building through energy efficiency and renew-ables. Energy and Buildings, 2018. 174:85 – 96.doi:https://doi.org/10.1016/j.enbuild.2018.06.006.

Saha, D. C. and Rao, G. P. Identification of lumpedlinear systems in the presence of unknown initialconditions via poisson moment functionals. Inter-national Journal of Control, 1980. 31(4):637–644.doi:https://doi.org/10.1080/00207178008961071.

Satyavada, H. and Baldi, S. An integrated control-oriented modelling for hvac performance benchmark-ing. Journal of Building Engineering, 2016. 6:262–273. doi:https://doi.org/10.1016/j.jobe.2016.04.005.

Setayesh, H., Moradi, H., and Alasty, A. Acomparison between the minimum-order &full-order observers in robust control of theair handling units in the presence of uncer-tainty. Energy and Buildings, 2015. 91:115–130.doi:https://doi.org/10.1016/j.enbuild.2015.01.016.

Shinbrot, M. On the analysis of linear and nonlinearsystems. Trans. ASME, 1957. 79(3):547–552.

Unbehauen, H. and Rao, P. Identification ofcontinuous-time systems: a tutorial. IFACProceedings Volumes, 1997. 30(11):973–999.doi:https://doi.org/10.1016/S1474-6670(17)42970-3.

Yamada, K. Modified pid controllers for mini-mum phase systems and their practical applica-tion. In Proceedings of the Electrical Engineer-ing/Electronics, Computer, Telecommunication andInformation Technology (ECTI) International Con-ference II. pages 457–460, 2005.

Zhou, Y. Evaluation of renewable energy utilizationefficiency in buildings with exergy analysis. Ap-plied Thermal Engineering, 2018. 137:430 – 439.doi:https://doi.org/10.1016/j.applthermaleng.2018.03.064.

176