Design and Implementation of a PID-Controlled CC-CV Fast Charger for LiFePO₄ Batteries in Light Electric Vehicles
DOI:
https://doi.org/10.15837/ijccc.2026.3.7444Keywords:
CC-CV method, fast charging, LiFePO4 battery, light electric vehicle, PID ControlAbstract
The widespread adoption of light electric vehicles (LEVs) is constrained by excessively long battery charging times, which reduce user convenience and practicality. This paper presents the design, implementation, and experimental validation of a PID-controlled constant current-constant voltage (CC-CV) fast-charging system tailored for a 12V, 6Ah lithium iron phosphate (LiFePO4) battery, a typical energy storage unit in LEVs. The system integrates a buck converter for power regulation, an Arduino Uno microcontroller executing a parallel PID algorithm, and real-time feedback from voltage and current sensors. Charging tests were conducted from 90% depth of discharge (12V) using three protocols: conventional constant voltage (CV), CC-CV at 0.5C (3A), and CC-CV at 1C (6A). The PID-controlled CC-CV method drastically reduced charging time, achieving full charge in 2 hours and 1 minute at 0.5C (78.8% reduction) and 1h7min at 1C (88.2% reduction) compared to 9h 33min for CV charging. The dynamic behavior during the constant-voltage phase was further analyzed via closed-loop transfer function modeling. Using a first-order plus dead time (FOPTD) plant identified from step response data (τ = 39 s, L = 9 s) and PID parameters (Kp = 0.3, Ki = 0.02, Kd = 0.05), the step response exhibits a rise time of 43.7 s, settling time of 151.3 s, and overshoot of 14.7%. Closed-loop poles at −0.2078 and −0.0142±j0.0342 confirm stability and predict a lightly damped oscillatory mode consistent with experimental observations. The consistency between experimental and simulated responses validates the modeling approach and controller tuning. This research provides a validated framework for low-cost, embedded fast-charging solutions, contributing to the acceleration of LEV adoption and sustainable urban mobility.
References
Mogire, E. (2026). Light Electric Vehicles and Sustainable Transport in Urban Areas: A Bibliometric Review. World Electric Vehicle Journal, 17(1), 23. https://doi.org/10.3390/wevj17010023
Simo, A; Dzitac, S.; Ferestyan, L.; Dumitru, C.D.; Gligor, A. (2024). Optimizing Electric VehiclePerformance: Advances in Battery Management Systems for Enhanced Efficiency and Longevity,International Journal of Computers Communications & Control, 19(5), 6794, 2024.https://doi.org/10.15837/ijccc.2024.5.6794
Maghfiroh, M .F .N.; Pandyaswargo, A .H .; Onoda, H. (2021). "Current Readiness Status of Electric Vehicles in Indonesia: Multistakeholder Perceptions" Sustainability 13, no. 23: 13177. https://doi.org/10.3390/su132313177. MDPI
Damanik, N., Saraswani, R., Hakam, D. F., Mentari, D. M. (2025). A Comprehensive Analysis of the Economic Implications, Challenges, and Opportunities of Electric Vehicle Adoption in Indonesia. Energies, 18(6), 1384. https://doi.org/10.3390/en18061384
Triyono, W. S.; Udisubakti, C.; Budisantoso, W.; Andhika,P. (2024). Identification of electric vehicle adoption and production factors based on an ecosystem perspective in Indonesia. Cogent Business & Management. 11. 10.1080/23311975.2024.2332497. IEEE
LaMonaca, S.; Lisa. R. (2022). The state of play in electric vehicle charging services – A review of infrastructure provision, players, and policies. Renewable and Sustainable Energy Reviews. 154. 111733. 10.1016/j.rser.2021.111733. IEEE
Kumar, M.; K. P. Panda.; Nayagi, R. T.; Thakur, R.; Panda, G. (2023). Comprehensive Review of Electric Vehicle Technology and Its Impacts: Detailed Investigation of Charging Infrastructure, Power Management, and Control Techniques, Applied Sciences 13, no. 15: 8919. https://doi.org/10.3390/app13158919 MDPI
Suvvala, J. et al. (2024) Integration of renewable energy sources using multiport converters for ultra-fast charging stations for electric vehicles: An overview, Heliyon, vol. 10, no. 15, p. e35782, doi: 10.1016/j.heliyon.2024.e35782. SPRINGER
Gulsah, Y.; Cetkin, E. (2024). Review of Cell Level Battery (Calendar and Cycling) Aging Models: Electric Vehicles, Batteries 10, no. 11: 374. https://doi.org/10.3390/batteries10110374 MDPI
Li, Y. et al., Evolution of aging mechanisms and performance degradation of lithium-ion battery from moderate to severe capacity loss scenarios, Chem. Eng. J., vol. 498, p. 155588, 2024. doi: 10.1016/j.cej.2024.155588. SPRINGER
Suvvala, J. et al., Integration of renewable energy sources using multiport converters for ultra-fast charging stations for electric vehicles: An overview," Heliyon, vol. 10, no. 15, p. e35782, 2024. doi: 10.1016/j.heliyon.2024.e35782. SPRINGER
Zhou, W.; Yanping,Z.; Zhengjun, P.; Qiang, L. (2021). Review on the Battery Model and SOC Estimation Method, Processes 9, no. 9: 1685. https://doi.org/10.3390/pr9091685 MDPI
Hoque, Md.; Hassan,M.; Khair, M.; Hajjo, A. (2023). Characteristics of Li-Ion Battery at Accelerated C-Rate with Deep Learning Method. Arabian Journal for Science and Engineering. 48. 10.1007/s13369-023-08034-x. IEEE
R. Guo and W. Shen, "Recent advancements in battery state of power estimation technology: A comprehensive overview and error source analysis, J. Energy Storage, vol. 103, p. 114294, 2024. doi: 10.1016/j.est.2024.114294. SPRINGER
Wang, X., Tang, Y., Li, Z. et al. (2024). Research on charging strategy based on improved particle swarm optimization PID algorithm. Complex Intell. Syst. 10, 6421–6433. https://doi.org/10.1007/s40747-024-01487-z
Baicu, L. M.; Mihaela, A.; Bogdan, D. 2025. "Microcontroller-Based Platform for Lithium-Ion Battery Charging and Experimental Evaluation of Charging Strategies" Technologies 13, no. 5: 178. https://doi.org/10.3390/technologies13050178 MDPI
E. Ignacio., J. Fernández., D.Giráldez., and L. Freire. (2025). "Rapid and Non-Invasive SoH Estimation of Lithium-Ion Cells via Automated EIS and EEC Models" Batteries 11, no. 9: 325. https://doi.org/10.3390/batteries11090325 MDPI
B. Junting., Y. Mao., Y. Zhang., H. Xu., Y. Jiang., and Y. Yang. 2024. "Critical Review of Temperature Prediction for Lithium-Ion Batteries in Electric Vehicles" Batteries 10, no. 12: 421. https://doi.org/10.3390/batteries10120421 MDPI
E. Vanem, C. B. Salucci, A. Bakdi, and Ø. Å. Alnes, "Data-driven state of health modelling—A review of state of the art and reflections on applications for maritime battery systems," J. Energy Storage, vol. 43, p. 103158, 2021. doi: 10.1016/j.est.2021.103158. IEEE
Khairunnisa, K.; Mafturoh, S.M. (2023). Characteristics of LiFePo4 and Li-Ion Batteries during the Process of Charging and Discharging for Recommendation Solar Power Energy Storage. Jurnal Edukasi Elektro. 7. 53-62. 10.21831/jee.v7i1.61654.
Vafaeva, K.M.; Sanjeeva, P. (2024). Comparative analysis of lithium-ion and flow batteries for advanced energy storage technologies. MATEC Web of Conferences. 392. 10.1051/matecconf/ 202439201176. IEEE
Garita, V. V.; Heydarzadeh, M.; Dadash, A.H.; and Immonen,E. (2025) The need for aging-aware control methods in lithium-ion batteries: A review, J. Energy Storage, vol. 132, p. 117653, 2025. doi: 10.1016/j.est.2025.117653. IEEE
Tahir, M. U.; Sangwongwanich, A.; Stroe, D.-I.; Blaabjerg, F. (2024) "Multi-objective optimization for multi-stage constant current charging for Li-ion batteries," J. Energy Storage, vol. 86, p. 111313. doi: 10.1016/j.est.2024.111313. SPRINGER
Pavković, D.; K. Josip; Krznar, M.; C. Mihael. (2023). Adaptive Constant-Current/Constant- Voltage Charging of a Battery Cell Based on Cell Open-Circuit Voltage Estimation.World Electric Vehicle Journal. 14. Paper No. 155. 10.3390/wevj14060155. IEEE
Zhong, Q., Huang, B., Ma, J., Li, H. (2013). International Journal of Smart Grid and Clean Energy Experimental study on relationship between SOC and OCV of lithiumion batteries. International Journal of Smart Grid and Clean Energy, 3(2), 149–153. http://www.ijsgce.com/uploadfile/2015/0824/20150824072600339.pdf. SPRINGER
Chen,G.-J.; Chung, W.-H. (2023). "Evaluation of Charging Methods for Lithium-Ion Batteries" Electronics 12, no. 19: 4095. https://doi.org/10.3390/electronics12194095 MDPI
Montoya, G.A.; Lozano-Garzón, C.; Paternina-Arboleda, C.; Donoso, Y. (2025). A MathematicalOptimization Approach for Prioritized Services in IoT Networks for Energy-constrained Smart Cities,International Journal of Computers Communications & Control, 20(1), 6912, 2025. https://doi.org/10.15837/ijccc.2025.1.6912
Additional Files
Published
Issue
Section
License
Copyright (c) 2026 Rafiuddin Syam, Wisnu Djatmiko, Iwan Sugihartono, Cindy Novita Trilia

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
ONLINE OPEN ACCES: Acces to full text of each article and each issue are allowed for free in respect of Attribution-NonCommercial 4.0 International (CC BY-NC 4.0.
You are free to:
-Share: copy and redistribute the material in any medium or format;
-Adapt: remix, transform, and build upon the material.
The licensor cannot revoke these freedoms as long as you follow the license terms.
DISCLAIMER: The author(s) of each article appearing in International Journal of Computers Communications & Control is/are solely responsible for the content thereof; the publication of an article shall not constitute or be deemed to constitute any representation by the Editors or Agora University Press that the data presented therein are original, correct or sufficient to support the conclusions reached or that the experiment design or methodology is adequate.






