STAMPEDE

The experiment

Measuring inertia where gravity lets go.

STAMPEDE stands for Spacecraft Tensor And Mass Property Estimation During Excitation. A test article rotates freely on a low-friction three-axis gimbal inside our experiment case. In each microgravity window of a parabolic flight, four reaction wheels run a planned excitation profile and the article turns in response. From the measured wheel speeds and body rates, the flight computer estimates its full inertia tensor in real time with recursive least squares (RLS), with an extended Kalman filter (EKF) running alongside.

Objective

What we're measuring, and why

The inertia tensor describes how a body's mass is distributed. It is a symmetric 3 × 3 matrix with six independent values: three moments of inertia on the diagonal and three products of inertia off it. It decides how a spacecraft turns when a torque is applied.

We estimate all six, plus the three components of the centre-of-mass offset from the gimbal pivot, using only the article's own wheels and sensors, in real time on the flight computer rather than afterwards on the ground.

Success criteria

  • Principal moments of inertia within 5 % of ground truth, from a single 12 s window.
  • Onboard estimate within 2 % of the post-flight batch estimate.
  • Detect an inertia change of 3 % or more between flight blocks.

Ground truth comes from two independent references: a CAD model updated with every measured component mass, and identification on the SPACE Lab spherical air bearing. In simulation, 19 of 20 runs came within 2.3 %.

How it works

One test article, its own wheels, its own sensors

A base bolted inside a Pelican case carries a three-axis gimbal with an absolute encoder on each axis, a gimbal lock and an accelerometer. The test article sits on the gimbal: it can rotate about any axis but cannot move around, so nothing floats loose.

The article is a two-floor plate structure. The IMU sits at the centre of the lower floor beside vertical beams carrying stacked mass discs; the upper floor carries the battery box, the Raspberry Pi 5 flight computer and power distribution, with the four reaction wheels on angled mounts underneath.

The lock holds the article through the 2 g pull-up. After a manual start it releases 4 s into microgravity, the wheels run a 12 s profile with tones between about 0.25 and 0.67 Hz on each axis, and the lock re-engages.

The physics

Euler's equations, with wheels

On the gimbal, the article rotates about a fixed pivot. Written about that pivot, Euler's rotational equations for a body carrying spinning wheels relate its rate ω\boldsymbol{\omega}, its inertia tensor I\mathbf{I} and the wheels' angular momentum h\mathbf{h}:

I ω˙+ω×(I ω+h)+h˙=m rc×gres\mathbf{I}\,\dot{\boldsymbol{\omega}} + \boldsymbol{\omega} \times \left(\mathbf{I}\,\boldsymbol{\omega} + \mathbf{h}\right) + \dot{\mathbf{h}} = m\,\mathbf{r}_c \times \mathbf{g}_{\text{res}}

Changing wheel speed changes h\mathbf{h}, and the body turns the other way. That is the excitation. We know h\mathbf{h} from the measured wheel speeds and measure ω\boldsymbol{\omega} with the IMU gyro. The right side is the small torque from residual cabin acceleration gres\mathbf{g}_{\text{res}} acting on the centre-of-mass offset rc\mathbf{r}_c; the case accelerometer measures it and the gimbal encoders rotate it into the body frame.

Rather than differentiate noisy gyro data, we integrate over each window of length Δt = 0.1 s:

I Δω+∫tt+Δtω×(I ω+h)dt−  m rc×∫tt+Δtgres dt=− Δh\begin{aligned} &\mathbf{I}\,\Delta\boldsymbol{\omega} + \int_{t}^{t+\Delta t} \boldsymbol{\omega} \times \left(\mathbf{I}\,\boldsymbol{\omega} + \mathbf{h}\right) dt \\ &\qquad -\; m\,\mathbf{r}_c \times \int_{t}^{t+\Delta t} \mathbf{g}_{\text{res}}\, dt = -\,\Delta\mathbf{h} \end{aligned}

Every term is linear in the nine unknowns, so each window adds a row block to a regression:

Φk θ=− Δhkθ=[IxxIyyIzzIxyIxzIyzrc,xrc,yrc,z]T\begin{aligned} \boldsymbol{\Phi}_k\,\boldsymbol{\theta} &= -\,\Delta\mathbf{h}_k \\ \boldsymbol{\theta} &=\begin{bmatrix} I_{xx} & I_{yy} & I_{zz} & I_{xy} & I_{xz} & I_{yz} & r_{c,x} & r_{c,y} & r_{c,z} \end{bmatrix}^{\mathsf T} \end{aligned}

Onboard estimation

Two estimators in flight

Both run on the flight computer, which rides on the rotating article. The live estimate is sent by radio to a laptop on board. After flight, batch least squares and constrained least squares on the logged data give two more answers to compare against.

RLS

Recursive least squares

The primary real-time estimate. It solves the windowed regression above, updating all nine values after every 0.1 s window.

  • Uses the integrated dynamics, so gyro rates are never differentiated.
  • Updates at 10 Hz, each within 100 ms.
  • Aims to converge within a single 12 s window.

EKF

Extended Kalman filter

Runs alongside RLS on the flight computer, updating after every 0.1 s window.

  • Can follow an inertia that changes during a run.
  • Being added to the simulation for the preliminary design review (Feb 2027).

Flight profile

Up to 20 seconds at a time

The NRC Falcon 20 climbs steeply at about 2 g, then pushes over so the aircraft and everything in it fall together for 15–20 s. Our gimbal unlocks 4 s in and the experiment runs for 12 s before relocking; then the aircraft pulls out at about 2 g and the cycle repeats.

Parabolic flight profileAltitude against time: level flight, a pull-up at about 2 g, a parabolic arc giving 15 to 20 seconds of microgravity with a 12-second experiment window inside it, and a pull-out at about 2 g back to level flight.level · 1 gpull-up · ~2 gmicrogravity · 15–20 sexperiment · 12 spull-out · ~2 glevel · 1 gtime →
Approximate values. The shaded band is our 12 s experiment window.
15–20sMicrogravity per parabola
12sExperiment window
~2gPull-up and pull-out
12Parabolas per flight, in two blocks of six
2Flight days

Test plan

More than one measurement

Every run uses the same wheel profile, apart from a no-command baseline, so runs can be compared directly.

A known inertia change

Two movable masses shift between the flight blocks, creating an inertia change we know from CAD. The estimator has to detect it.

A wheel fault

One wheel is run at 50 % and then switched off, to test whether the estimate holds up and the fault can be detected.

The same tests in 1 g

Every test is repeated on the ground to measure gravity bias. There, a centre-of-mass offset of just 0.4 mm already causes more than 5 % error, which is why we fly.

Open source

The estimator and simulation will be released as open source for Canadian student CubeSat teams.

Hardware

Specifications

Prototype values from our proposal. Components may change at the preliminary design review (Feb 2027).

Test article hardware specifications
ItemValueUnit
Test article mass (design limit)≤ 5kg
Test article + gimbal envelope500 × 500 × 500mm
Reaction wheels4, in a 45° pyramid—
Wheel motors / driversTMotor MN5008-class / Flipsky VESC—
Max wheel torque0.04N·m
Max wheel speed4500rpm
IMUBNO085—
Gyro sample rate / data logging100Hz
Flight computerRaspberry Pi 5—
Estimator update rate10 (every 0.1 s window)Hz
Gimbal3-axis, absolute encoder on each axis—
Supply voltage24 (from the aircraft's 115 V outlet)V

Other sensors: wheel-speed telemetry from the drivers, a lock-position sensor shown on the laptop, and temperatures logged every run. All data is logged at 100 Hz on a common time base and downloaded after flight.

Safety & constraints

Designed to fly with people around it

Containment

The test article is captive on its gimbal, so nothing floats free. Every part is fastened, the Pelican case stays closed during parabolas, the gimbal is locked in every phase except microgravity, and damped mechanical stops guard against contact.

Power

Our preferred design runs on 24 V from a supply on the aircraft's 115 V outlet, carried to the article through slip rings; the alternative is a 24 V Ni-Cd pack. No lithium. A 4 A slow-blow fuse, a latching E-stop and a motor-power relay protect the circuit, with a worst case of about 2.5 A and 285 W against our 4 A / 300 W limits.

Flight safety

Three independent inhibits: E-stop, motor-power enable and a fail-locked gimbal lock. The structure is designed for 2 g with a 1.5 safety factor, every run needs a manual start, and the experiment is safe if power is lost. It passes design reviews in February and April 2027 and a flight readiness review in June.