Centimeter-level positioning for a mobile application, with dead reckoning through GNSS dropouts (tunnels, dense foliage) and wireless data backhaul.
The Solution
u-blox NEO-M8P for RTK corrections, BNO055 IMU for inertial fill-in, Taoglas active antenna with LNA. Processing split across two MCUs: ATSAM handles real-time sensor fusion and position computation, ESP32-S3 manages Wi-Fi/BLE networking. This separation was deliberate: putting networking and GNSS processing on the same core caused timing jitter in the position solution during Wi-Fi traffic bursts.
Results
Consistently under 3cm CEP in open sky RTK mode. The IMU dead reckoning holds under 1m drift for about 30 seconds of GNSS outage, covering most short tunnel transits.
Why two microcontrollers
Networking never touches the position solution. Sharing one core caused timing jitter during Wi-Fi bursts, so the ATSAM does the fusion and positioning on its own while the ESP32-S3 handles the radio traffic.Two problems, two answers. In a tunnel the IMU carries the position on its own, and the error grows with the square of time, so it is still under 1 m after about 30 seconds and RTK takes over again at the exit. The second problem was timing. With fusion and Wi-Fi on one core, network bursts delayed position updates by tens of milliseconds. Moving networking to the ESP32-S3 left the ATSAM to run the fusion on time, every time.
Have a Similar Challenge?
GNSS, sensor fusion, and multi-MCU architectures are a regular part of the work.