Skip to content
CubeTwin

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
The CubeTwin eclipse-survival experiment: the question Will the spacecraft survive its next eclipse, scenario, duration, attitude and battery controls, and the survival answers and energy metrics computed by the engine.
The eclipse-survival experiment at /experiment/eclipse-survival: scenarios, durations from one orbit to 14 days, and four survival questions answered by the engine (simulated data).

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

Eeff=Enom SOH,SOC=EEeffE_{eff} = E_{nom}\,SOH,\qquad SOC = \frac{E}{E_{eff}}
safe←true when SOC↓SOCsafe;safe←false when SOC≥SOCrec for tdwell\text{safe} \leftarrow \text{true when } SOC \downarrow SOC_{safe};\qquad \text{safe} \leftarrow \text{false when } SOC \ge SOC_{rec} \text{ for } t_{dwell}
unmet=Pb−Pdiswhen E reaches Emin\text{unmet} = P_b - P_{dis}\quad\text{when } E \text{ reaches } E_{min}

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):

ScenarioQuestionMin SOCFirst below reserveSafe-mode entriesUnmet energy
NominalDoes the spacecraft keep a positive energy balance in its normal operating plan?80.0 %not reached00.00 Wh
Increased demand, nadirWhat happens when the spacecraft points its payload at Earth and runs it twice as often?30.0 %9.1 h10.00 Wh
Degraded batteryWith the same deficit, how much sooner does a battery at 60 % health reach its reserve?27.4 %5.6 h40.00 Wh
Reduced powerDoes a reduced-power plan make the nadir-pointing spacecraft energy-positive again?79.9 %not reached00.00 Wh
CT-REF-3U reference values (spec/parameters/reference-3u.json). Educational values, not manufacturer or flight limits.
ParameterValueSource
State of health (reference) initial.soh1Assumption
Reserve SOC operations.reserveSoc0.4Assumption
Safe-mode entry SOC operations.safeEntrySoc0.3Assumption
Recovery SOC operations.recoverySoc0.5Assumption
Recovery dwell operations.recoveryDwell600 sAssumption
Safe-mode attitude operations.safeAttitudesun-faceAssumption
Artificial eclipse override simulation.eclipseOverridenone sAssumption

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

SubsystemComponentFailure modes (catalogued, not injected)
StructurePrimary structure and railsLoss of preload in fasteners; Rail galling or cold welding
Electrical powerSolar panel +XCell string open circuit; Cover-glass darkening; Partial shading
Electrical powerSolar panel −XCell string open circuit; Cover-glass darkening; Partial shading
Electrical powerSolar panel +YCell string open circuit; Cover-glass darkening; Partial shading
Electrical powerSolar panel −YCell string open circuit; Cover-glass darkening; Partial shading
Electrical powerElectrical Power System boardConverter failure; Latch-up on a switched rail; MPPT stuck off the maximum power point
Electrical powerBattery pack (2S Li-ion)Capacity fade; Internal resistance rise; Cell imbalance; Charging below 0 °C
Electrical powerBattery management electronicsSense-line fault; Protection trip
AvionicsOnboard ComputerSingle-event upset and reset; Memory corruption
CommunicationsUHF transceiverPA overheating; Receiver desensitisation
CommunicationsUHF tape antennaDeployment failure; Burn-wire release failure
ADCSReaction wheelsBearing wear; Momentum saturation
ADCSMagnetorquersCoil open circuit
ADCSSun sensorsAlbedo contamination; Bias
PayloadHealth-monitoring payloadPayload overrun; Data corruption
ThermalBattery heaterHeater stuck on; Thermostat failure
ThermalTemperature sensorsSensor bias; Open circuit
Electrical powerWiring harnessConnector 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.

Run it in CubeTwin