A visual lane line assisted positioning method for port scenes
Through the visual lane line auxiliary positioning method, iterative closest point registration and Kalman filtering technology are used to solve the positioning error problem caused by satellite signal interference in the port scene, and achieve high-precision and robust lane line positioning, which is suitable for automatic Driving the vehicle normally.
Patent Information
- Application Number
- CN202111264427.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-10-28
AI Technical Summary
In port scenarios, the interference between satellite signals and network signals causes the failure of conventional satellite-based real-time differential positioning equipment, resulting in larger errors in positioning results and affecting the normal operation of autonomous vehicles.
The visual lane line auxiliary positioning method is used to detect image visual information in real time, extract the lane line area and convert it into a point cloud. Combined with the lane line point cloud in the high-precision map, it uses the iterative nearest point registration algorithm and Kalman filter to correct the initial Positioning results to improve positioning accuracy and robustness.
In port scenes, real-time positioning accuracy and robustness are significantly improved, accurate lane line matching and positioning are achieved, and positioning errors in areas with strong signal interference are reduced.
Smart Images

Figure CN114199244B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a visual point cloud assisted positioning method, and in particular to a visual lane line assisted positioning method for a port scene. Background Art
[0002] In port scenarios, large bridge cranes, gantry cranes, and container stacks will have a significant impact on satellite signals and network signals. This directly leads to the fact that conventional combined navigation equipment based on satellite real-time differential positioning faces a great risk of failure in such areas, causing the positioning result error to become larger, affecting the normal driving of autonomous vehicles. Summary of the invention
[0003] In order to solve the problems in the background technology, the present invention provides a visual lane line auxiliary positioning method for port scenes, which can be used for real-time lane line positioning of port vehicles during driving.
[0004] The technical solution adopted by the present invention is:
[0005] Data preparation stage: Real-time detection and acquisition to obtain image visual information, extract lane line areas from the image visual information, and convert the lane line areas from the camera coordinate system to the map coordinate system and convert them into point clouds;
[0006] The data preparation stage is mainly responsible for extracting the lane line area from the visual information, converting the detected lane line area from the camera coordinate system to the map coordinate system, and filling the detected lane line area at the point level to form a point cloud of the lane line area, providing data for direct use in the algorithm action stage.
[0007] There is a lane line area in the high-precision map. The lane line area is filled at the point level, and the point cloud of the corresponding lane line area is obtained. The point cloud of the lane line area on the high-precision map is Pm.
[0008] The lane line area is specifically the image area where the lane lines in the visual image are located.
[0009] Algorithm action stage: After obtaining the point cloud of the lane line area detected in real time, the point cloud of the lane line area detected in real time and the point cloud of the lane line area on the high-precision map are aligned using the iterative nearest point method.
[0010] The specific process of the algorithm action phase is as follows:
[0011] S1. Use the rotation matrix R and the translation vector t to transform the positions of the points in the point cloud Pr of the lane line area detected in real time;
[0012] S2. For each point in the point cloud Pr of the lane line area detected in real time, find the nearest point in the point cloud Pm of the lane line area on the high-precision map to form a point pair;
[0013] S3. After obtaining all point pairs, calculate the current total residual according to the distance difference between two points in all point pairs;
[0014] The total residual is the square root of the sum of the squares of the distance differences between the two points in the point pair, that is, the standard deviation.
[0015] S4, using an optimization method to optimize the rotation matrix R and the translation vector t so as to reduce the value of the total residual;
[0016] S5, using the optimized rotation matrix R and translation vector t to return to step S1 for processing, and continuously repeating steps S1-S4 until the optimal rotation matrix R and translation vector t are obtained;
[0017] S6. The rotation matrix R and the translation vector t are used as the registration result between the point cloud of the lane line area and the point cloud of the lane line area on the high-precision map. The registration result directly reflects the initial positioning error and can be used to correct the initial positioning result to form a positioning result with a smaller error. The rotation matrix R and the translation vector t are used to register the point cloud Pr of the lane line area detected in real time to the point cloud Pm of the lane line area on the high-precision map to achieve auxiliary positioning.
[0018] In S5, after each repeated iteration, the average distance between all point pairs is calculated. If the average distance is less than the preset distance threshold or the number of iterations has exceeded the maximum number of iterations, the iteration is stopped and the rotation matrix R and translation vector t obtained this time are used as the optimal result of the nearest point iteration method; otherwise, the iterative process is repeated until the iterative calculation stops.
[0019] Kalman filtering is also used to fuse the initial positioning results with the error-corrected positioning results in the form of a Markov process.
[0020] Based on the test experience in the port scene, the present invention found that large bridge cranes, gantry cranes, and container stacks are located in the port operation area, and the high-quality ground lane lines are very dense. This is a visual feature with a clear structure and significant characteristics, and has a very high utilization value for auxiliary positioning algorithms. The present invention makes full use of the lane line information in the port scene, proposes an iterative closest point auxiliary positioning method based on visual lane lines for the port scene, and uses the visual lane line features to assist the final positioning result in the area with strong signal interference. The test results show that this method has a significant effect on improving the robustness of the real-time positioning algorithm in the area with strong signal interference.
[0021] The beneficial effects of the present invention are:
[0022] After applying the present invention, the real-time positioning accuracy and robustness in the strong interference area of the port satellite signal are significantly improved, and accurate lane line matching and positioning can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a visualization result diagram of the relative position between the lane front area detected in real time and the lane line area in the high-precision map before and after processing by the method of the present invention in a specific embodiment.
[0024] Figure 2 This is a graph of data results output for a specific implementation of an autonomous driving vehicle traveling in an area with strong signal interference.
[0025] Figure 3 This is the auxiliary positioning trajectory result obtained from the real recorded autonomous driving straight driving data. DETAILED DESCRIPTION
[0026] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] In the specific implementation, the implementation of the present invention includes a data preparation stage and an algorithm action stage:
[0028] Data preparation stage: Real-time detection and acquisition to obtain image visual information, extract the lane line area from the image visual information, and convert the lane line area from the camera coordinate system to the map coordinate system and convert it into a point cloud. The point cloud of the lane line area detected in real time is Pr;
[0029] Algorithm action stage: After obtaining the point cloud of the lane line area detected in real time, the point cloud of the lane line area detected in real time and the point cloud of the lane line area on the high-precision map are aligned using the iterative nearest point method.
[0030] Suppose the point cloud of the lane line area detected in real time is Pr, the point cloud of the lane line area on the high-precision map is Pm, the rotation matrix is pre-set to R, the initial is the unit matrix, and the translation vector is t, the initial is the zero vector.
[0031] The specific process of the algorithm action phase is as follows:
[0032] S1. Use the rotation matrix R and the translation vector t to transform the positions of the points in the point cloud Pr of the lane line area detected in real time;
[0033] S2. For each point in the point cloud Pr of the lane line area detected in real time, find the nearest point in the point cloud Pm of the lane line area on the high-precision map to form a point pair;
[0034] S3. After obtaining all point pairs, calculate the current total residual according to the distance difference between two points in all point pairs;
[0035] The total residual is the square root of the sum of the squares of the distance differences between the two points in a point pair, which is the standard deviation.
[0036] S4, using an optimization method to optimize the rotation matrix R and the translation vector t so as to reduce the value of the total residual;
[0037] In the specific implementation, the rotation matrix R is converted into Lie algebra, the three parameters in the Lie algebra and the three relative displacement parameters in the translation vector t are combined into six parameters, an equation relationship is established between the six parameters and the total residual, the partial derivatives of the six parameters are extracted from the equation relationship, the partial derivatives are combined into a Jacobian matrix, and the optimal six parameters are obtained through optimization method.
[0038] S5, using the optimized rotation matrix R and translation vector t to return to step S1 for processing, and continuously repeating steps S1-S4 until the optimal rotation matrix R and translation vector t are obtained;
[0039] That is, the optimized rotation matrix R and translation vector t are used to transform the positions of the points in the original point cloud Pr of the lane line area detected in real time, and the points in the point cloud Pr of the lane line area detected in real time after the position transformation are used to find the nearest points in the point cloud Pm of the lane line area on the high-precision map to form new point pairs.
[0040] In S5, after each repeated iteration, the average distance between all point pairs is calculated, that is, the average value of the distance between two points in all point pairs. If the average distance is less than the preset distance threshold or the number of iterations has exceeded the maximum number of iterations, the iteration is stopped and the rotation matrix R and translation vector t obtained this time are used as the optimal result of the nearest point iteration method; otherwise, the iterative process is repeated until the iterative calculation stops.
[0041] S6. Use the rotation matrix R and the translation vector t to align the point cloud Pr of the lane line area detected in real time to the point cloud Pm of the lane line area on the high-precision map to achieve auxiliary positioning.
[0042] In theory, the rotation matrix R and translation vector t obtained in the algorithm action phase are directly used to correct the positioning results, but such values are generally not directly accepted in actual autonomous driving. On the one hand, while the results of the registration solution reduce the error, they themselves will also carry certain errors due to various reasons; on the other hand, for autonomous driving, the smoothness of the positioning trajectory is very important. Directly correcting the positioning error without considering the smoothness will aggravate the spurt phenomenon of the positioning trajectory.
[0043] The present invention also adopts Kalman filtering during information fusion, and fuses the initial positioning result and the positioning result after error correction in the form of a Markov process, thereby ensuring that the overall error of real-time positioning is significantly reduced while the positioning trajectory remains smooth.
[0044] The existing technology for lane line positioning usually adopts an auxiliary positioning method based on lane line fitting and registration and an auxiliary positioning method based on the nearest lane line distance registration.
[0045] In this method of auxiliary positioning based on lane line fitting and registration, the three-dimensional point cloud data is not used as the basis for registration, but the identified lane line area is fitted into a straight line, the straight line is matched, and then registered with the line-level features in the high-precision map. This registration-assisted positioning method is commonly used in traditional autonomous driving systems, and like the solution in the present invention, it can also assist in correcting the longitudinal positioning, lateral positioning and vehicle orientation of the vehicle. In most cases, the error degree of this method is higher than that of the solution in the present invention, and the fitting process of the straight line area will cause errors. At the same time, this method of extracting high-level geometric features will also cause some scene information to be wasted.
[0046] In this method, the auxiliary positioning method based on the nearest lane line distance registration is not based on the three-dimensional point cloud data, but the distance between the vehicle and the nearest lane line is calculated, and the distance is registered with the corresponding distance in the high-precision map. This registration is mainly used to correct the lateral positioning of the vehicle. In most cases, the error degree of this method is higher than that of the solution in the present invention, mainly because this registration method loses too much scene information.
[0047] The test implementation of the embodiment of the present invention is as follows:
[0048] like Figure 1 As shown, Figure 1 The left figure is the visualization result of the relative position between the lane area detected in real time and the lane line area in the high-precision map before processing by the present invention. Figure 1 The right picture is the relative position visualization result after processing by the present invention, and the comparison between the two can reflect the significance of the correction effect.
[0049] like Figure 2 As shown, this is the data output from an autonomous driving vehicle traveling in a strong signal interference area. The solid line is the positioning trajectory output by the positioning algorithm equipped with the auxiliary positioning method proposed in the present invention, and the dotted line is the positioning trajectory output by the combined navigation device. In the area with the worst signal quality, the result error of the combined navigation device reaches more than five meters. Through the test results mentioned above, it can be analyzed that the present invention has a significant improvement effect on the accuracy and robustness of real-time positioning results.
[0050] Comparison of test results of the embodiments of the present invention:
[0051] Furthermore, the scheme (1) of the present invention, the auxiliary positioning method based on lane line fitting registration (2), and the auxiliary positioning method based on the nearest lane line distance registration (3) are compared on a real recorded automatic driving straight driving data, and the quantitative results are as follows:
[0052] Table 1
[0053] Max(m) Mean(m) Min(m) RMSE(m) (1) 0.114 0.028 0.002 0.038 (2) 0.214 0.054 0.007 0.071 (3) 2.189 1.065 0.038 1.279
[0054] From the analysis in the above table, it can be seen that in terms of the four data dimensions of maximum positioning error, average positioning error, minimum positioning error, and root mean square of positioning error, the solutions in the present invention have significant accuracy advantages.
[0055] The results are as follows Figure 3 As shown, the three trajectory diagrams from top to bottom are respectively the auxiliary positioning trajectory results obtained by the solution (1) in the present invention, the auxiliary positioning method based on lane line fitting and registration (2), and the auxiliary positioning method based on the nearest lane line distance registration (3) on a real recorded automatic driving straight driving data. This result has not been processed by the fusion method including Kalman filtering, so the smoothness is insufficient, but doing so can more significantly reflect the comparison of the auxiliary positioning results of different solutions.
[0056] from Figure 3 From the comparative analysis, it can be seen that the trajectory results obtained by the solution in the present invention have significant advantages in both accuracy and smoothness.
[0057] Therefore, the method of the present invention can achieve longitudinal matching, and the orientation of the vehicle can be corrected during the registration process.
Claims
1. A visual lane line assisted positioning method for port scenes, characterized by: Methods include: Data preparation stage: Real-time detection and acquisition to obtain image visual information, extract lane line areas from the image visual information, and convert the lane line areas from the camera coordinate system to the map coordinate system and convert them into point clouds; Algorithm action stage: After obtaining the point cloud of the lane line area detected in real time, the point cloud of the lane line area detected in real time and the point cloud of the lane line area on the high-precision map are aligned using the iterative closest point method; The specific process of the algorithm action phase is as follows: S1. Use the rotation matrix R and the translation vector t to transform the positions of the points in the point cloud Pr of the lane line area detected in real time; S2. For each point in the point cloud Pr of the lane line area detected in real time, find the nearest point in the point cloud Pm of the lane line area on the high-precision map to form a point pair; S3. After obtaining all point pairs, calculate the current total residual according to the distance difference between two points in all point pairs; The total residual is the square root of the sum of the distance differences between the two points in all point pairs, i.e. the standard deviation; S4, using an optimization method to optimize the rotation matrix R and the translation vector t so as to reduce the value of the total residual; S5, using the optimized rotation matrix R and translation vector t to return to step S1 for processing, and continuously repeating steps S1-S4 until the optimal rotation matrix R and translation vector t are obtained; S6. Use the rotation matrix R and the translation vector t to align the point cloud Pr of the lane line area detected in real time to the point cloud Pm of the lane line area on the high-precision map to achieve auxiliary positioning.
2. The visual lane line auxiliary positioning method for port scenes according to claim 1 is characterized by: In S5, after each repeated iteration, the average distance between all point pairs is calculated. If the average distance is less than the preset distance threshold or the number of iterations has exceeded the maximum number of iterations, the iteration is stopped and the rotation matrix R and translation vector t obtained this time are used as the optimal result of the nearest point iteration method; otherwise, the iterative process is repeated until the iterative calculation stops.
3. The visual lane line auxiliary positioning method for port scenes according to claim 1 is characterized by: Kalman filtering is also used to fuse the initial positioning results with the error-corrected positioning results in the form of a Markov process.
Citation Information
Patent Citations
Lane line detection method based on high-precision map
CN111242031A
