25.07.2014 Views

pdf download - Software and Computer Technology - TU Delft

pdf download - Software and Computer Technology - TU Delft

pdf download - Software and Computer Technology - TU Delft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Model-Based Fault Diagnosis<br />

4.5 Entropy Gain<br />

system inverter3 ()<br />

{<br />

// Define a priori probabilities for all health variables<br />

probability ( hA = false ) = 0.01;<br />

probability ( hB = false ) = 0.01;<br />

probability ( hC = false ) = 0.01;<br />

}<br />

// Define the behavioral rules for the 3 inverters<br />

hA => (w = !x);<br />

hB => (x = !y);<br />

hC => (x = !z);<br />

By the way, this is an intermediate step within the LYDIA compiler. It does not change the semantics<br />

of the model. Compositional models improve maintainability, allow for reuse, <strong>and</strong> improve<br />

readability. Suppose the inverters are implemented by resistive-drain (that is, using one transistor<br />

<strong>and</strong> one resistor). For some reason, the supervisory controller is interested in the health of these<br />

transistors <strong>and</strong> resistors. The only code that requires to be updated is the specification of a single<br />

inverter.<br />

4.5 Entropy Gain<br />

This section discusses a metric that can be used to estimate the diagnostic performance of a specific<br />

MBD implementation, namely entropy. Entropy can be used as a feedback mechanism to improve<br />

the quality of a model, or decide which measurements are best. Entropy is a heuristic, introduced<br />

by Shannon [26], to quantify information. De Kleer <strong>and</strong> Williams suggested to use entropy as a<br />

heuristic for quantifying the uncertainty of diagnosis [11]. The idea is as follows. The outcome of<br />

the diagnostic engine has some uncertainty. If no information about a system is available, anything<br />

can be broken, <strong>and</strong> the uncertainty is at its maximum. A stronger model, or more observations<br />

upon the physical system, can shorten the list of possible diagnoses; the uncertainty decreases.<br />

The extent to which a specific MBD implementation decreases uncertainty is called entropy gain<br />

(although entropy loss seems to make more sense, this thesis follows the convention to use the<br />

term entropy gain). Entropy is measurable in bits. This enables the comparison of various MBD<br />

implementations. In other words, entropy in MBD could be used to optimize models, <strong>and</strong> as a mean<br />

to decide the best measurements on the target system.<br />

Below, entropy is used to determine the best measurement points of a classical diagnosis example,<br />

namely a digital circuit of 4 inverters.<br />

4.5.1 Best Next Measurements<br />

As explained before, a list of diagnoses is consistent with a certain set of observations. Additional<br />

measurement could decrease the number of possibilities, thus improve diagnostic resolution. This is<br />

called sequential fault diagnosis [23]. In industry, doing an additional measurement increases costs.<br />

Entropy outcomes can be used to decide which measurements are best to be done first. Consider<br />

Figure 4.2. It shows a simple digital circuit of 4 inverters, A, B, C <strong>and</strong> D, in a pipeline structure.<br />

This section uses entropy to decide the best points to measure in this circuit. The input <strong>and</strong> output<br />

43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!