## Advanced Observer-Based Control for Benchmark Control Problems: From Mathematical Modeling to Control Design

View this Special IssueResearch Article | Open Access

Jędrzej Byrski, Witold Byrski, "An Optimal Identification of the Input-Output Disturbances in Linear Dynamic Systems by the Use of the Exact Observation of the State", *Mathematical Problems in Engineering*, vol. 2018, Article ID 8048567, 15 pages, 2018. https://doi.org/10.1155/2018/8048567

# An Optimal Identification of the Input-Output Disturbances in Linear Dynamic Systems by the Use of the Exact Observation of the State

**Academic Editor:**Luis J. Yebra

#### Abstract

A new methodology for the identification of the values of unknown disturbance signals acting in the input and output measurements of the dynamic linear system is presented. For the solution of this problem, the new idea of the use of two different state observers, which are coworking simultaneously in parallel, was elaborated. Special integral type observers are operating on the same finite time window of the width T and both can reconstruct the exact value of the vector state x(T) on the basis of input-output measurements in this interval [0, T]. If in the input-output signals the disturbances are absent (measurements of I/O signals are perfect) then both observers (although they are different) reconstruct the exact and the same state x(T). However, if in the measurement signals the disturbances are present then these observers will reconstruct the different values of the final states x1(T)=x(T)+e1(T) and x2(T)=x(T)+e2(T). It is because they have different norms and hence they generate different errors in both estimated states. Because of the disturbances, the real state x(T) is unknown, but it is easy to calculate the state difference: x1(T)-x2(T)=e1(T)-e2(T). It occurs that, based on this difference, the values of all the disturbances acting during the control process can be identified. In the paper, the theory of the exact state observation and application of such observers in online mode is recalled. The new methodology for disturbances identification is presented.

#### 1. Introduction

In the classic control theory and its applications, a common practice in the estimation of inaccessible for measurement state vector of a linear observable system is the use of Luenberger type asymptotic observers. D.G. Luenberger in [1] proposed the pole placement technique for calculation of the observer gain matrix. The structure of such an observer was derived directly from the differential form of the Kalman Filter, KF [2, 3]. Calculation of the optimal gain matrix in KF was based on the known stochastic properties of the disturbances and the least-squares estimation error approach. In both types of these estimators, their structures are given by ordinary linear differential equations. Hence under assumption that real initial state is unknown the solution of the estimation problem by the use of these observers could give only a state estimate, which tends to the real state asymptotically and reaches them theoretically in infinity. Calculation of the current estimation error is impossible, because the real state is unknown.

Nowadays in many real-time control applications and fault detection, the finishing of the observation tasks in assumed and possibly short time T is an important requirement. The asymptotic state estimators may not be sufficient for this purpose. The power of the modern microcomputers makes the design of the other online observation algorithms possible. They reconstruct the value of the current state vector** exactly **in finite time T. The calculations are based on the finite time history of measurement samples of input and output. What is more, the width T > 0 of the measurement window can be almost freely chosen.

The general theory of the exact reconstruction of the finite dimension state for linear systems in Hilbert spaces as well as the rules for designing of the exact state observers with minimal norm was formulated and presented by W. Byrski and S. Fuksa in 1984 [4, 5]. This theory originates from the definition of the state observability and formulates the extension of the method presented in [6] with the use of functional analysis technique. The authors of [4, 5] proposed a deterministic approach to disturbances characterization and to the exact and optimal state observation for which the relations were formulated generally in function Hilbert spaces U, Y. Such type of the observer must have the structure of two linear continuous functionals. It is because based on two fragments of two continuous functions u and y, which are given on finite time interval T, the observer should calculate the real unknown vectors x(0) or x(T), where x* ∈*. On the other hand from the Riesz Representation Theorem it follows that every linear continuous functional in Hilbert space can be expressed as the inner product. Hence the structure of the observer must have a form of two inner products: one product of continuous output function y

*Y and special observation function G*

*∈*_{1}(

*τ*)

*Y and the second one with the input function u*

*∈**U and special observation function G*

*∈*_{2}(

*τ*)

*U. After the first observation interval [0,T] the observer reconstructs x(T) and next can also reconstruct the exact values of the state x(t) for*

*∈**t>T, based on continuous moving window (in online mode). Choosing different input-output Hilbert spaces one can obtain different formulas for the finite state exact observers.*

*∀*In engineering sciences, commonly used is the function space L^{2}[0.T]. This space is defined as a space of functions for which the second power is integrable in Lebesgue sense, on the interval [0, T]. The existence of such integral enables definition of the norm of the function as the square root of this integral. In many cases, it can represent the square root of the signal’s energy. The space L^{2}[0.T] belongs to class of Hilbert spaces; hence the inner product of its two elements has the form of the integral operator.

The studies on the exact state observation were undertaken by various authors, although they may be considered as particular cases of the general theory of the exact state observation [4]. In 1966 J.D. Gilchrist [7] proposed mixed version of the exact state observation with the use of discrete measurement of the output signal and continuous measurements of the control. Similar approach was presented in [8–11]. In 1992 A. Medvedev and H.T. Toivonen in [12, 13] continued the study of such mixed types of state observers and called them “finite memory deadbeat observers.” Some other version of the finite memory deadbeat observer was also presented in [14]. However, all of the above observer’s versions were based on standard least squares approach and are only subcases of the general form of the exact and optimal state observer.

As it was stated before, the exactness in reconstruction of the state is possible by the use of the exact state observers but only under assumption that no input-output noise or disturbances occur (i.e., in the case of perfect input-output measurements). Hence, in practical case of noisy measurements the use of the exact observers gives also a reconstruction error. In the most popular version of the exact observers it was assumed that the input function (control) is perfectly known and for state calculation there is no need for its extra measurement. The last assumption however, in practical application, is not always proper because, e.g., the actuator and the control valve produce the system input signal and it may differ from the control signal u, which is generated by the computer (the number of impulses). From the general theory of the exact and optimal observation one can obtain the observer with minimal norm. It guarantees that, based on the perfect input-output measurements, the state x will be reconstructed exactly and for the measurements with bounded disturbances on y and u (disturbances with bounded norm, from unit balls) the norm of the state reconstruction error will be minimal.

In publications [4, 5] it was assumed that spaces Y and U are chosen as L^{2}[0,T]; hence the inner product is represented by the integral operator. Therefore the name “integral observers” was also frequently used to underline its contrary type to differential structure of the Kalman Filter (LQF) or Luenberger observer [15–17]. Particularly important theorem of a closed loop stability with the use of the integral observer and linear quadratic regulator (LQR ) was given in [4]. It was also proven that integral observer and LQR controller in closed loop create the dynamic system of the order n, and not 2n like in linear quadratic Gaussian system (LQG=LQF+LQR).

The extended results of the online exact observation and application were presented in [15, 16, 18]. For instance in the paper [18], the integral observers with Expanding Window as well as Moving Window of Observation (sliding window) and their differential versions were given. In [16] the application of Moving Window Observer (MWO) and LQR to stabilization of distillation column was presented. In [19, 20] the authors presented the use of the double window exact state observer for detection and isolation of abrupt faults in system parameters.

The most important properties and features of the integral observers used for the exact reconstruction of the continuous state are(i)problem was formulated for Multi-Input Multi-Output (MIMO) continuous linear time invariant (LTI) systems given by the standard state matrix equation model,(ii)the state observer has integral description in space L^{2}[0,T] and can be used online (in interval [t-T, t]),(iii)the possible existence of the disturbance in both the control u(t) and output y(t) signals is assumed,(iv)the optimal formulas of the observer are obtained by the minimization of its norm which is the function of assumed weighting coefficients,(v)the independence of the state observation from the initial conditions of the real state (unknown) occurs,(vi)fixed finite observation time interval [0,T] is used.

A brief explanation regarding the first point may be useful. The theory of the exact state observation in function space L^{2}[0, T] can use the idea of continuous functions and all the mathematical proofs as well as the final results relate to continuous functions. However, of course for the real applications the term continuous measurements of such functions means that for computer calculations it is enough to have standard discrete measurements, although with frequency, according to Nyquist-Shannon sampling theorem. This establishes a sufficient condition for a sample rate that permits a discrete sequence of samples to capture all the information from a continuous-time signal of finite bandwidth. In that case numerical calculations of integrals, e.g., by Simpson’s rule, will guarantee accuracy which will correspond to continuous version.

In this paper the quite new idea of the exact state observers application will be presented. Using two different exact state observers (with different norms) working simultaneously in parallel structure on the same time interval, it is possible to calculate the unknown values of some disturbances, which affect the input-output measurements. The calculation is possible either in the batch mode or in online observation version.

If in the input-output measurements the disturbances are absent (measurements of I/O signals are perfect), then two different observers reconstruct the exact and the same state x(T). However, if in the measurement signals the disturbances are present (y+z_{1}, u+z_{2}) then the first observer reconstructs the value x_{1}(T) and the second x_{2}(T). This is because the observers have different norms and in the case of disturbances they generate various errors e_{1}(T) and e_{2}(T); i.e., they generate the estimates x_{1}(T)=x(T)+e_{1}(T) and x_{2}(T)=x(T)+e_{2}(T). The real undisturbed state x(T) is unknown, but it is easy to find the states difference *ε*(T) = x_{1}(T) - x_{2}(T) = e_{1}(T) - e_{2}(T). It occurs that, based on this difference, the values of all the disturbances acting during the control process can be identified. In the next sections the first observer will be marked as the observer (a) and the second observer as the observer (b).

Such identification of disturbances cannot be performed using classical asymptotic state estimators like Kalman Filter, due to the unknown real value (even theoretical) of the state in both estimators. Such an approach, by the use of classical estimators (e.g., bank of Kalman Filters) for the disturbance isolation, was tested however in [21–23] with the use of “fault signatures” table. Other works [24–26] use disturbance distribution matrices and apply observers for diagnosis [27, 28].

In Section 2 we will start with a reminder of the theory of the exact state observation and the application of such observers in online mode.

#### 2. The General and Optimal Form of the Exact Integral Observer in Space

##### 2.1. The Existence Conditions of the Exact Observer

Let a linear state observable MIMO system be givenwhere x(t)* ∈*, u(t)

*, and y(t)*

*∈**for*

*∈**t ≥ 0, m<n. Matrices A, B, C are of compatible dimensions.*

*∀*Assume that we perfectly measure the control u and the output y on the interval [0, T], where T is the fixed observation time.

Our purpose is to determine the state x(T). We assume the following.

The state space X = (for state vectors), the output space Y= (for output functions y* ∈*Y), and the control space U= (for input functions, u

*U). The output of the system (1) has the well-known formThe general exact state observer should have the form of two inner products in L*

*∈*^{2}[0,T]: where the dimensions of matrices G

_{1}(T,

*τ*) and G

_{2}(T,

*τ*) are (n×m) and (n×r), respectively. The elements of these matrices are functions of time

*[0, T]. They are also functions of assumed observation time T. However in the sequel we will omit the first argument T in writing, G*

*τ∈*_{1}(

*τ*), G

_{2}(

*τ*).

For these assumptions, the general conditions for the observation matrices G_{1}, G_{2} should be determined, in such a manner that formula (3) could represent an accurate state observer. To this end, one must substitute (2) to (3). We obtainor after changing the order of integration in internal integralThe left hand side of the above equation is equal to right hand side if and only if matrices G_{1} and G_{2} fulfill conditionswhere I is n×n identity matrix andEquation (6) should be treated as the constraint for all possible observation matrices G_{1}(*τ*) in (3). For the chosen matrix G_{1}, the matrix G_{2} should fulfill the second constraint (7). For the observable linear system (1) there is infinite number of G_{1}, G_{2} matrix pairs which fulfill (6) and (7) and are matrices for exact observation in (3). Therefore, one can additionally assume some quality index and find the observer, which will fulfill the minimum of this index. A very reasonable quality index of observation is the observer's norm.

##### 2.2. Interpretation of the Observer Norm

Any exact state observer perfectly reconstructs the state of the system (1) regardless of the initial or final conditions, if no disturbances occur in the input-output measurements. Otherwise, any exact state observer will reconstruct the state with some observation error. If the observer norm will be minimal, the norm of observation error will be also minimal (under some assumptions). Let us assume that in measurements y and u additive bounded norm disturbances occur, z_{1}* ∈* L

^{2}[0,T], z

_{2}

*L*

*∈*^{2}[0,T], ≤ 1, and ≤ 1.

Then the state estimate is given byHence, the vector of the state reconstruction errors will have a value:We can estimate the norm of the error in the space L^{2}[0,T] assuming that disturbances are bounded and normalized to unit balls in L^{2}[0,T], ≤ 1, and ≤ 1. Inner product is denoted by .Such assumed observer’s norm J estimates maximal observation error in most pessimistic scenario. This min-max approach gives interpretation of the optimization task.Obviously, an observer with a minimum norm still exactly reconstructs the state in the case of perfect and undisturbed input-output measurements.

##### 2.3. The Exact State Observer with Minimal Norm

From continuity and linearity in (6) and (7), it follows that the set of all observers (pairs of matrices G_{1}, G_{2}) is closed, linear manifold in the space ×In this space one can introduce a seminorm of the observer like in (13):where are i-th row and j-th column elements of matrices G_{1},G_{2} and , are weighting coefficients for the whole i-th rows of corresponding matrices.

For simplification (without loss of generality) we will assume identity weighting coefficients =1. The weight *β* may be interpreted as the relative norm of the possible disturbance z_{2}. The task of the optimization is minimization of the normunder constraints (6) and (7). The norm (13) of the observer is the function of observation time T.

Because of (6) the Lagrange functional is of the form (i)where are basis vectors in with one in i-th row,(ii) denotes column vector which is transposition of i-th row of matrix G_{1},(iii) denotes i-th column vector of matrix ,(iv)the symbol stands for the integral inner products,(v) are vectors of Lagrange multipliers.

From constraint (7) it follows that the squared norm J and hence Lagrange functional L are functions of matrix G_{1} rows , only.

Hence from optimality condition after some calculation one can obtain the main formula (i)where *β* is diagonal matrix with elements,(ii) is Lagrange multipliers matrix with vector columns ,(iii)apostrophe** ’** denotes matrix transposition.

Transposition of (7) gives the result:Equations (16) and (17) give the set of two integral equations, which can be solved. To this end let us notice that we have some boundary relationships for rectangular matrices:Let us introduce two square matrices P_{1} and P_{2} of [n×n] dimension.Then one can obtain two new equations: with boundary condition:It is easy to see that (20) represent the solution of two differential equations. with the above mentioned mixed boundary conditions.

Denote by the columns of matrices , and introduce fundamental matrices , for i = 1,,n.And under the condition , we have the solution of (23) for 2n dimensional problem:One can find initial conditions for by substitution (26) to the constraint (6).Hence denote n different square matrices by , i=1,…n: The initial conditions have the formFinally, the solution for columns of matrices has the formwhere are basis vectors in with one on i-th row.

The vectors after transposition will form the rows of optimal matrices according to equationsIt is the most general optimal form of the exact state observer with minimal norm (13) and weighting coefficients .

##### 2.4. Two Special Cases of Minimal Norm Observer

Two cases will be considered:(a)The weighting coefficients *β*=I form unity matrix. This is reasonable case if in the measurements of the output y(t) and the input control u(t) the norms of the possible disturbances are the same.(b)The weighting coefficients *β*=0. This is reasonable case if in measurement of the control u(t) the disturbances are absent.

*The Solution to the Case (a)*. For symmetric case *β*=I, the solution of the optimization task has simpler and more compact form than (30) and (31).All the matrices are the same M= and has the formTwo submatrices , of the fundamental matrix are calculated from (35):Then, matrices G (32) for the given observation time T can be calculated offline in interval [0,T] and applied online in optimal observer moving window [2].

*The Solution to the Case (b). *For the special values of weight factors *β*=0, one can obtain from (25) the special form of the exact state observer. It means that one can obtain this form of the observer (3) by minimization of simplified form of the norm (13) which corresponds only to the output y measurements. It is reasonable case if in the measurement of the control signal u(t) the disturbances are absent.Equation (23) takes the formThe solution for matrices has the formOne can find the initial conditions in (40) by substitution of (40) to the constraint (6) remembering thatHence,Let us assume that the square matrix M with symmetric Gram matrix has a form as in (33)Then and For , the solution for P_{2} from (37) and (44) isFrom the above the form of in (39) is visible.

Finally we have the matrices Pand we have the matrices G_{1} and G_{2} (marked finally as , ) of the optimal observer for the case (b):For the observation time T, these matrices can be calculated offline in interval [0,T] in as many samples as needed and then applied online in the observer moving window.

Interestingly, the same forms of G_{1}, G_{2} as in (47), (48) can be obtained by using the easy and standard least squares approach, i.e., by the multiplying of both sides of the output equation (2) by the transposition of the appropriate matrix and integration of this equation on [0, T].Then after changing the order of integration in internal integral we obtain the matrices G as in (47) and (48) and those of the form of the observer for the case (b):It confirms the correctness of all the above derived formulas (47) and (48) and the general theory of the optimal observation (30), (31).

By the way, it means that the use of the above version of the observers in different applications of the exact state observers [12–14] may give the result, which is not in general the optimal observation solution, but only for the special observer norm (36).

In authors’ research, it turned out that the norm (13) of the observer decreases to some small value with increasing of the observation time T and increases to infinity with decreasing of time T to zero, like in Figure 1.

#### 3. Integral Observers in Online Mode as Moving Window Observers

Presented integral form of the exact observers given on finite time interval [0,T] can be applied in online observation and in control systems.

To this end one can design the structure of Moving Window Observer (MWO). Equation (52) is valid for any linear time invariant (LTI) systems and for any fragment of measured functions y and u and hence for shifted input/output functions, also.

One can use two possible representations of MWSO at time t:The form (54) represents moving window of width T shifted along time axis against measurements and after integrals calculations giving current and exact state x(t) for tT. Such type of the observer has characteristic delay in starting of the observation connected with the first window for 0 t T.

The matrices G_{1}, G_{2} do not depend on current time t and can be calculated only once and offline in interval [0, T]. Then they may be stored in memory registers in as many samples as needed for accurate calculation of integrals, depending on discretization time of measurements of y and u.

Digital control equipment should have enough computation power for online calculation of thousands of multiplications and summations per second. For the nowadays industrial computers (IPC) this is no problem, let alone for those with digital signal processors (DSP).

During designing of the observer, the main problem is the right choice of the observation time T. The short interval T results in quick start of the online state reconstruction process and requires fewer calculations during the moving window mode but the observer is more highly sensitive to the disturbances (has the bigger norm). The longer time T results in bigger time delay in starting of observation and causes more calculations within the window but the observer is less sensitive to disturbances (has the smaller norm).

#### 4. The Main Idea of the Paper

Let a linear state observable system be givenWe will consider the case of Single Input–Single Output (SISO) system; however one can generalize the disturbances detection method to Multi-Input Multi-Output case. The system is of n-th order, the state , the control u(t)* ∈* R

^{1}, and the output y(t)

*R*

*∈*^{1}, for

*t0. Matrices A, B, C are of compatible dimensions.*

*∀*Assume that we perfectly measure the control u and the output y (without any disturbances) on the interval [0, T], where T is the fixed observation time.

For the exact state observation, we will use simultaneously working two observers (a), (32), (33), (35) and (b), (47), (48).

Both observers reconstruct the exact state (T)=(T)=x(T).

However, if during control process the disturbances d_{2} of the control and disturbances d_{1} of the output occur and the measurement noises occur (measurement disturbances on input-output z_{2}, z_{1}), then we have a situation like in Figure 2.

Our purpose is to determine the state (T) = x(T)+(T), (T) = x(T)+(T) and the disturbance values d and z, based on the measurement signals (t) and (t).

The equation of the disturbed system has the formand the reconstructed state is given by two equations, one from the observer (a) (the pair of matrices , ) and the second from the observer (b) (the pair of matrices , ). Both observers use for the state calculations the disturbed measurements, Control u(t)* ∈*R

^{1}, the output y(t)

*R*

*∈*^{1}, disturbances d

_{1}(t)

*R*

*∈*^{1}, d

_{2}(t)

*R*

*∈*^{1}, z

_{1}(t)

*R*

*∈*^{1}, z

_{2}(t)

*R*

*∈*^{1}, for

*t ≥ 0*

*∀*The control signal u(t) is known, because it is generated by the deterministic control algorithm in industrial PC or Programmable Logic Controller (PLC).

The algorithm of disturbance detection is presented in Figure 2.

The reconstructed state (T) by the observer (a):The reconstructed state (T) by the observer (b):Taking into account the fact that the real state x(T) in (56) is given by as well asthe difference of the estimated states (58), (59) gives the estimation error *ε*(T).

.

*The Main Assumption*. Let us assume that the values of the disturbances d_{1}, z_{1}, d_{2}, z_{2} within the interval T are constant.

Such assumption is reasonable if the interval T is small.

Let us mark two vector-matrices [nx1] for each observer, with the second indexes, which mean the numbers (items) of the state vector elements.Then, we have from (62) the main equation for the estimation error.or in compact form with the constant matrix D [nx2]:In this equation the vector of estimation error *ε*(T)* ∈* is known as well as the rectangular and constant matrix D [nx2]. The unknown vector

*of two real numbers represents the values of unknown disturbances*

*ϴ**R*

*ϴ∈*^{2}. These values

*are valid for the entire interval T.*

*ϴ*Hence, for the system’s order n=2, D is the square matrix, D[2x2], and for the equation , we have the single solution for the vector of disturbances* ϴ*:For n>2, the matrix D is rectangular D[nx2] and by the least squares approach it is easy to find that the best solution of (66) is given byThen, it is easy to find that the disturbance d

_{2}is given byIt turned out that the separation of the disturbance sum d

_{1}+z

_{1}at the time T and the exact calculation of the constant values d

_{1}, z

_{1}is not possible by this method (see Conclusions).

#### 5. The Moving Window Disturbances Observer

All the above considerations were carried out, for the one observation window [0, T] (batch mode).

If we use the idea of the Moving Window State Observer (53) working in online mode, then using two MWSO, for reconstruction of x_{1}(t) and x_{2}(t), one can also design the Moving Window Disturbances Observer, for the online identification of the disturbances for t>T.

We can have continuous equation for the online reconstruction of the disturbances:where and the values of (t) and (t) are reconstructed online by the observers of type (71). The constant rectangular matrix D [nx2] is the same as in (66):The real matrix D as well as should be calculated offline for a given interval T only once (based on (32), (47), and (48)) and used during online calculation. Of course in practice each element of the observer function matrices G_{1}(t) and G_{2}(t) calculated offline must be stored in computer memory within [0, T], e.g., as 100 samples, with Δ=0.1 sec each (T=10 sec). The same samples time must apply to I/O signal measurement. These measurements may be delivered in online mode and final calculation of the observers integrals is performed in real time numerically in the last window [t-T, t] for each t, i.e., in numerical version [iΔ-T, iΔ] for each i (with the use of the best integration procedure, e.g., with Simpson’s rule).

There is no real-time computation problem with online calculation of such Moving Window Observer based on (71), (72), and (73). The not very new processor Pentium 4 can perform 3 GFLOPS (floating point operations per 1 sec), i.e., 3 mln FLOP/ 1 msec, while Pentium Core i7 5960X – can perform even 300 GFLOPS. Assuming that PLC cycle time is about 100 msec (sampling time of measurements), it means that during this time Pentium 4 can perform 300 mln FLOP. Two integrals in one observer with two integral windows T, each sampled, e.g., 1000 times, need 2000 multiplications (1000 multiplications of each element, e.g., (t)y(t), and 1000 multiplications of each element, e.g., (t)u(t)) as well as 2000 summation (simplest calculation of integrals based on trapezoid rules). Hence, two observer’s integrals need 8000 floating point operations for single function element. If the SISO system is of order n=10 then the disturbance reconstruction (detection) needs computation power 80 000 FLOP in each sample. This is 3% of Pentium 4 power ratio. The above theoretical and simplified estimation of the computational capabilities of standard PCs has been presented only to justify the applicability of the MWO in the real industrial processes and in online mode. All numerical experiments in this article were carried out in the Matlab/Simulink environment in which numerical integration procedures are performed with the Simpson algorithm.

#### 6. Numerical Example

All the simulation data used to support the findings of this study are included within the article.

Assume that second-order system is given. For this simple system, all the exact observer calculations can be done analytically.

We will derive the exact state x(T) optimal observer formula, for two cases of weighting coefficients *β*=1 and *β*=0.

*The Case of the Observer (a), the Weighting Coefficients *. After some longer calculations, one can obtain that submatrices and from (35) have the formMatrices M and M^{−1} from (33) have the form The optimal observer matrices (in this case vectors) and within the interval [0, T] have the final form as in (32) and are visible in Figure 3.and the observer (a) is given byThe norm (13) of this observer is a function of interval T and as a function of T it is presented in Figure 1.

*The Case of the Observer (b), the Weighting Coefficients *. For this simpler case, the observer matrices are as (47), (48):The optimal observer matrices (in this case vectors) and within the interval [0, T] have the final form as in (47), (48) and are visible in Figure 4.

The norm (13) of this observer is also function of interval T The matrix (74) has the formIt is easy to calculate numerically all elements of matrix differences, e.g., , on [0, T] and then integrate them obtaining the all real matrix D [2x2], and so the matrix [2x2], which in this case is directly equal to the real matrix D^{−1} [2x2].

The shapes of the integral functions (differences) in the matrix D are visible in Figure 5.

Assuming T=2 and using (80) and (84) equations, one can calculate the real matrix D and inv(D) from (87), Simulation of using (58), (59) for some chosen u(t) as well as for some chosen constant disturbances has given value of the errorHence, from (67)Assuming that z_{1}=z_{2}, we have d_{1}=0.75, z_{1}=z_{2}=0.25. These values are the same as those assumed in simulation.

#### 7. Conclusions

In the paper, the quite new methodology of identification of the unknown constant values of the disturbances acting in dynamical control system was presented. To this end, the theory and application of the exact state integral observers were used. The structure of the Moving Window Disturbance Observer, which consists of two MWO, is defined.

It is possible to identify exactly three values of disturbances d_{1}+z_{1}, d_{2}, z_{2}. However, there is also the possibility of identification of the disturbance d_{1} if we assume that constant values of the noises are the same; z_{1}=z_{2} (e.g., if the identified value of z_{2} represents the mean value of the noise z_{2}(t) and the noise z_{1}(t) in the interval T). Then For different signs of z_{1} and z_{2}, there is also possible estimation of the norm of , if we assume that at least the norm of = in L^{2}[0,T] (z_{2} was calculated).

Because we know the value of d_{1} + z_{1}, then we can calculate and estimate the norm ,and estimate the norm of If , then for sure it is true thatHence, because of the constant values of d_{1}, z_{1}, z_{2} we haveor In this paper the general conditions and formulas for the exact observers with minimal norm in L^{2}[0,T] spaces were recalled. In this problem, there is no need for the discussion about the convergence of the method. There is no differential equation (unlike in the Kalman Filter theory). All algorithms are based on integration operations on finite windows, and even for an unstable model, because, of the finite interval of the window, integrals cannot tend to infinity. With nondisturbed y and u measurements, the state of the unstable object will be still reconstructed exactly. In the case of disturbed measurements, there is an error in the reconstruction of the state, not due to the instability of the object, but due to measurement errors. Of course, one must assume that numerical Simpson procedures of integration are correct.

The numerical example (in Matlab/Simulink) confirms the correctness of this new method for the disturbance identification.

#### Data Availability

The data used to support the findings of this study are included within the article.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This work was supported by the scientific research funds from the Polish Ministry of Science and Higher Education within the AGH UST Agreements no 11.11.120.396 and 11.11.120.859.

#### References

- D. G. Luenberger, “Observers for Multivariable Systems,”
*IEEE Transactions on Automatic Control*, vol. 11, no. 2, pp. 190–197, 1966. View at: Publisher Site | Google Scholar - R. E. Kalman, “Contributions to the theory of optimal control,” in
*Proceedings of the Conf. on Ordinary Differential Equation*, vol. 5, Mexico City, 1959. View at: Google Scholar | MathSciNet - R. E. Kalman and R. S. Bucy, “New results in linear filtering and prediction theory,”
*Transactions of the ASME, Journal of Basic Engineering*, vol. 83, p. 95, 1961. View at: Google Scholar | MathSciNet - W. Byrski and S. Fuksa, “Optimal finite parameter observer. An application to synthesis of stabilizing feedback for a linear system,”
*Control and Cybernetics*, vol. 13, no. 1-2, pp. 73–83, 1984. View at: Google Scholar | MathSciNet - S. Fuksa and W. Byrski, “General Approach to Linear Optimal Estimator of Finite Number of Parameters,”
*IEEE Transactions on Automatic Control*, vol. 29, no. 5, pp. 470–472, 1984. View at: Publisher Site | Google Scholar - S. Rolewicz, “On optimal observability of linear systems with infinite-dimensional states,”
*Studia Mathematica*, vol. 44, pp. 411–416, 1972. View at: Publisher Site | Google Scholar | MathSciNet - J. D. Gilchrist and J. D. Gilchrist, “n-Observability for Linear Systems,”
*IEEE Transactions on Automatic Control*, vol. 11, no. 3, pp. 388–395, 1966. View at: Publisher Site | Google Scholar - M. James, “Finite time observers and observability,” in
*Proceedings of the 29th IEEE Conference on Decision and Control*, vol. 2, pp. 770-771, Honolulu, HI, USA, 1990. View at: Publisher Site | Google Scholar - D. H. Chyung, “State variable reconstruction,”
*International Journal of Control*, vol. 39, no. 5, pp. 955–962, 1984. View at: Publisher Site | Google Scholar - F. Pourboghrat and D. H. Chyung, “Exact state-variable reconstruction of delay systems,”
*International Journal of Control*, vol. 44, no. 3, pp. 867–877, 1986. View at: Publisher Site | Google Scholar | MathSciNet - M. Polities, “Exact state Reconstruction in deterministic digital control systems,” Tech. Rep., NASA Technical Paper, 1987. View at: Google Scholar
- A. V. Medvedev and H. T. Toivonen, “Continuous finite-memory deadbeat observer,” in
*Proceedings of the American Control Conference*, p. 1800, 1992. View at: Google Scholar - A. Medvedev, “Fault detection and isolation by functional continuous deadbeat observers,”
*International Journal of Control*, vol. 64, no. 3, pp. 425–439, 1996. View at: Publisher Site | Google Scholar | MathSciNet - W. Nuninger, F. Kratz, and J. Ragot, “Finite Memory Generalised State Observer for failure Detection in Dynamic Systems,” in
*Proceedings of the IEEE Conf. on Decision & Control*, Tampa, USA, 1998. View at: Google Scholar - W. Byrski, “Integral Description of the Optimal State Observers,” in
*Proceedings of the II European Control Conference*, vol. 4, p. 1832, Groningen, Netherlands, 1993. View at: Google Scholar - W. Byrski, “Theory and Application of the Optimal Integral State Observers,” in
*Proceedings of the III European Control Conference. ECC'95*, p. 52, Roma, Italy, 1995. View at: Google Scholar - W. Byrski and P. Kubik, “Integral Observer of Finite State in Heat Equation Approximated by ODE,” in
*Proceedings of the IFAC/IMACS Large Scale Systems Symposium LSS’98*, Patras Greece, 1998. View at: Publisher Site | Google Scholar - W. Byrski, “Optimal State Observers with Moving and Expanding Observation Window,” in
*Proceedings of the IASTED, XII Intern. Conference on Model. & Simul.*, p. 68, Innsbruck, Austria, 1993. View at: Google Scholar - J. Byrski,
*Finite memory algorithms for signal processing in the diagnosis of processes*, AGH UST Scientific Publishers, Krakow, Poland, 2016. - J. Byrski and W. Byrski, “A double window state observer for detection and isolation of abrupt changes in parameters,”
*International Journal of Applied Mathematics and Computer Science*, vol. 26, no. 3, 2016. View at: Publisher Site | Google Scholar - N. R. Clark,
*Fault diagnosis in Dynamic Systems. Theory and Application*, Prentice Hall, 1989. - R. J. Patton, P. M. Frank, and N. R. Clark,
*Fault diagnosis in Dynamic Systems. Theory and Application*, Prentice Hall, 1989. View at: Publisher Site - R. J. Patton, P. M. Frank, and R. N. Clark,
*Issues of Fault Diagnosis for Dynamic Systems*, Springer, 2000. View at: Publisher Site - S.-K. Chang and P.-L. Hsu, “A novel design for the unknown input faults detection observer,”
*Control Theory and Advanced Technology*, vol. 10, no. 4, 1995. View at: Google Scholar | MathSciNet - S. Simani, C. Fantuzzi, and R. J. Patton,
*Model-based Fault Diagnosis in Dynamic Systems Using Identification Techniques*, Springer, 2003. View at: Publisher Site - J. Chen and R. J. Patton,
*Robust Model-Based fault Diagnosis for Dynamic Systems*, Kluwer Academic Pub., 1999. View at: Publisher Site - S. Sundaram and C. N. Hadjicostis, “Delayed observers for linear systems with unknown inputs,”
*IEEE Transactions on Automatic Control*, vol. 52, no. 2, pp. 334–339, 2007. View at: Publisher Site | Google Scholar | MathSciNet - A. Hocine, D. Maquin, and J. Ragot, “Finite memory observer for switching systems: Application to diagnosis,” in
*Proceedings of the Workshop on Advanced Control and Diagnosis*, Karlsruhe, Germany, 2004. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2018 Jędrzej Byrski and Witold Byrski. 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.