Open Access
This article is

- freely available
- re-usable

*Information*
**2019**,
*10*(1),
5;
https://doi.org/10.3390/info10010005

Article

Linear Offset-Free Model Predictive Control in the Dynamic PLS Framework

^{1}

School of Information and Control Engineering, Liaoning Shihua University, Fushun 113001, China

^{2}

Dushanzi Oil and Gas Transportation Branch Company, Petrochina West Pipeline Company, Karamay 833699, China

^{*}

Author to whom correspondence should be addressed.

Received: 8 November 2018 / Accepted: 17 December 2018 / Published: 24 December 2018

## Abstract

**:**

This work addresses the model predictive control (MPC) of the offset-free tracking problem in the dynamic partial least square (DyPLS) framework. Firstly, state space MPC based on the DyPLS is proposed. Then, two methods are proposed to solve the offset-free problem. One is to reform the state space model as a velocity form. Another is to augment the state space model with a disturbance model and estimate the mismatch between system output and model output with an estimator. Both methods use the system output as a feedback in the control scheme. Hence, the offset-free tracking is guaranteed, and unmeasured step disturbance can be rejected. The results of two simulations demonstrate the effectiveness of proposed methods.

Keywords:

partial least square; model predictive control; state space model; offset-free control## 1. Introduction

The main concept of MPC is to use a model of the system to predict the future system output. MPC achieves its popularity in the process industry due to its ability to deal with multivariable systems and systems with hard and soft constraints. Early MPCs such as IDCOM and DMC are based on step or impulse models [1]. More general input-output models such as ARX, ARMAX and CARIMA models are used in generalized predictive control, as illustrated by Clarke et al. [2]. Muske and Rawlings [3] proposed an MPC implementation based on state space model. The state space approach provides a unified framework for discussion of the various predictive control algorithms and is well suited for stability analysis [4]. In addition, the input-output models can be realized as state space models [5]. Therefore, MPC based on state space models is useful as an implementation paradigm.

Although many cases have proved that MPC has many advantages, there is still a weakness that is necessary to discuss: when unmeasurable disturbances and plant-model mismatches exist, offset tracking performance cannot be achieved. A variety of successful algorithms have been proposed to solve this problem. Xue Wang et al. [6] improved the dynamic matrix control algorithm by applying disturbance model in the states of control system, and a Kalman filter was used to estimate unmeasurable disturbance, guaranteeing that the system realized offset-free control in the presence of unmeasurable disturbance. M. Askari et al. [7] developed a less computational method to achieve an offset-free MPC control system. In their method, an observer which is designed to estimate the disturbances and states is employed to eliminate the steady state error. As a result, the robustness of the closed loop system against step-like disturbances and noisy measurement is tremendously improved. Joel A. Paulson et al. [8] considered the linear system with two sources of additive bounded uncertainties on the states. One is for unknown, deterministic structural/parametric plant-model mismatch, the other is stochastic exogenous system disturbances. The proposed method used estimates of the deterministic model uncertainties to modify the nominal state and input targets. It allowed for achieving offset-free tracking of the mean of the controlled variables. Betti, G. et al. [9] described the system state model in the so-called velocity form, where the state is composed by the state increments and the output error, while the manipulated variable is the control increment. The velocity form does not require the use of a state estimator and does not require the steady state target for the plant state and control variables to be computed.

Nowadays, the process of production is becoming larger and more complex, which means that the dimensions of the system are getting bigger. It is worth noting that one can obtain a large amount of operating data of these systems with the development of computation and storage techniques. Many of these data contain useful information about the system, and they are highly correlated. This promotes the development of a data-driven modeling method. Partial least square (PLS) has proved to be rewarding in the data-driven modeling field, and has been applied to many areas, such as quality prediction, process monitoring and chemometrics [10]. To handle the dynamic modeling problem, a variety of methods combining dynamic models with PLS have been proposed in recent decades. Yining Dong and S. Joe Qin [11] proposed a dynamic inner PLS model, in which an explicit dynamic inner model was given, and the inner model and outer model were made consistent at the same time. A method combining the autoregressive exogenous structure and PLS was proposed by Kaspar and Ray [12]. Qinghua Chi et al. [13] extended this method and discussed the relevant identification method in the inner PLS. Junghui Chen et al. [14] proposed another dynamic PLS framework with ARX model. In addition to these modeling method, many attempts have been made to put forward new control strategies that compromise the merits of PLS. Junghui Chen et al. [13] proposed a novel decoupling PID strategy with PLS. LÜ and Liang [15] proposed a multi-loop constrained MPC scheme. Jianhua Zhang [16,17] proposed robust control based on PLS. Tianyi Gao et al. [18] proposed a new intelligent MPC strategy in modified PLS framework, where iterative regression in model building and the large number of important undetermined parameters are avoided. Jin et al. [19] proposed an offset-free MPC in PLS framework which involves integral action in the controller and guaranteed offset-free tracking performance.

Tatjewski [20] summarized three main methods for offset-free MPC, one is with a state-space model and a measured state, another is with state observation and estimation, the third is with extended velocity form state-space model. The precondition of the first method is that state is measured. It is not suitable for DyPLS. While, the second and third method is suitable for dynamic method. In this paper, we will attempt to extend the state space MPC scheme to a DyPLS model. To get offset-free tracking performance, two methods are proposed. One is to reform the state space model as a velocity form. The other is to introduce an observer model in the control scheme. Both methods include output feedback in the control scheme. The rest of paper is organized as follows: State space MPC based on DyPLS and reasons for steady-state errors are described in Section 2. In Section 3, two offset-free state space MPCs based on Section 2 are proposed. In Section 4, two simulations are given to demonstrate the merit of the proposed method. In addition, conclusions are drawn in Section 5.

## 2. DyPLS Framework and Control Scheme

#### 2.1. DyPLS Modeling

PLS was first proposed by Herman Wold’s original non-linear iterative partial least square (NIPALS) algorithm [21]. The principle of PLS comprises two related models, outer model and inner model. Consider there are l scaled samples of input dataset
where, $\mathit{T}=[{\mathit{t}}_{1},{\mathit{t}}_{2},\cdots ,{\mathit{t}}_{R}]$ and $\mathit{U}=[{\mathit{u}}_{1},{\mathit{u}}_{2},\cdots ,{u}_{R}]$ are the score matrices of
where ${b}_{r}=\frac{{\mathit{u}}_{r}^{T}{\mathit{t}}_{r}}{{\mathit{t}}_{r}^{T}{\mathit{t}}_{r}}$; $\mathit{B}={({\mathit{T}}^{T}\mathit{T})}^{-1}{\mathit{T}}^{T}\mathit{U}$;. Combing Equation (1) with Equation (2), the PLS regression model can be written as

**X**with m dimensions and output dataset**Y**with n dimensions. The correlation model of**X**and**Y**are obtained by the outer model, shown in Equation (1).
$$\begin{array}{l}\mathit{X}=\sum _{r=1}^{R}{\mathit{t}}_{r}{\mathit{p}}_{r}^{T}+{\mathit{E}}^{\ast}=\mathit{T}{\mathit{P}}^{T}+{\mathit{E}}^{\ast}\\ \mathit{Y}=\sum _{r=1}^{R}{\mathit{u}}_{r}{\mathit{q}}_{r}^{T}+{\mathit{F}}^{\ast}=\mathit{U}{\mathit{Q}}^{T}+{\mathit{F}}^{\ast}\end{array}$$

**X**and**Y**, respectively. $\mathit{P}={[{\mathit{p}}_{1},{\mathit{p}}_{2},\cdots ,{\mathit{p}}_{R}]}^{T}$ and $\mathit{Q}={[{\mathit{q}}_{1},{\mathit{q}}_{2},\cdots ,{\mathit{q}}_{R}]}^{T}$ are the loading matrices of**X**and**Y**, respectively. ${\mathit{E}}^{\ast}$ and ${\mathit{F}}^{\ast}$ are residual matrices of**X**and**Y**, respectively. R is the number of latent variables. By the outer model, m-dimension dataset**X**and n-dimension**Y**are mapped onto a lower R-dimension space. Shown in Equation (2) is the inner model of PLS. This constructs the relationship between score matrices**T**and**U**. The diagonal coefficient matrix**B**can be calculated by the least squares method. According to the principle of this model, the multivariate regression problem is decomposed into R single-variable regression problems. In addition, $m\ne n$ is met in most cases; this method can also deal with non-square regression problems.
$$\begin{array}{l}{\mathit{u}}_{r}={\mathit{b}}_{r}{\mathit{t}}_{r}\\ \mathit{U}=\mathit{T}\mathit{B}\end{array}$$

$$\mathit{Y}=\mathit{T}\mathit{B}{\mathit{Q}}^{T}+{\mathit{F}}^{\ast}=\sum _{r=1}^{R}{b}_{r}{\mathit{t}}_{r}{\mathit{q}}_{r}^{T}+{\mathit{F}}^{\ast}$$

A more detailed PLS algorithm has been presented elsewhere [22]. The conventional PLS is suitable for pure algebraic structures. It is not able to cope with dynamic characteristics in a process system. Researchers have proposed many different DyPLS models by incorporating structures like time-series terms or dynamic filters into the PLS structure [12,23]. In this paper, an ARX model is applied to the inner model of PLS [24] to represent the dynamic character of the process. This can be expressed as follows:
where, ${A}_{r}({q}^{-1})=-{a}_{r,1}-{a}_{r,2}{q}^{-1}-{a}_{r,{n}_{a}}{q}^{-{n}_{a}+1}$, ${B}_{r}({q}^{-1})={b}_{r,1}{q}^{-1}+{b}_{r,2}{q}^{-2}\cdots +{b}_{r,{n}_{b}}{q}^{-{n}_{b}}$, ${q}^{-1}$ is the backward shift operator. n
where $\mathit{U}(k)=\mathrm{diag}({u}_{1}(k),{u}_{2}(k),\cdots ,{u}_{R}(k))$.

$$\begin{array}{c}{u}_{r}(k)={A}_{r}({q}^{-1}){u}_{r}(k-1)+{B}_{r}({q}^{-1}){t}_{r}(k)+{\xi}_{r}(k)\\ =[{u}_{r}(k-1),\cdots ,{u}_{r}(k-{n}_{a}),{t}_{r}(k-1),\cdots ,{t}_{r}(k-{n}_{b})]{[{a}_{r,1},\cdots ,{a}_{r,{n}_{a}},{b}_{r,1},\cdots ,{b}_{r,{n}_{b}}]}^{T}+{\xi}_{r}(k)\\ ={\mathit{\phi}}_{r}(k){\mathit{\theta}}_{r}^{T}+{\xi}_{r}(k){H}_{r}({\mathit{\phi}}_{r})\end{array}$$

_{a}and n_{b}are the number of lags; ${\xi}_{r}(k)$ is the model error; ${\mathit{\theta}}_{r}^{T}={[{a}_{r,1},\cdots ,{a}_{r,{n}_{a}},{b}_{r,1},\cdots ,{b}_{r,{n}_{b}}]}^{T}$ is the parameter vector to be estimated; ${\mathit{\phi}}_{r}(k)$ is the regressor vector. By prefiltering by the scores ${\mathit{t}}_{r}$ and ${\mathit{u}}_{r}$, ARMAX or CARIMA models can be reformed into an ARX form, which would improve the quality of Equation (4) and the closed loop performance based on it [25,26]. Bringing Equation (4) into Equation (3), the DyPLS model can be written as
$$\mathit{Y}(k)=\sum _{r=1}^{R}{u}_{r}(k){\mathit{q}}_{r}^{T}+{\mathit{F}}^{\ast}(k)=\mathit{U}(k){\mathit{Q}}^{T}+{\mathit{F}}^{\ast}(k)$$

#### 2.2. Controller Design in the DyPLS Framework

The controller design in latent variable space proposed by Kaspar and Ray [12] is shown in Figure 1. Unlike conventional control methods, the controllers ${\mathit{G}}_{c}$ for the controlled system ${\mathit{G}}_{p}$ are designed under latent variable space, based on inner dynamic models (Equation (4)). In this framework, setpoint

**Y**set and system output**Y**are scaled by scaling matrix ${\mathit{W}}_{y}^{-1}$ and mapped into latent variable space by inverse loading matrix**Q**. The control law**T**is back mapped into original space by loading matrix P and anti-scaled by matrix ${\mathit{W}}_{x}$; It is the same as the input of actual system.**D**is the disturbance sequence, which also needs to be mapped into latent variable space. According to Equation (4), ${\mathit{G}}_{c}$ is R single-input single-output (SISO) controllers. It inherits the features of PLS, and decouples multiple-input multiple-output (MIMO) systems into a series of SISO subsystems.## 3. Offset-Free Model Predictive Control in the DyPLS Framework

#### 3.1. State Space-Based MPC in the DyPLS Framework

In some articles, PLS is called a latent subspace project method [27]. This is different from a subspace identification method (SIM). In a MIMO system, SIM is the method that identifies the state space model in original space; subsequently, many control algorithms can be applied to it. It does not map original space into latent variable space or decompose the MIMO system into multiple SISO subsystems. Hence, state space-based MPCs in the DyPLS are not suitable for SIM.

To simplify the description, it is assumed that the model error ${\xi}_{r}(k)$ in Equation (4) is zero, and n
where, the matrices (

_{a}is equal to n_{b}. The ARX model in the r-th latent variable space (Equation (4)) may be realized as a state space model in an innovation form [5]
$$\begin{array}{l}{\mathit{x}}_{r}(k+1)={\mathit{A}}_{r}{\mathit{x}}_{r}(k)+{\mathit{B}}_{r}{t}_{r}(k)\\ {u}_{r}(k)={\mathit{C}}_{r}{\mathit{x}}_{r}(k)\end{array}$$

**A**_{r},**B**_{r},**C**_{r}) having a canonical observer form,
$${\mathit{A}}_{r}=\left[\begin{array}{ccccc}-{a}_{r,1}& 1& 0& \cdots & 0\\ -{a}_{r,2}& 0& 1& \cdots & 0\\ \vdots & \vdots & \vdots & \ddots & \vdots \\ -{a}_{r,{n}_{a}-1}& 0& 0& \cdots & 1\\ -{a}_{r,{n}_{a}}& 0& 0& \cdots & 0\end{array}\right],\text{}{\mathit{B}}_{r}=\left[\begin{array}{c}{b}_{r,1}\\ \vdots \\ {b}_{r,{n}_{a}}\end{array}\right],\text{}{\mathit{C}}_{r}={\left[\begin{array}{c}1\\ 0\\ \vdots \\ 0\end{array}\right]}^{T}.$$

Let N
where ${\widehat{\mathit{u}}}_{r}(k)=\left[\begin{array}{c}{\widehat{u}}_{r}(k+1|k)\\ \vdots \\ {\widehat{u}}_{r}(k+{N}_{c,r}|k)\\ {\widehat{u}}_{r}(k+{N}_{c,r}+1|k)\\ \vdots \\ {\widehat{u}}_{r}(k+{N}_{p,r}|k)\end{array}\right]$, ${\mathit{\Psi}}_{r}=\left[\begin{array}{c}{\mathit{C}}_{r}{\mathit{A}}_{r}\\ \vdots \\ {\mathit{C}}_{r}{\mathit{A}}_{r}^{{N}_{c,r}}\\ {\mathit{C}}_{r}{\mathit{A}}_{r}^{{N}_{c,r}+1}\\ \vdots \\ {\mathit{C}}_{r}{\mathit{A}}_{r}^{{N}_{p,r}}\end{array}\right]$, ${\mathit{\Upsilon}}_{r}=\left[\begin{array}{c}{\mathit{C}}_{r}{\mathit{B}}_{r}\\ \vdots \\ {\displaystyle \sum _{i=0}^{{N}_{c,r}-1}{\mathit{C}}_{r}{\mathit{A}}_{r}^{i}{\mathit{B}}_{r}}\\ {\displaystyle \sum _{i=0}^{{N}_{c,r}}{\mathit{C}}_{r}{\mathit{A}}_{r}^{i}{\mathit{B}}_{r}}\\ \vdots \\ {\displaystyle \sum _{i=0}^{{N}_{p,r}}{\mathit{C}}_{r}{\mathit{A}}_{r}^{i}\mathit{B}}\end{array}\right]$, ${\mathit{\Theta}}_{r}=\left[\begin{array}{ccc}{\mathit{C}}_{r}{\mathit{B}}_{r}& \cdots & 0\\ {\mathit{C}}_{r}{\mathit{A}}_{r}^{}{\mathit{B}}_{r}+{\mathit{C}}_{r}{\mathit{B}}_{r}& \cdots & 0\\ \cdots & \cdots & \cdots \\ {\displaystyle \sum _{i=0}^{{N}_{c,r}-1}{\mathit{C}}_{r}{\mathit{A}}_{r}^{i}{\mathit{B}}_{r}}& \cdots & {\mathit{C}}_{r}{\mathit{B}}_{r}\\ {\displaystyle \sum _{i=0}^{{N}_{c,r}}{\mathit{C}}_{r}{\mathit{A}}_{r}^{i}{\mathit{B}}_{r}}& \cdots & {\mathit{C}}_{r}{\mathit{A}}_{r}^{}{\mathit{B}}_{r}+{\mathit{C}}_{r}{\mathit{B}}_{r}\\ \cdots & \cdots & \cdots \\ {\displaystyle \sum _{i=0}^{{N}_{p,r}-1}{\mathit{C}}_{r}{\mathit{A}}_{r}^{i}{\mathit{B}}_{r}}& \cdots & {\displaystyle \sum _{i=0}^{{N}_{p,r}-{N}_{c,r}}{\mathit{C}}_{r}{\mathit{A}}_{r}^{i}{\mathit{B}}_{r}}\end{array}\right]$, $\Delta {\widehat{\mathit{t}}}_{r}(k)=\left[\begin{array}{c}\Delta {\widehat{t}}_{r}(k|k)\\ \vdots \\ \Delta {\widehat{t}}_{r}(k+{N}_{p,r}-1|k)\end{array}\right]$, $\Delta =1-{z}^{-1}$.

_{p,r}and N_{c,r}denote prediction horizon and control horizon, respectively. The N_{p,r}step ahead prediction of the output is
$${\widehat{\mathit{u}}}_{r}(k)={\mathit{\Psi}}_{r}{\mathit{x}}_{r}(k)+{\mathit{\Upsilon}}_{r}{t}_{r}(k-1)+{\mathit{\Theta}}_{r}\Delta {\widehat{\mathit{t}}}_{r}(k)$$

A typical cost function of the 2-norm form used here is
where, ${u}_{set,r}$ is the setpoint in the latent space which is transformed from the setpoint in original space; ${\delta}_{r}(j)$ and ${\lambda}_{r}(j)$ are weighting sequences. Bring Equation (8) into Equation (7), and solving the minimization problem J
where ${\mathit{\delta}}_{r}=diag({\delta}_{r}(1),\cdots ,{\delta}_{r}({N}_{p,r}))$, ${\mathit{\lambda}}_{r}=\mathrm{diag}({\mathsf{\lambda}}_{r}(0),\cdots ,{\mathsf{\lambda}}_{r}({N}_{c,r}-1))$, ${\mathit{u}}_{set,r}(k)={[{u}_{set,r}(k+1),\cdots ,{u}_{set,r}(k+{N}_{p,r})]}^{T}$.

$${J}_{r}={\displaystyle \sum _{j=1}^{{N}_{p,r}}{\delta}_{r}\left(j\right){\Vert {u}_{set,r}(k+j)-{\widehat{u}}_{r}(k+j|k)\Vert}_{2}^{2}}+{\displaystyle \sum _{j=0}^{{N}_{c,r}-1}{\mathsf{\lambda}}_{r}\left(j\right){\Vert \Delta {\widehat{t}}_{r}(k+j|k)\Vert}_{2}^{2}}$$

_{r}, the following optimal set of future increment score matrices $\Delta {\mathit{t}}_{r}$ is obtained as
$$\Delta {\widehat{\mathit{t}}}_{r}(\mathit{k})={({\mathit{\Theta}}_{r}^{T}{\mathit{\delta}}_{r}{\mathit{\Theta}}_{r}+{\mathit{\lambda}}_{r})}^{-1}{\mathit{\Theta}}_{r}^{T}{\mathit{\delta}}_{r}\left[{\mathit{u}}_{set,r}(k)-{\mathit{\Psi}}_{r}{\mathit{x}}_{r}(k)-{\mathit{\Upsilon}}_{r}{t}_{r}(k-1)\right]$$

Only the first part of the solution $\Delta {\widehat{\mathit{t}}}_{r}$ is back-mapped to the original space and implemented with respect to the process. One can guarantee closed-loop stability by choosing a sufficiently long prediction and control horizon. As usual, the input of plant model G
and then to back map to original space with Equation (1). The other way is back map the score move $\Delta {\widehat{t}}_{r}(k|k)$ into original space with
and then to integrate the input data as

_{p}in Figure 1 is in the terms of input data matrix**X**(in Equation (1)). There are two ways of mapping score moving $\Delta {\widehat{\mathit{t}}}_{r}$ to the original space in order to get the manipulated variable**X**. One way is to integrate score ${t}_{r}$ with
$${t}_{r}(k)={t}_{r}(k-1)+\Delta {\widehat{t}}_{r}(k|k)$$

$$\Delta \mathit{X}(k)={\displaystyle \sum _{r=1}^{R}\Delta {\widehat{t}}_{r}(k|k){\mathit{p}}_{r}^{T}}$$

$$\mathit{X}(k)=\mathit{X}(k-1)+\Delta \mathit{X}(k)$$

From Equation (7), one can conclude that these decomposed SISO control problems are independent from each other, and latent variables are selected in pairs automatically. Hence, the state space MPC in DyPLS not only avoids decoupling the MIMO system, but also avoids pairing the control loop. All latent variables in cost function Equation (8) are solved separately. In addition, the computational complexity of this method is less than the MIMO control problem.

The structure of the control scheme is illustrated in Figure 2. The feedback of the control is the model state

**x**_{r}. When the state space model in the DyPLS framework matches the plant model accurately,**x**_{r}can explain the system output**Y**well. Due to the decoupling scheme of PLS, the mismatch error ${\mathit{F}}^{\ast}(k)$ (in Equation (6)) is unavoidably present. This leads to poor control performance or steady state error. In the next two sections, two methods are proposed to solve this problem.#### 3.2. Offset-free MPC Method A

Since the cost function Equation (8) includes the score move $\Delta {t}_{r}$, rather than the score, ${t}_{r}$, itself, it is advantageous to reformulate the state model Equation (6), which has $\Delta {t}_{r}$ as the model input. From Equation (6), the movement of the state model at time k can be formulated as

$$\begin{array}{l}\Delta {\mathit{x}}_{r}(k+1)={\mathit{A}}_{r}\Delta {\mathit{x}}_{r}(k)+{\mathit{B}}_{r}\Delta {t}_{r}(k)\\ \Delta {u}_{r}(k)={\mathit{C}}_{r}\Delta {\mathit{x}}_{r}(k)\end{array}$$

Then Equation (13) can be reformulated in an augmented form as

$$\begin{array}{l}\left[\begin{array}{c}\Delta {\mathit{x}}_{r}(k+1)\\ {u}_{r}(k+1)\end{array}\right]=\left[\begin{array}{cc}{\mathit{A}}_{r}& 0\\ {\mathit{C}}_{r}{\mathit{A}}_{r}& 1\end{array}\right]\left[\begin{array}{c}\Delta {\mathit{x}}_{r}(k)\\ {u}_{r}(k)\end{array}\right]+\left[\begin{array}{c}{\mathit{B}}_{r}\\ {\mathit{C}}_{r}{\mathit{B}}_{r}\end{array}\right]\Delta {t}_{r}(k)\\ {u}_{r}(k)=\left[\begin{array}{cc}\mathbf{0}& 1\end{array}\right]\left[\begin{array}{c}\Delta {\mathit{x}}_{r}(k)\\ {u}_{r}(k)\end{array}\right]\end{array}$$

Equation (14) can be rewritten in a reduced form as
where ${{\mathit{Z}}_{r}}^{\prime}(k)=\left[\begin{array}{c}\Delta {\mathit{x}}_{r}(k)\\ {u}_{r}(k)\end{array}\right]$, ${\mathit{A}}_{r}^{\prime}=\left[\begin{array}{cc}{\mathit{A}}_{r}^{\prime}& 0\\ {\mathit{C}}_{r}{\mathit{A}}_{r}^{\prime}& 1\end{array}\right]$, ${\mathit{B}}_{r}^{\prime}=\left[\begin{array}{c}{\mathit{B}}_{r}^{\prime}\\ {\mathit{C}}_{r}{\mathit{B}}_{r}^{\prime}\end{array}\right]$, ${\mathit{C}}_{r}^{\prime}=\left[\begin{array}{cc}0& 1\end{array}\right]$.

$$\begin{array}{l}{{\mathit{Z}}_{r}}^{\prime}(k+1)={\mathit{A}}_{r}^{\prime}{\mathit{Z}}^{\prime}(k)+{\mathit{B}}_{r}^{\prime}\Delta {t}_{r}(k)\\ {u}_{r}(k)={\mathit{C}}_{r}^{\prime}{{\mathit{Z}}_{r}}^{\prime}(k)\end{array}$$

The N

_{p,r}step ahead prediction of the output for j = 1, …, N_{p,r}is
$${\widehat{\mathit{u}}}_{r}(k)={\mathit{\Phi}}_{r}{\mathit{Z}}^{\prime}(k)+{\mathit{\Gamma}}_{r}\Delta {\widehat{\mathit{t}}}_{r}(k)={\mathit{\Phi}}_{r}{\mathit{x}}_{r}(k)+{u}_{r}(k)+{\mathit{\Gamma}}_{r}\Delta {\widehat{\mathit{t}}}_{r}(k)$$

$$\mathrm{where},\text{}{\mathit{\Phi}}_{r}=\left[\begin{array}{c}{\mathit{C}}_{r}^{\prime}{\mathit{A}}_{r}^{\prime}\\ {\mathit{C}}_{r}^{\prime}{{\mathit{A}}_{r}^{\prime}}^{2}\\ \cdots \\ {\mathit{C}}_{r}^{\prime}{{\mathit{A}}_{r}^{\prime}}^{{N}_{c,r}}\\ {\mathit{C}}_{r}^{\prime}{{\mathit{A}}_{r}^{\prime}}^{{N}_{c,r}+1}\\ \cdots \\ {\mathit{C}}_{r}^{\prime}{{\mathit{A}}_{r}^{\prime}}^{{N}_{p,r}}\end{array}\right],{\mathit{\Phi}}_{r}^{\prime}=\left[\begin{array}{c}{\mathit{C}}_{r}{\mathit{A}}_{r}\\ {\mathit{C}}_{r}{\mathit{A}}_{r}^{2}+{\mathit{C}}_{r}{\mathit{A}}_{r}\\ \cdots \\ {\displaystyle \sum _{j=1}^{{N}_{c,r}}{\mathit{C}}_{r}{\mathit{A}}_{r}^{j}}\\ {\displaystyle \sum _{j=1}^{{N}_{c,r}+1}{\mathit{C}}_{r}{\mathit{A}}_{r}^{j}}\\ \cdots \\ {\displaystyle \sum _{j=1}^{{N}_{p,r}}{\mathit{C}}_{r}{\mathit{A}}_{r}^{j}}\end{array}\right],$$

$${\mathit{\Gamma}}_{r}=\left[\begin{array}{ccccccc}{\mathit{C}}_{r}^{\prime}{\mathit{B}}_{r}^{\prime}& 0& & & & & \\ {\mathit{C}}_{r}^{\prime}{\mathit{A}}_{r}^{\prime}{\mathit{B}}_{r}^{\prime}& {\mathit{C}}_{r}^{\prime}{\mathit{B}}_{r}^{\prime}& \ddots & & & & \\ \cdots & & \ddots & 0& & & \\ {\mathit{C}}_{r}^{\prime}{\mathit{A}}_{r}^{\prime}{}^{{N}_{c,r}-1}{\mathit{B}}_{r}^{\prime}& & & {\mathit{C}}_{r}^{\prime}{\mathit{B}}_{r}^{\prime}& 0& & \\ {\mathit{C}}_{r}^{\prime}{\mathit{A}}_{r}^{\prime}{}^{{N}_{c,r}}{\mathit{B}}_{r}^{\prime}& & & {\mathit{C}}_{r}^{\prime}({\mathit{A}}_{r}^{\prime}+\mathit{I}){\mathit{B}}_{r}^{\prime}& 0& & \\ \cdots & \cdots & \cdots & \cdots & & \ddots & \\ {\mathit{C}}_{r}^{\prime}{\mathit{A}}_{r}^{\prime}{}^{{N}_{p,r}-1}{\mathit{B}}_{r}^{\prime}& \cdots & \cdots & {\mathit{C}}_{r}^{\prime}{\displaystyle \sum _{j=0}^{{N}_{p,r}-{N}_{c,r}}{\mathit{A}}_{r}^{\prime}{}^{j}}{\mathit{B}}_{r}^{\prime}& & & 0\end{array}\right]$$

By solving the cost function of Equation (8), the following optimal set of future increment score matrices $\Delta {\widehat{\mathit{t}}}_{r}$ is obtained:

$$\Delta {\widehat{\mathit{t}}}_{r}(k)={({\mathit{\Gamma}}_{r}^{T}{\mathit{\delta}}_{r}{\mathit{\Gamma}}_{r}+{\mathit{\lambda}}_{r})}^{-1}{\mathit{\Gamma}}_{r}^{T}{\mathit{\delta}}_{r}(r(k)-{\mathit{\Phi}}_{r}^{\prime}\Delta {\mathit{x}}_{r}(k)-{u}_{r}(k))$$

The control structure is illustrated in Figure 3. When the DyPLS model matches the plant precisely, the system output score ${u}_{Y,r}(k)$ is equal to the predictive output of the state space model in the latent space ${u}_{r}(k)$. As described above, the DyPLS method makes a tradeoff between the complexity and dimensions of the model structure and the accuracy of the model. Chi et al. [28] point out that this tradeoff would lead to a small degradation of control performance. That is to say, ${u}_{r}(k)$ will not precisely map the true value of the system output. Hence, one can replace ${u}_{r}(k)$ with ${u}_{Y,r}(k)$, and the system output mapped in latent variable space could be used as the feedback of the control scheme. Based on the stability and convergence of MPC, the control performance will be improved. In this study, DyPLS model is used to decompose the MIMO system into several SISO subsystems, so that a SISO velocity form state space MPC is available. The stability and convergence analysis of the velocity form state space MPC in a SISO case has been illustrated by Liuping [29] and Betti [30].

#### 3.3. Offset-free MPC Method B

The other method to eliminate the offset is to apply a state observer, which is usually incorporated with a disturbance model. In this section, the state space model is augmented with a disturbance model, which is used to eliminate unmeasured disturbance, and an observer is introduced to guarantee the offset-free tracking performance.

As shown in Figure 1, the disturbances acting on the plant are the output disturbance. At each time instant, the current and future disturbances are usually unknown. It is difficult to measure the disturbance, especially for unmeasured disturbance. In most cases, it is assumed that the disturbance will be unchanged during the prediction horizon. Hence, the inner model Equation (6) is augmented with a disturbance form as

$$\begin{array}{l}{\mathit{x}}_{r}(k+1)={\mathit{A}}_{r}{x}_{r}(k)+{\mathit{B}}_{r}{t}_{r}(k)\\ {u}_{r}(k)={\mathit{C}}_{r}{\mathit{x}}_{r}(k)+{d}_{r}(k)\end{array}$$

With Equation (7), the N

_{p,r}steps ahead prediction of the output is rewritten as
$${\widehat{\mathit{u}}}_{r}(k)={\mathit{\Psi}}_{r}{\mathit{x}}_{r}(k)+{\mathit{\Upsilon}}_{r}{t}_{r}(k-1)+{\mathit{\Theta}}_{r}\Delta {\widehat{\mathit{t}}}_{r}(k)+{\widehat{\mathit{d}}}_{r}(k)$$

$$\mathrm{Where},\text{}{\widehat{\mathit{d}}}_{r}(k)=\left[\begin{array}{c}{\widehat{d}}_{r}(k|k)\\ \vdots \\ {\widehat{d}}_{r}(k+{N}_{p,r}-1|k)\end{array}\right]=\left[\begin{array}{c}{\widehat{d}}_{r}(k|k)\\ \vdots \\ {\widehat{d}}_{r}(k|k)\end{array}\right]{\widehat{d}}_{r}(k|k)={u}_{Y,r}(k)-{\widehat{u}}_{r}(k|k-1).$$

Since Equation (6) cannot measure the full state of the plant, an observer is used to estimate the state vector [31]. The condition for the observability of Equation (18) is given in the following proposition, which is extended from Maeder’s results [32].

**Proposition**

**1.**

The augmented state space model Equation (18) is observable if and only if$({\mathit{A}}_{r},{\mathit{C}}_{r})$is observable and
has full column rank.

$$\left[\begin{array}{cc}{\mathit{A}}_{r}-\mathsf{\lambda}\mathit{I}& \mathbf{0}\\ {\mathit{C}}_{r}& 1\end{array}\right]$$

**Proof.**

From the Hautus observability condition augmented system, (18) is observable if and only if $\left[\begin{array}{ccc}{\mathit{A}}_{r}^{T}-\mathit{I}& 0& {\mathit{C}}_{r}^{T}\\ 0& 1-\mathsf{\lambda}& 1\end{array}\right]$ has full row rank $\forall \mathsf{\lambda}$.

The first set of rows is linearly independent if and only if $({\mathit{A}}_{r},{\mathit{C}}_{r})$ is observable. The second set of rows is linearly independent of the first set of rows, except for possibly $\mathsf{\lambda}=1$. Thus, for the augmented system, the Hautus condition needs to be checked for $\mathsf{\lambda}=1$ only. This means that Equation (20) should be met. □

The state observer designed based on Equation (18) is
where, ${\mathit{L}}_{r}^{\prime}$ is the gain matrix to estimate the correct state ${\mathit{x}}_{r}$. By appropriate design of ${\mathit{L}}_{r}^{\prime}$, the state estimator can facilitate offset-free control.

$${\mathit{x}}_{r}(k+1)={\mathit{A}}_{r}{\mathit{x}}_{r}(k)+{\mathit{B}}_{r}{t}_{r}(k)+{\mathit{L}}_{r}^{\prime}\left({u}_{Y,r}(k)-{\widehat{u}}_{r}(k|k-1)\right)$$

There are many methods to obtain an appropriate gain matrix ${\mathit{L}}_{r}^{\prime}$, such as the state-feedback pole-placement method. Meanwhile, if the state and output equations of the plant are assumed to be subjected to white noise disturbances with known covariance matrices, ${\mathit{L}}_{r}^{\prime}$ can be obtained by Kalman Filters [25]. For application of the Kalman Filter, the underlying requirement is the disturbance covariance, which is used in calculation of the estimator gain. This is estimated from the auto-covariance of the plant data. In the DyPLS model, covariance of plant data is mapped into latent variable space. The characteristic of covariance of it is shown as Proposition 2.

**Proposition**

**2.**

Let ${\sigma}_{r}$ denote the variance vector of the r-th score vector in the latent variable space. ${\sigma}_{r}$ is the sum of r-th vector of ${\mathit{Q}}^{+}$.

**Proof.**

According to Equation (1), the score variable

**U**is obtained by $\mathit{U}=\mathit{Y}{\mathit{Q}}^{+}$ and ${\mathit{u}}_{r}=[{y}_{1},\cdots ,{y}_{n}]\xb7{\mathit{q}}_{r}^{+}$, where, ${\mathit{q}}_{r}^{+}$ is the column vector of ${\mathit{Q}}^{+}$. Based on DyPLS scheme, the output data set are scaled to the unit variance data set. ${\mathit{y}}_{1},\cdots ,{\mathit{y}}_{n}$ all belong to the unit variance data set. Assuming that all the system outputs are independent of each other, based on the property of variance, ${\sigma}_{r}$ is the sum of element of ${\mathit{q}}_{r}^{+}$. □Based on Equation (19), the optimal future increment of score vector $\Delta {\mathit{t}}_{r}$ can be obtained, as

$$\Delta {\widehat{\mathit{t}}}_{r}(k)={({\mathit{\Theta}}_{r}^{T}{\mathit{\delta}}_{r}{\mathit{\Theta}}_{r}+{\mathit{\lambda}}_{r})}^{-1}{\mathit{\Theta}}_{r}^{T}{\mathit{\delta}}_{r}\left[{\mathit{u}}_{set,r}(k)-{\mathit{\Psi}}_{r}{\mathit{x}}_{r}(k)-{\mathit{\Upsilon}}_{r}{t}_{r}(k-1)-{\widehat{\mathit{d}}}_{r}(k)\right]$$

Replace the state variable ${\mathit{x}}_{r}$ in Equation (22) with the state variable in Equation (21), and one can get the future increment of score vector $\Delta {\mathit{t}}_{r}$ with offset-free tracking performance. The structure of the r-th sub controller is shown in Figure 4.

## 4. Case Study

To illustrate the performance of the proposed offset-free MPC based on the dynamic PLS framework, two study cases are presented below.

#### 4.1. Study Case 1: Jerome-Ray Distillation Column

The Jerome-Ray distillation column is a non-minimum phase system, which has zero points at right half-plane [33]. A lot of multivariate control algorithms have been proposed to achieve a better control performance. In this case study, the basic state space-based MPC (SMPC), state space-based MPC in DyPLS (SMDP), and two offset-free state space-based MPCs in DyPLS (OSMDP1, OSMDP2) are illustrated to compare their control performance. The transfer function matrix of this process is given as

$$\mathit{G}(s)=\left[\begin{array}{cc}\frac{(-s+1){e}^{-2s}}{{s}^{2}+1.5s+1}& \frac{0.5(-s+1){e}^{-4s}}{(2s+1)(3s+1)}\\ \frac{0.33(-s+1){e}^{-6s}}{(4s+1)(5s+1)}& \frac{(-s+1){e}^{-3s}}{4{s}^{2}+6s+1}\end{array}\right]$$

To simulate the disturbance of the real process, a disturbance model [34] is added as

$${\mathit{G}}_{d}(s)={\left[\begin{array}{cc}\frac{{e}^{-s}}{(25s+1)}& \frac{{e}^{-s}}{(25s+1)}\end{array}\right]}^{T}$$

In this simulation, the sampling time is set to 0.5 s. To build up the DyPLS model, two random step input signals with magnitudes ranging from −1 to 1 are applied to excite the system. White noise with a non-zero deviation of 0.5 is added to ${\mathit{G}}_{d}$ as a disturbance signal, which is used to simulate the real process situation. The input and output data to excite the system are plotted in Figure 5. In addition, another dataset, which is used to verify the model accuracy, is shown in Figure 6.

To determine the number of latent variables, the performance of the model is quantified by an indicator as:
where ${y}_{i}(k)$ and ${\widehat{y}}_{i}(k)$ denote modeling data and DyLS output, respectively. $\varphi $ reflects the bias between DyPLS output and modeling data. The $\varphi $ for different model parameters are shown in Table 1. $\varphi $ for r = 2 is significantly less than that for r = 1. Hence, the latent variable in this case is 2. For the model order, n

$$\varphi ={\displaystyle \sum _{i=1}^{n}{\displaystyle \sum _{k=1}^{l}{\left({y}_{i}(k)-{\widehat{y}}_{i}(k)\right)}^{2}}}$$

_{a}and n_{b}are 5 and 5, because higher model orders do not significantly reduce the index $\varphi $. In addition, higher model orders lead to heavier computational burden. To SMPC, the model order is 28. One can see that each sub model in latent variable space is much simpler than the conventional model in original space.With the obtained dynamic PLS model, the proposed control algorithms and original MIMO state space MPC is designed to track the square-wave signal. A positive step of 2 units is introduced in the reference for y

_{1}at time 201 to 1400, and for y_{2}at time 601 to 2000. The prediction horizon and control horizon for 4 control algorithms is shown in Table 2. The simulation results are shown in Figure 7. To compare the control performance with the disturbance situation, a white noise with a non-zero deviation of 0.5 is added to ${\mathit{G}}_{d}$ as a disturbance signal for all simulation runs; the results are shown in Figure 8.Due to the mismatch of the plant model and the predictive model, SMPC and SMDP achieve a poor offset-free performance. Although the latent variable in this case cannot be reduced, the decoupling scheme of dynamic PLS model makes a tradeoff between the control performance and the control structure complexity. That is to say, the steady state error of SMDP is larger than SMPC. OSMDP1 and OSMDP2 provide a good offset-free performance when there is no disturbance. OSMDP1 is sensitive to the colored noise. However, OSMDP2 is stable when noise exists. This indicates that OSMDP2 is more robust than OSMDP1.

The N

_{p}and Nu of SMPC are larger than for other methods. The identified model of SMPC has a large time delay. To include the dynamic of the system in the controller, the predictive horizon cannot be less than 9. The form of SMPC future control increment has the same form as Equation (9). In this case, $\mathit{\Theta}$ of SMPC is a $18\times 10$ dimensional matrix, while for the other 3 methods it is two $6\times 5$ dimensional matrices. Hence, the calculation complexity of matrix inverse and time consumption are high for SMPC. The last row of Table 2 is the computing time (the computer with 4 GB RAM, 2.6 GHz core i5) of 4 methods for the whole simulation. As can be seen, the computing time in the DyPLS framework is less than that in the original space MPC. The main reason for this decrease is that latent variable space controllers compute in parallel.#### 4.2. Study Case 2: Industrial Polyethylene Reaction

A common type of high-density polyethylene made by the catalytic homopolymerization of ethylene through slurry polymerization was proposed by Embirucu and Fontes [35]. The typical process has 9 inputs and 7 outputs. In this case, the first three equations shown in Equation (25) are extracted. These equations have 4 inputs (x

_{1}—monomer feed flow, x_{2}—solvent (n-hexane) feed flow, x_{3}—catalyst feed flow, x_{4}—gas recycle/monomer feed ratio) and 3 outputs (y_{1}—production, y_{2}—slurry polymer, y_{3}—catalyst efficiency), which is a typical non-square system.
$$\begin{array}{l}(1-0.9021{q}^{-1}){y}_{1}(k)=(0.9283-0.8350{q}^{-1}){x}_{1}(k)\\ (1-0.9067{q}^{-1}){y}_{2}(k)=(0.8415-0.7664{q}^{-1}){x}_{1}(k)+(0.6873-0.6023{q}^{-1}){x}_{2}(k)\\ (1-0.8932{q}^{-1}){y}_{3}(k)=(0.8591-0.7536{q}^{-1}){x}_{1}(k)+(0.8097-0.7066{q}^{-1}){x}_{3}(k)+0.0081{x}_{4}(k)\end{array}$$

The square signals with a deviation of 0.01 white noise shown in Figure 9 were generated to excite the system. The corresponding output data are shown in Figure 10. The validation input data are shown in Figure 11. In addition, the output data of the dynamic PLS model is shown in Figure 12.

The indicator $\varphi $ of different latent variables and lagged parameters n

_{a}, n_{b}are illustrated in Table 3. The $\varphi $ of 4 latent variables is significantly less than that of 2 or 3 latent variables. In addition, $\varphi $ of n_{a}= 4 and n_{b}= 4 is less than other parameters. That is to say, the dynamic PLS model with 4 latent variables and n_{a}= 4, n_{b}= 4 can describe plant models well.The total simulation horizon for the control comparison is 1200. A unit signal is set as the setpoint of outputs. In addition, 3 unmeasured step disturbances (between 150 and 450 for y

_{1}, between 550 and 750 for y_{2}, between 850 and 1050 for y_{3}) are acting on the 3 outputs of system. To compare the control performance when there is unmeasured white noise, a white noise is added to all outputs of the system. The simulation results with no noise are shown in Figure 13, Figure 14 and Figure 15, and results with white noise are shown in Figure 16, Figure 17 and Figure 18. The prediction and control horizon are 5 and 6 for these simulations, respectively. Results in Figure 13 and Figure 16 show that SMDP is incapable of providing offset-free control, whether there is white noise or not. The two other control algorithms, OSMDP1 and OSMDP2, reject these disturbances and provide offset-free tracking, see Figure 14, Figure 17 and Figure 15, Figure 18. Results in Figure 14, Figure 17 and Figure 15, Figure 18 also show that when unmeasured disturbance enter the system, OSMDP1 and OSMDP2 provide a correction. When unmeasured disturbances enter the system at sample points 150(y_{1}), 550(y_{2}) and 850(y_{3}); there are overshoots in the system, but they are rapidly declined, because in the proposed method, the actual outputs are introduced to latent variable space as the feedback.## 5. Conclusions

In this paper, an MPC controller design in the DyPLS framework with an offset-free mechanism was proposed. First, the state space MPC in the DyPLS is proposed. This has five advantages: (1) the model structure is simple; (2) it decomposes the MIMO system into multiple SISO subsystems; (3) it can accomplish loop pairing automatically; (4) it can handle non-square systems; and (5) the dimensions of the system can be reduced. Meanwhile, due to the mismatch between the DyPLS model and the plant system, steady-state error exists. To tackle this problem, two methods are proposed. One is to reform the state model as a velocity form, where the state is composed by the state and output increments, while the manipulated variable is the control increment. The other is to augment the state space with a disturbance model, while assuming the disturbance model would be unchanged during the prediction horizon. In addition, an observer is used to estimate the unmeasured state. To obtain the Kalman filter gain matrix in the observer, the variance in the latent variable space is discussed. The second method shifts the focus from modeling the disturbance to estimation of the observer gain, which provides a significant simplification. A square system and a non-square system simulation illustrate the performance of proposed methods. Both offset-free methods can guarantee the offset-free tracking performance and unmeasured disturbance rejecting performance. Both methods can tackle the white noise in the measurement. However, the velocity form method is sensitive to colored noise.

## Author Contributions

L.H.; writing—review and editing. Z.W.; case study. X.J.; methodology and writing. Y.W.; resources.

## Funding

This study is financially supported by Scientific Research Fund of Liaoning Provincial Education Department (L2017LQN032, L2017LQN030) and Talent Scientific Research Fund of LSHU (2016XJJ-102).

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- Qin, S.J.; Badgwell, T.A. A survey of industrial model predictive control technology. Control Eng. Pract.
**2003**, 11, 733–764. [Google Scholar] [CrossRef][Green Version] - Clarke, D.W.; Mohtadi, C.; Tuffs, P.S. Generalized perdictive control 1. The basic algorithm. Automatica
**1987**, 23, 137–148. [Google Scholar] [CrossRef] - Muske, K.R.; Rawlings, J.B. Model predictive control with linear-models. AIChE J.
**1993**, 39, 262–287. [Google Scholar] [CrossRef] - Mayne, D.Q.; Rawlings, J.B.; Rao, C.V.; Scokaert, P.O.M. Constrained model predictive control: Stability and optimality. Automatica
**2000**, 36, 789–814. [Google Scholar] [CrossRef] - Ljung, L. System identification—Theory for the User. Prentice Hall Information and System Sciences Series, 2nd ed.; Prentice Hall: Upper Saddle River, NJ, USA, 1999. [Google Scholar]
- Wang, X.; Ding, B.; Yang, X.; Ye, Z. Design and application of offset-free model predictive control disturbance observation method. J. Control Sci. Eng.
**2016**, 2016, 1–8. [Google Scholar] [CrossRef] - Askari, M.; Moghavvemi, M.; Almurib, H.A.F.; Muttaqi, K.M. Multivariable offset-free model predictive control for quadruple tanks system. IEEE Trans. Ind. Appl.
**2016**, 52, 1882–1890. [Google Scholar] [CrossRef] - Paulson, J.A.; Xie, L.; Mesbah, A. Offset-free robust mpc of systems with mixed stochastic and deterministic uncertainty. IFAC-PapersOnLine
**2017**, 50, 3530–3535. [Google Scholar] [CrossRef] - Betti, G.; Farina, M.; Scattolini, R. A robust mpc algorithm for offset-free tracking of constant reference signals. IEEE Trans. Autom. Control
**2013**, 58, 2394–2400. [Google Scholar] [CrossRef] - Yao, Y.; Gao, F. A survey on multistage/multiphase statistical modeling methods for batch processes. Annu. Rev. Control
**2009**, 33, 172–183. [Google Scholar] [CrossRef] - Dong, Y.; Qin, S.J. Dynamic-inner partial least squares for dynamic data modeling. IFAC-PapersOnLine
**2015**, 48, 117–122. [Google Scholar] [CrossRef] - Kaspar, M.H.; Ray, W.H. Dynamic pls modelling for process control. Chem. Eng. Sci.
**1993**, 48, 3447–3461. [Google Scholar] [CrossRef] - Chi, Q.; Fei, Z.; Liu, K.; Liang, J. Latent-variable nonlinear model predictive control strategy for a ph neutralization process. Asian J. Control
**2015**, 17, 2427–2434. [Google Scholar] [CrossRef] - Chen, J.; Cheng, Y.-C.; Yea, Y. Multiloop pid controller design using partial least squares decoupling structure. Korean J. Chem. Eng.
**2005**, 22, 173–183. [Google Scholar] [CrossRef] - LÜ, Y.; Liang, J. Multi-loop constrained iterative model predictive control using arx -pls decoupling structure. Chin. J. Chem. Eng.
**2013**, 21, 1129–1143. [Google Scholar] [CrossRef] - Zhang, J.; Lin, M.; Chen, J.; Xu, J.; Li, K. Pls-based multi-loop robust h 2 control for improvement of operating efficiency of waste heat energy conversion systems with organic rankine cycle. Energy
**2017**, 123, 460–472. [Google Scholar] [CrossRef] - Zhang, J.; Lin, M.; Chen, J.; Li, K.; Xu, J. Multiloop robust h ∞ control design based on the dynamic pls approach to chemical processes. Chem. Eng. Res. Des.
**2015**, 100, 518–529. [Google Scholar] [CrossRef] - Zhang, J.; Hu, H.; Pu, J.; Hou, G. Model predictive control based on the dynamic pls approach to waste heat recovery system. In Advanced Computational Methods in Energy, Power, Electric Vehicles, and Their Integration; Springer: Singapore, 2017; pp. 509–518. [Google Scholar]
- Xin, J.; Yue, W.; Lin, L. Offset free tracking predictive control based on dynamic pls framework. Information
**2017**, 8, 121. [Google Scholar] [CrossRef] - Tatjewski, P. Disturbance modeling and state estimation for offset-free predictive control with state-space process models. Int. J. Appl. Math. Comput. Sci.
**2014**, 24, 313–323. [Google Scholar] [CrossRef][Green Version] - Barker, M.; Rayens, W. Partial least squares for discrimination. J. Chemom.
**2003**, 17, 166–173. [Google Scholar] [CrossRef] - Geladi, P.; Kowalski, B.R. Partial least-squares regression: A tutorial. Anal. Chim. Acta
**1986**, 185, 1–17. [Google Scholar] [CrossRef] - Qin, S.J.; McAvoy, T.J. Nonlinear pls modeling using neural networks. Comput. Chem. Eng.
**1992**, 16, 379–391. [Google Scholar] [CrossRef] - Lakshminaravanan, S.; Shah, S.L.; Nandakumar, K. Modeling and control of multivariable processes: Dynamic pls approach. AIChE J.
**1997**, 43, 2307–2322. [Google Scholar] [CrossRef] - Huusom, J.K.; Poulsen, N.K.; Jorgensen, S.B.; Jorgensen, J.B. Tuning siso offset-free model predictive control based on arx models. J. Process Control
**2012**, 22, 1997–2007. [Google Scholar] [CrossRef] - Laurí, D.; Salcedo, J.V.; Martínez, M.; García-Nieto, S. Model predictive control relevant identification: Multiple input multiple output against multiple input single output. IET Control Theory Appl.
**2010**, 4, 1756–1766. [Google Scholar] [CrossRef] - Mori, J.; Yu, J. A quality relevant non-gaussian latent subspace projection method for chemical process monitoring and fault detection. AIChE J.
**2014**, 60, 485–499. [Google Scholar] [CrossRef] - Chi, Q.; Fei, Z.; Zhao, Z.; Zhao, L.; Liang, J. A model predictive control approach with relevant identification in dynamic pls framework. Control Eng. Pract.
**2014**, 22, 181–193. [Google Scholar] [CrossRef] - Wang, L. A tutorial on model predictive control: Using a linear velocity-form model. Dev. Chem. Eng. Miner. Process.
**2004**, 12, 573–614. [Google Scholar] [CrossRef] - Betti, G.; Farina, M.; Scattolini, R.; IEEE. An mpc algorithm for offset-free tracking of constant reference signals. In Proceedings of the 2012 IEEE 51st Annual Conference on Decision and Control, Maui, HI, USA, 10–13 December 2012; pp. 5182–5187. [Google Scholar]
- Maciejowski, J.M. Predictive Control: With Constraints; Prentice-Hall: Upper Saddle River, NJ, USA, 2002. [Google Scholar]
- Maeder, U.; Borrelli, F.; Morari, M. Linear offset-free model predictive control. Automatica
**2009**, 45, 2214–2222. [Google Scholar] [CrossRef] - Jerome, N.F.; Ray, W.H. High-performance multivariable control strategies for systems having time delays. AIChE J.
**1986**, 32, 914–931. [Google Scholar] [CrossRef] - Zhao, Z.; Hu, B.; Liang, J. Multi-loop adaptive internal model control based on a dynamic partial least squares model. J. Zhejiang Univ.-Sci. A
**2011**, 12, 190–200. [Google Scholar] [CrossRef] - Embirucu, M.; Fontes, C. Multirate multivariable generalized predictive control and its application to a slurry reactor for ethylene polymerization. Chem. Eng. Sci.
**2006**, 61, 5754–5767. [Google Scholar] [CrossRef]

**Figure 7.**The response of the system without disturbance: (

**a**) SMPC; (

**b**) SMDP; (

**c**) OSMDP1; (

**d**) OSMDP2.

**Figure 9.**Input data set for polyethylene reaction: (

**a**) x

_{1}—monomer feed flow; (

**b**) x

_{2}—solvent (n-hexane) feed flow; (

**c**) x

_{3}—catalyst feed flow; (

**d**) x

_{4}—gas recycle/monomer feed ratio.

**Figure 10.**Output data set for polyethylene reaction: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

**Figure 11.**Validation input data of the system: (

**a**) x

_{1}—monomer feed flow; (

**b**) x

_{2}—solvent (n-hexane) feed flow; (

**c**) x

_{3}—catalyst feed flow; (

**d**) x

_{4}—gas recycle/monomer feed ratio.

**Figure 12.**Output data of dynamic PLS model: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

**Figure 13.**The simulation result of MSDP without noise: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

**Figure 14.**The simulation result of OSDP1 without noise: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

**Figure 15.**The simulation result of OSDP2 without noise: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

**Figure 16.**The simulation result of MSDP with white noise: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

**Figure 17.**The simulation result of OSDP1 with white noise: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

**Figure 18.**The simulation result of OSDP2 with white noise: (

**a**) y

_{1}—production; (

**b**) y

_{2}—slurry polymer; (

**c**) y

_{3}—catalyst efficiency.

(n_{a}, n_{b}) | (1,1) | (2,2) | (3,3) | (4,4) | (5,5) | (6,6) | (7,7) | (8,8) | (9,9) |
---|---|---|---|---|---|---|---|---|---|

φ(r = 1) | 802.35 | 805.49 | 806.92 | 806.27 | 805.32 | 804.62 | 805.53 | 804.63 | 803.88 |

φ(r = 2) | 549.53 | 538.15 | 538.97 | 538.02 | 537.54 | 537.39 | 541.68 | 537.99 | 538.32 |

SMPC | SMDP | OSMDP1 | OSMDP2 | |
---|---|---|---|---|

N_{p} | 9 | 6 | 6 | 6 |

N_{u} | 5 | 5 | 5 | 5 |

Computing time (ms) | 406.01 | 386.36 | 283.45 | 385.52 |

**Table 3.**The indicator $\varphi $ for different latent variables and lagged parameters of ARX in dynamic PLS.

Number of Latent Variable | (n_{a}, n_{b}) | |||
---|---|---|---|---|

(2,2) | (4,4) | (6,6) | (8,8) | |

2 | 8975.50 | 8976.50 | 8977.00 | 8961.8 |

3 | 1195.2 | 1193.5 | 1182.4 | 1187.6 |

4 | 126.88 | 114.67 | 128.3 | 130.08 |

© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).