Gain-scheduling multivariable LPV control of an irrigation canal system

Gain-scheduling multivariable LPV control of an irrigation canal system

ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎ Contents lists available at ScienceDirect ISA Transactions journal homepage: www.elsevier.com/locate/isatrans Res...

1MB Sizes 3 Downloads 133 Views

ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎

Contents lists available at ScienceDirect

ISA Transactions journal homepage: www.elsevier.com/locate/isatrans

Research Article

Gain-scheduling multivariable LPV control of an irrigation canal system Yolanda Bolea, Vicenç Puig n Advanced Control Systems Group (SAC), IRI Institut de Robòtica i Informàtica Industrial (CSIC-UPC), Universitat Politècnica de Catalunya (UPC), Pau Gargallo, 5, 08028 Barcelona, Spain

art ic l e i nf o

a b s t r a c t

Article history: Received 11 May 2015 Received in revised form 22 November 2015 Accepted 13 March 2016

The purpose of this paper is to present a multivariable linear parameter varying (LPV) controller with a gain scheduling Smith Predictor (SP) scheme applicable to open-flow canal systems. This LPV controller based on SP is designed taking into account the uncertainty in the estimation of delay and the variation of plant parameters according to the operating point. This new methodology can be applied to a class of delay systems that can be represented by a set of models that can be factorized into a rational multivariable model in series with left/right diagonal (multiple) delays, such as, the case of irrigation canals. A multiple pool canal system is used to test and validate the proposed control approach. & 2016 ISA. Published by Elsevier Ltd. All rights reserved.

Keywords: Linear parameter varying control Gain scheduling Open-flow canals

1. Introduction Distributed parameter systems [7], usually considered as models with a very large number of states could be approximated with low order linear time invariant (LTI) models in order to use classical linear control design tools, as it is usual in control engineering practice. However, simplified LTI parameter models lose all information about the spatial structure of the original system and cannot account for it, although they are satisfactory from an input–output point of view. Hence, simplified model structures that still preserve the information about the non-linearity, the influence of the operating point and the system spatial structure is needed to design a satisfactory control. Such structure can be provided by linear parameter varying (LPV) models consisting of a linear lumped model in which the system parameters are function of external measurements, or by quasi-LPV models when the parameters vary according to states and/or operating conditions of the system [27]. LPV models [4,16] are suitable for gain-scheduling (GS) control design. Conventional GS techniques have been widely used for designing controllers for multiple industrial applications (where the system parameters are varying) (see, e.g. [19]). The conventional GS is a heuristic method [28] that consists in dividing the parameter space into small regions (operating points), in which the plant is regarded as a LTI system. Then, LTI controllers are designed for each operating point to achieve a synthetic controller using interpolation techniques. The heuristic gain scheduled controllers normally guarantee n

Corresponding author. E-mail address: [email protected] (V. Puig).

control system stability when the parameters vary slowly, although sometimes it may lead to instability or chaotic behavior. In fact, the main known drawback of this technique is that it does not guarantee stability and performance rigorously and it does not provide a systematic design procedure. On the other hand, LPV GS design can be formulated as a convex optimization problem based on linear matrix inequality (LMI) constraints, with stability and performance guarantees in a rigorous manner [1,2,3,6,25,26]. In recent years, a significant numbers of contributions to the LPV theory can be found in the literature [8,12,13,17,18,20,24,30,32,33]. The main contribution of this paper is to propose a multivariable control design methodology applicable to open-flow canal systems. Open-flow canals involve mass energy transport phenomena since they behave as intrinsically distributed parameter systems that can be approximated by means of LPV models as discussed in [11]. The proposed control approach is based on a LPV GS controller coupled with a delay-scheduling MIMO Smith Predictor that considers model uncertainty extending the results presented in [29] for the LTI case where a robust controller designed from Youla parameterization is used. In the proposed methodology, a set of necessary and sufficient conditions under which a model can be separated into diagonal left and right pure delays and a rational matrix is presented. Surprisingly, these conditions are satisfied by multiple pool open flow canal systems. The varying parameters are measured in real time and used to schedule the controller parameters. The “delay scheduling” Smith Predictor scheme is used to compensate most of the estimated delay. However, some delay still remains due to the inaccuracy in its estimation that will be represented as unstructured (multiplicative) dynamic uncertainty in a robust control framework.

http://dx.doi.org/10.1016/j.isatra.2016.03.009 0019-0578/& 2016 ISA. Published by Elsevier Ltd. All rights reserved.

Please cite this article as: Bolea Y, Puig V. Gain-scheduling multivariable LPV control of an irrigation canal system. ISA Transactions (2016), http://dx.doi.org/10.1016/j.isatra.2016.03.009i

Y. Bolea, V. Puig / ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎

2

Performance is quantified as an induced L2 norm, as part of a mixed sensitivity problem (MSP) with measured varying parameters. This problem can be solved by means of the standard LPV theory using LMI optimization [6]. In order to design the controller, the region of parameter variations is approximated by a polytopic region that reduces the number of LMIs to be solved to a finite number, one for each vertex of the polytopic region [1,2]. To validate the proposed LPV GS controller a two-pool open flow canal system is used. The structure of the paper is as follows: in Section 2, a description of a multiple pool canal plant is presented. In Sections 3 and 4, the formulation, synthesis and implementation of a gainscheduling LPV controller in conjunction with a “delay scheduling” Smith Predictor (LPV SP) are presented. In Section 5, the proposed methodology is applied to a two-pool canal. Conclusions are drawn in Section 6.

gravity [m/s2], I0 is the bottom slope and If is the friction slope. However, Saint-Venant equations are not useful for designing a controller using linear theory as already noticed by [22]. Instead, a simplified control-oriented model (around a given operating point) is proposed [11], that extends the IDZ (integral delay zero) model proposed in [21] to the LPV case, with the aim of designing the control through the proposed methodology explained in detail in the next sections. According to this modeling approach, the single reach canal dynamics (relation between upstream and downstream levels, yu and yd, and downstream flow, qd, and upstream flow, qu) for low frequencies can be approximated by yu ðsÞ ¼ P 11 ðsÞqu ðsÞ þ P 12 ðsÞqd ðsÞ

ð3Þ

yd ðsÞ ¼ P 21 ðsÞqu ðsÞ þ P 22 ðsÞqd ðsÞ

ð4Þ

where: P 11 ðsÞ ¼

2. Multiple pool irrigation canal systems An irrigation canal is an open-flow hydraulic system, whose objective is mainly to convey water from reservoirs down to its final users. To achieve this aim, hydraulic gates are operated in order to control the water levels downstream of the pools (Fig. 1). In this figure, a simplified view of our canal of study is presented. It receives water of a source, reservoir, and lets the water freely flow by gravity following the slope. The following variables are considered to define the input–output behavior of the canal as a dynamic system: the water levels yd i at the downstream end of each pool are the outputs to be controlled and the gate openings ui are the manipulated control inputs. The overall objective of the control scheme is to drive automatically the gate openings to ensure that the downstream levels reach and keep their prescribed set-points in spite of the disturbances. Open-flow canals involve mass energy transport phenomena which behave as intrinsically distributed parameters systems. Their complete dynamics is represented by non-linear partial differential hyperbolic equations, Saint-Venant equations, which have no analytic solution for arbitrary geometry. They express the conservation of mass (1), and momentum principles (2) in a onedimensional free surface flow [5,15]: ∂q ∂A þ ¼0 ∂x ∂t     ∂q ∂ q2 ∂y þ þ gA  gA I 0 I f ¼ 0 ∂t ∂x A ∂x

ð1Þ ð2Þ

Here q ¼q(x,t) is the flow [m3/s], A¼A(x,t) is the cross-sectional area [m2], t is the time variable [s], x is the spatial variable [m], measured in the direction and the sense of the movement, g is the gate i-1 pool i-1

pool i

gate i+1 yd(i)

pool i+1

H ui-1 q(i–1) u

with τu and τd are the upstream and downstream transport delays and Au and Ad are the upstream and downstream backwater areas respectively, all depending on the operating point.

3. MIMO LPV Smith Predictor 3.1. Problem set-up Let us consider a time-delayed MIMO LPV system1: Gðs; θÞ ¼ Gm ðs; θÞ:  Dðs; θÞ

ð6Þ

where “.*” is the element-wise matrix product (Hadamard product) and h i Gm ðs; θÞ ¼ g ij ðs; θÞ h i Dðs; θÞ ¼ e  sτij ðθÞ ; i ¼ 1; :::; n; j ¼ 1; :::; m ð7Þ The time varying parameter vector θ(t) can be measured (estimated) in real time and can be used to adapt the controller using a gain-scheduling controller scheme as in [1,10]. Time delays are compensated using a “delay scheduling” MIMO Smith Predictor scheme (Fig. 2). However, since there is always an error in the delay estimation (even when the time delay variation with the operating point is modeled), a remaining delay due to the inaccuracy in its estimation is still present. This may be represented as unstructured dynamic uncertainty in a robust control framework, which we assume here as LTI. The uncertain model is obtained from the Smith Predictor structure (Fig. 2), between input u and the feedback output f: Gðs; θÞðI þ ΔðsÞÞ  Gðs; θÞ  Gm ðs; θÞ ¼ Gðs; θÞΔðsÞ Gm ðs; θÞ

ð8Þ

q(i+1) d

with Wδ(s)¼wδ(s)I and wδ(s) a SISO stable non-minimum phase linear model. 3.2. Left/right delay factorization

ui

ui+1

q(i) u

q(i+1) u qL(i–1)

ð5Þ

The model uncertainty in the delay can be covered by the following global dynamic uncertain set of models:   ð9Þ Gðs; θÞ ¼ I þ ΔW δ ðsÞ Gm ðs; θÞ; Δ A C; σ ðΔÞ o 1

gate i y(i–1) d

1  e  τu s eτd s 1 ; P 12 ðsÞ ¼ ; P 21 ðsÞ ¼ and P 22 ðsÞ ¼ Au s Ad s Au s Ad s

qL(i) Fig. 1. Irrigation canal system.

qL(i+1)

In [29], it has been proved that a left/right decomposition should be used to obtain an accurate bound of model uncertainty in case of using a MIMO Smith Predictor. Here, the LPV extension 1 For simplicity and with abuse of notation, LPV systems are presented as transfer functions in this section, although computations are performed entirely using the state space representation.

Please cite this article as: Bolea Y, Puig V. Gain-scheduling multivariable LPV control of an irrigation canal system. ISA Transactions (2016), http://dx.doi.org/10.1016/j.isatra.2016.03.009i

Y. Bolea, V. Puig / ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎

yref +

e

K(s,)

u

A simple way to include delay uncertainty in the set of models is to cover it completely with global uncertainty that does not distinguish between the different input/output channels. In this case, we may rewrite Eq. (14) in the following way:     Δl ðsÞ  I Go ðs; θÞ Δr ðsÞI þ Gm ðs; θÞ: ð15Þ

y

G(s,) (I+(s))



Then, according to [29], the uncertainty in the delay can be covered by a dynamic uncertain set of models as in Eq. (9).

+ G(s,)-Gm(s,)



3

f 4. LPV control of the plant

Fig. 2. MIMO Smith Predictor.

4.1. LPV general framework of this reasoning is presented: h i Gðs; θÞ ¼ g ij ðs; θÞe  sτij ðθÞ h i h i r l ¼ diag e  sτi ðθÞ Gm ðs; θÞdiag e  sτj ðθÞ

ð10Þ

To find these left (τli ðθÞ) and right delays (τri ðθÞ), we need to solve the following linear equation: 2 3 2 3 τ11 ðθÞ 2 3 τl1 ðθÞ 1 0 I n n nxðm 1Þ 6 7 6 7 ⋮ 7 6⋮ 7 6 76 7 6 7 In 1n 0nxðm 2Þ 76 l 6 6 τn1 ðθÞ 7 6 76 τn ðθÞ 7 7Δ 6 7 6 6 7 I n ð11Þ ¼ 7 ¼ Hτ 6 7 76 6 τr1 ðθÞ 7 6 τ12 ðθÞ 7 6 6 7 7 6 7 4⋮ ⋮ ⋮ ⋮ ⋮ 56 6⋮ 7 6⋮ 7 4 5 4 5 0nxðm 1Þ 1n In r τnm ðθÞ τ m ðθ Þ with H A ℜnmxðn þ mÞ , and 1n (0n) a column vector of ones (zeros) of length n. According to [29] and considering the LPV case, for MIMO systems in general, there exists a solution to the previous linear equation if and only if the following relations hold: ( i ¼ 1; :::; n j ¼ 1; :::; n τi;q ðθÞ  τj;q ðθÞ ¼ τi;k ðθÞ  τj;k ðθÞ; ð12Þ q ¼ 1; :::; m k ¼ 1; :::; m This seems an artificial condition, but surprisingly, it is satisfied by multiple pool open flow canals, as the ones presented in Sections 2 and 5 by means of an example. For these particular system structures, less restrictive conditions can be stated, as will be proved next.

Once the factorization of the plant's model which separates delays from rational part has been made, the delay uncertainty is considered. The uncertain model of the plant is: Gðs; θÞ ¼ Dl ðs; θÞGm ðs; θÞDr ðs; θÞ ¼ Δl ðsÞGo ðs; θÞΔr ðsÞ; h l i Dl ðs; θÞ ¼ diag esτi ðθÞ h li h l i Δ diag esτ i ðθÞ ; i ¼ 1; :::n ¼ Δl D l ðs; θÞ ¼ diag esδi h r i Dr ðs; θÞ ¼ diag esτj ðθÞ h ri h r i Δ diag esτ j ðθÞ ; j ¼ 1; :::m ¼ Δr D r ðs; θÞ ¼ diag esδj Δ

x_ ðtÞ ¼ AðθÞxðtÞ þBðθÞuðtÞ þ Bw ðθÞwðtÞ

zðtÞ ¼ C z ðθÞxðtÞ þ Dzu ðθÞuðtÞ þ Dzw ðθÞwðtÞ

qðtÞ ¼ C q ðθÞxðtÞ þ Dqu ðθÞuðtÞ þ Dqw ðθÞwðtÞ

ð16Þ

where xA ℜn is the state vector, u A ℜm1 and w A ℜm2 are the control and disturbance input vectors, respectively, z A ℜp1 and qA ℜp2 are the measured and controlled output vectors, respectively. A(  ), B(  ), Bw(  ), Cz(  ), Cq(  ), Dqu(  ), Dzu(  ), Dzw(  ), Dqw(  ) are continuous matrix valued functions of the time varying parameter vector θ(t)A Θ C ℜl, Θ being a polytope with r vertices. Performance is defined as requiring a bounded output q(t) for any bounded external signal w(t), both measured by their energy integral. The synthesis technique for LPV systems is based on the following results: Theorem 1. (Quadratic H1 Performance) (see [1]). The LPV system given by Eq. (16) is QS and has quadratic H1 performance if there exists a positive definite matrix X40 such that 2 T 3 A ðθÞX þ XAðθÞ XBðθÞ C T ðθÞ 6 7 T T 0  γ I D ðθ Þ 5 o 0 B ðθÞX B½AðθÞ;BðθÞ;CðθÞ;DðθÞ ðX; γ Þ : ¼ 4 DðθÞ  γI CðθÞ ð17Þ for all admissible values of the parameter θ.

3.3. Delay uncertainty

Go ðs; θÞ ¼ D l ðs; θÞGm ðs; θÞD r ðs; θÞ

The LPV plant (6) after the application of the factorization (10) and the MIMO Smith Predictor scheme (Fig. 2), can be described by state-space equations of the form

Remark 1. According to [1], the previous problem should fulfill the following assumptions: 1) Dqu ðθÞ ¼ 0 or equivalently Dqui ¼ 0 for i¼ 1,2,y,r. 2) BðθÞ; C q ðθÞ; Dzu ðθÞ; Dqw ðθÞ are parameter-independent 3) Bi ¼ B; C qi ¼ C; Dzui ¼ Dzu ; Dqwi ¼ Dqw for i¼1,2,y,r. The pairs [A(θ), B] and [A(θ), Cq] are quadratically stabilizable and detectable over Θ, respectively.

ð13Þ

Due to its diagonal structure, uncertainty and nominal delay commute, i.e. ΔlðrÞ D lðrÞ ¼ D lðrÞ ΔlðrÞ . Here, the nominal (delayed) model has been defined as Go(s,θ) and the rational (delay-free) part as Gm(s,θ). The uncertain model is obtained from the Smith Predictor structure (Fig. 2) between input u and the feedback output f:     Gm ðs; θÞ þ Gðs; θÞ  Go ðs; θÞ ¼ Δl ðsÞGo ðs; θÞΔr ðsÞ  Go ðs; θÞ þ Gm ðs; θÞ ð14Þ

Theorem 2. (Vertex Property) (see [1]). Consider a polytopic linear parameter-varying plant as in Eq. (16), where " # (" # ) Ai Bi AðθÞ BðθÞ A Θ : ¼ Co ; i ¼ 1; :::; r ð18Þ C i Di CðθÞ DðθÞ and assume A,B,C,D are affine functions of items are equivalent:

θ, then the following

(1) The system is quadratically stable with Quadratic H1 performance γ. (2) There exists a positive definite matrix X4 0, which satisfies the following LMIs: B0½Ai ;Bi ;C i ;Di  ðX; γ Þ o 0;

i ¼ 1; 2; :::; r

Please cite this article as: Bolea Y, Puig V. Gain-scheduling multivariable LPV control of an irrigation canal system. ISA Transactions (2016), http://dx.doi.org/10.1016/j.isatra.2016.03.009i

Y. Bolea, V. Puig / ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎

4

In this case, Theorem 1 should only be verified on the vertices of the parameter polytope Θ, which in turn implies that the optimization problem reduces to a finite number of LMIs, which makes such an approach appealing.

y0(1)

L1

u1

L2 (1)

yX

u2

(1)

q0

4.2. LPV gain scheduling control methodology

which is illustrated in Fig. 3. Here, S is the sensitivity function and T its complement. The transfer functions in Eq. (19) represent weighted tracking error (or disturbance rejection), weighted control action and robust stability, respectively. In order to limit the control energy and bandwidth of the controller, a weight Wu is included in the design. Such weight is a transfer function with a crossover frequency approximately equal to that of the desired closed-loop bandwidth. The weight for the complementary sensitivity, WΔ, captures the uncertainty of the plant model (in this case coming from the delay measurement error) and also limits the closed loop bandwidth. Typically, a disturbance in the system output is a low frequency signal, and therefore it will be successfully rejected if the minimum value of S is achieved over the same frequency band. This is performed by selecting a weight We, with a bandwidth equal to that of the disturbance in the controller design specifications. Performance is a combination of weighted error and control action minimization measured in terms of the energy integrals of the input and output signals involved. This control design problem will be solved using the concepts in Sections 3 and 4.1, and using the fact that the time varying parameters enter affinely in the augmented model and are approximated by a polytopic region. A static gain-scheduling state feedback controller which satisfies QS and performance specifications is designed. This controller also guarantees “frozen” closed loop pole locations inside a desired LMI region [14]. Since the LPV plant is represented in polytopic form, the controller K(θ) is designed according to: ( ) r X λi K i : K i ¼ Kðθi Þ; i ¼ 1; …; r KðθÞ A CofKðθ1 Þ; Kðθ2 Þ; :::; Kðθr Þg ¼ i¼1

ð20Þ where: Co is the convex hull of the polytope of vertex controllers, θi ; i ¼ 1; …; r are the vertices of the parameter polytope Θ and the r P λi θr with polytopic coordinates λi Z 0; i ¼ 1; …; r satisfy θ ¼ i¼1

i¼1

λi ¼ 1.

Finally, the closed-loop system is x_ cl ¼ Acl ðθÞxcl þ Bcl w.

We

~ e

Wu

u~ yΔ

WΔ e

K(s,)

u

uΔ Δ +

G(s,)

(1)

q

+

Fig. 3. Proposed LPV feedback system scheme (MSP scheme).

(2)

yX

qX

(2)

(2) q0

The control design specifications that will be considered are a mixture of performance and robustness objectives arranged as a mixed sensitivity problem (MSP) [31],



½W e S W u KS W Δ T  T o γ r 1 ð19Þ 1

r P

(2)

y0

qX

Fig. 4. Two-pool canal system.

5. Control of a two-pool canal system The test bench canal used to illustrate the proposed approach presented in this work consists of a multiple reach canal with two pools equipped with two sluices gates and a downstream spillway (see Fig. 4). A servomotor is used in each gate position (u1 and u2) and there are two level sensors located at the end of the two canal pools (yd1 and yd2). Upstream of the first gate there is a reservoir with a constant level H¼ 3.5 m. The total length of the first pool is L1 ¼2 km while in the second is L2 ¼ 4 km. The canal width, bottom slope and Manning roughness coefficient are B ¼2.5 m, I0 ¼ 5.10  4 and n¼ 0.014. The operating range of the gate is limited to the interval UA [0, 0.9] m, the gate discharge coefficient and gate width are Cdg ¼ 0.6 and b ¼2.5 m. Finally, the downstream spillway height and coefficient are Ys ¼0.7 m and Cds ¼2.66, respectively. The verification of the methodology proposed in this work is carried out by a high-fidelity irrigation canal simulator, which represents water dynamics by Saint-Venant equations of an accurate and complete way. This simulator has been developed by the “Modeling and Control of Water Systems” group at the Automatic Control Department, UPC [9]. The way to represent the MIMO control model for two pool canal system is: # #" " # " Yd i U i ðsÞ P 11 ðsÞ P 12 ðsÞ ð21Þ ¼ Yd iþ1 U i þ 1 ðsÞ P 21 ðsÞ P 22 ðsÞ where P11, P12, P21 and P22 are the transfer functions that related the input vector (gate opening of each gate) with the output vector (downstream level in each pool) [11]. K 11 ðθ1 Þ K 11 ðθ1 Þ e  τ11 ðθ1 Þs ; P 11 ðsÞ ¼ e  τ11 ðθ1 Þs ; T 11 ðθ2 Þs þ 1 T 11 ðθ2 Þs þ 1 K 11 ðθ1 Þ K 11 ðθ1 Þ e  τ11 ðθ1 Þs ; P 11 ðsÞ ¼ e  τ11 ðθ1 Þs P 11 ðsÞ ¼ T 11 ðθ2 Þs þ 1 T 11 ðθ2 Þs þ 1 P 11 ðsÞ ¼

ð22Þ

where the gains, the time constants and the delays of each transfer function are the linear varying parameters of the model because they vary according to two scheduling variables (u1, u2), that represent the opening gates of the pool 1 and pool 2, respectively. The model structure is given by LPV first order plus delay time (FOPDT) transfer functions Eq. (21). In particular, for the proposed two-pool system (Fig. 4), if t1 is the traveling time of the water to cover the first pool of length L1 and t2 is the traveling time of the water to cover the second pool of length L2. The different delays associated to each input/output channel are: τ11 ¼t1, τ12 ¼0, τ21 ¼t1 þ t2, τ22 ¼t2. This means that the relation between delays established in Eq. (11) holds. 5.1. Identification of the canal LPV model In order to apply the control design approach presented in this paper, first the model presented in Eq. (21) should be estimated using data [23]. In the literature, there exist two main approaches for the identification of LPV models: a global [4] and a local [16]

Please cite this article as: Bolea Y, Puig V. Gain-scheduling multivariable LPV control of an irrigation canal system. ISA Transactions (2016), http://dx.doi.org/10.1016/j.isatra.2016.03.009i

Y. Bolea, V. Puig / ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎

5

Table 1 Coefficients of the polynomials of Eq. (23). aij u1 A [0,0.9], j ¼1 u2 A [0,0.9],j¼ 2

i¼1 i¼2 i¼1 i¼2

2

2.38 3.77 1.77 5.20

aij

1

 7.40  6.08 2.70  7.98

aij

0

6.38 2.56  4.96 3.10

bij

2

1308.45  296.43 989.05  5.95

one. The global approach is based on the assumption that it is possible to perform a global identification experiment by exciting the system while the scheduling parameters are persistently changing the system dynamics. This assumption, however, may be difficult to satisfy in many cases. In the case that it is impossible to perform a global experiment, it is appropriate to use the local LPV identification approach, based on the interpolation of a set of local LTI models that are estimated using a set of local measurements, obtained by exciting the system at different fixed operating conditions, that is, for constant values of the scheduling parameters. To estimate the parameters of the LPV model Eq. (21), a methodology inspired in the one proposed [16] is used as described in detail in [11]. The parameters of the LPV model in Eq. (22) are estimated experimentally by applying a set of steps to each input (u1,u2) that sweeps all the operating points. Each linear varying parameter depends on the gain scheduling variables (gate openings) θ ¼(θ1, θ2) ¼(u1,u2) as indicated in Eq. (22). The identification of the dynamics is carried out using the LPV identification approach presented in this section, based on performing LTI identifications at several operating points. It is assumed that the variation of the parameters (K,T,τ) with the scheduling variable θ can be approximated by a polynomial as follows:   K ij uj ¼ aij 2 u2j þ aij 1 uj þ aij 0;   T ij uj ¼ bij 2 u2j þ bij 1 uj þ bij 0   τij uj ¼ cij 2 u21 þ cij 1 u1 þ cij 0 ð23Þ

bij

1

 1925.01 204.64  1502.23  107.73

bij

0

2222.66 1855.92 2360.87 1521.78

cij

2

881.42 580.47 0  550.77

cij

1

cij

0

 1398.14  1281.38 0 362.99

844.37 1883.06 0 959.47

K12 [  4.35, 1.1] T12 [1800, 2100] τ12 0

K22 [0.12, 1.7] T22 [1430, 1500] τ22 [840, 1010]

Table 2 Interval bounding parameter variations. Parameter Interval Parameter Interval Parameter Interval

K11 [1.65, 5.25] T11 [1550, 1920] τ11 [300, 580]

K21 [0.15, 1.5] T21 [1800, 1900] τ21 [1200, 1650]

The values of the coefficients of the previous polynomials are shown in Table 1 and have been obtained by interpolating the parameters at the different operating points. Then, a control model is developed which covers all the operation range, uj A [0,0.9] j¼1,2, representing the suitable behavior of the canal. The parameters of the system vary in these intervals presented in Table 2 with constant time and delay expressed in seconds. For more details in the identification procedure, see [11] 5.2. LPV control design A LPV controller is designed following the method explained in Section 4. The LPV delay is compensated by a LPV SP, but there is an error in this estimation. This delay uncertainty (Eq. (14)) is covered with global dynamic uncertainty by means of the following weight (Fig. 5, down) [31]: W δ ðsÞ ¼

16s

s þ4:10  3 To test the improvement of the robust LPV control vs. the robust LTI control, a comparative study is carried out. In the LTI case, the nominal delays and their uncertainty are as follows (time is expressed in minutes) (see Eq. (13)): " # 1 0 e  sðτ11 7 2Þ 0 Dl ðsÞ ¼ ; D ðsÞ ¼ with δ ¼ 7 2: r 0 e  sðτ22 7 2Þ 0 1

Fig. 5. Global Wδ (top) LPV case, (down) LTI case.

The approach to select the LTI weight that covers this delay error is the same as in the LPV case. In the LPV case, the weight is Please cite this article as: Bolea Y, Puig V. Gain-scheduling multivariable LPV control of an irrigation canal system. ISA Transactions (2016), http://dx.doi.org/10.1016/j.isatra.2016.03.009i

Y. Bolea, V. Puig / ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎

6

3 LPV Control LTI Control

Downstream Level [m]

2.5

h1

2

1.5

setpoint 1

h2

1

setpoint 2 0.5

0

2000

4000

6000

8000

10,000 12,000 14,000 16,000

Time [min]

Fig. 6. LPV and LTI control in the operation point u1 A [0,0.3], u2 A [0.2,0.5]. (Top) Desired and measured downstream levels of pool 1 and pool 2. (Down) Signal control of actuator of gate 1 and gate 2.

the following (Fig. 5, top): W δ ðsÞ ¼

29s s þ2:10  3

:

In Fig. 6, the LPV vs. LTI controllers are compared around one operation point: u1 A[0,0.3], u2 A[0.2,0.5]. It can be observed that the LPV control is faster and with lower overshoot in both pools (h1 and h2). Besides, the control signals of both gates are less aggressive in the LPV case and, as a consequence, the voltage consumption of both gates is lower than the consumption in the LTI case. In Fig. 7 both controllers are simulated over all the operation range and the previous observations also apply. Clearly the LPV controller is more efficient in controlling the canal, which agrees with the theory. It can also be noticed that the degree of coupling of the second pool with respect to the first one is lower in the LPV controller case.

Fig. 7. LPV and LTI control in a scenario (all operation range). (Top) Desired and measured downstream levels of pool 1 and pool 2. (Down) Signal control of actuator of gate 1 and gate 2.

This novel methodology presents a set of necessary and sufficient conditions under which a model can be separated into diagonal left and right pure delays and a rational matrix. These conditions are satisfied by multiple pool open flow canal systems Therefore, a gain-scheduling LPV MIMO SP controller based on the new method explained in this paper is used for controlling a multipool canal system. This LPV controller, compared with LTI control when applied to a two-pool canal system, shows very promising and satisfactory results.

Acknowledgments This work has been funded by the Spanish Government (MINECO) through the project CICYT ECOCIS (Ref. DPI2013-48243C2-1-R) and by MINECO and FEDER through the project CICYT HARCRICS (Ref. DPI2014-58104-R).

6. Conclusion References This presented a new LPV robust controller with an LPV generalization of the extension of the classical Smith Predictor to MIMO systems with multiple uncertain delays presented in [29].

[1] Apkarian P, Gahinet P. A convex characterization of gain-scheduled H1 controllers. IEEE Trans Autom Control 1995;40:853–64.

Please cite this article as: Bolea Y, Puig V. Gain-scheduling multivariable LPV control of an irrigation canal system. ISA Transactions (2016), http://dx.doi.org/10.1016/j.isatra.2016.03.009i

Y. Bolea, V. Puig / ISA Transactions ∎ (∎∎∎∎) ∎∎∎–∎∎∎ [2] Apkarian P, Gahinet P, Becker G. Self-scheduled H1 control of linear parameter-varying systems: a design example. Automatica 1995;31(9):1251– 61. [3] Apkarian P, Tuan HD. Parametrized LMIs in control theory. SIAM J Control Optim 1998;38(4):1241–64. [4] Bamieh B, Giarré L. Identification of linear parameter varying models. Int J Robust Nonlinear Control 2002;12:841–53. [5] Barré de Saint Venant AJC,. Théorie du Mouvement non-Permanent des Eaux avec Application aux Crues des Rivières et a l’Introduction des Marées dans Leurs Lits. Comptes Rendus Acad. Sci. 1871;73:148–54 237–240. [6] Becker G, Packard A. Robust performance of linear parametrically varying systems using parametrically-dependent linear feedback. Syst Control Lett 1994;23:205–15. [7] Belforte G, Dabbene F, Gay P. LPV approximation of distributed parameter systems in environmental modelling. Environ Model Softw 2002;2. [8] Biannic J-M, Apkarian P. Missile autopilot design via a modified LPV synthesis technique. J Aerosp Sci Technol 1999;3(3):153–60. [9] Bolea Y, Blesa J. Irrigation canal simulator (ICS) (Internal report). Automatic Control Department, Technical University of Catalonia (UPC); 2000. [10] Bolea Y, Puig V, Blesa J. Gain-scheduled Smith Predictor PID based LPV controller for open-flow canal control. IEEE Trans Control Syst Technol 2014;22(2). [11] Bolea Y, Puig V, Blesa J. Linear parameter varying modelling and identification for real-time control of open-flow irrigation canals. Environ Model Softw 2014;53:87–97. [12] Boudaoud M, Gaudenzi De Faria M, Le Gorrec Y, Haddab Y, Lutz P. An output feedback LPV control strategy of a nonlinear electrostatic microgripper through a singular implicit modeling. Control Eng Pract 2014;28:97–111. [13] Castillo F, Witrant E, Prieur C, Talon V, Dugard L. Fresh air fraction control in engines using dynamic boundary stabilization of LPV hyperbolic systems. IEEE Trans Control Technol 2015;23(3):963–74. [14] Chilali M, Gahinet P. H1 design with pole placement constraints: an LMI approach. IEEE Trans Autom Control 1996;41(3):358–67. [15] Chow VT. Open-channel hydraulics. NY: McGraw-Hill; 1959. [16] De Caigny J, Camino JF, Swevers J. Interpolating model identification for SISO linear parameter varying systems. Mech Syst Signal Process 2009;23:2305– 417. [17] Guoyan Cao, Grigoriadis Karolos M, Nyanteh Yaw D. LPV control for the full region operation of a wind turbine integrated with synchronous generator. Math Probl Eng 2015;2015:15 Article ID 638120.

7

[18] Hwanyub Joo, Sung Hyun Kim. H1 LPV control with pole placement constraints for synchronous buck converters with piecewise-constant loads. Math Probl Eng 2015;2015:8 Article ID 686857. [19] Leith D, Leithead W. Survey of gain-scheduling analysis and design. Int J Control 2000;73:1001–25. [20] Liang Dong, Wen Cheng Tang, Da Fei Bao. Interpolating gain-scheduled H1 loop shaping design for high speed ball screw feed drives. ISA Trans 2015;55:219–26. [21] Litrico X, Fromion V. Simplified modeling of irrigation canals for controller design. J Irrig Drain Eng 2004;130(5):373–83. [22] Litrico X, Fromion V. H1 control of an irrigation canal pool with a mixed control politics. IEEE Trans Control Syst Technol 2006;14(1):99–111. [23] Ljung L. System identification toolbox: for use with Matlab. Natick, Massachusetts, USA: MathWorks Inc.; 1995. [24] Masubuchi I, Kurata I. Gain-scheduled control via filtered scheduling parameters. Automatica 2011;47(8):1821–6. [25] Packard A. Gain-scheduling via linear fractional transformations. Syst Control Lett 1994;22:79–92. [26] Packard A, Kantner M, Gain scheduling the LPV way. In: Proceedings of the 35th conference on decision and control. Japan; December 1995. [27] Rugh W, Shamma J. Research on gain scheduling. Automatica 2000;36:1401– 25. [28] Shamma JS, Athans M. Guaranteed properties of gain scheduled control of linear parameter-varying plants. Automatica 1991;27(3):898–907. [29] Sánchez-Peña R, Bolea Y, Puig V. MIMO Smith Predictor: global and structured robust performance analysis. J Process Control 2009;19(1):163–77. [30] Sato M, Peaucelle D. Gain-scheduled output-feedback controllers using inexact scheduling parameters for continuous-time LPV systems. Automatica 2013;49(4):1019–25. [31] Skogestad S, Postlethwaite I. Multivariable feedback control. Analysis and design. Chichester, UK: John Wiley & Sons; 1997. [32] Wang Y, Bevly DM, Rajamani R. Interval observer design for LPV systems with parametric uncertainty. Automatica 2015;60:79–85. [33] White A, Zhen Ren, Zhu Guoming, Choi Jongeun. Mixed H2/H1 observerbased LPV control of a hydraulic engine cam phasing actuator. IEEE Trans Control Technol 2013;21(1):229–38.

Please cite this article as: Bolea Y, Puig V. Gain-scheduling multivariable LPV control of an irrigation canal system. ISA Transactions (2016), http://dx.doi.org/10.1016/j.isatra.2016.03.009i