xref: /freebsd/contrib/ntp/html/drivers/driver43.html (revision 416ba5c74546f32a993436a99516d35008e9f384)
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		<title>RIPE NCC interface for Trimble Palisade</title>
8		<link href="scripts/style.css" type="text/css" rel="stylesheet">
9	</head>
10
11	<body>
12		<h3>RIPE NCC interface for Trimble Palisade</h3>
13<p>Last update:
14  <!-- #BeginDate format:En2m -->21-Oct-2010  23:44<!-- #EndDate -->
15  UTC</p>
16		<hr>
17		<img src="../pic/driver43_2.jpg" alt="Trimble Acutime 2000" align="right">
18		<h4>Synopsis</h4>
19		Address: 127.127.43.<i>u</i><br>
20		Reference ID: <tt>RIPENCC</tt><br>
21		Driver ID: <tt>RIPENCC</tt>
22		<h4>Description</h4>
23		<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>
24		<h4>Why this driver?</h4>
25		<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>
26		</p>
27		<p>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>
28		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">
29		<h4>RIPE NCC clock card</h4>
30		<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>
31		<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>
32		<p>The schematics of the interface card is available here: <a href="http://www.ripe.net/projects/ttm/Host_testbox/gps_if.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>
33		<p></p>
34		<h4>Monitor Data</h4>
35		<p>In the <tt>filegen clockstats</tt> file the following (example) data is collected:</p>
36		<pre>
3752445 41931.275 127.127.40.0 U1 20.6.2002 11:38:51 13 11
3852445 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
3952445 41931.465 127.127.40.0 S1 07 1 1 02 59.3 291.5 39.3
4052445 41931.485 127.127.40.0 S1 11 2 1 02 59.9 138.0 60.2
4152445 41931.525 127.127.40.0 S1 01 4 1 02 48.4 185.7 28.3
4252445 41931.555 127.127.40.0 S1 14 5 2 02 32.7  41.0 15.4
4352445 41931.585 127.127.40.0 S1 20 6 1 02 59.9 256.6 78.0
4452445 41931.615 127.127.40.0 S1 25 8 2 00  0.0  86.6 20.1
45</pre>
46		<p>This is in the form of:</p>
47		<pre>
48All output lines consist of a prefix and a message, the prefix is:
49[days since epoch] [sec.ms since start of day] [peer address]
50
51And all individual messages:
52
53*Primary UTC time packet:
54U1 [date] [time] [trackstat] [utcflags]
55
56*Comprehensive time packet:
57C1 [date] [time] [mode] [bias] [biasunc] [rate] [rateunc] [utcoff] [latitude] [longtitude] [alt] [vis sat](x8)
58
59*Tracking status packet:
60S1 [prn] [channel] [aqflag] [ephstat] [snr] [azinuth] [elevation]
61</pre>
62		<h4>Additional Information</h4>
63		<p><a href="../refclock.html">Reference Clock Drivers</a></p>
64		<hr>
65		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
66	</body>
67
68</html>
69