Documentation · Fault simulation
CubeSat fault scenarios: degraded battery, energy deficit and safe mode
What happens when a CubeSat's battery has aged, or its operating plan spends more energy than the array delivers? CubeTwin simulates these energy faults and the flight software's safe-mode response today. Hardware failure modes are catalogued for every component; injecting them, and detecting and isolating them, is planned research.
Implemented
- Degraded battery through the state-of-health factor
- Energy deficit leading to reserve, payload deferral and safe mode
- Safe-mode entry, recovery with dwell, unmet and curtailed energy
- Artificial eclipse override for what-if studies (labelled)
- 42 catalogued failure modes across 18 components
Experimental
- SOC estimation from synthetic noisy measurements (Kalman filter demonstration)
Planned
- Fault injection for the catalogued failure modes (R5 research laboratory)
- Fault detection, isolation and recovery (FDIR) and prognostics (curriculum chapter 11)
- Fault propagation between subsystems (lesson 21)
- Simulated fault types
- battery degradation (SOH), energy deficit, safe-mode cycles, unmet load
- Safe-mode logic
- enter when SOC falls through 30 %, leave after 10 min at or above 50 %
- Payload protection
- a payload window is deferred if SOC is below the 40 % reserve when it opens
- Hardware faults
- catalogued per component; not injected in R1

Definition
A fault is an abnormal condition of a component or of the system; a failure is the loss of a required function. Fault simulation runs the spacecraft model with a fault present to see how the system responds. In CubeTwin R1 the faults that can be simulated are those the energy models represent: reduced battery capacity, energy deficits and their consequences through the mode logic.
Engineering purpose
Energy faults are slow: a plan with a small deficit per orbit can look healthy for hours and then drive the spacecraft into safe mode. Simulating them over many orbits shows how much margin a plan has, how a degraded battery shortens that margin, and whether a reduced-power plan restores a positive balance.
Hardware architecture and components
The faults simulated today live in the battery (capacity, through state of health) and in the energy balance of the electrical power system. The architecture page lists every component's catalogued failure modes.
Physical principles
A Li-ion battery's usable capacity fades with age; with the same energy deficit per orbit a smaller capacity reaches any SOC threshold sooner. When the battery reaches its lower limit, demand that cannot be met is unmet; the flight software's safe mode sheds the payload, reduces ADCS power, keeps only a beacon and points to the Sun to recover.
Mathematical model and units
Threshold crossings are located exactly within the sub-step, so the time of safe-mode entry does not depend on the step size beyond the averaged-power approximation.
System behaviour: the reference scenarios
Four scenarios of the reference mission over 24 hours (engine):
| Scenario | Question | Min SOC | First below reserve | Safe-mode entries | Unmet energy |
|---|---|---|---|---|---|
| Nominal | Does the spacecraft keep a positive energy balance in its normal operating plan? | 80.0 % | not reached | 0 | 0.00 Wh |
| Increased demand, nadir | What happens when the spacecraft points its payload at Earth and runs it twice as often? | 30.0 % | 9.1 h | 1 | 0.00 Wh |
| Degraded battery | With the same deficit, how much sooner does a battery at 60 % health reach its reserve? | 27.4 % | 5.6 h | 4 | 0.00 Wh |
| Reduced power | Does a reduced-power plan make the nadir-pointing spacecraft energy-positive again? | 79.9 % | not reached | 0 | 0.00 Wh |
| Parameter | Value | Source |
|---|---|---|
State of health (reference) initial.soh | 1 | Assumption |
Reserve SOC operations.reserveSoc | 0.4 | Assumption |
Safe-mode entry SOC operations.safeEntrySoc | 0.3 | Assumption |
Recovery SOC operations.recoverySoc | 0.5 | Assumption |
Recovery dwell operations.recoveryDwell | 600 s | Assumption |
Safe-mode attitude operations.safeAttitude | sun-face | Assumption |
Artificial eclipse override simulation.eclipseOverride | none s | Assumption |
Interfaces and dependencies
Battery state of health → effective capacity → SOC events → EPS mode logic → loads and attitude → array power → battery. The loop closes through the runtime's event handling.
Catalogued failure modes
| Subsystem | Component | Failure modes (catalogued, not injected) |
|---|---|---|
| Structure | Primary structure and rails | Loss of preload in fasteners; Rail galling or cold welding |
| Electrical power | Solar panel +X | Cell string open circuit; Cover-glass darkening; Partial shading |
| Electrical power | Solar panel −X | Cell string open circuit; Cover-glass darkening; Partial shading |
| Electrical power | Solar panel +Y | Cell string open circuit; Cover-glass darkening; Partial shading |
| Electrical power | Solar panel −Y | Cell string open circuit; Cover-glass darkening; Partial shading |
| Electrical power | Electrical Power System board | Converter failure; Latch-up on a switched rail; MPPT stuck off the maximum power point |
| Electrical power | Battery pack (2S Li-ion) | Capacity fade; Internal resistance rise; Cell imbalance; Charging below 0 °C |
| Electrical power | Battery management electronics | Sense-line fault; Protection trip |
| Avionics | Onboard Computer | Single-event upset and reset; Memory corruption |
| Communications | UHF transceiver | PA overheating; Receiver desensitisation |
| Communications | UHF tape antenna | Deployment failure; Burn-wire release failure |
| ADCS | Reaction wheels | Bearing wear; Momentum saturation |
| ADCS | Magnetorquers | Coil open circuit |
| ADCS | Sun sensors | Albedo contamination; Bias |
| Payload | Health-monitoring payload | Payload overrun; Data corruption |
| Thermal | Battery heater | Heater stuck on; Thermostat failure |
| Thermal | Temperature sensors | Sensor bias; Open circuit |
| Electrical power | Wiring harness | Connector fretting; Chafed insulation |
Model fidelity, assumptions and limitations
- State of health is fixed within a run; there is no ageing model.
- No component-level fault is injected; there is no fault detection, isolation or recovery algorithm beyond the safe-mode state machine.
- Safe mode is an energy-protection behaviour; there is no attitude-loss, communication-loss or software-reset scenario.
- The Kalman estimator on Keynote slide 7 runs on synthetic measurements and demonstrates a method; it is not connected to hardware.
Verification and validation evidence
Safe-mode hysteresis and dwell, payload deferral below the reserve, and the state-of-health slider changing the effective capacity exactly are covered by engine tests and browser end-to-end checks. A 14-day, four-scenario comparison is part of the browser checks. No fault has been compared with flight or laboratory data.
References
Safe-mode thresholds and the degraded-battery scenario are documented teaching values in spec/parameters/reference-3u.json and reference-3u.scenarios.json. Fault-management references will be verified before the R5 fault-injection work.