Analysis of GPS data format

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

Analysis of GPS data format

0 overview

The GPS receiver can provide ASCII and binary two format.

The ASCII code is NMEA-0183, NMEA-0183 is the standard format America National Marine Electronics Association for marine electronic equipment development.

It was in the past the sea based standard format for electronic equipment, 0180 and 0182, an increase of GPS receiver output content and complete.

Now widely used is the Ver version 2. Now, except for a few GPS receiver, the receiver of almost all the adopted this format.

GPS after power on, it will have time to return a certain format data, the data format is: $information types,x,x,x,x,x,x,x,x,x,x,x,x,x.

The beginning of each line of the characters are '$', then the information type, followed by the data, separated by commas.

$GPGGA which is a data format is most commonly used. A line of complete data are as follows:

$GPRMC,204523.00,A,2233.94321,N,11402.42498,E,0.000,,121213,,,A*78
Information type:

1 GSA

GPS DOP and Active Satellites(GSA)Current satellite information, format:$GPGSA,<1>,<2>,<3>,<3>,,,,,<3>,<3>,<3>,<4>,<5>,<6>,<7>
<1>Model: M = A = manual, automatic.
<2>Positioning type 1 = not positioning, 2 = two-dimensional positioning, 3 = 3D positioning.
<3>PRN numbers: 01 to 32 meter sky satellite number in use, can receive 12 satellite information.
<4> PDOP position dilution of precision(0.5~99.9).
<5> HDOP level precision factor(0.5~99.9).
<6> VDOP vertical dilution of precision(0.5~99.9).
<7> Checksum (check bit).
For example:$GPGSA,A,3,09,19,07,08,27,11,03,01,28,23,,,2.64,1.59,2.11*0F

2 GSV


GPS Satellites in View(GSV)The visible satellite information, format:$GPGSV, <1>,<2>,<3>,<4>,<5>,<6>,<7>,?<4>,<5>,<6>,<7>,<8>
<1> The total number of GSV statements.
<2> The GSV number.
<3> The total number of visible satellites, 00 to 12
<4> Satellite number, 01 to 32
<5>Satellite elevation, 00 to 90 degrees.
<6>Satellite azimuth angle, 000 to 359 degrees. The actual value.
<7>Signal to noise ratio (C/No), 00 to 99 dB; no table does not receive the signal.
<8>Checksum. (check bit).
The <4> <5>, <6>, <7>,; individual satellite would be repeated, with up to four satellites in each line. The satellite information will be on the next line, if not use, these fields blank.

3 GGA


Global Positioning System Fix Data(GGA)GPS positioning information, which is the main data of one frame of GPS positioning, but also the most widely used data.

Format:$GPGGA,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,M,<10>,M,<11>,<12>*hh
<1> The UTC time, the format for the hhmmss.sss;
<2> Latitude, the format of ddmm.mmmm (the first one is zero will also transfer),
<3> Latitude hemisphere, N or S (North or South)
<4> The longitude, the format of dddmm.mmmm (the first zero will also transfer),
<5> Longitude hemisphere, E or W (East or West)
<6> The GPS state, 0 not positioning, 1 non differential positioning, 2 differential positioning, 3 invalid PPS, 6 are estimates
<7> The use of satellite number, from 00 to 12 (the first zero will also transfer)
<8> The level of precision, 0.5 to 99.9
<9> Antenna height above sea level to 9999.9 meters, -9999.9
M means the unit meters
<10> Geoid height to 9999.9 meters, -9999.9
M means the unit meters
<11> Differential GPS data period (RTCM SC-104), the number of seconds finally set up RTCM transmission, such as not differential positioning is empty
<12> Differential reference station label, from 0000 to 1023 (the first 0 will also transfer).
* The end of statement identifier
HH began to * between all the ASCII code XOR and from $
For example:$GPGGA,215026.00,2233.94798,N,11402.42687,E,1,10,2.24,58.8,M,-2.4,M,,*77

4 RMC


Recommended Minimum Specific GPS/TRANSIT Data(RMC)The recommended location information, format:$GPRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>*hh
<1> UTC time, hhmmss (when) format;
<2> Positioning, A= positioning, V= invalid location;
<3> Altitude ddmm.mmmm (degree) format (in front of 0 will also be transmitted);
<4> Latitude hemisphere N (northern hemisphere) or S (Nan Banqiu);
<5> Longitude dddmm.mmmm (degree) format (in front of 0 will also be transmitted);
<6> Longitude hemisphere E (n) or W (West);
<7> Ground speed (section 000.0~999.9, in front of 0 will also be transmitted);
<8> The ground course (000.0~359.9 degrees, with one for reference, in front of 0 will also be transmitted)
<9> UTC date, ddmmyy (DMY) format;
<10> Magnetic declination (000.0~180.0 degrees, in front of 0 will also be transmitted)
<11> Magnetic declination direction, E (East) or W (West)
<12> Mode indication (only NMEA0183 3 version of the output, A= autonomous positioning, D= difference, E= estimation, N= data is invalid)

For example:$GPRMC,204522.00,A,2233.94321,N,11402.42498,E,0.000,,121213,,,A*79

5 VTG


Track Made Good and Ground Speed(VTG)Ground speed information, format:$GPVTG,<1>,T,<2>,M,<3>,N,<4>,K,<5>*hh
<1> Ground heading to North for reference (000~359 degrees, in front of 0 will also be transmitted)
<2> The ground course to magnetic north for reference (000~359 degrees, in front of 0 will also be transmitted)
<3> Ground speed (section 000.0~999.9, in front of 0 will also be transmitted)
<4> Ground speed (0000.0~1851.8 km / h, in front of 0 will also be transmitted)
<5> Mode indication (only NMEA0183 3 version of the output, A= autonomous positioning, D= difference, E= estimation, N= data is invalid)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Chris at December 16, 2013 - 6:47 PM