TY - JOUR AU - Lv, Aoning AB - 1 Introduction As energy shortage and environmental protection issues become increasingly pressing, the world’s major automobile countries are actively carrying out the research and development of new energy vehicles. Hybrid electric vehicles (HEVs) can optimize energy management and thermal management systems to enhance heat transfer efficiency within the vehicle’s energy transmission system. According to Animasaun et al. [1], the efficiency of heat transfer processes plays a crucial role in addressing energy shortages. Efficient heat transfer determines the effectiveness of energy utilization and conservation within a system, directly influencing overall energy demand and supply dynamics. Commercial vehicles are relatively lagging behind in their new energy transformation due to factors such as large load capacity, complex working environment, high cost, and regulations and policies [2].Compared with pure electric and fuel cell commercial vehicles, methanol hybrid commercial vehicles are less restricted by battery technology. Methanol, as a vehicle fuel alternative, holds promise for easing petroleum shortages and further improving economic and environmental sustainability [3]. With relatively low transition costs and easy industrialization, methanol hybrid commercial vehicles are the trend for future development of hybrid commercial vehicle. The EMS of hybrid vehicles is the core technology, which allocates the torque distribution between the engine and the electric motor in real time during the driving process of the whole vehicle, and the goodness of the EMS affects the economy of the whole vehicle to a large extent. The EMS of hybrid vehicles is the core technology, and the goodness of EMS greatly affects the economy of the whole vehicle. The EMS of hybrid vehicles are mainly divided into four types: energy management strategies based on deterministic rules, energy management strategies based on fuzzy rules, energy management strategies based on global optimization and energy management strategies based on instantaneous optimization [4–6]. The rule-based deterministic EMS assigns fixed control parameters and switches the vehicle to different modes based on its current state, adhering to predetermined limits. This approach primarily relies on subjective experience to optimize economic efficiency. Davis et al. [7] proposes a rule-based adaptive strategy to realize the adjustment of battery charging power according to the change of vehicle demand power. Jeoung et al. [8] obtains the optimal logic threshold value through comparative optimization to achieve the best economic efficiency. The use of swarm intelligence optimization algorithms to find the optimal logic thresholds with the objective of economy and emission minimization[9–11], which significantly improves fuel economy is gaining more and more English in energy management strategies. Although this strategy is simple and efficient, it has poor adaptability and robustness, and cannot be adjusted and optimized with the real-time state of the vehicle. The fuzzy rule-based EMS fuzzyfies the precise values of inputs and uses fuzzy control rules to make decisions on the operating state of the vehicle to achieve regulation and control of the system, thereby improving the adaptability and robustness of energy management. Li et al. [12] proposes a fuzzy EMS in which the real-time state of the vehicle is used as an input, and the vehicle is able to adjust the torque distribution with the real-time state changes, enhancing the flexibility and adaptability of control. Lei et al. [13] proposes the use of a dual-mode controller to control the drive and brake energy recovery, which improves the fuel economy by 6.7% compared to the conventional single fuzzy controller. However, the above study did not consider the driving conditions in the driving charging mode and hybrid driving mode, the two battery SOC working area is not the same, and the setting of fuzzy control affiliation and rules are mostly affected by subjective factors, and can not achieve the global optimization. The EMS based on global optimization is based on a cost function that has been defined and a minimum cost function for the driving conditions, resulting in the best fuel economy for the vehicle. The control parameters are selected through dynamic planning and applied to a rule-based EMS to significantly improve the overall vehicle economy [14, 15]. Mashadi et al. [16] utilized dynamic programming in combination with particle swarm algorithm to determine the optimal operating conditions of the powertrain and then develop control rules. Anselma et al. [17] added the slope weighting method in dynamic programming to improve the computational speed of dynamic programming, which not only greatly improves the computational speed, but also limits its fuel increment relative to the traditional dynamic programming to less than 3.3%. However, the dynamic planning algorithm is complicated to calculate and requires the data of the whole working condition, which makes the practical application relatively difficult. Energy management strategies based on transient optimization are divided into equivalent fuel minimum energy management strategies and model predictive energy management strategies. Transient optimization involves selecting the equivalent fuel consumption or total power consumption as the objective function for optimization at each moment of vehicle operation, thus determining the instantaneous optimal operating point for distributing torque between the engine and the electric motor. Deng et al. [18] used a dynamic programming algorithm to obtain the global optimum equivalent factor, and applied the equivalent factor to the constructed equivalent fuel-minimum control model. Wang et al. [19] used a fuzzy control algorithm as well as an optimization algorithm to find the optimal equivalent factor, respectively. However, the process is complicated and depends on accurate models and data, which is difficult to realize. Xue et al. [20] Model prediction combined with an adaptive equivalent fuel consumption minimization strategy leads to power allocation at planned speeds, thus ensuring fuel economy, adaptability, and global optimality. Zhou et al. [21] designed a mixed-model predictive controller for optimizing a multi-objective EMS problem under vehicle following state to achieve fuel efficiency improvement. But the model prediction needs to solve the optimization problem all the time, which leads to a very complicated computation, and the equivalent fuel minimization strategy is highly dependent on the equivalence factor and the dynamic driving situation, which makes it relatively difficult to be applied in practice. In view of the above problems, this paper proposes an improved DBO optimized multi-fuzzy control EMS for hybrid commercial vehicles. Unlike conventional fuel-hybrid commercial vehicles, this paper utilizes a more environmentally friendly and economical methanol engine. Additionally, compared to the traditional fuzzy control EMS, we incorporate fuzzy control to optimize both the driving charging mode and the hybrid drive mode. This approach avoids the problem of excess engine output capacity caused by different battery SOC working areas in the two modes. In order to achieve the most economical control strategy for the entire vehicle, this paper employs the DBO to optimize the fuzzy controller. However, to address the DBO’s shortcomings, such as susceptibility to local optima and slow convergence, we integrate several enhancements: Tent chaotic mapping for population initialization with positive cosine random assignment, a dung beetle forager fused with the Lévy flight strategy, and the Cauchy Gaussian mutation strategy. These improvements enhance the global optimization speed, convergence speed, and search accuracy of the DBO. The improved DBO is then used to optimize the fuzzy control with the objectives of maximizing vehicle economy and minimizing battery SOC fluctuations. The results indicate that the improved DBO exhibits faster convergence speed, higher convergence accuracy, and greater stability compared to the traditional DBO. This leads to improved vehicle economy and reduced battery SOC fluctuations when optimizing the EMS with multi-fuzzy control. The structure of this paper is as follows: First, a vehicle simulation model is established in AVL Cruise. Second, a rule-based EMS is developed in Simulink. Subsequently, an improved DBO is introduced and compared with the original DBO, genetic algorithm (GA), and particle swarm algorithm (PSO). By incorporating fuzzy control in the driving charging mode and hybrid drive mode, a multi-fuzzy control EMS is established. Then, the improved DBO is used to optimize the fuzzy control, resulting in an EMS based on the optimized fuzzy control. Finally, the feasibility of the proposed method is verified and analyzed through simulation results. Flowchart of the article is shown in Fig 1. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 1. Article flowchart. https://doi.org/10.1371/journal.pone.0313303.g001 2 Modeling and simulation of parallel hybrid heavy duty commercial vehicle 2.1 Parallel hybrid heavy commercial vehicle architecture This paper studies a heavy-duty hybrid commercial vehicle with a methanol engine, and the structure of the system is shown in Fig 2. The whole vehicle has torque inputs from two power sources, the engine and the electric motor, and the engine is connected to the electric motor through a clutch, which is opened and closed by controlling the clutch so as to realize the switching of driving modes. Hybrid electric vehicles can recharge the power battery when the battery SOC falls below a set value, maintaining the balance of the battery SOC. This can reduce the dependence of hybrid vehicles on charging stations during operation and minimize the negative impact on the microgrid [22]. The main parameters of the whole vehicle are shown in Table 1: Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. Hybrid heavy commercial vehicle structure schematic diagram. https://doi.org/10.1371/journal.pone.0313303.g002 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. Vehicle parameters. https://doi.org/10.1371/journal.pone.0313303.t001 2.2 Vehicle dynamics model According to the analysis of the longitudinal forces during the travel of the vehicle and based on the resistance that the car must overcome on the road, the equation of travel of the vehicle is obtained as: (1) Where Ft is the driving force;Ff is the rolling resistance;Fw is the air resistance: Fi is the slope resistance;Fj is the acceleration resistance。 (2) Where f is the rolling resistance coefficient;m is the vehicle mass. The rolling resistance coefficient is affected by the road surface condition and vehicle speed. (3) Where CD is the air resistance coefficient; A is the windward area of the vehicle;va is the traveling speed of the vehicle. (4) Where α is the inclination angle of the ramp;G is the vehicle gravity. (5) Where δ is the mass proportionality coefficient; the driving force required to move the vehicle, Ft is shown in Eq (6): (6) Where ig is the transmission ratio;i0 is the main reduction ratio;η is the mechanical efficiency of the entire driveline; r is the wheel rolling radius; that is the demand torque Treq is shown in Eq (7): (7) 2.3 Methanol engine model Methanol, which has a higher content of oxygen atoms, is more easily and completely combusted, resulting in lower emissions [23]. The development of alternative fuels for automobiles is one of the most effective ways to solve the shortage of oil resources, and methanol is an alternative fuel for automobiles with great potential for application and market prospects. On the one hand, compared with other alternative fuels, the industrial chain of methanol production and manufacturing is mature, with a good industrial base and a large industrial scale, and it is liquid at room temperature and pressure, which makes it easy to be transported and used. The engine used in this paper is 15L methanol engine. The parameters are shown in Table 2. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. Methanol engine parameters. https://doi.org/10.1371/journal.pone.0313303.t002 Since the focus of this paper is not on the dynamic characteristics of the engine, the engine is simplified to a static model for the convenience of the study, and its engine universal diagram is shown in Fig 3. The transient engine methanol consumption rate can be expressed by Eq (8), which is a function of engine speed and torque. (8) Where is the engine methanol consumption rate;Te (t) is the engine torque; ne (t) is the engine speed. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. Engine methanol consumption contour plot. https://doi.org/10.1371/journal.pone.0313303.g003 2.4 Motor model The selection of the electric motor is critical to the overall EMS, and the motor should be able to replace the engine in its inefficient operating zone during the entire vehicle’s travel, ensuring that the engine operates in its efficient zone. Table 3 shows the parameters of the motor. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Motor parameters. https://doi.org/10.1371/journal.pone.0313303.t003 The motor map is obtained from the motor speed, torque, and efficiency as shown in Fig 4. The power of the motor can be expressed as a function of motor torque, speed and efficiency. Eqs (9) and (10) indicate that the motor is used as a drive motor as well as a generator, respectively. (9) (10) Where pem (t) is the motor power; Tem (t) is the motor torque; nem (t) is the motor speed; ηm (t) is the efficiency when the motor is driven; ηg(t) is the efficiency of the motor when generating electricity. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. Motor efficiency map. https://doi.org/10.1371/journal.pone.0313303.g004 2.5 Vehicle simulation modeling In order to obtain simulation results close to the real driving conditions, this paper utilizes AVL Cruise software to establish the physical model, establishes the control strategy in Matlab/Simulink software, and utilizes the co-simulation interface to make the established control strategy as the vehicle control unit (VCU). As shown in Fig 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Physical modeling of parallel hybrid electric vehicles. https://doi.org/10.1371/journal.pone.0313303.g005 2.1 Parallel hybrid heavy commercial vehicle architecture This paper studies a heavy-duty hybrid commercial vehicle with a methanol engine, and the structure of the system is shown in Fig 2. The whole vehicle has torque inputs from two power sources, the engine and the electric motor, and the engine is connected to the electric motor through a clutch, which is opened and closed by controlling the clutch so as to realize the switching of driving modes. Hybrid electric vehicles can recharge the power battery when the battery SOC falls below a set value, maintaining the balance of the battery SOC. This can reduce the dependence of hybrid vehicles on charging stations during operation and minimize the negative impact on the microgrid [22]. The main parameters of the whole vehicle are shown in Table 1: Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 2. Hybrid heavy commercial vehicle structure schematic diagram. https://doi.org/10.1371/journal.pone.0313303.g002 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 1. Vehicle parameters. https://doi.org/10.1371/journal.pone.0313303.t001 2.2 Vehicle dynamics model According to the analysis of the longitudinal forces during the travel of the vehicle and based on the resistance that the car must overcome on the road, the equation of travel of the vehicle is obtained as: (1) Where Ft is the driving force;Ff is the rolling resistance;Fw is the air resistance: Fi is the slope resistance;Fj is the acceleration resistance。 (2) Where f is the rolling resistance coefficient;m is the vehicle mass. The rolling resistance coefficient is affected by the road surface condition and vehicle speed. (3) Where CD is the air resistance coefficient; A is the windward area of the vehicle;va is the traveling speed of the vehicle. (4) Where α is the inclination angle of the ramp;G is the vehicle gravity. (5) Where δ is the mass proportionality coefficient; the driving force required to move the vehicle, Ft is shown in Eq (6): (6) Where ig is the transmission ratio;i0 is the main reduction ratio;η is the mechanical efficiency of the entire driveline; r is the wheel rolling radius; that is the demand torque Treq is shown in Eq (7): (7) 2.3 Methanol engine model Methanol, which has a higher content of oxygen atoms, is more easily and completely combusted, resulting in lower emissions [23]. The development of alternative fuels for automobiles is one of the most effective ways to solve the shortage of oil resources, and methanol is an alternative fuel for automobiles with great potential for application and market prospects. On the one hand, compared with other alternative fuels, the industrial chain of methanol production and manufacturing is mature, with a good industrial base and a large industrial scale, and it is liquid at room temperature and pressure, which makes it easy to be transported and used. The engine used in this paper is 15L methanol engine. The parameters are shown in Table 2. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 2. Methanol engine parameters. https://doi.org/10.1371/journal.pone.0313303.t002 Since the focus of this paper is not on the dynamic characteristics of the engine, the engine is simplified to a static model for the convenience of the study, and its engine universal diagram is shown in Fig 3. The transient engine methanol consumption rate can be expressed by Eq (8), which is a function of engine speed and torque. (8) Where is the engine methanol consumption rate;Te (t) is the engine torque; ne (t) is the engine speed. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 3. Engine methanol consumption contour plot. https://doi.org/10.1371/journal.pone.0313303.g003 2.4 Motor model The selection of the electric motor is critical to the overall EMS, and the motor should be able to replace the engine in its inefficient operating zone during the entire vehicle’s travel, ensuring that the engine operates in its efficient zone. Table 3 shows the parameters of the motor. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 3. Motor parameters. https://doi.org/10.1371/journal.pone.0313303.t003 The motor map is obtained from the motor speed, torque, and efficiency as shown in Fig 4. The power of the motor can be expressed as a function of motor torque, speed and efficiency. Eqs (9) and (10) indicate that the motor is used as a drive motor as well as a generator, respectively. (9) (10) Where pem (t) is the motor power; Tem (t) is the motor torque; nem (t) is the motor speed; ηm (t) is the efficiency when the motor is driven; ηg(t) is the efficiency of the motor when generating electricity. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 4. Motor efficiency map. https://doi.org/10.1371/journal.pone.0313303.g004 2.5 Vehicle simulation modeling In order to obtain simulation results close to the real driving conditions, this paper utilizes AVL Cruise software to establish the physical model, establishes the control strategy in Matlab/Simulink software, and utilizes the co-simulation interface to make the established control strategy as the vehicle control unit (VCU). As shown in Fig 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 5. Physical modeling of parallel hybrid electric vehicles. https://doi.org/10.1371/journal.pone.0313303.g005 3 Rule-based control strategy working mode switching and working principle The key to the design of the rule-based torque coordination control strategy is to utilize the logic threshold value parameter, the optimal operating region of the engine and the power battery to control the switching of the operation mode and the torque allocation. The logic threshold value parameters are set as in Table 4. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 4. Logic threshold settings. https://doi.org/10.1371/journal.pone.0313303.t004 The EMS for hybrid vehicles aims to keep the engine operating in its high-efficiency zone while limiting the SOC variations of the power battery, avoiding overcharging and over-discharging to extend battery life. In order to realize the above purpose, the efficient operating zone of the engine needs to be determined first. Its high-efficiency speed zone is set as 1000rpm-1400rpm,and the maximum output curve Tmax, the optimal economic curve TOpt, and the minimum torque output Tmin, and the high-efficiency working zone of the engine in this paper is shown in Fig 6. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 6. Division of engine working area. https://doi.org/10.1371/journal.pone.0313303.g006 According to the power battery’s charging and discharging internal resistance change curve, delineate the minimum SOCmin and maximum SOCmax value of the battery SOC work, so that the battery is always working in the high efficiency zone, but in the actual operation process we need to set a target value of SOC, as shown in Fig 7. When the battery is lower than this target value for replenishment, this paper sets the battery to work in the range of [0.3 0.8], and sets the target value of the battery SOC to 0.45, so as to ensure that the power is maintained during the driving process, and to avoid excessive charging and discharging of the battery. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 7. Division of power battery working area. https://doi.org/10.1371/journal.pone.0313303.g007 Since the power source of the whole vehicle consists of the engine and the motor together, the optimal torque distribution is realized in order to improve the economy of the whole vehicle. The operation modes and switching conditions are shown in Table 5. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 5. Operating modes and switching conditions. https://doi.org/10.1371/journal.pone.0313303.t005 4 Fuzzy control energy management strategy based on improved dung beetle algorithm optimization In the rule-based control strategy, the allocation of torque can only be deployed according to human regulations, and the adaptability is poor, so most scholars integrate fuzzy controllers into control strategy to improve the robustness and adaptability of the control strategy. In this paper, the improved DBO is used to optimize the multi-fuzzy controller to maximize the economic efficiency of the whole vehicle under the premise of ensuring the dynamics of the whole vehicle. 4.1 Improving the dung beetle algorithm Despite its outstanding performance, the DBO algorithm still has some problems that need to be solved, such as the relative lack of global exploration capability, which makes it easy to fall into local optimal solutions [24]. For applications that require accurate optimization in the problem solution space, the algorithm must have both good global search capability and local search capability. To address this, the Tent chaotic mapping fusion positive cosine population initialization improvement strategy, the dung beetle forager fusion Lévy flight strategy, and the Cauchy Gaussian variation strategy are incorporated into the DBO, and the Chaotic Cauchy Variation DBO (TLK-DBO) is developed. (1) Tent chaotic mapping combined with sine and cosine population initialization improvement strategy. Population initialization significantly influences the convergence speed and optimal solutions of global optimization searches. The traditional random distribution used in DBO algorithm population initialization may fail to ensure diversity and effectiveness, whereas Tent chaotic mapping is renowned for its extensive randomness, continuity, smoothness, and enhanced diversity. These properties together enable the initial population to uniformly cover the entire search space, thereby avoiding premature convergence to local optima and ensuring a smooth search process that balances exploration and exploitation needs, thereby enhancing the algorithm’s global search capability and robustness [25].Additionally, this paper integrates Tent chaotic mapping with sine and cosine random assignment strategies, leveraging the advantages of chaotic and trigonometric mappings to further optimize population initialization. The sine and cosine strategies contribute to the breadth and smoothness of the search process, ensuring not only diversity within the population but also uniform distribution across the entire search space. The mathematical model is as follows: (11) (12) The use of Tent chaotic mapping when the value is equal to 0.5 will cause the initialization to fall into a short cycle, in order to avoid this, so that a very small value is added to ensure that it will not be equal to 0.5. At the same time, in order to reduce the emergence of duplicate populations, the chaotic mapping process is coupled with a positive cosine random assignment strategy. Eq (12) is a random assignment value ranging from [0 0.2]. Fig 8 shows the distribution and histogram of the initialization of the population of the DBO algorithm, and the comparison of the figure shows that the repetition of the initialization of the population in the TLK-DBO algorithm is significantly reduced, the distribution of the population is more uniform, and the randomness is higher. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Distribution of initial population. https://doi.org/10.1371/journal.pone.0313303.g008 (2) Dung beetle foragers incorporate Lévy flight strategies. Lévy flights utilize their long-tailed distribution to effectively prevent algorithms from falling into local optima, thereby enhancing their ability to discover global optimal solutions. They can generate large step sizes, accelerating the algorithm’s exploration of the entire search space and improving the efficiency of finding optimal solutions to optimization problems. This strategy is suitable for various complex and diverse optimization scenarios, showing strong adaptability without being limited by specific problem types. Additionally, Lévy flights maintain stable search performance and excel in handling complex, high-dimensional, and nonlinear problems, thereby enhancing the algorithm’s robustness and practicality [26]. The forager in the DBO will forage in the generated optimal foraging area, and with the addition of Lévy flight the forager is able to perform an all-around search in the optimal foraging area to improve the global search. Introducing the dung beetle forager position update, the forager position update formula is as follows: (13) (3) Cauchy Gaussian Variation Strategy. The DBO, like other swarm intelligence optimization algorithms, is prone to fall into local optimal solutions. When the optimal solution of the population after three consecutive iterations remains unchanged, the algorithm is judged to be trapped in the local optimal solution, and at this time, the auxiliary strategy intervenes and uses the Cauchy Gaussian mutation strategy to make the algorithm jump out of the local optimal solution. The Cauchy Gaussian mutation strategy utilizes the randomness of the Cauchy distribution to effectively enhance the algorithm’s global search capability and robustness. It allows the algorithm to jump to distant positions, avoiding the risk of premature convergence to local optimal solutions, thereby enabling greater exploration and variability. This strategy enhances the algorithm’s exploratory and diverse capabilities in complex, high-dimensional, and nonlinear optimization problems, significantly increasing the probability of finding global optimal solutions. Moreover, it is versatile and practical, as it is not limited by specific problem types or parameter settings [27]. The Cauchy Gauss variation assisted jumping out of the local optimum method is given in the following Eq (14): (14) Where σcauchy = 1−(t⁄m)2,is the scale parameter of the Cauchy distribution, σgaussian = (t⁄m)2,is the standard deviation of the Gaussian distribution. The Cauchy variant takes a wider value to enhance the global search ability of the algorithm, and the Gaussian variant is more intensive to make up for the ability of local search, the Cauchy variant in the early stage can be a fast global search, and the Gaussian variant in the later stage enhances the local search ability of the algorithm, which can accelerate the algorithm iteration speed. Through improvement, the flow of the TLK-DBO algorithm is shown in Fig 9. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. Flowchart of the operation of TLK-DBO algorithm. https://doi.org/10.1371/journal.pone.0313303.g009 In order to verify the optimization ability of TLK-DBO algorithm, 8 test functions (4 single-peak benchmark functions and 4 multimodal benchmark functions) are selected, as shown in Table 6, to evaluate the global solution ability and the ability to jump out of the local optimum of the TLK-DBO algorithm by comparing with the GA, PSO, DBO algorithm. To comprehensively verify the convergence accuracy and stability of the algorithm while minimizing randomness, we conducted 50 independent runs of the GA, PSO, DBO, and TLK-DBO algorithms based on the studies of Ye et al. [28] and Yang et al. [29]. Taking into careful consideration their analysis of the population size and number of iterations, we set the population size to 50 and the number of iterations to 200 for each run. The average adaptation degree of 50 cycles and the change curve are used to react to the running accuracy and convergence speed of the algorithm. The running results and data comparison are shown in Table 7 and Fig 10. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 10. Graph of operation results. https://doi.org/10.1371/journal.pone.0313303.g010 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 6. Test function description table. https://doi.org/10.1371/journal.pone.0313303.t006 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 7. Comparison of experimental results. https://doi.org/10.1371/journal.pone.0313303.t007 After calculating through 50 cycles, f1− f8 as shown in Table 7, the mean and standard deviation of the optimal fitness of TLK-DBO are greatly improved relative to GA, PSO, and DBO. As shown in Fig 10, TLK-DBO has higher solving accuracy and faster convergence speed relative to GA, PSO, and DBO, achieving optimal solutions in shorter iteration times. These results demonstrate that the TLK-DBO algorithm outperforms GA, PSO, and DBO in terms of faster convergence speed, higher convergence accuracy, and stronger stability. 4.2 Design of fuzzy controller for charging of traveling vehicles The input signal needs to be fuzzified before the fuzzy controller is built, and then the fuzzy output is derived from the established fuzzy rule base. First of all, a reasonable scale transformation is carried out so that it can ensure that the driving demand of the car is satisfied, and then ensure that the driving charging mode can be carried out properly, and it is required that the thesis domain is in the appropriate range, Q as shown in Eq (15). In the traveling charging mode, the demand torque is less than the economic torque Te_Opt, and its effective thesis domain is [0 1], the thesis domain of the battery SOC is [0 0.5], while the range of the output is [0.3 1]. For Q and M, we divide it into five fuzzy subsets {SL (minimum), L (small), Z (moderate), H (high), SH (high)}, while the battery SOC is defined as {L (small), Z (moderate), H (high)}, whose fuzzy rule table is shown in Table 8. To carry out the design of the affiliation function, as shown in Fig 11. (15) Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 11. Fuzzy membership degree of driving charging mode. https://doi.org/10.1371/journal.pone.0313303.g011 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 8. Fuzzy rules for driving charging mode. https://doi.org/10.1371/journal.pone.0313303.t008 4.3 Hybrid drive fuzzy controller design The hybrid driving mode defines the first input as L. L is shown in Eq (16). The hybrid driving mode, where the demand torque Treq is greater than the economic torque Te_Opt, has an effective range of [1.0 1.8], the battery SOC has a range of [0.3 1], and the output has a range of [0.5 1]. The inputs and outputs are in the same form as the traveling charging mode. Its fuzzy rule table is shown in Table 9. The design of the affiliation function is carried out as shown in Fig 12. (16) Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 12. Fuzzy membership degree of hybrid driving mode. https://doi.org/10.1371/journal.pone.0313303.g012 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 9. Fuzzy rules for hybrid driving mode. https://doi.org/10.1371/journal.pone.0313303.t009 Fuzzy control mostly relies on engineering experience, which cannot guarantee the control accuracy and global optimization results. In this paper, an optimization algorithm will be used to find the optimal affiliation function in the set fuzzy controller, in order to find the optimal control effect. As an example, the inputs Q in the line charging mode are shown in Fig 13, x1 ~ x11 which are all the affiliation parameters that need to be optimized, and with the change of these parameters, the coordinates of the triangle and trapezoid are determined, which affect the output of the engine torque. The total number of parameters to be optimized for the affiliation function of the above two fuzzy controllers is 59. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 13. Optimization parameters for input affiliation function. https://doi.org/10.1371/journal.pone.0313303.g013 On this basis, the fuzzy controller is optimized by the TLK-DBO optimization algorithm to reduce the methanol consumption and the variation of the battery SOC value as much as possible to obtain the maximum economic benefits and extend the life of the power battery. Therefore, the objective function expression is established as: (17) Where, ω1, ω2 are the weight factors of the optimization objectives of engine methanol consumption and battery power, which take the values of 0.7,0.3, respectively;, LFuel, LSOC are the Methanol consumption and battery SOC before optimization, respectively. Setting the number of algorithmic iterations to 50 and the number of populations to 30, the affiliation function in the fuzzy controller is optimized by GA, PSO, DBO, TLK-DBO algorithm, respectively, and optimization process of the TLK-DBO algorithm is shown in Fig 14, with the same process applied to the other algorithms. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 14. Algorithm optimization process. https://doi.org/10.1371/journal.pone.0313303.g014 4.1 Improving the dung beetle algorithm Despite its outstanding performance, the DBO algorithm still has some problems that need to be solved, such as the relative lack of global exploration capability, which makes it easy to fall into local optimal solutions [24]. For applications that require accurate optimization in the problem solution space, the algorithm must have both good global search capability and local search capability. To address this, the Tent chaotic mapping fusion positive cosine population initialization improvement strategy, the dung beetle forager fusion Lévy flight strategy, and the Cauchy Gaussian variation strategy are incorporated into the DBO, and the Chaotic Cauchy Variation DBO (TLK-DBO) is developed. (1) Tent chaotic mapping combined with sine and cosine population initialization improvement strategy. Population initialization significantly influences the convergence speed and optimal solutions of global optimization searches. The traditional random distribution used in DBO algorithm population initialization may fail to ensure diversity and effectiveness, whereas Tent chaotic mapping is renowned for its extensive randomness, continuity, smoothness, and enhanced diversity. These properties together enable the initial population to uniformly cover the entire search space, thereby avoiding premature convergence to local optima and ensuring a smooth search process that balances exploration and exploitation needs, thereby enhancing the algorithm’s global search capability and robustness [25].Additionally, this paper integrates Tent chaotic mapping with sine and cosine random assignment strategies, leveraging the advantages of chaotic and trigonometric mappings to further optimize population initialization. The sine and cosine strategies contribute to the breadth and smoothness of the search process, ensuring not only diversity within the population but also uniform distribution across the entire search space. The mathematical model is as follows: (11) (12) The use of Tent chaotic mapping when the value is equal to 0.5 will cause the initialization to fall into a short cycle, in order to avoid this, so that a very small value is added to ensure that it will not be equal to 0.5. At the same time, in order to reduce the emergence of duplicate populations, the chaotic mapping process is coupled with a positive cosine random assignment strategy. Eq (12) is a random assignment value ranging from [0 0.2]. Fig 8 shows the distribution and histogram of the initialization of the population of the DBO algorithm, and the comparison of the figure shows that the repetition of the initialization of the population in the TLK-DBO algorithm is significantly reduced, the distribution of the population is more uniform, and the randomness is higher. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 8. Distribution of initial population. https://doi.org/10.1371/journal.pone.0313303.g008 (2) Dung beetle foragers incorporate Lévy flight strategies. Lévy flights utilize their long-tailed distribution to effectively prevent algorithms from falling into local optima, thereby enhancing their ability to discover global optimal solutions. They can generate large step sizes, accelerating the algorithm’s exploration of the entire search space and improving the efficiency of finding optimal solutions to optimization problems. This strategy is suitable for various complex and diverse optimization scenarios, showing strong adaptability without being limited by specific problem types. Additionally, Lévy flights maintain stable search performance and excel in handling complex, high-dimensional, and nonlinear problems, thereby enhancing the algorithm’s robustness and practicality [26]. The forager in the DBO will forage in the generated optimal foraging area, and with the addition of Lévy flight the forager is able to perform an all-around search in the optimal foraging area to improve the global search. Introducing the dung beetle forager position update, the forager position update formula is as follows: (13) (3) Cauchy Gaussian Variation Strategy. The DBO, like other swarm intelligence optimization algorithms, is prone to fall into local optimal solutions. When the optimal solution of the population after three consecutive iterations remains unchanged, the algorithm is judged to be trapped in the local optimal solution, and at this time, the auxiliary strategy intervenes and uses the Cauchy Gaussian mutation strategy to make the algorithm jump out of the local optimal solution. The Cauchy Gaussian mutation strategy utilizes the randomness of the Cauchy distribution to effectively enhance the algorithm’s global search capability and robustness. It allows the algorithm to jump to distant positions, avoiding the risk of premature convergence to local optimal solutions, thereby enabling greater exploration and variability. This strategy enhances the algorithm’s exploratory and diverse capabilities in complex, high-dimensional, and nonlinear optimization problems, significantly increasing the probability of finding global optimal solutions. Moreover, it is versatile and practical, as it is not limited by specific problem types or parameter settings [27]. The Cauchy Gauss variation assisted jumping out of the local optimum method is given in the following Eq (14): (14) Where σcauchy = 1−(t⁄m)2,is the scale parameter of the Cauchy distribution, σgaussian = (t⁄m)2,is the standard deviation of the Gaussian distribution. The Cauchy variant takes a wider value to enhance the global search ability of the algorithm, and the Gaussian variant is more intensive to make up for the ability of local search, the Cauchy variant in the early stage can be a fast global search, and the Gaussian variant in the later stage enhances the local search ability of the algorithm, which can accelerate the algorithm iteration speed. Through improvement, the flow of the TLK-DBO algorithm is shown in Fig 9. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 9. Flowchart of the operation of TLK-DBO algorithm. https://doi.org/10.1371/journal.pone.0313303.g009 In order to verify the optimization ability of TLK-DBO algorithm, 8 test functions (4 single-peak benchmark functions and 4 multimodal benchmark functions) are selected, as shown in Table 6, to evaluate the global solution ability and the ability to jump out of the local optimum of the TLK-DBO algorithm by comparing with the GA, PSO, DBO algorithm. To comprehensively verify the convergence accuracy and stability of the algorithm while minimizing randomness, we conducted 50 independent runs of the GA, PSO, DBO, and TLK-DBO algorithms based on the studies of Ye et al. [28] and Yang et al. [29]. Taking into careful consideration their analysis of the population size and number of iterations, we set the population size to 50 and the number of iterations to 200 for each run. The average adaptation degree of 50 cycles and the change curve are used to react to the running accuracy and convergence speed of the algorithm. The running results and data comparison are shown in Table 7 and Fig 10. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 10. Graph of operation results. https://doi.org/10.1371/journal.pone.0313303.g010 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 6. Test function description table. https://doi.org/10.1371/journal.pone.0313303.t006 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 7. Comparison of experimental results. https://doi.org/10.1371/journal.pone.0313303.t007 After calculating through 50 cycles, f1− f8 as shown in Table 7, the mean and standard deviation of the optimal fitness of TLK-DBO are greatly improved relative to GA, PSO, and DBO. As shown in Fig 10, TLK-DBO has higher solving accuracy and faster convergence speed relative to GA, PSO, and DBO, achieving optimal solutions in shorter iteration times. These results demonstrate that the TLK-DBO algorithm outperforms GA, PSO, and DBO in terms of faster convergence speed, higher convergence accuracy, and stronger stability. 4.2 Design of fuzzy controller for charging of traveling vehicles The input signal needs to be fuzzified before the fuzzy controller is built, and then the fuzzy output is derived from the established fuzzy rule base. First of all, a reasonable scale transformation is carried out so that it can ensure that the driving demand of the car is satisfied, and then ensure that the driving charging mode can be carried out properly, and it is required that the thesis domain is in the appropriate range, Q as shown in Eq (15). In the traveling charging mode, the demand torque is less than the economic torque Te_Opt, and its effective thesis domain is [0 1], the thesis domain of the battery SOC is [0 0.5], while the range of the output is [0.3 1]. For Q and M, we divide it into five fuzzy subsets {SL (minimum), L (small), Z (moderate), H (high), SH (high)}, while the battery SOC is defined as {L (small), Z (moderate), H (high)}, whose fuzzy rule table is shown in Table 8. To carry out the design of the affiliation function, as shown in Fig 11. (15) Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 11. Fuzzy membership degree of driving charging mode. https://doi.org/10.1371/journal.pone.0313303.g011 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 8. Fuzzy rules for driving charging mode. https://doi.org/10.1371/journal.pone.0313303.t008 4.3 Hybrid drive fuzzy controller design The hybrid driving mode defines the first input as L. L is shown in Eq (16). The hybrid driving mode, where the demand torque Treq is greater than the economic torque Te_Opt, has an effective range of [1.0 1.8], the battery SOC has a range of [0.3 1], and the output has a range of [0.5 1]. The inputs and outputs are in the same form as the traveling charging mode. Its fuzzy rule table is shown in Table 9. The design of the affiliation function is carried out as shown in Fig 12. (16) Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 12. Fuzzy membership degree of hybrid driving mode. https://doi.org/10.1371/journal.pone.0313303.g012 Download: PPT PowerPoint slide PNG larger image TIFF original image Table 9. Fuzzy rules for hybrid driving mode. https://doi.org/10.1371/journal.pone.0313303.t009 Fuzzy control mostly relies on engineering experience, which cannot guarantee the control accuracy and global optimization results. In this paper, an optimization algorithm will be used to find the optimal affiliation function in the set fuzzy controller, in order to find the optimal control effect. As an example, the inputs Q in the line charging mode are shown in Fig 13, x1 ~ x11 which are all the affiliation parameters that need to be optimized, and with the change of these parameters, the coordinates of the triangle and trapezoid are determined, which affect the output of the engine torque. The total number of parameters to be optimized for the affiliation function of the above two fuzzy controllers is 59. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 13. Optimization parameters for input affiliation function. https://doi.org/10.1371/journal.pone.0313303.g013 On this basis, the fuzzy controller is optimized by the TLK-DBO optimization algorithm to reduce the methanol consumption and the variation of the battery SOC value as much as possible to obtain the maximum economic benefits and extend the life of the power battery. Therefore, the objective function expression is established as: (17) Where, ω1, ω2 are the weight factors of the optimization objectives of engine methanol consumption and battery power, which take the values of 0.7,0.3, respectively;, LFuel, LSOC are the Methanol consumption and battery SOC before optimization, respectively. Setting the number of algorithmic iterations to 50 and the number of populations to 30, the affiliation function in the fuzzy controller is optimized by GA, PSO, DBO, TLK-DBO algorithm, respectively, and optimization process of the TLK-DBO algorithm is shown in Fig 14, with the same process applied to the other algorithms. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 14. Algorithm optimization process. https://doi.org/10.1371/journal.pone.0313303.g014 5 Comparative analysis of optimization results In the actual driving process, when the battery SOC is lower than the target value, it is necessary to target the whole vehicle economy with small changes in battery SOC fluctuations for charging the vehicle to ensure the optimal economy of the whole vehicle. The changes of battery SOC values of the six strategies under the China Semi-trailer Tractor Cycle (CHTC-TT) conditions are shown by Fig 15. The initial values are all 40%, and the battery SOC at the end of Rule-EMS is 45.11%; the battery SOC at the end of Fuzzy-EMS, GA-Fuzzy-EMS, PSO-Fuzzy-EMS, DBO-Fuzzy-EMS, TLK-DBO-Fuzzy-EMS are 45.21%, 45.15%, 44.76%, 44.22%, and 43.74%, respectively. The variations were 12.78%, 13.02%, 12.88%, 11.90%, 10.55%, and 9.35% for the six strategies, respectively. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 15. Variation of battery SOC with six strategies. https://doi.org/10.1371/journal.pone.0313303.g015 Table 10 shows the methanol consumption under six different strategies. The methanol consumption in Rule-EMS is 121.75L/100km, Fuzzy-EMS, GA-Fuzzy-EMS, PSO-Fuzzy-EMS, DBO-Fuzzy-EMS, and TLK-DBO-Fuzzy-EMS reduce the methanol consumption by 3.89%, 4.45%,6.28%,7.73%, and 9.07%, respectively, under the same conditions It can be seen that the TLK-DBO-Fuzzy-EMS is able to find a better economy compared to the other controller. Download: PPT PowerPoint slide PNG larger image TIFF original image Table 10. Simulation results of Methanol consumption of each energy management control strategy. https://doi.org/10.1371/journal.pone.0313303.t010 Fig 16 shows the cumulative curve of methanol consumption for the engine under CHTC-TT conditions for the six strategies. Comparative analysis indicates that the TLK-DBO-Fuzzy-EMS strategy maximizes the overall vehicle economy relative to the other five strategies. Based on the methanol consumption and battery SOC changes, it can be inferred that, while ensuring optimal economy, reducing SOC fluctuations throughout the entire driving cycle helps minimize instability in internal chemical reactions and occurrences of electrochemical corrosion. This contributes to extending the battery’s lifespan. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 16. Methanol consumption for six energy management strategies. https://doi.org/10.1371/journal.pone.0313303.g016 Fig 17 shows a comparison of the engine operating points under six strategies. As shown in the figure, the engine can operate within the delineated range. In Rule-EMS (Fig 17(A)), the engine operating point is relatively fixed. In Fuzzy-EMS (Fig 17(B)), it is evident that after fuzzy control adjustment, the engine operating point is closer to the high-efficiency zone. In GA-Fuzzy-EMS (Fig 17(C)), PSO-Fuzzy-EMS (Fig 17(D)), DBO-Fuzzy-EMS (Fig 17(E)), and TLK-DBO-Fuzzy-EMS (Fig 17(F)), the optimized energy management strategies result in more engine operating points clustered in the high-efficiency zone. With the minimum torque set at 800Nm, the engine operating points in the inefficient zone for the six strategies are 34.42%, 25.10%, 16.46%, 17.27%, 19.55%, and 16.52%, respectively, as shown in the histogram in Fig 18. Although the engine operating points in the high-efficiency zone for TLK-DBO-Fuzzy-EMS and GA-Fuzzy-EMS are not significantly different, TLK-DBO-Fuzzy-EMS achieves the best methanol economy and reduces battery SOC fluctuations under the same conditions. It can be seen that TLK-DBO-Fuzzy-EMS can adjust the engine’s output curve based on the real-time state of the vehicle during driving, showing greater robustness and adaptability compared to Rule-EMS. Compared to Fuzzy-EMS, it finds better fuzzy control strategies to further improve vehicle economy and reduce battery SOC fluctuations. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 17. Engine operating point for the six strategies. https://doi.org/10.1371/journal.pone.0313303.g017 Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 18. Distribution of torque drop points under six strategies. https://doi.org/10.1371/journal.pone.0313303.g018 To further validate the universality and effectiveness of the proposed control strategy, we conducted tests using the China Heavy Truck Cycle (CHTC-HT) under various algorithmically optimized control strategies, as shown in Fig 19(A). The methanol consumption rates for the corresponding strategies were 144.68 L/km, 124.57 L/km, 118.98 L/km, 116.40 L/km, 115.76 L/km, and 115.07 L/km. The methanol consumption comparison results are depicted in Fig 19(B). The results verify that the improved dung beetle algorithm EMS has better economy and adaptability. Download: PPT PowerPoint slide PNG larger image TIFF original image Fig 19. China heavy truck cycle and methanol consumption. https://doi.org/10.1371/journal.pone.0313303.g019 6 Concluding remarks In this paper, in order to improve the adaptability and poor robustness of the rule-based EMS, a multi-fuzzy control EMS with improved optimization of DBO is proposed. In order to improve the optimization effect of fuzzy control, this paper incorporates the population initialization strategy of Tent chaotic mapping fused with sinusoidal cosinusoidal random assignment, the dung beetle forager fused with Lévy flight strategy, and the improvement strategy of Cauchy’s Gaussian variation on the basis of traditional DBO, which is shown to be able to greatly improve the global optimality searching ability, convergence speed, and optimality searching accuracy of the traditional DBO demonstrated through simulations on eight test functions. Unlike most scholars who only add a single fuzzy controller in drive mode, this paper incorporates fuzzy controllers in both linear charging and hybrid drive modes, allowing for a better division of the battery SOC working area in different modes and effectively addressing the issue of excess engine output power. Compared to the currently most widely used rule-based EMS, the improved DBO-optimized multi-fuzzy control in this paper reduces the overall methanol consumption of the vehicle by 9.07% and the fluctuation of the battery SOC by 3.43%, effectively enhancing the vehicle’s economy, decreasing the fluctuation of the battery SOC, and greatly improving the adaptability and robustness issues of the rule-based EMS. Comparison of the optimization results proves that TLK-DBO has better optimization effect than the traditional DBO, and the engine working point is more in the delineated high-efficiency working area, which effectively improves the economy of the whole vehicle and reduces the fluctuation of the battery SOC. Meanwhile, this paper further validates the feasibility and effectiveness of the optimization method through different operating conditions. TI - Energy management strategy for methanol hybrid commercial vehicles based on improved dung beetle algorithm optimization JF - PLoS ONE DO - 10.1371/journal.pone.0313303 DA - 2025-01-02 UR - https://www.deepdyve.com/lp/public-library-of-science-plos-journal/energy-management-strategy-for-methanol-hybrid-commercial-vehicles-fBTQfJrKvE SP - e0313303 VL - 20 IS - 1 DP - DeepDyve ER -