HM Command — Harsh Maneuver Detector
Intelligent driving event detection with 8 independent instances and 8 specialized algorithms.
What is it for?
| Use case | Description |
|---|---|
| 🏎️ Driving scoring | Evaluate driver’s driving style |
| 🚨 Safety alerts | Notify harsh braking or dangerous maneuvers |
| 💥 Impact detection | Identify collisions or accidents |
| 📈 Fleet analysis | Generate behavioral statistics |
Description
The HM module detects driving events using 8 independent instances (HM00-HM07) where each can be configured for any algorithm type (0-7):
- HMxx = Module index (independent instance)
- eventType = Detection algorithm type (0-7)
- Total flexibility: HM03 can use algorithm type 5, HM00 can use type 2, etc.
Configuration
Syntax
SHMxxE,eventType,magnitude,min_speed_kmh,hysteresis_percent,time_window_ms,cooldown_sParameters
| Parameter | Description |
|---|---|
| xx | Module instance (00-07) |
| eventType | Algorithm to use (0-7) |
| magnitude | Threshold (km/h for GPS, mg for accelerometer) |
| min_speed_kmh | Minimum GPS speed (0 = no restriction) |
| hysteresis_percent | Anti-oscillation hysteresis percentage |
| time_window_ms | Minimum sustained duration (0 = instantaneous) |
| cooldown_s | Time between events (anti-spam) |
Algorithm Types
🌐 Hybrid GPS + Accelerometer (Types 0-4)
Require minimum speed and sustained duration.
| Type | Icon | Name | Detects | Typical parameters |
|---|---|---|---|---|
| 0 | 🏎️ | GPS Acceleration | Speed increase ≥ magnitude km/h | 5-15 km/h, min_vel 5 km/h, 2-5s |
| 1 | 🛑 | GPS Braking | Speed decrease ≤ -magnitude km/h | 8-15 km/h, min_vel 10 km/h, 2-4s |
| 2 | ↪️ | Left Turn | Lateral force + rightward | 250-400 mg, min_vel 15 km/h, 1-3s |
| 3 | ↩️ | Right Turn | Lateral force - leftward | 250-400 mg, min_vel 15 km/h, 1-3s |
| 4 | 🌀 | Centripetal | Total force: √(x²+y²) | 300-500 mg, min_vel 20 km/h, 2-4s |
⚡ Pure Accelerometer (Types 5-7)
No speed restriction, instantaneous or timed detection.
| Type | Icon | Name | Detects | Typical parameters |
|---|---|---|---|---|
| 5 | ↔️ | Lateral Impact | |acc_y| ≥ magnitude | 1500-3000 mg, min_vel 0, 0-100ms |
| 6 | ⬆️ | Frontal Impact | acc_x ≤ -magnitude | 1500-3000 mg, min_vel 0, 0-100ms |
| 7 | ⬇️ | Rear Impact | acc_x ≥ +magnitude | 1500-3000 mg, min_vel 0, 0-100ms |
Examples by Application
🚛 Commercial Fleet
>SHM00E,0,5,3,20,4000,10< // HM00 module using algorithm type 0 (Acceleration)
>SHM01E,1,8,8,15,3000,8< // HM01 module using algorithm type 1 (Braking)
>SHM02E,5,1500,0,10,0,45< // HM02 module using algorithm type 5 (Lateral impact)
>SHM03E,6,1500,0,10,0,45< // HM03 module using algorithm type 6 (Frontal impact)⛽ Hazardous Vehicles (Petroleum)
>SHM00E,0,4,3,25,5000,15< // HM00 module = Very smooth acceleration (4 km/h increase)
>SHM01E,1,6,5,20,4000,12< // HM01 module = Gradual braking (6 km/h decrease)
>SHM02E,2,200,10,15,3000,8< // HM02 module = Very smooth left turn (200 mg)
>SHM03E,3,200,10,15,3000,8< // HM03 module = Very smooth right turn (200 mg)
>SHM04E,4,220,15,12,4000,10< // HM04 module = Conservative centripetal (220 mg)
>SHM05E,5,1200,0,10,100,45< // HM05 module = Lateral impact (collision detection)
>SHM06E,6,1200,0,10,100,45< // HM06 module = Frontal impact (critical protection)
>SHM07E,7,1200,0,10,100,45< // HM07 module = Rear impact (maximum safety)🚗 Standard Family
>SHM00E,0,7,5,15,3000,5< // HM00 module = Acceleration algorithm
>SHM01E,1,10,10,10,2000,5< // HM01 module = Braking algorithm
>SHM02E,2,330,15,10,2000,3< // HM02 module = Left turn algorithm
>SHM03E,3,330,15,10,2000,3< // HM03 module = Right turn algorithm
>SHM04E,5,2000,0,5,0,30< // HM04 module = Lateral impact algorithm
>SHM05E,6,2000,0,5,0,30< // HM05 module = Frontal impact algorithm
>SHM06E,7,2000,0,5,0,30< // HM06 module = Rear impact algorithm
>SHM07E,4,330,20,10,2000,5< // HM07 module = Centripetal algorithmValidations
Limits by Type
| Type | Unit | Maximum |
|---|---|---|
| GPS (0-1) | km/h | 50 |
| Accelerometer (2-7) | mg | 8000 |
| time_window_ms | ms | GPS minimum 100ms, impacts can be 0ms |
| cooldown_s | s | 120 |
Anti-Oscillation Hysteresis
| Phase | Behavior |
|---|---|
| Activation | magnitude + hysteresis (higher threshold) |
| Deactivation | base magnitude (lower threshold) |
| Prevents | Repetitive activations/deactivations |
Recommendations
For Maximum Safety
- Use types 0,1 with low magnitude (4-8 km/h)
- Long time_window_ms (3000-5000ms)
- Extended cooldown_s (10-15s)
For Accident Detection
- Use types 5,6,7 with medium magnitude (1500-2500 mg)
- Short time_window_ms (0-100ms)
- Long cooldown_s (30-45s)
For Driver Evaluation
- Combine all types in different modules
- Moderate magnitude according to vehicle profile
- Moderate cooldown_s (3-8s)
Associated Signals
| Signal | Index | Suitable for conditional use |
|---|---|---|
| HM | 00-07 | NO |
Available triggers are HM00+ to HM07+. Positive edge only.
Compatibility
💾Firmware:v1.9.15
SP-IOT
SM-IOT
ZE-IOT
See Also
- Axis Calibration — Accelerometer calibration
- AC Command — Accelerometer reading
- CXAC Command — Accelerometer configuration
- MVT Command — Movement detection
Last updated