Drive Score
Score from 0-100 that evaluates driving quality based on events and histogram analysis.
Formula
Score = BASE + Σ(events × weight) + Σ(histogram × weight)- BASE: Initial score (typically 100)
- events: GC counters normalized by distance (events/100km)
- histogram: Percentages of time in different ranges
- weight: Configurable multipliers
Classification
| Range | Rating | Description |
|---|---|---|
| 90-100 | EXCELLENT | Excellent driving |
| 75-89 | GOOD | Good driving |
| 60-74 | FAIR | Acceptable driving |
| 40-59 | POOR | Poor driving |
| 0-39 | BAD | Very bad driving |
QTPSCO - Get Score
QTPSCOResponse
RTPSCO,score:<score>,rating:<rating>,
ovspd:<n>,ovrev:<n>,hacc:<n>,hbrk:<n>,hcrv:<n>,
c1:<n>,c2:<n>,c3:<n>,
idle:<pct>%,eco:<pct>%,over:<pct>%,
hirpm:<pct>%,hiacc:<pct>%,hitbo:<pct>%| Field | Description |
|---|---|
score | Score 0-100 |
rating | EXCELLENT/GOOD/FAIR/POOR/BAD |
ovspd | GC0 events (overspeed) |
ovrev | GC1 events (overrev) |
hacc/hbrk/hcrv | GC2-4 events |
c1/c2/c3 | GC5-7 events (custom) |
idle | % time stopped (0-10 km/h) |
eco | % time economic speed (50-80 km/h) |
over | % time over speed (>110 km/h) |
hirpm | % time high RPM (>4000) |
hiacc | % time high accelerator (>70%) |
hitbo | % time high turbo (>150 kPa) |
Example
>QTPSCO<
>RTPSCO,score:78,rating:GOOD,ovspd:8,ovrev:3,hacc:5,hbrk:7,hcrv:2,c1:0,c2:0,c3:0,idle:15%,eco:42%,over:18%,hirpm:12%,hiacc:8%;ID=865413053386354;*5F<STPSCOEN / QTPSCOEN - Enable Scoring
Query
QTPSCOEN
RTPSCOEN,<0|1>; Score enabled/disabledSet
STPSCOEN,1 // Enable
STPSCOEN,0 // DisableIf disabled, QTPSCO only returns the BASE score.
STPSCOCFG / QTPSCOCFG - Configure Weights
Syntax
STPSCOCFG,<p0>,<p1>,...,<p15>Parameters
| # | Parameter | Description | Typical value |
|---|---|---|---|
| 0 | GC0 | OVERSPEED weight | -5 |
| 1 | GC1 | OVERREV weight | -5 |
| 2 | GC2 | HARSH_ACCEL weight | -8 |
| 3 | GC3 | HARSH_BRAKE weight | -10 |
| 4 | GC4 | HARSH_CORNER weight | -5 |
| 5-7 | GC5-7 | CUSTOM weights | 0 |
| 8 | IDLE | Stopped time weight | -1 |
| 9 | ECO_SPEED | 50-80 km/h weight | +2 |
| 10 | OVERSPEED_HIST | >110 km/h weight | -10 |
| 11 | HIGH_RPM | >4000 RPM weight | -5 |
| 12 | HIGH_ACCEL | >70% accelerator weight | -5 |
| 13 | HIGH_TURBO | >150 kPa turbo weight | -3 |
| 14 | DIVISOR | Distance normalization | 100 |
| 15 | BASE | Initial score | 100 |
Example
>STPSCOCFG,-5,-5,-8,-10,-5,0,0,0,-1,2,-10,-5,-5,-3,100,100<
>RTPSCOCFG,-5,-5,-8,-10,-5,0,0,0,-1,2,-10,-5,-5,-3,100,100; Score config updated
>QTPSCOCFG<
>RTPSCOCFG,-5,-5,-8,-10,-5,0,0,0,-1,2,-10,-5,-5,-3,100,100;ID=865413053386354;*56<Events are normalized to events/100km (according to DIVISOR). Negative values penalize, positive values reward.
Last updated