Next Article in Journal
Editorial of Special Issue “Combining Sensors and Multibody Models for Applications in Vehicles, Machines, Robots and Humans”
Previous Article in Journal
Advanced Bioelectrical Signal Processing Methods: Past, Present and Future Approach—Part II: Brain Signals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimation of Pollutant Emissions in Real Driving Conditions Based on Data from OBD and Machine Learning

by
Néstor Diego Rivera-Campoverde
1,2,*,
José Luis Muñoz-Sanz
1 and
Blanca del Valle Arenas-Ramirez
3
1
Machine-Engineering Division, Escuela Técnica Superior de Ingenieros Industriales—ETSII, Universidad Politécnica de Madrid, 2 José Gutierrez Abascal Street, 28006 Madrid, Spain
2
Grupo de Investigación en Ingeniería del Transporte, Universidad Politécnica Salesiana, Calle Vieja 1230 and Elia Liut, 010105 Cuenca, Ecuador
3
Instituto Universitario de Investigación del Automóvil Francisco Aparicio Izquierdo—INSIA-UPM, Escuela Técnica Superior de Ingenieros Industriales—ETSII, Universidad Politécnica de Madrid, 2 José Gutierrez Abascal Street, 28006 Madrid, Spain
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(19), 6344; https://doi.org/10.3390/s21196344
Submission received: 15 July 2021 / Revised: 17 September 2021 / Accepted: 18 September 2021 / Published: 23 September 2021
(This article belongs to the Section Vehicular Sensing)

Abstract

:
This article proposes a methodology for the estimation of emissions in real driving conditions, based on board diagnostics data and machine learning, since it has been detected that there are no models for estimating pollutants without large measurement campaigns. For this purpose, driving data are obtained by means of a data logger and emissions through a portable emissions measurement system in a real driving emissions test. The data obtained are used to train artificial neural networks that estimate emissions, having previously estimated the relative importance of variables through random forest techniques. Then, by the application of the K-means algorithm, labels are obtained to implement a classification tree and thereby determine the selected gear by the driver. These models were loaded with a data set generated covering 1218.19 km of driving. The results generated were compared to the ones obtained by applying the international vehicle emissions model and with the results of the real driving emissions test, showing evidence of similar results. The main contribution of this article is that the generated model is stronger in different traffic conditions and presents good results at the speed interval with small differences at low average driving speeds because more than half of the vehicle’s trip occurs in urban areas, in completely random driving conditions. These results can be useful for the estimation of emission factors with potential application in vehicular homologation processes and the estimation of vehicular emission inventories.

1. Introduction

Internal combustion engines (ICE) of automobiles are a major source of pollution in urban areas, contributing significantly to the deterioration of air quality in cities [1], which causes a serious problem given that, according to the United Nations Organization in 2016, 54.5% of the world’s population lives in urban areas [2]. Private vehicle trips are the main cause of fuel wastage and unnecessary CO2 emissions. These show inefficiency in three domains: driver behavior, route selection and traffic management [3], wherein parameters such as deficient deceleration, incorrect selected gear and engine speed, excessive speed and acceleration, congestion, poorly synchronized traffic signals, inefficient transfer route choice and lack of knowledge and motivation are highlighted [4,5].
CO2 emissions are certified under standardized conditions, which are very different from real driving conditions, so when there are not enough data available, simulation can be used [6]. Several stochastic models determine the influence of various variables on fuelconsumption during road driving, such as speed and the presence of road features and characteristics that determine stop/start sequences, like stop signals, speed reducers, driving curves and topography. These situations affect eco-driving [7], whilst in urban driving [8], it has been determined that fuel consumption is strongly influenced by vehicular congestion.
Pollutant emissions, consumption and performances generated by ICE are closely related to the gradient of the road and the driving style [9,10], especially the gear change strategy of the driver [11,12]. Beckx and Vlieger [13] studied the influence of gear change on emissions and fuel consumption by using simulations, confirming that consumption and the emissions of CO2, CO and HC decrease when ascendant gear changes are made, while NOx emissions show slight variations; emphasizing that this is a theoretical study based on non-realistic speed profiles, they therefore propose, as [14] does, the use of real driving cycles to obtain results that are close to reality. Brundell and Erickson [15] determined that speed, acceleration and gear choice have an influence on pollutant emissions and consumption, so for this purpose they used two different mechanistic models of instantaneous emissions in four vehicles [16], determining that, in order to estimate representative emission factors, it is necessary to refine and validate the models used in transitory stages of operation specially. Boulter et al. and Zöldy et al. [17,18] determined that pollutant emissions depend on vehicle-specific factors, such as model, weight, fuel type, technology level and travelled distance, and operational factors, such as speed, acceleration, gear selection, road gradient and environmental temperature, so therefore all emission models must take these factors into consideration. The estimation of pollutant emissions in the laboratory over dynamometer chassis and in adjusted driving cycles is lower than the one determined in real driving cycles, as concluded by [4,10], respectively, and are lower than the ones obtained in the RDE. Kurtyka and Pielecha [19] conclude in the same way, emphasizing that the difference in results between the dynamometer tests and in the RDE are due to traffic conditions and driving style.
A novel methodology to estimate pollutant emissions is presented in this article, using as input data the driving variables of the vehicle, such as: throttle position, manifold absolute pressure, vehicle and engine speed coming from the OBD (onboard diagnostic) and the gear used by the driver, obtained through the application of clustering techniques such as K-means and classification trees. Additionally, information from the global positioning system (GPS) was used to determine the altitude above sea level. With the aim of creating a pollutant emissions estimation model, a real driving emissions (RDE) test was carried out in a route where both emissions and OBD data were obtained. With these data, an ANN (artificial neural network) was trained, which had been validated with the data obtained in a second RDE test, confirming the validity of the emission estimator. Finally, this estimator was applied to a data set of 1218.9 km of real driving, whose results were compared to those obtained in the IVE model and RDE test, showing evidence of similar results. The methodology applied in this paper has the advantage of evaluating vehicle performance without the need of using PEMS for long driving tests. The closeness of the results compared reveals the power of the models adjusted to the data obtained in RDE, which are those established in the regulation [20]. This model can be used for the estimation of emission factors with potential applications in vehicular homologation processes and the estimation of vehicular emission inventories by means of real driving tests of short duration, avoiding therefore long measurement campaigns and the prolonged use of PEMS, as shown in [17].

2. Materials and Methods

2.1. Methodology for the Estimation of Emission Gases under Real Driving Conditions

According to [21], the emissions of a vehicle must be evaluated under normal driving conditions, which excludes laboratory tests using standardized driving cycles, while computerized models for estimating emissions require databases with characteristics of: vehicle fleet, fuels, environmental conditions and geographic location [8]. Currently, the Cuenca Mobility Company (EMOV-EP) estimates the emissions inventory based on the MOBILE6-Mexico model [22], which considers only vehicles manufactured in the USA without including those manufactured in the European Union and Asia [23] and which also considers types of fuels, environmental and traffic conditions different from those of the city of Cuenca in its database. Therefore, the proposed methodology is novel, since as far as the authors know, it would be the first contribution in Ecuador for the estimation of polluting emissions of one of the most common vehicles in real driving and environmental conditions.
To estimate exhaust gasses emissions using real driving parameters, the following steps that make up the new methodology are proposed and are the same ones that are represented in Figure 1:
  • Real driving and emission data collection;
    • Estimation of the selected gear during driving;
    • Estimation of the relative importance of each measured variable;
  • Training and validation of the neural network with the most significant variables of Route 1 and validation of the ANN calculated by applying on Route 2;
  • Application of the data set of 1218.9 km to the validated ANN;
  • Processing and presentation of results.
The procedure for each of the steps proposed in this methodology is detailed below.

2.2. Driving and Emission Real Data Collection

2.2.1. Test Vehicle

The vehicle used in the route tests is a Kia Sportage 2018 model, which is the best-selling SUV in Ecuador according to the Automobile Company Association of Ecuador, 2018 [24]. The vehicle has a DOHC 2.0 L engine, 6-speed manual transmission and 18,720 km of travelled distance according to the tachometer and with all the maintenance operations recommended by the manufacturer at the beginning of the measurement campaign.

2.2.2. Portable Emission Measurement System PEMS

A gas analyser Brain Bee AGS-688, which works by means of the NDIR method (nondispersive infrared), was used to measure CO2 [%], CO [%] and HC [ppm], and using an electrochemical cell to measure O2 [%] and NOX [ppm], emissions were measured on a dry basis. The equipment collected data at a frequency of 10 Hz and was powered by a battery that was independent of the test vehicle, as established in Euro 6 RDE [20]. The equipment had a calibration certificate by ISO/IEC 17025 using span gas according to ISO 6145, valid at the time of sampling.

2.2.3. Data Logger

Operational parameters of the vehicle were obtained through OBD together with the GPS information using Freematics ONE+ data logger at a frequency of 15.15 Hz and stored on a micro-SD card. Fuel consumption was measured using AIC Fuel Flow Master 5004. The operating and driving parameters are shown in Table 1.
The data logger recorded the information in CSV format, generating a separate file for each driving cycle. This file was vectorised to obtain a time series matrix. The Savitzky-Golay algorithm was subsequently applied to each variable in order to eliminate outliers and soften the discretisation of the measured data [25]. PEMS and data logger recording equipment showed different sampling frequencies, therefore, a re-sampling and re-measuring algorithm was created to obtain compatible vectors regarding size and synchronization. ANNs were used for this purpose, which increased the number of PEMS samples, making them compatible with the number of data logger records, as shown in Figure 2.

2.2.4. Test Routes

In order to analyse the performance of the test vehicle during the application of the real driving emission (RDE) test [20], two different routes were proposed: Route 1 and Route 2. The data set obtained in Route 1 was divided into 70% of the data for training, 15% for validation and the remaining 15% for ANN testing. The data set obtained in Route 2 was used for a double cross-validation of the adjusted ANN. The route is chosen for the data collection for the RDE test in the city of Cuenca–Ecuador–South America, which has its urban area in the city centre and the rural area in the Panamerica Norte road, and the main motorway is the Cuenca–Azogues motorway, as shown in Figure 3.
The environmental temperature during the test was 14 °C with no rain or strong winds; the weight of the vehicle including two passengers and a full fuel tank was 1719.5 kg. The vehicle was driven with windows closed, without activating the air conditioning and under minimal traffic conditions. Fuel (92 octane) was used according to the recommendations of the manufacturer. The RDE trip characteristics are shown in Table 2.

2.2.5. Estimation of the Selected Gear

The test vehicle, like most manual transmission vehicles, does not have a selected gear sensor; therefore, it must be determined from the OBD-obtained data. A state-of art-review evidences the lack of an automatic method to infer the gear used in every moment of the trip [11,26] and can estimate the selected gear from the engine speed and wheel speed achieved from the CAN Bus data, identifying the RPM/u ratio within the previously determined intervals. Values that did not fall within the above-mentioned intervals were considered gear changes. Therefore, this paper presents a methodology that allows, based on the vehicle speed and the engine speed and by applying machine learning, the determination of the gear with a high degree of certainty (over 99.5% accuracy). The K-means algorithm was applied to the data obtained in the RDE test, to the ri = VSSi/RPM vector specifically, which generated a label for each of the 7 groups obtained from their centroids [27], and the groups generated corresponded to each one of the 6 vehicle gears and to the neutral position. A classification tree (CT) was trained with the label obtained, which was applicable to all sampled driving cycles, given that the use of gears in a driving cycle is random, making it necessary to draw upon supervised learning [28]. The generated tree had 7 splits and had a 99.5% effectiveness rate, from which the matrix Gi = [G0, G1, G2, G3, G4, G5, G6] was obtained and whose elements take value 1 depending on the gear selected in sample i. The labels obtained and CT results are detailed in Figure 4.

2.2.6. Pollutant Estimation

From the volumetric concentrations of pollutants in the exhaust gases, the mass flow rates of each pollutant are determined by using the procedure described in [20]. The exhaust mass flow rate m ˙ e x   [   g / s   ]   is estimated from Equation (1).
m ˙ e x = m ˙ i n + m ˙ f
where m ˙ i n is the air mass flow estimated from the parameters obtained from OBD, and m ˙ f is the fuel flow measured by the rotary piston flowmeter located in the fuel-line. Emissions are measured on a dry basis and must therefore be corrected by Equations (2) and (3).
C w e t ,   j = k w , j   C d r y , j
k w = 1.008 1 + 0.005 α ( C O 2 + C O )
where C w e t ,   j is the concentration on a wet basis of the pollutant j in volume;   C d r y , j is the concentration of the pollutant on a dry basis; k w is the correction factor from dry to wet bases; α is the molar ratio of hydrogen, and   C O 2 + C O are the concentrations on a dry basis of CO2 and CO, respectively. The instantaneous mass emissions of each pollutant m ˙ j ,   i   [ g / s ] are obtained by Equation (4).
m ˙ j ,   i = c j ,   i μ j ,   i   m ˙ e x , i   10 3  
where i is the measuring number; c j , is the instantaneous concentration of the gas component in [   ppm   ] , and μ j     is the ratio between the density of each component and the overall exhaust density. In [20] they are determined to be μ C O 2 = 0.001518 ,     μ C O 2 = 0.000966 ,   μ N O x = 0.001587 ,     μ H C = 0.000499 . The instantaneous emission values of the vehicle can be obtained based on this estimation, as shown in Figure 5.
The emission of each pollutant m j [g] in the driving cycle is equal to the summation of its instantaneous emissions regarding time, as shown in Equation (5).
m j = i = 1 n m ˙ j , i   t
where m ˙ is the instantaneous mass flow of the pollutant j; n is the number of samples in the data set, and t is the sampling time, which is equal to 0.1 s. The cumulative emissions are detailed in Figure 6.
The emission factors F j , k   per each pollutant [g/km] in section k of the RDE were determined by Equation (6).
F j , k = m j , k s k
where m j , k is the mass of the pollutant j, and s is the travelled distance in section k of the RDE. k assumes the values of u, r and m for urban, rural and motorway sections, respectively. The results obtained are shown in Table 3.
The mass flow of each pollutant m ˙ j ,   i , G , the total mass per trip m j , G and the total travelled distance s j , G   per each gear selected G is estimated by:
m ˙ j ,   i , G = c j ,   i μ j ,   i   m ˙ e x , i   G i   10 3
m j , G = i = 1 n m ˙ j , i G i   t
s j , G = i = 1 n 3.6   V S S j , i G i   t
F j , G = m j , G s j , G

2.3. Estimation of the Relative Importance of Each Measured Variable

To optimise the training process of the ANNs, the use of the most representative or influential variables was prioritised based on the importance of predictor variables provided by the random forest (RF) technique that matched in the selection according to the Gini criterion. RF is based on multiple classification and regression trees (CART) to reduce dimensionality problems in the prediction of variables, therefore improving the accuracy and stability of the model obtained from the average of the results of the individual CART models applied to data sets wherein not all the variables involved are considered because they are randomly chosen in each CART [26].
For the selection of variables with RF, the data obtained in the RDE of Route 1 are taken, being the inputs of all the operating parameters of the vehicle and the outputs the pollutant emissions produced. The result of the most influential predictors is shown in Figure 7.
The most influential variables in pollutant emissions are the TPS, MAP, RPM, VSS and GEAR, leaving aside factors such as IAT, ECT and O2, with the level of importance of the cut-off value fixed in 5. Acceleration (ax) is one of the least influential in a direct way that can be explained by the correlation with VSS and GEAR [16].

2.4. Training and Validation of the Neural Network with the Most Significant Variables of Route 1

The data obtained in Route 1 of the RDE test are used to train 1 ANN per pollutant, the ones that have 4 neurons in the input layer, 10 in the hidden layer and 1 in the output layer. Their input vectors, respectively, are:
CO2 i = [GEARi, RPMi, TPSi, MAPi]
COi = [TPSi, MAPi, VSSi, RPMi]
NOx i = [TPSi, MAPi, VSSi, GEARi]
HC i = [MAPi, RPMi, GEARi,VSSi]

2.5. Validation of the ANN with Route 2 Data

The data obtained in Route 2 of the RDE test are applied as inputs to the generated networks, and it can be observed that the adjustment is highly satisfactory, according to the spreading and distribution diagrams of the errors. The residues of the model show a symmetric quasi-normal behaviour around 0, with no offsets in the estimation of each one of the pollutants. The residues behave completely randomly, so inference from other not considered variables in the training of the ANNs is dismissed, as shown in Figure 8.

2.6. Double Validation of the ANN. Data Set of 1218.9 km

The 1218.9 km data set was randomly obtained in real driving conditions. The datalogger was kept connected in the vehicle for one month, where three drivers made use of the vehicle without any prior driving instruction to ensure that the data obtained were as realistic as possible. The driving cycles generated were random, without urban, rural or motorway route planning.

2.7. Processing and Presentation of Results

From the total travelled distance, 295 files are obtained, one for each driving cycle, which is defined as the travelled distance of the vehicle from the moment the engine is started until the engine speed is below 50 RPM and the vehicle speed is equal to 0 km/h [20]. Likewise, each cycle is subdivided into movement areas and stop areas, considering a driving micro-cycle as the travelled distance executed from one stop area to the beginning of the next one, according to what is shown in [29], where a total of 2785 files are generated under these conditions.
A matrix Mcn,m is stored per each driving micro-cycle, where n represents the number of cycle from which the microcycle m was obtained. This matrix contains all the operating and driving parameters shown in Table 1, the selected gear, and the CO2, CO, NOX and HC [g/s] instantaneous emission values calculated through the ANNs obtained and validated in Section 2.4 and Section 2.5.
The emission of each pollutant, travelled distance, average speed and time spent on the route travelled are estimated in each micro-cycle matrix per each selected gear.
The environmental conditions do not show great variations throughout the sampling period, since the city of Cuenca is located in the equatorial zone where the climate is practically constant, therefore its influence on the obtained results are discarded.

3. Results and Discussion

The data obtained in 1218.9 km of random travel distance through the urban, rural and motorway areas of the city of Cuenca, in a total of 47.06 h, are applied to the models generated, producing a data set of 2,505,459 × 18 data, whose results are shown in Table 4.
The results obtained allow evaluating vehicle performance in urban, rural and motorway driving. Stops are considered as periods wherein vehicle speed is less than 1 km/h as specified in [20]. Idle time of the vehicle comprises 14.26% of the total running time, so therefore, emissions generated during stops are: CO2 = 9039.2 g, CO = 99.91 g, NOX = 3.54 g and HC = 0.9398 g, at a generation rate of 374.04 mg/s, 4.13 mg/s, 0.146 mg/s and 0.039 mg/s respectively, as shown in Figure 8. The relative idling emissions regarding the total generated during the whole analyzed period correspond to 7.35% of CO2, 1.51% of CO, 1.85% of HC and 0.38% of NOX. These results do not consider special engine operations during a cold start, which require specific studies in future papers; in this case, the increase of emissions at low temperatures is due to the increase in engine speed and does not consider the enrichment of the mixture, as shown in Figure 9.
During vehicle real driving, the emissions generated depend on the parameters specified in Section 2.3, so therefore, these results are influenced by the different operating conditions of each trip [17] and consider congestion real conditions that [1,30] defined as very important for estimation in models based on average speed.
Figure 10 shows that the 1st, 2nd and 3rd gears are mainly used during the start-up and low average speeds, in short distances travelled mostly in urban areas and very rarely in rural and motorway areas. Emission factors of CO2, CO, NOX and HC perform proportionally to vehicle average speed during the period of time where these gears were used, indicating that the lower the speed at which the gear change is made, the lower the pollution generated by the vehicle; for example, the emission factor of CO2, CO, NOX and HC at an average speed of 12.96 km/h, may turn, when changing from first to second gear, from [554.17, 46.11, 3.21, 0.141] into [121.98, 7.43, 1.612, 0.076] respectively. From 23.14 km/h on (average speed in urban areas), CO2, CO and NOX emissions decrease when the average speed lowers while changing to a higher gear, while HC emissions increase when ascendant changes are made and average speed increases.
Several studies have highlighted the gap existing between emissions produced in real driving, both the ones determined in certification tests [3] and those estimated by different models [31]. The differences in the estimation that are shown when using IVE model are due to factors like vehicle characteristics, wherein parameters such as manufacturing standard, legislation, gas treatment and feed system technologies, trip characteristics, fuel and driving, plus weather conditions stand out [32]. For the estimation of emission factors applying the IVE model, the average speed values for each gear, which are shown in Table 4, are used.
The proposed model determines the emission factor by relating the total amount of pollutant generated and the travelled distance using Equations (9) and (10) according to the average driving speed per gear.
Figure 11 shows the results of the emission factors obtained from the IVE model, RDE test and from the model based on OBD data (OBDM). During urban driving, average driving speed in the RDE test is 23.14 km/h, which is a value extremely influenced by travelled distances made at relatively high speeds in urban areas, so therefore, emissions generated at low driving speeds become less representative, ensuring that emission factors estimated through IVE and OBDM at low driving speeds are higher than the ones determined by the RDE test. Based on this, CO2 and NOX emissions, which were determined by the three models, are highly similar. HC emissions determined by RDE and OBDM have highly similar values and behaviors, both lower than what was estimated by IVE. The behavior of CO estimated by RDE and OBDM grows when increasing driving speed, contrary to what is determined by IVE.
The average emission factors for each model, determined from the total emission of the pollutant and total travelled distance, are shown in Table 5, wherein great similarity is present in the RDE and OBDM results. The values estimated by IVE are higher than the other models analysed. The main difference is the CO2 emission factor, which, as already analysed, is strongly influenced by low driving speeds in urban areas.
The obtained results from RDE and OBDM are very similar because both are based on measurements in real driving conditions; the RDE model proposes that the data be taken in a proportion of travel that is close to 34%, 33% and 33% compared to 58.27%, 29.26% and 12.29% in urban, rural and motorways, respectively, that fed the OBDM model and is shown in Table 6. One result is that there is a greater amount of data in the urban area, which is where the CO2 emission is higher (Figure 11) and that there is less data on the route on the motorway where emissions are lower, causing the average emission value to rise with respect to that obtained by RDE. The idle time values are similar, so they do not contribute to the difference between models.

4. Conclusions

This article proposes a method for the estimation of pollutant emissions by applying machine learning to an important set of OBD data. A classifier was initially obtained for the evaluation of the gear selected by the driver based on obtaining labels by K-means with an effectiveness of 99.5% and the subsequent training of a classification tree. The biggest errors occur in the small instants that transition lasts between gears. The calculation of pollutant emissions was made with the most important predictors based on the training of the 4 ANNs from the data of measurement campaigns on two routes executed with measuring devices in the RDE test. The coefficients of determination R2 of the 4 ANNs: 0.985, 0.982, 0.999 and 0.982 for the estimation of CO2, CO, HC and NOX, respectively, which together with the analysis of the residues, allow to highlight the strength of statistical modelling.
Vehicle stops comprise 14.26% of the total driving time, so therefore, emissions generated in this operating condition correspond to 7.35% of CO2, 1.51% of CO, 1.85% of HC and 0.38% of NOX regarding total emissions generated during the entire travelled distance of the itinerary. These amounts may vary during in-cold operating, a problem that has not been addressed in this research and need the development of future work.
Average driving speeds in urban driving are low, producing a predominant use of the 1st, 2nd and 3rd gears with the consequent increase in pollutant emission factors. In this point, the proposed model has more strength towards different driving conditions and driving styles in urban area, as it is based on the results of random driving of 712.39 km, compared to the 21.63 km of the RDE test and the results of the IVE model.
When the average driving speed increases, the OBDM and RDE test results are highly similar due to the lower influence of traffic on vehicle performance and the lower amount of temporary driving events.
The obtained model is stronger in different driving conditions and shows better results at low average driving speeds than IVE and RDE models; therefore, it is recommended to be used for the calculation of emission and estimation factors of vehicular emission inventories.
In future developments, the model obtained can be adjusted to different parameters such as vehicle age, driving styles, gradient driving, weather condition and in-cold operating, given that under these operative conditions, the engine control system opts for special operating strategies that directly affect the performance of the emissions generated. The proposed methodology must be replicated in those vehicle models with the greatest presence and activity in the vehicle fleet of the city, with the purpose of being able to adjust the results of vehicular emission inventories.

Author Contributions

Conceptualization, N.D.R.-C., J.L.M.-S. and B.d.V.A.-R.; methodology, N.D.R.-C., J.L.M.-S. and B.d.V.A.-R.; software, N.D.R.-C.; validation, J.L.M.-S. and B.d.V.A.-R.; formal analysis, N.D.R.-C., J.L.M.-S. and B.d.V.A.-R.; investigation, N.D.R.-C., J.L.M.-S. and B.d.V.A.-R.; resources, N.D.R.-C., J.L.M.-S. and B.d.V.A.-R.; data curation, N.D.R.-C., J.L.M.-S. and B.d.V.A.-R.; writing—original draft preparation, N.D.R.-C.; writing—review and editing, N.D.R.-C., J.L.M.-S. and B.d.V.A.-R.; visualization, N.D.R.-C.; supervision, J.L.M.-S. and B.d.V.A.-R.; project administration, J.L.M.-S.; funding acquisition, J.L.M.-S. All authors have read and agreed to the published version of the manuscript.

Funding

Machine-Engineering Division, Mechanic Engineering Department, Universidad Politécnica de Madrid.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Smit, R.; Kingston, P.; Wainwright, D.H.; Tooker, R. A tunnel study to validate motor vehicle emission prediction software in Australia. Atmos. Environ. 2017, 151, 188–199. [Google Scholar] [CrossRef] [Green Version]
  2. United Nations. The World’s Cities in 2016; United Nations: New York, NY, USA, 2013; Volume 8, pp. 8557–8571.
  3. Fontaras, G.; Zacharof, N.G.; Ciuffo, B. Fuel consumption and CO2 emissions from passenger cars in Europe—Laboratory versus real-world emissions. Prog. Energy Combust. Sci. 2017, 60, 97–131. [Google Scholar] [CrossRef]
  4. Ortenzi, F.; Costagliola, M.A. A new method to calculate instantaneous vehicle emissions using OBD data. SAE Tech. Pap. 2010. [Google Scholar] [CrossRef]
  5. Castermans, J.; Brusselmans, A.; Jean-Pandazis, C. Cooperative Mobility Systems and Services for Energy Efficiency; European Union DG INFSO: Auderghem, Belgium, 2010.
  6. Tsiakmakis, S.; Fontaras, G.; Dornoff, J.; Valverde, V.; Komnos, D.; Ciuffo, B.; Mock, P.; Samaras, Z. From lab-to-road & vice-versa: Using a simulation-based approach for predicting real-world CO2 emissions. Energy 2019, 169, 1153–1165. [Google Scholar] [CrossRef]
  7. Lois, D.; Wang, Y.; Boggio-Marzet, A.; Monzon, A. Multivariate analysis of fuel consumption related to eco-driving: Interaction of driving patterns and external factors. Transp. Res. Part D Transp. Environ. 2019, 72, 232–242. [Google Scholar] [CrossRef]
  8. Samaras, C.; Tsokolis, D.; Toffolo, S.; Magra, G.; Ntziachristos, L.; Samaras, Z. Enhancing average speed emission models to account for congestion impacts in traffic network link-based simulations. Transp. Res. Part D Transp. Environ. 2019, 75, 197–210. [Google Scholar] [CrossRef]
  9. Prakash, S.; Bodisco, T.A. An investigation into the effect of road gradient and driving style on NOX emissions from a diesel vehicle driven on urban roads. Transp. Res. Part D Transp. Environ. 2019, 72, 220–231. [Google Scholar] [CrossRef]
  10. Costagliola, M.A.; Costabile, M.; Prati, M.V. Impact of road grade on real driving emissions from two Euro 5 diesel vehicles. Appl. Energy 2018, 231, 586–593. [Google Scholar] [CrossRef]
  11. Larue, G.S.; Malik, H.; Rakotonirainy, A.; Demmel, S. Fuel consumption and gas emissions of an automatic transmission vehicle following simple eco-driving instructions on urban roads. IET Intell. Transp. Syst. 2014, 8, 590–597. [Google Scholar] [CrossRef] [Green Version]
  12. Eckert, J.J.; Santiciolli, F.M.; Yamashita, R.Y.; Corrêa, F.C.; Silva, L.C.A.; Dedini, F.G. Fuzzy gear shifting control optimisation to improve vehicle performance, fuel consumption and engine emissions. IET Control. Theory Appl. 2019, 13, 2658–2669. [Google Scholar] [CrossRef]
  13. Beckx, C.; De Vlieger, I. The influence of gear change on vehicle exhaust emissions. Calculations with the VETSS emission tool. In Proceedings of the International Conference on Urban Air Quality, Limassol, Cyprus, 27–29 March 2007. [Google Scholar]
  14. Mera, Z.; Fonseca, N.; López, J.M.; Casanova, J. Analysis of the high instantaneous NOx emissions from Euro 6 diesel passenger cars under real driving conditions. Appl. Energy 2019, 242, 1074–1089. [Google Scholar] [CrossRef]
  15. Brundell-Freij, K.; Ericsson, E. Influence of street characteristics, driver category and car performance on urban driving patterns. Transp. Res. Part D Transp. Environ. 2005, 10, 213–229. [Google Scholar] [CrossRef]
  16. Ericsson, E. Driving Pattern in Urban. Areas-Descriptive Analysis and Initial Prediction Model; Lunds University, Lunds Tekniska Högskola Institutionen för Teknik och samhälle Avdelning Trafikteknik: Lund, Sweden, 2000; Volumen Bulletin 185. [Google Scholar]
  17. Boulter, P.G.; Barlow, T.J.; Mccrae, I.S.; Latham, S.; Parkin, C. Emission Factors 2009: Report 1—A Review of Methods for Determining Hot Exhaust Emission Factors for Road Vehicles; TRL: Crowthorne, UK, 2009; Volume 116, p. R353. [Google Scholar]
  18. Zöldy, M.; Zsombók, I. Modelling fuel consumption and refuelling of autonomous vehicles. MATEC Web Conf. 2018, 235, 6. [Google Scholar] [CrossRef]
  19. Kurtyka, K.; Pielecha, J. The evaluation of exhaust emission in RDE tests including dynamic driving conditions. Transp. Res. Procedia 2019, 40, 338–345. [Google Scholar] [CrossRef]
  20. European Commission and Council of the European Union Commission Regulation (EU). 2016/427 of 10 March 2016 amending Regulation (EC) No 692/2008 as regards emissions from light passenger and commercial vehicles (Euro 6) (Text with EEA relevance). Off. J. Eur. Union 2016, 82, 1–98. [Google Scholar]
  21. Ue, R.; Comisión, D.E.L.A. REGLAMENTO (UE) 2016/427. Por el que se modifica el Reglamento (CE) n.o 692/2008 en lo que concierne a las emisiones procedentes de turismos y vehículos comerciales ligeros (Euro 6). Diario Oficial de la Unión Europea 2016, L 82, 1–98. [Google Scholar]
  22. Parra, R. Inventario de Emisiones Atmosféricas del Canton Cuenca 2014. Inventario de emisiones atmosféricas del Cantón Cuenca 2016, 76. [Google Scholar] [CrossRef]
  23. Fujita, E.M.; Campbell, D.E.; Zielinska, B.; Chow, J.C.; Lindhjem, C.E.; DenBleyker, A.; Bishop, G.A.; Schuchmann, B.G.; Stedman, D.H.; Lawson, D.R. Comparison of the MOVES2010a, MOBILE6.2, and EMFAC2007 mobile source emission models with on-road traffic tunnel and remote sensing measurements. J. Air Waste Manag. Assoc. 2012, 62, 1134–1149. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  24. Asociación de de Empresas Automotrices del Ecuador. In Automotive in Figures; AEADE: Quito, Ecuador, 2018.
  25. Schafer, R.W. What Is a Savitzky-Golay Filter? [Lecture Notes]. IEEE Signal Process. Mag. 2011, 28, 111–117. [Google Scholar] [CrossRef]
  26. Strobl, C.; Boulesteix, A.L.; Zeileis, A.; Hothorn, T. Bias in random forest variable importance measures: Illustrations, sources and a solution. BMC Bioinform. 2007, 8. [Google Scholar] [CrossRef] [Green Version]
  27. Jain, A.K. Data clustering: 50 years beyond K-means. Pattern Recognit. Lett. 2010, 31, 651–666. [Google Scholar] [CrossRef]
  28. Yasami, Y.; Mozaffari, S.P. A novel unsupervised classification approach for network anomaly detection by k-Means clustering and ID3 decision tree learning methods. J. Supercomput. 2010, 53, 231–245. [Google Scholar] [CrossRef]
  29. Román de Andres, A.R. Metodológia Para La Asignación De Vehículos De Una Flota a Rutas Preestablecidas. Tesis Doctorall, ETSII, Univesidad Politécnica de Madrid, 2014. Available online: http://oa.upm.es/view/institution/Industriales (accessed on 12 January 2019).
  30. Van Mierlo, J.; Maggetto, G.; Van De Burgwal, E.; Gense, R. Driving style and traffic measures-Influence on vehicle emissions and fuel consumption. Proc. Inst. Mech. Eng. Part. D J. Automob. Eng. 2004, 218, 43–50. [Google Scholar] [CrossRef]
  31. Fernandes, P.; Macedo, E.; Bahmankhah, B.; Tomas, R.F.; Bandeira, J.M.; Coelho, M.C. Are internally observable vehicle data good predictors of vehicle emissions? Transp. Res. Part D Transp. Environ. 2019, 77, 252–270. [Google Scholar] [CrossRef]
  32. Guo, H.; Zhang, Q.-Y.; Shi, Y.; Wang, D.-H. Evaluation of the International Vehicle Emission (IVE) model with on-road remote sensing measurements. J. Environ. Sci. 2007, 19, 818–826. [Google Scholar] [CrossRef]
Figure 1. Methodology and procedure proposed for the estimation of gas emissions from the OBD data.
Figure 1. Methodology and procedure proposed for the estimation of gas emissions from the OBD data.
Sensors 21 06344 g001
Figure 2. Signal processing from PEMS and data logger.
Figure 2. Signal processing from PEMS and data logger.
Sensors 21 06344 g002
Figure 3. Route, altitude and speed during the RDE test.
Figure 3. Route, altitude and speed during the RDE test.
Sensors 21 06344 g003
Figure 4. Labels obtained through K-means algorithm. CT-generated results.
Figure 4. Labels obtained through K-means algorithm. CT-generated results.
Sensors 21 06344 g004
Figure 5. Tailpipe CO2, CO, HC and NOX emissions.
Figure 5. Tailpipe CO2, CO, HC and NOX emissions.
Sensors 21 06344 g005
Figure 6. Cumulative emissions during RDE test.
Figure 6. Cumulative emissions during RDE test.
Sensors 21 06344 g006
Figure 7. Importance of predictors in instantaneous pollutant emissions.
Figure 7. Importance of predictors in instantaneous pollutant emissions.
Sensors 21 06344 g007
Figure 8. Validation of the ANN with the data from the RDE test Route 2.
Figure 8. Validation of the ANN with the data from the RDE test Route 2.
Sensors 21 06344 g008
Figure 9. Pollutant emissions generated in idle time.
Figure 9. Pollutant emissions generated in idle time.
Sensors 21 06344 g009
Figure 10. Emission factors according to average speed and gear used.
Figure 10. Emission factors according to average speed and gear used.
Sensors 21 06344 g010
Figure 11. Emission factors according to average driving speed for the IVE model, RDE test and OBDM.
Figure 11. Emission factors according to average driving speed for the IVE model, RDE test and OBDM.
Sensors 21 06344 g011
Table 1. Operating and driving parameters.
Table 1. Operating and driving parameters.
Parameter SymbolMinMaxUnit
Throttle Position TPS0100[%]
Mass Air FlowMAF0655.35[g/s]
Manifold Absolute PressureMAP0255[kPa]
Intake Air TemperatureIAT−40215[°C]
Engine Coolant TemperatureECT−40215[°C]
Vehicle Speed VSS0255[km/h]
Engine SpeedRPM016,383.75[RPM]
Accelerationax--[m/s2]
Fuel flowff0120[l/h]
LatitudeLat--[°]
LongitudeLong--[°]
AltitudeAlt--[m]
Table 2. Trip characteristics for the RDE test.
Table 2. Trip characteristics for the RDE test.
RDE Trip CharacteristicsRoute 1Route 2RDE Trip
Requirements
Unit
Sample number 85,69773,422--
Total distance 62.4955.41-[km]
Total duration 96.9981.8890–120 [min]
Urban distance 21.6317.87>16 [km]
Rural distance 21.2418.77>16 [km]
Motorway distance 19.6118.76>16 [km]
Urban distance share 34.6132.2529–44[%]
Rural distance share 34.0133.8723–43[%]
Motorway distance share 31.3833.8823–43[%]
Urban average speed22.4923.14-[km/h]
Rural average speed50.1450.91-[km/h]
Motorway average speed85.1970.91-[km/h]
Urban idle time11.6114.4510–30[%]
Altitude difference between departure and arrival−4.454<100[m]
Table 3. RDE test results.
Table 3. RDE test results.
F Urban [g/km]Rural [g/km]Motorway [g/km]Average [g/km]
CO283.7879.2045.5770.23
CO2.856.656.635.33
NOX0.66940.80630.68200.7199
HC0.03140.04260.07360.0485
Table 4. Real driving conditions results.
Table 4. Real driving conditions results.
GearDistance
[km]
Rate
Distance
[%]
Time
[min]
Rate Time
[%]
Average Speed
[km/h]
N2.090.17402.7714.260.31
153.614.40348.3712.349.23
2191.9315.75586.2520.7619.64
3464.7638.13855.2130.2932.61
4284.7123.36364.7712.9246.83
5119.889.84118.414.1960.74
6101.928.3680.52.8575.97
Table 5. Average Emission Factors.
Table 5. Average Emission Factors.
F IVE [g/km]RDE [g/km]OBDM [g/km]
CO2208.9770.23111.47
CO11.835.336.04
NOX0.6610.71990.777
HC0.14770.04850.043
Table 6. RDE-OBDM comparison.
Table 6. RDE-OBDM comparison.
CharacteristicsRDEOBDM
IdleUrbanRuralMotorwayIdleUrbanRuralMotorway
Distance [km]021.6321.2419.612.09712.39356.63149.87
Rate Distance [%]034.6134.0131.380.1758.2729.2612.29
Time [min]11.2657.725.4113.81402.772192.6435.81127.86
Rate time [%]11.6150.4122.2111.1514.2679.5515.814.64
Average Speed [km/h]022.4950.1485.190.3119.4349.0970.32
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Rivera-Campoverde, N.D.; Muñoz-Sanz, J.L.; Arenas-Ramirez, B.d.V. Estimation of Pollutant Emissions in Real Driving Conditions Based on Data from OBD and Machine Learning. Sensors 2021, 21, 6344. https://doi.org/10.3390/s21196344

AMA Style

Rivera-Campoverde ND, Muñoz-Sanz JL, Arenas-Ramirez BdV. Estimation of Pollutant Emissions in Real Driving Conditions Based on Data from OBD and Machine Learning. Sensors. 2021; 21(19):6344. https://doi.org/10.3390/s21196344

Chicago/Turabian Style

Rivera-Campoverde, Néstor Diego, José Luis Muñoz-Sanz, and Blanca del Valle Arenas-Ramirez. 2021. "Estimation of Pollutant Emissions in Real Driving Conditions Based on Data from OBD and Machine Learning" Sensors 21, no. 19: 6344. https://doi.org/10.3390/s21196344

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop