Trajectory coefficient transformation generation method and system for lane-changing path of autonomous driving vehicle

Through the QR decomposition method of HouseHolder transformation, the nonlinear problem of the lane changing planning path of the autonomous vehicle is converted into a linear problem, which solves the problem of insufficient accuracy and robustness of the trajectory fitting during the lane changing process, and achieves smooth and comfortable and safe trajectory generation, improving the riding experience of autonomous vehicles.

CN117302258BActive Publication Date: 2024-10-18DONGFENG COMML VEHICLE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311250422.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2024-10-18
Estimated Expiration
2043-09-25

AI Technical Summary

Technical Problem

During the lane-changing process of autonomous vehicles, existing technology is difficult to quickly and accurately calculate a smooth, comfortable and continuous trajectory, especially when there are nonlinear factors in complex environments, resulting in insufficient accuracy and robustness of planned paths.

Method used

The QR decomposition method of HouseHolder transformation is used to convert the nonlinear problem of lane changing planning path into a linear problem. Through discrete point sampling and trajectory coefficient correction strategies, the trajectory coefficient of the optimal planning path is generated to ensure the smoothness and safety of the trajectory.

Benefits of technology

It realizes the rapid solution of the trajectory fitting coefficient during the lane changing process of the autonomous vehicle, generates a smooth, comfortable and continuous lane changing planning path, and improves the vehicle's riding comfort and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117302258B_ABST
    Figure CN117302258B_ABST
Patent Text Reader

Abstract

The present application discloses a method and system for transforming and generating trajectory coefficients of lane-changing paths of autonomous driving vehicles, including the following steps: sampling and acquiring discrete points in the process of the vehicle changing lanes between the boundaries of two lanes; constructing a nonlinear problem-solving function for the lane-changing planning path of the vehicle, and converting the nonlinear problem-solving function for the lane-changing planning path of the vehicle into a linear problem-solving function based on the QR decomposition method of the HouseHolder transformation; and generating trajectory coefficients for the optimal planning path for the lane-changing of the vehicle based on the collected discrete points and the converted linear problem-solving function. The present application converts the nonlinear problem of the lane-changing planning path of the vehicle into a linear planning problem based on the QR decomposition method of the HouseHolder transformation, thereby achieving a faster solution to the optimal value of the trajectory fitting coefficient in autonomous driving, and thereby fitting a smooth, comfortable and continuous lane-changing planning path curve, thereby ensuring the ride comfort and safety of the autonomous driving vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of autonomous driving systems, and specifically to a method and system for generating trajectory coefficient transformations for lane change paths of autonomous driving vehicles. Background Art

[0002] Vehicle motion trajectory planning is a high-dimensional optimization problem with multiple nonlinear constraints. It consumes a lot of computing resources. Due to the complexity and real-time nature of the scene, it is not always possible to obtain the optimal trajectory quickly and easily. This places high demands on the robustness and practicality of the planning algorithm.

[0003] The goal of vehicle trajectory planning is to calculate a safe and comfortable trajectory for the driverless vehicle to complete the predetermined driving task. Safety means that the vehicle maintains an appropriate distance from obstacles during driving to avoid collisions; comfort means providing passengers with a comfortable riding experience, such as avoiding excessive acceleration and deceleration, slowing down appropriately on curves to avoid excessive centripetal acceleration, etc.

[0004] Trajectory generation based on curve fitting is a common method that represents the planned trajectory as a set of mathematical functions or the results of curve fitting. The following are the basic steps of a motion planning method for an autonomous vehicle:

[0005] The first step is to collect trajectory data of the autonomous vehicle:

[0006] First, we need to collect trajectory data points. These data points can be obtained from actual motion or generated through simulation, etc. The data points should contain location and timestamp information.

[0007] Step 2: Select the trajectory function:

[0008] According to the specific application scenarios and requirements, select appropriate mathematical functions or curve models for fitting. Common fitting functions include polynomial functions, Bezier curves, spline curves, etc.

[0009] Step 3: Fitting trajectory curve:

[0010] The selected fitting function is used to perform curve fitting operation on the preprocessed data. The fitting goal is to find the best fitting curve so that it can pass through the preprocessed data points as much as possible.

[0011] Step 4: Generate planning trajectory:

[0012] According to the fitted curve model, the planned trajectory can be generated by interpolation or parameterization. The planned trajectory can be used to control the motion path and speed of the autonomous driving vehicle system.

[0013] It should be noted that the trajectory planning method based on curve fitting may have certain errors, especially in complex environments or when there are nonlinear factors. Therefore, in practical applications, it is also necessary to combine theoretical algorithms such as numerical optimization to solve the above nonlinear problems and generate trajectories and velocities to improve the accuracy and robustness of planning. Summary of the invention

[0014] The purpose of this application is to overcome the shortcomings of the above-mentioned background technology and to provide a method and system for generating trajectory coefficient transformation of the lane changing path of an autonomous driving vehicle.

[0015] In a first aspect, the present application provides a method for generating trajectory coefficient transformation of a lane change path of an autonomous driving vehicle, comprising the following steps:

[0016] When the autonomous vehicle is preparing to change lanes, it samples the discrete points of the vehicle in the process of changing lanes between the boundaries of the two lanes, taking the current position of the vehicle, the position of the obstacle, and the boundaries of the lane lines of the two lanes as constraints;

[0017] Construct a nonlinear problem-solving function for the lane-changing planning path of the vehicle, and convert the nonlinear problem-solving function for the lane-changing planning path of the vehicle into a linear problem-solving function based on the QR decomposition method of HouseHolder transformation;

[0018] According to the collected discrete points and the converted linear problem solving function, the trajectory coefficients of the optimal planning path for the vehicle to change lanes are generated.

[0019] According to the first aspect, in a first implementation of the first aspect, after the step of generating the trajectory coefficient of the optimal planned path for the lane change of the vehicle according to the collected discrete points and the converted linear problem solving function, the following steps are also included:

[0020] Obtain the straightness of the lane where the vehicle is located;

[0021] According to the straightness of the lane in which the vehicle is located, different trajectory coefficient correction strategies for the planned lane changing path of the vehicle are executed.

[0022] According to the first implementation of the first aspect, in the second implementation of the first aspect, the step of executing different trajectory coefficient correction strategies for planned paths of lane changing of the vehicle according to the straight working condition of the lane in which the vehicle is located specifically includes the following steps:

[0023] When the lane where the vehicle is located is a straight lane, the trajectory coefficient of the optimal planning path for the vehicle's lane change is used as the trajectory coefficient of the planning path for the vehicle's lane change;

[0024] When the lane where the vehicle is located is not a straight lane, the trajectory coefficient of the planned path for the vehicle's lane change is corrected and obtained according to the camera recognition quality of the left and right lanes of the lane where the vehicle is located.

[0025] According to the second implementation of the first aspect, in the third implementation of the first aspect, when the lane in which the host vehicle is located is a non-straight lane, correcting and obtaining the trajectory coefficient of the planned path for the lane change of the host vehicle according to the camera recognition quality of the left and right lanes of the lane in which the host vehicle is located specifically includes the following steps:

[0026] When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of any of the left and right lanes is good, the trajectory coefficient of the planned path for the vehicle's lane change is corrected based on the lane coefficient of the lane with good camera recognition quality;

[0027] When the lane where the vehicle is located is a non-straight lane and the recognition quality of the left and right lanes of the lane where the vehicle is located is poor, the trajectory coefficient of the optimal planned path for the lane change of the vehicle is generated as the trajectory coefficient of the planned path for the lane change of the vehicle.

[0028] According to the second implementation of the first aspect, in the fourth implementation of the first aspect, when the lane in which the host vehicle is located is a non-straight lane and the camera recognition quality of any one of the left and right lanes is good, the step of correcting the trajectory coefficient of the planned path for the lane change of the host vehicle according to the lane coefficient of the lane with good camera recognition quality specifically includes the following steps:

[0029] When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the left and right lanes is good, the trajectory coefficient of the planned path for the vehicle to change lanes is the average of the road coefficients of the left lane and the right lane.

[0030] According to the fourth implementation of the first aspect, in the fifth implementation of the first aspect, when the lane in which the vehicle is located is a non-straight lane and the camera recognition quality of any of the left and right lanes is good, the step of correcting and obtaining the trajectory coefficient of the planned path for the lane change of the vehicle according to the lane coefficient of the lane with good camera recognition quality also includes the following steps:

[0031] When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the left lane is good, the trajectory coefficient of the planned path for lane change in the lane is corrected according to the lane coefficient of the left lane.

[0032] According to the fourth implementation manner of the first aspect, in the sixth implementation manner of the first aspect, when the lane in which the host vehicle is located is a non-straight lane and the camera recognition quality of any one of the left and right lanes is good, the step of correcting and obtaining the trajectory coefficient of the planned path for the lane change of the host vehicle according to the lane coefficient of the lane with good camera recognition quality further includes the following steps:

[0033] When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the right lane is good, the trajectory coefficient of the planned path of the lane is corrected according to the lane coefficient of the right lane.

[0034] In a second aspect, the present application provides a trajectory coefficient transformation generation system for an autonomous driving vehicle lane change path, characterized in that it includes:

[0035] The discrete point sampling module is used to sample and obtain the discrete points of the vehicle in the process of changing lanes between the boundaries of the two lanes, taking the current position of the vehicle, the position of the obstacle and the boundaries of the lanes of the two lanes as constraints;

[0036] A transformation module is used to construct a nonlinear problem-solving function for the lane-changing planning path of the vehicle, and convert the nonlinear problem-solving function for the lane-changing planning path of the vehicle into a linear problem-solving function based on the QR decomposition method of HouseHolder transformation;

[0037] The trajectory coefficient acquisition module is in communication with the discrete point sampling module and the transformation module, and is used to generate the trajectory coefficient of the optimal planned path for the lane change of the vehicle according to the collected discrete points and the converted linear problem solving function.

[0038] According to the second aspect, in a first implementation of the second aspect, it further includes:

[0039] A lane straightness condition acquisition module is used to obtain the straightness condition of the lane where the vehicle is located;

[0040] The trajectory coefficient correction module is in communication with the lane straightness working condition acquisition module and is used to execute different trajectory coefficient correction strategies for the planned paths of the vehicle's lane change according to the straightness working condition of the lane in which the vehicle is located.

[0041] According to a first implementation of the second aspect, in a second implementation of the second aspect, the trajectory coefficient correction module includes:

[0042] A first trajectory coefficient correction acquisition unit is in communication with the lane straightness working condition acquisition module, and is used to use the trajectory coefficient of the optimal planned path for lane change of the vehicle as the trajectory coefficient of the planned path for lane change of the vehicle when the lane where the vehicle is located is a straight lane;

[0043] The second trajectory coefficient correction acquisition unit is communicatively connected to the lane straightness condition acquisition module, and is used to correct and acquire the trajectory coefficient of the planned path for lane change of the vehicle according to the camera recognition quality of the left and right lanes of the lane where the vehicle is located when the lane where the vehicle is located is a non-straight lane.

[0044] Compared with the prior art, the advantages of this application are as follows:

[0045] The trajectory coefficient transformation and generation method for the lane changing path of an autonomous driving vehicle provided in the present application is based on the QR decomposition method of the HouseHolder transformation, which converts the nonlinear problem of the lane changing planning path of the vehicle into a linear planning problem, that is, converts the non-convex optimization into convex optimization, so as to better calculate the optimal value of the nonlinear problem, thereby achieving a faster solution of the trajectory fitting coefficient in autonomous driving, and fitting a smooth, comfortable and continuous lane changing planning path curve accordingly, thereby ensuring the ride comfort and safety of the autonomous driving vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A method flow chart of a method for transforming and generating trajectory coefficients of a lane-changing path of an autonomous driving vehicle provided in an embodiment of the present application;

[0047] Figure 2 A schematic diagram of the HouseHolder transformation of the trajectory coefficient transformation generation method of the lane change path of the autonomous driving vehicle provided in an embodiment of the present application;

[0048] Figure 3 A schematic diagram of sampling of discrete points in a method for generating trajectory coefficient transformation of a lane-changing path of an autonomous driving vehicle provided in an embodiment of the present application;

[0049] Figure 4 Another method flow chart of the method for transforming and generating trajectory coefficients of a lane-changing path of an autonomous driving vehicle provided in an embodiment of the present application;

[0050] Figure 5 A schematic diagram of a real-life scene of a lane environment in which the vehicle is located in the method for generating trajectory coefficients for lane change paths of an autonomous driving vehicle provided in an embodiment of the present application;

[0051] Figure 6 A schematic diagram of a lane environment in which the vehicle is located in the method for generating trajectory coefficients for lane change paths of an autonomous driving vehicle provided in an embodiment of the present application;

[0052] Figure 7 A functional module block diagram of a trajectory coefficient transformation generation system for an autonomous driving vehicle lane change path provided in an embodiment of the present application;

[0053] Figure 8 Another functional module block diagram of the trajectory coefficient transformation generation system for the lane change path of the autonomous driving vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The specific embodiments of the present application will now be described in detail, examples of which are illustrated in the accompanying drawings. Although the present application will be described in conjunction with the specific embodiments, it will be understood that it is not intended to limit the present application to the described embodiments. On the contrary, it is intended to cover the changes, modifications and equivalents included in the spirit and scope of the present application as defined by the appended claims. It should be noted that the method steps described herein can be implemented by any functional block or functional arrangement, and any functional block or functional arrangement can be implemented as a physical entity or a logical entity, or a combination of the two.

[0055] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0056] Note: The example to be introduced below is only a specific example, and is not intended to limit the embodiments of the present application to the following specific steps, values, conditions, data, sequences, etc. Those skilled in the art can apply the concept of the present application to construct more embodiments not mentioned in the present description by reading the present description.

[0057] As a high-dimensional optimization problem with multiple nonlinear constraints, motion planning of autonomous vehicles requires a lot of computing resources. Due to the complexity and real-time nature of the scene, it is not always possible to obtain the optimal trajectory quickly and easily. This places high demands on the robustness and practicality of the planning algorithm. In the prior art, trajectory planning methods based on curve fitting may have certain errors, especially in complex environments or in the presence of nonlinear factors. The accuracy and robustness of path planning are not high.

[0058] In view of this, please refer to Figure 1 The present application provides a method for generating trajectory coefficient transformation of a lane-changing path of an autonomous driving vehicle, comprising the following steps:

[0059] Step S1: When the autonomous driving vehicle is preparing to change lanes, the current position of the vehicle, the position of the obstacle, and the boundaries of the lane lines of the two lanes are used as constraints to sample and obtain discrete points in the process of the vehicle changing lanes between the boundaries of the two lanes;

[0060] Step S2, constructing a nonlinear problem-solving function for the lane-changing planning path of the vehicle, and converting the nonlinear problem-solving function for the lane-changing planning path of the vehicle into a linear problem-solving function based on a QR decomposition method of HouseHolder transformation;

[0061] Step S3: Generate trajectory coefficients of the optimal planned path for lane changing of the vehicle according to the collected discrete points and the converted linear problem solving function.

[0062] The trajectory coefficient transformation and generation method of the lane changing path of an autonomous driving vehicle provided in the present application, based on the QR decomposition method of the HouseHolder transformation, converts the nonlinear problem of the lane changing planning path of the vehicle into a linear planning problem, that is, converts the non-convex optimization into convex optimization, so as to better calculate the optimal value of the nonlinear problem, thereby realizing a faster solution of the trajectory fitting coefficient in autonomous driving, and fitting a smooth, comfortable and continuous lane changing planning path curve accordingly, thereby ensuring the ride comfort and safety of the autonomous driving vehicle, thereby realizing a faster solution of the trajectory fitting coefficient in autonomous driving, and fitting a smooth, comfortable and continuous lane changing planning path curve accordingly, thereby effectively ensuring the comfort and safety of the lane changing of the autonomous driving vehicle, thereby ensuring comfort and safety.

[0063] The least squares method is a standard method in regression analysis. It is a method used to approximate the answer of an overdetermined system. An overdetermined system refers to a concept in mathematics. If the number of equations in a set of equations containing unknowns is greater than the number of unknowns, then the system is an overdetermined system (overdetermined system of equations). An overdetermined system generally has no solution and can only be solved approximately. The least squares method is a method for finding an approximate solution to an overdetermined system of equations.

[0064] When driving, the autonomous vehicle needs to find a trajectory that minimizes the average distance of all points from the desired curve. The meaning of least squares is to minimize the sum of squares of the residuals of each equation in the overall optimization solution. The least squares problem is a type of optimization problem, and its general form is Where f(x)-b i is the residual function, which represents the predicted value f(x) and the measured value b i difference.

[0065] The function parameter when the objective function reaches the minimum value is the idea of ​​the least squares method. The so-called "square" means square. From here we can see that the least squares method is actually an idea used for function fitting.

[0066] Motion planning is a complex problem. Take the example of an autonomous vehicle changing lanes. As shown in the figure, when preparing to change lanes, the autonomous driving system uses the current position of the vehicle, the location of obstacles, and the boundaries of the lane lines of the two lanes as constraint information, and then performs discrete point sampling.

[0067] Taking a high-order polynomial as an example, the expected prediction trajectory is

[0068] f(x)=α i0 +α i1 x i +α i2 xi 2 +…+α in x i n =[α i0 , α i1 , ..., α in ][x i 0 , x i 1 , ..., x i n ] T

[0069] The actual measured sampling value b i is a series of discrete sampling points.

[0070] make:

[0071] A=[α i0 , α i1 , ..., α in ]

[0072] x=[x i 0 , x i 1 , ..., x i n ] T

[0073] When f(x) = Ax-b is a linear equation, the linear least squares problem is converted to:

[0074] min||Ax-b|| 2

[0075] Expanded:

[0076] h(x)=||Ax-b|| 2 =(Ax-b) T (Ax-b)

[0077] =(Ax) T (Ax)-b T Ax-(Ax) T b+b T b

[0078] After derivation:

[0079]

[0080] When the derivative is 0, the loss function is minimized, so

[0081] A T Ax=A Tb

[0082] x=(A T A) -1 A T b

[0083] Currently, adding speed and time information to motion planning increases the dimension of motion planning. In addition, since the vehicle is a non-harmonious system, it has special kinematic constraints. For example, the vehicle cannot move laterally independently, and needs to move longitudinally at the same time to achieve lateral movement; avoiding obstacles, especially high-speed dynamic obstacles, is also a relatively difficult problem. For unmanned vehicles carrying passengers, a very important requirement is comfort. The planned trajectory of the unmanned vehicle must be smooth, and the factors that affect the comfort of the passengers, such as vehicle acceleration, centripetal acceleration, etc., must be kept within a tolerable range, which can effectively improve the comfort of the vehicle.

[0084] For autonomous vehicles, in order to meet the vehicle kinematic and motion constraints, real-time, safety, comfort and other multi-dimensional factors, the lane changing problem of autonomous vehicles is transformed into a nonlinear problem to be solved. Specifically, as can be seen from the above, the linear least squares problem min||Ax-b|| 2 The solution is x=(A T A) -1 A T b.

[0085] It can be found that the inverse of the matrix needs to be calculated in the solution function of x, and it is a nonlinear problem, which has certain calculation difficulties. Therefore, the QR decomposition method based on HouseHolder transformation is adopted to convert the nonlinear problem into a linear programming problem, that is, convert the non-convex optimization into convex optimization.

[0086] QR decomposition is often used to solve linear least squares problems. In this way, the matrix is ​​decomposed into the product of an orthogonal matrix and an upper triangular matrix, that is, A=QR.

[0087] Among them, Q is an orthogonal matrix and R is an upper triangular matrix.

[0088] like Figure 2 As shown, the inverse of the matrix can be converted here, which can be understood as a reflection transformation or a mirror transformation. That is, the Householder transformation is to transform the vector x into Hx through the Householder matrix H, as shown in Figure 2 shown.

[0089] Here, the fully loaded x is symmetric to Hx about a plane that is perpendicular to w. Hx is the specular reflection of x about the plane that is perpendicular to w.

[0090] Then there is,

[0091] x=u+αw

[0092] Hx=u-αw

[0093] Among them, α is a constant.

[0094] Hx=x-2ww H x

[0095] The HouseHolder transformation is used to perform the above QR decomposition, so as to better calculate the optimal value of the nonlinear problem, thereby achieving a faster solution of the fitting coefficient during the autonomous driving lane changing process, and ensuring the comfort and safety of the autonomous driving vehicle during lane changing.

[0096] like Figure 3 As shown in the figure, at the current moment, the autonomous driving truck samples the lane changing process between the two lane boundaries and generates 10 discrete sampling points. Considering vehicle kinematics and dynamic constraints, safety, comfort and other factors, it is necessary to fit a smooth, comfortable and continuous lane changing curve. Therefore, a trajectory coefficient generation method based on HouseHolder transformation is constructed to determine the optimal trajectory curve.

[0097] First, the coordinates (x, y) of all sampling points are known, and the horizontal coordinates x of 10 groups of sampling points are used to construct the A matrix.

[0098] Then, the A matrix is ​​subjected to HouseHolder transformation to generate a matrix calculation relationship of A=QR, where Q is an orthogonal matrix and R is an upper triangular matrix.

[0099] Next, substitute into step 2, and we have x = (A T A) -1 A T b=((QR) T (QR) -1 (QR) T b. Where b represents the vertical coordinates of the 10 groups of sampling points.

[0100] Finally, the minimum value x of the nonlinear loss function is solved, and x is the matrix of trajectory coefficients of the lane changing path of the autonomous driving vehicle that is finally solved, so as to determine the optimal trajectory curve of the lane changing path of the autonomous driving vehicle.

[0101] In one embodiment, the current camera-based lane line recognition is relatively stable on straight roads, but the lane lines will deviate on high-speed curves, the visible distance is very short, and even distortion will occur. When the self-driving truck is driving at high speed, it is likely to deviate and draw a line, as shown below Figure 4As shown, considering the different straight working conditions of the vehicle driving road, different methods for obtaining the trajectory coefficients of the final execution of the planned paths of the vehicle changing lanes are provided. After the step S3, the trajectory coefficients of the optimal planned path of the vehicle changing lanes are generated according to the collected discrete points and the converted linear problem solving function, the following steps are also included:

[0102] Step S41, obtaining the straightness condition of the lane where the vehicle is located;

[0103] Step S42: Execute different trajectory coefficient correction strategies for the planned lane changing paths of the vehicle according to the straightness of the lane in which the vehicle is located.

[0104] In one embodiment, if Figure 5 As shown, during the driving process of the autonomous driving truck, the lane lines recognized by the camera are the left and right lane lines, and there may be unclear lane lines. At this time, it is necessary to perform correction based on the left and right lane lines and the curve generated by the HouseHolder transformation. The present application considers the quality problem of the lane lines recognized by the camera in high-speed scenes, and provides a method for transforming and generating trajectory coefficients of the lane change path of an autonomous driving vehicle. According to different camera recognition quality conditions of the lane lines of the vehicle in high-speed driving scenes, different methods for obtaining the final execution trajectory coefficients of the planned paths of the lane change of the vehicle are provided. The step S32 executes different trajectory coefficient correction strategy steps of the planned paths of the lane change of the vehicle according to the straightness condition of the lane in which the vehicle is located, and specifically includes the following steps:

[0105] Step S321: When the lane where the vehicle is located is a straight lane, the trajectory coefficient of the optimal planned path for lane changing of the vehicle is generated as the trajectory coefficient of the planned path for lane changing of the vehicle;

[0106] Step S322: When the lane where the vehicle is located is a non-straight lane, the trajectory coefficient of the planned path for the lane change of the vehicle is corrected and obtained according to the camera recognition quality of the left and right lanes of the lane where the vehicle is located.

[0107] The lane line information recognized by the known camera is expressed as follows:

[0108] y=b0+b1x+b2x 2 +b3x 3

[0109] Among them, (b0, b1, b2, b3) represent the fitting coefficients of the lane line respectively, x represents the independent variable of the lane line function (the longitudinal distance with the body camera coordinate point as the origin), and y represents the dependent variable of the lane line function (the lateral distance with the body camera coordinate point as the origin).

[0110] The quality of a single lane line recognized by the camera is set to two levels, including good camera recognition quality and poor camera recognition quality. Lane.quality = 0 means poor, and lane.quality = 1 means good.

[0111] like Figure 6 As shown, the left lane line is left_lane, the right lane line is right_lane, and the lane line camera recognition qualities are respectively expressed as left_lane.quality=1 and right_lane.quality=0, and the left lane line coefficient matrix and the right lane line coefficient matrix are left_lane.coeffs and right_lane.coeffs respectively.

[0112] In one implementation, the step S322, when the lane where the vehicle is located is a non-straight lane, calibrating and obtaining the trajectory coefficient of the planned path for the lane change of the vehicle according to the camera recognition quality of the left and right lanes of the lane where the vehicle is located, specifically includes the following steps:

[0113] Step S322A: When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of any of the left and right lanes is good, the trajectory coefficient of the planned path for the vehicle to change lanes is corrected and obtained according to the lane coefficient of the lane with good camera recognition quality;

[0114] Step S322B: When the lane where the vehicle is located is a non-straight lane and the recognition quality of the left and right lanes of the lane where the vehicle is located is poor, the trajectory coefficient of the optimal planned path for lane changing of the vehicle is generated as the trajectory coefficient of the planned path for lane changing of the vehicle.

[0115] In one embodiment, when the lane where the vehicle is located is a non-straight lane and the camera recognition quality of any one of the left and right lanes is good, the step of correcting and obtaining the trajectory coefficient of the planned path for the vehicle to change lanes according to the lane coefficient of the lane with good camera recognition quality specifically includes the following steps:

[0116] A. When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the left and right lanes is good, the trajectory coefficient of the planned path of the vehicle's lane change is the average of the left lane road coefficient and the right lane road coefficient. Specifically, left_lane.quality = 1 and right_lane.quality = 1, then center_lane.Coeffs = (left_lane.Coeffs + right_lane.Coeffs) / 2, where left_lane.coeffs and right_lane.coeffs are the left lane line coefficient matrix and the right lane line coefficient matrix respectively;

[0117] B. When the lane where the vehicle is located is a non-straight lane, and the camera recognition quality of the left lane is good, and the camera recognition quality of the right lane is poor, the trajectory coefficient of the lane change planning path of the vehicle is corrected according to the lane coefficient of the left lane. Specifically, left_lane.quality=1 and right_lane.quality=0, then center_lane.Coeffs[0]=left_lane.Coeffs[0]-W / 2, center_lane.Coeffs[i]=left_lane.Coeffs[i], where center_lane.Coeffs[0] is the starting trajectory coefficient matrix of the lane change planning path of the vehicle, center_lane.Coeffs[i] is the trajectory coefficient matrix of the lane change planning path of the vehicle at the i-th moment, and W is the correction coefficient;

[0118] C. When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the right lane is good, the trajectory coefficient of the planned path of the lane is corrected according to the lane coefficient of the right lane. Specifically, if left_lane.quality = 0 and right_lane.quality = 1, center_lane.Coeffs[0] = right_lane.Coeffs[0] + W / 2, center_lane.Coeffs[i] = right_lane.Coeffs[i];

[0119] D. When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the left and right lanes is poor, the trajectory coefficient of the planned path for the vehicle's lane change is the trajectory coefficient of the optimal planned path for the vehicle's lane change generated based on the HouseHolder transformation.

[0120] Second, please refer to Figure 7The present application provides a trajectory coefficient transformation generation system for an autonomous driving vehicle lane change path, comprising a discrete point sampling module 100, a transformation module 200 and a trajectory coefficient acquisition module 300. The discrete point sampling module 100 is used when the autonomous driving vehicle is preparing to change lanes, taking the current posture of the vehicle, the position of obstacles and the boundaries of the lane lines of the two lanes as constraints, to sample and obtain discrete points in the process of the vehicle changing lanes between the boundaries of the two lanes; the transformation module 200 is used to construct a nonlinear problem solving function for the lane change planning path of the vehicle, and based on the QR decomposition method of the HouseHolder transformation, the nonlinear problem solving function for the lane change planning path of the vehicle is converted into a linear problem solving function; the trajectory coefficient acquisition module 300 is communicatively connected with the discrete point sampling module 200 and the transformation module 100, and is used to generate the trajectory coefficient of the optimal planning path for the lane change of the vehicle according to the collected discrete points and the converted linear problem solving function.

[0121] In one embodiment, please refer to Figure 8 The trajectory coefficient transformation and generation system for the lane changing path of the autonomous driving vehicle provided in the present application also includes a lane straightness condition acquisition module 400 and a trajectory coefficient correction module 500. The lane straightness condition acquisition module 400 is used to obtain the straightness condition of the lane in which the vehicle is located; the trajectory coefficient correction module 500 is communicated with the lane straightness condition acquisition module 400, and is used to execute different trajectory coefficient correction strategies for the planned lane changing path of the vehicle according to the straightness condition of the lane in which the vehicle is located.

[0122] In one embodiment, the trajectory coefficient correction module includes a first trajectory coefficient correction acquisition unit and a second trajectory coefficient correction acquisition unit. The first trajectory coefficient correction acquisition unit is communicatively connected to the lane straightness working condition acquisition module, and is used for, when the lane in which the vehicle is located is a straight lane, using the trajectory coefficient of the optimal planned path for lane changing of the vehicle as the trajectory coefficient of the planned path for lane changing of the vehicle; the second trajectory coefficient correction acquisition unit is communicatively connected to the lane straightness working condition acquisition module, and is used for, when the lane in which the vehicle is located is a non-straight lane, correcting and acquiring the trajectory coefficient of the planned path for lane changing of the vehicle according to the camera recognition quality of the left and right lanes of the lane in which the vehicle is located.

[0123] Based on the same inventive concept, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, all or part of the method steps of the above method are implemented.

[0124] The present application implements all or part of the processes in the above method, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0125] Based on the same inventive concept, an embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program running on the processor, and when the processor executes the computer program, all or part of the method steps in the above method are implemented.

[0126] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of a computer device, and uses various interfaces and lines to connect various parts of the entire computer device.

[0127] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the computer device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, video data, etc.). In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0128] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, servers or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0129] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), servers, and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0132] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for generating trajectory coefficient transformation of a lane-changing path of an autonomous driving vehicle, characterized in that: The following steps are involved: Using the current position of the vehicle, the position of the obstacle, and the boundaries of the two lanes as constraints, sample and obtain discrete points in the process of the vehicle changing lanes between the boundaries of the two lanes; Construct a nonlinear problem-solving function for the lane-changing planning path of the vehicle, and convert the nonlinear problem-solving function for the lane-changing planning path of the vehicle into a linear problem-solving function based on the QR decomposition method of HouseHolder transformation; According to the collected discrete points and the converted linear problem solving function, the trajectory coefficients of the optimal planning path for the vehicle to change lanes are generated.

2. The method for generating trajectory coefficient transformation of the lane change path of the automatic driving vehicle according to claim 1, characterized in that: After the step of generating the trajectory coefficient of the optimal planning path for the lane change of the vehicle according to the collected discrete points and the converted linear problem solving function, the following steps are also included: Obtain the straightness of the lane where the vehicle is located; According to the straightness of the lane in which the vehicle is located, different trajectory coefficient correction strategies for the planned lane changing path of the vehicle are executed.

3. The method for generating trajectory coefficient transformation of the lane change path of the automatic driving vehicle according to claim 2, characterized in that: The step of executing different trajectory coefficient correction strategies for the planned paths of the vehicle's lane change according to the straight working condition of the lane in which the vehicle is located specifically includes the following steps: When the lane where the vehicle is located is a straight lane, the trajectory coefficient of the optimal planning path for the vehicle's lane change is used as the trajectory coefficient of the planning path for the vehicle's lane change; When the lane where the vehicle is located is not a straight lane, the trajectory coefficient of the planned path for the vehicle's lane change is corrected and obtained according to the camera recognition quality of the left and right lanes of the lane where the vehicle is located.

4. The method for generating trajectory coefficient transformation of the lane change path of the automatic driving vehicle according to claim 3, characterized in that: When the lane where the vehicle is located is a non-straight lane, the trajectory coefficient of the planned path for the lane change of the vehicle is corrected and obtained according to the camera recognition quality of the left and right lanes of the lane where the vehicle is located, which specifically includes the following steps: When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of any of the left and right lanes is good, the trajectory coefficient of the planned path for the vehicle's lane change is corrected based on the lane coefficient of the lane with good camera recognition quality; When the lane where the vehicle is located is a non-straight lane and the recognition quality of the left and right lanes of the lane where the vehicle is located is poor, the trajectory coefficient of the optimal planned path for the lane change of the vehicle is generated as the trajectory coefficient of the planned path for the lane change of the vehicle.

5. The method for generating trajectory coefficient transformation of the lane change path of the automatic driving vehicle according to claim 3, characterized in that: When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of any of the left and right lanes is good, the step of correcting and obtaining the trajectory coefficient of the planned path for the vehicle to change lanes according to the lane coefficient of the lane with good camera recognition quality specifically includes the following steps: When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the left and right lanes is good, the trajectory coefficient of the planned path for the vehicle to change lanes is the average of the road coefficients of the left lane and the right lane.

6. The method for generating trajectory coefficient transformation of the lane change path of the automatic driving vehicle according to claim 5, characterized in that: The step of correcting and obtaining the trajectory coefficient of the planned path for the lane change of the vehicle according to the lane coefficient of the lane with good camera recognition quality when the lane where the vehicle is located is a non-straight lane and the camera recognition quality of any lane of the left or right lane is good also includes the following steps: When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the left lane is good, the trajectory coefficient of the planned path for lane change in the lane is corrected according to the lane coefficient of the left lane.

7. The method for generating trajectory coefficient transformation of the lane change path of the automatic driving vehicle according to claim 6, characterized in that: When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of any of the left and right lanes is good, the step of correcting and obtaining the trajectory coefficient of the planned path for the vehicle to change lanes according to the lane coefficient of the lane with good camera recognition quality also includes the following steps: When the lane where the vehicle is located is a non-straight lane and the camera recognition quality of the right lane is good, the trajectory coefficient of the planned path of the lane is corrected according to the lane coefficient of the right lane.

8. A trajectory coefficient transformation generation system for an autonomous driving vehicle lane change path, characterized in that: include: The discrete point sampling module is used to sample and obtain the discrete points of the vehicle in the process of changing lanes between the boundaries of the two lanes, taking the current position of the vehicle, the position of the obstacle and the boundaries of the lanes of the two lanes as constraints; A transformation module is used to construct a nonlinear problem-solving function for the lane-changing planning path of the vehicle, and convert the nonlinear problem-solving function for the lane-changing planning path of the vehicle into a linear problem-solving function based on the QR decomposition method of HouseHolder transformation; The trajectory coefficient acquisition module is in communication with the discrete point sampling module and the transformation module, and is used to generate the trajectory coefficient of the optimal planned path for the lane change of the vehicle according to the collected discrete points and the converted linear problem solving function.

9. The trajectory coefficient transformation generation system of the lane change path of the automatic driving vehicle according to claim 8, characterized in that: Also includes: A lane straightness condition acquisition module is used to obtain the straightness condition of the lane where the vehicle is located; The trajectory coefficient correction module is in communication with the lane straightness working condition acquisition module and is used to execute different trajectory coefficient correction strategies for the planned paths of the vehicle's lane change according to the straightness working condition of the lane in which the vehicle is located.

10. The trajectory coefficient transformation generation system of the lane change path of the automatic driving vehicle according to claim 9, characterized in that: The trajectory coefficient correction module comprises: A first trajectory coefficient correction acquisition unit is in communication with the lane straightness working condition acquisition module, and is used to use the trajectory coefficient of the optimal planned path for lane change of the vehicle as the trajectory coefficient of the planned path for lane change of the vehicle when the lane where the vehicle is located is a straight lane; The second trajectory coefficient correction acquisition unit is communicatively connected to the lane straightness condition acquisition module, and is used to correct and acquire the trajectory coefficient of the planned path for lane change of the vehicle according to the camera recognition quality of the left and right lanes of the lane where the vehicle is located when the lane where the vehicle is located is a non-straight lane.

Citation Information

Patent Citations

  • Unconstrained static structural analysis method based on Householder transformation

    CN103902764A

  • Obstacle detection method and device, storage medium and terminal equipment

    CN110807806A

  • Sectional navigation lane changing method and system, computer equipment and storage medium

    CN113954836A

  • Lane changing decision-making method, device and equipment and readable storage medium

    CN115384508A

  • Intelligent vehicle lane changing overtaking trajectory planning method based on Gaussian pseudo-spectral method

    CN115520191A