Back to Blog

What Is an IMU? Cycling Inertial Sensors Explained

Sensors & Telemetry

What Is an IMU? Inertial Measurement Units in Cycling

An IMU, or Inertial Measurement Unit, is a sensor module that measures motion using a combination of gyroscopes and accelerometers. In cycling, a 6-axis IMU mounted on a seat post or frame captures lean angle, road vibration, pedal-stroke dynamics, and crash forces at 100 Hz100\text{ Hz}. The DIDI.BIKE sensor's 6-axis IMU, rated at ±2000/s\pm2000^\circ/\text{s} gyro range and ±16g\pm16\text{g} accel range, is a textbook example of the format. Understanding what is an IMU cycling technology requires unpacking the two core instruments inside it.

What Is Inside an IMU?

An IMU contains two microelectromechanical (MEMS) instruments, each operating on three orthogonal axes:

Instrument Measures Cycling Relevance
Gyroscope Angular velocity (/s^\circ/\text{s}) Lean angle, yaw, cornering dynamics
Accelerometer Linear acceleration (g) Forward thrust, braking, bumps, gravity tilt

A module with three gyro axes plus three accel axes is called a 6-axis IMU. Adding a 3-axis magnetometer makes it 9-axis, but magnetometers are unreliable near steel bike frames and wheels, so most cycling IMUs remain 6-axis.

How a MEMS Gyroscope Works

A MEMS gyroscope uses the Coriolis effect. A microscopic mass vibrates continuously inside the chip. When the chip rotates, the Coriolis force deflects the vibrating mass perpendicular to both its motion and the rotation axis. Capacitive plates measure this deflection, which is proportional to angular velocity.

The Coriolis acceleration is:

ac=2v×Ωa_c = 2\, \vec{v} \times \vec{\Omega}

where v\vec{v} is the vibrating mass velocity and Ω\vec{\Omega} is the angular velocity. For cycling, the relevant angular velocities are lean rate during cornering (10100/s10\text{–}100^\circ/\text{s}) and crash rotation (>500/s>500^\circ/\text{s}). A ±2000/s\pm2000^\circ/\text{s} range captures both without saturation.

How a MEMS Accelerometer Works

A MEMS accelerometer is a spring-mass-damper system etched into silicon. A proof mass suspended by silicon springs deflects under acceleration. Capacitive sensing measures the deflection, which obeys:

F=maa=kxmF = m \cdot a \quad \Rightarrow \quad a = \frac{k \cdot x}{m}

where kk is spring stiffness and xx is displacement. At rest, the accelerometer measures 1g1\text{g} (9.81 m/s29.81\text{ m/s}^2) of gravity. By measuring the gravity vector direction across three axes, the sensor infers tilt—this is how pitch and roll are determined when the bike is stationary or moving steadily.

A ±16g\pm16\text{g} range is chosen because pothole impacts can momentarily exceed 10g10\text{g}, and crash spikes approach full scale. Lower ranges like ±2g\pm2\text{g} clip these events.

What an IMU Measures on a Bicycle

Mounted on a seat post, a 6-axis IMU produces a rich motion dataset:

Lean Angle

Cornering lean is the angle between the bike's vertical axis and true vertical. The gyro's roll-axis rate integrates to lean angle, corrected by the accelerometer's gravity vector during steady-state cornering. Accuracy reaches ±0.1\pm0.1^\circ with proper fusion. For more on achieving this, see Sensor Calibration and Accuracy in Cycling.

Road Vibration and Surface Roughness

Vertical acceleration contains the frequency signature of the road surface. Smooth asphalt shows energy concentrated below 10 Hz10\text{ Hz}; cobblestones and gravel produce broadband energy to 50 Hz50\text{ Hz}. At 100 Hz100\text{ Hz} sampling—covered in Why 100Hz Sampling Rate Matters—these signatures are resolvable for surface classification.

Pedal-Stroke Dynamics

Forward acceleration at the crank frequency (12 Hz1\text{–}2\text{ Hz} at cadences of 60–120 rpm) reveals pedaling smoothness. Dead spots in the pedal stroke show as periodic acceleration dips. The DIDI.BIKE sensor resolves these because its 100 Hz100\text{ Hz} rate oversamples the 2 Hz2\text{ Hz} pedal cycle by 50×.

Crash Detection

A crash produces a characteristic acceleration spike followed by rotation and then stillness. The IMU detects the impact pulse (typically >10g>10\text{g}, <100 ms<100\text{ ms} duration) and the subsequent orientation change. Sub-10 ms10\text{ ms} sensor latency—discussed in Latency in Cycling Telemetry—ensures the event is captured before the device potentially separates from the bike.

Sensor Fusion: Turning Raw Data into Angles

Raw gyro and accel data are not directly usable as angles. The gyro integrates to angle but drifts; the accelerometer measures gravity tilt but is corrupted by motion acceleration. Sensor fusion combines them:

  • Short term: trust the gyro (fast, precise, immune to linear acceleration)
  • Long term: trust the accelerometer gravity vector (no drift, corrects gyro bias)

A complementary filter implements this as:

θfused=α(θprev+ωΔt)+(1α)θaccel\theta_{\text{fused}} = \alpha \left(\theta_{\text{prev}} + \omega \cdot \Delta t\right) + (1-\alpha)\,\theta_{\text{accel}}

where α\alpha is typically 0.980.98. The DIDI.BIKE sensor uses this principle to maintain ±0.1\pm0.1^\circ angular accuracy over rides lasting hours.

6-Axis vs 9-Axis for Cycling

Feature 6-Axis (gyro + accel) 9-Axis (+ magnetometer)
Heading reference Drifts, needs GPS correction Absolute magnetic heading
Steel-frame interference None Significant
Cost Lower Higher
Power consumption Lower Higher
Cycling suitability Standard choice Rarely beneficial on bikes

The magnetometer's value—absolute heading—is already provided by GPS on any outdoor ride. Its liability—interference from steel tubing, spokes, and motors—makes it a liability on bikes. This is why the cycling industry standardizes on 6-axis.

Why the DIDI.BIKE IMU Stands Out

The DIDI.BIKE sensor integrates a 6-axis IMU specified at ±2000/s\pm2000^\circ/\text{s} gyro and ±16g\pm16\text{g} accel, sampling at 100 Hz100\text{ Hz}, within a 14g14\text{g} seat-post-mounted package. The sensor fusion runs onboard, streaming fused lean-angle and orientation data via ANT+ and Bluetooth LE 5.0 with <10 ms<10\text{ ms} latency. Combined with the barometric pressure sensor for real-time CdA, it delivers research-grade inertial measurement in a consumer device. For the broader context, see the Cycling Sensors & Telemetry Guide.

FAQ

What does IMU stand for in cycling? IMU stands for Inertial Measurement Unit. It is a sensor module combining a gyroscope and an accelerometer to measure angular velocity and linear acceleration across multiple axes.

How many axes does a cycling IMU need? A 6-axis IMU (3-axis gyroscope plus 3-axis accelerometer) is the standard for cycling. It captures lean, pitch, yaw rotation and forward, lateral, vertical acceleration—enough for full motion analysis.

What can an IMU measure on a bike? Lean angle, pitch and gradient, vibration and road roughness, crash impacts, braking and acceleration forces, and pedal-stroke dynamics. Combined with other sensors it enables real-time CdA and surface classification.

Does an IMU drift over time? Yes. Gyroscope bias causes angular drift that accumulates over minutes. Sensor fusion algorithms correct this by cross-referencing the accelerometer gravity vector and other sensors, achieving approximately ±0.1\pm0.1^\circ accuracy.

References

  1. IEEE Sensors Journal: Multi-sensor data fusion and attitude estimation using MEMS IMUs.
  2. Journal of NeuroEngineering and Rehabilitation: Wearable telemetry sensors and realtime posture tracking.
  3. DIDI.BIKE Technical Reprints: 100Hz IMU sampling rates and Kalman filtering for gravity extraction.
Read the complete guide