#### Abstract

This paper deals with designing the controller of LTI system based on data-driven techniques. We propose a scheme embedding a residual generator into control loop based on realization of the Youla parameterization for advanced controller design. Basic idea of the proposed scheme is constructing the residual generator by using the solution of the Luenberger equations as well as the well-established relationship between diagnosis observer (DO) and the parity vector. Besides, the core of the above idea is straightly using the process measurements to obtain the parity space based on the Subspace Identification Method (SIM), rather than establishing the system model. At last, a simulation based on the numerical model demonstrates the performance and effectiveness of the proposed scheme.

#### 1. Introduction

In the past decades, model-based controller design techniques have been perfectly established and a larger number of schemes have been proposed to design the controllers with the process model given [1–3], especially T-S fuzzy approach [4–6]. However, with the development of the science and technology as well as increasing demands for system performance and product quality, the modern industrial processes become more and more complicated and the traditional model-based approaches have become impractical for being much difficult or even impossible to construct the processes model. Hence, both the data-driven academic research and the data-driven techniques focusing on modern industrial applications have received widespread attention.

Compared with the well-developed model-based techniques, data-driven/data-based approaches, whose core is to extract the significant information contained in process measurements, not only improve the systems performance but also better solve the safety and reliability issues especially on the modern process [7–9]. As a result, over the past two decades, the data-driven methods and techniques have been rapidly developed and many data-driven approaches have been successfully used in industrial process. For example, PID (proportional-integral-derivative) methods might be the earliest and the most widely used in industrial processes [10, 11]. Principal component analysis (PCA) [12, 13], one of the earliest data-based approaches to lower dimensional principal components, and partial least squares (PLS) aiming to predict key indicator directly from processes measurements are the most famous and successfully used approaches in multivariate statistical analysis which deal with large amounts of highly correlated measured data [14, 15].

In recent years, there are a lot of achievements in the field of fault detection and isolation (FDI) technique based on theory and many schemes to construct FDI systems [16–18]. In the above-mentioned papers, one of the most significant innovations is proposing a scheme that directly uses process measurements to construct residual generators for the purpose of FDI systems design. And several schemes extracting residual signals directly from a feedback control loop, without additional designing and constructing a residual generator based on observers, have been proposed [19, 20]. Ding et al. [21] designed an EIMC structure whose core is embedding residual generation which aimed for FDI in the feedback control loop and proposed an advanced subspace identification method (SIM) which can generate parity vector directly from process measurements, for the purpose of constructing observer-based residual generator. Besides, Youla parameterization can establish the relationship between all stabilization controllers and observer-based residual generator [16, 22].

Motivated by the aforementioned studies, in this paper, we propose a data-driven scheme using process measurements to design controllers for LTI system, and the basic idea is instructing an observer-based residual generator into feedback control loop. Following the above idea, we first divided the work into three sections based on Youla parameterization and coprime factorizations [22]. Note that the first section is the core of this paper. In this section, to produce residual signals, we design a residual generator with an observer form. Besides, the basis of constructing the generator is the solution of the Luenberger equations [16] from the well-established relationship between diagnosis observer (DO) and the parity vector which are identified directly from the available test data by using the advanced SIM. In addition, we present the scheme proposed in form of algorithms to make it easy to understand.

The structure of remaining content is shown as follows: the basic plant model as well as the system preliminary factorization, in other words, the related work, is explained in Section 2. The first part of the designing controller will be completed in Section 3. In addition, several algorithms are presented to obtain the structure and parameters of the residual generator based on diagnosis observer. And the rest of the parts are studied in Section 4. For the purpose of illustrating the performance and effectiveness of the scheme, a simulation study on an academic model will be presented and discussed in Section 5. At last, we will give some conclusion in Section 6.

#### 2. Related Work

##### 2.1. Process Description

In this paper, we deal with designing the controller of linear time invariant (LTI) system. Without loss of generality, we assume that the discrete state space equation of the system is described by in which both the plant inputs and outputs are measurable; in other words, the values of them can be obtained at every discrete time point. And they are defined as and , respectively. stand for the status variables. It is assumed that and are white noise. And note that values of and cannot be measured, and there is no statistical correlation between the noise sequences and the input vectors . In addition, the system matrices and order are unknown parameters.

Based on the well-established relationship between the transfer function matrix and the state space equation, there are some significant points as follows:

As shown in Figure 1, we chose classical output feedback control method to enhance the system performance and robustness [23].

##### 2.2. Left Coprime Factorization and Youla Parameterization

Suppose that there exists a appropriate parameter matrix , satisfying where stands for the eigenvalues of the matrix and . Then, the left coprime factorization of the system transfer function matrices [22] can be described as follows: and are, respectively, defined as and with and . According to the Youla parameterization, all stable controllers can be expressed by a unified form for a classical output feedback control loop. Consider

and are, respectively, defined as and , in which is an appropriate parameter matrix and assures a stable . And is a parameter matrix whose parameter can be chosen according to the requirements of plant performance.

In this paper, we assume that the matrix is stable to simplify the controller design. Then, letting the matrix be equal to zero is reasonable. Combining with (5), we can obtain a simplified controller as follows:

It is well known that the residual signals imply significant information about process and can be used for FDI purpose [17]. Recall that the residual vectors can be described as follows: Note that the process inputs, that is, outputs of the controller, are expressed as Combining (6) and (8), we get Thus, the feedback control loop is restructured as shown in Figure 2.

Observing Figure 2, we notice that the task of designing the controller can be divided into three sections:(i)obtaining residual signal through constructing a residual generator,(ii)designing the parameter matrix ,(iii)selecting the prefilter .

#### 3. Residual Generator

This section is the core of the paper. Residual signal represents the difference between the actual observed value and the estimate value, which implies very important information about process. There are many papers which construct residual generator directly using the process inputs and outputs, instead of identifying the system parameter matrixes [12, 17, 18]. The algorithm of constructing generator from inputs and outputs will be given in this section.

##### 3.1. Diagnostic Observer and Parity Space Approach

There are many approaches to generate residual signals. In this subsection, we study two methods of them, which are based on diagnostic observer (DO) and parity space, respectively [16].

The first method is based on DO, and its state space equation is expressed by where , , , , , , and . Besides, and , respectively, represent the order of DO which satisfies and the transformation matrix. Besides, the matrixes , , , , , , and satisfy the Luenberger equations,

The other method studied is based on parity space [24], and we can also obtain the residual signal by using the parity space approach as follows [12]. Assume that the system which is expressed in the related work is observable and the matrix is row full rank. Then, we can recursively describe the system as

Using the inputs and outputs to build the following data structure: we can get the rewritten system form as follows: in which Equation (14) expresses the relationship between system inputs and outputs using the past plant inputs and past state vectors.

Solving the following equation, we are able to get a parity vector , Hence, belongs to , which is the parity subspace and satisfies .

Note that when both sides of (14) are multiplied by at the same time, we can obtain a residual signal sequence in the following form:

Despite that the diagnostic observer and the parity space approach are in different forms, there have been a well-established relationship between them [16, 25]. For a known vector, , , , the matrixes of the diagnostic observer can be set as follows [17]:

Notice that different selected principles of lead to different system performances. A scheme to select is proposed, and the scheme can improve the robustness of the residual generator and system performance [26].

##### 3.2. Realization of the Parity Space Approach

Recall the state space of the process expressed in the related work, and suppose that the system matrixes and order are unknown constants which do not change with time, but the process inputs and outputs are available. Constructing data structure as follows: in which both and are larger than , besides, is user-defined parameters and always much larger than . To simplify the problem, let both and be equal to which is user-defined parameters and larger than or equal to in general. Hence, considering the above-mentioned data structures shown in (20), we can construct matrixes and for the process inputs and outputs with Hankel structure:

In the following subsection, we use the subspace identification method (SIM) proposed by Wang and Qin [27] to identify the parity space, that is, finding , , and . Besides, we give this method in the form of an algorithm [28].

*Algorithm 1. *Consider the following.*Step **1*. Construct and and calculate .*Step **2*. Do SVD on

in which , , , , , , , , and both and are diagonal matrixes. Note that if and are perfect white noise, all eigenvalues of are equal to zero, and is a nonsingular matrix satisfying . Hence, the value of can be determined.*Step **3*. Respectively, define and as and .*Step **4*. Do SVD on

with , , and we can get .

The necessary conditions have been completely studied in [27, 29], when identifying the parity space by using SIM. This paper assumes that the process measurements used for identifying the parity space meet the above condition, so that we can use Algorithm 1 to identify , , and . However, when and are not absolute white noise, we can use the following method [27] to identify .

For a sequence of the system order , for instance, , the order of the system will be the one which makes the following AIC index: minimum, where

##### 3.3. Design of Residual Generator

After identifying , constructing a residual generator by using the relationship between DO and parity space is just around the corner. Select a parity vector and , with , , and , ; then, we can calculate the parameter matrixes of DO , , , , , and by solving (18)-(19) and construct a diagnosis observer according to (10).

Note that we can obtain the following residual signal [16] by constructing and using the residual generator (7): in which represent parameter matrix satisfying and denote an estimate for the process outputs with convergence to the real outputs. To improve the system performance, it is necessary to design a residual generator which can deliver an -dimensional residual vector. Hence, we need to extend the data-driven based single residual generation to multiple residual generations. In the following section, using and having been identified, we propose a method to construct -DOs spanning the overall state space to obtain residual sequences independent from each other [12].

Suppose that and are computed using the above-mentioned method, and choose parity vectors from , which are linearly independent from each other, with , and select the corresponding vectors from

Using and , we can design the -DOs as follows: where the matrixes , , , , and , are calculated by solving (18)-(19), and the dimensions of the matrix , that is, , satisfy . Besides, the transformation matrix satisfies , and note that , , can be got from (19). Then, estimated value of outputs can be generated by the -DOs,

Obviously, when the process is multiple output system, , the order of the system (29) is significantly larger than , the order of the process system. Hence, we need to reduce the order of the -DOs to decrease the amount of calculation and improve the system performance.

Note that the transformation matrix satisfies , then we can reduce the order of the multiple residual generators as follows [12].

Assume that the multiple residual generators have been constructed, and the transformation matrix has a pseudoinverse satisfying . Thus, we can reconstruct following residual generator: with being an estimate for the state vector of the system (1), and the matrixes , , and satisfy , and .

*Algorithm 2. *Consider the following.*Step **1*. Identify , , and . *Step **2*. Construct a multiple residual generator as defined in (29). *Step **3*. Calculate , ,
*Step **4*. Reduce the order of sDOs as defined in (32).

#### 4. Design of Prefilter and Parameter Matrix

##### 4.1. Prefilter Design

Noticing that the multiple residual generators which have been constructed and reduced order need to deliver an -dimensional residual vector. Thus, we construct a residual generator with the state space equation described in (32) which is a little different from (29). According to the well-established relationship between classical and modern control theory, there are some significant equations as follows: Thus, satisfying (35) can be used in Figure 2. Convenient for using in engineering, we can also design the state equation of .

##### 4.2. Parameter Matrix Design

To accomplish the controller design, the rest of the work is to design the parameter matrix based on the requirements of the system performance. Suppose that the system error is defined as and the requirement of performance is to decrease . Recall the system structure shown in Figure 2 and notice that the dynamics of the system is subject to the following equation: in which , , and . Hence, it has become a norm optimization problem to design the parameter matrix [30]. We can choose a matrix satisfying that the -norm of the matrix is minimum. In general, need meet the conditions of stability and be simple enough to satisfy the practical requirements.

All in all, we can choose as a constant matrix with representing the pseudoinverse. When is nonsingular, is equal to .

#### 5. An Academic Example

In this section, we apply the achieved results to an academic example. Our major purpose is to demonstrate the applicability and effectiveness of the residual generator-based controller. We assume the system matrixes in the state space to be as follows:

presents normal distribution whose mean is and variance is . Note that we just use the system model to generate the indispensable inputs and outputs as the available test data, and we do not use the system matrixes , , , and and the noises to design the controller. The simulation procedure of the data-driven based controller is as follows.

At first, simulate the academic example, and collect samples of the test data with the reference excitation. Then, identify the parity space using Algorithm 1. Based on the relationship between the parity space and DO, we construct an observer-based residual generator, advanced to design the controller. To demonstrate the application of the controller, we choose the simulation time as s and sample time as s. And introduce disturbances and , when s and s, respectively.

Figure 3 shows the output signal collected from experiment with . And, as can be seen from Figure 3, the performance of the controller system is very well, the response speed of unit step is very fast, and disturbances have been suppressed effectively.

More generally, we choose that , , for instance, and the output signal is shown in Figure 4. We can learn from Figure 4 that the disturbances have been suppressed effectively; however, when the reference excitation is unit step signal, the overshoot is a bit larger. Thus, we reduce the order of the residual generator based on Algorithm 2, and then we generate the outputs of the system as Figure 5 shows. It is easy to learn that the overshoot become a smaller one.

#### 6. Conclusion

In this paper, we deal with the controller design for LTI system based on data-driven techniques. The scheme proposed is summarized in the form of several algorithms to be convenient for the readers learning the scheme proposed. The core of this paper is embedding residual generation aiming for FDI in the feedback control loop and structuring the observer-based residual generator based on data-driven approaches directly identified from available process measurements without generating system model. We constructed the residual generator based on the relationship between DO and the parity vector, obtained directly from process measurements using the advanced SIM. Finally, the applications and effectiveness are demonstrated by applying the scheme and algorithms to an academic example. Besides, our future work is studying a scheme dealing with a real-time system [31, 32].

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The authors acknowledge the support of China Postdoctoral Science Foundation Grant no. 2012M520738 and Heilongjiang Postdoctoral Fund no. LBH-Z12092.