From: Harlan Stenn Date: Sun, 18 Jan 2009 00:25:33 +0000 (-0500) Subject: CHU Frequency updates X-Git-Tag: NTP_4_2_5P155~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deb5e6489582cac7ba23aefe9ba24e9442911f70;p=thirdparty%2Fntp.git CHU Frequency updates bk: 497276fd9jwVkFopT0Qso-JIfOzvtw --- diff --git a/ChangeLog b/ChangeLog index 379adc7dc..f4da54c34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* CHU frequency updates. * Design assertion fixes for ntp_crypto.c from Dave Mills. (4.2.5p154) 2009/01/13 Released by Harlan Stenn * [Bug 992] support interface event change on Linux from diff --git a/html/drivers/driver7.html b/html/drivers/driver7.html index 309a40c4e..6f4874117 100644 --- a/html/drivers/driver7.html +++ b/html/drivers/driver7.html @@ -20,7 +20,13 @@ Autotune Port: /dev/icom; 1200/9600 baud, 8-bits, no parity
Audio Device: /dev/audio and /dev/audioctl

Description

-

This driver synchronizes the computer time using shortwave radio transmissions from Canadian time/frequency station CHU in Ottawa, Ontario. CHU transmissions are made continuously on 3.330, 7.335 and 14.670 MHz in upper sideband, compatible AM mode. An ordinary shortwave receiver can be tuned manually to one of these frequencies or, in the case of ICOM receivers, the receiver can be tuned automatically as propagation conditions change throughout the day and season.

+

This driver synchronizes the computer time using shortwave radio transmissions + from Canadian time/frequency station CHU in + Ottawa, Ontario. CHU transmissions are made continuously on 3.330, + 7.850 and 14.670 MHz in upper sideband, compatible AM mode. An ordinary + shortwave receiver can be tuned manually to one of these frequencies or, in + the case of ICOM receivers, the receiver can be tuned automatically as propagation + conditions change throughout the day and season.

The driver can be compiled to use either an audio codec or soundcard, or a Bell 103-compatible, 300-b/s modem or modem chip, as described on the Pulse-per-second (PPS) Signal Interfacing page. If compiled for a modem, the driver uses it to receive the radio signal and demodulate the data. If compiled for the audio codec, it requires a sampling rate of 8 kHz and m-law companding to demodulate the data. This is the same standard as used by the telephone industry and is supported by most hardware and operating systems, including Solaris, FreeBSD and Linux, among others. The radio is connected via an optional attenuator and cable to either the microphone or line-in port of a workstation or PC. In this implementation, only one audio driver and codec can be supported on a single machine.

In general and without calibration, the driver is accurate within 1 ms relative to the broadcast time when tracking a station. However, variations up to 0.3 ms can be expected due to diurnal variations in ionospheric layer height and ray geometry. In Newark DE, 625 km from the transmitter, the predicted one-hop propagation delay varies from 2.8 ms in sunlight to 2.6 ms in moonlight. When not tracking the station the accuracy depends on the computer clock oscillator stability, ordinarily better than 0.5 PPM.

After calibration relative to the PPS signal from a GPS receiver, the mean offset with a 2.4-GHz P4 running FreeBSD 6.1 is generally within 0.2 ms short-term with 0.4 ms jitter. The long-term mean offset varies up to 0.3 ms due to propagation path geometry variations. The processor load due to the driver is 0.4 percent on the P4.

@@ -102,7 +108,10 @@
Before the clock is set, this is the number of minutes since the program was started; after the clock is set, this is the number of minutes since the time was last verified relative to the broadcast signal.
agc
The audio gain shows the current codec gain setting in the range 0 to 255. Ordinarily, the receiver audio gain control should be set for a value midway in this range.
ident -
The CHU identifier CHU followed by the current radio frequency code, if the CI-V interface is active, or CHU if not. The radio frequncy is encoded as 0 for 3.330 MHz, 1 for 7.335 MHz and 2 for 14.670 MHz.
dist +
The CHU identifier CHU followed by the current radio frequency + code, if the CI-V interface is active, or CHU if not. The radio + frequncy is encoded as 0 for 3.330 MHz, 1 for 7.850 MHz and 2 + for 14.670 MHz.
dist
The decoding distance determined during the most recent minute bursts were received. The values range from 0 to 160, with the higher values indicating better signals. The decoding algorithms require the distance at least 50; otherwise all data in the minute are discarded.
tsmp
The number of timestamps determined during the most recent minute bursts were received. The values range from 0 to 60, with the higher values indicating better signals. The decoding algoriths require at least 20 timestamps in the minute; otherwise all data in the minute are discarded. diff --git a/ntpd/refclock_chu.c b/ntpd/refclock_chu.c index 5a716d4ae..cce406f72 100644 --- a/ntpd/refclock_chu.c +++ b/ntpd/refclock_chu.c @@ -32,7 +32,7 @@ * This driver synchronizes the computer time using data encoded in * radio transmissions from Canadian time/frequency station CHU in * Ottawa, Ontario. Transmissions are made continuously on 3330 kHz, - * 7335 kHz and 14670 kHz in upper sideband, compatible AM mode. An + * 7850 kHz and 14670 kHz in upper sideband, compatible AM mode. An * ordinary shortwave receiver can be tuned manually to one of these * frequencies or, in the case of ICOM receivers, the receiver can be * tuned automatically as propagation conditions change throughout the @@ -164,7 +164,7 @@ * dst Canadian daylight code (opaque) * t number of minutes since last synchronized * agc audio gain (0 - 255) - * ident identifier (CHU0 3330 kHz, CHU1 7335 kHz, CHU2 14670 kHz) + * ident identifier (CHU0 3330 kHz, CHU1 7850 kHz, CHU2 14670 kHz) * m signal metric (0 - 100) * b number of timecodes for the previous minute (0 - 59) * @@ -436,7 +436,7 @@ static char hexchar[] = "0123456789abcdef_*="; * transmits on USB with carrier so we can use AM and the narrow SSB * filter. */ -static double qsy[NCHAN] = {3.330, 7.335, 14.670}; /* freq (MHz) */ +static double qsy[NCHAN] = {3.330, 7.850, 14.670}; /* freq (MHz) */ #endif /* ICOM */ /* @@ -1515,7 +1515,7 @@ chu_newchan( /* * The radio can be tuned to three channels: 0 (3330 kHz), 1 - * (7335 kHz) and 2 (14670 kHz). There are five one-minute + * (7850 kHz) and 2 (14670 kHz). There are five one-minute * dwells in each cycle. During the first dwell the radio is * tuned to one of the three channels to measure the channel * metric. The channel is selected as the one least recently