| Literature DB >> 35632247 |
Pedro Andrade1, Ivanovitch Silva1,2, Marianne Silva1, Thommas Flores1, Jordão Cassiano1, Daniel G Costa3.
Abstract
Vehicles are the major source of air pollution in modern cities, emitting excessive levels of CO2 and other noxious gases. Exploiting the OBD-II interface available on most vehicles, the continuous emission of such pollutants can be indirectly measured over time, although accuracy has been an important design issue when performing this task due the nature of the retrieved data. In this scenario, soft-sensor approaches can be adopted to process engine combustion data such as fuel injection and mass air flow, processing them to estimate pollution and transmitting the results for further analyses. Therefore, this article proposes a soft-sensor solution based on an embedded system designed to retrieve data from vehicles through their OBD-II interface, processing different inputs to provide estimated values of CO2 emissions over time. According to the type of data provided by the vehicle, two different algorithms are defined, and each follows a comprehensive mathematical formulation. Moreover, an unsupervised TinyML approach is also derived to remove outliers data when processing the computed data stream, improving the accuracy of the soft sensor as a whole while not requiring any interaction with cloud-based servers to operate. Initial results for an embedded implementation on the Freematics ONE+ board have shown the proposal's feasibility with an acquisition frequency equal to 1Hz and emission granularity measure of gCO2/km.Entities:
Keywords: Internet of Intelligent Vehicles; Internet of Things; OBD-II; TinyML; air pollution; soft sensor
Year: 2022 PMID: 35632247 PMCID: PMC9143421 DOI: 10.3390/s22103838
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Summary of recent related works.
| Work | OBD-II Reader | Edge Computing | TinyML | Observed Sensors |
|---|---|---|---|---|
| This work | Freematics ONE+ | Yes | Yes | MAP, MAF, IAT, RPM |
| [ | ELM-327 * | Mobile App | No | MAP, Speed |
| [ | ELM-327 * | No | No | MAP, MAF, IAT, RPM |
| [ | ELM-327 * | No | No | MAP, Speed, AP |
| [ | Freematics ONE+ | No | No | MAP, Speed, RPM, MAF, IAT |
| [ | OBD-II reader not specified + | No | No | MAP, Speed, RPM, MAF, IAT |
* ELM-327 has an ATMega644 microcontroller internally, but it is not used for computing in the cited works.
PIDs related to CO2 emissions.
| CO2 Related PIDs | Unit |
|---|---|
| MAP (Manifold Absolute Pressure) | kPa |
| MAF (Mass Air Flow) | g/s |
| IAT (Intake Absolute Temperature) | K |
| RPM (Revolutions Per Minute) | RPM |
Fuel conversion constants.
| Fuel | Density (g/L) | AFR | |
|---|---|---|---|
| Gasoline | 737 | 14.7:1 | 2310 |
| Diesel | 850 | 14.6:1 | 2660 |
| Ethanol | 789 | 9.0:1 | 1510 |
Figure 1The conceptual architecture of the proposed approach.
Figure 2The processing flow of the proposed soft-sensor approach.
Data collected from sensors by the Freematics ONE+ unit.
| PID | Abbreviature | Unit |
|---|---|---|
| Latitude | Lat | ° (degrees) |
| Longitude | Long | ° (degrees) |
| Speed (OBD-II) | Speed | km/h |
| RPM | RPM | - |
| Intake Air Temperature | IAT | K |
| Mass Air Flow | MAF | g/s |
Figure 3Vehicle variables on a day of the week—Tuesday. (a) Intake Air Temperature (°C) measurements. (b) RPM measurements.
Figure 4CO2 (g) expelled along the trip for each day of the week.
Figure 5Mass of CO2 (g) expelled by the vehicle per kilometer driven.
Figure 6Pearson’s coefficient for each dataset.
Application of the TEDA algorithm by varying the threshold (m): 1.5, 2.0, and 2.5.
| Threshold ( | 1.5 | 2.0 | 2.5 | |||
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
| Monday | 1087 | 88 | 1118 | 57 | 1138 | 37 |
| Tuesday | 1002 | 110 | 1051 | 61 | 1083 | 29 |
| Wednesday | 981 | 107 | 1018 | 70 | 1055 | 33 |
| Thursday | 1069 | 94 | 1128 | 35 | 1145 | 18 |
| Friday | 1030 | 113 | 1077 | 66 | 1094 | 49 |
Figure 7Application of the TEDA algorithm on the Monday dataset using .
Figure 8Application of the TEDA algorithm on the Monday dataset using . (a) Geographical arrangement of outliers (yellow marker). (b) Magnitude of CO2 values along the route.