Robust identification and fault diagnosis based on uncertain multiple. input multiple output linear parameter varying parity equations and zonotopes

Similar documents
Characterization of the Minimum Detectable Fault of Interval Observers by using Set-invariance Theory

Set-valued Observer-based Active Fault-tolerant Model Predictive Control

Robustness analysis of sensor placement for leak detection and location under uncertain operating conditions

MODEL-BASED fault detection and isolation

Reduced-order Interval-observer Design for Dynamic Systems with Time-invariant Uncertainty

Closed-loop Actuator-fault Detection and Isolation using Invariant Sets and Tubes

FDI and FTC of Wind Turbines using the Interval Observer Approach and Virtual Actuators/Sensors

Sensor-fault Tolerance using Robust MPC with Set-based State Estimation and Active Fault Isolation

AFAULT diagnosis procedure is typically divided into three

Actuator-fault Detection and Isolation based on Interval Observers and Invariant Sets

Technical University of Catalonia (UPC) Llorens i Artigas, 4-6, 2nd floor 08028, Barcelona, Spain

Approximating fault detection linear interval observers using -order interval predictors

Handling parametric and non-parametric additive faults in LTV Systems

Model Based Fault Detection and Diagnosis Using Structured Residual Approach in a Multi-Input Multi-Output System

MODEL BASED FAULT DIAGNOSIS IN PEM FUEL CELL SYSTEMS

Least Squares. Ken Kreutz-Delgado (Nuno Vasconcelos) ECE 175A Winter UCSD

Robust Fault Tolerant Control Framework using Uncertain. Takagi-Sugeno Fuzzy Models

Robust Actuator Fault Detection and Isolation in a Multi-Area Interconnected Power System

ROBUST FAULT ISOLATION USING NON-LINEAR INTERVAL OBSERVERS: THE DAMADICS BENCHMARK CASE STUDY. Vicenç Puig, Alexandru Stancu, Joseba Quevedo

Active Fault Diagnosis for Uncertain Systems

Fault Detection and Isolation for a Wind Turbine Benchmark using a mixed Bayesian/Set-membership Approach

FAULT DETECTION AND FAULT TOLERANT APPROACHES WITH AIRCRAFT APPLICATION. Andrés Marcos

Diagnosis of PEM fuel cell stack based on magnetic fields measurements

Application of Adaptive Thresholds in Robust Fault Detection of an Electro- Mechanical Single-Wheel Steering Actuator

Active Diagnosis of Hybrid Systems Guided by Diagnosability Properties

ACTUATOR FAULT-TOLERANT CONTROL DESIGN BASED ON RECONFIGURABLE REFERENCE INPUT

A COMBINED QUALITATIVE/QUANTITATIVE APPROACH FOR FAULT ISOLATION IN CONTINUOUS DYNAMIC SYSTEMS

UTILIZING PRIOR KNOWLEDGE IN ROBUST OPTIMAL EXPERIMENT DESIGN. EE & CS, The University of Newcastle, Australia EE, Technion, Israel.

Fault Detection and Diagnosis for a Three-tank system using Structured Residual Approach

Identification of a Chemical Process for Fault Detection Application

Erik Frisk and Lars Nielsen

CHAPTER 5 ROBUSTNESS ANALYSIS OF THE CONTROLLER

A Multiple-Observer Scheme for Fault Detection, Isolation and Recovery of Satellite Thrusters

Two-layer Scheduling Scheme for Pump Stations*

Onboard Engine FDI in Autonomous Aircraft Using Stochastic Nonlinear Modelling of Flight Signal Dependencies

INTEGRATED ARCHITECTURE OF ACTUATOR FAULT DIAGNOSIS AND ACCOMMODATION

12.4 Known Channel (Water-Filling Solution)

Previously on TT, Target Tracking: Lecture 2 Single Target Tracking Issues. Lecture-2 Outline. Basic ideas on track life

Model-based Fault Diagnosis Techniques Design Schemes, Algorithms, and Tools

Likelihood Bounds for Constrained Estimation with Uncertainty

State estimation and fault detection of uncertain systems based on an interval approach

Fault Detection and Isolation of the Wind Turbine Benchmark: an Estimation-based Approach

Stabilization of Higher Periodic Orbits of Discrete-time Chaotic Systems

Non-linear Economic Model Predictive Control of Water Distribution Networks

IBM Research Report. Identifying Leakage Likelihood Using State Estimation and Bad Data Identification Methods

Hybrid automaton incremental construction for online diagnosis

Stability Analysis of Linear Systems with Time-varying State and Measurement Delays

Basic Concepts in Data Reconciliation. Chapter 6: Steady-State Data Reconciliation with Model Uncertainties

LPV Model-Based Fault Diagnosis Using Relative Fault Sensitivity Signature Approach in a PEM Fuel Cell

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

1 Introduction 198; Dugard et al, 198; Dugard et al, 198) A delay matrix in such a lower triangular form is called an interactor matrix, and almost co

MOST control systems are designed under the assumption

Economic MPC with Periodic Terminal Constraints of Nonlinear Differential-Algebraic-Equation Systems: Application to Drinking Water Networks

Fault tolerant tracking control for continuous Takagi-Sugeno systems with time varying faults

The 2-valued case of makespan minimization with assignment constraints

On-off Control: Audio Applications

FERMENTATION BATCH PROCESS MONITORING BY STEP-BY-STEP ADAPTIVE MPCA. Ning He, Lei Xie, Shu-qing Wang, Jian-ming Zhang

P. Bruschi - Notes on Mixed Signal Design

Supplemental Material : A Unified Framework for Multi-Target Tracking and Collective Activity Recognition

Temporal-Difference Q-learning in Active Fault Diagnosis

Adaptive fuzzy observer and robust controller for a 2-DOF robot arm

Cross Directional Control

Simultaneous state and input estimation with partial information on the inputs

EXTENDED GLRT DETECTORS OF CORRELATION AND SPHERICITY: THE UNDERSAMPLED REGIME. Xavier Mestre 1, Pascal Vallet 2

Disturbance Decoupled Fault Reconstruction using Sliding Mode Observers

EUSIPCO

On Identification of Cascade Systems 1

Parameterized Joint Densities with Gaussian Mixture Marginals and their Potential Use in Nonlinear Robust Estimation

Fault Tolerant Control of Wind Turbines using Unknown Input Observers

Actuator Fault Tolerant PID Controllers

Risk Analysis of Highly-integrated Systems

A simple approach to real-time fault detection and diagnosis in base-isolation systems

Advanced Methods for Fault Detection

Machine Learning Linear Classification. Prof. Matteo Matteucci

Actuator Fault-Tolerant Control based on Set Separation

SOLVING POWER AND OPTIMAL POWER FLOW PROBLEMS IN THE PRESENCE OF UNCERTAINTY BY AFFINE ARITHMETIC

Min-max-min robustness: a new approach to combinatorial optimization under uncertainty based on multiple solutions 1

An Architecture for Fault Tolerant Controllers

SECTION: CONTINUOUS OPTIMISATION LECTURE 4: QUASI-NEWTON METHODS

Minimum Repair Bandwidth for Exact Regeneration in Distributed Storage

Fault Detection and Diagnosis of an Electrohydrostatic Actuator Using a Novel Interacting Multiple Model Approach

State Estimation by IMM Filter in the Presence of Structural Uncertainty 1

Static-Priority Scheduling. CSCE 990: Real-Time Systems. Steve Goddard. Static-priority Scheduling

Cautious Data Driven Fault Detection and Isolation applied to the Wind Turbine Benchmark

Multiple integrals: Sufficient conditions for a local minimum, Jacobi and Weierstrass-type conditions

A brief introduction to robust H control

Modelling and Decentralized Model Predictive Control of Drinking Water Networks

Advanced Aerospace Control. Marco Lovera Dipartimento di Scienze e Tecnologie Aerospaziali, Politecnico di Milano

Adaptive Threshold Generation in Robust Fault Detection using Interval Models: Time and Frequency Domain Approaches

Linear MIMO model identification using an extended Kalman filter

Process Modelling, Identification, and Control

HIGHER-ORDER SLIDING MODE TECHNIQUES FOR FAULT DIAGNOSIS

Applications of Fault Detection Methods to Industrial Processes

DIAGNOSIS OF DISCRETE-TIME SINGULARLY PERTURBED SYSTEMS BASED ON SLOW SUBSYSTEM

Neural networks: Associative memory

Run-to-Run MPC Tuning via Gradient Descent

IEOR 265 Lecture 14 (Robust) Linear Tube MPC

Water demand forecasting for the optimal operation of large-scale drinking water networks: The Barcelona Case Study.

Newton-like method with diagonal correction for distributed optimization

Modeling and Predicting Chaotic Time Series

Transcription:

Robust identification and fault diagnosis based on uncertain multiple input multiple output linear parameter varying parity equations and zonotopes Joaquim Blesa a, Vicenç Puig a,b and Jordi Saludes a a Advanced Control Systems Group, Universitat Politècnica de Catalunya, Pau Gargallo, 5, 828 Barcelona, Spain. (e-mail: joaquim.blesa@upc.edu) b IRI Institut de Robòtica i Informàtica Industrial (CSIC-UPC), Carrer Llorens Artigas, 4-6, 828 Barcelona, Spain Abstract: We present a robust fault diagnosis method for uncertain multiple input multiple output (MIMO) linear parameter varying (LPV) parity equations. The fault detection methodology is based on checing whether measurements are inside the prediction bounds provided by the uncertain MIMO LPV parity equations. The proposed approach taes into account existing couplings between the different measured outputs. Modelling and prediction uncertainty bounds are computed using zonotopes. Also proposed is an identification algorithm that estimates model parameters and their uncertainty such that all measured data free of faults will be inside the predicted bounds. The fault isolation and estimation algorithm is based on the use of residual fault sensitivity. Finally, two case studies (one based on a water distribution networ and the other on a four-tan system) illustrate the effectiveness of the proposed approach. Keywords: Fault Detection, Isolation and Estimation. Linear Parameter Varying Model, Sensitivity Matrix.. INTRODUCTION Model-based fault diagnosis is based on the use of mathematical models of the monitored system. Currently, most of the existing approaches that have been investigated and developed over the last few years are based on linear models (Gertler, 998)(Chen and Patton, 998)(Isermann, 26)(Blane et al., 26)(Ding, 28). However, physical systems are inherently non-linear. This has motivated the interest of researchers in the development and application of non-linear FDI methodologies (Boor et al., 22). LPV models can be used to efficiently represent some nonlinear systems (Shamma and Cloutier, 993). This is the reason why Fault Detection and Isolation (FDI) research community has recently addressed the development of --

model-based methods using the LPV approach (see Boor, 29 for a recent survey). But, even with the use of LPV models, modelling errors are present. Reliability and performance of fault diagnosis algorithms depend on the quality of the model used. Thus, since modelling errors introduce uncertainty in the model, they interfere with the fault detection. A fault detection algorithm able to handle uncertainty is called robust and its robustness is the degree of sensitivity to faults compared to the degree of sensitivity to uncertainty. The effect of noise on the model-based fault detection is well understood using statistical approaches (Basseville and Niiforov, 993). However, in many situations, the random nature of noise is unnown what maes difficult the use of statistical methods and has led to an alternative description of the noise based on what is nown as unnown but bounded noise description (Milanese et al., 996). Moreover, not only noise but also modelling errors should be taen into account. Modelling errors inclusion in the statistical methods is far from being trivial. For all these reasons, the research on robust fault detection methods that requires only nowledge about bounds in noise and parameters (modelling errors) has been very active in the FDI community (Fagarasan et al., 24; Puig et al., 28; Sainz et al., 22; Ploix and Adrot, 26; Reppa and Tzes 29; Combastel and Raa 29; Combastel et al., 28; Raissi et al., 2). These methods, nown as set-membership, follow the passive robust approach (Chen and Patton, 999) by enhancing the fault detection robustness at the decision-maing stage using an adaptive threshold. This adaptive threshold is generated by considering the set of model trajectories that can be obtained by varying the uncertain parameters within their intervals. The contribution of this paper is to present a fault diagnosis method for systems that can be described by MIMO LPV models with a set-membership description of the noise and parametric uncertainty. The proposed approach covers fault detection, isolation and estimation stages. The fault detection methodology uses the parity equation formulation (see Gertler (998)) expressing the model in regressor (ARX) form. Fault detection relies on comparing on-line the real system behaviour of the monitored system obtained by means of sensors with the estimated behaviour using the MIMO LPV model including the effects of noise and parametric uncertainty. In particular, the parametric uncertainty bounded by a zonotope is propagated to the residuals determining their alarm limits bounded by a zonotope as well. When the residuals are outside of the zonotope that defines the alarm limits, it is argued that model uncertainty alone can not explain the residual and it is assumed that a fault could have occurred. In this way, the robustness of the fault detection approach is achieved in a passive way contrarily to the active approaches that try to decouple the effect of the uncertainty on the residual (Chen and Patton, 999). The passive approach has the drawbac that faults that produce a residual deviation smaller than the residual uncertainty due to parameter uncertainty will not be detected (missed alarms). But on the other hand, if noise and parametric uncertainty bounds are correctly tuned, using for example the model identification algorithm proposed in this paper, false alarms are avoided. -2-

Regarding fault detection, the proposed approach extends the results of Adrot et al. (22) that uses parallelotopes to represent parametric uncertainty and considers static LTI systems. This paper also deals with the uncertain MIMO LPV model calibration that allows to find the uncertain parameter set considering that can be bounded by a zonotope extending the ideas proposed by Ploix et al. (999) for static LTI systems and intervals for modelling parametric uncertainty. Finally, a fault isolation approach, alternative to the classic one based on binary fault signatures, is proposed. The proposed method uses the residual fault sensitivity to improve the isolation results as seminally suggested in Meseguer et al., (2) but formulating instead the fault isolation and estimation as an optimization problem. The residual fault sensitivity concept has been introduced by Gertler (998) and Isermann (26) to characterize the performance of the fault detection but they have not used it for fault isolation. In Blane et al. (26), the idea of using the transfer function that relates residual and faults (what is called residual fault sensitivity in this paper) is suggested to estimate the fault size by means of the pseudoinverse in case of LTI systems. Here, the proposed fault estimation approach based on optimization allows to estimate the fault without using the pseudoinverse and it can be applied to LPV systems. The structure of this paper is the following: Section 2 introduces LPV parity equations with uncertainty, the consistency test used for fault detection as well as provides an overview of the proposed fault diagnosis approach. In Section 3, a parameter estimation procedure is described that allows bounding the parametric uncertainty using zonotopes and data from fault-free scenarios. Section 4 presents a fault detection methodology that relies on the use of the uncertain LPV parity equations and zonotopes. Section 5 presents the fault isolation and estimation methodology that maes use of residual fault sensitivity analysis. Finally, in Sections 6 and 7, a piece of water distribution networ and a four tan system (a well nown control benchmar) are used to assess the validity of the proposed approach. 2. OVERVIEW OF THE PROPOSED FAULT DIAGNOSIS APPROACH 2. LPV parity equations with uncertainty In this paper, the system to be monitored is assumed that can be described by a MIMO LPV model * where - y ( ) is the output vector of dimension n. y y( ) Φ( ) θ( p ) e( ) yˆ ( ) e ( ) () -3-

- Φ ( ) is the regressor matrix of dimension ny which can contain any function of inputs u ( ) and outputs y ( ). n - p p ( ) is a vector of measurable process variables of dimension n that defines the system operating point. - θ( p ) Θ is the LPV parameter vector of dimension n whose values can vary according to the system operating point following some nown function g( p ), usually named as scheduling function. - e ( ) is a vector of dimension n that contains the sensor additive noises whose components are bounded by constant bounds: e ( ), i,..., ny. i i y There are several ways to obtain an LPV model either from the system non-linear equations, as e.g., using a state transformation (Shamma and Cloutier, 993) or embedding non-linearities inside the LPV parameters (Kwiatowsi et al., 26), or through LPV identification methods (Bamieh and Giarré, 22). In this paper, the uncertain parameter set where n p Θ is described by a zonotope centered in the nominal LPV model: n Θ θ ( p ) H θ ( p ) Hz : z (2) - θ ( p ) is the centre of the zonotope and corresponds to the nominal LPV model. n n - H is the shape of the zonotope (usually n n and as the bigger n is the more complicated relations between uncertain parameters can be taen into account). n - n n. is a unitary box composed by n unitary interval vectors, i.e., - denotes the Minowsi sum. 2.2 Consistency test Given the MIMO LPV model (), the output measurement vector y ( ) will be consistent with the output predicted by the model if where with y ( ) ( ) (3) ( ) ˆ ny ( ) (4) * An LPV model has linear structure with parameters that are not constant but vary with the system operating point. The variation of parameters with the operating point is described by some nown function. The operating point can be characterized through some measured variable: external or internal to the system. In case that an internal variable of the model is used the model is named as quasi-lpv (Shamma and Cloutier, 993). -4-

and diag,, n y ˆ ( ) yˆ ( ) Φ( ) θ( p ), θ( p ) Θ (5). This means that output measurement vector y ( ) is inside the set of possible outputs that can be obtained using model (), parameter uncertainty (2) and noise bounds. This approach was first suggested by Ploix et al. (999) in the context of fault detection for SISO LTI systems, and later developed by Calafiore et al. (22) and Campi et al. (29). Adrot et al. (22) extended this approach to MIMO LTI systems. In the following, this approach is extended to MIMO LPV systems with uncertain parameters bounded by zonotopes. When the uncertain parameter set Θ is described by means of a zonotope, as in (2), (5) can be rewritten as follows ˆ ( ) ( ) ( ) ( ) n Φ θ p Φ H (6) Consequently, ( ) leads to where ( ) y ˆ ( ) ˆ ( ) (7) ˆ ( ) Φ( ) θ ( p ) y (8) and Notice that ( ) is a zonotope centred in the nominal output estimation condition (3) can be rewritten as nn ˆ y ( ) Φ( ) H E (9) ˆ ( ) y and with a shape defined by ˆ ( ). Thus, y( ) y ˆ ( ) ˆ ( ) () 2.3 Overview of the proposed fault diagnosis approach Using the LPV uncertain parity equations introduced in Section 2., as well as the consistency test presented in Section 2.2, a set of algorithms that allow fault detection (Section 4), isolation and estimation (Section 5) will the presented in this paper. Fig. presents how the different algorithms interact. The measured system output is compared with the nominal predicted output using the LPV nominal model () by generating a residual. This residual is evaluated using the consistency test presented in previous section that considers the parametric uncertainty and additive noise bounds. If an inconsistency is detected a fault is indicated. Then, the fault isolation and estimation bloc is activated and the most probable fault and its magnitude are determined. An algorithm to estimate the LPV parameter and their uncertainty of parity equations () are also proposed (Section 3) that also relies on the consistency test presented in Section 2.2. -5-

f f 2 f n f u u 2 System y u n u LPV model ŷ + - Residuals ˆ Fault Detection Fault Isolation and Estimation Fault Magnitude Figure : Scheme of fault detection, isolation and estimation procedure 3. UNCERTAIN PARAMETER ESTIMATION In practice, nominal LPV parameters θ ( p ) could be obtained using LPV identification algorithms as the ones proposed by (Bamieh and Giarré, 22) and real data or by the physical nowledge of the system. However, as a result of this process, some modelling uncertainty (2) in the LPV parameters appears. Thus, additionally to estimate the nominal LPV parameters θ ( p ), the uncertainty in the parameters should be estimated. This is especially important when the model should be used in robust fault diagnosis. Let us consider that a sequence of M regressor matrix values Φ ( ) and output measurements y ( ) in a fault free scenario is available, the model of the system to be monitored can be parameterized as in () and the parameter set as a zonotope (2). The aim is to estimate parameter uncertainty set Θ can be described Θ defined by the matrix H in such a way that all measured data in a fault free scenario satisfy condition (). This condition can be applied to every component through the following ny equations y ( ) yˆ ( ) φ ( ) Hz( ) e ( ) y yˆ e n ( ) ( ) ( ) ( ) ( ) y n φ y n Hz y ny () with i n and n φ i ( ),..., y φ ( ) Φ( ) φn y ( ) n and e e n y y z( ),,..., E t n -6-

In order to maximize the model sensitivity to faults, the identification procedure will be formulated as finding the parameter uncertainty set Θ such that the size of the predicted output using the considered set of data is minimized. Thus, this identification procedure can be formulated as an optimization problem with the following objective function M J ( vol( ˆ ( )) where vol is the volume of the output zonotope ˆ ( ) defined in (6). This optimization problem with no nowledge assumptions about matrix H is in general very complex to solve even in the single output case (Campi et al., 29). In order to reduce the complexity, the zonotope that bounds Θ can be parameterized such that HH, as proposed in Blesa et al. (29), that corresponds to a zonotope with predefined shape (determined by H ) and a scalar. For example if Φ( ) H is ( ) 2 det( Φ( ) H ). Matrix H that contains the information about the weight and shape of the n a square matrix: J M parameter uncertainty can be obtained using physical nowledge of the system or by optimisation as is described in Annex. Then, the objective function can be rewritten as follows M J vol( ˆ ( )) J( ) (2) and the problem of uncertainty identification can be reformulated as Problem with cost function (2) and subject to conditions (), for all the identification data (,..., M ), considering HH. Problem : Parameter Uncertainty Identification min subject to: y ( ) yˆ ( ) φ ( ) H z( ) e ( ) y yˆ e n ( ) ( ) ( ) ( ) ( ) y n φ y n H z y ny n e e n y z( ),,..., E and y t n,..., M Remar : Problem is a non-linear polynomial optimization problem that can be solved globally using GloptiPoly tool developed by Henrion et al. (29). Problem can alternatively be solved as proposed by Adrot (2) but leads to a combinatorial problem that grows in a factorial way with n, the number of columns of matrix H. Remar 2: Since all the M observations in Problem should be included in the output prediction zonotope ˆ ( ), the presence of exceptional data points (nown as outliers) may lead to extremely large values of that would increase the model uncertainty. In order to address this issue, algorithms to remove outliers as the ones proposed in Campi et al (29) should be applied such that N M data are discarded in order to reduce model uncertainty. In the identification procedure in Problem, -7-

the discarding procedure boils down to remove the N data that provides a value of exceptionally large, and repeating the identification with the remaining M N data. 4. FAULT DETECTION METHODOLOGY 4. Fault Detection Procedure The fault detection methodology is based on the residual evaluation obtained from the difference between measurements and LPV model prediction using () r( ) y( ) yˆ ( ) e( ) y( ) ( ) θp ( ) e( ) (3) that corresponds to a MA parity equation (Gertler, 998). Ideally, when modelling errors and noise are neglected, residual (3) should be zero in a fault-free scenario and different from zero, otherwise. However, because of modelling errors and noise, residual can be different from zero in a non faulty scenario. In order to tae into account uncertainty in parameters and additive noise, the effects of these uncertainties will be propagated to the residual defining the region of admissible residuals. A fault will be detected when zero does not belong to this set. Then, the consistency test () is equivalent to chec the following fault detection test where and is a vector ( y n ) of zeros = t r ( ) y( ) ( ) θp ( ) e( ), ( ) n y θ ( p) Θ, e( ). Taing into account () and (2), Γ( ) can be parameterized as a zonotope Γ ( ) (4) ( ) y( ) yˆ ( ) ˆ ( ) (5) where y ˆ ( ) and ˆ ( ) are defined as in (8) and (9). Then, test (4) is equivalent to test (6) and involves checing if the point belongs to the zonotope ( ). The fault detection test (4), considering matrix H nown (calibrated as it was proposed in Section 3), can be implemented by determining if the constraint satisfaction problem, named as Problem 2, is feasible. -8-

Problem 2: Fault Detection Test y ( ) yˆ ( ) φ ( ) Hz( ) e ( ) y yˆ e n ( ) ( ) ( ) ( ) ( ) y n φ y n Hz y n y z n ( ) and,..., t ny e en E y Remar 3. For every instant, the feasibility of Problem 2 can be efficiently verified solving a linear programming problem without objective function. Remar 4. The identification algorithm, described in Section 3, should deliver a model and an uncertainty parameter set that should include any healthy behaviour of the system. This only could be achieved if a large and rich enough (from the identifiability point of view) data set is used. In this case, the probability of false alarm applying fault detection test defined in Problem 2 should be zero as already discussed in the introduction. However, according to (Campi et al., 29), when using a finite number of M data, the inclusion of all healthy behaviours can only be guaranteed with some confidence degree opening the possibility to have some false alarm. The probability of false alarm would even be increased if data, classified as possible outliers (see Remar 2), are discarded in identification process following the procedure described in (Campi et al., 29). Using the results presented in this reference, the probability of false alarm could even be quantified. However, in this wor, this is considered as possible further research. 4.2 Fault Sensitivity In fault detection, two inds of faults are typically considered: additive faults (affecting input/output sensors and actuators) and multiplicative faults (in parameters) (Gertler, 998). Including both types of faults in the system (), residuals (3) can be approximated, neglecting the terms in the Taylor series corresponding to the second and higher order derivatives with respect to the fault, as follows φ t t yθ φ uθ t t t t i i i i y y y i u u i i r ( ) y ( ) yˆ ( ) e ( ) f - f F θ ( p ) F φ ( ) f F θ ( p ) F φ ( ) φ ( ) f i,, n y (6) where - y i i i f (vector n y ) and f u (vector n u ) are output and input faults (additive faults) - f y i is an additive fault in the i th sensor output (the i th component of the vector f y ) - f (vector n ) are the parametric faults (multiplicative faults) -9-

with φ i f y F ( q ) yφ i, φ i f y n y F uφ i φ fu ( q ) φ f u i i n u θ ( p ) θn ( p ) fy f y F t ( q, θp ( ), f ) and yθ θ ( ) ( p ) θ n p fy f n y y ny θ ( p ) f F t ( q, θp ( ), f ) uθ θ ( p ) f un u θn ( p) f θn ( p) fu nu u u Notice that F yφ i and F matrices, with dimensions ny n and nu uφ i n respectively, are functions of the shift operator q whose coefficients are constants. F and F t matrices, with dimensions ny n and nu n respectively, are functions of t yθ uθ the shift operator q as well. Remar 5. Coefficients of matrices F and F t may depend on faults f because faults could affect the scheduling t yθ uθ variables p in LPV parameters θp ( ). In this way the effect of faults in the scheduling variables could be characterized. Remar 6. In case of Linear Time Invariant (LTI) systems, residual expression (7) is exact, because the second and higher derivative terms are zero, and F t F t (see Gertler, 998). yθ uθ Residuals (6) can be expressed in a compact form using the fault sensitivity transfer function matrix (Isermann, 26), defined as where - f ( ) is the vector of possible faults of dimension n r( ) S( q, θp ( ), f ) f ( ) (7) f - q S(, θp ( ), f ) is the fault sensitivity matrix of dimension ny nf that can be calculated as S ( q, θp ( ), f ) r r r f f fn f (8) considering additive and multiplicative faults as in (6) and introducing the vector of faults of dimension with nf ny nu n nf --

f ( ) f,, f, f,, f, f,, f Then, residual sensitivities to faults can be computed as follows y yny u unu n t Fy φ θ F t φ -F y θ u φθ F t φ uθ φ; r r -Fy φ θ - F t φ 2 θ 2 y -Fu φ2θ F φ r r t 2 u θ r r φ 2;,,,, f fy fny+ fu fny+nu f -F φ θ φ y - F t n y ny -F φ φ y θ u n θ - F t φ n ; y u θ y n y φ; n r r φ2; n fn f f n φ ny ; n Remar 7: Since coefficients of matrices F and F t may depend on faults f (see Remar 5) the sensitivity (8) as well. t yθ uθ Residual fault sensitivity (8) can be used to characterize the minimum detectable fault (see next section) and to enhance fault isolation as well as to allow fault estimation (see Section 5). 4.3 Minimum Detectable Fault According to Gertler (998), the minimum detectable fault corresponds to a fault that brings a residual to its threshold ( triggering limit ), assuming that no other faults and nuisance inputs are present. The minimum detectable fault was defined in Blesa et al. (2) for single output LPV systems (i.e. n y in ()). Here, it is extended to the MIMO systems () by considering that the residual (3), in presence of a single fault f, can be approximated by r( ) s ( q ) f ( ) where f s f q ( ) is the vector that contains the residual fault sensitivity to the fault f and corresponds with a column of fault sensitivity matrix (8). Then, the minimum detectable fault can be computed as where with and, is computed as according to Blesa et al. (2). min min min f f ; r f ; r ny f ( ) min f ( ),, f ( ) (9) f ( ) (2) ( ) min ri f; r( ) i sf; i q ; ( ) ri sf i q (2) f ( ) 2 φ ( ) H 2 (22) ri i i --

Notice that the term ri ( ) considers uncertainty in parameters. Moreover, Eq, (2) defines the minimum detectable fault using residual r i. Therefore, the minimum detectable fault using the fault detection procedure presented in Section 4. is the smallest of the minimum detectable faults of the n y residuals according to (9). 5. FAULT ISOLATION AND ESTIMATION METHODOLOGY 5. Introduction Fault isolation consists in identifying the faults affecting the system. Fault isolation could be carried out, as classically proposed in FDI boos (Gertler, 998)(Isermann, 26), on the basis of fault signatures generated by the fault detection test (4) applied component-wise to each single residual if Γ i ( ) i ( ) if Γ i ( ) (23) producing an observed fault signature ( ) : ( ) ( ), ( ),, ( ) 2 n (24) Then, the observed fault signature is supplied to the fault isolation module that has the nowledge about the binary relation between the considered fault hypothesis set ( ) f( ), f2( ),, fn f ( ) f and the fault signal set ( ). This relation is stored in the so called theoretical binary fault signature matrix (FSM). An element FSM i;j of this matrix is equal to if the fault hypothesis f j () is expected to affect the residual r i (), that is, the related fault signal i () is equal to when this fault is affecting the monitored system. Otherwise, the element FSM i;j is zero-valued. However, this basic fault detection and isolation scheme has the drawbac that does not consider the MIMO nature of the residuals (3) when generating the observed fault signature (24) since each residual is evaluated independently of the others, while in fault detection (4) all residual components are evaluated altogether. Moreover, as discussed in (Meseguer et al., 2), the binarisation process used to generate the observed fault signature (24) causes a loss of useful information that can reduce fault isolability of the fault isolation algorithm. To address both issues, a fault isolation algorithm based on the residual fault sensitivity is proposed in the following. 5.2 Fault isolation and estimation algorithm -2-

The information of the residual fault sensitivity matrix (8) can be used for isolation and estimation purposes extending the idea presented in Zhang and Jiang (25) for parametric faults in single output systems. In this approach, the fault isolation and estimation is formulated as a Variable-Length Sliding Window Blocwise Least Squares parameter estimation. Considering that the fault vector is given by, f ( ) f, o < fault fault i.e., faults have appeared at instant f and f fault o n. Then, the problem of fault isolation and estimation implies solving Problem 3, for once the fault has been detected. fault Problem 3: Fault isolation and estimation (multiple faults) f ( ) arg min J ( f, ) f subject to J (,) ( i) q, ( i ), f r S θ p f f imax fault, 2 where - r ( ) y( ) y ˆ ( ) - is the time moving horizon where the fault is considered constant. Remar 8: Notice that formulating the fault isolation problem in this way, the residual fault sensitivity (8) that depends on the fault (see Remar 7) can be used for fault isolation (estimation) even though the fault is unnown. Moreover, with this formulation the fault effect in the scheduling variable described in Remar 5 can be taen into account in the fault isolation and estimation. This non-linear optimization problem can be particularized for parametric faults ( f ) and single output systems ( n ) since y in this case: i S q, θ ( p ), f r / f φ( ) and the objective function of Problem 3 can be formulated as follows corresponding to a minimum least square parameter identification problem. J ( f,) r ( i) φ( i) f (25) imax fault, 2 The role of the time moving horizon is to minimize the noise effects since the longer the moving horizon is, the smaller this effects will be. However, increasing the moving horizon will lead to slower fault isolation. Then, the window length has to be chosen as the minimum window that provides similar isolation and estimation results compared with longer windows. This has -3-

been extensively discussed in Zhang and Jiang (25), where the isolation and estimation approach proposed in this paper has been inspired. Problem 3 can be simplified when single faults are considered since in this case the fault vector can be parameterized as follows with f o. t, < fault f ( ) (26) t fo, fault On the other hand, Problem 3 can be simplified when single faults (26) are considered. Then, the problem of fault isolation and estimation implies solving Algorithm. Algorithm : Fault isolation and estimation (single faults) : for j,, nf do opt opt 2: J ( ), f ( ) min J ( f, ) j j j f subject to J j ( f,) r ( i) s _, j f imax fault, 2 where - s _, j r / f j is the j th column of Sq, θ ( p ), f 3: endfor 4: opt j,, nf I( ) arg min J ( ) j opt 5: I( ) f ( ) = f ( ) Remar 9: Algorithm implies solving n f multi-output least square error optimization problems as (25) for every n f possible single faults. The most probable fault I ( ) is determined as the fault that gives the minimum function cost J ( f, ) after solving the set of least square error problems for the set of considered single faults. j Remar : A fault f will be isolable, from the other n faults using Algorithm when j f opt opt j i f fault J ( ) J ( ) i,, n i j (27) -4-

Then, the minimum isolable fault f j will be the one with the smallest size such that (27) is satisfied. This size depends on the minimum distance between s_, j and the rest of the columns of q, ( ), S θ p f : The bigger the minimum distance between columns the smaller minimum isolable fault will be. As a consequence, the fault isolation error rate will decrease when this distance increase. 6. APPLICATION CASE STUDY : PIECE OF WATER DISTRIBUTION NETWORK 6. Description of the system The first application case study to test the proposed approach is focused on the lea detection and isolation problem in a piece of a water distribution networ (see Fig. 2). This problem is particularly important in water distribution networs and currently is still a field of research (Pérez et al., 2). One of the main difficulties of using a model-based approach to address this problem is due to the behaviour of the networ is described by a multivariable input/output system described by a set of nonlinear equations that does not have explicit solution. The method proposed in this paper can be considered a novel approach to this problem with respect the current approaches existing in the literature. Here, just for illustration purposes, a small piece of a water distribution networ is considered, but it could be easily extended to a real size networ just proceeding with the proposed methodology. The considered piece is composed by the following elements: Three pipes with flows q, q 2 and q 3 (in m 3 /s) and two nodes with demands d and d 2 (in m 3 /s). Pressure sensors provides heads h r, h r2, h n and h n2 (in m ). Sensors that measure h r, h r2 are located in the inputs of the piece of the system while sensors that measure h n, h n2 are located in the two nodes. The possible faults are f and f 2 that correspond to leas located in the nodes. -5-

6.2 Water networ distribution modelling Figure 2. Piece of water distribution networ proposed as case study Considering the flow continuity condition in the two nodes included in this case study q ( ) q ( ) d ( ) f ( ) (28) 2 q ( ) q ( ) d ( ) f ( ) (29) 3 2 2 2 and applying the Hazen-Williams (H-W) formula (Brdys and Ulanici, 994) to the pipe flows in (28) and (29), the following set of equations can be derived a r n n n a 2 2 h ( ) h ( ) / R h ( ) h ( ) / R d ( ) f ( ) (3) a r n n n where the pipe resistance coefficients R, R 2 and 3 a 2 2 3 2 2 2 2 h ( ) h ( ) / R h ( ) h ( ) / R d ( ) f ( ) (3) a 4.87 R in the H-W formula are given by R.226 L / C D where L is the pipe length (in m), D is the pipe diameter (in mm) and a is the flow exponent (a =.852). The length of the pipes is L = L 2 = m and L 3 = 2m and their diameters are D = D 2 = D 3 = 2mm. -6-

This set of equations is non-linear since a and can not be solved analytically to obtain the node heads, but instead numerical methods should be used (Brdys and Ulanici, 994). This non-linearity also maes difficult to estimate the parameters of the networ (as, e.g. the pipe resistances). For all these reasons, the non-linear model of the networ is not very useful for FDI. But in this paper, it will be used as a virtual reality using the high-fidelity simulator EPANET. In order to apply the proposed methodology, an LPV model for this networ will be derived by means of the linearisation of the non-linear model (3) and (3), considering no fault is present, around a generic operating point characterised by the head n measurements in nodes ( h and h n2 ) hˆ n( ) d( ) F ( hn ( ), hn 2( )) hn ( ) Ahn A hn ˆ h 2( ) d2( ) n F ( hn ( ), hn 2( )) h n2( ) (32) where and A hn h ( ) ( ) a 2( ) ( ) a 2( ) ( ) a r hn hn hn hn hn R R 2 R 2 ar ar2 ar2 h h h h h h R R R ar2 ar3 ar2 2( ) ( ) a 2( ) 2( ) a 2( ) ( ) a n n r n n n 2 3 2 a n n2 d n n2 n 2 F ( h ( ), h ( )) h ( ) h ( ) / R h ( ) h ( ) / R d ( ) f ( ) a 2 n n2 r2 n 3 n2 n 2 2 2 F ( h ( ), h ( )) h ( ) h ( ) / R h ( ) h ( ) / R d ( ) f ( ) Notice that parameters vary with node heads. But, according to (3) and (3), the node heads are fixed by the demands in a complex way. For this reason, the LPV model (32) can be approximated as follows hˆ n( ) a; ( d( ), d2( )) a;2 ( d( ), d2( )) d( ) a;3 ( d( ), d2( )) hˆ ( ( ), ( )) ( ( ), ( )) ( ) ( ( ), ( )) n2( ) a d d a d d d a d d 2; 2 2;2 2 2 2;3 2 (33) a ( d ( ), d ( )) a ( d ( ), d ( )) and the model parameter dependence with the demand can be approximated by where ;2 2 2; 2 an experimental relation as follows a ( p ) d ( ) d ( ) i,2 and j,2 (34) i; j i; j i; j 2 i; j where the parameters i; j, i; j and i; j are estimated using measurements and identification algorithms. -7-

Finally, considering bounded additive noise in the pressure sensors, LPV model (33) can be rewritten in regressor form () as follows h n( ) y ( ), h n2( ) d ( ) d ( ) 2 Φ ( ), ( t ) a; ( ) a;2 ( ) a2;2( ) a;3 ( ) a2;3( ) d( ) d2( ) θ p p p p p p (35) where d( ) p, d2( ) e e ( ) e 2 ( ) ( ) In Annex 2, the procedure followed to apply the proposed identification and fault diagnosis approach is summarised in an algorithmic way. 6.2 Identification The parameter identification of model (35), considering the parameter set described by the zonotope (2), has been carried out in two steps: first estimation of nominal parameters and second estimation of its uncertainty defined by H. For the nominal parameter estimation, the LPV parameter estimation algorithm proposed by Bamieh and Giarré (22) has been applied to a set of head/demand data recorded in the networ in a non-lea scenario (fault free scenario) considering noise bounds given by sensors accuracy. The parameters i; j, ; and ; in Eq. (34) obtained are showed in Table. i j i j ;.39 2; -.23 ; -. 2; -.46 ;. 2;.77 ;2 -.23 2;2 -.2 ;2 -.46 2;2 -.6 ;2.77 2;2 3. ;3. 2;3.633 ;3 3.77 2;3 3. ;3 3.89 2;3 2.94 Table. Coefficients of nominal LPV parameters (34) After the nominal LPV model has been estimated, parametric modelling uncertainty has been obtained solving Problem, considering that there are not dependencies between parameters and the same uncertainty weight is used in every parameter, through the following parameterization ai; j ( p ) a i; j ( ), ai; j ( ) p p i,2 and j,2 (36) -8-

where i j a ; ( p ) are the nominal parameter given by Equation (34) and coefficients of Table. Then, H in (2) is HH with H I. Using the same non-faulty data set used for the nominal identification, uncertain parameter is determined by solving Problem and it results in 2.5-5. Once the model has been calibrated, fault detection test (Problem 2) has been applied to different non-faulty scenarios in order to validate the model. 6.3 Fault Detection, Isolation and Estimation The faults to be detected, isolated and estimated correspond to leas in nodes and 2. These faults can be interpreted as unnown changes in demands d and d 2 and are denoted as: d f d f and d2 f d2 f2, respectively. Only single faults have been considered. Combining (33) with (3), residuals are obtained. Then, the residual fault sensitivity transfer function matrix (8) is S; S;2 S S2; S2;2 (37) with S a ( d, d ) d d ; ; f 2 f ; 2 ;2 ;3 S a ( d, d ) d d ;2 ;2 2 f ;2 2 f 2;2 2;3 S a ( d, d ) d d 2; ;2 f 2 f ; 2 ;2 ;3 S a ( d, d ) d d 2;2 2;2 2 f ;2 2 f 2;2 2;3 On the other hand, the theoretical binary fault signature matrix FSM is given by f f 2 r r 2 Table 2: Theoretical binary fault signature matrix of the two different considered faults From Table 2, it can be noticed that the two leas can not be isolated using the classic fault isolation approach (recalled in Section 5.) but are distinguishable using the residual fault sensitivity transfer function matrix (37) since ran(s)=2. 6.4 Fault scenarios -9-

In the following, two different fault scenarios have been simulated and the results of the fault detection, isolation and estimation procedure are presented. Fault scenario : Lea f =.5 l/s is present in the node at time.7 5 s.. Fig. 3(a) shows the components of the nominal MIMO residuals in the lea scenario. These residuals are considered as the difference between the real and predicted head measurements using the LPV model (33) with nominal parameters (34)..2 Residuals evolution Direct test: Space at the fault instant appearance (t=.7 5 s) -.5 r (m) -.2 -. -.4.5.5 time (s) 2 2.5 3 3.5 x 5 r 2 (m) -.5 -.2. -.25 r 2 (m) -. -.3 -.2 -.35 -.3.5.5 time (s) 2 2.5 3 3.5 x 5 -.4 -.45 -.4 -.35 -.3 -.25 -.2 -.5 -. -.5 r (m) (a) (b) Figure. 3. (a) Residuals evolution in fault scenario. (b) Fault test in fault scenario. Fig. 3 (b) shows the set Г, defined by (5), at the fault appearance instant. Notice that since the set Г does not contain the point (,), the lea is detected according to (4) and leading to non feasibility of Problem 2. After the fault has been detected at time.7 5 s, it should be isolated and estimated. Fig. 4(a) shows the minimum of optimisation cost functions (J(f ) and J(f 2 )) defined in Algorithm. A window length 2 has been chosen as the minimum window that provides similar isolation and estimation results compared with longer windows. -2-

8 x -4 Optimization Cost Functions.6 Estimated fault f 7 6 J(f ) J(f 2 ).5.4 5 4 3 2 l/s.3.2..5.5 2 2.5 3 3.5 time (s) x 5 (a) -..5.5 time (s) 2 2.5 3 3.5 x 5 (b) Figure 4. (a) Optimization cost functions in lea scenario. (b) Fault estimation. As J(f ) is smaller than J(f 2 ) 5.7 s, then a lea is located in node. Thus, the lea magnitude f, presented in Fig. 4 (b), is obtained as one that provides the smallest minimum of J(f ) when solving Algorithm. Fault scenario 2: Lea f 2 =.6 l/s is present in the node 2 at time.7 5 s.. Fig. 5 (a) shows the components of the nominal MIMO residuals in the lea scenario 2..2 Residuals evolution Direct test: Space at the fault instant appearance (t=.7 5 s) r (m) -.2 -.5 -. -.5 -.4.5.5 time (s) 2 2.5 3 3.5 x 5.2 r 2 (m) -.2 -.25 -.3 -.35 r 2 (m) -.2 -.4 -.6.5.5 time (s) 2 2.5 3 3.5 x 5 -.4 -.45 -.5 -.45 -.4 -.35 -.3 -.25 -.2 -.5 -. -.5 r (m) (a) (b) Figure 5. (a) Residuals evolution in fault scenario 2. (b) Fault test in fault scenario 2. -2-

As in the previous scenario, after the fault has been detected at time.7 5 s, it should be isolated and estimated. Fig. 6(a) shows the minimum of optimisation cost functions (J(f ) and J(f 2 )) defined in Algorithm with the same window length used in fault scenario. x -3 Optimization Cost Functions.7 Estimated fault f 2.9.8.7.6 J(f ) J(f 2 ).6.5.4.5.4.3.2..5.5 2 2.5 3 3.5 time (s) x 5 l/s.3.2. -..5.5 2 2.5 3 3.5 time (s) x 5 (a) (b) Figure 6. (a) Optimisation cost functions in lea scenario 2. (b) Fault estimation. Both figures begin in the fault time detection of fault scenario 2 (t=.7 5 s) As J(f 2 ) is smaller than J(f ) 5.7 s, then a lea is located in node. Thus, the lea magnitude f, presented in Fig. 6(b), is obtained as the minimiser J(f 2 ) of that results from solving Algorithm. Figure 5 (b) shows the set Г, defined by (5), at the fault instant appearance. Notice that since the set Г does not contain the point (,), the lea is detected according to (4). 7. CASE STUDY 2: FOUR TANK SYSTEM 7. Description of the system A quadruple-tan process, proposed by Johansson (2), is used as second case study to illustrate the effectiveness of the fault diagnosis method proposed in this paper. This example differs from the previous one that model equations are now dynamic. A schematic diagram of the quadruple-tan system is shown in Fig. 7. The inputs are v and v 2 (input voltages to the pumps) and the outputs are the tan levels h, h 2, h 3 and h 4. -22-

Tan 3 Tan 4 h 3 h 4 Tan Tan 2 Pump h h 2 Pump 2 v v 2 Figure 7: Quadruple-tan process. The equations that describe the system presented in (Johansson, 2) discretised by means of the Euler method with sampling time t sare a 2g a3 2g h ( ) h ( ) h3 ( ) v ( ) e ( ) A h ( ) A h3 ( ) A a2 2g a4 2g 22 h2 ( ) h2 ( ) h4 ( ) v2( ) e2 ( ) A2 h2 ( ) A2 h4 ( ) A2 a 2g ( ) 3 2 2 3( ) h3( ) A3 h3( ) A3 h v ( ) e ( ) 2 3 a4 2g ( ) h4 ( ) h4 ( ) v ( ) e4 ( ) A4 h4 ( ) A4 (38) where a a3.7cm, 2 A A cm,.7, 3 28 2 3.33 cm / Vs, 3 a2 a4.57cm, 2 A A cm, 2.6 2 4 32 2 2 3.35 cm / Vs, 3 2 g 98 cm / s are the model parameters. e ( ), i,,4 are the additive errors (including sensor and i discretisation errors) that are assumed to be bounded. The bounds are.5cm, i,, 4. i The non-linear model (38) can be expressed in quasi-lpv form (Shamma and Cloutier, 993) by using the approach based on embedding the non-linearities inside the LPV parameters as proposed by (Kwiatowsi et al., 26). Following this procedure model (38) can be expressed as in () through the following parameterisation y ( ) h ( ) h ( ) h ( ) h ( ) t, ( ) ( ) ( ) 2 3 4 θ( p ) Φ Φ Φ 2, θp ( ) θ2 (39) 2 3 4 t e ( ) e ( ) e ( ) e ( ) e ( ) (4) -23-

with h( ) h3( ) v ( ) h2( ) h4( ) ( ) v2 ( ) Φ Φ h3 ( ) 2( ) (4) v2 ( ) h4 ( ) v, ( ) where θ t ( p ) a; ( p ) a;3 ( p ) a2;2 ( p ) a2;4 ( p ) a3;3 ( p ) a4;4( p ), t 2 b; b2;2 b3; b4;2 2 3 4 θ (42) p h ( ) h ( ) h ( ) h ( ) (43) t a a 2g ( ) ( ), i,, 4, i i; i p gi p Ai a 2g ( ) ( p ) and 3 ;3 p g3 A a a a 2g ( ) ( p ) (44) 4 2;4 p g4 A2 b ;, A b 2;2 22, b A 2 3; ( 2)2, A 3 b 4;2 ( ) (45) A 4 Additionally to additive noise, there is uncertainty in parameters a ji ; because their value is adapted through the scheduling functions g i ( p) hi ( ) i,, 4 (46) that depend on the measured variables (43) that are contaminated with noise leading to consider its effect as follows. Then, the LPV vector parameter θp ( ) can be expressed as i p i p i g ( ) g ( ) g ( ) i,, 4 (47) θ ( p ) θ ( ) θp ( ) 2 θ (48) with nominal parameters a; a;3 a2;2 a2;4 a3;3 a4;4 θ ( p ) ( p ) ( p ) ( p ) ( p ) ( p ) ( p ) (49) t where j i a ; ( p ) are obtained with (4) considering i p gi p g ( ) ( ) and uncertainty a a3 a2 a4 a3 a4 θ ( ) 2 g g( ) g3( ) g2( ) g4( ) g3( ) g4( ) (5) A A A2 A2 A3 A4 t where a a 2g ( ), i,, 4, i i; i g i p Ai a a 2g ( p ) and 3 ;3 g 3 A a a 2g ( p ) (5) 4 2;4 g 4 A2 Parametric uncertainty can be expressed using a zonotope, as in (2), in the following way -24-

( ) n θ H (52) As in the previous application example, the procedure followed to apply the proposed identification and fault diagnosis approach is summarised in Annex 2, 7.2 Identification Nominal parameters (49) have been obtained by the physical modelling of the system that leads to (5). On the other hand, in the following it is shown how the parameter uncertainty (52) has been estimated.. In order to apply identification techniques presented in Section 3, input/output data is recorded in a fault free scenario applying a pseudorandom binary sequence (PRBS s) in the pump inputs such that all the operation points ( v v2 2.3,3.5 V ) are swept (Fig. 8). 2.4,3.8 V and h h 2 6 6 4 4 cm 2 cm 2 5 Time (s) h 3 5 Time (s) h 4 2 2 cm.5 cm.5 5 Time (s) 5 Time (s) Figure 8: Fault free data using for parameter and uncertainty estimation (4 samples) The following parameterisation of matrix H in (52), that taes into account physical relations in parametric uncertainties described in (5), has been used H H H (53) t g with -25-

a A a 2 A2 H t 2g (54) a3 a 3 A A3 a4 a 4 A2 A 4 t and g 4n H is the matrix to be identified that defines the zonotope that bounds parameters g ( ), that is g( ) g2 ( ) n g ( ) Hg (55) g3( ) g4 ( ) The uncertainty (52) of parameters (48) can be viewed as a linear transformation of g ( ) θ( ) H g ( ) (56) The procedure of identification and fault detection presented in Section 3 and 4, respectively, can be carried out considering in (9) can be parameterised as follows Φg Hg E that ˆ ( ) with t ˆ ( ) ( ) nn y (57) Let us consider H H, with g a a3 h ( ) h 3( ) A A a2 a 4 h2( ) h4( ) A2 A2 Φg( ) Φ( ) H t 2g (58) a 3 h 3( ) A3 a 4 h 4 ( ) A 4.93 2.77 H (59).3 8.4.22 8.74 estimated as it is described in Annex by dividing the data in 4 different directions. Fig. 9 shows the g g3 and g2 g4 projections of the zonotope according to Annex. n H and the 8 support polytopes ( Θ and j j Θ j,...,4 ) used to compute H -26-

. H Projection g -g 3. H Projection g 2 -g 4.8.8.6.6.4.4.2.2 g 3 g 4 -.2 -.2 -.4 -.4 -.6 -.6 -.8 -.8 -. -.4 -.3 -.2 -...2.3.4 -. -.4 -.3 -.2 -...2.3.4 g g 2 a) b) Figure 9: a) g g3 and b) g2 g4 projections of the zonotope H (blue) and support polytopes (red and blac). n Once H has been calculated, with the additive error bounds and nominal parameters obtained by the physical nowledge of the system, is computed solving Problem being equal to.762. Once the model has been calibrated, fault detection test (Problem 2) has been applied to different non-faulty scenarios in order to validate the model. 7.3 Fault detection, isolation and estimation In order to illustrate the fault detection, isolation and estimation procedure described in Sections 4 and 5 (and presented in Fig. ), in several fault scenarios, two different inds of faults have been considered: additive faults (in input and output sensors: f u and f y ) and multiplicative faults (in parameters: f ). The fault scenarios are created by introducing faults when the system is woring in the operation range presented in Fig. -27-

y y 2 4 4 cm 2 cm 2 5 Time (s) 5 Time (s) y 3 y 4 cm.8.6.4.2 5 Time (s) cm.8.6.4.2 5 Time (s) Figure : No faulty scenario data In particular, the set of considered faults and their type is listed in the following: Additive - Input sensor faults f u : f v and f v 2 - output sensor faults f y : Multiplicative f h, f h 2, fh 3 and f h 4 - Component faults: f a, f a 2, f a 3, f a 4, f and f 2 Only single faults have been considered. Fault isolation and estimation method presented in Section 5 is based on the fault sensitivity transfer function matrix (8). In our case study, with 4 residuals and 2 possible different faults to be detected, the matrix q S(, θp ( ), f ) of dimension (4 2) is S; S;3 S;5 S;7 S;9 S; S 2;2 S2;4 S2;6 S2;8 S2; S 2;2 S( q, θp ( ), f ) (6) S3;3 S3;6 S3;9 S3;2 S4;4 S4;5 S4; S4; On the other hand, the theoretical binary fault signature matrix FSM signature is given by -28-

f h f h 2 f h 3 f h 4 f v f v 2 f a f a 2 f a 3 f a 4 f f 2 r r 2 r 3 r 4 Table 3: Theoretical binary fault signature matrix of the different considered faults From Table 3, it can be noticed that there are some faults that can not be isolated with the binary fault signature matrix, even considering single faults. For example, the fault signature corresponding to the additive fault t than the fault signature of the multiplicative fault t the fault sensitivity matrix (6), the effect of both faults is a f is the same f. Therefore, they are not distinguishable Whereas using S ; t and fa S;7 t h, respectively, with S; and S ;7 2 g( y ( ) f y q ). Thus, the two faults are distinguishable using the residual fault sensitivity (6). A 7.4 Faults scenarios In the following, two different fault scenarios have been simulated and the results of the fault detection, isolation and estimation procedure are presented. Fault scenario : Sensor additive fault: f h.8cm at t=95s Figures a) and b) show the result of the detection test in this fault scenario. The fault is detected at the appearance time (t=95s). At this time, the residual admissible space does not contain the origin in the r r 3 projection. Thus, condition (4) is not fulfilled and derives in the non feasibility of Problem 2 what proves the existence of a fault. -29-

.25 Residual () projection r -r 3.25 Residual () projection r 2 -r 4.2.2.5.5 r 3 (cm)..5 r 4 (cm)..5 -.5 -.5 -..2.4.6.8.2.4 r (cm) -. -.3 -.2 -...2.3.4 r 2 (cm) a) b) Figure : Residual admissible space projections a) r r3 and b) r2 r4, at the fault time detection (t=95s) in fault scenario. After the fault has been detected, the fault isolation and estimation procedure is activated and Algorithm is solved considering the 2 possible different faults and using residual fault sensitivity (6). A window length 2 has been chosen as the minimum window that provides similar isolation and estimation results compared with longer windows. Fig. 2 a) shows the evolution of the inverse of the optimisation cost function for different considered faults, obtained solving Algorithm from the fault detection time (t=95s). As the objective function ( J ) corresponding to f h is smaller than the objective function corresponding to the other faults considered, the fault isolation algorithm determines that the fault is an additive fault in output sensor h. The fault magnitude estimation corresponding to f h, determined also as result of the application of Algorithm, is presented in Fig. 2 b). Inverse of the function optimization cost /J (/cm 2 ) 4 2 8 6 4 2 - J a - J h - J a3 - J h3 - J - J v Estimation of f y (cm).82.8.8.79.78.77.76.75 2 3 4 5 6 7 8 9 Time (s).74 2 3 4 5 6 7 8 9 Time (s) a) b) Figure 2: a) Inverse of optimisation cost function ( J ) of different faults and b) fault estimation of in the fault time detection of fault scenario (t=95s). f h. Both figures begin -3-

Fault scenario 2: Multiplicative fault: f a 2.35cm at t=88s In this case, the fault is detected at t=889s, that is 9 seconds after the fault time appearance. Figures 3a) and b) show the result of the detection test at the detection time. It can be noticed in the r r3 projection that since the residual admissible space does not contain the origin, condition (4) is not fulfilled. This proved the existence of a fault.. Residual () projection r -r 3. Residual () projection r 2 -r 4.5.5 r 3 (cm) -.5 -. r 4 (cm) -.5 -. -.5 -.5 -.2 -.2 -.25 -.7 -.6 -.5 -.4 -.3 -.2 -. r (cm) -.25 -.4 -.3 -.2 -...2.3 r 2 (cm) a) b) Figure 3: Residual admissible space projections a) r r3 and b) r2 r4, at the fault time detection (t=889s) in fault scenario 2. Once the fault has been detected, the fault isolation and estimation procedure is activated and Algorithm is applied. Fig. 4 a) shows the evolution of the inverse of the optimisation cost function for different considered faults obtained applying Algorithm at the fault detection time (t=889s) with the same window length used in the previous fault scenario. As the objective function ( J ) corresponding to f a is smaller than the objective function of the other faults considered, the fault isolation algorithm determines that the fault is a multiplicative fault affecting parameter a. The fault magnitude estimation corresponding to fa is also determined when solving Algorithm and is represented in Fig. 4 b). -3-

Inverse of the function optimization cost /J (/cm 2 ) 4 35 3 25 2 5 5 - J a - J h - J a3 - J h3 - J - J v Estimation of f a (cm 2 ).5.48.46.44.42.4.38.36.34.32 2 3 4 5 6 7 8 9 Time (s).3 2 3 4 5 6 7 8 9 Time (s) a) b) Figure 4: a) Inverse of optimisation cost function ( J ) of different faults and b) fault estimation of in the fault time detection of fault scenario 2 (t=889s). f a. Both figures begin 8. CONCLUSIONS In this paper, a robust fault detection, isolation and estimation method for systems that can be modelled by uncertain MIMO LPV models has been presented. The identification procedure is formulated as an optimisation problem that determines a zonotope that encloses the parametric uncertainty given the model structure in regressor form and additive error bounds. The fault detection methodology is based on checing if measurements are inside the prediction bounds provided by the LPV model, parametric uncertainty and additive error. It has been formulated as the feasibility problem that can be solved using linear programming algorithms. The fault isolation and estimation algorithm are based on residual fault sensitivity analysis. This methodology allows to provide additional information to the relationship between residuals and faults increasing fault isolability. Moreover, it allows obtaining a fault estimation. Finally, satisfactory results have been obtained using two case studies based on a water distribution networ and a four tan system. ACKNOWLEDGEMENTS This wor has been partially funded by the grant CICYT SHERECS DPI-2-26243 and CICYT WATMAN DPI-29-3744 of Spanish Ministry of Education. -32-

REFERENCES Adrot, O. (2). Diagnostic à base de modèles incertains ulitisant l analyse par intervalles: approche bornate. PHD thesis, Institut National Polytechnique de Lorraine, Centre de Recherche en Automatique de Nancy. Adrot, O. Janati-Idrissi H., Maquin D. (22). Fault detection based on interval analysis, In Proceedings of the 5th IFAC World Congress. Bacelona. Spain. Bamieh, B., Giarré, L. (22). Identification of linear parameter varying models. International Journal Robust Nonlinear Control, 2(2):84 853. Basseville, M., Niiforov, I. (993) Detection of Abrupt Changes: Theory and Applications, USA: Prentice Hall. Blane, M., Kinnaert, M., Lunze, J., Staroswieci, M., Schröder, J. (26). Diagnosis and Fault-Tolerant Control, New Yor: Springer-Verlag. Blesa, J., Puig, V., Saludes, J. (29). Identification for Passive Robust Fault Detection of LPV Systems using Zonotopes. In Proccedings of 7th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes. Barcelona, Spain. Blesa, J., Puig, V., Bolea, Y. (2). Fault detection using interval LPV models in an open-flow canal. Control Engineering Practice, 8 (5) 46-47. Blesa, J., Puig, V., Saludes J. (2) Identification for passive robust fault detection using zonotope-based set-membership approaches. International Journal of Adaptive Control and Signal Processing. 25 (9) 788 82. Boor, J., Szabo, Z., Stiel, G. (22). Failure detection for quasi LPV systems. In Proceedings of the 4st IEEE Conference on Decision and Control. Las Vegas, USA. Boor, J. (29). Fault Detection and Isolation in Nonlinear Systems. IFAC Safeprocess 9. Plenary Session. Barcelona. Spain. Brdys, M. A., Ulanici, B. (994). Water Systems Structures, Algorithms and Applications. Prentice Hall. Calafiore, G., Campi, M. C., El Ghaoui, L. (22). Identification of reliable predictor models for unnown systems: A dataconsistency approach based on learning theory. In Proceedings of the 5th IFAC world congress. Bacelona. Spain. Campi, M.C. Calafiore, G., Garatti, S. (29). Interval predictor models: Identification and reliability. Automatica, Volume 45, Issue 8. pp. 382-392. Chen, J., Patton, R. J. (999). Robust model-based fault diagnosis for dynamic systems. Kluwer Academic Publishers. Combastel, C. Zhang Q., Lalami A. (28). Fault diagnosis based on the enclosure of parameters estimated with an adaptive observer. In Proccedings of 7 th IFAC World Congress, Seoul, Korea. -33-

Combastel, C., Raa S.A. (29). A Set-Membership Fault Detection Test with Guaranteed Robustness to Parametric Uncertainties in Continuous Time Linear Dynamical Systems. In Proccedings of 7th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes. Barcelona, Spain. Ding, S. X. (28). Model-based Fault Diagnosis Techniques: Design Schemes, Algorithms, and Tools. Springer. EPANET Programmer's Toolit user s manual. http://www.epa.gov, http://www.epanet.es/ Fagarasan, I., Ploix, S., Gentil, S. (24). Causal fault detection and isolation based on a set-membership approach. Automatica, 4 (2). 299-2. Gertler, J. (998) Fault Detection and Diagnosis in Engineering Systems. Marcel Deer, New Yor. Henrion, D., Lasserre, J. B., Lofberg, J. (29) GloptiPoly: Moments, Optimization and Semidefinite programming. Optimization Methods and Software, Vol. 24, Nos. 4-5, pp. 76-779. Isermann,R.(26). Fault-diagnosis systems: An introduction from fault detection to fault tolerance, Berlin: Springer. Johansson, K.H. (2). The quadruple-tan process: A multivariable laboratory with an adjustable zero. IEEE Transactions on Control Systems Technology, 8(3):456 465. Kwiatowsi, A., Boll, M.T., Werner, H. (26) Automated Generation and Assessment of Affine LPV Models. In Proceedings of the 45 th IEEE Conference on Decision and Control, San Diego, CA, USA. Meseguer, J., Puig, V., Escobet, T. (2). Fault Diagnosis Using a Timed Discrete-Event Approach Based on Interval Observers: Application to Sewer Networs. IEEE Transactions on Systems, Man and Cybernetics: Part A, 4(5), pp. 9-96. Milanese, M., Norton, J., Piet Lahanier, H., Walter, E. (eds.) (996). Bounding approaches to system identification. New Yor, USA, London, UK: Plenum Press. Pérez, R. Puig, V., Pascual, J., Quevedo, J., Landeros, E., Peralta, A. (2). Methodology for Leaage Isolation using Pressure Sensitivity Analysis in Water Distribution Networs. Control Engineering Practice, 9(): 57-67. Ploix, S., Adrot, O., Ragot, J. (999). Parameter uncertainty computation in static linear models. Proceedings of the 38th IEEE Conference on Decision and Control. Phoenix, Arizona. Ploix, S., Adrot, O. (26). Parity relations for linear uncertain dynamic systems. Automatica, 42 (9), 553-562. Puig, V., Quevedo, J., Escobet, T., Nejjari, F., de las Heras, S. (28). Passive Robust Fault Detection of Dynamic Processes Using Interval Models. IEEE Transactions on Control Systems Technology, 6(5), 83 89. Puig, V., Schmid, F., Quevedo, J. and Pulido, B. (25). A new fault diagnosis algorithm that improves the integration of fault detection and isolation. In Proceedings of the 44th IEEE Conference on Decision and Control, and the European Control Conference. Seville, Spain. Raïssi, T. Videau G., Zolghadri A. (2). Interval observer design for consistency checs of nonlinear continuous-time systems. Automatica, 46 (3), 58-527. -34-

Reppa V., Tzes A. (29). Fault Detection relying on Set-Membership Techniques for an Atomic Force Microscope, In Proceedings of the 7th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes. Barcelona, Spain. Sainz, M. Á. Armengol J., Vehí. J. (22). Fault detection and isolation of the three-tan system using the modal interval Analysis. Journal of Process Control, 2 (2), 325-338. Shamma, J.S., Cloutier, J.R. (993). Gain scheduled missile autopilotdesign using linear parameter varying transformations. AIAA Journal of Guidance, Control, and Dynamics, 6(2):256 263. Zhang, Y. M., Jiang, J. (25). Fault diagnosis using a variable-length sliding window blocwise least-squares parameter estimation approach. In Proc. of the st Worshop on Networed Control System and Fault Tolerant Control, Ajaccio, France. -35-

Annex : Uncertainty shape H Matrix H determines the weight and relations between the different parametric uncertainties. In this annex, a data-based procedure is presented to find a suitable H given a set of data rich enough from the identification point of view, M regressor matrix values Φ ( ) and output measurements y ( ). Let us consider the consistency test condition () for all the identification data, model () and parameter vector θ( p ) Θ with Θ θ ( p ) Θ where Θ is a convex set. In the following, it will be described how to find the set Θ fulfilling condition (). Notice that this parameterization of the uncertainty is more general than the parametric uncertainty given in (2) (bounded by a zonotope). Then, the matrix H will be computed in such a way that the zonotope centred in the origin defined by H fulfils the uncertainty conditions of Θ. A. Defining convex set Θ n ΘH (6) At every instant, the regressor matrix Φ ( ) and the measured output y() define two half-spaces Θ and Θ in n that fulfil n : i ( ) yi ( ) yˆ i ( ) i, i,.., ny Θ θ φ θ where φ is the i th row of the regressor matrix Φ ( ). i n : i ( ) yi ( ) yˆ i ( ) i, i,.., ny Θ θ φ θ Then, the sets Θ and Θ that satisfy respectively,..., M, i,.., ny are defined by i ( ) yi ( ) yˆ i ( ) i φ θ and i ( ) yi ( ) yˆ i ( ) i φ θ, M Θ Θ and M Θ Θ (62) Notice that: Θ and Θ are polytopes defined by linear inequalities. And finally, the set Θ that fulfils condition (),..., M satisfies Θ Θ and Θ Θ (63) Condition (63) implies that at least one point of every polytope defined in (62) belongs to the uncertainty set Θ. This points will be denoted as θ (point of Θ ) and θ (point of Θ ). In order to minimize the uncertainty of the output estimation, the parameters θ and θ can be chosen as follows -36-

n y M i i yi yˆ i i θ arg min φ ( ) θ ( ( ) ( ) ) (64) θ subject to i ( ) yi ( ) yˆ i ( ) i φ θ i,.., ny and n y M i i yi yˆ i i θ arg min φ ( ) θ ( ( ) ( ) ) (65) θ subject to i ( ) yi ( ) yˆ i ( ) i φ θ i,.., ny A.2 Enclosing Θ by a zonotope Once θ and θ have been calculated, the zonotope centred in the origin that contains these two points can be determined as the box (particular case of zonotope) whose opposite vertex are θ and θ that can be defined as in (6) with H as where Hi; i max abs( θ i ), abs( θ i ) i,.., n ; H n ; n H diag H (66) In order to benefit of the richness of the zonotope representation of the uncertain parameter set, lets tae into account possible dependencies between the different components of the parametric uncertainty, the data can be divided depending on the j direction of the regressor vectors in n D groups. Then, the parameter sets (62) can be obtained for every set of data ( Θ and j Θ j,.., nd ) and, in the same way, optimal parameters ( θ and j j θ j,.., nd ) can be calculated applying (64) and (65) to every set of data. Then, the zonotope centred in the origin that contains these 2n D points can be calculated considering H v,, ndv nd (67) where v j j,.., nd are the unitary vectors (dimension n ) that define the directions of the data sets, and j j,.., nd are the coefficients to be computed. The problem of computing j, j,.., nd can be formulated as the following linear programming optimization problem Problem A.: Computation of the coefficients j, j,.., nd min,, i i, j i, j n D i i subject to -37-

j nd nd j i, j i and i, j i j,.., nd i i θ v θ v with and i,.., n, j,.., n i i, j i i i, j i D D Notice that Problem A. is a linear programming problem. -38-

Annex 2: Off-line and on-line procedures to apply the proposed identification and fault diagnosis approach -39-

-4-