A116 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A11 · Lesson 6 · Independence and reliability

When chances multiply, and how redundancy works

A circuit board has 50 solder joints, each 99.9% likely to be good. Every one must hold for the board to work. Is the board 99.9% reliable? 95%? And if you put two 95%-reliable power supplies in parallel, so either can carry the load, how reliable is the pair? Both answers come from one idea: when events are independent, their chances multiply. The same idea also shows where redundancy stops helping, when one shared cause can take out both copies.

  • Components of reliability r are combined n at a time: in series (all must work) and in parallel (any one is enough).
  • Raise n. Series systems get worse quickly; parallel ones get better quickly. How many 90% parts in parallel make a 99.9% system?
  • The dashed line is a 2-of-3 voting system, which works if at least two of three parts do.

Predict

A board has 50 solder joints in series, each good with probability 0.999, independently. About what fraction of boards work?

Name it

Independence

Events A and B are independent if

P(A∩B)=P(A)P(B)

Equivalently, P(A∣B)=P(A): learning B tells you nothing about A. Several events are independent if this product rule holds for every group of them, so that P(A∩B∩C)=P(A)P(B)P(C) and so on.

Independence is a property of the physical situation that you assume or check, not something the formulas give you. Bit errors from thermal noise are close to independent; bit errors from a lightning strike are not. Note the difference from mutually exclusive: those events can't happen together, which makes them strongly dependent.

Reliability of systems

Let each part work with probability ri, independently.

ArrangementWorks ifReliability
seriesevery part worksR=r1r2⋯rn
parallel (redundant)at least one part worksR=1−(1−r1)(1−r2)⋯(1−rn)
2 of 3 (voting)at least two of three workR=3r2−2r3 for equal parts

For parallel systems, work with failure: the system fails only if every part fails, and those independent failure chances multiply. Larger systems combine these: reduce each parallel group to one equivalent part, then multiply along the series chain.

Common causes

Redundancy only helps as far as the failures are independent. Two power supplies fed from the same AC line both fail when the line does. Model it as a series element: the shared cause in series with the redundant pair. A shared cause with reliability 0.99 caps the whole system at 0.99, however many supplies you add.

Worked example

Two power supplies, each 95% reliable, share a load so either one can carry it. How reliable is the pair? And if both run from one AC feed that's 99% reliable?

Show the solution
  1. The pair. It fails only if both supplies fail: R=1−0.052=0.9975
  2. Add the shared feed in series. R=0.99×0.9975=0.9875
  3. What limits it now. The feed now limits the system more than the supplies do, so a second feed would help more than a third supply.

Answer the pair is 0.9975 reliable, and 0.9875 with the shared feed.

Worked example

A flight computer uses three channels with 2-of-3 voting, each channel 90% reliable. How does it compare with one channel, and with three in parallel?

Show the solution
  1. 2-of-3 voting. 3(0.9)2−2(0.9)3=0.972
  2. One channel. Its reliability is 0.9.
  3. Three in parallel. 1−0.13=0.999
  4. Compare. Voting is less reliable than plain redundancy, but it can outvote a channel that's working wrongly instead of failing silently, which plain parallel can't.

Answer voting gives 0.972, against 0.9 for one channel and 0.999 for three in parallel.

Worked example

A board has 10 components in series, each 99% reliable. How reliable is the board, and how reliable must each part be for the board to reach 99%?

Show the solution
  1. The board. Every part must work, so the board's reliability is the product: 0.9910=0.904
  2. Each part, for 99% overall. 0.991/10=0.99900 ten times fewer failures per part.
  3. With a thousand parts. Each would need 99.999%: this is why complex systems need very reliable components, or redundancy.

Answer the board is 0.904 reliable, and each part must reach 0.99900 for the board to reach 99%.

Check

A and B are independent, with P(A) = 0.3 and P(B) = 0.5. What is P(A∩B)?

Check

A system has 20 parts in series, each working with probability 0.99, independently. How reliable is it?

Check

2 identical units, each 0.9 reliable, are in parallel: the system works if any one does. How reliable is it?

Check

Three channels, each 0.95 reliable, vote 2 of 3. How reliable is the system?

Check

Two redundant pumps, each 0.9 reliable, run from one controller that is 0.99 reliable. How reliable is the system?

Check

P(A) = 0.2, P(B) = 0.5 and P(A∩B) = 0.1. Which is true?

Check

A system has 5 independent parts in series, each with reliability 0.9.

(a)

How reliable is it?

(b)

How reliable are two of the parts in parallel (either one suffices)?

Check

Three channels each with reliability r vote 2-of-3.

Step 1

What is the chance all three work?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does a parallel system's reliability multiply failure chances instead of reliabilities?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.