Super-Stable Exciter for HF

By Murray Greenman ZL1BPU
A straightforward HF phase-locked exciter, based on TV sync or GPS 1pps as a reference source.
Optional AM ticks and CW ID, similar to WWV or VNG.

Specifications   Technical Notes   Calibration   Exciter Schematic   PA Schematic

INTRODUCTION

This project is an exercise in time keeping and frequency precision. It is in some ways a kit of ideas, as it can be built to do several different things. It uses a widely available accurate frequency source (GPS or TV frame sync - TV network sync is often derived from a Rubidium or GPS source), and provides accurate time and frequency. The design includes modulators, Morse ID and a power amplifier, so can also be used as an Exciter or Super-Stable HF Transmitter.



The TV Reference Concept

The design might look complicated, but just about everything shown takes place inside just one IC. The Sync Separator (separates the 50Hz sync from a composite video TV signal) and the Modulated Amplifier, which keys the output at two power levels, are the other two ICs, and all three ICs are inexpensive. The main IC is a micro controller, the ATMEL AT90S2313 or ATTiny2313 AVR device, a simple 20 pin chip. The video source can be a TV receiver or video recorder tuner, tuned to a network which uses a Rubidium Reference (in New Zealand, TV1 and TV2; in Australia, the ABC). These days GPS is probably simpler, and the unit will lock to any GPS engine with a 1pps output (in this case omit the Sync Separator chip).

Check out the schematics of the Exciter and matching 2W Power Amplifier:

The phase-locked performance is fairly good for such a simple system - check out this narrow spectrogram of the transmitted signal. Over a seven hour operating test period, the signal did not deviate by more than �0.1Hz (that's 2.6 parts in 108). Note also the speed of recovery from power loss, and the fact that the signal returns to the same frequency.

The next picture is of the same unit, but shows an amplified view of the 5th harmonic. There are 1Hz sidebands (less prominent on the actual 3.6MHz transmission) caused by crystal frequency pulling in the micro, plus frequency deviations and noise, but these amount in total to about 3 parts in 108! You can also see the regular patterns created by the ID keying every 10 minutes. The small saw-teeth are related to limited D-A resolution in this simple system, and are more prominent during warmup. This picture shows the first two hours of operation after 20 minutes warmup.

There have been other TV-derived references in the past (e.g. "Low Cost TV-derived Frequency Reference", Electronics Australia Oct-Nov 1993). However the performance has often been poor due to signal path effects, modulation of the reference by TV video, and poor locking. This present design uses a high performance sync separator, and a micro controller with special phase lock firmware, to provide exceptional performance. The remaining issues with a reference of this type centre around knowing when the TV source is "on reference" and when it is not, and this is also addressed in the present design. Some of the features of the unit are:

The serial data can be used for time logging, or setting other clocks. The phase information can be used for calibration and tracking the reference oscillator (or TV network) phase error.



AM modulation of ticks
(Click on image to enlarge)

The Modulated Amplifier allows three carrier levels to be generated (40mW, 10mW and off), so AM, MCW and carrier keying can be used. In this example a 10mW carrier has 100% upward modulated 1kHz tone ticks superimposed. The 1kHz tick option ideally should not be used on-air with a power amplifier, as the keying is square-wave, and the spectrum of the transmission is a bit wide! However the unit also has a 1kHz audio tick output which can be used with a simple low pass filter to generate a sine wave for external AM modulation. The Power Amplifier design offered will accept conventional AM modulation of the power supply. A 2W audio chip and a 1:2 step-up transformer should suffice - what about the modulator from an old VHF AM commercial radio-telephone?

DESCRIPTION

Micro Section
Follow the Exciter Schematic as you read this description. Power for the unit can come from two sources - a simple plug-pack connected to the points labelled "+10V" and "-0V", and a backup battery, B1. The supplies are isolated from each other by diodes D3 and D4. These diodes also prevent reverse supply damage. When the plug-pack output (nominally 10-12V DC) is higher than the battery voltage, D3 is reverse biassed, D4 is forward biassed, and the unit operates from the AC supply.

When the AC supply fails, D3 conducts, D4 is reverse biassed, and the unit continues to keep time from the battery. If power failures are frequent, a 6-cell 500mAH or better NiCd or NiMH battery pack is recommended. The backup isn't necessary if the clock feature is unused, so omit B1 and D3.

Regulator U1 provides 5V with sufficient current to operate the micro controller, sync separator and buffer/modulator device. The total load is only about 20 mA. It is convenient to operate the Exciter from a small SLA (gel-cell) battery, and the power amp from an AC supply. If the power fails, at least 10mW will leak through the power amp. Battery operation is intended only to keep the clock accurate, as the phase-lock TV reference source will be lost unless it also has a backup supply.

The RS232 transmit signal from the micro to the PC requires a negative voltage supply, and to keep supply current to a minimum, this voltage is derived from the mostly idle PC transmit data line, which is normally negative. TR1 converts to RS232 levels and transmits the serial data. Note how its collector supply is derived from the RS232 receive line at J2 pin 3, via D1 and R28. C8 maintains the -10V supply even when data is being received from the PC. TR2 is the RS232 receiver, with D2 catching the reverse voltage to prevent reverse bias damage. The RS232 connection is purely for time setting and phase monitoring. Full phase-locked operation continues with the PC off or disconnected.

J1 is the programming header, a simple 2x5 pin connector. The micro can be programmed in the unit. The operating frequency and ID message, stored in EEPROM, can only be changed via the programmer.

X1 is the reference crystal, which operates in a variable crystal controlled oscillator configuration (VCXO). The oscillator is the main reference oscillator in the micro, and so is used for all timing. The components C2 and C3 set the precise crystal oscillating frequency, which can also be trimmed over a range of about 30 Hz by the variable capacitance diode D2. In the prototype a 47V Zener diode is used as the varicap. The voltage on the varicap is provided by the micro via a pulse-width modulated output, operating at about 100 Hz, but with 8 Hz fine adjustment timing components. The PWM output is averaged by R36 and C8 to remove most of the PWM and leave a clean DC ERROR signal. Since the bandwidth of the varicap frequency shift is very low, the remaining PWM ripple is not modulated onto the carrier (4 Hz sidebands about 60dB down, and 100 Hz sidebands unmeasureable).

Sync separator chip U4 is driven by 1V video from a TV receiver or video recorder, tuned to a station which uses an accurate reference for the TV sync timing pulses. U4 extracts the field sync (50Hz), which enters U2 pin 11, where it (in hardware in the micro) is used to sample the phase of the reference crystal frequency. This information is used to derive the control voltage for the frequency control system just described.

Transmitter
U3 forms the basis of a simple AM and CW transmitter. U3/1 (gate 1) acts as a buffer for the carrier signal. It drives one half of the transmitter, U3/3 directly, and the other, U3/4 via a further inverter, U3/2. This means that the two output devices U3/3 and U3/4 operate in push-pull. Notice that their outputs are coupled in push-pull via the primary of a small toroidal transformer. The other inputs of these gates are keyed by the micro. One, labelled "CARRIER" allows the carrier to be keyed on and off - in other words makes keyed CW. The other, labelled "MOD" allows the output power to be changed. When both devices are on, the output is 40mW (1.4V RMS into 50 Ohm), while when either one is on, the output is 10mW. So the output can be off, carrier on, or carrier plus AM modulation, upward modulated. Depending on the firmware option, the modulation can be 1kHz tone, or DC. In the latter case, the "ticks" are 6dB stronger, or if ticks are off, the carrier is 6dB stronger, and dropped back to be keyed back up during the ID. A simple but versatile system.

The output is essentially a square wave, so it is very important to use a low pass filter on the output. When used with the Power Amplifier, the filter is not needed as the amplifier works more efficiently with square wave drive, and has its own low pass filter. The drive level is suitable for direct coupling to most 2-5W power transistors. The amplifier consists of just one high gain transistor, TR401. Drive from the Exciter is AC coupled and terminated by a 100 Ohm resistor, which also helps ensure stability. TR401 is a surplus VHF power transistor, and since it has high gain at HF could be quite unstable. In this design however, there is no hint of instability. The collector matches directly to about 50 Ohm impedance, so a simple 50 Ohm half wave filter is used at the output. This is the same design as used without the power amp, but here lower rated components can be used. DC power is fed to the the power transistor via a toroidal choke L401, which is paralleled with a damping resistor to prevent unwanted resonances and instability. The transistor suggested is a 24V device, and so can be high-level AM modulated if necessary. Conservative rating is essential for continuous operation, and this device (and others like it) will handle 5W disappation continuously at 12-15V supply. A good heatsink is essential.

The output filter components, L401 - L403 and C404 - C406 are quoted as impedances, so for any operating frequency, simply use the standard impedance formulae

XL=2.pi.f.L   XC=1/2.pi.f.C
to calculate the required values. Alternatively, simply scale all the values given for 3840kHz. L401 is a 12mm toroidal core. L402-403 are bobbin cores. The capacitors are 250V disc ceramic or polystyrene. The amplifier output is very clean, thanks to the filter, and will not cause unwanted interference to the TV receiver used as the sync reference. The output is intended for a 50 Ohm impedance antenna.

Firmware
The micro controller has three program loops - main, 2 kHz divider, and 50 Hz TV sync. The reference oscillator operates a 16 bit divider, used as the phase counter. When the defined count is reached (every 500µsec), the timer interrupts, the 1 kHz output is toggled, the pulse width modulator stepped, and a divide by 2000 firmware counter stepped, allowing seconds to be counted. The PWM is oversampled and generates 8 bit resolution in only 10ms, rather than the expected 128ms. These are all tasks requiring high timing precision, either to ensure accuracy, or prevent carrier phase noise.

Once every second the 2000 software counter overflows, and a flag is set. In the main program, when this flag is seen, the ticks are sent, UTC time is incremented, and the serial output updated. These are all tasks which are not precision time dependent, but still occur within a few microseconds of the precision event which triggers the activity (the setting of the flag). Otherwise the main program does very little - every 10 minutes it also generates the Morse ID message, which is sent by keying the carrier.

The third task happens when the 50 Hz TV frame sync reference or GPS 1pps arrives. The content of the phase counter is sampled (in hardware, so no precision is lost), and the interrupt generated. In the interrupt, time precision is unnecessary as the counter has already been sampled; the phase error calculation is made and the new error value provided to the pulse width modulator.

Time is kept in packed BCD format (Binary Coded Decimal, where the lower four bits represent the units 0 - 9, and the upper four bits represent the tens), which makes counting more tricky, but simplifies display. Every time the UTC time is incremented, the BCD values need to be checked to ensure they follow the BCD format, which means checking that the low nibble is <10 and the high nibble <6. The hour is checked to see that it remains <24, and is set to zero when 23 is exceeded.


A front view of the prototype unit
(Click on picture for bigger view)

In the above picture, the three control switches on the front panel control, left to right, the VCXO REFERENCE (LOCK/HOLD/FREE), the 1 kHz AM MODULATION (TICKS/OFF/1kHz) and the CARRIER (KEY/OFF/ON). To the right is the RF output.

On the back panel reside the reference video input connector, the DC power connector, and the RS232 connector.

USES

Precision Measurement
Special software has been developed for this application, so that a power amplifier can be used to good effect without causing unwanted interference. The keying is restricted to 6dB power drop during Morse ID. The firmware for this version is optimized for the cleanest signal and best possible spectrogram results.

The carrier frequency can be observed and compared with a local reference using a narrow-band spectrogram, allowing comparisons to better than 1 part in 107 to be achieved. You can also measure the frequency with a frequency counter, and use it to assess the offset in the counter's reference.

Propagation Studies
Another very interesting use of the 'clean signal' version of the Exciter is as a signal for propagation studies. The Doppler effects introduced by the ionosphere are not always clear on typical HF transmissions, because they either don't radiate a constant carrier, or the carrier is not sufficiently stable. For example, shortwave broadcast stations typically have significant phase noise, and often a cyclic variation in frequency of several Hz. Apart from the Frequency Standard transmissions, few stations have the necessary carrier stability and purity for such propagation studies.

The next picture shows NVIS (Near Vertical Incidence Signal - typical of 80m reception at night) reception of a precision Amateur transmission on 80m over a range of 120km. The transmitter power was 100mW, but the signal was well above the noise in the received 5Hz bandwidth. Note that the apparent carrier frequency varies over about 1Hz as the refractive index of the ionosphere changes. At times, for example at 2230, there appear to be several "rays". This effect is caused by differences in refractive index and thus signal velocity for components of different wave polarization.


Reception of a precision 80m NVIS signal over 120km

The smudges on the picture are caused by scattering effects. At these times the carrier is still a clean single signal, but is varying so quickly that the spectrogram represents the carrier energy as a smudge over a range of frequencies. In this picture the sample rate is about 40 seconds. Look closely at the start of the picture - at time 2030 the carrier appears to have gone completely! All the energy has gone into components that are being reflected elsewhere. Note the fine lines above this point which demonstrate reflections from other layers.

Compare this picture with one below, which used the same receiver and the same spectrogram resolution, but measured the signal directly from the Exciter without the effects of the ionosphere:

Narrow spectrogram of the Super-Stable Exciter for HF

This idea of using the Super-Stable Exciter for Doppler studies is not intended in any way to compete with the excellent NCDXF beacons used for propagation markers around the world.

Local Calibration
The final use for the Super-Stable Exciter is the most obvious one - as a local reference for calibrating other equipment. Any equipment with an external reference input (such as a frequency counter) can also benefit from the use of such a reference. A non-locked version of the firmware can be used to adjust and monitor the performance of a local high stability OCXO (Oven Controlled Crystal Oscillator) reference. You could use the micro to phase-lock a 5MHz or 10MHz OCXO in place of the crystal oscillator (although there are better designs on this site for this purpose).

CALIBRATION

Link to Calibration Procedure

COMMS PROTOCOLS

TRANSMIT (CWID)

The Morse ID is transmitted by keying the carrier. At second zero of the ID minute (every 10 minutes, starting at minute zero), the carrier is cut, and the ticks may be turned off (depends on the version). Starting at the following second, the recorded ID is transmitted. The message may if necessary last longer than one minute. When the message is complete, the carrier is restored and the ticks restart (if used). Time synchronism is retained.

There are three ID options:

QRSS Mode
The QRSS option sounds really cool, since the carrier keying is synchronous with the second events, and the ticks stay operating. Each dot is three seconds, and each dash nine seconds, so the ID needs to be kept VERY short (say three letters). Unfortunately nobody except the Lowfers realize the transmitter is actually being ID keyed! The ticks are transmitted as 6dB power increase.

10WPM Morse Mode
The conventional Morse option uses timing that is asynchronous with the ticks, and so the ticks are turned off while the message is sent. A full message "ZL1BPU BCN" takes about 20 seconds to transmit. The carrier and ticks are restored once the message has completed. This is really only a local use "nostalgia" mode.

6dB Carrier-Drop Mode
This "clean mode" is the best for Precision Frequency Transmission, since it offers the narrowest and cleanest spectral response. The carrier is on continuously. The only keying is during the CWID, when the transmitter power is dropped 6dB, and keyed back to full power. When the signal is well above the noise, it sounds as though it has strong "backwave". When out of lock, only the seconds ticks are transmitted as lower power carrier dots. Once lock is achieved, the ticks stop.

Local Reference Modes
Two local reference versions are also offered. neither have ID or keying, and the Comparator version has no phase lock. It is used only for monitoring a local OCXO reference and comparing it to the TV reference. Both these versions retain the accurate clock, which is available only via the serial message.

TRANSMIT (DATA)

The serial communications data transmitted to the monitoring PC is of the form:

        HH:MM:SS PPPP<CR><LF>
where PPPP represents the phase of the local counter sampled by the external reference, the 50 Hz TV frame pulses. The value of PPPP can be from 0000 to one less than the divisor required to divide the clock reference to 2 kHz, and is expressed in 16 bit HEX. For example, operating on 3600 kHz, the value is (3600 / 2) - 1 = 1799 or 0707HEX.

The Super-Stable Exciter also transmits responses to some of the time setting commands (those in red in the table below). These three commands should not be used while transmitting, as they disturb the carrier phase as well as the UTC timing. (This is why the PC monitoring software is not equipped for time setting).

RECEIVE (COMMANDS)

There are no front panel controls for the clock section of the Super-Stable Exciter. After all, the clock is Rubidium Standard accurate, and battery backed, so what would need adjusting? All adjustment is achieved using the serial link to a PC. There are eight commands:


Hnn	Set UTC hours to nn (BCD) hours
Mnn	Set UTC minutes to nn
Snn	Set UTC hours to nn
+	Add one to UTC seconds
-	Subtract one from UTC seconds
>	Increment local time offset by one hour
<	Decrement local time offset by one hour
R	Retard clock by 10 ms

The commands should be used in the order shown while setting the clock. The commands shown in red cause the clock to stop while they are entered, so must not be used during time-keeping. They also disturb the PWM part of the frequency control, causing frequency disturbances. Lower case letters are accepted and used as upper case. Invalid commands are ignored. The clock can be set with a simple ASCII terminal program, such as Windows TERMINAL, or even HYPERTERM.

By comparing the Super-Stable Exciter seconds ticks with a reference such as a GPS receiver with 1pps output, the clock can be set to within 10ms of real UTC time, and when calibrated, may stay there for months on end (dependent only on the TV network). If the calibration of the VCXO is good, it will be quite adequate even without the TV reference, but the seconds ticks may need to be pulled back in line before the next transmission session.

BELLS AND WHISTLES

SOFTWARE

There are several versions of embedded firmware, as described above. The PC software supports all versions and all applications. It operates by displaying the oscillator phase graphically over time. It also calculates the frequency offset by accumulating the phase error across the screen. The phase display easily shows drift and short-term variations, while the frequency display indicates long term frequency and averages out short-term errors.


PC Software monitoring a locked reference
(Click on image to view full size)

The above image is shown with negative colours for improved clarity (the actual background is black). The top half of the screen constitutes the main graphical display. The red line in the main display is phase, measured from one minute after oscillator switch-on, with a duration of 10 hours. Above it, the black line with the brown "lump" at the left end is the frequency measurement. The error at the beginning is caused by the phase drift of the oscillator as the unit warms up. The frequency error is never greater than -1 part in 108. If there had been any disturbance of the TV sync refernce during the operating period, it would show clearly as a change in phase followed by a large change in frequency offset.

The lower display is the "fast phase" display, used mostly during calibration. Below that is a circular phase meter and a text display of the operating phase and frequency parameters and program settings. The current frequency offset (largely irrelevant with a locked oscillator) is shown at the top right above the main display.

The PC software is used for initial calibration, and in order to monitor long term phase performance. Long term performance monitoring is also a measure of the reliability of the TV network reference. The PC software is available as both executable and source code (if you order the source code, you get both). The PC software is a DOS executable program, which will operate from Windows™ 3.1, 95, 98 or 2000 (because it is a graphics program, on older computers it may require full-screen rather than "DOS Box" operation). Computer requirements are minimal - a 486 processor and a serial port. Given the simplicity of the communications protocol, you could easily write your own phase and time display or data logging program. To recompile the source code you will need Microsoft Quick Basic 4.2 Compiler or similar. The source code may also run under "QBASIC" which was supplied with DOS 6, but it will not compile to a stand-alone executable.

The source code and executable programs for micro and PC are available from the author at a very modest cost. See the Projects Page for details.

Specifications   Technical Notes   Calibration   Exciter Schematic   PA Schematic

Copyright � Murray Greenman 1997-2005. All rights reserved. Contact the author before using any of this material.