Development of a low-cost integrated PWM controller and battery management system for a formula-type electric vehicle prototype
Keywords:
PWM motor drive controller; Modular power electronics design; Lithium‑ion battery management; Variable‑frequency sinusoidal waveform.Abstract
Abstract
This article presents the design, implementation, and experimental validation of a low-cost integrated controller for a formula-type electric vehicle prototype. The proposed system combines a PWM-based speed-control module with a battery management system (BMS) within a unified modular architecture intended for academic and Formula SAE environments. The controller, built from commercially available components, generates a variable-frequency sinusoidal waveform by comparing a sinusoidal reference with a triangular carrier, which drives an IGBT-based inverter stage. In parallel, the BMS monitors in real time the voltage, current, and temperature of a 40-cell Sony VTC6 lithium-ion battery pack, implementing basic protection and passive balancing functions. Experimental results demonstrate stable PWM generation for driving a 0.5 HP motor, good agreement between theoretical current, ammeter measurements and a Hall-effect sensor, and a consistent thermal response during a 1.5C discharge condition. A functional comparison with reference commercial controllers and BMS platforms is included, and the scope of the prototype is discussed as a low-cost platform for the integration of control and supervision strategies in formula-type electric vehicles.
References
AG Electronics. (1998). AM27C64 CMOS EPROM [Data sheet]. https://agelectronica.lat/pdfs/textos/A/AM27C64.pdf
Aihsan, M. Z., Yusof, A. M., Ahmad, N. I., Saifizi, M., Habibah, H. M., Rahman, D. H. A., & Mustafa, W. A. (2020). Performance analysis of unipolar SPWM inverter: Resistive load and inductive load. IOP Conference Series: Materials Science and Engineering, 932(1), Article 012074. https://doi.org/10.1088/1757-899X/932/1/012074
Ali, A. O., Abdelrehim, O., Saafan, M. M., Elmarghany, M. R., & Hamed, A. M. (2025). Comprehensive review of battery management systems for electric vehicles: Thermal management, charging strategies, and emerging technologies. Journal of Power Sources, 658, Article 238269. https://doi.org/10.1016/j.jpowsour.2025.238269
Al-Ogaili, A., Aris, I., Verayiah, R., Ramasamy, A., Marsadek, M., Rahmat, N. A., Hoon, Y., Aljanad, A., & Al-Masri, A. N. (2019). A three-level universal electric vehicle charger based on voltage-oriented control and pulse-width modulation. Energies, 12(12), Article 2375. https://doi.org/10.3390/en12122375
Avago Technologies. (2020). ACPL-C87A precision optically isolated voltage sensor [Data sheet]. https://www.mouser.com/datasheet/2/678/avgo_s_a0002428009_1-2290947.pdf
Baťa, M., & Mikle, D. (2019). Battery management system hardware design for a student electric racing car. IFAC-PapersOnLine, 52(27), 310–315. https://doi.org/10.1016/j.ifacol.2019.12.737
Birbir, Y., Yurtbasi, K., & Kanburoglu, V. (2019). Design of a single-phase SPWM inverter application with PIC microcontroller. Engineering Science and Technology, an International Journal, 22(2), 592–599. https://doi.org/10.1016/j.jestch.2018.11.014
BorgWarner. (n.d.). AC motor controller Gen5 Size 9 reference manual [Manual]. Sevcon.
Brandstetter, P., & Křéček, T. (2012). Speed and current control of permanent magnet synchronous motor drive using IMC controllers. Advances in Electrical and Computer Engineering, 12(4), 3–10. https://doi.org/10.4316/AECE.2012.0400
Davide, A. (2010). Li-ion BMS: How much balancing current do you need? [White paper]. Li-Ion BMS. https://liionbms.com/php/wp_balancecurrent.php
Dewan, S. B., & Straughen, A. (1975). Power semiconductor circuits. Wiley-Interscience.
Emadi, A., Lee, Y. J., & Rajashekara, K. (2008). Power electronics and motor drives in electric, hybrid electric, and plug-in hybrid electric vehicles. IEEE Transactions on Industrial Electronics, 55(6), 2237–2245. https://doi.org/10.1109/TIE.2008.922768
Enepaq. (2023). Li-ion building block with Sony/Murata VTC6: Battery module with temperature sensor [Data sheet]. https://enepaq.com/wp-content/uploads/2023/09/VTC6-Sony-Murata-Li-ion-Battery-Module-With-Temperature-Sensor-Datasheet-Tesla-Battery-Sponsorship-Formula-SAE-Electric-Formula-Student-Battery-Pack.pdf
Formula SAE. (2022). Formula SAE rules and series resources. https://www.fsaeonline.com
Ghaderi, A., Umeno, T., & Sugai, M. (2016). An altered PWM scheme for single-mode seamless control of AC traction motors for electric drive vehicles. IEEE Transactions on Industrial Electronics, 63(3), 1385–1394. https://doi.org/10.1109/TIE.2015.2498901
Giri, F. (2013). AC electric motors control: Advanced design techniques and applications. Wiley.
Kamal, M. D. A., & Al-Fattah, J. (2025). The experimental study of an SPWM-based controller in an inverter. Evolution in Electrical and Electronic Engineering, 6(2), 446–456. https://doi.org/10.30880/eeee.2025.06.02.054penerbit.uthm.edu
Khalid, A. H., Rahman, M. M., & Amin, M. R. (2019). Effects of modulation index on harmonics of SP-PWM inverter-fed universal motor. International Journal of Electrical and Computer Engineering, 9(6), 5409–5419. https://doi.org/10.11591/ijece.v9i6.pp5409-5419
Krishna, G., Singh, R., Gehlot, A., Almogren, A., Altameem, A., Ur Rehman, A., & Hussen, S. (2024). Advanced battery management system enhancement using IoT and ML for predicting remaining useful life in Li-ion batteries. Scientific Reports, 14, Article 30394. https://doi.org/10.1038/s41598-024-80719-1
Liu, W., Placke, T., & Chau, K. T. (2022). Overview of batteries and battery management for electric vehicles. Energy Reports, 8, 4058–4084. https://doi.org/10.1016/j.egyr.2022.03.016
Lu, X., Chen, S., Wu, C., & Li, M. (2011). The pulse width modulation and its use in induction motor speed control. In Proceedings of the 2011 Fourth International Symposium on Computational Intelligence and Design (pp. 195–198). IEEE. https://doi.org/10.1109/ISCID.2011.150
Manandhar, D., Manandhar, N., & Phan, P. (2020). Modular battery management system (BMS) [Capstone technical report, University of Virginia]. https://libraetd.lib.virginia.edu/downloads/4q77fs08g
Microchip Technology. (2020). ATmega48A/PA/88A/PA/168A/PA/328/P: megaAVR data sheet. https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf
Mouser Electronics. (2020). FGH60N60SFD IGBT: Field stop [Data sheet]. https://www.mouser.mx/datasheet/2/308/1/FGH60N60SMD_D-2313587.pdf
Munsi, M. S., & Chaoui, H. (2024). Energy management systems for electric vehicles: A comprehensive review of technologies and trends. IEEE Access, 12, 55942–55972. https://doi.org/10.1109/ACCESS.2024.3371483
Nam, K. (2018). AC motor control and electrical vehicle applications. CRC Press.
Orion BMS. (2018). Orion BMS 2 operational manual. https://www.orionbms.com/manuals/pdf/OrionBMS2_OperationalManual.pdf
Palmas-Peláez, J. A., & García-Vite, P. (2013). Minimización de la distorsión armónica de una modulación PWM aplicada a un inversor conectado a la red eléctrica. Revista Iberoamericana de Automática e Informática Industrial, 10(2), 186–195. https://doi.org/10.1016/j.riai.2013.03.006
Patel, N., Bhoi, A. K., Padmanaban, S., & Holm-Nielsen, J. B. (Eds.). (2021). Electric vehicles: Modern technologies and trends. Springer. https://doi.org/10.1007/978-981-15-9251-5
Tamrakar, E., Patel, R., Kumar, A., Kumar Sahu, A., Ruchira, R. (2023). Experimental investigation and power quality analysis of solar micro-inverter for different operating conditions. E3S Web of Conferences, 405, Article 02024. https://doi.org/10.1051/e3sconf/202340502024
Texas Instruments. (2014). xx555 precision timers [Data sheet]. https://www.ti.com/lit/ds/symlink/se555.pdf
Texas Instruments. (2023). OPA814 600-MHz, high-precision, unity-gain stable, FET-input operational amplifier [Data sheet]. https://www.ti.com/lit/ds/symlink/opa814.pdf
UniTek Industrie Elektronik GmbH. (2012). BAMOCAR-D3 digital battery-motor-controller manual. https://www.unitek-industrie-elektronik.de
Victron Energy. (2020). Lithium battery manual. https://www.victronenergy.com/upload/documents/Lithium_Battery_Manual.pdf




