201111241710GPS information

GPS模塊是GS-89m-J 該模塊是由韓國生產,採用的MTK芯片組,在功耗,價格,體積上都有相當的優勢,採用的是30PIN貼片封裝。

下面是調試模組用串口監控到的數據:

無衛星狀態:

$GPGGA,000355.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*44
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,1,1,00*79
$GPRMC,000355.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*79
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000356.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*47
$GPRMC,000356.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*7A
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000357.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*46
$GPRMC,000357.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*7B
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000358.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*49
$GPRMC,000358.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*74
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000359.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*48
$GPRMC,000359.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*75
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000400.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*43
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,1,1,00*79
$GPRMC,000400.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*7E
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000401.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*42
$GPRMC,000401.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*7F
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000402.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*41
$GPRMC,000402.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*7C
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000403.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*40
$GPRMC,000403.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*7D
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000404.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*47
$GPRMC,000404.026,V,8960.0000,N,00000.0000,E,0.00,0.00,060180,,,N*7A
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,000405.026,8960.0000,N,00000.0000,E,0,0,,137.0,M,13.0,M,,*46
$GPGSA,A,1,,,,,,,,,,,,,,,*1E

有衛星狀態:

$GPGGA,090113.000,3958.2847,N,11616.6454,E,1,8,1.00,67.6,M,-6.7,M,,*78
$GPRMC,090113.000,A,3958.2847,N,11616.6454,E,0.00,0.00,080110,,,A*60
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090114.000,3958.2847,N,11616.6456,E,1,8,1.00,67.7,M,-6.7,M,,*7C
$GPRMC,090114.000,A,3958.2847,N,11616.6456,E,0.00,0.00,080110,,,A*65
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090115.000,3958.2846,N,11616.6456,E,1,8,1.00,67.7,M,-6.7,M,,*7C
$GPRMC,090115.000,A,3958.2846,N,11616.6456,E,0.00,0.00,080110,,,A*65
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090116.000,3958.2846,N,11616.6456,E,1,8,1.00,67.8,M,-6.7,M,,*70
$GPRMC,090116.000,A,3958.2846,N,11616.6456,E,0.00,0.00,080110,,,A*66
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090117.000,3958.2845,N,11616.6457,E,1,8,1.00,67.8,M,-6.7,M,,*73
$GPGSA,A,3,29,15,10,18,09,21,24,27,,,,,1.28,1.00,0.79*08
$GPGSV,3,1,10,24,78,302,38,15,77,207,42,29,36,238,48,10,33,073,24*76
$GPGSV,3,2,10,21,29,310,39,08,22,054,,18,15,276,42,27,14,167,36*7D
$GPGSV,3,3,10,09,05,175,35,40,,,*45
$GPRMC,090117.000,A,3958.2845,N,11616.6457,E,0.00,0.00,080110,,,A*65
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090118.000,3958.2846,N,11616.6457,E,1,8,1.00,67.8,M,-6.7,M,,*7F
$GPRMC,090118.000,A,3958.2846,N,11616.6457,E,0.00,0.00,080110,,,A*69
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090119.000,3958.2846,N,11616.6458,E,1,9,0.85,67.8,M,-6.7,M,,*7C
$GPRMC,090119.000,A,3958.2846,N,11616.6458,E,0.00,0.00,080110,,,A*67
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090120.000,3958.2847,N,11616.6459,E,1,9,0.85,67.8,M,-6.7,M,,*76
$GPRMC,090120.000,A,3958.2847,N,11616.6459,E,0.00,0.00,080110,,,A*6D
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090121.000,3958.2847,N,11616.6460,E,1,9,0.85,67.8,M,-6.7,M,,*7D
$GPRMC,090121.000,A,3958.2847,N,11616.6460,E,0.00,0.00,080110,,,A*66
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090122.000,3958.2847,N,11616.6461,E,1,9,0.85,67.8,M,-6.7,M,,*7F
$GPGSA,A,3,29,15,10,18,09,21,24,08,27,,,,1.14,0.85,0.77*0D
$GPGSV,3,1,10,24,78,302,38,15,77,207,42,29,36,238,48,10,33,073,22*70
$GPGSV,3,2,10,21,29,310,39,08,22,054,21,18,15,276,42,27,14,167,36*7E
$GPGSV,3,3,10,09,05,175,35,43,,,*46
$GPRMC,090122.000,A,3958.2847,N,11616.6461,E,0.00,0.00,080110,,,A*64
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D
$GPGGA,090123.000,3958.2848,N,11616.6462,E,1,9,0.85,67.8,M,-6.7,M,,*72
$GPRMC,090123.000,A,3958.2848,N,11616.6462,E,0.00,0.00,080110,,,A*69
$GPVTG,0.00,T,,M,0.00,N,0.00,K,A*3D

GPS數據格式定義為(以數據手冊為準):

GPS 數據格式
GPRMC(建議使用最小GPS數據格式)

$GPRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>
1) 標準定位時間(UTC time)格式:時時分分秒秒.秒秒秒(hhmmss.sss)。
2) 定位狀態,A = 數據可用,V = 數據不可用。
3) 緯度,格式:度度分分.分分分分(ddmm.mmmm)。
4) 緯度區分,北半球(N)或南半球(S)。
5) 經度,格式:度度分分.分分分分。
6) 經度區分,東(E)半球或西(W)半球。
7) 相對位移速度, 0.0 至 1851.8 knots
8) 相對位移方向,000.0 至 359.9度。實際值。
9) 日期,格式:日日月月年年(ddmmyy)。
10) 磁極變量,000.0 至180.0。
11) 度數。
12) Checksum.(檢查位)

 

GPGSV(所示衛星格式)

$GPGSV, <1>,<2>,<3>,<4>,<5>,<6>,<7>,<4>,<5>,<6>,<7>,<8>
1) 天空中收到訊號的衛星總數。
2) 定位的衛星總數。
3) 天空中的衛星總數,00 至 12。
4) 衛星編號, 01 至 32。
5) 衛星仰角, OO 至 90 度。
6) 衛星方位角, OOO 至 359 度。實際值。
7) 訊號噪聲比(C/No), 00 至 99 dB;無表未接收到訊號。
8) Checksum.(檢查位).

 

第<4>,<5>,<6>,<7>項個別衛星會重複出現,每行最多有四顆衛星。其餘衛星信息會於次一行出現,若未使用,這些字段會空白。

GPGSA(GPS精度指針及使用衛星格式)
$GPGSA,<1>,<2>,<3>,<3>,,,,,<3>,<3>,<3>,<4>,<5>,<6>,<7>

 

1)模式 2:M = 手動, A = 自動。
2)模式 1:定位型式 1 = 未定位, 2 = 二維定位, 3 = 三維定位。
3) PRN 數字:01 至 32 表天空使用中的衛星編號,最多可接收12顆衛星信息。
4) PDOP-位置精度稀釋 0.5 至 99.9.
5) HDOP-水平精度稀釋 0.5 to 99.9.
6) VDOP-垂直精度稀釋 0.5 to 99.9.
7) Checksum.(檢查位).

GPS固定數據輸出語句($GPGGA)
這是一幀GPS定位的主要數據,也是使用最廣的數據。為了便於理解,下面舉例說明$GPGGA語句各部分的含義。例1是用GN-77N和筆者開發的軟硬件接口,在筆者所在地接收到的$GPGGA語句的內容。
例1:$GPGGA,050901,3931.4449,N,11643.5123,E,1,07,1.4,76.2,M,-7.0,M,,*65
其標準格式為:$GPGGA,(1),(2),(3),(4),(5),(6),(7),(8),(9),M,(10),M,(11),(12)*hh(CR)(LF)
各部分所對應的含義為:
(1)定位UTC時間:05時09分01秒
(2)緯度(格式ddmm.mmmm:即dd度,mm.mmmm分);
(3)N/S(北緯或南緯):北緯39度31.4449分;
(4)經度(格式dddmm.mmmm:即ddd度,mm.mmmm分);
(5)E/W(東經或西經):東經116度43.5123分;
(6)質量因子(0=沒有定位,1=實時GPS,2=差分GPS):1=實時GPS;
(7)可使用的衛星數(0~8):可使用的衛星數=07;
(8)水平精度因子(1.0~99.9);水平精度因子=1.4;
(9)天線高程(海平面,-9999.9~99999.9,單位:m);天線高程=76.2m);
(10)大地橢球面相對海平面的高度(-999.9~9999.9,單位:m):-7.0m;
(11)差分GPS數據年齡,實時GPS時無:無;
(12)差分基準站號(0000~1023),實時GPS時無:無;
*總和校驗域;
hh 總和校驗數:65
(CR)(LF)回車,換行。

b.可視衛星狀態輸出語句($GPGSV)
例2:$GPGSV,2,1,08,06,33,240,45,10,36,074,47,16,21,078,44,17,36,313,42*78
標準格式:$GPGSV,(1),(2),(3),(4),(5),(6),(7),…(4),(5),(6),(7)*hh(CR)(LF)
各部分含義為:
(1)總的GSV語句電文數;2;
(2)當前GSV語句號:1;
(3)可視衛星總數:08;
(4)衛星號:06;
(5)仰角(00~90度):33度;
(6)方位角(000~359度):240度;
(7)信噪比(00~99dB):45dB(後面依次為第10,16,17號衛星的信息);
*總和校驗域;
hh 總和校驗數:78;
(CR)(LF)回車,換行。
註:每條語句最多包括四顆衛星的信息,每顆衛星的信息有四個數據項,即:
(4)-衛星號,(5)-仰角,(6)-方位角,(7)-信噪比。

沒有上一則|日誌首頁|沒有下一則
回應





Powered by Xuite
    沒有新回應!
關鍵字