Preview-based lane center line smoothing method

Through pre-enabling and polynomial coefficient processing, the smooth lane center line under complex road conditions is generated, which solves the problem that traditional methods are difficult to generate a smooth lane center line under complex road conditions, and achieves low-cost and efficient lateral control of autonomous driving vehicles.

CN119037439APending Publication Date: 2024-11-29上海友道智途科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411225804.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

Under complex road conditions, traditional methods are difficult to generate smooth lane centerlines, especially in construction sections without high-precision map coverage or relying solely on visual cameras, which affects the lateral control effect of autonomous vehicles.

Method used

The lane center line smoothing method based on pre-visual is used to judge the smoothness of the lane center line, and use the cubic polynomial coefficients and visual module information of the left and right lane lines to predict the distant lane width, determine the reference lane line and the current lane width, and calculate the smoothing Lane centerline to generate a smooth lane centerline.

Benefits of technology

It realizes that the smooth lane center line can be generated by relying solely on visual camera information under complex road conditions, reducing costs, improving the lateral control accuracy and stability of autonomous driving vehicles, and is suitable for actual mass production projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119037439A_ABST
    Figure CN119037439A_ABST
Patent Text Reader

Abstract

The invention relates to a preview-based lane center line smoothing method, which comprises the following steps of: firstly, judging whether an original lane center line needs to be smoothed or not, when the original lane center line is smooth, not needing to be smoothed, and when the original lane center line is not smooth, indicating that the original lane center line needs to be smoothed; and smoothing the center line of the lane by using the left and right lane line information of the current lane. The method has the advantages that the lane center line of the complex road condition can be smoothed only by adopting lane line related information provided by the visual camera, the smoothed lane center line serves as a reference line for transverse control, operation is simple and efficient, and the method can be directly deployed to actual mass production automatic driving projects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of autonomous driving, and in particular relates to a lane centerline smoothing method based on preview. Background Art

[0002] Vehicle automatic driving includes two aspects: longitudinal control and lateral control. Longitudinal control is mainly responsible for controlling the throttle and brake to achieve the expected speed or maintain a fixed following distance from the vehicle in front. Lateral control is mainly responsible for controlling the steering wheel to ensure that the vehicle is centered in the corresponding lane. For lateral control, it is necessary to first obtain a smooth lane centerline trajectory, and then the control will follow the lane centerline to drive in the center. Therefore, it is particularly important to generate a reliable and smooth lane center according to the corresponding feature information of the lane. The traditional solution uses half of the left and right lane lines as the lane centerline. This solution can generate a smooth lane centerline in simple straight road conditions, but it may generate a lane centerline with obvious turning points in complex road conditions, and cannot smooth the lane centerline in complex road conditions. Chinese patent CN115183787 A provides a lane centerline processing method that can smooth the lane centerline, but this method is heavily dependent on the global information of the relevant roads provided by the high-precision map, and the cost is relatively high. In the construction section without high-precision map coverage, it is difficult to process a smooth and reliable lane centerline with only a visual camera. Summary of the invention

[0003] The purpose of the present invention is to propose a lane centerline smoothing method based on preview to address the problems existing in the prior art, which is used to generate a smooth lane centerline under complex road conditions for lateral control of an autonomous driving vehicle.

[0004] In order to achieve the above object, the present invention provides a lane centerline smoothing method based on preview, comprising the following steps: Step 1: Determine whether the original lane centerline needs to be smoothed. If the original lane centerline is smooth, no smoothing is required. If the original lane centerline is not smooth, it means that the original lane centerline needs to be smoothed, and go to step 2. Step 2: Use the left and right lane line information of the current lane to smooth the lane center line.

[0005] The present invention further adopts the following technical solution: In step 1, the specific operation of determining whether the original lane centerline needs to be smoothed is as follows: Step 1.1, obtaining the cubic polynomial coefficients C0, C1, C2, C3 and lane line length of the left and right lane lines of the current lane; Step 1.2: Preview the current lane forward to obtain the width of the lane in the distance; Step 1.3: Determine whether the width of the lane in the distance exceeds the range of the normal lane width. If so, the original lane centerline needs to be smoothed. Otherwise, the original lane centerline does not need to be smoothed.

[0006] In step 1.2, the method for obtaining the width of the lane in the distance by previewing is as follows: Assume that the lane width corresponding to the preview distance is ,So

[0007] In the formula, is the lateral distance of the left lane line relative to the vehicle at the preview distance, is the lateral distance of the right lane line relative to the vehicle at the preview distance;

[0008]

[0009] In the formula, , , , is the cubic polynomial coefficient of the left lane line of the current lane, , , , is the cubic polynomial coefficient of the lane line of the right lane of the current lane, The preview distance ahead for the current lane.

[0010] In step 2, the lane centerline is smoothed, including: Step 2.1, determining the reference lane line according to the effective length information of the left and right lane lines; Step 2.2, obtain the current lane width through the cubic polynomial coefficients of the left and right lane lines; Step 2.3: Generate a smooth lane centerline using the reference lane line and the current lane width.

[0011] In step 2.1, the method of determining the reference lane line is: according to the length of the left lane line given by the visual module and the length of the right lane , select the longer lane line as the reference lane line.

[0012] In step 2.2, the current lane width is obtained using the following formula: , .

[0013] In step 2.3, the smooth lane centerline is calculated according to the following formula: Smooth Lane Centerline = ± / 2 In the formula, The reference lane line.

[0014] In step 2.3, assuming that the vehicle coordinate system is positive on the left and negative on the right, when the reference lane line is the left lane line, the smoothed lane center line can be obtained by subtracting half of the current lane width from the left lane line; when the reference lane line is the right lane line, the smoothed lane center line can be obtained by adding half of the current lane width to the right lane line.

[0015] The advantage of the present invention is that the lane center line of complex road conditions can be smoothed by only using the lane line related information provided by the visual camera. As a reference line for lateral control, the operation is simple and efficient, the cost is low, and it can be directly deployed in actual mass production autonomous driving projects. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention will be further described below in conjunction with the accompanying drawings.

[0017] Figure 1 This is a schematic diagram of the uneven center line of the lane in the gas station scene in the present invention.

[0018] Figure 2 It is a schematic diagram showing that the center line of the lane is not smooth in the merging scenario of the present invention.

[0019] Figure 3 This is a flow chart for determining whether the lane centerline needs to be smoothed in the present invention.

[0020] Figure 4 This is a flow chart of lane centerline smoothing in the present invention. DETAILED DESCRIPTION Embodiment 1

[0021] A lane centerline smoothing method based on preview, such as Figure 3 and Figure 4 As shown, the following steps are included: Step 1: Determine whether the original lane centerline needs to be smoothed. When the original lane centerline is smooth, no smoothing is required. When the original lane centerline is not smooth, it indicates that the original lane centerline needs to be smoothed.

[0022] The specific operations to determine whether the original lane centerline needs to be smoothed are as follows: Step 1.1: Obtain the cubic polynomial coefficients of the lane line of the left lane of the current lane through the perception vision module , , , , the cubic polynomial coefficient of the right lane line , , , , the length of the left lane And the length of the right lane ; Step 1.2: Preview a certain distance ahead in the current lane The preview distance can be obtained by looking up the table based on the vehicle speed. The following table is an example of looking up the preview distance. The first row represents the different speeds of the vehicle, and the second row represents the corresponding preview distances. Within the speed range in the table, the corresponding preview distances are obtained using linear interpolation. If the speed exceeds the range of this table, the preview distance corresponding to the closest speed should be selected as the current preview distance.

[0023] By looking up the preview distance obtained from the table, we can further obtain the lateral distance of the left lane line relative to the vehicle at the corresponding preview distance. ,Right now ; The lateral distance of the right lane line relative to the vehicle at the corresponding preview distance ,Right now ; The lane width corresponding to the preview distance obtained by the following formula is: , ; Step 1.3: Determine the width of the lane in the distance Does it exceed the normal lane width range (the normal lane width range is 2.2m-4.5m)? If so, the original lane center line needs to be smoothed, otherwise there is no need to smooth the original lane center line.

[0024] Step 2: Use the left and right lane line information of the current lane to smooth the lane center line.

[0025] Under normal road conditions, the middle of the two lane lines is generally used as the lane centerline. Figure 1 , one lane line is straight, the other lane line is short and gradually slopes to the gas station. If we directly take half of the left and right lane lines as the lane center line, we will generate Figure 1The dotted line in the figure shows that the trajectory is not smooth. If the control follows the center line of the lane, it will rush to the gas station or slam the steering wheel, resulting in the failure of the automatic driving control to achieve the desired effect. Figure 2 In the merging scene of the off-ramp, the lane line on one side is smooth, and the lane line on the other side is not a smooth straight line, but is composed of two short lane lines. In this case, directly taking half of the left and right lane lines as the lane center line will generate Figure 2 The dashed line in the figure shows that the center line of the lane has an obvious turning point, which will affect the normal operation of the autonomous vehicle.

[0026] Smoothing of lane centerlines, including: Step 2.1, determining the reference lane line according to the effective length information of the left and right lane lines; The method of determining the reference lane line is as follows: according to the left lane line length given by the vision module and the length of the right lane , select the longer lane line as the reference lane line.

[0027] Step 2.2, obtain the current lane width through the cubic polynomial coefficients of the left and right lane lines; Different from the general method of subtracting the absolute value of C0 from the lane lines on both sides to obtain the lane width, considering that there will be a certain angle between the vehicle and the lane line when driving, the following formula is used to obtain the current lane width: , .

[0028] Step 2.3: Generate a smooth lane centerline using the reference lane line and the current lane width.

[0029] The center line of the smooth lane is generally calculated according to the following formula: Smooth Lane Centerline = ± / 2 In the formula, The reference lane line.

[0030] Assuming that the vehicle coordinate system is positive on the left and negative on the right, when the reference lane line is the left lane line, the smoothed lane center line can be obtained by subtracting half of the current lane width from the left lane line; when the reference lane line is the right lane line, the smoothed lane center line can be obtained by adding half of the current lane width to the right lane line.

[0031] If it is determined that the lane centerline needs to be smoothed, the above steps will be taken to obtain the smoothed lane centerline as the baseline reference line for autonomous driving lateral vehicle control.

[0032] It should be noted that the execution order of the above steps is determined by its internal logic and function, and the order of execution is sufficient as long as it can achieve the desired results of the technical solution disclosed in this patent, and should not impose any restrictions or constraints on the implementation of the present invention and its embodiments. In addition to the above embodiments, the present invention can also have other implementation methods. Any technical solution formed by equivalent replacement or equivalent transformation falls within the protection scope required by the present invention.

Claims

1. A lane centerline smoothing method based on preview, characterized in that: The following steps are involved: Step 1: Determine whether the original lane centerline needs to be smoothed. If the original lane centerline is smooth, no smoothing is required. If the original lane centerline is not smooth, it means that the original lane centerline needs to be smoothed, and go to step 2. Step 2: Use the left and right lane line information of the current lane to smooth the lane center line.

2. The lane centerline smoothing method based on preview according to claim 1, characterized in that: In step 1, the specific operation of determining whether the original lane centerline needs to be smoothed is as follows: Step 1.1, obtain the cubic polynomial coefficients C0, C1, C2, C3 of the left and right lane lines of the current lane; Step 1.2: Preview the current lane forward to obtain the width of the lane in the distance; Step 1.3: Determine whether the width of the lane in the distance exceeds the range of the normal lane width. If so, the original lane centerline needs to be smoothed. Otherwise, the original lane centerline does not need to be smoothed.

3. The lane centerline smoothing method based on preview according to claim 2, characterized in that: In step 1.2, the method for obtaining the width of the lane in the distance by previewing is as follows: Assume that the lane width corresponding to the preview distance is ,So , where is the lateral distance of the left lane line relative to the vehicle at the preview distance, is the lateral distance of the right lane line relative to the vehicle at the preview distance; , , where , , , is the cubic polynomial coefficient of the left lane line of the current lane, , , , is the cubic polynomial coefficient of the lane line of the right lane of the current lane, The preview distance ahead for the current lane.

4. The lane centerline smoothing method based on preview according to claim 3, characterized in that: In step 2, the lane centerline is smoothed, including: Step 2.1, determining the reference lane line according to the effective length information of the left and right lane lines; Step 2.2, obtain the current lane width through the cubic polynomial coefficients of the left and right lane lines; Step 2.3: Generate a smooth lane centerline using the reference lane line and the current lane width.

5. A lane centerline smoothing method based on preview according to claim 4, characterized in that: In step 2.1, the method of determining the reference lane line is: according to the length of the left lane line given by the visual module and the length of the right lane , select the longer lane line as the reference lane line.

6. A lane centerline smoothing method based on preview according to claim 5, characterized in that: In step 2.2, the current lane width is obtained using the following formula: , 。 7. A lane centerline smoothing method based on preview according to claim 6, characterized in that: In step 2.3, the smooth lane centerline is calculated according to the following formula: Smooth Lane Centerline = ± / 2 In the formula, The reference lane line.

8. The lane centerline smoothing method based on preview according to claim 7, characterized in that: In step 2.3, assuming that the vehicle coordinate system is positive on the left and negative on the right, when the reference lane line is the left lane line, the smoothed lane center line can be obtained by subtracting half of the current lane width from the left lane line; when the reference lane line is the right lane line, the smoothed lane center line can be obtained by adding half of the current lane width to the right lane line.