Probabilistic Performance Analysis of Fault Diagnosis Schemes
Probabilistic Performance Analysis of Fault Diagnosis Schemes
Probabilistic Performance Analysis of Fault Diagnosis Schemes
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Algorithm 4.1. General procedure for computing the performance metrics, where the decision function<br />
δ is a time-varying threshold.<br />
Require: A final time N ∈ N, a Gaussian initial state η 0 ∼ N (ˆη 0 ,Λ 0 ), a sequence <strong>of</strong> thresholds<br />
{ε k } such that ε i > 0, and a fault model θ ∼ ( Θ,{Π k },π 0<br />
)<br />
.<br />
1 for all ϑ 0:N ∈ Θ N+1 with nonzero probability do<br />
2 for k = 0,1,..., N do<br />
3 if k = 0 then<br />
4 P(θ 0 = ϑ 0 ) = π 0 (ϑ 0 )<br />
5 else<br />
6 P(θ 0:k = ϑ 0:k ) = Π k−1 (ϑ k−1 ,ϑ k ) P(θ 0:k−1 = ϑ 0:k−1 )<br />
7 end if<br />
8 ˆη k+1 = A k (ϑ k )ˆη k + B u,k (ϑ k )u k + B f f k (ϑ 0:k )<br />
9 ˆr k = C k (ϑ k )ˆη k + D u,k (ϑ k )u k + D f f k (ϑ 0:k )<br />
10 Λ k+1 = A k (ϑ k )Λ k A T k (ϑ k) + B v,k (ϑ k )B T v,k (ϑ k)<br />
11 Σ k = C k (ϑ k )Λ k C T k (ϑ k) + D v,k (ϑ k )D T v,k (ϑ k)<br />
12 Compute P ( )<br />
D 0,k | θ 0:k = ϑ 0:k<br />
13 if ϑ k ∈ Θ 0 then<br />
14 P tn,k = P tn,k + P ( ) ( )<br />
D 0,k | θ 0:k = ϑ 0:k P θ0:k = ϑ 0:k<br />
15 P fp,k = P fp,k +<br />
(1 − P ( ) )<br />
D 0,k | θ 0:k = ϑ 0:k P ( )<br />
θ 0:k = ϑ 0:k<br />
16 else<br />
17 P fn,k = P fn,k + P ( ) ( )<br />
D 0,k | θ 0:k = ϑ 0:k P θ0:k = ϑ 0:k<br />
18 P tp,k = P tp,k +<br />
(1 − P ( ) )<br />
D 0,k | θ 0:k = ϑ 0:k P ( )<br />
θ 0:k = ϑ 0:k<br />
19 end if<br />
20 end for<br />
21 end for<br />
• Line 12 computes the conditional probability P(D 0,k | θ 0:k = ϑ 0:k ), and then Lines 13–19<br />
use this probability to update the performance metrics. Note that Line 18 is technically<br />
superfluous, because the performance metrics must sum to one.<br />
Remark 4.31. While most <strong>of</strong> the computation is straightforward, Line 1 is the most difficult<br />
portion <strong>of</strong> this algorithm, as it requires all possible parameter sequences to be generated.<br />
One option is to generate and store all the sequences in an array. However, this size <strong>of</strong><br />
such an array would be prohibitively large. Another option is to dynamically generate the<br />
sequences while bookkeeping which sequences have already been considered. This is the<br />
approach taken with the special cases in Sections 4.5.2 and 4.5.3. However, we have not yet<br />
discovered a practical implementation for this portion <strong>of</strong> the algorithm.<br />
69