Driving behavior intention and trajectory prediction method, device, equipment and storage medium
Through the combination of hidden Markov models and the surrounding environment, vehicle driving behavior intentions and trajectories on urban roads are predicted, which solves the problem of poor adaptability in the existing technology and achieves more accurate driving behavior prediction.
Patent Information
- Application Number
- CN202210771007.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-06-30
AI Technical Summary
Existing driving behavior prediction models lack adaptability on typical urban roads and cannot accurately predict vehicle driving behavior, especially in dynamically changing traffic scenarios.
By obtaining the vehicle-related information of the target vehicle in real time, based on the offline database and surrounding environment of the hidden Markov model, the target vehicle's alternative driving behavior intention is predicted, and the predicted trajectory is generated based on the probability of occurrence, which improves the adaptability and prediction of the model. accuracy.
It improves the adaptability and accuracy of driving behavior prediction, can more reasonably predict vehicle behavior on urban roads, and enhances the driving safety of autonomous vehicles.
Smart Images

Figure CN115062202B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle autonomous driving technology, and specifically to a method, device, equipment and storage medium for predicting driving behavior intention and trajectory. Background Art
[0002] For autonomous vehicles, driving in dynamically changing traffic scenarios is an extremely challenging task, especially on urban roads, where the recognition of the driving behavior of surrounding vehicles and the prediction of driving trajectories play a vital role.
[0003] Among the existing technical routes for predicting the driving behavior intention and trajectory of the target vehicle, there are methods that use machine learning or deep learning to predict driving behavior, such as improving the prediction effect by mining the relationship between vehicles, roads and environment. There are also methods for trajectory prediction based on road network information, historical trajectories and vehicle kinematics, such as encoding known trajectories and destination information and training them with deep neural networks to improve the accuracy of trajectory prediction.
[0004] However, based on the existing technical solutions, most driving behavior prediction models are only applicable to specific traffic scenarios, such as lane change models on highways, left / right turn models at intersections, etc. Moreover, methods based on machine learning or deep learning lack the ability to interpret traffic scenarios and make adaptive adjustments based on prior knowledge to a certain extent, and cannot accurately predict vehicle driving behavior on typical urban roads. Summary of the invention
[0005] In view of the above-mentioned shortcomings of the prior art, the present invention provides a method, device, equipment and storage medium for predicting driving behavior intention and trajectory to solve the problem of poor adaptability of the existing model.
[0006] The present invention provides a method for predicting driving behavior intention and trajectory, comprising:
[0007] Obtain vehicle-related information of the target vehicle in real time;
[0008] Acquire the scene where the target vehicle is currently located based on the vehicle-related information, and obtain the current surrounding environment of the target vehicle according to the scene where the target vehicle is currently located;
[0009] According to the current scene, surrounding environment and traffic rules of the target vehicle, the target vehicle's alternative driving behavior intention is predicted to generate an alternative model set, and according to the occurrence probability of each driving behavior intention in the alternative model set, the target vehicle's current driving behavior intention is obtained;
[0010] Based on the current driving behavior intention of the target vehicle and the driving information of the target vehicle, a predicted trajectory of the target vehicle is generated.
[0011] In one embodiment of the present invention, before the real-time acquisition of vehicle-related information of the target vehicle, the method includes: acquiring an offline database of a hidden Markov model.
[0012] In one embodiment of the present invention, the offline database for obtaining the hidden Markov model includes:
[0013] Collect vehicle-related information offline;
[0014] Based on the vehicle-related information collected offline, obtain time-discrete label sequence data;
[0015] Using the label sequence data as an observation sequence, offline training a hidden Markov model corresponding to each driving behavior in different scenarios to obtain parameters of the hidden Markov model for identifying each driving behavior;
[0016] Based on the hidden Markov model, the parameters of each driving behavior are identified to obtain an offline database of the hidden Markov model.
[0017] In one embodiment of the present invention, the predicting of the candidate driving behavior intentions of the target vehicle includes: eliminating driving behavior intentions that are not selective according to the scene, surrounding environment and safety common sense in which the target vehicle is located.
[0018] In one embodiment of the present invention, generating the candidate model set includes: selecting a candidate model corresponding to the target vehicle in the corresponding scenario according to each candidate driving behavior intention, and collating all the candidate models to form a candidate model set.
[0019] In one embodiment of the present invention, the step of obtaining the occurrence probability of each driving behavior intention in the candidate model set includes:
[0020] According to the surrounding environment of the target vehicle and the set of candidate models, the discrete time series data of the feature quantity required by the hidden Markov model corresponding to each driving behavior is extracted;
[0021] Based on the discrete time series data, a real-time observation sequence of a hidden Markov model corresponding to each driving behavior is obtained;
[0022] The corresponding driving behavior parameters are read from the offline database, and the corresponding real-time observation sequence is used as input, and a forward algorithm is used to perform recursive summation calculation to obtain the occurrence probability of the corresponding driving behavior intention.
[0023] In one embodiment of the present invention, obtaining the current driving behavior intention of the target vehicle includes:
[0024] Taking the corresponding real-time observation sequence as input, using the Viterbi algorithm for recursion and backtracking, and using the greedy algorithm to solve the optimal state and backtrack the journey to form an optimal path, the optimal path carries the corresponding driving behavior state time sequence;
[0025] According to the occurrence probability value of each driving behavior intention and each driving behavior state sequence, a strategy evaluation is performed on the effective driving behavior state closest to the current moment in the state sequence, the optimal driving behavior is selected and the corresponding state sequence is output.
[0026] The present invention provides a device for predicting driving behavior intention and trajectory, comprising:
[0027] An acquisition module, used to acquire vehicle-related information of a target vehicle in real time;
[0028] A construction module is used to obtain the scene where the target vehicle is currently located based on the vehicle-related information, and obtain the current surrounding environment of the target vehicle according to the scene where the target vehicle is currently located;
[0029] A processing module, for predicting the target vehicle's alternative driving behavior intentions according to the current scene, surrounding environment and traffic rules of the target vehicle, so as to generate an alternative model set, and obtaining the target vehicle's current driving behavior intention according to the occurrence probability of each driving behavior intention in the alternative model set;
[0030] The predicted trajectory generation module is used to generate a predicted trajectory of the target vehicle based on the current driving behavior intention of the target vehicle and the driving information of the target vehicle.
[0031] The present invention provides an electronic device, characterized in that it includes:
[0032] one or more processors;
[0033] A storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the electronic device implements the method for predicting driving behavior intention and trajectory.
[0034] The present invention provides a computer-readable storage medium, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the method for predicting driving behavior intention and trajectory as described in any one of claims 1 to 7.
[0035] The beneficial effects of the present invention are as follows: the present invention improves the adaptability based on the existing driving behavior model by constructing the surrounding environment and providing suitable alternative models for specific scenarios; and obtains the current driving behavior intention of the target vehicle according to the occurrence probability of each driving behavior intention in the alternative model set, thereby improving the rationality and accuracy of the prediction results.
[0036] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0038] Figure 1 is a schematic diagram of a method for predicting driving behavior intention and trajectory shown in an exemplary embodiment of the present application;
[0039] Figure 2 is a schematic diagram of an HMM model established in a cruise scenario shown in an exemplary embodiment of the present application;
[0040] Figure 3 is a schematic diagram of an HMM model established in an intersection scenario shown in an exemplary embodiment of the present application;
[0041] Figure 4 is a flowchart of predicting driving behavior intention shown by an exemplary embodiment of the present application;
[0042] Figure 5 is a schematic diagram of a device for predicting driving behavior intention and trajectory shown in an exemplary embodiment of the present application;
[0043] Figure 6 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0044] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. 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 understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0045] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0046] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0047] See also Figure 1-Figure 4 The present invention provides a method for predicting driving behavior intention and trajectory, comprising: step 1, an offline execution step; step 2, an online execution step.
[0048] Step 1: The offline execution step includes: obtaining the offline database of the hidden Markov model. This step specifically includes:
[0049] Step 1.1, collect vehicle-related information offline, the vehicle-related information includes the vehicle's dynamic driving data, the vehicle's dynamic driving data includes lane line information, high-precision map information, target vehicle's driving speed, acceleration, position and other information.
[0050] Step 1.2, processing training samples: discretize the offline collected data and extract the input feature quantities required by the hidden Markov model (HMM) model corresponding to each driving behavior, classify each feature quantity using cluster analysis or piecewise function, combine and classify the classified input feature quantities to obtain time discrete label sequence data.
[0051] Step 1.3, multiple model training: Use the time discrete label sequence data required by the HMM model corresponding to each driving behavior obtained in step 1.2 as the observation sequence, and train the HMM model corresponding to each driving behavior in different scenarios offline to obtain the parameters of the HMM model to identify each driving behavior.
[0052] like Figure 2 As shown in the figure, in the cruising scenario, the position of the target vehicle to the left and right lane boundaries, the angular difference between the target vehicle and the driving direction of the lane it belongs to, the speed and acceleration of the target vehicle, and the collision time between the target lane and the left and right lane boundaries are used as the characterization quantities of the model input. In the cruising scenario, four driving behaviors are established: non-centering driving in the lane, centering driving in the lane, changing lanes to the left, and changing lanes to the right.
[0053] like Figure 3 As shown in the figure, in the intersection scenario, the distance from the target vehicle to the target lane in each direction, the heading deviation to the target lane in each direction, the speed and yaw rate of the target vehicle, and the curvature and curvature change rate of the target vehicle's historical driving trajectory are used as the characterization quantities of the model input. In the intersection scenario, four driving behaviors are established: going straight, turning left, turning right, and turning around.
[0054] The offline training process of various driving behavior models in the above two scenarios is as follows:
[0055] First, the discrete time series data of each characterization quantity required by each model are obtained. After classification processing by the cluster analysis model, the observation time series input to the HMM model is formed. The model parameters corresponding to each driving behavior are obtained using the Baum-Welch algorithm of unsupervised learning or the statistical calculation of supervised learning.
[0056] Step 1.4, forming a database of multiple driving behaviors: the parameters of each driving behavior obtained in step 1.3 are sorted and summarized to form an offline database of the HMM model corresponding to each driving behavior.
[0057] Step 2, online execution steps include:
[0058] Step 2.1, real-time acquisition of vehicle-related information of the target vehicle. In this step, the real-time perceived vehicle-related information needs to be updated, and the vehicle-related information after perception fusion of the upstream module is updated in real time according to a fixed period. The vehicle-related information includes the dynamic driving data of the vehicle, which includes lane line information, high-precision map information, traffic sign information, target vehicle's driving speed, acceleration, position and other information.
[0059] Step 2.2, based on the vehicle-related information, obtain the scene where the target vehicle is currently located, and obtain the current surrounding environment of the target vehicle according to the scene where the target vehicle is currently located.
[0060] In this step, first of all, it is necessary to classify the scene described by the target vehicle: according to the road section information provided by the high-precision map and the traffic sign information recognized by the camera, the scene in which the target vehicle is currently located is judged. For example, whether the current position of the target vehicle is in a highway section, whether it is in a straight section of a main road in the urban area, or whether it is in the range of an intersection of an urban section, it is judged whether the target vehicle belongs to a cruising scene category or an intersection scene category. Secondly, it is necessary to construct the surrounding environment of the target vehicle. Specifically, according to the lane-level information provided by the high-precision map or the lane line information recognized by the camera and the position or position information of the target vehicle, a surrounding static environment model centered on the target vehicle is constructed to obtain the relationship between the target vehicle and the surrounding static environment. For example, a three-lane model in the target vehicle coordinate system is constructed in the cruising scene, and the lane connection relationship in each direction is constructed in the intersection scene.
[0061] Step 2.3, predicting the target vehicle's alternative driving behavior intentions based on the target vehicle's current scene, surrounding environment, and traffic rules to generate an alternative model set.
[0062] This step includes: rule-based reasoning, according to the target surrounding environment constructed by the scene in step 2.2, and considering the lane and traffic rules information of the target vehicle, the possible driving behavior of the target vehicle within the scope of the rules is inferred, that is, the alternative driving behavior intention, and then the driving behavior intention that is not selective is eliminated according to the real-time dynamic environment information combined with prior information such as safety common sense. The non-selective driving behavior intention refers to the alternative driving behavior intention with a low probability of occurrence. For example, when the target vehicle is driving on the straight lane before the intersection, the reasoning of turning left / right should be excluded; when the target is driving in the leftmost lane, the reasoning of changing lanes to the left should be excluded; when there are vehicles driving side by side on the right side of the target vehicle, the reasoning of changing lanes to the right should be excluded. Then, based on the reasoning results, the HMM model corresponding to the possible driving behavior (i.e., alternative driving behavior) of the target vehicle in a specific scenario is predicted and sorted and summarized to produce a set of alternative models.
[0063] Step 2.4, according to the occurrence probability of each driving behavior intention in the alternative model set, the current driving behavior intention of the target vehicle is obtained. In this step, the HMM model is calculated and predicted online for each alternative driving behavior. Each driving behavior generated by the HMM model is evaluated and optimized, and the stability of the output result is evaluated based on the predicted occurrence probability of various alternative driving behaviors and the historical information of the target vehicle, and the driving behavior intention with the highest probability is selected as the current driving behavior intention of the target vehicle.
[0064] This step includes:
[0065] Step 2.4.1, based on the target surrounding environment information and the set of candidate models, extract the discrete time series data of the feature quantity required by the HMM model corresponding to each driving behavior.
[0066] Step 2.4.2, based on the discrete time series data of the feature quantities in step 2.4.1, use a clustering model or a piecewise function to classify and mark the discrete data of the feature quantities, combine and classify the feature quantities required by each HMM model according to the rules, and form a real-time observation sequence of the HMM model.
[0067] Step 2.4.3, read the required HMM model parameters from the offline model database in step 1.4, and use the observation sequence of the corresponding model in step 2.4.2 as input, use the forward algorithm to perform recursive summation calculation, and evaluate the probability of generating the current input observation sequence under this driving behavior. The larger the probability, the greater the probability that the target vehicle will generate this driving behavior.
[0068] Step 2.4.4, the input is the same as step 2.4.3, the difference is that the Viterbi algorithm is used here for recursion and backtracking, and the greedy algorithm is used to solve the optimal state and backtrack to form the optimal path. The optimal path records the driving behavior state with the highest probability corresponding to each time node of the input time series.
[0069] Step 2.4.5, based on the probability values of each driving behavior obtained in step 2.4.3 and the state sequence of each driving behavior obtained in step 2.4.4, perform a certain strategy evaluation on the effective driving behavior state closest to the current moment in the state sequence and the corresponding probability, select the optimal driving behavior intention and output the state sequence corresponding to the optimal driving behavior intention.
[0070] Step 2.5, based on the current driving behavior intention of the target vehicle and the driving information of the target vehicle, generate a predicted trajectory of the target vehicle. Driving information includes: current vehicle speed, acceleration and set duration. The set duration is set according to actual needs, representing the length of time from the predicted trajectory to the current moment. This step includes: according to the optimal driving behavior intention generated in step 2.4.5, using the vehicle kinematics calculation method, with the target vehicle in a uniformly accelerated motion state at the current speed, predicting its destination position after a set time (for example, 6-10s, specifically 8s), and generating a motion trajectory from the current position to the destination position by polynomial curve fitting, thereby generating a predicted trajectory for the target vehicle.
[0071] The beneficial effects of the present invention are as follows: the present invention improves the adaptability based on the existing driving behavior model by constructing the surrounding environment and providing suitable alternative models for specific scenarios; and obtains the current driving behavior intention of the target vehicle according to the occurrence probability of each driving behavior intention in the alternative model set, thereby improving the rationality and accuracy of the prediction results.
[0072] It should be noted that the above methods can be implemented based on machine learning. Machine Learning (ML) is a multi-disciplinary interdisciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Among them, machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and teaching learning.
[0073] Based on the powerful learning ability of machine learning, through the machine learning process of a large number of historical trajectories, the machine learning model can estimate the displacement bias of the target vehicle's all-round characteristics such as moving speed, moving direction, moving habits, dynamic and static states, so as to ensure that the estimated real-time position of the target vehicle is more accurate and reliable, thereby ensuring that the surrounding environment of the constructed target vehicle is accurate, and further ensuring the accuracy of the prediction results.
[0074] See also Figure 5 The present invention provides a device for predicting driving behavior intention and trajectory, comprising:
[0075] An acquisition module 100 is used to acquire vehicle-related information of a target vehicle in real time;
[0076] A construction module 200 is used to obtain the scene where the target vehicle is currently located based on the vehicle-related information, and obtain the current surrounding environment of the target vehicle according to the scene where the target vehicle is currently located;
[0077] The processing module 300 is used to predict the target vehicle's alternative driving behavior intentions according to the scene, surrounding environment and traffic rules in which the target vehicle is currently located, so as to generate an alternative model set, and obtain the target vehicle's current driving behavior intention according to the occurrence probability of each driving behavior intention in the alternative model set;
[0078] The predicted trajectory generation module 400 is used to generate a predicted trajectory of the target vehicle based on the current driving behavior intention of the target vehicle and the driving information of the target vehicle.
[0079] The present invention provides an electronic device, characterized in that it includes:
[0080] one or more processors;
[0081] A storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the electronic device implements the method for predicting driving behavior intention and trajectory.
[0082] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0083] like Figure 6 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method described in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other through the bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0084] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0085] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0086] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a 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. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0087] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0088] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0089] Another aspect of the present application also provides a computer-readable storage medium, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the method for predicting driving behavior intention and trajectory. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0090] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method for predicting driving behavior intention and trajectory provided in each of the above embodiments.
[0091] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for predicting driving behavior intention and trajectory, It is characterized in that include: Obtain vehicle-related information of the target vehicle in real time; Acquire the scene where the target vehicle is currently located based on the vehicle-related information, and obtain the current surrounding environment of the target vehicle according to the scene where the target vehicle is currently located; According to the current scene, surrounding environment and traffic rules of the target vehicle, the target vehicle's alternative driving behavior intention is predicted to generate an alternative model set, and according to the occurrence probability of each driving behavior intention in the alternative model set, the target vehicle's current driving behavior intention is obtained; Generate a predicted trajectory of the target vehicle based on the current driving behavior intention of the target vehicle and the driving information of the target vehicle; Generating the candidate model set includes: selecting a candidate model corresponding to the target vehicle in the corresponding scene according to each candidate driving behavior intention, and collating all the candidate models to form a candidate model set; The step of obtaining the occurrence probability of each driving behavior intention in the candidate model set includes: According to the surrounding environment of the target vehicle and the set of candidate models, the discrete time series data of the feature quantity required by the hidden Markov model corresponding to each driving behavior is extracted; Based on the discrete time series data, a real-time observation sequence of a hidden Markov model corresponding to each driving behavior is obtained; The corresponding driving behavior parameters are read from the offline database, and the corresponding real-time observation sequence is used as input, and a forward algorithm is used to perform recursive summation calculation to obtain the occurrence probability of the corresponding driving behavior intention.
2. The method for predicting driving behavior intention and trajectory according to claim 1, It is characterized in that Before the real-time acquisition of vehicle-related information of the target vehicle, the method includes: acquiring an offline database of a hidden Markov model.
3. The method for predicting driving behavior intention and trajectory according to claim 2, It is characterized in that The offline database for obtaining the hidden Markov model includes: Collect vehicle-related information offline; Based on the vehicle-related information collected offline, obtain time-discrete label sequence data; Using the label sequence data as an observation sequence, offline training a hidden Markov model corresponding to each driving behavior in different scenarios to obtain parameters of the hidden Markov model for identifying each driving behavior; Based on the hidden Markov model, the parameters of each driving behavior are identified to obtain an offline database of the hidden Markov model.
4. The method for predicting driving behavior intention and trajectory according to claim 1, It is characterized in that The predicting of the candidate driving behavior intentions of the target vehicle includes: eliminating unselectable driving behavior intentions according to the scene, surrounding environment and safety common sense of the target vehicle.
5. The method for predicting driving behavior intention and trajectory according to claim 4, It is characterized in that The obtaining of the current driving behavior intention of the target vehicle includes: Taking the corresponding real-time observation sequence as input, using the Viterbi algorithm for recursion and backtracking, and using the greedy algorithm to solve the optimal state and backtrack the journey to form an optimal path, the optimal path carries the corresponding driving behavior state time sequence; According to the occurrence probability value of each driving behavior intention and each driving behavior state sequence, a strategy evaluation is performed on the effective driving behavior state closest to the current moment in the state sequence, the optimal driving behavior is selected and the corresponding state sequence is output.
6. A device for predicting driving behavior intention and trajectory, It is characterized in that include: An acquisition module, used to acquire vehicle-related information of a target vehicle in real time; A construction module is used to obtain the scene where the target vehicle is currently located based on the vehicle-related information, and obtain the current surrounding environment of the target vehicle according to the scene where the target vehicle is currently located; A processing module, for predicting the target vehicle's alternative driving behavior intentions according to the current scene, surrounding environment and traffic rules of the target vehicle, so as to generate an alternative model set, and obtaining the target vehicle's current driving behavior intention according to the occurrence probability of each driving behavior intention in the alternative model set; A prediction trajectory generation module, used to generate a prediction trajectory of the target vehicle based on the current driving behavior intention of the target vehicle and the driving information of the target vehicle; Generating the candidate model set includes: selecting a candidate model corresponding to the target vehicle in the corresponding scene according to each candidate driving behavior intention, and collating all the candidate models to form a candidate model set; The step of obtaining the occurrence probability of each driving behavior intention in the candidate model set includes: According to the surrounding environment of the target vehicle and the set of candidate models, the discrete time series data of the feature quantity required by the hidden Markov model corresponding to each driving behavior is extracted; Based on the discrete time series data, a real-time observation sequence of a hidden Markov model corresponding to each driving behavior is obtained; The corresponding driving behavior parameters are read from the offline database, and the corresponding real-time observation sequence is used as input, and a forward algorithm is used to perform recursive summation calculation to obtain the occurrence probability of the corresponding driving behavior intention.
7. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the method for predicting driving behavior intention and trajectory as described in any one of claims 1 to 5.
8. A computer-readable storage medium, It is characterized in that Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the method for predicting driving behavior intention and trajectory according to any one of claims 1 to 5.
