A Two-Time Scale Decentralized Model Predictive Controller Based on Input and Output Model
A decentralized model predictive controller applicable for some systems which exhibit different dynamic characteristics in different channels was presented in this paper. These systems can be regarded as combinations of a fast model and a slow model, the response speeds of which are in two-time scale. Because most practical models used for control are obtained in the form of transfer function matrix by plant tests, a singular perturbation method was firstly used to separate the original transfer function matrix into two models in two-time scale. Then a decentralized model predictive controller was designed based on the two models derived from the original system. And the stability of the control method was proved. Simulations showed that the method was effective.
Applications of singular perturbation in control theory can be traced back to 1970s . When there are both fast and slow dynamics in a system, the perturbation conception can be adopted to simplify the system. Phillips first combined the optimal control theory with a singular perturbation system and presented a two-stage design of linear feedback control . Later, nonlinear singular perturbation systems , large scale systems , and high-gain feedback systems  were investigated with optimal control theory, too. Recently, process control researchers took notice of the mechanical reasons for two-time scale characteristics of systems. And the existence of fast and slow dynamics was studied in several previous papers. Yi and Luyben analyzed the dynamic characteristic of coupled reactor/column systems in a series of papers and illuminated the mechanisms of fast and slow dynamics in some special systems [6–8]. Contou-Carrere and Daoutidis focused on the coexistence of fast and slow dynamics in integrated process networks . They explained that large flow rates brought in fast dynamic and led to a time scales separation of dynamics. They also designed a precompensator for a distillation model. Sequentially, Kumar and Daoutidis further analyzed the dynamics of process with material and energy recycle, and introduced a controller design framework consisting of properly coordinated controllers in fast and slow time scales . Vora and Daoutidis introduced a nonstandard form singular perturbation method and analyzed the existence of fast and slow dynamics in a nonlinear system . Kumar and Christofides dealt with two-time scale chemical processes and modeled them by using nonlinear ordinary differential equations with large parameters of the form . They obtained a standard singularly perturbed representation. All those methods focused on process thermodynamic models for which took much work to get precise data.
In actual processes, model predictive control (MPC) was regarded as “the only advanced control methodology which has made a significant impact on industrial control engineering” . And MPC has no limit of the model form. The input-output model which can be obtained easily by identification is usually used. However, all the methods mentioned above is from the point of optimal control which is an offline method. In addition, all the above methods regard the steady state output of fast dynamics as the input or known quantity of slow dynamics but pay little attention on the influence of slow dynamics on fast dynamics. MPC adopts online rolling optimization and uses feedback to correct prediction. The challenge of applying MPC in singular perturbation system becomes the compromise between the control interval and the predictive horizon. Fast dynamic needs small control interval, while slow dynamic needs large predictive horizon. There are few papers about two-time scale MPC. Buescher and Baum introduced a two-time scale approach to nonlinear model predictive control, and used a “gapping” method to smooth the control quality . But they did not consider the dynamic characteristics of the model in their control algorithm which may be not suitable for special systems.
Therefore, we focused on designing an MPC for systems with two-time scale characteristic in this paper. First, we introduced the background of this field. Then we described the two-time scale decomposition of a transfer function matrix with different dynamics in different channels. At part 3, we presented a kind of two-time scale decentralized MPC algorithm step by step and proved its stability. At last, we gave several simulations to test the validity of the two-time scale decentralized MPC algorithm.
2. Two-Time Scale Decomposition of a Transfer Function Matrix
In some systems, the dynamics varies with different channels. And the response speeds of those different channels vary so much even in different time scales. The characteristics can be got from the transfer function matrix intuitively. We simply took a two-in-two-out first-order transfer function matrix, for example and gave the following definition.
Definition 1. A Two-in-two-out first-order transfer function matrix with two-time scale characteristic is presented below, where
when , , , are in the same order, , are in the same order.
Considering the system
the response speed of output is much faster than that of output . Then a traditional central controller cannot satisfy the demands of and simultaneously. For example, for the fast channel a very short control interval is needed to provide enough dynamic characteristics, while for the slow channel a very large predictive horizon is needed to ensure the stability of the controller. Thus a normal model predictive controller cannot satisfy both demands. Therefore we designed a decentralized controller based on a two-time scale method.
Some papers [9, 11, 15] introduced a singular perturbation method to obtain two-time scale models which are based on state space model. In order to transform the transfer function matrix into a two-time scale form, the transfer function matrix form should be transferred into a state space form. But the delay terms cannot be expressed in a state space form. Thus we firstly took a transfer function matrix without delay to illustrate the two-time scale decomposition, and then discussed the situation with delay terms.
2.1. Without Delay Terms
Based on the method mentioned in literature, system where , , , , , , , are in the same order, , can have this form
where is a one-dimension state space form of :
So we can rewrite (4) in this form:
where is a very small positive constant.
This form can be regarded as
and the fast model
We denoted the transfer function of the slow model by
and the transfer function of the fast model in time scale by
and the fast model in t-time scale is
, and are all descriptions from different points of the real system . And they are all two-in-two-out systems but have less state variables than the real system . If we choose a long enough sample interval for and , the sample values can be similar, because the fast responses turn to steady states that can be regarded as constants in a very short time. If we choose a very short sample interval for and in a short enough period of time, the sample values can be similar, too. Because in such a short period of time the slow channel response is so slow that can be regarded as zero. But the output of the slow channel is not zero. Therefore, we modified the fast model in t-time scale when we designed a controller based on this fast model. Literature  proved the relationship between and , and also the transfer function of the original system :
Equation (16) denotes that the initial value of the slow model equals to the final value of the fast model. And (17) denotes that the original system can be regarded as a sum of the slow model, the fast model, and a very little item . Let
We had expressions of the fast model and the slow model about the model without delay terms in t-time scale. Next we would consider the model with delay terms.
2.2. With Delay Terms
We took system (2), where shows two-time scale characteristic, as an example. Let
Here , , denotes the transition process, and , , denotes the delay time. When are in the same order, , , reflects the main dynamic characteristic. We can get the fast model in t-time scale
and the slow model in t-time scale
Then we can design a decentralized controller based on characteristics of the fast model and the slow model .
3. Two-Time Scale Decentralized MPC
MPC is the only advanced control methodology which has made a significant impact on industrial control engineering . And MPC is based on a predicted model. The MPC algorithm can be regarded as a combination of three parts: model prediction, roll optimization, and feedback rectification .
For the two-in-two-out system mentioned above with two-time scale characteristic, we designed a decentralized controller based on different time scales. We took the model without delay to illustrate the algorithm. The fast model provided abundant fast dynamic information to ensure the control quality. And the control interval was determined by the fast model. The slow model provided prediction horizon long enough to ensure the controller’s stability. In order to illustrate the algorithm, we defined that is the prediction horizon, is the sampling interval based on the slow model, is the prediction horizon, is the sampling interval based on fast model, and is the manipulate horizon. is the step response of from at sample interval. We got the model vector , , , and is a number large enough to fully reflect the fast and the slow part of the model. The two-time scale decentralized DMC algorithm was shown as follows.
Step 1. Model prediction based on slow model .
On the t-time scale, the fast dynamic achieved a steady state. The model can be fully expressed by information not so necessary as . Let , , be the slow model vector, where , . The slow predict model is where, is the predict value of future output and is the prime predict value of future output:
Step 2. Feedback Correction based on slow model
Let error vector be and we can get where Like in Step 4, at time point, the time origin changes from to time point, then the elements of vector should be moved, and the operation can be expressed by where
Step 3. Model prediction based on fast model .
On the -time scale, the slow dynamic can be regarded as 0 which means that the slow dynamic changes very little. The model also can be fully expressed by information not so necessary as . Let , . The fast predict model is where
Step 4. Feedback Correction based on fast model
The input was applied to the plant at each time point, and (22) gave the predictive output . Let error vector be where is the sample value. We used this error vector to modify the infection by some unsure factors, and we gave the error a weight vector to modify the prediction of output: where . At time point, the time origin changes from to time point, then the elements of vector should be moved, and the operation can be expressed by where
Step 5. Rolling horizon optimization based on fast model
Let objective function be where , , are the reference value: Without constraint, we can get the manipulated variables: where Step 3 to step 5 form the inner circulate, and in every time interval fast controller calculates a manipulate variable. Step 1 and Step 2 form the exterior circulate, and the slow controller provides the predictive value of the slow output to correct the fast controller every (n is a positive integer) time interval. So the framework of the control system was showed as shown in Figure 1.
4. Stability of the Two-Time Scale Decentralized MPC
We introduced the algorithm step by step in the above sections. And we would like to discuss the stability of the controller in this section. First we put forward a sufficient condition of the controller with one inner circulate.
Theorem 1. A two-time scale decentralized MPC with the control parameters , , and and one inner circulate is stable under the sufficient condition of a standard MPC, which has a control interval and a predictive horizon .
Proof. Let the prediction horizon , be the manipulate horizon, let be the objective function of the standard MPC be
Because the response speed of is very fast, the predictive value can be a fixed number when is larger than a certain number ():
The response speed of is very slow, so between a short time interval () the predictive values , ( is a positive number), can be linear correlation:
Combining (38), (40), (42), and (44), we got
So and had same answers, and the sufficient condition was proved.
When the inner circulate is large than one, that is, , the algorithm can maintain its stability if the slow dynamic changes little in the time interval of the inner circulate. But it is hard to find an upper limit for , because it is determined by the characteristic of the slow dynamic which can be quite different in different systems.
5. Case Study
A Model with Delay
We considered a two-in-two-out system. Two streams flow into a reactor, and and are the flow rates. The liquid level and the temperature are two controlled variables. and K are the initial stable states. The linear model of the system is where
The response of output is much faster than that of . If a standard DMC controller is applied on this system, the sample interval is determined by the fast response and should be very small, and the predictive horizon is determined by the slow response and should be very large. In such a small interval, it is difficult to calculate the optimal manipulate variables, and the control quality may be bad. If we compromise the sample time interval of different channels, we can get the following control effect to track step signals. Liquid level is set as 51 cm, and temperature is set as 296 K. Considering the uncertainty of the model, we chose the plant that each parameter above has 20% uncertainty to carry through the simulation. The plant is
where is a random number. (1), .(2), When the control interval is short, as seen from Figures 2 and 3, the maximum overshot of fast channel is too big and the response speed of slow channel is too slow. The reason is that the predictive horizon is not long enough, the prediction model is not fully used, and the feedback correction plays an important role in this set point tracking process. When the control interval is long, as seen from Figures 4 and 5, the slow channel shows good control quality, but the respond speed of fast channel is still a little slow. A long control interval means a low control frequency and the fast channel achieves its set point by several control steps, so the fast channel response is a little slow. And the fast channel can achieve a temporary stable state, so the response curve may have a stair shape. The compromise methods are not so perfect. Therefore, we designed a decentralized DMC controller, and let , , , , and . We used this decentralized controller to track step signals. As shown in Figures 6 and 7, both fast channel and slow channel showed very good control quality. This method combined fast dynamic information and stable state information. The model information was fully used. From the simulation, we found that the decentralized method showed better control quality than the two compromised method.
A Continuously Stirred Tank Reactor (CSTR) Model
Chen studied the nonlinearity of a CSTR and modeled the CSTR by the following nonlinear equations :
We chose and as the manipulate variables, and and as the controlled variables. Parameter values were given in Table 2.
We chose a steady state and identified the input-output model to design a model predictive controller.
The input-output model is
The respond speed of is a little faster than that of . And the sample frequency of the two kinds of sensors cannot be same due to the limits of the sensors. The temperature sensor can only be sampled in high frequency, while the concentration sensor can only be sampled in low frequency. In order to maintain high control frequency, soft-sensing methods are often used in standard MPC. Due to computational errors and other errors, the soft-sensing method is not a perfect way. The decentralized method presented in this paper can also deal with different sample frequencies in different channels. We compared 0.1 step tracing effect of the standard MPC and that of the decentralized method. Let the sample interval of the temperature sensor be 0.1 minute, and let the sample interval of the concentration sensor be 1 minute.
(1)Perfect soft-sensing, minute, (2)Without soft-sensing minute, .(3)Decentralized MPC , ,
For the systems with little dynamic differences in different channels, if the controlled variables can provide sufficient reliable information in high frequency, the standard MPC can be applied and good control quality can be achieved (Figures 8 and 9). If the controlled variables can only provide reliable information in low frequency, the tracking speed turns slow (Figures 10 and 11). Although the dynamic characteristics of the two channels have a few differences, the decentralized MPC can also achieve good control quality (Figures 12 and 13) because the decentralized method takes full advantage of the reliable information of different channels.
In this article, we focused on a kind of special system and designed a decentralized model predictive controller for it. This kind of system has different dynamics in different channels and exhibits two-time scale. A centralized MPC controller cannot satisfy the fast and the slow channels simultaneously. We used singular perturbation method to get the fast and the slow model from the original system. In actual processes, input-output models that can be obtained easily by identification were usually used to describe the real system. We demonstrated the singular perturbation method applying in transfer function matrix. Then we presented a decentralized model predictive controller based on the fast and the slow model and provided a sufficient condition for the algorithm stability when . Finally, the decentralized model predictive control algorithm was applied in two examples by simulation, and the validity of the control algorithm was tested. The simulation results proved that the two-time scale MPC is superior to the traditional MPC when the system had two-time scale characteristic.
The algorithm is based on the idea of fully using the information of the system. For the systems with two-time scale characteristics, the fast and slow channels are controlled, respectively, in the decentralized algorithm. This algorithm makes best use of the transition information of the fast channels and the slow channels and reduces the computation burden, which provides short control interval and increases the response speed. For those systems without two-time scale characteristics, this algorithm also works well. MPC has intensively been applied in the industrial process. The two-time scale MPC algorithm which is presented in this paper extends the applying scopes of MPC.
The authors gratefully acknowledge the financial support of 863 Program of China (no. 2007AA041402), National Key Scientific and Technical Project of China (no. 2007BAF22B05) and National Science Foundation of China (no. 60804023).
A. Saberi and H. K. Khalil, “Two time-scale feedback design of nonlinear singularly perturbed system,” in Proceedings of the American Control Conference (ACC '83), pp. 441–442, San Francisco, Calif, USA, June 1983.View at: Google Scholar
M.-N. Contou-Carrere and P. Daoutidis, “Dynamic precompensation and output feedback control of integrated process networks,” in Proceedings of the American Control Conference (ACC '04), vol. 4, pp. 2909–2914, Boston, Mass, USA, June-July 2004.View at: Google Scholar
J. M. Maciejowski, Predictive Control with Constraints, Prentice Hall, London, UK, 2002.
K. L. Buescher and C. C. Baum, “A two-time-scale approach to nonlinear model predictive control,” in Proceedings of the American Control Conference (ACC '95), vol. 3, pp. 2250–2256, Seattle, Wash, USA, June 1995.View at: Google Scholar
S. F. Wang and J. H. Du, Illustrative Examples and Problems of Automatic Control Theory, Tsinghua University Press, Beijing, China, 2002.
Y. G. Xi, Introduction on Dynamic Large-Scale Systems, National Defense Industry Press, Beijing, China, 1988.
Y. G. Xi, Predictive Control, National Defense Industry Press, Beijing, China, 1993.
H. Chen, A. Kremling, and F. Allgower, “Nonlinear predictive control of a benchmark CSTR,” in Proceedings of the 3rd European Control Conference (ECC '95), pp. 3247–3252, Rome, Italy, 1995.View at: Google Scholar