Autonomous driving vehicle compliance decision method, device and electronic device
By constructing a potential field model based on traffic regulations, processing vehicle motion information and traffic information, and generating compliance automatic driving planning control signals, the safety and compliance issues of the automatic driving decision algorithm in mixed traffic are solved, and safety is achieved. The trade-off with compliance improves the applicability and reliability of autonomous driving technology.
Patent Information
- Application Number
- CN202410882794.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Existing autonomous driving decision-making algorithms lack understanding of human driving regulations, resulting in inability to adapt in mixed traffic situations, which may pose a threat to the safety of human life and property, and regulations are difficult to directly apply to autonomous driving decision-making systems.
By constructing a potential field model based on traffic regulations, vehicle motion information, road traffic information and target location information are obtained, motion trajectory constraint processing is performed, and autonomous driving planning control signals are generated that are in line with safety and compliance to achieve safety and compliance. sexual balance.
It realizes the safety and compliance decisions of autonomous vehicles in mixed traffic environments, ensures that vehicles comply with traffic regulations, reduces threats to human life and property, and improves the applicability and reliability of autonomous driving technology.
Smart Images

Figure CN118419072B
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a compliance decision-making method, device and electronic device for an autonomous driving vehicle. Background Art
[0002] With the development of autonomous driving technology, a mixed traffic situation in which human-driven cars and autonomous driving cars coexist will be formed in the foreseeable future. However, the current mainstream autonomous driving decision-making algorithms only take safety and collision as conditions for decision-making planning. The lack of understanding of human driving regulations will result in autonomous driving cars being unable to adapt to mixed traffic systems and even pose a threat to people’s lives and property.
[0003] The autonomous driving system is a highly complex system that will face various complex and changeable traffic conditions, which brings great challenges to the autonomous driving decision-making system. Traffic regulations regulate the reasonable driving behavior of vehicles in different driving scenarios and are the basic behavioral constraints for autonomous driving on the road. The current regulations and rules for the compliance of autonomous driving vehicles lack direct conversion of decision models, making them difficult to apply to autonomous driving decision-making systems. Summary of the invention
[0004] Based on this, it is necessary to provide a compliance decision-making method, device and electronic device for autonomous driving vehicles that can apply regulations to the model in response to the above technical issues.
[0005] In a first aspect, the present application provides a compliance decision-making method for an autonomous driving vehicle, the method comprising:
[0006] Respectively obtain vehicle motion information, road traffic information and target location information;
[0007] The motion information, road traffic information and target position information are input into a pre-built model predictive controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model predictive controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to plan and control the vehicle for compliant autonomous driving.
[0008] In one embodiment, the potential field model includes a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model, and an obstacle avoidance safety potential field model; the motion information, the road traffic information, and the target position information are input into a pre-built model prediction controller for motion trajectory constraint processing to obtain a planned motion trajectory of the vehicle, including:
[0009] Respectively using a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model, and an obstacle avoidance safety potential field model to calculate according to at least one of motion information, road traffic information, and target position information to obtain a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed regulation potential field value, an obstacle avoidance compliance potential field value, and an obstacle avoidance safety potential field value;
[0010] The total potential field is obtained according to the road marking potential field value, the speed limit potential field value, the speed guidance potential field value, the speed regulation potential field value, the obstacle avoidance compliance potential field value and the obstacle avoidance safety potential field value;
[0011] The planned motion trajectory of the vehicle is determined based on the motion information, the total potential field, the pre-built cost function, the prediction model and the control quantity constraints.
[0012] In one embodiment, the method of determining the planned motion trajectory of the vehicle based on the motion information, the total potential field, the pre-built cost function, the prediction model and the control amount constraint condition includes:
[0013] Inputting the motion information into the prediction model to obtain multiple prediction values;
[0014] The motion information, the total potential field, the weight of the tracking error and each predicted value are input into the cost function to determine a plurality of cost values;
[0015] Determine the target value of each control variable according to the minimum cost value among multiple cost values;
[0016] The planned motion trajectory of the vehicle is determined based on the target values of multiple control quantities and control quantity constraints.
[0017] In one embodiment, the inputting of the motion information into the prediction model to obtain a plurality of prediction values includes:
[0018] The motion information is input into the prediction model for prediction processing to obtain multiple prediction independent variable values;
[0019] Determine each predicted value based on the preset parameters and the values of each predicted independent variable.
[0020] In one embodiment, the motion information includes the vehicle heading angle, the longitudinal and lateral speeds of the vehicle, the cornering stiffness of the front and rear tires, the distance from the center of mass of the vehicle to the front and rear axles, the vehicle rotational inertia and the vehicle mass; the prediction model includes a first relational expression and a second relational expression; the motion information is input into the prediction model to obtain multiple prediction values, including:
[0021] Substituting the vehicle heading angle, the vehicle longitudinal and lateral speeds, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, and the vehicle rotational inertia into the first relational equation to calculate and obtain the first parameter;
[0022] Substitute the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into the second equation to calculate and obtain the second parameter;
[0023] Determine the values of each predicted independent variable based on the first parameter, the second parameter, and the current independent variable value.
[0024] In one embodiment, the road marking potential field model includes a crossable road marking potential field model and an impassable road marking potential field model, the road traffic information includes a safe distance from a vehicle to a crossable road marking, a strength coefficient of the crossable potential field, a distance from a vehicle to an impassable road marking and a potential field strength parameter, and the road marking potential field value calculated according to the road traffic information using the road marking potential field model includes:
[0025] Inputting the safe distance from the vehicle to the crossable road marking and the strength coefficient of the crossable potential field into the crossable road marking potential field model to obtain the crossable road marking potential field value;
[0026] Inputting the distance from the vehicle to the impassable road marking and the potential field strength parameters into the impassable road marking potential field model to determine the impassable road marking potential field value;
[0027] The road marking potential field value is determined according to the crossable road marking potential field value and the impassable road marking potential field value.
[0028] In one embodiment, the motion information includes a lateral speed of the vehicle, a maximum speed value, a first strength coefficient, and a second shape coefficient; the speed limit potential field value is calculated based on the motion information using a speed limit potential field model, including:
[0029] The vehicle lateral speed, maximum speed, first strength coefficient and second shape coefficient are input into the speed limit potential field model to perform potential field calculation and obtain the speed limit potential field value.
[0030] In one embodiment, the motion information includes a reference speed, a deceleration coefficient, and a third strength coefficient; the target position information includes a distance from the vehicle to the target position; and the speed guidance potential field value is obtained by calculating the motion information and the target position information using a speed guidance potential field model, including:
[0031] The distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient are input into the speed guidance potential field model to perform potential field calculation and obtain the speed guidance potential field value.
[0032] In one embodiment, the motion information includes the fourth intensity coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration; the speed adjustment potential field value is calculated according to the motion information using the speed adjustment potential field model, including:
[0033] The fourth strength coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration are input into the speed regulation potential field model to perform potential field calculation to obtain the speed regulation potential field value.
[0034] In one embodiment, the motion information includes the fifth intensity coefficient, and the road traffic information includes the longitudinal and lateral compliance distances from the vehicle to the obstacle; and the obstacle avoidance compliance potential field value is calculated based on the motion information and the road traffic information using the obstacle avoidance compliance potential field model, including:
[0035] The longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth strength coefficient are input into the obstacle avoidance compliance potential field model to perform potential field calculation and obtain the obstacle avoidance compliance potential field value.
[0036] In one embodiment, the motion information includes the sixth intensity coefficient and the third shape coefficient; the road traffic information includes the minimum longitudinal and lateral safety distances from the vehicle to the obstacle; and the obstacle avoidance safety potential field value is calculated based on the motion information and the road traffic information using the obstacle avoidance safety potential field model, including:
[0037] The minimum longitudinal and lateral safety distances from the vehicle to the obstacle, the sixth strength coefficient and the third shape coefficient are input into the obstacle avoidance safety potential field model to perform potential field calculation and obtain the obstacle avoidance safety potential field value.
[0038] In a second aspect, the present application also provides a compliance decision-making device for an autonomous driving vehicle. The device includes:
[0039] An information acquisition module, used to respectively acquire vehicle motion information, road traffic information and target location information;
[0040] A driving planning module is used to input the motion information, the road traffic information and the target position information into a pre-built model prediction controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model prediction controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to perform compliance autonomous driving planning control on the vehicle.
[0041] In a third aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0042] Respectively obtain vehicle motion information, road traffic information and target location information;
[0043] The motion information, the road traffic information and the target position information are input into a pre-built model prediction controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model prediction controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to perform compliance autonomous driving planning control on the vehicle.
[0044] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0045] Respectively obtain vehicle motion information, road traffic information and target location information;
[0046] The motion information, the road traffic information and the target position information are input into a pre-built model prediction controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model prediction controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to perform compliance autonomous driving planning control on the vehicle.
[0047] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0048] Respectively obtain vehicle motion information, road traffic information and target location information;
[0049] The motion information, the road traffic information and the target position information are input into a pre-built model prediction controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model prediction controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to perform compliance autonomous driving planning control on the vehicle.
[0050] The above-mentioned autonomous driving vehicle compliance decision-making method, device and electronic device respectively obtain the vehicle's motion information, road traffic information and target position information; input the motion information, road traffic information and target position information into a model prediction controller established by a potential field model constructed based on traffic laws and regulations to perform motion trajectory constraint processing, and obtain the vehicle's planned motion trajectory to perform compliance autonomous driving planning control on the vehicle. This application constructs a model prediction controller established by a potential field model constructed based on traffic laws and regulations. The model prediction controller can output the optimal control signal for an autonomous driving vehicle that meets safety and compliance, and can achieve a trade-off between safety and compliance in special circumstances. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A diagram of an application environment of a compliance decision-making method for an autonomous driving vehicle in one embodiment;
[0052] Figure 2 A flowchart of a compliance decision-making method for an autonomous driving vehicle in one embodiment;
[0053] Figure 3 A schematic diagram of a process for obtaining a planned motion trajectory of a vehicle in one embodiment;
[0054] Figure 4 A schematic diagram of a process for determining a planned motion trajectory of a vehicle in one embodiment;
[0055] Figure 5 A schematic diagram of a process for obtaining multiple prediction values in one embodiment;
[0056] Figure 6 A schematic diagram of a process for obtaining multiple prediction values in another embodiment;
[0057] Figure 7 A schematic diagram of a process for obtaining a road marking potential field value in one embodiment;
[0058] Figure 8 is a structural block diagram of a compliance decision-making device for an autonomous driving vehicle in one embodiment;
[0059] Fig. 9 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] First of all, before specifically introducing the technical solution of the embodiments of the present application, the technical background based on the embodiments of the present application is introduced.
[0062] With the development of autonomous driving technology, in the foreseeable future, there will be a mixed traffic situation where human-driven cars and autonomous driving cars coexist. However, the current mainstream autonomous driving decision-making algorithm only takes safety and collision as the conditions for decision-making planning. The lack of understanding of human driving regulations will lead to the inability of autonomous driving cars to adapt to the mixed traffic system, and even threaten the safety of people's lives and property. Therefore, it is necessary to establish a set of autonomous driving compliance decision-making system, which is of great significance to ensure the safety of autonomous driving and accelerate the implementation of autonomous driving technology.
[0063] The autonomous driving system is a highly complex system that will face various complex and changeable traffic conditions, which brings great challenges to the autonomous driving decision-making system. Traffic regulations regulate the reasonable driving behavior of vehicles in different driving scenarios and are the basic behavioral constraints for autonomous driving on the road. The current research on compliance methods for autonomous driving vehicles has the following main shortcomings: First, the current regulations lack direct conversion of decision-making models and cannot be directly applied to the autonomous driving decision-making system and act on driving behavior; second, the regulations are unilaterally used as hard constraints of the decision-making system, lacking a trade-off between the safety and compliance of autonomous driving vehicles in special circumstances.
[0064] Based on this, the present application provides a compliance decision-making method, device and electronic device for an autonomous driving vehicle, aiming to solve the above-mentioned technical problems.
[0065] The autonomous driving vehicle compliance decision-making method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 obtains the vehicle's motion information, road traffic information and target position information respectively; the motion information, road traffic information and target position information are input into the model prediction controller established by the potential field model constructed based on traffic laws and regulations to perform motion trajectory constraint processing, and the planned motion trajectory of the vehicle is obtained to perform compliance autonomous driving planning and control on the vehicle. Among them, the terminal 102 can be but is not limited to an intelligent vehicle-mounted device. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0066] In an exemplary embodiment, Figure 2 As shown, the embodiment of the present application provides a compliance decision method for an autonomous driving vehicle, and the method is applied to Figure 1 The terminal in is taken as an example to illustrate, including the following S201 to S202. Among them:
[0067] S201, respectively obtaining vehicle motion information, road traffic information and target location information.
[0068] Among them, road traffic information may include road marking information, surrounding traffic participant information and road speed limit information.
[0069] In the embodiment of the present application, the terminal can collect the motion information of the intelligent connected vehicle, road marking information, surrounding traffic participant information, target location information and road speed limit information. The motion information of the vehicle includes the longitudinal and lateral position in the global coordinate system. and , the speed in the vehicle coordinate system and , acceleration and ; Road marking information includes the number of road markings that can be crossed , the lateral distance from the vehicle to each road marking that can be crossed , and the lateral distance from the vehicle to the road marking that cannot be crossed ; Information about surrounding traffic participants including the number of obstacles And the longitudinal and lateral distances from the vehicle to each obstacle and ; The target location information includes the Euclidean distance from the vehicle to the target location and the target longitudinal velocity of the vehicle to reach the target position ; Road speed limit information includes the lower and upper speed limits in traffic regulations and , the lower and upper limits of acceleration and .
[0070] S202, inputting the motion information, road traffic information and target position information into a pre-built model prediction controller to perform motion trajectory constraint processing to obtain a planned motion trajectory of the vehicle.
[0071] Among them, the model predictive controller is established based on the potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to plan and control the vehicle for compliant autonomous driving.
[0072] In an embodiment of the present application, based on the motion information, road traffic information and target position information obtained in the above embodiment, the motion information, road traffic information and target position information are input into a pre-built model prediction controller for motion trajectory constraint processing, wherein the model prediction controller may include multiple common behavior constraints and road right constraints converted into a potential field model, which can be directly applied to the autonomous driving decision-making and planning system. By converting the behavior and road right constraints involved in traffic regulations into potential fields and applying them to the optimization solution process of the decision-making and planning system, a compliance decision-making system can be ultimately established to achieve full compliance with road traffic regulations on behavior and road right.
[0073] The above-mentioned compliance decision-making method for autonomous driving vehicles obtains the vehicle's motion information, road traffic information and target position information respectively; the motion information, road traffic information and target position information are input into a model prediction controller established by a potential field model constructed based on traffic laws and regulations to perform motion trajectory constraint processing, and the planned motion trajectory of the vehicle is obtained to perform compliance autonomous driving planning control on the vehicle. This application constructs a model prediction controller established by a potential field model constructed based on traffic laws and regulations. The model prediction controller can output the optimal control signal of an autonomous driving vehicle that meets safety and compliance, and can achieve a trade-off between safety and compliance in special circumstances.
[0074] In an exemplary embodiment, based on the above embodiment, see Figure 3 The potential field model of the embodiment of the present application includes a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model, and an obstacle avoidance safety potential field model; the embodiment of the present application involves inputting motion information, road traffic information, and target position information into a pre-built model prediction controller for motion trajectory constraint processing to obtain a process of planning the motion trajectory of the vehicle, including the following S301 to S303. Among them:
[0075] S301, respectively using a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model and an obstacle avoidance safety potential field model to perform calculations based on at least one of motion information, road traffic information and target position information to obtain a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed regulation potential field value, an obstacle avoidance compliance potential field value and an obstacle avoidance safety potential field value.
[0076] In the embodiment of the present application, the road marking potential field model can determine the road marking potential field value by the crossable road markings and the impassable road markings; the speed limit potential field model can obtain the speed limit potential field value according to the vehicle speed and traffic regulations. The speed guidance potential field model can be triggered when entering the range of the target position, so that the vehicle can maintain the desired speed after reaching the target position. The speed regulation potential field model can use the vehicle motion information and the road speed limit information to construct a speed regulation potential field, which can adjust the acceleration and deceleration of the vehicle to meet the relevant regulations on acceleration and deceleration in the regulations. The obstacle avoidance compliance potential field model can use the vehicle motion information and obstacle position information to construct an obstacle avoidance compliance potential field, which can keep the vehicle at a compliant distance from the surrounding obstacles. The obstacle avoidance safety potential field model uses the vehicle motion information and obstacle position information to construct an obstacle avoidance safety potential field, which can keep the vehicle at a minimum safe distance from the surrounding obstacles.
[0077] S302, obtaining a total potential field according to the road marking potential field value, the speed limit potential field value, the speed guidance potential field value, the speed adjustment potential field value, the obstacle avoidance compliance potential field value and the obstacle avoidance safety potential field value.
[0078] In the embodiment of the present application, based on the potential field values obtained in the above embodiment, the terminal can substitute each potential field value into formula (1) to obtain the total potential field.
[0079] ………… (1)
[0080] in, is the total potential field value, , , , , , , They are road sign line potential field value, speed limit potential field value, speed guidance potential field value, speed regulation potential field value, obstacle avoidance compliance potential field value and obstacle avoidance safety potential field value.
[0081] S303, determining the planned motion trajectory of the vehicle according to the motion information, the total potential field, the pre-built cost function, the prediction model and the control quantity constraint condition.
[0082] The cost function includes potential field, tracking error and control quantity, and the desired control quantity can be obtained by making the cost function value. The control quantity can include steering angle, longitudinal force and steering angle change.
[0083] In an embodiment of the present application, based on the motion information and total potential field obtained in the above embodiment, the terminal can convert the motion information and the total potential field into data and input them into the cost function, and determine the planned motion trajectory of the vehicle in combination with the prediction model and the control quantity constraints. It can also directly input the motion information and the total potential field into the cost function, and determine the planned motion trajectory of the vehicle in combination with the prediction model and the control quantity constraints.
[0084] The embodiment of the present application calculates the road marking potential field value, speed limit potential field value, speed guidance potential field value, speed regulation potential field value, obstacle avoidance compliance potential field value and obstacle avoidance safety potential field value, and can reasonably plan the vehicle's motion trajectory according to these potential field values to meet the requirements of traffic regulations.
[0085] In an exemplary embodiment, based on the above embodiment, see Figure 4 The embodiment of the present application relates to a process of determining a planned motion trajectory of a vehicle based on motion information, a total potential field, a pre-built cost function, a prediction model, and control quantity constraints, including the following S401 to S404. Among them:
[0086] S401, input motion information into a prediction model to obtain multiple prediction values.
[0087] In the embodiment of the present application, based on the motion information obtained in the above embodiment, the terminal obtains multiple prediction values by inputting the motion information into a prediction model.
[0088] S402, inputting motion information, total potential field, weight of tracking error, and each prediction value into a cost function to determine a plurality of cost values.
[0089] In the embodiment of the present application, based on the above embodiment, the motion information, the total potential field, the weight of the tracking error, and each predicted value are substituted into the cost function shown in formula (2) to determine multiple cost values.
[0090] ........(2)
[0091] in Expressed as Before step, , and are the two-dimensional weight matrices of output, control and control increment respectively, is the total potential field value,
[0092] S403, determining a target value of each control variable according to a minimum cost value among a plurality of cost values.
[0093] In the embodiment of the present application, based on the multiple cost values obtained in the above embodiment, the terminal finds the minimum cost value among the multiple cost values, and obtains the control amount of the steering angle, longitudinal force and steering angle change according to the control amount corresponding to the minimum cost value.
[0094] S404, determining the planned motion trajectory of the vehicle according to target values of multiple control variables and control variable constraints.
[0095] In an embodiment of the present application, based on the target values of multiple control quantities obtained in the above embodiment, the target values of the multiple control quantities are constrained within the control quantity constraint conditions to determine the planned motion trajectory of the vehicle.
[0096] The embodiment of the present application determines the target control amount by minimizing the cost value, so that the error of the planned motion trajectory of the vehicle is minimized and the vehicle is more stable.
[0097] In an exemplary embodiment, based on the above embodiment, see Figure 5 The embodiment of the present application relates to a process of inputting motion information into a prediction model to obtain multiple prediction values, including the following S501 to S502. Among them:
[0098] S501, inputting motion information into a prediction model for prediction processing to obtain a plurality of prediction independent variable values.
[0099] In the embodiment of the present application, based on the motion information obtained in the above embodiment, the terminal inputs the motion information into formula (3) to obtain multiple predicted independent variable values.
[0100] ......................................(3)
[0101] in, To predict the value of the independent variable, A and B are both unknown parameters related to motion information and vehicle information. Is an unknown quantity.
[0102] S502, determining each predicted value according to preset parameters and each predicted independent variable value.
[0103] In the embodiment of the present application, based on the predicted independent variable values obtained in the above embodiment, the predicted independent variable values are input into formula (4) to determine the predicted values.
[0104] ............................................................................(4)
[0105] in, is the predicted value, is the preset parameter, .
[0106] The embodiment of the present application solves the predicted independent variable value and each predicted value so as to directly substitute the value into the cost function to obtain the cost value.
[0107] In an exemplary embodiment, based on the above embodiment, see Figure 6 The motion information of the embodiment of the present application includes the vehicle heading angle, the longitudinal and lateral speeds of the vehicle, the cornering stiffness of the front and rear tires, the distance from the center of mass of the vehicle to the front and rear axles, the rotational inertia of the vehicle and the vehicle mass; the prediction model includes the first relationship and the second relationship; the embodiment of the present application involves the process of inputting the motion information into the prediction model to obtain multiple prediction values, including the following S601 to S603. Among them:
[0108] S601, the vehicle heading angle, the longitudinal and lateral speeds of the vehicle, the cornering stiffness of the front and rear tires, the distance from the center of mass of the vehicle to the front and rear axles, and the rotational inertia of the vehicle are substituted into the calculation to obtain a first parameter.
[0109] In the embodiment of the present application, the terminal substitutes the vehicle heading angle, the longitudinal and lateral speeds of the vehicle, the cornering stiffness of the front and rear tires, the distance from the center of mass of the vehicle to the front and rear axles, and the rotational inertia of the vehicle into formula (5) to calculate and obtain the first parameter.
[0110] ........(5)
[0111] in, and are the longitudinal and lateral velocities of the vehicle, is the heading angle of the vehicle, and are the cornering stiffness of the front and rear tires, and are the distances from the center of mass of the vehicle to the front and rear axles, is the rotational inertia of the vehicle.
[0112] S602, substituting the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into a second relationship to calculate and obtain a second parameter.
[0113] In the embodiment of the present application, the terminal substitutes the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into formula (6) to calculate and obtain the second parameter.
[0114] .......................................(6)
[0115] in, and are the cornering stiffness of the front and rear tires, and are the distances from the center of mass of the vehicle to the front and rear axles, is the rotational inertia of the vehicle, The quality of the vehicle itself.
[0116] S603, determining each predicted independent variable value according to the first parameter, the second parameter and the current independent variable value.
[0117] Among them, the current independent variable value is . and are the longitudinal and lateral positions of the vehicle, and are the longitudinal and lateral velocities of the vehicle, is the heading angle of the vehicle.
[0118] In the embodiment of the present application, based on the first parameter, the second parameter, and the current independent variable value obtained in the above embodiment, the first parameter, the second parameter, and the current independent variable value are substituted into the above formula (3) to obtain the predicted independent variable values. In the embodiment of the present application, the predicted independent variable values are determined to confirm the cost function The pending parameters in .
[0119] Among them, the model predictive control (MPC) satisfies formula (7).
[0120]
[0121] .............................(7)
[0122]
[0123]
[0124]
[0125] The last two terms of the above equation can be written as formula (8), and the following inequality is the control quantity constraint condition.
[0126]
[0127] .......................................(8)
[0128]
[0129] in is the maximum steering angle, is the maximum longitudinal force, is the maximum steering angle change.
[0130] In an exemplary embodiment, based on the above embodiment, see Figure 7 The road marking potential field model of the embodiment of the present application includes a crossable road marking potential field model and an impassable road marking potential field model. The road traffic information includes a safe distance from a vehicle to a crossable road marking, a strength coefficient of the crossable potential field, a distance from a vehicle to an impassable road marking, and a potential field strength parameter. The road marking potential field value is calculated based on the road traffic information using the road marking potential field model, including:
[0131] S701, input the safe distance from the vehicle to the crossable road marking and the strength coefficient of the crossable potential field into the crossable road marking potential field model to obtain the crossable road marking potential field value; input the distance from the vehicle to the non-crossable road marking and the potential field strength parameter into the impassable road marking potential field model to determine the impassable road marking potential field value.
[0132] The embodiment of the present application uses lane line information to determine a road marking potential field, which is used to keep the vehicle within the correct road range. The road marking potential field includes two types: a crossable road marking potential field and an impassable road marking potential field.
[0133] The potential field of the crossable road marking can be calculated according to formula (9):
[0134] .......................................(9)
[0135] in, For the A potential field that can cross the road markings, The safe distance from the vehicle to the road marking. is the strength coefficient of the potential field that can be crossed.
[0136] The potential field of impassable road markings can be calculated according to formula (10):
[0137] .................................(10)
[0138] in is the potential field of the road marking that cannot be crossed, and the expression is , is the distance from the vehicle to the road marking that cannot be crossed, and The vehicle has entered a road that cannot be crossed. is the potential field strength parameter.
[0139] S702, determining a road marking potential field value according to a crossable road marking potential field value and an impassable road marking potential field value.
[0140] In the embodiment of the present application, based on the crossable road marking potential field value and the impassable road marking potential field value obtained in the above embodiment, the road marking potential field value is obtained according to the sum of the two.
[0141] The embodiment of the present application can keep the vehicle within the correct road range by calculating the road marking potential field value.
[0142] In an exemplary embodiment, based on the above embodiments, the motion information of the embodiment of the present application includes vehicle lateral speed, maximum speed, first intensity coefficient and second shape coefficient; the speed limit potential field value is obtained by calculating according to the motion information using the speed limit potential field model, specifically including: inputting the vehicle lateral speed, maximum speed, first intensity coefficient and second shape coefficient into the speed limit potential field model to perform potential field calculation to obtain the speed limit potential field value.
[0143] In the embodiment of the present application, the terminal can input the vehicle's lateral speed, maximum speed, first strength coefficient and second shape coefficient into formula (11) to perform potential field calculation to obtain the speed limit potential field value.
[0144] ………………(11)
[0145] in, is the speed-limiting potential field, and are the strength coefficient and shape coefficient respectively.
[0146] The embodiment of the present application can control the vehicle speed within a certain compliant speed range by calculating the speed limit potential field value.
[0147] In an exemplary embodiment, based on the above embodiments, the motion information of the embodiment of the present application includes a reference speed, a deceleration coefficient and a third intensity coefficient; the target position information includes the distance from the vehicle to the target position; and the speed-guided potential field value is calculated based on the motion information and the target position information using a speed-guided potential field model, specifically including: inputting the distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient into the speed-guided potential field model to perform potential field calculations to obtain the speed-guided potential field value.
[0148] In the embodiment of the present application, the terminal may input the distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient into formula (12) to perform potential field calculation to obtain the speed-guided potential field value.
[0149] ……… (12)
[0150] in, is the velocity-guided potential field, is the distance from the vehicle to the target location, and It means that the vehicle has passed the target position; is the reference speed of the ego vehicle, and ,in is the deceleration coefficient; is the strength coefficient.
[0151] The embodiment of the present application calculates the speed guidance potential field value and can be triggered within the range of the ego vehicle entering the target position, so that the ego vehicle can maintain the desired speed after reaching the target position.
[0152] In an exemplary embodiment, based on the above embodiment, the motion information of the embodiment of the present application includes a fourth intensity coefficient, a second shape coefficient, a vehicle lateral speed and a maximum acceleration value; using the speed regulation potential field model to calculate the speed regulation potential field value according to the motion information specifically includes: inputting the fourth intensity coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration value into the speed regulation potential field model to perform potential field calculation to obtain the speed regulation potential field value.
[0153] In the embodiment of the present application, the terminal may input the fourth strength coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration into formula (13) to perform potential field calculation to obtain a speed adjustment potential field value.
[0154] …… (13)
[0155] in is the velocity regulating potential field, and are the strength coefficient and shape coefficient respectively.
[0156] The embodiment of the present application can adjust the acceleration and deceleration of the vehicle by calculating the speed adjustment potential field value to meet the relevant regulations on acceleration and deceleration in the law.
[0157] In an exemplary embodiment, based on the above embodiment, the motion information of the embodiment of the present application includes a fifth intensity coefficient, and the road traffic information includes the longitudinal and lateral compliance distances from the vehicle to the obstacle; using the obstacle avoidance compliance potential field model to calculate the obstacle avoidance compliance potential field value based on the motion information and road traffic information specifically includes: inputting the longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth intensity coefficient into the obstacle avoidance compliance potential field model to perform potential field calculations to obtain the obstacle avoidance compliance potential field value.
[0158] In the embodiment of the present application, the terminal can input the longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth strength coefficient into formula (14) to perform potential field calculation to obtain the obstacle avoidance compliance potential field value.
[0159] ………………(14)
[0160] in For the The obstacle avoidance compliance potential field of each obstacle is and From the car to the The longitudinal and lateral compliance distances of obstacles, is the strength coefficient.
[0161] The embodiment of the present application calculates the obstacle avoidance compliance potential field value, which can enable the vehicle to maintain a compliant distance from surrounding obstacles.
[0162] In an exemplary embodiment, based on the above embodiment, the motion information of the embodiment of the present application includes a sixth intensity coefficient and a third shape coefficient; the road traffic information includes the minimum longitudinal and lateral safety distances from the vehicle to the obstacle; and the obstacle avoidance safety potential field value is calculated based on the motion information and the road traffic information using the obstacle avoidance safety potential field model, specifically including: inputting the minimum longitudinal and lateral safety distances from the vehicle to the obstacle, the sixth intensity coefficient and the third shape coefficient into the obstacle avoidance safety potential field model to perform potential field calculations to obtain the obstacle avoidance safety potential field value.
[0163] In the embodiment of the present application, the terminal can input the minimum longitudinal and lateral safety distances from the vehicle to the obstacle, the sixth strength coefficient and the third shape coefficient into formula (15) to perform potential field calculation to obtain the obstacle avoidance safety potential field value.
[0164] ..........................(15)
[0165] in, For the The obstacle avoidance safety potential field of obstacles, and From the car to the The minimum longitudinal and lateral safety distances of obstacles. and are the strength coefficient and shape coefficient respectively.
[0166] The embodiment of the present application can maintain a minimum safe distance between the vehicle and surrounding obstacles by calculating the obstacle avoidance safety potential field value.
[0167] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0168] Based on the same inventive concept, the embodiment of the present application also provides an autonomous driving vehicle compliance decision device for implementing the autonomous driving vehicle compliance decision method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more autonomous driving vehicle compliance decision device embodiments provided below can refer to the limitations of the autonomous driving vehicle compliance decision method above, and will not be repeated here.
[0169] In one embodiment, Figure 8 As shown, a self-driving car compliance decision-making device 800 is provided, comprising:
[0170] The information acquisition module 801 is used to respectively acquire the vehicle's motion information, road traffic information and target location information;
[0171] The driving planning module 802 is used to input the motion information, the road traffic information and the target position information into a pre-built model prediction controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model prediction controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to perform compliance autonomous driving planning control on the vehicle.
[0172] In one embodiment, the driving planning module includes:
[0173] a potential field value determination unit, configured to respectively use a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model, and an obstacle avoidance safety potential field model to calculate according to at least one of motion information, road traffic information, and target position information to obtain a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed regulation potential field value, an obstacle avoidance compliance potential field value, and an obstacle avoidance safety potential field value;
[0174] A total potential field determination unit is used to obtain a total potential field according to a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed adjustment potential field value, an obstacle avoidance compliance potential field value, and an obstacle avoidance safety potential field value;
[0175] The motion trajectory determination unit is used to determine the planned motion trajectory of the vehicle based on motion information, total potential field, pre-built cost function, prediction model and control quantity constraints.
[0176] In one embodiment, the motion trajectory determination unit includes:
[0177] A prediction value determination subunit, used for inputting motion information into a prediction model to obtain a plurality of prediction values;
[0178] A cost value determination subunit is used to input motion information, total potential field, weight of tracking error, and each prediction value into a cost function to determine a plurality of cost values;
[0179] A target value determination subunit, used to determine the target value of each control variable according to the minimum cost value among the multiple cost values;
[0180] The motion trajectory determination subunit is used to determine the planned motion trajectory of the vehicle according to the target values of multiple control quantities and control quantity constraints.
[0181] In one embodiment, the prediction value determination subunit is specifically used for:
[0182] The motion information is input into the prediction model for prediction processing to obtain multiple prediction independent variable values;
[0183] Determine each predicted value based on the preset parameters and the values of each predicted independent variable.
[0184] In one embodiment, the motion information includes the vehicle heading angle, the longitudinal and lateral speeds of the vehicle, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, the vehicle rotational inertia and the vehicle mass; the prediction model includes a first relational expression and a second relational expression; the prediction value determination subunit is further specifically used for:
[0185] Substituting the vehicle heading angle, the vehicle longitudinal and lateral speeds, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, and the vehicle rotational inertia into the first relational equation to calculate and obtain the first parameter;
[0186] Substitute the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into the second equation to calculate and obtain the second parameter;
[0187] Determine each predicted independent variable value based on the first parameter, the second parameter and the current independent variable value.
[0188] In one embodiment, the control amount constraint conditions include steering angle constraint, longitudinal force constraint, and steering angle change constraint, and the motion trajectory determination subunit is specifically used for:
[0189] Determining a target steering angle change amount according to the steering angle change amount and the target control amount;
[0190] The planned motion trajectory of the vehicle is determined according to the target steering angle change.
[0191] In one embodiment, the road marking potential field model includes a crossable road marking potential field model and an impassable road marking potential field model, the road traffic information includes a safe distance from a vehicle to a crossable road marking, a strength coefficient of the crossable potential field, a distance from a vehicle to an impassable road marking, and a potential field strength parameter, and the potential field value determination unit includes:
[0192] A first potential field value determination subunit is used to input the safe distance from the vehicle to the crossable road marking and the strength coefficient of the crossable potential field into the crossable road marking potential field model to obtain the crossable road marking potential field value;
[0193] The second potential field value determination subunit is used to input the distance from the vehicle to the impassable road marking and the potential field strength parameter into the impassable road marking potential field model to determine the impassable road marking potential field value;
[0194] The road marking potential field value determination subunit is used to determine the road marking potential field value according to the road marking potential field value that can be crossed and the road marking potential field value that cannot be passed.
[0195] In one embodiment, the motion information includes a lateral velocity of the vehicle, a maximum velocity, a first intensity coefficient, and a second shape coefficient; and the potential field value determination unit includes:
[0196] The speed limit potential field value determination subunit is used to input the vehicle lateral speed, maximum speed, first strength coefficient and second shape coefficient into the speed limit potential field model to perform potential field calculation and obtain the speed limit potential field value.
[0197] In one embodiment, the motion information includes a reference speed, a deceleration coefficient, and a third intensity coefficient; the target position information includes a distance from the vehicle to the target position; and the potential field value determination unit includes:
[0198] The guidance potential field value determination subunit is used to input the distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient into the speed guidance potential field model to perform potential field calculation and obtain the speed guidance potential field value.
[0199] In one embodiment, the motion information includes the fourth intensity coefficient, the second shape coefficient, the vehicle lateral velocity and the maximum acceleration; and the potential field value determination unit includes:
[0200] The regulating potential field value determination subunit is used to input the fourth strength coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration into the speed regulating potential field model to perform potential field calculation and obtain the speed regulating potential field value.
[0201] In one embodiment, the motion information includes the fifth intensity coefficient, the road traffic information includes the longitudinal and lateral compliance distances from the vehicle to the obstacle; and the potential field value determination unit includes:
[0202] The compliance potential field value determination subunit is used to input the longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth strength coefficient into the obstacle avoidance compliance potential field model to perform potential field calculation and obtain the obstacle avoidance compliance potential field value.
[0203] In one embodiment, the motion information includes the sixth intensity coefficient and the third shape coefficient; the road traffic information includes the minimum longitudinal and lateral safety distances from the vehicle to the obstacle; and the potential field value determination unit includes:
[0204] The safety potential field value subunit is used to input the minimum longitudinal and lateral safety distances from the vehicle to the obstacle, the sixth strength coefficient and the third shape coefficient into the obstacle avoidance safety potential field model to perform potential field calculation and obtain the obstacle avoidance safety potential field value.
[0205] Each module in the above-mentioned autonomous driving vehicle compliance decision-making device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0206] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Fig. 9 As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and the external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a compliance decision method for an autonomous vehicle is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0207] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0208] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0209] Respectively obtain vehicle motion information, road traffic information and target location information;
[0210] The motion information, road traffic information and target position information are input into a pre-built model predictive controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model predictive controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to plan and control the vehicle for compliant autonomous driving.
[0211] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0212] Respectively using a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model, and an obstacle avoidance safety potential field model to calculate according to at least one of motion information, road traffic information, and target position information to obtain a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed regulation potential field value, an obstacle avoidance compliance potential field value, and an obstacle avoidance safety potential field value;
[0213] The total potential field is obtained according to the road marking potential field value, the speed limit potential field value, the speed guidance potential field value, the speed regulation potential field value, the obstacle avoidance compliance potential field value and the obstacle avoidance safety potential field value;
[0214] The planned motion trajectory of the vehicle is determined based on the motion information, the total potential field, the pre-built cost function, the prediction model and the control quantity constraints.
[0215] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0216] Inputting the motion information into the prediction model to obtain multiple prediction values;
[0217] The motion information, the total potential field, the weight of the tracking error and each predicted value are input into the cost function to determine a plurality of cost values;
[0218] Determine the target value of each control variable according to the minimum cost value among multiple cost values;
[0219] The planned motion trajectory of the vehicle is determined based on the target values of multiple control quantities and control quantity constraints.
[0220] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0221] The motion information is input into the prediction model for prediction processing to obtain multiple prediction independent variable values;
[0222] Determine each predicted value based on the preset parameters and the values of each predicted independent variable.
[0223] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0224] Substituting the vehicle heading angle, the vehicle longitudinal and lateral speeds, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, and the vehicle rotational inertia into the first relational equation to calculate and obtain the first parameter;
[0225] Substitute the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into the second equation to calculate and obtain the second parameter;
[0226] Determine each predicted independent variable value based on the first parameter, the second parameter and the current independent variable value.
[0227] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0228] Determining a target steering angle change amount according to the steering angle change amount and the target control amount;
[0229] The planned motion trajectory of the vehicle is determined according to the target steering angle change.
[0230] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0231] Inputting the safe distance from the vehicle to the crossable road marking and the strength coefficient of the crossable potential field into the crossable road marking potential field model to obtain the crossable road marking potential field value;
[0232] Inputting the distance from the vehicle to the impassable road marking and the potential field strength parameters into the impassable road marking potential field model to determine the impassable road marking potential field value;
[0233] The road marking potential field value is determined according to the crossable road marking potential field value and the impassable road marking potential field value.
[0234] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0235] The vehicle lateral speed, maximum speed, first strength coefficient and second shape coefficient are input into the speed limit potential field model to perform potential field calculation and obtain the speed limit potential field value.
[0236] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0237] The distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient are input into the speed guidance potential field model to perform potential field calculation and obtain the speed guidance potential field value.
[0238] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0239] The fourth strength coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration are input into the speed regulation potential field model to perform potential field calculation to obtain the speed regulation potential field value.
[0240] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0241] The longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth strength coefficient are input into the obstacle avoidance compliance potential field model to perform potential field calculation and obtain the obstacle avoidance compliance potential field value.
[0242] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0243] The minimum longitudinal and lateral safety distances from the vehicle to the obstacle, the sixth strength coefficient and the third shape coefficient are input into the obstacle avoidance safety potential field model to perform potential field calculation and obtain the obstacle avoidance safety potential field value.
[0244] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0245] Respectively obtain vehicle motion information, road traffic information and target location information;
[0246] The motion information, road traffic information and target position information are input into a pre-built model predictive controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model predictive controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to plan and control the vehicle for compliant autonomous driving.
[0247] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0248] Respectively using a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model, and an obstacle avoidance safety potential field model to calculate according to at least one of motion information, road traffic information, and target position information to obtain a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed regulation potential field value, an obstacle avoidance compliance potential field value, and an obstacle avoidance safety potential field value;
[0249] The total potential field is obtained according to the road marking potential field value, the speed limit potential field value, the speed guidance potential field value, the speed regulation potential field value, the obstacle avoidance compliance potential field value and the obstacle avoidance safety potential field value;
[0250] The planned motion trajectory of the vehicle is determined based on the motion information, the total potential field, the pre-built cost function, the prediction model and the control quantity constraints.
[0251] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0252] Inputting the motion information into the prediction model to obtain multiple prediction values;
[0253] The motion information, the total potential field, the weight of the tracking error and each predicted value are input into the cost function to determine a plurality of cost values;
[0254] Determine the target value of each control variable according to the minimum cost value among multiple cost values;
[0255] The planned motion trajectory of the vehicle is determined based on the target values of multiple control quantities and control quantity constraints.
[0256] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0257] The motion information is input into the prediction model for prediction processing to obtain multiple prediction independent variable values;
[0258] Determine each predicted value based on the preset parameters and the values of each predicted independent variable.
[0259] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0260] Substituting the vehicle heading angle, the vehicle longitudinal and lateral speeds, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, and the vehicle rotational inertia into the first relational equation to calculate and obtain the first parameter;
[0261] Substitute the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into the second equation to calculate and obtain the second parameter;
[0262] Determine each predicted independent variable value based on the first parameter, the second parameter and the current independent variable value.
[0263] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0264] Determining a target steering angle change amount according to the steering angle change amount and the target control amount;
[0265] The planned motion trajectory of the vehicle is determined according to the target steering angle change.
[0266] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0267] Inputting the safe distance from the vehicle to the crossable road marking and the strength coefficient of the crossable potential field into the crossable road marking potential field model to obtain the crossable road marking potential field value;
[0268] Inputting the distance from the vehicle to the impassable road marking and the potential field strength parameters into the impassable road marking potential field model to determine the impassable road marking potential field value;
[0269] The road marking potential field value is determined according to the crossable road marking potential field value and the impassable road marking potential field value.
[0270] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0271] The vehicle lateral speed, maximum speed, first strength coefficient and second shape coefficient are input into the speed limit potential field model to perform potential field calculation and obtain the speed limit potential field value.
[0272] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0273] The distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient are input into the speed guidance potential field model to perform potential field calculation and obtain the speed guidance potential field value.
[0274] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0275] The fourth strength coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration are input into the speed regulation potential field model to perform potential field calculation to obtain the speed regulation potential field value.
[0276] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0277] The longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth strength coefficient are input into the obstacle avoidance compliance potential field model to perform potential field calculation and obtain the obstacle avoidance compliance potential field value.
[0278] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0279] The minimum longitudinal and lateral safety distances from the vehicle to the obstacle, the sixth strength coefficient and the third shape coefficient are input into the obstacle avoidance safety potential field model to perform potential field calculation and obtain the obstacle avoidance safety potential field value.
[0280] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0281] Respectively obtain vehicle motion information, road traffic information and target location information;
[0282] The motion information, road traffic information and target position information are input into a pre-built model predictive controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model predictive controller is established based on a potential field model constructed based on traffic laws and regulations, and the planned motion trajectory is used to plan and control the vehicle for compliant autonomous driving.
[0283] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0284] Respectively using a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model, and an obstacle avoidance safety potential field model to calculate according to at least one of motion information, road traffic information, and target position information to obtain a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed regulation potential field value, an obstacle avoidance compliance potential field value, and an obstacle avoidance safety potential field value;
[0285] The total potential field is obtained according to the road marking potential field value, the speed limit potential field value, the speed guidance potential field value, the speed regulation potential field value, the obstacle avoidance compliance potential field value and the obstacle avoidance safety potential field value;
[0286] The planned motion trajectory of the vehicle is determined based on the motion information, the total potential field, the pre-built cost function, the prediction model and the control quantity constraints.
[0287] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0288] Inputting the motion information into the prediction model to obtain multiple prediction values;
[0289] The motion information, the total potential field, the weight of the tracking error and each predicted value are input into the cost function to determine a plurality of cost values;
[0290] Determine the target value of each control variable according to the minimum cost value among multiple cost values;
[0291] The planned motion trajectory of the vehicle is determined based on the target values of multiple control quantities and control quantity constraints.
[0292] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0293] The motion information is input into the prediction model for prediction processing to obtain multiple prediction independent variable values;
[0294] Determine each predicted value based on the preset parameters and the values of each predicted independent variable.
[0295] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0296] Substituting the vehicle heading angle, the vehicle longitudinal and lateral speeds, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, and the vehicle rotational inertia into the first relational equation to calculate and obtain the first parameter;
[0297] Substitute the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into the second equation to calculate and obtain the second parameter;
[0298] Determine each predicted independent variable value based on the first parameter, the second parameter and the current independent variable value.
[0299] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0300] Determining a target steering angle change amount according to the steering angle change amount and the target control amount;
[0301] The planned motion trajectory of the vehicle is determined according to the target steering angle change.
[0302] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0303] Inputting the safe distance from the vehicle to the crossable road marking and the strength coefficient of the crossable potential field into the crossable road marking potential field model to obtain the crossable road marking potential field value;
[0304] Inputting the distance from the vehicle to the impassable road marking and the potential field strength parameters into the impassable road marking potential field model to determine the impassable road marking potential field value;
[0305] The road marking potential field value is determined according to the crossable road marking potential field value and the impassable road marking potential field value.
[0306] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0307] The vehicle lateral speed, maximum speed, first strength coefficient and second shape coefficient are input into the speed limit potential field model to perform potential field calculation and obtain the speed limit potential field value.
[0308] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0309] The distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient are input into the speed guidance potential field model to perform potential field calculation and obtain the speed guidance potential field value.
[0310] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0311] The fourth strength coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration are input into the speed regulation potential field model to perform potential field calculation to obtain the speed regulation potential field value.
[0312] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0313] The longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth strength coefficient are input into the obstacle avoidance compliance potential field model to perform potential field calculation and obtain the obstacle avoidance compliance potential field value.
[0314] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0315] The minimum longitudinal and lateral safety distances from the vehicle to the obstacle, the sixth strength coefficient and the third shape coefficient are input into the obstacle avoidance safety potential field model to perform potential field calculation and obtain the obstacle avoidance safety potential field value.
[0316] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0317] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0318] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0319] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A compliance decision method for an autonomous vehicle, characterized in that: The method comprises: Respectively obtain vehicle motion information, road traffic information and target location information; The motion information, the road traffic information and the target position information are input into a pre-built model prediction controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle; the model prediction controller is established based on a potential field model constructed according to traffic laws and regulations, and the planned motion trajectory is used to perform compliance automatic driving planning control on the vehicle; the potential field model includes a road marking potential field model, a speed limit potential field model, a speed guidance potential field model, a speed regulation potential field model, an obstacle avoidance compliance potential field model and an obstacle avoidance safety potential field model; The step of inputting the motion information, the road traffic information and the target position information into a pre-built model prediction controller for motion trajectory constraint processing to obtain the planned motion trajectory of the vehicle includes: Respectively using the road marking potential field model, the speed limit potential field model, the speed guidance potential field model, the speed regulation potential field model, the obstacle avoidance compliance potential field model, and the obstacle avoidance safety potential field model to calculate according to at least one of the motion information, the road traffic information, and the target position information to obtain a road marking potential field value, a speed limit potential field value, a speed guidance potential field value, a speed regulation potential field value, an obstacle avoidance compliance potential field value, and an obstacle avoidance safety potential field value; A total potential field is obtained according to the road marking potential field value, the speed limit potential field value, the speed guidance potential field value, the speed adjustment potential field value, the obstacle avoidance compliance potential field value and the obstacle avoidance safety potential field value; Determining a planned motion trajectory of the vehicle according to the motion information, the total potential field, a pre-constructed cost function, a prediction model, and control quantity constraints; Wherein, determining the planned motion trajectory of the vehicle according to the motion information, the total potential field, a pre-constructed cost function, a prediction model and control quantity constraints includes: Inputting the motion information into the prediction model to obtain a plurality of prediction values; Inputting the motion information, the total potential field, the weight of the tracking error, and each of the predicted values into the cost function to determine a plurality of cost values; Determining a target value of each of the control variables according to a minimum cost value among the multiple cost values; Determining a planned motion trajectory of the vehicle according to a plurality of target values of the control quantities and the control quantity constraints; The step of inputting the motion information into the prediction model to obtain a plurality of prediction values comprises: The motion information is input into the prediction model for prediction processing to obtain multiple prediction independent variable values; the motion information includes the vehicle heading angle, the longitudinal and lateral speeds of the vehicle, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, the vehicle rotational inertia and the vehicle mass; the prediction model includes a first relational expression and a second relational expression; Determine each predicted value according to preset parameters and each predicted independent variable value; The step of inputting the motion information into the prediction model for prediction processing to obtain multiple prediction independent variable values includes: Substituting the vehicle heading angle, the vehicle longitudinal and lateral speeds, the cornering stiffness of the front and rear tires, the distance from the vehicle center of mass to the front and rear axles, and the vehicle rotational inertia into the first relational equation to calculate and obtain a first parameter; Substituting the cornering stiffness of the front and rear tires, the vehicle mass, and the distance from the vehicle center of mass to the front and rear axles into the second relational equation to calculate and obtain a second parameter; The predicted independent variable values are determined according to the first parameter, the second parameter and the current independent variable value.
2. The method according to claim 1, characterized in that: The road marking potential field model includes a crossable road marking potential field model and an impassable road marking potential field model, the road traffic information includes a safe distance from a vehicle to a crossable road marking, a strength coefficient of the crossable potential field, a distance from a vehicle to an impassable road marking and a potential field strength parameter, and the road marking potential field value is obtained by calculating the road marking potential field model according to the road traffic information, including: Inputting the safe distance from the vehicle to the crossable road marking and the strength coefficient of the crossable potential field into the crossable road marking potential field model to obtain the crossable road marking potential field value; Inputting the distance from the vehicle to the impassable road marking and the potential field strength parameter into the impassable road marking potential field model to determine the impassable road marking potential field value; The road marking potential field value is determined according to the crossable road marking potential field value and the impassable road marking potential field value.
3. The method according to claim 1, characterized in that: The motion information includes a lateral speed of the vehicle, a maximum speed, a first strength coefficient, and a second shape coefficient; and the speed limit potential field value is obtained by calculating the speed limit potential field value according to the motion information using the speed limit potential field model, including: The vehicle lateral speed, the maximum speed value, the first strength coefficient and the second shape coefficient are input into the speed limit potential field model to perform potential field calculation to obtain the speed limit potential field value.
4. The method according to claim 1, characterized in that: The motion information includes a reference speed, a deceleration coefficient, and a third strength coefficient; the target position information includes a distance from the vehicle to the target position; and the speed guidance potential field value is obtained by calculating the motion information and the target position information using the speed guidance potential field model, including: The distance from the vehicle to the target position, the reference speed, the deceleration coefficient and the third intensity coefficient are input into the speed guidance potential field model to perform potential field calculation to obtain the speed guidance potential field value.
5. The method according to claim 1, characterized in that The motion information includes a fourth intensity coefficient, a second shape coefficient, a vehicle lateral velocity, and a maximum acceleration; and the speed adjustment potential field value is calculated according to the motion information using the speed adjustment potential field model, including: The fourth strength coefficient, the second shape coefficient, the vehicle lateral speed and the maximum acceleration value are input into the speed regulation potential field model to perform potential field calculation to obtain the speed regulation potential field value.
6. The method according to claim 1, characterized in that The motion information includes a fifth intensity coefficient, and the road traffic information includes a longitudinal and lateral compliance distance from the vehicle to an obstacle; and the obstacle avoidance compliance potential field value is obtained by calculating according to the motion information and the road traffic information using the obstacle avoidance compliance potential field model, including: The longitudinal and lateral compliance distances from the vehicle to the obstacle and the fifth intensity coefficient are input into the obstacle avoidance compliance potential field model to perform potential field calculation to obtain the obstacle avoidance compliance potential field value.
