Fuzzy Logic Implementation for Accurate Electric Car Battery SoC Measurement

  • Muhammad Dzaky Ashidqi Universitas Sebelas Maret
  • Miftahul Anwar Universitas Sebelas Maret
  • Chico Hermanu B.A. Universitas Sebelas Maret
  • Agus Ramelan Universitas Sebelas Maret
  • Feri Adriyanto Universitas Sebelas Maret
Keywords: Battery, Temperature, State of Charge (SoC), Fuzzy Logic


Changes in temperature can affect the accuracy of the estimated SoC value based on voltage. In this study, fuzzy logic was implemented to correct the SoC estimation error caused by the influence of temperature. The system acquired data through sensors and then processed it using the Arduino microcontroller. Parameters in the form of voltage, temperature, and current were processed by Arduino with a fuzzy logic program which was uploaded into it and produced the output of the estimated SoC value. From the observations, it was found that the estimated SoC value from this method had better accuracy with a smaller error than the SoC estimation based on voltage alone. Using the RMSE method, the errors calculated in this method in the process of charging and discharging without running were 2.26 and 7.74, while the SoC estimation error based on voltage alone reached 4.88 and 12.8. In the discharging process with a running car, the SoC estimation results using fuzzy logic also showed accurate results. There was only 1% of SoC value increasing pattern during the discharging process, which the value trend should continue to decrease and should not be an increase. In addition, compared to the previous method applied to the same research object, namely the chemical equilibrium constant method, this method also showed more accurate results.


R. Faria, P. Moura, J. Delgado, dan A.T. de Almeida, “Managing the Charging of Electrical Vehicle: Impacts on the Electrical Grid and on the Enviroment,” IEEE Intell. Transp. Syst. Mag., Vol. 6, No. 3, hal. 54-65, Jul. 2014.

Z.H. Cai, G.F. Liu, dan J. Luo, “Research State of Charge Estimation Tactics of Nickel-Hydrogen Battery,” 2010 Int. Symp. Intell. Inf. Process. Trusted Comput. (IPTC), 2010, hal. 184–187.

A. Nugroho dan E. Rijanto, “The Simulation for Optimizing of Measurement of Battery’s State of Charge Using Integral Observer,” Widyariset, Vol. 17, No. 3, hal. 323-332, 2014.

S. Yarlagadda, T.T. Hartley, dan I. Husain, “A Battery Management System Using an Active Charge Equalization Technique Based on a DC/DC Converter Topology,” IEEE Trans. Ind. Appl., Vol. 49, No. 6, hal. 2720-2729, Mei 2013.

M. Anwar, M.D. Ashidqi, S. Kaleg, F. Adriyanto, S.I. Cahyono, A. Hapid, dan K. Diharjo, “State of Charge Monitoring System of Electric Vehicle Using Fuzzy Logic,” Proc. 6th Int. Conf. Sustain. Energy Eng. Appl. (ICSEEA 2018), 2018, hal. 34–38.

M. Gencten, K.B. Donmesh, dan Y. Sahin, “Investigation of the Temperature Effect on Electrochemical Behaviors of TiO2 for Gel Type Valve Regulated Lead-acid Batteries,” Anadolu Univ. J. Sci. Technol. A- Applied Sci. Eng., Vol. 17, No. 5, hal. 882-894, Jul. 2016.

K. Qian, C. Zhou, Y. Yuan, dan M. Allan, “Temperature Effect on Electric Vehicle Battery Cycle Life in Vehicle-to-Grid Applications,” Proc. China Int. Conf. Electr. Distrib., 2010, hal. 1–6.

H. Chaoui, S. Miah, A. Oukaour, dan H. Gualos, “State-of-Charge and State-of-Health Prediction of a Lead-Acid Batteries with Genetic Alghoritms,” 2015 IEEE Transp. Electrification Conf. Expo (ITEC), 2015, hal. 673-674.

D. Andre, A. Nuhic, T. Soczka-Guth, dan D.U. Sauer, “Comparative Study of a Structured Neural Network and an Extended Kalman filter for State of Health Determination of Lithium-ion Batteries in Hybrid Electricvehicles,” Eng. Appl. Artif. Intell., Vol. 26, No. 3, hal. 951–961, 2013.

T.J. Ross, Fuzzy Logic with Engineering Application, 3rd ed., Hoboken, USA: John Wiley and Sons, Ltd., 2010.

M. Rasheed dan M.A. Sarhan, “Characteristics of Solar Cell Outdoor Measurements Using Fuzzy Logic Method,” Insight-Mathematics, Vol. 1, No. 1, hal. 1-8, 2019.

X. Yan, Y. Yang, Q. Guo, H. Zhang, and W. Qu, “Electric Vehicle Battery SOC Estimation Based on Fuzzy Kalman Filter,” 2nd Int. Symp. Instrum. Meas. Sens. Netw. Autom (IMSNA), 2013, hal. 863–866.

S.W. Arsri, M. Anwar, F.A. Farisi, J.A. Pratama, I. Iftadi, S. Kaleg, A. Hapid, S.I. Cahyono, dan K. Diharjo, “Analytical Study of Temperature Effect on Current and Voltage of Battery at Charging and Discharging Condition on Electric Vehicle,” AIP Conf. Proc., Vol.. 2217, No. 1, hal. 030068.1-8, 2020.

M. Chen dan G.A. Rincon-Mora, “Accurate Electrical Battery Model Capable of Predicting Runtime and I-V Performance,” IEEE Trans. Energy Convers., Vol. 21, No. 2, hal. 504-511, 2016.

How to Cite
Muhammad Dzaky Ashidqi, Miftahul Anwar, Chico Hermanu B.A., Agus Ramelan, & Feri Adriyanto. (2021). Fuzzy Logic Implementation for Accurate Electric Car Battery SoC Measurement. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi, 10(3), 257-264. https://doi.org/10.22146/jnteti.v10i3.1885