
GPS通信协议及格式.doc
12页GPS通信协议及格式GPS communication protocol and formatNMEA is an abbreviation for the National Marine Electronics Association. The association is one specialized is engaged in Marine electronic equipment research of civil institutions, it established on GPS (global positioning system (GPS) communication interface between electronic equipment and protocol of NMEA standsrd・ NMEA - 0183 protocol is the most widely used on the GPS receiver at present, most of the common GPS receiver, GPS data processing software, the navigation software comply with or at least compatible with this agreement. The nme-0183 protocol defines a number of statements, blit the most commonly used or compatible statements are $GPGGA, $GPGSA, $GPGSV, $GPRMC, $GPVTG, $GPGLL, etc.Protocol syntax1) Global Positioning System Fix Data (GGA) GPS location infonnation$GPGGA, < 1 >, < 2 >, < 3 >, < 4 >, < 6 >, < 7 >, < 7 >, < 9 >,< 10 >, M, < 11 >0, < 11 >0,〈 12 >1 * hh< 1 > UTC time, HHMMSS (time minute) format< 2 > latitude DDMM. MMMM (degree) format (the previous 0 will also be transferred)< 3 > hemisphere N (northern hemisphere) or S (southern hemisphere)< 4 > longitude DDDMM. MMMM (degree) format (the previous 0 will also be transferred)< 5 > meridian (east longitude) or W (longitude)< 6 > GPS status: 0 二 undefined, 1 二 non-difference location, 2 二 difference location, 6 二 are estimated< 7 > is using the number of satellites in the solution location (00 12) (the previous 0 will also be transmitted)< 8 > HDOP level accuracy factor (0. 5 ~ 99. 9)< 9 > altitude (-9999.9 ~ 99999.9)< 10 > earth ellipsoid is relatively high in the earth level< 11 > difference time (the number of seconds in which the difference signal starts from the most recent time, if not the difference location will be empty< 12 > difference station ID number 0000 1023 (the previous 0 will also be transmitted, if not the difference location will be empty)2) GPS DOP and Active Satellites (GSA) current satellite information $GPGSA, < 1 >, < 2 >, < 3 >, < 3 >, < 3 >, < 3 >,< 3 >, < 3 >, < 3 >, < 3 >, < 3 >, < 3 >, < 3 >, < 3 >, < 4 >,< 5 >, 〈 6 > * hh< 1 > mode, M 二 manual, A 二 automatic< 2 > location type, 1 二 no location, 2 = 2D location, 3 = 3D positioning< 3 > PRN (pseudo random noise code), which is being used to solve the location of the satellite number (01 -32, the 0 will also be transmitted)・< 4 > PDOP position di.1 ution (0. 5 99. 9)< 5 > HDOP level accuracy factor (0. 5 ~ 99. 9)< 6 > VDOP vertical dilution of precision (0. 5 ~ 99. 9)3) GPS Satellites in View (GSV) visible satellite informationSGPGSV, < 1 >, < 2 >, < 3 >, < 4 >, < 5 >, < 6 >, < 7 >..・ < 4 >, < 5 >, < 6 >,〈 7 > * hh< 1 > GSV statement total< 2 > the number of GSV< 3 > the total number of satellites (00 12, 0 will also be transmitted)< 4 > PRN (pseudo-random noise code) (01~32, 0 will also be transmitted) < 5 > satellite elevation (00 90 degree, 0 will also betransmitted)< 6 > satellite azimuth (000 ~ 359 degree, the previous 0 will also be transmitted)< 7 > signal-to-noise ratio (00-99db), no trace to the satellite, and 0 will also be transmitted・Note: < 4 >, < 5 >, < 6 >, < 7 > information wi 11 be shown in the loop according to each satellite, and each GSV statement can display up to 4 satellites・ Other satellite information will be exported in the next sequence of NMEA0183 statements・4) it Minimum Specific GPS/TRANSIT Data (RMC) Recommended positioning information $GPRMC, < 1 >, < 2 >, < 3 >, < 4 >, <5 >, < 6 >, < 7 >, < 8 >, < 9 >, < 10 >, < 11 >, < 12 > * hh< 1 > UTC time, HHMMSS (time minute) format< 2 > status, A 二 valid location, V 二 invalid location< 3 > latitude DDMM. MMMM (degree) format (the previous 0 w订 1 also be transferred)< 4 > latitude hemisphere N (northern hemisphere) or S (southern hemisphere)< 5 > longitude DDDMM. MMMM (degree) format (the previous 0 wi.ll also be transferred) < 6 > meridian (east longitude) or W (longitude)< 7 > ground rate (000. 0 ~ 999. 9), the preceding 0 w订 1 also be transmitted< 8 > ground course (000. 0 ~ 359・ 9 degrees, with true north as reference, and 0 in front will be transferred)< 9 > UTC date, ddmmyy (day of the month) format< 10 > magnetic declination (000.0 、 180.0 degree), and the preceding 0 will also be transmitted・< 11 > magnetic declination, E (east) or W (west)< 12 > pattern instruction (only NMEA0183 3.00 version output, A 二 independent location, D 二 difference, E 二 estimate, N 二 data invalid)5) Track Made Good and Ground Speed (VTG) Ground Speed informationSGPVTG, < 1 >, T, < 2 >, M, < 3 >, N, < 4 >, K, < 5 > * hh< 1 > is based on the true north for the ground course (000 〜 359 degrees c), and the preceding 0 will also be transmitted・< 2 > is referred to the ground course for reference on the magnetic north (000 〜359 degrees, and the previous 0 will also be transferred) < 3 > ground rate (000.0 ~ 999.9), the preceding 0 will alsobe 。












