- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Journal of Applied Mathematics

Volume 2013 (2013), Article ID 615060, 9 pages

http://dx.doi.org/10.1155/2013/615060

## Computational Techniques for Model Predictive Control of Large-Scale Systems with Continuous-Valued and Discrete-Valued Inputs

School of Information Science, Japan Advanced Institute of Science and Technology, Ishikawa 923-1292, Japan

Received 9 November 2012; Accepted 5 February 2013

Academic Editor: Piyapong Niamsup

Copyright © 2013 Koichi Kobayashi and Kunihiko Hiraishi. 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

We propose computational techniques for model predictive control of large-scale systems with both continuous-valued control inputs and discrete-valued control inputs, which are a class of hybrid systems. In the proposed method, we introduce the notion of virtual control inputs, which are obtained by relaxing discrete-valued control inputs to continuous variables. In online computation, first, we find continuous-valued control inputs and virtual control inputs minimizing a cost function. Next, using the obtained virtual control inputs, only discrete-valued control inputs at the current time are computed in each subsystem. In addition, we also discuss the effect of quantization errors. Finally, the effectiveness of the proposed method is shown by a numerical example. The proposed method enables us to reduce and decentralize the computation load.

#### 1. Introduction

Control of large-scale systems is one of the fundamental problems in control theory and has been extensively studied so far (see, e.g., [1–7]). From the viewpoint of total optimization, it is necessary to regard a set of individual systems as one system. In recent years, it is important to consider energy management systems such as smart grid [8] and HEMS (Home Energy Management System) [9–11] as an application. As the other example, we give air-conditioning systems [12, 13] and so on. Thus, it is also important at the current stage to consider control of large-scale systems.

In large-scale systems, many kinds of actuators are included. For example, in air-conditioning systems, the output of air conditioners can be regarded as a continuous-valued control input, and ON/OFF switches of ceiling fans can be regarded as a discrete-valued control input. Thus, it is appropriate to consider large-scale systems with both continuous-valued control inputs and discrete-valued control inputs. However, to our knowledge, such a large-scale system has not been directly considered so far. Furthermore, such a large-scale system is a class of hybrid systems, and the finite-time optimal control problem is in general reduced to a mixed integer quadratic programming (MIQP) problem. For large-scale systems, the computation time for solving the MIQP problem is too long, and it is difficult to realize the model predictive control (MPC) method in which the MIQP problem is solved at each time.

We, thus, propose computational techniques for model predictive control of large-scale systems with both continuous-valued control inputs and discrete-valued control inputs. In the proposed method, we introduce the notion of virtual control inputs, which are obtained by relaxing discrete-valued control inputs to continuous variables. This term has been used in, for example, [12], but we define a different notion. By using the virtual control input, the MIQP problem is approximately rewritten as a quadratic programming (QP) problem, which can be relatively solved faster than the MIQP problem.

In online computation, first, continuous-valued control inputs and virtual control inputs minimizing a cost function are found in a centralized controller. Next, using the obtained virtual control inputs, only discrete-valued control inputs at the current time are computed in each decentralized controller. In other words, a sequence of discrete-valued control inputs is not computed because in MPC only the control input at the current time is applied to the plant. In a centralized controller, the QP problem is solved at each time. In each decentralized controller, the problem of finding the discrete-valued control input is solved at each time. This problem is reduced to an integer programming problem, or can be solved by the look-up table method in which a look-up table is generated off-line. Thus, the computation load is reduced and decentralized by the proposed method.

In addition, we also discuss the effect of quantization errors based on our previous result [14]. The effectiveness of the proposed method is shown by a numerical example. The proposed method provides us an easy-to-use method in control of large-scale systems.

This paper is organized as follows. In Section 2, large-scale systems studied here are explained, and an example of air-conditioning systems is shown. In Section 3, the optimal control problem is formulated. In Section 4, after the outline of the proposed method is explained, the details are explained. In Section 5, we discuss quantization errors. In Section 6, we show a numerical example. In Section 7, we conclude this paper.

*Notation*. Let denote the set of real numbers. Let denote the set of integers. Let and denote the identity matrix and the zero matrix, respectively. For simplicity, we sometimes use the symbol instead of , and the symbol instead of . For a matrix , let the matrix denote a matrix such that each element is given by an absolute value of each element of .

#### 2. Large-Scale Systems

Consider the discrete-time large-scale system consisting of subsystems given by where , is the discrete-time, and is the state in the subsystem . The control inputs and are the continuous-valued control input and the discrete-valued control input in the subsystem , respectively. The set is given as a closed convex set. The discrete-valued control input is given by where is the finite set expressing the candidates of the th element of the discrete-valued control input in the subsystem , and is the number of elements of . In system (1), the pair expresses the dynamics of the subsystem , and the matrices express the effect of other subsystems .

We show an example of air-conditioning systems.

*Example 1. *Suppose that the dynamics of temperature in room are given by the following first-order plus time delay model:
where , , and are the static process gain, the time constant, and the time delay, respectively. For simplicity of discussion, the value of does not depend on room . From (3), we can obtain the following state equation:
where is the state that implies the temperature in one room, and is the continuous-valued control input that implies, for example, the output of a heat pump. Hereafter, the output equation is omitted.

Next, consider transforming (4) into a discrete-time system. For simplicity of discussion, suppose that the sampling period is given as . Then, we can obtain the following discrete-time linear system: By defining , we can obtain Furthermore, consider adding discrete-valued control inputs. We consider three kinds of discrete-valued inputs as follows: (i) : window (close/open), (ii) : local heater (off/low/high), and (iii) : ventilation fan (off/low/high). Then, we can obtain the following temperature model in room : where , , and are constants and are given in advance. We assume that outside temperature is equal to or less than room temperature.

Finally, we consider the effect of other rooms. Assume that airflow is expressed as a directed graph. In this example, suppose that airflow is given as in Figure 1. That is, we can obtain the directed graph in Figure 2. In addition, Figure 1 implies that room 5 has no window. That is, holds. From Figure 2, the coupled term from room to room can be obtained as where is a constant that expresses the effect level. According to Figure 2, we consider the following pairs of : Other coupled terms are given as . In addition, matrices , can be obtained as follows: Thus, we can obtain the temperature model in multiple rooms as the form of (1).

#### 3. Optimal Control Problem

For the large-scale system consisting of , , consider the optimal control problem. Define Then, we consider the following problem.

*Problem 1. *Suppose that for the large-scale system consisting of subsystems , the current state is given, where is the current time. Then, find both continuous-valued and discrete-valued control inputs , minimizing the following cost function:
where , , and are weighting matrices, and is the desired state.

By assigning a binary variable to each element of , the subsystem can be rewritten as a mixed logical dynamical (MLD) system [15], which is one of the standard models in hybrid systems. Therefore, Problem 1 can be rewritten as a mixed integer quadratic programming (MIQP) problem (see the appendix for further details). In the obtained MIQP problem, the dimension of continuous variables and that of binary variables are and respectively. On the other hand, the finite-time optimal control problem is frequently used in model predictive control (MPC). In MPC, the control input is generated as follows.

*Procedure of MPC*

*Step 1. *Set and give the current state .

*Step 2. *Solve Problem 1.

*Step 3. *Apply only to the plant.

*Step 4. *Set , measure , and return to Step 2.

In the above procedure, Problem 1, that is, the MIQP problem must be solved at each time. However, in large-scale systems, it is hard to solve Problem 1 within the practical computation time. Thus, it is necessary to consider a new method for solving Problem 1 under the situation that Problem 1 is used in MPC.

#### 4. Proposed Method

In this section, first, the outline of the proposed method is explained. Next, the notion of virtual control inputs is proposed. Finally, using virtual control inputs, a solution method for Problem 1 is proposed.

##### 4.1. Outline

For large-scale systems, it is in general difficult to solve Problem 1 within the practical computation time. Here, we focus on the fact that in MPC, only is applied to the plant. From this fact, if the state at can be appropriately evaluated, then computation of the discrete-valued control input at is not required. In this paper, we consider relaxing the discrete-valued control input at to a continuous variable, which is called here a *virtual control input* (see also Figure 3). In the proposed procedure of MPC, first, we find a continuous-valued control input and a virtual control input minimizing the cost function. Next, we derive only the discrete-valued control input at from the virtual control input at .

Furthermore, on implementation of the proposed procedure of MPC, we consider both centralized and decentralized controllers (see Figure 4). In the centralized controller, the continuous-valued control input and the virtual control input are computed. In each decentralized controller, the discrete-valued control input at is computed using the virtual control input at . Thus, the computation load is decentralized.

Hereafter in this section, first, the notion of the virtual control input will be formally defined. Next, an approximate solution method of Problem 1 will be proposed. Finally, the proposed procedure of MPC will be shown.

##### 4.2. Virtual Control Input

The matrix in subsystem (1) is rewritten as where . Then, instead of subsystem (1), we consider the following subsystem: where The vector is the -dimensional continuous-valued control input. The set is given as . The vector () is given as the value of the vector such that a sum of each element of is minimized (maximized) and can be derived from the finite set .

Hereafter, is called a *virtual control input*. We remark that the discrete-valued control input and the virtual control input are not one-to-one correspondence.

We show one example.

*Example 2. *Suppose that in the subsystem (1) is given as
where
Noting here that rank holds, in (16) can be rewritten as
Thus, we can obtain
In addition, the constraint for virtual control inputs and is given as
which can be computed from the finite sets , , and .

*Remark 3. *Many actuators are included in each subsystem. In the example of air-conditioning systems, we can consider ceiling fans, local heaters, and so on. In many cases, these correspond to discrete-valued control inputs, and the number of these may be greater than the dimension of the state. Thus on the derivation of virtual control inputs, we reduce to . Another method is proposed in Section 5.

##### 4.3. Solution Method for Optimal Control Problem

First, define Then, consider the following finite-time optimal control problem, instead of Problem 1.

*Problem 2. *Suppose that for the large-scale system consisting of subsystems , the current state is given, where is the current time. Then, find both continuous-valued and discrete-valued control inputs , minimizing the following cost function:
where is the weighting matrix obtained from the weighting matrix in Problem 1 and the matrix in (13).

Since the decision variable in Problem 2 is only a continuous-valued variable, Problem 2 can be rewritten as a quadratic programming (QP) problem, which can be solved by a suitable solver such as IBM ILOG CPLEX Optimizer [16]. The dimension of the decision variables is given by . The procedure for rewriting Problem 2 as a QP problem is the same as that in the case of Problem 1. See the appendix for further details. In addition, from the definition of the virtual control input, we see that the minimum value of the cost function in Problem 2 gives the lower bound of the minimum value of the cost function in Problem 1.

By solving Problem 2, we can obtain the virtual control input. Next, we consider finding a discrete-valued control input from the obtained virtual control input. By , denote the optimal value of the virtual control input obtained by solving Problem 2. In addition, a binary variable is assigned to each candidate of each element in the discrete-valued control input. Then, focusing on only , consider the following problem for each subsystem .

*Problem 3. *Find binary variables minimizing the following cost function:
under the equality constraint where is the -norm of a vector.

By a simple calculation, Problem 3 can be rewritten as an integer linear programming (ILP) problem, which can be solved by a suitable solver such as IBM ILOG CPLEX Optimizer. We remark that Problem 3 is independent of each subsystem. That is, computing environment can be independently prepared for each subsystem. Furthermore, we remark that only the case of is considered in Problem 3. This is because in MPC only the control input at is applied to the plant. Thus, it is not necessary to find the discrete-valued control input at . Therefore, Problem 3 can be solved fast. In addition, by deriving a look-up table off-line, solving the ILP problem online is not necessary. See the numerical example in Section 6 for further details.

The proposed solution method for Problem 1 can be regarded as the method that the MIQP problem corresponding to Problem 1 is divided into one QP problem (Problem 2) and ILP problems (Problem 3 for each subsystem). Problem 2 can be in general solved faster than Problem 1, and in Problem 3, we find only the discrete-valued control input at . From these observations, we see that the computation time for solving one QP problem and ILP problems is smaller than that for solving one MIQP problem.

In addition, the fact that Problem 1 is directly solved (in other words, Problem 1 is rewritten as an MIQP problem) corresponds to centralized control of large-scale systems. In the proposed method, solving Problem 2 (in other words, finding both continuous-valued control inputs and virtual control inputs) corresponds to centralized control. On the other hand, solving Problem 3 (in other words, finding discrete-valued control inputs based on optimal virtual control inputs) corresponds to decentralized control. Thus, the proposed method can be regarded as the method combining centralized control with decentralized control, and the computation load is decentralized and reduced.

##### 4.4. Model Predictive Control Law

Finally, we summarize the procedure of MPC combining centralized control with decentralized control.

*The Proposed Procedure of MPC*

*Step 1. *Set and give the current state .

*Step 2. *In the centralized controller, find both a continuous-valued control input and a virtual control input by solving Problem 2.

*Step 3. *Send the optimal values of both a continuous-valued control input and a virtual control input from the centralized controller to each decentralized controller.

*Step 4. *In each decentralized controller, solve Problem 3 and find a discrete-valued control input at .

*Step 5. *Apply only the control input at to the plant.

*Step 6. *Set , measure , and return to Step 2.

#### 5. Discussion on Quantization Errors

In the previous section, we do not consider quantization errors and focus on the lower bound of the cost function. In this section, we discuss a method for considering quantization errors.

First, the virtual control input is introduced. In this section, in (1) is transformed into the virtual control input. By , denote the virtual control input. By , denote the value of the vector such that a sum of each element of is minimized. By , denote the value of the vector such that a sum of each element of is maximized. Then, instead of (1), we consider the following system: where . The vector is the uncertain affine term including quantization errors, and are obtained from quantization errors in each element of .

We show one example.

*Example 4. *Suppose that in subsystem (1) is given as
where , , and . Then, we can obtain the following virtual control inputs:
The vectors can be obtained as
In addition, the following relations hold:
From these relations, can be obtained as
Thus, we can obtain virtual control inputs and the uncertain affine term.

Next, consider transforming the system (24) including uncertainty into a linear system including no uncertainty. For simplicity of discussion, we assume that, for all , two relations and hold. This assumption can be satisfied by adding the affine term. Then, by using the result in [14], an overapproximation of the state can be expressed as where is the affine term for satisfying the above assumption, and Equations (30) and (31) are a discrete-time linear system, and by using (31), the worst case of the cost function (12) in Problem 1 can be minimized approximately. This problem is reduced to a quadratic programming (QP) problem, not a min-max optimization problem. On the other hand, by using both (30) and (31), the middle point of the cost function (12) can be evaluated. Also in this case, the optimal control problem is reduced to a QP problem.

*Remark 5. *In this section, the dimension of the virtual control input is . On the other hand, in Section 4.2, the dimension of the virtual control input is . Also in the discussion on quantization errors, the dimension of the virtual control input can be reduced to . However, and must be determined depending on the choice of in (13). In order to avoid this complexity, we have considered in this section the virtual control input with the dimension of .

#### 6. Numerical Example

As a numerical example, consider the large-scale system consisting of 9 subsystems given by (1). Couplings of subsystems are given by the directed graph in Figure 5. The matrices , , are given by where , , , , , , , , and . The matrices , are given as follows. , , , , , , , , , , , , , , , , , , , , , , , are given as , respectively. Other coupling terms , are given as a zero matrix. is given by In addition, we impose the following constraint: The matrix and the discrete-valued control input are given by those in Example 2.

For this system, we consider solving Problem 2, instead of Problem 1. The prediction horizon, the weighting matrices, the desired state, the initial time, and the initial state are given as , , , , , and , respectively.

We show the computation result. Figures 6 and 7 show state trajectories of 9 subsystems. Note here that in these figures, the virtual control input is used. From this fact, we see that trajectories in these figures imply those corresponding to the lower bound of the optimal value of a given cost function.

Next, we discuss how to derive the discrete-valued control input from the virtual control input. In this example, the optimal virtual control input at can be obtained by Then focusing on (18), we can obtain the discrete-valued control input as follows: In this case, can be uniquely determined. and are not uniquely determined. If it is desirable to set a small value, then we can obtain and . In practice, the look-up table can be generated off-line. Then, the input of this table is the rounded virtual control input, and the output is the discrete-valued control input. In online computation, the discrete-valued control input can be determined from the look-up table and the rounded virtual control input. In this method, it is not necessary to solve Problem 3.

Finally, we explain the computation time for solving Problem 2. In this example, the computation time of the QP problem was 0.05 [sec], where we used IBM ILOG CPLEX Optimizer 11.0 as an MIQP solver on the computer with the Intel Core 2 Duo 3.0 GHz processor and the 4 GB memory. Thus, Problem 2 can be solved fast.

#### 7. Conclusion

In this paper, we have proposed computational techniques for model predictive control of large-scale systems with both continuous-valued and discrete-valued control inputs. By introducing the notion of virtual control inputs, the computation load is reduced and decentralized. The effectiveness of the proposed method has been shown by a numerical example. The proposed method is useful for solving the control problem of large-scale system with both continuous-valued and discrete-valued control inputs.

One of the future works is to apply our approach to several practical systems such as air-conditioning systems. On the other hand, a large-scale system studied in this paper is a class of hybrid systems. It is also important to extend the proposed method to general hybrid systems such as piecewise affine systems and MLD systems.

#### Appendix

#### Reduction of Problem 1 to an MIQP Problem

First, by using a binary variable, the element of in subsystem (1) can be expressed as where we imposed the following equality constraint: By using and , can be expressed as Next, by combing all subsystems, we can obtain where See Section 3 for the definitions of and. In addition, the constraint for the continuous-valued control input and the equality constraint of (A.2) can be expressed as Since consist of both continuous variables and binary variables, the pair of (A.4) and (A.6) is a class of mixed logical dynamical systems [15]. From (A.4) and (A.6), we have where By substituting (A.7) into (A.8), we have Finally, consider the cost function (12). For simplicity of discussion, we consider the case of . Then the cost function (12) can be rewritten as where Furthermore, by substituting (A.7) into this cost function, we can obtain From the above, Problem 1 can be rewritten as the following MIQP problem: find a control input sequence minimizing the cost function (A.13) subject to the constraint (A.10). The obtained MIQP problem can be solved by a suitable solver such as IBM ILOG CPLEX Optimizer. However, for large-scale systems, it is difficult to solve the MIQP problem with practical computation time.

#### Acknowledgment

This work was partially supported by Grant-in-Aid for Young Scientists (B) 23760387.

#### References

- A. Alessio, D. Barcelli, and A. Bemporad, “Decentralized model predictive control of dynamically coupled linear systems,”
*Journal of Process Control*, vol. 21, no. 5, pp. 705–714, 2011. - W. B. Dunbar and R. M. Murray, “Distributed receding horizon control for multi-vehicle formation stabilization,”
*Automatica*, vol. 42, no. 4, pp. 549–558, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Ikeda, D. D. Šiljak, and K. Yasuda, “Optimality of decentralized control for large-scale systems,”
*Automatica*, vol. 19, no. 3, pp. 309–316, 1983. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - T. Keviczky, F. Borrelli, and G. J. Balas, “Decentralized receding horizon control for large scale dynamically decoupled systems,”
*Automatica*, vol. 42, no. 12, pp. 2105–2115, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Rotkowitz and S. Lall, “A characterization of convex problems in decentralized control,”
*IEEE Transactions on Automatic Control*, vol. 51, no. 2, pp. 1984–1996, 2006. - N. R. Sandell, Jr., P. Varaiya, M. Athans, and M. G. Safonov, “Survey of decentralized control methods for large scale systems,”
*IEEE Transactions on Automatic Control*, vol. 23, no. 2, pp. 108–128, 1978. View at Zentralblatt MATH · View at MathSciNet - H. Tamura and T. Yoshikawa,
*Large-Scale Systems Control and Decision Making*, Marcel Dekker, 1990. View at MathSciNet - About IEEE Smart Grid, http://smartgrid.ieee.org/ieee-smart-grid.
- J. Han, C.-S. Choi, and I. Lee, “More efficient home energy management system based on ZigBee communication and infrared remote controls,”
*IEEE Transactions on Consumer Electronics*, vol. 57, no. 1, pp. 85–89, 2011. - M. Inoue, T. Higuma, Y. Ito, N. Kushiro, and H. Kubota, “Network architecture for home energy management system,”
*IEEE Transactions on Consumer Electronics*, vol. 49, no. 3, pp. 606–613,, 2003. - N. Kushiro, S. Suzuki, M. Nakata, H. Takahara, and M. Inoue, “Integrated residential gateway controller for home energy management system,”
*IEEE Transactions on Consumer Electronics*, vol. 49, no. 3, pp. 629–636, 2003. - M. Rodriguez, C. De Prada, F. Capraro, S. Cristea, and R. De Keyser, “Hybrid predictive control of a solar air conditioning plant,” in
*Proceedings of the 17th IFAC World Congress*, pp. 952–957, 2008. - C. Sonntag, H. Ding, and S. Engell, “Supervisory control of a solar air conditioning plant with hybrid dynamics,”
*European Journal of Control*, vol. 6, pp. 451–463, 2008. - K. Kobayashi and K. Hiraishi, “Analysis and control of hybrid systems with parameter uncertainty based on interval methods,” in
*Proceedings of the American Control Conference (ACC '09)*, pp. 3632–3637, 2009. - A. Bemporad and M. Morari, “Control of systems integrating logic, dynamics, and constraints,”
*Automatica*, vol. 35, no. 3, pp. 407–427, 1999. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - IBM ILOG CPLEX Optimizer, http://www-01.ibm.com/software/integration/optimization/cplex-optimizer/.