A Novel Charging Management and Security Framework for the Electric Vehicle (EV) Ecosystem
Abstract
:1. Introduction
- A system model for the proposed EVCMS framework is presented considering the overall implementation architecture of the framework.
- An EVCMS framework is proposed as a system design considering technical details of charging pricing and charging optimization.
- Implementation details and critical performance evaluation of the proposed EVCMS framework are carried out with a focus on a realistic EV charging environment.
2. Literature Review
2.1. EVCS Optimization
2.2. EVCS Communication Security
3. EVCMS Framework
3.1. System Model
3.2. System Design
3.2.1. Charging Pricing
- Cost of energy price: the price per unit of energy (kWh) used during the charging session.
- Duration consumed: the total time in hours (h) that the EV was connected to the charging station and consuming energy.
- Charging rate: the rate at which the EV battery is charged at the EV charging station. It is measured in kilowatts (kW) and can be considered as the power output of a charging station.
- Power output: the maximum power output of the charging station (in kW) per day.
- Charging efficiency: The charging station needs to convert electrical energy into battery energy for an EV to charge at the charging station. The measure with which this is carried out is the charging efficiency, and it is represented as a decimal value between 0 and 1, where 1 indicates that charging efficiency is 100%, considering all electrical energy supplied to the charging station is utilized to charge the EV batteries.
- Time-of-use charges: the time when an EV is charged at the charging station. As at some times of day, electricity prices are high, represented as the Peak On Time, and time of day when electricity prices are low, represented as the Peak Off Time. Along with the time of day, the availability of the charging station is also considered, and the ToU factor is decided as shown in Table 1.
- Peak demand charges: If the EV is charged at a charging station when the electricity prices are high, then this charge will be taken into consideration. Peak On Times are defined in legislation as 8 a.m. to 11 a.m. and 4 p.m. to 10 p.m. on weekdays.
- Availability in station: whether the charging station is available to use or not at the desired time.
- Service Charge of Station: additional charges applied by a charging station for utilizing their service.
- Energy Consumed (in kWh) = Duration Consumed (in hours) × Charging Rate (in kW)
3.2.2. Charging Optimization
Algorithm 1: Check Availability and Assign Time Slot |
- Plan 1 (Duration): The user has entered the arrival time, duration, and power required. However, the power required is not sufficient to charge the EV as per the time requested. So, another plan is provided with updated charging power to meet the time constraints.
- Plan 2 (Power): The user has entered the arrival time, duration, and power required. However, the required time is not sufficient to charge the EV as per the charging power requested. So, the time is updated in one plan to meet charging needs.
- Plan 3 (Duration Eco): An enhancement is made to plan 1 by shifting the time slot to Peak Off Time period. In this plan, the system suggests the nearest possible Peak Off Time slot with respect to the required time duration. This plan minimizes the charging cost compared to the plan 1 charging cost.
- Plan 4 (Power Eco): An enhancement is made to plan 3 by shifting the time slot to Peak Off period. In this plan, the system suggests the nearest possible Peak Off Time slot with respect to the power required. This plan minimizes the charging cost compared to plan 3’s charging cost.
Algorithm 2: Generate Plan |
3.3. Charging Security
4. Implementation
4.1. Client Server
4.2. OCPP Chargebox Simulator
- ConnectIn the Chargebox implementation, the Connect function utilizes the OCPP BootNotification message, facilitating communication between the Chargebox and EVCMS, as illustrated in Figure 8. When the EV connects or the Chargebox boots up, it sends a BootNotification request to the EVCMS, carrying the charge point information. The Chargebox then handles the BootNotification response, containing configuration data about the OCPP server. For the EVCMS, the system actively monitors incoming BootNotification requests from various Chargeboxes. Upon receipt, it rigorously validates the charging station’s identity. Subsequently, EVCMS promptly sends a BootNotification response, indicating the approval or denial of the connection request. If accepted, the response may include relevant configuration parameters for subsequent setup procedures. This ensures a safe handshake between the client and the server before the actual charging session starts.
- AuthorizeIn the Chargebox Authorization function, illustrated in Figure 9, the process of handling authorization requests is outlined. When an EV driver seeks permission to use a specific charging slot, the Chargebox initiates an Authorize request to the EVCMS. This request, including the slot preference, prompts the EVCMS to respond, indicating whether the driver can proceed with the charging session. This authentication step ensures user verification before access to the charging station is granted or denied. In the EVCMS implementation, the system monitors incoming Authorize requests, authenticates the driver, and responds to the Chargebox accordingly.
- Start ChargingIn the Start Charging function of the Chargebox, as illustrated in Figure 10, a Start Transaction request is sent to the EVCMS when a charging session begins. This request includes essential transaction details such as connector Id, Slot Id, timestamp, initial meter value set to 0, and reservation ID. The Chargebox then carefully handles the Start Transaction response, ensuring the correctness of the details before responding with an accept message. In the EVCMS implementation, the system listens for incoming Start Transaction requests from the Chargebox, assigning a unique transaction ID upon reception and processing the relevant session data. The EVCMS promptly issues an accepted Start Transaction response by verifying transaction details to ensure they match the reserved charging session. This verification process contributes to a smooth and reliable start for the charging session, enhancing the EV’s user experience.
- Stop ChargingIn the Stop Charging function of the Chargebox, as illustrated in Figure 11, a Stop Transaction request is sent to the EVCMS when a charging session concludes. This request includes transaction ID, Slot ID, timestamp for the charging duration, and meter values. The Chargebox then handles the Stop Transaction response from the EVCMS, confirming the end of the session and potentially providing billing information. In the EVCMS context, the system actively listens for incoming Stop Transaction requests from the Chargebox. Upon reception, it efficiently processes the requests, evaluating relevant data. One crucial task is calculating the total energy consumed during the charging session, enabling the system to determine associated costs. The EVCMS then formulates a comprehensive Stop Transaction response, serving as an acknowledgment of the successful completion of the charging session. The stop charging function can be initiated manually by the user or can be automatically initiated by the EVCMS as per the reserved charging duration. This process ensures a safe end of communication between the client and the server.
- Meter Values RequestIn the Meter Values Request function of the Chargebox illustrated in Figure 12, periodic or on-demand meter values requests are sent to the EVCMS. These requests provide real-time data about the ongoing charging session, including connector ID, transaction ID, current meter value, and other session details, enabling comprehensive monitoring. In the context of the EVCMS, the system actively anticipates and receives incoming meter value requests from the Chargebox simulator. Upon reception, the EVCMS initializes the meter value with the current timestamp and sampled value as a reference. It processes the meter data, storing them if necessary for billing or monitoring. Following data processing, the EVCMS responds with an acknowledgment to the Chargebox, confirming the receipt of meter values. This data exchange ensures the accurate relay of essential information, contributing to the efficient management and oversight of charging sessions, ensuring well-organized and closely monitored EV charging.
- DisconnectIn the Disconnect function, both the Chargebox and the EVCMS implementations establish procedures for effective disconnection management, catering to various scenarios, whether concluding a charging session smoothly or addressing unexpected errors. The Chargebox ensures a graceful disconnect, smoothly wrapping up sessions, considering factors like session completion and unforeseen issues. On the other hand, the EVCMS proactively monitors the Chargebox connection status, handling disconnections seamlessly for a smooth transition from an active to a terminated charging session. It also efficiently manages the release of allocated resources, which is crucial for overall system efficiency. Notably, the disconnection process does not involve specific user or system requests but centers around the careful closure of the WebSocket connection initially established with the OCPP server.
4.3. EVCMS Integration with Manufacturers
5. Performance Evaluation
5.1. Result Analysis
5.2. Case Study: Mapping the EVCMS Framework with Local EV Charging Infrastructure
5.3. Comparative Analysis
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
EVs | Electric Vehicles |
EVCS | Electric Vehicle Charging Station |
EVCMS | EV charging Management and Security |
OCPP | Open Charge Point Protocol |
ISO 15118 | International Standard Organization 15118 |
IEC61851 | International Electrotechnical Commission 61851 |
OCPP-RPC | Open Charge Point Protocol- Remote Procedure Call |
Ec | Cost of energy price |
Es | Energy Consumed in session (in kWh) |
Dh | Duration Consumed (in hours) |
Crate | Charging Rate in kW |
Pmax | Max Power Output of Charging Station per day |
Ceff | Charging Efficiency |
ToU | Time-of-Use Charges |
PDC | Peak Demand Charges |
Availability in charging station | |
Service Charge of Charging Station |
References
- International Energy Agency (IEA). Global EV Outlook 2020–Analysis-IEA. Available online: https://www.iea.org/reports/global-ev-outlook-2020 (accessed on 5 November 2023).
- The UK Govt Strategy, “Road to Zero” by 2050. Available online: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/739460/road-to-zero.pdf (accessed on 21 January 2023).
- Committee on Climate Change’s (CCC), Net Zero: The UK’s Contribution to Stopping Global Warming, May 2019. Available online: https://www.theccc.org.uk/wp-content/uploads/2019/05/Net-Zero-The-UKs-contribution-to-stopping-global-warming.pdf (accessed on 22 January 2023).
- Muratori, M.; Alexander, M.; Arent, D.; Bazilian, M.; Cazzola, P.; Dede, E.M.; Farrell, J.; Gearhart, C.; Greene, D.; Jenn, A.; et al. The rise of electric vehicles—2020 status and future expectations. Prog. Energy 2021, 3, 022002. [Google Scholar] [CrossRef]
- Liu, W.; Placke, T.; Chau, K.T. Overview of batteries and battery management for electric vehicles. Energy Rep. 2022, 8, 4058–4084. [Google Scholar] [CrossRef]
- Lieven, T.; Hügler, B. Did electric vehicle sales skyrocket due to increased environmental awareness while total vehicle sales declined during COVID-19? Sustainability 2021, 13, 13839. [Google Scholar] [CrossRef]
- Chen, T.; Zhang, X.-P.; Wang, J.; Li, J.; Wu, C.; Hu, M.; Bian, H. A review on electric vehicle charging infrastructure development in the UK. J. Mod. Power Syst. Clean Energy 2020, 8, 193–205. [Google Scholar] [CrossRef]
- Chimakurthi, V.N.S. An Optimal Cloud Based Electric Vehicle Charging System. Asia Pac. J. Energy Environ. 2021, 8, 29–38. [Google Scholar] [CrossRef]
- Cao, Y.; Liu, S.; He, Z.; Dai, X.; Xie, X.; Wang, R.; Yu, S. Electric vehicle charging reservation under preemptive service. In Proceedings of the 2019 1st International Conference on Industrial Artificial Intelligence (IAI), Shenyang, China, 23–26 July 2019; pp. 1–6. [Google Scholar]
- Hamdare, S.; Kaiwartya, O.; Aljaidi, M.; Jugran, M.; Cao, Y.; Kumar, S.; Mahmud, M.; Brown, D.; Lloret, J. Cybersecurity Risk Analysis of Electric Vehicles Charging Stations. Sensors 2023, 23, 6716. [Google Scholar] [CrossRef]
- Flocea, R.; Hîncu, A.; Robu, A.; Senocico, S.; Traciu, A.; Baltariu, M.R.; Răboacă, M.S.; Filote, C. Electric vehicle smart charging reservation algorithm. Sensors 2022, 22, 2834. [Google Scholar] [CrossRef]
- Hsaini, S.; Ghogho, M.; Charaf, M.E.H. An OCPP-Based Approach for Electric Vehicle Charging Management. Energies 2022, 15, 6735. [Google Scholar] [CrossRef]
- Deb, N.; Singh, R.; Brooks, R.R.; Bai, K. A review of extremely fast charging stations for electric vehicles. Energies 2021, 14, 7566. [Google Scholar] [CrossRef]
- Amjad, M.; Farooq-i-Azam, M.; Ni, Q.; Dong, M.; Ansari, E.A. Wireless charging systems for electric vehicles. Renew. Sustain. Energy Rev. 2022, 167, 112730. [Google Scholar] [CrossRef]
- Hossain Lipu, M.S.; Miah, M.S.; Ansari, S.; Wali, S.B.; Jamal, T.; Elavarasan, R.M.; Kumar, S.; Ali, M.M.N.; Sarker, M.R.; Aljanad, A.; et al. Smart Battery Management Technology in Electric Vehicle Applications: Analytical and Technical Assessment toward Emerging Future Directions. Batteries 2022, 8, 219. [Google Scholar] [CrossRef]
- Sheng, K.; Dibaj, M.; Akrami, M. Analysing the Cost-Effectiveness of charging stations for electric vehicles in the UK’s rural areas. World Electr. Veh. J. 2021, 12, 232. [Google Scholar] [CrossRef]
- Leal Filho, W.; Abubakar, I.R.; Kotter, R.; Grindsted, T.S.; Balogun, A.L.; Salvia, A.L.; Aina, Y.A.; Wolf, F. Framing electric mobility for urban sustainability in a circular economy context: An overview of the literature. Sustainability 2021, 13, 7786. [Google Scholar] [CrossRef]
- Mazhar, T.; Asif, R.N.; Malik, M.A.; Nadeem, M.A.; Haq, I.; Iqbal, M.; Kamran, M.; Ashraf, S. Electric Vehicle Charging System in the Smart Grid Using Different Machine Learning Methods. Sustainability 2023, 15, 2603. [Google Scholar] [CrossRef]
- Elkasrawy, M.A.; Abdellatif, S.O.; Ebrahim, G.A.; Ghali, H.A. Real-time optimization in electric vehicle stations using artificial neural networks. Electr. Eng. 2023, 105, 79–89. [Google Scholar] [CrossRef]
- Shuvo, S.S.; Yilmaz, Y. Predictive maintenance for increasing ev charging load in distribution power system. In Proceedings of the 2020 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Tempe, AZ, USA, 11–13 November 2020; pp. 1–6. [Google Scholar]
- Etesami, S.R.; Saad, W.; Mandayam, N.B.; Poor, H.V. Smart routing of electric vehicles for load balancing in smart grids. Automatica 2020, 120, 109148. [Google Scholar] [CrossRef]
- Bourass, A.; Cherkaoui, S.; Khoukhi, L. Secure communication scheme for electric vehicles in the smart grid. In Proceedings of the GLOBECOM 2017-2017 IEEE Global Communications Conference, Singapore, 4–8 December 2017; pp. 1–5. [Google Scholar]
- Bahrami, A. EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards. Changes 2020, 1, 1–10. [Google Scholar]
- Bao, K.; Valev, H.; Wagner, M.; Schmeck, H. A threat analysis of the vehicle-to-grid charging protocol ISO 15118. Comput. Sci.-Res. Dev. 2018, 33, 3–12. [Google Scholar] [CrossRef]
- Van Den Bossche, P. IEC 61851-1: Electric vehicle conductive charging system-Part 1: General requirements. In Automotive Industry Standard Part 2; IEC: London, UK, 2010; pp. 1–99. [Google Scholar]
- Garofalaki, Z.; Kosmanos, D.; Moschoyiannis, S.; Kallergis, D.; Douligeris, C. Electric vehicle charging: A survey on the security issues and challenges of the open charge point protocol (OCPP). IEEE Commun. Surv. Tutor. 2022, 24, 1504–1533. [Google Scholar] [CrossRef]
- Hussain, M.M.; Alam, M.S.; Beg, M.M.S. Plug-in electric vehicle to cloud data analytics for charging management. IJET 2017, 9, 361–370. [Google Scholar]
- Mikuso. OCPP-RPC: A node.js Client and Server Implementation of the WAMP-like RPC-over-Websocket System Defined in the OCPP-J Protocols. Available online: https://github.com/mikuso/ocpp-rpc (accessed on 15 July 2023).
- Victormunoz. OCPP-1.6-Chargebox-Simulator: A Simple Chargepoint Simulator, Working with OCPP 1.6. Available online: https://github.com/victormunoz/OCPP-1.6-Chargebox-Simulator (accessed on 3 August 2023).
- React—A JavaScript Library for Building User Interfaces. Available online: https://legacy.reactjs.org/ (accessed on 18 July 2023).
- Kainu, I. Optimization in React.js: Methods, Tools, and Techniques to Improve Performance of Modern Web Applications. Bachelor’s Thesis, Tampere University, Tampere, Finland, 2022. [Google Scholar]
- Shah, H.; Soomro, T.R. Node. js challenges in implementation. Glob. J. Comput. Sci. Technol. 2017, 17, 73–83. [Google Scholar]
- Staicu, C.A.; Pradel, M.; Livshits, B. Understanding and automatically preventing injection attacks on Node. js. In Proceedings of the Network and Distributed System Security Symposium (NDSS), San Diego, CA, USA, 18–21 February 2018. [Google Scholar]
- Mardan, A.; Mardan, A.; Corrigan. Full Stack JavaScript: Learn Backbone. js, Node. js, and MongoDB; Springer: Berlin/Heidelberg, Germany, 2018; pp. 239–256. [Google Scholar]
- Braunfels, N.S.J. Tesla Motors: Disrupting the Automotive Industry. Master’s Thesis, Universidade NOVA de Lisboa (Portugal), Lisbon, Portugal, 2021. [Google Scholar]
- LaMonaca, S.; Ryan, L. The state of play in electric vehicle charging services–A review of infrastructure provision, players, and policies. Renew. Sustain. Energy Rev. 2022, 154, 111733. [Google Scholar] [CrossRef]
- Broadbent, G.H.; Drozdzewski, D.; Metternicht, G. Electric vehicle adoption: An analysis of best practice and pitfalls for policy making from experiences of Europe and the US. Geogr. Compass 2018, 12, e12358. [Google Scholar] [CrossRef]
- Kirchner, S.R. OCPP Interoperability: A Unified Future of Charging. World Electr. Veh. J. 2024, 15, 191. [Google Scholar] [CrossRef]
- UKTN. EV Charger Management Startup Fuuse Raises £8.7m. Available online: https://www.uktech.news/energy/fuuse-ev-charger-raises-8-7m-20240605 (accessed on 2 August 2024).
- Devendra, D.; Mante, S.; Niteesh, D.; Hussain, A.M. Electric Vehicle Charging Station using Open Charge Point Protocol (OCPP) and oneM2M Platform for Enhanced Functionality. In Proceedings of the TENCON 2021-2021 IEEE Region 10 Conference (TENCON), Auckland, New Zealand, 7–10 December 2021; pp. 1–5. [Google Scholar]
- Pruthvi, T.V.; Dutta, N.; Bobba, P.B.; Vasudeva, B.S. Implementation of OCPP protocol for electric vehicle applications. In Proceedings of the E3S Web of Conferences, Hyderabad, India, 14–16 February 2019; Volume 87, p. 01008. [Google Scholar]
- Saqib, M.; Hussain, M.M.; Alam, M.S.; Beg, M.M.S.; Sawant, A. Smart electric vehicle charging through cloud monitoring and management. Technol. Econ. Smart Grids Sustain. Energy 2017, 2, 18. [Google Scholar] [CrossRef]
Factor | Availability | Peak Time |
---|---|---|
0 | Available | Peak OFF |
0.25 | Partially Available | Peak OFF |
0.5 | Available | Peak ON |
1 | Partially Available | Peak ON |
TID | Dh | Pow | PS | AS | ACM | AC | SPS | OC |
---|---|---|---|---|---|---|---|---|
0 | 30 | 8.8 | 0 | 0 | 0 | 4.6 | 0 | 4.6 |
1 | 60 | 17.6 | 1 | 1 | 1 | 12.0 | 0 | 9.0 |
2 | 75 | 22 | 0 | 1 | 0.25 | 11.2 | 0 | 12.0 |
3 | 120 | 35.2 | 1 | 1 | 1 | 20.8 | 1 | 17.8 |
4 | 30 | 8.8 | 1 | 1 | 1 | 7.6 | 0 | 4.6 |
: | ||||||||
495 | 60 | 17.6 | 0 | 1 | 0.25 | 9.0 | 0 | 9.8 |
496 | 30 | 8.8 | 1 | 1 | 1 | 7.6 | 1 | 4.6 |
497 | 75 | 22 | 1 | 0 | 0.5 | 12.7 | 0 | 11.9 |
498 | 120 | 35.2 | 1 | 0 | 0.5 | 19.3 | 0 | 18.6 |
499 | 120 | 35.2 | 0 | 0 | 0 | 17.8 | 0 | 17.8 |
Case | Peak | Availability | Original | Optimized |
---|---|---|---|---|
Status | Status | Cost | Cost | |
Case 1 | Peak On | Available | 12.44 | 11.69 |
Case 2 | Peak On | Not Available | 13.86 | 10.86 |
Case 3 | Peak Off | Available | 11.45 | 11.45 |
Case 4 | Peak Off | Not Available | 11.39 | 12.14 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Published by MDPI on behalf of the World Electric Vehicle Association. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Hamdare, S.; Brown, D.J.; Cao, Y.; Aljaidi, M.; Kumar, S.; Alanazi, R.; Jugran, M.; Vyas, P.; Kaiwartya, O. A Novel Charging Management and Security Framework for the Electric Vehicle (EV) Ecosystem. World Electr. Veh. J. 2024, 15, 392. https://doi.org/10.3390/wevj15090392
Hamdare S, Brown DJ, Cao Y, Aljaidi M, Kumar S, Alanazi R, Jugran M, Vyas P, Kaiwartya O. A Novel Charging Management and Security Framework for the Electric Vehicle (EV) Ecosystem. World Electric Vehicle Journal. 2024; 15(9):392. https://doi.org/10.3390/wevj15090392
Chicago/Turabian StyleHamdare, Safa, David J. Brown, Yue Cao, Mohammad Aljaidi, Sushil Kumar, Rakan Alanazi, Manish Jugran, Pratik Vyas, and Omprakash Kaiwartya. 2024. "A Novel Charging Management and Security Framework for the Electric Vehicle (EV) Ecosystem" World Electric Vehicle Journal 15, no. 9: 392. https://doi.org/10.3390/wevj15090392
APA StyleHamdare, S., Brown, D. J., Cao, Y., Aljaidi, M., Kumar, S., Alanazi, R., Jugran, M., Vyas, P., & Kaiwartya, O. (2024). A Novel Charging Management and Security Framework for the Electric Vehicle (EV) Ecosystem. World Electric Vehicle Journal, 15(9), 392. https://doi.org/10.3390/wevj15090392