Professional Documents
Culture Documents
TECHNICAL SPECIFICATION
_______________________________________________________________________
GARMIN· 1200 E. 151st St· Olathe, Kansas 66062· (913)397-8200· (913)397-8282 FAX
©2000 GARMIN Corporation
All rights reserved. No part of this manual may be reproduced or transmitted in any
form or by any means, electronic or mechanical, including photocopying and recording,
for any purpose without the express written permission of GARMIN.
Information in this document is subject to change without notice. GARMIN reserves the
right to change or improve their products and to make changes in the content without
obligation to notify any person or organization of such changes or improvements.
190-00125-00 Rev. G
Table of Contents
i
4.2.7 Recommended Minimum Specific GPS/TRANSIT Data (RMC)................ 24
4.2.8 Track Made Good and Ground Speed with GPS Talker ID (VTG) ........... 24
4.2.9 Geographic Position with LORAN Talker ID (LCGLL) .............................. 24
4.2.10 Track Made Good and Ground Speed with LORAN Talker ID (LCVTG) .. 25
4.2.11 Estimated Error Information (PGRME) ..................................................... 25
4.2.12 GPS Fix Data Sentence (PGRMF) ........................................................... 25
4.2.13 Sensor Status Information (PGRMT) ........................................................ 26
4.2.14 3D velocity Information (PGRMV)............................................................. 26
4.2.15 DGPS Beacon Information (PGRMB) ....................................................... 27
4.3 Baud Rate Selection....................................................................................... 27
4.4 One-Pulse-Per-Second Output....................................................................... 27
4.5 RTCM Received Data..................................................................................... 28
Appendix A .................................................................................................................... 29
Earth Datums.............................................................................................................. 29
Appendix B .................................................................................................................... 32
GPS 25LP Connectors ............................................................................................... 32
Appendix C .................................................................................................................... 33
GPS 25LP Evaluation Kits.......................................................................................... 33
Appendix D .................................................................................................................... 35
Phase Output Data Binary Format ............................................................................. 35
GARMIN Phase Monitor Program - gps25pm.exe...................................................... 38
ii
Section 1
Introduction
1.1 Overview
The GARMIN GPS 25LP Series are GPS sensor boards designed for a broad spectrum
of OEM (Original Equipment Manufacturer) system applications. The GPS 25LPs will
simultaneously track up to twelve satellites providing fast time-to-first-fix, one second
navigation updates and low power consumption. Their far-reaching capability meets
the sensitivity requirements of land navigation as well as the dynamics requirements of
high performance aircraft.
The GPS 25LP design utilizes the latest surface mount technology as well as high-level
circuit integration to achieve superior performance while minimizing space and power
requirements. All critical components of the system including the RF/IF receiver
hardware and the digital baseband are designed and manufactured by GARMIN to
ensure the quality and capability of the GPS 25LP sensor board. This hardware
capability combined with software intelligence makes the board set easy to integrate
and use.
The GPS 25LP is designed to withstand rugged operating conditions, however it should
be mounted in an enclosure as part of a larger system designed by an OEM or system
integrator. A minimum system must provide the sensor board with conditioned input
power and L1 GPS RF signal. The system may communicate with the board set via a
choice of two CMOS/TTL or two RS-232 compatible bi-directional communications
channels. A highly accurate one-pulse-per-second (PPS) output can be utilized in
applications requiring precise timing measurements. An on-board memory
rechargeable backup battery allows the sensor board to retain critical data such as
satellite orbital parameters, last position, date and time. Non-volatile memory is also
used to retain board configuration settings even if backup battery power fails. End user
interfaces such as keyboards and displays are added by the application designer.
The GPS 25LP sensors are delineated with a three letter extension to designate the
operating voltage range and the serial data voltage specification.
High Voltage - GPS25-HVx designation indicates that the unit will accept a high
input voltage. The internal switching regulator will operate from a 6VDC to 40VDC
unregulated supply.
1
Low Voltage - GPS25-LVx designation indicates that the unit is designed to
operate from a low voltage 3.6VDC to 6.0VDC supply. Operation at about 4VDC
is the most power efficient mode of operation for the GPS25LP sensor. The unit is
protected if a high voltage is inadvertently applied to the input.
RS-232 Serial Data - GPS25-xVS designation means that the two bi-directional
serial data ports are true RS-232 ports conforming to the RS-232E standard.
CMOS Serial Data - GPS25-xVC designation means that the two bi-directional
serial data ports use CMOS output buffers. The inputs buffers will accept either
CMOS(TTL) voltage levels or RS-232 voltage levels. This configuration is
adequate for communicating directly with serial devices over short cable lengths
(less than 20 meters).
1.3 Features
The GPS 25LP sensor boards provide a host of features that make it easy to integrate
and use.
2
10) Flexible input voltage levels of 3.6Vdc to 6.0Vdc with overvoltage protection in the
-LVx, and 6.0Vdc to 40Vdc in the -HVx versions.
11) Fully shielded construction for maximum EMI and RFI protection
12) FLASH based program memory. New software revisions upgradeable through
serial interface
1) Input voltage: +3.6VDC to 6.0VDC regulated, 150 mVp-p ripple -LVx versions.
+6.0VDC to 40VDC unregulated -HVx version.
2) Input current: 120 mA typical 140 mA max -LVx versions, 20 mA while in power
down.
870mW typical 1000mW max -HVx version, 300uA while in power
down.
3) Backup power: 3V Rechargeable Lithium cell battery, up to 6 month charge
4) Auxiliary battery recharge voltage: 4Vdc to 35Vdc at 4mA typical.
5) Receiver sensitivity: -165dBW minimum
3
1.4.4 Performance
1.4.5 Interfaces
1) Dual channel CMOS/TTL level (-xVC versions) or RS-232 compatible level (-xVS
versions), with user selectable baud rate (300, 600,1200, 2400, 4800, 9600,
19200)
2) NMEA 0183 Version 2.0 ASCII output (GPALM, GPGGA, GPGSA, GPGSV,
GPRMC, GPVTG, PGRME, PGRMT, PGRMV, PGRMF, LCGLL, LCVTG)
Inputs
- Initial position, date and time (not required)
- Earth datum and differential mode configuration command, PPS Enable,
almanac
Outputs
- Position, velocity and time
- Receiver and satellite status
- Differential Reference Station ID and RTCM Data age
- Geometry and error estimates
3) Real-time Differential Correction input (RTCM SC-104 message types 1,2,3 and 9)
4) One-pulse-per-second timing output
5) Optional binary TTL output data format
6) Binary Format Phase Data
4
1.5 Application
5
recommended since it may cause rapid temperature changes which may
temporarily affect the frequency stability of the internal oscillator.
3) Interruptions in the RF signal can increase acquisition time. Antenna location with
clear line-of-sight to all directions in the sky will yield the best performance.
4) The GPGSV sentence contains signal strength information for the visible
satellites. Typical values will be between 30 db and 50 db. A majority of values
near the lower limit may indicate a marginal RF signal.
6
Section 2
Operational Characteristics
This section describes the basic operational characteristics of the GPS 25LP sensor
boards. Additional information regarding input and output specifications are contained
in Section 4.
After input power has been applied to the GPS 25LP sensor boards and periodically
thereafter, the units will perform critical self test functions and report the results over
the output channel(s). The following tests will be performed:
1) RAM check
2) FLASH test
3) Receiver test
4) Real-time clock test
5) Oscillator check
In addition to the results of the above tests, the board set will report software version
information.
2.2 Initialization
After the initial self test is complete, the GPS 25LP will begin the process of satellite
acquisition and tracking. The acquisition process is fully automatic and, under normal
circumstances, will take approximately 45 seconds to achieve a position fix (15
seconds if ephemeris data is known). After a position fix has been calculated, valid
position, velocity and time information will be transmitted over the output channel(s).
Like all GPS receivers, the GPS 25LP utilizes initial data such as last stored position,
date and time as well as satellite orbital data to achieve maximum acquisition
performance. If significant inaccuracy exists in the initial data, or if the orbital data is
obsolete, it may take 1.5 minutes to achieve a navigation solution. The GPS 25LP
AutoLocateTM feature is capable of automatically determining a navigation solution
without intervention from the host system. However, acquisition performance can be
improved if the host system initializes the board set following the occurrence of one or
more of the following events:
7
1) Transportation over distances further than 1500 kilometers
2) Failure of the on-board memory battery
3) Stored date/time off by more than 30 minutes
See Section 4 for more information on initializing the GPS 25LP.
2.3 Navigation
After the acquisition process is complete, the GPS 25LP will begin sending valid
navigation information over its output channels. These data include:
1) Latitude/longitude/altitude
2) Velocity
3) Date/time
4) Error estimates
5) Satellite and receiver status
The GPS 25LP sensor boards will select the optimal navigation mode (2D or 3D) based
on available satellites and geometry considerations. When navigating in the 2D mode
the board set utilizes the last computed altitude or the last altitude supplied by the host
system, whichever is newer. The host system must ensure that the altitude used for 2D
navigation is accurate since the resulting position error may be as large as the altitude
error. See Section 4 for information altitude initialization.
The GPS 25LP will default to automatic differential mode -- “looking” for real-time
differential corrections in RTCM SC-104 standard format using message types 1,2,3 or
9 and attempting to apply them to the satellite data in order to produce a differential
(DGPS) solution. The host system, at its option, may also command the board set to
choose differential only mode. When navigating in the differential only mode, the board
set will output a position only when a differential solution is available.
The GPS 25LP sensor boards will automatically update satellite orbital data as they
operate. The intelligence of the board set combined with its hardware capability allows
these data to be collected and stored without intervention from the host system. A few
key points should be considered regarding this process:
1) If the sensor board is not operated for a period of six (6) months or more, the unit
will “search the sky” in order to collect satellite orbital information. This process is
fully automatic and, under normal circumstances, will take 3-4 minutes to achieve
8
a navigation solution. However, the host system should allow the board set to
remain on for at least 12.5 minutes after the first satellite is acquired (see Section
4 for more information on status indications).
2) If the memory backup battery fails, the sensor board will search the sky as
described above. The system designer should be aware of the availability of
standby power input to the board set to prevent this situation.
3) If the initial data is significantly inaccurate, the board set will perform an operation
known as AutoLocateTM. This procedure is fully automatic and, under normal
circumstances, will require 1.5 minutes to calculate a navigation solution.
AutoLocateTM, unlike search the sky, does not require that the sensor board
continue to operate after a fix has been obtained.
9
Section 3
Hardware Interface
The GPS 25LP sensor board mounts via four #4 or M-3 size screws (see drawing).
The GPS 25LP sensor boards features a single row, right angle, 12-pin male
connector. The mating connector is available from JST Corporation (see appendix B).
10
3.3 Connector Pin-Out
PIN-OUT DIAGRAM
The following is a functional description of each pin of the interface connector. The
pins are numbered from left to right as viewed from the connector end of the board with
the connector on top.
Pin 1: TXD2 - Second Serial Asynchronous Output. Electrically identical to
TXD1. This output provides phase data (Ver 2.03) see Appendix D
Pin 2: RXD2 - Second Serial Asynchronous Input. Electrically identical to
RXD1. This input may be used to receive serial differential GPS data
formatted per “RTCM Recommended Standards For Differential Navstar
GPS Service, Version 2.1” (see Section 4 for more details).
Pin 3: PPS - One-Pulse-Per-Second Output. Typical voltage rise and fall times
are 300 nSec. Impedance is 250 ohms. Open circuit output voltage is 0V
and Vin. The default format is a 100 millisecond high pulse at a 1Hz rate,
the pulse width is programmable from a configuration command in
20msec increments. Rising edge is synchronized to the start of each
GPS second. This output will provide a nominal 700 mVp-p signal into a
50 Ohm load. The pulse time measured at the 50% voltage point will be
about 50 nSec earlier with a 50 Ohm load than with no load.
Pin 4: TXD1 - First Serial Asynchronous Output. CMOS/TTL output levels vary
between 0V and Vin in the -LVC version. In the -LVS and -HVS
versions a RS-232 compatible output driver is available. This output
normally provides serial data which is formatted per “NMEA 0183, Version
2.0”. Switchable to 300, 600, 1200, 2400, 4800, 9600 or 19200 BAUD.
The default BAUD is 4800. This output data functions in parallel with pin
12.
11
Pin 5: RXD1 - First Serial Asynchronous Input. RS-232 compatible with
maximum input voltage range -25 < V < 25. This input may be
directly connected to standard 3 to 5Vdc CMOS logic. The
minimum low signal voltage requirement is 0.8V, and the maximum
high signal voltage requirement is 2.4V. Maximum load impedance
is 4.7K ohms. This input may be used to receive serial
initialization/configuration data, as specified in Section 4.1.
Pin 6: POWER DOWN - External Power Down Input. Inactive if not
connected or less than 0.5V. Active if greater than 2.7V. Typical
switch point is 2.0V @ 0.34 mA. Input impedance is 15K Ohms.
Activation of this input powers the internal regulators off and drops
the supply current below 20mA in the -LVx version and below 1mA in the
-HVx version. The computer will be reset when power is restored.
12
Typical Embedded Application Interconnect
For embedded applications where the sensor board will be connected directly to the
host system microprocessor through standard CMOS logic, the following
connections are suggested.
The following connections are suggestions for applications where the sensor board will
be connected to a personal computer via a standard RS-232 interface.
13
3.4 Antenna Connection
The GPS 25LP sensor boards make their antenna connections via a 50 ohm MCX style
connector attached directly to the sensor board (+Vin-0.4V @ 15 mA power is supplied
on the center conductor for the antenna).
The recommended GARMIN remote antenna for the GPS 25LP series is the GA27. It
has eight feet of RG-174A/U type cable with a MCX connector installed for attachment
to the sensor board. An extension cable with up to -5dB additional attenuation at 1.5
GHz may be used with the GA27 (either 50 Ohm or 75 Ohm impedance cable is
permitted).
A passive antenna may be used with the GPS 25LP series sensor boards, provided no
more than -2dB or -3dB cable loss is inserted between the antenna and the sensor.
Higher gain competitors’ antennas may be used provided there is adequate cable
attenuation to prevent overloading the sensitive GPS 25LP receiver. 15dB excessive
antenna system gain (LNA Gain - Cable Loss) should be considered a maximum.
Check to insure that the antenna in question will operate properly with the antenna bias
voltage that is supplied by the GPS 25LP, when powered by the desired Vin voltage.
The GPS 25LP will current limit for loads above 50mA to prevent damage, should the
antenna cable become accidentally shorted.
The following table may be used to estimate the typical attenuation of various cable
types at 1.5 GHz. For example, a 15 foot length of RG-188 may have 4.5 dB
attenuation. The attenuation of different styles of the same cable type may vary. Refer
to the specifications of the actual cable that will be used.
14
Type Typical Attenuation dB/100’ @ 1 GHz
RG-211A/228A 4.5
RG-217/224/293/14 5.8
RG-8/215/216 9
RG-6 11
RG-59 11.5
RG-58 20
RG-188 30
RG-174 31
RG-178 45
15
Section 4
Software Interface
The GPS 25LP interface protocol design on TXD1/RXD1 is based on the National
Marine Electronics Association’s NMEA 0183 ASCII interface specification, which is
fully defined in “NMEA 0183, Version 2.0” (copies may be obtained from NMEA, P.O.
Box 50040, Mobile, AL, 36605, U.S.A.) and the Radio Technical Commission for
Maritime Services’ “RTCM Recommended Standards For Differential Navstar GPS
Service, Version 2.1, RTCM Special Committee No. 104” (copies may be obtained from
RTCM, P.O. Box 19087, Washington, D.C., 20036, U.S.A.). The GPS 25LP interface
protocol, in addition to transmitting navigation information as defined by NMEA 0183,
transmits additional information using the convention of GARMIN proprietary
sentences.
Binary phase data information is output on TXD2, see Appendix D for details.
The following sections describe the NMEA data format of each sentence transmitted
and received by the GPS 25LP sensor board. The baud rate selection, one-pulse-per-
second output interfaces and RTCM differential GPS input are also described.
All sentences received by the GPS 25LP must be terminated with <CR><LF>, but do
not require the checksum *hh. The checksum is used for parity checking data and it is
recommended that the checksum be used in environments containing high
electromagnetic noise. It is generally not required in normal PC environments.
Sentences may be truncated by <CR><LF> after any data field and valid fields up to
that point will be acted on by the GPS 25LP.
$GPALM,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>,<13>,<14>,<15>
*hh<CR><LF>
The $GPALM sentence can be used to initialize the sensor board's stored almanac
information if battery back-up has failed.
16
<1> Total number of ALM sentences to be transmitted by the sensor board during
almanac download. This field can be null or any number when sending almanac
to the sensor board.
<2> Number of current ALM sentence. This field can be null or any number when
sending almanac to the sensor board.
<3> Satellite PRN number, 01 to 32.
<4> GPS week number.
<5> SV health, bits 17-24 of each almanac page.
<6> Eccentricity
<7> Almanac reference time.
<8> Inclination angle.
<9> Rate of right ascension.
<10> Root of semi major axis.
<11> Omega, argument of perigee.
<12> Longitude of ascension node.
<13> Mean anomaly
<14> afo clock parameter
<15> af1 clock parameter
The $PGRMI sentence provides information used to initialize the sensor board set
position and time used for satellite acquisition. Receipt of this sentence by the board
set causes the software to restart the satellite acquisition process. If there are no
errors in the sentence, it will be echoed upon receipt. If an error is detected, the
echoed PGRMI sentence will contain the current default values. Current PGRMI
defaults can also be obtained by sending $PGRMIE to the board.
$PGRMI,<1>,<2>,<3>,<4>,<5>,<6>,<7>*hh<CR><LF>
The $PGRMC sentence provides information used to configure the sensor board
operation. Configuration parameters are stored in non-volatile memory and retained
17
between power cycles. The GPS 25LP will echo this sentence upon its receipt if no
errors are detected. If an error is detected, the echoed PGRMC sentence will contain
the current default values. Current default values can also be obtained by sending
$PGRMCE to the board.
$PGRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>,<13>,<14>*hh<CR
><LF>
<1> Fix mode, A = automatic, 2 = 2D exclusively (host system must supply altitude),
3 = 3D exclusively
<2> Altitude above/below mean sea level, -1500.0 to 18000.0 meters
<3> Earth datum index. If the user datum index (96) is specified, fields <4> through
<8> must contain valid values. Otherwise, fields <4> through <8> must be null.
Refer to Appendix A for a list of earth datums and the corresponding earth datum
index.
<4> User earth datum semi-major axis, 6360000.0 to 6380000.0 meters (.001 meters
resolution)
<5> User earth datum inverse flattening factor, 285.0 to 310.0 (10-9 resolution)
<6> User earth datum delta x earth centered coordinate, -5000.0 to 5000.0 meters (1
meter resolution)
<7> User earth datum delta y earth centered coordinate, -5000.0 to 5000.0 meters (1
meter resolution)
<8> User earth datum delta z earth centered coordinate, -5000.0 to 5000.0 meters (1
meter resolution)
<9> Differential mode, A = automatic (output DGPS data when available, non-DGPS
otherwise), D = differential exclusively (output only differential fixes)
<10> NMEA Baud rate, 1 = 1200, 2 = 2400, 3 = 4800, 4 = 9600, 5 = 19200, 6 = 300, 7
= 600
<11> Velocity filter, 0 = No filter, 1 = Automatic filter, 2-255 = Filter time constant (10 =
10 second filter
<12> PPS mode, 1 = No PPS, 2 = 1 Hz
<13> PPS pulse length, 0-48 = (n+1)*20msec. Example n = 4 ð 100 msec pulse
<14> Dead reckoning valid time 1-30 (sec)
All configuration changes take effect after receipt of a valid value except baud rate and
PPS mode. Baud rate and PPS mode changes take effect on the next power cycle or
an external reset event.
The $PGRMC1 sentence provides additional information used to configure the sensor
board operation. Configuration parameters are stored in non-volatile memory and
retained between power cycles. The GPS 25LP will echo this sentence upon its receipt
18
if no errors are detected. If an error is detected, the echoed PGRMC1 sentence will
contain the current default values. Current default values can also be obtained by
sending $PGRMC1E to the board.
$PGRMC1,<1>,<2>*hh<CR><LF>
Configuration changes take effect on the next power cycle or an external reset event.
At power up or external reset, a stored beacon frequency other than 0.0 causes the
GPS 25LP to tune the beacon receiver.
The $PGRMO sentence provides the ability to enable and disable specific output
sentences.
The following sentences are enabled at the factory: GPGGA, GPGSA, GPGSV,
GPRMC, and PGRMT.
$PGRMO,<1>,<2>*hh<CR><LF>
1) If the target sentence mode is ‘2’ (disable all) or ‘3’ (enable all), the target
sentence description is not checked for validity. In this case, an empty field is
allowed (e.g., $PGRMO,,3), or the mode field may contain from 1 to 5 characters.
2) If the target sentence mode is ‘0’ (disable) or ‘1’ (enable), the target sentence
description field must be an identifier for one of the sentences being output by the
GPS 25LP.
19
3) If either the target sentence mode field or the target sentence description field is
not valid, the PGRMO sentence will have no effect.
4) $PGRMO,GPALM,1 will cause the sensor board to transmit all stored almanac
information. All other NMEA sentence transmission will be temporarily
suspended.
The $PSLIB sentence provides the ability to tune a GARMIN GBR-21 or equivalent
beacon receiver.
$PSLIB,<1>,<2>*hh<CR><LF>
<1> Beacon tune frequency, 0.0, 283.5 – 325.0 kHz in 0.5 kHz steps
<2> Beacon bit rate, 0, 25, 50, 100, or 200 bps
If valid data is received, the GPS 25LP will store it in the EEPROM and echo the PSLIB
command to the beacon receiver. At power up or external reset, any stored frequency
other than 0.0 causes the GPS 25LP to tune the beacon receiver.
The subsequent paragraphs define the sentences which can be transmitted on TXD1
by the GPS 25LP sensor boards.
Sentences are transmitted with respect to the user selected baud rate.
Regardless of the selected baud rate, the information transmitted by the GPS 25LP is
referenced to the one-pulse-per-second output pulse immediately preceding the
GPRMC sentence.
The GPS 25LP will transmit each sentence (except where noted in particular
transmitted sentence descriptions) at a periodic rate based on the user selected baud
rate and user selected output sentences. The sensor board will transmit the selected
sentences contiguously. The contiguous transmission starts at a GPS second
boundary. The length of the transmission can be determined by the following equation
and tables:
20
characters transmitted per sec
Baud characters_transmitted_per_sec
300 30
600 60
1200 120
2400 240
4800 480
9600 960
19200 1920
Sentence max_characters
GPGGA 81
GPGSA 66
GPGSV 210
GPRMC 74
GPVTG 42
PGRMB 26
PGRME 35
PGRMT 50
PGRMV 32
PGRMF 82
LCGLL 44
LCVTG 39
The factory set defaults will result in a once per second transmission at the NMEA
specification transmission rate of 4800 baud.
4.2.2 Transmitted Time
The GPS 25LP sensor boards output UTC (Coordinated Universal Time) date and time
of day in the transmitted sentences. Prior to the initial position fix, the date and time of
day are provided by the on-board clock. After the initial position fix, the date and time
of day are calculated using GPS satellite information and are synchronized with the
one-pulse-per-second output.
The GPS 25LP uses information obtained from the GPS satellites to add or delete UTC
leap seconds and correct the transmitted date and time of day. The transmitted date
21
and time of day for leap second correction follow the guidelines in “National Institute of
Standards and Technology Special Publication 432 (Revised 1990)” (for sale by the
Superintendent of Documents, U.S. Government Printing Office, Washington, D.C.,
20402, U.S.A.).
When a positive leap second is required, the second is inserted beginning at 23h 59m
60s of the last day of a month and ending at 0h 0m 0s of the first day of the following
month. The minute containing the leap second is 61 seconds long. The GPS 25LP
would have transmitted this information for the leap second added December 31, 1989
as follows:
Date Time
311289 235959
311289 235960
010190 000000
If a negative leap second should be required, one second will be deleted at the end of
some UTC month. The minute containing the leap second will be only 59 seconds
long. In this case, the GPS 25LP will not transmit the time of day 23h 59m 59s for the
day from which the leap second is removed.
$GPALM,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>,<13>,<14>,<15>
*hh<CR><LF>
$GPGGA,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,M,<10>,M,<11>,<12>*hh<CR><LF>
22
<6> GPS quality indication, 0 = fix not available, 1 = Non-differential GPS fix
available, 2 = Differential GPS (DGPS) fix available, 6 = Estimated
<7> Number of satellites in use, 00 to 12 (leading zeros will be transmitted)
<8> Horizontal dilution of precision, 0.5 to 99.9
<9> Antenna height above/below mean sea level, -9999.9 to 99999.9 meters
<10> Geoidal height, -999.9 to 9999.9 meters
<11> Differential GPS (RTCM SC-104) data age, number of seconds since last valid
RTCM transmission (null if non-DGPS)
<12> Differential Reference Station ID, 0000 to 1023 (leading zeros will be
transmitted, null if non-DGPS)
$GPGSA,<1>,<2>,<3>,<3>,<3>,<3>,<3>,<3>,<3>,<3>,<3>,<3>,<3>,<3>,<4>,<5>,<6>
*hh<CR><LF>
$GPGSV,<1>,<2>,<3>,<4>,<5>,<6>,<7>,...<4>,<5>,<6>,<7>*hh<CR><LF>
23
4.2.7 Recommended Minimum Specific GPS/TRANSIT Data (RMC)
$GPRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>*hh<CR><LF>
4.2.8 Track Made Good and Ground Speed with GPS Talker ID (VTG)
The GPVTG sentence reports track and velocity information with a checksum:
$GPVTG,<1>,T,<2>,M,<3>,N,<4>,K,<5>*hh<CR><LF>
<1> True course over ground, 000 to 359 degrees (leading zeros will be transmitted)
<2> Magnetic course over ground, 000 to 359 degrees (leading zeros will be
transmitted)
<3> Speed over ground, 000.0 to 999.9 knots (leading zeros will be transmitted)
<4> Speed over ground, 0000.0 to 1851.8 kilometers per hour (leading zeros will be
transmitted)
<5> Mode indicator (only output if NMEA 2.30 active), A = Autonomous, D =
Differential, E = Estimated, N = Data not valid
$LCGLL,<1>,<2>,<3>,<4>,<5>,<6>,<7><CR><LF>
24
<2> Latitude hemisphere, N or S
<3> Longitude, dddmm.mmmm format (leading zeros will be transmitted)
<4> Longitude hemisphere, E or W
<5> UTC time of position fix, hhmmss format
<6> Status, A = Valid position, V = NAV receiver warning
<7> Mode indicator (only output if NMEA 2.30 active), A = Autonomous, D =
Differential, E = Estimated, N = Data not valid
4.2.10 Track Made Good and Ground Speed with LORAN Talker ID (LCVTG)
$LCVTG,<1>,T,<2>,M,<3>,N,<4>,K,<5><CR><LF>
<1> True course over ground, 000 to 359 degrees (leading zeros will be transmitted)
<2> Magnetic course over ground, 000 to 359 degrees (leading zeros will be
transmitted)
<3> Speed over ground, 000.0 to 999.9 knots (leading zeros will be transmitted)
<4> Speed over ground, 0000.0 to 1851.8 kilometers per hour (leading zeros will be
transmitted)
<5> Mode indicator (only output if NMEA 2.30 active), A = Autonomous, D =
Differential, E = Estimated, N = Data not valid
$PGRME,<1>,M,<2>,M,<3>,M*hh<CR><LF>
$PGRMF,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>,<13>,<14>,<15>
*hh<CR><LF>
25
<1> GPS week number (0 - 1023)
<2> GPS seconds (0 - 604799)
<3> UTC date of position fix, ddmmyy format
<4> UTC time of position fix, hhmmss format
<5> GPS leap second count
<6> Latitude, ddmm.mmmm format (leading zeros will be transmitted)
<7> Latitude hemisphere, N or S
<8> Longitude, dddmm.mmmm format (leading zeros will be transmitted)
<9> Longitude hemisphere, E or W
<10> Mode, M = manual, A = automatic
<11> Fix type, 0 = no fix, 1 = 2D fix, 2 = 3D fix
<12> Speed over ground, 0 to 1851 kilometers/hour
<13> Course over ground, 0 to 359 degrees, true
<14> Position dilution of precision, 0 to 9 (rounded to nearest integer value)
<15> Time dilution of precision, 0 to 9 (rounded to nearest integer value)
The GARMIN Proprietary sentence $PGRMT gives information concerning the status of
the sensor board. This sentence is transmitted once per minute regardless of the
selected baud rate.
$PGRMT,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>*hh<CR><LF>
<1> Product, model and software version (variable length field, e.g., “GPS 25LP VER
1.10”)
<2> ROM checksum test, P = pass, F = fail
<3> Receiver failure discrete, P = pass, F = fail
<4> Stored data lost, R = retained, L = lost
<5> Real time clock lost, R = retained, L = lost
<6> Oscillator drift discrete, P = pass, F = excessive drift detected
<7> Data collection discrete, C = collecting, null if not collecting
<8> Board temperature in degrees C
<9> Board configuration data, R = retained, L = lost
$PGRMV,<1>,<2>,<3>*hh<CR><LF>
26
<1> True east velocity, -514.4 to 514.4 meters/second
<2> True north velocity, -514.4 to 514.4 meters/second
<3> Up velocity, -999.9 to 9999.9 meters/second
$PGRMB,<1>,<2>,<3>,<4>,<5>,K*<CR><LF>
<1> Beacon tune frequency, 0.0, 283.5 – 325.0 kHz in 0.5 kHz steps
<2> Beacon bit rate, 0, 25, 50, 100, or 200 bps
<3> Beacon SNR, 0 to 31
<4> Beacon data quality, 0 to 100
<5> Distance to beacon reference station in kilometers
Regardless of the selected baud rate, the information transmitted by the GPS 25LP
sensor boards is referenced to the pulse immediately preceding the NMEA 0183 RMC
sentence.
The accuracy of the one-pulse-per-second output is maintained only while the GPS
25LP can compute a valid position fix. To obtain the most accurate results, the one-
pulse-per-second output should be calibrated against a local time reference to
compensate for cable and internal receiver delays and the local time bias.
The default pulse width is 100 msec, however; it may be programmed in 20 msec
increments between 20 msec and 980 msec as described in $PGRMC Section 4.1.3
character <13>.
27
4.5 RTCM Received Data
Position accuracy of less than 5 meters can be achieved with the GPS 25LP by using
Differential GPS (DGPS) real-time pseudo-range correction data in RTCM SC-104
format, with message types 1, 2, 3, and 9. These corrections can be received by the
GPS 25LP sensor board on RXD2. Correction data at speeds of 300, 600, 1200, 2400,
4800 or 9600 baud can be utilized, as the GPS 25LP automatically detects the
incoming baud rate. For details on the SC-104 format, refer to RTCM Paper 134-89/SC
104-68 by the Radio Technical Commission for Maritime Services.
28
Appendix A
Earth Datums
The following is a list of the GARMIN GPS 25LP earth datum indexes and the
corresponding earth datum name (including the area of application):
29
30 GANDAJIKA BASE - Republic of Maldives
31 GEODETIC DATUM 1949 - New Zealand
32 ORDNANCE SURVEY OF GREAT BRITAIN 1936 - England, Isle of Man,
Scotland, Shetland Islands, Wales
33 GUAM 1963 - Guam Island
34 GUX 1 ASTRO - Guadalcanal Island
35 HJORSEY 1955 - Iceland
36 HONG KONG 1963 - Hong Kong
37 INDIAN - Bangladesh, India, Nepal
38 INDIAN - Thailand, Vietnam
39 IRELAND 1965 - Ireland
40 ISTS O73 ASTRO 1969 - Diego Garcia
41 JOHNSTON ISLAND 1961 - Johnston Island
42 KANDAWALA - Sri Lanka
43 KERGUELEN ISLAND - Kerguelen Island
44 KERTAU 1948 - West Malaysia, Singapore
45 L.C. 5 ASTRO - Cayman Brac Island
46 LIBERIA 1964 - Liberia
47 LUZON - Mindanao Island
48 LUZON - Phillippines (excluding Mindanao Island)
49 MAHE 1971 - Mahe Island
50 MARCO ASTRO - Salvage Islands
51 MASSAWA - Eritrea (Ethiopia)
52 MERCHICH - Morocco
53 MIDWAY ASTRO 1961 - Midway Island
54 MINNA - Nigeria
55 NORTH AMERICAN 1927 - Alaska
56 NORTH AMERICAN 1927 - Bahamas (excluding San Salvador Island)
57 NORTH AMERICAN 1927 - Central America (Belize, Costa Rica, El
Salvador, Guatemala, Honduras, Nicaragua)
58 NORTH AMERICAN 1927 - Canal Zone
59 NORTH AMERICAN 1927 - Canada (including Newfoundland Island)
60 NORTH AMERICAN 1927 - Caribbean (Barbados, Caicos Islands, Cuba,
Dominican Republic, Grand Cayman, Jamaica, Leeward Islands, Turks
Islands)
61 NORTH AMERICAN 1927 - Mean Value (CONUS)
62 NORTH AMERICAN 1927 - Cuba
63 NORTH AMERICAN 1927 - Greenland (Hayes Peninsula)
64 NORTH AMERICAN 1927 - Mexico
65 NORTH AMERICAN 1927 - San Salvador Island
66 NORTH AMERICAN 1983 - Alaska, Canada, Central America, CONUS,
Mexico
67 NAPARIMA, BWI - Trinidad and Tobago
30
68 NAHRWAN - Masirah Island (Oman)
69 NAHRWAN - Saudi Arabia
70 NAHRWAN - United Arab Emirates
71 OBSERVATORIO 1966 - Corvo and Flores Islands (Azores)
72 OLD EGYPTIAN - Egypt
73 OLD HAWAIIAN - Mean Value
74 OMAN - Oman
75 PICO DE LAS NIEVES - Canary Islands
76 PITCAIRN ASTRO 1967 - Pitcairn Island
77 PUERTO RICO - Puerto Rico, Virgin Islands
78 QATAR NATIONAL - Qatar
79 QORNOQ - South Greenland
80 REUNION - Mascarene Island
81 ROME 1940 - Sardinia Island
82 RT 90 - Sweden
83 PROVISIONAL SOUTH AMERICAN 1956 - Bolivia, Chile, Colombia,
Ecuador, Guyana, Peru, Venezuela
84 SOUTH AMERICAN 1969 - Argentina, Bolivia, Brazil, Chile, Colombia,
Ecuador, Guyana, Paraguay, Peru, Venezuela, Trinidad and Tobago
85 SOUTH ASIA - Singapore
86 PROVISIONAL SOUTH CHILEAN 1963 - South Chile
87 SANTO (DOS) - Espirito Santo Island
88 SAO BRAZ - Sao Miguel, Santa Maria Islands (Azores)
89 SAPPER HILL 1943 - East Falkland Island
90 SCHWARZECK - Namibia
91 SOUTHEAST BASE - Porto Santo and Madeira Islands
92 SOUTHWEST BASE - Faial, Graciosa, Pico, Sao Jorge, and Terceira
Islands (Azores)
93 TIMBALAI 1948 - Brunei and East Malaysia (Sarawak and Sabah)
94 TOKYO - Japan, Korea, Okinawa
95 TRISTAN ASTRO 1968 - Tristan da Cunha
96 User defined earth datum
97 VITI LEVU 1916 - Viti Levu Island (Fiji Islands)
98 WAKE-ENIWETOK 1960 - Marshall Islands
99 WORLD GEODETIC SYSTEM 1972
100 WORLD GEODETIC SYSTEM 1984
101 ZANDERIJ - Surinam
102 CH-1903 - Switzerland
103 Hu - Tzu - Shan
104 Indonesia 74
105 Austria
106 Potsdam
107 Taiwan (modified Hu-Tzu-Shan)
31
Appendix B
The mating power/data connector is available from JST Corporation, you may contact
them for the current distributor nearest you. The information is listed below.
Housing: ZHR-12
U.S.A. JAPAN
A completely assembled connector with twelve inch pre-stripped wires is available from
GARMIN Corporation as part number 325-00026-00. Contact GARMIN for pricing and
availability.
32
Appendix C
To install the evaluation and configuration software run the program, setup, by using
the FILE - RUN command in Windows.
The NMEAVWR.EXE program in the GARMIN program group can accept NMEA data
from either the com1 or com2 PC serial port at 1200, 2400, 4800, 9600 or 19200 baud.
The default settings are com1 at 4800 baud. NMEAVWR receives NMEA sentences
and displays sentence information in a formatted display on the screen. The top
portion of the screen displays the 5 character identifier of sentences received, the age
in seconds since the last transmission, and a count of the number of times the
sentence has been received. The middle portion of the screen displays the most
recently received data in the sentence with the selected NMEA identifier (highlighted in
the top portion of the screen using the arrow keys). The lower portion contains a
formatted presentation of the currently selected sentence. In addition to receiving data
the program will also upload NMEA sentences to the sensor board. The ALT-U key
sequence will upload the file NMEA.TXT in the current directory to the unit. Received
data can also be logged to a file. NMEAVWR can be invoked from a DOS prompt:
<path>nmeavwr [/b:<baud>] [<port>] [log_file.txt]
where:
[] brackets indicate optional parameters
<path> DOS path to nmeavwr.exe if not in current directory
<baud> baud rate
<port> PC communications port
log_file.txt ASCII log file of all received sentences
Example:
c:\garmin>nmeavwr /b:9600 com2 log_file.txt
If no options are used, the defaults are 4800 baud, com1, and no data logging.
The configuration program GPSCFG.EXE will configure the sensor boards based on
user selected parameters. Some program features include the ability to download
sensor board configuration, maintain different configurations in files, and perform
sensor board configurations quickly with the use of one function key. Online program
help is available.
33
The Garmin Phase Monitor Program, GPS25PM.EXE, provides the following functions:
Where
<> denotes user supplied information
[] denotes optional parameters
x is com port number (1 or 2, default is 1)
yyyy is baud rate (1200, 2400, 4800, or 9600, default is 9600)
See Appendix D for detailed description and operation of the GPS25PM.EXE program.
34
Appendix D
Records begin with a delimiter byte (10 hex). The second byte identifies the record type (28 hex for a
position record, 29 hex for a position record). The third byte indicates the size of the data. The fourth
byte is the first byte of data. The data is then followed by a chksum byte, a delimiter byte (10 hex), and
an end-of-transmission character (03 hex).
Note - If RTCM-104 differential data is sent to the GPS 25LP the board will reset the Phase Output Data
baud rate to the same baud rate used for RTCM-104 data. If the differential inputs are used on the GPS
25LP then the RTCM-104 data must be sent to the GPS 25LP at 9600 baud (preferred) or 4800 baud.
RTCM-104, baud rates less than 4800 baud are not supported by the GPS 25LP since it would limit bus
bandwidth past the point where a once per second phase output data rate could be maintained.
Position Record
typedef struct
{
float alt;
float epe;
float eph;
float epv;
int fix;
double gps_tow;
double lat;
double lon;
float lon_vel;
float lat_vel;
float alt_vel;
} cpo_pvt_type;
35
lon Longitude (rad)
lon_vel Longitude velocity (mt/sec)
lat_vel Latitude velocity (mt/sec)
alt_vel Altitude velocity (mt/sec)
typedef struct
{
unsigned long cycles;
double pr;
unsigned int phase;
char slp_dtct;
unsigned char snr_dbhz;
char svid;
char valid;
} cpo_rcv_sv_type;
typedef struct
{
double rcvr_tow;
int rcvr_wn;
cpo_rcv_sv_type sv[12];
} cpo_rcv_type;
36
dle and etx bytes:
Software written to receive the two records should filter dle and etx bytes as described below:
typedef enum
{
dat,
dle,
etx
} rx_state_type;
char in_que[256];
int in_que_ptr = 0;
rx_state_type rx_state = dat;
if (rx_state == dat)
{
if (data == dle_byte)
{
rx_state = dle;
}
else
{
in_que[ in_que_ptr++ ] = data;
}
}
else if (rx_state == dle)
{
if (data == etx_byte)
{
rx_state = etx;
}
else
{
rx_state = dat;
in_que[ in_que_ptr++ ] = data;
}
}
else if (rx_state == etx)
{
if (data == dle_byte)
{
rx_state = dle;
}
}
37
GARMIN Phase Monitor Program - gps25pm.exe
default:
/com1 - selects which PC serial port to use for communication - com1, com2 (com1 default).
/b:9600 - selects the baud rate - 1200, 2400, 4800, or 9600 (9600 default)
Description:
GPS25PM.EXE is designed to interface with a Garmin GPS 25 XL or GPS 25LP sensor boards and the
GPS 35LP sensors. The program will perform the following functions:
- display and log phase data output by GPS sensors.
- upload almanac, position, and time information.
- download almanac and ephemeris information.
GPS25PM.EXE is a DOS based program and will run on IBM 80286 or greater compatible PCs.
Displayed Information:
The GPS25PM.EXE display page is divided into 3 sections. The top-most section contains the following
information updated at once a second:
A. Position
1. WGS 84 Latitude, Longitude (degrees - minutes) - 0.0001 minute resolution.
2. Ellipsoid Altitude (meters) - 1 meter resolution.
B. Velocity
1. Each of 3 axis (meters per second) - 0.01 m/s resolution.
2. Altitude (meters/minute) - 1 mt/m resolution.
3. Ground Speed (kilometers/hour) - 0.1 km/h resolution
E. Time
1. GPS time (hours - minutes - seconds) - 1 sec. resolution (not leap second corrected)
2. Receiver Time of Week (GPS seconds) - 0.00000001 sec. resolution.
The middle section contains receiver measurement information for satellites which the GPS sensor is
currently tracking. This information is updated once at second:
38
E. Accumulated Cycles (cycles) - 1 cycle resolution.
The bottom section contains program messages. Upload and download status messages will appear
here as well as any program error messages.
Commands:
D - Download Almanac:
The GPS25 sensor will be sent a command to download almanac information. GPS25PM.EXE will
create the file ALMANAC.DAT and locate it the current working directory. If an ALMANAC.DAT exists in
the current directory it will be over-written.
U - Upload Almanac:
The ALMANAC.DAT file located in the current working directory will be read, converted to GPS25 sensor
binary format, and sent to the GPS25 sensor. This command will over-write any almanac information
already in the GPS25 sensor.
E - Download Ephemeris:
The GPS25 sensor will be sent a command to download ephemeris information. GPS25PM.EXE will
create the file EPHEMERS.DAT and locate it in the current working directory. If an EPHEMERIS.DAT
exists in the current directory it will be over-written.
The program will prompt the user for the local time offset from UTC time. This offset is then used to
determine UTC time from the PC’s real time clock. The UTC time is then uploaded to the GPS25
sensor. If an error occurs in the upload process a ‘COMM ERROR’ will be enunciated on the screen.
After the UTC time has been uploaded the user is prompted for Latitude and Longitude for position
uploading. An integer Latitude and integer Longitude should be entered on the same line separated by a
space. If the board has not yet obtained a position fix it will restart its startup sequence based on the
new position and time information.
R - Record Data
The program will prompt the user for a data file name. GPS25XL.DAT is the default. Once the file name
is obtained all information displayed in the top two sections of the screen will be formatted and written to
the data file. The format of this data file is described in the File Formats section. If the R option is
selected again, the current file will be saved and closed and a new file will be opened. Data files will be
over-written if same names are used.
39
File Formats
ALMANAC.DAT
Almanac information for satellites with a bad health status will not be included in this file when
downloaded from the GPS25 sensor and should not be included when uploading to the GPS25 sensor.
EPHEMERS.DAT
40
Ephemeris Record
To initiate an ephemeris download for all tracked satellites send the following bytes in sequence:
0x10, 0x0D, 0x04, 0x02, 0x0C, 0x0, 0x0, 0xE1, 0x10, 0x03
GPS25PM.DAT
41
RCV 19 47 T 145.2 21190271.83 2182643
RCV 31 45 T 75.8 21240354.20 2216421
RCV 22 42 T 195.1 22849183.41 1855826
RCV 27 36 T 155.2 24234175.55 2230462
RCV 14 39 T 202.3 25147694.34 1845263
PVT 235537.99999842 38.9499588 94.7463684 211.7 -0.19 -0.31 0.13 28 16 23
TIM 235538.99853500 794
RCV 18 50 T 38.8 19958107.10 2101947
RCV 29 50 T 132.4 20358247.54 1982431
RCV 28 45 T 189.5 21128713.01 2103829
RCV 19 47 T 284.6 21183470.16 2218374
RCV 31 45 T 19.0 21233441.89 2252746
RCV 22 42 T 263.0 22843381.08 1886300
RCV 27 36 T 311.7 24227194.88 2267146
RCV 14 39 T 308.3 25141899.86 1875708
PVT 235538.99999827 38.9499550 94.7463684 212.6 -0.19 -0.30 0.14 28 16 23
TIM 235539.99851349 794
RCV 18 50 T 76.6 19951681.26 2135704
RCV 29 50 T 284.4 20352180.11 2014308
RCV 28 45 T 320.8 21122272.68 2137669
RCV 19 47 T 8.3 21176671.33 2254110
RCV 31 45 T 170.2 21226528.82 2289074
RCV 22 42 T 315.9 22837584.50 1916778
RCV 27 36 T 132.4 24220207.85 2303835
RCV 14 39 T 127.4 25136106.23 1906158
PVT 235539.99999812 38.9499512 94.7463684 213.5 -0.19 -0.30 0.13 28 16 23
TIM 235540.99849199 794
RCV 18 50 T 174.9 19945258.21 2169465
RCV 29 50 T 177.7 20346113.87 2046190
RCV 28 45 T 159.6 21115834.07 2171514
RCV 19 47 T 324.7 21169868.61 2289849
RCV 31 45 T 111.8 21219615.05 2325407
RCV 22 42 T 261.7 22831782.87 1947261
RCV 27 36 T 259.1 24213226.41 2340528
RCV 14 39 T 318.7 25130310.86 1936612
PVT 235540.99999797 38.9499474 94.7463760 214.4 -0.19 -0.30 0.14 28 16 23
TIM 235541.99847244 794
RCV 18 50 T 325.5 19938831.69 2203229
RCV 29 50 T 152.1 20340045.44 2078075
RCV 28 45 T 52.4 21109392.21 2205362
RCV 19 47 T 125.3 21163068.15 2325593
RCV 31 45 T 159.4 21212700.30 2361743
RCV 22 43 T 117.1 22825981.54 1977748
RCV 27 36 T 352.1 24206248.88 2377225
RCV 14 39 T 141.3 25124515.72 1967071
PVT 235541.99999977 38.9499474 94.7463760 215.4 -0.19 -0.30 0.13 28 16 23
42
GARMIN Corporation
1200 East 151st Street
Olathe, KS 66062
(913)397-8200
(913)397-8282 FAX
190-00125-00 Rev. G
43