Article
Development and Validation of an Arduino‑Based Control Algorithm for an Electronic Differential in Quad In‑Wheel Hub Motor Electric Vehicles


This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright
The authors shall retain the copyright of their work but allow the Publisher to publish, copy, distribute, and convey the work.
License
New Energy Exploitation and Application (NEEA) publishes accepted manuscripts under Creative Commons Attribution 4.0 International (CC BY 4.0). Authors who submit their papers for publication by New Energy Exploitation and Application (NEEA) agree to have the CC BY 4.0 license applied to their work, and that anyone is allowed to reuse the article or part of it free of charge for any purpose, including commercial use. As long as the author and original source is properly cited, anyone may copy, redistribute, reuse and transform the content.
Received: 27 August 2025; Revised: 20 October 2025; Accepted: 29 October 2025; Published: 13 November 2025
This paper presents the development and validation of a control algorithm for an Arduino-based EDS EV. The main goal of this system is to improve the speed and torque distribution between the wheels while maneuvering, focusing especially on cornering. The suggested algorithm regulates the throttle signal supplied to each wheel based on the steering angle, using a mathematical model derived from the Ackermann-Jeantand geometry. Initial simulations were run in MATLAB/Simulink to validate the theoretical approach before its real-world implementation. Arduino Uno board was used to adjust the throttle pedal voltage signal for each wheel at low, medium, and high acceleration performance. The response of the voltage supplied to the inner and outer wheels while changing the steering angle had been analyzed. The voltage on the inner wheels decreased when increasing steering angle, while it increased on the outer wheels. Compared to the simulation results, the experimental results indicate minor differences, which can be referred to the effect of noise and the limited accuracy of the hardware used. The results indicate that the Arduino-based EDS system can achieve precise torque distribution of EVs. This study forms a basis for the implementation of the system on a full-scale prototype for performance evaluation under actual driving conditions.
Keywords:
Electric Vehicle Electronic Differential System In‑wheel Motor Independent Drive AckermannReferences
- Draou, A. Electronic Differential Speed Control for Two In-Wheels Motors Drive Vehicle. In Proceedings of the 4th International Conference on Power Engineering, Energy and Electrical Drives (PowerEng), Istanbul, Turkey, 13–17 May 2013; pp. 764–769. DOI: https://doi.org/10.1109/PowerEng.2013.6635706
- Moumni, R.; Laroussi, K.; Benlaloui, I.; et al. Optimizing Single-Inverter Electric Differential System for Electric Vehicle Propulsion Applications. Int. J. Robot. Control Syst. 2024, 4, 1772–1793. DOI: https://doi.org/10.31763/ijrcs.v4i4.1542
- Nikhade, H.V.; Rohokale, O.R.; Kalyankar, A.R.; et al. Electronic Differential Using the Concept of Torque Vectoring. In Proceedings of the International Conference on Computing Communication Control and Automation, Pune, India, 2022; pp. 1–4. DOI: https://doi.org/10.1109/ICCUBEA54992.2022.10010760
- Fan, X.; Li, H. Review on Electronic Differential System for Electric Vehicles. Int. J. Heavy Veh. Syst. 2024, 31, 307–335. DOI: https://doi.org/10.1504/ijhvs.2024.138394
- Castro-Heredia, O.; Linares-Flores, J.; Ramírez-Cárdenas, O.-D.; et al. Electronic Differential Speed Control for a Four In-Wheel Motors EV Based on a Multi-Agent System. In Proceedings of the 2023 International Symposium on Electromobility (ISEM), Monterrey, Mexico, 7–9 November 2023; pp. 1–7. DOI: https://doi.org/10.1109/isem59023.2023.10334710
- Yildirim, M.; Oksuztepe, E.; Tanyeri, B.; et al. Design of Electronic Differential System for an Electric Vehicle with In-Wheel Motor. In Proceedings of the 2016 IEEE Power and Energy Conference at Illinois (PECI), Champaign, IL, USA, 19–20 February 2016; pp. 1–5. DOI: https://doi.org/10.1109/PECI.2016.7459238
- Jinsheng X.; Zhen W.; Mingtao C.; et al. Electronic Differential for Electric Vehicle. Chinese Patent CN 202368399U, 31 December 2011.
- Zhang, C.; Yuan, Y.; Wang, N.; et al. Study on Electronic Differential Control System Used for In-Wheel Motor Driven EV. In Proceedings of the 2016 International Forum on Energy, Environment and Sustainable Development, May 2016; pp. 809–815. DOI: https://doi.org/10.2991/ifeesd-16.2016.148
- Lee, J.S.; Ryoo, Y.J.; Lim, Y.C.; et al. A Neural Network Model of Electric Differential System for Electric Vehicle. IEEE Xplore 2000, 1, 83–88. DOI: https://doi.org/10.1109/IECON.2000.973130
- Zhang, J.; Li, C.; Jia, Q.; et al. Research on the Adaptive PID Speed Control Method for Hub Motors. Mob. Inf. Syst. 2022, 1, 4979824. DOI: https://doi.org/10.1155/2022/4979824
- Biček, M.; Gotovac, G.; Miljavec, D.; et al. Mechanical Failure Mode Causes of In-Wheel Motors. Stroj. Vestn. J. Mech. Eng. 2015, 61, 74–85. DOI: https://doi.org/10.5545/sv-jme.2014.2022
- Cai, S.; Kirtley, J.L.; Lee, C.H.T. Critical Review of Direct-Drive Electrical Machine Systems for Electric and Hybrid Electric Vehicles. IEEE Trans. Energy Convers. 2022, 37, 2657–2668. DOI: https://doi.org/10.1109/TEC.2022.3197351
- Aloeyi, E.F.; Ali, N.; Wang, Q. A Review of In-Wheel Motors for Electric Vehicle Propulsion. In Proceedings of the 2022 IEEE Transportation Electrification Conference and Expo, Asia-Pacific (ITEC Asia-Pacific), Haining, China, 31 October–3 November 2022; pp. 1–6. DOI: https://doi.org/10.1109/ITECAsia-Pacific56316.2022.9941742
- Gong, J.; Zhao, B.; Huang, Y.; et al. Quantitative Comparisons of Outer-Rotor Permanent Magnet Machines of Different Structures/Phases for In-Wheel Electrical Vehicle Application. Energies 2022, 15, 6688. DOI: https://doi.org/10.3390/en15186688
- Wang, X.; Zhang, Z.; Gao, P.; et al. Design and Simulation Analysis of a Novel Outer Rotor IPM Motor Used in Electric Vehicles. In Proceedings of the 13th World Congress on Intelligent Control and Automation (WCICA), Changsha, China, 4–8 July 2018; pp. 1413–1418. DOI: https://doi.org/10.1109/WCICA.2018.8630708
- Walker, P.D.; Roser, H.; Zhang, N.; et al. Comparison of Powertrain System Configurations for Electric Passenger Vehicles. SAE Int. J. Passeng. Cars–Electron. Electr. Syst. 2015, 8, 1–9. DOI: https://doi.org/10.4271/2015-01-0052
- Bianchi, E.L.; Polinder, H.; Bandyopadhyay, S. Energy Consumption of Electric Powertrain Architectures: A Comparative Study. In Proceedings of the European Conference on Power Electronics and Applications (EPE’17 ECCE Europe), Warsaw, Poland, 11–14 September 2017. DOI: https://doi.org/10.23919/EPE17ECCEEUROPE.2017.8098979
- Reiter, C.; Wassiliadis, N.; Wildfeuer, L.; et al. Range Extension of Electric Vehicles through Improved Battery Capacity Utilization: Potentials, Risks and Strategies. In Proceedings of the International Conference on Intelligent Transportation Systems (ITSC), Maui, HI, USA, 4–7 November 2018; pp. 321–326. DOI: https://doi.org/10.1109/ITSC.2018.8569455
- Deepak, K.; Frikha, M.A.; Benômar, Y.; et al. In-Wheel Motor Drive Systems for Electric Vehicles: State of the Art, Challenges, and Future Trends. Energies 2023, 16, 3121. DOI: https://doi.org/10.3390/en16073121
- Watts, A.; Vallance, A.; Whitehead, A.; et al. The Technology and Economics of In-Wheel Motors. SAE Int. J. Passeng. Cars–Electron. Electr. Syst. 2010, 3, 37–55. DOI: https://doi.org/10.4271/2010-01-2307
- Sun, W.; Li, Y.; Huang, J.; et al. Vibration Effect and Control of In-Wheel Switched Reluctance Motor for Electric Vehicle. J. Sound Vib. 2015, 338, 105–120
- Feng, Z.; Jiang, F.; Cao, M.; et al. Multi-Objective Optimization and Performance Comparison of Different Driving Configurations of In-Wheel Motors. IEEE Access 2023, 11, 53144–53154. DOI: https://doi.org/10.1109/ACCESS.2023.3278258
- Yang, T.; Chau, K.T.; Li, W.; et al. Comparative Analysis and Design of Double-Rotor Stator-Permanent-Magnet Motors with Magnetic-Differential Application for Electric Vehicles. World Electr. Veh. J. 2022, 13, 199. DOI: https://doi.org/10.3390/wevj13110199
- Kellner, J.; Praženica, M. Two Five-Phase Induction Motors Used as an Electronic Differential. Transp. Res. Procedia 2021, 55, 896–903. DOI: https://doi.org/10.1016/J.TRPRO.2021.07.058
- Kinoti, E.; Mosetlhe, T.; Yusuff, A.A. Multi-Criteria Analysis of Electric Vehicle Motor Technologies: A Review. World Electr. Veh. J. 2024, 15, 541. DOI: https://doi.org/10.3390/wevj15120541
- Tan, D.; Ge, G.; Shi, L.; et al. Research Status of Electronic Differential Control of Electric Vehicle Driven by In-Wheel Motor. Int. J. Veh. Saf. 2020, 11, 289–304. DOI: https://doi.org/10.1504/IJVS.2020.10033767
- Kahveci, H.; Okumus, H.I.; Ekici, M. An Electronic Differential System Using Fuzzy Logic Speed Controlled In-Wheel Brushless DC Motors. In Proceedings of the 4th International Conference on Power Engineering, Energy and Electrical Drives (PowerEng), Istanbul, Turkey, 13–17 May 2013; pp. 881–885. DOI: https://doi.org/10.1109/PowerEng.2013.6635726
- Zhai, L.; Dong, S. Electronic Differential Speed Steering Control for Four In-Wheel Motors Independent Drive Vehicle. In Proceedings of the 9th World Congress on Intelligent Control and Automation (WCICA), Taipei, Taiwan, 21–25 June 2011; pp. 780–783. DOI: https://doi.org/10.1109/WCICA.2011.5970621
- Ge, P.; Guo, L.; Chen, J. Electronic Differential Control for Distributed Electric Vehicles Based on Optimum Ackermann Steering Model. In Proceedings of the 5th CAA International Conference on Vehicular Control and Intelligence (CVCI), Tianjin, China, 22–24 October 2021; pp. 1–6. DOI: https://doi.org/10.1109/CVCI54083.2021.9661256
- Guo, X.; Chen, Y.; Li, H. Research on Steering Stability Control of Electric Vehicle Driven by Dual In-Wheel Motor. In Proceedings of the 10th IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems (CYBER), Xi’an, China, 10–13 October 2020; pp. 394–399. DOI: https://doi.org/10.1109/CYBER50695.2020.9279154
- Taha, Z.; Aydın, K. Comparative Analysis of Single, Double and Quad Electric Vehicle Powertrain Systems. Int. J. Automot. Sci. Technol. 2022, 6, 324–330. DOI: https://doi.org/10.30939/ijastech..1144339
- Taha, Z.; Aydın, K.; Arafah, D.; et al. Comparative Simulation Analysis of Electric Vehicle Powertrains with Different Configurations Using AVL Cruise and MATLAB Simulink. New Energy Exploit. Appl. 2024, 3, 171–184. DOI: https://doi.org/10.54963/neea.v3i1.276
- Zhu, W.; Li, G.; Lu, L. Research on Steering Control of Four-Wheel Independent Drive Electric Vehicle. Available online: https://doi.org/10.1109/cvci54083.2021.9661167 (accessed on 25 August 2025).
- Miyahara, K.; Fujimoto, H.; Hori, Y. Rear Steer Actuator-Less Four-Wheel Steering System for Four-Wheel Driving Electric Vehicles. In Proceedings of the Conference of the Industrial Electronics Society (IECON), Washington, DC, USA, 21–23 October 2018; pp. 2139–2144. DOI: https://doi.org/10.1109/IECON.2018.8591379
- McTrustry, S.C. Modelling and Control of Electric Vehicles with Individually Actuated In-Wheel Motors. PhD Thesis, University of Wollongong, Wollongong, Australia, 2016. Available online: https://ro.uow.edu.au/cgi/viewcontent.cgi?article=5758&context=theses
- Zhu, X.; Dong, Z.; He, P. On the Tracking Control Strategy for the 4WIDIS EV Based on the Ackermann Model. Comput. Meas. Control 2015, 23, 417–419. DOI: https://doi.org/10.3969/j.issn.1671-4598.2015.02.025
- Choi, M.W.; Park, J.S.; Lee, B.S.; et al. The Performance of Independent Wheels Steering Vehicle (4WS) Applied Ackerman Geometry. In Proceedings of the 2008 International Conference on Control, Automation and Systems (ICCAS), Seoul, Republic of Korea, 14–17 October 2008; pp. 197–202. DOI: https://doi.org/10.1109/ICCAS.2008.4694549
- Gillespie, T. Fundamentals of Vehicle Dynamics; SAE International: Warrendale, PA, USA, 2021. DOI: https://doi.org/10.4271/9781468601770
- Milliken, W.F.; Wright, P.G.; Milliken, D.L. Moment Method—A Comprehensive Tool for Race Car Development. SAE Technical Paper 942538; SAE International: Warrendale, PA, USA, 1994. DOI: https://doi.org/10.4271/942538
- Zhao, Y.E.; Zhang, J.W.; Guan, X.Q. Modeling and Simulation of Electronic Differential System for an Electric Vehicle with Two-Motor-Wheel Drive. In Proceedings of the 2009 IEEE Intelligent Vehicles Symposium (IVS), Xi’an, China, 3–5 June 2009; pp. 1209–1214. DOI: https://doi.org/10.1109/IVS.2009.5164454
- Zhou, Y.; Li, S.; Zhou, X.; et al. The Control Strategy of Electronic Differential for EV with Four In-Wheel Motors. In Proceedings of the 2010 Chinese Control and Decision Conference (CCDC), Xuzhou, China, 26–28 May 2010; pp. 4190–4195. DOI: https://doi.org/10.1109/CCDC.2010.5498381

Download
