Absolute positioning method, device and storage medium for unmanned surface boat
Through the multi-source shoreline sensing technology of thermal infrared cameras, lidar and navigation radar, combined with coastal remote sensing tile images, the absolute positioning of surface unmanned boats is achieved, solving the positioning problem in the environment where GNSS signals are missing, and expanding its tasks Ability to execute.
Patent Information
- Application Number
- CN202410468897.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-18
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-04-18
AI Technical Summary
Under satellite denial conditions or in an environment where GNSS signals are interfered with and deceived, unmanned surface vessels cannot achieve absolute positioning and obtain precise geographical location information in the sea, which limits the execution of their navigation missions.
Thermal infrared cameras, lidar and navigation radar are used to obtain coastline area data through multi-source coastline sensing, edge feature extraction and pose transformation estimation are performed, and cross-view registration is performed in combination with coastal remote sensing tile images to achieve unmanned boat navigation. Absolute positioning.
Without relying on GNSS signals, unmanned boats can obtain spatial geodetic coordinates and heading angles in the world's geographical coordinate system, expanding the variety of tasks they can perform and supporting autonomous coastal inspections and complex sea area tasks.
Smart Images

Figure CN118348554B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of positioning and navigation technology, and in particular relates to an absolute positioning method, equipment and storage medium for an unmanned surface boat based on multi-source shoreline perception. Background Art
[0002] At present, most of the existing positioning technologies related to unmanned surface vessels (USVs) rely on the Global Navigation Satellite System (GNSS) signals. However, under satellite denial conditions or when GNSS signals are interfered with or deceptive, the sensors carried by the USVs can only achieve coarse relative positioning, and cannot obtain the absolute position information of the USVs in the sea area, making it difficult for the unmanned system to complete navigation tasks that rely on precise absolute geographic location information in the sea area.
[0003] The patent document with application number CN202210884919.6 discloses a method for positioning an unmanned ship based on multi-sensor data fusion. On the basis of the latitude and longitude information of the navigation track of the unmanned ship collected by the "positioning system sensor" or GPS, subsequent positioning information fusion correction and other strategies are implemented, that is, the positioning method realizes fine positioning based on the existing positioning signal. In addition, GNSS includes the US GPS, Russia's GLONASS, China's Beidou and other systems, so this method cannot be applied in a sea environment without GNSS signals, that is, without GPS signals.
[0004] The patent document with application number CN202210575283.7 discloses a multi-sensor fusion unmanned boat simultaneous positioning and mapping (SLAM) method and system. By fusing the perception information of solid-state radar and mechanical lidar, the spatial position and posture of the surface unmanned boat relative to the river bank are acquired. This method cannot obtain the absolute position information of the surface unmanned boat, and does not yet have high-precision, long-distance mapping capabilities. Summary of the invention
[0005] The purpose of the present invention is to provide a method, device and storage medium for absolute positioning of an unmanned surface vehicle, so as to solve the problem that the absolute positioning of the unmanned surface vehicle cannot be achieved under satellite denial conditions or in an environment where GNSS signals are interfered with or deceiving.
[0006] The present invention solves the above technical problems through the following technical solutions: an absolute positioning method for an unmanned surface boat, the unmanned surface boat is equipped with a thermal infrared camera, a laser radar and a navigation radar that have completed synchronous calibration, and the absolute positioning method comprises the following steps:
[0007] Obtain the point cloud data of the shoreline area detected by the lidar and the thermal infrared image of the shoreline area collected by the thermal infrared camera at the same time;
[0008] According to the point cloud data of the shoreline area and the thermal infrared map of the shoreline area, a shoreline point cloud data set in a laser radar coordinate system is obtained;
[0009] Extract edge features from the shoreline point cloud data set in the laser radar coordinate system to obtain an edge feature point set;
[0010] The position transformation relationship of the k+1th frame of the laser radar relative to the kth frame is estimated by using the edge feature point sets of the k+1th frame and the kth frame of the laser radar;
[0011] According to the shoreline point cloud data set in the laser radar coordinate system and the position transformation relationship between the k+1th frame of the laser radar and the kth frame, the estimated position and point cloud map of the unmanned boat in the k+1th frame is obtained;
[0012] According to the shoreline point cloud data set in the laser radar coordinate system and the original echo image collected by the marine radar, the estimated position and point cloud map of the unmanned boat in the k+1th frame are periodically corrected to obtain the estimated position and point cloud map of the unmanned boat in the k+1th frame after correction;
[0013] Acquire coastal remote sensing tile image data, perform coarse-grained retrieval matching on the corrected point cloud map of the k+1th frame and the coastal remote sensing tile image data, and obtain a two-dimensional coastline map and remote sensing tile data corresponding to the point cloud map;
[0014] The absolute positioning of the unmanned boat is performed based on the estimated posture of the unmanned boat in the k+1th frame after correction, the two-dimensional coastline map corresponding to the point cloud map, and the remote sensing tile data.
[0015] Furthermore, according to the point cloud data of the shoreline area and the thermal infrared map of the shoreline area, a shoreline point cloud data set in a laser radar coordinate system is obtained, and the specific implementation process includes:
[0016] Performing semantic segmentation on the thermal infrared image of the shoreline area to obtain a two-dimensional segmentation point set of the shoreline area;
[0017] Each point in the point cloud data of the shoreline area is projected onto the image plane of the thermal infrared camera. The specific projection formula is:
[0018]
[0019] Among them, [X L ,Y L ,Z L ,1] T is the homogeneous coordinate of the midpoint of the point cloud data of the shoreline area under the laser radar coordinate system L;
[0020] [X infrared ,Y infrared ,1] T is the homogeneous coordinate of the pixel point obtained by projecting the point onto the image plane of the thermal infrared camera; Z c is the scale factor; A is the spatial transformation matrix between the laser radar coordinate system and the image plane coordinate system; infrared is the internal parameter matrix of the thermal infrared camera;
[0021] Determine whether the projection range of each pixel point falls within the two-dimensional segmentation point set, if so, the point corresponding to the pixel point is a shoreline point; otherwise, the point corresponding to the pixel point is a non-shoreline point;
[0022] The coastline point cloud dataset in the laser radar coordinate system L is composed of all coastline points.
[0023] Furthermore, the LeGO-LOAM algorithm is used to extract edge features from the shoreline point cloud dataset in the laser radar coordinate system. The specific implementation process includes:
[0024] For each point in the shoreline point cloud data set in the laser radar coordinate system, a least squares fitting is performed on the point and its neighboring points to obtain the curvature of the point;
[0025] Points whose curvature is greater than the curvature threshold are selected as edge feature points to obtain an edge feature point set.
[0026] Furthermore, the position transformation relationship of the k+1th frame of the laser radar relative to the kth frame is estimated by using the edge feature point sets of the k+1th frame and the kth frame of the laser radar, and the specific implementation process includes:
[0027] The nearest neighbor search algorithm is used to find the matching relationship between the edge feature points in the edge feature point set of the k+1th frame and the edge feature points in the edge feature point set of the kth frame, and the matching feature pairs of the k+1th frame and the kth frame are obtained;
[0028] A nonlinear optimization algorithm is used to estimate the matching feature pairs between the k+1th frame and the kth frame to obtain the pose transformation relationship between the k+1th frame and the kth frame.
[0029] Furthermore, according to the shoreline point cloud data set in the laser radar coordinate system and the position transformation relationship between the k+1th frame of the laser radar and the kth frame, the estimated position and point cloud map of the unmanned boat in the k+1th frame is obtained. The specific implementation process includes:
[0030] According to the position and posture transformation relationship of the laser radar coordinate system relative to the world coordinate system at the kth frame and the position and posture transformation relationship of the laser radar's k+1th frame relative to the kth frame, the position and posture transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame is obtained;
[0031] According to the position transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame, the shoreline point cloud dataset in the laser radar coordinate system is projected to the world coordinate system to obtain the shoreline point cloud dataset of the k+1th frame in the world coordinate system;
[0032] Construct a point cloud map of the kth frame based on the shoreline area point cloud data from the 1st frame to the kth frame of the laser radar;
[0033] The shoreline point cloud dataset in the world coordinate system is matched with the point cloud map of the k-th frame by using the nearest neighbor search algorithm to obtain matching point pairs between the shoreline point cloud dataset in the world coordinate system and the point cloud map of the k-th frame;
[0034] Based on the matching point pairs, a nonlinear optimization algorithm is used to optimize the pose transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame, and the pose transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame after optimization is obtained, that is, the estimated pose of the unmanned boat at the k+1th frame is obtained;
[0035] The estimated position and posture of the unmanned boat in the k+1th frame is used to splice the shoreline point cloud dataset in the world coordinate system into the point cloud map of the kth frame to obtain the point cloud map of the k+1th frame.
[0036] Furthermore, the estimated position and point cloud map of the unmanned boat in the k+1th frame are periodically corrected according to the shoreline point cloud data set in the laser radar coordinate system and the original echo image collected by the marine radar. The specific implementation process includes:
[0037] The factor graph is constructed by taking the position transformation relationship of the k+1th frame of the laser radar relative to the kth frame as the edge of the factor graph, and taking the estimated position of the unmanned boat in the k+1th frame as the vertex of the factor graph, and the factor graph is initialized;
[0038] Extract the coast direction echo image from the original echo image collected by the marine radar according to the coastline point cloud data set in the laser radar coordinate system;
[0039] Assume that the correction interval frame of the marine radar is h, determine whether the k+1th frame of the laser radar is an integer multiple of the correction interval frame h of the marine radar, if not, output the estimated pose and point cloud map of the unmanned boat of the k+1th frame, and add the pose transformation relationship of the k+1th frame relative to the kth frame and the estimated pose of the unmanned boat of the k+1th frame to the factor graph; if so, extract the coast direction echo image of the k+1th frame from the original echo image collected by the marine radar according to the coast point cloud data set in the laser radar coordinate system again, and match the common shoreline features in the two extracted coast direction echo images;
[0040] Using the nonlinear optimization algorithm, the pose transformation relationship of the marine radar in the k+1th frame relative to the previous h frames is estimated based on the matching feature point pairs obtained by matching;
[0041] Adding the pose transformation relationship of the marine radar in the k+1th frame of the laser radar relative to the previous h frames and the estimated pose of the unmanned boat in the k+1th frame to the factor graph;
[0042] The factor graph is optimized, the estimated position and posture of the unmanned boat between the k+1-h frame and the k+1 frame is corrected, and the point cloud map between the k+1-h frame and the k+1 frame is readjusted using the corrected estimated position and posture of the unmanned boat.
[0043] Furthermore, according to the shoreline point cloud data set in the laser radar coordinate system, the coast direction echo image is extracted from the original echo image collected by the marine radar. The specific implementation process is as follows:
[0044] The horizontal angular range of the coastal area is obtained based on the edge points on both sides of the coastline point cloud dataset in the laser radar coordinate system and the origin of the laser radar coordinate system;
[0045] Draw an angle bisector of the horizontal angular range through the origin of the laser radar coordinate system;
[0046] A perpendicular line is drawn through the origin of the laser radar coordinate system to the angle bisector, and the original echo image within 180° on the coast side is retained to obtain the coast direction echo image.
[0047] Furthermore, the common shoreline features in the two extracted coast direction echo images are matched, and the specific implementation process is as follows:
[0048] The SIFT operator is used to extract the coordinates of the feature points and the feature descriptors in the first extracted coast direction echo image, and the SIFT operator is used to extract the coordinates of the feature points and the feature descriptors in the second extracted coast direction echo image;
[0049] The K nearest neighbor algorithm is used to match the extracted feature descriptors to obtain the matching feature point pairs between the two extracted coast direction echo images.
[0050] Furthermore, a coarse-grained search and matching is performed on the corrected point cloud map of the k+1th frame and the coastal remote sensing tile image data, and the specific implementation process is as follows:
[0051] Performing shoreline segmentation on the coastal remote sensing tile image data, superimposing the segmentation mask and the coastal remote sensing tile image data in the channel dimension to obtain fused tile image data;
[0052] Using the deviation between the world coordinate system and the true north direction in the point cloud map at the initial moment, the point cloud map of the k+1th frame after correction is rotated counterclockwise around the x-axis of the world coordinate system to make it consistent with the direction in the coastal remote sensing tile image data;
[0053] Project the rotated point cloud map to a bird's-eye view to obtain a two-dimensional bird's-eye view map;
[0054] Scaling the two-dimensional bird's-eye view map to the same receptive field scale as the coastal remote sensing tile image data to obtain a two-dimensional coastline map;
[0055] Performing feature extraction on the fused tile image data and the two-dimensional coastline map respectively to obtain a tile feature vector and a map feature vector;
[0056] Preliminarily compressing the tile feature vector and the map feature vector respectively;
[0057] The tile feature vectors and map feature vectors that have been initially compressed are subjected to feature coding and retrieval matching to obtain the remote sensing tile data and its geographic spatial information corresponding to the minimum distance between the feature codes.
[0058] Furthermore, the absolute positioning of the unmanned boat is performed based on the estimated posture of the unmanned boat in the k+1th frame after correction, the two-dimensional coastline map corresponding to the point cloud map, and the remote sensing tile data. The specific implementation process is as follows:
[0059] The remote sensing tile data is registered with the two-dimensional shoreline map to calculate the plane rectangular coordinates of the unmanned boat in the projection coordinate system;
[0060] The plane rectangular coordinates of the unmanned boat in the projection coordinate system are converted into spatial geodetic coordinates in the geographic coordinate system to obtain the absolute position of the unmanned boat.
[0061] Furthermore, the calculation formula of the plane rectangular coordinates of the unmanned boat in the projection coordinate system is:
[0062]
[0063]
[0064] Among them, (x, y) represents the plane rectangular coordinates of the unmanned boat in the projection coordinate system before overflow processing, (x', y') represents the plane rectangular coordinates of the unmanned boat in the projection coordinate system after overflow processing, (x max ,y max ) represents the maximum value of the plane rectangular coordinate of the unmanned boat in the projection coordinate system; (x k ,y k ,w k ,h k ) represents the geospatial information of remote sensing tile data; Respectively represent the pixel width and height of remote sensing tile data; Indicates the pixel distance between the upper left corner of the two-dimensional coastline map and the upper left corner of the remote sensing tile data on the y-axis of the projection coordinate system; represents the pixel distance between the upper left corner of the two-dimensional coastline map and the upper left corner of the remote sensing tile data on the z axis of the projection coordinate system; r represents the distance between the unmanned boat and the origin of the world coordinate system; θ yaw The angle at which the point cloud map of the k+1th frame after correction rotates counterclockwise around the x-axis of the world coordinate system; θ w represents the heading angle of the unmanned boat in the world coordinate system, (y w ,z w ) represents the coordinates of the unmanned boat in the world coordinate system.
[0065] Based on the same concept, the present invention also provides a terminal device, the terminal device comprising:
[0066] Memory for storing computer programs;
[0067] The processor is used to implement the above-mentioned absolute positioning method for the unmanned surface boat when executing the computer program.
[0068] Based on the same concept, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the absolute positioning method of the unmanned surface boat as described above is implemented.
[0069] Beneficial Effects
[0070] Compared with the prior art, the advantages of the present invention are:
[0071] The surface unmanned boat in the present invention can obtain the spatial geodetic coordinates of the unmanned boat in the world geographic coordinate system and the unmanned boat's own heading angle through multi-source shoreline perception by relying only on its own sensors without using GNSS signals; the richness of the surface unmanned boat's execution tasks can be expanded, and more complex sea tasks such as autonomous coastal and island inspections and autonomous landings can be performed according to the spatial geographic coordinates. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only one embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0073] Figure 1 is a flow chart of an absolute positioning method for an unmanned surface boat in an embodiment of the present invention;
[0074] Figure 2 Schematic diagram of shoreline perception from the perspective of an unmanned surface boat in an embodiment of the present invention;
[0075] Figure 3 is a schematic diagram of cross-viewing angle registration and positioning in an embodiment of the present invention;
[0076] Figure 4 It is a correction block diagram of a point cloud map and a USV posture constructed based on a laser radar guided by a short-wave navigation radar in an embodiment of the present invention;
[0077] Figure 5 is a schematic diagram of establishing a point cloud map by a laser radar in an embodiment of the present invention;
[0078] Figure 6 1 is a schematic diagram of the posture correction of the shortwave marine radar in an embodiment of the present invention;
[0079] Figure 7 is a flow chart of shortwave marine radar posture correction in an embodiment of the present invention;
[0080] Figure 8 Schematic diagram of shortwave marine radar echo image acquisition in an embodiment of the present invention;
[0081] Fig. 9 This is a diagram of the absolute positioning architecture of a cross-viewing unmanned boat in an embodiment of the present invention;
[0082] FIG10( a ) is a schematic diagram of point cloud map rotation in an embodiment of the present invention;
[0083] FIG10( b ) is a schematic diagram of the registration of the remote sensing tile segmentation mask and the horizontal projection of the point cloud map in an embodiment of the present invention. DETAILED DESCRIPTION
[0084] The following is a clear and complete description of the technical solutions in the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0085] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0086] Example 1
[0087] In order to solve the problem of autonomous geographic positioning of surface unmanned boats in a satellite denial environment, the present invention integrates multi-source sensor information, specifically including thermal infrared cameras, lidar, X-band navigation radar and coastal remote sensing tile image data, and performs perception processing on multi-source coastlines. Specifically, a long-distance coastal point cloud map construction and cross-perspective registration and positioning of long-distance coastal point cloud maps and remote sensing tile images are proposed to realize the acquisition of spatial geodetic coordinate information (latitude and longitude) of the surface unmanned boat in the geographic coordinate system and the attitude information (yaw angle) of the unmanned boat.
[0088] The unmanned surface boat of the present invention is equipped with a thermal infrared camera, a laser radar and an X-band shortwave marine radar that have been synchronously calibrated to achieve shoreline perception from the perspective of the ship; and the shoreline perception from the perspective of the satellite is achieved through offline remote sensing tile image data. Specifically, from the perspective of the ship, a laser radar positioning and mapping framework based on the guidance of the shortwave marine radar is designed. On the basis of autonomous coastal regulation and control, the USV can complete the collection and construction of long-distance coastal point cloud maps, and obtain the posture information of the USV relative to the point cloud map; from the remote sensing perspective, a global fused coastal remote sensing tile image database is produced, and for the shoreline perception data in different modes and different perspectives, a cross-perspective shoreline registration and positioning framework based on remote sensing images and point cloud maps is designed to achieve the acquisition of the absolute posture information of the USV. The flow chart of the method of the present invention is as follows: Figure 1 As shown in the figure, the schematic diagram of USV positioning under rejection conditions is as follows Figure 2 and Figure 3 shown.
[0089] An absolute positioning method for an unmanned surface boat provided in an embodiment of the present invention includes two parts. The first part is based on short-wave navigation radar to guide laser radar positioning and mapping, and the second part is cross-view shoreline registration and positioning based on remote sensing images and the point cloud map of the first part.
[0090] The coastline area that can be detected by the laser radar carried by the USV is usually much smaller than the coastline area covered by the remote sensing tile image. Therefore, in order to ensure the balance of the receptive field between the registration data, it is necessary to perform long-distance mapping operations on the coastline point cloud (i.e., build a long-distance coastline point cloud map), and at the same time, it is necessary to obtain the relative position of the USV relative to the established point cloud map. In order to ensure the accuracy of the established point cloud map, the traditional synchronous positioning and SLAM mapping framework eliminates the accumulated error of the odometer during the mapping process through loop detection. However, the acquisition path of the USV in unfamiliar waters is usually not closed and there is no prior map as a guide. Therefore, the application of the traditional SLAM framework cannot guarantee the accuracy of system positioning and mapping. Receptive Field refers to the size of the area mapped by the sensor to the real world. The radius of the area that the marine radar can detect is about 40 nautical miles, while the effective detection distance of the laser radar is only about 150 meters. Therefore, the marine radar has a larger receptive field than the laser radar.
[0091] Based on this, the first part of the present invention proposes a positioning and mapping framework based on the fine-grained information of the laser radar guided by the coarse-grained information of the short-wave marine radar, and uses the large receptive field coastline contour perceived by the short-wave marine radar as a priori guidance information to effectively suppress the cumulative error in the positioning and mapping of the laser radar. The first part involves two coordinate systems: the laser radar coordinate system L, the world coordinate system W and the marine radar coordinate system R; in the laser radar coordinate system L, xyz points to the top, right and front of the USV respectively; the world coordinate system W is fixed in position, and the world coordinate system W coincides with the laser radar coordinate system L at the initial moment k=0 of the point cloud map construction; because the size of the USV is much smaller than the scale of the long-distance coastline point cloud map, the laser radar coordinate system L and the marine radar coordinate system R are set to coincide. Figure 4 The dotted frame part is to use the original echo image collected by the navigation radar to correct the point cloud map built based on the lidar, so as to suppress the accumulated error of the point cloud map and posture built based on the lidar; Figure 4 The part outside the dotted box is a long-distance coastline point cloud map built based on lidar.
[0092] like Figure 1 , Figure 4 and Fig. 9 As shown, an absolute positioning method for an unmanned surface boat provided by an embodiment of the present invention comprises the following steps:
[0093] Step S1: Obtain the point cloud data of the shoreline area detected by the lidar and the thermal infrared image of the shoreline area collected by the thermal infrared camera at the same time.
[0094] Step S2: Obtain a shoreline point cloud data set in a laser radar coordinate system based on the shoreline area point cloud data and the shoreline area thermal infrared map.
[0095] Since thermal infrared can sense temperature, the water temperature and the shoreline (i.e., the boundary between the shore and the water area) are more obvious than the visible light image. Therefore, the thermal infrared image of the shoreline area collected by the thermal infrared camera can be used to filter out irrelevant background point clouds and noise in the point cloud data of the shoreline area, and retain the shoreline point cloud. In a specific embodiment of the present invention, the specific implementation process of step S2 is:
[0096] Step S2.1: semantically segment the thermal infrared image of the coastline area collected by the thermal infrared camera to obtain a two-dimensional segmentation point set {(x inf ,y inf )}.
[0097] In this embodiment, a semantic segmentation network U-net is used to perform semantic segmentation on the 2D shoreline of the thermal infrared image of the shoreline area collected by the thermal infrared camera. For details of the semantic segmentation network U-net, please refer to the literature: Ronneberger O, Fischer P, Brox TU-net: Convolutional networks for biomedical image segmentation [C]. Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III18, 2015: 234-41.
[0098] Step S2.2: Project each point in the point cloud data of the shoreline area under the laser radar coordinate system L to the image plane of the thermal infrared camera. The specific projection formula is:
[0099]
[0100] Among them, [X L ,Y L ,Z L ,1] T is the homogeneous coordinate of the midpoint of the point cloud data of the shoreline area under the laser radar coordinate system L;
[0101] [X infrared ,Y infrared ,1] T is the homogeneous coordinate of the pixel point obtained by projecting the point onto the image plane of the thermal infrared camera; Z c is the scale factor; is the spatial transformation matrix between the laser radar coordinate system and the image plane coordinate system, A contains a 3×3 rotation matrix R and a 3×1 translation vector T;infrared is the internal parameter matrix of the thermal infrared camera. and A infrared All of them are obtained by calibrating the thermal infrared camera.
[0102] Step S2.3: Determine the pixel points corresponding to a certain spatial point cloud Does the projection range fall into the two-dimensional segmentation point set {(x inf ,y inf )}, if yes, then the point corresponding to the pixel is a shoreline point; otherwise, the point corresponding to the pixel is a non-shoreline point. Each point in the point cloud data of the shoreline area is traversed to remove irrelevant background point clouds and noise, and retain the real shoreline points.
[0103] Step S2.4: All shoreline points form a shoreline point cloud dataset in the laser radar coordinate system L The superscript L represents the laser radar coordinate system. Represents the three-dimensional coordinates of the coastline point in the laser radar coordinate system L.
[0104] Step S2 consists of Figure 4 The thermal infrared shoreline auxiliary extraction submodule in the output is the shoreline point cloud dataset in the lidar coordinate system L.
[0105] Step S3: extract edge features from the shoreline point cloud data set in the laser radar coordinate system to obtain an edge feature point set of the laser radar.
[0106] In a specific embodiment of the present invention, the LeGO-LOAM algorithm (Lightweight and Groud-Optimized Lidar Odometry and Mapping on Variable Terrain) is used to extract edge features from the shoreline point cloud data set in the laser radar coordinate system. The specific implementation process includes:
[0107] Step S3.1: For the shoreline point cloud dataset in the lidar coordinate system For each point in , perform least square fitting on the point and its neighboring points to obtain the curvature of the point;
[0108] Step S3.2: Filter out points whose curvature is greater than the curvature threshold as edge feature points to obtain the edge feature point set
[0109]
[0110] For each frame of coastline area point cloud data detected by the laser radar, after processing in steps S1 to S3, the edge feature point set of the corresponding frame can be obtained. Step S3 consists of Figure 4The edge feature extraction submodule in the output laser radar edge feature point set
[0111] Step S4: Using the edge feature point set of the current frame k+1 (i.e., the k+1th frame) and the previous frame k (i.e., the kth frame) of the laser radar Estimate the pose transformation relationship of the current frame k+1 of the lidar relative to the previous frame k.
[0112] In a specific implementation of the present invention, the specific implementation process of step S4 is:
[0113] Step S4.1: For the edge feature point sets of two adjacent laser radar frames, the nearest neighbor search (NNS) algorithm is used to find the matching relationship between the edge feature points in the edge feature point sets of the two frames, and the matching feature pair between the current frame k+1 and the previous frame k is obtained;
[0114] Step S4.2: Use the nonlinear optimization algorithm (Levenberg-Marquardt, LM) to estimate the matching feature pairs of the current frame k+1 and the previous frame k obtained in step S4.1, and obtain the posture transformation relationship of the current frame k+1 relative to the previous frame k The superscript represents the laser radar coordinate system, and the subscript represents the current frame k+1.
[0115] The pose transformation relationship between the current frame k+1 and the previous frame k Including translation vector and rotation matrix, step S4 is composed of Figure 4 The LiDAR odometer submodule in the output outputs the position transformation relationship of the lidar in the current frame k+1 relative to the previous frame k Output pose transformation relationship The frequency is 10Hz.
[0116] Both the nearest neighbor search algorithm and the nonlinear optimization algorithm are prior arts. The nearest neighbor search algorithm can be found in the literature: Arya S, Mount DM, Netanyahu NS, et al. An Optimal Algorithm for Approximate Nearest Neighbor Searching in Fixed Dimensions [J]. Journal of the ACM, 1998, (6): 45. The nonlinear optimization algorithm can be found in the literature: Marquardt D W. An Algorithm for Least-Squares Estimation of Nonlinear Parameters: Journal of the Society for Industrial and Applied Mathematics: Vol. 11, No. 2 (Society for Industrial and Applied Mathematics) [J]. Journal of the Society for Industrial & Applied Mathematics, 1963, 11 (2): 431-41.
[0117] Step S5: Based on the shoreline point cloud dataset in the laser radar coordinate system The position transformation relationship between the current frame k+1 of the laser radar and the previous frame k Get the estimated position of the unmanned boat at the current frame k+1 And point cloud map Q k+1 .
[0118] In a specific embodiment of the present invention, Figure 5 As shown, the specific implementation process of step S5 is:
[0119] Step S5.1: According to the position transformation relationship of the lidar coordinate system relative to the world coordinate system at the previous frame k And the pose transformation relationship between the current frame k+1 and the previous frame k Get the position transformation relationship of the lidar coordinate system relative to the world coordinate system at the current frame k+1
[0120] Step S5.2: Transform relations by pose The coastline point cloud dataset in the laser radar coordinate system Each point in is projected into the world coordinate system to obtain the shoreline point cloud dataset in the world coordinate system That is, through the posture transformation relationship Coastline point cloud dataset Each point in is projected into the world coordinate system;
[0121] Step S5.3: Construct the point cloud map Q of the kth frame based on the shoreline area point cloud data of the 1st frame to the kth frame of the laser radar k ;
[0122] Step S5.4: Use the nearest neighbor search algorithm to search the shoreline point cloud dataset in the world coordinate system and the point cloud map Q of the previous frame k k Matching is performed to obtain the shoreline point cloud dataset and the point cloud map Q of the previous frame k k The matching point pairs of ;
[0123] Step S5.5: Based on the matching point pairs obtained in step S5.4, a nonlinear optimization algorithm is used to transform the position and posture of the laser radar coordinate system relative to the world coordinate system at the current frame k+1. Optimize and obtain the pose transformation relationship of the laser radar coordinate system relative to the world coordinate system at the current frame k+1 after optimization That is, the estimated position of the unmanned boat at the current frame k+1 is obtained That is, the position and posture of the unmanned boat in the laser radar coordinate system at the current frame k+1;
[0124] Step S5.6: Estimate the position and posture of the unmanned boat using the current frame k+1 The shoreline point cloud dataset in the world coordinate system Spliced to the point cloud map Q of the previous frame k k The point cloud map is updated in the current frame k+1, and the point cloud map Q is obtained. k+1 .
[0125] In step S5.1, The initial value of is a zero matrix, and each frame is output through iteration In step S5.3, after the kth frame of the laser radar is completed, the point cloud map Q from the 1st frame to the kth frame is k Then it is constructed, so in the k+1th frame (i.e. the current frame), the point cloud data of the k+1th frame can be spliced into the point cloud map Q k Thus, the point cloud map is updated at the k+1th frame. The point cloud map is updated in each frame.
[0126] Output the estimated position of the unmanned boat And point cloud map Q k+1The frequency is 2Hz, and the purpose of using laser radar to obtain the estimated position and point cloud map of the unmanned boat in real time is achieved through steps S1 to S5. However, when using laser radar to construct a point cloud map, there is an accumulated error of the odometer during the mapping process, and the accuracy of the constructed point cloud map cannot be guaranteed. In order to ensure the accuracy of the point cloud map, the present invention uses the original echo image collected by the X-band navigation radar to periodically correct the estimated position and point cloud map of the unmanned boat obtained by using the point cloud data detected by the laser radar.
[0127] Step S6: Based on the shoreline point cloud dataset in the laser radar coordinate system The original echo image collected by the marine radar estimates the position and posture of the unmanned boat in the current frame k+1 And point cloud map Q k+1 Perform periodic correction to obtain the estimated position of the unmanned boat at the current frame k+1 after correction And point cloud map Q k+1 .
[0128] In a specific embodiment of the present invention, Figure 6 and Figure 7 As shown, the specific implementation process of step S6 includes:
[0129] Step S6.1: Use the open source library GTSAM to construct a factor graph. The edges of the factor graph are set to the position transformation relationship of the lidar in the current frame k+1 relative to the previous frame k. The vertex of the factor graph is set to the estimated pose of the unmanned boat at the current frame k+1 That is, the parameters to be corrected; according to the position transformation relationship T0 of the laser radar at the initial time of mapping (i.e. k = 0) L And the estimated position of the unmanned boat T0 W Initialize the factor graph, the pose transformation relationship T0 L And the estimated position of the unmanned boat T0 W All elements in are 0.
[0130] Step S6.2: Extracting the coast direction echo image from the original echo image collected by the marine radar according to the coastline point cloud data set in the laser radar coordinate system.
[0131] like Figure 8 As shown, the echo image I from the coast direction is extracted radar_Bef The specific implementation process is:
[0132] Step S6.21: Based on the shoreline point cloud dataset in the laser radar coordinate system Edge points E on both sides L 、E R and the origin O of the laser radar coordinate system u Get the horizontal angle range of the coastal area, that is, ∠EL O u E R ; Because the receptive field of the marine radar is much larger than that of the laser radar, the origin of the laser radar coordinate system can be approximately u As the origin of the navigation radar coordinate system;
[0133] Step S6.22: Pass through the origin O of the laser radar coordinate system u , make the horizontal angle range ∠E L O u E R The angle bisector of O u E m ;
[0134] Step S6.23: Pass through the origin O of the laser radar coordinate system u , draw the angle bisector O u E m The vertical line of the coast is retained, and the original echo image within 180° on the coast side is obtained to obtain the coast direction echo image, which is denoted as I radar_Bef .
[0135] Step S6.3: Assume that the calibration interval frame of the marine radar is h, and determine whether the current frame of the laser radar is an integer multiple of the calibration interval frame h of the marine radar.
[0136] The correction interval frame h of the marine radar is the sampling interval frame of the marine radar relative to the laser radar, that is, when the laser radar collects h frames, the marine radar collects one frame. Figure 4 The frequency of the laser radar is 10 Hz, and the frequency of the marine radar is 1 Hz. At this time, the correction interval frame h is 10.
[0137] During the mapping process, if the current frame k+1 of the laser radar is not an integer multiple of the calibration interval frame h of the navigation radar, the estimated position and posture of the unmanned boat in the current frame k+1 obtained in step S5 is directly output. And point cloud map Q k+1 , and transform the pose of the current frame k+1 relative to the previous frame k And the estimated pose of the unmanned boat in the current frame As the binary pose change factor and its initial correction value, add it to the factor graph; if the current frame k+1 of the laser radar is an integer multiple of the correction interval frame h of the navigation radar, then use the method of step 6.2 to extract the echo image of the coast direction again, recorded as I radar_Aft , and the echo image I in the direction of the coast radar_Bef and the echo image I in the direction of the coast radar_Aft The common shoreline features in the
[0138] In a specific embodiment of the present invention, the coast direction echo image I radar_Befand the echo image I in the direction of the coast radar_Aft The specific implementation process of matching the common shoreline features in is as follows:
[0139] Step S6.31: Extract the coast echo image I using the SIFT operator radar_Bef The feature point coordinates and feature descriptors in the image are used to extract the echo image I in the coastal direction using the SIFT operator. radar_Aft The feature point coordinates and feature descriptors in; each feature descriptor is a 128-dimensional vector;
[0140] Step S6.32: Use the K-Nearest Neighbors (KNN) algorithm to match the extracted feature descriptors to obtain matching feature point pairs between the two extracted coast direction echo images.
[0141] SIFT operator and K nearest neighbor algorithm are prior art. SIFT operator can be found in the literature: Lowe DG. Distinctive image features from scale-invariant keypoints [J]. International journal of computer vision, 2004, 60: 91-110. K nearest neighbor algorithm can be found in the literature: Cover TM, Hart P E. Nearest neighbor pattern classification [J]. IEEE Transinftheory, 1953, 13 (1): 21-7.
[0142] Step S6.4: Based on the matching feature point pairs obtained in step S6.3, a nonlinear optimization algorithm is used to estimate the position transformation relationship of the navigation radar in the current frame k+1 of the laser radar relative to the previous h frames (i.e., the k+1-h frames). Contains the rotation matrix and translation vector, where the translation vector needs to be scaled to the real world scale according to the receptive field of the marine radar. After scaling, the posture transformation relationship is obtained. That is, the motion changes of the sensor are calculated according to the changes in environmental perception information.
[0143] Step S6.5: Transform the position of the marine radar in the current frame k+1 of the laser radar relative to the previous h frames And the estimated pose of the unmanned boat at the current frame k+1 Added to the factor graph as a binary pose change factor and its initial correction value;
[0144] Step S6.6: Use iSAM2 to optimize the factor graph and correct the estimated pose of the unmanned boat between the k+1-h frame and the current frame k+1 Estimating the pose of the unmanned boat using the calibrated Re-adjust the point cloud map Q between the k+1-h frame and the current frame k+1 k+1 .
[0145] The large receptive field positioning information of the marine radar is used to periodically correct the positioning and mapping results of the lidar, and the corrected unmanned boat is estimated to be And point cloud map Q k+1 Output by the LiDAR odometer submodule. iSAM2 is an existing technology. For details, please refer to the literature: Kaess M, Ranganathan A, Dellaert F. iSAM: Incremental Smoothing and Mapping [J]. IEEE Transactions on Robotics: A publication of the IEEE Robotics and Automation Society, 2008, (6): 24.
[0146] After correction, clear the factor graph and use the corrected unmanned boat to estimate the pose Calculate the pose transformation relationship between the current k+1 and the previous frame Respectively and As the prior factor and its optimization initial value to reinitialize the factor graph, and I radar_Bef Updated to I radar_Aft , used for the next factor graph optimization.
[0147] In a specific embodiment of the present invention, Figure 4 The pose combination submodule combines the estimated pose of the unmanned boat before correction (i.e. the position and posture obtained in step S5) and the estimated position and posture of the unmanned boat after correction (i.e. the position and posture obtained in step S6) are combined and output. Since the frequencies of the estimated position and posture of the unmanned boat before and after correction are different, the corrected low-frequency estimated position and posture of the unmanned boat is output first. If there is no unmanned boat estimated position in this frame If generated, the estimated position and posture of the unmanned boat before correction is output
[0148] The estimated posture of the unmanned vehicle obtained in steps S1 to S6 is the relative posture of the USV, and the absolute positioning of the USV can be achieved by combining the remote sensing tile image data.
[0149] First, a global fused coastal remote sensing tile image database is established; secondly, a coarse-grained retrieval and matching is performed using the long-distance coastal point cloud map and the fused coastal remote sensing tile image database to obtain the remote sensing tile data corresponding to the point cloud map area; then, the two-dimensional coastline projection of the point cloud map and the matched remote sensing tile data are finely aligned and positioned, and the USV relative posture information (i.e., the USV estimated posture obtained in step S6) is combined with the geographic spatial information of the remote sensing tile to achieve absolute positioning of the USV.
[0150] Step S7: Acquire the coastal remote sensing tile image data, perform coarse-grained search and matching on the corrected point cloud map of the current frame and the coastal remote sensing tile image data, and obtain the two-dimensional coastline map and remote sensing tile data corresponding to the point cloud map.
[0151] like Fig. 9 As shown in the figure, firstly, the coastal remote sensing tile image data is obtained through channels such as the "National Remote Sensing Data and Application Service Platform" Among them, m represents the number of coastal remote sensing tile images, and remote represents the abbreviation of remote sensing. Secondly, the semantic segmentation network U-net is used to segment the coastline of the coastal remote sensing tile image data, and the segmentation mask is superimposed with the original coastal remote sensing tile image data in the channel dimension to obtain the fused tile image data. Then save the geospatial information of each fused tile image data (x j ,y j ,w j ,h j ), x j and j They represent the plane rectangular coordinates of the upper left corner point of the area corresponding to the fused tile image data in the projection coordinate system, w j and h j Respectively represent the width and height of the geographic space corresponding to the fused tile image data, thus completing the establishment of the fused coastal remote sensing tile image database. The purpose of segmentation is to include more obvious shoreline feature information to enhance the feasibility of retrieval work in subsequent steps.
[0152] The long-distance coastal point cloud map generated in steps S1 to S6 is recorded as In order to facilitate subsequent retrieval, the point cloud map Q of the current frame after correction is converted into k+1 Rotate θ counterclockwise around the x-axis of the world coordinate system yaw , so that it is consistent with the direction in the coastal remote sensing tile image data (y axis points to the south, z axis points to the east). The schematic diagram of this process is shown in Figure 10(a). Point cloud map Q k+1 Before rotation, the plane pose of USV in the world coordinate system is X w =(yw ,z w ,θ w ), point cloud map Q k+1 After rotation, the plane pose X of USV in the world coordinate system rot for:
[0153]
[0154] in, Indicates the distance between USV and the origin of the world coordinate system, θ w -θ yaw It represents the heading angle of the USV in the rotated point cloud map, and the rotated point cloud map is denoted as P coast θ yaw Represents the point cloud map Q of the current frame k+1 after correction k+1 The angle of counterclockwise rotation around the x-axis of the world coordinate system, that is, the angle between the world coordinate system and the direction of the remote sensing tile data; θ w Indicates the heading angle of the unmanned boat in the world coordinate system.
[0155] The rotated point cloud map P coast Projected to the bird's-eye view BEV perspective, a two-dimensional bird's-eye view map is obtained; then the two-dimensional bird's-eye view map is scaled to the same receptive field scale as the coastal remote sensing tile image data to obtain a two-dimensional coastline map I bev .
[0156] Use convolutional neural networks to fuse tile image data separately i=1,2,...,m and two-dimensional coastline map I bev Perform feature extraction to obtain a 1024-dimensional tile feature vector and 1024-dimensional map feature vector Among them, the convolutional neural network uses the ResNet-50 backbone model pre-trained on ImageNet.
[0157] The tile feature vectors are analyzed by principal component analysis (PCA). and the map feature vector After preliminary compression, the feature vector is compressed from 1024 dimensions to 80 dimensions, and the result is and v map .
[0158] For details on principal component analysis techniques, please refer to the literature: LIII, LIII, LIII. On lines and planes of closest fit to systems of points in space [C]. London, Edinburgh & Dublin Philosophical Magazine & Journal of Science, 1901.
[0159] In order to further reduce redundant information and improve the efficiency of retrieval calculation, the tile feature vectors of the initial compression are and the map feature vector v map The Bag of Visual Words (BoVW) model is used for feature encoding and retrieval matching to obtain the remote sensing tile data and its geospatial information with the minimum distance between feature codes.
[0160] Specifically, for each image, the 80-dimensional feature vector is encoded into a fixed-length vector based on the similarity with the visual vocabulary through Hard Assignment. During the retrieval and matching process, the Ming-Han distance between the two codes is calculated, and the remote sensing tile data with the smallest Ming-Han distance is selected. and its geospatial information (x k ,y k ,w k ,h k ) as the search matching result.
[0161] The bag-of-visual-words model is an existing technology. For details, please refer to the literature: Yang Y, Newsam S. Bag-of-visual-words and spatial extensions for land-use classification [C]. Proceedings of the 18th SIGSPATIAL international conference on advances in geographic information systems, 2010: 270-9.
[0162] Step S8: Estimate the position and posture of the unmanned boat based on the corrected current frame Two-dimensional coastline map corresponding to point cloud map I bev and remote sensing tile data Perform absolute positioning of the unmanned boat.
[0163] In a specific implementation of the present invention, the specific implementation process of step S8 is:
[0164] Step S8.1: Use SIFT algorithm to transform remote sensing tile data With 2D Coastline Map I bev The registration is performed to calculate the plane rectangular coordinates of the unmanned boat in the projection coordinate system. As shown in Figure 10(b), specifically, for the two-dimensional coastline map I bev , set its upper left corner point as the base point, remote sensing tile data The rectangular coordinates of the upper left corner of the projection coordinate system are (x k ,y k ), the registration result is a two-dimensional coastline map I bev The base point relative to the remote sensing tile data The pixel offset of the upper left corner in the x and y directions of the projection coordinate system, that is, and According to the registration result, the plane rectangular coordinates of USV in the projection coordinate system can be calculated by formula (3):
[0165]
[0166] in, Represents remote sensing tile data The pixel width and height of (x, y) represent the plane rectangular coordinates of the unmanned boat in the projection coordinate system before overflow processing. The value range of x and y is {-20037508.3427892, 20037508.3427892}. Formula (3) may cause the calculation result to overflow, so the overflow processing is performed through formulas (4) and (5):
[0167]
[0168]
[0169] Among them, (x max ,y max ) represents the maximum value of the plane rectangular coordinate of the unmanned boat in the projection coordinate system, x max =y max =20037508.3427892; (x', y') represents the plane rectangular coordinates of the unmanned boat in the projection coordinate system after overflow processing. That is, when the coordinates overflow the upper limit, the coordinates are set to the lower limit (the earth is round, 361° and 1° are equivalent), otherwise they are set to the upper limit.
[0170] Step S8.2: Convert the plane rectangular coordinates of the unmanned boat in the projection coordinate system into spatial geodetic coordinates in the geographic coordinate system to obtain the absolute position of the unmanned boat.
[0171] Based on the 2000 Chinese Geodetic Coordinate System (CGCS2000), the major semi-axis of the ellipsoid a = 6378137m, the minor semi-axis of the ellipsoid b = 6356752.314m, the flattening of the ellipsoid f = 1 / 298.257222101, the line eccentricity c = 6399593.6259, the first eccentricity of the ellipsoid e = 0.0066943800229, and the second eccentricity of the ellipsoid e′ = 0.00673949677548. According to the Gauss projection inverse calculation formula, the plane rectangular coordinates (x, y) of the unmanned boat in the projection coordinate system are converted into the spatial geodetic coordinates in the geographic coordinate system:
[0172]
[0173]
[0174] Among them, B represents the latitude of the point after calculation, L represents the latitude of the point after calculation, L0 is the central meridian accuracy, t f =tanB f ,η f =e′cos 2 B f ,. B f is the latitude of the base point, and the iterative calculation is performed according to the meridian arc length formula (8). At the beginning of the iteration,
[0175]
[0176] Among them, a0, a2, a4, a6, a8 are basic constants, which are calculated according to formula (9):
[0177]
[0178] Among them, m0, m2, m4, m6, m8 are basic constants, calculated according to formula (10):
[0179]
[0180] At this point, the surface unmanned boat uses the multi-source shoreline information it perceives to obtain the spatial geodetic coordinates (B, L) of the unmanned boat in the world geographic coordinate system (i.e., the absolute position of the unmanned boat) and the unmanned boat's own heading angle θ w +θ yaw .
[0181] The surface unmanned boat in the present invention can obtain the spatial geodetic coordinates of the unmanned boat in the world geographic coordinate system and the unmanned boat's own heading angle by relying only on its own sensors through multi-source shoreline perception without using GNSS signals. The richness of the surface unmanned boat's execution tasks can be expanded, and more complex sea tasks such as autonomous coastal and island inspections and autonomous landings can be performed according to spatial geographic coordinates.
[0182] Example 2
[0183] An embodiment of the present invention further provides a terminal device, which includes: a processor and a memory storing a computer program, wherein the processor is configured to implement the above-mentioned absolute positioning method for the unmanned surface boat when executing the computer program.
[0184] Although not shown, the terminal device includes a processor, which can perform various appropriate operations and processes according to the program and / or data stored in a read-only memory (ROM) or the program and / or data loaded from the storage part into a random access memory (RAM). The processor can be a multi-core processor or can include multiple processors. In some embodiments, the processor can include a general main processor and one or more special coprocessors, such as a central processing unit, a graphics processing unit (GPU), a neural network processor (NPU), a digital signal processor (DSP), etc. In RAM, various programs and data required for the operation of the terminal device are also stored. The processor, ROM and RAM are connected to each other via a bus. The input / output (I / O) interface is also connected to the bus.
[0185] The processor and the memory are used together to execute the program stored in the memory. When the program is executed by the computer, the methods, steps or functions described in the above embodiments can be implemented.
[0186] Although not shown, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the absolute positioning method for the unmanned surface boat as described above is implemented.
[0187] Storage media in embodiments of the present invention include permanent and non-permanent, removable and non-removable items that can be implemented by any method or technology to store information. Examples of storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0188] What is disclosed above is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or modifications within the technical scope disclosed in the present invention, which should be covered within the protection scope of the present invention.
Claims
1. A method for absolute positioning of an unmanned surface vehicle, characterized in that: The unmanned surface boat is equipped with a thermal infrared camera, a laser radar and a navigation radar that have been synchronously calibrated. The absolute positioning method includes the following steps: Obtain the point cloud data of the shoreline area detected by the lidar and the thermal infrared image of the shoreline area collected by the thermal infrared camera at the same time; According to the point cloud data of the shoreline area and the thermal infrared map of the shoreline area, a shoreline point cloud data set in a laser radar coordinate system is obtained; Extract edge features from the shoreline point cloud data set in the laser radar coordinate system to obtain an edge feature point set; The position transformation relationship of the k+1th frame of the laser radar relative to the kth frame is estimated by using the edge feature point sets of the k+1th frame and the kth frame of the laser radar; According to the shoreline point cloud data set in the laser radar coordinate system and the position transformation relationship between the k+1th frame of the laser radar and the kth frame, the estimated position and point cloud map of the unmanned boat in the k+1th frame is obtained; According to the shoreline point cloud data set in the laser radar coordinate system and the original echo image collected by the marine radar, the estimated position and point cloud map of the unmanned boat in the k+1th frame are periodically corrected to obtain the estimated position and point cloud map of the unmanned boat in the k+1th frame after correction; Acquire coastal remote sensing tile image data, perform coarse-grained retrieval matching on the corrected point cloud map of the k+1th frame and the coastal remote sensing tile image data, and obtain a two-dimensional coastline map and remote sensing tile data corresponding to the point cloud map; The absolute positioning of the unmanned boat is performed based on the estimated posture of the unmanned boat in the k+1th frame after correction, the two-dimensional coastline map corresponding to the point cloud map, and the remote sensing tile data.
2. The absolute positioning method of an unmanned surface vehicle according to claim 1, characterized in that: According to the point cloud data of the shoreline area and the thermal infrared map of the shoreline area, a shoreline point cloud data set in a laser radar coordinate system is obtained, and the specific implementation process includes: Performing semantic segmentation on the thermal infrared image of the shoreline area to obtain a two-dimensional segmentation point set of the shoreline area; Each point in the point cloud data of the shoreline area is projected onto the image plane of the thermal infrared camera. The specific projection formula is: Among them, [X L ,Y L ,Z L ,1] T is the homogeneous coordinate of the midpoint of the point cloud data of the shoreline area under the laser radar coordinate system L; [X infrared ,Y infrared ,1] T is the homogeneous coordinate of the pixel point obtained by projecting the point onto the image plane of the thermal infrared camera; Z c is the scale factor; A is the spatial transformation matrix between the laser radar coordinate system and the image plane coordinate system; infrared is the internal parameter matrix of the thermal infrared camera; Determine whether the projection range of each pixel point falls within the two-dimensional segmentation point set, if so, the point corresponding to the pixel point is a shoreline point; otherwise, the point corresponding to the pixel point is a non-shoreline point; The coastline point cloud dataset in the laser radar coordinate system L is composed of all coastline points.
3. The absolute positioning method of an unmanned surface vehicle according to claim 1, characterized in that: The LeGO-LOAM algorithm is used to extract edge features from the shoreline point cloud dataset in the laser radar coordinate system. The specific implementation process includes: For each point in the shoreline point cloud data set in the laser radar coordinate system, a least squares fitting is performed on the point and its neighboring points to obtain the curvature of the point; Filter out points whose curvature is greater than the curvature threshold as edge feature points to obtain an edge feature point set; The position transformation relationship of the k+1th frame of the laser radar relative to the kth frame is estimated by using the edge feature point sets of the k+1th frame and the kth frame of the laser radar, and the specific implementation process includes: The nearest neighbor search algorithm is used to find the matching relationship between the edge feature points in the edge feature point set of the k+1th frame and the edge feature points in the edge feature point set of the kth frame, and the matching feature pairs of the k+1th frame and the kth frame are obtained; The matching feature pairs between the k+1th frame and the kth frame are estimated using a nonlinear optimization algorithm to obtain the position and posture transformation relationship between the k+1th frame and the kth frame. According to the shoreline point cloud data set in the laser radar coordinate system and the position transformation relationship between the k+1th frame of the laser radar and the kth frame, the estimated position and point cloud map of the unmanned boat in the k+1th frame is obtained. The specific implementation process includes: According to the position and posture transformation relationship of the laser radar coordinate system relative to the world coordinate system at the kth frame and the position and posture transformation relationship of the laser radar's k+1th frame relative to the kth frame, the position and posture transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame is obtained; According to the position transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame, the shoreline point cloud dataset in the laser radar coordinate system is projected to the world coordinate system to obtain the shoreline point cloud dataset of the k+1th frame in the world coordinate system; Construct a point cloud map of the kth frame based on the shoreline area point cloud data from the 1st frame to the kth frame of the laser radar; The shoreline point cloud dataset in the world coordinate system is matched with the point cloud map of the k-th frame by using the nearest neighbor search algorithm to obtain matching point pairs between the shoreline point cloud dataset in the world coordinate system and the point cloud map of the k-th frame; Based on the matching point pairs, a nonlinear optimization algorithm is used to optimize the pose transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame, and the pose transformation relationship of the laser radar coordinate system relative to the world coordinate system at the k+1th frame after optimization is obtained, that is, the estimated pose of the unmanned boat at the k+1th frame is obtained; The estimated position and posture of the unmanned boat in the k+1th frame is used to splice the shoreline point cloud dataset in the world coordinate system into the point cloud map of the kth frame to obtain the point cloud map of the k+1th frame.
4. The absolute positioning method for an unmanned surface vehicle according to any one of claims 1 to 3, characterized in that: According to the shoreline point cloud data set in the laser radar coordinate system and the original echo image collected by the marine radar, the estimated position and point cloud map of the unmanned boat in the k+1th frame are periodically corrected. The specific implementation process includes: The factor graph is constructed by taking the position transformation relationship of the k+1th frame of the laser radar relative to the kth frame as the edge of the factor graph, and taking the estimated position of the unmanned boat in the k+1th frame as the vertex of the factor graph, and the factor graph is initialized; Extract the coast direction echo image from the original echo image collected by the marine radar according to the coastline point cloud data set in the laser radar coordinate system; Assume that the correction interval frame of the marine radar is h, determine whether the k+1th frame of the laser radar is an integer multiple of the correction interval frame h of the marine radar, if not, output the estimated pose and point cloud map of the unmanned boat of the k+1th frame, and add the pose transformation relationship of the k+1th frame relative to the kth frame and the estimated pose of the unmanned boat of the k+1th frame to the factor graph; if so, extract the coast direction echo image of the k+1th frame from the original echo image collected by the marine radar according to the coast point cloud data set in the laser radar coordinate system again, and match the common shoreline features in the two extracted coast direction echo images; Using the nonlinear optimization algorithm, the pose transformation relationship of the marine radar in the k+1th frame relative to the previous h frames is estimated based on the matching feature point pairs obtained by matching; Adding the pose transformation relationship of the navigation radar in the k+1th frame of the laser radar relative to the previous h frames and the estimated pose of the unmanned boat in the k+1th frame to the factor graph; The factor graph is optimized, the estimated position and posture of the unmanned boat between the k+1-h frame and the k+1 frame is corrected, and the point cloud map between the k+1-h frame and the k+1 frame is readjusted using the corrected estimated position and posture of the unmanned boat.
5. The absolute positioning method of an unmanned surface vehicle according to claim 4, characterized in that: According to the coastline point cloud dataset in the laser radar coordinate system, the coast direction echo image is extracted from the original echo image collected by the marine radar. The specific implementation process is as follows: The horizontal angular range of the coastal area is obtained based on the edge points on both sides of the coastline point cloud dataset in the laser radar coordinate system and the origin of the laser radar coordinate system; Draw an angle bisector of the horizontal angular range through the origin of the laser radar coordinate system; A perpendicular line is drawn through the origin of the laser radar coordinate system to the angle bisector, and the original echo image within 180° on the coast side is retained to obtain the coast direction echo image.
6. The absolute positioning method of an unmanned surface vehicle according to claim 4, characterized in that: Image matching is performed on the common shoreline features in the two extracted coast direction echo images. The specific implementation process is as follows: The SIFT operator is used to extract the coordinates of the feature points and the feature descriptors in the first extracted coast direction echo image, and the SIFT operator is used to extract the coordinates of the feature points and the feature descriptors in the second extracted coast direction echo image; The K nearest neighbor algorithm is used to match the extracted feature descriptors to obtain the matching feature point pairs between the two extracted coast direction echo images.
7. The absolute positioning method for an unmanned surface vehicle according to any one of claims 1 to 3, characterized in that: The point cloud map of the corrected k+1th frame is subjected to coarse-grained retrieval matching with the coastal remote sensing tile image data, and the specific implementation process is as follows: Performing shoreline segmentation on the coastal remote sensing tile image data, superimposing the segmentation mask and the coastal remote sensing tile image data in the channel dimension to obtain fused tile image data; Using the deviation between the world coordinate system and the true north direction in the point cloud map at the initial moment, the point cloud map of the k+1th frame after correction is rotated counterclockwise around the x-axis of the world coordinate system to make it consistent with the direction in the coastal remote sensing tile image data; Project the rotated point cloud map to a bird's-eye view to obtain a two-dimensional bird's-eye view map; Scaling the two-dimensional bird's-eye view map to the same receptive field scale as the coastal remote sensing tile image data to obtain a two-dimensional coastline map; Performing feature extraction on the fused tile image data and the two-dimensional coastline map respectively to obtain a tile feature vector and a map feature vector; Preliminarily compressing the tile feature vector and the map feature vector respectively; The tile feature vectors and map feature vectors that have been initially compressed are subjected to feature coding and retrieval matching to obtain the remote sensing tile data and its geographic spatial information corresponding to the minimum distance between the feature codes.
8. The absolute positioning method for an unmanned surface vehicle according to any one of claims 1 to 3, characterized in that: The absolute positioning of the unmanned boat is performed based on the estimated posture of the unmanned boat in the k+1th frame after correction, the two-dimensional coastline map corresponding to the point cloud map, and the remote sensing tile data. The specific implementation process is as follows: The remote sensing tile data is registered with the two-dimensional shoreline map to calculate the plane rectangular coordinates of the unmanned boat in the projection coordinate system; The plane rectangular coordinates of the unmanned boat in the projection coordinate system are converted into spatial geodetic coordinates in the geographic coordinate system to obtain the absolute position of the unmanned boat.
9. The absolute positioning method of an unmanned surface vehicle according to claim 8, characterized in that: The calculation formula of the plane rectangular coordinates of the unmanned boat in the projection coordinate system is: Among them, (x, y) represents the plane rectangular coordinates of the unmanned boat in the projection coordinate system before overflow processing, (x', y') represents the plane rectangular coordinates of the unmanned boat in the projection coordinate system after overflow processing, (x max ,y max ) represents the maximum value of the plane rectangular coordinate of the unmanned boat in the projection coordinate system; (x k ,y k ,w k ,h k ) represents the geospatial information of remote sensing tile data; Respectively represent the pixel width and height of remote sensing tile data; It represents the pixel offset of the upper left corner of the two-dimensional coastline map relative to the upper left corner of the remote sensing tile data on the y-axis of the projection coordinate system; represents the pixel offset of the upper left corner of the two-dimensional coastline map relative to the upper left corner of the remote sensing tile data on the x-axis of the projection coordinate system; r represents the distance between the unmanned boat and the origin of the world coordinate system; θ yaw The angle of the k+1th point cloud map after correction, which is rotated counterclockwise around the x-axis of the world coordinate system; θ w represents the heading angle of the unmanned boat in the world coordinate system, (y w ,z w ) represents the coordinates of the unmanned boat in the world coordinate system.
10. A terminal device, characterized in that: The terminal device comprises: Memory for storing computer programs; A processor is used to implement the absolute positioning method for an unmanned surface boat as described in any one of claims 1 to 9 when executing the computer program.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for absolute positioning of an unmanned surface vehicle according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Multi-sensor fusion-based unmanned ship synchronous positioning and mapping method (SLAM) and multi-sensor fusion-based unmanned ship synchronous positioning and mapping system
CN115031718A
Unmanned ship positioning method based on multi-sensor data fusion
CN115342814A
Air / space / boat / buoy / island-reef based waters multi-sensor integrated monitoring system
CN107132530A
Location method, terminal and server
CN107438752A
Unmanned ship near-shore real-time positioning and mapping method based on multiple distance measuring sensors
CN113340295A
