📄 rtcm-104.xml
字号:
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "docbook/docbookx.dtd"><refentry id='rtcm104.5'><refmeta><refentrytitle>rtcm-104</refentrytitle><manvolnum>5</manvolnum><refmiscinfo class='date'>12 Jul 2005</refmiscinfo></refmeta><refnamediv id='name'><refname>rtcm-104</refname><refpurpose>RTCM-104 dump format emitted by GPSD tools</refpurpose></refnamediv><refsect1 id='overview'><title>OVERVIEW</title><para>RTCM-104 is a serial protocol used for broadcasting pseudorangecorrections from differential-GPS reference stations. This manualpage describes some aspects of the RTCM protocol, mainly in order toexplain the RTCM-104 dump format emitted by<citerefentry><refentrytitle>rtcmdecode</refentrytitle><manvolnum>1</manvolnum></citerefentry>.It describes that dump format completely.</para><para>The applicable standard is <citetitle>RTCM RecommendedStandards for Differential NAVSTAR GPS Service</citetitle> RTCM Paper194-93/SC 104-STD. Ordering instructions are accessible from thewebsite of the <ulink url='http://www.rtcm.org/'>Radio TechnicalCommission for Maritime Services</ulink> under "Publications".</para></refsect1><refsect1 id='wire-format'><title>RTCM WIRE FORMAT</title><para>Differential-GPS correction stations consist of a GPS referencereceiver coupled to a low frequency (LF) transmitter. The GPSreference receiver is a survey-grade GPS that does GPS carriertracking and can work out its own position to a few millimeters. Itgenerates range and range-rate corrections and encodes them intoRTCM104. It ships the RTCM104 to the LF transmitter over serial rs-232signal at 100 baud or 200 baud depending on the requirements of thetransmitter.</para><para>The LF transmitter broadcasts the the approximately 300khz radiosignal that differential-GPS radio receivers pick up. Transmittersthat are meant to have a higher range will need to transmit at theslower rate. The higher the data rate the harder it will be for theremote radio receiver to receive with a good signal-to-noise ration.(Higher data rate signals can't be averaged over as long a time frame,hence they appear noisier.)</para><para>An RTCM message consists of a sequence of up to 33 30-bitwords. The 24 most significant bits of each word are data and the sixleast significant bits are parity. The parity algorithm used is thesame as that used on GPS satellite downlinks.</para><para>Each message consists of two header words followed by zero ormore data words, depending upon message type.</para></refsect1><refsect1 id='dump-format'><title>RTCM DUMP FORMAT</title><para>For each message, the header is listed first, followed by zeroor more lines containing the specific data for that message. Thegeneral format is a line beginning with a capital letter, followed bya tab, followed by the fields of the message separated by tabs,terminated by a newline.</para><refsect2><title>Header message (H)</title><literallayout>H <message type> <reference station id> <modified z_count> <sequence no> <message length> <station health> [T <useful length>]</literallayout><para>Here is an example:</para><informalexample><literallayout>H 9 687 337.2 4 5 0</literallayout></informalexample><para><message type> is one of</para><variablelist><varlistentry><term>1</term><listitem><para>full corrections - one message containing corrections forall satellites in view. This is not common.</para></listitem></varlistentry><varlistentry><term>3</term><listitem><para>reference station parameters - the position of thereference station GPS antenna.</para></listitem></varlistentry><varlistentry><term>4</term><listitem><para>datum — the datum to which the DGPS data isreferred.</para></listitem></varlistentry><varlistentry><term>5</term><listitem><para>constellation health — information about thesatellites the beacon can see</para></listitem></varlistentry><varlistentry><term>6</term><listitem><para>null message — just a filler.</para></listitem></varlistentry><varlistentry><term>7</term><listitem><para>radio beacon almanac — information about this or other beacons.</para></listitem></varlistentry><varlistentry><term>9</term><listitem><para>subset corrections — a message containing correctionsfor only a subset of the satellites in view.</para></listitem></varlistentry><varlistentry><term>16</term><listitem><para>special message — a text message from the beaconoperator.</para></listitem></varlistentry></variablelist><para><reference station id> is the id of the GPS reference receiver. TheLF transmitters also have (different) id numbers.</para><para><modified z_count> is the reference time of the corrections in themessage in seconds within the current hour. Note that it isthe current hour in GPS time, which is several seconds ahead ofUTC (14 as of January 2006).</para><para><sequence no> is a number which increments, modulo 8, for eachmessage transmitted.</para><para><message length> is the number of words after the header thatcomprise the message.</para><para><station health> indicates the health of the beacon as areference source. Any nonzero value means the satellite is probablytransmitting bad data and should not be used in a fix. 6 means thetransmission is unmonitored. 7 means the station is not workingproperly. Other values are defined by the beacon operator.</para><para>If the message contains a parity error after the header but beforethe end of the message, then the extra fields [T <useful length>]are appended to indicate a truncated message.</para><para>Here is an example:</para><informalexample><literallayout>H 9 687 331.8 1 5 0 T 4</literallayout></informalexample><para><useful length> indicates the number of useful words before theparity error. Depending on the message type, useful informationmay still be extracted.</para></refsect2><refsect2><title>Correction data (S)</title><para>One or more of these follow the header for type 1 or type 9messages. Here is the format:</para><literallayout>S <satellite> <udre> <iod> <modified z_count> <range error> <range error rate></literallayout><para>Here is an example:</para><informalexample><literallayout>S 7 0 199 331.8 -12.160 0.288</literallayout></informalexample><para><satellite> is the PRN number of the satellite for which this iscorrection data.</para><para><udre> is User Differential Range Error with the followingvalues:</para><literallayout>0 1-sigma error <= 1m1 1-sigma error <= 4m2 1-sigma error <= 8m3 1-sigma error > 8m</literallayout><para><iod> is Issue Of Data, matching the IOD for the currentephemeris of this satellite, as transmitted by the satellite. The IODis a unique tag that identifies the ephemeris; the GPS using the DGPScorrection and the DGPS generating the data must use the same orbitalpositions for the satellite.</para><para><modified z_count> is just a copy of the same field fromthe header.</para><para><range error> is the pseudorange error in meters for this satelliteas measured by the beacon reference receiver at the epoch indicatedby <modified z_count></para><para><range error rate> is the rate of change of pseudorange error inmeters/sec for this satellite as measured by the beacon referencereceiver at the epoch indicated by <modified z_count>. This isused to calculate pseudorange errors at other epochs, ifrequired by the GPS receiver.</para></refsect2><refsect2><title>Reference Station Parameters (R)</title><para>Here is the format:</para><literallayout>R <X-coordinate> <Y-coordinate> <Z-coordinate></literallayout><para>Here is an example:</para><informalexample><literallayout>R 3746729.40 -5086.23 5144450.67</literallayout></informalexample>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -