• Emir Dzikran Badardin Automotive Development Centre, Institute of Vehicle System Engineering (IVeSE), Faculty of Mechanical Engineering, Universiti Teknologi Malaysia, 81310 UTM Johor Bahru, Johor
  • Saiful Anuar Abu Bakar Program Kej. Aeronautik, Automotif & Samudera Sekolah Kejuruteraan Mekanikal, Fakulti Kejuruteraan Universiti Teknologi Malaysia



Hardware-In-Loop (HIL); Electric Vehicle (EV); voltage sensor; current sensor; battery discharging


Electric vehicles (EVs) are gaining attention as a promising solution to reduce greenhouse gas emissions. This paper proposes system architecture of a Hardware-In-Loop (HIL) system to explore simulating the electric vehicle (EV) driving cycles using HIL testing approach. The HIL system uses an Arduino DUE as the controller, connecting MATLAB Simulink to an RC Car acting as the EV. It employs an L298N motor driver, B25, and ACS712 sensors to measure voltage and current behavior from an 11.1V 4200mAh Lithium-Ion battery. Simulink's GUI allows users to select desired driving cycles for simulation. Results show that the voltage decreases with speed, while the current increases as expected across various driving cycles (NEDC, WHVC, WLTP Class 1, UDDS, and SC03). This success confirms the HIL system's architecture capability to simulate and monitor battery discharging trends in terms of their voltage and current.


Chmielewski, A., et al., Modelling of the Properties of Automotive Batteries of an Electrical Vehicle Operating in NEDC Cycle. Zeszyty Naukowe Instytutu Pojazdów, 2013(4): p. 95.

Bao, K., S. Li, and H. Zheng. Battery charge and discharge control for energy management in EV and utility integration. in 2012 IEEE Power and Energy Society General Meeting. 2012.

Chmielewski A., S.P., Modeling and simulation of repeated charging/discharging cycles for selected nickel-cadmium batteries. Journal of KONES, 2015. 22: p. 55-62.

Almatrafi, L., S. Badaam, and S.M. Qaisar. Electric Vehicle Performance Evaluation Using UDDS, NYCC and WLTP Drive Cycles. in 2023 20th Learning and Technology Conference (L&T). 2023.

Ramaswamy, D., et al., A case study in hardware-in-the-loop testing: Development of an ECU for a hybrid electric vehicle. 2004, SAE Technical Paper.

Bacic, M. On hardware-in-the-loop simulation. in Proceedings of the 44th IEEE Conference on Decision and Control. 2005.




How to Cite

Emir Dzikran Badardin, & Abu Bakar, S. A. (2023). SIMULATING ELECTRIC VEHICLE DRIVING CYCLES WITH A HARDWARE-IN-LOOP (HIL) SYSTEM. Journal of Transport System Engineering, 10(2), 73–77.



Transport System Engineering

Similar Articles

1 2 3 > >> 

You may also start an advanced similarity search for this article.