Hybrid electric vehicle part parameter optimization type selection method and system and medium
The snowmelt optimization algorithm is used to construct the objective function and initial population in the selection of hybrid electric vehicle parts, and solve the optimal parameter combination, which solves the problem of low efficiency in the selection of hybrid electric vehicle parts in the existing technology and achieves efficient and accurate parameter selection. optimization.
Patent Information
- Application Number
- CN202410879418.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-20
AI Technical Summary
The existing technology lacks efficient optimization methods in hybrid vehicle component selection, resulting in a time-consuming and labor-intensive design process, and it is difficult to find the optimal solution within the vehicle parameter constraints.
The snowmelt optimization algorithm is used to construct the objective function by inputting vehicle structural parameters and component performance parameters, randomly generate an initial population, calculate the fitness value, and solve the best parameter combination through the snowmelt optimization algorithm, and output the optimization results.
It improves the efficiency and accuracy of parameter optimization and selection of hybrid vehicle components, shortens the design time, and ensures the reliability and practicality of the final result.
Smart Images

Figure CN118673605A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle parameter selection, and in particular to a method, system and medium for optimizing the selection of hybrid vehicle component parameters. Background Art
[0003] At present, most car companies choose to use experience to design the components of hybrid vehicles, which requires a lot of attempts and consumes a lot of financial, material and time resources. Inspired by the sublimation and melting behavior of snow, the Snow Melt Optimizer uses its unique dual population mechanism to enable search agents to have both development and exploration behaviors. As the iterative optimization proceeds, their population numbers and the parameters of their respective iterative formulas change, achieving a great balance between exploration and development, so that an optimal parameter selection scheme for key components of hybrid vehicle powertrain can be found within the vehicle parameter constraints. For the above problems, effective technical solutions are urgently needed. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, system and medium for optimizing the selection of hybrid vehicle component parameters, by inputting vehicle structural parameters, importing performance parameters of each component, setting optimization orientations, constructing different objective functions, and then providing fitness value calculations for the snow melting algorithm to obtain the final optimization solution set, thereby obtaining the optimal combination of parameter selection components.
[0005] The present application also provides a method for optimizing the parameters of hybrid vehicle components, including:
[0006] By inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed;
[0007] Solve the constraints of variables according to the mathematical model and set the value range of the variables;
[0008] Within the range of variable values, the initial population is randomly generated, its fitness value is calculated, set as the objective function benchmark, and the best individual is selected based on the objective function benchmark;
[0009] Execute the snowmelt optimization algorithm, solve the parameter combination with the best fitness, and output the results of parameter selection optimization.
[0010] Optionally, in the hybrid vehicle component parameter optimization selection method described in the embodiment of the present application, different objective functions are constructed by inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientations, specifically including:
[0011] Collect various potential parts data, including performance indicators and prices, generate vehicle structural parameters, and obtain vehicle structural parameters.
[0012] Based on the factors affecting component performance, including cost control, power performance or comprehensive performance, the performance parameters of each component are obtained;
[0013] The optimization orientation is set based on the vehicle structure parameters and the performance parameters of each component. The optimization orientation includes economic optimization, power optimization and comprehensive optimization.
[0014] Construct different objective functions based on the optimization orientation.
[0015] Optionally, in the hybrid vehicle component parameter optimization selection method described in the embodiment of the present application, solving the constraint conditions of the variables according to the mathematical model and setting the value range of the variables specifically include:
[0016] The various performances under given driving conditions include design requirement parameters, load and motor or engine related parameters, engine experience value parameters, motor experience value parameters, gearbox experience value parameters, main reducer experience value parameters, motor or battery cost estimation related parameters, high-voltage power supply system supply voltage parameters and parameters required by the optimization algorithm;
[0017] The design requirement parameters include three drive forms, including hybrid drive, engine drive alone, and motor drive alone;
[0018] Load and motor or engine related parameters include engine accessory power, electric air conditioner on / power, other electrical accessory power, motor / engine torque margin factor;
[0019] The engine experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit;
[0020] The motor experience value parameters include the maximum power upper limit, maximum power lower limit, maximum torque upper limit, and maximum torque lower limit.
[0021] The gearbox experience value parameters include the maximum speed ratio upper limit, the maximum speed ratio lower limit, the minimum speed ratio upper limit, and the minimum speed ratio lower limit;
[0022] The empirical value parameters of the main reducer include the upper limit and lower limit of the main reducer ratio;
[0023] Parameters related to motor or battery cost estimation include motor cost, battery life mileage, battery cost, and motor life mileage;
[0024] The power supply voltage parameters of the high-voltage power supply system include the power supply voltage of the high-voltage power supply system, the current market oil price, and the electricity price parameters. The electricity price parameters include the market oil price and the market electricity price;
[0025] The parameters required by the optimization algorithm include the optimization object, population size, and termination iteration number;
[0026] Among them, the optimization objects include the number of battery packs, the maximum power of the motor and the maximum power of the engine, the speed ratio of the main reducer, and the speed ratio of the highest gear and the lowest gear of the transmission;
[0027] The population size is divided into two sub-populations, including population A and population B. Population A is responsible for the exploration of the search agent during the iteration of the optimization algorithm, and population B is responsible for the development of the search agent during the iteration of the optimization algorithm.
[0028] Optionally, in the hybrid vehicle component parameter optimization selection method described in the embodiment of the present application, solving the constraint conditions of the variables according to the mathematical model and setting the value range of the variables specifically include:
[0029] Determine the lower limits of total power and total torque according to the performance requirements of the hybrid drive;
[0030] Determine the lower limits of motor power and motor torque based on the performance requirements of the motor drive alone;
[0031] Determine the lower limits of engine power and engine torque based on the performance requirements of the engine driving alone;
[0032] Calculate the range of the main reduction ratio and transmission ratio, battery capacity and charge and discharge current;
[0033] Generate variable constraints based on the main reduction ratio range and transmission ratio range, battery capacity and charge and discharge current range; and set the value range of the variable based on the variable constraints.
[0034] Optionally, in the hybrid vehicle component parameter optimization selection method described in the embodiment of the present application, within the variable value range, an initial population is randomly generated, its fitness value is calculated, and is set as an objective function benchmark, and the best individual is screened out based on the objective function benchmark, specifically including:
[0035] Categorize and organize various accessories collected from the market, and set the available options and quantities for each accessory;
[0036] Determine the feasibility range of each combination based on budget constraints and power requirements. Within this feasible range, construct the initial population based on previously set parameters and accessories on the market.
[0037] Design the corresponding fitness function according to different optimization goals, including the strongest power, the lowest cost or the best comprehensive performance;
[0038] The initial population is input into the fitness function to obtain the fitness value, and the best individuals are selected based on the fitness value.
[0039] Optionally, in the hybrid vehicle component parameter optimization selection method described in the embodiment of the present application, a snow melting optimization algorithm is executed to solve the parameter combination with the best fitness and output the result of parameter selection optimization, which specifically includes:
[0040] Divide the initial population into two parts, one for exploring new possibilities and the other for continuing to optimize the existing combination;
[0041] Calculate the snow melting speed of each accessory combination to simulate the snow melting phenomenon in nature. Sort all combinations according to fitness scores and select the top 50% combinations as leaders;
[0042] In the next iteration, a new starting point is selected from the set consisting of the center of mass positions of the current optimal solution, the second-best individual, the third-best individual, and the leader;
[0043] Make each individual move towards the new starting point, while performing a certain degree of random movement to more comprehensively explore the entire solution space;
[0044] After multiple iterations, the algorithm will eventually find the optimal solution as the best accessory combination, and generate the result of parameter selection optimization based on the best accessory combination.
[0045] In a second aspect, an embodiment of the present application provides a hybrid vehicle component parameter optimization selection system, the system comprising: a memory and a processor, the memory comprising a program of a hybrid vehicle component parameter optimization selection method, the program of the hybrid vehicle component parameter optimization selection method being executed by the processor to implement the following steps:
[0046] By inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed;
[0047] Solve the constraints of variables according to the mathematical model and set the value range of the variables;
[0048] Within the range of variable values, the initial population is randomly generated, its fitness value is calculated, set as the objective function benchmark, and the best individual is selected based on the objective function benchmark;
[0049] Execute the snowmelt optimization algorithm, solve the parameter combination with the best fitness, and output the results of parameter selection optimization.
[0050] Optionally, in the hybrid vehicle component parameter optimization and selection system described in the embodiment of the present application, different objective functions are constructed by inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientations, specifically including:
[0051] Collect various potential parts data, including performance indicators and prices, generate vehicle structural parameters, and obtain vehicle structural parameters.
[0052] Based on the factors affecting component performance, including cost control, power performance or comprehensive performance, the performance parameters of each component are obtained;
[0053] The optimization orientation is set based on the vehicle structure parameters and the performance parameters of each component. The optimization orientation includes economic optimization, power optimization and comprehensive optimization.
[0054] Construct different objective functions based on the optimization orientation.
[0055] Optionally, in the hybrid vehicle component parameter optimization and selection system described in the embodiment of the present application, the variable value range is set according to the constraint conditions of the variable solved by the mathematical model, specifically including:
[0056] The various performances under given driving conditions include design requirement parameters, load and motor or engine related parameters, engine experience value parameters, motor experience value parameters, gearbox experience value parameters, main reducer experience value parameters, motor or battery cost estimation related parameters, high-voltage power supply system supply voltage parameters and parameters required by the optimization algorithm;
[0057] The design requirement parameters include three drive forms, including hybrid drive, engine drive alone, and motor drive alone;
[0058] Load and motor or engine related parameters include engine accessory power, electric air conditioner on / power, other electrical accessory power, motor / engine torque margin factor;
[0059] The engine experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit;
[0060] The motor experience value parameters include the maximum power upper limit, maximum power lower limit, maximum torque upper limit, and maximum torque lower limit.
[0061] The gearbox experience value parameters include the maximum speed ratio upper limit, the maximum speed ratio lower limit, the minimum speed ratio upper limit, and the minimum speed ratio lower limit;
[0062] The empirical value parameters of the main reducer include the upper limit and lower limit of the main reducer ratio;
[0063] Parameters related to motor or battery cost estimation include motor cost, battery life mileage, battery cost, and motor life mileage;
[0064] The power supply voltage parameters of the high-voltage power supply system include the power supply voltage of the high-voltage power supply system, the current market oil price, and the electricity price parameters. The electricity price parameters include the market oil price and the market electricity price;
[0065] The parameters required by the optimization algorithm include the optimization object, population size, and termination iteration number;
[0066] Among them, the optimization objects include the number of battery packs, the maximum power of the motor and the maximum power of the engine, the speed ratio of the main reducer, and the speed ratio of the highest gear and the lowest gear of the transmission;
[0067] The population size is divided into two sub-populations, including population A and population B. Population A is responsible for the exploration of the search agent during the iteration of the optimization algorithm, and population B is responsible for the development of the search agent during the iteration of the optimization algorithm.
[0068] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a hybrid vehicle component parameter optimization and selection method program, and when the hybrid vehicle component parameter optimization and selection method program is executed by a processor, the steps of the hybrid vehicle component parameter optimization and selection method as described in any one of the above items are implemented.
[0069] As can be seen from the above, the embodiment of the present application provides a method, system and medium for optimizing the selection of hybrid vehicle component parameters, by inputting vehicle structural parameters, importing performance parameters of each component, and setting optimization orientations to construct different objective functions; solving the constraint conditions of the variables according to the mathematical model, setting the value range of the variables; within the value range of the variables, randomly generating an initial population, calculating its fitness value, setting it as the benchmark of the objective function, and screening out the best individual based on the benchmark of the objective function; executing the snow melting optimization algorithm, solving the parameter combination with the best fitness, and outputting the result of parameter selection optimization; by inputting vehicle structural parameters, importing performance parameters of each component, and setting optimization orientations at the same time, constructing different objective functions, and then providing fitness value calculation for the snow melting algorithm. The snow melting algorithm is used to continuously explore and exploit the initial benchmark point to obtain the final optimization solution set. In this way, the final optimization solution that satisfies different objective functions such as economic objective function, dynamic objective function, and comprehensive objective function is obtained, thereby obtaining the optimal combination of parameter selection components. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0071] Figure 1 A flow chart of a method for optimizing the selection of hybrid vehicle component parameters provided in an embodiment of the present application;
[0072] Figure 2A flow chart of a method for constructing an objective function of a method for optimizing the selection of hybrid vehicle component parameters provided in an embodiment of the present application;
[0073] Figure 3 A DDF variation trend diagram of the hybrid vehicle component parameter optimization selection method provided in an embodiment of the present application;
[0074] Figure 4 Iteration diagram of the hybrid vehicle component parameter optimization selection method provided in the embodiment of the present application;
[0075] Figure 5 A parameter selection scheme table is provided for the hybrid vehicle component parameter optimization selection method provided in the embodiment of the present application. DETAILED DESCRIPTION
[0076] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0077] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0078] Please refer to Figure 1 , Figure 1 The present invention is a flowchart of a hybrid vehicle component parameter optimization and selection method in some embodiments of the present invention. The hybrid vehicle component parameter optimization and selection method is used in a terminal device, and the hybrid vehicle component parameter optimization and selection method includes the following steps:
[0079] S101, constructing different objective functions by inputting vehicle structure parameters, importing performance parameters of various components, and setting optimization orientations;
[0080] S102, solving the constraint conditions of the variables according to the mathematical model and setting the value range of the variables;
[0081] S103, randomly generating an initial population within the variable value range, calculating its fitness value, setting it as the objective function benchmark, and selecting the best individual based on the objective function benchmark;
[0082] S104, executing the snow melting optimization algorithm, solving the parameter combination with the best fitness, and outputting the result of parameter selection optimization.
[0083] It should be noted that by building the dynamic equation of a hybrid vehicle to characterize the various performances of a hybrid vehicle under given driving conditions, it is necessary to provide operating parameters, assign values to the operating parameters, the population size, the number of variables (the number of components to be selected), and the termination iteration algebra. By inputting the vehicle structure parameters, importing the performance parameters of each component, and setting the optimization orientation, different objective functions are constructed, and then the fitness value calculation is provided for the snow melting algorithm. Through the snow melting algorithm, the initial reference point is continuously explored and mined to obtain the final optimization solution set, which satisfies different objective functions such as the economic objective function, the dynamic objective function, and the comprehensive objective function, and obtains the optimal combination of parameter selection components. First, find a set of component combination parameters that meet the objective function, and use this as the individuals selected by several elite groups in the group, and use this as the benchmark for the first iteration. The initialized population is divided into two subpopulations, which are explored and developed respectively, and the snow melting rate is calculated at the same time. At the same time, the combination solutions are ranked by fitness value, and the top 50% are used as leaders. In subsequent iterations, a new benchmark is selected from the set consisting of the center of mass positions of the current optimal solution, the second-best individual, the third-best individual, and the leader.
[0084] In each round of iteration, the algorithm gradually explores the solution space by taking the reference point as the direction and approaching the optimal solution of that round of iteration. The probability of individuals performing irregular movements with highly dispersed characteristics increases. Based on the gradual exploration of the solution space and the changes in the exploration population and the mining population in the population, the optimal solution is obtained, which is the optimal solution. By introducing the snowmelt optimization algorithm, the present invention not only improves the efficiency of hybrid vehicle parameter optimization selection, but also ensures the accuracy and reliability of the final optimized solution. This method is applicable to various types of hybrid vehicles and can be flexibly adjusted according to your specific needs, which provides great convenience for the selection of parameter components of hybrid vehicles under different optimization orientations.
[0085] Furthermore, the present application is applicable to assisting the development of hybrid electric vehicles and realizing parameter selection and optimization of key components of the powertrain. For example, according to the vehicle performance indicators set by the user and the determined vehicle-related parameters, the feasible range of values of the parameters of the key components of the powertrain is calculated, including the power and torque range of the engine and motor, the battery capacity and the charge and discharge voltage, current limit, etc. Then, according to the feasible range of values of the component parameters, the optimization algorithm is used to calculate and give the theoretically optimal values of each parameter. By introducing the snow melting optimization algorithm, the efficiency and accuracy of the optimization selection of hybrid electric vehicle parameters are greatly improved. It not only saves the tedious work of manual screening and calculation, but also significantly shortens the optimization time, while ensuring the reliability and practicality of the final optimization results. This method is applicable to various types of hybrid electric vehicles and can be flexibly adjusted according to your specific needs.
[0086] Please refer to Figure 2 , Figure 2 This is a flow chart of a method for constructing an objective function of a hybrid vehicle component parameter optimization selection method in some embodiments of the present application. According to an embodiment of the present invention, different objective functions are constructed by inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientations, specifically including:
[0087] S201, collect various potential parts data, including performance indicators and prices, generate vehicle structure parameters, and obtain vehicle structure parameters.
[0088] S202, obtaining performance parameters of each component based on factors affecting component performance, including cost control, power performance or comprehensive performance;
[0089] S203, setting an optimization orientation based on the vehicle structure parameters and the performance parameters of each component, the optimization orientation including economic optimization, power optimization and comprehensive optimization;
[0090] S204, constructing different objective functions based on the optimization orientation.
[0091] It should be noted that the present invention first determines the empirical values and specific performance parameters of the optional components, considers the vehicle structure parameters and subsequent optimization parameters, and selects different optimization orientations including: optimization based on economy, optimization based on power, and optimization based on comprehensiveness. At the same time, the number of components to be selected and the population size are set, and the feasible value range of the components is solved according to the constraints. Within this feasible value range, the initialized population individuals are constructed based on the parameter model component library, and the fitness function is constructed according to different optimization orientations and other parameters to calculate the fitness value, wherein the objective function includes the optimal function for power, the optimal function for economy, and the optimal function for comprehensiveness.
[0092] According to an embodiment of the present invention, solving the constraint conditions of the variables according to the mathematical model and setting the value range of the variables specifically include:
[0093] The various performances under given driving conditions include design requirement parameters, load and motor or engine related parameters, engine experience value parameters, motor experience value parameters, gearbox experience value parameters, main reducer experience value parameters, motor or battery cost estimation related parameters, high-voltage power supply system supply voltage parameters and parameters required by the optimization algorithm;
[0094] The design requirement parameters include three drive forms, including hybrid drive, engine drive alone, and motor drive alone;
[0095] Load and motor or engine related parameters include engine accessory power, electric air conditioner on / power, other electrical accessory power, motor / engine torque margin factor;
[0096] The engine experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit;
[0097] The motor experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit;
[0098] The gearbox experience value parameters include the maximum speed ratio upper limit, the maximum speed ratio lower limit, the minimum speed ratio upper limit, and the minimum speed ratio lower limit;
[0099] The empirical value parameters of the main reducer include the upper limit and lower limit of the main reducer ratio;
[0100] Parameters related to motor or battery cost estimation include motor cost, battery life mileage, battery cost, and motor life mileage;
[0101] The power supply voltage parameters of the high-voltage power supply system include the power supply voltage of the high-voltage power supply system, the current market oil price, and the electricity price parameters. The electricity price parameters include the market oil price and the market electricity price;
[0102] The parameters required by the optimization algorithm include the optimization object, population size, and termination iteration number;
[0103] Among them, the optimization objects include the number of battery packs, the maximum power of the motor and the maximum power of the engine, the speed ratio of the main reducer, and the speed ratio of the highest gear and the lowest gear of the transmission;
[0104] The population size is divided into two sub-populations, including population A and population B. Population A is responsible for the exploration of the search agent during the iteration of the optimization algorithm, and population B is responsible for the development of the search agent during the iteration of the optimization algorithm.
[0105] It should be noted that the three driving forms include hybrid drive, engine drive alone, and motor drive alone, and the maximum vehicle speed, average climbing speed, maximum climbing grade, acceleration time, and vehicle model parameters also include the vehicle's own parameters, namely vehicle length, wheelbase, center of mass height, wheel radius, frontal area, empty mass, passenger mass, battery SOC upper limit, battery SOC lower limit, air drag coefficient, rolling resistance coefficient, braking force distribution coefficient, and distance from the center of mass to the front axle.
[0106] According to an embodiment of the present invention, solving the constraint conditions of the variables according to the mathematical model and setting the value range of the variables specifically include:
[0107] Determine the lower limits of total power and total torque according to the performance requirements of the hybrid drive;
[0108] Determine the lower limits of motor power and motor torque based on the performance requirements of the motor drive alone;
[0109] Determine the lower limits of engine power and engine torque based on the performance requirements of the engine driving alone;
[0110] Calculate the range of the main reduction ratio and transmission ratio, battery capacity and charge and discharge current;
[0111] Generate variable constraints based on the main reduction ratio range and transmission ratio range, battery capacity and charge and discharge current range; and set the value range of the variable based on the variable constraints.
[0112] It should be noted that the total power, the lower limit of the total torque, the maximum speed v of the hybrid drive are determined according to the performance requirements of the hybrid drive. max_h , determine the lower limit of total power, the calculation formula is as follows:
[0113]
[0114] Where η T is the transmission system efficiency; f is the rolling resistance coefficient; C D is the air resistance coefficient; A is the windward area.
[0115] The hybrid drive 0~50kmph acceleration time is less than t acc_h , determine the lower limit of total power:
[0116]
[0117] Where the final velocity v acc_end =50kmp / h; f is the rolling resistance coefficient, δ is the vehicle rotation mass conversion coefficient.
[0118] From the above, the lower limit of total power can be determined: P max_h =max{P vmax_h ,Pacc_h}+P addfc
[0119] Where P addfc is the engine accessory power.
[0120] According to the first gear climbing grade α max_h , determine the lower limit of the total torque:
[0121]
[0122] Where r is the tire radius, i g i0 are the first gear ratio and the final reduction ratio of the gearbox respectively, It is the torque margin coefficient, which can be set by the user according to the working environment of the target vehicle model (such as whether it often climbs hills).
[0123] (2) Determine the lower limits of motor power and motor torque based on the performance requirements of the motor alone.
[0124] Maximum speed of the motor alone v max_m , determine the lower limit of the motor maximum power:
[0125]
[0126] Where η T is the transmission system efficiency, f is the rolling resistance coefficient, C D is the air resistance coefficient, and A is the windward area.
[0127] The acceleration time from 0 to 50 kmph driven by the motor alone is less than t acc_m , determine the lower limit of the motor maximum power:
[0128]
[0129] Where the final velocity v acc_end =50kmp / h; f is the rolling resistance coefficient, δ is the vehicle rotation mass conversion coefficient.
[0130] From the above, the lower limit of the maximum motor power can be determined: P max_m =max{P vmax_m ,P acc_m}
[0131] According to the first gear climbing grade α max_m , determine the lower limit of the motor's maximum torque:
[0132]
[0133] Where r is the tire radius, i g i0 are the first gear ratio and the final reduction ratio of the gearbox respectively, It is the torque margin coefficient, which can be set by the user according to the working environment of the target vehicle model (such as whether it often climbs hills).
[0134] (3) Determine the lower limits of engine power and engine torque based on the performance requirements of the engine alone.
[0135] Maximum speed with engine alone v max_e , determine the lower limit of the maximum engine power:
[0136]
[0137] Where η T is the transmission efficiency, f is the rolling resistance coefficient, C D is the air resistance coefficient, and A is the windward area.
[0138] The acceleration time from 0 to 50 kmph driven by the engine alone is less than t acc_e , determine the lower limit of the maximum engine power:
[0139]
[0140] Where the final velocity v acc_end =50kmp / h; f is the rolling resistance coefficient, δ is the vehicle rotation mass conversion coefficient.
[0141] From the above, the lower limit of the maximum engine power can be determined: P max_e =max{P vmax_e ,P acc_e}+P addfc
[0142] Where P addfc is the engine accessory power.
[0143] According to the first gear climbing grade α max_e , determine the lower limit of the maximum engine torque:
[0144]
[0145] Where r is the tire radius, i g i0 are the first gear ratio and the final reduction ratio of the gearbox respectively, It is the torque margin coefficient, which can be set by the user according to the working environment of the target vehicle model (such as whether it often climbs hills).
[0146] (4) Calculate the main reduction ratio range and the transmission ratio range.
[0147] (a) To find the range of the main reduction ratio, first of all, it should meet the maximum vehicle speed requirement, and at the same time, it should also meet the maximum power that the vehicle can still output at the maximum speed:
[0148]
[0149] Where I0=i gmin i0, where i gmin is the overdrive ratio, i0 is the main reduction ratio; r is the tire radius, N e_max is the maximum engine speed, N ep is the engine's maximum power point speed, v max_h For the maximum speed.
[0150] i 0_min =I 0_min / i gmin_high_exp
[0151] i 0_max =I 0_max / i gmin_low_exp
[0152] Where i gmin Experience value i gmin_low_exp =0.7,i gmin_high_exp =0.85.
[0153] (b) Find the maximum speed ratio of the transmission, which should satisfy the requirements of the maximum climbing grade and adhesion conditions when the vehicle is climbing a slope at a low speed:
[0154]
[0155] In the above formula, the maximum torque T max , f is the rolling resistance coefficient, the maximum climbing grade α max , k is the rear axle load factor, is the adhesion coefficient.
[0156] (5) Calculate the battery capacity and charge and discharge current range.
[0157] The capacity of the battery pack should meet the energy requirements of pure electric driving range:
[0158]
[0159] In the above formula, v m is the vehicle speed, f is the rolling resistance coefficient, P add is the power of electrical accessories, η b is the battery discharge efficiency, η m is the motor efficiency, S max Pure electric driving range, SOC high is the upper limit of SOC, SOC low is the SOC lower limit, and V is the motor voltage.
[0160] Find the discharge current range:
[0161] The lower limit of discharge current that can fully exert the motor power
[0162]
[0163] In the above formula, P max_m is the maximum power of the motor, V is the motor voltage, η b is the battery discharge efficiency, η m is the motor efficiency.
[0164] Take the maximum allowable charging current I of the battery bat_c =I bat .
[0165] According to an embodiment of the present invention, within the variable value range, an initial population is randomly generated, its fitness value is calculated, and is set as an objective function benchmark, and the best individual is screened out based on the objective function benchmark, specifically including:
[0166] Categorize and organize various accessories collected from the market, and set the available options and quantities for each accessory;
[0167] Determine the feasibility range of each combination based on budget constraints and power requirements. Within this feasible range, construct the initial population based on previously set parameters and accessories on the market.
[0168] Design the corresponding fitness function according to different optimization goals, including the strongest power, the lowest cost or the best comprehensive performance;
[0169] The initial population is input into the fitness function to obtain the fitness value, and the best individuals are selected based on the fitness value.
[0170] It should be noted that the initial population is generated and modeled as a matrix containing N rows and Dim columns, where N represents the size of the population and Dim represents the dimension of the solution space.
[0171]
[0172] Where L and U represent the lower and upper bounds of the solution space, respectively. θ represents a randomly generated number in [0, 1].
[0173] Taking the example of only needing to optimize the engine and motor and optimizing based on economy, a fitness function is constructed.
[0174] (a) Within the parameter range, first randomly find a set of component combination parameters as the benchmark of the fitness function;
[0175] In this process, it is necessary to save the combination parameters of this group of economic benchmark components, especially the maximum power of the motor, the maximum power of the engine and the number of batteries, which will be the basis for calculating the parameters of each individual in the population.
[0176] Set the penalty function value C0, and the penalty function values C0 of the two calls to the model are accumulated together.
[0177] Fitness function veh func0 The first item in the brackets is 200 and the index function veh in the optimization process costfunc0 The difference is because the snowmelt optimization algorithm is to find the minimum fitness value; the second term of the fitness function is the penalty function value C0, and the sum of the two terms and the percentage coefficient factor 100 The product of is taken as the fitness value of the benchmark combination, and the system takes its value as the benchmark score of 100. The better the economic performance of an individual in the population, the smaller its fitness value. The following formula is the construction method of the fitness function of the benchmark combination:
[0178] veh costfune0 =100×veh costmoney0 / υeh costmoney
[0179] factor 100 =100 / ((200-veh costfunc )+C0)
[0180] veh func0 =((200-veh costfunc0 )+C0)×factor 100
[0181] In the above formula, veh costmoney0 is the total cost per 100 kilometers of the benchmark combination (yuan), which is used as the basis for calculating the value of the individual economic fitness function; veh func0 The fitness function value of the economically optimal combination is 100 points, which serves as the benchmark value for comparing individual fitness.
[0182] (b) Assign values to the parameters of the selected components of each individual in the population. These parameters are necessary for the model to calculate the fitness value. Before assigning values to the individuals, their battery, motor and engine parameters only include the number of battery packs, the maximum power of the motor and the maximum power of the engine. Other parameters necessary for calling the model are calculated in proportion to the parameters of the above benchmark combination.
[0183] (c) Calculate the performance index function value veh func initial The parameters and process required for calculation are similar to those in (a) above, so we will not elaborate on them here. There are three differences between the two processes:
[0184] First, in this process, it is not necessary to save all the combination parameters of this group of components.
[0185] Second, the penalty function accumulation items generated by the two calls to the model in this process (5 items for each call to the model) are saved in the structure respectively, which is convenient for the penalty function to be called when calculating the penalty function value.
[0186] Point 3: The return value of this process is the initial performance indicator function value veh func initial , is not the final fitness function value, so it does not include the penalty function value. func initial The construction of is as follows:
[0187]
[0188] veh func initial =200-veh cost func .
[0189] (d) Finally, the penalty is calculated and the initial value of penalty C is set to 0. The individual calls the model operation twice, and each time generates 5 penalty function value accumulation items. The maximum values of each item have been saved in the structure. The 5 items are: road adhesion limit, motor voltage limit, battery maximum voltage limit, battery minimum voltage limit and battery power limit. If the maximum value of an item is equal to 1, it means that the road adhesion limit is reached during the model call process. The penalty function value will be accumulated by 0.2, and the same applies to the other 4 items. The penalty function also determines whether the individual power performance can meet the design requirements. For example, if the individual's maximum speed cannot reach the design requirement, the penalty function will be accumulated by 2 on the original basis. The same applies to acceleration time and maximum climbing grade.
[0190] (e) The final return value of the fitness function is veh func , which is calculated as
[0191] veh func =(veh func initial +C)×factor 100
[0192] veh func initial is the return value of (c), C is the return value of the penalty function, factor 100 It is the coefficient that converts the fitness function into a 100-point system.
[0193] Finally, the optimal fitness solution among N individuals is calculated and set to G.
[0194] According to an embodiment of the present invention, Figure 4-Figure 5 As shown, the snow melting optimization algorithm is executed to solve the parameter combination with the best fitness and output the results of parameter selection optimization, including:
[0195] Divide the initial population into two parts, one for exploring new possibilities and the other for continuing to optimize the existing combination;
[0196] Calculate the snow melting speed of each accessory combination to simulate the snow melting phenomenon in nature. Sort all combinations according to fitness scores and select the top 50% combinations as leaders;
[0197] In the next iteration, a new starting point is selected from the set consisting of the center of mass positions of the current optimal solution, the second-best individual, the third-best individual, and the leader;
[0198] Make each individual move towards the new starting point, while performing a certain degree of random movement to more comprehensively explore the entire solution space;
[0199] After multiple iterations, the algorithm will eventually find the optimal solution as the best accessory combination, and generate the result of parameter selection optimization based on the best accessory combination.
[0200] It should be noted that if Figure 3 As shown in Figure 1, as one of the most classic snowmelt models, the degree-day method is used to calculate the snow melting rate, and DDT is defined to represent the degree-day factor, which ranges from 0.35 to 0.6. In each iteration, the mathematical expression for updating the value of DDF is as follows:
[0201]
[0202] where t max is the termination condition.
[0203]
[0204] Divide the population into two subpopulations, responsible for development and exploration respectively;
[0205] In metaheuristic algorithms, it is very important to achieve a trade-off between exploitation and exploration. Some of the liquid water converted from snow can also be converted into steam for the exploration process. That is, over time, the probability of individuals performing irregular movements with highly dispersed characteristics increases. Then the algorithm gradually tends to explore the solution space. The algorithm designs a dual population mechanism to reflect this situation and maintain exploitation and exploration. In the early stages of the iteration, the entire population is randomly divided into two subpopulations of equal size. We denote the entire population and these two subpopulations as Pa and Pb, respectively, where Pa is responsible for exploration and Pb is responsible for exploitation. Then in subsequent iterations, the size of Pb gradually decreases, while the size of Pa increases accordingly.
[0206] Calculate the fitness values of all individuals in the two subpopulations, calculate the best individual, the second best individual, the third best individual, the leader, the leader's centroid, and the population's centroid, and update the positions of all individuals in the two populations respectively through the update formula, while saving the best individual;
[0207] According to the above, calculate the fitness of all individuals in the two populations, calculate the optimal individual G(t), the suboptimal individual Z second (t), the third best individual Z third (t);
[0208] The individuals whose fitness values rank in the top 50% are called leaders, and the leader centroid Z is calculated using the formula c (t),
[0209]
[0210] Where N1 represents the number of leaders, that is, N1 is equal to half the size of the entire group, and Z ci (t) represents the positions of all leaders.
[0211] Calculate the centroid of the population The calculation formula is as follows:
[0212]
[0213] In the formula, Z i (t) refers to the location of all individuals;
[0214] Defining the choice of elite individuals Elite(t)
[0215] Elite(t)∈[G(t), Z second (t), Z third (t), Z c (t)]
[0216] Define the iterative formula for the population Pa responsible for exploration:
[0217]
[0218] Where θ1 represents a number randomly selected from [0, 1], and BM i (t) represents a random number vector based on Gaussian distribution, which represents Brownian motion. The calculation formula is as follows:
[0219]
[0220] Define the population Pb iteration formula responsible for development.
[0221]
[0222] Where M is the snowmelt rate, θ2 is similar to θ1;
[0223] The termination condition of the snowmelt optimization algorithm is set to the termination iteration number. When the maximum iteration number is met, the result of parameter selection optimization is output.
[0224] In a second aspect, an embodiment of the present application provides a hybrid vehicle component parameter optimization selection system, the system comprising: a memory and a processor, the memory comprising a program of a hybrid vehicle component parameter optimization selection method, and when the program of the hybrid vehicle component parameter optimization selection method is executed by the processor, the following steps are implemented:
[0225] By inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed;
[0226] Solve the constraints of variables according to the mathematical model and set the value range of the variables;
[0227] Within the range of variable values, the initial population is randomly generated, its fitness value is calculated, set as the objective function benchmark, and the best individual is selected based on the objective function benchmark;
[0228] Execute the snowmelt optimization algorithm, solve the parameter combination with the best fitness, and output the results of parameter selection optimization.
[0229] It should be noted that by inputting the vehicle structure parameters, importing the performance parameters of each component, and setting the optimization orientation, different objective functions are constructed, thereby providing fitness value calculation for the snow melting algorithm. Through the snow melting algorithm, the initial benchmark point is continuously explored and mined to obtain the final optimization solution set, satisfying different objective functions such as economic objective function, dynamic objective function, and comprehensive objective function, and obtaining the optimal combination of parameter selection components. First, find a set of component combination parameters that meet the objective function, and use this as the individual selected by several elite groups in the group, and use this as the benchmark for the first iteration. The initialized population is divided into two subpopulations, which are explored and developed respectively, and the snow melting rate is calculated at the same time. At the same time, the combination schemes are ranked by fitness value, and the top 50% are used as leaders. In subsequent iterations, a new benchmark is selected from the set consisting of the center of mass positions of the current optimal solution, the second-best individual, the third-best individual, and the leader.
[0230] In each round of iteration, the algorithm gradually explores the solution space by taking the reference point as the direction and approaching the optimal solution of that round of iteration. The probability of individuals performing irregular movements with highly dispersed characteristics increases. Based on the gradual exploration of the solution space and the changes in the exploration population and the mining population in the population, the optimal solution is obtained, which is the optimal solution. By introducing the snowmelt optimization algorithm, the present invention not only improves the efficiency of hybrid vehicle parameter optimization selection, but also ensures the accuracy and reliability of the final optimized solution. This method is applicable to various types of hybrid vehicles and can be flexibly adjusted according to your specific needs, which provides great convenience for the selection of parameter components of hybrid vehicles under different optimization orientations.
[0231] Furthermore, the present application is applicable to assisting the development of hybrid electric vehicles and realizing parameter selection and optimization of key components of the powertrain. For example, according to the vehicle performance indicators set by the user and the determined vehicle-related parameters, the feasible range of values of the parameters of the key components of the powertrain is calculated, including the power and torque range of the engine and motor, the battery capacity and the charge and discharge voltage, current limit, etc. Then, according to the feasible range of values of the component parameters, the optimization algorithm is used to calculate and give the theoretically optimal values of each parameter. By introducing the snow melting optimization algorithm, the efficiency and accuracy of the optimization selection of hybrid electric vehicle parameters are greatly improved. It not only saves the tedious work of manual screening and calculation, but also significantly shortens the optimization time, while ensuring the reliability and practicality of the final optimization results. This method is applicable to various types of hybrid electric vehicles and can be flexibly adjusted according to your specific needs.
[0232] According to an embodiment of the present invention, different objective functions are constructed by inputting vehicle structural parameters, importing performance parameters of various components, and setting optimization orientations, specifically including:
[0233] Collect various potential parts data, including performance indicators and prices, generate vehicle structural parameters, and obtain vehicle structural parameters.
[0234] Based on the factors affecting component performance, including cost control, power performance or comprehensive performance, the performance parameters of each component are obtained;
[0235] The optimization orientation is set based on the vehicle structure parameters and the performance parameters of each component. The optimization orientation includes economic optimization, power optimization and comprehensive optimization.
[0236] Construct different objective functions based on the optimization orientation.
[0237] It should be noted that the present invention first determines the empirical values and specific performance parameters of the optional components, considers the vehicle structure parameters and subsequent optimization parameters, and selects different optimization orientations including: optimization based on economy, optimization based on power, and optimization based on comprehensiveness. At the same time, the number of components to be selected and the population size are set, and the feasible value range of the components is solved according to the constraints. Within this feasible value range, the initialized population individuals are constructed based on the parameter model component library, and the fitness function is constructed according to different optimization orientations and other parameters to calculate the fitness value, wherein the objective function includes the optimal function for power, the optimal function for economy, and the optimal function for comprehensiveness.
[0238] According to an embodiment of the present invention, solving the constraint conditions of the variables according to the mathematical model and setting the value range of the variables specifically include:
[0239] The various performances under given driving conditions include design requirement parameters, load and motor or engine related parameters, engine experience value parameters, motor experience value parameters, gearbox experience value parameters, main reducer experience value parameters, motor or battery cost estimation related parameters, high-voltage power supply system supply voltage parameters and parameters required by the optimization algorithm;
[0240] The design requirement parameters include three drive forms, including hybrid drive, engine drive alone, and motor drive alone;
[0241] Load and motor or engine related parameters include engine accessory power, electric air conditioner on / power, other electrical accessory power, motor / engine torque margin factor;
[0242] The engine experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit;
[0243] The motor experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit;
[0244] The gearbox experience value parameters include the maximum speed ratio upper limit, the maximum speed ratio lower limit, the minimum speed ratio upper limit, and the minimum speed ratio lower limit;
[0245] The empirical value parameters of the main reducer include the upper limit and lower limit of the main reducer ratio;
[0246] Parameters related to motor or battery cost estimation include motor cost, battery life mileage, battery cost, and motor life mileage;
[0247] The power supply voltage parameters of the high-voltage power supply system include the power supply voltage of the high-voltage power supply system, the current market oil price, and the electricity price parameters. The electricity price parameters include the market oil price and the market electricity price;
[0248] The parameters required by the optimization algorithm include the optimization object, population size, and termination iteration number;
[0249] Among them, the optimization objects include the number of battery packs, the maximum power of the motor and the maximum power of the engine, the speed ratio of the main reducer, and the speed ratio of the highest gear and the lowest gear of the transmission;
[0250] The population size is divided into two sub-populations, including population A and population B. Population A is responsible for the exploration of the search agent during the iteration of the optimization algorithm, and population B is responsible for the development of the search agent during the iteration of the optimization algorithm.
[0251] It should be noted that the three driving forms include hybrid drive, engine drive alone, and motor drive alone, and the maximum vehicle speed, average climbing speed, maximum climbing grade, acceleration time, and vehicle model parameters also include the vehicle's own parameters, namely vehicle length, wheelbase, center of mass height, wheel radius, frontal area, empty mass, passenger mass, battery SOC upper limit, battery SOC lower limit, air drag coefficient, rolling resistance coefficient, braking force distribution coefficient, and distance from the center of mass to the front axle.
[0252] According to an embodiment of the present invention, solving the constraint conditions of the variables according to the mathematical model and setting the value range of the variables specifically include:
[0253] Determine the lower limits of total power and total torque according to the performance requirements of the hybrid drive;
[0254] Determine the lower limits of motor power and motor torque based on the performance requirements of the motor drive alone;
[0255] Determine the lower limits of engine power and engine torque based on the performance requirements of the engine driving alone;
[0256] Calculate the range of the main reduction ratio and transmission ratio, battery capacity and charge and discharge current;
[0257] Generate variable constraints based on the main reduction ratio range and transmission ratio range, battery capacity and charge and discharge current range; and set the value range of the variable based on the variable constraints.
[0258] It should be noted that the total power, the lower limit of the total torque, the maximum speed v of the hybrid drive are determined according to the performance requirements of the hybrid drive. max_h , determine the lower limit of total power, the calculation formula is as follows:
[0259]
[0260] Where η T is the transmission system efficiency; f is the rolling resistance coefficient; C D is the air resistance coefficient; A is the windward area.
[0261] The hybrid drive 0~50kmph acceleration time is less than t acc_h , determine the lower limit of total power:
[0262]
[0263] Where the final velocity v acc_end =50kmp / h; f is the rolling resistance coefficient, δ is the vehicle rotation mass conversion coefficient.
[0264] From the above, the lower limit of total power can be determined: P max_h =max{P vmax_h ,Pacc_h}+P addfc
[0265] Where P addfc is the engine accessory power.
[0266] According to the first gear climbing grade α max_h , determine the lower limit of the total torque:
[0267]
[0268] Where r is the tire radius, i g i0 are the first gear ratio and the final reduction ratio of the gearbox respectively, It is the torque margin coefficient, which can be set by the user according to the working environment of the target vehicle model (such as whether it often climbs hills).
[0269] (2) Determine the lower limits of motor power and motor torque based on the performance requirements of the motor alone.
[0270] Maximum speed of the motor alone v max_m , determine the lower limit of the motor maximum power:
[0271]
[0272] Where η T is the transmission system efficiency, f is the rolling resistance coefficient, C D is the air resistance coefficient, and A is the windward area.
[0273] The acceleration time from 0 to 50 kmph driven by the motor alone is less than t acc_m , determine the lower limit of the motor maximum power:
[0274]
[0275] Where the final velocity v acc_end =50kmp / h; f is the rolling resistance coefficient, δ is the vehicle rotation mass conversion coefficient.
[0276] From the above, the lower limit of the maximum motor power can be determined: P max_m =max{P vmax_m ,P acc_m}
[0277] According to the first gear climbing grade α max_m , determine the lower limit of the motor's maximum torque:
[0278]
[0279] Where r is the tire radius, i g i0 are the first gear ratio and the final reduction ratio of the gearbox respectively, It is the torque margin coefficient, which can be set by the user according to the working environment of the target vehicle model (such as whether it often climbs hills).
[0280] (3) Determine the lower limits of engine power and engine torque based on the performance requirements of the engine alone.
[0281] Maximum speed with engine alone v max_e , determine the lower limit of the maximum engine power:
[0282]
[0283] Where η T is the transmission efficiency, f is the rolling resistance coefficient, C D is the air resistance coefficient, and A is the windward area.
[0284] The acceleration time from 0 to 50 kmph driven by the engine alone is less than t acc_e , determine the lower limit of the maximum engine power:
[0285]
[0286] Where the final velocity v acc_en d =50kmp / h; f is the rolling resistance coefficient, δ is the vehicle rotation mass conversion coefficient.
[0287] From the above, the lower limit of the maximum engine power can be determined: P max_e =max{P vmax_e ,P acc_e}+P addfc
[0288] Where P addfc is the engine accessory power.
[0289] According to the first gear climbing grade α max_e , determine the lower limit of the maximum engine torque:
[0290]
[0291] Where r is the tire radius, i g i0 are the first gear ratio and the final reduction ratio of the gearbox respectively, It is the torque margin coefficient, which can be set by the user according to the working environment of the target vehicle model (such as whether it often climbs hills).
[0292] (4) Calculate the main reduction ratio range and the transmission ratio range.
[0293] (a) To find the range of the main reduction ratio, first of all, it should meet the maximum vehicle speed requirement, and at the same time, it should also meet the maximum power that the vehicle can still output at the maximum speed:
[0294]
[0295] Where I0=i gmin i0, where i gmin is the overdrive ratio, i0 is the main reduction ratio; r is the tire radius, N e_max is the maximum engine speed, N ep is the engine's maximum power point speed, v max_h For the maximum speed.
[0296] i 0_min =I 0_min / i gmin_high_exp
[0297] i 0_max =I 0_max / i gmin_low_exp
[0298] Where i gmin Experience value i gmin_low_exp =0.7,i gmin_high_exp =0.85.
[0299] (b) Find the maximum speed ratio of the transmission, which should satisfy the requirements of the maximum climbing grade and adhesion conditions when the vehicle is climbing a slope at a low speed:
[0300]
[0301] In the above formula, the maximum torque T max , f is the rolling resistance coefficient, the maximum climbing grade α max , k is the rear axle load factor, is the adhesion coefficient.
[0302] (5) Calculate the battery capacity and charge and discharge current range.
[0303] The capacity of the battery pack should meet the energy requirements of pure electric driving range:
[0304]
[0305] In the above formula, v m is the vehicle speed, f is the rolling resistance coefficient, P add is the power of electrical accessories, η b is the battery discharge efficiency, η m is the motor efficiency, S max Pure electric driving range, SOC high is the upper limit of SOC, SOC low is the SOC lower limit, and V is the motor voltage.
[0306] Find the discharge current range:
[0307] The lower limit of discharge current that can fully exert the motor power
[0308]
[0309] In the above formula, P max_m is the maximum power of the motor, V is the motor voltage, η b is the battery discharge efficiency, η m is the motor efficiency.
[0310] Take the maximum allowable charging current I of the battery bat_c =I bat .
[0311] According to an embodiment of the present invention, within the variable value range, an initial population is randomly generated, its fitness value is calculated, and is set as an objective function benchmark, and the best individual is screened out based on the objective function benchmark, specifically including:
[0312] Categorize and organize various accessories collected from the market, and set the available options and quantities for each accessory;
[0313] Determine the feasibility range of each combination based on budget constraints and power requirements. Within this feasible range, construct the initial population based on previously set parameters and accessories on the market.
[0314] Design the corresponding fitness function according to different optimization goals, including the strongest power, the lowest cost or the best comprehensive performance;
[0315] The initial population is input into the fitness function to obtain the fitness value, and the best individuals are selected based on the fitness value.
[0316] It should be noted that the initial population is generated and modeled as a matrix containing N rows and Dim columns, where N represents the size of the population and Dim represents the dimension of the solution space.
[0317]
[0318] Where L and U represent the lower and upper bounds of the solution space, respectively. θ represents a randomly generated number in [0, 1].
[0319] Taking the example of only needing to optimize the engine and motor and optimizing based on economy, a fitness function is constructed.
[0320] (a) Within the parameter range, first randomly find a set of component combination parameters as the benchmark of the fitness function;
[0321] In this process, it is necessary to save the combination parameters of this group of economic benchmark components, especially the maximum power of the motor, the maximum power of the engine and the number of batteries, which will be the basis for calculating the parameters of each individual in the population.
[0322] Set the penalty function value C0, and the penalty function values C0 of the two calls to the model are accumulated together.
[0323] Fitness function veh func0 The first item in the brackets is 200 and the index function veh in the optimization process cost func0 The difference is because the snowmelt optimization algorithm is to find the minimum fitness value; the second term of the fitness function is the penalty function value C0, and the sum of the two terms and the percentage coefficient factor 100 The product of is taken as the fitness value of the benchmark combination, and the system takes its value as the benchmark score of 100. The better the economic performance of an individual in the population, the smaller its fitness value. The following formula is the construction method of the fitness function of the benchmark combination:
[0324] veh cost func0 =100×veh costmoney0 / veh costmoney
[0325] factor 100 =100 / ((200-veh cost func )+C0)
[0326] veh func0 =((200-veh costfunc0 )+C0)×factor 100
[0327] In the above formula, veh costmoney0 is the total cost per 100 kilometers of the benchmark combination (yuan), which is used as the basis for calculating the value of the individual economic fitness function; veh func0 The fitness function value of the economically optimal combination is 100 points, which serves as the benchmark value for comparing individual fitness.
[0328] (b) Assign values to the parameters of the selected components of each individual in the population. These parameters are necessary for the model to calculate the fitness value. Before assigning values to the individuals, their battery, motor and engine parameters only include the number of battery packs, the maximum power of the motor and the maximum power of the engine. Other parameters necessary for calling the model are calculated in proportion to the parameters of the above benchmark combination.
[0329] (c) Calculate the performance index function value veh func initial The parameters and process required for calculation are similar to those in (a) above, so we will not elaborate on them here. There are three differences between the two processes:
[0330] First, in this process, it is not necessary to save all the combination parameters of this group of components.
[0331] Second, the penalty function accumulation items generated by the two calls to the model in this process (5 items for each call to the model) are saved in the structure respectively, which is convenient for the penalty function to be called when calculating the penalty function value.
[0332] Point 3: The return value of this process is the initial performance indicator function value veh func initial , is not the final fitness function value, so it does not include the penalty function value. func initial The construction of is as follows:
[0333]
[0334] veh func initial =200-veh cost func .
[0335] (d) Finally, the penalty is calculated and the initial value of penalty C is set to 0. The individual calls the model operation twice, and each time generates 5 penalty function value accumulation items. The maximum values of each item have been saved in the structure. The 5 items are: road adhesion limit, motor voltage limit, battery maximum voltage limit, battery minimum voltage limit and battery power limit. If the maximum value of an item is equal to 1, it means that the road adhesion limit is reached during the model call process. The penalty function value will be accumulated by 0.2, and the same applies to the other 4 items. The penalty function also determines whether the individual power performance can meet the design requirements. For example, if the individual's maximum speed cannot reach the design requirement, the penalty function will be accumulated by 2 on the original basis. The same applies to acceleration time and maximum climbing grade.
[0336] (e) The final return value of the fitness function is veh func , and its calculation method is as follows:
[0337] veh func =(veh func initial +C)×factor 100
[0338] veh func initial is the return value of (c), C is the return value of the penalty function, factor 100 It is the coefficient that converts the fitness function into a 100-point system.
[0339] Finally, the optimal fitness solution among N individuals is calculated and set to G.
[0340] According to an embodiment of the present invention, Figure 4-Figure 5 As shown, the snow melting optimization algorithm is executed to solve the parameter combination with the best fitness and output the results of parameter selection optimization, including:
[0341] Divide the initial population into two parts, one for exploring new possibilities and the other for continuing to optimize the existing combination;
[0342] Calculate the snow melting speed of each accessory combination to simulate the snow melting phenomenon in nature. Sort all combinations according to fitness scores and select the top 50% combinations as leaders;
[0343] In the next iteration, a new starting point is selected from the set consisting of the center of mass positions of the current optimal solution, the second-best individual, the third-best individual, and the leader;
[0344] Make each individual move towards the new starting point, while performing a certain degree of random movement to more comprehensively explore the entire solution space;
[0345] After multiple iterations, the algorithm will eventually find the optimal solution as the best accessory combination, and generate the result of parameter selection optimization based on the best accessory combination.
[0346] It should be noted that as one of the most classic snowmelt models, the degree-day method is used to calculate the snow melting rate, and DDT is defined to represent the degree-day factor, which ranges from 0.35 to 0.6. In each iteration, the mathematical expression for updating the value of DDF is as follows:
[0347]
[0348] where t max is the termination condition.
[0349]
[0350] Divide the population into two subpopulations, responsible for development and exploration respectively;
[0351] In metaheuristic algorithms, it is very important to achieve a trade-off between exploitation and exploration. Some of the liquid water converted from snow can also be converted into steam for the exploration process. That is, over time, the probability of individuals performing irregular movements with highly dispersed characteristics increases. Then the algorithm gradually tends to explore the solution space. The algorithm designs a dual population mechanism to reflect this situation and maintain exploitation and exploration. In the early stages of the iteration, the entire population is randomly divided into two subpopulations of equal size. We denote the entire population and these two subpopulations as Pa and Pb, respectively, where Pa is responsible for exploration and Pb is responsible for exploitation. Then in subsequent iterations, the size of Pb gradually decreases, while the size of Pa increases accordingly.
[0352] Calculate the fitness values of all individuals in the two subpopulations, calculate the best individual, the second best individual, the third best individual, the leader, the leader's centroid, and the population's centroid, and update the positions of all individuals in the two populations respectively through the update formula, while saving the best individual;
[0353] According to the above, calculate the fitness of all individuals in the two populations, calculate the optimal individual G(t), the suboptimal individual Z second (t), the third best individual Z third (t);
[0354] The individuals whose fitness values rank in the top 50% are called leaders, and the leader centroid Z is calculated using the formula c (t),
[0355]
[0356] Where N1 represents the number of leaders, that is, N1 is equal to half the size of the entire group, and Z ci (t) represents the positions of all leaders.
[0357] Calculate the centroid of the population The calculation formula is as follows:
[0358]
[0359] In the formula, Z i (t) refers to the location of all individuals;
[0360] Defining the choice of elite individuals Elite(t)
[0361] Elite(t)∈[G(t), Z second (t), Z third (t), Z c (t)]
[0362] Define the iterative formula of the population Pa responsible for exploration:
[0363]
[0364] Where θ1 represents a number randomly selected from [0, 1], and BM i (t) represents a random number vector based on Gaussian distribution, which represents Brownian motion. The calculation formula is as follows:
[0365]
[0366] Define the population Pb iteration formula responsible for development.
[0367]
[0368] Where M is the snowmelt rate, θ2 is similar to θ1;
[0369] The termination condition of the snowmelt optimization algorithm is set to the termination iteration number. When the maximum iteration number is met, the result of parameter selection optimization is output.
[0370] A third aspect of the present invention provides a computer-readable storage medium, which includes a hybrid vehicle component parameter optimization selection method program. When the hybrid vehicle component parameter optimization selection method program is executed by a processor, the steps of the hybrid vehicle component parameter optimization selection method as described above are implemented.
[0371] The present invention discloses a hybrid vehicle component parameter optimization selection method, system and medium. By inputting vehicle structural parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed; according to the mathematical model, the constraint conditions of the variables are solved and the value range of the variables is set; within the variable value range, the initial population is randomly generated, its fitness value is calculated, and it is set as the objective function benchmark, and the best individual is screened out based on the objective function benchmark; the snow melting optimization algorithm is executed to solve the parameter combination with the best fitness, and the result of parameter selection optimization is output; by inputting vehicle structural parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed, and fitness value calculation is provided for the snow melting algorithm. The snow melting algorithm is used to continuously explore and exploit the initial benchmark point to obtain the final optimization solution set. In this way, the final optimization solution that satisfies different objective functions such as economic objective function, dynamic objective function and comprehensive objective function is obtained, so as to obtain the optimal combination of parameter selection components.
[0372] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0373] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0374] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0375] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.
[0376] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A method for optimizing the selection of hybrid vehicle component parameters. It is characterized in that include: By inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed; Solve the constraints of variables according to the mathematical model and set the value range of the variables; Within the range of variable values, the initial population is randomly generated, its fitness value is calculated, set as the objective function benchmark, and the best individual is selected based on the objective function benchmark; Execute the snowmelt optimization algorithm, solve the parameter combination with the best fitness, and output the results of parameter selection optimization.
2. The hybrid vehicle component parameter optimization selection method according to claim 1, It is characterized in that By inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed, including: Collect various potential parts data, including performance indicators and prices, generate vehicle structural parameters, and obtain vehicle structural parameters. Based on the factors affecting component performance, including cost control, power performance or comprehensive performance, the performance parameters of each component are obtained; The optimization orientation is set based on the vehicle structure parameters and the performance parameters of each component. The optimization orientation includes economic optimization, power optimization and comprehensive optimization. Construct different objective functions based on the optimization orientation.
3. The hybrid vehicle component parameter optimization selection method according to claim 2, It is characterized in that Solve the constraints of the variables according to the mathematical model and set the value range of the variables, including: The various performances under given driving conditions include design requirement parameters, load and motor or engine related parameters, engine experience value parameters, motor experience value parameters, gearbox experience value parameters, main reducer experience value parameters, motor or battery cost estimation related parameters, high-voltage power supply system supply voltage parameters and parameters required by the optimization algorithm; The design requirement parameters include three drive forms, including hybrid drive, engine drive alone, and motor drive alone; Load and motor or engine related parameters include engine accessory power, electric air conditioner on / power, other electrical accessory power, motor / engine torque margin factor; The engine experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit; The motor experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit. The gearbox experience value parameters include the maximum speed ratio upper limit, the maximum speed ratio lower limit, the minimum speed ratio upper limit, and the minimum speed ratio lower limit. The empirical value parameters of the main reducer include the upper limit and lower limit of the main reducer ratio; Parameters related to motor or battery cost estimation include motor cost, battery life mileage, battery cost, and motor life mileage; The power supply voltage parameters of the high-voltage power supply system include the power supply voltage of the high-voltage power supply system, the current market oil price, and the electricity price parameters, and the electricity price parameters include the market oil price and the market electricity price; The parameters required by the optimization algorithm include the optimization object, population size, and termination iteration number; Among them, the optimization objects include the number of battery packs, the maximum power of the motor and the maximum power of the engine, the speed ratio of the main reducer, and the speed ratio of the highest gear and the lowest gear of the transmission; The population size is divided into two sub-populations, including population A and population B. Population A is responsible for the exploration of the search agent during the iteration of the optimization algorithm, and population B is responsible for the development of the search agent during the iteration of the optimization algorithm.
4. The hybrid vehicle component parameter optimization selection method according to claim 3, It is characterized in that Solve the constraints of the variables according to the mathematical model and set the value range of the variables, including: Determine the lower limits of total power and total torque according to the performance requirements of the hybrid drive; Determine the lower limits of motor power and motor torque based on the performance requirements of the motor drive alone; Determine the lower limits of engine power and engine torque based on the performance requirements of the engine driving alone; Calculate the range of the main reduction ratio and transmission ratio, battery capacity and charge and discharge current; Generate variable constraints based on the main reduction ratio range and transmission ratio range, battery capacity and charge and discharge current range; and set the value range of the variable based on the variable constraints.
5. The hybrid vehicle component parameter optimization selection method according to claim 4, It is characterized in that Within the range of variable values, the initial population is randomly generated, its fitness value is calculated, set as the objective function benchmark, and the best individual is selected based on the objective function benchmark; specifically, it includes: Categorize and organize various accessories collected from the market, and set the available options and quantities for each accessory; Determine the feasibility range of each combination based on budget constraints and power requirements. Within this feasible range, construct the initial population based on previously set parameters and accessories on the market. Design the corresponding fitness function according to different optimization goals, including the strongest power, the lowest cost or the best comprehensive performance; The initial population is input into the fitness function to obtain the fitness value, and the best individuals are selected based on the fitness value.
6. The hybrid vehicle component parameter optimization selection method according to claim 5, It is characterized in that Execute the snowmelt optimization algorithm to solve the parameter combination with the best fitness and output the results of parameter selection optimization, including: Divide the initial population into two parts, one for exploring new possibilities and the other for continuing to optimize the existing combination; Calculate the snow melting speed of each accessory combination to simulate the snow melting phenomenon in nature. Sort all combinations according to fitness scores and select the top 50% combinations as leaders; In the next iteration, a new starting point is selected from the set consisting of the center of mass positions of the current optimal solution, the second-best individual, the third-best individual, and the leader; Make each individual move towards the new starting point, while performing a certain degree of random movement to more comprehensively explore the entire solution space; After multiple iterations, the algorithm will eventually find the optimal solution as the best accessory combination, and generate the result of parameter selection optimization based on the best accessory combination.
7. A hybrid vehicle component parameter optimization and selection system, It is characterized in that The system includes: a memory and a processor, wherein the memory includes a program of a hybrid electric vehicle component parameter optimization selection method, and when the program of the hybrid electric vehicle component parameter optimization selection method is executed by the processor, the following steps are implemented: By inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed; Solve the constraints of variables according to the mathematical model and set the value range of the variables; Within the range of variable values, the initial population is randomly generated, its fitness value is calculated, set as the objective function benchmark, and the best individual is selected based on the objective function benchmark; Execute the snowmelt optimization algorithm, solve the parameter combination with the best fitness, and output the results of parameter selection optimization.
8. The hybrid vehicle component parameter optimization and selection system according to claim 7, It is characterized in that By inputting vehicle structure parameters, importing performance parameters of each component, and setting optimization orientation, different objective functions are constructed, including: Collect various potential parts data, including performance indicators and prices, generate vehicle structural parameters, and obtain vehicle structural parameters. Based on the factors affecting component performance, including cost control, power performance or comprehensive performance, the performance parameters of each component are obtained; The optimization orientation is set based on the vehicle structure parameters and the performance parameters of each component. The optimization orientation includes economic optimization, power optimization and comprehensive optimization. Construct different objective functions based on the optimization orientation.
9. The hybrid vehicle component parameter optimization and selection system according to claim 8, It is characterized in that Solve the constraints of the variables according to the mathematical model and set the value range of the variables, including: The various performances under given driving conditions include design requirement parameters, load and motor or engine related parameters, engine experience value parameters, motor experience value parameters, gearbox experience value parameters, main reducer experience value parameters, motor or battery cost estimation related parameters, high-voltage power supply system supply voltage parameters and parameters required by the optimization algorithm; The design requirement parameters include three drive forms, including hybrid drive, engine drive alone, and motor drive alone; Load and motor or engine related parameters include engine accessory power, electric air conditioner on / power, other electrical accessory power, motor / engine torque margin factor; The engine experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit; The motor experience value parameters include the maximum power upper limit, the maximum power lower limit, the maximum torque upper limit, and the maximum torque lower limit. The gearbox experience value parameters include the maximum speed ratio upper limit, the maximum speed ratio lower limit, the minimum speed ratio upper limit, and the minimum speed ratio lower limit. The empirical value parameters of the main reducer include the upper limit and lower limit of the main reducer ratio; Parameters related to motor or battery cost estimation include motor cost, battery life mileage, battery cost, and motor life mileage; The power supply voltage parameters of the high-voltage power supply system include the power supply voltage of the high-voltage power supply system, the current market oil price, and the electricity price parameters, and the electricity price parameters include the market oil price and the market electricity price; The parameters required by the optimization algorithm include the optimization object, population size, and termination iteration number; Among them, the optimization objects include the number of battery packs, the maximum power of the motor and the maximum power of the engine, the speed ratio of the main reducer, and the speed ratio of the highest gear and the lowest gear of the transmission; The population size is divided into two sub-populations, including population A and population B. Population A is responsible for the exploration of the search agent during the iteration of the optimization algorithm, and population B is responsible for the development of the search agent during the iteration of the optimization algorithm.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a hybrid electric vehicle component parameter optimization selection method program, and when the hybrid electric vehicle component parameter optimization selection method program is executed by a processor, the steps of the hybrid electric vehicle component parameter optimization selection method according to any one of claims 1 to 6 are implemented.
