A hybrid electric vehicle control method based on deep reinforcement learning based on map data
Through a hybrid vehicle control method based on map data and deep reinforcement learning, combined with lane-level high-precision maps and deep reinforcement learning algorithms, the problem of intelligent autonomous driving and energy management of hybrid vehicles in an intelligent network environment is solved, achieving Intelligent autonomous driving and improved fuel economy.
Patent Information
- Application Number
- CN202210009502.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-06
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-01-06
AI Technical Summary
It is difficult for existing hybrid vehicles to achieve intelligent autonomous driving in an intelligent network environment, and the energy management strategy needs to be optimized with more environmental information.
Using a deep reinforcement learning hybrid vehicle control method based on map data, through lane-level high-precision maps and deep reinforcement learning algorithms, combined with vehicle positioning and weather information, the state space, action space and reward function are designed, and training is based on deep deterministic strategies The gradient (DDPG) control strategy model realizes comprehensive control of acceleration, steering angle, transmission ratio and engine power at the vehicle level.
It realizes intelligent automatic driving of hybrid vehicles in a networked environment. Through precise path planning and energy management, it improves fuel economy and driving comfort, ensures that the vehicle drives safely and smoothly in the lane, and optimizes hybrid power System power distribution.
Smart Images

Figure CN114312845B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the intersection field of new energy vehicles and intelligent network-connected vehicles, and relates to a deep reinforcement learning hybrid vehicle control method based on map data. Background Art
[0002] With the development of the automobile industry towards intelligence, networking and new energy. On the one hand, as an effective way to solve the current single-vehicle automatic driving, the intelligent networked car based on information and communication technology realizes the information exchange and information sharing of people, vehicles, roads, clouds, etc. Through the technical research and development of core areas such as vehicles, transportation infrastructure, communication technology and computing services, the coordinated development of intelligent networked vehicles and intelligent transportation systems has been promoted. On the other hand, the new energy of vehicle power systems can make major adjustments to the global climate conditions and energy structure. Pure electric vehicles, hybrid vehicles and fuel cell vehicles are three representative products that will occupy the main market share in the future. In contrast, hybrid vehicles have more mature technical conditions. Taking the common oil-electric hybrid system as an example, with the assistance of the motor, it can not only improve the engine operating conditions, optimize fuel consumption and emissions, but also recover excess energy through regenerative braking mode. At the same time, switching to pure electric mode under congested conditions can avoid frequent engine start and stop and the corresponding fuel consumption cost.
[0003] The research and development route of hybrid electric vehicles includes configuration screening, parameter matching and energy management. The first two require screening and optimization of the parameters of hybrid system components according to actual application conditions, while the energy management strategy needs to achieve the best fuel economy and driving comfort by reasonably allocating the power flow of the hybrid system under the conditions of meeting the power requirements of the vehicle and system constraints. In the context of the development of intelligent networking, the energy management of hybrid electric vehicles needs to continuously improve and optimize the control strategy in combination with more environmental information, and in the future, hybrid electric vehicles can also realize intelligent networking and autonomous driving.
[0004] Therefore, a new hybrid vehicle control method is urgently needed to solve the above problems. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a hybrid electric vehicle control method based on deep reinforcement learning of map data, which combines lane-level high-precision maps and deep reinforcement learning algorithms to achieve intelligent networked automatic driving of hybrid electric vehicles. To achieve the above purpose, the present invention provides the following technical solutions:
[0006] A hybrid electric vehicle control method based on deep reinforcement learning of map data specifically comprises the following steps:
[0007] S1: Process map data and establish an environmental model: Determine the optimal path between the vehicle's starting point and the target destination through the lane-level high-precision map, extract the latitude and longitude and altitude data of the target path for processing, and obtain the mileage, slope angle, lane curvature, and steering degree of the entire path;
[0008] S2: Pre-planned target speed trajectory: The vehicle speed is planned for the entire journey with driving comfort as the optimization goal. Based on the traffic management information of the current road section, the vehicle drives at the maximum speed limit of the road when not turning corners, and at a safe cornering speed when turning corners.
[0009] S3: Build a vehicle body model based on CATIA and a hybrid system model based on Python, analyze the force during driving according to vehicle dynamics, and determine the power balance of the hybrid system;
[0010] S4: Vehicle steering control impact analysis: Combine vehicle positioning and meteorological information to correct the road curvature error of the lane-level high-precision map through vehicle-road fusion perception. At the same time, determine the changes in the vehicle's windward surface area and air resistance while mastering the real-time wind direction and speed.
[0011] S5: Establish a hybrid vehicle control strategy training model based on deep deterministic policy gradient (DDPG), taking the acceleration and steering angle of the whole vehicle and the engine and transmission of the hybrid system as the control objects, respectively designing the state space, action space and reward function for learning four control strategies, and performing a step-by-step iterative training process;
[0012] S6: After the training is completed, the neural network files used to fit the four control strategies are saved and then loaded into the edge device NVIDIA Jetson AGX Xavier for testing and verification, ultimately achieving edge computing and edge control for the entire vehicle.
[0013] Further, in step S1, the lane curvature is calculated by first performing a quadratic fit on three adjacent coordinate points, and then determining the curvature and curvature radius of the midpoint according to the curvature formula;
[0014]
[0015]
[0016]
[0017]
[0018]
[0019] Among them, lat is the latitude data, lon is the longitude data, V is the coordinate vector, Angle is the vector angle between the two coordinate vectors A and B, and R earth is the radius of the earth, i is the slope, θ is the slope angle, h is the altitude difference between adjacent points, and D bet is the distance between neighboring points, K is the curvature, ρ is the radius of curvature of the map road trajectory, and y is the quadratic function fitted by the coordinate points;
[0020] Further, in step S2, according to the force analysis of the vehicle when turning, the curve speed v and gravity acceleration g, and the lane curve radius R that can ensure that the vehicle always drives safely in the lane are obtained. road That is, the curvature radius ρ of the map road trajectory and the road inclination The relationship is:
[0021]
[0022] Where v is the vehicle speed, that is, the curve speed within the lane.
[0023] Further, in step S3, a vehicle body model and a hybrid power system model are established, which specifically includes the following steps:
[0024] S31: Use CATIA 3D modeling software to build a vehicle body model and measure the body surface area at different angles;
[0025] S32: According to the dynamic analysis, the balance relationship between the force on the whole vehicle and the power of the hybrid system during driving is as follows;
[0026]
[0027]
[0028] Among them, F f is the rolling resistance, F w is the air resistance, F i is the slope resistance, F j is the acceleration resistance, g is the acceleration due to gravity, f is the rolling resistance coefficient, θ is the road slope angle, ρ air is the air density, C D is the air resistance coefficient, A car is the frontal area, u r is the relative speed, δ is the vehicle rotation mass conversion factor, m car is the vehicle mass, acc is the acceleration, P demand represents the required power, η T Represents mechanical transmission efficiency, P eng is the engine power, P mg is the motor power;
[0029] S33: using a quasi-static map method to establish an engine fuel consumption model, an engine efficiency model, and a motor efficiency model, and using a first-order equivalent circuit model based on internal resistance to represent the battery charge state change of the lithium-ion power battery pack;
[0030]
[0031] in, is the battery charge state change of the lithium-ion power battery pack, V oc is the open circuit voltage, R int is the internal resistance of the battery, P batt Indicates battery power, Q batt Indicates the nominal capacity of the battery.
[0032] Further, in step S4, the vehicle steering control impact analysis specifically includes the following steps:
[0033] S41: Determine the windward surface area A of the vehicle based on the current vehicle driving direction and real-time wind direction car , and then determine the relative driving speed u according to the current wind speed and vehicle speed r , and the air resistance F of the vehicle is calculated accordingly w and changes in power demand;
[0034] S42: Integrate vehicle-mounted perception and road section perception information to detect the steering angle of the road ahead, correct the curvature data error of the lane-level high-precision map, and ensure that the vehicle drives safely and smoothly within the lane line range.
[0035] Further, in step S5, a hybrid vehicle control strategy training model based on deep deterministic policy gradient (DDPG) is established, which specifically includes the following steps:
[0036] S511: Establish a hybrid electric vehicle control strategy training model based on deep deterministic policy gradient (DDPG), realize the interactive learning mode of the agent module and the environment module, define all fully connected neural networks in a three-layer structure with 100 neurons in each layer, define the algorithm's hyperparameters and initialize the experience pool capacity and neural network parameters;
[0037] S512: The integrated control strategy of hybrid electric vehicles includes four control objects: acceleration, steering angle, transmission ratio and engine power. The state space S, action space A and reward function R designed for the above control objectives are defined as follows:
[0038] ①Vehicle acceleration control strategy
[0039] S Acc =(Vel Real ,VelTarget ,ΔVel)
[0040] A Acc =Acc=[-1.5m / s 2 ,1.5m / s 2 ]
[0041] R Acc = -1×(Vel Real -Vel Target ) 2
[0042] Among them, Vel Real is the real-time speed, Vel Target is the planned speed, ΔVel is the speed difference, and action Acc is the acceleration;
[0043] ②Vehicle steering angle control strategy
[0044] S Ste =(Angle Real ,Angle Target ,ΔAngle)
[0045] A Ste =ΔSte=[-15°,15°]
[0046] R Ste =-1×(Angle Real -Angle target ) 2
[0047] Among them, Angle Real is the real-time angle, Angle Target is the road turning angle, ΔAngle is the angle difference, and action ΔSte is the change in steering angle;
[0048] ③ Transmission ratio control strategy
[0049] S CVT =(Vel Real ,Acc,Ratio CVT ,θ)
[0050] A CVT =ΔRatio CVT =[-0.5,0.5]
[0051] R CVT =-1×(Ratio CVT -Ratio Target ) 2
[0052] Among them, Ratio CVTis the real-time transmission ratio of CVT, θ is the road slope angle, Ratio Target is the reference transmission ratio, action ΔRatio CVT is the change in CVT transmission ratio;
[0053] ④Engine power control strategy
[0054] S eng =(Vel Real ,Acc,soc,P eng )
[0055] A eng =ΔP eng =[-5kW,5kW]
[0056]
[0057] Among them, α, β and σ are the weight coefficients of the three optimization items, soc is the battery charge state, soc target is the target state of charge (the target charge of non-plug-in hybrid electric vehicles is the initial state of charge), P eng is the engine power, is the instantaneous fuel consumption, T eng is the engine torque, N eng is the engine speed, η eng is the engine efficiency, action ΔP eng is the change in engine power.
[0058] Further, in step S5, a hybrid vehicle control strategy training model based on deep deterministic policy gradient (DDPG) is trained, specifically including the following steps:
[0059] S521: Perform iterative trial-and-error training on the hybrid vehicle control strategy using a step-by-step learning method, and the training ends when the total cumulative reward trajectory of all control strategies maintains a stable convergence state;
[0060] S522: When the neural network of the DDPG algorithm needs to be updated during the training process, the training samples are selected by randomly extracting small batches from the experience pool, and the parameters of the online critic network, the online actor network, the target critic network, and the target actor network are soft updated in real time according to the following formulas;
[0061]
[0062]
[0063]
[0064]
[0065]
[0066] Where N is the number of mini-batch samples, i is the serial number of the mini-batch training sample, are the online actor network parameters, are the target actor network parameters, are the online critic network parameters, are the target critic network parameters, k is the learning rate, τ is the tracking rate, s is the state, a is the action, r is the reward, t is the time, γ is the discount factor, is the target action value, is the predicted action value, which is also the expected value of discounted future cumulative rewards. s′ represents the state at the next moment, a′ represents the action at the next moment, and L Q is the loss function used to update the online critic network, represents the control policy currently fitted by the target actor network, is the critic network update gradient, is the update gradient of the actor network, is the update gradient of the action-value function with respect to the parameters of the online actor network, is the policy gradient, represents the expected value, and J is the objective function.
[0067] The beneficial effect of the present invention is that the present invention combines new energy and intelligent networking in the field of vehicle engineering, and realizes intelligent automatic driving of hybrid vehicles belonging to new energy types in a networked environment driven by lane-level high-precision map data. The method of the present invention specifically realizes comprehensive control from the acceleration and steering angle of the whole vehicle layer to the transmission ratio and engine power of the hybrid system layer through digital mapping of all traffic elements of the target path.
[0068] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:
[0070] Figure 1 It is a flow chart of the deep reinforcement learning hybrid vehicle control method based on map data of the present invention;
[0071] Figure 2 It is the structure diagram of the hybrid power system;
[0072] Figure 3 This is a schematic diagram of CATIA car body modeling and the change of windward surface area at different angles;
[0073] Figure 4 This is the framework diagram of the deep deterministic policy gradient algorithm;
[0074] Figure 5 This is a schematic diagram of the change trajectory of the total accumulated rewards;
[0075] Figure 6 It is a schematic diagram of velocity trajectory;
[0076] Figure 7 It is the relationship diagram between steering angle control and windward surface area change;
[0077] Figure 8 is the power allocation diagram;
[0078] Fig. 9 It is a schematic diagram of SOC trajectory;
[0079] Fig.10 It is a schematic diagram of the CVT transmission ratio sequence and engine speed;
[0080] Fig.11 It is the engine operating point distribution diagram of four energy management strategies. DETAILED DESCRIPTION
[0081] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and the features in the embodiments can be combined with each other without conflict.
[0082] See also Figures 1 to 11 , Figure 1 The present invention is a flow chart of a hybrid electric vehicle control method based on deep reinforcement learning of map data, which specifically includes the following steps:
[0083] S1: Determine the optimal path between the starting point and the end point through the lane-level high-precision map, extract the longitude and latitude and altitude data of the target path for processing, and obtain information such as mileage, slope angle, lane curvature and turning degree of the entire path.
[0084] In step S1, the map data is processed and the environment model is established according to the following method:
[0085] S11: According to the target starting point and target end point, the lane-level high-precision map plans the optimal path solution;
[0086] S12: The lane-level high-precision map provides the latitude, longitude and altitude data of the target path. Data processing is performed on the target path to obtain key information such as mileage, slope angle, lane curvature and turning degree according to the following formula. Among them, the calculation of road curvature first performs a quadratic fit on the three adjacent coordinate points, and then determines the curvature and curvature radius of the midpoint according to the curvature formula.
[0087]
[0088]
[0089]
[0090]
[0091]
[0092] Among them, lat is the latitude data, lon is the longitude data, V is the coordinate vector, Angle is the vector angle between the two coordinate vectors A and B, and R earth is the radius of the earth, i is the slope, θ is the slope angle, h is the altitude difference between adjacent points, and D bet is the distance between neighboring points, K is the curvature, ρ is the radius of curvature of the map road trajectory, and y is the quadratic function fitted by the coordinate points;
[0093] S13: Based on the above data information, a parameterized road environment model of the target path is established.
[0094] S2: Plan the vehicle speed throughout the journey with driving comfort as the optimization goal. Based on the traffic management information of the current road section, drive at the maximum speed limit of the road when not turning, and drive at a safe cornering speed when turning.
[0095] In step S2, the target speed trajectory is planned as follows:
[0096] S21: According to the force analysis of the vehicle when turning, the curve speed v, gravity acceleration g, and lane curve radius R can ensure that the vehicle always drives safely within the lane. road (i.e., radius of curvature ρ) and road inclination Directly related.
[0097]
[0098] Where v is the vehicle speed.
[0099] S22: After understanding the speed limit of the current lane and the safe speed of the vehicle when turning, take driving comfort as an indicator and define the acceleration and deceleration of the vehicle to be maintained at 1.5m / s throughout the journey 2 , thereby pre-planning the entire speed trajectory.
[0100] S3: Build a vehicle body model based on CATIA and a hybrid power system model based on Python, perform force analysis on the driving process according to the vehicle dynamics and determine the power balance relationship of the hybrid power system.
[0101] In step S3, the vehicle body and power system modeling is performed as follows:
[0102] S31: Use CATIA 3D modeling software to build a vehicle body model and measure the body surface area at different angles;
[0103] S32: According to the dynamic analysis, the balance relationship between the force on the whole vehicle and the power of the hybrid system during driving is as follows;
[0104]
[0105]
[0106] Among them, F f is the rolling resistance, F w is the air resistance, F i is the slope resistance, F j is the acceleration resistance, g is the acceleration due to gravity, f is the rolling resistance coefficient, θ is the road slope angle, ρ air is the air density, C D is the air resistance coefficient, A car is the frontal area, u r is the relative speed, δ is the vehicle rotation mass conversion factor, m car is the vehicle mass, acc is the acceleration, P demand represents the required power, η T Represents mechanical transmission efficiency, P eng is the engine power, P mg is the motor power;
[0107] pass Figure 3 From the vehicle body model established by CATIA, it can be seen that the change of driving angle can cause a significant change in the windward area of the vehicle body, and the changing trend of the windward area of the vehicle body model at different angles.
[0108] S33: Use quasi-static map diagrams to establish engine fuel consumption models, engine efficiency models, and motor efficiency models, and use a first-order equivalent circuit model based on internal resistance to represent the battery charge state changes of lithium-ion power battery packs
[0109]
[0110] in, is the battery charge state change of the lithium-ion power battery pack, V oc is the open circuit voltage, R int is the internal resistance of the battery, P batt Indicates battery power, Q batt Indicates the nominal capacity of the battery.
[0111] S4: Combining vehicle positioning with weather information, the road curvature error of the lane-level high-precision map is corrected through vehicle-road fusion perception. At the same time, the changes in the vehicle's windward area and air resistance are determined while mastering the real-time wind direction and speed.
[0112] In step S4, the vehicle steering control impact analysis is performed as follows:
[0113] S41: When controlling the vehicle steering angle, the actual windward surface area A is determined based on the current vehicle driving direction and the real-time wind direction in combination with the real-time wind direction provided by the meteorological conditions. car , and then determine the relative speed u according to the wind speed and vehicle speed r , and the air resistance F of the vehicle is calculated accordingly w And accurately calculate the changes in power demand;
[0114] S42: Integrate vehicle-mounted perception and road section perception information to detect the steering angle of the road ahead, correct the curvature data error of the lane-level high-precision map, and ensure that the vehicle drives safely and smoothly within the lane line range.
[0115] S5: Establish a hybrid electric vehicle control strategy training framework based on deep deterministic policy gradient (DDPG) (such as Figure 4 As shown in the figure, the acceleration and steering angle of the whole vehicle and the engine and transmission of the hybrid system are taken as the control objects, and the state space, action space and reward function of the four control strategies are designed to be learned respectively, and a step-by-step iterative training process is carried out.
[0116] In step S5, the integrated control strategy training scheme is performed as follows:
[0117] S51: Establish a hybrid electric vehicle control strategy training framework based on deep deterministic policy gradient (DDPG), realize the interactive learning mode of the agent module and the environment module, define all fully connected neural networks in a three-layer structure with 100 neurons in each layer, define the algorithm's hyperparameters and initialize the experience pool capacity and neural network parameters;
[0118] S52: The integrated control strategy of hybrid electric vehicles includes four control objects: acceleration, steering angle, transmission ratio and engine power. The state space S, action space A and reward function R designed for the above control objectives are defined as follows:
[0119] ①Vehicle acceleration control strategy
[0120] S Acc =(Vel Real ,Vel Target ,ΔVel)
[0121] A Acc =Acc=[-1.5m / s 2 ,1.5m / s 2 ]
[0122] R Acc = -1×(Vel Real -Vel Target ) 2
[0123] Among them, Vel Real is the real-time speed, Vel Target is the planned speed, ΔVel is the speed difference, and action Acc is the acceleration;
[0124] ②Vehicle steering angle control strategy
[0125] S Ste =(Angle Real ,Angle Target ,ΔAngle)
[0126] A Ste =ΔSte=[-15°,15°]
[0127] R Ste =-1×(Angle Real -Angle target ) 2
[0128] Among them, Angle Real is the real-time angle, Angle Target is the road turning angle, ΔAngle is the angle difference, and action ΔSte is the change in steering angle;
[0129] ③ Transmission ratio control strategy
[0130] S CVT =(Vel Real ,Acc,Ratio CVT ,θ)
[0131] A CVT =ΔRatio CVT =[-0.5,0.5]
[0132] R CVT =-1×(Ratio CVT -Ratio Target ) 2
[0133] Among them, Ratio CVT is the real-time transmission ratio of CVT, θ is the road slope angle, Ratio Target is the reference transmission ratio, action ΔRatio CVT is the change in CVT transmission ratio;
[0134] ④Engine power control strategy
[0135] S eng =(Vel Real ,Acc,soc,P eng )
[0136] A eng =ΔP eng =[-5kW,5kW]
[0137]
[0138] Among them, α, β and σ are the weight coefficients of the three optimization items, soc is the battery charge state, soc target is the target state of charge (the target charge of non-plug-in hybrid electric vehicles is the initial state of charge), P eng is the engine power, is the instantaneous fuel consumption, T eng is the engine torque, N eng is the engine speed, η eng is the engine efficiency, action ΔP eng is the change in engine power.
[0139] S53: Iterative trial-and-error training of the hybrid vehicle control strategy is performed using a step-by-step learning method, and the training ends when the total cumulative reward trajectory of all control strategies maintains a stable convergence state;
[0140] S54: When the neural network of the DDPG algorithm needs to be updated during the training process, the training samples are selected by randomly extracting small batches from the experience pool, and the parameters of the online critic network, the online actor network, the target critic network, and the target actor network are soft updated in real time according to the following formulas;
[0141]
[0142]
[0143]
[0144]
[0145]
[0146] Where N is the number of mini-batch samples, i is the serial number of the mini-batch training sample, are the online actor network parameters, are the target actor network parameters, are the online critic network parameters, are the target critic network parameters, k is the learning rate, τ is the tracking rate, s is the state, a is the action, r is the reward, t is the time, γ is the discount factor, is the target action value, is the predicted action value, which is also the expected value of discounted future cumulative rewards. s′ represents the state at the next moment, a′ represents the action at the next moment, and L Q is the loss function used to update the online critic network, represents the control policy currently fitted by the target actor network, is the critic network update gradient, is the update gradient of the actor network, is the update gradient of the action-value function with respect to the parameters of the online actor network, is the policy gradient, represents the expected value, and J is the objective function.
[0147] S6: After the training is completed, the neural network files used to fit the four control strategies are saved and then loaded into the edge device NVIDIA Jetson AGX Xavier to test and verify the key indicators such as the effectiveness, optimization and real-time performance of the control strategy, and finally realize edge computing and edge control for the whole vehicle.
[0148] Verification experiment
[0149] 1. Experimental setup
[0150] First, the hybrid electric vehicle integrated control strategy based on deep reinforcement learning will be trained offline for 400 rounds of iterative trial-and-error on a computer equipped with an i7-10700K CPU processor. After the training, all the neural network parameter files used to fit the control strategy will be saved for subsequent processor-in-the-loop testing.
[0151] Secondly, three energy management strategies are set for comparison, and the naming scheme and specific settings are shown in Table 1. The three control strategies are comprehensively compared with the integrated control strategy proposed in this invention in terms of fuel economy and computational efficiency, based on the differences in basic algorithms (DP and Q-Learning) and engine control objects (throttle opening and engine power change).
[0152] Table 1 Energy management strategy comparison scheme settings
[0153]
[0154] a T indicates that the controlled object is the throttle opening; b △ indicates that the controlled object is the change in engine power.
[0155] Finally, the real-time performance of the integrated control strategy was tested through an embedded processor-in-the-loop experiment based on the NVIDIA Jetson AGX Xavier edge device. The NVIDIA Jetson AGX Xavier module can provide high-level computing energy efficiency and reasoning capabilities in the edge cloud. In the field of embedded applications, through the use of hardware such as CPU, GPU and deep learning accelerators, it can achieve a peak computing power of 32 trillion operations per second and a high-speed I / O performance of 750Gbps, which is helpful for training and deploying neural networks, and can efficiently run intelligent algorithms such as visual ranging and path planning. After turning on the power, connect to the module through a monitor, mouse and keyboard, and HDMI video cable to complete the test.
[0156] 2. Offline training
[0157] The training goal of deep reinforcement learning is to maximize the cumulative reward, so the sign of the completion of training is that the total cumulative reward or loss value has maintained a stable convergence state. In the integrated control strategy of hybrid vehicles based on deep reinforcement learning, it is necessary to simultaneously control the acceleration and steering angle of the entire vehicle as well as the engine and transmission of the hybrid system. However, it should be noted during the training phase that before the acceleration and steering angle control effects are in a stable state, the random fluctuations in the required power and speed trajectory will directly interfere with the subsequent control strategy of the hybrid system. In other words, the random fluctuations of the upper-level control strategy will cause the lower-level strategies to be in an invalid learning environment. Therefore, the present invention adopts a step-by-step training method in actual offline training, and the total cumulative reward change trajectory is as follows: Figure 5 shown.
[0158] In the first 100 iterations, only the control strategies of acceleration and steering angle remain in the learning and updating state, while the control strategies of the engine and transmission are in the random fluctuation stage. After the upper-level strategy stabilizes, the speed trajectory and required power of the whole vehicle also remain relatively stable. The CVT transmission ratio control strategy based on deep reinforcement learning officially begins to learn and update in the 100th round, while the engine power control strategy begins to update in the 200th round. Through a cumulative 400 iterative training processes, the total rewards of the four control strategies all remain in a stable convergence state. Among them, due to the existence of the SOC deviation optimization term in the reward function of the engine power control strategy, the trajectory fluctuation of the cumulative reward is relatively more violent.
[0159] 3. Processor-in-the-loop test results
[0160] The vehicle acceleration and steering angle control results are as follows: Figure 6-7 After obtaining the specific data of the target path and traffic speed limit information through the lane-level map, the pre-planned target vehicle speed and lane angle can provide data reference for the control strategy based on deep reinforcement learning. Figure 6 The speed trajectory shown indicates that deep reinforcement learning can effectively maintain the vehicle's real-time speed near the target speed, and can also achieve good control effects when a large speed change is required after encountering a corner. Figure 7The steering control results shown include lane angle, target steering wheel angle, real-time steering wheel angle and real-time windward surface area change of the vehicle body. Lane-level map data can be obtained through high-precision maps, and the real-time curvature change of lane lines can be grasped more accurately by using vehicle-road fusion perception technology. Taking the lane angle as the required turning angle of the vehicle body, the real-time steering angle of the steering wheel of the intelligent connected vehicle needs to be converted according to vehicle parameters such as wheelbase, so as to determine the adjustment angle of the steering wheel. The results show that the east direction is 0 degrees. Deep reinforcement learning can keep the real-time turning angle and lane angle approximately consistent with effective control behavior. At the same time, the windward surface area of the vehicle also changes significantly with the steering control. At this time, the speed trajectory and windward surface area will have an important impact on the subsequent energy management strategy based on the required power data information.
[0161] The energy management strategy control results of the parallel hybrid power system include the required power and power flow distribution results ( Figure 8 )、SOC trajectory( Fig. 9 )、CVT shift sequence( Fig.10 ) and the engine operating point ( Fig.11 ).
[0162] Since non-plug-in hybrid vehicles cannot be connected to external charging equipment, the energy to restore the SOC state after consuming electricity comes from the engine or regenerative braking. At the same time, after a long period of driving, the battery SOC is still required to be maintained near the initial value. Fig. 9 The SOC trajectories of the four energy management strategies shown can meet the above requirements, and the SOC is always maintained within the predefined threshold range, but according to Figure 8 The power demand shown in the figure is relatively large before the end of the trip, so the final SOC of the four control strategies drops to around 0.55. Combining the SOC trajectory with the power distribution, it can be seen that in the four types of energy management strategies, the vehicle is in hybrid drive mode during most of the operating time periods, the engine outputs drive power steadily, and the motor mainly plays the role of power compensation and energy recovery.
[0163] Combination Fig.10 The CVT shift sequence shown and Fig.11The results of the engine operating point shown in the figure show that when the CVT shift results of the DP(T) / DP-based EMS are used as the reference sequence, the DRL-based CVT transmission ratio control strategy achieves an ideal learning effect. Regardless of the CVT transmission ratio sequence or the engine speed, the two results maintain a similar change state. In addition, from the distribution of the engine operating point, it can be found that since the vehicle has been traveling at a speed of 120km / h for a long time, the operating points of the four control strategies are relatively concentrated near 1500r / min. However, the DP(T) / DP-based EMS with the throttle as the control object also has a large number of operating points concentrated in the high-efficiency area, so as to cope with driving scenarios with high power requirements, and there are fewer distributions in the low-speed and low-torque area. Therefore, this type of strategy has more undesirable phenomena of torque mutation. Fig.11 The overall change trend of the engine operating point shown in (b-d) has better continuity. At the same time, the engine operating point distribution range of the two learning energy management strategies is wider, thereby compensating for the moment when the engine needs high power output.
[0164] The data results of the four energy management strategies are shown in Table 2. According to the basic algorithm, shifting strategy and engine control object, the fuel economy and calculation efficiency show significant differences. The two DP-based control strategies achieved fuel consumption of 6738.37g (5.39L / 100km) and 5711.05g (5.37L / 100km) respectively. However, according to the calculation time, it can be found that due to the large variable dimension and discreteness, the operation process consumes 2171.8s and 73496.12s respectively. Therefore, although the DP-based energy management strategy can achieve the theoretical optimal fuel economy, the result only exists as a benchmark for comparison. In contrast, the RL-based control strategy achieves excellent control efficiency while achieving near-optimal fuel economy. The two learning-based energy management strategies achieve fuel consumption of 7275.30g (5.82L / 100km) and 6907.69g (5.53L / 100km) respectively. It is important to note that, under the condition that the variable space contains only one state and one action, the QL-based energy management strategy takes 7.32 seconds to run a full-speed trajectory on a high-performance computer, while the DRL-based energy management strategy has 14 state variables and 4 action variables, and the processor-in-the-loop test on the NVIDIA Jetson AGXXavier edge device only takes 104.14 seconds.
[0165] Table 2 Comparison of energy management strategy results
[0166]
[0167] Based on the above analysis, it can be seen that deep reinforcement learning algorithms have significant application potential in the field of hybrid vehicle energy management strategies, and can ensure the optimization and real-time performance of learning control strategies.
[0168] In the context of the cloud control system of intelligent networked vehicles, the present invention builds an environmental model based on the high-precision, enhanced positioning, meteorological conditions and other information of the resource platform, that is, the hybrid vehicle integrated control strategy based on deep learning proposed by the present invention uses the DDPG algorithm to control the acceleration and steering angle of the whole vehicle layer and the DQN algorithm to control the CVT transmission ratio and engine power of the hybrid system layer. Through the analysis of the processor-in-the-loop test results based on the NVIDIA Jetson AGX Xavier edge device, while effectively controlling the speed and steering angle of the whole vehicle, a fuel consumption of 6907.69g (5.53L / 100km) was achieved, and under the conditions of involving 14 state variables and 4 control variables, running a 5158s driving condition only consumes 104.14s of computing time, which fully verifies the control performance, optimization effect and computing efficiency of the deep reinforcement learning integrated control proposed by the present invention.
[0169] The results show that the DRL-based CVT transmission ratio control strategy has achieved an ideal control effect and can maintain the engine's operating speed within a reasonable range. In addition, since the vehicle has been running at a speed of 120km / h for a long time, the engine's operating point is relatively concentrated around 1500r / min. At the same time, when the power change is used as the control target, the engine's operating performance has better continuity.
[0170] Based on the above analysis, it can be seen that deep reinforcement learning algorithms have significant application potential in the field of hybrid vehicle energy management strategies, and can ensure the optimization and real-time performance of learning control strategies.
[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.
Claims
1. A hybrid electric vehicle control method based on deep reinforcement learning of map data, characterized in that: The method specifically comprises the following steps: S1: Processing map data and establishing an environmental model: Determine the optimal path between the vehicle's starting point and the target destination through the lane-level map, extract the latitude and longitude and altitude data of the target path for processing, and obtain the mileage, slope angle, lane curvature and turning degree of the entire path; In step S1, the lane curvature is calculated by first performing a quadratic fit on three adjacent coordinate points, and then determining the curvature and curvature radius of the midpoint according to the curvature formula; Among them, lat is the latitude data, lon is the longitude data, V is the coordinate vector, Angle is the vector angle between the two coordinate vectors A and B, and R earth is the radius of the earth, i is the slope, θ is the slope angle, h is the altitude difference between adjacent points, and D bet is the distance between neighboring points, K is the curvature, ρ is the radius of curvature of the map road trajectory, and y is the quadratic function fitted by the coordinate points; S2: Pre-planned target speed trajectory: Plan the entire vehicle speed with driving comfort as the optimization goal. Based on the traffic management information of the current road section, drive at the maximum speed limit of the road when not turning corners, and drive at a safe cornering speed when turning corners. S3: Establish a vehicle body model and a hybrid power system model, perform force analysis on the driving process based on vehicle dynamics, and determine the power balance relationship of the hybrid power system; S4: Vehicle steering control impact analysis: Combine vehicle positioning and meteorological information to correct the road curvature error of the lane-level high-precision map through vehicle-road fusion perception. At the same time, determine the changes in the vehicle's windward surface area and air resistance while mastering the real-time wind direction and speed. S5: Establish a hybrid vehicle control strategy training model based on deep deterministic policy gradient, take the acceleration and steering angle of the whole vehicle and the engine and transmission of the hybrid system as the control objects, establish the state space, action space and reward function of the control strategy, and perform a step-by-step iterative training process.
2. The hybrid vehicle control method according to claim 1, characterized in that: In step S2, according to the force analysis of the vehicle when turning, the curve speed v and gravity acceleration g, and the lane curve radius R that can ensure that the vehicle always drives safely in the lane are obtained. road That is, the relationship between the curvature radius ρ of the map road trajectory and the road surface inclination θ is: Where v is the vehicle speed, that is, the curve speed within the lane.
3. The hybrid vehicle control method according to claim 1, characterized in that: In step S3, a vehicle body model and a hybrid power system model are established, which specifically includes the following steps: S31: Use CATIA 3D modeling software to build a vehicle body model and measure the body surface area at different angles; S32: According to the dynamic analysis, the balance relationship between the force on the whole vehicle and the power of the hybrid system during driving is as follows; Among them, F f is the rolling resistance, F w is the air resistance, F i is the slope resistance, F j is the acceleration resistance, g is the acceleration due to gravity, f is the rolling resistance coefficient, θ is the road slope angle, ρ air is the air density, C D is the air resistance coefficient, A car is the frontal area, u r is the relative speed, δ is the vehicle rotation mass conversion factor, m car is the vehicle mass, acc is the acceleration, P demand represents the required power, η T Represents mechanical transmission efficiency, P eng is the engine power, P mg is the motor power; S33: using a quasi-static map method to establish an engine fuel consumption model, an engine efficiency model, and a motor efficiency model, and using a first-order equivalent circuit model based on internal resistance to represent the battery charge state change of the lithium-ion power battery pack; in, is the battery charge state change of the lithium-ion power battery pack, V oc is the open circuit voltage, R int is the internal resistance of the battery, P batt Indicates battery power, Q batt Indicates the nominal capacity of the battery.
4. The hybrid vehicle control method according to claim 1, characterized in that: In step S4, the vehicle steering control impact analysis specifically includes the following steps: S41: Determine the windward surface area A of the vehicle based on the current vehicle driving direction and the real-time wind direction car , and then determine the relative driving speed u according to the current wind speed and vehicle speed r , and the air resistance F of the vehicle is calculated accordingly w and changes in power demand; S42: Integrate vehicle-mounted perception and road section perception information to detect the steering angle of the road ahead, correct the curvature data error of the lane-level high-precision map, and ensure that the vehicle drives safely and smoothly within the lane line range.
5. The hybrid vehicle control method according to claim 1, characterized in that: In step S5, a hybrid vehicle control strategy training model based on deep deterministic policy gradient is established, which specifically includes the following steps: S511: Establish a hybrid electric vehicle control strategy training model based on deep deterministic policy gradient, realize the interactive learning mode of the agent module and the environment module, define all fully connected neural networks in a three-layer structure with 100 neurons in each layer, define the algorithm's hyperparameters and initialize the experience pool capacity and neural network parameters; S512: The integrated control strategy of hybrid electric vehicles includes four control objects: acceleration, steering angle, transmission ratio and engine power. The state space S, action space A and reward function R designed for the above control objectives are defined as follows: ①Vehicle acceleration control strategy S Acc =(Well Real ,Well Target ,ΔWell) A Acc =Acc=[-1.5m / s 2 ,1.5m / s 2 ] R Acc =-1×(Well Real -Well Target ) 2 Among them, Vel Real is the real-time speed, Vel Target is the planned speed, ΔVel is the speed difference, and action Acc is the acceleration; ②Vehicle steering angle control strategy S Ste =(Angle Real ,Angle Target ,ΔAngle) A Ste =ΔSte=[-15°,15°] R Ste =-1×(Angle Real -Angle target ) 2 Among them, Angle Real is the real-time angle, Angle Target is the road angle, ΔAngle is the angle difference, and action ΔSte is the change in the turning angle; ③ Transmission ratio control strategy S CVT =(Or Real ,Acc,Ratio CVT ,θ) A CVT =ΔRatio CVT =[-0.5,0.5] R CVT =-1×(Ratio CVT -Ratio Target ) 2 Among them, Ratio CVT is the real-time transmission ratio of the CVT, θ is the road slope angle, Ratio Target is the reference transmission ratio, action ΔRatio CVT is the change in CVT transmission ratio; ④Engine power control strategy S eng =(Or Real ,Acc,soc,P eng ) A eng =ΔP eng =[-5kW,5kW] Among them, α, β and σ are the weight coefficients of the three optimization items, soc is the battery charge state, soc target is the target charge state, P eng is the engine power, is the instantaneous fuel consumption, T eng is the engine torque, N eng is the engine speed, η eng is the engine efficiency, action ΔP eng is the change in engine power.
6. The hybrid vehicle control method according to claim 1, characterized in that: In step S5, a hybrid vehicle control strategy training model based on deep deterministic policy gradient is trained, specifically including the following steps: S521: Perform iterative trial-and-error training on the hybrid vehicle control strategy using a step-by-step learning method, and the training ends when the total cumulative reward trajectory of all control strategies maintains a stable convergence state; S522: When the neural network of the DDPG algorithm needs to be updated during the training process, the training samples are selected by randomly extracting small batches from the experience pool, and the parameters of the online critic network, the online actor network, the target critic network, and the target actor network are soft updated in real time according to the following formulas; Where N is the number of mini-batch samples, i is the serial number of the mini-batch training sample, are the online actor network parameters, are the target actor network parameters, are the online critic network parameters, are the target critic network parameters, k is the learning rate, τ is the tracking rate, s is the state, a is the action, r is the reward, t is the time, γ is the discount factor, is the target action value, is the predicted action value, which is also the expected value of discounted future cumulative rewards. s′ represents the state at the next moment, a′ represents the action at the next moment, and L Q is the loss function used to update the online critic network, represents the control policy currently fitted by the target actor network, is the critic network update gradient, is the update gradient of the actor network, is the update gradient of the action-value function with respect to the parameters of the online actor network, is the policy gradient, represents the expected value, and J is the objective function.
7. The hybrid vehicle control method according to claim 1, characterized in that: The method also includes step S6, after the training is completed, saving the neural network file for fitting the four control strategies, and then loading it to the edge device NVIDIA Jetson AGX Xavier for testing and verification, and finally realizing edge computing and edge control for the whole vehicle.
