Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract: - This paper deals with the calculation of MTTF values with the help of Markov models. It shows what Markov
models are and how they can be utilised to achieve valid and important information for safety instrumented systems. In
few examples the different calculations steps are presented, detailed and examined.
no repairable component the second system has a The question might be risen how a transition from state
repairable element. Non repairable systems, cannot be Z0 to the same state Z0 within the time interval dt can be
repaired if a dangerous failure occurred, except the faulty expressed. This is illustrated in equation 2:
component gets exchanged. Figure 2 shows such a n
system. p (Z j → Z k ) = p jj = 1 − ∑ λ jk ⋅ dt
k =0 (2)
λ
with ( j = 0,1,2,..., n; k = 0,1,2,..., n; j ≠ k )
The system ins operating in state Z0. After a certain time Inserting equation 3 into equation 2 results in:
the system changes from state Z0 according to a transition
rate or failure rate λ into state Z1: the system has failed. p (Z j → Z k ) = p jj = 1 − λ jj ⋅ dt (4)
The state Z1 represents the condition, when the system is
our of order. To change the condition, the system’s
component has to exchanged, since the system cannot be Applying equation 4 for state Z0,with a transition to the
repaired. same state, results in:
Repairable systems, are systems which can be brought
into fully operation when after a dangerous failure p jj = p00 = 1 − λ00 ⋅ dt (5)
occurred the system is getting repaired. Figure 3 shows
such a architecture. To present all states of a Markov model a transition
λ matrix is used. The general form of this matrix is shown
in equation 6:
calculated then the initial P-matrix has to taken by the 4.1 Examples for a P-matrix
power of three as shown in equation 8: The P-matrix should be derived from the Markov model
shown in Figure 4.
P(T = 3) = P(T = 1) ⋅ P(T = 1) ⋅ P(T = 1) = [P(T = 1)]
3
(8)
0.01
The next section shows how the MTTF (Mean Time To 0.99 0.5
Failure) of Markov models can be calculated:
Z0 Z1
4 General mathematical description
of MTTF
MTTF stands for Mean Time To failure and gives the
0.5
mean time between to failures of a system. To calculate
the MTTF value for a system described with a Markov Fig. 4: Simple Markov model
model, the transmission matrix for Markov models is
necessary. The following steps are necessary to Since the Markov model has only two states, the P-matrix
determine the MTTF for a system. has a dimension of 2x2. The general P-matrix of this
architecture is shown in equation 11:
• First step: Determine the Q-matrix:
p p 01
P = 00 (11)
The reliability matrix also known as Q-matrix can be p10 p11
derived from the P-matrix. To determine the Q-matrix
from the P-matrix some criteria has to be fulfilled and
The values from Figure 4 can be inserted in equation 11
observed. Firstly, the system has to be in an operational
and results in:
mode and absorbing states do not exist. Secondly, the
following states are excluded, which are safe states and
dangerous undetected states. An absorbing state 0.99 0.01
P= (12)
possesses either a transition to a safe state or to a failure 0.5 0.5
free state and has not other transition. Therewith the Q-
matrix can be determined. The sum of each row of the P-matrix has to be always
one, which is true for the presented example and
• Second step: Determine the M-matrix: therefore the P-matrix is correct.
After the Q-matrix is established, the M-matrix has to be
derived. Therefore the Q-matrix has to subtracted from
4.2 Example for a MTTF calculation
The MTTF value for the Markov model illustrated in
the unity matrix, as shown in equation 9:
Figure 5 should be calculated. The system has four states
Z0, Z1, Z2 and Z3. It is assumed that system is operation in
M = I −Q (9)
states Z0, Z1. Since four states exists the P-matrix has a
dimension of 4x4.
• Third step: Determine the N-matrix:
Z2
The N-matrix is the inverse of the M-matrix and is stated system is in dangerous situation, but the system cannot be
as: repaired, since it is not known that the system is in this
1 particular state. Therefore, one has to wait, until the life
N = [M ] =
−1
(21) cycle or life time (LT) is expired and the component is
(λS + λD ) getting exchanged or the repaired. The transition rate to
the initial state is µLT.
Since equation 21 is a matrix with dimension one, the N-
matrix is equal to the MTTF value.
1 1
µ LT = (25)
1 τ LT s
MTTF1oo1 = N = (22)
(λS + λD )
Additionally, the possibility exists that a transition is
carried out to state Z0 via the states Z5 and Z1 with the
6 1oo2 System as Markov model transition rates µ0 and µR, respectively.
The 1oo2 system has two independent channels. The
safety function is still functioning if one channels is able • State Z4 , Z5, Z6
to operate. If two channels fail then the system is not
functioning and therefore out of order. The next example The remaining states are where both systems have
is going to illustrate this. In state Z0 both systems are in dangerous detected failures (Z4), or one system has a
operation (System ok). Next, the different states are dangerous detected failure, while the other has a
going to be described: undetected failure (Z5) and last state (Z6) is where both
systems have dangerous undetected failures.
• State Z1
As in the previous example, this is the state ‘system safe’. 2 ⋅ λS
This state can be reached from the failure free state with a
System
S
µ0
Z1
µ0
transition of 2λS. The value 2 results from the fact that µR µ0 Sys.DD
β D ⋅ λDD Sys.DD
the system has two independent channels. λS stands for Z4
µ LT
λS = λ SD + λ SU (23) β ⋅ λDU
Sys.DD
Sys.ok
Sys.DU Sys.DU
Sys.DU Sys.DU
Z3 Z5
Z6 λDU
With a transition rate µR of (repair) can the system return
to the failure free state Z0. Fig. 7: 1oo2 System as Markov model
1
µR = (24)
The P-matrix can de determined, whereby the following
τR
abbreviations are used:
• State Z2
A1 = 2 ⋅ λ S + β D ⋅ λ DD + 2 ⋅ λ DD + 2 ⋅ λ DU + βλ DU (26)
The system is in a critical situation, when it reaches this
state. One system is operating the other one is in the state A2 = µ 0 + λ DD + λ DU (27)
of a dangerous detected failure λDD. The state Z0 can be
reached with the transition rates of µR and µ0 via the state A3 = µ LT + λ DD + λ DU (28)
Z1.
The P-matrix with the abbreviations are stated in
1
µ0 = (25) equation 29:
τ test
• State Z3
−1
1 − A1 dt 2λ S dt 2λ DD dt 2λ DU dt A1 − 2λDD − 2λDU
µ dt 1 − µ dt 0 0 N = [M ] = 0 0
−1
R R A2 (33)
0 µ 0 dt 1 − A2 dt 0 0 0 A3
P = µ LT dt 0 0 1 − A3 dt...
0 µ 0 dt 0 0 And the final result is:
0 µ 0 dt 0 0
1 2λDD 2λDU
µ dt 0 0 0
LT
(29) A1 A1 A2 A1 A3
β D λ DD dt 0 βλ DU dt 1
N = 0 0 (34)
0 0 0 A2
λ DD dt λ DU dt 0 1
0 0
A3
0 λ DD dt λ DU dt
1 − µ 0 dt 0 0
The MTTF value can now be calculated, by taken the
0 1 − µ 0 dt 0 first row of the N-matrix:
0 0 1 − µ LT dt
1 2λDD 2λDU
MTTF1oo2 = + + (35)
The necessary Q-matrix is taken from the equation 29 A1 A1 A2 A1 A3
and results in equation 30:
Equation 35 presents the mean life cycle (life time) of a
1 − A1 dt 2λ DD dt 2λ DU dt 1oo2 architecture derived from Markov models.
Q = 0 1 − A2 dt 0 (30)
7 Conclusion
µ LT dt 0 1 − A3 dt The paper presented a systematic approach from the set
up of Markov models to the final step of calculating the
Equation 30 can be simplified since for this 1oo2 system MTTF value, which is an important parameter for in the
described as a Markov model, τLT → ∞ and therefore : research area of safety instrumented systems. Two
µ ≈ 0 and equation 30 becomes: different architecture were examined a 1oo1 and a 1oo2
architecture. This systematic approach can applied to
1 − A1 dt 2λ DD dt 2λ DU dt different safety related architectures and systems.
Q = 0 1 − A2 dt 0 (31) References:
0 0 1 − A3 dt [1] Börcsök, J.. Elektronic Safety Systems. Heidelberg:
Hüthig publishing company 2004
[2] Börcsök J., Ugljesa E.. Advanced 2oo4 hardware
The next step is to calculate the M-matrix:
architectures for safety related systems, Journal
WSEAS Transactions on Computer Research, Vol. 6,
1 0 0 1 − A1dt 2λDDdt 2λDU dt Issue 1, pp. 14-20, ISSN: 1991-8755, 2007
M ⋅ dt = 0 1 0 − 0 1 − A2 dt 0 (32) [3] Goble, W. M. 1995. Safety of programmable
electronic systems – Critical Issues, Diagnostic and
0 0 1 0 0 1 − A3 dt Common Cause Strength Proceedings of the IchemE
Symposium, Rugby, U. K: Institution of Chemical
and results in: Engineers
[4] Shooman, M.L.. Probabilistic reliability. McGraw-
A1 − 2λDD − 2λDU Hill. 1986
[5] Smith, D.J.. Reliability Maintainability and Risk.
M = 0 A2 0 (33) Newnes. 2001
0 0 A3 [6] Storey N.. Safety critical computer systems, Addison
Wesley. 1996
To determine the MTTF value the N-matrix has to be
computed: