Visual localization method of lunar probe based on troille coding

Through the crater coding method and coding search algorithm based on geographical location coding, combined with large and small size crater detection algorithms, the problem of low retrieval efficiency and accuracy of crater visual positioning technology in lunar exploration is solved, and the rapid detection of lunar probes is achieved. Precise positioning.

CN118776568APending Publication Date: 2024-10-15BEIHANG UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410822090.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing visual positioning technology based on craters in lunar exploration has the problems of low retrieval and matching efficiency and positioning accuracy affected by noise errors, making it difficult to meet the real-time and accuracy requirements.

Method used

Adopt a crater coding method based on geographical location coding, optimize the Robbins crater library through coding database and coding search algorithm, reduce matching redundancy, and combine large and small size crater detection algorithms and rough positioning errors to achieve fast and accurate pose solutions Calculate.

Benefits of technology

It improves the efficiency of crater retrieval and matching, shortens positioning time, and ensures fast and accurate navigation of the lunar probe.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776568A_ABST
    Figure CN118776568A_ABST
Patent Text Reader

Abstract

The invention provides a novel lunar probe visual localization method based on trocar coding. The method comprises the following steps: carrying out geographic position coding on a Robbins trocar library to obtain a coding database; in the coding database, using a coding search algorithm and a large-size hole detection algorithm to detect a large-size hole corresponding to the candidate hole list in the real shot picture to form a matching pair, and using the matching pair to update the initial pose of the camera and obtain a coarse positioning error at the same time to realize rapid positioning; for the updated initial pose of the camera, using a coding search algorithm and a small-size hole detection algorithm to detect a small-size hole corresponding to the center projection of the hole in the real shot picture in a local range limited by the coarse positioning error; and finally, carrying out pose calculation on the lunar probe to realize accurate positioning. According to the method, the coding search algorithm and the coarse positioning error are combined, rapid and accurate positioning is achieved, and the method is suitable for the field of visual positioning of the lunar probe and has important application prospects and technical significance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual navigation, and in particular to a lunar probe visual positioning method based on crater coding. Background Art

[0002] Due to the complex terrain of the lunar surface, lunar exploration usually needs to avoid dangerous situations such as colliding with obstacles or falling into craters. Therefore, achieving fast and accurate positioning is a technical difficulty that needs to be urgently solved in lunar exploration.

[0003] Visual positioning technology provides the lunar rover with the necessary navigation, positioning, and perception capabilities. Visual positioning uses cameras and image processing to precisely locate a target object in three-dimensional space. Its core is to extract the target object's features through image processing algorithms and, combined with camera parameters, determine the object's three-dimensional coordinates and posture information.

[0004] Terrain-relative navigation, closely related to visual positioning technology, is a navigation method that estimates the probe's position and attitude by acquiring landmark information on the target celestial body's surface and matching it with known landmarks. Landmarks used for terrain-relative navigation can be prominent natural features such as craters and rocks, image features such as scale-invariant feature transforms, localized regions, or artificial landmarks. Because craters typically have a fixed parabolic or truncated cone shape, typically appearing as circular or elliptical outlines in descending sequence images, and possess stable characteristics, craters are often chosen as reliable landmarks for navigation and positioning.

[0005] Crater-based visual positioning technology is widely used and consists of three main steps: crater detection, crater matching, and pose calculation. However, using craters as landmarks for visual positioning has several significant drawbacks. First, each cycle of lunar probe positioning (including image acquisition, image processing, and sensor data input) should be completed within seconds. However, using craters as landmarks for visual positioning requires comparing each detected crater with the crater information in the Robbins crater library, identifying matching pairs, and then using these pairs to perform subsequent pose calculations. Due to the large number of craters in the Robbins crater library, crater retrieval and matching takes a long time, making it difficult to meet the real-time requirements of lunar probe landing. Second, during the landing process, lunar probes are subject to various noise and errors, which significantly affect positioning accuracy.

[0006] Geolocation encoding involves encoding crater coordinates using Geohash encoding, hexahedral sphere encoding, or icosahedral sphere encoding. All three encoding methods can effectively improve search efficiency. Geohash encoding divides the Earth into a rectangular grid and represents each grid cell with a string. Geolocation coordinates are converted to strings using a binary search algorithm. The longer the common prefix between strings, the closer they are in space. This characteristic can improve query efficiency. However, Geohash encoding suffers from drastic precision variations, making it difficult to select the appropriate precision. Inappropriate precision selection can lead to errors when performing neighbor matching searches in edge scenarios. Hexahedral sphere encoding has been successfully applied in the Google S2 encoding architecture for efficient encoding and indexing of spatial data. It projects three-dimensional spherical coordinates onto a circumscribed hexahedron to obtain a two-dimensional plane. The area of ​​the projected rectangle is then corrected, and the resulting coordinates are quantized into an approximately infinite number of small squares through coordinate system transformation. Finally, the resulting grid is mapped onto a Hilbert curve. Google S2 uses a square grid to divide the Earth's surface. The encoding precision varies gradually, making it easy to select the appropriate precision. Projection corrections ensure uniform area distribution. However, the spatial partitioning shape of Google S2 is not optimal. The icosahedral sphere projection encoding method has been successfully applied in the Uber H3 encoding architecture. The Uber H3 encoding uses a regular icosahedron circumscribed by a sphere as a reference, constructing a hexagonal grid system on its plane. Using a central polyhedron projection technique, the cells in this hexagonal grid system are mapped onto the surface of the sphere. The Uber H3 encoding uses hexagonal grids to divide the Earth's surface. A larger number of hexagonal grids approximates the sphere, providing efficient spatial computation. However, the implementation of the Uber H3 encoding is complex. In practical applications, selecting the appropriate encoding method based on needs can improve the efficiency of crater retrieval and matching.

[0007] Based on the above, this paper proposes a lunar probe visual positioning method based on crater coding. This method optimizes the Robbins crater library using geolocation coding, improving crater search and matching efficiency. Combined with a coding search algorithm, this method further reduces crater redundancy within the Robbins crater library and accelerates crater matching time. By updating the camera's initial pose, a coarse positioning error is obtained, and these errors are combined to ultimately achieve rapid and accurate positioning and navigation for the lunar probe. Summary of the Invention

[0008] The present invention proposes a lunar probe visual positioning method based on crater coding. First, according to actual application requirements, any one of three geographic location coding methods is selected to encode the Robbins crater library to obtain a coding database. Within the coding database, a coding search algorithm is used to obtain a list of candidate craters based on the coding value of the camera's field of view center and the search radius determined by the camera's field of view angle and pose error. Then, based on the real-shot images, a crater detection algorithm suitable for large sizes is selected to detect large-sized craters corresponding to the candidate crater list, forming large-sized matching pairs. The large-sized matching pairs are used to update the camera's initial pose and obtain a coarse positioning error. Then, within the candidate crater list, a small-sized crater sub-library is obtained using the updated camera initial pose and the coding search algorithm in combination with a small-sized crater size range constraint. Based on the real-shot images, a crater detection algorithm suitable for small sizes is selected to detect small-sized craters corresponding to the crater center projection within a local range limited by the coarse positioning error. Finally, the small-sized matching pairs are used to perform pose solution to achieve rapid and accurate positioning of the lunar probe.

[0009] The present invention is mainly based on the combination of a coding search algorithm and a coarse positioning error. The coding search algorithm is used to reduce the redundancy of matching craters, prioritize the detection of a smaller number of large-scale craters, speed up positioning, and combine the coarse positioning error to obtain accurate small-scale matching pairs. Finally, the position and posture of the lunar probe are solved, ensuring the rapid and accurate positioning of the lunar probe. The specific technical solutions are as follows:

[0010] The present invention proposes a lunar probe visual positioning method based on crater coding, the process of which is as follows: Figure 1As shown, its characteristics are: 1) The coding database is different from the traditional Robbins crater library. The coding database is obtained by processing the information of the Robbins crater library through geographic location coding. The geographic location coding converts the geographic location coordinates into a character string. The longer the common prefix between the character strings, the closer they are in space. By comparing the common prefixes, the close spatial positions can be quickly located, and the coding database can be used for subsequent retrieval and matching work, which has extremely high efficiency. 2) The coding search algorithm used is a new type of fast retrieval algorithm, and has a natural connection with the geographic location coding and the camera's prior information. The geographic location coding value of the camera's field of view center and the search radius determined by the camera's field of view angle and posture error together constitute the coding search algorithm. This algorithm mainly uses known prior information to reduce the number of craters in the coding database used for matching, reduce the redundancy of matching craters, and speed up the retrieval and matching speed. 3) The invention gives priority to detecting a smaller number of large-sized craters, achieving rapid coarse positioning and obtaining coarse positioning errors, and detecting small-sized craters within the local range limited by the coarse positioning errors to obtain small-sized matching pairs. In essence, the coarse positioning errors are used to accurately determine the range of small-sized craters to be detected, avoiding missed detections, thereby obtaining more accurate crater detection results, facilitating accurate matching pair information, and completing precise positioning.

[0011] In the present invention, each part of the system is described as follows:

[0012] 1. The geolocation encoding described in the patent refers to encoding the geographic coordinates of craters using Geohash encoding, hexahedral sphere projection encoding, or icosahedral sphere projection encoding. These three encoding methods are characterized by converting two-dimensional latitude and longitude information into one-dimensional index information and utilizing code prefixes to improve indexing efficiency. Any of these three geolocation encoding methods can be used to encode the latitude and longitude information of the Robbins crater database to create a coded database.

[0013] 2. The Robbins Crater Library, described in the patent, is a database of lunar craters published by NASA. Key information in the Robbins Crater Library includes: the longitude and latitude coordinates of the center of the crater's fitted circle, the longitude and latitude coordinates of the center of the fitted ellipse, the diameter of the fitted circle, the standard deviation of the fitted circle, the major and minor axes of the fitted ellipse, the eccentricity of the fitted ellipse, and the ellipticity.

[0014] 3. The coding search algorithm described in the patent refers to a fast retrieval algorithm that combines the coding value of the camera's field of view center and the search radius for local search. First, the camera's field of view center is obtained through the camera's initial posture, and the camera's field of view center is geographically encoded to obtain the coding value of the camera's field of view center. Then, the search radius is calculated by the camera's field of view angle and the camera's posture error. Based on the size of the search radius, a local search is performed near the coding value of the camera's field of view center. In the coding database, the coding search algorithm is used to obtain a list of candidate craters, which can reduce the redundancy of matching craters and speed up positioning.

[0015] 4. The "large-scale matching pairs" described in the patent refer to a correspondence between large-scale craters detected in real-life images and craters in the candidate crater list using the large-scale crater detection algorithm. Using these large-scale matching pairs, the positions of the detected large-scale craters in both the pixel and lunar coordinate systems can be determined.

[0016] 5. The coarse positioning error described in the patent is caused by the detection error of the large-scale crater detection algorithm. Because the large-scale crater detection has errors, the camera pose error is caused when the large-scale matching pair is used to update the initial pose of the camera, which is the coarse positioning error.

[0017] 6. The small-sized crater sub-library described in the patent is a subset of the candidate crater list obtained by using the updated camera initial pose and encoding search algorithm within the candidate crater list, combined with the small crater size range constraint. The small-sized crater sub-library is sorted from near to far distance from the image center. The closer the crater is to the image center, the smaller the distortion. Therefore, when obtaining small-sized matching pairs, searching and matching according to the rule from the image center outward can improve the accuracy of small-sized matching pairs. The role of the small-sized crater sub-library is to filter the candidate crater list according to the updated camera initial pose and coarse positioning error to facilitate accurate positioning.

[0018] 7. The crater center projection described in the patent is to use the updated camera initial posture to simultaneously project the small-sized crater sub-library to the camera image plane coordinates to obtain the crater center projection.

[0019] 8. The "small-size matching pair" described in the patent refers to a correspondence between small-size craters detected in real-life images and craters within the projection of their centers, using a small-size crater detection algorithm. Using the small-size matching pair, the positions of the detected small-size craters in both the pixel and lunar coordinate systems can be determined.

[0020] 9. The pose solution described in the patent refers to constructing a set of linear equations based on small-size matching pairs, solving the linear equations using the least squares method, calculating the coordinate transformation matrix, and then using the known camera's intrinsic parameter matrix to solve the pose of the lunar probe and obtain the position and attitude of the lunar probe in the landing area.

[0021] The main features of the present invention are as follows: the present invention uses geographic location coding to obtain a coding database; within the coding database, a coding search algorithm and a large-size crater detection algorithm are used to detect large-size craters corresponding to a list of candidate craters in real-shot images to form large-size matching pairs; the large-size matching pairs are used to update the initial posture of the camera and obtain a coarse positioning error at the same time; for the updated initial posture of the camera, a coding search algorithm and a small-size crater detection algorithm are used in combination with small crater size range constraints to detect small-size craters corresponding to the projection of the crater center in the real-shot images within a local range limited by the coarse positioning error; finally, the small-size matching pairs are used to solve the posture of the lunar probe to complete rapid and accurate positioning.

[0022] The benefits and application prospects of the present invention: It can be applied to lunar surface exploration to achieve the purpose of rapid and accurate positioning of lunar probes. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 Flowchart of the present invention

[0024] Figure 2 Schematic diagram of Geohash encoding principle

[0025] Figure 3 Mapping rules for Base32 encoding DETAILED DESCRIPTION

[0026] like Figure 1 As shown, the whole process of the lunar probe visual positioning method based on crater coding is demonstrated.

[0027] The present invention employs a Geohash encoding method to encode the Robbins crater library. Assuming the known longitude and latitude are 31°N and 121°E, the latitude [-90°, 90°] and longitude [-180°, 180°] are gradually divided into two using a binary division method. The latitude and longitude are then encoded into binary, with 1 assigned to the right interval and 0 assigned to the left interval. This is then cross-mixed and converted to decimal, and finally mapped to a string using the Base32 encoding mapping rule. The specific steps are to divide the earth's latitude interval [-90°, 90°] into two parts, namely [-90°, 0°) and [0°, 90°]; 31° is located in the [0°, 90°] interval, namely the right interval, marked as 1; then continue to divide the [0°, 90°] interval into two parts, into [0°, 45°) and [45°, 90°]; 31° is located in the [0°, 45°) interval, namely the left interval, marked as 0; continue to divide until the required code length is reached; use the same binary division method to process longitude to achieve the desired code length; then according to the rule of putting longitude in even digits and latitude in odd digits, cross-mix the obtained binary code; convert the cross-mixed binary code into decimal numbers in groups of five from left to right, according to Figure 3 The Base32 encoding mapping rules shown are converted into corresponding alphanumeric strings to complete the encoding. Geohash encoding is used to divide the moon into a rectangular grid, with each grid cell represented by a string. According to the Geohash encoding principle, the longer the common prefix between strings, the closer they are in space. This characteristic can be exploited to improve query search efficiency.

[0028] like Figure 2 FIG2 is a schematic diagram of the Geohash coding principle used in the present invention. The present invention selects to use Geohash coding when acquiring the coding database, so that the coding database obtained in this way facilitates the rapid retrieval and matching of the detected craters.

[0029] Then, within the coded database, a code search algorithm and a large-scale crater detection algorithm are used to obtain large-scale matching pairs. The code search algorithm combines the code value at the center of the camera's field of view with a search radius determined by the camera's field of view angle and pose error to perform a local search. By leveraging prior information about the camera, it reduces the redundancy of craters within the coded database during matching and accelerates positioning.

[0030] In the coding database, a list of candidate craters is obtained through a coding search algorithm. The candidate crater list is used as the matching object for the detected large-scale craters. After obtaining the large-scale matching pairs, the initial position of the camera is corrected and updated, and the coarse positioning error is calculated to achieve rapid positioning and navigation.

[0031] The rapid positioning and navigation capabilities are achieved thanks to the rapid retrieval capabilities of the coding search algorithm. Furthermore, since large craters are less common than small craters in real-world lunar surface images, the detection and matching of large craters is very quick. These two factors ensure the real-time performance of the lunar probe's visual positioning method based on crater coding.

[0032] Finally, for the updated camera initial pose, the small crater size range constraint is combined with the candidate crater list, and the coded search algorithm is used to sort and project the search results to obtain the crater center projection. Within the local range limited by the coarse positioning error, the small-size crater detection algorithm is used to detect small-size craters corresponding to the crater center projection, forming a small-size matching pair, thereby realizing the function of precise positioning and navigation.

[0033] A typical crater-based visual positioning method consists of three parts: crater detection, crater matching, and pose calculation. Encoded search algorithms play a key role in real-time crater matching. By accurately detecting craters of varying sizes and limiting coarse positioning errors, the final pose calculation allows for fast and precise positioning.

[0034] The present invention will be further described below with reference to examples. Figure 1 As shown in FIG, the visual positioning method of a lunar probe based on crater coding includes the following steps:

[0035] S1. Use the Geohash encoding method to encode the longitude and latitude information of the Robbins crater database to obtain the encoding database.

[0036] S2. Within the coded database, use the coded search algorithm and the brightness and crater detection algorithm to detect large-scale craters corresponding to the candidate crater list in the actual photos of the Moon's South Pole, forming large-scale matching pairs. Using these large-scale matching pairs, update the camera's initial pose and obtain the coarse positioning error, achieving rapid positioning.

[0037] S21. Before performing crater detection, a candidate crater list is first constructed. When constructing the candidate crater list, the camera's field of view center is calculated based on the known initial camera posture, and the camera's field of view center is Geohash-encoded. The search radius is estimated based on the camera's field of view angle and posture error. Using the coding search algorithm, a local search is performed within the coding database for the coding value of the camera's field of view center within the search radius to obtain the candidate crater list.

[0038] S22. Select a brightness and crater detection algorithm to detect large craters with diameters greater than 30 pixels in the actual images of the lunar South Pole. Since there are relatively few large craters with diameters greater than 30 pixels in the actual images of the lunar South Pole, searching and matching large craters is very quick.

[0039] S23. Detected large craters with diameters greater than 30 pixels are matched against craters in the candidate crater list to form large-size matching pairs. Using these matching pairs, the initial pose is corrected to achieve rapid coarse positioning. The initial pose of the camera is updated, and the coarse positioning error is calculated, which is kept within 10 pixels.

[0040] S3. For the updated initial camera pose, a coding search algorithm and a crater detection algorithm based on principal component analysis are used to detect small craters corresponding to the projection of the crater center in the actual image within the local range limited by the coarse positioning error. Finally, the pose of the lunar probe is solved to achieve precise positioning.

[0041] S31. For the updated initial camera pose, a small crater sub-library is generated from the candidate crater list using a coded search algorithm combined with a small crater size range constraint. The small crater sub-library is then sorted from closest to farthest distance from the image center. The small crater sub-library should minimize overlap and contain at least six craters to facilitate pose calculation.

[0042] S32. Based on the updated initial camera pose, the small-sized crater sub-library is simultaneously projected onto the camera image plane coordinates to obtain the crater center projection.

[0043] S33. For the actual images of the lunar South Pole, project the center of each crater in turn and use the principal component analysis method to detect small-sized craters corresponding to the projection of the crater center within a range of 10 pixels above and below the crater center (the local range limited by the coarse positioning error).

[0044] S34. Based on the small-size matching pairs, the coordinate transformation matrix is ​​calculated using the least squares method. Then, the known camera intrinsic parameter matrix is ​​used to solve the position and attitude of the lunar probe, obtaining the position and attitude of the lunar probe in the landing area, and achieving fast and accurate positioning and navigation.

Claims

1. A new type of lunar probe visual positioning method based on crater coding, characterized by: The Robbins crater library is encoded using geographic location coding to obtain a coded database. In the coded database, a coded search algorithm is used to obtain a list of candidate craters. For real-shot images, a crater detection algorithm suitable for large sizes is selected to detect large-sized craters corresponding to the candidate crater list to form large-sized matching pairs. The large-sized matching pairs are used to update the initial pose of the camera to obtain a coarse positioning error. For the updated initial pose of the camera, a coded search algorithm is used in the candidate crater list to obtain a small-sized crater sub-library combined with the small crater size range constraint. For real-shot images, a crater detection algorithm suitable for small sizes is selected to detect small-sized craters corresponding to the projection of the crater center within the local range limited by the coarse positioning error to form small-sized matching pairs. Finally, pose solution is performed to achieve fast and accurate positioning of the lunar probe.

2. According to the lunar probe visual positioning method based on crater coding in claim 1, the geographic location coding refers to encoding the crater geographic coordinates using Geohash coding or hexahedral sphere projection coding or icosahedral sphere projection coding. The three coding methods are characterized by converting two-dimensional longitude and latitude information into one-dimensional index information and using coding prefixes to improve indexing efficiency. Any one of the three geographic location coding methods can be selected to encode the longitude and latitude information of the Robbins crater library to obtain a coding database.

3. According to the lunar probe visual positioning method based on crater coding in claims 1 and 2, the Robbins crater library is a database of information related to craters distributed on the moon released by NASA. The main information of the Robbins crater library includes: the longitude and latitude coordinates of the center point of the crater fitting circle, the longitude and latitude coordinates of the center point of the fitting ellipse, the diameter of the fitting circle, the standard deviation of the fitting circle, the major and minor axes of the fitting ellipse, the eccentricity of the fitting ellipse, the ellipticity, etc.

4. According to the lunar probe visual positioning method based on crater coding in claim 1, the coding search algorithm refers to a fast retrieval algorithm that combines the coding value of the camera's field of view center and the search radius for local search. First, the camera's field of view center is obtained through the camera's initial posture, and the camera's field of view center is geographically encoded to obtain the coding value of the camera's field of view center. Then, the search radius is calculated by the camera's field of view angle and the camera's posture error, and a local search is performed near the coding value of the camera's field of view center according to the size of the search radius. In the coding database, the coding search algorithm is used to obtain a list of candidate craters, which can reduce the redundancy of matching craters and speed up positioning.

5. According to the crater coding-based lunar probe visual positioning method of claim 1, the large-size matching pair refers to a correspondence between the large-size craters in the real-shot image detected by the large-size crater detection algorithm and the craters in the candidate crater list. Using this large-size matching pair, the position of the detected large-size craters in the pixel coordinate system and the lunar coordinate system can be obtained.

6. According to the crater coding-based lunar probe visual positioning method of claim 1, the coarse positioning error is caused by the detection error of the large-sized crater detection algorithm. Because the detected large-sized craters have errors, when the large-sized matching pairs are used to update the initial pose of the camera, the pose error of the camera is caused, which is the coarse positioning error.

7. According to the crater coding-based lunar probe visual positioning method of claim 1, the small-sized crater sub-library is a subset of the candidate crater list obtained by using the updated camera initial posture and coding search algorithm in the candidate crater list and combining the small crater size range constraint. The small-sized crater sub-library is sorted according to the rule of distance from the image center from near to far. The closer the crater is to the image center, the smaller the distortion is. Therefore, when obtaining a small-sized matching pair, searching and matching according to the rule from the image center to the outside can improve the accuracy of the small-sized matching pair. The role of the small-sized crater sub-library is to screen the candidate crater list according to the updated camera initial posture and coarse positioning error to facilitate accurate positioning.

8. According to the lunar probe visual positioning method based on crater coding as described in claim 1, the crater center projection is to use the updated camera initial posture to simultaneously project the small-sized crater sub-library to the camera image plane coordinates to obtain the crater center projection.

9. According to the crater coding-based lunar probe visual positioning method of claims 1 and 7, the small-size matching pair refers to a correspondence between the small-size craters in the real-shot image detected by the small-size crater detection algorithm and the craters in the crater center projection. The small-size matching pair can be used to obtain the position of the detected small-size craters in the pixel coordinate system and the lunar coordinate system.

10. According to the lunar probe visual positioning method based on crater coding as described in claim 1, the posture solution refers to constructing a linear equation group based on small-size matching pairs, solving the linear equation group using the least squares method, calculating the coordinate transformation matrix, and then using the known camera's intrinsic parameter matrix to solve the lunar probe's posture, thereby obtaining the position and posture of the lunar probe in the landing area.

Citation Information

Cited By

  • Unmanned aerial vehicle to-ground vehicle fine positioning and dynamic positioning optimization method based on elevation data

    CN120765693A