A non-cooperative target pose measurement method based on monocular vision for cubic satellite

By establishing a feature point sequence and template library, combined with the EPNP pose solution algorithm, the problem of target star pose measurement in monocular visual navigation on the cubesat platform is solved, and efficient and low-power consumption pose information acquisition is achieved, which is suitable for CubeSat on-orbit mission.

CN115760984BActive Publication Date: 2024-09-10NANJING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211470026.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2024-09-10
Estimated Expiration
2042-11-23

AI Technical Summary

Technical Problem

The existing satellite visual navigation system lacks a monocular vision model and known non-cooperative target pose measurement method suitable for CubeSat platforms, making it difficult to obtain the relative pose information of the target spacecraft stably and efficiently during the on-orbit mission.

Method used

By collecting the target star image, establishing a feature point sequence and template library, using similarity matching and rotation angle calculation, combined with the EPNP pose solution algorithm, the pose information is optimized and corrected to achieve the pose measurement of the target star relative to the camera.

Benefits of technology

It achieves efficient pose measurement based on monocular vision, with small calculation amount and low power consumption. It is suitable for cube satellite platforms. The feature point extraction is highly robust and can obtain the relative pose information of the target star in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115760984B
    Figure CN115760984B
Patent Text Reader

Abstract

The present invention discloses a non-cooperative target pose measurement method based on monocular vision of a cubic satellite, and relates to the field of satellite technology. The pose measurement method comprises establishing a three-dimensional image of a target star and a feature point template library; collecting a real-time image of the target star, matching it with a template image in the template library to obtain a template image corresponding to the image to be measured; rotating the contour image of the image to be measured and matching it with the contour image of the template image to determine the rotation angle of the image to be measured relative to the template image; performing grayscale processing and threshold processing on the image to be measured to extract the edge contour of the target star, and obtaining the feature points of the target star according to the edge contour; screening the corresponding relationship of the feature point sequence in the template library according to the rotation angle, and combining the three-dimensional coordinates of the feature points and the image feature points to obtain the pose information of the target star relative to the camera through a pose solution algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of satellite technology, and in particular to a method for measuring the position and posture of a non-cooperative target based on monocular vision of a cubic satellite. Background Art

[0002] In recent years, based on the advantages of short development cycle, low manufacturing cost and low R&D cost of CubeSats, more and more scientific research institutes and commercial companies have shifted their attention to CubeSats. In addition to scientific research and teaching and verification of electronic products, CubeSats are also used in a series of on-orbit services, such as formation flying of CubeSats, maintenance and refueling of spacecraft, and cleaning of space debris. This series of on-orbit services cannot be separated from the vision-based navigation technology of CubeSats, so a method for measuring the pose of a non-cooperative target with a known model based on monocular vision is proposed.

[0003] The existing satellite vision navigation systems are divided into monocular vision systems, binocular vision systems and multi-eye vision systems. In the demanding aerospace field, monocular vision measurement is suitable for cubic satellite platforms due to its non-contact, low cost, high speed, small space required, and flexible use. The existing technology mostly uses binocular cameras to measure the pose of the target, and the binocular system is difficult to implement on the cubic satellite platform. After consulting various materials, there is currently no relevant patent in China for the pose measurement of non-cooperative targets with known models for monocular vision navigation of cubic satellites. Summary of the invention

[0004] The purpose of the present invention is to provide a non-cooperative target pose measurement method based on monocular vision for a CubeSat, which solves the problem of stably and efficiently acquiring the relative pose information of a target spacecraft during the CubeSat's on-orbit mission.

[0005] The technical solution to realize the present invention is: a non-cooperative target pose measurement method based on monocular vision of a cubic satellite, the steps are as follows:

[0006] Step 1: Collect target star images from different angles. The three-dimensional model of the target star is known. Input the three-dimensional coordinate values ​​of the target star feature points in the world coordinate system, establish a feature point sequence and establish a template library with one-to-one correspondence between the target star image and the feature points. Go to step 2.

[0007] Step 2: Use a camera to collect a real-time image of the target star as the image to be tested, match the image to be tested with the target star image in the template library, calculate the image similarity, and call the target star image with the highest similarity to the image to be tested the template image, and proceed to step 3.

[0008] Step 3: Perform edge detection on the image to be tested and the template image respectively, obtain the contour image of the image to be tested and the contour image of the template image accordingly, rotate the contour image of the image to be tested and match it with the contour image of the template image, calculate the rotation similarity, determine the rotation angle of the image to be tested relative to the template image based on the rotation similarity, and proceed to step 4.

[0009] Step 4: Obtain the appearance image of the target star separated from the background by grayscale processing, closing operation and threshold processing on the image to be tested, extract the complete edge contour in the appearance image of the target star, obtain the target star feature points according to the above edge contour, determine the correspondence between the target star feature points and the feature point sequence in the template library according to the rotation angle of the image to be tested relative to the template image, and then proceed to step 5.

[0010] Step 5: Using the correspondence between the target star feature points and the feature point sequence in the template library, the three-dimensional coordinates of the target star feature points and the target star feature points, the optimized EPNP pose solution algorithm is used to obtain the pose information of the target star relative to the camera and optimize and correct it.

[0011] Compared with the prior art, the present invention has the following significant advantages:

[0012] (1) The present invention solves the posture based on feature points, which has a small amount of calculation, higher calculation efficiency, and can obtain real-time posture information.

[0013] (2) The present invention is based on monocular vision, occupies little space on the satellite, has low power consumption requirements, and is more suitable for cubic satellite platforms.

[0014] (3) The extraction of feature points is based on the overall outline of the target star rather than a certain characteristic component. The extraction of feature points is less affected by lighting and has higher robustness. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a flow chart of the non-cooperative target pose measurement method based on monocular vision of a cubic satellite of the present invention.

[0016] Figure 2 This is the front view of the target star. DETAILED DESCRIPTION

[0017] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] Combination Figure 1 , a non-cooperative target pose measurement method based on monocular vision of a cubic satellite, the steps are as follows:

[0020] Step 1: Collect target star images from different angles. The three-dimensional model of the target star is known. Input the three-dimensional coordinate values ​​of the target star feature points in the world coordinate system, establish a feature point sequence and establish a template library with one-to-one correspondence between the target star image and the feature points. The details are as follows:

[0021] Collect the three-dimensional coordinates of the target star feature points and mark the serial numbers. Then collect the target star images from various angles at the same distance, process the target star images, extract the image feature points and mark the three-dimensional feature point serial numbers corresponding to the four image feature points in a clockwise order.

[0022] Specifically, the three-dimensional feature points of the target appearance are extracted and marked in order according to the three-dimensional model of the target star; the front view of the target star (after the sailboard is unfolded) is used as the xy plane (such as Figure 2 ), a coordinate system is established with the front center of the target star image as the origin, the three-dimensional coordinate value of each feature point is obtained, the serial number of the feature point and its three-dimensional coordinate value are matched one by one to obtain the template library.

[0023] Step 2: Use a camera to collect a real-time image of the target star as the image to be tested, match the image to be tested with the target star image in the template library, calculate the image similarity, and call the target star image with the highest similarity to the image to be tested the template image.

[0024] Specifically, the camera and the target star are fixed on a six-degree-of-freedom experimental platform, and the positions of the camera and the target star are adjusted to ensure that the principal point of the camera and the center of the front image of the target star are in a horizontal line. At the same time, the imaging plane of the camera is parallel to the front of the target star. The target star is rotated and offset in three axes, and a real-time image is collected as the image to be tested.

[0025] The image to be tested is matched with the target star images in the template library one by one for feature points, and the image similarity κ is calculated. The target star image with the largest similarity κ to the image to be tested is the template image corresponding to the image to be tested.

[0026]

[0027] Among them, P mis the number of feature points in the image to be tested that match the target star image, P c is the number of all feature points detected in the image to be tested.

[0028] Step 3: perform edge detection on the image to be tested and the template image respectively, obtain the contour image of the image to be tested and the contour image of the template image accordingly, rotate the contour image of the image to be tested and match it with the contour image of the template image, calculate the rotation similarity, and determine the rotation angle of the image to be tested relative to the template image based on the rotation similarity.

[0029] Specifically, the Canny operator is used to perform edge detection processing on the image to be tested and the template image respectively, and the contour image of the image to be tested and the contour image of the template image are obtained accordingly. The contour image of the image to be tested and the contour image of the template image are segmented by the pyramid segmentation method to obtain simplified versions of the contour image of the image to be tested and the contour image of the template image.

[0030] The simplified contour image of the template image is cropped into a circle with the target star in the center. The current position of the simplified contour image of the template image is taken as the starting point of 0°. The circular image is rotated from 0° as the starting point with the rotation angle increasing by 10° each time until it is rotated 360°. The contour image of the rotated template image and the contour image of the image to be tested are similarly matched by the normalized square difference method to determine the approximate range of the optimal rotation angle. Subsequently, the contour image of the template image to be tested is rotated within the ±5° area of ​​the optimal rotation angle with an accuracy of 1°. Subsequently, the similarity of the images is compared by the normalized square difference method. The rotation angle corresponding to the contour image of the template image with the lowest square difference value is the rotation angle.

[0031] Step 4: Obtain the appearance image of the target star separated from the background by grayscale processing, closing operation and threshold processing on the image to be tested, extract the complete edge contour in the appearance image of the target star, obtain the target star feature points according to the above edge contour, and determine the correspondence between the target star feature points and the feature point sequence in the template library according to the rotation angle of the image to be tested relative to the template image.

[0032] Specifically, the image to be tested is gray-scaled and subjected to a custom threshold processing. Since the space lighting environment is simulated by a light-absorbing black cloth, a binary image with a black background and a white target star is obtained. All contours of the white target star in the binary image are extracted, and the most complete envelope contour of the target star is obtained by area screening. When the rotation angle is approximately 0°, 90°, 180°, and 270°, the pixel coordinate values ​​(x, y) on the contour are traversed, and the maximum and minimum values ​​of x+y and xy of each pixel are calculated, that is, the four characteristic extreme value points on the periphery of the unfolded solar sail are obtained and read in clockwise order. At the same time, the fifth characteristic point (satellite antenna) is determined according to the rotation angle. The method for obtaining the characteristic pole of the cover (when the rotation angle is 0°, the characteristic point corresponding to the minimum value of the vertical coordinate y is the coordinate of the fifth characteristic point); when the rotation angle of the target star is other angles, traverse the pixel point coordinate values ​​(x, y) on the contour, calculate the maximum and minimum values ​​of the horizontal coordinate x and the vertical coordinate y of each pixel point, obtain four characteristic points and read them in clockwise order, and determine the fifth characteristic point according to the rotation angle. The method for obtaining the characteristic pole of the satellite antenna cover (when the rotation angle is (0°~90°), the characteristic point corresponding to the maximum value of xy is the coordinate of the fifth characteristic point) marks the corresponding serial numbers of the five characteristic points in the above order.

[0033] The specific process of threshold processing is as follows:

[0034] First, generate the grayscale histogram of the image to be tested and find each grayscale value I

[0035] (I = 0, 1, 2, ..., 255) corresponds to the number of pixels N I .

[0036] Then calculate the average gray value I of the image to be tested a :

[0037]

[0038] Calculate the average gray value I of the image to be tested a and the ideal gray value T of the image to be tested e The difference between e =I a -T e , subtract I from the grayscale values ​​of all pixels in the image to be tested e , and obtain the grayscale values ​​of all pixels of the processed image to be tested.

[0039] The grayscale values ​​of all pixels in the processed image to be tested are compared with the threshold value of the ideal image grayscale value [Thresh min , Thresh max ] for comparison, if the gray value of the j-th pixel is Ij The maximum value of the threshold value Thresh is greater than the ideal image gray value max ,but Similarly, if the gray value of the jth pixel is I j The minimum threshold value Thresh is less than the ideal image gray value min ,but

[0040] Step 5: Using the correspondence between the target star feature points and the feature point sequence in the template library, the three-dimensional coordinates of the target star feature points and the target star feature points, the optimized EPNP pose solution algorithm is used to obtain the pose information of the target star relative to the camera and optimize and correct it.

[0041] Specifically, according to the rotation angle of the image to be tested relative to the template image, the sequence of feature points in the template library and their three-dimensional coordinate values ​​are determined, the pixel coordinate values ​​of the feature points in the image to be tested are matched one by one with the three-dimensional coordinate values ​​of the feature points in the template library, and the relative rotation matrix R and the relative translation vector t are determined by the optimized EPNP pose solution algorithm.

[0042] The traditional EPNP algorithm is based on four feature points. The four feature points can obtain a unique relative pose solution, but the coordinates of the feature points obtained from the image may have errors, and the unique solution also has errors. In the actual process, the accuracy of the EPNP algorithm is not high. In order to obtain more accurate calculation results and obtain more accurate relative rotation matrix R and translation matrix t, the calculated relative rotation matrix R and relative translation matrix t are optimized based on the initial relative rotation matrix and translation matrix.

[0043] S5.1, define the state average μ of the five feature points A :

[0044]

[0045] A i is the three-dimensional position of the i-th feature point in the template library in the world coordinate system.

[0046] Calculate the average three-dimensional position μ of all feature points in the image to be tested B :

[0047]

[0048] B i is the three-dimensional position of the i-th feature point in the image to be tested.

[0049] S5.2, define the covariance matrix H:

[0050]

[0051] S5.3, perform singular value decomposition on H

[0052] H=UΣV T

[0053] Where U and V are unitary matrices, and Σ is a diagonal matrix.

[0054] S5.4, calculate the relative rotation matrix R and the relative translation matrix t:

[0055] R=VU T

[0056] t=-Rμ A +μ B

[0057] The above optimization method is not only effective for the case of 5 feature points, but also applicable to the case of more than 5 feature points.

[0058] S5.5, if the determinant of R is det(R) = 1, then R is the relative rotation matrix;

[0059] If det(R) = -1, then R is the reflection matrix, and the reflection matrix is ​​corrected:

[0060] R=V·diag(1,1,-1)·U T

[0061] Use the rotation matrix to find the relative translation matrix:

[0062] t=μ A -R·μB

[0063] In summary, the present invention provides a non-cooperative target pose measurement method based on monocular vision of a cubic satellite. First, a template library is established based on a target star to be measured, and a target star image is collected in real time by a camera as an image to be measured. A template image most similar to the image to be measured is selected from the template library, and a contour image of the image to be measured is rotated to match the contour image of the template image to determine a rotation angle of the contour image of the image to be measured relative to the contour image of the template image. The edge contour of the target star and feature points are extracted by grayscale and threshold processing, and a translation vector and a rotation matrix are obtained by a pose solving algorithm in combination with three-dimensional coordinate points in the template library. The translation vector and the rotation matrix are optimized and corrected to obtain the required pose information of the target star relative to the camera.

[0064] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A non-cooperative target pose measurement method based on monocular vision of a cubic satellite, characterized in that: Here are the steps: Step 1, collecting target star images from different angles, the three-dimensional model of the target star is known, inputting the three-dimensional coordinate values ​​of the target star feature points in the world coordinate system, establishing a feature point sequence and establishing a template library with one-to-one correspondence between the target star image and the feature points; proceeding to step 2; Step 2: Use a camera to collect a real-time image of the target star as the image to be tested, match the image to be tested with the target star image in the template library, calculate the image similarity, and call the target star image with the highest similarity to the image to be tested the template image, and proceed to step 3; Step 3, perform edge detection on the image to be tested and the template image respectively, obtain the contour image of the image to be tested and the contour image of the template image accordingly, rotate the contour image of the image to be tested, and match it with the contour image of the template image, calculate the rotation similarity, determine the rotation angle of the image to be tested relative to the template image according to the rotation similarity, and proceed to step 4; Step 4: Obtain the appearance image of the target star separated from the background by grayscale processing, closing operation and threshold processing on the image to be tested, extract the complete edge contour in the appearance image of the target star, obtain the target star feature points according to the edge contour, determine the corresponding relationship between the target star feature points and the feature point sequence in the template library according to the rotation angle of the image to be tested relative to the template image, and then proceed to step 5; Step 5: Using the correspondence between the target star feature points and the feature point sequence in the template library, the three-dimensional coordinates of the target star feature points and the target star feature points, the optimized EPNP pose solving algorithm is used to obtain the pose information of the target star relative to the camera and optimize and correct it, as follows: S5.1, define the state average μ of the five feature points A : A i is the three-dimensional position of the i-th feature point in the template library in the world coordinate system; Calculate the average three-dimensional position μ of all feature points in the image to be tested B : B i is the three-dimensional position of the i-th feature point in the image to be tested; S5.2, define the covariance matrix H: S5.3, perform singular value decomposition on H H=UΣV T Where U and V are unitary matrices, and Σ is a diagonal matrix; S5.4, calculate the relative rotation matrix R and the relative translation matrix t: R=VU T t=-Rμ A +μ B S5.5, if the determinant of R is det(R) = 1, then R is the relative rotation matrix; If det(R) = -1, then R is the reflection matrix, and the reflection matrix is ​​corrected: R=V·diag(1,1,-1)·U T Use the rotation matrix to find the relative translation matrix: t=μ A -R·μB 2. The method for non-cooperative target pose measurement based on monocular vision of a CubeSat according to claim 1, characterized in that: In step 1, target star images are collected from different angles. The three-dimensional model of the target star is known. The three-dimensional coordinate values ​​of the target star feature points in the world coordinate system are input, and a feature point sequence is established and a template library with one-to-one correspondence between the target star image and the feature points is established, as follows: Collect the three-dimensional coordinates of the target star feature points and mark the serial numbers. Then collect the target star images from various angles at the same distance, process the target star images, extract the image feature points and mark the three-dimensional feature point serial numbers corresponding to the four image feature points in clockwise order. Extract and sequentially mark three-dimensional feature points of the target appearance according to the three-dimensional model of the target star; The unfolded surface of the target star sailboard is taken as the front side, and a coordinate system is established with the front center of the target star image as the origin to obtain the three-dimensional coordinate value of each feature point. The serial number of the feature point is matched one by one with its three-dimensional coordinate value to obtain a template library.

3. The method for non-cooperative target pose measurement based on monocular vision of a CubeSat according to claim 2, characterized in that: In step 2, a camera is used to collect a real-time image of the target star as the image to be tested, and the image to be tested is matched with the target star image in the template library, and the image similarity is calculated. The target star image with the highest similarity to the image to be tested is called the template image, as follows: Fix the camera and the target star on the six-degree-of-freedom experimental platform, adjust the position of the camera and the target star to ensure that the principal point of the camera and the center of the front image of the target star are in a horizontal line, and the imaging plane of the camera is parallel to the front of the target star, perform three-axis rotation and offset on the target star, and collect real-time images as the image to be tested; Match the feature points of the image to be tested with the target star images in the template library one by one, calculate the image similarity κ, and the target star image with the largest similarity κ to the image to be tested is the template image corresponding to the image to be tested: Among them, P m is the number of feature points in the image to be tested that match the target star image, P c is the number of all feature points detected in the image to be tested.

4. The method for measuring non-cooperative target pose based on monocular vision of a CubeSat according to claim 3, characterized in that: In step 3, edge detection is performed on the image to be tested and the template image respectively, and the contour image of the image to be tested and the contour image of the template image are obtained accordingly. The contour image of the image to be tested is rotated and matched with the contour image of the template image at the same time, and the rotation similarity is calculated. The rotation angle of the image to be tested relative to the template image is determined according to the rotation similarity, as follows: The edge detection process is performed on the image to be tested and the template image respectively by using the Canny operator, and the contour image of the image to be tested and the contour image of the template image are obtained accordingly. The contour image of the image to be tested and the contour image of the template image are segmented by using the pyramid segmentation method to obtain the simplified version of the contour image of the image to be tested and the contour image of the template image; The simplified contour image of the template image is cropped into a circle with the target star in the center. The current position of the simplified contour image of the template image is taken as the starting point of 0°, and the circular image is rotated from 0° with the rotation angle increasing by 10° each time until it is rotated 360°. The contour image of the rotated template image and the contour image of the image to be tested are similarly matched by the normalized square difference method to determine the range of the optimal rotation angle. Subsequently, the contour image of the template image to be tested is rotated within the ±5° area of ​​the optimal rotation angle with an accuracy of 1°. Subsequently, the similarity of the images is compared by the normalized square difference method. The rotation angle corresponding to the contour image of the template image with the lowest square difference value is the rotation angle.

5. The method for non-cooperative target pose measurement based on monocular vision of a CubeSat according to claim 4, characterized in that: In step 4, the appearance image of the target star separated from the background is obtained by grayscale processing, closing operation and threshold processing on the image to be tested, and the complete edge contour in the appearance image of the target star is extracted. The target star feature points are obtained according to the edge contour, and the corresponding relationship between the target star feature points and the feature point sequence in the template library is determined according to the rotation angle of the image to be tested relative to the template image, as follows: First, generate the grayscale histogram of the image to be tested, and find the number of pixels N corresponding to each grayscale value I I , I=0,1,2,...,255; Then calculate the average gray value I of the image to be tested a : Calculate the average gray value I of the image to be tested a and the ideal gray value T of the image to be tested e The difference between e =I a -T e , subtract I from the grayscale values ​​of all pixels in the image to be tested e , get the grayscale value of all pixels of the processed image to be tested; compare the grayscale value of all pixels of the processed image to be tested with the threshold value of the ideal image grayscale value [Thresh min , Thresh max ] for comparison, if the gray value of the j-th pixel is I j The maximum value of the threshold value Thresh is greater than the ideal image gray value max ,but Similarly, if the gray value of the j-th pixel is I j The minimum threshold value Thresh is less than the ideal image gray value min ,but