Redundancy — cold standby, hot standby, active redundancy
The Three Flavors of Redundancy
1. Cold Standby
How It Works — Step by Step:
- Normal State: Primary component operates, backup is OFF
- Failure Detection: A watchdog circuit or software detects primary failure (timeout, error signal, health check)
- Switchover: Control logic commands the backup to power on
- Initialization: Backup goes through startup sequence (can take seconds to minutes)
- Operational: Backup now performs primary's function
WHY cold standby?
- Saves power and thermal load during mission (critical for battery-powered spacecraft)
- Reduces wear-out failure modes (components OFF don't age as fast)
- Simplest to implement when switchover delay is acceptable
Example: Mars Rover Computer
A Mars rover has two identical flight computers. One runs the rover (primary), the other is powered off (cold standby).
- Scenario: Primary computer experiences a radiation-induced bit flip that crashes the kernel
- Detection: Watchdog timer expires (no heartbeat signal for 10 seconds)
- Action: Power distribution unit cuts power to primary, energizes backup
- Result: Backup boots (takes ~2 minutes), rover resumes operations with minimal state loss
Why this step? The watchdog timer is independent hardware — if software hangs, software can't detect its own hang. Hardware must intervene.
2. Hot Standby
Derivation of Switchover Time:
Let's derive why hot standby is faster.
In cold standby:
In hot standby:
Why? Because (already on), (already booted), and often (continuously synchronized).
Typical values:
- Cold standby: 1–120 seconds
- Hot standby: 1–100 milliseconds
WHY hot standby?
- Critical systems that can't tolerate downtime (reaction wheels during precision pointing, transponders during entry/descent/landing)
- When loss of state during switchover is unacceptable
- When failure detection itself is fast and reliable
Example: GPS Receiver on Satellite
A satellite uses GPS for orbit determination. It has two GPS receivers:
- Primary receiver actively tracks satellites and computes position
- Hot standby receiver is ON, tracking same satellites, computing same solution, but output is ignored
Scenario: Primary receiver's RF frontend fails (no signal)
- Detection: Output solution diverges from expected orbit, or receiver reports "no lock" (detected in<1 second)
- Action: Software switch routes hot standby output to navigation filter
- Result: Navigation continues with<100ms gap, no lock re-acquisition needed
Why this step? Re-acquiring GPS lock from cold takes30–60 seconds. During Mars entry, that's mission-ending.
3. Active Redundancy (Parallel Redundancy)
How Voting Works — Triple Modular Redundancy (TMR):
Three identical units compute the same function. A voter compares outputs.
Majority voting rule:
If A=1, B=1, C=0 → Output = 1 (2-of-3 agree)
WHY does this work?
- Single fault tolerance: One unit can fail arbitrarily (wrong output, stuck, noisy) and the voter still produces correct output
- Fault detection: Disagreement signals that someone is faulty (though you don't know who without more logic)
Example: Inertial Measurement Unit (IMU) on Crewed Spacecraft
The Space Shuttle had 4 IMUs (actually 5, but 4 in voting set):
- Each IMU measures angular rates (3 gyros) and accelerations (3 accelerometers)
- All 4 outputs feed into a consolidation algorithm
- Algorithm computes median or weighted average (outlier rejection)
Scenario: One gyro in IMU-2 drifts due to bearing wear
- Detection: IMU-2's X-axis rate differs from IMU-1, IMU-3, IMU-4 by >threshold
- Action: Consolidation algorithm down-weights IMU-2 or excludes it
- Result: Navigation solution remains accurate, mission continues, crew never notices
Why this step? You can't just "average" with a faulty sensor — if one reads 10°/s and three read 0.1°/s, average is 2.5°/s (wrong!). Median or outlier rejection is crucial.
Comparison Table
| Type | Power | Switchover Time | MTTF (2 units) | Best Use |
|---|---|---|---|---|
| Cold Standby | Low (backup OFF) | Seconds to minutes | Non-critical, power-limited missions | |
| Hot Standby | High (backup ON) | Milliseconds | Time-critical systems | |
| Active Redundancy | Highest (all ON) | None (fault masked) | (voting-dependent) | Safety-critical, fault-intolerant |
Recall Explain to a 12-Year-Old
Imagine you're doing homework and your pencil breaks. Cold standby: You have a backup pencil in your backpack. You have to stop, open the bag, find it, sharpen it. Takes a minute, but you saved weight by not carrying two pencils in your hand all day. Bonus: that spare pencil is fresh and unused — it lasts a full lifetime because you never touched it before.
Hot standby: You have a backup pencil already in your other hand, sharpened and ready. The instant your first one breaks, you switch. No time lost, but your hand was tired holding two pencils — and both pencils have been getting worn from being carried around, so together they don't last quite as long.
Active redundancy: You write with THREE pencils taped together. If one breaks, the other two keep writing — you don't even notice. But it's bulky and weird to hold.
Spacecraft engineers pick which "pencil strategy" based on: How bad is it if I stop writing? How much weight can I carry? How much battery do I have?
Connections
- Failure Modes and Effects Analysis (FMEA) — How to identify what needs redundancy
- Reliability Block Diagrams — Series vs parallel modeling
- Power Budget — Why cold standby saves mission-critical power
- Fault Detection and Isolation — Algorithms that enable hot standby switching
- Byzantine Fault Tolerance — When redundant units might give wrong answers, not just fail
- Single Event Upset (SEU) — Radiation-induced failures that redundancy protects against
Flashcards
#flashcards/physics
What is the key difference between cold standby and hot standby? :: Cold standby: backup is powered OFF, takes seconds-minutes to activate, and does NOT age while waiting. Hot standby: backup is powered ON and synchronized, switches in milliseconds, but ages continuously.
Why does active redundancy (TMR) fail to improve reliability when R < 0.5?
Derive MTTF for hot standby (parallel) from first principles
Derive MTTF for cold standby from first principles
Why is cold-standby MTTF (2/λ) larger than hot-standby MTTF (3/(2λ))?
What is the single-point failure in many redundant systems?
In TMR voting, why use median instead of average?
When is cold standby preferred over hot standby?
What does "fault masking" mean in active redundancy?
Concept Map
Hinglish (regional understanding)
Intuition Hinglish mein samjho
Dekho yaar, redundancy ka core idea bahut simple hai — space mission mein billions of rupees lagte hain aur ek baar rocket launch ho gaya toh koi technician upar jaake repair nahi kar sakta. Isliye agar ek component fail ho gaya toh poori mission barbaad. Solution? Backup components rakho jo primary fail hone par takeover kar lein. Bas ek catch hai — extra backup ka matlab hai zyada mass, zyada power, aur zyada complexity. Yahi tradeoff engineer ko balance karna padta hai, jaise cliff climbing mein do ropes safe toh hain par bhaari bhi.
Ab teen flavors samajh lo. Cold standby mein backup OFF rehta hai — power zero consume karta hai, lekin fail hone par usko detect karna, switch karna, boot karna padta hai, jismein seconds se minutes lag sakte hain (jaise Mars rover ka second computer). Hot standby mein backup ON aur synchronized rehta hai, isliye switchover almost instant (milliseconds) hota hai, par continuously power kha raha hai — ye critical systems ke liye jahan downtime bilkul tolerate nahi hoti, jaise precision pointing ya landing ke time. Formula se clear hai: cold mein aur add hote hain, hot mein wo zero ho jaate hain, isliye speed ka fark aata hai.
Sabse important cheez jo students bhool jaate hain — sirf do computers hone se aap redundant nahi ho jaate! Jo switch primary se backup pe transfer karta hai (relay, control logic), wo khud ek single point of failure ban sakta hai. Kai real missions isliye fail hui hain kyunki backup toh theek tha par switch mar gaya. Isiliye spacecraft mein cross-strapped architecture use karte hain jahan har component multiple paths le sakta hai. Ye samajhna zaroori hai kyunki reliability engineering mein weakest link hi poore system ko decide karti hai — chahe baaki sab perfect ho.