Method and device for star image recognition of small field of view star sensor based on attitude information assistance

By using attitude information to screen candidate stars and combining it with the triangle algorithm, the problem of redundant matching and large amount of calculation in star map recognition is solved, the recognition accuracy and speed are improved, the robustness is enhanced, and it is suitable for small fields of view and large noise. conditions.

CN114777763BActive Publication Date: 2024-10-01NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210256680.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-16
Publication Date
2024-10-01
Estimated Expiration
2042-03-16

AI Technical Summary

Technical Problem

Existing star map recognition methods have problems such as many redundant matches, large amounts of calculation, long time, and poor noise robustness under conditions of small field of view and high noise, making it difficult to improve the recognition accuracy and shorten the recognition time.

Method used

By using the assistance of attitude information, stars with optical axes pointing nearby are selected as candidate stars, and the triangle algorithm is used for star map recognition, which reduces redundant matching and calculations, and enhances the recognition rate and noise robustness. The specific steps include searching for the 8 neighborhood block codes pointed by the optical axis, obtaining the start and end addresses of the navigation star library, calculating the starlight vector, using the k vector lookup table to locate the search interval of the navigation star library, and obtaining the candidate star sequence number. Intersection for matching.

Benefits of technology

It effectively improves the accuracy and speed of star map recognition, reduces mismatches and multiple matches, and has strong robustness and practicability, especially in the case of small fields of view and large noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114777763B_ABST
    Figure CN114777763B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for star map recognition of a small-field star sensor based on attitude information assistance. The attitude information provided by a navigation system is used to infer the attitude of the star sensor at the current moment, and stars in the celestial sphere region near the optical axis are selected as candidate stars. The obtained prior information of the candidate stars is combined with a triangle algorithm to perform a star map recognition and matching process, thereby improving the redundancy of matching, thereby achieving the purpose of reducing the probability of mismatching and multiple matching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of spacecraft navigation, guidance and control, and in particular to a method and device for star map recognition of a small-field-of-view star sensor based on attitude information assistance. Background Art

[0002] Attitude measurement is the premise of spacecraft flight control, and is of great significance to ensure high-performance flight, high-precision observation and smooth completion of various space missions. Star sensors perform attitude calculations by observing stars, and have the advantages of high reliability, high precision, strong autonomy and no error accumulation. They are currently widely used in attitude measurement of spacecraft. Its working principle is: the star sensor obtains the star map within the current field of view through its optical imaging system, extracts the position coordinates of the stars in the star map (or adds brightness information), and uses the star map recognition algorithm to complete the corresponding matching of the observed stars and the navigation stars in the database, and finally uses the matching star pairs to calculate the three-axis attitude information of the star sensor. In the above workflow, the star map recognition algorithm is the core part of the star sensor to complete attitude measurement.

[0003] Existing star map recognition methods can be divided into three categories: subgraph isomorphism algorithms (such as triangle algorithm, pyramid algorithm, maximum matching group algorithm, geometric voting method, etc.), artificial intelligence algorithms (such as genetic algorithm, adaptive ant colony algorithm, etc.) and pattern recognition algorithms (such as grid algorithm, main star ring pattern algorithm, etc.).

[0004] Among them, the triangle algorithm is the most mature and widely used star map recognition algorithm. The basic principle of this algorithm is as follows: the l formed by the navigation stars is stored in advance, and the three pairs of angles of the feature triangle and the observation triangle are compared during recognition. If the errors corresponding to the three pairs of angles are within a set uncertainty range, the observation triangle is considered to match the feature triangle. However, under normal circumstances, the number of feature triangles constructed by this algorithm is too large, and there are many redundant matches in the process of star map recognition, which is computationally intensive and time-consuming, and has poor robustness to noise.

[0005] The improvement of the triangular star pattern recognition method is mainly reflected in the following two aspects: first, by constructing other features through triangles to reduce redundant matching; second, by reducing the capacity of the navigation star library, thereby reducing the time of matching search. Reference 1: CLCole, JLCrassidis.Fast star-pattern recognition using planar triangles[J].Journal of Guidance Control and Dynamics,2006,29(64):1-38. A fast planar triangle recognition method is proposed. The area of ​​the planar triangle formed by three star points in the star map is used as one of the recognition features. This method uses both the area and the star angle distance for matching to reduce redundancy. However, the number of feature triangles is still very large, and the star pattern recognition time is long. Reference 2: Yang Jian, Zhang Guangjun, Jiang Jie. Method for realizing fast star pattern recognition by P vector[J].Acta Aeronautica Sinica,2007,28(4):897-900. A method for realizing fast star pattern recognition by P vector is proposed. When constructing feature triangles, this method stipulates that each main star has only one triangle, which is composed of the navigation star and the two brightest stars around it. This method can quickly complete star map recognition and reduce redundancy, but the number of triangles is too simple, which makes the construction conditions of observation triangles harsh, and the star map recognition results are easily affected by magnitude noise. The problems of the triangle algorithm, such as many redundant matches, large amount of calculation and long time, and poor robustness to noise, are difficult to solve at the same time. In addition, under the condition of small field of view observation, the number of triangles in the star map is small and the construction conditions are harsh, which further increases the difficulty of star map recognition. Summary of the invention

[0006] The technical problem to be solved by the present invention is to provide a star map recognition method and device for a small field of view star sensor based on attitude information assistance in view of the shortcomings of the prior art, which can effectively improve the accuracy of star map recognition and shorten the running time of the recognition algorithm when there are few visible stars in the field of view and large image noise.

[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is: a method for star image recognition of a small field of view star sensor based on attitude information assistance, comprising the following steps:

[0008] S1. Find the codes of the 8 neighboring blocks corresponding to the block where the optical axis points, obtain the starting and ending points of the navigation star library corresponding to the 9 blocks respectively, take the stars contained in the 9 blocks as candidate stars, and obtain the set of all candidate star numbers S = {S 1 ...S n};

[0009] S2. For two star points on the image, the starlight vectors in the s system calculated from the image coordinates are (u 1 , v 1 )、(u 2 , v 2 ) are the image coordinates of two star points on the image; (u 0 , v 0 ) and f are the camera principal point and focal length respectively; the calculation formula of the star angle distance between two star points is:

[0010] S3, for the cosine value cosθ 12 , using the linear mapping K corresponding to the k-vector lookup table, locate the search interval upper limit K[cosθ 12 -δ] and the lower limit K[cosθ 12 +δ], and obtain the located star number; the located star number and the set of candidate star numbers S = {S 1 ...S n After taking the intersection, the triangle algorithm is used to complete the star table matching and complete the star map recognition; where δ is the set error value (determined according to the star point extraction accuracy, generally 0.5×10 -6 ~4×10 -6 ).

[0011] The present invention greatly reduces redundant matching in the process of star map recognition with the assistance of attitude prior information, thereby reducing the amount of calculation and operation time, and enhancing the recognition rate and noise robustness. The present invention uses the attitude information of the star sensor at the previous moment to estimate the direction of the optical axis at the current moment, thereby screening out the stars that may exist in the current field of view as candidate stars, and directly matches the star point information observed on the image with the candidate stars; while the traditional triangle algorithm matches all the positioning stars in the navigation star library, and the number of candidate stars is very small compared to the stars directly positioned by the star angular distance, which can effectively avoid the problems of many redundant matching, large amount of calculation, long time, poor noise robustness, etc. in the process of star map recognition.

[0012] In step S1, the codes of the eight neighboring blocks corresponding to the block where the optical axis points are searched through the neighboring block index table; wherein, the construction process of the neighboring block index table includes: the first column of the neighboring block index table is the central block index number, and according to the right ascension and declination of the center of each block, the eight blocks adjacent to each central block are searched respectively, and the index numbers of the adjacent blocks are stored in columns 2 to 9 of the neighboring block index table; the navigation star located in the central block is screened out, and the starting address and the ending address of the navigation star in the navigation star table are stored in columns 10 to 11 of the neighboring block index table, thereby obtaining the neighboring block index table.

[0013] In the present invention, after the central block where the optical axis is pointing is known, the table can be used to search for the adjacent 8 blocks, thereby realizing a fast search for the 9 blocks where the candidate stars are located.

[0014] The calculation process of right ascension and declination of each block center includes:

[0015] 1) Divide the celestial sphere into 12 basic grids of equal area, and then subdivide each grid into k layers, with a side length of N side , set the total number of diamond blocks N corresponding to different levels pix and block size θ pix ; Among them, for the field of view size θ FOV Star sensor, block size Choose to meet The maximum number of subdivision levels k under the condition;

[0016] 2) Number all blocks from north to south and calculate the longitude and latitude corresponding to the center of each block. When the index number of the block is p, the longitude and latitude of the center of the block are θ c The calculation formula is as follows:

[0017] For the Arctic region, 0≤p<2N side (N side -1), the corresponding right ascension Declination θ c The calculation formula is:

[0018] In the equatorial regions of the northern and southern hemispheres, 2N side (N side -1)≤p<2N side (5N side +1), the corresponding right ascension The expression of declination θx is: j=[p-2N side (N side -1)]mod[4N side ]+1;

[0019] For the Antarctic region, The corresponding right ascension Declination θ c The expression is: j = p + 1 - 2i (i - 1);

[0020] The function I[x] represents the largest integer less than x, and [x]mod[y] represents the remainder operation of x on y.

[0021] After the grid subdivision level k is determined, the central right ascension and declination of the block numbered p can be calculated according to the above formula, and then the numbers of the eight adjacent blocks of each block can be determined to construct a neighborhood index table.

[0022] The total number of diamond blocks N corresponding to different levels pix and the block size θ is set as:

[0023] When k = 0, N side =1,N pix =12,θ pix =58.6°;

[0024] When k = 1, N side =2,N pix =48,θ pix =29.3°;

[0025] When k = 2, N side =4,N pix =192,θ pix =14.7°;

[0026] When k = 3, N side =8,N pix =768,θ pix =7.33°;

[0027] When k = 4, N side =16, N pix =3072,θ pix =3.66°;

[0028] When k = 5, N side =32, N pix =12288,θ pix =1.83°;

[0029] When k=6, N side =1,N pix =49152,θ pix =55.0′.

[0030] The block size setting includes two principles: one is that it should be larger than the half field of view of the star sensor, so as to ensure that the selected 9 blocks are larger than the field of view; the other is that the block should be as small as possible to reduce the number of candidate stars. On the basis of meeting the first principle, the block size, grid subdivision level k and the total number of diamond blocks N are selected according to the second principle. pix This method can ensure that all the star points observed on the image are included in the candidate stars, while minimizing redundant matching.

[0031] The construction process of the navigation star catalog includes:

[0032] Select stars with magnitudes less than the limit detection magnitude as navigation stars, and use the right ascension of the navigation star to determine the Declination θ s Calculate the block index code p corresponding to the navigation star s , get the block index codes of all navigation stars, store them in the basic star catalog, and then sort them in ascending order according to the block index codes. The stars with the same index codes are sorted in ascending order according to their right ascension, and the navigation star catalog is constructed; among them, the block index code p s The calculation process includes:

[0033] when When p s =2N side (N side -1)+4(i s -1)N side +j s ;i s =N side + 1+j p -j m ;

[0034] when hour,

[0035] When the block code is known, the navigation star in the block can be quickly searched to screen out the candidate stars.

[0036] The process of constructing the k-vector lookup table includes:

[0037] A) Calculate the cosine values ​​of the star angle distances for all pairs of stars in the navigation star catalog. For star a and star b, the right ascension and declination are and Starlight Vector a 、v b The angle between them, that is, the star angle distance is θ ab , the cosine value of the star angle distance v ab The calculation formula is as follows: ab = cosθ ab =v a ·v b ; a and b represent the serial numbers of the stars in the 2MASS star catalog, a≠b;

[0038] B) The cosine values ​​of the star angle distances of all navigation star pairs constitute a set Y, in the field of view of the star sensor θ FOV and the minimum star angular resolution θ min Under the restriction of , the set Y is screened, that is, the value range of Y is cosθ min and cosθ FOV The star angle distance cosine values ​​are arranged from small to large, the first column stores the arrangement number of the star angle distance cosine value, the second and third columns store the sequence numbers a and b of the star pairs, and the fourth column stores the star angle distance cosine value, thereby obtaining a k-vector lookup table arranged by the angle distance cosine value.

[0039] C) According to the k vector lookup table, establish the star angle distance cosine value arrangement number k and cosine value cosθ ab The linear mapping between ab =K[cosθ ab ]=(cosθ ab -A 0 ) / A 1 , where A 0 , A 1 are the fitting coefficients obtained after linear fitting the data in the first and fourth columns of the k vector lookup table.

[0040] By constructing a k-vector lookup table and establishing the corresponding linear mapping K, after calculating the star angular distance of the star point on the image, the navigation star that meets the star angular distance error threshold can be quickly located, thereby reducing the search time and improving the efficiency of the algorithm.

[0041] The present invention also provides a computer device, comprising a memory, a processor and a computer program stored in the memory; the processor executes the computer program to implement the steps of the method of the present invention.

[0042] The present invention also provides a computer program product, comprising a computer program / instruction; when the computer program / instruction is executed by a processor, the steps of the method of the present invention are implemented.

[0043] The present invention also provides a computer-readable storage medium on which a computer program / instruction is stored; when the computer program / instruction is executed by a processor, the steps of the method of the present invention are implemented.

[0044] Compared with the prior art, the present invention has the following beneficial effects: the present invention utilizes attitude information to assist, and the recognition speed and recognition success rate are far superior to the traditional triangle algorithm; in particular, under the condition of a small field of view star sensor with fewer star points, the situation of mismatching or multiple matching can be effectively reduced, and the invention has strong robustness and practicality; under the condition of a small number of visible stars in the field of view and large image noise, the accuracy of star map recognition is effectively improved, and the running time of the recognition algorithm is shortened. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 This is a flow chart of the star map recognition algorithm proposed in the present invention.

[0046] Figure 2 Schematic diagram of determining candidate stars with the aid of attitude information.

[0047] Figure 3 Schematic diagram of constructing characteristic patterns for the triangle algorithm.

[0048] Figure 4 This is the recognition rate of the star map recognition algorithm proposed in this invention under different attitude errors.

[0049] Figure 5 It is the recognition rate of the star map recognition algorithm proposed in the present invention at different star angular distance error thresholds.

[0050] Figure 6 It is the running time of the star map recognition algorithm proposed in the present invention at different star angle distance error thresholds. DETAILED DESCRIPTION

[0051] The present invention uses the attitude information provided by the navigation system to calculate the attitude of the star sensor at the current moment, selects the stars in the celestial sphere region (completely covering the field of view) with the optical axis pointing nearby as candidate stars, uses the obtained prior information of the candidate stars, and combines it with the triangle algorithm to perform the star map recognition and matching process, thereby improving the redundancy of the matching, thereby achieving the purpose of reducing the probability of mismatching and multiple matching. Specifically, it includes the following main steps:

[0052] Step 1. Construct a navigation star catalog based on equal-area division of the celestial sphere

[0053] 1.1. Using the HEALPix (Hierarchical Equal Area iso Latitude Pixelisation) algorithm, the celestial sphere is first divided into 12 basic grids of equal area, and then each grid is subdivided into k layers, and the side length after subdivision is N side , the total number of diamond blocks corresponding to different levels N pix and block size θ are shown in Table 1 below:

[0054] Table 1 HEALPix partition level, number of partitions and block size

[0055]

[0056] For a field of view size of θ FOV For star sensors, the block size θ needs to be larger than half the field of view. According to the block size shown in Table 1, select The maximum number of subdivision levels k under the condition.

[0057] 1.2. Number all blocks from north to south and calculate the longitude and latitude corresponding to the center of each block. The index number of the block is p (p∈[0, N pix -1]), the calculation formula of its central longitude and latitude is as follows:

[0058] For the Arctic region, 0≤p<2N side (N side -1), the corresponding latitude circle index value 1≤i<Nside, 1≤j≤4i, can be calculated by formula (1) and formula (2) respectively:

[0059]

[0060]

[0061] The corresponding right ascension The declination θ can be calculated by formula (3) and formula (4) respectively:

[0062]

[0063]

[0064] In the equatorial regions of the northern and southern hemispheres, 2N side (N side -1)≤p<2N side (5N side +1), the corresponding latitude circle index value N side ≤i≤2Nside,1≤j≤4N side , can be calculated by formula (5) and formula (6) respectively:

[0065]

[0066] j=[p-2N side (N side -1)]mod[4N side ]+1 (6)

[0067] The corresponding right ascension The declination θ can be calculated by formula (7) and formula (8) respectively:

[0068]

[0069]

[0070] The function I[x] represents the largest integer less than x, and [x]mod[y] represents the remainder operation of x on y.

[0071] For the Antarctic region, The corresponding latitude circle index value N side ≤i≤2Nside,1≤j≤4N side , can be calculated by formula (9) and formula (10) respectively:

[0072]

[0073] j=p+1-2i(i-1) (10)

[0074] The corresponding right ascension The declination θ can be calculated by formula (11) and formula (12) respectively:

[0075]

[0076]

[0077] The above formulas (1) to (12) are used to calculate N in the entire celestial sphere. pix The right ascension and declination corresponding to the center point of each block.

[0078] 1.3. Use the stars in the basic star library to construct the navigation star catalog. Extract the right ascension, declination, H-band magnitude, and star number of the stars in the 2MASS star library to form the basic star catalog. Then select the stars with magnitude less than the limit detection magnitude as the navigation stars. Declination θ s Calculate the corresponding block index code p s :

[0079] when When , the calculation formula is as follows:

[0080] p s =2N side (N side -1)+4(i-1)N side +j (9)

[0081] The corresponding latitude circle index value:

[0082] i=N sid e+1+j p -j m (10)

[0083]

[0084] in,

[0085] when When , the calculation formula is as follows:

[0086]

[0087] The corresponding latitude circle index value:

[0088] i=j p +j m +1 (13)

[0089]

[0090] in,

[0091] The block index codes of all navigation stars are obtained and stored in the filtered basic star catalog. They are then sorted in ascending order by block index codes. Stars with the same index codes are sorted in ascending order by their right ascensions. At this point, the construction of the navigation star catalog is complete.

[0092] 1.4. The first column of the neighborhood block index table is the central block index number. According to the right ascension and declination of each block center calculated in step 1.2, the 8 blocks adjacent to each central block are searched respectively, and the index numbers of the adjacent blocks are stored in columns 2 to 9 of the block index table. At the same time, the navigation star located in the central block is selected, and the starting address and the ending address of the navigation star in the navigation star table (constructed in step 1.3) are stored in columns 10 to 11 of the neighborhood index table, thereby obtaining the neighborhood block index table.

[0093] Step 2. Create a navigation star k-vector lookup table

[0094] 2.1. Calculate the cosine of the star angle distance of all star pairs in the navigation star catalog. For star a and star b, the starlight vector v a 、v b The angle between them (i.e. the star angle distance) is θ ab , the cosine value of the star angle distance v ab The calculation formula is as follows:

[0095] v ab = cosθ ab =v a ·v b (a≠b) (15)

[0096] Among them, a and b represent the serial numbers of the stars in the 2MASS star catalog. and are the right ascension and declination of stars a and b respectively. The calculation formula of starlight vector is as follows:

[0097]

[0098]

[0099] 2.2. The cosine values ​​of the star angle distances of all navigation star pairs constitute a set Y = {…cosθ ab …} T , in the star sensor field of view θ FOV and the minimum star angular resolution θ min Under the restriction of , the set Y is screened, that is, the value range of Y is cosθ min and cosθ FOV Arrange the star angle distance cosine values ​​from small to large, store the sequence number of the star angle distance cosine value in the first column, store the sequence numbers a and b of the star pairs in the second and third columns, and the star angle distance cosine value in the fourth column, thereby obtaining a k-vector lookup table arranged by the angle distance cosine value.

[0100] 2.3. Establish the sequence number k and cosine value cosθ of the star angle distance cosine value ab The linear mapping between k = K[cosθ ab ]=(cosθ ab -A 0 ) / A 1 , for any star angle distance θ cal , within a certain cosine value error range δ (the error range is determined by the star point extraction accuracy, generally 0.5×10 -6 ~4×10 -6 ), we can get the starting value K[cosθ cal -δ] and the final value K[cosθ cal +δ], thereby achieving rapid positioning of the navigation star pair.

[0101] Step 3. Candidate star information assists star map recognition (Steps 1 and 2 are the process of establishing the navigation database, which is completed before star map recognition and only needs to be performed once; in actual application, the star map recognition process is completed by calling the navigation database and performing steps 3.1-3.3))

[0102] 3.1 The star sensor can output the carrier's attitude information during use. When the carrier's angular motion speed is not large, the attitude deviation output at adjacent sampling moments is small. Therefore, the attitude information at the previous moment is approximated as the attitude at the current moment, and the attitude conversion matrix is ​​obtained. Use formula (18) to calculate the three-dimensional vector of the optical axis in the i system and obtain its corresponding right ascension: and declination θ axis .

[0103]

[0104]

[0105] 3.2. Substitute the right ascension of the optical axis calculated by formula (19) into and declination θ axis As θ s , Substitute into formulas (9) to (14) to calculate the block code corresponding to the optical axis pointing, and use the neighborhood block index table obtained in step 1.4 to find the codes of the 8 neighborhood blocks corresponding to the block where the optical axis points, and you can get the start and end addresses of the navigation star library corresponding to the 9 blocks respectively. Take the stars contained in the 9 blocks as candidate stars, and finally get the set of all candidate star numbers S = {S 1 ...S n}.

[0106] 3.3. Extract star points from the star map and obtain the image coordinates (u, v) of the star points. The vector of the star in the star sensor coordinate system (s system) is r s =(uu 0 , vv 0 , f), where (u 0 , v 0 ) and f are the camera principal point and focal length, respectively.

[0107] The image coordinates of the two star points 1 and 2 on the image are (u 1 , v 1 )、(u 2 , v 2 ), the starlight vectors in the s system are calculated from the image coordinates and are The star angle distance formula between them is as follows:

[0108]

[0109] From this, the cosine value of the star angle distance between the star points in the star map is calculated. For a given cosine value cosθ 12 , using the k-vector lookup table to quickly locate the upper and lower limits of the search interval of the navigation star library K[cosθ 12 -δ] and K[cosθ 12 + δ], and get the number of the located star. Add the located star number to the candidate star S = {S 1 ...S n After taking the intersection, the triangle algorithm can be used to complete the star table matching, that is, the candidate star numbers in the field of view are used to assist in star map recognition.

[0110] Now, the method is further described according to a specific embodiment. Figure 1 As shown, the method comprises the following steps:

[0111] Step 1. Build a navigation star catalog

[0112] 1.1. The celestial sphere is divided into diamond blocks of equal area using the HEALPix algorithm, and the block size θ is shown in Table 1. The small field of view star sensor is 3°×3°, and the selected block must be larger than the half field of view of 1.5°, so a 5-level division is selected, the average block size is 1.83°, and the corresponding number of blocks is 12288.

[0113] 1.2. When k = 5, N side =32, and substitute it into formulas (1) to (8) to calculate the right ascension and declination corresponding to the center of each block.

[0114] 1.3. Select the star number, right ascension, declination, and H-band magnitude from the 2MASS star catalog to form a basic star library, and select stars with a magnitude less than 4.5 as navigation stars. Substitute the right ascension and declination information of the navigation star into formulas (9) to (14) to calculate the code of the block to which the navigation star belongs, and store it in the basic star catalog. Then, sort it in ascending order according to the block index code, and sort the stars with the same index code in ascending order according to their right ascension. At this time, the navigation star catalog is constructed.

[0115] Table 2 Part of the navigation star catalog

[0116]

[0117]

[0118] 1.4. Construct the neighborhood block index table. According to the block center right ascension and declination calculated in step 1.2, search for the 8 blocks adjacent to each block, and store the index numbers of the adjacent blocks in the block index table. At the same time, filter out the navigation star in the block, and store the starting address and ending address of the navigation star in the navigation star table (constructed in step 1.3).

[0119] Table 3 Part of the neighborhood block index table

[0120]

[0121] Step 2. Create a k-vector lookup table

[0122] 2.1. According to the right ascension and declination of the navigation star, calculate the cosine values ​​of the star angle distance of all star pairs in the navigation star catalog by formula (15), and record the star numbers of the two stars corresponding to the cosine values.

[0123] 2.2. The cosine values ​​of the star angle distances of all navigation star pairs constitute a set Y = {…cosθ ab …} T, under the restriction of the star sensor field of view 3° and the minimum star angle resolution 0.1°, the set Y is screened, that is, the value range of Y is between cos 3° and cos 0.1°. The star angle cosine values ​​are arranged from small to large, the first column stores the sequence number of the star angle cosine value, the second and third columns store the sequence numbers a and b of the star pairs, and the fourth column stores the star angle cosine value, thereby obtaining a star pair lookup table arranged by the angle cosine value.

[0124] Table 4 Star pair lookup table arranged by angular distance cosine value

[0125]

[0126]

[0127] 2.3. Establish a linear mapping between the star angle sequence number and the cosine value k = K[cosθ] = (cosθ-A 0 ) / A 1 For any star angular distance θ, within a certain range of angular error, the starting value K[cosθ-δ′] and the ending value K[cosθ-δ′] of the corresponding sequence number in the lookup table can be obtained, thereby realizing rapid positioning of the navigation star pair.

[0128] Step 3. Candidate star information aids star map recognition

[0129] 3.1 The navigation system can output the carrier's attitude information during use, and approximate the attitude information of the previous moment as the current moment's attitude (or the current attitude is provided by the inertial navigation), and obtain the attitude conversion matrix Use formulas (16) to (17) to calculate the right ascension of the optical axis: and declination θ axis .

[0130] 3.2. According to formulas (9) to (14), the block code corresponding to the optical axis direction is calculated. By searching the codes of the 8 neighboring blocks corresponding to the central block in Table 3, the start and end addresses of the navigation star library corresponding to the 9 blocks can be obtained respectively. All the stars (i.e., candidate stars) contained in the 9 blocks can be located through Table 2, and finally the set of all candidate star numbers S = {S 1 ...S n}

[0131] 3.3. Star point extraction is performed on the collected star map to obtain the image coordinates of the star points, and the star angle distance between every three stars in the star map is calculated. The star pair numbers within the positioning error range are located using the k-vector lookup table. By taking the intersection with the candidate stars, the three stars can be quickly matched. If all triangles are successfully matched and the star numbers correspond one to one, it means that the recognition is successful, otherwise the recognition fails. For the successfully recognized star map, the attitude solution is performed, and the output attitude information is used as auxiliary information for the next frame of star map recognition.

[0132] Example

[0133] The attitude information-assisted star map recognition algorithm uses the prior attitude information of the star sensor to obtain candidate stars, thereby providing additional reference information for the star map matching process and improving the star map recognition speed. The attitude information can be given by the attitude output by the star sensor itself at the previous moment. When assisted by an inertial navigation system, it can be directly given by the inertial navigation system. Since the prior attitude information generally contains errors, it will affect the success rate of recognition. This section simulates under different attitude error conditions, and the attitude error gradually increases from 0.02° to 1° to examine the recognition success rate of the algorithm. The recognition results are shown in the figure. Figure 4 .according to Figure 4 It is found that when the attitude error is small, the success rate of star map recognition is almost unaffected. When the attitude error increases to about 0.2°, the success rate of star map recognition gradually decreases. When the attitude error reaches 1°, it can still maintain a star map recognition success rate of more than 45%. The simulation results show that the algorithm has low requirements for prior attitude information and exhibits strong robustness.

[0134] In order to evaluate the performance of the method of the present invention, the star map recognition algorithm is used to process the star map captured by a small field of view star sensor. The small field of view star sensor is 3°×3°, the resolution is 256×320 pixels, the pixel size is 20μm×20μm, the focal length of the optical system is 100mm, and 1000 frames of images are continuously captured under static conditions. The corresponding recognition rate and running time are as follows: Figure 5 and 6 It can be seen that the method proposed by the present invention is less affected by the setting of the star angular distance error threshold. Since the candidate stars are used as prior information, the robustness to noise is significantly better than the traditional triangular star map recognition method.

Claims

1. A method for star image recognition of a small field of view star sensor based on attitude information assistance, characterized in that: The following steps are involved: S1. Find the codes of the 8 neighboring blocks corresponding to the block where the optical axis points, obtain the starting and ending points of the navigation star library corresponding to the 9 blocks respectively, take the stars contained in the 9 blocks as candidate stars, and obtain the set of all candidate star numbers S = {S1…S n }; S2. For two star points on the image, the starlight vectors in the s system calculated from the image coordinates are (u1, v1) and (u2, v2) are the image coordinates of two star points on the image; (u0, v0) and f are the principal point and focal length of the camera respectively; The calculation formula of the star angle distance between two star points is: S3, for the cosine value cosθ 11 , using the linear mapping K corresponding to the k-vector lookup table, locate the search interval upper limit K[cosθ 12 -δ] and the lower limit K[cosθ 12 +δ], and obtain the located star number; the located star number and the set of candidate star numbers S = {S1…S n After taking the intersection, the triangle algorithm is used to complete the star table matching and complete the star map recognition; where δ is the set error value.

2. The method for star image recognition of a small field of view star sensor based on attitude information assistance according to claim 1, characterized in that: In step S1, the codes of the eight neighboring blocks corresponding to the block where the optical axis points are searched through the neighboring block index table; wherein, the construction process of the neighboring block index table includes: the first column of the neighboring block index table is the central block index number, and according to the right ascension and declination of the center of each block, the eight blocks adjacent to each central block are searched respectively, and the index numbers of the adjacent blocks are stored in columns 2 to 9 of the neighboring block index table; the navigation star located in the central block is screened out, and the starting address and the ending address of the navigation star in the navigation star table are stored in columns 10 to 11 of the neighboring block index table, thereby obtaining the neighboring block index table.

3. The method for star image recognition of a small field of view star sensor based on attitude information assistance according to claim 2, characterized in that: The calculation process of right ascension and declination of each block center includes: 1) Divide the celestial sphere into 12 basic grids of equal area, and then subdivide each grid into k layers, with a side length of N side , set the total number of diamond blocks N corresponding to different levels pix and block size θ pix ; Among them, for the field of view size θ FOV Star sensor, block size Choose to meet The maximum number of subdivision levels k under the condition; 2) Number all blocks from north to south and calculate the longitude and latitude corresponding to the center of each block. When the index number of the block is p, the longitude and latitude of the center of the block are θ c The calculation formula is as follows: For the Arctic region, 0≤p<2N side (N side -1), the corresponding right ascension Declination θ c The calculation formula is: In the equatorial regions of the northern and southern hemispheres, 2N side (N side -1)≤p<2N side (5N side +1), the corresponding right ascension Declination θ c The expression is: j=[p-2N side (N side -1)]mod[4N side ]+1; For the Antarctic region, The corresponding right ascension Declination θ c The expression is: j = p + 1 - 2i (i - 1); The function I[x] represents the largest integer less than x, and [x]mod[y] represents the remainder operation of x on y.

4. The method for star image recognition of a small field of view star sensor based on attitude information assistance according to claim 3, characterized in that: The total number of diamond blocks N corresponding to different levels pix and the block size θ is set as: When k = 0, N side = 1, N pix = 12, θ pix = 58.6°; When k = 1, N side = 2, N pix = 48, θ pix = 29.3°; When k = 2, N side = 4, N pix = 192, θ pix = 14.7°; When k = 3, N side = 8, N pix = 768, θ pix = 7.33°; When k = 4, N side = 16, N pix = 3072, θ pix = 3.66°; When k = 5, N side = 32, N pix = 12288, θ pix = 1.83°; When k = 6, N side = 1, N pix = 49152, θ pix = 55.0'.

5. The method for star image recognition of a small field of view star sensor based on attitude information assistance according to claim 3, characterized in that: The construction process of the navigation star catalog includes: Select stars with magnitudes less than the limit detection magnitude as navigation stars, and use the right ascension of the navigation star to determine the Declination θ s Calculate the block index code p corresponding to the navigation star s , get the block index codes of all navigation stars, store them in the basic star catalog, and then sort them in ascending order according to the block index codes. The stars with the same index codes are sorted in ascending order according to their right ascension, and the navigation star catalog is constructed; among them, the block index code p s The calculation process includes: when When p s =2N side (N side -1)+4(i s -1)N side +j s ;i s =N side +1+j p -j m ; when hour, i s =j p +j m +1; 6. The method for star image recognition of a small field of view star sensor based on attitude information assistance according to claim 1, characterized in that: The process of obtaining the linear mapping K corresponding to the k-vector lookup table includes: A) Calculate the cosine values ​​of the star angle distances for all pairs of stars in the navigation star catalog. For star a and star b, the right ascension and declination are and Starlight Vector a 、v b The angle between them, that is, the star angle distance is θ ab , the cosine value of the star angle distance v ab The calculation formula is as follows: ab = cosθ ab =v a ·v b ; a and b represent the serial numbers of the stars in the 2MASS star catalog, a≠b; B) The cosine values ​​of the star angle distances of all navigation star pairs constitute a set Y, in the field of view of the star sensor θ FoV and the minimum star angular resolution θ min Under the restriction of , the set Y is screened, that is, the value range of Y is cosθ min and cosθ FOV The star angle distance cosine values ​​are arranged from small to large, the first column stores the sequence number of the star angle distance cosine value arrangement, the second and third columns store the sequence numbers a and b of the star pairs respectively, and the fourth column stores the star angle distance cosine value, thereby obtaining a k-vector lookup table arranged by the angle distance cosine value; C) Establish the sequence number k and cosine value cosθ of the star angle distance ab The linear mapping K[cosθ ab ]=(cosθ ab -A0) / A1, where A0 and A1 are the fitting coefficients obtained by linear fitting the data in the first and fourth columns of the k-vector lookup table; for a given star angle distance θ cal , within the error range δ, the corresponding starting value K[cosθ cal -δ] and the final value K[cosθ cal +δ].

7. A computer device comprising a memory, a processor and a computer program stored in the memory; characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.

8. A computer program product comprising a computer program / instructions; characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program / instruction stored thereon; characterized in that: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.