Submitted:
06 June 2025
Posted:
09 June 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Establishment of a Vehicle Dynamics Model
2.1. Electric Vehicle Simulation Platform
2.2. Driving Cycle Model
2.3. Driver Model
2.4. Drive Motor Model
2.5. Energy Storage Battery Model
2.6. Vehicle Dynamics Model
2.7. Hardware in-the-loop System Architecture
3. Energy Management Strategy
3.1. Rule-based Control Strategy
- Ø System Ready Mode: When the driver’s demanded torque is 0 Nm, the system enters the ready mode, and the commanded motor torque output is also set to 0 Nm.
- Ø Low Load Mode: When the demanded torque is greater than or equal to 0.1 Nm, the vehicle enters the low load mode. In this mode, the demanded torque is shared between the front and rear axis motors with a distribution ratio of 3:7.
- Ø High Load Mode: When the actual vehicle velocity exceeds 50 km/h, the system switches to high load mode. In this mode, the demanded torque is allocated to the rear axis motor, which primarily propels the vehicle.
- Ø Safety Mode: When the demanded torque is 0 Nm and the battery SOC reaches 0, the system enters the safety mode.
- Ø These control rules ensure appropriate power allocation and system response under various operating conditions.
3.2. Global Grid Search Method
- Ø The GGS search method involves three nested loops used for globally searching discretized values of demanded torque and motor speed.
- Ø The program uses "if-then-else" conditional statements to evaluate various possible operating modes and then calculates parameters such as the efficiency and torque of the front and rear axis motors.
- Ø Based on the concept of minimum power consumption, the power consumption under different conditions is calculated. For a fixed motor speed and demanded torque, the minimum power consumption under different dual-motor torque distributions can be used to determine the optimal power distribution ratio.
3.3. Whale Optimization Algorithm
- Ø Initialization: In this stage, initial parameters are set and the initial positions of the whales are generated. To prevent the algorithm from falling into local optima, the whales are uniformly distributed throughout the search space. The initial positions are defined by Equation (17):
- 2. Surround prey: The whale identifies the position of the prey and encircles it. In the WOA, it is assumed that the current best solution is the target prey or is close to the optimal solution [42]. Once the best search formula is defined, other search agents will attempt to update their positions toward the best one. This behavior can be expressed by the following equation:
- 3. Bubble-net attacking method: There are two methods for modeling the whale's bubble-net feeding behavior: (1) the shrinking surround mechanism, and (2) the spiral position update [43]. As shown in Equation (20), this behavior is achieved by gradually decreasing the value of
- 4. Search for prey: In addition to using the bubble-net method, whales also exhibit random prey-searching behavior during foraging, as illustrated in Figure 11. This behavior is based on a variable
- 5. Record the current highest profit until the search stopping condition is met: WOA continuously updates the optimal solution through iterative searching (i.e., minimizing the objective function defined in this study). Once the search stopping condition is met, the algorithm outputs the optimal solution; otherwise, it returns to steps (2), (3), and (4) to continue the computation until the stopping condition is satisfied or the computation is complete [46].

4. Simulation and Experimental Results
4.1. GGS Grid Point Testing
4.2. Parameter Adjustment Testing of Whale Optimization Algorithm
4.3. Comparison of Vehicle Velocity Results
4.4. Torque Output Results under the Different Control Strategies
4.5. HIL output results under the Different Control Strategies
4.6. Torque Output Results under the Different Control Strategies
5. Conclusions
- Ø Dual-Motor Electric Vehicle Model Development: A physics-based control model was developed using existing Tesla Model X vehicle parameters. Speed-tracking simulations were performed under various control strategies. The constructed model comprises sub-models for the driving cycle, driver behavior, electric motor dynamics, lithium battery characteristics, vehicle dynamics, and the energy management system, ensuring reliable and stable operation of the front and rear axle motor systems in practical applications.
- Ø Application of Energy Control Strategies: Based on the dual-motor system simulation platform developed in Matlab/Simulink®, the study implemented and tested three different control strategies: RBC, GGS and WOA.
- Ø Validation via Pure Simulation and HIL Simulation: A closed-loop real-time simulation platform was established using an Arduino DUE microcontroller and a TI C2000 microcontroller in series. This platform was used to verify the WOA-based energy management system. Real-time computation was carried out in a HIL environment, and the results were compared with those from the pure simulation to assess consistency.
- Ø Validation Under FTP-75 Driving Cycle:
- Ø Pure Simulation: Compared with the RBC, GGS and WOA control strategies improved energy efficiency by 9.1 % and 8.9 %, respectively.
- Ø HIL Simulation: Under HIL conditions, energy efficiency improvements of 4.2 % and 3.8 % were achieved using GGS and WOA, respectively, compared to the RBC.
Author Contributions
Funding
Conflicts of Interest
Nomenclature
| power distribution ratio of the first gear | |
| represents the relationship between battery | |
| rolling resistance coefficient | |
| air density | |
| efficiency of the battery charge and discharge | |
| overall efficiency of the final drive | |
| efficiency of the drive motor | |
| efficiency of the front axis motor | |
| efficiency of the rear axis motor | |
| the step coefficient | |
| frontal area of the EV | |
| decreases linearly from 2 to 0 during the iteration process | |
| a constant that defines the shape of the spiral bubble-net | |
| the weighting coefficient | |
| drag coefficient | |
| the position vector between the whale and a randomly selected prey | |
| the spatial vector between the whale and the current best prey position | |
| input power of the front axis motor | |
| input power of the rear axis motor | |
| braking force | |
| gravitational acceleration | |
| charge and discharge current of the battery | |
| optimal objective function | |
| a random number between [−1, 1] | |
| integral gain of the PI controller | |
| proportional gain of the PI controller | |
| the lower bound of the control variable being searched | |
| total vehicle mass | |
| wheel speed of the drive motor | |
| maximum number of iterations | |
| the maximum number of iterations | |
| the current iteration number | |
| probability | |
| discharge power of the battery | |
| rated capacity of the lithium battery | |
| equivalent internal resistance of the lithium battery gradient resistance | |
| wheel radius | |
| the random vector within the range [0, 1] | |
| state of charge for lithium battery | |
| state of charge initial value of lithium battery | |
| total demand torque | |
| the output torque of the final drive | |
| output torque of the drive motor | |
| output torque of the front axis motor | |
| output torque of the rear axis motor | |
| time or current number of iterations | |
| the temperature of the battery | |
| the upper bound of the control variable being searched | |
| the dimensional size of the control variable | |
| voltage of the lithium battery | |
| vehicle velocity | |
| open circuit voltage of the lithium battery | |
| the error between the demand vehicle velocity and the actual vehicle velocity | |
| population size of whale | |
| the current position | |
| the position of the current best solution | |
| the current random position of the whale population | |
References
- Meng, Y.B.; Kong, H.F.; Liu, T.K. Multi-Source Information Fusion for Environmental Perception of Intelligent Vehicles Using Sage-Husa Adaptive Extended Kalman Filtering. Sensors 2025, 25, 198. [Google Scholar] [CrossRef] [PubMed]
- Qarout, Y.; Raykov, Y.P.; Little, M.A. Probabilistic Modelling for Unsupervised Analysis of Human Behaviour in Smart Cities. Sensors 2020, 20, 784. [Google Scholar] [CrossRef]
- Li, F.X.; Wang, X.L.; Bao, X.C.; Wang, Z.Y.; Li, R.X. Energy Management Strategy for Fuel Cell Vehicles Based on Online Driving Condition Recognition Using Dual-Model Predictive Control. Sensors 2024, 24, 7647. [Google Scholar] [CrossRef]
- Pang, Q.H.; Qiu, M.; Zhang, L.; Chiu, Y.H. Congestion effects of Energy and its Influencing Factors: China's Transportation Sector. Socio-Economic Planning Sciences 2024, 92, 101850. [Google Scholar] [CrossRef]
- Nunes, L.J.R. The Rising Threat of Atmospheric CO2: A Review on the Causes, Impacts, and Mitigation Strategies. Environments 2023, 10, 66. [Google Scholar] [CrossRef]
- Thomas, F.; Livio, F.A.; Ferrario, F.; Pizza, M.; Chalaturnyk, R. A Review of Subsidence Monitoring Techniques in Offshore Environments. Sensors 2024, 24, 4164. [Google Scholar] [CrossRef]
- Wang, J.W.; Topilin, I.; Feofilova, A.; Shao, M.; Wang, Y.D. Cooperative Intelligent Transport Systems: The Impact of C-V2X Communication Technologies on Road Safety and Traffic Efficiency. Sensors 2025, 25, 2132. [Google Scholar] [CrossRef]
- Elsheikh, A.; Ali, A.B.M.; Saba, A.; Faqeha, H.; Alsaati, A.A.; Maghfuri, A.M.; Abd-Elaziem, W.; Ashmawy, A.A.E.; Ma, N.S. A Review on Sustainable Machining: Technological Advancements, Health and Safety Considerations, and Related Environmental Impacts. Results in Engineering 2024, 24, 103042. [Google Scholar] [CrossRef]
- Yang, K.X.; Zhang, Q.; Liu, Q.Q.; Liu, J.F.; Jiao, J. Effect Mechanism and Efficiency Evaluation of Financial Support on Technological Innovation in the New Energy Vehicles’ Industrial Chain. Energy 2024, 293, 130761. [Google Scholar] [CrossRef]
- Wójcik, G.; Przystałka, P. Towards Safer Electric Vehicles: Autoencoder-Based Fault Detection Method for High-Voltage Lithium-Ion Battery Packs. Sensors 2025, 25, 1369. [Google Scholar] [CrossRef]
- Oubelaid, A.; Taib, N.; Rekioua, T.; Bajaj, M.; Blazek, V.; Prokop, L.; Misak, S.; Ghoneim, S.S.M. Multi Source Electric Vehicles: Smooth Transition Algorithm for Transient Ripple Minimization. Sensors 2022, 22, 6772. [Google Scholar] [CrossRef] [PubMed]
- Kwon, H.J.; Choi, Y.G.; Choi, W.S.; Lee, S.W. Multimode Dual-motor Electric Vehicle System for Eco and Dynamic Driving. Results in Engineering 2023, 19, 101298. [Google Scholar] [CrossRef]
- Rani, S.; Jayapragash, R. Review on Electric Mobility: Trends, Challenges and Opportunities. Results in Engineering 2024, 23, 102631. [Google Scholar]
- Wang, D.; Mei, L.; Xiao, F.; Song, C.X.; Qi, C.Y.; Song, S.X. Energy Management Strategy for Fuel Cell Electric Vehicles Based on Scalable Reinforcement Learning in Novel Environment. International Journal of Hydrogen Energy 2024, 59, 668–678. [Google Scholar] [CrossRef]
- Tariq, A.H.; Anwar, M.; Kazmi, S.A.A.; Hassan, M.; Bahadar, A. Techno-economic and Composite Performance Assessment of Fuel Cell-based Hybrid Energy Systems for Green Hydrogen Production and Heat Recovery. International Journal of Hydrogen Energy 2025, 104, 444–462. [Google Scholar] [CrossRef]
- Takrouri, M.A.; Idris. N.R.N.; Aziz, M.J.A.; Ayop, R.; Low, W.Y. Refined Power Follower Strategy for Enhancing the Performance of Hybrid Energy Storage Systems in Electric Vehicles. Results in Engineering 2025, 25, 103960. [Google Scholar] [CrossRef]
- Wang, Z.; Zhou, J.; Rizzoni, G. A Review of Architectures and Control Strategies of Dual-motor Coupling Powertrain Systems for Battery Electric Vehicles. Renewable and Sustainable Energy Reviews 2022, 162, 112455. [Google Scholar] [CrossRef]
- Zhai, L.; Zhang, X.Y.; Wang, Z.D.; Mok, Y.M.; Hou, R.F.; Hou, Y.H. Steering Stability Control for Four-Motor Distributed Drive High-Speed Tracked Vehicles. IEEE Access 2020, 8, 94968–94983. [Google Scholar] [CrossRef]
- Khadatkar, A.; Sujit, P.B.; Agarwal, R.; Viswanath, K.; Sawant, C.P.; Magar, A.P.; Chaudhary, V.P. WeeRo: Design, Development and Application of a Remotely Controlled Robotic Weeder for Mechanical Weeding in Row Crops for Sustainable Crop Production. Results in Engineering 2025, 26, 105202. [Google Scholar] [CrossRef]
- Tian, Y.; Wang, Z.H.; Ji, X.Y.; Ma, L.; Zhang, L.P.; Hong, X.Q.; Zhang, N. A Concept Dual-motor Powertrain for Battery Electric Vehicles: Principle, Modeling and Mode-shift. Mechanism and Machine Theory 2023, 185, 105330. [Google Scholar] [CrossRef]
- Zhang, F.Q.; Wang, L.H.; Coskun, S.; Pang, H.; Cui, Y.H.; Xi, J.Q. Energy Management Strategies for Hybrid Electric Vehicles: Review, Classification, Comparison, and Outlook. Energies 2020, 13, 3352. [Google Scholar] [CrossRef]
- Xu, Y.H.; Zhang, H.G.; Yang, Y.F.; Zhang, J.; Yang, F.B.; Yan, D.; Yang, H.L.; Wang, Y. Optimization of Energy Management Strategy for Extended Range Electric Vehicles Using Multi-island Genetic Algorithm. Journal of Energy Storage 2023, 61, 106802. [Google Scholar] [CrossRef]
- Oliveira Farias, H.E.; Sepulveda Rangel, C.A.; Weber Stringini, L.; Neves Canha, L.; Pegoraro Bertineti, D.; da Silva Brignol, W.; Iensen Nadal, Z. Combined Framework with Heuristic Programming and Rule-Based Strategies for Scheduling and Real Time Operation in Electric Vehicle Charging Stations. Energies 2021, 14, 1370. [Google Scholar] [CrossRef]
- Ullah, K.; Ishaq, M.; Tchier, F.; Ahmad, H.; Ahmad, Z. Fuzzy-based Maximum Power Point Tracking (MPPT) Control System for Photovoltaic Power Generation System. Results in Engineering 2023, 20, 101466. [Google Scholar] [CrossRef]
- Yang, C.; Du, S.Y.; Li, L.; You, S.X.; Yang, Y.Y.; Zhao, Y. Adaptive Real-time Optimal Energy Management Strategy Based on Equivalent Factors Optimization for Plug-in Hybrid Electric Vehicle. Applied Energy 2017, 203, 883–896. [Google Scholar] [CrossRef]
- Mao, T.; Zhang, X.; Zhou, B.R. Intelligent Energy Management Algorithms for EV-charging Scheduling with Consideration of Multiple EV Charging Modes. Energies 2019, 12, 265. [Google Scholar] [CrossRef]
- Korkas, C.D.; Terzopoulos, M.; Tsaknakis, C.; Kosmatopoulos, E.B. Nearly Optimal Demand Side Management for Energy, Thermal, EV and Storage Loads: An Approximate Dynamic Programming Approach for Smarter Buildings. Energy and Buildings 2022, 255, 111676. [Google Scholar] [CrossRef]
- Abdullah-Al-Nahid. S.; Khan. T.A.; Taseen. M.A.; Jamal. T.; Aziz. T. A Novel Consumer-friendly Electric Vehicle Charging Scheme with Vehicle to Grid Provision Supported by Genetic Algorithm Based Optimization. Journal of Energy Storage 2022, 50, 104655. [Google Scholar] [CrossRef]
- Cheng, J.C.; Xu, J.D.; Chen, W.T.; Song, B.B. Locating and Sizing Method of Electric Vehicle Charging Station Based on Improved Whale Optimization Algorithm. Energy Reports 2022, 8, 4386–4400. [Google Scholar] [CrossRef]
- Saha. N.; Mishra. P.C. Modified Whale Algorithm-Based Optimization for Fractional Order Concurrent Diminution of Torque Ripple in Switch Reluctance Motor for EV Applications. Processes 2023, 11, 1226. [Google Scholar] [CrossRef]
- Tesla Model X. (2025). [Online]. Available online: https://www.tesla.com/ownersmanual/modelx/en_us/ (accessed on 3 June 2025).
- ZEPT EDM-S (2025). [Online]. 3 June. Available online: https://www.zept.com.tw/edm1-s-p95 (accessed on 3 June 2025).
- Baek, S.H.; Cho, J.H.; Kim, K.J.; Ahn, S.H.; Myung, C.L.; Park, S.S. Effect of the Metal-Foam Gasoline Particulate Filter (GPF) on the Vehicle Performance in a Turbocharged Gasoline Direct Injection Vehicle over FTP-75. International Journal of Automotive Technology 2020, 21, 1139–1147. [Google Scholar] [CrossRef]
- Zheng, W.J.; Luo. Y.; Pi. Y.G.; Chen. Y.Q. Improved Frequency-domain Design Method for the Fractional Order Proportional–integral–derivative Controller Optimal Design: a Case Study of Permanent Magnet Synchronous Motor speed Control. IET Control Theory & Applications 2018, 12, 2478–2487. [Google Scholar]
- Uralde, J.; Barambones, O.; Artetxe, E.; Calvo, I.; del Rio, A. Model Predictive Control Design and Hardware in the Loop Validation for an Electric Vehicle Powertrain Based on Induction Motors. Electronics 2023, 12, 4516. [Google Scholar] [CrossRef]
- Gong, W.M.; Liu, C.; Zhao, X.B.; Xu, S.K. A Model Review for Controller-hardware-in-the-loop Simulation in EV Powertrain Application. IEEE Transactions on Transportation Electrification 2024, 10, 925–937. [Google Scholar] [CrossRef]
- Cha, M.; Enshaei, H.; Nguyen, H.; Jayasinghe, S.G. Towards a Future Electric Ferry Using Optimisation-based Power Management Strategy in Fuel Cell and Battery Vehicle Application — A Review. Renewable and Sustainable Energy Reviews 2023, 183, 113470. [Google Scholar] [CrossRef]
- Louback, E.; Biswas, A.; Machado, F.; Emadi, A. A Review of the Design Process of Energy Management Systems for Dual-motor Battery Electric Vehicles. Renewable and Sustainable Energy Reviews 2024, 193, 114293. [Google Scholar] [CrossRef]
- Sahwal, C.P.; Sengupta, S.; Dinh, T.Q. Advanced Equivalent Consumption Minimization Strategy for Fuel Cell Hybrid Electric Vehicles. Journal of Cleaner Production 2024, 437, 140366. [Google Scholar] [CrossRef]
- Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Advances in Engineering Software 2016, 95, 51–67. [Google Scholar] [CrossRef]
- Zhang, H.; Tang, L.; Yang, C.; Lan, S.L. Locating Electric Vehicle Charging Stations with Service Capacity Using the Improved Whale Optimization Algorithm. Advanced Engineering Informatics 2019, 41, 100901. [Google Scholar] [CrossRef]
- Li, Y.; Pei, W.; Zhang, Q. Improved Whale Optimization Algorithm Based on Hybrid Strategy and Its Application in Location Selection for Electric Vehicle Charging Stations. Energies 2022, 15, 7035. [Google Scholar] [CrossRef]
- Shaheen, H.I.; Rashed, G.I.; Yang, B.; Yang, J. Optimal Electric Vehicle Charging and Discharging Scheduling Using Metaheuristic Algorithms: V2G Approach for Cost Reduction and Grid Support. Journal of Energy Storage 2024; 90, 111816. [CrossRef]
- Adil, H.M.M.; Khan, H.A. WOA-tuned Supertwisted Synergetic Control of Multipurpose On-board Charger for G2V/V2G/V2V Operational Modes of Electric Vehicles. Control Engineering Practice 2025, 154, 106136. [Google Scholar] [CrossRef]
- Siahroodi, H.J.; Mojallali, H.; Mohtavipour, S.S. A Novel Multi-objective Framework for Harmonic Power Market Including Plug-in Electric Vehicles as Harmonic Compensators Using a New Hybrid Gray Wolf-whale-differential Evolution Optimization. Journal of Energy Storage 2022, 52, 105011. [Google Scholar] [CrossRef]
- Tang, M.N.; Jiang, Y.D.; Yu, S.Y.; Qiu, J.D.; Li, H.T.; Sheng, W.X. Non-dominated Sorting WOA Electric Vehicle Charging Station Siting Study Based on Dynamic Trip Chain. Electric Power Systems Research 2025, 244, 111532. [Google Scholar] [CrossRef]



















| Item | Specification | |
|---|---|---|
| Drive Motor | Type | Permanent Magnet Synchronous |
| Maximum Output Power | 250 kW*2 | |
| Maximum Output Torque | 250 Nm@4,750 rpm | |
| Energy Storage Battery | Type | Lithium-ion Battery |
| Rated Voltage | 432 V | |
| Maximum Capacity | 64.58 kWh | |
| Vehicle Parameters | Vehicle Mass | 2373 kg |
| Aerodynamic Drag Coefficient | 0.24 | |
| Frontal Area | 3.5 m2 | |
| Tire Radius | 0.275 m | |
| Rolling Resistance | 0.01 | |
| Final Drive Ratio | 9.78 | |
| Road Friction Coefficient | 0.95 | |
| Range | Arduino DUE | Conversion | Ti C2000 | ||
|---|---|---|---|---|---|
| -- | Digital | Analog | -- | Digital | Analog |
| Min. | 0 | 0.56 V | DAC | 0 | 0 V |
| Max. | 4095 | 2.76 V | 4095 | 3 V | |
| Min. | 0 | 0 V | ADC | 0 | 0 V |
| Max. | 4095 | 3.3 V | 4095 | 3 V | |
| Mode | Condition | Action |
|---|---|---|
| System Ready | Nm | Nm; Nm |
| Low Load | Nm | ; |
| High Load | 50 km/h < | Nm; |
| Safety | = 0 Nm and SOC = 0 | Nm; Nm |
| Parameter | Value |
|---|---|
| 0 : 50 : 250 | |
| 0 : 500 : 13000 | |
| 0 : 0.1 : 1 |
| Parameter | Value |
|---|---|
| 50 | |
| 340 | |
| [0, 1] Random Value | |
| 1 | |
| [–1, 1] Random Value | |
| )] |
| Grid Size | Energy Efficiency (km/kWh) |
|---|---|
| 1 | 3.94008 |
| 0.5 | 3.94126 |
| 0.2 | 3.94221 |
| 0.1 | 3.94261 |
| 0.01 | 3.94361 |
| 0.005 | N/A |
| 0.001 | N/A |
| Count | 10 | 100 | 200 | 300 | 400 | |
|---|---|---|---|---|---|---|
| Size | ||||||
| 10 | 3.87261 | 3.87987 | 3.88092 | 3.88101 | N/A | |
| 25 | 3.87666 | 3.88024 | 3.88093 | 3.88101 | N/A | |
| 50 | 3.87822 | 3.88045 | 3.88097 | 3.88102 | N/A | |
| 100 | 3.87824 | 3.88045 | 3.88097 | 3.88102 | N/A | |
| 150 | 3.87824 | 3.88045 | 3.88097 | 3.88102 | N/A | |
| Count | 300 | 320 | 340 | 360 | 380 | |
|---|---|---|---|---|---|---|
| Size | ||||||
| 10 | 3.88102 | 3.88113 | 3.88129 | N/A | N/A | |
| Strategy | Energy Efficiency (km/kWh) | Improvement Rate (%) |
|---|---|---|
| RBC | 3.5585 | -- |
| GGS | 3.9188 | 9.1 |
| WOA | 3.9063 | 8.9 |
| Strategy | Energy Efficiency (km/kWh) | Improvement Rate (%) |
|---|---|---|
| RBC | 3.7510 | -- |
| GGS | 3.9137 | 4.2 |
| WOA | 3.8991 | 3.8 |
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. |
© 2025 by the authors. 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 (http://creativecommons.org/licenses/by/4.0/).