PC-Based Simulation Environment for the Engine Control Optimiser Hardware-in-the-Loop Testing

Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1196)


This paper describes a motion simulator for testing a device that optimises fuel consumption along vehicle journey in real-time. The specific case of an original vehicle engine control system is considered. The PC application based on the Qt framework is written in Python. It allows to quickly run Hardware-in-the-Loop tests of optimiser instead of running them on the real test track. By using the CAN interface, tests with connection to simulator are interchangeable with those made using full-scale vehicle. This significantly shortens the entire process of developing an automatic vehicle engine control system. The open and modular architecture of the source code allows any modification and development of the application depending on the user-specific demands.


Car simulator Fuel consumption optimisation Hardware-in-the-Loop Optimiser-simulator architecture Python PyQt SciPy 


  1. 1. Accessed 14 Jan 2010
  2. 2.
    Dosovitskiy, A., Ros G., Codevilla F., Lopez A., Koltun V., CARLA: an Open Urban Driving Simulator. In: 1st Conference on Robot Learning (2017). arXiv: 1711.03938
  3. 3.
    Dormand, J.R., Prince, P.J.: A family of embedded Runge-Kutta formulae. J. Comput. Appl. Math. 6, 19–26 (1980). Scholar
  4. 4.
    Johansson, R.: Numerical Python, Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib. Apress, Berkeley, CA (2019).
  5. 5.
    Raikwar, S., Jijyabhau Wani, L., Arun Kumar, S., Sreenivasulu Rao, M.: Hardware-in-the-Loop test automation of embedded systems for agricultural tractors. Measurement 133, 271–280 (2019). Scholar
  6. 6.
    Rosique, F., Navarro, P.J., Fernández, C., Padilla, A.: A systematic review of perception system and simulators for autonomous vehicles research. Sensors 19, 648 (2019). Scholar
  7. 7.
    Sawulski, J., Ławryńczuk, M.: Optimization of control strategy for a low fuel consumption vehicle engine. Inf. Sci. 493, 192–216 (2019). Scholar
  8. 8.
    Sawulski, J., Ławryńczuk, M.: Real-time optimisation of control strategy for a low fuel consumption vehicle engine using STM32 microcontroller: preliminary results. In: 2019 18th European Control Conference (ECC). IEEE (2019).
  9. 9.
    Scholl, M.V., Rocha, C.R.: Embedded SCADA for small applications. IFAC-PapersOnLine 49, 246–253 (2016). CrossRefGoogle Scholar
  10. 10.
    Shell Eco-marathon. Accessed 14 Jan 2010
  11. 11.
    Smith, B.: Beginning JSON. Apress, Berkeley, CA (2015).
  12. 12.
    Tatjewski, P.: Advanced Control of Industrial Processes, Structures and Algorithms. Springer-Verlag London (2007).

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Institute of Control and Computation EngineeringWarsaw University of TechnologyWarsawPoland

Personalised recommendations