Back to Projects

Project · Sensor Fusion

NUance IMU + GPS Navigation Study

  • EECE 5554 Robot Sensing & Navigation
  • Northeastern
  • VectorNav VN-100 IMU
  • GPS
  • ROS 2 bags
  • Python

A navigation study with data from Northeastern’s NUance car: calibrate a MEMS magnetometer, fuse magnetometer and gyro heading with a complementary filter, and measure how far pure IMU dead reckoning drifts from GPS over a 5.7 km drive through Boston.

  • 90.5%
    magnetometer circularity after hard- and soft-iron calibration
  • α = 0.98
    complementary-filter heading with a 0.1 Hz filter split
  • 12.7×
    IMU dead-reckoning path overestimate: 72.69 km vs. 5.73 km
  • 3–5 s
    before IMU-only position left a 2 m band around GPS

Gallery

Data

A VectorNav VN-100 IMU (40 Hz) and a GPS receiver (1 Hz), recorded as ROS 2 bags: first a circle drive for calibration, then a roughly 25-minute, 5.73 km drive through Boston.

Method

  • Magnetometer calibration: corrected hard- and soft-iron distortion with a least-squares circle fit on the circle-drive X–Y data, reaching 90.5% circularity, then applied it to the full drive.
  • Heading estimation: compared low-pass-filtered magnetometer yaw, integrated gyro yaw, and a complementary filter (α = 0.98, 0.1 Hz Butterworth split) that combines magnetometer stability with gyro responsiveness. The fused heading tracked the VN-100’s onboard heading estimate.
  • Velocity: integrated forward acceleration after bias removal and filtering, and compared it with GPS-derived velocity.
  • Dead reckoning: integrated the fused heading and corrected velocity into a 2D trajectory and compared it with the GPS track.

Results

  • Dead reckoning traced a 72.69 km path for a 5.73 km drive (12.7×) and ended 27.4 km from the true end point.
  • IMU-only position stayed within 2 m of GPS for only 3–5 s, then passed 10 m by 10 s and 50 m by 30 s.
  • Accelerometer-integrated velocity drifted far above GPS velocity even after bias correction.

Takeaways

  • Calibration is essential before a low-cost magnetometer is usable for heading.
  • Gyro drift makes long-term inertial heading unreliable without fusion.
  • A complementary filter is a simple, practical balance between noise rejection and responsiveness.
  • Consumer MEMS IMUs cannot navigate GPS-denied for long: dead reckoning diverges within seconds without absolute corrections.

Next Step

Fuse GPS and IMU in an EKF (for example with ROS 2’s robot_localization) so absolute GPS fixes bound the inertial drift.