Embodiment
Need to obtain ephemeris parameter or almanac parameters in satellite navigation simulation, ephemeris parameter is relatively more comprehensive, thus accuracy is high, but its effective time is short; Almanac parameters then number ratio is less, thus accuracy is not high, but its effective time is longer.Ephemeris parameter or almanac parameters respectively have its merits and demerits, need to go to obtain target component according to the actual demand of satellite navigation simulation.When needing another kind of parameter in prior art in known a kind of parameter, need to adopt the outside mode imported to obtain, need the unitarity of the effective time of consideration two kinds of parameters during importing, inconvenience realizes; Also likely exterior storage is complete, causes the parameter that can not obtain needs.And also need ephemeris and almanac when dummy source generating literary composition simultaneously, and for some reason may ephemeris or almanac obtain less than, at this time can only remove to obtain by multiple acquisition mode the ephemeris or almanac that need.Just based on this technical matters, the application is when known parameters, and the technical scheme proposing the application converts the parameter of needs to according to known parameters, and method is simple, be convenient to realize, and accuracy is higher.
Matching ephemeris or ephemeris time, need not many groups satellite orbit data in the same time, therefore, need to calculate respective satellite orbital data according to certain time interval in almanac or ephemeris effective time.
When known ephemeris information, with the ephemeris reference moment for benchmark, reasonable time interval should be chosen, calculates ephemeris with reference to the satellite orbit data information in a period of time before and after the moment.It should be noted that during the access time of interval that the time that the satellite orbital position calculated is corresponding needs to comprise the value of almanac with reference to the moment in order to make fitting result more accurate.For meeting this requirement, for the GPS of the U.S. (GPS), consider that its ephemeris every two hours upgrades once, ephemeris is with reference to moment toe(in seconds) be 7200 integral multiple, and the reference moment t of almanacoa(in seconds) be 4096 integral multiple, comprise t to make selected satellite orbit dataoethe satellite orbit data information in moment, the selected time interval (in seconds) should be the minimum common factor of 4096 and 7200 or can be divided exactly by its minimum common factor, and specific implementation is shown in step one.
Step one, according to known ephemeris parameter utilize ephemeris user algorithm to calculate be Satellite position admittedly, or according to known almanac parameters utilize almanac user algorithm to calculate be Satellite position admittedly;
If step 1 A is ephemeris, B is almanac, then utilize ephemeris user algorithm to calculate be Satellite position admittedly:
Step 101: the satellite mean angular velocity n inscribed when calculating ephemeris reference0:
(formula 1)
Wherein, μ is Gravitational coefficient of the Earth, and A is semi-major axis of orbit; For different satellite navigation systems, μ needs to correspond to different coordinate systems and carries out value, and in the Beidou satellite navigation system of China, μ is the Gravitational coefficient of the Earth of CGCS2000 coordinate system, and value as shown in Equation 2;
μ=3.986004418 × 1014m3/ s2(formula 2)
(formula 3)
Step 102, the satellite mean angular velocity n utilizing step 101 to obtain0ephemeris is revised with reference to moment satellite mean angular velocity, obtains revised mean angular velocity n:
N=n0+ Δ n (formula 5)
Wherein, Δ n is the parameter value announced in ephemeris parameter;
Step 103, calculates current time t and ephemeris reference time toemistiming tk:
Tk=t-toe(formula 4)
Step 104, utilizes the mean anomaly M of reference time in ephemeris parameter0, step 102 obtain revised mean angular velocity n and step 103 obtain mistiming tkcalculate the mean anomaly M of current timek:
Mk=M0+ ntk(formula 6)
Step 105, the mean anomaly M that integrating step 104 obtainskthe method of iteration is utilized to calculate the eccentric anomaly E of current timek:
Ek=Mk-e sin Ek(formula 7)
This alternative manner is prior art, and iterative formula is Ek (i+1)=Mk-e sin Ek (i), iteration initial value Ek (1)given, if current Ek (i)do not meet setting demand, then ask E according to iterative formulak (i+1)if, Ek (i+1)acquisition meets setting demand, then stop iteration, current Ek (i+1)be the eccentric anomaly E of current timek.
E in above formula is the excentricity in ephemeris parameter.
Step 106, utilizes the eccentric anomaly E that step 105 obtainskcalculate the true anomaly f of current timek:
(formula 8)
Step 107, the true anomaly f utilizing step 106 to obtainkcalculate the latitude argument of current time
(formula 9)
W in above formula is the argument of perigee in ephemeris parameter.
Step 108, the latitude argument utilizing step 107 to obtainconsider that second order zonal harmonics perturbation corrects latitude argument, satellite radius vector and orbit inclination, obtain latitude argument correction member δ μk, radial correction member δ rkand orbit inclination correction member δ ikas shown in the formula:
(formula 10)
C in above formulaus, Cucbe respectively the amplitude of the sine of latitude argument, cosine mediation correction member, Crs, Crcbe respectively the amplitude of the sine of orbit radius, cosine mediation correction member, Cis, Cicbe respectively the amplitude of the sine of orbit inclination, cosine mediation correction member.
Step 109, the latitude argument correction member δ μ utilizing step 108 to obtaink, radial correction member δ rkand orbit inclination correction member δ ikcalculate the latitude argument μ after correctingk, satellite radius vector rkwith orbit inclination ik:
(formula 11)
IDOT in above formula is the orbit inclination rate of change in ephemeris parameter, i0for the orbit inclination announced in ephemeris.
Step 110, the latitude argument μ after the correction utilizing step 109 to obtaink, satellite radius vector rkcalculate the coordinate (x' of satellite in orbital coordinate systemk, y'k):
x′k=rkcosμk
Y 'k=rksin μk(formula 12)
Step 111, the mistiming t utilizing step 103 to obtainkthe geodetic longitude Ω of calculating observation moment ascending nodek:
(formula 13)
In above formula, Ω0for ephemeris in ephemeris parameter is with reference to the right ascension of ascending node in moment,for the right ascension of ascending node rate of change in ephemeris parameter,for earth rotation speed, for different satellite navigation systems,need to correspond to different coordinate systems and carry out value, in the Beidou satellite navigation system of China,for the earth rotation speed of CGCS2000 coordinate system, value as shown in Equation 14.
(formula 14)
Step 112, utilizes the orbit inclination i that step 109 obtainsk, the satellite that obtains of step 110 is at the coordinate (x' of orbital coordinate systemk, y'k) and step 111 obtain geodetic longitude Ωkcalculating ground is Satellite position (x admittedlyk, yk, zk):
Xk=x 'kcos Ωk-y 'ksin Ωkcos ikyk=x 'ksin Ωk+ y 'kcos Ω coik(formula 15) zk=y 'ksin ik
When known almanac information, should with the almanac reference moment for benchmark, choose reasonable time interval, calculate almanac with reference to the satellite orbit data information in a period of time before and after the moment, require similar to known ephemeris time for choosing of the time interval, the time that namely calculated satellite orbital position is corresponding needs to comprise the value in ephemeris reference moment.Specific implementation step is shown in step 2.
Step 2, if A is almanac, B is ephemeris, then utilize almanac user algorithm to calculate be Satellite position admittedly:
Step 201: the satellite mean angular velocity n inscribed when calculating almanac reference0:
(formula 16)
Wherein, μ is Gravitational coefficient of the Earth, and A is semi-major axis of orbit; For different satellite navigation systems, μ needs to correspond to different coordinate systems and carries out value, and in the Beidou satellite navigation system of China, μ is the Gravitational coefficient of the Earth of CGCS2000 coordinate system, and value as shown in Equation 2.
Step 202, calculates current time t and almanac reference time toamistiming tk*:
Tk*=t-toa(formula 17)
Step 203, utilizes the mean anomaly M of reference time in almanac parameters0*, step 201 obtain mean angular velocity n0and the mistiming t that step 202 obtainsk*calculate the mean anomaly M of current timek*:
(formula 18)
Step 204, the mean anomaly M that integrating step 203 obtainsk*the method of iteration is utilized to calculate the eccentric anomaly E of current timek*:
Ek*=Mk*-e*sinEk*(formula 19)
E in above formula*for the excentricity in almanac parameters.
Step 205, utilizes the eccentric anomaly E that step 204 obtainsk*calculate the true anomaly of current time
(formula 20)
Step 206, utilizes the true anomaly that step 205 obtainscalculate the latitude argument of current time
(formula 21)
W in above formula*for the argument of perigee in almanac parameters.
Step 207, calculates satellite radius vector
(formula 22)
Step 208, calculates the orbit inclination i of almanac with reference to the moment:
(formula 23)
δ i in above formula is the reduction at the track reference inclination angle of almanac reference time in almanac parameters,for the orbit inclination announced in almanac.
Step 209, the latitude argument utilizing step 206 to obtainwith the satellite radius vector that step 207 obtainscalculate the coordinate (x' of satellite in orbital coordinate systemk, y'k):
(formula 24)
Step 210, the geodetic longitude of the calculating observation moment ascending node utilizing step 209 to obtain
(formula 25)
In above formula,for almanac in almanac parameters is with reference to the right ascension of ascending node in moment,for the right ascension of ascending node rate of change in almanac parameters,for earth rotation speed, for different satellite navigation systems,need to correspond to different coordinate systems and carry out value, in the Beidou satellite navigation system of China,for the earth rotation speed of CGCS2000 coordinate system, value as shown in Equation 26.
(formula 26)
Step 211, the geodetic longitude that the orbit inclination i step 210 utilizing step 208 to obtain obtainswith the coordinate (x' that step 209 obtainsk, y'k) be Satellite position (x admittedly with calculatingk, yk, zk):
(formula 27)
Utilize the not many groups satellite orbit data in the same time obtained by ephemeris computation, can almanac parameters matching be carried out; Utilize the not many groups satellite orbit data in the same time calculated by almanac, can ephemeris parameter matching be carried out.Detailed process is shown in step 2.
Step 2, ephemeris/almanac parameters matching
Step 21, the ground according to obtaining in step one is Satellite position (x' admittedlyk, y'k) and ephemeris/almanac parameters set up state equation (formula 28) and observation equation (formula 29):
X=X (X0, t0, t) (formula 28)
Y=Y (X, t)=Y (X0, t0, t) (formula 29)
Wherein, X is quantity of state, be again t corresponding for solve for parameter vector X=X (X0, t0, t), X=X (X0, t0, t) represent that X and t is relevant, X0for t0corresponding solve for parameter vector, t0for the ephemeris reference time, and t0∈ t.Y is an observation column vector (m is greater than and equals 15) containing m observed quantity, and an observed quantity corresponds to the location components (x of Navsat t in ground is admittedlyk, yk, zk), represent Y and X Y=Y (X, t) relevant to t again, and due to t0∈ t, so Y=Y (X, t)=Y (X0, t0, t).Because state equation and observation equation are nonlinear equation, the valuation problem of ephemeris/almanac parameters is the Least Squares Estimating problem of nonlinear system, and row iteration of nonlinear equation linearization being gone forward side by side solves.
When fitting parameter is ephemeris parameter, X0for ephemeris parameter, as shown in Equation 30; .
(formula 30)
When fitting parameter is almanac parameters, X0for almanac parameters, as shown in Equation 31; t0for the almanac reference time.
(formula 31)
Step 22, by formula 29 at Xi/0place launches:
(formula 32)
Xi/0for X0for iterative initial value, it is setting value.Ο () is higher order term more than second order and second order.
Step 23, order:
X0=X0-Xi/0(formula 33)
Y=Y-Y (Xi/0, t0, t) (formula 34)
(formula 35)
Step 24, the higher order term that the formula 32 in step 22 that (formula 33) (formula 34) in step 23 and (formula 35) substituted into is omitted in formula 32 more than second order can obtain:
Y=Hx0(formula 36)
Step 25, solves formula 36 according to Least Squares Estimating principle, can obtain x0optimal estimation:
(formula 37)
Step 26, during the 1st iteration, initial value is X1/0, obtain x according to formula 370optimal estimationduring the 2nd iteration, initial valueand obtain x according to formula 370optimal estimationduring i-th iteration, initial valueand obtain x according to formula 370optimal estimationif now meet formula 39 to stop calculating, and willas solve for parameter vector value Xovalue
(formula 39)
In above formula, σ is statistical error in iterative process, and ε is the minimum (usually getting 0.01) arranged according to accuracy requirement:
(formula 40)
In above formula, n is the dimension of quantity of state.The fitting result that step 27 obtains-solve for parameter vector value Xobe final required ephemeris/almanac parameters.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection domain that all should belong to the claim appended by the present invention.