Automation of Engine ECU Calibration through CAN with Python Machine Learning Algorithms

##plugins.themes.academic_pro.article.main##

H S Prasanna Gupta Thallam
Senthil Kanagaraj S

Abstract

Engine ECU subsume the numerous control functions of electrical systems in the vehicle based on various sensors inputs and the control parameters present inside ECU such as maps, multiplication factors, constants and so on. These control parameters need to be calibrated effectively for better performance as well as to meet stringent emission norms. Since, the most efficient way of calibration is through CAN by means of XCP/CCP protocol, this process involves logging and processing of the ECU data to estimate the appropriate values followed by downloading the modified values to the ECU manually. Even though from theoretical calculations it is possible to estimate the approximate parameter values, these values need to be validated in engine test beds or on road and are fine tuned to attain the optimum results by repeating the same trial under same test conditions numerous times. After each trial, the data is analyzed and new set of data is determined which is downloaded to ECU before the next trial. This process is carried out until optimum results are achieved which is time consuming. In this paper, a new approach has been explained which will eliminate the human interference during the trials and speeds up the process of establishing the master slave communication between PC and ECU through any CAN transceiver hardware with the help of python, and its machine learning algorithms to carry out the analysis tasks between successive trials which develops regression models for predicting the parameter values based on the previous trials with in a shorter period of time increasing the human potential of calibration.


Keywords: ECU calibration, Automation, Machine Learning

##plugins.themes.academic_pro.article.details##

How to Cite
H S Prasanna Gupta Thallam, & Senthil Kanagaraj S. (2022). Automation of Engine ECU Calibration through CAN with Python Machine Learning Algorithms. ARAI Journal of Mobility Technology, 2(4), 327–331. https://doi.org/10.37285/ajmt.2.4.1

References

  1. Wes McKinney, Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter, https://wesmckinney.com/book/preface.html
  2. Christopher M.Bishop, Hands-On Machine Learning with Scikit-Learn, Keras, and Tensorflow: Concepts, Tools, and Techniques to Build Intelligent Systems, https://www.oreilly.com/
  3. Association for Standardisation of Automation and Measuring Systems, Mesurement and Calibration Data Specification, Version 1.6 (2009), https://www.asam.net/standards/detail/mcd-2-mc/
  4. Association for Standardization of Automation and Measuring Systems, The Universal Measurement and Calibration Protocol Family (Part 2) - Protocol Layer Specification, https://www.asam.net/standards/detail/mcd-1-xcp/
  5. Truck Bus Control and Communications Network Committee, Vehicle Application Layer (2022), J1939/71_202208, https://doi.org/10.4271/J1939/71_202208
  6. Python-can, Release 3.3.3 (2020), https://pythoncan. readthedocs.io/_/downloads/en/3.3.3/pdf/
  7. Automotive Industry Standard - AIS-018 - Automotive Vehicles - Speed Limitation Devices - Specifications, https://hmr.araiindia.com/Control/AIS/7302018102243AMAIS_018.pdf