A coded imaging star sensor, a method and a system for improving dynamic measurement accuracy

Through coding imaging technology and information processing, we establish a coding starlight positioning error model and calculate the optimal coding to improve the dynamic measurement accuracy of the star sensor. This solves the problem of low starlight image positioning accuracy under high dynamic conditions and achieves higher attitude measurement. Accuracy.

CN117553778BActive Publication Date: 2024-08-30BEIHANG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311638343.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-03
Publication Date
2024-08-30
Estimated Expiration
2043-12-03

AI Technical Summary

Technical Problem

Under high dynamic conditions, the starlight image positioning accuracy of the star sensor decreases, and it is difficult to effectively use the coded exposure technology to improve positioning accuracy with existing technology.

Method used

A coded imaging star sensor system is proposed. The code generator generates the optimal code, the code sampler collects the coded star map, the information processor processes the star map and calculates the attitude measurement value, establishes the coded starlight positioning error model, and calculates the optimal code. to minimize positioning errors.

Benefits of technology

By introducing time information and using time domain constraints to improve star point positioning accuracy, the attitude measurement accuracy of the star sensor under dynamic conditions is significantly improved, and the dynamic measurement accuracy can be improved under any detection and positioning algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117553778B
    Figure CN117553778B
Patent Text Reader

Abstract

A coded imaging star sensor, a method and system for improving dynamic measurement accuracy, wherein the coded imaging star sensor comprises a code generator, a code sampler and an information processor. The present invention breaks the imaging system of a traditional star sensor that exposes a single image at a time and outputs a single image, and combines the coded exposure function to realize multiple changes in the shutter opening and closing state according to the code within the total exposure time of a single frame image, thereby introducing time information into the star map, thereby improving the dynamic measurement accuracy by using time domain constraints in star point positioning. The present invention improves the dynamic measurement accuracy by changing the sampling process of the star sensor for starlight information, and thus, under any identical detection and positioning method conditions, the present invention can produce better results in improving the dynamic measurement accuracy of the star sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of star sensors, and in particular to a coded imaging star sensor, a method and a system for improving dynamic measurement accuracy. Background Art

[0002] Star sensors achieve attitude measurement by observing stars. Specifically, the attitude measurement process of star sensors can be divided into five steps: sampling, detection, positioning, identification and solution. Sampling: The detector exposes stars to obtain star maps; detection: obtains star connected domain information from the star map; positioning: calculates the center coordinates of the image coordinate system based on the star point connected domain image; identification: identifies the star sign based on the star point image coordinates; solution: solves the attitude in combination with the star reference vector in the star catalog. The attitude measurement accuracy of the star sensor depends on the accuracy of the star observation vector, which in turn depends on the image positioning accuracy of the starlight. (Zhang Guangjun. Star Map Identification [M]. Beijing: National Defense Industry Press, 2011)

[0003] In static application scenarios, starlight imaging has a good effect, so the image positioning accuracy is high, making star sensors the most accurate autonomous attitude measurement instruments in the aerospace field. However, as spacecraft continue to develop towards higher dynamics in recent years, under high dynamic conditions, stars are imaged in star sensors to form trailing stars, and the positioning accuracy of starlight images under dynamic conditions has been greatly reduced.

[0004] In order to solve this problem, existing researchers have conducted extensive research on the two steps of detection and positioning. In terms of detection, the traditional threshold method and the adaptive threshold method directly use a given threshold to compare the image grayscale to determine the star connected domain. Image restoration methods, image enhancement methods, and neural network methods have been developed in terms of lower detection signal-to-noise ratio limits, higher detection rates, and higher connected domain detection accuracy, and have achieved certain results under dynamic conditions. (Wu Zhouping. Research on signal-to-noise ratio enhancement and star point extraction of star sensor star images throughout the day [D]. Changsha: National University of Defense Technology, 2018; Wan Xiaowei. Research on star point extraction and centroid positioning methods of star sensors based on space-time information fusion [D]. Beijing: Beijing University of Aeronautics and Astronautics, 2021.) In terms of positioning, the centroid method uses the grayscale of each pixel in the connected domain as the weight to perform weighted averaging on the image coordinates to obtain the image center of the star point. The fitting method establishes a starlight point spread function and performs surface fitting in the star map to obtain the image center coordinates of the star point. (Jia Hui. Research on star point extraction and star map recognition of high-precision star sensors [D]. Changsha: National University of Defense Technology, 2010; Ma Xiaolei. Research on high-precision segmentation positioning algorithm of star points [D]. North China University of Technology, 2017) Compared with this, the centroid method still has irreplaceable advantages in terms of real-time performance and robustness. Therefore, the current starlight positioning method of high-dynamic star sensors is still dominated by the centroid method.

[0005] In fact, the sampling steps of the star sensor are also a key factor affecting the positioning accuracy of the starlight image. The star map sampling under the existing imaging system is conventional exposure sampling. The image detector senses the stars in a continuous period of time to obtain a dynamic trailing star map. For high-dynamic star sensors with this conventional exposure sampling method, the literature analyzes the impact of exposure time on positioning accuracy under different conditions and gives the optimal exposure time. (Yan Jinyun. Research on high-dynamic and high-update rate star sensor technology [D]. Beijing: Beijing University of Aeronautics and Astronautics, 2017.) With the development of image detector technology, a coded exposure technology has been implemented on some devices. Coded exposure expands the traditional single exposure into multiple exposures according to specific codes and then outputs the image, which can make the image retain certain time information. It has become an effective means to solve the dynamic blur problem of daily scene images. (Li Xiang. Research on time-coded exposure imaging and image restoration [D]. Dalian University of Technology, 2022) Using coded exposure technology to shoot star maps in high-dynamic star sensors can turn long trailing star bars into several intermittent short star bars.

[0006] The document (Jiang Jie, Yu Wenbo, Zhang Guangjun. A multiple exposure imaging method for image intensified star sensor [P]. Chinese patent: CN106197402B, 2016.12.07) uses the shutter of the image intensifier to achieve a similar effect. Multiple star points are photographed at equal intervals in a star map, and the star map is split according to the exposure time period, and the attitude is calculated separately, thereby improving the update rate of the star sensor to a certain extent. However, the document does not use coded exposure technology to solve the positioning accuracy problem.

[0007] In fact, the star map sampling of coded exposure requires controlling the opening and closing of the shutter multiple times in the same frame. The sampling process essentially introduces time information into the star map. Therefore, if this information can be reasonably used to add time domain constraints to star point positioning, it is expected to further improve the positioning accuracy. From another perspective, the star map sampling of coded exposure is equivalent to multiple conventional sampling. In this sense, the fusion measurement accuracy after multiple sampling should be better than that of a single measurement. However, there is still a lack of theoretical analysis on the impact of coded exposure on positioning accuracy. Summary of the invention

[0008] The present invention provides a coded imaging star sensor, a method and a system for improving dynamic measurement accuracy. First, the present invention proposes a method for implementing coded imaging of a star sensor. On this basis, the present invention studies the energy distribution model of coded star stripes, and then establishes a coded centroid positioning error model, and analyzes the error sources and key parameters. According to the above model, the present invention proposes a calculation method for optimal coding, thereby minimizing the dynamic starlight positioning error and solving the problem of dynamic measurement accuracy of the star sensor.

[0009] A first aspect of the present invention provides a coded imaging star sensor, comprising:

[0010] A code generator, used to generate optimal codes;

[0011] The code generator includes: a communication unit, which is used to read the posture measurement value and other necessary information of the previous frame and output the generated code; a processing unit, which calculates the optimal code according to the posture measurement value and other limiting conditions; a storage unit, which is used to store the program, data and variables required to be stored in the execution of the program of the method;

[0012] Coded sampler, used to collect coded star maps;

[0013] The coded sampler includes: an optical lens for focusing starlight within a certain field of view so that it is imaged on the surface of a coded image detector; a coded image detector having a coded exposure function for sensing starlight energy and performing multiple intermittent exposures according to a given code; a coded imaging driver for generating an image detector imaging timing according to an optimal code generated by a code generator and collecting an image output by the image detector;

[0014] An information processor is used to process a star map and calculate attitude measurement values; the information processor includes: a processing unit for executing a program of the method; a storage unit for storing a program for executing the method, data and variables required to be stored during the execution of the program; and a communication unit for acquiring an image of a coding sampler and outputting attitude measurement values ​​and other information.

[0015] A second aspect of the present invention provides a method for improving the dynamic measurement accuracy of a coded imaging star sensor, comprising the following steps:

[0016] Step S100, establishing a coded starlight positioning error model for estimating positioning errors of different codes, wherein the coded starlight positioning error model includes a coded starlight energy distribution model and a positioning error model;

[0017] Step S200, optimal coding calculation, is used to calculate the optimal coding under given conditions.

[0018] Furthermore, the step S100 includes:

[0019] Step S110, establishing a coded starlight energy distribution model, and calculating the energy distribution of the coded starlight on the image detector according to the star sensor parameters;

[0020] Step S120, establishing a positioning error model, and calculating a theoretical value of the positioning error according to given coding and starlight parameters.

[0021] Furthermore, the step S200 includes:

[0022] Accurate optimal coding calculation, calculate the optimal coding according to given conditions and minimize positioning error;

[0023] Conservative optimal coding calculation calculates the optimal coding according to given conditions, minimizing the positioning error while maximizing the star point signal-to-noise ratio.

[0024] Further, in step S120,

[0025] When the exposure coding is set so that the interval distance of the coded star image is not less than a certain threshold, the connected domains corresponding to the starlight coding segments are completely separated. Under this condition, the coding centroid positioning method based on the grayscale centroid method is divided into three steps:

[0026] In the first step, the image is thresholded according to a given threshold and the connected domain of each starlight coding segment is extracted. The connected domain of the i-th starlight coding segment is denoted as C i ;

[0027] In the second step, the grayscale centroid method is used to independently calculate the image center coordinates of each starlight coding segment based on the connected domain extraction results. The center coordinate measurement value of the i-th starlight coding segment is The calculation formula is:

[0028]

[0029] In the formula, C i is the star point connected domain of the i-th starlight coding segment, I′(x,y) is the image grayscale, V th is the grayscale threshold;

[0030] For any pixel, its gray level can be regarded as the energy F(x,y) of the starlight on the pixel, the image bias B and the zero-mean Gaussian noise N(x,y)~N(0,σ 2 ),Right now:

[0031] I′(x,y)=F(x,y)+B+N(x,y)

[0032] For a dynamic trailing star point, its energy distribution function F(x,y) can be calculated as:

[0033] F(x,y)=κTσ·f LSSF (x,y)

[0034] Where σ is the image noise, κ is the grayscale power-to-noise ratio (PNR) defined in the present invention, i.e., the unit is

[0035] The ratio of the total gray level of stars in the image to the noise over time:

[0036]

[0037] Where F total is the total grayscale of the starlight image, T is the exposure time;

[0038] The third step is to calculate the total center coordinates of the coded star stripes according to the image center coordinates of each starlight coding segment. The calculation formula is:

[0039]

[0040] Where ω i is the weight coefficient, satisfying:

[0041]

[0042] Further, in step S200,

[0043] According to the condition of obtaining the number of coding segments k and the center tail length l h (k) The positioning error under the condition of obtaining the accurate optimal coding calculation method, calculate the optimal coding according to the given conditions, and minimize the positioning error:

[0044]

[0045] Calculate the conservative optimal coding according to the given conditions, and minimize the positioning error while maximizing the star point signal-to-noise ratio:

[0046]

[0047] Wherein B(·) represents the largest integer not greater than this value.

[0048] A third aspect of the present invention provides a system for improving the dynamic measurement accuracy of a coded imaging star sensor, comprising:

[0049] A coding starlight positioning error model building module is used to estimate the positioning errors of different codes. The coding starlight positioning error model includes a coding starlight energy distribution model and a positioning error model.

[0050] The optimal coding calculation module is used to calculate the optimal coding under given conditions.

[0051] Furthermore, in the coded starlight energy distribution model, the energy distribution of the coded starlight on the image detector is calculated according to the star sensor parameters;

[0052] In the positioning error model, the theoretical value of the positioning error is calculated based on the given coding and starlight parameters.

[0053] Furthermore, the optimal coding calculation module includes:

[0054] The precise optimal coding calculation module calculates the optimal coding according to given conditions and minimizes the positioning error;

[0055] The conservative optimal coding calculation module calculates the optimal coding according to given conditions and minimizes the positioning error while maximizing the star point signal-to-noise ratio.

[0056] The technical solution of the present invention can achieve the following beneficial technical effects:

[0057] The present invention substantially introduces time information into the star map during the sampling process, thereby utilizing this information to add time domain constraints to star point positioning, thereby improving positioning accuracy.

[0058] Since the principle of improving positioning accuracy of the present invention is independent of the star point detection and positioning algorithm, the present invention can improve the dynamic measurement accuracy of the star sensor by changing the imaging mode under any given star point detection and positioning algorithm, thereby greatly improving the problem of low attitude accuracy of the star sensor under dynamic conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0060] Figure 1 is a block diagram of a coded imaging star sensor system according to an embodiment of the present invention;

[0061] Figure 2 A definition diagram of an image coordinate system and a star-bar coordinate system in a method for improving dynamic measurement accuracy according to an embodiment of the present invention;

[0062] Figure 3 A schematic diagram of exposure coding in a method for improving dynamic measurement accuracy according to an embodiment of the present invention;

[0063] Figure 4 A schematic diagram of the mapping relationship from time coding to space coding in a method for improving dynamic measurement accuracy according to an embodiment of the present invention;

[0064] Figure 5 A diagram showing simulation experiment results in a method for improving dynamic measurement accuracy according to an embodiment of the present invention;

[0065] Figure 6 This is a diagram of actual experimental results in a method for improving dynamic measurement accuracy according to an embodiment of the present invention. DETAILED DESCRIPTION

[0066] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0067] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0068] According to an embodiment of the present invention, an embodiment of a coded imaging star sensor and a method and system for improving the dynamic measurement accuracy thereof is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here. Specific embodiments

[0070] A first aspect of the present invention provides a coded imaging star sensor, comprising:

[0071] A code generator, used to generate optimal codes;

[0072] Coded sampler, used to collect coded star maps;

[0073] Information processor that processes the star map and calculates attitude measurements.

[0074] The code generator comprises:

[0075] A communication unit is used to read the posture measurement value and other necessary information of the previous frame and output the generated code; a processing unit is used to execute the program of the method according to the posture measurement value and other limiting conditions to calculate the optimal code; a storage unit is used to store the program of the method, data and variables required to be stored during the execution of the program;

[0076] The encoding sampler comprises:

[0077] The optical lens is used to focus the starlight within a certain field of view so that it is imaged on the surface of the coded image detector; the coded image detector has a coded exposure function, which is used to be sensitive to the energy of starlight and perform multiple intermittent exposures according to a given code; the coded imaging driver is used to generate the image detector imaging timing according to the optimal code generated by the code generator and collect the image output by the image detector.

[0078] The information processor includes: a processing unit for executing the program of the method; a storage unit for storing the program, data and variables required to be stored during the execution of the program for executing the method; and a communication unit for acquiring an image of the encoding sampler and outputting posture measurement values ​​and other information.

[0079] Specifically, in an embodiment of the present invention, the method for improving the dynamic measurement accuracy of a coded imaging star sensor of the present invention comprises the following steps:

[0080] Step S100, establishing a coded starlight positioning error model for estimating positioning errors of different codes, wherein the coded starlight positioning error model includes a coded starlight energy distribution model and a positioning error model.

[0081] Specifically, they include:

[0082] Step S110, establishing a coded starlight energy distribution model.

[0083] First, the present invention establishes an image coordinate system O-xy in pixels, where the origin O of the coordinate system coincides with the upper left corner of the image, and the x and y axes are in the same direction as the horizontal and vertical coordinates of the image, respectively. S y S , the origin C of the coordinate system is the center position of the star point at the middle exposure time, x S The axis is consistent with the star point dynamic trailing direction, y S Axis and x S The axes are orthogonal and the positive direction remains the same as the image coordinate system O-xy. The above coordinate system is defined as Figure 2 The star point dynamic trailing direction angle is θ, and the total length of the star point center moving during the exposure time is defined as the center trailing length, denoted as L c , considering the starlight diffusion, the total length of the pixel area corresponding to the majority of the energy distribution of the star bar is defined as the star bar length, denoted as L, and the star bar width is denoted as W.

[0084] According to the above relationship, the image coordinate system coordinates (x, y) and the star coordinate system coordinates (x S ,y S ) satisfies the relationship:

[0085]

[0086] Where (x c ,y c ) is the image coordinate system coordinate of point C, and R(θ) is the rotation matrix:

[0087]

[0088] The image sensor senses light when the shutter is open. For the traditional exposure method, the image sensor outputs a frame of image each time the shutter is opened and closed. The image only contains the object space information from the time the shutter is opened to the time it is closed. For the coded exposure method, the image sensor outputs a frame of image after opening and closing the shutter several times. The image contains the sum of the object space information of several periods of shutter opening.

[0089] The present invention divides the total exposure of the entire frame into k segments, and the starting time of the i-th exposure coding segment is recorded as a i The end time is recorded as b i , and define all shutter opening and closing states corresponding to a frame of image as encoding function:

[0090]

[0091] On this basis, the present invention records the exposure center time of each segment as t i , the exposure time is τ i , the exposure interval is τ′ i , the exposure center time of the whole frame is t c , the total exposure time is T, and the effective exposure time is T e ,Right now:

[0092]

[0093] Exposure code Figure 3 shown.

[0094] When the star sensor moves at a uniform angular velocity and is exposed according to a certain code, a dotted line segment can be obtained by collecting images of dynamic star points. In the star-stripe coordinate system, the movement of the star point in the image can be approximated as uniform linear motion along the x-axis. Since the exposure is encoded into k segments, the star-stripe image is also divided into k segments along the x-axis, such as Figure 4 shown.

[0095] The present invention denotes the starting x-axis coordinate of the i-th coding star segment as a′ i , the ending x-axis coordinate is b′ i , then the following relationship is satisfied:

[0096]

[0097] Where ω p=L c / T is the image speed of the dynamic star point, in px / s.

[0098] The length of the center tail of the i-th segment is l i , the center interval length is l′ i , the length of the i-th star is L i , let the total effective length of the star be L e , let the x coordinate of the center of the i-th segment be Right now:

[0099]

[0100] Each coded segment in the coded star strip can be regarded as a segment of dynamic trailing star point, and the energy distribution satisfies the line segment diffusion function f LSSF (·,·),Right now:

[0101]

[0102] Where ρ is the lens diffusion coefficient, S(·) is the error function, that is:

[0103]

[0104] The total energy distribution of the coded star stripe can be regarded as the superposition of the energy distribution of each segment of the dynamic tail, and the superposition energy coefficient is proportional to the exposure time. The present invention defines the energy distribution of the coded star stripe as the coded line segment diffusion function, that is:

[0105]

[0106] Step S120, establishing a positioning error model.

[0107] When the exposure coding is set so that the interval distance of the coded star image is not less than a certain threshold, the connected domains corresponding to the starlight coding segments can be completely separated. Under this condition, a simple coding centroid positioning method based on the grayscale centroid method can be divided into three steps.

[0108] In the first step, the image is thresholded according to a given threshold and the connected domain of each starlight coding segment is extracted. The connected domain of the i-th starlight coding segment is denoted as C i .

[0109] In the second step, the grayscale centroid method is used to independently calculate the image center coordinates of each starlight coding segment based on the connected domain extraction results. The center coordinate measurement value of the i-th starlight coding segment is The calculation formula is:

[0110]

[0111] In the formula, C iis the star point connected domain of the i-th starlight coding segment, I′(x,y) is the image grayscale, V th is the grayscale threshold.

[0112] For any pixel, its gray level can be regarded as the energy F(x,y) of the starlight on the pixel, the image bias B and the zero-mean Gaussian noise N(x,y)~N(0,σ 2 ),Right now:

[0113] I′(x,y)=F(x,y)+B+N(x,y) (11)

[0114] For a dynamic trailing star point, its energy distribution function F(x,y) can be calculated as:

[0115] F(x,y)=κTσ·f LSSF (x,y) (12)

[0116] Where σ is the image noise, and κ is the grayscale power-to-noise ratio (PNR) defined in the present invention, that is, the ratio of the total grayscale level of the star in the image to the noise per unit time:

[0117]

[0118] Where F total is the total grayscale of the starlight image, and T is the exposure time.

[0119] Compared with the signal-to-noise ratio, the grayscale power-to-noise ratio (PNR) defined in the present invention describes the relationship between star brightness and image noise, which is only related to the star magnitude and has nothing to do with the exposure time and the angular velocity of the star sensor. Therefore, it is more suitable for dynamic measurement models.

[0120] The third step is to calculate the total center coordinates of the coded star stripes according to the image center coordinates of each starlight coding segment. The calculation formula is:

[0121]

[0122] Where ω i is the weight coefficient, satisfying:

[0123]

[0124] The error of a single coding segment is analyzed below.

[0125] Consider a special case: the star point trails along the x-axis, and the star point center is exactly at the center of a certain pixel. Let the pixel coordinate of the star point center be x i , except for the central pixel, the star point is extended by m pixels in both directions along the x-axis and n pixels in both directions along the y-axis. The center tail length, star length and star width are calculated as

[0126]

[0127] If the grayscale threshold is V th =B, then the coordinates of the star point center are:

[0128]

[0129] According to the line segment diffusion function f LSSF (·,·) shows that F(x,y) is an even function about x, so we have:

[0130]

[0131] The connected domain range W×L corresponds to most of the energy of the star, so the following approximate calculation can be made:

[0132]

[0133] Where ω p =L c / T is the image speed of the dynamic star point, in px / s.

[0134] The sum of pixel noise in a connected domain is a random variable, but the expectation of the sum of pixel noise in a connected domain is 0, that is:

[0135]

[0136] Therefore, this item is ignored in the following calculations.

[0137] Since the image noise of different pixels is independent and identically distributed, we have:

[0138]

[0139] Combining the above formula, we can calculate The error is:

[0140]

[0141] According to the above process, we can calculate Error. Since the star point is trailing along the x direction, L>>W, The error is much smaller than The present invention approximately considers The error is the positioning error of the grayscale centroid method, that is:

[0142]

[0143] For coded stars, star point positioning The error can be calculated as:

[0144]

[0145] The present invention uses a unified weight for positioning calculation, namely:

[0146]

[0147] Then the positioning error of the coded centroid method is:

[0148]

[0149] Where k is the number of coding segments, l i is the center tail length of the i-th segment code. And the length factor function H(l) is defined as:

[0150]

[0151] The minimum point of the function is denoted as l m ≈3.77px.

[0152] Step S200, an optimal coding calculation method is used to calculate the optimal coding under given conditions.

[0153] The present invention first analyzes the consistency of the length of the star code segment.

[0154] Consider the following optimization problem:

[0155]

[0156] The number of coding segments k and the total effective length of the star strip L e Considered as a constant.

[0157] because:

[0158]

[0159] Therefore, the function H(l) is a concave function, so the above optimization problem has an optimal solution:

[0160]

[0161] Therefore, when the number of coding segments is the same as the effective length, the positioning error of equal-interval coding is the smallest compared to any unequal-interval coding. When equal-interval coding is used, the positioning error can be calculated as:

[0162]

[0163] Therefore, the optimal encoding problem can be written as follows:

[0164]

[0165] Given the angular velocity of the star sensor and the longest exposure time, the longest total trailing distance of the star point can be calculated as:

[0166] L c =ω p T (33)

[0167] In order to ensure that the connected domains corresponding to each coding segment are not connected, the present invention defines the shortest center interval length as l′ m .

[0168] For any given number of coding segments k, the upper limit of the average star center tail length is It can be calculated as:

[0169]

[0170] when When the center tail length of each star is set to l m The positioning error can be minimized.

[0171] when When , according to the property of H(l), the center tail length of each segment of the star is set to The positioning error can be minimized.

[0172] Let the optimal tail length under k be l h (k), namely:

[0173]

[0174] Then, we can obtain the number of coding segments k and the center tail length l h (k) The positioning error under the condition of optimal coding is obtained, thereby obtaining an accurate optimal coding calculation method, calculating the optimal coding according to the given conditions and minimizing the positioning error:

[0175]

[0176] The above optimal coding is the calculation result based on the accurate detection of the connected domain. Considering that the short length of the star bar will lead to insufficient starlight brightness in practical applications, thus affecting the detection of the connected domain, the present invention gives a conservative optimal coding, calculates the optimal coding according to given conditions, and minimizes the positioning error under the premise of maximizing the signal-to-noise ratio of the star point:

[0177]

[0178] Wherein B(·) represents the largest integer not greater than this value.

[0179] The present invention also provides a system for improving the dynamic measurement accuracy of a coded imaging star sensor, comprising:

[0180] A coding starlight positioning error model building module is used to estimate the positioning errors of different codes. The coding starlight positioning error model includes a coding starlight energy distribution model and a positioning error model.

[0181] The optimal coding calculation module is used to calculate the optimal coding under given conditions.

[0182] In the coded starlight energy distribution model, the energy distribution of the coded starlight on the image detector is calculated according to the star sensor parameters;

[0183] In the positioning error model, the theoretical value of the positioning error is calculated based on the given coding and starlight parameters.

[0184] The optimal coding calculation module includes:

[0185] The precise optimal coding calculation module calculates the optimal coding according to given conditions and minimizes the positioning error;

[0186] The conservative optimal coding calculation module calculates the optimal coding according to given conditions and minimizes the positioning error while maximizing the star point signal-to-noise ratio.

[0187] The effect of the coded exposure proposed in the present invention on improving positioning accuracy will be experimentally verified below.

[0188] First, generate the true values ​​of 1000 starlight data points, including the direction of motion and the center coordinates. Among them, the direction of motion θ is uniformly distributed on [0,2π), and the center x and y coordinates are uniformly distributed on [32px,33px). The angular velocity of the star sensor is fixed to ω = 5° / s. The image resolution is 2048px×2048px, and the field of view is 20°×20°, that is, the pixel angular resolution is 102.4px / °. The experiment sets the diffusion coefficient ρ = 0.75, the maximum exposure time 80ms, the grayscale power signal-to-noise ratio (PNR) of the star point is κ = 3750, and the coding interval is set to l′ m =4px. The star sensor angular velocity is in the range of [0.1° / s, 6° / s) and takes 14 points. The exposure strategies are divided into four types according to the coding:

[0189] a) Conventional exposure: The number of encoding segments is 1, and the tail length is set to the optimal length according to the angular velocity of the movement, which is determined by formula (34).

[0190] b) Conservative optimal coding: The coding parameters are determined by formula (37).

[0191] c) Optimal coding: The coding parameters are determined by formula (36).

[0192] According to the above parameters, the true value of the starlight data point, the angular velocity of motion, and the exposure strategy are traversed in three dimensions to generate a simulated star map, and image noise that obeys the Gaussian distribution is added, and the noise mean is set to be fixed to 30px and the noise standard deviation is fixed to σ=2.35px. Since this embodiment is used to verify the single star positioning error and the longest tail is about 40px, the resolution of the simulated star map only needs to be set to 64px×64px.

[0193] In order to prevent the experimental results from being affected by inaccurate connected domain extraction, this embodiment first calculates the pixel area corresponding to 95% of the total energy of the generated simulated star map and uses it as the accurate connected domain of the star point. Then, the center coordinates of the star point are solved based on the accurate connected domain, where the threshold parameter V is set th =30px. Among them, the center coordinates of the conventional exposure star map are calculated by the grayscale centroid method, and the center coordinates of the conservative optimal coding and optimal coding star maps are calculated by the coding centroid method. The experimental results are as follows Figure 5 As shown in the figure. It can be seen from the figure that when the star sensor is under low dynamic conditions, the maximum star point tail length is short, so the number of coding segments can only be 1, and the optimal coding is the same as the traditional tail-free coding, so the positioning error is consistent. As the dynamic angular velocity of the star sensor increases, the number of optimal coding segments can be increased accordingly, and the coding exposure mode is truly entered. The positioning error of the coding centroid method is also reduced compared with the grayscale centroid method. It can be seen from the figure that the conservative optimal coding defined by the present invention is almost the same as the positioning error of the optimal coding, and at 5° / s, the positioning error can be reduced by 60% based on the traditional grayscale centroid method.

[0194] In order to verify the correctness of the model, this embodiment conducts a real experiment in a laboratory environment. The experiment is mainly completed by the cooperation of a star sensor, a high-precision three-axis turntable and a single star simulator. After the star sensor is installed on the turntable working surface, the present invention first performs static calibration on the star sensor to obtain external parameters between the star sensor, the single star simulator and the high-precision turntable, so that the accurate pointing of the star vector can be calculated according to the attitude reading of the three-axis turntable. The high-precision three-axis turntable used in the experiment has a measurement accuracy of 0.1″ (3σ) per axis, so the star vector pointing obtained according to the turntable degree is used as the true value of this embodiment. The star sensor used in this embodiment has a coded exposure function.

[0195] The experimental setting of the turntable angular velocity is 4° / s, and then the exposure parameters of each data point are set as shown in Table 1. Table 1 is a real experimental exposure parameter setting in a dynamic measurement accuracy improvement method according to an embodiment of the present invention.

[0196] Table 1

[0197]

[0198] The encoding interval length is set to 4px, the single-segment encoding length is calculated according to the optimal tail length formula (35), and the exposure time is calculated according to the angular velocity condition. For each exposure parameter, the turntable is operated to move back and forth around the outer frame and the middle frame for 5 times, and the star map is collected at an update rate of 5Hz. At the same time, a trigger signal is output at the exposure center to collect the turntable attitude reading.

[0199] The positioning error under each exposure parameter is counted and the following is obtained: Figure 6 As shown in the figure, as the number of coding segments increases, the root mean square error of starlight positioning gradually decreases, and the trend of change is similar to the results shown in the simulation experiment, which is consistent with the theoretical derivation results. Considering that there is a certain error between the turntable attitude degree moment of the real experiment and the central exposure time of the star sensor, the positioning accuracy improvement effect of the experimental results is not as good as that of the simulation experiment, but under the condition of 5° / s, compared with conventional exposure, sampling coding exposure can still reduce the positioning error by more than 35%.

[0200] Through the above embodiments, time information is introduced into the star map, so that this information is used to add time domain constraints to star point positioning. Under any given star point detection and positioning algorithm, the dynamic measurement accuracy of the star sensor is improved by changing the imaging mode, which greatly improves the problem of low attitude accuracy of the star sensor under dynamic conditions.

[0201] In summary, the present invention provides a coded imaging star sensor, a method and system for improving dynamic measurement accuracy, breaking the imaging system of single exposure and single output image of traditional star sensors, combining the coded exposure function to realize multiple changes of the shutter opening and closing state according to the code within the total exposure time of a single frame image, introducing time information into the star map, and thus improving the dynamic measurement accuracy by using time domain constraints in star point positioning. The present invention improves the dynamic measurement accuracy by changing the sampling process of the star sensor for starlight information, so under any identical detection and positioning method conditions, the present invention can produce better results in improving the dynamic measurement accuracy of the star sensor.

[0202] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for improving the dynamic measurement accuracy of a coded imaging star sensor, characterized in that: The steps include: Step S100, establishing a coded starlight positioning error model for estimating positioning errors of different codes, wherein the coded starlight positioning error model includes a coded starlight energy distribution model and a positioning error model; Step S200, optimal coding calculation, used to calculate the optimal coding under given conditions; The step S100 includes: Step S110, establishing a coded starlight energy distribution model, and calculating the energy distribution of the coded starlight on the image detector according to the star sensor parameters; Step S120, establishing a positioning error model, and calculating a theoretical value of the positioning error according to given coding and starlight parameters; The step S200 includes: Accurate optimal coding calculation, calculate the optimal coding according to given conditions and minimize positioning error; Conservative optimal coding calculation: calculate the optimal coding according to given conditions, and minimize the positioning error while maximizing the star point signal-to-noise ratio; In step S120, When the exposure coding is set so that the interval distance of the coded star image is not less than a certain threshold, the connected domains corresponding to the starlight coding segments are completely separated. Under this condition, the coding centroid positioning method based on the grayscale centroid method is divided into three steps: In the first step, the image is thresholded according to a given threshold and the connected domain of each starlight coding segment is extracted. The connected domain of the i-th starlight coding segment is denoted as C i In the second step, the grayscale centroid method is used to independently calculate the image center coordinates of each starlight coding segment based on the connected domain extraction results. The center coordinate measurement value of the i-th starlight coding segment is The calculation formula is: In the formula, C i is the star point connected domain of the i-th starlight coding segment, I′(x,y) is the image grayscale, V th is the grayscale threshold; For any pixel, its gray level can be regarded as the energy F(x,y) of the starlight on the pixel, the image bias B and the zero-mean Gaussian noise N(x,y)~N(0,σ 2 ),Right now: I′(x,y)=F(x,y)+B+N(x,y) For a dynamic trailing star point, its energy distribution function F(x,y) can be calculated as: F(x,y)=κTσ·f LSSF (x,y) Where σ is the image noise, and κ is the grayscale power-to-noise ratio (PNR) defined in the present invention, that is, the ratio of the total grayscale level of the star in the image to the noise per unit time: Where F total is the total grayscale of the starlight image, T is the exposure time; The third step is to calculate the total center coordinates of the coded star stripes according to the image center coordinates of each starlight coding segment. The calculation formula is: Where ω i is the weight coefficient, satisfying:

2. The method for improving the dynamic measurement accuracy of a coded imaging star sensor according to claim 1, characterized in that: In step S200, According to the condition of obtaining the number of coding segments k and the center tail length l h (k) The positioning error under the condition of obtaining the accurate optimal coding calculation method, calculate the optimal coding according to the given conditions, and minimize the positioning error: Calculate the conservative optimal coding according to the given conditions, and minimize the positioning error while maximizing the star point signal-to-noise ratio: Wherein B(·) represents the largest integer not greater than this value.

3. A system for improving the dynamic measurement accuracy of a coded imaging star sensor, characterized in that: include: A coding starlight positioning error model building module is used to estimate the positioning errors of different codes. The coding starlight positioning error model includes a coding starlight energy distribution model and a positioning error model. The optimal coding calculation module is used to calculate the optimal coding under given conditions; In the coded starlight energy distribution model, the energy distribution of the coded starlight on the image detector is calculated according to the star sensor parameters; In the positioning error model, the theoretical value of the positioning error is calculated based on the given coding and starlight parameters; The optimal coding calculation module includes: The precise optimal coding calculation module calculates the optimal coding according to given conditions and minimizes the positioning error; The conservative optimal coding calculation module calculates the optimal coding according to given conditions, and minimizes the positioning error under the premise of maximizing the signal-to-noise ratio of the star point: when the exposure coding is set so that the interval distance of the coded star image is not less than a certain threshold, the connected domain corresponding to the starlight coding segment is completely separated. Under this condition, the coding centroid positioning method based on the grayscale centroid method is divided into three steps: In the first step, the image is thresholded according to a given threshold and the connected domain of each starlight coding segment is extracted. The connected domain of the i-th starlight coding segment is denoted as C i ; In the second step, the grayscale centroid method is used to independently calculate the image center coordinates of each starlight coding segment based on the connected domain extraction results. The center coordinate measurement value of the i-th starlight coding segment is The calculation formula is: In the formula, C i is the star point connected domain of the i-th starlight coding segment, I′(x,y) is the image grayscale, V th is the grayscale threshold; For any pixel, its gray level can be regarded as the energy F(x,y) of the starlight on the pixel, the image bias B and the zero-mean Gaussian noise N(x,y)~N(0,σ 2 ),Right now: I′(x,y)=F(x,y)+B+N(x,y) For a dynamic trailing star point, its energy distribution function F(x,y) can be calculated as: F(x,y)=κTσ·f LSSF (x,y) Where σ is the image noise, and κ is the grayscale power-to-noise ratio (PNR) defined in the present invention, that is, the ratio of the total grayscale level of the star in the image to the noise per unit time: Where F total is the total grayscale of the starlight image, T is the exposure time; The third step is to calculate the total center coordinates of the coded star stripes according to the image center coordinates of each starlight coding segment. The calculation formula is: Where ω i is the weight coefficient, satisfying:

Citation Information

Patent Citations

  • Multiple exposure imaging method of image intensified star sensor

    CN106197402A

  • Star sensor star point image enhancement method

    CN107590777A

  • Star sensor angle measurement precision compensation method

    CN115307656A