Figure 1: Image showing how the GPS receiver works
Fig. 2: Image showing the format of the NMEA phrase
|
TRANSMISSION RATE
|
Data Bits
|
STOP
|
PARITY
|
HANDSHAKE
|
|
4800bps
|
8
|
1
|
None
|
None
|
GPS Phrases
GPS Phrases
Some of the GPS phrases are explained below:
1) $GPGA – Global Positioning System Correction Data
$GPGGA,132453.970,2651.0138,N,07547.7054,E,1,03,7.1,42.5,M,-42.5,M,,0000*45
|
GGA
132453.970
2651.0138,N
07547.7054,E
1
03
7.1
42.5,M
46.9.M
Empty field
Empty field
*45
|
Global Positioning System Correction Data
Correction made at 13:24:53970 UTC
Latitude 26 degrees 51.0138′ N
Longitude 07 degrees 54.7054′ E
Correct the quality:
0 = invalid
1 = GPS position (SPS)
2 = DGPS correction
3 = PPS correction
4 = Real-Time Kinematics
5 = floating RTK
6 = Estimated (account settlement)
7 = Manual entry mode
8 = Simulation mode
Number of satellites being tracked
Horizontal position dilution
Altitude, meters, above mean sea level
Geoid height (mean sea level) above ellipsoid WGS84
Time in seconds since the last DGPS update
DGPS station identification number
Checksum data always starts with *
|
$GPGSV,3,1,12,18,57,291,40,21,56,346,45,26,23,043,46,29,57,174,25*71
$GPGSV,3,2,12,22,28,259,16,27,13,107,,09,11,130,,16,09,288,25*79
$GPGSV,3,3,12,30,08,210,33,06,08,320,22,25,02,188,26,14,01,203,21*7B
where:
|
GSV
3
1
12
18
57
291
40
*75
|
Satellites in sight
Number of sentences for complete data
Phrase 1
Number of visible satellites
Satellite PRN number (pseudorandom noise)
Elevation, degrees
Azimuth, degrees
SNR (Signal-to-Noise Ratio) – the higher the better
For up to 4 satellites per phrase
Checksum data always starts with *
|
|
1
|
Total number of messages of this type in this cycle
|
|
two
|
Message number
|
|
3
|
Total number of SVs viewed
|
|
4
|
SV PRN Number
|
|
5
|
Elevation in degrees, maximum 90
|
|
6
|
Azimuth, degrees of true north, 000 to 359
|
|
7
|
SNR, 00-99 dB (null when SV is visible but not tracked)
|
|
8-11
|
Information about the second SV, same as field 4-7
|
|
12-15
|
Information about the third SV, same as field 4-7
|
|
16-19
|
Information about the fourth SV, same as field 4-7
|
$GPRMC,132455.970,A,2651.0145,N,07547.7051,E,0.50,342.76,301010,,,A*64
where:
|
RMC
132455.970
A
2651.0145,N
07547.7051,E
0.50
342.76
301010
Empty field (xxx.x, y)
*64
|
Recommended minimum sentence C
Correction made at 13:24:55.970 UTC
Status A=Active or V=Empty.
Latitude 26 degrees 51.0145′ N
Longitude 075 degrees 47.7051′ E
Ground speed in knots
Tracking Angle in Degrees True
Date: October 30, 2010
Magnetic Variation
Checksum data always starts with *
|
$GPVTG,054.7,T,034.4,M,005.5,N,010.2,K*48
where:
|
VTG
054.7, T
034.4,M
005.5,N
010.2,K
*48
|
Good track and ground speed
True track good (degrees)
Well-made magnetic track
Ground speed, knots
Ground speed, Kilometers per hour
Checksum data always starts with *
|
|
1
|
Well done track
|
|
two
|
Fixed 'T' text indicates the correct track is relative to true north
|
|
3
|
Well-made magnetic track
|
|
4
|
Fixed text 'N' indicates magnetic degrees
|
|
5
|
Speed over ground in knots
|
|
6
|
Fixed text 'N' indicates ground speed in knots
|
|
7
|
Speed over ground in kilometers/hour
|
|
8
|
Fixed text 'K' indicates ground speed is in kilometers/hour
|
|
9
|
Checksum
|
$GPGSA,A,2,26,21,18,,,,,,,,,7.1,7.1,1.0*3C
where:
|
GSA
A
two
26, 21, 18…
7.1
7.1
1.0
*3C
|
Satellite status
Automatic selection of 2D or 3D correction (M = manual)
2D correction
where:
1 = no correction
2 = 2D correction
3 = 3D correction
Satellite PRNs used for correction (space for 12)
PDOP (precision dilution)
Precision Horizontal Dilution (HDOP)
Vertical Precision Dilution (VDOP)
Checksum data always starts with *
|
Proprietary Sentences
NMEA allows proprietary phrases for private companies and they can be used to control information or as GPS output. Proprietary sentences always begin with P followed by a three-character manufacturer code and additional characters to determine the sentence type.
|
S. No.
|
Company
|
Phrase
|
|
1
|
Garmin
|
$PGRMME,15,0,M,45,0,M,25,0,M*1C
|
|
two
|
Magellan
|
$PMGNST,02.12,3,T,534.05,0,+03327.00*40
|
|
3
|
Rockwell International
|
$PRWIRID,12.01.83.12/15/97.0003,*42
|
|
4
|
Sony
|
$PSNY,0,00,05,500,06,06,06,06*14
|
|
5
|
Sir
|
$PSRF103,05,00,01,01*20
|
|
S. No.
|
Phrase
|
Description
|
|
1
|
$GPAM
|
Arrival alarm at the reference point
|
|
two
|
$GPALM
|
GPS Almanac Data
|
|
3
|
$GPAPA
|
Autopilot phrase “A”
|
|
4
|
$GPAPB
|
Autopilot phrase “B”
|
|
5
|
$GPASD
|
Autopilot system data
|
|
6
|
$GPBEC
|
Bearing and distance to waypoint, Dead Reckoning
|
|
7
|
$GPBOD
|
Bearing, origin to destination
|
|
8
|
$GPBWC
|
Bearing and distance to landmark, Great Circle
|
|
9
|
$GPBWR
|
Bearing and distance to reference point, Rhumb line
|
|
10
|
$GPBWW
|
Bearing, reference point to reference point
|
|
11
|
$GPDBT
|
Depth below the transducer
|
|
12
|
$GPDCN
|
Decca Position
|
|
13
|
$GPPT
|
Depth
|
|
14
|
$GPFSI
|
Frequency Set Information
|
|
15
|
$GPGA
|
Global Positioning System Correction Data |
|
16 |
$GPGLC
|
Geographical position, Loran-C
|
|
17
|
$GPGLL
|
Geographic position, latitude/longitude
|
|
18
|
$GPGSA
|
GPS DOP and active satellites
|
|
19
|
$GPGSV
|
GPS satellites in sight
|
|
20
|
$GPGXA
|
TRAFFIC POSITION
|
|
21
|
$GPHDG
|
Heading, Deviation and Variation |
|
22 |
$GPDT
|
Title, True
|
|
23
|
$GPHSC
|
Heading Direction Command
|
|
24
|
$GPLCD
|
Loran-C signal data
|
|
25
|
$GPMTA
|
Air temperature (to be eliminated)
|
|
26
|
$GPMTW
|
Water temperature
|
|
27
|
$GPMWD
|
Wind direction
|
|
28
|
$GPMWV
|
Wind speed and angle
|
|
29
|
$GPTTM
|
Tracked target message
|
|
30
|
$GPVBW
|
Dual Speed Land/Water
|
|
31
|
$GPVDR
|
Set and drift
|
|
32
|
$GPROO
|
Active waypoint route (non-default)
|
|
33
|
$GPOLN
|
Omega track numbers
|
|
34
|
$GPVHW
|
Water speed and direction
|
|
35
|
$GPVLW
|
Distance traveled by water
|
|
36
|
$GPVPW
|
Speed measured parallel to the wind
|
|
37
|
$GPVTG
|
Well-made track and ground speed
|
|
38
|
$GPWCV
|
Waypoint closing speed
|
|
39
|
$GPWNC
|
Distance, landmark to landmark
|
|
40
|
$GPTRF
|
Traffic correction data
|
|
41
|
$ GPSTN
|
Multiple Data ID
|
|
42
|
$GPRMA
|
Loran-C Recommended Specific Minimum Data
|
|
43
|
$GPRMB
|
Minimum recommended navigation information
|
|
44
|
$GPRMC
|
Recommended specific minimum GPS/TRAFFIC data
|
|
45
|
$GPROT
|
Routes
|
|
46
|
$GPSFI
|
Sweep Frequency Information
|
|
47
|
$GPOSD
|
Ship's own data
|
|
48
|
$GPROT
|
Turnover rate
|
|
49
|
$GPRPM
|
Revolutions
|
|
50
|
$GPRSA
|
Rudder sensor angle
|
|
51
|
$GPRSD
|
RADAR system data
|
|
52
|
$GPWPL
|
Waypoint location |
|
53 |
$GPXDR
|
Transducer measurements
|
|
54
|
$GPXTE
|
Cross error, measured
|
|
55
|
$GPXTR
|
Cross range error, dead reckoning
|
|
56
|
$GPZDA
|
Hour and date
|
|
57
|
$GPZFO
|
UTC and time of the origin waypoint
|
|
58
|
$GPZTG
|
UTC and time to destination waypoint
|







