Vehicle motion planning method and device, electronic equipment and medium

By acquiring and calculating the driving environment information of autonomous vehicles and the potential variables of pedestrian perception and decision-making capabilities, and planning the vehicle motion state based on ethical principles, the problem of autonomous vehicles ignoring pedestrian perception capabilities in driving moral dilemmas is solved, improving safety and Risk-minimizing effects of ethical driving decisions.

CN118744736APending Publication Date: 2024-10-08ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411015644.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

When existing autonomous vehicles face driving moral dilemmas, they ignore pedestrians' perception, decision-making and interaction capabilities, leading to safety hazards and making it difficult to make effective driving decisions under ethical principles.

Method used

By obtaining the vehicle's current driving environment information and potential variables of traffic participants' perceived decision-making capabilities, the potential risk probability is calculated, and the vehicle's motion state is planned based on the risk cost function of ethical driving principles to minimize risks.

Benefits of technology

It improves the safety of autonomous vehicles in driving ethical dilemmas, ensures driving decisions are made under ethical principles, and reduces the risk of collisions when interacting with traffic participants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118744736A_ABST
    Figure CN118744736A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle motion planning method and device, electronic equipment and a medium, and the method is applied to a target vehicle, and comprises the steps: obtaining an observable variable used for representing the driving environment information of the target vehicle, the potential variables are used for representing perception decision-making capabilities of traffic participants except the target vehicle; the risk cost function is constructed in advance and is based on a moral driving principle; according to the observable variable and the potential variable, calculating a potential risk probability of collision when the target vehicle interacts with the traffic participant; and planning an expected motion state of the target vehicle at the next moment based on the risk cost function and the potential risk probability. Therefore, the vehicle evaluates the potential risk probability of collision with the traffic participant by acquiring the surrounding environment information such as the perception decision-making ability of the traffic participant, and plans the motion state of the vehicle at the next moment according to the potential risk probability under the constraint of the moral driving principle, thereby realizing the driving risk minimization under the moral driving principle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to a vehicle motion planning method, device, electronic equipment and medium. Background Art

[0002] In 1967, British philosopher Phillipa Foot proposed that when an autonomous vehicle rushes towards pedestrians on the road, should the autonomous vehicle sacrifice the passengers and hit the pedestrians, or sacrifice the pedestrians to ensure the safety of the passengers? With the continuous development of autonomous driving technology, autonomous driving should consider ethical factors when replacing human driving tasks.

[0003] When faced with a driving ethical dilemma scenario with a risk of collision, current autonomous vehicles use vehicle motion planning algorithms to impose moral constraints on driving decisions, and mainly consider traffic participants (pedestrians) as particles with motion functions during planning. In fact, when pedestrians appear in a vehicle traffic area, they usually pay attention to the surrounding environment and make corresponding perceptual decisions. However, the current vehicle motion planning algorithm ignores the perceptual decision-making ability of pedestrians, as well as their ability to interact with autonomous vehicles, resulting in safety risks in autonomous driving.

[0004] It can be seen that when autonomous driving vehicles face driving ethical dilemmas, considering pedestrians' perception and decision-making abilities as well as their ability to interact with vehicles is of great significance for improving the safety of autonomous driving. Summary of the invention

[0005] In view of this, one aspect of the present application provides a vehicle motion planning method, which is applied to a target vehicle, and the method includes:

[0006] Obtaining observable variables for characterizing current driving environment information of a target vehicle, latent variables for characterizing perceptual decision-making capabilities of traffic participants other than the target vehicle, and a pre-constructed risk cost function based on ethical driving principles;

[0007] Calculating the potential risk probability of collision between the target vehicle and the traffic participant when interacting according to the observable variables and the potential variables;

[0008] Based on the risk cost function and the potential risk probability, the expected motion state of the target vehicle at the next moment is planned with the goal of minimizing the output result of the risk cost function.

[0009] Optionally, calculating the potential risk probability of collision between the target vehicle and the traffic participant when interacting according to the observable variables and the potential variables includes:

[0010] Determine the target probability of the traffic participant performing a preset dangerous action based on the observable variables and the potential variables; and determine the collision risk parameter of the target vehicle colliding with the traffic participant when interacting; wherein the preset dangerous action includes an illegal behavior that violates traffic laws;

[0011] The potential risk probability is calculated according to the target probability and the collision risk parameter.

[0012] Optionally, determining a collision risk parameter of a collision occurring when the target vehicle interacts with the traffic participant includes:

[0013] Acquire the relative motion parameters between the target vehicle and the traffic participant, and the relevant perception parameters used to describe the perception and decision-making ability of the traffic participant; wherein the relative motion parameters include relative speed, relative distance, minimum safety distance and speed direction angle, and the relevant perception parameters include a first parameter characterizing the reaction force of the traffic participant, and a second parameter characterizing the attitude of the traffic participant toward traffic rules;

[0014] The collision risk parameter is determined according to the relative motion parameter and the relevant perception parameter; wherein, when the relevant perception parameter represents that the traffic participant's perception and decision-making ability is stronger, the collision risk parameter is smaller.

[0015] Optionally, determining the target probability of the traffic participant performing a preset dangerous action according to the observable variables and the potential variables includes:

[0016] Based on the observable variables, determining a first probability distribution of the traffic participant performing the preset dangerous action; and based on the latent variables, determining a second probability distribution of the traffic participant performing the preset dangerous action;

[0017] Determining a priori probability of the traffic participant performing the preset dangerous action according to the first probability distribution and the second probability distribution;

[0018] Under the condition that the traffic participant performs the preset dangerous action, determining the transition probability of the traffic participant moving between different road nodes;

[0019] The target probability is determined according to the prior probability and the transition probability.

[0020] Optionally, determining the transition probability of the traffic participant moving between different road nodes includes:

[0021] Respectively obtaining the movement speed of the traffic participant at each road node and a pre-constructed dynamic adjacency matrix for describing the transfer characteristics of the traffic participant;

[0022] Based on the movement speed and the dynamic adjacency matrix, a process in which the road user randomly walks between the road nodes is simulated to determine the transition probability.

[0023] Optionally, the risk cost function includes at least one of a first function based on a risk minimization principle, a second function based on a fairness principle, and a third function based on a responsibility principle.

[0024] Optionally, the first function is a function composed of the observable variables and the potential risk probability; and the first function is used to characterize the risk cost of the target vehicle colliding with the traffic participant under the condition of the observable variables;

[0025] The second function is a function composed of potential risk probabilities of the target vehicle passing through different road nodes respectively; and the second function is used to characterize the risk difference of the target vehicle passing through different road nodes;

[0026] The third function is a function composed of the degree of interaction between the traffic participant and the target vehicle and the potential risk probability; and the third function is used to characterize the additional risk cost of a collision between the target vehicle and the traffic participant under the condition that the traffic participant and the target vehicle have a specified interaction; wherein the additional risk cost is positively correlated with the interaction depth.

[0027] Optionally, based on the risk cost function and the potential risk probability, with the goal of minimizing the output result of the risk cost function, planning the expected motion state of the target vehicle at the next moment includes:

[0028] Determining the target potential risk probability corresponding to when the output result of the risk cost function is minimized;

[0029] According to the target potential risk probability, the desired motion state is planned under the constraint condition that the output result of the risk cost function is minimized.

[0030] Optionally, planning the desired motion state under the constraint condition of minimizing the output result of the risk cost function according to the target potential risk probability includes:

[0031] Acquiring current motion state parameters of the target vehicle and a pre-built vehicle kinematics model;

[0032] Determining the future motion state parameters of the target vehicle at the next moment according to the target potential risk probability;

[0033] The desired motion state is determined under the constraint that the output result of the risk cost function is minimized according to the current motion state parameters, the future motion state parameters and the vehicle kinematic model.

[0034] Another aspect of the present application provides a vehicle motion planning device, applied to a target vehicle, the device comprising:

[0035] A variable acquisition module, for acquiring observable variables for characterizing current driving environment information of a target vehicle, latent variables for characterizing perceptual decision-making capabilities of traffic participants other than the target vehicle, and a pre-constructed risk cost function based on ethical driving principles;

[0036] A potential risk probability calculation module, used to calculate the potential risk probability of collision when the target vehicle interacts with the traffic participant based on the observable variables and the potential variables;

[0037] The motion state planning module is used to plan the expected motion state of the target vehicle at the next moment based on the risk cost function and the potential risk probability, with the goal of minimizing the output result of the risk cost function.

[0038] Another aspect of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, the steps of the vehicle motion planning method are implemented.

[0039] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the vehicle motion planning method when the program is executed by a processor.

[0040] The present application provides a vehicle motion planning method, device, electronic device and medium, which have the following beneficial effects: in the vehicle motion planning, the perception and decision-making ability of traffic participants is taken into consideration as one of the factors, that is, the vehicle obtains surrounding environment information such as the perception and decision-making ability of traffic participants, and evaluates the potential risk probability of collision when interacting with traffic participants. Furthermore, under the constraints of the ethical driving principles, the vehicle's motion state at the next moment is planned according to the potential risk probability, ensuring that when the vehicle faces a driving ethical dilemma, it not only considers the perception and decision-making ability of traffic participants, but also minimizes the driving decision-making risk under the ethical driving principles, thereby improving the safety of road use. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of a flow chart of a vehicle motion planning method provided in an embodiment of the present application;

[0042] Figure 2A schematic diagram of a flow chart of a vehicle motion planning method provided by another embodiment of the present application;

[0043] Figure 3 A schematic flow chart of a vehicle motion planning method provided by another embodiment of the present application;

[0044] Figure 4 A schematic diagram of a structure diagram of a motion planning device for a vehicle provided in an embodiment of the present application;

[0045] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0046] The reference numerals are as follows: 50 is a memory, 51 is a processor, 52 is a display screen, 53 is an input / output interface, 54 is a communication interface, 55 is a power supply, 56 is a communication bus, 501 is a computer program, 502 is an operating system, and 503 is data. DETAILED DESCRIPTION

[0047] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0048] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0049] Figure 1 A schematic diagram of a vehicle motion planning method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method is applied to a target vehicle, comprising:

[0050] S10: Obtain observable variables for characterizing the current driving environment information of the target vehicle, latent variables for characterizing the perception and decision-making capabilities of traffic participants other than the target vehicle, and a pre-constructed risk cost function based on the ethical driving principle;

[0051] In a specific embodiment, the observable variables representing the current driving environment information of the target vehicle are obtained through step S10. It can be understood that the observable variables are variables related to the driving environment that the target vehicle can directly perceive. In some optional embodiments, the observable variables may include but are not limited to traffic volume, the number of one-way lanes, the presence of a dividing strip and a crosswalk, and the vehicle state. Among them, the vehicle state includes the vehicle speed, deceleration and heading angle under the current driving state of the vehicle.

[0052] In addition, in the motion planning of the vehicle, in order to take the perception and decision-making ability of traffic participants such as pedestrians into consideration, in some optional embodiments, step S10 is also used to obtain potential variables that characterize the perception and decision-making ability of traffic participants other than the target vehicle. Traffic participants may include but are not limited to pedestrians with perception and decision-making ability and vehicles driven autonomously by drivers. For ease of understanding, the following description of traffic participants takes pedestrians as an example.

[0053] It should be noted that latent variables refer to variables that characterize pedestrians' perception and decision-making abilities, that is, variables used to quantify pedestrians' perception and decision-making abilities. In some optional embodiments, latent variables may include, but are not limited to: perception ability substitute features used to characterize pedestrians' attention and responsiveness, attitude decision influence coefficients used to measure the degree of influence of pedestrians' decisions on latent variables, and pedestrian attitude indicator features used to characterize pedestrians' risk perception and compliance with traffic rules.

[0054] Furthermore, in order to minimize driving risks under the constraints of the ethical driving principle, in some optional embodiments, a pre-constructed risk cost function based on the ethical driving principle is obtained through step S10. The ethical driving principle includes but is not limited to the risk minimization principle, the fairness principle and the responsibility principle.

[0055] It should be noted that the target vehicles in the embodiments of the present application include but are not limited to sedans, sport utility vehicles (SUVs), multi-purpose vehicles (MPVs), off-road vehicles, pickup trucks, or other power-driven non-track-borne vehicles. In addition, it should be noted that the execution subject of the embodiments of the present application can be a vehicle controller or a domain controller, which is not specifically limited in the present application.

[0056] S11: Calculate the potential risk probability of collision when the target vehicle interacts with traffic participants based on observable variables and latent variables;

[0057] S12: Based on the risk cost function and the potential risk probability, the expected motion state of the target vehicle at the next moment is planned with the goal of minimizing the output result of the risk cost function.

[0058] Furthermore, after obtaining the observable variables about the vehicle's current driving environment information and the latent variables that characterize the perception and decision-making ability of traffic participants, the potential risk probability of a collision between the target vehicle and traffic participants can be calculated based on the observable variables and the latent variables. Among them, the potential risk refers to the risk probability distribution of a collision between the target vehicle and pedestrians when interacting with pedestrians.

[0059] After the potential risk probability is obtained in step S11, the expected motion state of the target vehicle at the next moment is planned based on the potential risk probability and the risk cost function obtained in step S10, with the goal of minimizing the output result of the risk cost function.

[0060] In some optional embodiments, when planning the expected motion state of the target vehicle at the next moment, specifically, it includes but is not limited to determining the speed, deceleration and heading angle of the target vehicle at the next moment.

[0061] It is understandable that when planning the movement state, in addition to considering risks, the vehicle should also consider ethical principles such as risk distribution between the vehicle and other traffic participants. Therefore, when the vehicle faces an ethical dilemma during driving, it should also consider various ethical principles of risk distribution. When the vehicle faces an ethical dilemma, the driving state is planned for the vehicle based on ethical principles, so as to fairly distribute the risks among road users and minimize the risk of driving decisions under the constraints of ethical principles.

[0062] Therefore, the vehicle motion planning method provided in the embodiment of the present application takes the perceptual decision-making ability of traffic participants as one of the considerations in the vehicle motion planning. That is, the vehicle obtains surrounding environment information such as the perceptual decision-making ability of traffic participants, and evaluates the potential risk probability of collision when interacting with traffic participants. Furthermore, under the constraints of the ethical driving principles, the vehicle's motion state at the next moment is planned according to the potential risk probability, ensuring that when the vehicle faces a driving ethical dilemma, it not only considers the perceptual decision-making ability of traffic participants, but also minimizes the driving decision-making risk under the ethical driving principles, thereby improving road safety.

[0063] Figure 2 A schematic flow chart of a vehicle motion planning method provided by another embodiment of the present application, in an optional embodiment, as Figure 2 As shown in Figure 1, based on observable variables and latent variables, the potential risk probability of collision when the target vehicle interacts with traffic participants is calculated, including:

[0064] S20: determining the target probability of the traffic participant performing a preset dangerous action based on the observable variables and the latent variables; and determining the collision risk parameter of the target vehicle colliding with the traffic participant when interacting; wherein the preset dangerous action includes illegal behavior that violates the traffic law;

[0065] In a specific embodiment, when determining the potential risk probability of collision between the target vehicle and the traffic participants, firstly, according to the observable variable E of the current driving environment information of the target vehicle, p and the latent variable η that characterizes the perception and decision-making ability of traffic participants other than the target vehicle p , determine the target probability P3 of the traffic participant performing a preset dangerous action, where the preset dangerous action includes illegal behavior that violates the traffic law. For example, when the traffic participant is a pedestrian, the preset dangerous action can be crossing the road illegally, that is, the pedestrian crosses the road illegally. For ease of understanding, the following takes the case where the traffic participant is a pedestrian and the preset dangerous action is crossing the road illegally as an example for explanation.

[0066] In addition, in order to determine the potential risk probability, a collision risk parameter is introduced, that is, a collision risk parameter of a collision when the target vehicle interacts with a traffic participant, wherein the collision risk parameter may include but is not limited to a collision risk coefficient and a collision risk compensation parameter.

[0067] It should be noted that determining the target probability and determining the collision risk parameter may be performed simultaneously or successively, and this application does not impose any limitation on this.

[0068] S21: Calculate the potential risk probability based on the target probability and the collision risk parameter.

[0069] In an optional embodiment, when the collision risk parameter is a collision risk coefficient, the potential risk probability R vp It is defined as the product of the target probability and the collision risk parameter, that is, potential risk probability = target probability * collision risk parameter.

[0070] In another optional embodiment, when the collision risk parameter is a collision risk compensation parameter, the potential risk probability is defined as the sum of the target probability and the collision risk compensation parameter, that is, potential risk probability=target probability+collision risk parameter.

[0071] Based on the above embodiment, as an optional embodiment, determining the collision risk parameter of the target vehicle colliding with the traffic participant when interacting includes:

[0072] Obtaining relative motion parameters between the target vehicle and the traffic participant, and related perception parameters used to describe the traffic participant's perception and decision-making ability; wherein the relative motion parameters include relative speed, relative distance, minimum safety distance and speed direction angle, and the related perception parameters include a first parameter representing the traffic participant's reaction force, and a second parameter representing the traffic participant's attitude towards traffic rules;

[0073] A collision risk parameter is determined based on the relative motion parameter and the relevant perception parameter; wherein, when the relevant perception parameter represents that the traffic participant's perception and decision-making ability is stronger, the collision risk parameter is smaller.

[0074] Potential risk refers to the risk probability distribution of a collision with a pedestrian when the target vehicle passes through an area interacting with a pedestrian who is crossing the road illegally, under the condition that the traffic participant performs a preset dangerous action (for example, a pedestrian crossing the road illegally).

[0075] In a specific embodiment, when determining the collision risk parameter, it is necessary to obtain the relative motion parameters between the target vehicle and the traffic participant, wherein the relative motion parameters are related parameters about the current motion state of the target vehicle and the traffic participant and the motion state between the two. In some optional embodiments, the relative motion parameters may include but are not limited to the relative speed, relative distance, minimum safe distance and speed direction angle between the target vehicle and the traffic participant. In other optional embodiments, the relative motion parameters may also include the current distance between the traffic participant and the target vehicle, and the time when the traffic participant arrives at the interaction area.

[0076] In addition to the same motion parameters, when calculating the collision risk parameters, it is also necessary to obtain relevant perception parameters used to describe the traffic participant's perception and decision-making ability, where the relevant perception parameters may include but are not limited to a first parameter characterizing the traffic participant's reaction force and a second parameter characterizing the traffic participant's attitude towards traffic rules.

[0077] Furthermore, collision risk parameters can be determined based on relative motion parameters and related perception parameters. It should be noted that when obtaining relative motion parameters and related perception parameters, they can be obtained simultaneously or in a certain order, which is not limited in this application. In addition, it is understood that relative motion parameters can be collected and obtained by sensors on the vehicle (e.g., lidar, camera, etc.).

[0078] Understandably, most existing studies on the collision risk of pedestrians crossing the road illegally treat pedestrians as independent particles with only motion functions, without considering the perception and decision-making ability of traffic participants such as pedestrians. In fact, when pedestrians enter the intersection area, they usually pay attention to the surrounding environment, and when the target vehicle reaches the interaction area, the size of the collision risk is nonlinearly related to the distance between the pedestrian and the interaction area. Since pedestrians are intelligent entities with perception and decision-making capabilities, the farther the distance between pedestrians and the interaction area, the more time pedestrians have to judge the danger and adjust their speed or direction in time, thereby reducing the risk. On the contrary, the smaller the distance, the greater the risk.

[0079] Therefore, in an optional embodiment, when the collision risk parameter is a collision risk coefficient, the potential risk is defined as the product of the target probability P1 and the collision risk coefficient H. Then, the collision risk coefficient H can be determined by formula (1):

[0080]

[0081] Where Δv t is the relative speed between the traffic participant and the target vehicle, d s is the minimum safe distance between traffic participants and target vehicles, d i is the current distance between the traffic participant and the target vehicle, θ is the velocity angle between the traffic participant and the target vehicle, t p is the time it takes for traffic participants to arrive at the interaction area. l is the characteristic parameter of the latent variable.

[0082] ε is a correction parameter, and 0<ε<1. In some optional embodiments, ε can be set based on a large number of experiments or experiences.

[0083] α is the estimated traffic participant’s perception ability to the latent variable η p The coefficient of influence, i.e., the coefficient α quantifies the effect of traffic participants’ perception ability (e.g., reaction time and attention, etc.) on the latent variable η p degree of impact.

[0084] r is the attitude decision-making influence coefficient, which is used to quantify the influence of traffic participants’ decision on the latent variable η. p The degree of influence of factors (e.g., risk appetite and decision-making style).

[0085] is the standard deviation of the perceptual ability surrogate feature, that is, is the first parameter that characterizes the reaction ability of the traffic participant. The smaller the first parameter is, the better it characterizes the reaction ability of the traffic participant.

[0086] is the standard deviation of the attitude indicator characteristic, that is, the second parameter that characterizes the attitude of traffic participants towards traffic rules. When the second parameter is smaller, it means that the traffic participants obey traffic rules more and perceive traffic risks better.

[0087] According to formula (1), when the speed direction angle between the target vehicle and the traffic participant is perpendicular, that is, when the two move vertically, there is also a certain risk of collision. If the time it takes for the traffic participant to reach the interaction area is longer than the time it takes for the target vehicle to pass through the interaction area, that is, the traffic participant is farther away from the interaction area, then the risk of collision can be considered to be lower.

[0088] Figure 3 A flow chart of a vehicle motion planning method provided by another embodiment of the present application is provided. Based on the above embodiment, as an optional embodiment, Figure 3 As shown in Figure 1, based on observable variables and latent variables, the target probability of traffic participants performing preset dangerous actions is determined, including:

[0089] S30: determining a first probability distribution of a traffic participant performing a preset dangerous action based on observable variables; and determining a second probability distribution of a traffic participant performing a preset dangerous action based on latent variables;

[0090] First, it should be noted that, for ease of understanding, the following description is based on the example of a traffic participant being a pedestrian and the preset dangerous action being illegal crossing of the road, that is, the example of a pedestrian illegally crossing the road. In addition, it should be noted that the definition P represents a pedestrian illegally crossing the road in the interaction area, and P=1 indicates that an illegal pedestrian crossing event has occurred.

[0091] In actual driving, the probability of pedestrians crossing the road illegally is uncertain and varies with factors such as traffic environment and time. The determination of the probability of pedestrians crossing the road illegally has an impact on the potential risk probability R of the target vehicle. vp Assessment is a crucial part.

[0092] By determining the prior probability of pedestrians jaywalking illegally, we can accurately infer the posterior probability of pedestrians jaywalking illegally (i.e., the target probability P1). In fact, the main variables that affect pedestrians' "jaywalking illegally" include the traffic volume that the target vehicle can directly observe. The number of one-way lanes n, whether there is a dividing strip di, whether there is a crosswalk cr and the vehicle status S v Equal observable variables E p The vehicle state includes the vehicle speed, deceleration and heading angle under the current driving state of the vehicle. In addition, in some optional embodiments, the observable variable E p It can also include pedestrian speed, crosswalk settings, etc.

[0093] In an optional embodiment, based on observable variables, a first probability distribution P2 of a traffic participant performing a preset dangerous action can be determined. Specifically, the first probability distribution P2 is determined according to formula (2):

[0094]

[0095] in, is the traffic volume, n is the number of one-way lanes, di is whether there is a dividing strip, cr is whether there is a crosswalk, S v is the vehicle status, E p is an observable variable. P is defined as the number of pedestrians who cross the road illegally in the interaction area, and P = 1 indicates that a pedestrian crossing the road illegally occurs.

[0096] In an optional embodiment, the perception and decision-making ability of pedestrians to pay attention to the surrounding environment when they appear in the vehicle interaction area is taken into account, which is of great significance to reducing the overall risk. That is, after observing the surrounding environment and confirming that there is danger, pedestrians will adjust their movement direction and speed in time to avoid collision.

[0097] Therefore, based on the latent variables, the second probability distribution P3 of the traffic participant performing the preset dangerous action is determined. p It is represented as the observable pedestrian perception ability alternative feature S p The function of , determines the second probability distribution P3 according to formula (3):

[0098]

[0099] Among them, η p is a latent variable, α is the estimated traffic participant’s perception ability to the latent variable η p The coefficient of influence, i.e., the coefficient α quantifies the effect of traffic participants’ perception ability (e.g., reaction time and attention, etc.) on the latent variable η p l is the characteristic parameter of the latent variable, S p It is a surrogate feature of perception ability, used to characterize pedestrians' attention and reaction ability.

[0100] r is the attitude decision-making influence coefficient, which is used to quantify the influence of traffic participants’ decision on the latent variable η. p The degree of influence of C p is the attitude index characteristic, which is used to characterize the degree of traffic participants' perception of traffic risks and compliance with traffic rules, etc. p is an error term with an estimated mean of zero and standard deviation.

[0101] It should be noted that the perception ability replaces the characteristic S p, characterizes that pedestrians are intelligent agents with state adjustment capabilities, and usually pay attention to the surrounding environment when entering the interaction area with the target vehicle. The perception ability substitute features are usually related to the pedestrian's attention, reaction time, etc.

[0102] In addition, it should be noted that when the target vehicle is traveling in the current driving area, other traffic participants (e.g., pedestrians) other than the target vehicle may enter the current driving area from the field of view of the optical sensor of the autonomous vehicle. At this time, the pedestrian enters the interaction area with the target vehicle, but due to the uncertainty of pedestrian behavior, pedestrians outside the visual range of a certain sensor may also be potentially dangerous. Therefore, in some optional embodiments, the area where pedestrians with potential risks within a certain range are combined with the range of the vehicle's visual sensor is defined as the interaction area.

[0103] S31: Determine a priori probability of a traffic participant performing a preset dangerous action according to the first probability distribution and the second probability distribution;

[0104] Further, the prior probability of the traffic participant performing the preset dangerous action is determined according to the first probability distribution P2 and the second probability distribution P3 in step S31, that is, based on the observable variable E p and latent variable η p , determine the prior probability P (p = 1) that the pedestrian crosses the road illegally. Specifically, the prior probability P (p = 1) is determined according to formula (4):

[0105]

[0106] It should be noted that, in some optional embodiments, in the calculation of the prior probability of a pedestrian crossing the road illegally, the latent variable η p It can be obtained through observation or questionnaire survey, or based on the experience of previous research surveys.

[0107] Based on the observable variable E p and latent variable η p The evaluation prior probability P (p = 1) identifies the potential variables η such as pedestrian perception and decision attitude attributes. p Regarding the impact on potential risks, considering the ability of pedestrians to pay attention to their surroundings when they appear in the vehicle interaction area is of great significance in reducing the overall risk.

[0108] S32: Under the condition that the traffic participant performs a preset dangerous action, determining a transfer probability of the traffic participant moving between different road nodes;

[0109] Furthermore, under the condition that the traffic participant performs a dangerous action, that is, under the condition that the pedestrian crosses the road illegally, the transition probability P(X i,t+1). It should be noted that different road nodes refer to any two nodes in the interaction area where the target vehicle interacts with the traffic participants.

[0110] It is understandable that due to the defects of the distribution of the prior probability P(p=1) and the incompleteness of the data, the prior probability P(p=1) cannot reflect the actual dependence of pedestrians moving between road nodes. Therefore, in an optional embodiment, by determining the transition probability P(X i,t+1 ), thus reflecting the actual dependencies of pedestrians transferring between road nodes.

[0111] S33: Determine the target probability based on the prior probability and the transition probability.

[0112] Furthermore, according to the prior probability P(p=1) and the transition probability P(X i,t+1 ), determine the target probability P1. In fact, the target probability P1 is the posterior probability that the pedestrian crosses the road illegally. That is, in a specific embodiment, the target probability P1 can be determined based on the prior probability P (p = 1) and the transition probability P (X i,t+1 ), determine the posterior probability that the pedestrian violated the traffic rules when crossing the road.

[0113] Based on the above embodiment, as an optional embodiment, determining the transition probability of a traffic participant moving between different road nodes includes:

[0114] Obtain the movement speed of traffic participants at each road node and the pre-built dynamic adjacency matrix used to describe the transfer characteristics of traffic participants;

[0115] Based on the movement speed and dynamic adjacency matrix, the process of road users randomly walking between road nodes is simulated to determine the transition probability.

[0116] In evaluating the prior probability P (p = 1) of a pedestrian crossing the road illegally, the observable variables E related to the pedestrian are considered. p and latent variable η p ,Due to the defects of the distribution of the prior probability P(p=1) and the incompleteness of the data, the prior probability P(p=1) cannot reflect the actual dependency of pedestrians transferring between road nodes.

[0117] Therefore, in an optional embodiment, a dynamic adjacency matrix is ​​considered to be constructed to describe the transfer characteristics of traffic participants. Specifically, the dynamic process is regarded as a continuous time random walk process (CT-RW), and a dynamic adjacency matrix is ​​constructed, which defines the transfer probability of a random walker (i.e., a traffic participant) from road node i to road node j in the road network, that is, the dynamic adjacency matrix defines the transfer probability P(Xi,t+1 ), where road node i to road node j are any two nodes in the interaction area where the target vehicle interacts with the traffic participants.

[0118] In a specific embodiment, based on the prior probability P (p=1) and the observable variable E of the current driving environment information of the target vehicle p , and the conditional latent probability distribution model in causal theory, to infer the posterior probability of pedestrians crossing the road illegally.

[0119] In the inference of potential probability distribution under causal theory, what is usually discussed is the impact of a certain treatment or intervention condition on the probability distribution of potential results, that is, after determining the prior probability P (p = 1), the transfer probability P (X i,t+1 ).

[0120] It is worth noting that after determining the prior probability P (p = 1), the transition probability P (X i,t+1 ) Only the road nodes within the target vehicle and pedestrian interaction area are considered.

[0121] Determine the transition probability P(X i,t+1 ), specifically, the movement speed of the traffic participants at each road node and the pre-built dynamic adjacency matrix used to describe the transfer characteristics of the traffic participants are obtained respectively. The dynamic adjacency matrix is ​​a non-negative dynamic adjacency matrix, and the dynamic adjacency matrix is ​​shown in formula (5):

[0122]

[0123] Among them, T t,ij (η pi ,η pj ) is the transient matrix, that is, the matrix of the state transition of the system in the transient state, which is used to represent the potential variable η on the road node i p The state change probability of a characteristic traffic participant moving to road node j under transient conditions. ij is the weight coefficient of road variable influence, β is the adaptive coefficient, and the transient probability can be increased or decreased under the condition of no deviation by changing the transient probability. pi is the potential variable of the traffic participants at road node i, η pj is the potential variable of the traffic participant at road node i.

[0124] Based on the dynamic adjacency matrix, in an optional embodiment, the pedestrian state transition process is represented as CT-RW, which is a special Markov update process that can effectively describe the pedestrian abnormal diffusion process and the random walk process X i,t+1 Given by formula (6):

[0125]

[0126] Among them, v pi is the speed of the traffic participant at road node i, v pj is the speed of the traffic participant at road node j, that is, v pi and v pj is the movement speed of traffic participants at each road node.

[0127] Furthermore, the random walk process X i,t+1 The dynamic adjacency matrix is ​​embedded into the dynamic adjacency matrix to combine the dynamic adjacency matrix transition probability with time. Therefore, as time goes by, the dynamic adjacency matrix can be updated in real time according to the random walk process, thereby accurately reflecting the changes in pedestrian mobility behavior. That is, based on the movement speed and the dynamic adjacency matrix, the process of random walks of road users between road nodes is simulated to determine the transition probability P(X i,t+1 ). According to formula (7), the transition probability P(X i,t+1 ):

[0128]

[0129] In a specific embodiment, further, according to the obtained transition probability P(X i,t+1 ) Consider the posterior probability (i.e., target probability P1) under the prior probability distribution, that is, according to the prior probability P (p = 1) and the transition probability P (X i,t+1 ), determine the target probability P1. Specifically, in an optional embodiment, the target probability P1 is obtained according to formula (8):

[0130]

[0131] Therefore, by determining the transition probability P(X i,t+1 ), thus reflecting the actual dependence of pedestrians transferring between road nodes, and further based on the prior probability P(p=1) and the transfer probability P(X i,t+1 ), and determine the target probability P1 of traffic participants performing preset dangerous actions. Based on the prior probability P (p = 1) and the risk assessment posterior probability of the conditional latent probability distribution (i.e., the target probability P1), a dynamic adjacency matrix based on CT-RW is constructed to reflect the actual dependency of pedestrians transferring between road nodes.

[0132] Further, in an optional embodiment, when the collision risk parameter is a collision risk coefficient, the potential risk refers to the risk probability distribution of the target vehicle colliding with pedestrians when passing through the interactive area with illegal pedestrians crossing the road, and the potential risk probability Rvp It is defined as the product of the target probability P1 and the potential collision risk coefficient H. Specifically, the potential risk probability R is calculated according to formula (9): vp :

[0133]

[0134] Therefore, the potential risk probability R is calculated based on the collision risk coefficient and the posterior probability P1 vp , the risk of the target vehicle state planning changing over time in the scenario of pedestrians crossing the road illegally can be determined.

[0135] The collision risk coefficient H considering the pedestrian's perception and decision-making ability comprehensively considers the relative speed, relative distance, minimum safe distance and speed direction angle between the pedestrian and the target vehicle, as well as the first parameter representing the reaction force of the traffic participant and the second parameter representing the attitude of the traffic participant towards traffic rules, to determine the potential risk probability R vp , accurately calculate the risk probability of a target vehicle colliding with pedestrians when passing through the interaction area with pedestrians crossing the road illegally.

[0136] When planning the motion state for the target vehicle, in addition to considering the potential risk probability, various ethical driving principles such as risk allocation should also be considered. When the target vehicle faces an ethical driving dilemma, the current driving state is planned for the target vehicle based on the ethical driving principle, so as to fairly distribute the risks among road users and minimize the driving decision-making risks under the constraints of ethical principles.

[0137] Therefore, when planning the expected motion state of the target vehicle at the next moment, based on the risk cost function and the potential risk probability, the goal is to minimize the output result of the risk cost function. In some optional embodiments, the risk cost function includes a first function J based on the risk minimization principle. Rmin (S v ), the second function J based on the principle of fairness E (S v ), and the third function J based on the responsibility principle r (S v ), that is, the ethical driving principles include at least one of the risk minimization principle, the fairness principle and the responsibility principle.

[0138] In order to improve driving safety, in an optional embodiment, the ethical driving principle includes the risk minimization principle, the fairness principle and the responsibility principle. The risk cost function combines the function costs based on the risk minimization principle, the fairness principle and the responsibility principle into the total risk cost function J of the current state of the target vehicle total , the relevant weight factors determine the weights of the corresponding principles.

[0139] Specifically, the risk cost function J total Determine according to formula (10):

[0140] J total =ω R J Rmin (S v )+ω E J E (S v )+ω r J r (S v ) (10)

[0141] Among them, J Rmin (S v ) is the first function based on the risk minimization principle, ω R is the first function J Rmin (S v ) weight. E (S v ) is the second function based on the principle of fairness, ω E is the second function J E (S v ) weight. r (S v ) is the third function based on the responsibility principle, ω r is the third function J r (S v ). Among them, ω R +ω E +ω r =1, and each weight can be adjusted according to actual business conditions.

[0142] As an optional embodiment, the first function J Rmin (S v ) is the observable variable E p and the potential risk probability R vp The function is composed of Rmin (S v ) is used to characterize the target vehicle in the observable variable E p Under the condition, the risk cost of collision with traffic participants. In an optional embodiment, the observable variable E p is the vehicle state S v .

[0143] The risk minimization principle follows the utilitarian approach and corresponds to the risk cost function J total Based on the gradient descent (GD) method, the first function J Rmin (S v ), the loss function is minimized, thereby achieving the risk cost function Jtotal The lowest state ensures that the target vehicle makes the best decision for road users.

[0144] The first function J Rmin (S v ) Regarding the vehicle state S v The gradient of is the direction in which the objective function rises fastest. For the minimization optimization problem, the vehicle state S v Moving forward one step in the opposite direction of the gradient can achieve a decrease in the objective function. This step is also called the learning rate. Used to control the magnitude of each update step.

[0145] The parameter vector is iteratively updated using the gradient descent update rule, wherein the gradient descent update rule refers to gradually adjusting the model parameters along the negative direction of the objective function gradient (i.e., the slope or rate of change of the function at a certain point) in the hope of reaching a point where the function value is minimized. In an optional embodiment, the parameter vector is iteratively updated using the gradient descent update rule, see formula (11):

[0146]

[0147] in, is the cost function, J Rmin (S v ) is the vehicle state S v The gradient direction indicates the vehicle state S v Further, based on the mean square error loss function, a method based on the potential risk probability R is designed. vp The first function J Rmin (S v ), to solve the current vehicle state S v The potential risk probability R vp Therefore, the observable variable E p and the potential risk probability R vp The first function J Rmin (S v )See formula (12):

[0148]

[0149] Where m is the vehicle state S observed by the on-board sensor v The number of samples, i is the sample number, y(S v ) is the target value.

[0150] In another optional embodiment, the second function J E (S v) is a function consisting of the potential risk probabilities of the target vehicle passing through different road nodes respectively; and the second function J E (S v ) is used to characterize the risk differences of target vehicles passing through different road nodes.

[0151] In a specific embodiment, the risk minimization principle only minimizes the risk cost function J total , and does not consider the fairness of risk distribution among traffic participants. For the sake of fairness, risks should be evenly distributed among road users.

[0152] Therefore, in the embodiment of the present application, a second function J based on the principle of fairness is introduced. E (S v ), thus ensuring the use of the first function J based on the risk minimization principle Rmin (S v ) will not have an abnormally high risk bias towards traffic participants other than the target vehicle, but will tend to have a lower risk cost function J total .

[0153] For example, traffic participant A is at road node i, and traffic participants B and C are at road node j. Under the risk minimization principle, the risk of road node i is lower than the risk of road node j. However, for the principle of fairness, when the target vehicle drives to road node i and road node j, the risk of road node i and road node j should be fairly distributed, rather than the risk being more inclined to the risk cost function J under the risk minimization principle. total Smaller road node i.

[0154] In some optional embodiments, the number of summation items is used for normalization. By normalizing the cost function, it can be made independent of the number of samples, so that it performs consistently under different data scales. When building a model, normalization can effectively improve stability and generalization ability.

[0155] Consider a second function J that is independent of the number of road users E (S v ), that is, the second function J based on the fairness principle E (S v )See formula (13):

[0156]

[0157] Among them, R vp,i is the potential risk probability of the target vehicle at the road node i, R vp,jis the potential risk probability of the target vehicle at the passable road node j, k is the normalization factor used for the accumulation and index of the molecular results, so that the second function J E (S v ) is independent of the sample size.

[0158] For each pair of risk sample values ​​(i.e., for the risk sample values ​​between any two road nodes in the interaction area), we can calculate R vp,i and R vp,j The potential risk differences between them are normalized to achieve the goal of fair risk distribution.

[0159] It is understandable that the fairness principle does not take into account the number of people on the road node, that is, the number of traffic participants on the road node. For example, risks should not be more inclined towards road nodes with fewer people.

[0160] It should be noted that the risks borne by multiple persons on the same road node are the same. Therefore, in the embodiment of the present application, the second function J based on the principle of fairness is E (S v ) is constructed based on the potential risk differences between different road nodes, that is, the second function J E (S v ) is a function composed of the potential risk probabilities of the target vehicle passing through different road nodes.

[0161] In another optional embodiment, the third function is a function composed of the degree of interaction between the traffic participant and the target vehicle and the potential risk probability; and the third function is used to characterize the additional risk cost of a collision between the target vehicle and the traffic participant under the condition that the traffic participant and the target vehicle have a specified interaction; wherein the additional risk cost is positively correlated with the depth of interaction.

[0162] In the actual driving process, there may be irresponsible behavior of the target vehicle. Therefore, from a moral perspective, road risk responsibility should be included in the risk allocation. Specifically, it can be understood that road traffic risks originate from the characteristics or behaviors of traffic participants, that is, whether traffic participants perform preset dangerous actions. Similarly, for ease of understanding, the following uses the example of traffic participants being pedestrians and the preset dangerous action being illegal crossing of the road, that is, the example of pedestrians illegally crossing the road.

[0163] Therefore, in the risk cost function J total The degree to which pedestrians are morally responsible for creating dangerous situations should be additionally considered in the traffic safety regulations. This not only takes into account the principle of fairness, but also ensures that pedestrian road users are responsible for their actions, helping to prevent irresponsible behavior.

[0164] In an optional embodiment, define Jr (S v ) is the cost function considering the responsibility principle, r is the pedestrian responsibility, and “0” indicates that the risk cost function J is caused by the responsibility of traffic participants. total No reduction, “1” indicates an increase in the risk cost for traffic participants.

[0165] In an optional embodiment, in order to calculate the amount of responsibility of traffic participants, the amount of responsibility is quantified based on the reachable set of road participants. The reachable set is defined as the set of all possible positions and states that traffic participants can reach, and these positions and states are reachable by traffic participants within a given time range. By analyzing the reachable set, the possible responsibility of different traffic participants in the accident is determined. It should be noted that the traffic participants described here include target vehicles and pedestrians.

[0166] The vehicle status S obtained by the vehicle-mounted sensor in real time v , pedestrian speed and random walk process X i,t . Further, the pedestrian’s reachable set is determined as RV vt =f(S v ), the reachable set of the target vehicle is RV pt =f(X i,t ).

[0167] If the reachable sets of two traffic participants intersect at a certain time step, it indicates that a collision may occur within that time step. Responsibility can be assigned based on the size of the intersection, the location of the intersection, and the area of ​​the intersection. If the reachable set of a traffic participant invades the legal driving area of ​​another traffic participant, the former can be considered to bear more responsibility.

[0168] For example, if the pedestrian's reachable set intrudes into the vehicle's reachable set, resulting in a collision, the pedestrian is assigned a higher proportion of the responsibility. Indicates that there is a risk of collision between the two. If the pedestrian intrudes into the lane of the target vehicle to a depth of d, the responsibility of the pedestrian (traffic participant other than the target vehicle) is r p The calculation of is shown in formula (14):

[0169]

[0170] Among them, S(RV vt ∩RV vp ) is the intersection area of ​​the reachable sets of the target vehicle and the traffic participants, γ1 and γ2 are weight coefficients, and 0<γ1,γ2<1, which is used to characterize the intersection area of ​​the reachable sets S(RV vt ∩RV vp ) and the degree of influence of intrusion depth d on the liability quantity.

[0171] Therefore, the third function J consisting of the degree of interaction between traffic participants and target vehicles and the potential risk probability is r (S v ), i.e., the third function J used to characterize the additional risk cost of a collision between the target vehicle and the traffic participant under the condition that the traffic participant and the target vehicle have a specified interaction r (S v ), can be determined according to formula (15):

[0172]

[0173] in, rp The amount of responsibility for traffic participants other than the target vehicle.

[0174] Therefore, the first function J based on the risk minimization principle is determined by formula (12), formula (13) and formula (15): Rmin (S v ), the second function J based on the principle of fairness E (S v ), and the third function J based on the responsibility principle r (S v ), the risk cost function J is determined according to formula (10): total .

[0175] As an optional embodiment, based on the risk cost function and the potential risk probability, the expected motion state of the target vehicle at the next moment is planned with the goal of minimizing the output result of the risk cost function, including:

[0176] Determine the target potential risk probability corresponding to the minimization of the output of the risk cost function;

[0177] According to the target potential risk probability, the expected motion state is planned under the constraint that the output result of the risk cost function is minimized.

[0178] In a specific embodiment, the target potential risk probability corresponding to the minimization of the risk cost function output result is solved according to formula (10). Further, according to the target potential risk probability

[0179] Further, in an optional embodiment, according to the target potential risk probability, the expected motion state is planned under the constraint condition that the output result of the risk cost function is minimized. According to the target potential risk probability, the expected motion state is planned under the constraint condition that the output result of the risk cost function is minimized, including:

[0180] Obtain the current motion state parameters of the target vehicle and the pre-built vehicle kinematic model;

[0181] According to the target's potential risk probability, determine the target vehicle's future motion state parameters at the next moment;

[0182] According to the current motion state parameters, future motion state parameters and vehicle kinematic model, the expected motion state is determined under the constraint condition that the output result of the risk cost function is minimized.

[0183] It is understandable that after determining the target potential risk probability, the future motion state parameters of the target vehicle at the next moment can be determined according to the target potential risk probability. Further, based on the current motion state parameters, future motion state parameters and the pre-built vehicle kinematic model of the target vehicle, the expected motion state under the constraint condition of minimizing the output result of the risk cost function can be determined.

[0184] The expected motion state may include but is not limited to vehicle speed, deceleration and heading angle, and the motion state parameters may include but are not limited to vehicle speed, position, acceleration and heading angle of the target vehicle.

[0185] In an optional embodiment, when solving the driving decision of minimizing risk under the constraint of moral driving principle based on the target potential risk probability, specifically, solving the motion state S of the target vehicle at the next moment based on the target potential risk probability (v,t+1) (v des ,a - ,δ), and adjust the speed, deceleration and heading angle of the target vehicle. The purpose is to change the speed, deceleration and heading angle of the target vehicle according to the target potential risk probability, so as to ensure that the target vehicle travels with the minimum risk.

[0186] When the target potential risk probability is not zero, that is, when the collision risk is predicted, the expected speed v of the target vehicle at the next moment is des Determine according to formula (16):

[0187] v des =v t (1-R vp ) (16)

[0188] Among them, R vpx is the target potential risk probability when the output of the risk cost function is minimized, v t is the speed of the target vehicle at time t.

[0189] In determining the desired deceleration a - It can be understood that when the target vehicle is driving, due to the safety risk caused by the pedestrian crossing the road in front, the target vehicle starts the potential risk probability R vp In a specific embodiment, when the vehicle observes danger or a pedestrian suddenly appears, it first considers safety and slows down. In motion planning, the safety cost L is consideredsafe (a - ) is related to the expected deceleration, so the safety cost L safe (a - ) is determined according to formula (17):

[0190]

[0191] in, The target vehicle is at t a The expected deceleration a - The distance traveled while driving, The target vehicle is at t a Maximum deceleration within a certain time The distance traveled while driving, The standard deviation of the solution can be obtained based on the collected driving experience data for the nonlinear least squares optimization method.

[0192] When determining the desired heading angle δ, the lateral distance between the target vehicle and the interaction area increases, which can reduce the risk. Therefore, the heading angle is changed to achieve the control of the lateral movement of the target vehicle. In an optional embodiment, the desired heading angle δ is determined according to formula (18):

[0193]

[0194] Among them, R vpx is the target potential risk probability when the output of the risk cost function is minimized, γ is the potential risk optimization rejection factor, σ e is the standard deviation of the potential field, d e is the distance between the target vehicle and the edge of the interaction area, and ± is used to indicate the left turn and right turn of the target vehicle.

[0195] In the above embodiments, the motion planning method for a vehicle is described in detail. The present application also provides an embodiment corresponding to a motion planning device for a vehicle.

[0196] Figure 4 A schematic diagram of a structure of a vehicle motion planning device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the device comprises:

[0197] a variable acquisition module 40 for acquiring observable variables for characterizing the current driving environment information of the target vehicle, potential variables for characterizing the perception and decision-making ability of traffic participants other than the target vehicle, and a pre-constructed risk cost function based on the ethical driving principle;

[0198] A potential risk probability calculation module 41 is used to calculate the potential risk probability of collision when the target vehicle interacts with the traffic participant based on the observable variables and the potential variables;

[0199] The motion state planning module 42 is used to plan the expected motion state of the target vehicle at the next moment based on the risk cost function and the potential risk probability, with the goal of minimizing the output result of the risk cost function.

[0200] In addition, the vehicle's motion planning device also includes:

[0201] A processing module is used to determine the target probability of a traffic participant performing a preset dangerous action based on observable variables and latent variables; and to determine the collision risk parameter of a collision between the target vehicle and the traffic participant when the target vehicle interacts with the traffic participant; wherein the preset dangerous action includes an illegal act that violates traffic laws;

[0202] The first determination module is used to calculate the potential risk probability according to the target probability and the collision risk parameter.

[0203] A first parameter acquisition module is used to acquire relative motion parameters between the target vehicle and the traffic participant, and related perception parameters used to describe the perception and decision-making ability of the traffic participant; wherein the relative motion parameters include relative speed, relative distance, minimum safety distance and speed direction angle, and the related perception parameters include a first parameter representing the reaction force of the traffic participant, and a second parameter representing the attitude of the traffic participant towards traffic rules;

[0204] The collision risk parameter determination module is used to determine the collision risk parameter based on the relative motion parameter and the relevant perception parameter; wherein, when the relevant perception parameter represents that the perception decision-making ability of the traffic participant is stronger, the collision risk parameter is smaller.

[0205] A probability distribution determination module is used to determine a first probability distribution of a traffic participant performing a preset dangerous action based on observable variables; and to determine a second probability distribution of a traffic participant performing a preset dangerous action based on latent variables;

[0206] A priori probability determination module, used to determine the priori probability of a traffic participant performing a preset dangerous action according to the first probability distribution and the second probability distribution;

[0207] A transition probability determination module, used to determine the transition probability of a traffic participant moving between different road nodes under the condition that the traffic participant performs a preset dangerous action;

[0208] The target probability determination module is used to determine the target probability based on the prior probability and the transition probability.

[0209] The second parameter acquisition module is used to respectively acquire the movement speed of the traffic participants at each road node and a pre-built dynamic adjacency matrix for describing the transfer characteristics of the traffic participants;

[0210] The simulation module is used to simulate the process of road users randomly walking between various road nodes based on movement speed and dynamic adjacency matrix to determine the transition probability.

[0211] The second determination module is used to determine the target potential risk probability corresponding to the minimization of the output result of the risk cost function;

[0212] The first submodule of motion state planning is used to plan the desired motion state under the constraint of minimizing the output result of the risk cost function according to the target potential risk probability.

[0213] The third parameter acquisition module is used to obtain the current motion state parameters of the target vehicle and the pre-built vehicle kinematic model;

[0214] A future motion state parameter determination module is used to determine the future motion state parameters of the target vehicle at the next moment according to the target potential risk probability;

[0215] The second submodule of motion state planning is used to determine the expected motion state under the constraint condition of minimizing the output result of the risk cost function according to the current motion state parameters, future motion state parameters and the vehicle kinematic model.

[0216] Figure 5 A schematic diagram of a structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device includes: a memory 50 for storing a computer program;

[0217] The processor 51 is used to implement the steps of the vehicle motion planning method mentioned in the above embodiment when executing the computer program.

[0218] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0219] Among them, the processor 51 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 51 can be implemented in at least one hardware form of a digital signal processor (Digital Signal Processor, referred to as DSP), a field programmable gate array (Field-Programmable Gate Array, referred to as FPGA), and a programmable logic array (Programmable Logic Array, referred to as PLA). The processor 51 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (Central Processing Unit, referred to as CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 51 may be integrated with a graphics processing unit (Graphics Processing Unit, referred to as GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 51 may also include an artificial intelligence (Artificial Intelligence, referred to as AI) processor, which is used to process computing operations related to machine learning.

[0220] The memory 50 may include one or more computer-readable storage media, which may be non-transitory. The memory 50 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 50 is at least used to store the following computer program 501, wherein, after the computer program is loaded and executed by the processor 51, it can implement the relevant steps of the vehicle motion planning method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 50 may also include an operating system 502 and data 503, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 502 may include Windows, Unix, Linux, etc. Data 503 may include but is not limited to relevant data involved in the vehicle motion planning method, etc.

[0221] In some embodiments, the electronic device may further include a display screen 52 , an input / output interface 53 , a communication interface 54 , a power supply 55 , and a communication bus 56 .

[0222] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure.

[0223] The electronic device provided in an embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the vehicle motion planning method in the above embodiment.

[0224] It should be noted that, although the operations are depicted in a specific order in the accompanying drawings, this should not be understood as requiring these operations to be performed in the specific order shown or to be performed sequentially, or requiring all illustrated operations to be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product, or packaged into multiple software products.

Claims

1. A vehicle motion planning method, characterized in that: Applied to a target vehicle, the method comprises: Obtaining observable variables for characterizing current driving environment information of a target vehicle, latent variables for characterizing perceptual decision-making capabilities of traffic participants other than the target vehicle, and a pre-constructed risk cost function based on ethical driving principles; Calculating the potential risk probability of collision between the target vehicle and the traffic participant when interacting according to the observable variables and the potential variables; Based on the risk cost function and the potential risk probability, the expected motion state of the target vehicle at the next moment is planned with the goal of minimizing the output result of the risk cost function.

2. The vehicle motion planning method according to claim 1, characterized in that: Calculating the potential risk probability of collision between the target vehicle and the traffic participant when interacting according to the observable variables and the potential variables, including: Determine the target probability of the traffic participant performing a preset dangerous action based on the observable variables and the potential variables; and determine the collision risk parameter of the target vehicle colliding with the traffic participant when interacting; wherein the preset dangerous action includes an illegal behavior that violates traffic laws; The potential risk probability is calculated according to the target probability and the collision risk parameter.

3. The vehicle motion planning method as claimed in claim 2, characterized in that: Determining a collision risk parameter of the target vehicle colliding with the traffic participant when interacting with the target vehicle comprises: Acquire the relative motion parameters between the target vehicle and the traffic participant, and the relevant perception parameters used to describe the perception and decision-making ability of the traffic participant; wherein the relative motion parameters include relative speed, relative distance, minimum safety distance and speed direction angle, and the relevant perception parameters include a first parameter characterizing the reaction force of the traffic participant, and a second parameter characterizing the attitude of the traffic participant toward traffic rules; The collision risk parameter is determined according to the relative motion parameter and the relevant perception parameter; wherein, when the relevant perception parameter represents that the traffic participant's perception and decision-making ability is stronger, the collision risk parameter is smaller.

4. The vehicle motion planning method according to claim 2, characterized in that: Determining the target probability of the traffic participant performing a preset dangerous action according to the observable variables and the potential variables includes: Based on the observable variables, determining a first probability distribution of the traffic participant performing the preset dangerous action; and based on the latent variables, determining a second probability distribution of the traffic participant performing the preset dangerous action; Determining a priori probability of the traffic participant performing the preset dangerous action according to the first probability distribution and the second probability distribution; Under the condition that the traffic participant performs the preset dangerous action, determining the transition probability of the traffic participant moving between different road nodes; The target probability is determined according to the prior probability and the transition probability.

5. The vehicle motion planning method as claimed in claim 4, characterized in that: Determining the transition probability of the traffic participant moving between different road nodes includes: Respectively obtaining the movement speed of the traffic participant at each road node and a pre-constructed dynamic adjacency matrix for describing the transfer characteristics of the traffic participant; Based on the movement speed and the dynamic adjacency matrix, a process in which the road user randomly walks between the road nodes is simulated to determine the transition probability.

6. The vehicle motion planning method according to claim 1, characterized in that: The risk cost function includes at least one of a first function based on a risk minimization principle, a second function based on a fairness principle, and a third function based on a responsibility principle.

7. The vehicle motion planning method according to claim 6, characterized in that: The first function is a function composed of the observable variables and the potential risk probability; and the first function is used to characterize the risk cost of the target vehicle colliding with the traffic participant under the condition of the observable variables; The second function is a function composed of potential risk probabilities of the target vehicle passing through different road nodes respectively; and the second function is used to characterize the risk difference of the target vehicle passing through different road nodes; The third function is a function composed of the degree of interaction between the traffic participant and the target vehicle and the potential risk probability; and the third function is used to characterize the additional risk cost of a collision between the target vehicle and the traffic participant under the condition that the traffic participant and the target vehicle have a specified interaction; wherein the additional risk cost is positively correlated with the interaction depth.

8. The vehicle motion planning method according to claim 1, characterized in that: Based on the risk cost function and the potential risk probability, with the goal of minimizing the output result of the risk cost function, planning the expected motion state of the target vehicle at the next moment includes: Determining the target potential risk probability corresponding to when the output result of the risk cost function is minimized; According to the target potential risk probability, the desired motion state is planned under the constraint condition that the output result of the risk cost function is minimized.

9. The vehicle motion planning method as claimed in claim 8, characterized in that: According to the target potential risk probability, planning the desired motion state under the constraint condition of minimizing the output result of the risk cost function includes: Acquiring current motion state parameters of the target vehicle and a pre-built vehicle kinematics model; Determining the future motion state parameters of the target vehicle at the next moment according to the target potential risk probability; The desired motion state is determined under the constraint that the output result of the risk cost function is minimized according to the current motion state parameters, the future motion state parameters and the vehicle kinematic model.

10. A motion planning device for a vehicle, characterized in that: Applied to a target vehicle, the device comprises: A variable acquisition module, for acquiring observable variables for characterizing current driving environment information of a target vehicle, latent variables for characterizing perceptual decision-making capabilities of traffic participants other than the target vehicle, and a pre-constructed risk cost function based on ethical driving principles; A potential risk probability calculation module, used to calculate the potential risk probability of collision when the target vehicle interacts with the traffic participant based on the observable variables and the potential variables; The motion state planning module is used to plan the expected motion state of the target vehicle at the next moment based on the risk cost function and the potential risk probability, with the goal of minimizing the output result of the risk cost function.

11. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, wherein: When the processor executes the program, the steps of the vehicle motion planning method according to any one of claims 1 to 9 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the vehicle motion planning method according to any one of claims 1 to 9 are implemented.

Citation Information

Cited By

  • Construction method and device of vehicle automatic driving behavior evaluation model

    CN119047085A

  • Left-turn control method, system and equipment for networked automatic driving vehicle and medium

    CN121536328A

  • A method, system, device and medium for controlling a left turn of a connected autonomous vehicle

    CN121536328B