IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i5p712-d1597386.html
   My bibliography  Save this article

Online Machine Learning for Intrusion Detection in Electric Vehicle Charging Systems

Author

Listed:
  • Fazliddin Makhmudov

    (Department of Computer Engineering, Gachon University, Seongnam 1342, Republic of Korea)

  • Dusmurod Kilichev

    (Department of Computer Engineering, Gachon University, Seongnam 1342, Republic of Korea)

  • Ulugbek Giyosov

    (Department of Exact Sciences, Kimyo International University in Tashkent, Tashkent 100121, Uzbekistan)

  • Farkhod Akhmedov

    (Department of Computer Engineering, Gachon University, Seongnam 1342, Republic of Korea)

Abstract

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.

Suggested Citation

  • Fazliddin Makhmudov & Dusmurod Kilichev & Ulugbek Giyosov & Farkhod Akhmedov, 2025. "Online Machine Learning for Intrusion Detection in Electric Vehicle Charging Systems," Mathematics, MDPI, vol. 13(5), pages 1-28, February.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:5:p:712-:d:1597386
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/5/712/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/5/712/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Dusmurod Kilichev & Dilmurod Turimov & Wooseong Kim, 2024. "Next–Generation Intrusion Detection for IoT EVCS: Integrating CNN, LSTM, and GRU Models," Mathematics, MDPI, vol. 12(4), pages 1-26, February.
    2. Jóni B. Santos & André M. B. Francisco & Cristiano Cabrita & Jânio Monteiro & André Pacheco & Pedro J. S. Cardoso, 2024. "Development and Implementation of a Smart Charging System for Electric Vehicles Based on the ISO 15118 Standard," Energies, MDPI, vol. 17(12), pages 1-25, June.
    3. Hoguk Lee & Minho Shin, 2024. "TestShark: A Passive Conformance Testing System for ISO 15118 Using Wireshark," Energies, MDPI, vol. 17(23), pages 1-15, November.
    4. Peng Zhang & Zifan Ma & Zeyuan Ren & Hongxiang Wang & Chuankai Zhang & Qing Wan & Dongxue Sun, 2024. "Design of an Automatic Classification System for Educational Reform Documents Based on Naive Bayes Algorithm," Mathematics, MDPI, vol. 12(8), pages 1-21, April.
    5. Sylvain Guillemin & Romain Choulet & Gregory Guyot & Sothun Hing, 2024. "Electrical Vehicle Smart Charging Using the Open Charge Point Interface (OCPI) Protocol," Energies, MDPI, vol. 17(12), pages 1-15, June.
    6. Mohammad Aldossary & Hatem A. Alharbi & Nasir Ayub, 2024. "Optimizing Electric Vehicle (EV) Charging with Integrated Renewable Energy Sources: A Cloud-Based Forecasting Approach for Eco-Sustainability," Mathematics, MDPI, vol. 12(17), pages 1-29, August.
    7. Hari Mohan Rai & Joon Yoo & Saurabh Agarwal, 2024. "The Improved Network Intrusion Detection Techniques Using the Feature Engineering Approach with Boosting Classifiers," Mathematics, MDPI, vol. 12(24), pages 1-35, December.
    8. Fazila Malik & Qazi Waqas Khan & Atif Rizwan & Rana Alnashwan & Ghada Atteia, 2024. "A Machine Learning-Based Framework with Enhanced Feature Selection and Resampling for Improved Intrusion Detection," Mathematics, MDPI, vol. 12(12), pages 1-25, June.
    9. Xianer Ying & Mengshuang Pan & Xiner Chen & Yiyi Zhou & Jianhua Liu & Dazhi Li & Binghao Guo & Zihao Zhu, 2024. "Research on Virus Propagation Network Intrusion Detection Based on Graph Neural Network," Mathematics, MDPI, vol. 12(10), pages 1-11, May.
    10. Adel Binbusayyis, 2024. "Reinforcing Network Security: Network Attack Detection Using Random Grove Blend in Weighted MLP Layers," Mathematics, MDPI, vol. 12(11), pages 1-25, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Natascia Andrenacci & Antonino Genovese & Giancarlo Giuli, 2025. "Strategies for Workplace EV Charging Management," Energies, MDPI, vol. 18(2), pages 1-32, January.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:5:p:712-:d:1597386. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.