← Research & experiments
Experiment 01 · Bluetooth signals & machine learning

Can BLE detect a cart approach?

We tested whether a phone can detect a cart that moves toward a parked vehicle.

33,600 simulated sessions5,600 new test sessions
76.5%

Approaches detected
1,714 of 2,240 approach sessions

23.0%

Stationary false alerts
258 of 1,120 stationary sessions

54.0%

Phone-movement false alerts
605 of 1,120 phone sessions

These results cover the balanced model across seven signal conditions, with one minute per simulated session. We have not tested it in the field.

What must the app detect?

An approach means the assigned cart moves toward the parked vehicle, including the approach phase of a pass-by.

A separate store-exit event confirms that the cart is outside; BLE alone does not establish this. Phone movement does not count as cart movement.

The first two studies incorrectly rejected all pass-bys, so we corrected the labels and trained new models. All results below use the corrected labels.

How we made the simulated data

NVIDIA Sionna RT calculates how signals from the cart’s Bluetooth Low Energy (BLE) beacon reach the phone. It accounts for direct and reflected radio paths through simplified parking lots.

We generated the test data with Sionna RT 2.2.0. The Sionna graphical workbench lets us move devices and send readings to the app, while our Signal Lab tool replays saved readings.

  1. Define the lot, parked cars, cart path and phone path.
  2. Calculate signal strength every 250 milliseconds on the three BLE advertising frequencies.
  3. Add noise, lost packets, signal offsets and scan gaps.
  4. Convert the readings to BLE packets and pass them through the app decoder.
  5. Use the known paths to label each approach, keeping position data out of the model inputs.

The test uses 40 routes across four new lots. With seven signal conditions and 20 noise variations per route, this gives 5,600 sessions.

These tests do not reproduce packet collisions or actual phone hardware. See the setup guide on GitHub for parameters and commands.

Replay a test

Choose a behavior and signal condition, then select Play or move the time slider.

Loading recorded simulation data…

The replay shows saved readings and model scores without calculating new results. Its 140 examples use route 0 and seed 7000 across every lot, behavior and signal condition. Selection does not depend on the outcome, and position data is used only for display and test labels.

Results

The new balanced model detects 76.5% of approaches, compared with 55.9% for the previous model. In low noise, detection reaches 92.8%.

Most of the improvement comes from pass-bys, while detection of ordinary approaches decreases slightly. Total false alerts increase from 1,010 to 1,077 across 5,600 sessions.

Ordinary approach detection changes from 74.9% to 73.3%. Pass-by detection changes from 37.0% to 79.7%. False alerts increase.
Higher is better in the first two rows; lower is better in the remaining rows. Open the graph for full resolution.

All profiles: 5,600 sessions; 2,240 approach sessions; 1,120 per behavior.

OutcomePreviousBalancedCautiousStrict
Approaches detected55.9%76.5%27.1%8.3%
Stationary false alerts16.5%23.0%0.5%0.0%
Departure false alerts1.8%3.8%0.2%0.0%
Phone-movement false alerts44.6%54.0%7.9%0.5%

Cautious and strict settings give fewer false alerts, but detect only 27.1% and 8.3% of approaches.

A wrong-phase alert occurs before an approach, after a stop, or during departure. Median detection time improves from 17 to 11 seconds among successful detections, excluding missed approaches.

Approach detection: 92.8% in low noise, 70.3% with high noise and loss, and 28.1% with four-second scans.
Long scan gaps reduce detection.
Stationary cart false alerts: antenna rotation 29.3%, signal recovery 30.4%, small phone movements 86.1%, and movement toward the cart 70.4%.
Phone movement causes false alerts.

Training and test method

14,700

Training sessions

Train the models on signal history.

13,300

Validation sessions

Select models and alert settings.

5,600

New test sessions

Test four new lots with separate noise seeds.

The models use past signal strength and optional beacon calibration, with no access to position data or future readings.

After the store-exit event, an approach requires at least 0.1 m/s of movement toward the vehicle over both the preceding one-second and 250-millisecond windows. This defines the test label; the phone does not measure that speed.

Model settings and checks

The balanced model uses 300 boosting iterations, at most 31 leaves per tree, a 0.85 score threshold and two confirmations. Features summarize the previous 3, 5, 10, 20 and 40 seconds.

We kept lots 12–15 and noise seeds 7000–7019 separate from training and validation, while earlier tests became development data. The saved models reproduce their batch predictions.

The Python suite passed 58 tests and skipped three optional GPU tests; the study separately ran GPU simulations and the app decoder.

Test limits

Cart movement and phone movement can produce the same signal history, which more training cannot distinguish.

These tests use simplified objects, antennas and noise. Repeated sessions share the same routes, so they are not independent field trials.

We have not measured actual phone performance or false alerts over long periods. The models run in Python, while Android alerts still use the original app rules.

Source and data on GitHub ↗

Orbitech · Published October 15, 2026