Abstract

This paper deals with fault detection in dynamical systems where the state variables evolutions are constrained by inequality constraints. The latter corresponds either to physical limitations or to safety specification. Two classical residual generation approaches are studied, namely, parity space and unknown input observer approaches, and are extended to monitor the inequality constraints. A practical implementation on a real process is performed and permits to validate the relevance of the proposed methods.

1. Introduction

Fault diagnosis is playing a crucial role in modern industrial processes to enhance the dependability of such systems. This has led to the development of a wide variety of model-based approaches such as parity space, observer-based, or parameter identification methods [1, 2].

Dynamical systems are usually modelled by state and measurement equations that represent a set of equality constraints. In many practical applications, the state evolution is constrained by physical laws to stay in a given subspace. Moreover, it is generally required, for safety reasons, that the system works in particular conditions. As a consequence, a set of inequalities that constrain the evolution of the state variables in normal (no-fault) situation may be added to the state equations.

Monitoring a practical application requires not only the detection and isolation of the faults that corrupt the state evolution, but also the checking of the inequality constraints fulfilment. Even if the inequality constraints monitoring is very relevant for practical applications, it has not been extensively studied. The parity space approach has been extended in [3, 4], to this aim. The authors proposed to rewrite the inequalities as added equality constraints, thus to project the extended set of equality constraints in the so-called parity space. This leads to generating new residual signals that may be called inequality constraints residuals (IC-residuals), which should stay positive under a normal situation and become negative when inequalities are corrupted. It has been pointed out that faults that corrupt the inequality constraints do not necessarily corrupt the state equations and thus cannot be detected by classical residuals. In this paper, we came back first on the parity space approach and propose a substitution method to generating the IC-residuals. Then, we propose to use an unknown input observer whose objective is to detect internal and external faults. The conditions to design such full or reduced-order observer are established.

This paper is organised as follows: Section 2 briefly recalls the principle of the parity space approaches, and its extension to inequality constraints. In Section 3, we propose to design unknown input observers to estimate the inequality constraint residuals. In Section 4, a reduced-order observer is proposed. Finally, we show the results of a practical implementation of the two IC-residuals generation approaches on a real process. We conclude the paper with some remarks and orientations of our future work.

2. Preliminaries

Consider a dynamic linear system described byฬ‡๐‘ฅ(๐‘ก)=๐ด๐‘ฅ(๐‘ก)+๐ต๐‘ข(๐‘ก)+๐น1๐‘ฆ๐‘‘(๐‘ก),(๐‘ก)=๐ถ๐‘ฅ(๐‘ก)+๐ท๐‘ข(๐‘ก)+๐น2๐‘‘(๐‘ก),(1) where ๐‘ฅ(๐‘ก)โˆˆโ„œ๐‘›,๐‘ข(๐‘ก)โˆˆโ„œ๐‘Ÿ, and ๐‘ฆ(๐‘ก)โˆˆโ„œ๐‘š are the state, input, and output vectors, respectively. ๐‘‘(๐‘ก)โˆˆโ„œ๐‘˜ represents a fault signal. In the following sections, this kind of fault, which corrupts the state equations, will be qualified as internal fault. Matrices ๐ด,๐ต,๐ถ,๐ท,๐น1, and ๐น2 are known constant matrices of appropriate dimensions.

The purpose of the parity space approach is to generate a residual that will inform us about the state of the studied system. The principle of this approach is to derive the output ๐‘ฆ(๐‘ก) up to order ๐‘ , which leads to the following form:๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ(๐‘ก,๐‘ )=๐ป๐‘ ๐‘ฅ(๐‘ก)+๐น๐‘ ๐ท1(๐‘ก,๐‘ ).(2) WithโŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽ๐‘ฆโ‹ฎ๐‘ฆ๐‘Œ(๐‘ก,๐‘ )=ฬ‡๐‘ฆ(๐‘ )โŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ โŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽ๐‘ขโ‹ฎ๐‘ข,๐‘ˆ(๐‘ก,๐‘ )=ฬ‡๐‘ข(๐‘ )โŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ ,๐ท1โŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽ๐‘‘ฬ‡๐‘‘โ‹ฎ๐‘‘(๐‘ก,๐‘ )=(๐‘ )โŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ ,๐ป๐‘ =โŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽ๐ถโ‹ฎ๐ถ๐ด๐ถ๐ด๐‘ โŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ ,๐บ๐‘ =โŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽ๐ท00โ‹ฏ0๐ถ๐ต๐ท0โ‹ฏ0๐ถ๐ด๐ต๐ถ๐ต๐ทโ‹ฏ0โ‹ฎโ‹ฎโ‹ฑโ‹ฑโ‹ฎ๐ถ๐ด๐‘ โˆ’1โŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ ,๐น๐ตโ‹ฏ๐ถ๐ด๐ต๐ถ๐ต๐ท๐‘ =โŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽ๐น200โ‹ฏ0๐ถ๐น1๐น20โ‹ฏ0๐ถ๐ด๐น1๐ถ๐น1๐น2โ‹ฏ0โ‹ฎโ‹ฎโ‹ฑโ‹ฑโ‹ฎ๐ถ๐ด๐‘ โˆ’1๐น1โ‹ฏ๐ถ๐ด๐น1๐ถ๐น1๐น2โŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ .(3) The unknown variable ๐‘ฅ(๐‘ก) (state vector) may be eliminated using a projection matrix ๐‘Š [5] as follows: ๐‘Š๐ปs=0.(4) The rows of ๐‘Š define the so-called parity space.

The projection of (2) in the parity space leads to the computation form (5) and evaluation form (6) of the residual ๐‘Ÿ(๐‘ก):๐‘Ÿ๎€ท๐‘Œ(๐‘ก)=๐‘Š(๐‘ก,๐‘ )โˆ’๐บs๐‘ˆ๎€ธ(๐‘ก,๐‘ ),(5)๐‘Ÿ(๐‘ก)=๐‘Š๐นs๐ท1(๐‘ก,๐‘ ).(6) The residual ๐‘Ÿ(๐‘ก) is computed using online input and output values (5). ๐‘Ÿ(๐‘ก) will be different from zero in the presence of an internal fault ๐‘‘(๐‘ก) and remains equal to zero in the normal (๐‘‘(๐‘ก)=0) situation.

3. Extension to Dynamical Systems Subject to Inequality Constraints

In practical systems, the system states must stay in a given safe domain during a normal operation. Thus, a set of inequality constraints may be added as follows: ๐ป๐‘ฅ(๐‘ก)โ‰คโ„Ž,(7) where โ„Žโˆˆโ„œ๐‘ž is a constant vector (expresses the saturation level), ๐ป is a real matrix of dimension (๐‘žโ‹…๐‘›), and ๐‘ฅ(๐‘ก) is a state vector of dimension ๐‘›.

Define the following signal ๐‘ฃ(๐‘ก) as ๐‘ฃ(๐‘ก)=โˆ’๐ป๐‘ฅ(๐‘ก)+โ„Ž,(8) where ๐‘ฃ(๐‘ก)โˆˆโ„œ๐‘ž is a real, nonnegative vector. It represents an indicator of the inequality constraint validity (7). ๐‘ฃ(๐‘ก) expresses the distance that separates the inequality constraints from their saturation level. The test diagnosis consists in checking the nonnegativity of the components of ๐‘ฃ(๐‘ก) (i.e., it exist elements ๐‘ฃ๐‘–(๐‘ก)<0), so the constraint ๐‘– is violated, then an alarm signal is generated as a result of a fault. Thus, ๐‘ฃ(๐‘ก) may be considered as an IC-residual.

3.1. Parity Space Approach

In [3, 4], the authors have shown how ๐‘ฃ(๐‘ก) may be computed using the parity space approach.

The constraint equality (8) is added to (2) to obtain๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ(๐‘ก,๐‘ )=๐ป๐‘ ๐‘ฅ(๐‘ก)+๐น๐‘ ๐ท1(๐‘ก,๐‘ ),(9a)๐‘ฃ(๐‘ก)=โˆ’๐ป๐‘ฅ(๐‘ก)+โ„Ž.(9b)Consider the following projection matrix ๐‘Š๐‘: ๐‘Š๐‘โŽกโŽขโŽขโŽฃ๐ป๐‘ ๐น๐‘ โŽคโŽฅโŽฅโŽฆโˆ’๐ป0=0,with๐‘Š๐‘=๎€บ๐‘Š๐‘1,๐‘Š๐‘2๎€ป.(10)๐‘Š๐‘1 and ๐‘Š๐‘2 have appropriate dimensions. Using this partitioning:๐‘Š๐‘1๐ป๐‘ =๐‘Š๐‘2๐‘Š๐ป,๐‘1๐น๐‘ =0.(11) Projecting (9a), (9b) using ๐‘Š๐‘ leads to ๐‘Š๐‘2๐‘ฃ(๐‘ก)=โˆ’๐‘Š๐‘1๐‘Œ(๐‘ก,๐‘ )+๐‘Š๐‘1๐บ๐‘ ๐‘ˆ(๐‘ก,๐‘ )+๐‘Š๐‘2โ„Ž.(12) And one obtains๐‘ฃ(๐‘ก)=๐‘Š+๐‘2๎€ทโˆ’๐‘Š๐‘1๐‘Œ(๐‘ก,๐‘ )+๐‘Š๐‘1๐บ๐‘ ๐‘ˆ(๐‘ก,๐‘ )+๐‘Š๐‘2โ„Ž๎€ธ,(13) where ๐‘Š+๐‘2 is the left pseudoinverse of ๐‘Š๐‘2. So, ๐‘ฃ(๐‘ก) is expressed as a function of the known variables (inputs and outputs).

3.1.1. Substitution Method Design

From (9a), we express the unknown state with the known input and output variables. First, we eliminate the vector ๐ท1(๐‘ก,๐‘ ) of the expression (9a) by a projection matrix ๐‘Š๐‘  such that๐‘Š๐‘ ๐น๐‘ =0(14)๐‘Š๐‘  exists if ๐‘š(๐‘ +1)>rank[๐น๐‘ ]. We obtain the following equation:๐‘Š๐‘ ๎€ท๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ๎€ธ(๐‘ก,๐‘ )=๐‘Š๐‘ ๐ปs๐‘ฅ(๐‘ก).(15) It is assumed that ๐‘Š๐‘ ๐ปs=ฮฉ.

If ฮฉ is regular matrix, then ๐‘ฅ(๐‘ก)=ฮฉโˆ’1๐‘Š๐‘ ๎€ท๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ๎€ธ(๐‘ก,๐‘ )(16) otherwise๐‘ฅ(๐‘ก)=ฮฉ+๐‘Š๐‘ ๎€ท๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ๎€ธ(๐‘ก,๐‘ ),(17) where ฮฉ+=(ฮฉ๐‘‡ฮฉ)โˆ’1ฮฉ๐‘‡a left pseudoinverse of ฮฉ.

Substituting ๐‘ฅ(๐‘ก) in ((9b),๐‘ฃ(๐‘ก)=โˆ’๐ปฮฉ+๐‘Š๐‘ ๎€ท๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ๎€ธ(๐‘ก,๐‘ )+โ„Ž.(18) The advantage of the substitution approach is the evaluation form of the IC-residual ๐‘ฃ(๐‘ก) which is not possible to obtain by the projection method.

The procedure consists in eliminating the matrix [๐ผ๐‘š(๐‘ +1)โˆ’๐บ๐‘ ] using a projection matrix ๐‘Š๐‘‘ as follows:๎‚ƒ๐ผ๐‘š(๐‘ +1)โˆ’๐บ๐‘ ๎‚„โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆ๐‘Œ(๐‘ก,๐‘ )๐‘ˆ(๐‘ก,๐‘ )=๐ป๐‘ ๐‘ฅ(๐‘ก)+๐น๐‘ ๐ท1(๐‘ก,๐‘ ).(19) We obtain ๐‘ฅ(๐‘ก)=โˆ’ฮฉ+๐‘‘๐‘Š๐‘‘๐น๐‘ ๐ท1(๐‘ก,๐‘ ), where ฮฉ๐‘‘=๐‘Š๐‘‘๐ป๐‘ .

By substituting ๐‘ฅ(๐‘ก) in the equation ๐‘ฃ(๐‘ก),๐‘ฃ(๐‘ก)=๐ปฮฉ+๐‘‘๐‘Š๐‘‘๐น๐‘ ๐ท1(๐‘ก,๐‘ )+โ„Ž.(20) The fault vector ๐ท1(๐‘ก,๐‘ ) can be expressed with the inputs and outputs variables by eliminating the state vector with projection matrix ๐‘Š. From (9a), find ๐‘Š such that ๐‘Š๐ป๐‘ =0:๐‘Š๎€ท๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ๎€ธ(๐‘ก,๐‘ )=๐‘Š๐น๐‘ ๐ท1(๐‘ก,๐‘ )(21)๐‘Š exists if ๐‘š(๐‘ +1)>rank[๐ป๐‘ ],๐ท1(๐‘ก,๐‘ )=ฮ“+๐‘Š๎€ท๐‘Œ(๐‘ก,๐‘ )โˆ’๐บ๐‘ ๐‘ˆ๎€ธ(๐‘ก,๐‘ )(22)ฮ“=๐‘Š๐น๐‘ , ฮ“+ is the left pseudoinverse of ฮ“.

3.2. Unknown Input Observer Approach

In the literature, many well-known results are available for the design of a state observer [6โ€“10]. The simplicity of its design and the resolution of the difficulty imposed by missing measurements make the observer an attractive general design component [11]. We are interested here in designing an unknown input inequality constraint observer for linear systems subject to inequality constraints. Few works are interested in this problem and are not used in diagnosis. So, we propose an original design based on a constraint observer approach.

Consider a linear system described by ๐‘ฆฬ‡๐‘ฅ(๐‘ก)=๐ด๐‘ฅ(๐‘ก)+๐ต๐‘ข(๐‘ก)+๐น๐‘‘(๐‘ก),(๐‘ก)=๐ถ๐‘ฅ(๐‘ก),๐‘ฃ(๐‘ก)=โˆ’๐ป๐‘ฅ(๐‘ก)+โ„Ž.(23) It is assumed that the matrix ๐น is full column rank and that the pair (๐ด,๐ถ) is observable.

3.2.1. Constraint Observer Design

We propose an estimation of the IC-residual ๐‘ฃ(๐‘ก).

To determine ฬ‚๐‘ฃ(๐‘ก), we can estimate the state vector ๐‘ฅ(๐‘ก) as follows: ฬ‚๐‘ฃ(๐‘ก)=โˆ’๐ปฬ‚๐‘ฅ(๐‘ก)+โ„Ž,(24)ฬ‚๐‘ฃ(๐‘ก) and ฬ‚๐‘ฅ(๐‘ก) represent the estimates of ๐‘ฃ(๐‘ก) and ๐‘ฅ(๐‘ก), respectively.

The test diagnosis consists in checking the nonnegativity of vector ฬ‚๐‘ฃ(๐‘ก).

As it is shown above, we have estimated the entire state ๐‘ฅ(๐‘ก) to obtain ฬ‚๐‘ฃ(๐‘ก). This is not always necessary as sometimes there are constraints that do not use all the states. Therefore, we construct an observer that estimates directly the constraints. This observer is called constraint observer. It is written in the following form:ฬ‚๐‘ฃฬ‡๐œ”(๐‘ก)=๐‘๐œ”(๐‘ก)+๐ฟ๐‘ฆ(๐‘ก)+๐บ๐‘ข(๐‘ก),1(๐‘ก)=๐œ”(๐‘ก)+๐ธ๐‘ฆ(๐‘ก).(25) We assume that ๐‘ฃ1(๐‘ก)=๐‘ฃ(๐‘ก)โˆ’โ„Ž and ฬ‚๐‘ฃ1ฬ‚(๐‘ก)=๐‘ฃ(๐‘ก)โˆ’โ„Ž.

๐œ”(๐‘ก): state vector of observer and matrices ๐‘,๐ฟ,๐บ, and ๐ธ are to be designed so that ฬ‚๐‘ฃ1(๐‘ก) asymptotically estimates ๐‘ฃ1ฬ‚๐‘ฃ(๐‘ก)(1(๐‘ก)โ†’๐‘ฃ1(๐‘ก)).

Let an error vector ๐‘’(๐‘ก) be defined as ฬ‚๐‘ฃ๐‘’(๐‘ก)=1(๐‘ก)โˆ’๐‘ฃ1(๐‘ก)=๐œ”(๐‘ก)+๐ธ๐‘ฆ(๐‘ก)+๐ป๐‘ฅ(๐‘ก).(26) Hence,ฬ‡ฬ‚๐‘ฃฬ‡๐‘’(๐‘ก)=1ฬ‡๐‘ฃ(๐‘ก)โˆ’1(๐‘ก)=ฬ‡๐œ”(๐‘ก)+๐ธฬ‡๐‘ฆ(๐‘ก)+๐ปฬ‡๐‘ฅ(๐‘ก)=(๐ป+๐ธ๐ถ)ฬ‡๐‘ฅ(๐‘ก)+ฬ‡๐œ”(๐‘ก)=(๐ป+๐ธ๐ถ)(๐ด๐‘ฅ(๐‘ก)+๐ต๐‘ข(๐‘ก)+๐น๐‘‘(๐‘ก))+๐‘๐œ”(๐‘ก)+๐บ๐‘ข(๐‘ก)+๐ฟ๐ถ๐‘ฅ(๐‘ก).(27) We assume ๐‘ƒ=๐ป+๐ธ๐ถ.(28) And replace ๐œ”(๐‘ก)=๐‘’(๐‘ก)โˆ’๐‘ƒ๐‘ฅ(๐‘ก) into (27), so error dynamic ฬ‡๐‘’(๐‘ก) is equal toฬ‡๐‘’(๐‘ก)=๐‘๐‘’(๐‘ก)+(๐‘ƒ๐ด+๐ฟ๐ถโˆ’๐‘๐‘ƒ)๐‘ฅ(๐‘ก)+(๐‘ƒ๐ต+๐บ)๐‘ข(๐‘ก)+๐‘ƒ๐น๐‘‘(๐‘ก).(29) To obtain an error dynamic independent of ๐‘ฅ(๐‘ก), ๐‘ข(๐‘ก), and ๐‘‘(๐‘ก) as the form, ฬ‡๐‘’(๐‘ก)=๐‘๐‘’(๐‘ก) with ๐‘ being a Hurwitz (stability) matrix, the following conditions are to be satisfied:๐‘๐‘ƒ=๐‘ƒ๐ด+๐ฟ๐ถ,(30a)๐‘ƒ๐ต+๐บ=0,(30b)๐‘ƒ๐น=0,(30c)๐‘ƒ=๐ป+๐ธ,(30d)๐‘ is stable.

This is to guarantee the convergence of ๐‘’(๐‘ก)(๐‘’(๐‘ก)โ†’0as๐‘กโ†’โˆž).

The well-known necessary and sufficient conditions [8] for the existence of this unknown input observer are [][๐น]rank๐ถ๐น=rank,(31)Pair((๐‘ƒ๐ด),๐ถ)isobservable.(32) Condition (31) is deduced from (30c) by replacing ๐‘ƒ by its expression: ๐‘ƒ=๐ป+๐ธ๐ถ. Condition (32) is deduced from (30a). A similar proof is given in detail in the next section.

If conditions (30a)โ€“(30d), (31), and (32) are fulfilled, the matrix ๐‘ is found: ๐‘=๐‘ƒ๐ดโˆ’๐พ๐ถ with ๐พ being a gain matrix chosen so that the pair ((๐‘ƒ๐ด),๐ถ) is observable. The gain ๐พ can be chosen by a variety of optimisation or pole placement technique; see [12].

From (30a)โ€“(30d), the matrix ๐ฟ is determined:๎€ท๐ฟ=โˆ’๐พ+๐‘๐‘ƒ๐ถ+โˆ’๐ถ+๎€ธ.(33)

3.2.2. Reduced-Order Constraint Observers

Now, we construct an observer which takes into account that a part of the state is given by system outputs and so it is already available by direct measurement. An observer of lower dimension called reduced-order observer [11] can be designed.

It can also be assumed that the matrix ๐ถ takes the form [๐ถ=๐ผ๐‘š0]. ๐ถ is partitioned into an ๐‘šโˆ—๐‘š identity matrix and ๐‘šโˆ—(๐‘›โˆ’๐‘š) zero matrix. The proposed reduced-constraint observer has a lower-order ๐‘ž, where ๐‘žโ‰ค๐‘›โˆ’๐‘š. Its design requires to decompose the matrices ๐ด,๐น, and ๐ป as follows:โŽกโŽขโŽขโŽฃ๐ด๐ด=11๐ด12๐ด21๐ด22โŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃ๐น,๐น=1๐น2โŽคโŽฅโŽฅโŽฆ๎‚ƒ๐ป,๐ป=1๐ป2๎‚„(34) with ๐ด11โˆˆโ„œ๐‘šโˆ—๐‘š,๐ด12โˆˆโ„œ๐‘šโˆ—(๐‘›โˆ’๐‘š),๐ด21โˆˆโ„œ(๐‘›โˆ’๐‘š)โˆ—๐‘š,๐ด22โˆˆโ„œ(๐‘›โˆ’๐‘š)โˆ—(๐‘›โˆ’๐‘š),๐น1โˆˆโ„œ๐‘šโˆ—๐‘˜,๐น2โˆˆโ„œ(๐‘›โˆ’๐‘š)โˆ—๐‘˜,๐ป1โˆˆโ„œ๐‘žโˆ—๐‘š,๐ป2โˆˆโ„œ๐‘žโˆ—(๐‘›โˆ’๐‘š).(35) By substituting these matrices in (30a)โ€“(30d) and decomposing the matrix ๐‘ƒ as follows: [๐‘ƒ=๐‘ƒ1๐‘ƒ2] with ๐‘ƒ1โˆˆโ„œ๐‘žโˆ—๐‘š and ๐‘ƒ2โˆˆโ„œ๐‘žโˆ—(๐‘›โˆ’๐‘š), we obtain๐ฟ+๐‘ƒ1๐ด11+๐‘ƒ2๐ด21=๐‘๐‘ƒ1,(36a)๐‘๐‘ƒ2=๐‘ƒ1๐ด12+๐‘ƒ2๐ด22๐‘ƒ,(36b)๐‘ƒ๐ต=โˆ’๐บ,(36c)1๐น1+๐‘ƒ2๐น2๐ป=0,(36d)2=๐‘ƒ2๐ป,(36e)1+๐ธ=๐‘ƒ1.(36f)The necessary and sufficient conditions for the existence of such reduced observer are given by the following proposition:๎€บrankโˆ’๐ป2๐น2๎€ป๎€บ๐น=rank1๎€ป,(37)๎€ท๐พPair1,๐พ2๎€ธisobservable.(38)

Proof. From (36e) and (36d), we obtain ๐‘ƒ1๐น1=โˆ’๐ป2๐น2.(39)๐‘ƒ1 exists if rank[โˆ’๐ป2๐น2]=rank[๐น1].
Now, we can write ๐‘ƒ1 as follows [13]: ๐‘ƒ1=โˆ’๐ป2๐น2๐น+1๎€ท๐ผ+๐‘๐‘šโˆ’๐น1๐น+1๎€ธ,(40) where ๐‘ is an arbitrary matrix of appropriate dimension and ๐น+1 is the generalized inverse of ๐น1(๐น+1=(๐น๐‘‡1๐น1)โˆ’1๐น๐‘‡1).
From (36b), we obtain ๐‘=๐‘ƒ1๐ด12๐ป+2+๐ป2๐ด22๐ป+2,(41)๐ป+2 is the generalized inverse of ๐ป2. Substitute (40) into (41); it gives ๐‘=๐พ1โˆ’๐‘๐พ2.(42) With ๐พ1=๐ป2๎€ทโˆ’๐น2๐น+1๐ด12+๐ด22๎€ธ๐ป+2,๐พ2=๎€ท๐น1๐น+1โˆ’๐ผ๐‘š๎€ธ๐ด12๐ป+2.(43) Matrix ๐‘ is chosen so that matrix ๐‘ is stable. This condition is fulfilled if the pair (๐พ1,๐พ2) is observable [8, 10].
The matrices ๐บ,๐ฟ, and ๐ธ are obtained from (36a)โ€“(36f).

Remark 1. A continuous time model in state space form is used, but all the results are easily transcribed in discrete time.

4. Application to Tank System

Consider the tank system of laboratory ACS depicted in Figure 1. The cylindrical tanks ๐‘…1,๐‘…2,๐‘…3, and ๐‘…๐‘  are connecting by pipes. A pump ๐‘ƒ (nova 180) distributes water from the tank ๐‘…๐‘  in both reservoirs ๐‘…1 and ๐‘…3 through two electrovalves ๐‘‰1 and ๐‘‰2. Three level sensors (vega 61) measure the water levels โ„Ž๐‘– of the three tanks.

Since there is a hardware problem with the valve ๐‘‰23 connect ๐‘…2 to ๐‘…3, only the tanks ๐‘…1 and ๐‘…2 are used (Figure 2). The purpose of the tank system is to provide a continuous water flow ๐‘ž(๐‘ก) to a consumer.

The dynamic process of the water tank system can be illustrated by the model (44). It is written using the โ€œmass balanceโ€ equations: ๐‘†1โ‹…๐‘‘โ„Ž1(๐‘ก)๐‘‘๐‘ก=๐‘ž๐‘ข(๐‘ก)โˆ’๐‘ž12(๐‘ก)โˆ’๐‘ž1๐‘†(๐‘ก),2โ‹…๐‘‘โ„Ž2(๐‘ก)๐‘‘๐‘ก=๐‘ž12(๐‘ก)โˆ’๐‘ž2๐‘ฆ(๐‘ก),1(๐‘ก)=โ„Ž1๐‘ฆ(๐‘ก),2(๐‘ก)=โ„Ž2(๐‘ก),(44) where ๐‘ž๐‘ข(๐‘ก)=๐‘ข(๐‘ก),(45) represents the pump flow.๐‘ž๐‘–(๐‘ก)=๐œ‡๐‘–๐‘†๐‘โ‹…โˆš2โ‹…๐‘”โ‹…โ„Ž๐‘–(๐‘ก)โ‹…(1โˆ’๐‘‘(๐‘ก)),(46) represents the water flow evacuated from the tank ๐‘…๐‘–(๐‘–=1,2), ๐‘‘(๐‘ก) is the fault โ€œclogging valve, ๐‘‘(๐‘ก)=1โ€ otherwise 0 (healthy system), ๐‘ž12(๐‘ก) represents the water flow between tanks ๐‘…1 and ๐‘…2, which according to Torricelliโ€™s rule is given by๐‘ž12(๐‘ก)=๐œ‡12๐‘†๐‘๎€ทโ„Žโ‹…sign1(๐‘ก)โˆ’โ„Ž2๎€ธ๎”(๐‘ก)||โ„Ž2โ‹…๐‘”โ‹…1(๐‘ก)โˆ’โ„Ž2||(๐‘ก).(47) We additionally assume that the model of the system is not exactly known. Indeed, the output flow coefficients ๐œ‡๐‘– and ๐œ‡12 are regarded as uncertain constant coefficients.

The values parameters of the tanks system are defined in Table 1.

The system (44) is linearised around its operating point and discretised for a sampling period ๐‘‡=1s.

The water level in the supply tank ๐‘…1 and the middle tank R2 has to be maintained at a level:โ„Ž1โ„Ž<0.23m,2<0.17m.(48) We get โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃ0โŽคโŽฅโŽฅโŽฆโ„Ž(๐‘˜+1)=0.99290.00250.0020.9971โ„Ž(๐‘˜)+20.2429๐‘ข(๐‘˜)+10โˆ’3โŽกโŽขโŽขโŽฃ0โŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆ.0.8239๐‘‘(๐‘˜),๐‘ฆ(๐‘˜)=1001โ„Ž(๐‘˜),๐‘ฃ(๐‘˜)=โˆ’100โˆ’1โ„Ž(๐‘˜)+0.230.17(49) We consider a window observation [๐‘˜,๐‘˜+2]. Both substitution and projection methods lead to the same IC-residual ๐‘ฃ๐‘ (๐‘˜). Thus, we have ๐‘ฃ๐‘ โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆ(๐‘˜)=โˆ’1โˆ’0.01300.000700.0007โˆ’0.00130.3353โˆ’0.00070.334300.3333ร—๐‘Œ(๐‘˜,2)+10โˆ’17โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆ+โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆ.โˆ’0.0007โˆ’0.00030โˆ’0.5204โˆ’0.14860๐‘ˆ(๐‘˜,2)0.230.17(50) Using (5), we obtain the residual ๐‘Ÿ(๐‘˜): โŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽโŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ โŽ›โŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽœโŽโŽžโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽŸโŽ ๐‘Ÿ(๐‘˜)=0.66190.0016โˆ’0.33570.0010โˆ’0.33330.00030.00160.66470.0007โˆ’0.3343โˆ’0.0003โˆ’0.3333โˆ’0.33570.00070.6667โˆ’0.0000โˆ’0.3310โˆ’0.00070.0010โˆ’0.3343โˆ’0.00000.6667โˆ’0.0010โˆ’0.3324โˆ’0.3333โˆ’0.0003โˆ’0.3310โˆ’0.00100.6714โˆ’0.00160.0003โˆ’0.3333โˆ’0.0007โˆ’0.3324โˆ’0.00160.6686๐‘Œ(๐‘˜,2)โˆ’โˆ’13.4946โˆ’6.74710โˆ’0.0064โˆ’0.006306.8437โˆ’6.69940โˆ’0.0331โˆ’0.019706.795213.59080โˆ’0.0195โˆ’0.03290๐‘ˆ(๐‘˜,2).(51)Now, we assume that the level sensor of tank ๐‘…2 is broken, so the only water level โ„Ž1 in the tank ๐‘…1 is measured. Consequently, the output variable is written in the following form:๎‚ƒ๎‚„๐‘ฆ(๐‘˜)=10โ„Ž(๐‘˜);๐ถ1=๎‚ƒ๎‚„10.(52) Using (30a)โ€“(30d), the constraint observer system is โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆฬ‚๐‘ฃ๐œ”(๐‘˜+1)=โˆ’0.3000.9971๐œ”(๐‘˜)+00โˆ’0.0020๐‘ฆ(๐‘˜),1(โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆ๐‘˜)=๐œ”(๐‘˜)+โˆ’1000๐‘ฆ(๐‘˜)(53) and the existence conditions of the observer are fulfilled:๎‚ƒ๐ถrank1๐น๎‚„[๐น]=rank=1.(54) The pair ((๐‘ƒ๐ด),๐ถ1) is observable. It can be tested by using the smith form [14, 15]: โŽกโŽขโŽขโŽฃrank๐‘ง๐ผ2๐ถโˆ’๐‘ƒ๐ด1โŽคโŽฅโŽฅโŽฆ=2,(55) where ๐‘ง is the operator variable of ๐‘ง-transform.

Now, a reduced-order observer is designed. The purpose is to estimate only the nonmeasurable constraint that monitors the water level in the second tank ๐‘…2. It requires to decompose the matrices ๐ป,๐‘ƒ,๐ด, and ๐น as follows:๎‚ƒ๐ป๐ป=1๐ป2๎‚„=๎‚ƒ๎‚„โŽกโŽขโŽขโŽฃ๐น0โˆ’1,๐น=1๐น2โŽคโŽฅโŽฅโŽฆ=10โˆ’3โŽกโŽขโŽขโŽฃ0โŽคโŽฅโŽฅโŽฆ,โŽกโŽขโŽขโŽฃ๐ด0,8239๐ด=11๐ด12๐ด21๐ด22โŽคโŽฅโŽฅโŽฆ=โŽกโŽขโŽขโŽฃโŽคโŽฅโŽฅโŽฆ.0.99290.00250.0020.9971(56) By applying (36a)โ€“(36f), the matrices of the observer are๎‚ƒ๎‚„๐‘ƒ=0โˆ’1,๐‘=0.9971,๐ฟ=0.002,๐ธ=0,๐บ=0.(57) So, the dynamical observer isฬ‚๐‘ฃ๐œ”(๐‘˜+1)=0.9971๐œ”(๐‘˜)+0.002๐‘ฆ(๐‘˜),1(๐‘˜)=๐œ”(๐‘˜).(58)

4.1. Experimental Results

The monitoring algorithms are implemented on the real process described in Figure 1. Two kinds of faults are introduced in the process:(i)Fault 1: clogging of the output valve,(ii)Fault 2: pump flow.

4.1.1. Fault 1

For the flow pump ๐‘ž๐‘ข(๐‘ก)โ€‰=โ€‰4.94โ€‰ร— 10โˆ’5โ€‰m3ยทsโˆ’1, the system stabilizes to water level โ„Ž1=0.197โ€‰m for the tank ๐‘…1 and โ„Ž2=0.136โ€‰m for the tank ๐‘…2. The clogging of the output valve between time 1530โ€‰s and 2761โ€‰s increases the water levels โ„Ž1 and โ„Ž2 and shows in Figure 3 an abnormal situation.

Also, the equality residuals ๐‘Ÿ๐‘–(๐‘˜) become sensitive to this fault. Figure 4 shows that the residuals are disturbed between time 1530โ€‰s and 2761โ€‰s. Since they are noisy, an analysis signal technique must be used to improve the fault diagnosis [16].

It is seen that the IC-residuals ๐‘ฃ(๐‘˜) (Figure 5) generated by parity and observer approaches become negative in the time window [1530โ€‰s,2761โ€‰s]. Hence, the inequality constraints are violated. Thus, the fault is detected.

4.1.2. Fault 2

In normal operation, the flow pump is ๐‘ž๐‘ข(๐‘˜)=4.94ร— 10โˆ’5โ€‰m3ยทsโˆ’1. We have introduced a fault in the pump; it consists in increasing its flow ๐‘ž๐‘ข1(๐‘˜)=1.027ร— 10โˆ’4โ€‰m3ยทsโˆ’1 between time 1705โ€‰s and 2382โ€‰s. The water levels โ„Ž1 and โ„Ž2 increase and show in Figure 6 an abnormal situation.

We remark (Figure 7) that the equality residuals are not very sensitive to this kind of fault. An analysis signal technique must be used to provide a good decision.

However, Figure 8 shows that the IC-residuals ๐‘ฃ(๐‘˜) become negative. This implies the violation of the inequality constraints which are due to the presence of a fault. So, the IC-residuals provide a good fault detection.

5. Conclusion

In this paper, the advantages provided by the IC-residual to fault detection have been shown. A substitution parity space technique has been proposed in order to express the IC-residual in the evaluation form. Full and reduced-order unknown input constraint observers are designed for the monitoring system. The obtained results are encouraging and similar to those obtained by parity space approach. It has been noted that the IC-residual detects the external faults not considered in the system model. An online implementation of IC-residual on a real process is performed and permits to validate the relevance of the proposed methods.

Our future work will involve the improvement of the fault diagnosis and the fault tolerant control by reducing the fault detection delay.

Acknowledgments

The authors would like to thank Professor Vincent Cocquempot at the University of Lille for the discussion and helpful comments. They also thank the valuable comments and suggestions received from the reviewers of this paper.