Skip to content
CubeTwin

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

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 EE, not a voltage or a charge in ampere-hours.

Five quantities are kept distinct: the nominal capacity EnomE_{nom}; the state of health (SOH, the usable fraction of nominal); the effective capacity Eeff=Enom SOHE_{eff} = E_{nom}\,SOH; the stored energy EE; and the state of charge SOC=E/EeffSOC = E/E_{eff}, which must stay inside the usable window [SOCmin,SOCmax][SOC_{min}, SOC_{max}].

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.

ComponentPurposeEnvelope (mm)Physical principles
Battery pack (2S Li-ion)
battery
Stores energy for eclipse and peak loads.90 × 96 × 24Electrochemical energy storage; Charge and discharge efficiency; State of charge and state of health
Battery management electronics
bms
Monitors cell voltages and temperature, protects against over- and under-voltage.40 × 20 × 3Cell monitoring and protection thresholds
Battery heater
thermal-heater-battery
Keeps the battery above its minimum charge temperature.70 × 40 × 0.3Joule 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 ηc\eta_c and ηd\eta_d. 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 Δt\Delta t with a constant bus request Pb=Pload−PbusP_b = P_{load} - P_{bus} (positive means discharge):

charging (Pb<0):Pch=min⁡ ⁣(−Pb, Pch,max, Emax−Eηc Δt),E˙=ηcPch\text{charging }(P_b<0):\quad P_{ch} = \min\!\left(-P_b,\ P_{ch,max},\ \frac{E_{max}-E}{\eta_c\,\Delta t}\right),\qquad \dot E = \eta_c P_{ch}
discharging (Pb>0):Pdis=min⁡ ⁣(Pb, Pdis,max, (E−Emin) ηdΔt),E˙=−Pdisηd\text{discharging }(P_b>0):\quad P_{dis} = \min\!\left(P_b,\ P_{dis,max},\ \frac{(E-E_{min})\,\eta_d}{\Delta t}\right),\qquad \dot E = -\frac{P_{dis}}{\eta_d}
curtailed=−Pb−Pch,unmet=Pb−Pdis,Hbatt=(1−ηc)Pch+(1ηd−1)Pdis\text{curtailed} = -P_b - P_{ch},\qquad \text{unmet} = P_b - P_{dis},\qquad H_{batt} = (1-\eta_c)P_{ch} + \left(\tfrac{1}{\eta_d}-1\right)P_{dis}

If EE would cross EminE_{min}, EmaxE_{max} or an SOC threshold inside the sub-step, the runtime splits the step at the crossing time t∗=(Elim−E)/E˙t^* = (E_{lim}-E)/\dot E, so curtailment, unmet power and mode changes start at the located instant instead of being averaged over the step. The ledger closes exactly:

E0+∫Pbus dt−∫Pserved dt−∫curtailed dt−∫Hbatt dt−Eend=0E_0 + \int P_{bus}\,dt - \int P_{served}\,dt - \int \text{curtailed}\,dt - \int H_{batt}\,dt - E_{end} = 0
SymbolMeaningUnit
E, E0, EendE,\ E_0,\ E_{end}Stored energy (now, at start, at end)J (shown in Wh)
Enom, SOH, EeffE_{nom},\ SOH,\ E_{eff}Nominal capacity, state of health, effective capacityWh, –, Wh
SOCmin, SOCmaxSOC_{min},\ SOC_{max}Usable window; E_{min} = SOC_{min}E_{eff}, E_{max} = SOC_{max}E_{eff}–
ηc, ηd\eta_c,\ \eta_dCharge and discharge efficiency–
Pch,max, Pdis,maxP_{ch,max},\ P_{dis,max}Charge and discharge power limitsW
PbP_bBus request: load minus array powerW
HbattH_{batt}Battery heat (to the thermal model)W

System behaviour and operating conditions

Over 24 hours of the reference scenarios (computed by the engine):

ScenarioSOHMin SOCFinal SOCFirst below 40 % reserveSafe-mode entries
Nominal1.080.0 %100.0 %not reached in 24 h0
Increased demand, nadir1.030.0 %53.4 %9.1 h1
Degraded battery0.627.4 %56.8 %5.6 h4

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.

CT-REF-3U reference values (spec/parameters/reference-3u.json). Educational values, not manufacturer or flight limits.
ParameterValueSource
Nominal energy battery.nominalEnergy20 WhAssumption
Nominal voltage (display only) battery.nominalVoltage7.2 VAssumption
SOC window, lower battery.socMin0.1Assumption
SOC window, upper battery.socMax1Assumption
Charge efficiency battery.chargeEfficiency0.95Assumption
Discharge efficiency battery.dischargeEfficiency0.95Assumption
Max charge power battery.maxChargePower10 WAssumption
Max discharge power battery.maxDischargePower20 WAssumption
Initial SOC initial.soc0.8Assumption
State of health initial.soh1Assumption

Interfaces and dependencies

The request PbP_b 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.

FromKindInterfaceTo
Battery pack (2S Li-ion)POWERbattery busElectrical Power System board
Battery pack (2S Li-ion)DATAcell monitoringBattery management electronics
Battery pack (2S Li-ion)THERMALheater filmBattery heater
Battery management electronicsDATAcell sense linesBattery pack (2S Li-ion)
Battery management electronicsDATAI²COnboard 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.

ComponentCatalogued failure modes
Battery pack (2S Li-ion)Capacity fade; Internal resistance rise; Cell imbalance; Charging below 0 °C
Battery management electronicsSense-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 · TypeScript packages/core/src/simulate.ts · Python python/cubesat_twin/simulate.py

Verification and validation evidence

Independent fixtures check constant discharge against the closed form E(t)=E0−Pt/ηdE(t) = E_0 - Pt/\eta_d until EminE_{min} at the located time (E0−Emin)ηd/P(E_0 - E_{min})\eta_d/P (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.

Run it in CubeTwin