Vehicle control method, device, equipment and medium
The deep reinforcement learning method is used to adjust the vehicle status, solving the problem that the vehicle game in the highway merge area is difficult to achieve equilibrium, achieving rapid equilibrium and efficient merging, improving road traffic efficiency and reducing vehicle collision risks.
Patent Information
- Application Number
- CN202410826573.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-25
AI Technical Summary
In the highway merging area, it is difficult for main road vehicles and ramp vehicles to quickly reach equilibrium through the game algorithm, resulting in repeated games that reduce road traffic efficiency.
The deep reinforcement learning method is used to determine the target driving state based on the vehicle's driving state information. By adjusting the vehicle state to achieve Nash equilibrium, the optimal merging strategy is determined, improving the efficiency of vehicle merging and reducing the probability of collision accidents.
Quickly reach the equilibrium state of vehicle merging, avoid long-term stalemate, improve road traffic efficiency, and reduce the probability of collision between vehicles.
Smart Images

Figure CN118379905B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle control method, device, equipment and medium. Background Art
[0002] The merging area on the expressway is a key area that affects the vehicle traffic efficiency. A reasonable vehicle merging strategy can effectively increase traffic flow, reduce traffic congestion, and improve road transportation efficiency.
[0003] The merging strategy based on game theory can take into account multiple factors such as safety, comfort, and timeliness, and has been widely used. However, for the main road vehicles and ramp vehicles in the merging area of the highway, the equilibrium merging strategy for the two is greatly affected by the driving state of the vehicles. Usually, the two vehicles need to play games dozens of times to reach equilibrium. Repeated games will reduce the road traffic efficiency. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a vehicle control method, device and storage medium, which can speed up the vehicle game in the merging area of the highway to reach equilibrium as soon as possible, avoid vehicles being stuck in a stalemate for a long time, and improve the efficiency of vehicle merging.
[0005] An embodiment of the present invention provides a vehicle control method, the method comprising:
[0006] Before a first vehicle merges into the main road from the ramp, obtaining driving status information of multiple vehicles on the main road, wherein the first vehicle is an intelligent network-connected vehicle;
[0007] Determining whether there is a second vehicle among the multiple vehicles based on the driving state information of the multiple vehicles and the driving state information of the first vehicle, wherein the second vehicle will collide with the first vehicle at a merging point of the ramp and the main road when the second vehicle travels according to the current driving state information;
[0008] Determining that based on the driving state information of the first vehicle and the driving state information of the second vehicle, the current vehicle cannot be merged into the game to reach a Nash equilibrium, then determining a target driving state of the first vehicle and a target driving state of the second vehicle by a deep reinforcement learning method;
[0009] Based on the target driving state of the first vehicle and the target driving state of the second vehicle, an optimal merging strategy of the current vehicle merging game is determined, and the optimal merging strategy is the merging strategy when the current vehicle merging game reaches a Nash equilibrium.
[0010] An embodiment of the present invention provides a vehicle control device, including:
[0011] An information acquisition module, used for acquiring driving status information of a plurality of vehicles on the main road before the first vehicle merges into the main road from the ramp, wherein the first vehicle is an intelligent network-connected vehicle;
[0012] an information processing module, for determining whether there is a second vehicle among the plurality of vehicles based on the driving state information of the plurality of vehicles and the driving state information of the first vehicle, wherein the second vehicle will collide with the first vehicle at a merging point of the ramp and the main road when the second vehicle travels according to the current driving state information;
[0013] A reinforcement learning module, for determining, based on the driving state information of the first vehicle and the driving state information of the second vehicle, that if the current vehicle cannot be merged into the game to reach a Nash equilibrium, then determining a target driving state of the first vehicle and a target driving state of the second vehicle by a deep reinforcement learning method;
[0014] The strategy determination module is used to determine the optimal merging strategy of the current vehicle merging game based on the target driving state of the first vehicle and the target driving state of the second vehicle. The optimal merging strategy is the merging strategy when the current vehicle merging game reaches Nash equilibrium.
[0015] An embodiment of the present invention provides a vehicle control device, the vehicle control device comprising:
[0016] Processor and memory;
[0017] The processor is used to execute the steps of the vehicle control method of the above embodiment by calling the program or instruction stored in the memory.
[0018] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute the steps of the vehicle control method of the above embodiment.
[0019] The embodiments of the present invention have the following technical effects:
[0020] The vehicle control method provided by the embodiment of the present invention determines the target driving state of the first vehicle and the target driving state of the second vehicle through a deep reinforcement learning method when it is determined that the current vehicle merging game cannot reach Nash equilibrium based on the driving state information of the first vehicle and the driving state information of the second vehicle. The vehicle driving states are adjusted through the above-mentioned deep reinforcement learning method, so that the Nash equilibrium conditions can be quickly satisfied, and the vehicles can be prevented from being stuck in a stalemate for a long time, thereby improving the efficiency of vehicle merging. Then, based on the target driving state of the first vehicle and the target driving state of the second vehicle, the optimal merging strategy of the current vehicle merging game is determined. Merging based on the optimal merging strategy can reduce the probability of a collision accident between the first vehicle and the second vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 It is a classification diagram of the intelligent merging strategy method of vehicles in the merging area;
[0023] Figure 2 is a flow chart of a vehicle control method provided by an embodiment of the present invention;
[0024] Figure 3 is a flow chart of another vehicle control method provided by an embodiment of the present invention;
[0025] Figure 4 is a schematic diagram of deep reinforcement learning DDQN provided by an embodiment of the present invention;
[0026] Figure 5 is a schematic diagram of a highway merging area provided by an embodiment of the present invention;
[0027] Figure 6 is a structural schematic diagram of a vehicle control device provided by an embodiment of the present invention;
[0028] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described clearly and completely below. Obviously, the described embodiments are only 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 belong to the scope of protection of the present invention.
[0030] The merging strategy methods of intelligent connected vehicles in merging areas can be roughly divided into five categories: geometric methods, learning methods, game methods, target optimization algorithms, and rule-based methods, such as Figure 1 Shown is a schematic diagram of the classification of current intelligent merging strategy methods for vehicles in merging areas.
[0031] Rule-based methods: Methods based on predetermined rules have the characteristics of extremely low computational costs, and have the advantages of stability, efficiency, and strong interpretability. For example, the "First in First out (FIFO) rule", the main road priority rule, the main road advance lane change rule, the special vehicle priority rule, etc. The FIFO rule means that the vehicle that enters the control area first has priority to exit the control area. This rule is simple, intuitive, and easy to implement.
[0032] Geometric method: The geometric method refers to the intelligent connected vehicle using the human driver's past operation history, traffic rules and kinematic constraints to establish an idealized mathematical model. In this method, the merging problem is usually described as an insertion problem, that is, vehicles traveling on the main road in the merging area are considered to have priority, and ramp vehicles need to adjust the vehicle state in the acceleration lane to meet the insertion conditions, and then plan the best insertion trajectory according to the traffic conditions.
[0033] Target optimization algorithm: The merging decision algorithm based on target optimization adopts a centralized approach, which is controlled by setting a central target or multiple indicators, and by coordinating the movement of all vehicles in the control area to maximize the target or achieve a suitable compromise while meeting the requirements of multiple indicators.
[0034] Game Theory: Game theory is the most commonly used method to solve the conflict between two vehicles. The game-based solution to the merging conflict explores the mutual influence of the behavioral decisions of the straight-moving vehicle and the merging vehicle, considers multiple factors such as safety, comfort, and timeliness, and assumes that each vehicle will make a decision that maximizes its own interests based on the rational person assumption. According to the different characteristics of the problem, a variety of game paradigm models have been derived. According to the number of participants in the game, it can be divided into two-person game and multi-person game.
[0035] Learning methods: Learning methods provide another perspective to solve the merging problem, that is, using data-driven methods. This method starts from the historical trajectory of vehicle merging and solves it by learning the human merging experience in real data. In addition, real spatiotemporal trajectory data can also reflect the time-varying and uncertainty of the traffic system to a certain extent. The reinforcement learning-based method is result-oriented and is not limited to the optimal goal at the current moment, but pursues the best result when merging.
[0036] Since the game payoff model can be flexibly designed, the merging strategy based on game theory can take into account multiple factors such as safety, comfort, and timeliness, and therefore has been widely used. However, for main road vehicles and ramp vehicles in the merging area of the highway, the equilibrium merging strategy for the two is greatly affected by the driving status of the vehicles if the game algorithm is used.
[0037] The inventor found that without intervention, two vehicles usually need to play games dozens of times to reach equilibrium, and repeated games will lead to reduced road traffic efficiency. The present invention provides a vehicle game merging strategy for highway merging areas based on reinforcement learning acceleration to solve the problem of long game time and low road traffic efficiency in the prior art.
[0038] Figure 2 is a flow chart of a vehicle control method provided by an embodiment of the present invention. Figure 2 , the vehicle control method specifically includes steps S210-S240.
[0039] In S210, before the first vehicle merges into the main road from the ramp, driving status information of multiple vehicles on the main road is obtained, wherein the first vehicle is an intelligent connected vehicle.
[0040] In some embodiments, when a first vehicle travels from a ramp to a main road and the distance from the main road reaches a preset distance, driving status information of multiple vehicles is obtained.
[0041] Intelligent Connected Vehicle (ICV) is a new type of vehicle, which is a comprehensive system integrating advanced sensing technology, communication technology, network technology, big data processing technology and artificial intelligence technology. In some embodiments, intelligent connected vehicles can be equipped with advanced on-board sensors (such as radar, camera, lidar, etc.), controllers and actuators, and can perceive the surrounding environment in real time, including other vehicles, pedestrians, road conditions and traffic signals. In some embodiments, intelligent connected vehicles can achieve extensive connection and information exchange between vehicles and the outside world (including other vehicles, infrastructure, cloud servers, pedestrians, Internet services, etc.) through in-vehicle networks, inter-vehicle networks and vehicle-to-cloud networks. In some embodiments, intelligent connected vehicles can perform V2X (Vehicle-to-Everything) communication, that is, information exchange and sharing between vehicles and vehicles (V2V), vehicles and infrastructure (V2I), vehicles and pedestrians (V2P), and vehicles and networks (V2N), improving driving safety and traffic efficiency. In some embodiments, the intelligent connected vehicle partially or fully has the function of automatic driving, which can be divided into multiple levels according to the level of automation, ranging from assisted driving to fully automatic driving, and can automatically plan the route and control the vehicle according to the road conditions and task requirements. In some embodiments, the intelligent connected vehicle can support remote control and monitoring of vehicle status, including vehicle health diagnosis, software upgrades, safety monitoring, etc., to improve the convenience of vehicle management and maintenance. In some embodiments, the intelligent connected vehicle can participate in the intelligent transportation system, optimize traffic flow distribution, reduce congestion, reduce energy consumption and environmental pollution, and improve the efficiency and sustainability of the overall transportation system.
[0042] In some embodiments, the vehicle's driving status information may include the vehicle's location information, speed information, acceleration information, etc.
[0043] In some embodiments, the main road vehicle may be an intelligent networked vehicle. The above-mentioned obtaining of the driving status information of the plurality of vehicles on the main road may be to perform networked communication with the main road vehicle through a networked communication device to obtain the driving status information of the plurality of vehicles on the main road.
[0044] In some embodiments, the vehicle on the main road may not be an intelligent network-connected vehicle. The above-mentioned acquisition of the driving status information of the plurality of vehicles on the main road may be to collect environmental data through a camera or a laser radar; and based on the collected environmental data, the driving status information of the plurality of vehicles on the main road is obtained.
[0045] In S220, based on the driving status information of the multiple vehicles and the driving status information of the first vehicle, it is determined whether there is a second vehicle among the multiple vehicles, wherein the second vehicle travels according to the current driving status information and will collide with the first vehicle at the confluence point of the ramp and the main road.
[0046] In the above steps, conflict detection is performed to determine whether the first vehicle will collide with a main road vehicle at the confluence point of the ramp and the main road according to the current driving state information, and the main road vehicle that may collide is determined as the second vehicle.
[0047] It is understandable that if the first vehicle travels according to the current driving status information, the first vehicle will not collide with the main road vehicle at the confluence point of the ramp and the main road, and can continue to travel according to the current driving status information without executing the following steps.
[0048] In S230, it is determined that based on the driving state information of the first vehicle and the driving state information of the second vehicle, the current vehicle cannot be merged into the game to reach Nash equilibrium, and then the target driving state of the first vehicle and the target driving state of the second vehicle are determined by a deep reinforcement learning method.
[0049] In the disclosed embodiment, at the merging point of the highway, the vehicle senses the surrounding vehicles through the environment and performs conflict detection. When there is a merging conflict between the main road vehicle and the ramp vehicle, the two vehicles will engage in a merging game. Through the deep reinforcement learning algorithm, the decision-making intervention of the two vehicles is carried out according to the status of the two vehicles, so that the two vehicles can reach a balanced merging strategy as soon as possible.
[0050] In some embodiments, the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle can be calculated based on the driving state information of the first vehicle and the driving state information of the second vehicle; based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle, the vehicle merging game is performed, and it is determined whether the current vehicle merging game can reach a Nash equilibrium based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle. Furthermore, the above step S230 is to determine whether the current vehicle merging game cannot reach a Nash equilibrium based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle.
[0051] It can be understood that when conducting a vehicle merging game based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle, the merging strategy when the current vehicle merging game reaches Nash equilibrium can be determined as the optimal merging strategy for the current vehicle merging game.
[0052] In S240, based on the target driving state of the first vehicle and the target driving state of the second vehicle, an optimal merging strategy of the current vehicle merging game is determined, where the optimal merging strategy is the merging strategy when the current vehicle merging game reaches a Nash equilibrium.
[0053] The application of the reinforcement learning algorithm in the disclosed embodiment can help vehicles reach a game equilibrium state as quickly as possible, avoid long-term repeated games, and thus improve road traffic efficiency.
[0054] In some embodiments, the vehicle control method may further include constructing the observation state of the ramp vehicle and the observation state of the main road vehicle respectively based on the longitudinal position, speed and acceleration of the ramp vehicle and the longitudinal position, speed and acceleration of the main road vehicle; and setting the sampling time interval and the speed range of the vehicle as the action space. Furthermore, the above-mentioned determination of the target driving state of the first vehicle and the target driving state of the second vehicle by the deep reinforcement learning method may be based on the driving state information of the first vehicle and the driving state information of the second vehicle, based on the constructed observation state of the ramp vehicle, the observation state of the main road vehicle and the action space, and using the form of round reward to perform a Markov decision process to obtain the target driving state of the first vehicle and the target driving state of the second vehicle.
[0055] In some embodiments, the vehicle control method may further include performing path planning based on the target driving state of the first vehicle and the target driving state of the second vehicle when the current vehicle merging into the game reaches a Nash equilibrium strategy, wherein the target driving state of the first vehicle includes an expected speed and an expected acceleration of the first vehicle.
[0056] The disclosed embodiment also performs path planning and controller execution according to the balanced merging strategy to complete the merging of vehicles, thereby achieving the purpose of improving the traffic efficiency of the merging area.
[0057] Figure 3 A vehicle control method provided by an embodiment of the present disclosure is shown, which mainly includes key links such as environment perception, conflict detection, vehicle merging game, deep reinforcement learning decision, path planning, and controller execution.
[0058] First, when a vehicle on a highway ramp approaches a merging area, the vehicle will sense the environment through its own sensors and obtain information about the driving status of surrounding vehicles. Then, the ramp vehicle will perform conflict detection based on the driving status of the main road vehicle to determine whether the ramp vehicle will conflict with the main road vehicle when merging into the main road. When there is a merging conflict, the two vehicles will engage in a merging game. According to the status of the vehicle and the other vehicle, the game payoff matrix is calculated to obtain the merging strategy for the right of way allocation. When the right of way allocation is consistent, that is, the two vehicles reach an equilibrium merging strategy, the vehicle will plan the path according to its own merging strategy, and finally the controller executes the control command to track the path. When the right of way allocation is inconsistent, that is, the two vehicles do not reach an equilibrium merging strategy, the two vehicles will make deep reinforcement learning decisions separately. According to the status of the vehicle and the other vehicle, the best driving strategy is explored through the deep reinforcement learning algorithm to change the driving status of the vehicle, so that the merging game of the two vehicles can obtain an equilibrium strategy as soon as possible.
[0059] Environmental perception: When the ramp vehicle approaches the merging area of the highway, it will first use the equipped sensors and networked communication equipment to perceive the environment and obtain the driving status of the main road vehicle. There are usually two technical methods for vehicles to perceive the environment, vehicle networking technology and deep learning perception technology. When the main road vehicle is also equipped with networked communication equipment, the ramp vehicle can communicate with the main road vehicle through vehicle networking technology to obtain the driving status of the main road vehicle. When the main road vehicle is equipped with communication equipment, the ramp vehicle collects environmental data through cameras or lidars, and detects the driving status of the main road vehicle through deep learning perception technology.
[0060] Conflict detection: When the ramp vehicle obtains the driving status of the main road vehicle, it will perform conflict detection based on its own vehicle status. Figure 3 As shown in the figure, the intersection of the ramp and the main road lane is the merging point. Conflict detection is to see whether the two vehicles will collide at the merging point when they are driving at the expected speed. If there is no conflict, the two vehicles can drive at the expected speed. If there is a conflict, the two vehicles enter the vehicle merging game stage.
[0061] Vehicle merging game. The main road and ramp intelligent connected vehicles are completely rational when playing the game. They have accurate information about the actions and strategies of other game participants. They pursue utility maximization and adopt the best strategy in the game. Therefore, the game is a complete information game, and the equilibrium of the game is the Nash equilibrium.
[0062] The game model of ramp and main road vehicles can be defined as:
[0063]
[0064] In the formula, Represents the set of game participants, where the game participants are ramp intelligent connected vehicle A and main road vehicle B, that is, . A participant in the game The strategy set of ramp intelligent connected vehicle A is from the strategy set Select strategy , ,and then {merge, do not merge}; vehicle B on the main road follows the strategy set Select strategy , ,and then {Give way, don't give way}. A participant in the game The revenue function is related to the vehicle driving status and is usually defined in terms of timeliness, safety, comfort, etc. The revenue function of the ramp intelligent connected vehicle A is , the revenue function of vehicle B on the main road is .
[0065] The game payoff matrix is shown in Table 1. The payoff matrix is used to solve the current optimal strategy and find the Nash equilibrium of the current game. Nash equilibrium is an optimal strategy combination that can prevent game participants from unilaterally changing strategies in order to increase their benefits. The result of Nash equilibrium is to maximize the benefits of both ramps and main road intelligent connected vehicles. In the strategy combination corresponding to Nash equilibrium, the strategies of all game participants are the optimal strategies for other participants.
[0066] Table 1 Game profit function matrix of intelligent connected vehicles on ramps and main roads
[0067]
[0068] If there is a strategy for the intelligent connected vehicles on the ramp and main road So that the following equation holds:
[0069]
[0070] but is the Nash equilibrium solution of the current game, is the maximum benefit of the ramp intelligent connected vehicle A and the main road vehicle B under the current game, and is the optimal pure strategy for both players.
[0071] Deep reinforcement learning decision-making. Whether the vehicle merging game can reach a Nash equilibrium depends on the driving status of the two vehicles. Usually, vehicles will drive to maximize their own benefits, making it difficult for the two vehicles to reach a Nash equilibrium. If there is no optimal strategy for the current vehicle driving status , then the state of both parties is adjusted through deep reinforcement learning method to achieve the optimal pure strategy. Figure 4 As shown, the classic deep reinforcement learning DDQN algorithm can be used to make decisions on vehicle driving, so that the vehicle state changes to maximize the equilibrium benefit of the two-car game, so that the confluence game between the two cars can reach the Nash equilibrium as soon as possible.
[0072] To use reinforcement learning algorithms, the scene needs to be modeled as a Markov decision process (MDP). Specifically, the observation state, action space, and reward function of the scene need to be defined.
[0073] (1) Observation status
[0074] Figure 5 A schematic diagram of a highway merging area is shown. The intelligent connected vehicle can obtain the position and driving status of the target vehicle in the environment in real time through the perception system, and take into account the current traffic rules and constraints (the rear vehicle in the same lane must give way to the front vehicle). Therefore, the observation state of the intelligent connected vehicle needs to include the longitudinal position (L), speed (v), and acceleration (a) information of the target vehicle. At the same time, the intelligent connected vehicle must also consider its own position and motion state when making decisions. In summary, the observation state of the ramp intelligent connected vehicle and the observation state of the main road intelligent connected vehicle , They are:
[0075]
[0076]
[0077] in, They represent the speed, position, and acceleration of car A respectively. They represent the speed, position and acceleration of the vehicle in front of A respectively. They represent the speed, position, and acceleration of car B respectively. They represent the speed, position and acceleration of the vehicle in front of B respectively.
[0078] Understandably, Figure 5 The superscript i is used to distinguish different vehicles. When calculating a vehicle A and its corresponding vehicle B, the superscript i can be ignored.
[0079] (2) Action Space
[0080] The change of vehicle driving state is mainly reflected in the change of speed. However, in the real driving process, the vehicle speed is a continuous state. Therefore, considering the control accuracy and performance and the sampling time interval, the action space needs to be discretized. Considering the discomfort caused by speed changes, this study also sets constraints on the speed change of each step. Action space for The interval is :
[0081]
[0082] (3) Reward Function
[0083] In the reinforcement learning decision-making of intelligent connected vehicles, the reward function plays an important role, and the actions taken by the vehicle are all aimed at maximizing the reward function. For the problem to be solved in this paper, the reward function needs to consider not only safety, comfort, and timeliness, but also the number of games. Take the form of round rewards:
[0084]
[0085]
[0086]
[0087] In the formula is the effectiveness coefficient, is the safety factor, is the comfort coefficient, ramp car , is the game attenuation coefficient, and its value is , is the number of games, is the minimum distance between two vehicles during the merging process, The safe distance between two vehicles during the merging process. is the variance of the speed during the game.
[0088] The application of the deep reinforcement learning algorithm in the disclosed embodiment provides a new idea for the management of the merging area, and can optimize the game merging strategy problem of ramp vehicle merging points to improve road utilization efficiency; the deep reinforcement learning algorithm can quickly learn the best driving strategy in the environment, so that vehicles are more intelligent and efficient during the merging process, reducing conflicts and disputes between vehicles;
[0089] When the vehicle reaches the Nash equilibrium strategy, the ramp car will plan the path according to the calculated expected speed and expected acceleration. Specifically, there are two cases. When the ramp car equilibrium strategy is "merge", the expected speed and acceleration of the ramp car are greater than the main road car, and the ramp car will plan a faster speed to merge into the main road before the main road car. When the ramp car equilibrium strategy is "no merge", the ramp car will plan a path to the acceleration lane and merge into the main road from the acceleration lane.
[0090] The disclosed embodiment accelerates the vehicle game to reach an equilibrium strategy, which is expected to reduce the cost of vehicle passage in the merging area, including time cost and energy cost, thereby improving the overall road transportation efficiency.
[0091] When the vehicle reaches the equilibrium strategy and completes the path planning, the vehicle will be controlled according to the path tracking algorithm. Specifically, the vehicle will obtain the throttle, brake, and steering wheel angle commands to control the vehicle according to its own status and the planned path, and send them to the vehicle controller to control the vehicle.
[0092] The disclosed embodiment explores the environment through deep reinforcement learning (DRL) to learn the ability of the best strategy, and explores the best driving strategy according to the driving status of the vehicle, so that the merging game between vehicles can obtain a balanced strategy as soon as possible, thereby improving the traffic efficiency of the merging area.
[0093] Based on the same inventive concept, Figure 6 A schematic diagram of a vehicle control device in an embodiment of the present disclosure is shown. Figure 6 As shown, the vehicle control device includes an information acquisition module 601, an information processing module 602, a reinforcement learning module 603 and a strategy determination module 604.
[0094] The information acquisition module 601 is used to acquire the driving status information of multiple vehicles on the main road before the first vehicle merges into the main road from the ramp, wherein the first vehicle is an intelligent network-connected vehicle;
[0095] An information processing module 602 is used to determine whether there is a second vehicle among the multiple vehicles based on the driving state information of the multiple vehicles and the driving state information of the first vehicle, wherein the second vehicle will collide with the first vehicle at a merging point of the ramp and the main road when the second vehicle travels according to the current driving state information;
[0096] A reinforcement learning module 603 is used to determine that if the current vehicle cannot be merged into the game to reach a Nash equilibrium based on the driving state information of the first vehicle and the driving state information of the second vehicle, a target driving state of the first vehicle and a target driving state of the second vehicle are determined by a deep reinforcement learning method;
[0097] The strategy determination module 604 is used to determine the optimal merging strategy of the current vehicle merging game based on the target driving state of the first vehicle and the target driving state of the second vehicle. The optimal merging strategy is the merging strategy when the current vehicle merging game reaches Nash equilibrium.
[0098] In some embodiments, the information acquisition module 601 is used to perform networked communication with vehicles on the main road through a networked communication device to obtain driving status information of multiple vehicles on the main road.
[0099] In some embodiments, the information acquisition module 601 is used to collect environmental data through a camera or a laser radar; based on the collected environmental data, the driving status information of multiple vehicles on the main road is obtained.
[0100] In some embodiments, the vehicle control device further includes an import gaming module.
[0101] The merging game module is used to calculate the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle based on the driving state information of the first vehicle and the driving state information of the second vehicle; based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle, perform the vehicle merging game; and determine whether the current vehicle merging game cannot reach Nash equilibrium based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle.
[0102] In some embodiments, the merging game module is further used to determine the merging strategy when the current vehicle merging game reaches Nash equilibrium as the optimal merging strategy of the current vehicle merging game.
[0103] In some embodiments, the reinforcement learning module 603 is used to construct the observation state of the ramp vehicle and the observation state of the main road vehicle respectively based on the longitudinal position, velocity and acceleration of the ramp vehicle and the longitudinal position, velocity and acceleration of the main road vehicle; set the sampling time interval and the speed range of the vehicle as the action space; based on the driving state information of the first vehicle and the driving state information of the second vehicle, based on the constructed observation state of the ramp vehicle, the observation state of the main road vehicle and the action space, a Markov decision process is performed in the form of round rewards to obtain the target driving state of the first vehicle and the target driving state of the second vehicle.
[0104] In some embodiments, the vehicle control device also includes a path planning module.
[0105] The path planning module is used to perform path planning based on the target driving state of the first vehicle and the target driving state of the second vehicle when the current vehicle merging game reaches the Nash equilibrium strategy, wherein the target driving state of the first vehicle includes the expected speed and expected acceleration of the first vehicle.
[0106] The vehicle control device provided by the present invention is helpful to improve the road traffic efficiency of the merging area of the expressway based on the merging strategy accelerated by reinforcement learning, and reduce congestion and traffic delays by optimizing the merging behavior of vehicles.
[0107] Figure 7 FIG. 1 is a schematic diagram of a vehicle control device provided by an embodiment of the present invention. Figure 7 As shown, the vehicle control device 700 includes one or more processors 701 and a memory 702 .
[0108] The processor 701 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 700 to perform desired functions.
[0109] The memory 702 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 701 may run the program instructions to implement the calibration method of the vehicle-mounted BSD camera of any embodiment of the present invention described above and / or other desired functions. Various contents such as initial external parameters, thresholds, etc. may also be stored in the computer-readable storage medium.
[0110] In one example, the vehicle control device 700 may further include: an input device 703 and an output device 704, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown). The input device 703 may include, for example, a keyboard, a mouse, etc. The output device 704 may output various information to the outside, including early warning prompt information, braking force, etc. The output device 704 may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.
[0111] Of course, to simplify, Figure 7 Only some of the components related to the present invention in the vehicle control device 700 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application conditions, the vehicle control device 700 may also include any other appropriate components.
[0112] In addition to the above methods and devices, an embodiment of the present invention may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the steps of the vehicle control method provided by any embodiment of the present invention.
[0113] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0114] In addition, an embodiment of the present invention may also be a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the processor executes the steps of the vehicle control method provided by any embodiment of the present invention.
[0115] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0116] It should be noted that the terms used in the present invention are only for describing specific embodiments, rather than limiting the scope of the present application. As shown in the present specification, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the presence of other identical elements in the process, method or device including the elements.
[0117] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.
Claims
1. A vehicle control method, characterized in that: The method comprises: Before a first vehicle merges into the main road from the ramp, obtaining driving status information of multiple vehicles on the main road, wherein the first vehicle is an intelligent network-connected vehicle; Based on the driving state information of the multiple vehicles and the driving state information of the first vehicle, determining whether there is a second vehicle among the multiple vehicles, wherein the second vehicle will collide with the first vehicle at a confluence point of the ramp and the main road when traveling according to the current driving state information; Determining that based on the driving state information of the first vehicle and the driving state information of the second vehicle, it is impossible to make the current vehicle merge into the game to reach a Nash equilibrium, then determining a target driving state of the first vehicle and a target driving state of the second vehicle by a deep reinforcement learning method; Based on the target driving state of the first vehicle and the target driving state of the second vehicle, determining an optimal merging strategy of the current vehicle merging game, wherein the optimal merging strategy is a merging strategy when the current vehicle merging game reaches a Nash equilibrium; The method further includes: calculating a game payoff matrix of the first vehicle and a game payoff matrix of the second vehicle based on the driving state information of the first vehicle and the driving state information of the second vehicle; performing a vehicle merging game based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle; The determining that based on the driving state information of the first vehicle and the driving state information of the second vehicle, the current vehicle cannot be merged into the game to reach Nash equilibrium includes: determining that based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle, the current vehicle cannot be merged into the game to reach Nash equilibrium; The method further includes: constructing an observation state of the ramp vehicle and an observation state of the main road vehicle respectively based on the longitudinal position, velocity and acceleration of the ramp vehicle and the longitudinal position, velocity and acceleration of the main road vehicle; setting a sampling time interval and a speed range of the vehicle as an action space; The method of determining the target driving state of the first vehicle and the target driving state of the second vehicle by using a deep reinforcement learning method includes: based on the driving state information of the first vehicle and the driving state information of the second vehicle, based on the constructed observation state of the ramp vehicle, the observation state of the main road vehicle and the action space, a Markov decision process is performed in the form of round rewards to obtain the target driving state of the first vehicle and the target driving state of the second vehicle.
2. The method according to claim 1, characterized in that The obtaining of driving status information of a plurality of vehicles on the main road includes: Through the network communication equipment, the vehicle communicates with the main road vehicles to obtain the driving status information of multiple vehicles on the main road.
3. The method according to claim 1 or 2, characterized in that: The obtaining of driving status information of a plurality of vehicles on the main road includes: Collect environmental data through cameras or lidar; Based on the collected environmental data, the driving status information of multiple vehicles on the main road is obtained.
4. The method according to claim 1, characterized in that: The method further comprises: The merging strategy when the current vehicle merging game reaches the Nash equilibrium is determined as the optimal merging strategy of the current vehicle merging game.
5. The method according to claim 1, characterized in that The method further comprises: When the current vehicle merging game reaches a Nash equilibrium strategy, path planning is performed based on a target driving state of the first vehicle and a target driving state of the second vehicle, wherein the target driving state of the first vehicle includes an expected speed and an expected acceleration of the first vehicle.
6. A vehicle control device, characterized in that: include: An information acquisition module, used for acquiring driving status information of a plurality of vehicles on the main road before a first vehicle merges into the main road from a ramp, wherein the first vehicle is an intelligent network-connected vehicle; an information processing module, configured to determine whether there is a second vehicle among the plurality of vehicles based on the driving state information of the plurality of vehicles and the driving state information of the first vehicle, wherein the second vehicle will collide with the first vehicle at a confluence point of the ramp and the main road when the second vehicle travels according to the current driving state information; A reinforcement learning module, used for determining, based on the driving state information of the first vehicle and the driving state information of the second vehicle, that if the current vehicle cannot be merged into the game to reach a Nash equilibrium, then determining a target driving state of the first vehicle and a target driving state of the second vehicle by a deep reinforcement learning method; a strategy determination module, configured to determine an optimal merging strategy of a current vehicle merging game based on a target driving state of the first vehicle and a target driving state of the second vehicle, wherein the optimal merging strategy is a merging strategy when the current vehicle merging game reaches a Nash equilibrium; The import game module is used to calculate the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle based on the driving state information of the first vehicle and the driving state information of the second vehicle; perform the vehicle import game based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle; determine that based on the game payoff matrix of the first vehicle and the game payoff matrix of the second vehicle, the current vehicle import game cannot reach Nash equilibrium; The reinforcement learning module is used to construct the observation state of the ramp vehicle and the observation state of the main road vehicle respectively based on the longitudinal position, velocity and acceleration of the ramp vehicle and the longitudinal position, velocity and acceleration of the main road vehicle; set the sampling time interval and the speed range of the vehicle as the action space; based on the driving state information of the first vehicle and the driving state information of the second vehicle, based on the constructed observation state of the ramp vehicle, the observation state of the main road vehicle and the action space, a Markov decision process is performed in the form of round rewards to obtain the target driving state of the first vehicle and the target driving state of the second vehicle.
7. A vehicle control device, characterized in that: include: Processor and memory; The processor is used to execute the steps of the vehicle control method as described in any one of claims 1 to 5 by calling the program or instruction stored in the memory.
8. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the vehicle control method described in any one of claims 1 to 5 is implemented.
