Electric vehicle (EV) charging systems are now integral to smart grids, increasing the need for robust and scalable cyberattack detection. This study presents an online intrusion detection system that leverages an Adaptive Random Forest classifier with Adaptive Windowing drift detection to identify real-time and evolving threats in EV charging infrastructures. The system is evaluated using real-world network traffic from the CICEVSE2024 dataset, ensuring practical applicability. For binary intrusion detection, the model achieves 0.9913 accuracy, 0.9999 precision, 0.9914 recall, and an F1-score of 0.9956, demonstrating highly accurate threat detection. It effectively manages concept drift, maintaining an average accuracy of 0.99 during drift events. In multiclass detection, the system attains 0.9840 accuracy, precision, and recall, with an F1-score of 0.9831 and an average drift event accuracy of 0.96. The system is computationally efficient, processing each instance in just 0.0037 s, making it well-suited for real-time deployment. These results confirm that online machine learning methods can effectively secure EV charging infrastructures. The source code is publicly available on GitHub, ensuring reproducibility and fostering further research. This study provides a scalable and efficient cybersecurity solution for protecting EV charging networks from evolving threats.
MDPI and ACS Style
Makhmudov, F.; Kilichev, D.; Giyosov, U.; Akhmedov, F. Online Machine Learning for Intrusion Detection in Electric Vehicle Charging Systems. Mathematics 2025, 13, 712. https://doi.org/10.3390/math13050712
AMA Style
Makhmudov F, Kilichev D, Giyosov U, Akhmedov F. Online Machine Learning for Intrusion Detection in Electric Vehicle Charging Systems. Mathematics. 2025; 13(5):712. https://doi.org/10.3390/math13050712
Chicago/Turabian Style
Makhmudov, Fazliddin, Dusmurod Kilichev, Ulugbek Giyosov, and Farkhod Akhmedov. 2025. "Online Machine Learning for Intrusion Detection in Electric Vehicle Charging Systems" Mathematics 13, no. 5: 712. https://doi.org/10.3390/math13050712
APA Style
Makhmudov, F., Kilichev, D., Giyosov, U., & Akhmedov, F. (2025). Online Machine Learning for Intrusion Detection in Electric Vehicle Charging Systems. Mathematics, 13(5), 712. https://doi.org/10.3390/math13050712