# A Black-Box Positioning Solution for Effortless Integration in Wearable Navigation

Robotics.world

> Pedestrian dead reckoning estimates where a person walks using only accelerometers and gyroscopes, which is valuable where GPS is weak or unavailable. In practice, building a working PDR system is…

**arXiv**: 2610.21353

**Published**: 2026-10-15

**Authors**: Anh-Van Vu, Changmin Sung, Dongsoo Han

## In plain words

Pedestrian dead reckoning estimates where a person walks using only accelerometers and gyroscopes, which is valuable where GPS is weak or unavailable. In practice, building a working PDR system is hard: it requires real-time sensor handling, step detection, stride estimation, heading estimation, bias correction, and careful embedded engineering, all on small, power-limited hardware.

## AI summary

## Overview

**Research area:** Indoor/ubiquitous positioning — pedestrian dead reckoning (PDR) with inertial sensors, delivered as an embedded hardware module.

**Technical level:** Intermediate. The integration and evaluation story is readable by embedded-systems engineers, but the algorithm section assumes familiarity with quaternions, Madgwick filtering, and stride-length heuristics.

**Scope (one sentence):** The paper presents PDRS, a self-contained module combining an ESP32 microcontroller, a BMI270 inertial measurement unit (IMU), a BME280 barometer, flash, and an onboard PDR algorithm, and evaluates it for step-detection, distance, latency, power, and thermal performance in indoor and outdoor walking trials.

## What This Paper Is About

Pedestrian dead reckoning estimates where a person walks using only accelerometers and gyroscopes, which is valuable where GPS is weak or unavailable. In practice, building a working PDR system is hard: it requires real-time sensor handling, step detection, stride estimation, heading estimation, bias correction, and careful embedded engineering, all on small, power-limited hardware. The authors' goal is to hide that complexity inside a "black-box" plug-and-play module that reports position over standard interfaces (I²C, SPI, UART), so developers can add inertial positioning without deep navigation expertise.

## Key Contributions

1. **A hardware–software co-designed PDR module (PDRS).** The paper integrates a 32-bit dual-core XTensa LX7 MCU (ESP32), a BMI270 accelerometer/gyroscope, a BME280 barometer, W25Q01JVZEIQ flash, and a 40 MHz ±10 ppm oscillator into a compact, low-power board with an onboard real-time PDR pipeline.
2. **A "black-box" integration model.** Rather than exposing algorithm internals, the module delivers position updates, step counts, heading, and distance through standard serial buses, plus raw sensor access and an output FIFO, so a host system can treat it as an off-the-shelf component.
3. **An adapted PDR algorithm tuned for robustness without calibration overhead.** The step detector uses the *differential* of acceleration rather than raw acceleration, which removes the need for gravity removal and precise device alignment; stride length uses Weinberg's method; heading uses Madgwick's gyroscope/accelerometer fusion; and a dynamic gyroscope bias update runs during detected stationary periods.
4. **A full system-level evaluation.** Reported metrics include step-detection error, travelled-distance error, loop-closure error, CPU task profiling, end-to-end latency, current draw in three modes, and thermal imaging — positioned against academic prototypes, commercial IMU chips, and consumer devices.

## Main Findings

- **Step detection:** 2 missed steps over a 1250-step trajectory, i.e. **0.16% SDE**, matching the foot-mounted OpenShoe ZUPT system (also 2 missed steps, 0.16%).
- **Distance accuracy:** **1.87% maximum travelled-distance error (TDE)**, versus 5.21% for OpenShoe ZUPT, 6.15% for a smartphone PDR implementation, and 4.16% / 4.4% / 4.32% for BHI160B/BHI260AP, LSM6DS3, and BHI360 respectively (the commercial chips' distance errors are listed as "NA" because they cannot produce displacement).
- **Loop-closure error:** **3.5 m**, versus 7.1 m for OpenShoe ZUPT and 13.6 m for smartphone PDR. Against smartphone PDR the paper states a 60% SDE reduction, a 3.3× TDE reduction, and LCE shrinking from 13.6 m to 3.5 m.
- **Commercial sensor comparison:** Commodity IMU chips without PDR-enabled firmware (BHI160B/BHI260AP: 52 missed steps, 4.16% SDE; LSM6DS3: 55 missed, 4.4%; BHI360: 54 missed, 4.32%) miss more than fifty steps and cannot supply reliable displacement. Consumer devices varied widely: Galaxy Note 20 Ultra 2 missed steps / 0.16%, Apple Watch Ultra 20 missed / 1.6%, Galaxy Watch 7 28 missed / 2.24%.
- **Environment sensitivity of baselines:** The authors report that smartphone PDR and OpenShoe ZUPT degrade notably outdoors on uneven terrain and in larger areas, which they say explains much of the gap to PDRS.
- **Computational cost:** Over a profiled 10 ms interval, PDR computation takes **2.0 ms** (about 20% of the interval) — the largest non-idle consumer. IMU sampling and communication each take 1.1 ms, memory read 1.3 ms, pressure sensing 0.8 ms, and the write operation 0.7 ms (lowest).
- **Latency:** **2.5 ms average** end-to-end (sensor capture to position output), worst case 6 ms over a 10 s trace; across a ten-hour continuous test only a few instances exceeded 8 ms and none exceeded 10 ms — negligible relative to 2–3 steps per second walking.
- **Power:** At a regulated 4.2 V, idle mode draws **38.72 mA**, PDR mode adds **13.63 mA** for a total of **52.35 mA**, and sleep mode drops to **0.45 mA**.
- **Thermal:** Under steady state (Fluke TiS60+ imager), the MCU is hottest at **36.7 °C**, the IMU stabilizes at **35.6 °C** while sampling at 100 Hz, the barometer at **35.8 °C**, and the LDO regulator is coolest at **35.3 °C**, all within wearable limits and with the IMU kept below thresholds where thermal drift would bias measurements.
- **Trial count discrepancy:** The text describes 26 trials on the KAIST campus, while Table II labels its maximum TDE and LCE columns as "over 34 trials." Both figures appear in the paper as written.

## Methodology in Plain English

The team built a small circuit board and wrote firmware for it rather than building a phone app. The board carries a processor, an accelerometer/gyroscope pair, a barometer for elevation changes, flash memory, and a crystal oscillator, with an LDO regulator and protection circuitry for power. Firmware runs on FreeRTOS as separate priority-ranked tasks: one grabs sensor samples on an interrupt triggered when the IMU has data ready (highest priority, to avoid lost packets), one runs the positioning algorithm, and one handles I²C/SPI/UART traffic with whatever device the module is plugged into.

The positioning algorithm has four parts. For step detection, they filter the magnitude of acceleration with a 4th-order low-pass filter (cutoff 2), take the time derivative, and classify it into +1/0/−1 using thresholds of h = 0.06 and w = 0.5; a step's stance phase begins when the sequence +1, 0, −1 appears. Using the derivative means gravity does not need to be removed, so the module does not require careful alignment or long calibration. Stride length comes from Weinberg's method, using the difference between the maximum and minimum Z-axis acceleration within a step raised to the fourth root, times a conversion coefficient K defaulting to 0.23 for meters; the authors cite 92% accuracy for this method across individuals with different leg lengths. Heading comes from Madgwick's filter, which integrates gyroscope readings into a quaternion and pulls it back toward the accelerometer-measured gravity direction with a gain-scaled gradient step, then converts to roll/pitch/yaw. To fight gyroscope drift, the firmware watches for stationary periods (acceleration derivative within ±ε for s samples), averages the gyro readings to seed a bias, and keeps recomputing it every w samples while the person remains still, stopping the update window when motion resumes.

Validation used a wearable from the authors' KAILOS system (dual-core 32-bit processor with BLE, WiFi, LTE, GNSS), wired to PDRS by four wires: VCC, GND, SDA, SCL. Walking trials took place on the KAIST campus in Daejeon in a nine-storey building measuring 114.6 m × 39.6 m and outdoors with good GNSS reception, covering closed loops of 135–655 m at slow, normal, and fast unscripted speeds in both directions. Indoor ground truth came from digitized floor plans; outdoor ground truth came from RTK GPS.

## Why This Matters

**Research impact.** Most PDR papers optimize algorithmic accuracy on high-end processors. This work argues that stability, real-time behavior, energy, and ease of integration are equally decisive for adoption, and it delivers a reproducible reference design built from commercially available parts. It also documents a concrete gap: Bosch's BHI160B and BHI260AP are marketed as PDR-capable, but the required firmware is not publicly available, leaving integrators to do custom work.

**Real-world applications:**

- Indoor navigation in large complex spaces such as airports and shopping malls, where satellite and RF methods are unreliable.
- Augmented reality, where a continuous pose stream is needed at low latency.
- Safety management and first-responder or personnel tracking, where infrastructure-free positioning matters.
- Healthcare and assistive wearables, where gait-related step counts, heading, and displacement support monitoring.

**Industry relevance.** The module is positioned as an off-the-shelf component using standard buses and a four-wire hookup, aiming to cut development time and cost for wearable and IoT products. Because it offloads computation and sensor management from the host, it lets product teams without inertial-navigation specialists add positioning, and it sits between academic prototypes that need specialized hardware and commercial sensors that offer only partial functionality such as step counting without trajectories.

## Future Directions

1. **Joint accuracy and power optimization.** The authors plan to tune both hardware and software to improve positioning accuracy while reducing consumption, which the 52.35 mA PDR-mode figure leaves room for.
2. **Chip-scale integration.** They intend to adopt ASIC technology to shrink PDRS to a chip-scale form factor, lowering production cost and enabling smaller devices.
3. **AI-enhanced drift compensation.** They plan a dedicated deep-learning model tailored to their hardware, learning sensor dynamics from large datasets to better mitigate drift in complex environments — responding to the training-data and compute burdens seen in learned approaches like TinyOdom.
4. **Open questions.** Drift remains intrinsic: standalone PDR is described as unsuitable for long-term tracking, so how PDRS should fuse with magnetometers, barometers, UWB, or map constraints without losing its black-box simplicity is unresolved. The stride-length coefficient K still requires calibration, and validation is limited to 26 trials on a single campus with per-step counts measured against 1250-step trajectories.

## Target Audience

Embedded-systems and firmware engineers building wearable or IoT products; indoor-localization and PDR researchers who want a reproducible hardware baseline to compare algorithms against; robotics practitioners needing a drop-in inertial positioning component for GPS-degraded settings; and graduate students who want a worked example of hardware–software co-design, from FreeRTOS task structure down to thresholds, filter orders, and measured latency, power, and thermal numbers.

## Authors’ abstract

Accurate localization is critical for a wide range of applications, including navigation, augmented reality, safety management, and healthcare. However, achieving accurate positioning remains challenging, especially in GPS-degraded environments. Pedestrian Dead Reckoning (PDR), which estimates position based on inertial sensor data, offers a promising alternative but typically demands substantial effort in algorithm design and system integration. This complexity often leads…

[The full abstract on arXiv](https://arxiv.org/abs/2610.21353)

[Read the original paper](https://arxiv.org/abs/2610.21353)

## Related papers

- [Differentiable Iterative Learning Control for Black-Box Position-Commanded Manipulators](https://robotics.world/paper/differentiable-iterative-learning-control-for-black-box-position-2611.01220) 2026-10-31 · cs.RO · Key terms of the title in common
- [Surrogate Uncertainty for Black-box Visual Grounding](https://robotics.world/paper/surrogate-uncertainty-for-black-box-visual-grounding-2610.39798) 2026-10-29 · cs.RO · Key terms of the title in common
- [DR-IPC: Disturbance-Resilient Integrated Planning and Control for LiDAR-Based Quadrotor Navigation](https://robotics.world/paper/dr-ipc-disturbance-resilient-integrated-planning-and-control-for-lidar-2610.03530) 2026-10-02 · cs.RO · Key terms of the title in common
- [An Integrated Open-Source Stack for Vision-Based Autonomous Navigation of Wheeled Rovers](https://robotics.world/paper/an-integrated-open-source-stack-for-vision-based-autonomous-navigation-2611.08100) 2026-11-05 · cs.RO · Key terms of the title in common
- [Inverse kinematic solution for generic 3R positional robots using Conformal Geometric Algebra](https://robotics.world/paper/inverse-kinematic-solution-for-generic-3r-positional-robots-using-2609.00311) 2026-08-31 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/a-black-box-positioning-solution-for-effortless-integration-in-wearable-2610.21353
