Method, device and medium for identifying all-sky spherical star map based on space projection
Through the all-celestial star map recognition method based on space projection, preprocessing and polar coordinate transformation technology are used to solve the problem of insufficient star map recognition accuracy in the existing technology, achieve high-precision recognition and navigation density adaptability in complex environments, and improve improves the accuracy of the attitude sensor.
Patent Information
- Application Number
- CN202210359993.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-06
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-04-06
AI Technical Summary
Existing star map recognition algorithms have insufficient recognition accuracy in complex imaging environments. Especially when interfering stars exist, it is difficult to improve the accuracy of the attitude sensor and cannot effectively adapt to changes in the density of navigation stars in the sky.
An all-sky star map identification method based on space projection is used to determine the main star by preprocessing the star map, generate a search table, obtain candidate stars, and identify stars through polar coordinate transformation to reduce interference and improve identification accuracy.
It improves the accuracy of star map recognition in complex imaging environments and reduces interference. It can achieve more precise recognition according to changes in the density of navigation stars in the sky area and improve attitude accuracy.
Smart Images

Figure CN114719844B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of celestial navigation technology, and in particular to a method for identifying a full celestial sphere star map based on space projection, a device for identifying a full celestial sphere star map based on space projection, and a computer-readable storage medium. Background Art
[0002] Star map recognition is an important link for attitude sensors or celestial navigation systems. The correctness of its recognition directly determines whether the result is credible and also determines the success or failure of subsequent control tasks. Taking a conventional high-precision star sensor as an example, after star point extraction and high-precision centering, star map recognition is required to correspond the star coordinates in the celestial coordinate system with the imaging star point coordinates in the star sensor, so as to obtain the conversion matrix between the star sensor coordinate system and the celestial coordinate system, that is, the attitude information. The evaluation of the star map recognition algorithm usually includes recognition accuracy, full celestial sphere recognition coverage, algorithm complexity, recognition speed, storage space size, etc.
[0003] The existing star map recognition algorithms include the typical triangulation method and the grid method. Among them, the triangulation method mainly uses the principle of constant angular distance to compare the angular distance formed by three stars in the field of view in the star map with the star catalog, and then perform recognition; the grid method is a pattern recognition method, which divides the star points into grids and compares them with the existing star map grids to achieve recognition. However, both of the above methods currently have certain defects. For example, the triangulation method has relatively accurate recognition results, but it can only recognize 6 stars at a time, and secondary recognition is required. At the same time, the triangulation method relies on the angular distance information table. As the number of stars increases, the angular distance information table is larger, which makes it difficult to search. In comparison, the grid method can recognize all stars at once, but because the extracted feature patterns cannot reflect their inherent similarity, the recognition accuracy is not as good as the angular distance method, and misrecognition may occur. Especially in the case of complex imaging environment, fewer stars in the field of view, and interference stars, the adaptability of the current recognition method needs to be improved.
[0004] Based on the above methods, new recognition algorithms are constantly proposed, such as the neural network star map recognition algorithm. This algorithm is based on the three angular distance features of the triangle, and the selected navigation triangle library is subjected to neural network learning, and the learned neural network structure is used to recognize the star map. The advantages are high recognition rate, fast recognition speed, low data storage, good real-time and robustness. The disadvantages are slow learning speed, a certain probability of misrecognition, and relatively high hardware requirements. Summary of the invention
[0005] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a method for recognizing a star map of the entire celestial sphere based on space projection, which not only has high recognition accuracy, is applicable to complex imaging environments, and can effectively reduce interference, but also can arbitrarily change the density of navigation stars according to the sky area, thereby achieving more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0006] A second object of the present invention is to provide a computer-readable storage medium.
[0007] The third object of the present invention is to provide a celestial star map recognition device based on space projection.
[0008] To achieve the above-mentioned purpose, an embodiment of a first aspect of the present invention proposes a method for identifying a full celestial star map based on space projection, the method comprising: preprocessing a star map to determine the main star of the star map, and preprocessing a star table to generate a search table; obtaining candidate stars from a search table according to the main star of the star map and the search table; performing coordinate transformation on each star in the star map and the search table to obtain the polar coordinates of each star; and identifying the stars in the star map based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star.
[0009] According to the all-celestial star map recognition method based on space projection of the embodiment of the present invention, the star map is preprocessed to determine the main star of the star map, and the star table is preprocessed to generate a search table, and the candidate star is obtained from the search table according to the main star of the star map and the search table, and the polar coordinates of each star are obtained by coordinate transformation of each star in the star map and the search table, and the stars in the star map are identified based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star. Therefore, not only the recognition accuracy is high, it can be applied to complex imaging environments, and interference can be effectively reduced, but also the density of navigation stars can be arbitrarily changed according to the sky area, so as to achieve more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0010] According to one embodiment of the present invention, preprocessing a star map to determine a main star of the star map includes: obtaining a star point position and grayscale information of each star in the star map; and determining the main star of the star map according to the star point position and / or grayscale information.
[0011] According to one embodiment of the present invention, a star catalog is preprocessed to generate a search table, including: taking each star in the star catalog as a primary star; obtaining star serial numbers within a field of view around the primary star; and generating a search table based on the star serial numbers, wherein each row of the search table includes star serial numbers around the primary star of a corresponding row in the star catalog.
[0012] According to one embodiment of the present invention, candidate stars are obtained from a search table according to a main star in a star map and a search table, including: obtaining a first distance between a main star in the star map and other stars, and quantizing the first distance to form a first digital string, the first digital string including star radius information in a circular ring corresponding to different radii around the main star; obtaining a second distance between each main star in the search table and a star corresponding to a corresponding star serial number, and quantizing the second distance to form a second digital string for each main star, the second digital string including star radius information in a circular ring corresponding to different radii around the main star; based on the star radius information in the first digital string and the star radius information in the second digital string, the candidate star is obtained from the search table.
[0013] According to one embodiment of the present invention, coordinate transformation is performed on each star in a star map to obtain polar coordinates of each star, including: converting the two-dimensional coordinates of each star in the star map from a Cartesian coordinate system to a polar coordinate system to obtain the polar coordinates of each star in the star map, and obtaining the polar radius and polar angle of each star.
[0014] According to one embodiment of the present invention, coordinate transformation is performed on each star in a search table to obtain polar coordinates of each star, including: determining a fitting plane according to the three-dimensional coordinates of each star in the search table in a celestial coordinate system, the focal length and pixel size of a star map acquisition device, and constructing a transformation matrix from the fitting plane to the celestial coordinate system; based on the transformation matrix, converting the three-dimensional coordinates of each star in the search table into two-dimensional coordinates, and converting the two-dimensional coordinates into polar coordinates to obtain the polar coordinates of each star in the search table, and obtaining the polar radius and polar angle of each star.
[0015] According to one embodiment of the present invention, the polar coordinates of each star in the corresponding field of view around the primary star of a star map are identified based on the polar coordinates of each star in the field of view around the candidate star, including: obtaining a first polar angle of each star in the star map; obtaining a second polar angle of each star in the corresponding field of view around the candidate star; obtaining a first angle difference between each first polar angle and the corresponding second polar angle; for each candidate star, obtaining a first difference between the first angle differences; and identifying the stars in the star map based on the existence of a number of first differences that are less than a difference threshold.
[0016] According to one embodiment of the present invention, after identifying the stars in the star map, the method further includes: obtaining a first angle difference of the star, and performing a first conversion from the celestial coordinate system to the imaging coordinate system according to the first angle difference of the star; performing a second conversion from the imaging coordinate system to the rotating coordinate system; performing a third conversion from the rotating coordinate system to the star sensor coordinate system; and obtaining a posture matrix converted from the celestial coordinate system to the star sensor coordinate system according to the first conversion, the second conversion, and the third conversion.
[0017] To achieve the above-mentioned purpose, a second aspect of the present invention proposes a computer-readable storage medium on which is stored a full celestial sphere star map recognition program based on spatial projection. When the full celestial sphere star map recognition program based on spatial projection is executed by a processor, the above-mentioned full celestial sphere star map recognition method based on spatial projection is implemented.
[0018] According to the computer-readable storage medium of the embodiment of the present invention, the star map is preprocessed to determine the main star of the star map, and the star table is preprocessed to generate a search table, and the candidate star is obtained from the search table according to the main star of the star map and the search table, and the polar coordinates of each star are obtained by coordinate transformation of each star in the star map and the search table, and the stars in the star map are identified based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star. Therefore, not only the recognition accuracy is high, it can be applied to complex imaging environments, and interference can be effectively reduced, but also the density of navigation stars can be arbitrarily changed according to the sky area, so as to achieve more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0019] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a device for identifying a full celestial star map based on space projection, the device comprising: a preprocessing module, used to preprocess the star map to determine the main star of the star map, and preprocess the star table to generate a search table; a first acquisition module, used to obtain candidate stars from the search table according to the main star of the star map and the search table; a second acquisition module, used to perform coordinate transformation on each star in the star map and the search table to obtain the polar coordinates of each star; and an identification module, used to identify the stars in the star map based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star.
[0020] According to the all-celestial star map recognition device based on space projection of the embodiment of the present invention, the star map is preprocessed by the preprocessing module to determine the main star of the star map, and the star table is preprocessed to generate a search table, and the candidate star is obtained from the search table according to the main star of the star map and the search table by the first acquisition module, and the coordinates of each star in the star map and the search table are transformed by the second acquisition module to obtain the polar coordinates of each star, and the stars in the star map are identified by the recognition module based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star. Therefore, not only the recognition accuracy is high, it can be applied to complex imaging environments, and interference can be effectively reduced, but also the density of navigation stars can be arbitrarily changed according to the sky area, so as to achieve more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0021] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of a method for identifying a full celestial star map based on space projection according to an embodiment of the present invention;
[0023] Figure 2 A flowchart for obtaining candidate stars from a search table based on the primary stars of a star map and the search table;
[0024] Figure 3 A schematic diagram of dividing star points in a star map during preprocessing according to an embodiment of the present invention;
[0025] Figure 4 is a schematic diagram of the position of each star in a star map in a polar coordinate system according to an embodiment of the present invention;
[0026] Figure 5 Schematic diagram of imaging each star in the star catalog on the image plane;
[0027] Figure 6 A schematic diagram of a three-dimensional coordinate fitting plane of a point cluster according to an embodiment of the present invention;
[0028] Figure 7 A schematic diagram of the position of each star in the search table in the polar coordinate system according to an embodiment of the present invention;
[0029] Figure 8 A schematic diagram of positions of star points identified in the third digital string and the fourth digital string in polar coordinates according to an embodiment of the present invention;
[0030] Fig. 9 For Figure 8 Schematic diagram of the star point after angle compensation;
[0031] Fig.10 For Fig. 9 Schematic diagram after the star points in the image are marked with star serial numbers;
[0032] Fig.11 A schematic diagram of star point positions identified from a star map according to an embodiment of the present invention;
[0033] Fig.12 For Fig.11 The corresponding schematic diagram of the star point position calculated by the star catalog;
[0034] Fig.13 is a flow chart of a method for identifying a celestial star map based on space projection according to another embodiment of the present invention;
[0035] Fig.14 The figure is a structural block diagram of a device for identifying a star map of the entire celestial sphere based on space projection according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0037] The following describes a method, device and medium for recognizing a full celestial star map based on space projection provided by an embodiment of the present invention with reference to the accompanying drawings.
[0038] Figure 1 is a flowchart of a method for identifying a celestial star map based on space projection according to an embodiment of the present invention, referring to Figure 1 As shown, the method for identifying the all-sky star map based on space projection may include the following steps:
[0039] Step S101: pre-processing the star map to determine the main stars of the star map, and pre-processing the star catalog to generate a search table.
[0040] In one embodiment, preprocessing a star map to determine a main star of the star map includes: obtaining a star point position and grayscale information of each star in the star map; and determining the main star of the star map according to the star point position and / or grayscale information.
[0041] Specifically, the star point position may include a distance parameter, and the grayscale information here may include the grayscale sum of the imaging star point, which can be obtained by adding the grayscale values in the imaging star point area, which can be used to represent the energy size of the star. When preprocessing the star map, the main star of the star map can be determined according to the distance parameter, or according to the magnitude parameter, or according to the distance parameter and the magnitude parameter. In a specific example, the star map extraction results can be sorted by the magnitude parameter, and the brightest star is selected, which has a higher accuracy, and other stars can be replaced later, such as the magnitude closest to the center. It should be noted that when implementing this method, the relevant parameters of the star map to be identified can be stored, and the relevant parameters may include focal length, principal point, pixel size, image plane size and field of view. In a specific example, the above-mentioned relevant parameters can be set as shown in Table 1.
[0042]
[0043] Table 1
[0044] In one embodiment, a star catalog is preprocessed to generate a search table, including: taking each star in the star catalog as a primary star; obtaining a star serial number within a field of view around the primary star; and generating a search table according to the star serial number, wherein each row of the search table includes the star serial numbers around the primary star of the corresponding row in the star catalog.
[0045] Specifically, the star catalog can store the position parameters and magnitude parameters of stars, and each row represents the star sequence number around the main star of the corresponding row in the navigation catalog. For details, please refer to Table 2.
[0046]
[0047]
[0048] Table 2
[0049] When preprocessing the star catalog, each star in the star catalog can be regarded as the main star, and the stars within the field of view around the main star are selected. Then, for the stars in the star catalog other than the main star, calculate their projected star serial numbers and the distance dsi from the main star to form a search table that needs to be stored. Among them, each row in the search table represents the star serial numbers around the main star in the corresponding row in the navigation catalog. It should be noted that when the star catalog remains unchanged and the field of view remains unchanged, the search table can be solidified. In a specific example, the search table can refer to that shown in Table 3.
[0050]
[0051] Table 3
[0052] It should be noted that, in the specific example, the above-mentioned preprocessing steps can be performed in an early offline state, and the preprocessing results, such as the search table and the star catalog including the position parameters and magnitude parameters of the stars, can also be stored when they are obtained offline in the early stage, so that when the candidate stars are obtained later, they can be directly compared and identified.
[0053] Step S102: Obtain candidate stars from the search table according to the main stars in the star map and the search table.
[0054] In one embodiment, Figure 2 For a flowchart of obtaining candidate stars from the search table based on the main stars of the star map, refer to Figure 2 As shown, obtaining candidate stars from the search table according to the main stars of the star map and the search table may include the following steps:
[0055] Step S1021: obtaining a first distance between a main star and other stars in the star map, and quantizing the first distance to form a first digital string, wherein the first digital string includes the radius information of stars in a circular ring corresponding to different radii around the main star.
[0056] Specifically, Figure 3 FIG. 1 is a schematic diagram of dividing star points in a star map during preprocessing according to an embodiment of the present invention, referring to FIG. Figure 3 As shown:
[0057]
[0058]
[0059] Table 4
[0060] For the star map, with the main star 301 as the center, the first distance from each star point 302 on the image plane except the main star to the center is calculated, and the first distance is quantized at a certain scale, and then stored as shown in Table 4 to form a first digital string BP. The first digital string BP is a digital string for quantizing the position of star points extracted from the star map, which stores the radius values of the star points in the star map that meet certain radius conditions. In the first digital string BP, the star points are arranged from small to large according to the radius.
[0061] Step S1022: Obtain the second distance between each primary star in the search table and the star corresponding to the corresponding star serial number, and quantize the second distance to form a second digital string for each primary star, the second digital string including the star radius information in the circular ring corresponding to different radii around the primary star.
[0062] That is to say, taking each star in the search table as the main star, similar to step S1021, taking the main star as the center, obtain the second distance between each main star in the search table and the star corresponding to the corresponding star serial number, and then quantize the second distance at the same ratio to form a second digital string BS for each main star. The second digital string BS is a digital string for quantizing the position of the star point calculated by the star table, which stores the star radius information in the ring corresponding to different radii around the main star in the search table. It can be understood that the search table can be stored in advance when parameters such as the star table and the field of view of the star sensor remain unchanged.
[0063] Step S1023: Based on the star radius information in the first digital string and the star radius information in the second digital string, obtain candidate stars from the search table.
[0064] Specifically, the similarity of the first digital string BP and the second digital string BS formed by different main stars is obtained and sorted. Referring to Table 5, the position of the radius information with the highest similarity (i.e., the star serial number) is found, and the sorted star with the highest similarity is used as a candidate star, thereby completing the initial recognition and obtaining the serial number of the candidate star (in the specific example, there may be 1-20 candidate stars). Step S102 can be regarded as the initial recognition step for confirming the candidate star. Since the initial recognition step only involves the radius information of the star point and does not require specific position information, the processing flow is not cumbersome. Through this initial recognition step, the amount of calculation for subsequent recognition processing can be greatly reduced.
[0065]
[0066]
[0067] Table 5
[0068] Step S103: performing coordinate transformation on each star in the star map and the search table to obtain the polar coordinates of each star.
[0069] It should be noted that, in a specific implementation, the coordinates of each star in the search table can be transformed in an offline state in the early stage, and the polar coordinates of each star in the search table after the coordinate transformation can be stored, so that after the candidate stars are obtained online, the polar coordinates of the relevant stars in the search table can be directly retrieved for comparison and identification.
[0070] In one embodiment, coordinate transformation is performed on each star in the star map to obtain polar coordinates of each star, including: converting the two-dimensional coordinates of each star in the star map from a Cartesian coordinate system to a polar coordinate system to obtain the polar coordinates of each star in the star map, and obtaining the polar radius and polar angle of each star.
[0071] That is to say, when obtaining the polar coordinates of each star in the star map, the two-dimensional coordinates of each star in the star map can be converted from the Cartesian coordinate system to the polar coordinate system. Figure 4 As shown, Figure 4 The position of each star in the star map in the polar coordinate system is given, from which the polar coordinates of each star in the star map can be obtained, and the polar radius and polar angle of each star in the star map can be obtained, and then each star in the star map can be sorted according to the polar angle.
[0072] In one embodiment, coordinate transformation is performed on each star in the search table to obtain the polar coordinates of each star, including: determining a fitting plane according to the three-dimensional coordinates of each star in the search table in the celestial coordinate system, the focal length and pixel size of a star map acquisition device, and constructing a transformation matrix from the fitting plane to the celestial coordinate system; based on the transformation matrix, converting the three-dimensional coordinates of each star in the search table into two-dimensional coordinates, and converting the two-dimensional coordinates into polar coordinates to obtain the polar coordinates of each star in the search table, and obtaining the polar radius and polar angle of each star.
[0073] That is to say, reference Figure 5 As shown, when coordinate transformation is performed on each star in the search table, the imaging of each star on the image plane can be simulated. Assuming that the main star 401 is imaged at the center of the image plane 402, the coordinates of other stars 403 in the search table can be calculated by the formula OcWi=OWi-OOc. Therefore, the three-dimensional coordinates (point cluster) of each star in the search table relative to the center point of the celestial coordinate system can be obtained.
[0074] Specifically, when converting the three-dimensional coordinates into the polar coordinate system, each candidate star needs to be taken as the primary star and the following processing is performed respectively:
[0075] (1) Call the three-dimensional coordinates of the point cluster to fit the plane. The fitting plane is as follows: Figure 6As shown, and determine the equation of the plane.
[0076] (2) The line connecting the main star and other stars in the search table is taken as the x-axis, the coordinate axis located in the image plane and 90 degrees to the x-axis is taken as the y-axis, and the coordinate axis that obeys the right-hand screw rule with the x- and y-axes is taken as the z-axis. The vectors of the three axes in the celestial coordinate system can be obtained at this time.
[0077] (3) Using the concept of attitude matrix, the transformation matrix RM from the celestial coordinate system to the imaging coordinate system is obtained.
[0078] (4) Using the transformation matrix RM, the three-dimensional coordinates of the point cluster can be converted into two-dimensional coordinates on the plane, and then converted into polar coordinates. Figure 7 As shown, Figure 7 The position of each star in the search table in polar coordinates is given.
[0079] Step S104: Based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star, the stars in the star map are identified.
[0080] It should be noted that, in specific implementation, the field of view range of the star map (such as 17°) can be determined first, and then the field of view range around the candidate star can be determined based on the field of view range of the star map, wherein the field of view range around the candidate star corresponds to the field of view range of the star map. In specific implementation, one of the candidate stars (usually no more than 20) can be selected in one comparison cycle, and then the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star can be compared. If the comparison is successful, the star in the star map can be identified and the process ends; if the comparison is unsuccessful, the next comparison cycle is entered, that is, another star is selected from the above multiple candidate stars, and the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star are compared. Normally, the number of candidate stars does not exceed 20, that is, the number of the above comparison cycles usually does not exceed 20 at most. It can be seen that the method of the present invention not only has high recognition accuracy, but also can greatly reduce the number of recognition times, can effectively reduce interference, and can be applied to complex imaging environments.
[0081] In one embodiment, based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star, the method includes: obtaining a first polar angle of each star in the star map; obtaining a second polar angle of each star in the corresponding field of view around the candidate star; obtaining a first angle difference between each first polar angle and the corresponding second polar angle; for each candidate star, obtaining a first difference between the first angle differences; and identifying stars in the star map based on the existence of a number of first differences that are less than a difference threshold.
[0082] Specifically, as shown in Table 6, the polar coordinates (including the first radius and the first polar angle) of each star in the star map are obtained to form a third digital string MP, and then the corresponding field of view around the candidate star is obtained, and for each candidate star, the polar coordinates (including the second radius and the second polar angle) of each star in the corresponding field of view around it are obtained to form a fourth digital string MS. Among them, the third digital string MP and the fourth digital string MS are aligned in corresponding rows, and the alignment process can be based on the radius information. Specifically, the radius information within a certain range is placed in the same row, so as to facilitate the subsequent further judgment of whether their angles are similar. Then, each first polar angle is subtracted from the corresponding second polar angle to obtain the first angle difference, and for each candidate star, the first difference between the first angle differences is obtained. If the first difference of several stars is less than the difference threshold (such as 0.3°), the several stars are identified as real stars, and the corresponding flag bit can be drawn as 1, and the star serial numbers corresponding to these real stars can be obtained through the fourth digital string MS. At this point, all the stars in the star map have been identified.
[0083]
[0084] Table 6
[0085] In the specific example, refer to Figure 8 As shown, the third digital string MP star point 501 with a flag bit of 1 and the fourth digital string MS star point 502 with a flag bit of 1 can be drawn in the polar coordinate system. Further, due to the existence of the first angle difference, a compensation angle can be used to rotate the original point around the center for further angle compensation processing. After the angle compensation processing, refer to Fig. 9 As shown, the positions of the star points extracted from the star map are consistent with the results of the star catalog calculation, and the identification information of these star points can be obtained, and the star serial numbers are marked at the corresponding positions, such as Fig.10 shown.
[0086] It should be noted that not all extracted star points can be identified, which may be due to noise being identified or stars in the star image not being in the star catalog. For example, if the calculated star point energy is insufficient, some positions calculated from the star catalog may not be extracted on the image plane.
[0087] It should be noted that only when the recognition is truly successful can a series of recognition star points be obtained, otherwise the number of recognition star points is less than 2.
[0088] According to the all-celestial star map recognition method based on space projection of the embodiment of the present invention, the star map is preprocessed to determine the main star of the star map, and the star table is preprocessed to generate a search table, and the candidate star is obtained from the search table according to the main star of the star map and the search table, and the polar coordinates of each star are obtained by coordinate transformation of each star in the star map and the search table, and the stars in the star map are identified based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star. Therefore, not only the recognition accuracy is high, it can be applied to complex imaging environments, and interference can be effectively reduced, but also the density of navigation stars can be arbitrarily changed according to the sky area, so as to achieve more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0089] In one embodiment, after identifying the stars in the star map, the method further includes: obtaining a first angle difference of the star, and performing a first transformation from the celestial coordinate system to the imaging coordinate system according to the first angle difference of the star; performing a second transformation from the imaging coordinate system to the rotating coordinate system; performing a third transformation from the rotating coordinate system to the star sensor coordinate system; and obtaining a posture matrix converted from the celestial coordinate system to the star sensor coordinate system according to the first transformation, the second transformation, and the third transformation.
[0090] That is to say, for the identified star, its first angle difference is obtained, and according to the first angle, the celestial coordinate system is first transformed into the imaging coordinate system RM, and then the second transformation is made into a rotating coordinate system RZ around the Z axis, and the third transformation is made into the star sensor coordinate system RS. Then, by multiplying the transformation matrices, the attitude matrix gRT converted from the celestial coordinate system to the star sensor coordinate system can be obtained, that is, gRT=RS*RZ*RM, and then the following quaternion qRT can be obtained, and the attitude information is output:
[0091] qRT(1,4)=0.5*(sqrt(gRT(1,1)+gRT(2,2)+gRT(3,3)+1));
[0092] qRT(1,1)=(gRT(2,3)-gRT(3,2)) / 4 / qRT(1,4);
[0093] qRT(1,2)=(gRT(3,1)-gRT(1,3)) / 4 / qRT(1,4);
[0094] qRT(1,3)=(gRT(1,2)-gRT(2,1)) / 4 / qRT(1,4).
[0095] Furthermore, the recognition result can be verified by regression, where the recognition result is the position of the star point recognized in the star map. Fig.11When performing regression verification on the recognition results, substitute the attitude matrix gRT to obtain the positions of all the stars that should exist in the field of view calculated using the star catalog, and draw a graph and mark the star serial number, as shown in Fig.12 As shown. Fig.11 and Fig.12 It can be seen that the stars identified this time are real stars, and the calculated attitude matrix gRT is a reliable attitude result.
[0096] The present invention will be further explained and illustrated by a specific embodiment below. Fig.13 is a flowchart of the method for identifying the full celestial sphere star map based on space projection according to this specific embodiment, refer to Fig.13 As shown, the method for identifying the all-sky star map based on space projection may include the following steps:
[0097] Step S601: Determine the star catalog information of the star, and establish a search table, quantize the distances between the star points in the search table to form a second digital string BS, and store it.
[0098] Step S602: Fitting a projection plane to the star points in the search table, and converting from the projection plane to the celestial coordinate system, converting the three-dimensional coordinates into polar coordinates, and storing them.
[0099] Step S603: photographing a star map through a star sensor, extracting star points from the star map, sorting the star points, selecting a main star, and then quantifying the distances between other stars and the main star with the main star as the center to form a first digital string BP.
[0100] Step S604: Obtain candidate primary stars based on the first digital string BP and the second digital string BS.
[0101] Step S605: Convert the two-dimensional coordinates of the star points extracted from the star map into polar coordinates.
[0102] Step S606: identifying stars based on the polar coordinates of each star in the star map and each star in the corresponding field of view around the candidate star.
[0103] Step S607: Synchronous recognition and posture calculation.
[0104] In summary, according to the method for identifying the star map of the entire celestial sphere based on space projection in an embodiment of the present invention, the star map is preprocessed to determine the main star of the star map, and the star table is preprocessed to generate a search table, and the candidate star is obtained from the search table according to the main star of the star map and the search table, and the polar coordinates of each star in the star map and the search table are obtained by coordinate transformation, and the stars in the star map are identified based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star. Therefore, not only is the recognition accuracy high, it can be applied to complex imaging environments, and interference can be effectively reduced, but also the density of navigation stars can be arbitrarily changed according to the sky area, so as to achieve more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0105] In one embodiment, a computer-readable storage medium is proposed, on which a full celestial sphere star map recognition program based on spatial projection is stored. When the full celestial sphere star map recognition program based on spatial projection is executed by a processor, the above-mentioned full celestial sphere star map recognition method based on spatial projection is implemented.
[0106] According to the computer-readable storage medium of the embodiment of the present invention, the star map is preprocessed to determine the main star of the star map, and the star table is preprocessed to generate a search table, and the candidate star is obtained from the search table according to the main star of the star map and the search table, and the polar coordinates of each star are obtained by coordinate transformation of each star in the star map and the search table, and the stars in the star map are identified based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star. Therefore, not only the recognition accuracy is high, it can be applied to complex imaging environments, and interference can be effectively reduced, but also the density of navigation stars can be arbitrarily changed according to the sky area, so as to achieve more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0107] It should be noted that the specific numerical values mentioned above are only used as examples to illustrate the implementation of the present invention in detail, and should not be understood as limiting the present invention. In other examples or implementations or embodiments, other numerical values can be selected according to the present invention, and are not specifically limited here.
[0108] Fig.14 FIG. 1 is a structural block diagram of a device for identifying a celestial star map based on space projection according to an embodiment of the present invention. Fig.14 As shown, the space projection-based all-sky spherical star map recognition device 700 includes: a preprocessing module 701 , a first acquisition module 702 , a second acquisition module 703 and a recognition module 704 .
[0109] Among them, the preprocessing module 701 is used to preprocess the star map to determine the main star of the star map, and preprocess the star table to generate a search table; the first acquisition module 702 is used to obtain candidate stars from the search table according to the main star of the star map and the search table; the second acquisition module 703 is used to perform coordinate transformation on each star in the star map and the search table to obtain the polar coordinates of each star; the identification module 704 is used to identify the stars in the star map based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star.
[0110] In one embodiment, the preprocessing module 701 is specifically used to: obtain the star point position and grayscale information of each star in the star map; and determine the main star of the star map according to the star point position and / or grayscale information.
[0111] In one embodiment, the preprocessing module 701 is specifically used to: take each star in the star catalog as a main star; obtain the star serial number within the field of view around the main star; generate a search table according to the star serial number, wherein each row of the search table includes the star serial numbers around the main star of the corresponding row in the star catalog.
[0112] In one embodiment, the first acquisition module 702 is specifically used to: acquire a first distance between a main star and other stars in a star map, and quantify the first distance to form a first digital string, wherein the first digital string includes the star radius information in a circular ring corresponding to different radii around the main star; acquire a second distance between each main star and a star corresponding to a corresponding star serial number in a search table, and quantify the second distance to form a second digital string for each main star, wherein the second digital string includes the star radius information in a circular ring corresponding to different radii around the main star; and acquire a candidate star from the search table based on the star radius information in the first digital string and the star radius information in the second digital string.
[0113] In one embodiment, the second acquisition module 703 is specifically used to: convert the two-dimensional coordinates of each star in the star map from the Cartesian coordinate system to the polar coordinate system to obtain the polar coordinates of each star in the star map, and obtain the polar radius and polar angle of each star.
[0114] In one embodiment, the second acquisition module 703 is specifically used to: determine the fitting plane according to the three-dimensional coordinates of each star in the search table in the celestial coordinate system, the focal length and pixel size of the star map acquisition device, and construct a transformation matrix from the fitting plane to the celestial coordinate system; based on the transformation matrix, convert the three-dimensional coordinates of each star in the search table into two-dimensional coordinates, and convert the two-dimensional coordinates into polar coordinates to obtain the polar coordinates of each star in the search table, and obtain the polar radius and polar angle of each star.
[0115] In one embodiment, the identification module 704 is specifically used to: obtain the first polar angle of each star in the star map; obtain the second polar angle of each star in the corresponding field of view around the candidate star; obtain the first angle difference between each first polar angle and the corresponding second polar angle; for each candidate star, obtain the first difference between the first angle differences; and identify the stars in the star map based on the existence of a number of first differences that are less than a difference threshold.
[0116] In one embodiment, the second acquisition module 703 is further used to: acquire the first angle difference of the star, and perform a first conversion from the celestial coordinate system to the imaging coordinate system according to the first angle difference of the star; perform a second conversion from the imaging coordinate system to the rotating coordinate system; perform a third conversion from the rotating coordinate system to the star sensor coordinate system; and acquire a posture matrix converted from the celestial coordinate system to the star sensor coordinate system according to the first conversion, the second conversion, and the third conversion.
[0117] According to the all-celestial star map recognition device based on space projection of the embodiment of the present invention, the star map is preprocessed by the preprocessing module to determine the main star of the star map, and the star table is preprocessed to generate a search table, and the candidate star is obtained from the search table according to the main star of the star map and the search table by the first acquisition module, and the coordinates of each star in the star map and the search table are transformed by the second acquisition module to obtain the polar coordinates of each star, and the stars in the star map are identified by the recognition module based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star. Therefore, not only the recognition accuracy is high, it can be applied to complex imaging environments, and interference can be effectively reduced, but also the density of navigation stars can be arbitrarily changed according to the sky area, so as to achieve more precise recognition of a certain sky area, thereby helping to improve attitude accuracy.
[0118] It should be noted that, for the description of the all-sky sphere star map recognition device based on spatial projection in the present application, please refer to the description of the all-sky sphere star map recognition method based on spatial projection in the present application. The above explanation of the implementation method and beneficial effects of the all-sky sphere star map recognition method based on spatial projection is also applicable to the all-sky sphere star map recognition device based on spatial projection of the present invention. To avoid redundancy, it will not be elaborated here.
[0119] It should be understood that although Figure 1 , 2 The steps in the flowcharts of 1 and 13 are shown in sequence as indicated by arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 , 2At least part of the steps in 13 may include multiple sub-steps or multiple stages. These sub-steps or stages do not necessarily have to be executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages does not necessarily have to be sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0120] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0121] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0122] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0123] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0124] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0125] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0126] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for identifying a celestial star map based on space projection, characterized in that: The method comprises: Preprocessing the star map to determine the main stars of the star map, and preprocessing the star catalog to generate a search table; Preprocess the star catalog to generate the search table, including: Taking each star in the star catalog as a primary star; Obtaining the star serial numbers within the field of view around the primary star; Generate the search table according to the star sequence number, wherein each row of the search table includes the star sequence numbers around the primary star of the corresponding row in the star table; Acquire a candidate star from the search table according to the main star of the star map and the search table; Acquiring a candidate star from the search table according to the main star of the star map and the search table comprises: Acquire a first distance between a main star and other stars in the star map, and quantize the first distance to form a first digital string, where the first digital string includes radius information of stars in a ring corresponding to different radii around the main star; Acquire a second distance between each primary star in the search table and the star corresponding to the corresponding star serial number, and quantize the second distance to form a second digital string for each primary star, wherein the second digital string includes the star radius information in the circular ring corresponding to different radii around the primary star; acquiring the candidate star from the search table based on the star radius information in the first digital string and the star radius information in the second digital string; Performing coordinate transformation on each star in the star map and the search table to obtain the polar coordinates of each star; Based on the polar coordinates of each star in the star map and the polar coordinates of each star in a corresponding field of view around the candidate star, the stars in the star map are identified.
2. The method for identifying a celestial star map based on space projection according to claim 1, characterized in that: Preprocessing the star map to determine the main star of the star map includes: Obtaining the star point position and grayscale information of each star in the star map; The main star of the star map is determined according to the star point position and / or grayscale information.
3. The method for identifying a celestial star map based on space projection according to claim 1, characterized in that: Performing coordinate transformation on each star in the star map to obtain the polar coordinates of each star includes: The two-dimensional coordinates of each star in the star map are converted from a Cartesian coordinate system to a polar coordinate system to obtain the polar coordinates of each star in the star map, and the polar radius and polar angle of each star are obtained.
4. The method for identifying a celestial star map based on space projection according to claim 1, characterized in that: Performing coordinate transformation on each star in the search table to obtain the polar coordinates of each star includes: Determine a fitting plane according to the three-dimensional coordinates of each star in the search table in the celestial coordinate system, the focal length and pixel size of a star map acquisition device, and construct a transformation matrix from the fitting plane to the celestial coordinate system; The three-dimensional coordinates of each star in the search table are converted into two-dimensional coordinates based on the transformation matrix, and the two-dimensional coordinates are converted into polar coordinates to obtain the polar coordinates of each star in the search table, and the polar radius and polar angle of each star in the search table are obtained.
5. The method for identifying a celestial star map based on space projection according to claim 1, characterized in that: Based on the polar coordinates of each star in the star map and the polar coordinates of each star in the corresponding field of view around the candidate star, including: Obtaining the first polar angle of each star in the star map; Obtaining the second polar angle of each star within the corresponding field of view around the candidate star; Obtaining a first angle difference between each first polar angle and a corresponding second polar angle; For each candidate star, obtaining a first difference between the first angle differences; Based on the existence of a number of the first differences being smaller than a difference threshold, stars in the star map are identified.
6. The method for identifying the star map of the entire celestial sphere based on space projection according to claim 5, characterized in that: After identifying the stars in the star map, the method further includes: Acquire a first angle difference of the star, and perform a first conversion from a celestial coordinate system to an imaging coordinate system according to the first angle difference of the star; a second transformation from the imaging coordinate system to a rotating coordinate system; a third transformation from the rotating coordinate system to a star sensor coordinate system; An attitude matrix converted from a celestial coordinate system to a star sensor coordinate system is acquired according to the first conversion, the second conversion, and the third conversion.
7. A computer-readable storage medium, characterized in that: A space-projection-based all-sky spherical star map recognition program is stored thereon, and when the space-projection-based all-sky spherical star map recognition program is executed by a processor, the space-projection-based all-sky spherical star map recognition method according to any one of claims 1-6 is implemented.
8. A device for identifying a celestial star map based on space projection, characterized in that: The device comprises: A preprocessing module, used for preprocessing the star map to determine the main star of the star map, and preprocessing the star catalog to generate a search table; The preprocessing module is specifically used to: take each star in the star catalog as a main star; obtain the star sequence number within the field of view around the main star; generate a search table according to the star sequence number, wherein each row of the search table includes the star sequence number around the main star of the corresponding row in the star catalog; A first acquisition module, configured to acquire a candidate star from the search table according to the main star of the star map and the search table; The first acquisition module is specifically used to: acquire a first distance between a main star and other stars in the star map, and quantize the first distance to form a first digital string, the first digital string including the star radius information in the circular ring corresponding to different radii around the main star; acquire a second distance between each main star and the star corresponding to the corresponding star sequence number in the search table, and quantize the second distance to form a second digital string for each main star, the second digital string including the star radius information in the circular ring corresponding to different radii around the main star; acquire a candidate star from the search table based on the star radius information in the first digital string and the star radius information in the second digital string; A second acquisition module, used for performing coordinate transformation on the star map and each star in the search table to obtain the polar coordinates of each star; The identification module is used to identify the polar coordinates of each star in the corresponding field of view around the main star of the star map based on the polar coordinates of each star in the field of view around the candidate star, so as to identify the stars in the star map.
Citation Information
Patent Citations
Rapid autonomous all-sky map fixed star identification method
CN103868510A
Star map data based method for measurement of in-orbit precision of star sensor
CN105371870A
Method for making guide star database based on output accuracy of star sensors
CN106595645A
Star sensor star map identification method based on convolutional neural network
CN107883947A
Star pattern recognition method based on radial triangle mapping matrix
CN113483751A
