Energy management method for hybrid electric vehicles based on traffic information and deep reinforcement learning
Combining traffic information with deep reinforcement learning algorithms solves the problems of vehicle driving safety and fuel economy in urban traffic scenarios, achieves real-time optimal speed planning and multi-objective optimization, and improves the driving safety and fuel economy of hybrid vehicles. Economy.
Patent Information
- Application Number
- CN202210305934.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-03-25
AI Technical Summary
In urban traffic scenarios, it is difficult for human drivers to obtain specific traffic light information and vehicle information in front, resulting in vehicles starting and stopping frequently and the distance from the vehicle in front being too small. Traditional rule-based speed planning cannot effectively improve vehicle safety and driving comfort. performance and fuel economy.
A hybrid vehicle energy management method based on traffic information and deep reinforcement learning is adopted. By obtaining historical traffic data and real-time road traffic information, a deep reinforcement learning algorithm is used to plan the real-time optimal speed of the vehicle, and solve problems including fuel consumption and battery SOC maintenance. Multi-objective optimization problem.
It improves the safety, driving comfort and fuel economy of vehicles on urban roads, avoids the problems of frequent starting and stopping at traffic lights and being too close to the vehicle in front, while achieving real-time energy management and fuel economy. sex.
Smart Images

Figure CN114475569B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of new energy vehicle control and relates to a hybrid vehicle energy management method based on traffic information and deep reinforcement learning. Background Art
[0002] In urban traffic scenarios, the speed planning of vehicles largely determines the safety, driving comfort and fuel economy of vehicle driving. In terms of obtaining road information, human drivers cannot obtain specific traffic light information and information about the vehicle in front, which makes it easy for vehicles to start and stop frequently at traffic lights, and the distance between the vehicle in front is too small. In addition, at this stage, vehicle-to-vehicle communication has been introduced not long ago, and the V2V assumption is difficult to establish; in terms of control effect, traditional rule-based speed planning has limited effect in terms of energy saving and improving driving comfort. Therefore, in the scenario where the existing intelligent network technology is less popular, using vehicle-to-road communication V2I to obtain traffic light information, and then using existing means to reasonably obtain information about the vehicle in front, and applying this information to vehicle speed optimization is of great significance to improving vehicle driving safety, traffic efficiency and comfort.
[0003] With the deepening of environmental pollution and the need for energy conservation and emission reduction, the development of new energy vehicles is imperative. As a type of new energy vehicle, hybrid vehicles have the advantages of both traditional energy vehicles and pure electric vehicles. On the basis of taking into account the range, they also reduce fuel consumption. As the core technology of hybrid vehicle control, energy management strategy determines the fuel economy of the whole vehicle. Energy management strategies include the following categories: rule-based energy management strategy, optimization-based energy management strategy, and learning-based energy management strategy. Among them, the rule-based energy management strategy control method can be executed in real time, but it cannot guarantee optimality; the energy management strategy based on global optimization can achieve the optimal control solution, but the required calculation time is very long and cannot be applied in real time. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a hybrid vehicle energy management method based on traffic information and deep reinforcement learning, so as to improve the driving safety, driving comfort and fuel economy of hybrid vehicles on urban roads.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A hybrid vehicle energy management method based on traffic information and deep reinforcement learning specifically includes the following steps:
[0007] S1: Obtain historical traffic data and real-time road traffic information;
[0008] S2: Considering safety and comfort, a deep reinforcement learning algorithm is used to plan the real-time optimal speed of the vehicle;
[0009] S3: Use deep reinforcement learning algorithms to solve hybrid electric vehicle energy management problems and multi-objective optimization problems including fuel consumption and battery SOC maintenance.
[0010] Furthermore, in step S1, the historical traffic data obtained mainly includes: traffic light phase information and vehicle speed and position information, and an urban traffic model is established to provide data support for deep reinforcement learning training; road condition information is obtained based on vehicle-to-road communication V2I, the preceding vehicle information is obtained based on sensors, and the vehicle information is obtained based on the global positioning system for real-time speed planning;
[0011] The real-time road traffic information obtained includes:
[0012] Movement information of the preceding vehicle, including: the speed of the preceding vehicle and the distance between the vehicle and the preceding vehicle;
[0013] Vehicle motion information, including: the actual vehicle speed at the current moment, the vehicle travel distance at the current moment;
[0014] Road condition information, including: traffic light phase information, the distance between the vehicle and the traffic light ahead, and road speed limit information.
[0015] Furthermore, in step S2, a deep reinforcement learning algorithm is used to plan the real-time optimal speed of the vehicle, which specifically includes the following steps:
[0016] S21: Design a scene divider to determine the driving scene of the vehicle based on the distance relationship with the target ahead;
[0017] S22: Determine a safe driving speed in the current scenario;
[0018] S23: Use deep reinforcement learning algorithm to solve the optimal target vehicle speed that takes into account both safety and driving comfort.
[0019] Further, step S21 specifically includes: dividing the driving scene according to the distance to the front target and the traffic light status:
[0020]
[0021] Where, Δs max is the maximum braking distance, s0 is the maximum safe distance that the vehicle should maintain with the vehicle in front after braking, τ′2 is the idle travel time of the brake, τ″2 is the time required for the brake force to increase, τ2=τ′2+τ″2 is collectively referred to as the brake action time, a b max is the maximum deceleration, v is the vehicle speed;
[0022] The traffic light information of the next intersection is obtained through vehicle-road communication. For the convenience of calculation, the yellow light time is incorporated into the green light time, and the time when the traffic light switches to the next stage is t r ; The time required for the vehicle to reach the traffic light t d for:
[0023]
[0024] Among them, d is the distance between the vehicle and the traffic light, a max is the maximum acceleration; when the distance between the vehicle and the traffic light ahead is less than Δs max If the current light is red and t r >t d , or the traffic light is green and t r <t d , the car cannot pass the traffic light without stopping;
[0025] By judging the traffic light information and the braking range Δs max Whether there is a target in the scene to divide the driving scene:
[0026] I. The distance to the vehicle in front and the traffic light is greater than Δs max When , the vehicle is in free driving mode;
[0027] II. The distance s to the vehicle ahead is less than Δs max , the distance d from the traffic light is greater than Δs max When , the vehicle is in the following mode;
[0028] III. The distance s to the vehicle in front is greater than Δs max , the distance d from the traffic light is less than Δs max When: If the traffic light is red and t r >t d , or the traffic light is green and t r <t d , the ego vehicle is in traffic light mode, and in other cases it is in free driving mode;
[0029] IV. The distance to the vehicle ahead and the traffic light is less than Δs max When the traffic light is red and t r >t d , or the traffic light is green and t r <t d , the vehicle is in traffic light mode, and in other cases it is in following mode.
[0030] Further, in step S22, the safe speed model for driving is determined according to the specific driving scenario: in the free driving mode, at Δs in front of the vehicle maxThere is no target within the range. In order to improve traffic efficiency, the safe speed is the smaller value between the maximum speed of the vehicle and the road speed limit. In the following mode, a certain safe distance needs to be maintained from the vehicle in front. In the traffic light mode, the vehicle cannot pass during the green light and needs to stop at the traffic light. The safe speed model established based on this is:
[0031]
[0032] Among them, v max is the maximum speed of the vehicle, v limit is the road speed limit, a bmax is the maximum deceleration, τ is the driver’s reaction time, v l is the speed of the front vehicle, s is the distance between the vehicle and the front vehicle, s min is the minimum distance between the vehicle and the vehicle in front, d is the distance between the vehicle and the traffic light, and d min is the minimum distance between the vehicle and the traffic light.
[0033] Further, in step S23, a deep reinforcement learning algorithm is used to solve the optimal target vehicle speed, specifically including: assuming that the state variable is S = {v ego , d ego , v leader , d two , v target}, where S is the state set containing all states, v ego is the vehicle speed, d ego is the driving distance of the vehicle, v leader is the speed of the preceding vehicle, d two is the distance between the vehicle and the front vehicle, v target is the target speed of the vehicle; action set A = {a ego}, where a ego is the longitudinal acceleration of the vehicle; the reward function R is defined as:
[0034]
[0035]
[0036] Among them, α, β, and γ are weight parameters; η is a penalty term, which is -1 when the position of the vehicle exceeds that of the front vehicle, and 0 otherwise.
[0037] Further, step S3 specifically includes the following steps:
[0038] S31: Calculate the required power for driving the vehicle:
[0039]
[0040] Among them, P demis the required power, G is the weight of the vehicle, m is the mass of the vehicle, f is the rolling resistance coefficient, C D is the air resistance coefficient, A is the windward area, u a is the vehicle speed, α is the slope angle, δ is the vehicle rotation mass conversion coefficient, is the longitudinal acceleration of driving;
[0041] S32: Deep reinforcement learning problem establishment: state variables include vehicle speed v, acceleration a, battery state of charge SOC and gearbox gear; control variables include engine throttle opening thr; reward function Reward is defined as:
[0042]
[0043] Among them, α′ and β′ are weight parameters, is the instantaneous fuel consumption, SOC target is a constant used to maintain the charge;
[0044] S33: Solve a multi-objective optimization problem including fuel consumption and battery SOC maintenance, and obtain an optimal power distribution result between the engine and the motor.
[0045] The beneficial effects of the present invention are:
[0046] 1) In the upper-level speed planning, the present invention introduces traffic light information through vehicle-to-road communication (V2I), and then introduces the preceding vehicle information through the global positioning system, thereby avoiding the phenomenon of frequent starting and stopping of the vehicle at traffic lights and being too close to the preceding vehicle.
[0047] 2) The present invention adopts deep reinforcement learning for speed planning, realizes real-time planning of vehicle speed on urban roads, and performs multi-objective optimization of driving safety and comfort.
[0048] 3) The present invention adopts deep reinforcement learning to perform hybrid vehicle energy management, realizes the real-time energy management, and while optimizing fuel economy, the battery state of charge SOC is always maintained near the target value.
[0049] 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
[0050] 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:
[0051] Figure 1 This is a flow chart of the energy management strategy of a hybrid vehicle based on traffic information and deep reinforcement learning of the present invention;
[0052] Figure 2 A diagram for dividing urban working conditions scenarios;
[0053] Figure 3 A diagram of the speed planning framework in urban scenarios based on deep reinforcement learning;
[0054] Figure 4 This is a structural diagram of a parallel hybrid electric vehicle;
[0055] Figure 5 This is a diagram of the hybrid vehicle energy management framework based on deep reinforcement learning. DETAILED DESCRIPTION
[0056] 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 features in the embodiments can be combined with each other without conflict.
[0057] See also Figure 1 to Figure 5 The present invention provides a hybrid vehicle energy management method based on traffic information and deep reinforcement learning. By using a deep reinforcement learning algorithm, the safety, comfort and fuel economy of the vehicle under urban driving conditions are optimized. Figure 1 As shown, the method comprises the following steps:
[0058] S1: Obtain historical traffic data and real-time road traffic information;
[0059] Obtain historical traffic data, mainly including traffic light phase information and vehicle speed and location information, and establish an urban traffic model to provide data support for deep reinforcement learning training; obtain road condition information based on vehicle-to-road communication (V2I), obtain the preceding vehicle information based on sensors, and obtain the vehicle information based on the global positioning system for real-time speed planning. The required real-time traffic information includes:
[0060] Movement information of the preceding vehicle, including: the speed of the preceding vehicle and the distance between the vehicle and the preceding vehicle;
[0061] Vehicle motion information, including: the actual vehicle speed at the current moment, the vehicle travel distance at the current moment;
[0062] Road condition information, including: traffic light phase information, the distance between the vehicle and the traffic light ahead, and road speed limit information.
[0063] S2: Considering safety and comfort, a deep reinforcement learning algorithm is used to plan the optimal real-time speed of the vehicle.
[0064] like Figure 3 As shown, the real-time vehicle speed is planned based on the deep reinforcement learning algorithm, and the steps include:
[0065] S21: Design a scene divider to determine the driving scene of the vehicle based on the distance relationship with the target ahead.
[0066] Driving scenarios are divided according to the distance to the target ahead and the status of traffic lights:
[0067]
[0068] Where, Δs max is the maximum braking distance, s0 is the maximum safe distance between the vehicle and the front vehicle after braking, τ′2 is the idle travel time of the brake, τ″2 is the time required for the brake force growth process, τ2=τ′2+τ″2 is collectively referred to as the brake action time, a bmax is the maximum deceleration, and v is the vehicle speed.
[0069] The traffic light information of the next intersection is obtained through vehicle-road communication. For the convenience of calculation, the yellow light time is incorporated into the green light time, and the time when the traffic light switches to the next stage is t r The time required for the vehicle to reach the traffic light t d for:
[0070]
[0071] Among them, d is the distance between the vehicle and the traffic light, a max is the maximum acceleration. When the distance between the vehicle and the traffic light ahead is less than Δs max If the current light is red and t r >t d , or the traffic light is green and t r <t d , the car cannot pass the traffic light without stopping.
[0072] Figure 2 It is a regular diagram for dividing driving scenes in traffic environment, referring to Figure 2 , by judging the braking range Δs max Whether there is target and traffic light information in the scene to divide the driving scene:
[0073] I. The distance to the vehicle in front and the traffic light is greater than Δs maxWhen , the vehicle is in free driving mode;
[0074] II. The distance s to the vehicle ahead is less than Δs max , the distance d from the traffic light is greater than Δs max When , the vehicle is in the following mode;
[0075] III. The distance s to the vehicle in front is greater than Δs max , the distance d from the traffic light is less than Δs max When: If the traffic light is red and t r >t d , or the traffic light is green and t r <t d , the ego vehicle is in traffic light mode, and in other cases it is in free driving mode;
[0076] IV. The distance to the vehicle ahead and the traffic light is less than Δs max When the traffic light is red and t r >t d , or the traffic light is green and t r <t d , the vehicle is in traffic light mode, and in other cases it is in following mode.
[0077] S22: Determine a safe driving speed range in the current scenario.
[0078] Determine the safe driving speed according to the specific driving scenario. In free driving mode, in front of the vehicle Δs max There is no target within the range. In order to improve traffic efficiency, the safe speed is the smaller value between the maximum speed of the vehicle and the road speed limit. In the following mode, a certain safe distance needs to be maintained from the vehicle in front. In the traffic light mode, the vehicle cannot pass during the green light and needs to stop at the traffic light. The safe speed model established based on this is:
[0079]
[0080] Among them, v max is the maximum speed of the vehicle, v limit is the road speed limit, a bmax is the maximum deceleration, τ is the driver’s reaction time, v l is the speed of the front vehicle, s is the distance between the vehicle and the front vehicle, s min is the minimum distance between the vehicle and the vehicle in front, d is the distance between the vehicle and the traffic light, and d min is the minimum distance between the vehicle and the traffic light.
[0081] S23: Use deep reinforcement learning algorithms to solve the optimal target vehicle speed that takes into account both safety and driving comfort.
[0082] Deep reinforcement learning problem establishment: the state variable is S = {v ego , d ego , v leader , d two , v target}, where S is the state set containing all states, v ego is the vehicle speed, d ego is the driving distance of the vehicle, v leader is the speed of the preceding vehicle, d two is the distance between the vehicle and the front vehicle, v target is the target speed of the vehicle. Action set A = {a ego}, where a ego is the longitudinal acceleration of the vehicle. The reward function R is defined as:
[0083]
[0084]
[0085] Among them, α, β, γ are weight parameters, v target is the safe speed, a ego is the acceleration of the ego vehicle, η is the penalty term, which is -1 when the ego vehicle position exceeds the front vehicle, otherwise it is 0.
[0086] S3: Use deep reinforcement learning algorithms to solve hybrid electric vehicle energy management problems and solve multi-objective optimization problems including fuel consumption and battery SOC maintenance.
[0087] Reference Figure 5 , the energy management strategy based on deep reinforcement learning includes the following steps:
[0088] S31: Calculate the required power for driving the vehicle:
[0089]
[0090] Among them, P dem is the required power, G is the weight of the vehicle, m is the mass of the vehicle, f is the rolling resistance coefficient, C D is the air resistance coefficient, A is the windward area, u a is the vehicle speed, α is the slope angle, δ is the vehicle rotation mass conversion coefficient, is the longitudinal acceleration of the vehicle. The structure of the parallel hybrid vehicle is shown in the figure below: Figure 4 shown.
[0091] S32: Deep reinforcement learning problem establishment: state variables include vehicle speed v, acceleration a, battery state of charge SOC, and gearbox gear; the control variable is the engine throttle opening thr; the reward function Reward is defined as:
[0092]
[0093] Among them, α′ and β′ are weight parameters, is the instantaneous fuel consumption, SOC target is a constant and its function is to maintain the charge.
[0094] S33: Solve a multi-objective optimization problem including fuel consumption and battery SOC maintenance, and obtain an optimal power distribution result between the engine and the motor.
[0095] 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 vehicle energy management method based on traffic information and deep reinforcement learning, characterized in that: The method specifically comprises the following steps: S1: Obtain historical traffic data and real-time road traffic information; S2: Considering safety and comfort, a deep reinforcement learning algorithm is used to plan the optimal real-time speed of the vehicle. The specific steps include: S21: Design a scene divider to determine the driving scene of the vehicle based on the distance relationship with the target ahead; Step S21 specifically includes: dividing the driving scene according to the distance to the target ahead and the traffic light status: Where, Δs max is the maximum braking distance, s0 is the maximum safe distance that the vehicle should maintain with the vehicle in front after braking, τ2′ is the idle travel time of the brake, τ2″ is the time required for the brake force to increase, τ2=τ2′+τ2″ is collectively referred to as the brake action time, a bmax is the maximum deceleration, v is the vehicle speed; The traffic light information of the next intersection is obtained through vehicle-road communication, and the yellow light time is incorporated into the green light time, and the time when the traffic light switches to the next stage is t r ; The time required for the vehicle to reach the traffic light t d for: Among them, d is the distance between the vehicle and the traffic light, a max is the maximum acceleration; when the distance between the vehicle and the traffic light ahead is less than Δs max If the current light is red and t r >t d , or the traffic light is green and t r <t d , the car cannot pass the traffic light without stopping; By judging the traffic light information and the braking range Δs max Whether there is a target in the scene to divide the driving scene: Ⅰ. The distance to the vehicle in front and the traffic light is greater than Δs max When , the vehicle is in free driving mode; Ⅱ. The distance s to the vehicle in front is less than Δs max , the distance d from the traffic light is greater than Δs max When , the vehicle is in the following mode; III. The distance s to the vehicle ahead is greater than Δs max , the distance d from the traffic light is less than Δs max When: If the traffic light is red and t r >t d , or the traffic light is green and t r <t d , the ego vehicle is in traffic light mode, and in other cases it is in free driving mode; IV. The distance to the vehicle ahead and the traffic light is less than Δs max When the traffic light is red and t r >t d , or the traffic light is green and t r <t d , the ego vehicle is in traffic light mode, and in other cases it is in following mode; S22: Determine the safe driving speed in the current scenario; the safe driving speed model is determined according to the specific driving scenario: Among them, v max is the maximum speed of the vehicle, v limit is the road speed limit, a bmax is the maximum deceleration, τ is the driver’s reaction time, v l is the speed of the front vehicle, s is the distance between the vehicle and the front vehicle, s min is the minimum distance between the vehicle and the vehicle in front, d is the distance between the vehicle and the traffic light, and d min is the minimum distance between the vehicle and the traffic light; S23: Using deep reinforcement learning algorithm to solve the optimal target vehicle speed that takes into account both safety and driving comfort, specifically including: assuming that the state variable is S = {v ego ,d ego ,v leader ,d two ,v target }, where S is the state set containing all states, v ego is the vehicle speed, d ego is the driving distance of the vehicle, v leader is the speed of the preceding vehicle, d two is the distance between the vehicle and the front vehicle, v target is the target speed of the vehicle; action set A = {a ego }, where a ego is the longitudinal acceleration of the vehicle; the reward function R is defined as: Among them, α, β, γ are weight parameters; η is the penalty term, which is -1 when the position of the vehicle exceeds that of the front vehicle, otherwise it is 0; S3: Use deep reinforcement learning algorithms to solve hybrid vehicle energy management problems and multi-objective optimization problems including fuel consumption and battery SOC maintenance; specifically, the following steps are included: S31: Calculate the required power for driving the vehicle: Among them, P dem is the required power, G is the weight of the vehicle, m is the mass of the vehicle, f is the rolling resistance coefficient, C D is the air resistance coefficient, A is the windward area, u a is the vehicle speed, α is the slope angle, δ is the vehicle rotation mass conversion coefficient, is the longitudinal acceleration of driving; S32: Deep reinforcement learning problem establishment: state variables include vehicle speed v, acceleration a, battery state of charge SOC and gearbox gear; control variables include engine throttle opening thr; reward function Reward is defined as: Among them, α' and β' are weight parameters, is the instantaneous fuel consumption, SOC target is a constant used to maintain the charge; S33: Solve a multi-objective optimization problem including fuel consumption and battery SOC maintenance, and obtain an optimal power distribution result between the engine and the motor.
2. The hybrid vehicle energy management method according to claim 1, characterized in that: In step S1, the historical traffic data obtained includes: traffic light phase information and vehicle speed and position information; The real-time road traffic information obtained includes: Movement information of the preceding vehicle, including: the speed of the preceding vehicle and the distance between the vehicle and the preceding vehicle; Vehicle motion information, including: the actual vehicle speed at the current moment, the vehicle travel distance at the current moment; Road condition information, including: traffic light phase information, the distance between the vehicle and the traffic light ahead, and road speed limit information.
