Energy optimization method of hydrogen fuel cell hybrid vehicle based on Internet of Vehicles
By establishing a vehicle model and using dynamic programming algorithms and neural networks to optimize the output power of fuel cells and lithium batteries, the improper power distribution problem of energy management systems in hydrogen fuel cell hybrid vehicles is solved, and efficient energy distribution and lithium batteries are achieved Maintenance of electricity reduces hydrogen consumption and calculation costs.
Patent Information
- Application Number
- CN202411234024.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-11-22
AI Technical Summary
The energy management system of existing hydrogen fuel cell hybrid vehicles has improper power distribution, cannot adapt to different driving conditions, has high calculation costs, and is difficult to effectively maintain the lithium battery power and reduce hydrogen consumption.
Establish a vehicle model including vehicle longitudinal dynamic model, hydrogen fuel cell model and lithium battery model, and optimize energy control through dynamic programming algorithms and long-term memory recursive neural networks, and combine alternating direction multiplier method and Newton method to optimize fuel The output power of batteries and lithium batteries realizes adaptive optimization of the energy management system.
The optimal distribution between different energy sources is achieved, reducing vehicle energy consumption and hydrogen consumption, extending lithium battery life, and reducing calculation time cost.
Smart Images

Figure CN119004676A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of hydrogen fuel cell hybrid vehicles, and in particular relates to an energy optimization method for hydrogen fuel cell hybrid vehicles based on vehicle networking. Background Art
[0002] Due to the ever-changing environment, limited fossil resources and strict carbon emission restrictions, the Internet of Vehicles new energy vehicles have the characteristics of energy saving and emission reduction, improving vehicle performance, etc., which can effectively solve environmental pollution and emission problems. New energy vehicles have now become a hot spot for the transformation of the automotive industry and research and development units. Among them, fuel cell vehicles with proton exchange membrane fuel cells as power sources are considered to be the most promising choice because of their advantages such as zero emissions, low operating temperature, high efficiency, high power density and long driving range.
[0003] At present, the scientific research technology of hydrogen fuel cell hybrid vehicles is not yet mature, and it is mainly based on energy management systems with fixed driving conditions and simple control. Due to the limitation of the power performance of fuel cell reactors, fuel cell vehicles usually use lithium batteries and fuel cell engines in combination. The main function of the equipped lithium battery is to meet the demand for transient peak power. When the fuel cell and lithium battery work together to drive the fuel cell hybrid vehicle, the following factors need to be considered comprehensively, namely the output power of the motor, fuel cell and lithium battery, the energy storage system, the battery power maintenance, speed planning and other factors, so as to achieve the effect of braking energy recovery, maintaining battery life, reducing calculation time and controlling hydrogen consumption.
[0004] At present, there are some defects in the power allocation between different energies in fuel cell hybrid vehicles. Although the dynamic programming method can achieve power allocation between different energies, it has the defect of being offline and requires knowing the driving condition information in advance, so it cannot adapt to different driving conditions. Some existing technologies can also achieve power allocation between different energies online, but there is a problem of high calculation cost. Summary of the invention
[0005] The purpose of the present invention is to provide an energy optimization method for a hydrogen fuel cell hybrid vehicle based on the Internet of Vehicles, to achieve the optimal allocation between different energy sources, to maintain the vehicle's lithium battery power and reduce the vehicle's hydrogen consumption, while also reducing computing costs.
[0006] In order to solve the above technical problems, the technical solution of the present invention is: an energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking, comprising the following steps:
[0007] Step 1: Establish a whole vehicle model of a hydrogen fuel cell hybrid vehicle control system including a vehicle longitudinal dynamics model, a hydrogen fuel cell model and a lithium battery model;
[0008] Step 2: Collect vehicle operation information, construct data sets under multiple driving conditions, take the minimum output power of the fuel cell as the optimization goal, use the dynamic programming algorithm DP to solve the energy optimal control problem under multiple driving conditions, obtain the optimal state trajectory and optimal control trajectory under multiple driving conditions, and generate an optimized data set;
[0009] Step 3: Input the optimized data set into different learning models for training and learning, and select a vehicle speed prediction model;
[0010] Step 4: Collect the short-term speed information and traffic information of the vehicle through the Internet of Vehicles platform, use the speed prediction model to predict the future short-term speed of the vehicle, and build a power demand model of the vehicle during driving to obtain the vehicle power demand and motor power demand of the vehicle during driving;
[0011] Step 5: Convex the hydrogen fuel cell model and the lithium battery model described in step 1, and then combine them with the vehicle power demand and motor power demand described in step 4, take the minimum chemical output power of the lithium battery as the optimization goal, construct the objective function and constraints of the energy management optimization problem, and iteratively solve the energy management optimization problem through the alternating direction multiplier method ADMM and Newton's method to obtain the optimal solution of the fuel cell output power and the lithium battery output power, which is used for the whole vehicle energy management optimization under the Internet of Vehicles platform.
[0012] Compared with the prior art, the invention has the following beneficial effects: 1. The energy optimal control problem under multiple driving conditions is solved offline by the dynamic programming algorithm DP, and the variables solved by the dynamic programming algorithm DP are used to generate an optimized data set, and the optimized data set is fully trained and learned by the long short-term memory recursive neural network; vehicle information and traffic information of the Internet of Vehicles platform are collected, and the future short-term speed of the vehicle is predicted by the long short-term memory recursive neural network, so that the predicted speed is closer to the actual speed, thereby improving the distribution effect of the required power and achieving the purpose of reducing the energy consumption of the vehicle; 2. The vehicle required power and the motor required power calculated by the required power model are iteratively solved by the ADMM algorithm and the Newton algorithm to obtain the optimal lithium battery output power and the fuel cell output power, so as to achieve the optimal energy distribution; 4. The penalty factor of the regularization term is adaptively adjusted by the dichotomy method, so that the lithium battery power can be accurately controlled, so that the entire control system has adaptive ability, so as to determine the output power of each of the two energy sources under multiple driving conditions, realize the maintenance of the lithium battery power and extend the life of the lithium battery, and at the same time, reduce the calculation time cost and reduce the hydrogen consumption of the fuel cell, so as to improve the performance of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0014] Figure 1 It is a topological structure diagram of the control system of the hydrogen fuel cell hybrid vehicle of the present invention;
[0015] Figure 2 is a flow chart of energy optimization of the present invention;
[0016] Figure 3 is a flow chart of solving energy management optimization problems by using the alternating direction multiplier method and Newton's method of the present invention;
[0017] Figure 4 is a result diagram of the actual vehicle speed and the vehicle predicted speed under the UDDS driving condition of the experimental example of the present invention;
[0018] Figure 5 is a diagram showing the distribution result of the motor power requirement of the experimental example of the present invention;
[0019] Figure 6 It is a result diagram of the optimal battery state trajectory and hydrogen consumption of the experimental example of the present invention. DETAILED DESCRIPTION
[0020] The present invention is further described in detail below in conjunction with the accompanying drawings. The technical solutions in the embodiments of the present invention are described clearly and completely. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] like Figure 2-3 As shown, the present invention discloses an energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking, comprising the following steps:
[0022] Step 1: Establish a whole vehicle model of a hydrogen fuel cell hybrid vehicle control system including a vehicle longitudinal dynamics model, a hydrogen fuel cell model and a lithium battery model;
[0023] like Figure 1As shown, the control system of the hydrogen fuel cell hybrid vehicle includes a fuel cell, a lithium battery, a unidirectional DC / DC converter, a bidirectional DC / DC converter, a bidirectional DC / AC converter and a motor; the fuel cell is connected to the circuit bus after the unidirectional DC / DC converter, the lithium battery is connected to the circuit bus after the bidirectional DC / DC converter, and the circuit bus is connected to the motor after the bidirectional DC / AC converter, and the rotation of the motor provides driving force for the hydrogen fuel cell hybrid vehicle. During the operation of the vehicle, the driving force of the hydrogen fuel cell hybrid vehicle mainly uses the hydrogen fuel cell as the main energy source and the lithium battery as the auxiliary energy source. The lithium battery will provide driving force when the vehicle is started and driving at low speed, and the hydrogen fuel cell will provide driving force when the vehicle is driving normally, accelerating and driving at high speed. The lithium battery will also provide additional electrical energy to meet the high energy demand during acceleration, and the lithium battery will absorb instantaneous peak power.
[0024] Step 11: Obtain the basic parameters of the hydrogen fuel cell hybrid vehicle, including the vehicle's mass, acceleration, body cross-sectional area, vehicle speed and other information, and construct a vehicle longitudinal dynamics model based on Newton's second law. The formula is as follows:
[0025]
[0026] Where, m is the vehicle mass, which is 1380 kg; a is the vehicle acceleration; F drv The traction force provided to the motor; F brk is the braking force of the wheel friction brake; g is the acceleration due to gravity, which is 9.8m / s 2 ;f r is the rolling resistance coefficient, which is 0.009; θ is the road slope; ρ is the air density; A is the cross-sectional area of the vehicle body, which is 2.0m 2 ; C d is the air resistance coefficient, which is 0.335; v is the vehicle speed.
[0027] Step 12: Construct the power model of the fuel cell. The formula is as follows:
[0028]
[0029] Among them, P fcs is the fuel cell output power, is the hydrogen consumption, n fcs The efficiency of a fuel cell, LHV is the lower heating value of hydrogen.
[0030] Step 13: Obtain the number of batteries, rated capacity, initial battery state, open circuit voltage, and charge and discharge resistance of the lithium battery in different states. Obtain the open circuit voltage and charge and discharge resistance of the lithium battery in a certain state by linear interpolation, and construct a lithium battery model. The formula is as follows:
[0031]
[0032] V bat =V oc -I bat R0
[0033] P bat =V bat I bat
[0034] P oc =V oc I bat
[0035]
[0036] Among them, SOC bat(t) The lithium battery power updated at each moment, SOC bat_0(t) is the initial lithium battery capacity, t is the time, I bat is the current of the lithium battery, Q bat is the capacitance of the lithium battery, V bat is the voltage of the lithium battery, V oc is the open circuit voltage of the lithium battery, R0 is the internal resistance of the lithium battery, P bat is the output power of lithium battery, P oc is the chemical output power of the lithium battery.
[0037] Step 2: Collect vehicle operation information and construct data sets under multiple driving conditions. Take the minimum output power of the fuel cell as the optimization goal, use the dynamic programming algorithm DP to solve the energy optimal control problem under multiple driving conditions, obtain the optimal state trajectory and optimal control trajectory under multiple driving conditions, and generate an optimized data set.
[0038] Step 2.1: Collect vehicle operation data and vehicle operation status, mainly obtain vehicle speed under different driving conditions, and construct data sets under multiple driving conditions;
[0039] Step 2.2: In the time [0, t f ] in the vehicle driving cycle, the fuel cell output power P fcs Taking minimum as the optimization goal, we construct the optimization objective function and constraint conditions of the energy optimal control problem to obtain the optimal economy;
[0040] The optimization objective function J1 of the energy optimal control problem is expressed as follows:
[0041]
[0042] The constraint condition formula is expressed as follows:
[0043]
[0044] SOC(0)=SOC0,SOC(t f )=SOC f
[0045] SOC min ≤SOC(t)≤SOC max
[0046] P fcs,min ≤P fcs (t)≤P fcs,max
[0047] P bat,min (SOC(t))≤P bat (t)≤P bat,max (SOC(t))
[0048] Among them, SOC is the lithium battery power, which is a state variable; P fcs is the fuel cell output power, which is the controlled variable; is the dynamic battery power; l is a function that describes the rate at which the lithium battery power changes over time; SOC(t) is the lithium battery power at time t, P fcs (t) is the output power of the fuel cell at time t, SOC0 is the power of the lithium battery at the initial time, SOC f is the lithium battery capacity at the final moment, t f is the final time; SOC min It is the minimum value of lithium battery power, which is 0.55; SOC max is the maximum value of the lithium battery power, which is 0.65; P fcs,min is the minimum output power of the fuel cell, which is 0kw; P fcs,max is the maximum output power of the fuel cell, which is 50kw; P bat (t) is the output power of the lithium battery at time t, P bat,min (SOC(t)) is the minimum output power of the lithium battery at time t, P bat,max (SOC(t)) is the maximum output power of the lithium battery at time t;
[0049] Step 2.3: Use the dynamic programming algorithm to solve the energy optimal control problem in step 2.2, and generate an optimized data set D using the optimal state trajectory and optimal control trajectory under multiple driving conditions. The optimized data set D is expressed as follows:
[0050]
[0051] Among them, X is the input feature, Y is the expected output feature, m is the length, t is the time, a is the vehicle acceleration, SOC is the lithium battery power, P drv is the vehicle demand power, and v is the vehicle speed.
[0052] Step 3: Input the optimized data set D into different learning models for training and learning, and select a vehicle speed prediction model.
[0053] The optimized data set was divided into a training set and a test set in a ratio of 3:1. Support vector machine, neural network, linear regression, random forest and other learning models were used for training and learning respectively. The trained models were used to 2 The evaluation method selects the vehicle speed prediction model, and the formula is expressed as follows:
[0054]
[0055] Among them, SS res is the residual sum of squares, describing the sum of squared errors between the model prediction value and the actual value; SS tot is the total sum of squares, describing the total variation between the actual value and its mean, N is the total number of observations in the optimization data set, and y j is the actual value, is the predicted value of the model, is the actual mean, j = 1, 2, …N.
[0056] If R 2 =1, it means that the model can fully explain the variation of the target variable, and the predicted value is completely consistent with the actual value;
[0057] If R 2 =0, indicating that the model fails to explain the variation of the target variable, and the prediction effect is equivalent to the simple mean prediction effect;
[0058] If 0 <R 2 <1, indicating that the model can partially explain the variation of the target variable. The closer the value is to 1, the stronger the explanatory power of the model. In this embodiment, the score of the long short-term memory recurrent neural network model is 0.98839, which is closest to 1. Therefore, through R 2 The evaluation method selects a long short-term memory recursive neural network model as the vehicle speed prediction model of the present invention.
[0059] Step 4: Collect the short-term speed information and traffic information of the vehicle through the Internet of Vehicles platform, including vehicle speed, vehicle acceleration and lithium battery power, etc., use the long short-term memory recursive neural network model to predict the future short-term speed of the vehicle, use the predicted speed as the input signal of the whole vehicle model in step 1, and combine with the vehicle longitudinal dynamics model to build a power demand model of the vehicle during driving, and obtain the vehicle power demand and motor power demand of the vehicle during driving.
[0060] The predicted vehicle speed output by the long short-term memory recurrent neural network model is expressed as follows:
[0061]
[0062] in, is the predicted value of the model, To predict the vehicle speed, f LSTM () is the function modeled by the neural network, and X is the input feature.
[0063] Based on the predicted vehicle speed, the vehicle required power during vehicle driving is calculated, and the formula is expressed as follows:
[0064] when a (t) >0, then:
[0065]
[0066] when a (t) <0, then:
[0067]
[0068] Among them, a (t) is the vehicle acceleration at time t, P drv(t) is the vehicle power demand at time t, is the predicted vehicle speed at time t; n motor is the motor efficiency, set to 0.95; m is the vehicle mass, g is the gravitational acceleration, f r is the rolling resistance coefficient, θ is the road slope, ρ is the air density, A is the cross-sectional area of the vehicle body, C d is the air resistance coefficient and v is the vehicle speed.
[0069] Based on the output power of the fuel cell and the output power of the lithium battery, the required power of the motor is calculated. The formula is as follows:
[0070] P demand =P fcs +P bat
[0071] Among them, P demand is the motor power requirement, P fcsis the fuel cell output power, P bat Output power for lithium batteries.
[0072] When the lithium battery is discharged, P bat is positive; when the lithium battery is charging, P bat is negative.
[0073] Step 5: Convex the hydrogen fuel cell model and the lithium battery model in step 1, and then combine the vehicle power demand and motor power demand at each moment in the vehicle driving process calculated by the power demand model in step 4, and use the chemical output power P of the lithium battery oc Minimum is the optimization goal, the objective function and constraint conditions of the energy management optimization problem are constructed, and the energy management optimization problem is solved iteratively by the alternating direction multiplier method ADMM and Newton method to obtain the fuel cell output power P fcs And lithium battery output power P bat The optimal solution is used for vehicle energy management optimization under the Internet of Vehicles platform.
[0074] Step 5.1: Convert the chemical output power P of the lithium battery oc As a control variable, the lithium battery model described in step 13 is convexified, and the model formula is rewritten as:
[0075]
[0076] V bat =V oc -I bat R0
[0077]
[0078] Among them, SOC bat(t) The battery power updated at each moment, SOC bat_0(t) is the initial lithium battery capacity, P oc is the chemical output power of the lithium battery, Q bat is the capacitance of the lithium battery, V oc is the open circuit voltage of the lithium battery, I bat is the current of the lithium battery, R0 is the internal resistance of the lithium battery, P bat is the output power of the lithium battery; h() is a function that describes the relationship between the output power of the lithium battery and the chemical output power of the lithium battery.
[0079] Step 5.2: Use a quadratic function to fit the hydrogen consumption in the power model of the fuel cell described in step 12. The formula is as follows:
[0080]
[0081] in, is the hydrogen consumption, P fcs is the fuel cell output power, P demand is the motor power requirement, α z are the fitting coefficients, is a function that describes the fuel consumption rate in the fuel cell system The fuel cell output power P fcs The relationship between the fuel consumption of the system at a specific power output can be determined from this relationship.
[0082] Step 5.3: Based on the convex lithium battery model in step 5.1, the chemical output power P of the lithium battery is oc As a sub-problem of the energy management optimization problem, combined with the power demand model described in step 4, the chemical output power P of the lithium battery is oc Minimum is the optimization goal, and the objective function and constraint conditions of the energy management optimization problem are constructed to achieve the optimal allocation of motor power requirements and lithium battery power maintenance;
[0083] The objective function J2 of the energy management optimization problem is expressed as follows:
[0084]
[0085] Among them, P demand(t) is the motor power required at time t, P oc(t) is the chemical output power of the lithium battery at time t;
[0086] The constraint condition formula is expressed as follows:
[0087] P oc,min ≤P oc(t) ≤P oc,max
[0088] δ=-P oc(t)
[0089] SOC min ≤SOC (t) ≤SOC max
[0090]
[0091] Among them, P oc,min The minimum chemical output power of the lithium battery is 0KW; P oc,max is the maximum value of the chemical output power of the lithium battery, which is 85KW; δ is the introduced virtual variable; P oc(t) is the chemical output power of the lithium battery at time t; SOC of the lithium battery at time t (t) Limit to minimum SOC min and maximum SOC maxBetween, SOC min 0.55, SOC max is 0.65; SOC0 is the initial lithium battery power, which is 0.6; β is N 1 vectors; γ is an N*N lower triangular matrix with all 1s; Q bat is the capacitance of the lithium battery; V oc is the open circuit voltage of the lithium battery;
[0092] The augmented Lagrangian function L is obtained, and the formula is expressed as follows:
[0093]
[0094] Among them, λ1 and λ2 are Lagrange multipliers 1 and 2, k1 and k2 are penalty factors 1 and 2 of the regularization term, δ is the introduced dummy variable, SOC is the lithium battery power, P demand(t) is the motor power requirement at time t, P oc(t) is the chemical output power of the lithium battery at time t, P oc is the chemical output power of the lithium battery, β is a vector of N 1s, SOC0 is the power of the lithium battery at the initial moment, and γ is an N*N matrix with all 1s in the lower triangle;
[0095] Step 5.4: Construct the objective function of Newton's method to solve the chemical output power P of lithium battery oc The objective function formula is expressed as follows:
[0096]
[0097] Among them, P oc is the chemical output power of the lithium battery, P demand is the motor demand power, k1 is the penalty factor 1, δ is the introduced dummy variable, λ1 is the Lagrange multiplier 1;
[0098] The solution process is as follows:
[0099] Construct Newton direction, the formula is as follows:
[0100]
[0101] in, is the chemical output power of the lithium battery at time t+1, is the chemical output power of the lithium battery at time t, λ (t) is the step length at time t, m (t) is the Newton direction at time t.
[0102] Iterative solution, the formula is expressed as follows:
[0103]
[0104] in, is the chemical output power of the lithium battery at time t, m (t) is the Newton direction at time t, for The second-order derivative of for The first derivative of .
[0105] The convergence condition is expressed as follows:
[0106]
[0107] in, is the chemical output power of the lithium battery at time t+1, is the chemical output power of the lithium battery at time t, The constant for the maximum tolerance allowed is set to 0.00001.
[0108] Step 5.5: Substitute the chemical output power P of the lithium battery obtained in step 5.4 into oc The energy management optimization problem is solved iteratively through the ADMM algorithm, and the chemical output power P of the lithium battery that meets the convergence conditions is output. oc And the optimal solution for lithium battery SOC;
[0109] The iteration of the ADMM algorithm is expressed as follows:
[0110]
[0111] Among them, i is the number of iterations, t is the time, P oc is the chemical output power of the lithium battery, P demand is the motor demand power, λ1 and λ2 are Lagrange multipliers 1 and 2, k1 and k2 are penalty factors 1 and 2 of the regularization term, δ is the introduced dummy variable, Q bat is the capacitance of the lithium battery; V oc is the open circuit voltage of the lithium battery, SOC is the lithium battery capacity, SOC0 is the lithium battery capacity at the initial moment, I is the N*N unit matrix, β is N 1 vectors, γ is an N*N matrix with all 1s in the lower triangle, and T is the matrix transpose.
[0112] The convergence condition of the ADMM algorithm is expressed as follows:
[0113]
[0114] Among them, i is the number of iterations, p is the original residual, d is the dual residual, and ε is the convergence threshold, which is set to 1000.
[0115] The final SOC determination error condition is:
[0116] |SOC f -SOC0|≤0.00005
[0117] Among them, SOC f is the battery power at the final moment, and SOC0 is the lithium battery power at the initial moment;
[0118] If the error of the terminal boundary value of the lithium battery power SOC is within the set value range, the ADMM algorithm converges; otherwise, it is necessary to readjust the penalty factor k1 of the regularization term through the binary method and then iterate the solution to speed up the convergence of the ADMM algorithm. After the calculation is completed, the chemical output power P of the lithium battery is output. oc And the optimal solution for lithium battery power SOC.
[0119] Step 5.6: Substitute the chemical output power P of the lithium battery calculated in step 5.5 into oc The optimal solution is obtained by the formula in step 5.1 First calculate the lithium battery output power P bat The optimal solution; then the lithium battery output power P bat The optimal solution is obtained by the formula P of the motor power requirement in step 4. demand =
[0120] P fcs +P bat , the fuel cell output power P is calculated fcs The optimal solution of .
[0121] Step 5.7: Substitute the fuel cell output power P calculated in step 5.6 into fcs The optimal solution is given by the formula in step 5.2 The optimal solution for hydrogen consumption is calculated, that is, the minimum value of hydrogen consumption.
[0122] The effectiveness of the embodiments of the present invention is verified from the following examples.
[0123] In order to verify the effectiveness of the present invention, the suburban road cycle UDDS (Urban Dynamometer Driving Schedule) was selected as a test driving condition to verify the effectiveness of the long short-term memory recurrent neural network in predicting the future short-term speed of the vehicle and the energy optimization method. The key information of the UDDS driving condition in this example includes a total driving cycle duration of 1370 seconds, frequent start-stop situations with traffic lights at crossroads, a maximum speed of 25.3m / s (i.e. 91km / h), and an average speed of 8.8m / s (about 31.7km / h).
[0124] According to the simulation results, it can be seen that the energy optimization method of hydrogen fuel cell hybrid vehicle based on vehicle networking proposed in the present invention has the following advantages:
[0125] The vehicle information and traffic information, including vehicle speed, vehicle acceleration, lithium battery SOC, and power demand, are collected through the Internet of Vehicles platform. The long short-term memory recursive neural network is used to predict the future short-term speed of the vehicle. According to the predicted vehicle speed, the vehicle power demand and motor power demand are calculated in the power demand model. Then, the lithium battery SOC, the hydrogen consumption of the fuel cell, and the calculation cost are comprehensively considered. The alternating direction multiplier method and Newton method are used to achieve the optimal energy allocation for the power demand of the hydrogen fuel cell hybrid vehicle, and the optimal solution of the fuel cell output power and lithium battery output power obtained is passed to the hydrogen fuel cell hybrid vehicle. Combined with the vehicle driving status, the whole vehicle energy optimization under the Internet of Vehicles platform is realized. Energy optimization can significantly improve the fuel economy of the vehicle, reduce hydrogen consumption, and reduce operating costs. Through reasonable energy allocation, the stability of lithium battery charging and discharging can be guaranteed, and the reliability of the system can be improved while extending the battery life. In addition, energy optimization can also ensure the stability of the fuel cell output power and the lithium battery output power, reduce frequent output power changes, and thus improve the safety and stability of vehicle operation.
[0126] In this experimental example, the prediction accuracy of the long short-term memory recurrent neural network speed prediction model is tested by using the UDDS driving condition. Figure 4 The comparison between the actual vehicle speed and the predicted vehicle speed under the UDDS driving condition shows that the long short-term memory recurrent neural network speed prediction model has a high prediction accuracy and can accurately predict the speed change of the vehicle under complex urban road conditions. Figure 5 The distribution of the power demand of the present invention shows that the energy optimization method proposed in the present invention can effectively distribute the power demand and meet the power distribution requirements of the vehicle under different driving conditions. Figure 6 The figure shows the lithium battery capacity and actual hydrogen consumption under the alternating direction multiplier method. It shows that the lithium battery capacity remains stable, and the lithium battery capacity at the final moment is the same as the lithium battery capacity at the initial moment. The charge and discharge state of the lithium battery is well managed, which can extend the battery life and improve the reliability of the system. The hydrogen consumption of the fuel cell system is 39.4824g, and the calculation time of the ADMM algorithm is about 9-10S.
[0127] The parts not involved in the present invention are the same as the prior art or are implemented by using the prior art.
[0128] The above contents are further detailed descriptions of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. An energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking, characterized in that: The steps include: Step 1: Establish a whole vehicle model of a hydrogen fuel cell hybrid vehicle control system including a vehicle longitudinal dynamics model, a hydrogen fuel cell model and a lithium battery model; Step 2: Collect vehicle operation information, construct data sets under multiple driving conditions, take the minimum output power of the fuel cell as the optimization goal, use the dynamic programming algorithm DP to solve the energy optimal control problem under multiple driving conditions, obtain the optimal state trajectory and optimal control trajectory under multiple driving conditions, and generate an optimized data set; Step 3: Input the optimized data set into different learning models for training and learning, and select a vehicle speed prediction model; Step 4: Collect the short-term speed information and traffic information of the vehicle through the Internet of Vehicles platform, use the speed prediction model to predict the future short-term speed of the vehicle, and build a power demand model of the vehicle during driving to obtain the vehicle power demand and motor power demand of the vehicle during driving; Step 5: Convex the hydrogen fuel cell model and the lithium battery model described in step 1, and then combine them with the vehicle power demand and motor power demand described in step 4, take the minimum chemical output power of the lithium battery as the optimization goal, construct the objective function and constraints of the energy management optimization problem, and iteratively solve the energy management optimization problem through the alternating direction multiplier method ADMM and Newton's method to obtain the optimal solution of the fuel cell output power and the lithium battery output power, which is used for the whole vehicle energy management optimization under the Internet of Vehicles platform.
2. The energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking according to claim 1 is characterized in that: The control system of the hydrogen fuel cell hybrid vehicle includes a fuel cell, a lithium battery, a unidirectional DC / DC converter, a bidirectional DC / DC converter, a bidirectional DC / AC converter and a motor; the fuel cell is connected to a circuit bus via a unidirectional DC / DC converter, the lithium battery is connected to the circuit bus via a bidirectional DC / DC converter, and the circuit bus is connected to the motor via a bidirectional DC / AC converter.
3. The energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking according to claim 1, characterized in that: Step 1 includes the following steps: Step 11: Construct the vehicle longitudinal dynamics model, the formula is as follows: Where m is the vehicle mass, a is the vehicle acceleration, and F drv The traction force provided by the motor, F brk is the braking force of the wheel friction brake, g is the acceleration due to gravity, and f r is the rolling resistance coefficient, θ is the road slope, ρ is the air density, A is the cross-sectional area of the vehicle body, C d is the air resistance coefficient, v is the target speed of the vehicle; Step 12: Construct the power model of the fuel cell. The formula is as follows: in, is the hydrogen consumption; P fcs is the power of the fuel cell; n fcs The efficiency of the fuel cell, lhv is the lower heating value of hydrogen; Step 13: Construct a lithium battery model. The formula is as follows: V bat =V oc -I bat R0 P bat =V bat I bat P oc =V oc I bat Among them, SOC bat(t) The lithium battery power updated at each moment, SOC bat_0(t) is the initial lithium battery capacity, t is the time, I bat is the current of the lithium battery, Q bat is the capacitance of the lithium battery, V bat is the voltage of the lithium battery, V oc is the open circuit voltage of the lithium battery, R0 is the internal resistance of the lithium battery, P bat is the output power of lithium battery, P oc is the chemical output power of the lithium battery.
4. The energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking according to claim 1, characterized in that: Step 2 includes the following steps: Step 2.1: Collect vehicle operation data and vehicle operation status, and construct data sets under multiple driving conditions; Step 2.2: In the time [0, t f ] in the vehicle driving cycle, the fuel cell power P fcs Taking minimum as the optimization goal, we construct the optimization objective function and constraint conditions of the energy optimal control problem to obtain the optimal economy; The optimization objective function J1 of the energy optimal control problem is expressed as follows: The constraint condition formula is expressed as follows: SOC(0)=SOC0,SOC(t f )=SOC f SOC min ≤SOC(t)≤SOC max P fcs,min ≤P fcs (t)≤P fcs,max P bat,min (SOC(t))≤P bat (t)≤P bat,max (SOC(t)) Among them, SOC is the lithium battery power, which is a state variable; P fcs is the fuel cell output power, which is the controlled variable; is the dynamic battery power; l is a function that describes the rate at which the lithium battery power changes over time; SOC(t) is the lithium battery power at time t, P fcs (t) is the output power of the fuel cell at time t, SOC0 is the power of the lithium battery at the initial time, SOC f is the lithium battery capacity at the final moment, t f is the final time, SOC min It is the minimum value of lithium battery power, SOC max is the maximum value of the lithium battery power, P fcs,min is the minimum output power of the fuel cell, P fcs,max is the maximum output power of the fuel cell, P bat (t) is the output power of the lithium battery at time t, P bat,min (SOC(t)) is the minimum output power of the lithium battery at time t, P bat,max (SOC(t)) is the maximum output power of the lithium battery at time t; Step 2.3: Use the dynamic programming algorithm to solve the energy optimal control problem in step 2.2, and generate an optimization data set D using the optimal state trajectory and optimal control trajectory under multiple driving conditions. The optimization data set is expressed as follows: Among them, X is the input feature, Y is the expected output feature, m is the length, t is the time, a is the vehicle acceleration, SOC is the lithium battery power, P drv is the vehicle demand power, and v is the vehicle speed.
5. The energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking according to claim 1, characterized in that: The vehicle speed prediction model described in step 3 is a long short-term memory recursive neural network model.
6. The energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking according to claim 1, characterized in that: In step 4, the power demand model of the vehicle during driving obtains the vehicle power demand and the motor power demand during driving, specifically: The vehicle's required power is expressed as follows: when a (t) >0, then when a (t) <0, then Among them, a (t) is the vehicle acceleration at time t, P drv(t) is the vehicle power demand at time t, is the predicted vehicle speed at time t; n motor is the motor efficiency, m is the vehicle mass, g is the gravitational acceleration, f r is the rolling resistance coefficient, θ is the road slope, ρ is the air density, A is the cross-sectional area of the vehicle body, C d is the air resistance coefficient, v is the vehicle speed; Based on the output power of the fuel cell and the output power of the lithium battery, the required power of the motor is calculated. The formula is as follows: P demand =P fcs +P bat Among them, P demand is the motor power requirement, P fcs is the fuel cell output power, P bat Output power for lithium batteries.
7. The energy optimization method for a hydrogen fuel cell hybrid vehicle based on vehicle networking according to claim 3 is characterized in that: Step 5 includes the following steps: Step 5.1: Convert the chemical output power P of the lithium battery oc As a control variable, the lithium battery model described in step 13 is convexified, and the model formula is rewritten as: V bat =V oc -I bat R0 Among them, SOC bat(t) The battery power updated at each moment, SOC bat_0(t) is the initial lithium battery capacity, P oc is the chemical output power of the lithium battery, Q bat is the capacitance of the lithium battery, V oc is the open circuit voltage of the lithium battery, I bat is the current of the lithium battery, R0 is the internal resistance of the lithium battery, P bat is the output power of the lithium battery; h() is a function that describes the relationship between the output power of the lithium battery and the chemical output power of the lithium battery; Step 5.2: Use a quadratic function to fit the hydrogen consumption in the power model of the fuel cell described in step 12. The formula is as follows: in, is the hydrogen consumption, P fcs is the fuel cell output power, P demand is the motor power requirement, α z are the fitting coefficients, is a function that describes the fuel consumption rate in the fuel cell system The fuel cell output power P fcs The relationship between , through which the fuel consumption of the system at a specific power output can be determined; Step 5.3: Based on the convex lithium battery model in step 5.1, the chemical output power P of the lithium battery is oc As a sub-problem of the energy management optimization problem, combined with the power demand model described in step 4, the chemical output power P of the lithium battery is oc Minimum is the optimization goal, and the objective function and constraint conditions of the energy management optimization problem are constructed to achieve the optimal allocation of required power and battery power maintenance; The objective function J2 of the energy management optimization problem is expressed as follows: Among them, P demand(t) is the motor power required at time t, P oc(t) is the chemical output power of the lithium battery at time t; The constraint condition formula is expressed as follows: P oc,min ≤P oc(t) ≤P oc,max δ=-P oc(t) SOC min ≤SOC (t) ≤SOC max Among them, P oc,min is the minimum chemical output power of lithium battery, P oc,max is the maximum value of the chemical output power of the lithium battery, δ is the introduced virtual variable; P oc(t) is the chemical output power of the lithium battery at time t; SOC of the lithium battery at time t (t) Limit to minimum SOC min and maximum SOC max SOC0 is the initial lithium battery capacity, β is N 1 vectors, γ is an N*N lower triangular matrix with all 1s, Q bat is the capacitance of the lithium battery, V oc is the open circuit voltage of the lithium battery; The augmented Lagrangian function L is obtained, and the formula is expressed as follows: Among them, λ1 and λ2 are Lagrange multipliers 1 and 2, k1 and k2 are penalty factors 1 and 2 of the regularization term, δ is the introduced dummy variable, SOC is the lithium battery power, P demand(t) is the motor power requirement at time t, P oc(t) is the chemical output power of the lithium battery at time t, P oc is the chemical output power of the lithium battery, β is a vector of N 1s, SOC0 is the power of the lithium battery at the initial moment, and γ is an N*N matrix with all 1s in the lower triangle; Step 5.4: Construct the objective function of Newton's method to solve the chemical output power P of lithium battery oc The objective function formula is expressed as follows: Among them, P oc is the chemical output power of the lithium battery, P demand is the motor demand power, k1 is the penalty factor 1, δ is the introduced dummy variable, λ1 is the Lagrange multiplier 1; Step 5.5: Substitute the chemical output power P of the lithium battery obtained in step 5.4 into oc The energy management optimization problem is solved iteratively by the ADMM algorithm, and the chemical output power P of the lithium battery that meets the convergence conditions is output. oc And the optimal solution for battery power SOC; The iteration of the ADMM algorithm is expressed as follows: i is the number of iterations, t is the time, P oc is the chemical output power of the lithium battery, P demand is the motor demand power, λ1 and λ2 are Lagrange multipliers 1 and 2, k1 and k2 are penalty factors 1 and 2 of the regularization term, δ is the introduced dummy variable, Q bat is the capacitance of the lithium battery; V oc is the open circuit voltage of the lithium battery, SOC is the lithium battery capacity, SOC0 is the lithium battery capacity at the initial moment, I is the N*N identity matrix, β is N 1 vectors, γ is the N*N matrix with all lower triangular values of 1, and T is the matrix transpose; The convergence condition of the ADMM algorithm is expressed as follows: Among them, i is the number of iterations, p is the original residual, d is the dual residual, and ε is the convergence threshold, which is set to 1000; The error condition of the final SOC is: |SOC f -SOC0|≤0.0003 Among them, SOC f is the battery power at the final moment, SOC0 is the battery power at the initial moment; Step 5.6: Substitute the chemical output power P of the lithium battery calculated in step 5.5 into oc The optimal solution is obtained by the formula in step 5.1 First calculate the lithium battery output power P bat The optimal solution; then the lithium battery output power P bat The optimal solution is obtained by the formula P of the motor power requirement in step 4. demand =P fcs +P bat , the fuel cell output power P is calculated fcs The optimal solution of Step 5.7: Substitute the fuel cell output power P calculated in step 5.6 into fcs The optimal solution is given by the formula in step 5.2 The optimal solution for hydrogen consumption is calculated, that is, the minimum value of hydrogen consumption.
Citation Information
Cited By
Range-extending type automobile braking energy recovery optimization method based on Internet of Vehicles
CN120217563A
A method for optimizing brake energy recovery of a range-extender vehicle based on vehicle networking
CN120217563B
