Skip to Content

HM Command — Harsh Maneuver Detector

Intelligent driving event detection with 8 independent instances and 8 specialized algorithms.


What is it for?

Use caseDescription
🏎️ Driving scoringEvaluate driver’s driving style
🚨 Safety alertsNotify harsh braking or dangerous maneuvers
💥 Impact detectionIdentify collisions or accidents
📈 Fleet analysisGenerate 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_s

Parameters

ParameterDescription
xxModule instance (00-07)
eventTypeAlgorithm to use (0-7)
magnitudeThreshold (km/h for GPS, mg for accelerometer)
min_speed_kmhMinimum GPS speed (0 = no restriction)
hysteresis_percentAnti-oscillation hysteresis percentage
time_window_msMinimum sustained duration (0 = instantaneous)
cooldown_sTime between events (anti-spam)

Algorithm Types

🌐 Hybrid GPS + Accelerometer (Types 0-4)

Require minimum speed and sustained duration.

TypeIconNameDetectsTypical parameters
0🏎️GPS AccelerationSpeed increase ≥ magnitude km/h5-15 km/h, min_vel 5 km/h, 2-5s
1🛑GPS BrakingSpeed decrease ≤ -magnitude km/h8-15 km/h, min_vel 10 km/h, 2-4s
2↪️Left TurnLateral force + rightward250-400 mg, min_vel 15 km/h, 1-3s
3↩️Right TurnLateral force - leftward250-400 mg, min_vel 15 km/h, 1-3s
4🌀CentripetalTotal 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.

TypeIconNameDetectsTypical parameters
5↔️Lateral Impact|acc_y| ≥ magnitude1500-3000 mg, min_vel 0, 0-100ms
6⬆️Frontal Impactacc_x ≤ -magnitude1500-3000 mg, min_vel 0, 0-100ms
7⬇️Rear Impactacc_x ≥ +magnitude1500-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 algorithm

Validations

Limits by Type

TypeUnitMaximum
GPS (0-1)km/h50
Accelerometer (2-7)mg8000
time_window_msmsGPS minimum 100ms, impacts can be 0ms
cooldown_ss120

Anti-Oscillation Hysteresis

PhaseBehavior
Activationmagnitude + hysteresis (higher threshold)
Deactivationbase magnitude (lower threshold)
PreventsRepetitive 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

SignalIndexSuitable for conditional use
HM00-07NO

Available triggers are HM00+ to HM07+. Positive edge only.


Compatibility

💾Firmware:v1.9.15
SP-IOT
SM-IOT
ZE-IOT

See Also

Last updated