转载:GPS卫星 星历与历书的区别(为了方便在navcen官网下载GPS历书后不知道具体含义的)
原文轉(zhuǎn)載,轉(zhuǎn)載的原文地址為:http://www.cnblogs.com/hongzg1982/articles/2148942.html
感謝原作者,如果沖突,我會及時刪掉該文章內(nèi)容的。
 
為了縮短衛(wèi)星鎖定時間,GPS接收機需利用歷書、當(dāng)?shù)匚恢玫臅r間來預(yù)報衛(wèi)星運行狀態(tài)。
歷書與星歷都是表示衛(wèi)星運行的參數(shù)。歷書包括全部衛(wèi)星的大概位置,用于衛(wèi)星預(yù)報;星歷只是當(dāng)前接收機觀測到的衛(wèi)星的精確位置,用于定位。
歷書是從導(dǎo)航電文中提取的,每12.5分鐘的導(dǎo)航電文才能得到一組完整的歷書。
下表是ICD-GPS-200規(guī)定的歷書格式:
| 說明 | 類型 | 字節(jié) | 單位 | 
| 衛(wèi)星號 | short | 2 | ? | 
| 健康狀況 | short | 2 | ? | 
| 偏心率 | float | 4 | ? | 
| 軌道參考時間 | long | 4 | s | 
| 軌道傾角 | float | 4 | 半周 | 
| 升交點赤經(jīng)變化率 | float | 4 | 半周/s | 
| 長半軸的平方根 | double | 8 | ? | 
| 升交點赤經(jīng) | double | 8 | 半周 | 
| 近地點角距 | double | 8 | 半周 | 
| 參考時間的平近點角 | double | 8 | 半周 | 
| 衛(wèi)星鐘差改正 | float | 4 | s | 
| 衛(wèi)星鐘漂改正 | float | 4 | s/s | 
| 歷書星期數(shù) | short | 2 | ? | 
| GPS星期數(shù) | short | 2 | ? | 
| GPS星期秒數(shù) | long | 4 | s | 
| 校驗和 | ? | 2 | ? | 
利用歷書和當(dāng)?shù)氐奈恢?#xff0c;?我們可以計算出衛(wèi)星的方位和高度角,由此可以計算出當(dāng)?shù)啬苡^測到的衛(wèi)星和持續(xù)時間,即衛(wèi)星高度角大于5°的出現(xiàn)時間。
AC12接收機標(biāo)準(zhǔn)星歷數(shù)據(jù)格式如下表:
| 類型????????????????????字節(jié)???????說明 | 
| short wn???????????????? 2???? GPS week number. GPS周數(shù)(80年1月6日開始累計) | 
| long tow???????????????? 4???? Seconds of GPS week.? | 
| float tgd??????????????? 4???? Group delay (seconds).?群延遲(S) | 
| long aodc??????????????? 4???? Clock data issue.?發(fā)出的時鐘數(shù)據(jù) | 
| long toc???????????????? 4???? Clock data reference time in seconds.?秒級的參考時間 | 
| float af2??????????????? 4???? Clock correction (sec/sec2).?時鐘改正值 | 
| float af1??????????????? 4?????? Clock correction (sec/sec).?時鐘改正值 | 
| float af0??????????????? 4?????? Clock correction (sec).?時鐘改正值 | 
| long aode??????????????? 4?????? Orbit data issue.?軌道數(shù)據(jù) | 
| float deltan???????????? 4?????? Mean anomaly correction (semicircles/sec).? | 
| double m0??????????????? 8?????? Mean anomaly at reference time (semicircles).? | 
| double e???????????????? 8?????? Eccentricity.?偏心率 | 
| double roota???????????? 8?????? Square root of semi-major axis (meters 1/2).?長半軸平方根 | 
| long toe???????????????? 4?????? Reference time for orbit (sec).?軌道的參考時間 | 
| float cic??????????????? 4?????? Harmonic correction term (radians).??諧波修正項 | 
| float crc??????????????? 4?????? Harmonic correction term (meters).?諧波修正項 | 
| float cis??????????????? 4?????? Harmonic correction term (radians).??諧波修正項 | 
| float crs??????????????? 4?????? Harmonic correction term (meters).?諧波修正項 | 
| float cuc??????????????? 4?????? Harmonic correction term (radians).?諧波修正項 | 
| float cus??????????????? 4?????? Harmonic correction term (radians).?諧波修正項 | 
| double omega0??????????? 8?????? Longitude of ascending node (semicircles).?升焦點經(jīng)度 | 
| double omega???????????? 8?????? Argument of perigee (semicircles).?近地點角距 | 
| double i0??????????????? 8?????? Inclination angle (semicircles).?傾角 | 
| float omegadot?????????? 4?????? Rate of right ascension (semicircles/sec).?赤經(jīng)率 | 
| float idot?????????????? 4?????? Rate of inclination (semicircles/sec).?磁傾角變化率 | 
| short accuracy?????????? 2?????? User range accuracy.?用戶測距精度 | 
| short health???????????? 2?????? Satellite health.?衛(wèi)星健康狀態(tài) | 
| short fit??????????????? 2?????? Curve fit interval.? | 
| char prnnum????????????? 1?????? Satellite PRN number minus 1 (0 to 31)?衛(wèi)星編號 | 
| char res???????????????? 1?????? Reserved character.? | 
| checksum???????????????? 2??????? | 
| Total? bytes?????????? 132? | 
 
上面給的是歷書和星歷的區(qū)別,在官網(wǎng):http://www.navcen.uscg.gov/?pageName=gpsAlmanacs 處可以下載最新的GPS歷書,包含1997-2014年所有的。
下載后的歷書格式包含ALM ,AL3, txt格式,其中的英文多為縮寫,而且是專業(yè)詞匯,一些翻譯軟件對此無能為力。
其中,txt的示例如下:
******** Week 762 almanac for PRN-01 ********
 ID: ? ? ? ? ? ? ? ? ? ? ? ? 01
 Health: ? ? ? ? ? ? ? ? ? ? 000
 Eccentricity: ? ? ? ? ? ? ? 0.2845287323E-002
 Time of Applicability(s): ?147456.0000
 Orbital Inclination(rad): ? 0.9608615971
 Rate of Right Ascen(r/s): ?-0.8000333246E-008
 SQRT(A) ?(m 1/2): ? ? ? ? ? 5153.626465
 Right Ascen at Week(rad): ?-0.6922118266E+000
 Argument of Perigee(rad): ? 0.328186876
 Mean Anom(rad): ? ? ? ? ? ? 0.1634971851E+001
 Af0(s): ? ? ? ? ? ? ? ? ? ? 0.6675720215E-005
 Af1(s/s): ? ? ? ? ? ? ? ? ? 0.0000000000E+000
 week: ? ? ? ? ? ? ? ? ? ? ? ?762
 
上面對應(yīng)的內(nèi)容也就是本文轉(zhuǎn)載的關(guān)于GPS歷書的對應(yīng)內(nèi)容。
| 衛(wèi)星號 | short | 2 | ? | 
| 健康狀況 | short | 2 | ? | 
| 偏心率 | float | 4 | ? | 
| 軌道參考時間 | long | 4 | s | 
| 軌道傾角 | float | 4 | 半周 | 
| 升交點赤經(jīng)變化率 | float | 4 | 半周/s | 
| 長半軸的平方根 | double | 8 | ? | 
| 升交點赤經(jīng) | double | 8 | 半周 | 
| 近地點角距 | double | 8 | 半周 | 
| 參考時間的平近點角 | double | 8 | 半周 | 
| 衛(wèi)星鐘差改正 | float | 4 | s | 
| 衛(wèi)星鐘漂改正 | float | 4 | s/s | 
| 歷書星期數(shù) | short | 2 | ? | 
| GPS星期數(shù) | short | 2 | ? | 
| GPS星期秒數(shù) | long | 4 | s | 
| 校驗和 | ? | 2 | ? | 
當(dāng)前包含的GPS星已經(jīng)上升到32顆,所以總的ID一直到32.
 
上述內(nèi)容包括轉(zhuǎn)載的,也包括自己編寫的內(nèi)容,希望對大家有所幫助。
總結(jié)
以上是生活随笔為你收集整理的转载:GPS卫星 星历与历书的区别(为了方便在navcen官网下载GPS历书后不知道具体含义的)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: free(): invalid next
- 下一篇: STM32单片机-低功耗设置
