ArticleslgStudy

engineering

Triple modular redundancy

Triple modular redundancy is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Triple modular redundancy rather than just read about it. In short: In computing, triple modular redundancy, sometimes called triple-mode redundancy, (TMR) is a fault-tolerant form of N-modular redundancy, in which three systems perform a process and that result is processed by a majority-voting system to produce a single output. If any one of the three systems fails, the other two systems can correct and mask the fault.

Triple modular redundancy — main illustration
Triple modular redundancy — illustration

Key takeaways

  • Triple modular redundancy belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Triple modular redundancy to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Triple modular redundancy from memory before moving on to harder problems.

Reference excerpt

In computing, triple modular redundancy, sometimes called triple-mode redundancy, (TMR) is a fault-tolerant form of N-modular redundancy, in which three systems perform a process and that result is processed by a majority-voting system to produce a single output. If any one of the three systems fails, the other two systems can correct and mask the fault. The TMR concept can be applied to many forms of redundancy, such as software redundancy in the form of N-version programming, and is commonly found in fault-tolerant computer systems. Space satellite systems often use TMR, although satellite RAM usually uses Hamming error correction. Some ECC memory uses triple modular redundancy hardware (rather than the more common Hamming code), because triple modular redundancy hardware is faster than Hamming error correction hardware. Called repetition code, some communication systems use N-modular redundancy as a simple form of forward error correction. For example, 5-modular redundancy communication systems (such as FlexRay) use the majority of 5 samples – if any 2 of the 5 results are erroneous, the other 3 results can correct and mask the fault. Modular redundancy is a basic concept, dating to antiquity, while the first use of TMR in a computer was the Czechoslovak computer SAPO, in the 1950s.

General case The general case of TMR is called N-modular redundancy, in which any positive number of replications of the same action is used. The number is typically taken to be at least three, so that error correction by majority vote can take place; it is also usually taken to be odd, so that no ties may happen.

Majority logic gate

3-input majority gate

The 3-input majority gate output is 1 if two or more of the inputs of the majority gate are 1; output is 0 if two or more of the majority gate's inputs are 0. Thus, the majority gate is the carry output of a full adder, i.e., the majority gate is a voting machine. The 3-input majority gate can be represented by the following boolean equation and truth table:

Q=AB∨BC∨AC

In TMR, three identical logic circuits (logic gates) are used to compute the same set of specified Boolean function. If there are no circuit failures, the outputs of the three circuits are identical. But due to circuit failures, the outputs of the three circuits may be different.

TMR operation Assuming the Boolean function computed by the three identical logic gates has value 1, then: (a) if no circuit has failed, all three circuits produce an output of value 1, and the majority gate output has value 1. (b) if one circuit fails and produces an output of 0, while the other two are working correctly and produce an output of 1, the majority gate output is 1, i.e., it still has the correct value. And similarly for the case when the Boolean function computed by the three identical circuits has value 0. Thus, the majority gate output is guaranteed to be correct as long as no more than one of the three identical logic circuits has failed. For a TMR system with a single voter of reliability (probability of working) Rv and three components of reliability Rm, the probability of it being correct can be shown to be RTMR = Rv (3 Rm2 − 2 Rm3). TMR systems should use data scrubbing – rewrite flip-flops periodically – in order to avoid accumulation of errors.

Voter

The majority gate itself could fail. This can be protected against by applying triple redundancy to the voters themselves. In a few TMR systems, such as the Saturn Launch Vehicle Digital Computer and functional triple modular redundancy (FTMR) systems, the voters are also triplicated. Three voters are used – one for each copy of the next stage of TMR logic. In such systems there is no single point of failure. Even though only using a single voter brings a single point of failure – a failed voter will bring down the entire system – most TMR systems do not use triplicated voters. This is because the majority gates are much less complex than the systems that they guard against, so they are much more reliable. By using the reliability calculations, it is possible to find the minimum reliability of the voter for TMR to be a win.

Chronometers To use triple modular redundancy, a ship must have at least three chronometers; two chronometers provided dual modular redundancy, allowing a backup if one should cease to work, but not allowing any error correction if the two displayed a different time, since in case of contradiction between the two chronometers, it would be impossible to know which one was wrong (the error detection obtained would be the same of having only one chronometer and checking it periodically). Three chronometers provided triple modular redundancy, allowing error correction if one of the three was wrong, so the pilot would take the average of the two with closer reading (vote for average precision). There is an old adage to this effect, stating: "Never go to sea with two chronometers; take one or three." Mainly this means that if two chronometers contradict, how do you know which one is correct? At one time this observation or rule was an expensive one as the cost of three sufficiently accurate chronometers was more than the cost of many types of smaller merchant vessels. Some vessels carried more than three chronometers – for example, HMS Beagle carried 22 chronometers. However, such a large number was usually only carried on ships undertaking survey work as was the case with the Beagle. In the modern era, ships at sea use GNSS navigation receivers (with GPS, GLONASS & WAAS etc. support) – mostly running with WAAS or EGNOS support so as to provide accurate time (and location).

In popular culture In Arthur C. Clarke's science fiction novel Rendezvous with Rama, the Ramans make heavy use of triple redundancy. In the popular anime Neon Genesis Evangelion, the Magi are a set of three biological supercomputers that must agree with a 2/3 majority vote before delivering a decision. In the film Minority Report, 3 "precogs" are used to predict impending homicides, using a triple modular redundancy. In the plot, this system fails, causing a false positive: an innocent man is wrongly accused of murder.

See also Fault tolerant system Lockstep (computing) Segal's law

References

… excerpt ends here. Continue reading the full article.

Illustrations

Triple modular redundancy: Triple modular redundancy. Three identical logic circuits (logic gates) are used to compute the specified Boolean function. The set of data at the input of the first circuit are identical to the input of the second and third gates.
Triple modular redundancy. Three identical logic circuits (logic gates) are used to compute the specified Boolean function. The set of data at the input of the first circuit are identical to the input of the second and third gates.
Triple modular redundancy: 3-input majority gate using 4 NAND gates
3-input majority gate using 4 NAND gates
Triple modular redundancy: Triple modular redundancy with one voter (top) and three voters (bottom)
Triple modular redundancy with one voter (top) and three voters (bottom)

Worked examples

Example 1 — a first encounter with Triple modular redundancy

Start with the simplest possible case. Write down what Triple modular redundancy claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Triple modular redundancy before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Triple modular redundancy ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Triple modular redundancy

In research
Triple modular redundancy appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Triple modular redundancy in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Triple modular redundancy is common in secondary-school and first-year university syllabi. It links to neighbouring topics Engineering concepts, Error detection and correction, Fault-tolerant computer systems, so understanding it makes those chapters shorter.
In everyday life
Look for Triple modular redundancy outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Triple modular redundancy” →

How to study Triple modular redundancy in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Triple modular redundancy means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Triple modular redundancy out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Triple modular redundancy in simple terms?

In computing, triple modular redundancy, sometimes called triple-mode redundancy, (TMR) is a fault-tolerant form of N-modular redundancy, in which three systems perform a process and that result is processed by a majority-voting system to produce a single output. If any one of the three systems fai…

Why does Triple modular redundancy matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Triple modular redundancy?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Triple modular redundancy.

Tags

  • Engineering concepts
  • Error detection and correction
  • Fault-tolerant computer systems
  • Reliability engineering
  • Safety

Keep exploring