Journal of Applied Mathematics

Volume 2014 (2014), Article ID 786351, 13 pages

http://dx.doi.org/10.1155/2014/786351

## An Offline Formulation of MPC for LPV Systems Using Linear Matrix Inequalities

Department of Chemical Engineering, Faculty of Engineering, Mahidol University, Phuttamonthon 4 Road, Salaya, Nakhon Pathom 73170, Thailand

Received 15 January 2014; Accepted 21 March 2014; Published 22 April 2014

Academic Editor: Jong Hae Kim

Copyright © 2014 P. Bumroongsri. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

An offline model predictive control (MPC) algorithm for linear parameter varying (LPV) systems is presented. The main contribution is to develop an offline MPC algorithm for LPV systems that can deal with both time-varying scheduling parameter and persistent disturbance. The norm-bounding technique is used to derive an offline MPC algorithm based on the parameter-dependent state feedback control law and the parameter-dependent Lyapunov functions. The online computational time is reduced by solving offline the linear matrix inequality (LMI) optimization problems to find the sequences of explicit state feedback control laws. At each sampling instant, a parameter-dependent state feedback control law is computed by linear interpolation between the precomputed state feedback control laws. The algorithm is illustrated with two examples. The results show that robust stability can be ensured in the presence of both time-varying scheduling parameter and persistent disturbance.

#### 1. Introduction

Model predictive control (MPC), also known as receding horizon control, is an effective multivariable control algorithm in which a dynamic optimization problem is solved online. At each sampling time, MPC solves a finite horizon optimal control problem based on an explicit model of the plant. Although an optimal control sequence is determined, only the first control action is applied to the plant. Due to its ability to guarantee optimality while ensuring the satisfaction of constraints on input and state, MPC has received much interest in both industry and academia [1–3].

An explicit linear model is typically used in the MPC formulation because the online optimization can be reduced to either a linear program or a quadratic program. Since an industrial process is inherently nonlinear to a certain extent, the control performance of linear MPC can deteriorate as operating conditions significantly change [4, 5]. For this reason, MPC for linear parameter varying (LPV) systems has been widely developed. LPV systems are linear systems whose dynamics depend on the scheduling parameter that can be measured online. The analysis and synthesis of LPV systems play an important role in control theory since nonlinear systems can be dealt within the framework of LPV systems [6, 7].

In the context of MPC for LPV systems, one of the main approaches is to solve a semidefinite problem under linear matrix inequality (LMI) [8]. Quasi-Min-Max MPC algorithm for LPV systems was developed by Lu and Arkun [9]. Although the scheduling parameter is included in the controller design, it is assumed that there is no disturbance present in the problem formulation, so the algorithm cannot deal with disturbance. MPC for LPV systems using parameter-dependent Lyapunov functions was developed by [10]. It is shown that the proposed MPC algorithm can achieve less conservative results as compared with a robust MPC algorithm derived by using a single Lyapunov function [4]. However, this algorithm includes only time-varying scheduling parameter in the problem formulation so it cannot ensure robust stability in the presence of disturbance. The bound on the rate of variation of the scheduling parameter can also be taken into account in the MPC formulation [11, 12]. However, this technique is not applicable to the case where there is the disturbance acting on the system.

MPC for LPV systems can be designed by using ellipsoidal set prediction [13, 14]. At each sampling instant, the predicted future states on the finite horizon are bounded by using a sequence of ellipsoids. The terminal ellipsoid is contained in a target set guaranteeing stability. The main drawback of this approach lies in the fact that the computational load increases with the length of prediction horizon. In order to reduce online computational time, an offline MPC algorithm for LPV systems was developed [15]. The real-time state feedback gain is calculated by linear interpolation between the precomputed state feedback gains. Although the online computational time is significantly reduced, the disturbance is not taken into account in the offline MPC formulation so robust stability cannot be guaranteed in the presence of disturbance. Explicit MPC for LPV systems was proposed by Besselmann et al. [16]. Only time-varying scheduling parameter is included in the problem formulation and it is also assumed that there is no disturbance. In Ding [17, 18], both time-varying scheduling parameter and disturbance are included in the problem formulation. However, the optimization problem contains a lot of decision variables and constraints, so the algorithm is computationally prohibitive in practical situations.

In the context of tube-based MPC [19–21], the disturbance is explicitly taken into account in the MPC design. The basic concept of robust tube-based MPC is to compute the region around the nominal prediction that contains any possible states of the uncertain system. One of the main advantages is that its online computational complexity increases only linearly with the prediction horizon. However, the time-varying scheduling parameter is not incorporated into the MPC design, so robust stability cannot be ensured in the presence of parametric uncertainty.

In this paper, an offline MPC algorithm for LPV systems is presented. Unlike Wan and Kothare [22] where only time-varying scheduling parameter is considered in the offline MPC formulation, the main contribution of this paper is to develop an offline MPC algorithm for LPV systems that can deal with both persistent disturbance and time-varying scheduling parameter. The norm-bounding technique [23] is used to derive an offline MPC algorithm based on the parameter-dependent state feedback control law and the parameter-dependent Lyapunov functions. Most of the optimization problems are solved offline, so the developed MPC algorithm can be applied to fast processes. This article is organized as follows. Section 2 concerns with problem statement and control objectives. The proposed algorithm is described in Section 3. In Section 4, the effectiveness of the proposed MPC algorithm is illustrated. Finally, Section 5 presents some conclusions.

*Notation*. For any vector and positive-definite matrix , . is the state measured at real-time and is the state at prediction time predicted at real-time . The symbol denotes symmetric blocks in matrices. An element belonging to a convex hull means that it is a convex combination of the elements in . The time-dependence of the MPC decision variables is often dropped for simplicity. is the identity matrix with appropriate dimension.

#### 2. Problem Statement

Consider the following discrete-time LPV system: where denotes the state, denotes the control input, denotes the disturbance, and denotes the output. The superscripts , , , and denote the dimensions of , , , and , respectively. It is assumed that the time-varying scheduling parameter is measurable at each sampling time but its future values are considered to be uncertain. The input and output constraints are Any and belong to a convex polytope defined by so they can be written as where are the vertices of and is the number of the vertices of . Any belongs to a convex polytope defined by so it can be written as where are the vertices of , is the number of the vertices of , and is the time-varying parameter that is not necessary to be measurable. The disturbance is unmeasurable and persistent. It is assumed to lie in a convex polytope defined by where is the number of the vertices of . The objective is to find a parameter-dependent state feedback control law , where are the state feedback gains corresponding to the vertices of that is able to guarantee both robust stability and constraint satisfaction within a positively invariant set.

*Definition 1. *The set is said to be positively invariant set if it has the property that whenever the current state is contained in this set , all possible predicted states must be contained in this set for all admissible realizations of , and , .

*Remark 2. *In this paper, the positively invariant set is , where is a parameter-dependent Lyapunov matrix, are the Lyapunov matrices corresponding to the vertices of , and is an upper bound on the infinite horizon cost. From the convexity of the polytopic description, is an intersection area of .

Considering the discrete-time LPV system (1) to (9) at each sampling time , a parameter-dependent state feedback control law that (i) minimizes an upper bound on and (ii) guarantees both robust stability and robust constraint satisfaction within a positively invariant set can be calculated by solving the following optimization problem:
where is the predicted state not corrupted by disturbance, is the predicted state with disturbance, and and are symmetric weighting matrices. The cost monotonicity is guaranteed by (11). A positively invariant set containing the state at each sampling time is computed by (12). All predicted states are restricted to lie in a positively invariant set by (13). The input and output constraints are guaranteed by (14) and (15), respectively.

#### 3. Offline MPC for LPV Systems with Persistent Disturbances

First of all, we will begin with the preliminary results of Wada et al. [10] where only time-varying scheduling parameter is considered in the problem formulation. Then, the proposed algorithm that can deal with both time-varying scheduling parameter and persistent disturbance will be developed. By following Wada et al. [10], (11) and (12) are satisfied and the cost monotonicity is guaranteed if there exist matrices , , symmetric matrices and a positive scalar such that the following LMIs are satisfied: Then, it follows that is the upper bound on . Moreover, a parameter-dependent state feedback gain is given by .

Next, we will present the results of this paper that can deal with both time-varying scheduling parameter and disturbance.

Proposition 3 (Robust stability in the presence of both time-varying scheduling parameter and disturbance). *(13) is satisfied if there exist matrices , and symmetric matrices such that the following LMIs are satisfied:
**
where is a prespecified scalar. Then, all predicted states are restricted to lie in a positively invariant set which is an intersection area of .*

*Proof. *Equation (13) is guaranteed by (18) and (19). The proof detail can be found in Appendix A.

*Remark 4. * is a parameter that bounds disturbance-free state trajectories. The value of should be chosen such that as .

Proposition 5 (Robust constraint satisfaction in the presence of both time-varying scheduling parameter and disturbance). *Robust constraint satisfaction is guaranteed if there exist matrices , and symmetric matrices such that the following LMIs are satisfied:
**
where is a scalar that can be obtained by solving the following optimization problem
**
where is the th row of .*

*Proof. *The input constraint (14) is guaranteed by (20). The proof details can be found in Appendix B. The output constraint (15) is guaranteed by (21). The proof details can be found in Appendix C.

By considering Propositions 3 and 5, a parameter-dependent state feedback control law that guarantees both robust stability and robust constraint satisfaction can be calculated. Consider the discrete-time LPV system (1) to (9) at each sampling instant , a parameter-dependent state feedback control law , , that guarantees both robust stability and robust constraint satisfaction within a positively invariant set is obtained by solving the following optimization problem: It is computationally demanding to solve the optimization problem (24) at each sampling time. Inspired by Bumroongsri and Kheawhom [15], we propose an offline MPC algorithm for LPV systems that transfer most of the computations offline.

*Algorithm 6. **Offline*. Choose a sequence of states , . For each , substitute in (17) by and solve the optimization problem (24) to obtain the corresponding feedback gains and ellipsoids , where the subscript denote the solution of (24) for each , and vertices , . Note that (i) the positively invariant set for each is an intersection area of , (ii) the inequalities (26) should be satisfied for each to ensure robust stability of the offline algorithm

*Remark 7. *A sequence of states , should be chosen such that for each , the ellipsoids obtained are nested . This is to guarantee that the state is kept within and driven towards , and so on.*Online*. At each sampling time , measure and . If , adopt the following control law:
where is calculated by solving
If , adopt the following control law:
An intersection area of , is the largest positively invariant set where robust stability and robust constraint satisfaction are guaranteed. If , , then , . Thus, Algorithm 6 is always feasible if it is initially feasible.

*Remark 8. *The proposed offline MPC algorithm can deal with both time-varying scheduling parameter and disturbance. In comparison, an offline MPC algorithm [22] cannot deal with disturbance.

#### 4. Examples

The numerical simulations have been performed in Intel Core 2 Duo (2.53 GHz), 2 GB RAM, using SeDuMi [24] and YALMIP [25] within the Matlab R2008a environment.

*Example 1. *The first example is a continuous stirred tank reactor (CSTR) adapted from Ding and Huang [26] where an exothermic reaction takes place. The dynamic model based on a component balance and an energy balance can be written as
where denotes the concentration of in the reactor, denotes the reactor temperature, denotes the temperature of the coolant stream, and denotes the disturbance acting on the system. The operating parameters are shown in Table 1.

By defining , and , (31) and (32) can be transformed into the fllowing nonlinear model:where , . For , (33) is transformed into the following model in order to balance the submodels:where ,, and . Since and can vary between and , we have that all the solutions of (34) are also the solutions of the following differential inclusion:
where are given byand are given by
The objective is to regulate and by manipulating . The input and output constraints are .5 mol/L, 5 K and 0 K. The discrete-time LPV model is obtained by discretizing (35) with a sampling period of 0.01 min and it is omitted here for brevity. The symmetric weighting matrices in (10) are and . The value of in (18) has been fixed at 0.97 which has negligible influence on the control performance.

Figure 1(a) shows the ellipsoids computed offline by Algorithm 6. In this example, four sequences of ellipsoids are computed because the polytope has four vertices. A sequence of positively invariant sets computed by intersection among four sequences of ellipsoids is shown in Figure 1(b).

Figure 2 shows the closed-loop responses of the system when the disturbances are varied as , , and , respectively. It can be observed that and are bounded for all values of disturbances so robust stability is ensured by applying Algorithm 6.

The online computational time of Algorithm 6 is very low as shown in Table 2 so it is applicable to fast systems.

*Example 2. *The second example is an angular positioning system adapted from Kothare et al. [4]. The system consists of an electric motor driving a rotating antenna so that is always points in the direction of a moving object. The motion of the antenna can be described by the following discrete-time LPV model:
where is the angular position of the antenna, is the angular velocity of the antenna, is the input voltage to the motor, and is the disturbance acting on the system. The scheduling parameter is measurable at each sampling time and its value is varied between 0.1 and 10. We have that all the solutions of (38) are also the solutions of the following differential inclusion:
where are given by , and are given by , . The objective is to regulate and by manipulating . The input constraint is volts. The symmetric weighting matrices in (10) are and . The value of in (18) has been fixed at 0.98 which has negligible influence on the control performance. A sampling time is 0.1 s.

Figure 3(a) shows two sequences of ellipsoids corresponding to . A sequence of positively invariant sets computed by intersection between two sequences of ellipsoids is shown in Figure 3(b).

Figure 4 shows 100 state trajectories of the closed-loop system when and are arbitrarily time-varying in the ranges of and . Two initial points (0.9, 0) and (−0.8, 0.8) are chosen. It can be observed from the figure that all state trajectories are restricted to lie in a sequence of positively invariant sets. The average time for Algorithm 6 to compute a real-time control law is 0.001 s.

#### 5. Conclusions

In this paper, we have presented an offline MPC algorithm for constrained LPV systems.The main contribution is to develop an offline MPC algorithm for LPV systems that can deal with both persistent disturbance and time-varying scheduling parameter. The norm-bounding technique is used to derive an offline MPC algorithm based on the parameter-dependent state feedback control law and the parameter-dependent Lyapunov functions. Most of the optimization problems are solved offline so the algorithm is applicable to fast systems. At each sampling time, a parameter-dependent state feedback control law is calculated by linear interpolation between the precomputed state feedback control laws. The controller design is illustrated with two examples.

#### Appendices

#### A. Proof of Proposition 3

Lemma A.1 will be used in the proof.

Lemma A.1 (see [23]). *Suppose is a symmetric matrix, while and are vectors with appropriate dimensions. Then, for any scalar , .*

The norm-bounding technique [23] is used to derive an offline MPC algorithm based on the parameter-dependent state feedback control law and the parameter-dependent Lyapunov functions.

By substituting into (A.1) and applying Lemma A.1, for any , we see that (A.1) is satisfied if Consider the term in (A.2); let be the maximum value of this term, where is a prespecified scalar: Applying the Schur complement leads toFrom the convexity of the polytopic description, with , and , (A.4) is satisfied if Multiplying (A.5) from the left by and from the right by and applying , we obtain LMIs (A.6) Consider the term in (A.2); let be the maximum value of this term: Applying the Schur complement leads to From the convexity of the polytopic description, with , (A.8) is satisfied if Multiplying (A.9) from the left by and from the right by , we obtain LMIs (A.10): From (A.3) and (A.7), with , (A.2) is equivalent to The maximum allowable value of can be calculated by solving From (A.12), is obtained as

#### B. Proof of Proposition 5 (Input Constraint)

Defining as the th row of the -dimensional identity matrix, we have Applying Cauchy-Schwarz inequality, with , leads to The input constraint is satisfied if By applying the Schur complement, (B.3) is equivalent to From the convexity of the polytopic description, with and , (B.4) is satisfied if Premultiplying by , postmultiplying by and applying , we obtain LMIs (B.6)

#### C. Proof of Proposition 5 (Output Constraint)

Defining as the th row of the -dimensional identity matrix, we have Substituting and applying Cauchy-Schwarz inequality and Lemma A.1, for any , we see that the output constraint is satisfied if Consider the term in (C.2); let be the maximum value of this term Since , applying the Schur complement leads toFrom the convexity of the polytopic description, with and , (C.4) is satisfied if Premultiplying by , postmultiplying by , and applying , we obtain LMIs (C.6) Consider the term in (C.2); let be the maximum value of this term: By applying the Schur complement, we obtain From the convexity of the polytopic description, (C.8) is satisfied if where is the th row of . Thus, can be calculated by solving From (C.3) and (C.7), (C.2) is equivalent to The maximum allowable value of can be calculated by solving From (C.12), is obtained as

#### Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This research project is supported by Mahidol University.

#### References

- M. Morari and J. H. Lee, “Model predictive control: past, present and future,”
*Computers and Chemical Engineering*, vol. 23, no. 4-5, pp. 667–682, 1999. View at Publisher · View at Google Scholar · View at Scopus - D. Q. Mayne, J. B. Rawlings, C. V. Rao, and P. O. M. Scokaert, “Constrained model predictive control: stability and optimality,”
*Automatica*, vol. 36, no. 6, pp. 789–814, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. J. Qin and T. A. Badgwell, “A survey of industrial model predictive control technology,”
*Control Engineering Practice*, vol. 11, no. 7, pp. 733–764, 2003. View at Publisher · View at Google Scholar · View at Scopus - M. V. Kothare, V. Balakrishnan, and M. Morari, “Robust constrained model predictive control using linear matrix inequalities,”
*Automatica*, vol. 32, no. 10, pp. 1361–1379, 1996. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. F. Camacho and C. Bordons,
*Model Predictive Control*, Springer, London, UK, 2nd edition, 2004. - M. Jungers, R. C. L. F. Oliveira, and P. L. D. Peres, “MPC and LPV systems with bounded parameter variations,”
*International Journal of Control*, vol. 84, no. 1, pp. 24–36, 2011. View at Publisher · View at Google Scholar · View at MathSciNet - S. Yu, C. Böhm, H. Chen, and F. Allgöwer, “Model predictive control of constrained LPV systems,”
*International Journal of Control*, vol. 85, no. 6, pp. 671–683, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S. Boyd and L. Vandenberghe,
*Convex Optimization*, Cambridge University Press, Cambridge, UK, 1st edition, 2004. View at MathSciNet - Y. Lu and Y. Arkun, “Quasi-min-max MPC algorithms for LPV systems,”
*Automatica*, vol. 36, no. 4, pp. 527–540, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - N. Wada, K. Saito, and M. Saeki, “Model predictive control for linear parameter varying systems using parameter dependent Lyapunov function,”
*IEEE Transactions on Circuits and Systems II: Express Briefs*, vol. 53, no. 12, pp. 1446–1450, 2006. View at Publisher · View at Google Scholar · View at Scopus - A. Casavola, D. Famularo, and G. Franzè, “A feedback min-max MPC algorithm for LPV systems subject to bounded rates of change of parameters,”
*IEEE Transactions on Automatic Control*, vol. 47, no. 7, pp. 1147–1153, 2002. View at Publisher · View at Google Scholar · View at MathSciNet - P. Park and S. C. Jeong, “Constrained RHC for LPV systems with bounded rates of parameter variations,”
*Automatica*, vol. 40, no. 5, pp. 865–872, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - H. Suzuki and T. Sugie, “Model predictive control for linear parameter varying constrained systems using ellipsoidal set prediction,”
*International Journal of Control*, vol. 80, no. 2, pp. 314–321, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - A. C. Brooms, B. Kouvaritakis, and Y. I. Lee, “Constrained MPC for uncertain linear systems with ellipsoidal target sets,”
*Systems & Control Letters*, vol. 44, no. 3, pp. 157–166, 2001. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - P. Bumroongsri and S. Kheawhom, “An ellipsoidal off-line model predictive control strategy for linear parameter varying systems with applications in chemical processes,”
*Systems & Control Letters*, vol. 61, no. 3, pp. 435–442, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. Besselmann, J. Löfberg, and M. Morari, “Explicit MPC for LPV systems: stability and optimality,”
*IEEE Transactions on Automatic Control*, vol. 57, no. 9, pp. 2322–2332, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - B. Ding, “Quadratic boundedness via dynamic output feedback for constrained nonlinear systems in Takagi-Sugeno's form,”
*Automatica*, vol. 45, no. 9, pp. 2093–2098, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - B. Ding, “Constrained robust model predictive control via parameter-dependent dynamic output feedback,”
*Automatica*, vol. 46, no. 9, pp. 1517–1523, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - W. Langson, I. Chryssochoos, S. V. Raković, and D. Q. Mayne, “Robust model predictive control using tubes,”
*Automatica*, vol. 40, no. 1, pp. 125–133, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - D. Limon, I. Alvarado, T. Alamo, and E. F. Camacho, “Robust tube-based MPC for tracking of constrained linear systems with additive disturbances,”
*Journal of Process Control*, vol. 20, no. 3, pp. 248–260, 2010. View at Publisher · View at Google Scholar · View at Scopus - R. Gonzalez, M. Fiacchini, T. Alamo, J. L. Guzman, and F. Rodriguez, “Online robust tube-based MPC for time-varying systems: a practical approach,”
*International Journal of Control*, vol. 84, no. 6, pp. 1157–1170, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Z. Wan and M. V. Kothare, “An efficient off-line formulation of robust model predictive control using linear matrix inequalities,”
*Automatica*, vol. 39, no. 5, pp. 837–846, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - B. C. Ding, Y. Xi, M. T. Cychowski, and T. O'Mahony, “A synthesis approach for output feedback robust constrained model predictive control,”
*Automatica*, vol. 44, no. 1, pp. 258–264, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. F. Sturm, “Using SeDuMi 1.02, a MATLAB toolbox for optimization over symmetric cones,”
*Optimization Methods and Software*, vol. 11/12, no. 1–4, pp. 625–653, 1999. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Löfberg, “Automatic robust convex programming,”
*Optimization Methods & Software*, vol. 27, no. 1, pp. 115–129, 2012. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - B. Ding and B. Huang, “Reformulation of LMI-based stabilisation conditions for non-linear systems in Takagi-Sugeno's form,”
*International Journal of Systems Science. Principles and Applications of Systems and Integration*, vol. 39, no. 5, pp. 487–496, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet