| Literature DB >> 34065354 |
Rana Massoud1,2, Riccardo Berta1, Stefan Poslad2, Alessandro De Gloria1, Francesco Bellotti1.
Abstract
Internet of Things technologies are spurring new types of instructional games, namely reality-enhanced serious games (RESGs), that support training directly in the field. This paper investigates a key feature of RESGs, i.e., user performance evaluation using real data, and studies an application of RESGs for promoting fuel-efficient driving, using fuel consumption as an indicator of driver performance. In particular, we propose a reference model for supporting a novel smart sensing dataflow involving the combination of two modules, based on machine learning, to be employed in RESGs in parallel and in real-time. The first module concerns quantitative performance assessment, while the second one targets verbal recommendation. For the assessment module, we compared the performance of three well-established machine learning algorithms: support vector regression, random forest and artificial neural networks. The experiments show that random forest achieves a slightly better performance assessment correlation than the others but requires a higher inference time. The instant recommendation module, implemented using fuzzy logic, triggers advice when inefficient driving patterns are detected. The dataflow has been tested with data from the enviroCar public dataset, exploiting on board diagnostic II (OBD II) standard vehicular interface information. The data covers various driving environments and vehicle models, which makes the system robust for real-world conditions. The results show the feasibility and effectiveness of the proposed approach, attaining a high estimation correlation (R2 = 0.99, with random forest) and punctual verbal feedback to the driver. An important word of caution concerns users' privacy, as the modules rely on sensitive personal data, and provide information that by no means should be misused.Entities:
Keywords: Internet of Things (IoT); eco-driving; fuel consumption; machine learning (ML); on-board diagnostic-II (OBD-II); reality-enhanced serious games (RESGs); serious game (SG)
Year: 2021 PMID: 34065354 PMCID: PMC8161113 DOI: 10.3390/s21103559
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1The driver assessment and recommendation modules process vehicular signals and provide information usable inside different types of games.
Figure 2High-level scheme of the data preparation system architecture.
Figure 3Correlation between enviroCar estimated fuel consumption and other variables (blue shades for positive correlation, red for negative).
Color code for the Pearson’s Correlation Coefficient.
| Event Detector | Value | Classification |
|---|---|---|
| Small | 0.1 to 0.3, light blue | −0.1 to −0.3, light coral (shade of orange) |
| Medium | 0.3 to 0.5, mid blue | −0.3 to −0.5, mid coral |
| Large | 0.5 to 1, dark blue | −0.5 to −1, dark red |
| No correlation | 0, white | 0, white |
Fuel consumption predictors and their characterization.
| Predictor Group | Variables | Notes |
|---|---|---|
| Related to car characteristics | Car manufacturer; car model; car construction year; engine displacement | - |
| Read from the car’s internal sensors (OBD-II scanner) | Engine load, “%” | Indicates the amount of air and fuel being sucked into the engine |
| Speed, “km/h” | The actual speed of the vehicle shown by the odometer (when there is no readable value from the speed sensor, we rely on the GNSS derived speed): speed burns fuel | |
| Intake-air temperature, “c” | Senses the air temperature inside the cylinders into the engine. This information is provided to the ECU for correcting the mixture formation and the ignition to determine the correct amount of fuel needed for optimum engine performance and economic outcomes | |
| Number of engine revolutions per minute (RPM) | Fuel consumption is typically related to high RPM [ | |
| Throttle position sensor (TPS) or accelerator, “%” | Regulates the engine’s air and fuel intake. It is directly controlled by the driver, thus representing a fundamental element for comprehensible feedback and coaching | |
| MAF “L/s” | Presented above | |
| Intake manifold absolute pressure (MAP) | Used by the ECU to compute the MAF | |
| Computed post-hoc and added on the community’s server | FC “L/h” | Described in |
| Calculated MAF “g/s” | For the cases when the OBD adapter delivers no result for MAF [ | |
| Track’s length | Track traveled distances in kilometers | |
| Embedded sensors in Smartphone and timestamp data | GNSS speed | (When OBD-II adapter delivers no result for speed, the GNSS speed value is considered in this work) and the time of day (in hours) |
Figure 4Representation of the ANN model developed.
Fuzzy logic rules and corresponding feedback for high and very high FC levels (L: Low, M: Medium; H: High, VH: Very High).
| Indicators | Estimation | Driver’s Feedback | ||
|---|---|---|---|---|
| RPM | TPS | Speed | FC | |
| L | H | H | VH | Shift down the gear (and raise the accelerator pedal) |
| L | H | VH | H | Shift down the gear and raise the accelerator pedal |
| H | M | H or VH | H | Shift up the gear (and reduce speed) |
| H | M | M | H | Shift up the gear |
| H | H | H | Shift up the gear (and raise the accelerator pedal) | |
| VH | M | H | Shift up the gear | |
| VH | H | VH | Shift up the gear | |
Figure 5Comparison of the models’ correlations.
Comparison of the Models’ Performance.
| Performance Metric | SVR | RF | ANN |
|---|---|---|---|
| MSE | 0.06 | 0.02 | 0.05 |
| R2 | 0.98 | 0.99 | 0.98 |
| Training time (min) | 154 | 12 | 117 |
| Inference time (ms) | 1 | 27 | 0.28 |
Figure 6Performance for an example trip. Speed (also compared with the OSM speed limit in red) (a), throttle position (b), RPM (c) and fuel consumption (d). For all the sub-figures, the horizontal unit is the ordinal sample (measurement) number where the Sampling interval is 5 s.
Figure 7Elbow chart, giving a hint for defining the optimal number of driving style categories.
Centroids of the Clusters for K = 5 and K = 9.
| k | Centroids (L/h) |
|---|---|
| 5 | 1.76, 4.35, 6.93, 9.04, 11.91 |
| 9 | 1.37, 2.65, 4.15, 5.68, 7.17, 8.46, 9.73, 11.45, 14.84 |
Figure 8Fuel efficiency scores for 111 tracks for car model “Volkswagen Polo 9N 2009”, gasoline engine.
Figure 9Driving recommendation timeline for the studied trip respecting Table 3′s seven rules.
Driving feedback for a sample of the studied track (H: high, VH: very high).
| Event Detector | Value | Classification |
|---|---|---|
| RPM | 4530 | VH |
| Speed/OSM speed | 117.36/120 km/h | H, respect the speed limit |
| TPS | 87% | H |
|
| ||
| “Shift-up the gear” | ||