Multi-sensor fusion positioning method combined with lane line constraint
Through the multi-sensor fusion positioning method combined with lane line constraints, multi-frame data correlation is used to optimize lane line sampling points, and a high-precision lane line map is constructed in real time, which solves the problems of low positioning accuracy and large cumulative error of autonomous vehicles, and achieves high accuracy Pose optimization and reducing dependence on prior maps.
Patent Information
- Application Number
- CN202410517585.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-08-27
AI Technical Summary
Existing visual positioning technology has problems with low positioning accuracy and large cumulative errors in autonomous vehicles, especially when environmental uncertainty and GPS signals are unreliable, and it is highly dependent on a priori maps, which increases the complexity of the solution. Difficulty.
A multi-sensor fusion positioning method combined with lane line constraints is used to optimize the spatial position of the lane line sampling points through multi-frame data association, construct a high-precision lane line map in real time, and combine the lane line map and the lateral distance of the vehicle body to achieve multi-sensor fusion constraints Optimize posture and reduce positioning errors.
It effectively improves positioning accuracy, reduces cumulative errors, reduces dependence on prior maps, provides real-time high-precision lane line maps and pose optimization, and supports autonomous driving navigation and path planning.
Smart Images

Figure CN118548871A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual positioning and visual SLAM technology, and in particular to a multi-sensor fusion positioning method combined with lane line constraints. Background Art
[0002] In recent years, with the continuous development of autonomous driving technology, positioning technology has also been widely studied as a key technology for autonomous vehicles. Visual-inertial odometry (VIO) has been widely used due to its low cost. However, there are certain problems when VIO is used in autonomous vehicles. For example, when the VIO algorithm moves with a constant local linear acceleration on the vehicle body, the scale is unobservable. At the same time, studies have also proved that the degradation of scale can be eliminated by using a wheel speed meter, so the visual inertial wheel speed meter odometer (VIWO) came into being.
[0003] The introduction of a wheel speed meter can effectively improve the positioning accuracy of VIO, but the uncertainty of the environment and sensors will still cause certain errors. For example, large changes in scene brightness or interference from dynamic objects will lead to errors in visual feature point tracking, which in turn leads to errors in pose solution. Although this error is not obvious between adjacent frames, it cannot be ignored when accumulated over a long period of time. The introduction of GPS (Global Positioning System) can effectively eliminate the accumulated error, but the GPS signal will be very unreliable under occlusion and multipath effects.
[0004] Most of the operating scenarios of self-driving cars are urban road scenarios. Road signs, as a significant and stable feature, can be used to provide a stable and long-term constraint, thereby reducing positioning errors. There are currently two solutions for the use of road signs. One is to use road signs to build multi-frame constraints and implement joint BA (Bundle Adjustment) optimization. The other is to build a high-precision prior road sign map in advance, and associate the high-precision prior information with the vehicle's environmental perception, thereby improving the positioning accuracy of the vehicle and reducing the accumulated error of the odometer. However, these two solutions are too dependent on specially trained detection networks or high-precision prior maps, which increases the difficulty of using the solutions. Summary of the invention
[0005] In order to improve the positioning accuracy of existing visual positioning methods, reduce the cumulative drift error, and get rid of the dependence on prior maps, this paper proposes a multi-sensor fusion positioning method combined with lane line constraints. The spatial position of lane line sampling points is optimized by associating multiple frames of lane line data, and then a high-precision lane line map is constructed in real time. Lane line constraints are constructed by combining lane line maps and vehicle lateral distances, and the pose is optimized by combining multi-sensor fusion constraints to achieve high-precision positioning.
[0006] The technical solution of the present invention is as follows: A multi-sensor fusion positioning method combined with lane line constraints, comprising:
[0007] Based on the multi-sensor fusion odometer, the first pose is calculated; based on the lane line detection network, the lane line is extracted to obtain the first coordinate of the lane line sampling point;
[0008] Based on the inverse perspective transformation model, the second coordinates of the lane line sampling points are calculated, and the lane line equation is fitted based on the second coordinates of the lane line sampling points to calculate the first distance;
[0009] According to the first pose, predict the position of the lane line in the historical frame in the current frame, build the correlation matrix, and realize lane line tracking;
[0010] The second coordinate of the lane line sampling point is corrected according to the lane line curvature characteristics to obtain the third coordinate of the lane line sampling point; according to the lane line tracking information, multi-frame lane line data association is realized, the third coordinate of the lane line sampling point is corrected to obtain the fourth coordinate of the lane line sampling point; the local lane line map is constructed by combining the first pose and the fourth coordinate of the lane line sampling point;
[0011] According to the local lane line map and the first distance, a first error constraint is constructed. According to the first posture, a second error constraint is constructed. The first error constraint and the second error constraint are combined to achieve vehicle posture optimization.
[0012] The multi-sensor fusion odometer includes a camera, an IMU, and a wheel speed meter. The reprojection residual and the IMU-wheel speed meter pre-integration residual are constructed based on the multi-sensor data, and the optimization model is constructed by combining the above two residuals and the marginalized residual:
[0013]
[0014] Among them, ‖r p -J p X‖ 2 is the marginalized residual, is the IMU-wheel speedometer pre-integration residual, is the reprojection residual, X is the optimization variable, r p is the error term generated by marginalization, J p The optimization quantity corresponds to rp The Jacobian matrix of is the IMU-wheel speed meter observation between the kth frame and the k+1th frame, is the observation value of the jth feature point in the lth frame, B and C are the data set and image frame set of IMU-wheel speed meter respectively, solve the above optimization model and get the first pose;
[0015] The lane line detection network detects the lane lines in the image, obtains the first coordinates of the lane line sampling points and the instance level information of the lane lines in the current frame.
[0016] The calculation of the first distance is specifically as follows:
[0017] According to the first pose, the pitch angle data of the vehicle body is solved to provide necessary information for the inverse perspective transformation model;
[0018] The inverse perspective transformation model converts the first coordinate of the lane line sampling point into the vehicle body coordinate system according to the vehicle body pitch angle and the camera internal and external parameters to obtain the second coordinate of the lane line sampling point;
[0019] Based on the second coordinate of the lane line sampling point, the lane line is fitted using a cubic curve. A vertical line is drawn from the vehicle coordinate origin to the right lane line. The distance between the coordinate origin and the vertical point is the first distance, and the ID of the right lane line is recorded.
[0020] The lane line tracking is specifically as follows:
[0021] The lane line sampling points of the previous frame are projected to the current frame according to the first pose of the current frame, and the first coordinates of the lane line sampling points of the previous frame in the current frame image and the positions of the lane line sampling points in the vehicle body coordinate system of the current frame are predicted;
[0022] Generate the corresponding mask image based on the first coordinate of the sampling point predicted in the previous frame and the first coordinate of the lane line sampling point in the current frame, calculate the 2D-IOU between the two sets of masks and the 3D chamfer distance between the two sets of 3D point clouds, perform weighted combination of the 2D-IOU and 3D chamfer distance, and construct the association matrix required by the Hungarian algorithm;
[0023] The Hungarian algorithm is used to match the lane lines predicted in the previous frame with the lane lines detected in the current frame, and the assignment results with 2D-IOU less than the specified threshold or chamfer distance greater than the specified threshold are rejected. When there is a matching failure, pairing is continued with the tracked lane lines that have not been matched and detected within the previous 100 frames; the corresponding ID of the matching lane line is assigned to the successfully matched lane line, and a new ID is assigned to the lane line that still fails to match, and the ID of the right lane line corresponding to the first distance is updated.
[0024] The second coordinate of the corrected lane line sampling point is realized by the lane line curvature characteristic, specifically:
[0025] Fix the sampling point position closest to the vehicle body in the lane line farther away from the vehicle body, and project the sampling point onto the lane line closer to the vehicle body to obtain the translation vector [a l b l ], project the remaining sampling points of the farther lane lines on both sides of the vehicle onto the closer lane lines, and use [a l b l ] to make corrections:
[0026]
[0027] where [x l y l ] T is the second coordinate of the sampling point, [x' y'] T is the third coordinate of the corrected sampling point; in order to avoid miscorrection, only the lane lines on both sides of the vehicle body are corrected. At the same time, when the curvature deviation of the lane lines on both sides of the vehicle body is greater than the preset threshold, it is considered that the extension directions of the lane lines on both sides are different, and no correction is performed.
[0028] The construction of the local lane line map is specifically as follows:
[0029] The lane line sampling points of the historical frame are transformed from the world coordinates to the vehicle body coordinate system of the current frame through the first pose, and the lane line composed of the third coordinates of the lane line sampling points of the historical frame is obtained. A vertical line is drawn from the third coordinates of the lane line sampling points of the current frame to the lane line. When the vertical point is not in the interval of the lane line sampling points of the historical frame, it is a newly observed sampling point, otherwise it is a repeatedly observed sampling point; considering the error of depth recovery, the sampling points less than two meters away from the edge of the interval are also specified as newly observed sampling points;
[0030] The sampling points of repeated observations use the vertical point as the corrected position, that is, its corrected fourth coordinate. For the newly observed sampling points:
[0031]
[0032]
[0033] Where [xy] T and [x' y'] T are the third coordinate of the new observation sampling point and the fourth coordinate of the new observation sampling point respectively; [a n b n ] T is the translation vector from the repeated observation point to the corrected position; considering the error of the inverse perspective transformation model, the weight α is set n ;x n The X-axis coordinate of the repeated observation point in the camera coordinate system.
[0034] The fourth coordinate of the lane line sampling point is projected to the world coordinate system using the first pose to construct a local lane line map.
[0035] The vehicle body posture optimization comprises:
[0036] Draw a perpendicular line from the first pose to the lane line of the corresponding ID to obtain the intersection point, find a point on the perpendicular line that is equal to the first distance from the intersection point, and select the point on the left side of the lane line as the corrected position of the vehicle body;
[0037] Use the corrected position to construct the first error constraint, and use the first pose transformation to construct the second constraint:
[0038]
[0039]
[0040]
[0041] where χ=[x0,x1 … x n ] is the optimization variable, and are the six-degree-of-freedom postures of the vehicle body corresponding to the i-th frame and the j-th frame respectively; and are the vehicle rotation postures corresponding to the i-th frame and the j-th frame respectively, and are the vehicle positions corresponding to the i-th frame and the j-th frame respectively, O is the pose set of the visual inertial navigation wheel speedometer, L is the corrected position set based on the lane line, O ij is the second error constraint, and is the position and attitude output by the odometer, L i is the first error constraint, The corrected position is solved using the lateral distance of the vehicle body;
[0042] When the difference between the position change of two adjacent frames after correction and the position change output by the odometer is greater than the specified threshold, the first error constraint is not introduced;
[0043] Minimize the above error constraints, optimize the first pose, obtain the second pose, and achieve vehicle pose optimization.
[0044] In some examples, the first coordinate of the lane line sampling point is a pixel coordinate in the image frame;
[0045] In some examples, the second coordinate of the lane line sampling point is a three-dimensional coordinate in a vehicle body coordinate system;
[0046] In some instances, 2D-IOU is obtained by calculating the overlap of lane masks in two sets of images, and 3D chamfer distance is obtained by calculating the Euclidean distance between two sets of three-dimensional point clouds.
[0047] The multi-sensor fusion positioning method combined with lane line constraints proposed by the present invention has the following beneficial effects:
[0048] (1) The present invention proposes a lane line tracking method that combines two-dimensional and three-dimensional information to effectively obtain multi-frame data of a single lane line, providing good support for constructing an instance-level lane line map.
[0049] (2) The present invention proposes a method for constructing an instance-level lane line map in real time. The spatial position of the lane line sampling point is corrected by combining the lane line curvature characteristics and multi-frame data, which effectively reduces the mapping error of the multi-frame data splicing scheme and constructs an accurate lane line map without relying on a special detection network. At the same time, the instance-level lane line map can provide certain support for path planning.
[0050] (3) The present invention proposes a posture optimization scheme based on a local lane line map, which makes full use of the lateral constraints of the lane line, gets rid of the dependence on the prior map, and optimizes the vehicle posture using the lane line map constructed in real time, effectively reducing the cumulative error of the multi-sensor odometer and improving the positioning accuracy, which is helpful for the subsequent intelligent tasks such as navigation and planning of autonomous driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A flowchart of a multi-sensor fusion positioning method combined with lane line constraints provided in this embodiment;
[0052] Figure 2 A schematic diagram of the execution logic provided for this embodiment;
[0053] Figure 3 A schematic diagram of the lane tracking solution provided in this embodiment;
[0054] Figure 4 A schematic diagram of position correction based on lane lines provided in this embodiment. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, rather than all of the embodiments. The specific embodiments described herein are only used to explain the present disclosure, rather than to limit the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art are within the scope of protection of the present disclosure. In addition, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0056] This example provides a multi-sensor fusion positioning method combined with lane line constraints. Figure 1 and Figure 2 As shown, the following steps are included:
[0057] Step 1: Calculate the first pose based on the multi-sensor fusion odometer, and obtain the lane line position in the image frame based on the lane line detection network;
[0058] In some embodiments, the method specifically includes the following steps:
[0059] Step 1.1: Combine multi-sensor fusion information to build a multi-sensor fusion odometer and calculate the first pose.
[0060] In some embodiments, the multi-sensor includes a camera, an IMU, and a wheel tachometer, and an optimization model is constructed by combining the reprojection error and the IMU-wheel tachometer pre-integration residual to solve the first pose.
[0061] Step 1.2: Based on the lane line detection network, detect the lane lines in the image, obtain the first coordinates of the lane lines and the instance-level information of the lane lines in the current frame.
[0062] Step 2: Restore the depth of the lane line sampling point based on the inverse perspective transformation model, obtain the second coordinate of the sampling point, and calculate the first distance.
[0063] In some embodiments, the method specifically includes the following steps:
[0064] Step 2.1: According to the first pose, solve the pitch angle data of the vehicle body to provide necessary information for the inverse perspective transformation model.
[0065] Step 2.2: The inverse perspective transformation model restores the second coordinate of the lane line sampling point according to the vehicle body pitch angle, the camera internal and external parameters and the first coordinate of the lane line sampling point.
[0066] Step 2.3: Use a cubic curve to fit the lane line, draw a perpendicular line from the vehicle coordinate origin to the right lane line, the distance between the coordinate origin and the perpendicular point is the first distance, and record the ID of the right lane line.
[0067] Step 3: Based on the first pose, predict the position of the lane line in the historical frame in the current frame, build the association matrix, and realize lane line tracking.
[0068] In some embodiments, the method specifically includes the following steps:
[0069] Step 3.1: Predict the position of the lane line sampling point in the previous frame in the current frame image and the position in the vehicle body coordinate system in the current frame based on the first pose of the current frame.
[0070] Step 3.2: Generate corresponding mask images for the two sets of lane line data, calculate the 2D-IOU between the two sets of masks and the 3D chamfer distance between the two sets of 3D point clouds, perform weighted combination of the 2D-IOU and 3D chamfer distance, and construct the association matrix required by the Hungarian algorithm.
[0071] Step 3.3: Use the Hungarian algorithm to match the two sets of lane lines and reject the assignment results whose 2D-IOU is less than the specified threshold or the chamfer distance is greater than the specified threshold.
[0072] Step 3.4: If there is a match failure, continue to pair with the tracked lane lines that were detected within the previous 100 frames but were not matched. Assign the corresponding ID of the matched lane line to the successfully matched lane line, and assign a new ID to the lane line that still failed to match. At the same time, update the ID of the right lane line corresponding to the first distance.
[0073] Step 4: Correct the second coordinate of the lane line sampling point according to the lane line curvature characteristics to obtain the third coordinate of the lane line sampling point; realize multi-frame lane line data association according to the lane line tracking information, correct the third coordinate of the lane line sampling point, obtain the fourth coordinate of the lane line sampling point, and construct a local lane line map by combining the first pose and the fourth coordinate of the lane line sampling point;
[0074] In some embodiments, the method specifically includes the following steps:
[0075] Step 4.1: The farther lane line and the closer lane line on both sides of the vehicle are respectively recorded as Line far and Line near . Pin Line far The sampling point closest to the vehicle body is projected onto the Line near On the left, the translation vector is recorded: l b l ] Then Line farThe remaining sampling points are projected onto Line near , and use the above translation vector to correct it:
[0076]
[0077] where [x l y l ] T is the projection point position, [x' y'] T is the corrected sampling point position, i.e., the third coordinate of the sampling point. In order to avoid miscorrection, only the lane lines on both sides of the vehicle are corrected. At the same time, when the curvature deviation of the lane lines on both sides of the vehicle is greater than the specified threshold, it is considered that the extension directions of the lane lines on both sides are different, and no correction is performed.
[0078] Step 4.2: Use the first pose to transform the lane line sampling points in the historical frame from world coordinates to the vehicle coordinates in the current frame.
[0079] Step 4.3: Draw a perpendicular line from the current frame sampling point to the lane line composed of the historical frame sampling points. If the perpendicular point is not within the historical frame lane line sampling point interval, it is considered a newly observed sampling point, otherwise it is a repeated observation sampling point. Considering the error of depth recovery, sampling points less than two meters from the edge of the interval are also defined as newly observed sampling points.
[0080] Step 4.4: Repeat the observation point and use the vertical point as its corrected position. For the newly observed sampling point:
[0081]
[0082]
[0083] Where [xy] T and [x′ y′] T are the third coordinate of the observed sampling point and the fourth coordinate of the new observed sampling point respectively. n b n ] T is the translation vector from the repeated observation point to the corrected position. Considering the error of the inverse perspective transformation model, the weight α is set n .x n is the X-axis coordinate of the repeated observation point in the camera coordinate system, x n The larger the distance from the camera, the larger the n The smaller.
[0084] Step 4.5: Use the first pose to project the fourth coordinate of the lane sampling point to the world coordinate system to construct an accurate local lane map.
[0085] Step 5: Construct a first error constraint based on the local lane map and the first distance, construct a second error constraint based on the first pose, and combine the first error constraint and the second error constraint to optimize the vehicle pose.
[0086] In some embodiments, the method specifically includes the following steps:
[0087] Step 5.1: Draw a perpendicular line from the first pose to the lane line of the corresponding ID and record the intersection point. Find a point on the perpendicular line that is equal to the first distance from the intersection point and select the point on the left side of the lane line as the corrected position of the vehicle.
[0088] Step 5.2: Use the corrected position to construct the first error constraint, and use the first pose transformation to construct the second constraint:
[0089]
[0090]
[0091]
[0092] where χ=[x0,x1 … x n ] is the optimization variable, and are the six-degree-of-freedom postures of the vehicle body corresponding to the i-th frame and the j-th frame respectively; and are the vehicle rotation postures corresponding to the i-th frame and the j-th frame respectively, and are the vehicle positions corresponding to the i-th frame and the j-th frame respectively. O is the pose set of the visual inertial navigation wheel speedometer, L is the corrected position set based on the lane line, O ij is the second error constraint, and is the position and attitude output by the odometer, L i is the first error constraint, The corrected position is solved by using the lateral distance of the vehicle body. In order to ensure the accuracy of the introduced constraints, if the difference between the position change of two adjacent frames after correction and the position change output by the odometer is greater than the specified threshold, the first error constraint is not introduced.
[0093] Step 5.3: Minimize the above error constraints, optimize the first pose, obtain the second pose, and achieve vehicle pose optimization.
[0094] This embodiment performs a positioning accuracy test on the KAIST Urban autonomous driving dataset. The average positioning error of the system is 0.68m. This method also meets the real-time requirements and can provide continuous positioning results at a speed of 10 frames per second. According to the experimental test results, the system proposed in the present invention can obtain high-precision visual positioning poses in real time.
[0095] Table 1 Absolute trajectory error (ATE) of the positioning result of the method of the present invention, meters.
[0096]
[0097] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A multi-sensor fusion positioning method combined with lane line constraints, characterized in that: include: Calculate the first pose based on multi-sensor fusion odometer; Extract lane lines based on the lane line detection network and obtain the first coordinates of the lane line sampling points; Based on the inverse perspective transformation model, the second coordinates of the lane line sampling points are calculated, and the lane line equation is fitted based on the second coordinates of the lane line sampling points to calculate the first distance; According to the first pose, predict the position of the lane line in the historical frame in the current frame, build the correlation matrix, and realize lane line tracking; The second coordinate of the lane line sampling point is corrected according to the lane line curvature characteristics to obtain the third coordinate of the lane line sampling point; according to the lane line tracking information, multi-frame lane line data association is realized, the third coordinate of the lane line sampling point is corrected to obtain the fourth coordinate of the lane line sampling point; the local lane line map is constructed by combining the first pose and the fourth coordinate of the lane line sampling point; According to the local lane line map and the first distance, a first error constraint is constructed. According to the first posture, a second error constraint is constructed. The first error constraint and the second error constraint are combined to achieve vehicle posture optimization.
2. The multi-sensor fusion positioning method combined with lane line constraints according to claim 1 is characterized in that: The multi-sensor fusion odometer includes a camera, an IMU, and a wheel speed meter. The reprojection residual and the IMU-wheel speed meter pre-integration residual are constructed based on the multi-sensor data, and the optimization model is constructed by combining the above two residuals and the marginalized residual: Among them, ‖r p -J p X‖ 2 is the marginalized residual, is the IMU-wheel speedometer pre-integration residual, is the reprojection residual, X is the optimization variable, r p is the error term generated by marginalization, J p The optimization quantity corresponds to r p The Jacobian matrix of is the IMU-wheel speed meter observation between the kth frame and the k+1th frame, is the observation value of the jth feature point in the lth frame, B and C are the data set and image frame set of IMU-wheel speed meter respectively, solve the above optimization model and get the first pose; The lane line detection network detects the lane lines in the image, obtains the first coordinates of the lane line sampling points and the instance level information of the lane lines in the current frame.
3. The multi-sensor fusion positioning method combined with lane line constraints according to claim 2 is characterized in that: The calculation of the first distance is specifically as follows: According to the first pose, the pitch angle data of the vehicle body is solved to provide necessary information for the inverse perspective transformation model; The inverse perspective transformation model converts the first coordinate of the lane line sampling point into the vehicle body coordinate system according to the vehicle body pitch angle and the camera internal and external parameters to obtain the second coordinate of the lane line sampling point; Based on the second coordinate of the lane line sampling point, the lane line is fitted using a cubic curve. A vertical line is drawn from the vehicle coordinate origin to the right lane line. The distance between the coordinate origin and the vertical point is the first distance, and the ID of the right lane line is recorded.
4. The multi-sensor fusion positioning method combined with lane line constraints according to claim 3 is characterized in that: The lane line tracking is specifically as follows: The lane line sampling points of the previous frame are projected to the current frame according to the first pose of the current frame, and the first coordinates of the lane line sampling points of the previous frame in the current frame image and the positions of the lane line sampling points in the vehicle body coordinate system of the current frame are predicted; Generate the corresponding mask image based on the first coordinate of the sampling point predicted in the previous frame and the first coordinate of the lane line sampling point in the current frame, calculate the 2D-IOU between the two sets of masks and the 3D chamfer distance between the two sets of 3D point clouds, perform weighted combination of the 2D-IOU and 3D chamfer distance, and construct the association matrix required by the Hungarian algorithm; The Hungarian algorithm is used to match the lane lines predicted in the previous frame with the lane lines detected in the current frame. The assignment results with 2D-IOU less than the specified threshold or chamfer distance greater than the specified threshold are rejected. When there is a matching failure, the lane lines detected within the previous 100 frames that have not been matched are paired. The corresponding ID of the matched lane lines is assigned to the successfully matched lane lines, and the lane lines that still fail to match are assigned new IDs. At the same time, the ID of the right lane line corresponding to the first distance is updated.
5. The multi-sensor fusion positioning method combined with lane line constraints according to claim 4 is characterized in that: The second coordinate of the corrected lane line sampling point is realized by the lane line curvature characteristic, specifically: Fix the sampling point position closest to the vehicle body in the lane line farther away from the vehicle body, and project the sampling point onto the lane line closer to the vehicle body to obtain the translation vector [a l b l ], project the remaining sampling points of the farther lane lines on both sides of the vehicle onto the closer lane lines, and use [a l b l ] to make corrections: where [x l y l ] T is the second coordinate of the sampling point, [x' y'] T is the third coordinate of the corrected sampling point; in order to avoid miscorrection, only the lane lines on both sides of the vehicle body are corrected. At the same time, when the curvature deviation of the lane lines on both sides of the vehicle body is greater than the preset threshold, it is considered that the extension directions of the lane lines on both sides are different, and no correction is performed.
6. The multi-sensor fusion positioning method combined with lane line constraints according to claim 5 is characterized in that: The construction of the local lane line map is specifically as follows: The lane line sampling points of the historical frame are transformed from the world coordinates to the vehicle body coordinate system of the current frame through the first pose, and the lane line composed of the third coordinates of the lane line sampling points of the historical frame is obtained. A vertical line is drawn from the third coordinates of the lane line sampling points of the current frame to the lane line. When the vertical point is not in the interval of the lane line sampling points of the historical frame, it is a newly observed sampling point, otherwise it is a repeatedly observed sampling point; considering the error of depth recovery, the sampling points less than two meters away from the edge of the interval are also specified as newly observed sampling points; The sampling points of repeated observations use the vertical point as the corrected position, that is, its corrected fourth coordinate. For the newly observed sampling points: Where [xy] T and [x' y'] T are the third coordinate of the new observation sampling point and the fourth coordinate of the new observation sampling point respectively; [a n b n ] T is the translation vector from the repeated observation point to the corrected position; considering the error of the inverse perspective transformation model, the weight α is set n ;x n is the X-axis coordinate of the repeated observation point in the camera coordinate system; The fourth coordinate of the lane line sampling point is projected to the world coordinate system using the first pose to construct a local lane line map.
7. The multi-sensor fusion positioning method combined with lane line constraints according to claim 6 is characterized in that: The vehicle body posture optimization comprises: Draw a perpendicular line from the first pose to the lane line of the corresponding ID to obtain the intersection point, find a point on the perpendicular line that is equal to the first distance from the intersection point, and select the point on the left side of the lane line as the corrected position of the vehicle body; Use the corrected position to construct the first error constraint, and use the first pose transformation to construct the second constraint: X * =my anger χ {∑ (i,j)∈O ‖O ij ‖ 2 +∑ (i)∈L ‖L i ‖ 2 } (5) Where χ=[x0,x1…x n ] is the optimization variable, and are the six-degree-of-freedom postures of the vehicle body corresponding to the i-th frame and the j-th frame respectively; and are the vehicle rotation postures corresponding to the i-th frame and the j-th frame respectively, and are the vehicle positions corresponding to the i-th frame and the j-th frame respectively, O is the pose set of the visual inertial navigation wheel speedometer, L is the corrected position set based on the lane line, O ij is the second error constraint, and is the position and attitude output by the odometer, L i is the first error constraint, The corrected position is solved using the lateral distance of the vehicle body; When the difference between the position change of two adjacent frames after correction and the position change output by the odometer is greater than the specified threshold, the first error constraint is not introduced; Minimize the above error constraints, optimize the first pose, obtain the second pose, and achieve vehicle pose optimization.
Citation Information
Cited By
Visual SLAM (Simultaneous Localization and Mapping) vehicle positioning method based on high-precision map for GNSS (Global Navigation Satellite System) denial environment
CN119469177A
SLAM-based road lane visualization model construction method and device
CN121810916A
