Documentation · Electrical power · Battery
CubeSat battery model: energy, state of charge and state of health
The battery carries a CubeSat through every eclipse. CubeTwin models it as an energy reservoir with a usable window, charge and discharge efficiencies and power limits, and accounts for every joule that cannot be stored or delivered.
Implemented
- Energy reservoir with SOC window, efficiencies and power limits
- State of health as a fixed capacity factor per run
- Exact integration with located window and threshold events
- Curtailed and unmet energy in the ledger
Experimental
- SOC estimation with a one-state Kalman filter on synthetic measurements (Keynote slide 7)
Planned
- Terminal voltage with a Thevenin equivalent circuit (L2)
- Temperature and rate effects
- Capacity fade during a run
- Nominal energy
- 20 Wh (2S Li-ion, two 18650-format cells)
- Usable window at full health
- 18.0 Wh (SOC 10–100 %)
- State of charge
- SOC = stored energy ÷ (nominal energy × SOH)
- Lowest SOC in 24 h, nominal plan
- 80.0 % (engine)

Definition
The battery of a spacecraft stores electrical energy when the solar array produces more than the loads use and returns it when they produce less, above all in eclipse. In CubeTwin's L1 model the battery is an energy reservoir: its state is the stored energy , not a voltage or a charge in ampere-hours.
Five quantities are kept distinct: the nominal capacity ; the state of health (SOH, the usable fraction of nominal); the effective capacity ; the stored energy ; and the state of charge , which must stay inside the usable window .
Engineering purpose
The battery decides whether the spacecraft survives each eclipse and whether its operating plan is sustainable over many orbits. A plan that spends more energy per orbit than the array delivers drains the battery a little every orbit until the flight software enters safe mode. The eclipse-survival experiment asks exactly that question.
Hardware architecture and components
CT-REF-3U carries a generic two-series Li-ion pack on a PC/104-size carrier board, with protection and cell-monitoring electronics and a film heater bonded to the pack.
| Component | Purpose | Envelope (mm) | Physical principles |
|---|---|---|---|
Battery pack (2S Li-ion)battery | Stores energy for eclipse and peak loads. | 90 × 96 × 24 | Electrochemical energy storage; Charge and discharge efficiency; State of charge and state of health |
Battery management electronicsbms | Monitors cell voltages and temperature, protects against over- and under-voltage. | 40 × 20 × 3 | Cell monitoring and protection thresholds |
Battery heaterthermal-heater-battery | Keeps the battery above its minimum charge temperature. | 70 × 40 × 0.3 | Joule heating; Thermostat with hysteresis |
Physical principles
Electrochemical cells store energy in chemical form. Charging and discharging lose a fraction of the energy as heat, represented by constant efficiencies and . The protection electronics cap the charge and discharge power and keep the state of charge inside a window that protects the cells. Energy is conserved: every watt requested at the bus is either stored, delivered, curtailed (no room left) or unmet (nothing left), with the losses as heat.
Mathematical model and units
For a sub-step of length with a constant bus request (positive means discharge):
If would cross , or an SOC threshold inside the sub-step, the runtime splits the step at the crossing time , so curtailment, unmet power and mode changes start at the located instant instead of being averaged over the step. The ledger closes exactly:
| Symbol | Meaning | Unit |
|---|---|---|
| Stored energy (now, at start, at end) | J (shown in Wh) | |
| Nominal capacity, state of health, effective capacity | Wh, –, Wh | |
| Usable window; E_{min} = SOC_{min}E_{eff}, E_{max} = SOC_{max}E_{eff} | – | |
| Charge and discharge efficiency | – | |
| Charge and discharge power limits | W | |
| Bus request: load minus array power | W | |
| Battery heat (to the thermal model) | W |
System behaviour and operating conditions
Over 24 hours of the reference scenarios (computed by the engine):
| Scenario | SOH | Min SOC | Final SOC | First below 40 % reserve | Safe-mode entries |
|---|---|---|---|---|---|
| Nominal | 1.0 | 80.0 % | 100.0 % | not reached in 24 h | 0 |
| Increased demand, nadir | 1.0 | 30.0 % | 53.4 % | 9.1 h | 1 |
| Degraded battery | 0.6 | 27.4 % | 56.8 % | 5.6 h | 4 |
The nadir-pointing plan with a doubled payload duty runs an energy deficit; with a battery at 60 % health the same deficit reaches the reserve sooner, because the same joules are a larger fraction of a smaller capacity.
| Parameter | Value | Source |
|---|---|---|
Nominal energy battery.nominalEnergy | 20 Wh | Assumption |
Nominal voltage (display only) battery.nominalVoltage | 7.2 V | Assumption |
SOC window, lower battery.socMin | 0.1 | Assumption |
SOC window, upper battery.socMax | 1 | Assumption |
Charge efficiency battery.chargeEfficiency | 0.95 | Assumption |
Discharge efficiency battery.dischargeEfficiency | 0.95 | Assumption |
Max charge power battery.maxChargePower | 10 W | Assumption |
Max discharge power battery.maxDischargePower | 20 W | Assumption |
Initial SOC initial.soc | 0.8 | Assumption |
State of health initial.soh | 1 | Assumption |
Interfaces and dependencies
The request comes from the EPS balance. SOC threshold events go back to the EPS mode logic (reserve, safe-mode entry, recovery). Battery heat and the change in stored energy go to the thermal model.
| From | Kind | Interface | To |
|---|---|---|---|
| Battery pack (2S Li-ion) | POWER | battery bus | Electrical Power System board |
| Battery pack (2S Li-ion) | DATA | cell monitoring | Battery management electronics |
| Battery pack (2S Li-ion) | THERMAL | heater film | Battery heater |
| Battery management electronics | DATA | cell sense lines | Battery pack (2S Li-ion) |
| Battery management electronics | DATA | I²C | Onboard Computer |
Failure scenarios
Capacity fade is represented today through the state-of-health factor: the Degraded battery scenario runs at SOH 0.6. The other failure modes below are catalogued but not injected by the L1 model. See fault scenarios.
| Component | Catalogued failure modes |
|---|---|
| Battery pack (2S Li-ion) | Capacity fade; Internal resistance rise; Cell imbalance; Charging below 0 °C |
| Battery management electronics | Sense-line fault; Protection trip |
Model fidelity, assumptions and limitations
The reservoir model answers energy questions (will the energy last, how much is curtailed or unmet) and does not predict voltage, current or cell temperature. Its nominal voltage is for display only.
Battery energy reservoir battery.energy.l1 v1.0.0
- Intended use
- Energy reserve, SOC, curtailed and unmet energy
- Assumptions
- Constant efficiencies; static SOH during a run
- Limitations
- No terminal voltage (L2), no temperature or rate effects
- Verification
- Verified (G2): independent fixtures pass in the TypeScript and Python implementations
- Validation
- None. No measured data from an identified spacecraft exists (internal maturity M2).
- Specification
spec/models/battery.md· TypeScriptpackages/core/src/simulate.ts· Pythonpython/cubesat_twin/simulate.py
Verification and validation evidence
Independent fixtures check constant discharge against the closed form until at the located time (relative 10⁻¹²), the symmetric charge case, and ledger closure over 24 h within 10⁻⁹ Wh. Property-based tests over random valid missions confirm that SOC stays in its window and all flows are non-negative. In the 24-hour nominal run the engine reports an electrical residual of −9.5 × 10⁻¹² Wh. No cell or pack data has been used for validation. See verification and validation.
References
The L1 energy model uses standard energy accounting and cites no external value; its parameters are documented educational assumptions. Equivalent-circuit work (L2) will need a verified battery-management reference before it starts.