Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

How IoT sensors and machine learning can make e-scooters safer

How IoT sensors and machine learning can make e-scooters safer
Machine Learning

Last updated: 03 December 2026

Connected sensors and machine learning can make e-scooters safer in three practical ways: they can detect a fall or crash and call for help, recognise risky riding conditions and respond, and give operators and cities better data on where harm occurs. None of this replaces helmets, good infrastructure or sensible rules. But the technology is small enough to fit on a scooter, and it has been studied in peer-reviewed work.

This guide explains what sensors a scooter needs, which models suit each job, what the research does and does not show, and where the limits are. The code sample is illustrative and has not been tested here.

Why e-scooter safety needs better data

The US Consumer Product Safety Commission (CPSC) tracks micromobility injuries and deaths. In a 2024 release on its 2017 to 2022 report, it said e-scooter injuries rose 22% in 2022 compared with 2021. For all micromobility products together (e-scooters, e-bikes, hoverboards and similar), it counted about 360,800 emergency department visits from 2017 through 2022 and 233 deaths, while noting that death reporting is ongoing and incomplete.

On hazards, the CPSC names collisions with motor vehicles and control issues as leading hazards for e-scooters. It also points to sudden stops when small wheels hit obstacles or uneven surfaces. The release does not say what share of deaths involved motor vehicles, so treat that as a ranking of hazard types rather than a statistic. The CPSC has since published a report covering 2017 to 2024, and recent years may be revised.

One structural problem is exposure. Injury counts alone cannot tell you how risky a trip is unless you know how many trips and kilometres were ridden. Trip logs from connected scooters can supply that missing denominator, which is one reason sensor data is useful beyond crash response.

What sensors a safer e-scooter needs

Core hardware

  • Inertial measurement unit (IMU): an accelerometer and gyroscope. It captures braking, tilt, vibration, wobble and impacts. It is cheap and low power, so it is the workhorse.
  • GPS/GNSS: location, speed and geofencing, such as slow zones or no-ride areas.
  • Wheel or motor speed sensor: lets the system compare commanded and actual speed.
  • Brake and throttle inputs: show whether the rider is braking late or accelerating abruptly.
  • Connectivity module: cellular or low-power wide-area networking to send alerts and logs.

Optional extras

Cameras, radar or ultrasonic sensors can detect obstacles and pedestrians, but they add cost, power draw and privacy obligations. The fall-detection studies discussed below use inertial sensors alone, which is a sensible place to start.

Four machine learning use cases

1. Fall and crash detection

This is the best-documented use. Two studies are worth knowing, and both come with caveats.

Lee, Koo and Kim (Applied Sciences 14(22), 10443, November 2024) built pre-impact fall detectors for e-scooter riding from a single IMU worn at the T7 spine position, sampled at 60 Hz. They compared three approaches: a threshold method, a supervised model and an unsupervised autoencoder, with knowledge distillation applied to shrink the unsupervised model. The abstract reports that the distilled unsupervised model reached 98.86% accuracy with an F1 score of 0.99 in a memory size of only 46 kB. It also reports a clearly weaker result of 86.29% accuracy with an F1 score of 0.56 for one of the other approaches.

I could not open the full text, and the secondary summaries I found disagree on which of the other two approaches earned the 86.29% figure, and on whether the threshold method matched the 98.86%. So this article does not draw a conclusion about threshold versus learned models from this paper. Read the paper itself before citing per-method numbers.

Two points still hold regardless. First, the 86.29% accuracy beside an F1 of 0.56 shows why accuracy alone misleads on rare events such as falls. Second, a distilled model of 46 kB is small enough for microcontroller-class hardware.

Sanchez-Iborra, Bernal-Escobedo, Santa and Skarmeta (2022) published “TinyML-Based Fall Detection for Connected Personal Mobility Vehicles” in Computers, Materials & Continua (vol. 71, no. 2, pp. 3869 to 3885). They trained models on gyroscope and accelerometer data from an on-board unit on a real electric scooter, ridden in Cartagena, Spain, on bike lanes, roads and cobblestones, and ran them on embedded hardware. The related dataset is on Zenodo under DOI 10.5281/zenodo.14851613. Note that the falls were staged: front collisions against a foam wall and lateral rollovers onto shock-absorbing material. That is not the same as real crashes.

2. Surface and hazard recognition

Vibration patterns in IMU data differ between smooth asphalt, cobbles and tiled footways, so a model could in principle classify the surface. This is an engineering idea rather than a result I verified here. If it works on your data, a scooter on rough ground can cap its speed, and a city can learn where riders are pushed onto poor surfaces.

3. Risky-riding scoring

Hard braking, sharp swerves and sustained speed produce recognisable IMU patterns. An anomaly detector or classifier can turn them into a risk score. Operators can use it to nudge riders, set tighter speed limits for riskier behaviour, or flag problem locations. Be transparent about this, because riders should know what is scored.

4. Predictive maintenance

Brake wear, loose stems and tyre problems change vibration and speed response. Models on motor current, wheel speed and vibration can flag a scooter for inspection before it fails on the road.

Architecture: edge first, cloud second

A fall alert cannot wait for a network round trip, and tunnels or poor coverage are common. Run detection on the scooter, and send only events and summaries to the cloud.

Flow from onboard sensors through edge ML to alerts, speed control and cloud analytics
Sensor-to-action pipeline for a connected e-scooter

Comparison of approaches

Approach Strength Weakness Best for
Fixed thresholds Simple, explainable, tiny compute Can be brittle across riders and terrain First-line crash trigger and baseline
Classical ML (SVM, random forest) Light, works with hand-built features Needs feature engineering Fall detection on microcontrollers
Deep learning (CNN, LSTM) Learns patterns from raw signals Needs more data and memory Surface and behaviour recognition
Unsupervised (autoencoder) Needs few labelled falls Harder to tune false alarms Rare-event and anomaly detection

A minimal example

This hypothetical Python sketch slices IMU data into windows, builds simple features and trains a classifier. It is a teaching outline, not a production design, and it has not been run.

import numpy as np
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import GroupKFold
from sklearn.metrics import recall_score, f1_score

def features(win):
    # win: array [n_samples, 6] = ax, ay, az, gx, gy, gz
    acc = np.linalg.norm(win[:, :3], axis=1)
    gyro = np.linalg.norm(win[:, 3:], axis=1)
    return [acc.mean(), acc.std(), acc.max(), acc.min(),
            gyro.mean(), gyro.std(), gyro.max()]

# X_windows: list of 1-second windows; y: 0=normal, 1=fall; groups: rider id
X = np.array([features(w) for w in X_windows])
clf = RandomForestClassifier(n_estimators=200, class_weight="balanced")
for tr, te in GroupKFold(n_splits=5).split(X, y, groups):
    clf.fit(X[tr], y[tr])
    pred = clf.predict(X[te])
    print(recall_score(y[te], pred), f1_score(y[te], pred))

Note the grouping by rider. Splitting by rider, not by random window, shows whether the model works on people it has never seen. The sketch reports recall and F1 rather than accuracy for the reason above.

Best practices

  • Measure the right metrics. Falls are rare, so accuracy flatters. Track recall, F1, false alarms per hour of riding and detection delay.
  • Test on varied riders and terrain. Staged falls on a test track differ from real crashes.
  • Keep a human-safe fallback. If the model is unsure, warn the rider instead of cutting power mid-turn. Sudden braking can itself cause a fall.
  • Minimise data. Process on the device, store events, and anonymise location trails where possible.
  • Secure the link. Sign firmware updates, authenticate devices and encrypt telemetry. A hacked speed limiter is a safety hazard.
  • Plan model updates. Ship over-the-air updates with rollback, and monitor for drift as tyres, firmware and cities change.

Common mistakes and troubleshooting

  • Too many false alarms: often caused by bumps and kerb drops. Add a second stage, such as a lie-still check after impact, and a rider-cancel prompt.
  • Missed falls: training data may lack slow topples or low-speed tumbles. Collect more varied cases.
  • Model worse in the field than the lab: mounting position and sampling rate may differ. Fix sensor placement and calibrate on installation.
  • Battery drain: sample at the lowest rate that works, wake the model on motion, and quantise it.
  • Ignoring the rider: a scoring system that feels punitive gets uninstalled or gamed. Explain it and use it to help.

Honest limits

Published fall-detection results come from small, controlled trials and staged falls, so real-world performance is less certain. The Yonsei-style study used a wearable IMU on the rider’s back, while the Cartagena work used a unit on the scooter, so the two are not directly comparable.

Sensors can shorten the time to help and reduce some hazards. But the CPSC lists motor vehicle collisions and control issues among the leading e-scooter hazards. Many of those need better road design, speed management and protective gear, not only smarter scooters.

Hands-on exercise

  1. Download the public Cartagena scooter-riding dataset from Zenodo, or log IMU data from a phone mounted on a stand, with permission and in a safe setting.
  2. Cut the signal into one-second windows with 50% overlap.
  3. Build a threshold detector first, using peak acceleration followed by stillness.
  4. Train the random forest above and compare recall, F1 and false alarms per hour.
  5. Split by rider, then by random window, and note how much the score inflates.

FAQ

Can sensors prevent e-scooter crashes?

They can reduce some risks, such as speed on rough surfaces or in slow zones, but they mainly shorten response time after a crash and improve data. Prevention still depends on riders, vehicles and streets.

Is an IMU enough for fall detection?

Both studies above used inertial data only, and reported usable results, though under controlled or staged conditions. Real-world validation is still needed.

Does it need the cloud?

Not for detection. The Cartagena TinyML work ran models on embedded on-board hardware, and a 46 kB distilled model is reported in the Yonsei study. The cloud is for alerts, fleet analytics and retraining.

What about privacy?

Treat location and riding behaviour as personal data. Collect only what you need, tell riders what is recorded, and limit retention.

Which model should I start with?

Start with a threshold baseline, then a random forest or SVM. Move to deep or unsupervised models if the simpler options fail on your data, and judge them on recall and F1, not accuracy.

Related reading

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x