Summary of the invention
The object of the present invention is to provide a kind of defining method of three probe star sensor attitudes.The object of the present invention is achieved like this: method step is as follows:
Step one: read respectively
First obtains the attitude Q popped one's head in
1with the t time of exposure
1;
Second obtains the attitude Q popped one's head in
2with the t time of exposure
2;
3rd obtains the attitude Q popped one's head in
3with the t time of exposure
3;
Get t
1, t
2and t
3maximal value;
If t
1maximum; Calculate Δ t
2=t
1-t
2, Δ t
3=t
1-t
3;
Step 2: utilize Q
2, Δ
2with formula (11)
Calculate second and obtain probe at t
1moment attitude Q '
2, utilize Q
3, Δ t
3calculate the 3rd with formula (11) and obtain probe at t
1moment attitude Q '
3;
Step 3: utilize Q
1calculate first and obtain probe at t
1the optical axis in moment points to S
1, utilize Q '
2calculate second and obtain probe at t
1the optical axis in moment points to S '
2, utilize Q '
3calculate the 3rd and obtain probe at t
1the optical axis in moment points to S '
3;
Step 4: the image space coordinate V that the first acquisition probe optical axis points to
1be (0,0,1), utilize
Formula (5)
The image space coordinate V of probe optical axis sensing is obtained second
2(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
2, utilize formula (5)
The image space coordinate V of probe optical axis sensing is obtained the 3rd
3(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
3;
Step 5: utilize V
1, V '
2, V '
3and S
1, S '
2, S '
3, utilize formula (8)
Calculate the attitude Q of three probes, and output time t
1with attitude Q;
If t
2maximum;
Calculate Δ t
1=t
2-t
1, Δ t
3=t
2-t
3;
Step 6: utilize Q
1, Δ t
1with formula (11)
Calculate first and obtain probe at t
2moment attitude Q '
1, utilize Q
3, Δ t
3with formula (11)
Calculate the 3rd and obtain probe at t
2moment attitude Q '
3;
Step 7: utilize Q '
1calculate first and obtain probe at t
2the optical axis in moment points to S '
1, utilize Q
2calculate second and obtain probe at t
2the optical axis in moment points to S
2, utilize Q '
3calculate the 3rd and obtain probe at t
2the optical axis in moment points to S '
3
Step 8: the image space coordinate V that the first acquisition probe optical axis points to
1be (0,0,1), utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing second
2(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
2, utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing the 3rd
3(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
3;
Utilize V
1, V '
2, V '
3and S '
1, S
2, S '
3, utilize formula (8) to calculate the attitude Q of three probes, and output time t
2with attitude Q;
If t
3maximum;
Calculate Δ t
1=t
3-t
1, Δ t
2=t
3-t
2
Utilize Q
1, Δ t
1calculate first with formula (11) and obtain probe at t
3moment attitude Q '
1, utilize Q
2, Δ t
2calculate second with formula (11) and obtain probe at t
3moment attitude Q '
2
Utilize Q '
1calculate first and obtain probe at t
3the optical axis in moment points to S '
1, utilize Q '
2calculate second and obtain probe at t
3the optical axis in moment points to S '
2, utilize Q
3calculate the 3rd and obtain probe at t
3the optical axis in moment points to S
3
The image space coordinate V that first acquisition probe optical axis points to
1be (0,0,1), utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing second
2(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
2, utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing the 3rd
3(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
3
Step 9: utilize V
1, V '
2, V '
3and S '
1, S '
2, S
3, utilize formula (8) to calculate the attitude Q of three probes, and output time t
3with attitude Q.
The defining method of a kind of three probe star sensor attitudes of the present invention, data processing module fixed cycle ground is calibrated to two probe modules, after compensate for star sensor long-play, the shortcoming of mistiming increase between two imaging probe modules; Compensate for the shortcoming of single imaging probe module star sensor axis of rolling attitude accuracy difference; Even if certain imaging probe module actual effect, on the basis ensureing attitude accuracy, another two imaging probe modules still can export attitude, improve data reliability.
Embodiment
Below in conjunction with accompanying drawing citing, the present invention will be further described.
Embodiment 1:
Composition graphs 1, Fig. 2, the defining method of a kind of three probe star sensor attitudes of the present invention, step is as follows:
Method step is as follows:
Step one: read respectively
First obtains the attitude Q popped one's head in
1with the t time of exposure
1;
Second obtains the attitude Q popped one's head in
2with the t time of exposure
2;
3rd obtains the attitude Q popped one's head in
3with the t time of exposure
3;
Get t
1, t
2and t
3maximal value;
If t
1maximum; Calculate Δ t
2=t
1-t
2, Δ t
3=t
1-t
3;
Step 2: utilize Q
2, Δ t
2with formula (11)
Calculate second and obtain probe at t
1moment attitude Q '
2, utilize Q
3, Δ t
3calculate the 3rd with formula (11) and obtain probe at t
1moment attitude Q '
3;
Step 3: utilize Q
1calculate first and obtain probe at t
1the optical axis in moment points to S
1, utilize Q '
2calculate second and obtain probe at t
1the optical axis in moment points to S '
2, utilize Q '
3calculate the 3rd and obtain probe at t
1the optical axis in moment points to S '
3;
Step 4: the image space coordinate V that the first acquisition probe optical axis points to
1be (0,0,1), utilize formula (5)
The image space coordinate V of probe optical axis sensing is obtained second
2(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
2, utilize formula (5)
The image space coordinate V of probe optical axis sensing is obtained the 3rd
3(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
3;
Step 5: utilize V
1, V '
2, V '
3and S
1, S '
2, S '
3, utilize formula (8)
Calculate the attitude Q of three probes, and output time t
1with attitude Q;
If t
2maximum;
Calculate Δ t
1=t
2-t
1, Δ t
3=t
2-t
3;
Step 6: utilize Q
1, Δ t
1with formula (11)
Calculate first and obtain probe at t
2moment attitude Q '
1, utilize Q
3, Δ t
3calculate the 3rd with formula (11) and obtain probe at t
2moment attitude Q '
3;
Step 7: utilize Q '
1calculate first and obtain probe at t
2the optical axis in moment points to S '
1, utilize Q
2calculate second and obtain probe at t
2the optical axis in moment points to S
2, utilize Q '
3calculate the 3rd and obtain probe at t
2the optical axis in moment points to S '
3
Step 8: the image space coordinate V that the first acquisition probe optical axis points to
1be (0,0,1), utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing second
2(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
2, utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing the 3rd
3(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
3;
Utilize V
1, V '
2, V '
3and S '
1, S
2, S '
3, utilize formula (8) to calculate the attitude Q of three probes, and output time t
2with attitude Q;
If t
3maximum;
Calculate Δ t
1=t
3-t
1, Δ t
2=t
3-t
2
Utilize Q
1, Δ t
1calculate first with formula (11) and obtain probe at tX moment attitude Q '
1, utilize Q
2, Δ t
2calculate second with formula (11) and obtain probe at t
3moment attitude Q '
2
Utilize Q '
1calculate first and obtain probe at t
3the optical axis in moment points to S ' X, utilizes Q '
2calculate second and obtain probe at t
3the optical axis in moment points to S '
2, utilize Q
3calculate the 3rd and obtain probe at t
3the optical axis in moment points to S
3
The image space coordinate V that first acquisition probe optical axis points to
1be (0,0,1), utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing second
2(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
2, utilize formula (5) to obtain the image space coordinate V of probe optical axis sensing the 3rd
3(0,0,1) is transformed into the image space coordinate V ' under the first acquisition probe co-ordinate system
3
Step 9: utilize V
1, V '
2, V '
3and S '
1, S '
2, S
3, utilize formula (8) to calculate the attitude Q of three probes, and output time t
3with attitude Q.
Embodiment 2:
Composition graphs 1, Fig. 2, three probe star sensor attitude determination principles:
Three unit vector X
n, Y
n, Z
n, and form a mutually orthogonal coordinate system, wherein: Y
nand Z
nmould | Y
n|=1 He | Z
n|=1, remember new coordinate system F
nfor
The body coordinate of spacecraft is F
b, georeferencing coordinate is F
r, their coordinate base is respectively
Wherein, X
b, Y
b, Z
bfor F
bunit vector, X
r, Y
r, Z
rfor F
runit vector.X
n, Y
n, Z
nthree vectors recorded, they and F
nand F
rbeing described as of coordinate system
Wherein, U
b, V
b, U
r, V
r, W
b, W
bbe respectively X
n, Y
n, Z
nat F
band F
rcoordinate array (direction cosine), being write as expansion is
Due to three unit vector X
n, Y
n, Z
nit is mutually orthogonal,
Therefore,
C
nbfor F
nwith F
bbetween attitude matrix (direction cosine matrix).
In like manner,
C
nrfor F
nwith F
rbetween attitude matrix (direction cosine matrix).
Contrast (6) and (7), and make F
band F
rbetween attitude matrix be C
br, have
C
brbe required F
band F
rbetween attitude matrix, can F be obtained thus
bthree unit vector X
n, Y
n, Z
nat F
rin description, namely determine the attitude of aircraft three axle.Due to X
n, Y
n, Z
nmutually orthogonal, not parallel, therefore
must exist.
If F
bfor aircraft body coordinate system, F
r=F
ofor orbital coordinate system, for the roll angle of x-y-z rotational order definition
pitching angle theta and crab angle ψ are all the situation at little angle, F
bwith F
obetween attitude matrix C
bofor
Therefore formula (8) is utilized to obtain roll angle
pitching angle theta and crab angle ψ.Need to illustrate, due to roll angle
pitching angle theta and crab angle ψ are about decided to be low-angle, also normal with
Δ θ, Δ ψ represent, are referred to as rolling, pitching, driftage deviation angle.
2. the fundamentals of successive deduction of attitude
Suppose t
1the attitude quaternion of certain probe of moment star sensor is Q
1, t
1the angular velocity of moment star sensor is ω
1, wherein Q
1=q
10× i+q
11× j+q
12× k+q
13,
so have
T '
1(wherein t '
1> t
1) attitude quaternion of moment this probe of star sensor is Q '
1(Q '
1=q '
10× i+q '
11× j+q '
12× k+q '
13) be:
Embodiment 3:
Experimental technique is as follows: as shown in Figure 2, three probe star sensors to outdoor, three probe star sensors are placed on the turntable of the earth, adjustment turntable, make three probes can observe enough fixed stars, random alignment celestial sphere region and geo-stationary when three probes are initial, and along with earth rotation rotation, carry out long-play.Star tracing mode is independently entered after three probe star sensor whole day ball identifications, for in same computation period, first three probe star sensors adopt the star chart of probe 1 to calculate attitude, then the star chart of three probes is adopted to adopt method of the present invention to calculate attitude, export and adopt the three-axis attitude measured value of probe 1 and adopt the star chart of three probes to adopt method of the present invention to calculate attitude, and export this two groups of three-axis attitude measured values, then the attitude calculated is sent to host computer by RS422, host computer is preserved after receiving attitude in real time, and calculate the difference (i.e. attitude error) of the attitude received and true attitude in real time, (Frame of about 1820 seconds is such as received) after receiving the attitude of some, MATLAB is adopted to show attitude error curve, and calculate three-axis attitude precision.As shown in Figure 3, as calculated, the three-axis attitude error only adopting the star chart of probe 1 to calculate is respectively: crab angle 1.1025 " (3 σ), the angle of pitch 1.0401 " (3 σ), roll angle 5.8576 " (3 σ).As shown in Figure 4, the three-axis attitude error adopting three star charts of popping one's head in adopt method of the present invention to calculate attitude is respectively: crab angle 0.4561 " (3 σ), the angle of pitch 0.3408 " (3 σ), roll angle 0.3659 " (3 σ).
According to star sensor principle of work, adopt the ratio of precision crab angle of roll angle and the low precision of the angle of pitch of a star sensor of popping one's head in, analyze theoretically, the relation of the ratio of precision crab angle of roll angle and about 5 times of the low precision of the angle of pitch, as can be seen from Figure 3, the three-axis attitude error only adopting the star chart of probe 1 to calculate is respectively: crab angle 1.1025 " (3 σ); the angle of pitch 1.0401 " (3 σ), " (3 σ), therefore the error of roll angle is approximately than low precision 5 times of relations of crab angle and the angle of pitch for roll angle 5.8576.And adopt three star charts of popping one's head in adopt method of the present invention to calculate the three-axis attitude of attitude, the roll angle that not direct three probes export, but adopt the crab angle of three probes and the angle of pitch to carry out information fusion, thus make up the shortcoming of single probe star sensor roll angle low precision, as can be seen from Figure 4, the output three-axis attitude of dual probe star sensor all meets 1 " attitude error.
Embodiment 4:
Be below a kind of embodiment of dual probe star sensor, the attitude quaternion adopting ESOQ2 algorithm can calculate three probes is respectively:
The attitude quaternion of probe 1: Q
1=q
01 × i+q
11× j+q
21× k+q
31;
The attitude quaternion of probe 2: Q
2=q
02× i+q
12× j+q
22× k+q
32;
The attitude quaternion of probe 3: Q
3=q
03× i+q
13× j+q
23× k+q
33.
Utilize
Can calculate the attitude matrix of three probes respectively, according to the attitude matrix of three probes, the optical axis calculating three probes is oriented to: the optical axis of probe 1 points to: S
1=s
01× i+s
11× j+s
21× k; The optical axis of probe 2 points to: S
2=s
02× i+s
12× j+s
22× k; The optical axis of probe 3 points to: S
3=s
03× i+s
13× j+s
23× k.The coordinate of three optical axis sensings under body image space coordinate system is all (0,0,1), suppose that the attitude polarity calculating three probe star sensors is consistent with the polarity of probe 1, the coordinate conversion of so popping one's head under 2 and probe 3 body image spaces, to the image space coordinate of probe 1, supposes probe 2 and pass between the coordinate system of 1 body image space of popping one's head in is R
12, the pass between the coordinate system of probe 3 and probe 1 body image space is R
13, the coordinate of 2 body image space coordinates under the coordinate system of probe 1 body image space of so popping one's head in is: U
12=R
12(0,0,1), the coordinate of 3 body image space coordinates under the coordinate system of probe 1 body image space of popping one's head in is: U
13=R
13(0,0,1), the coordinate of 1 body image space coordinate under the coordinate system of probe 1 body image space of popping one's head in is: U
1=(0,0,1), utilizes U
12, U
13, U
1and S
1, S
2and S
3, utilize formula (8) just can calculate the attitude of three probe star sensors.
The features and advantages of the invention:
First: data processing module fixed cycle ground is calibrated to two probe modules, after compensate for star sensor long-play, the shortcoming of mistiming increase between two imaging probe modules;
Second: the shortcoming that compensate for single imaging probe module star sensor axis of rolling attitude accuracy difference;
3rd: even if certain imaging probe module actual effect, on the basis ensureing attitude accuracy, another two imaging probe modules still can export attitude, improve data reliability.
The main performance index of single probe module:
Probe: 20 ° × 20 °
Face battle array: 2048 × 20484
Detection magnitude: 5.5Mv
Data updating rate: 5Hz
The optical axis of three probes points to pairwise orthogonal.
In order to verify the precision of this three probes star sensor, and with star sensor the precision of the output attitude that certain is popped one's head in carried out outfield see star compare (due to this three pop one's head in star sensor output attitude polarity with probe 1 star sensor polarity consistent, therefore in experimentation, three probe attitudes of output compare with the attitude of probe 1).