Return to driver2.html CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / html / drivers |
1.1 ! misho 1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ! 2: ! 3: <html> ! 4: ! 5: <head> ! 6: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ! 7: <meta name="GENERATOR" content="Mozilla/4.01 [en] (Win95; I) [Netscape]"> ! 8: <title>Trak 8820 GPS Receiver</title> ! 9: <link href="scripts/style.css" type="text/css" rel="stylesheet"> ! 10: </head> ! 11: ! 12: <body> ! 13: <h3>Trak 8820 GPS Receiver</h3> ! 14: <hr> ! 15: <h4>Synopsis</h4> ! 16: <p>Address: 127.127.2.<i>u</i><br> ! 17: Reference ID: <tt>GPS</tt><br> ! 18: Driver ID: <tt>GPS_TRAK</tt><br> ! 19: Serial Port: <tt>/dev/trak<i>u</i></tt>; 9600 baud, 8-bits, no parity<br> ! 20: Features: <tt>tty_clk</tt></p> ! 21: <h4>Description</h4> ! 22: <p>This driver supports the Trak 8820 GPS Station Clock. The claimed accuracy at the 1-PPS output is 200-300 ns relative to the broadcast signal; however, in most cases the actual accuracy is limited by the precision of the timecode and the latencies of the serial interface and operating system.</p> ! 23: <p>For best accuracy, this radio requires the <tt>tty_clk</tt> line discipline, which captures a timestamp at the <tt>*</tt> on-time character of the timecode. Using this discipline the jitter is in the order of 1 ms and systematic error about 0.5 ms. If unavailable, the buffer timestamp is used, which is captured at the <tt>\r</tt> ending the timecode message. This introduces a systematic error of 23 character times, or about 24 ms at 9600 bps, together with a jitter well over 8 ms on Sun IPC-class machines.</p> ! 24: <p>Using the menus, the radio should be set for 9600 bps, one stop bit and no parity. It should be set to operate in computer (no echo) mode. The timecode format includes neither the year nor leap-second warning.</p> ! 25: <p>In operation, this driver sends a <tt>RQTS\r</tt> request to the radio at initialization in order to put it in continuous time output mode. The radio then sends the following message once each second:</p> ! 26: <pre>*RQTS U,ddd:hh:mm:ss.0,q<cr><lf> ! 27: on-time = '*' ! 28: ddd = day of year ! 29: hh:mm:ss = hours, minutes, seconds ! 30: q = quality indicator (phase error), 0-6: ! 31: 0 > 20 us ! 32: 6 > 10 us ! 33: 5 > 1 us ! 34: 4 > 100 ns ! 35: 3 > 10 ns ! 36: 2 < 10 ns</pre> ! 37: The alarm condition is indicated by <tt>0</tt> at <tt>Q</tt>, which means the radio has a phase error greater than 20 us relative to the broadcast time. The absence of year, DST and leap-second warning in this format is also alarmed. ! 38: <p>The continuous time mode is disabled using the <tt>RQTX\r</tt> request, following which the radio sends a <tt>RQTX DONE<cr><lf></tt> response. In the normal mode, other control and status requests are effective, including the leap-second status request <tt>RQLS<cr></tt>. The radio responds with <tt>RQLS yy,mm,dd<cr><lf></tt>, where <tt>yy,mm,dd</tt> are the year, month and day. Presumably, this gives the epoch of the next leap second, <tt>RQLS 00,00,00</tt> if none is specified in the GPS message. Specified in this form, the information is generally useless and is ignored by the driver.</p> ! 39: <h4>Monitor Data</h4> ! 40: <p>When enabled by the <tt>flag4</tt> fudge flag, every received timecode is written as-is to the <tt>clockstats</tt> file.</p> ! 41: <h4>Fudge Factors</h4> ! 42: <p></p> ! 43: <dl> ! 44: <dt><tt>time1 <i>time</i></tt> ! 45: <dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0. ! 46: <dt><tt>time2 <i>time</i></tt> ! 47: <dd>Not used by this driver. ! 48: <dt><tt>stratum <i>number</i></tt> ! 49: <dd>Specifies the driver stratum, in decimal from 0 to 15, with default 0. ! 50: <dt><tt>refid <i>string</i></tt> ! 51: <dd>Specifies the driver reference identifier, an ASCII string from one to four characters, with default <tt>GPS</tt>. ! 52: <dt><tt>flag1 0 | 1</tt> ! 53: <dd>Not used by this driver. ! 54: <dt><tt>flag2 0 | 1</tt> ! 55: <dd>Not used by this driver. ! 56: <dt><tt>flag3 0 | 1</tt> ! 57: <dd>Not used by this driver. ! 58: <dt><tt>flag4 0 | 1</tt> ! 59: <dd>Not used by this driver. ! 60: <p>Additional Information</p> ! 61: <p><a href="../refclock.html">Reference Clock Drivers</a></p> ! 62: </dl> ! 63: <hr> ! 64: <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script> ! 65: </body> ! 66: ! 67: </html>