Energy management methods, devices, electric vehicles and storage media
By calculating the torque distribution coefficient and improving the genetic algorithm to optimize the drive torque distribution of electric vehicles, the problem of unbalanced power performance of four-wheel independent drive electric vehicles is solved, the rational distribution and utilization of energy is realized, and the system energy efficiency is improved.
Patent Information
- Application Number
- CN202311696828.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-12-11
AI Technical Summary
The drive system of a four-wheel independent drive electric vehicle has a single energy source and multiple power sources. The actuators have redundant characteristics, making it difficult to achieve a reasonable distribution of torque to each wheel. This results in unbalanced power performance, increased energy loss, and reduced system energy efficiency.
By calculating the torque distribution coefficient, and based on the control of motor energy loss, tire slip energy loss, and torque change energy loss, an improved genetic algorithm is used to optimize the drive torque distribution of electric vehicles. The weight coefficients are dynamically adjusted using the optimization objective function to achieve a reasonable distribution of drive torque to each wheel.
It improves energy utilization, enhances overall vehicle performance and user experience, reduces energy loss, and improves system energy efficiency.
Smart Images

Figure CN117962631B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of energy management technology, and in particular to an energy management method, device, electric vehicle and storage medium. Background Technology
[0002] With increasing energy shortages and severe environmental pollution, electric vehicles, with their advantages of low carbon emissions and environmental friendliness, have ushered in unprecedented development opportunities and become a direction for industrial transformation for many traditional automobile companies. However, due to the complex and ever-changing traffic conditions during actual driving, energy management strategies that optimize for a single objective have poor adaptability. Among related technologies, it is possible to reduce the energy consumption of the entire vehicle by optimizing torque distribution while maintaining the same torque demand, thereby further improving the energy-saving potential of electric vehicles.
[0003] However, in related technologies, since the drive system of four-wheel independent drive electric vehicles has a single energy source and multiple power sources, the actuators themselves have redundant characteristics. Therefore, it is difficult to achieve a reasonable distribution of torque among the wheels, which can easily lead to unbalanced power performance of electric vehicles, potentially causing more energy loss, reducing the energy efficiency of electric vehicles, and reducing the overall vehicle economy. Summary of the Invention
[0004] This application provides an energy management method, device, electric vehicle, and storage medium to solve the problems in the related art, such as the fact that the drive system of a four-wheel independent drive electric vehicle is a single energy source or multiple power sources, the actuator itself has redundant characteristics, it is difficult to achieve reasonable distribution of torque among the wheels, which easily leads to unbalanced power performance of the electric vehicle, resulting in more energy loss and reduced system energy efficiency.
[0005] The first aspect of this application provides an energy management method for an electric vehicle, comprising the following steps: calculating the total required torque of the electric vehicle based on the state parameters of the electric vehicle; coordinating and optimizing the electric vehicle based on the motor energy loss, tire slip energy loss and torque change energy loss control of the electric vehicle to obtain a torque distribution coefficient that meets the minimum energy loss requirement; and calculating the driving torque corresponding to each wheel of the electric vehicle based on the torque distribution coefficient, and controlling the drive motor of each wheel to output based on the corresponding driving torque.
[0006] The above technical solution can calculate the driving torque corresponding to each wheel of an electric vehicle based on the torque distribution coefficient, thereby effectively controlling the drive motor of each wheel and outputting based on the corresponding driving torque, realizing the rational distribution of driving torque, improving energy utilization, achieving energy saving, improving the overall vehicle performance, and effectively meeting the needs of users.
[0007] Optionally, in one embodiment of this application, the coordinated optimization of the electric vehicle based on the control of motor energy loss, tire slip energy loss and torque variation energy loss to obtain a torque distribution coefficient that meets the minimum energy loss requirement includes: adjusting the torque of the front and rear drive motors of the electric vehicle based on a preset improved genetic algorithm, and dynamically optimizing the weight coefficients according to the optimization objective function obtained from the motor energy loss, the tire slip energy loss and the torque variation energy loss to obtain the torque distribution coefficient.
[0008] The above technical solution enables the adjustment of the torque of the front and rear drive motors of an electric vehicle based on a preset improved genetic algorithm. By dynamically optimizing the weight coefficients using an optimization objective function, the torque distribution coefficient can be dynamically adjusted, improving the accuracy of torque matching and thus minimizing energy loss and increasing energy utilization.
[0009] Optionally, in one embodiment of this application, the step of dynamically optimizing the weight coefficients based on the optimization objective function obtained from the motor energy loss, the tire slip energy loss, and the torque change energy loss includes: dynamically adjusting the crossover probability and mutation probability according to the optimization objective function during the genetic process.
[0010] The above technical solution enables dynamic adjustment of crossover and mutation probabilities during the genetic process based on the objective function, thereby improving the flexibility of adjustment, accelerating the process of solving the objective function, reducing computational load, and ultimately improving the efficiency and accuracy of optimization.
[0011] Optionally, in one embodiment of this application, the step of dynamically optimizing the weight coefficients based on the optimization objective function obtained from the motor energy loss, the tire slip energy loss, and the torque change energy loss includes: during the genetic process, individuals that meet the preset optimal conditions are not subjected to genetic operations and are directly copied to the next generation, and all individuals of the parent and offspring generations are mixed and then sorted in a non-dominated manner.
[0012] The above technical solution enables individuals that meet the preset optimal conditions to be directly copied to the next generation without genetic operations during the genetic process. Furthermore, the results of mixing all individuals from the parent and offspring generations and performing non-dominated sorting avoid the loss of excellent individuals, thereby allowing the algorithm to escape local optima, accelerate algorithm convergence, and reduce computational load.
[0013] Optionally, in one embodiment of this application, before calculating the total torque demand of the electric vehicle, the method further includes: detecting the actual mode of the electric vehicle; and if the actual mode is detected to be an energy management mode, acquiring the state parameters of the electric vehicle.
[0014] The above technical solution enables the collection of electric vehicle status parameters when the actual mode is detected as energy management mode, thereby enabling real-time detection of the electric vehicle's status and performance, and providing a data basis for the adjustment and optimization of the electric vehicle.
[0015] A second aspect of this application provides an energy management device for an electric vehicle, comprising: a calculation module for calculating the total required torque of the electric vehicle based on the state parameters of the electric vehicle; an optimization module for coordinating and optimizing the electric vehicle based on the motor energy loss, tire slip energy loss, and torque change energy loss control of the electric vehicle to obtain a torque distribution coefficient that achieves the minimum energy loss requirement; and a control module for calculating the drive torque corresponding to each wheel of the electric vehicle based on the torque distribution coefficient, and controlling the drive motor of each wheel to output based on the corresponding drive torque.
[0016] Through the above technical solution, the energy management device of an electric vehicle can calculate the driving torque corresponding to each wheel of the electric vehicle based on the torque distribution coefficient, thereby effectively controlling the drive motor of each wheel and outputting based on the corresponding driving torque. This achieves reasonable distribution of driving torque, improves energy utilization, realizes energy saving, enhances overall vehicle performance, and effectively meets user needs.
[0017] Optionally, in one embodiment of this application, the optimization module includes: a genetic unit, used to adjust the torque of the front and rear drive motors of an electric vehicle based on a preset improved genetic algorithm, and to dynamically optimize the weight coefficients according to the optimization objective function obtained from the motor energy loss, the tire slip energy loss and the torque change energy loss, to obtain the torque distribution coefficient.
[0018] Through the above technical solution, the genetic unit can adjust the torque of the front and rear drive motors of an electric vehicle based on a preset improved genetic algorithm, and dynamically optimize the weight coefficients using an optimization objective function, thereby realizing the dynamic adjustment of the torque distribution coefficient, improving the accuracy of torque matching, and thus minimizing energy loss and improving energy utilization.
[0019] Optionally, in one embodiment of this application, the genetic unit includes: an adjustment subunit, used to dynamically adjust the crossover probability and mutation probability according to the optimization objective function during the genetic process.
[0020] Through the above technical solution, the genetic unit can dynamically adjust the crossover probability and mutation probability according to the optimization objective function during the genetic process, thereby improving the flexibility of adjustment, accelerating the process of solving the optimization objective function, reducing the amount of computation, and thus improving the efficiency and accuracy of optimization.
[0021] Optionally, in one embodiment of this application, the genetic unit includes: a sorting subunit, used to directly copy individuals that meet preset optimal conditions into the next generation without performing genetic operations during the genetic process, and to perform non-dominated sorting after mixing all individuals of the parent and offspring generations.
[0022] Through the above technical solution, the genetic unit can further copy individuals that meet the preset optimal conditions directly to the next generation without performing genetic operations during the genetic process. Furthermore, it can perform non-dominated sorting after mixing all individuals from the parent and offspring generations, thereby avoiding the loss of excellent individuals, enabling the algorithm to escape local optima, and accelerating algorithm convergence while reducing computational load.
[0023] Optionally, in one embodiment of this application, it further includes: a detection module, configured to detect the actual mode of the electric vehicle before calculating the total torque demand of the electric vehicle; and a data acquisition module, configured to acquire the state parameters of the electric vehicle when the actual mode is detected to be an energy management mode.
[0024] Through the above technical solution, the acquisition module can collect the status parameters of the electric vehicle when the actual mode is detected to be energy management mode, thereby enabling real-time detection of the electric vehicle's status and performance, and providing a data basis for the adjustment and optimization of the electric vehicle.
[0025] A third aspect of this application provides an electric vehicle, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the energy management method for the electric vehicle as described in the above embodiments.
[0026] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the energy management method for electric vehicles described above.
[0027] This application embodiment can calculate the driving torque corresponding to each wheel of an electric vehicle based on the torque distribution coefficient, thereby effectively controlling the drive motor of each wheel and outputting based on the corresponding driving torque. This achieves a reasonable distribution of driving torque, improves energy utilization, and effectively enhances overall vehicle performance while satisfying user experience. Therefore, it solves the problems in related technologies where the drive system of a four-wheel independent drive electric vehicle has a single energy source and multiple power sources, resulting in redundant actuators, making it difficult to achieve a reasonable distribution of torque to each wheel. This easily leads to unbalanced power performance of the electric vehicle, causing more energy loss and reducing system energy efficiency.
[0028] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0029] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0030] Figure 1 This is a flowchart of an energy management method for an electric vehicle according to an embodiment of this application;
[0031] Figure 2 This is an overall flowchart of an energy management method for an electric vehicle according to an embodiment of this application;
[0032] Figure 3 This is a flowchart of an improved genetic algorithm for optimization according to an embodiment of this application;
[0033] Figure 4 This is a schematic diagram of the structure of an energy management device for an electric vehicle according to an embodiment of this application;
[0034] Figure 5 This is a schematic diagram of the structure of an electric vehicle provided according to an embodiment of this application. Detailed Implementation
[0035] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0036] The energy management method, apparatus, electric vehicle, and storage medium of this application are described below with reference to the accompanying drawings. In the related technologies mentioned in the background section, because the drive system of a four-wheel independently driven electric vehicle has a single energy source and multiple power sources, the actuators themselves have redundant characteristics, making it difficult to achieve a reasonable distribution of torque among the wheels. This easily leads to unbalanced power performance of the electric vehicle, causing more energy loss and reducing system energy efficiency. This application provides an energy management method for electric vehicles. In this method, the drive torque corresponding to each wheel of the electric vehicle can be calculated according to the torque distribution coefficient, thereby effectively controlling the drive motor of each wheel and outputting based on the corresponding drive torque, achieving a reasonable distribution of drive torque, improving energy utilization, and thus effectively improving overall vehicle performance and meeting user experience requirements. Therefore, this solves the problems in the related technologies where the drive system of a four-wheel independently driven electric vehicle has a single energy source and multiple power sources, the actuators themselves have redundant characteristics, making it difficult to achieve a reasonable distribution of torque among the wheels, easily leading to unbalanced power performance of the electric vehicle, causing more energy loss, and reducing system energy efficiency.
[0037] Specifically, Figure 1 This is a flowchart illustrating an energy management method for an electric vehicle provided in an embodiment of this application.
[0038] like Figure 1 As shown, the energy management method for this electric vehicle includes the following steps:
[0039] In step S101, the total required torque of the electric vehicle is calculated based on the state parameters of the electric vehicle.
[0040] It is understood that the state parameters in the embodiments of this application can be obtained, but are not limited to, through technologies such as sensors equipped in electric vehicles, including but not limited to information such as motor speed, motor torque, and wheel rotation linear speed.
[0041] In actual implementation, this application can obtain the electric vehicle's state parameters, such as charge status and actual vehicle speed, through sensors or on-board CAN network equipped in the electric vehicle, and then calculate the total torque demand of the electric vehicle based on the electric vehicle's motor speed and other state parameters.
[0042] For example, consider two electric vehicles of the same type, A and B. Electric vehicle A is driving normally with the air conditioning on and other functions such as audio, navigation, and video off, while electric vehicle B is accelerating, with the air conditioning off and the audio and navigation on. Since the actual needs of electric vehicles A and B are different, this embodiment of the application can accurately calculate the actual total demand matrix of the electric vehicle based on the actual state parameters of the electric vehicle during the driving process.
[0043] The embodiments of this application can calculate the total demand torque of an electric vehicle based on its state parameters, thereby accurately determining the total demand torque of the electric vehicle. This enables real-time detection of the electric vehicle's performance and state, providing a basis for subsequent coordinated optimization of the electric vehicle and achieving more efficient energy control.
[0044] Optionally, in one embodiment of this application, before calculating the total torque demand of the electric vehicle, the method further includes: detecting the actual mode of the electric vehicle; and if the actual mode is detected to be energy management mode, acquiring the state parameters of the electric vehicle.
[0045] It is understood that the actual mode of the electric vehicle in this application embodiment can be divided into, but is not limited to, energy management mode and normal driving mode, based on information such as current driving conditions and energy reserves.
[0046] In actual implementation, the embodiments of this application can collect the status parameters of the electric vehicle when the actual mode is detected to be energy management mode. For example, through the electric vehicle's sensors and indicators, when the actual mode is detected to be energy management mode, the electric vehicle's status parameters can be collected, such as the electric vehicle's remaining battery power being 70% and the actual vehicle speed being 60 km / h.
[0047] The embodiments of this application can collect the status parameters of electric vehicles when the actual mode is detected to be energy management mode, thereby gaining a deeper understanding of the working status and energy utilization of electric vehicles in energy management mode, improving the accuracy of information, and providing an information basis for energy allocation and use.
[0048] In step S102, the electric vehicle is coordinated and optimized based on the control of motor energy loss, tire slip energy loss and torque change energy loss to obtain the torque distribution coefficient that meets the minimum energy loss requirement.
[0049] It is understood that the motor energy loss in the embodiments of this application can be divided into iron loss and mechanical loss. Iron loss is mainly due to eddy current loss caused by changes in the motor magnetic field, while mechanical loss is mainly due to energy loss caused by friction and air gap between mechanical components. Tire slip energy loss refers to the energy loss caused by tire slippage when the adhesion between the tire and the road is uneven or exceeds the limit. Torque change energy loss refers to the energy loss caused by changes in torque when the electric vehicle performs operations such as acceleration, braking, or steering.
[0050] Specifically, in combination Figure 2As shown, the embodiments of this application can coordinate and optimize electric vehicles based on the control of motor energy loss, tire slippage energy loss, and torque change energy loss to obtain a torque distribution coefficient that meets the minimum energy loss requirement. For example, when driving on a highway, an electric vehicle needs to maintain a certain speed and drive stably. Based on real-time data and sensor feedback, the torque distribution of the four drive wheels can be adjusted and coordinated to meet driving needs while minimizing energy loss. When slippage of a tire is detected, the torque borne by that tire can be reduced accordingly, and other tires can bear more driving force, thereby reducing tire slippage and energy loss.
[0051] The embodiments of this application can coordinate and optimize electric vehicles based on the control of motor energy loss, tire slip energy loss and torque change energy loss to obtain a torque distribution coefficient that meets the minimum energy loss requirement. This allows control of the motor output of the electric vehicle under different states to minimize energy loss, improve the energy utilization efficiency of the electric vehicle, and reduce operating costs. At the same time, the optimized torque distribution can improve the handling performance and driving stability of the electric vehicle and provide a better driving experience.
[0052] Optionally, in one embodiment of this application, the electric vehicle is coordinated and optimized based on the control of motor energy loss, tire slip energy loss and torque change energy loss to obtain a torque distribution coefficient that meets the minimum energy loss requirement. This includes: adjusting the torque of the front and rear drive motors of the electric vehicle based on a preset improved genetic algorithm, and dynamically optimizing the weight coefficients according to the optimization objective function obtained from motor energy loss, tire slip energy loss and torque change energy loss to obtain the torque distribution coefficient.
[0053] It should be noted that the preset improved genetic algorithm can be understood as an optimization algorithm for a control strategy, such as a multi-objective genetic algorithm or genetic operator design, which can be set by those skilled in the art according to the actual situation, and no specific limitation is made here.
[0054] Specifically, in this embodiment, an improved genetic algorithm can be selected, and the optimization parameters can be selected as torque distribution coefficients to adjust the torque of the front and rear motors. The fitness function can be understood as an optimization objective function that includes motor energy loss, tire slippage energy loss, and torque change energy loss. Then, the control objective is adjusted by dynamically changing the weight coefficients. The formula is as follows:
[0055]
[0056] Among them, C p (T mi C is the target for controlling motor energy loss; t (T mi) represents tire slippage energy loss; w t C is the weighting factor for tire slip energy loss; m (T mi The target for torque variation energy loss control is... m This is the weighting coefficient for energy loss due to torque variation.
[0057] For example, the formula for motor energy loss can be as follows:
[0058]
[0059] Wherein, η(T) mi ,n i T represents the motor drive efficiency. mi n is the motor drive torque; i The motor speed is i; i = 1 to 4;
[0060] When traveling smoothly in a straight line, the rotational acceleration of the wheel is negligible, and the equation of motion for the wheel is as follows:
[0061] T mi -F xi R w =0,
[0062] Among them, F xi R is the longitudinal force of the tire. w The linear velocity of the wheel's rotation.
[0063] For example, the formula for the longitudinal slip velocity of a wheel can be as follows:
[0064] V xi =ω i R w s i ,
[0065] Among them, V xi ω is the longitudinal sliding velocity; i ω is the angular velocity; s i Wheel slip ratio;
[0066] Therefore, the formula for tire slippage energy loss can be as follows:
[0067]
[0068] For example, the formula for energy loss due to torque variation can be as follows:
[0069]
[0070] Where, δ i This represents the rate of change of torque.
[0071] The embodiments of this application can adjust the torque of the front and rear drive motors of an electric vehicle based on a preset improved genetic algorithm, and dynamically optimize the weight coefficients using an optimization objective function, thereby realizing dynamic adjustment of the torque distribution coefficient, improving the accuracy of torque matching, and thus minimizing energy loss and improving energy utilization.
[0072] Optionally, in one embodiment of this application, the weight coefficients are dynamically optimized according to the optimization objective function obtained from the motor energy loss, tire slip energy loss and torque change energy loss, including: dynamically adjusting the crossover probability and mutation probability according to the optimization objective function during the genetic process.
[0073] Specifically, in the embodiments of this application, the crossover probability and mutation probability can be dynamically adjusted according to the fitness function during the algorithm operation, so that the probabilities are continuously improved and changed as the search process progresses. The formula is as follows:
[0074]
[0075]
[0076] The embodiments of this application can further increase or decrease the crossover probability and mutation probability flexibly according to actual needs based on the changes in the objective function during the genetic process. When the value of the objective function approaches the optimal solution, the crossover probability can be appropriately reduced to retain better individual characteristics and prevent the algorithm from converging too early. When the objective function value cannot be significantly improved, the mutation probability can be appropriately increased, thereby improving the flexibility of adjustment, accelerating the process of solving the objective function, reducing the amount of computation, and thus improving the efficiency and accuracy of optimization.
[0077] Optionally, in one embodiment of this application, the weight coefficients are dynamically optimized according to the optimization objective function obtained from the motor energy loss, tire slip energy loss and torque change energy loss, including: during the genetic process, individuals that meet the preset optimal conditions are not subjected to genetic operations and are directly copied to the next generation, and all individuals of the parent and offspring generations are mixed and then sorted in a non-dominated manner.
[0078] Specifically, in combination Figure 3 As shown in the embodiment of this application, in order to enable the algorithm to escape local optima, an elitist strategy is adopted to prevent the loss of excellent individuals. The best individuals are directly copied to the next generation without genetic operations. Then, all individuals from the parent and offspring generations are mixed and sorted non-dominatedly. The specific steps are as follows:
[0079] Step S301: Generate an initial population using a quasi-random Halton sequence, Gen = 0.
[0080] Step S302: Determine whether to generate a new offspring.
[0081] Step S303: If a new generation can be generated, then Gen=2, generate a second generation population, merge the two generations, and proceed to the next step; otherwise, perform fast non-dominated sorting and perform selection, crossover, and mutation operations.
[0082] Step S304: Determine whether to generate a new parent generation.
[0083] Step S305: If a new parent generation can be generated, perform selection, crossover, and mutation operations; otherwise, perform fast non-dominated sorting and adopt an elitist strategy.
[0084] Step S306: Determine that the optimization objective is minimized.
[0085] Step S307: If the optimization objective is minimized, output the result; otherwise, continue the optimization operation.
[0086] The embodiments of this application can further, during the genetic process, directly copy individuals that meet the preset optimal conditions to the next generation without performing genetic operations, and perform non-dominated sorting after mixing all individuals of the parent and offspring generations, thereby avoiding the loss of excellent individuals, enabling the algorithm to escape local optima, and accelerating algorithm convergence and reducing computational load.
[0087] In step S103, the driving torque corresponding to each wheel of the electric vehicle is calculated according to the torque distribution coefficient, and the drive motor of each wheel is controlled to output based on the corresponding driving torque.
[0088] Specifically, in combination Figure 2 As shown, this embodiment of the application can calculate the driving torque corresponding to each wheel of the electric vehicle based on the torque distribution coefficient, and control the drive motor of each wheel to output based on the corresponding driving torque. The steps are as follows:
[0089] Step S201: Determine the basic parameters of the electric vehicle.
[0090] Step S202: Calculate the total required torque.
[0091] Step S203: Perform online optimization of energy management and control strategies through multi-objective optimization.
[0092] The improved genetic algorithm was selected as the optimization algorithm for the control strategy, and it has been described in detail above.
[0093] Step S204: Calculate the driving torque of each motor based on the torque distribution coefficient output by the strategy.
[0094] The embodiments of this application can calculate the driving torque corresponding to each wheel of an electric vehicle based on the torque distribution coefficient, thereby effectively controlling the drive motor of each wheel and outputting based on the corresponding driving torque, realizing reasonable distribution of driving torque, improving energy utilization, achieving energy saving, improving overall vehicle performance, and effectively meeting user needs.
[0095] Specifically, it can be combined with Figure 2 and Figure 3 As shown, the working principle of the energy management method for electric vehicles according to a specific embodiment of this application will be explained in detail.
[0096] like Figure 2 As shown, embodiments of this application may include the following steps:
[0097] Step S201: Determine the basic parameters of the electric vehicle.
[0098] In this embodiment of the application, when the actual mode is detected to be energy management mode, basic parameters of the electric vehicle, such as vehicle speed and motor speed, are collected.
[0099] Step S202: Calculate the total required torque.
[0100] Step S203: Perform online optimization of energy management and control strategies through multi-objective optimization.
[0101] Among them, the optimization algorithm for the control strategy is an improved genetic algorithm.
[0102] Step S204: Calculate the driving torque of each motor based on the torque distribution coefficient output by the strategy.
[0103] Next, as Figure 3 As shown, the optimization process of the improved genetic algorithm in this application embodiment may include the following steps:
[0104] Step S301: Generate an initial population using a quasi-random Halton sequence, Gen = 0.
[0105] Step S302: Determine whether to generate a new offspring.
[0106] In this embodiment, the decision to generate new offspring is made by determining whether an individual meets certain optimal conditions.
[0107] Step S303: If a new generation can be generated, then Gen=2, generate a second generation population, merge the two generations, and proceed to the next step; otherwise, perform fast non-dominated sorting and perform selection, crossover, and mutation operations.
[0108] In this embodiment of the application, individuals that meet the optimal conditions are not subjected to genetic operations during the genetic process and are directly copied to the next generation. Furthermore, all individuals from the parent and offspring generations are mixed and then sorted in a non-dominated manner.
[0109] Step S304: Determine whether to generate a new parent generation.
[0110] Step S305: If a new parent generation can be generated, perform selection, crossover, and mutation operations; otherwise, perform fast non-dominated sorting and adopt an elitist strategy.
[0111] In this embodiment, an elite strategy is adopted to prevent the loss of excellent individuals. The best individuals are directly copied into the next generation without genetic manipulation, and then all individuals from the parent and offspring generations are mixed and sorted in a non-dominated manner.
[0112] Step S306: Determine that the optimization objective is minimized.
[0113] Step S307: If the optimization objective is minimized, output the result; otherwise, continue the optimization operation.
[0114] The energy management method for electric vehicles proposed in this application can calculate the driving torque corresponding to each wheel of the electric vehicle based on the torque distribution coefficient, thereby effectively controlling the drive motor of each wheel and outputting based on the corresponding driving torque. This achieves a reasonable distribution of driving torque, improves energy utilization, and effectively enhances overall vehicle performance while satisfying user experience. This solves the problems in related technologies where the drive system of a four-wheel independently driven electric vehicle has a single energy source and multiple power sources, resulting in redundant actuators, making it difficult to achieve a reasonable distribution of torque to each wheel. This easily leads to unbalanced power performance of the electric vehicle, causing more energy loss and reducing system energy efficiency.
[0115] Next, with reference to the accompanying drawings, an energy management device for an electric vehicle according to an embodiment of this application is described.
[0116] Figure 4 This is a schematic diagram of the structure of an energy management device for an electric vehicle according to an embodiment of this application.
[0117] like Figure 4 As shown, the energy management device 10 of the electric vehicle includes: a calculation module 100, an optimization module 200, and a control module 300.
[0118] Specifically, the calculation module 100 is used to calculate the total demand torque of the electric vehicle based on the state parameters of the electric vehicle.
[0119] The optimization module 200 is used to coordinate and optimize the electric vehicle based on the control of motor energy loss, tire slip energy loss and torque change energy loss, so as to obtain the torque distribution coefficient that meets the minimum energy loss requirement.
[0120] The control module 300 is used to calculate the driving torque corresponding to each wheel of the electric vehicle according to the torque distribution coefficient, and control the drive motor of each wheel to output based on the corresponding driving torque.
[0121] Optionally, in one embodiment of this application, the optimization module 200 includes: a genetic unit.
[0122] Among them, the genetic unit is used to adjust the torque of the front and rear drive motors of the electric vehicle based on a preset improved genetic algorithm. The weight coefficients are dynamically optimized according to the optimization objective function obtained from the motor energy loss, tire slip energy loss and torque change energy loss to obtain the torque distribution coefficient.
[0123] Optionally, in one embodiment of this application, the genetic unit includes: an adjustment subunit.
[0124] The adjustment subunit is used to dynamically adjust the crossover probability and mutation probability according to the optimization objective function during the genetic process.
[0125] Optionally, in one embodiment of this application, the genetic unit includes: a sorting subunit.
[0126] The sorting subunit is used to directly copy individuals that meet the preset optimal conditions into the next generation without performing genetic operations during the genetic process, and to perform non-dominated sorting after mixing all individuals from the parent and offspring generations.
[0127] Optionally, in one embodiment of this application, it further includes a detection module and a data acquisition module.
[0128] The detection module is used to detect the actual mode of the electric vehicle before calculating the total torque demand of the electric vehicle.
[0129] The data acquisition module is used to collect the status parameters of the electric vehicle when the actual mode is detected to be energy management mode.
[0130] It should be noted that the foregoing explanation of the embodiment of the energy management method for electric vehicles also applies to the energy management device of the electric vehicle in this embodiment, and will not be repeated here.
[0131] The energy management device for electric vehicles proposed in this application can calculate the driving torque corresponding to each wheel of the electric vehicle based on the torque distribution coefficient, thereby effectively controlling the drive motor of each wheel and outputting based on the corresponding driving torque. This achieves a reasonable distribution of driving torque, improves energy utilization, and effectively enhances overall vehicle performance and meets user experience requirements. This solves the problems in related technologies where the drive system of a four-wheel independently driven electric vehicle has a single energy source and multiple power sources, resulting in redundant actuators, making it difficult to achieve a reasonable distribution of torque to each wheel, easily leading to unbalanced power performance, increased energy loss, and reduced system energy efficiency.
[0132] Figure 5 A schematic diagram of the structure of an electric vehicle provided in an embodiment of this application. The electric vehicle may include:
[0133] The memory 501, the processor 502, and the computer program stored on the memory 501 and capable of running on the processor 502.
[0134] When processor 502 executes the program, it implements the energy management method for electric vehicles provided in the above embodiments.
[0135] Furthermore, electric vehicles also include:
[0136] Communication interface 503 is used for communication between memory 501 and processor 502.
[0137] The memory 501 is used to store computer programs that can run on the processor 502.
[0138] The memory 501 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0139] If the memory 501, processor 502, and communication interface 503 are implemented independently, then the communication interface 503, memory 501, and processor 502 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 5The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0140] Optionally, in a specific implementation, if the memory 501, processor 502, and communication interface 503 are integrated on a single chip, then the memory 501, processor 502, and communication interface 503 can communicate with each other through an internal interface.
[0141] Processor 502 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0142] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described energy management method for electric vehicles.
[0143] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0144] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0145] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0146] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0147] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or more of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0148] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0149] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0150] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. An energy management method for an electric vehicle, characterized by, Includes the following steps: Calculate the total required torque of the electric vehicle based on its state parameters; Based on the control of the electric vehicle's motor energy loss, tire slip energy loss, and torque variation energy loss, the electric vehicle is coordinated and optimized to obtain a torque distribution coefficient that meets the minimum energy loss requirement; wherein, the optimization includes: adjusting the torque of the front and rear drive motors of the electric vehicle based on a preset improved genetic algorithm, and dynamically optimizing the weight coefficients according to the optimization objective function obtained from the motor energy loss, the tire slip energy loss, and the torque variation energy loss to obtain the torque distribution coefficient; The driving torque corresponding to each wheel of the electric vehicle is calculated based on the torque distribution coefficient, and the drive motor of each wheel is controlled to output based on the corresponding driving torque.
2. The method of claim 1, wherein, The dynamic optimization of weight coefficients based on the objective function obtained from the motor energy loss, the tire slippage energy loss, and the torque variation energy loss includes: During the genetic process, the crossover probability and mutation probability are dynamically adjusted according to the optimization objective function.
3. The method of claim 1, wherein, The dynamic optimization of weight coefficients based on the objective function obtained from the motor energy loss, the tire slippage energy loss, and the torque variation energy loss includes: During the genetic process, individuals that meet the preset optimal conditions are not subjected to genetic operations and are directly copied to the next generation. Furthermore, all individuals from the parent and offspring generations are mixed and then sorted non-dominated.
4. The method according to claim 1, characterized in that, Before calculating the total torque demand of the electric vehicle, the following is also included: Detect the actual mode of the electric vehicle; When the actual mode is detected to be energy management mode, the status parameters of the electric vehicle are collected.
5. An energy management device for an electric vehicle, characterized in that, The energy management method for electric vehicles according to claim 1, wherein the device comprises: The calculation module is used to calculate the total torque demand of the electric vehicle based on the electric vehicle's state parameters; The optimization module is used to coordinate and optimize the electric vehicle based on the control of motor energy loss, tire slip energy loss, and torque variation energy loss, to obtain a torque distribution coefficient that achieves the minimum energy loss requirement; and The control module is used to calculate the driving torque corresponding to each wheel of the electric vehicle according to the torque distribution coefficient, and control the drive motor of each wheel to output based on the corresponding driving torque.
6. The apparatus according to claim 5, characterized in that, The optimization module includes: A genetic unit is used to adjust the torque of the front and rear drive motors of an electric vehicle based on a preset improved genetic algorithm. The weight coefficients are dynamically optimized according to the optimization objective function obtained from the motor energy loss, the tire slip energy loss and the torque change energy loss to obtain the torque distribution coefficient.
7. The apparatus according to claim 6, characterized in that, The genetic unit is further used to dynamically adjust the crossover probability and mutation probability according to the optimization objective function during the genetic process; and / or, during the genetic process, individuals that meet the preset optimal conditions are not subjected to genetic operations and are directly copied to the next generation, and all individuals of the parent and offspring generations are mixed and then sorted in a non-dominated manner.
8. An electric vehicle, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the energy management method for an electric vehicle as described in any one of claims 1-4.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the energy management method for electric vehicles as described in any one of claims 1-4.
Citation Information
Patent Citations
Pure electric vehicle energy consumption optimization method, system and device based on vehicle and road cooperation perception fusion
CN115214382A
