freebsd-dev/contrib/ntp/html/driver43.htm
2002-11-04 19:36:11 +00:00

110 lines
4.0 KiB
HTML

<html>
<head>
<title>RIPE NCC interface for Trimble Palisade</title>
</head>
<body>
<h3>RIPE NCC interface for Trimble Palisade</h3>
<hr>
<img src="pic/driver43_2.jpg" alt="Trimble Acutime 2000" align="right">
<h4>Synopsis</h4>
Address: 127.127.43.<i>u</i> <br>
Reference ID: <tt>RIPENCC</tt> <br>
Driver ID: <tt>RIPENCC</tt>
<h4>Description</h4>
<p> This is a special driver developed to be used in conjuction with the
RIPE NCC clock card in the RIPE NCC Test Traffic Measurements project.
</p>
<h4>Why this driver?</h4>
<p>
The reason why we created a seperated driver for an antenna for which
already a (vendor supplied) driver exist is a design decision.
To be more specific, the standard Trimble interface uses a 12 pin
connector. The cable sold by Trimble to connect to this wire is a very
thick cable. Certainly not something you wish to run for several 100
meters through your building. And if you wanted to run it for 100 meters,
you always would have to really run the cable, and didn't have the option
to use existing wiring.<br>
This is where we wanted more flexibility. We wanted to be able to use
existing wiring in buildings. That leaded us to CAT-5(UTP) which only
gives us 8 wires. Therefor we decided to redesing the use of the Trimble
antenna. The Trimble supports two modes: EVENT driver and PPS mode. The
default is to use the EVENT mode which needs all 12 wires. We only use the
PPS timestamps for which we have enough with 8 wires. For our purposes
this is more than fine.
</p>
More information about the project can be found on the <a href="http://www.ripe.net/test-traffic" TARGET=_new>Test Traffic Measurements</a> website.
<img src="pic/driver43_1.gif" alt="RIPE NCC clock card" align="right">
<h4> RIPE NCC clock card</h4>
<p>The card is very a simple PCI card. The only feature on the bus it uses
is the power supply. It uses this power supply to power the Trimble GPS
antenna.</p>
<p>The card basicly just is a RS422 to RS232 converter. It gets the
Trimble's RS422 signal on a RJ45 connector and transforms that to RS232 on a
DIN9 connector. This connector should be loopbacked on the back of the
machine to the serial port. As said, the card doesn't do any PCI data
transfers.</p>
<p>The schematics of the interface card is available here: <a
href="http://www.ripe.net/ripencc/mem-services/ttm/Documents/gps_interface_schematic.pdf">gps_interface_schematic.pdf</a>.
You are free to create this card yourself as long as you give some credit
or reference to us. Note that we don't sell these cards on a commercial
basis, but for interested parties we do have some spares to share.<p>
<h4>Monitor Data</h4>
In the <tt>filegen clockstats</tt> file the following (example) data is
collected:
<pre>
52445 41931.275 127.127.40.0 U1 20.6.2002 11:38:51 13 11
52445 41931.395 127.127.40.0 C1 20062002 113851 6 364785 110.2 450 6.7 13 5222.374737 N 0453.268013 E 48 7 11 0 1 -14 20 0 -25
52445 41931.465 127.127.40.0 S1 07 1 1 02 59.3 291.5 39.3
52445 41931.485 127.127.40.0 S1 11 2 1 02 59.9 138.0 60.2
52445 41931.525 127.127.40.0 S1 01 4 1 02 48.4 185.7 28.3
52445 41931.555 127.127.40.0 S1 14 5 2 02 32.7 41.0 15.4
52445 41931.585 127.127.40.0 S1 20 6 1 02 59.9 256.6 78.0
52445 41931.615 127.127.40.0 S1 25 8 2 00 0.0 86.6 20.1
</pre>
This is in the form of:
<pre>
All output lines consist of a prefix and a message, the prefix is:
[days since epoch] [sec.ms since start of day] [peer address]
And all individual messages:
*Primary UTC time packet:
U1 [date] [time] [trackstat] [utcflags]
*Comprehensive time packet:
C1 [date] [time] [mode] [bias] [biasunc] [rate] [rateunc] [utcoff] [latitude] [longtitude] [alt] [vis sat](x8)
*Tracking status packet:
S1 [prn] [channel] [aqflag] [ephstat] [snr] [azinuth] [elevation]
</pre>
<h4>Additional Information</h4>
<a href="refclock.htm">Reference Clock Drivers</a>
<hr>
<a href="index.htm"><img align="left" src="pic/home.gif" alt=
"Home"></a>
<address><a href="mailto:marks@ripe.net">Mark Santcroos
&lt;marks@ripe.net&gt;</a></address>
</body>
</html>