Neural network training for vehicle fuel level control

Authors

  • Vladimir Gerasimov
  • Nadija Karpenko
  • Denys Druzhynin

DOI:

https://doi.org/10.34185/1562-9945-4-135-2021-02

Keywords:

Deeplearning4j, DataVec, csv, DenseLayer, SOFTMAX, TANH

Abstract

The goal of the paper is to create a training model based on real raw noisy data and train a neural network to determine the behavior of the fuel level, namely, to determine the time and volume of vehicle refueling, fuel consumption / excessive consumption / drainage.
Various algorithms and data processing methods are used in fuel control and metering systems to get rid of noise. In some systems, primary filtering is used by excluding readings that are out of range, sharp jumps and deviations, and averaging over a sliding window. Research is being carried out on the use of more complex filters than simple averaging – by example, the Kalman filter for data processing.
When measuring the fuel level using various fuel level sensor the data is influenced by many external factors that can interfere with the measurement and distort the real fuel level. Since these interferences are random and have a different structure, it is very difficult to completely remove them using classical noise suppression algorithms. Therefore, we use artificial intelligence, namely a neural network, to find patterns, detect noise and correct distorted data. To correct distorted data, you first need to determine which data is distorted, classify the data.
In the course of the work, the raw data on the fuel level were transformed for use in the neural network training model. To describe the behavior of the fuel level, we use 4 possible classes: fuel consumption is observed, the vehicle is refueled, the fuel level does not change (the vehicle is idle), the data is distorted by noise. Also, in the process of work, additional tools of the DeepLearning4 library were used to load data training and training a neural network. A multilayer neural network model is used, namely a three-layer neural network, as well as used various training parameters provided by the DeepLearning4j library, which were obtained because of experiments.
After training the neural network was used on test data, because of which the Confusion Matrix and Evaluation Metrics were obtained.
In conclusion, finding a good model takes a lot of ideas and a lot of experimentation, also need to correctly process and transform the raw data to get the correct data for training. So far, a neural network has been trained to determine the state of the fuel level at a point in time and classify the behavior into four main labels (classes). Although we have not reduced the error in determining the behavior of the fuel level to zero, we have saved the states of the neural network, and in the future we will be able to retrain and evolve our neural network to obtain better results.

References

Fuel control - GPS systems for vehicle monitoring and fuel control [Electronic re-source]. Access mode: https://gps-monitoring.com.ua/kontrol-topliva/

Alekseev N. Yu., Kudryavtsev A. A., Asmolov G. I., Lobov O. P. Implementation of the Kalman filter for data processing from the fuel level sensor with the use of additional information from the navigation communication terminal // International Journal of Advanced Studies, Vol. 8, No 3, 2018, P. 9-23.

FUEL LEVEL CONTROL GLONASS AutoGRAPH [Electronic resource]. Access mode: http://snavi.ru/toplivo.html

Deeplearning4j [Electronic resource]. Access mode: https://deeplearning4j.org

GitHub - deeplearning4j/DataVec: ETL Library for Machine Learning - data pipelines, data munging and wrangling [Electronic resource]. Access mode: https://github.com/deeplearning4j/DataVec

Patterson J., Gibson A. Deep Learning: A Practitioner's Approach 1st Edition. O'Reilly Media, 2017, 532 p.

Asiri S. Machine Learning Classifiers [Electronic resource]. Access mode: https://towardsdatascience.com/machine-learning-classifiers-a5cc4e1b0623

Joshi P. Understanding Xavier Initialization In Deep Neural Networks [Electronic re-source]. Access mode: https://prateekvjoshi.com/2016/03/29/understanding-xavier-initialization-in-deep-neural-networks/

Sharma S. Activation Functions in Neural Networks [Electronic resource]. Access mode: https://towardsdatascience.com/activation-functions-neural-networks-1cbd9f8d91d6

Brownlee J. Gentle Introduction to the Adam Optimization Algorithm for Deep Learning [Electronic resource]. Access mode:

https://machinelearningmastery.com/adam-optimization-algorithm-for-deep-learning/

Multilayer Network [Electronic resource]. Access mode:

https://deeplearning4j.konduit.ai/models/multilayernetwork

Brownlee J. What is a Confusion Matrix in Machine Learning [Electronic resource]. Access mode: https://machinelearningmastery.com/confusion-matrix-machine-learning/

Chicco D., Jurman G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics 21, 6 (2020). https://doi.org/10.1186/s12864-019-6413-7

Published

2021-04-05