Spread spectrum radio is now used extensively for both military and civilian communications. James Vincent describes the circuitry for a fully functional experimental voice link.
The most commonly used group of pseudo-random sequences used in spread spectrum are the maximal linear code sequences (sometimes called M-sequences or PN -- pseudo-noise -- codes). Maximal codes are the longest codes that a shift register of specified length can produces and have mathematical properties well suited to spread spectrum communications.
A maximal shift register pseudo-random generator consists of a shift register with selected outputs being exclusive-ORed and fed back into the shift register input. The circuit goes through a number of states (determined by the bits in the shift register at each clock pulse) before it repeats itself after a set number of clock pulses. The maximum number of states for a shift register of length m is 2m, ie for a 7-stage shift register 27 = 128 states. However the all-zero state is not allowable as the pseudo-random generator would lock-up as ex-ORing two logic 0 results in yet another logic 0 at the input. Therefore a maximal length pseudo-random code generator can produce a pseudo-random sequence 2m-1 bits long before repeating itself.
To obtain a maximal sequence, the correct shift register outputs (tap points) must be found. These could be found be experimentation but this would be very time consuming! However tables of feedback connections are available.
A 7-stage (ie seven flip-flop) shift register can produce a maximal code of length 27-1 = 127 bits (known as chips in spread spectrum terminology) long. The feedback tap points may be taken from the following stages:
[7,1] [7,3] [7,3,2,1] [7,4,3,2] [7,6,4,2] [7,6,3,1] [7,6,5,2] [7,6,5,4,2,1] and [7,5,4,3,2,1]As the simplest circuit implementation is often desired, the first option of tapping the seventh and first stages is selected.

To avoid the all zero-lock up problem, inverting stages are inserted before the shift register input and at the output of the shift register. When the shift register is switched on, a reset pulse is initiated. This pulse initiates all shift register outputs to logic 0. This would normally lock up the pseudo-random sequence generator. However the input inverter injects a logic 1 so that the maximal sequence can commence. The output inverter ensures that maximal code output is inverted negating the effect of the anti-lock-up inverter at the input. The maximal code is also available at the output (A) of the modulo-2 adder, but the second inverter output is normally used to permit direct drive of the DBM in a direct sequence system.
Receiver Functional Description
The 435 MHz direct sequence (ds) signal is first amplified by a low noise amplifier2 followed by a helical filter and further amplification by a low noise amplifier block (MAN1-LN) and a MAR8. The ds signal is mixed with a 7 dBm 365 MHz local oscillator in a down-converter. The ds signal now centred on an intermediate frequency of 70 MHz is amplified (MAR8) and bandpass filtered (PIF-70), before being resistively split into three identical signal paths. In each signal path (late, on time or early) the 70 MHz signal is amplified by a further MAR6 amplifier. A DBM configured as a biphase shift keyer is driven by an early, on time or late pn code. The DBM is buffered by 50 ohm pads and driven by an AC logic buffer as with the DBM used as a BPSK modulator in the transmitter.
Assuming synchronism the despread output is injected into a NE605 low power FM IF integrated circuit. The second local oscillator at 64 MHz in conjunction with the on-chip mixer downconverts the despread signal (which contains the data in a BPSK format) to 6 MHz. The NE605 further amplifies the 6 MHz signal and provides filtering using 6 MHz ceramic filters originally designed for television sound strips.
A RSSI (received signal strength indicator) is available from each NE605 with a 90 dB range logarithmic output. The RSSI outputs from the early and late channels go to the delay locked loop circuit. The despread data output from the on time (punctual) channel is further amplified by a MAR8 amplifier before being frequency doubled in a Mini Circuits RK3 doubler. As previously discussed the despread data signal has a biphase shift keyed (BPSK) format. The BPSK frequency spectra is similar to that of a double sideband suppressed carrier and as for DSBSC, carrier recovery is required to demodulate the signal. It can be shown mathematically3 that by squaring or doubling a BPSK signal a twice frequency carrier is obtained. After passing the doubled signal through a 12 MHz crystal used as an exceptionally narrow bandpass filter, the signal is applied to a synchronous oscillator. This versatile circuit (see section The Synchronous Oscillator) free runs at 6 MHz and on application of the 12 MHz signal synchronously locks to half of the input frequency, effectively regenerating the 6 MHz carrier reference. This locked 6 MHz output is buffered and amplified to produce a logic level 0, +5v output, which together with the signal output from the on-time (punctual) NE605 IC is injected into a DBM configured as a phase detector. The voltage output of the phase detector is amplified, level shifted and using a voltage comparator converted into 0, +5v logic levels.




The output from this squaring loop BPSK demodulator does not recover the original data polarity as the original phase of the signal is lost in the doubling process. This is why the data was diphase encoded at the transmitter so that the correct data polarity could be recovered at the receiver.
An edge detector configured from an exclusive-OR gates produces a negative pulse for both positive and negative edges of the comparator's diphase data stream output. The edge detector output triggers monostable A, one half of a dual monostable. (Note: all monostables are non-retriggable). Monostable A is set to produce a positive output pulse with a duration of 75% of the diphase bit cell period. The Q output of monostable A triggers monostable B which produces a positive output pulse of duration 25% of the diphase bit cell period.
In turn the negative going edge of monostable B output triggers monostable C which produces a positive pulse with a duration of 50% of the diphase bit cell period. D-type flip-flop D1 is clocked by the /Q output of monostable C and flip-flop D2 by the Q output.
The positive edge of the Q and /Q outputs of Monostable C occur before and after any mid-bit transition. Thus when D1 and D2 are clocked, their outputs will be different if the diphase encoded bit represents a one, or the same if the diphase encoded bit represent a zero. If D1 and D2 outputs are exclusive OR-ed then the instantaneous NRZ data is obtained. The clock is recovered at the Q output of Monostable A. It can be seen that missing or corrupted diphase data could cause monostable A to trigger on a mid-bit transition rather than a 'start' transition. This false synchronisation will be corrected on the next diphase encoded zero as monostable A will not be triggered.


The recovered clock and NRZ data is delivered to the delta modulator integrated circuit where it is converted back into audio and amplified to a loudspeaker.
The delay lock loop and code generation circuitry permits code correlation, synchronisation and tracking. The difference amplifier has its inverting and non-inverting inputs respectively connected to the early and late channel RSSI outputs. The difference amplifier is followed by a summing amplifier used to adjust the quiescent frequency of the voltage controlled crystal oscillator and a low pass filter. The output of the inverter drives the control input of the voltage controlled oscillator. The VCXO consists of a high stability AT cut crystal in a discrete transistor based oscillator with varicap frequency control. The oscillator's low voltage output is amplified by approximately 10,000 by the linear biased HC logic gate. This hard limits the buffer's output to standard logic levels. The VCXO provides a highly stable, repeatable output which has a 2 kHz tuning range centred on 8 MHz for a tuning voltage of 0 to 6V.
The VCXO output is divided by two to produce a 4 MHz clock. This clock signal drives the 127 chip maximal PN generator. The output of this PN generator is re-clocked through a shift register by the original 8 MHz clock. By extracting the three outputs from neighbouring outputs three identical PN codes are available (early, on-time and late) but with a half clock cycle difference between them. Thus the early code is one clock cycle (or "chip" in spread spectrum terminology) ahead of the late code. Each PN code generator output drives the relevant correlator (de-spreader). See section Delay Locked Loop.
In operation the VCXO is offset to a slightly higher frequency than the crystal clock in the transmitter, effectively producing a sliding correlator. Assuming that the receiver is in range and unsynchronised, the receiver code will slide past the transmitter code. At one point in time the two codes will match. This will result in correlation and the direct sequence signal will be despread. The early channel will be despread before the late channel and the early RSSI value will be considerably higher than the late uncorrelated channel. This difference signal after filtering steers the VCXO output towards the frequency of the transmitter clock. When the receiver and transmitter clocks and PN codes are synchronised the RSSI outputs from the early and late channels will be identical and the difference amplifier output will be zero. Should the receiver clock be retarded greater energy will in the late channel than the early channel, and the VCXO will be driven by the difference amplifier to increase its frequency. If the receiver clock is advanced greater energy will be in the early channel than the late channel and the VCXO will be driven by the difference amplifier to decrease its frequency. Thus the delay locked loop will maintain synchronism once the sliding correlator has caused the receiver to lock. The frequency offset is selected such that it will cause rapid synchronisation but remain within the capture range of the loop.
The direct sequence transmitter and receiver were constructed on a combination of Veroboard and double-sided printed circuit boards. The radio-frequency circuits were built on the double-sided pcbs, with the usual RF design techniques employed. The photograph of the completed transmitter-exciter and receiver shows the combination of construction techniques used. (See August EW+WW).
The system is designed around easily obtainable components and all inductors and filters are selected from either the Toko or Mini-Circuits range to avoid the difficulties of winding coils.
The set-up of the receiver requires a functioning exciter as a source of a direct sequence signal, hence the exciter is adjusted first. This involves setting the master 4 MHz crystal oscillator with the aid of a frequency counter.
Now the receiver can be directly connected (with a suitable attenuator in-line to prevent overload) to the exciter output. Initially the 64 MHz second local oscillator should be adjusted on frequency. The VCXO's frequency is set using the centre frequency adjust potentiometer, to be slightly higher or lower than twice the measured frequency of the transmitter's master clock.
The resonant circuit of the synchronous oscillator (SO) has to be adjusted until it free-runs at 6 MHz. It is important to ensure that the SO oscillates at 6 MHz (ie not a harmonic) and the input level potentiometer is set to the minimum input level which permits reliable operation.
The gain and comparator reference point potentiometers should be adjusted such that the phase detector recovers the diphase data stream with HC logic compatible levels.
The VCXO frequency is slowly adjusted, until the sliding correlator and delay locked loop lock to and track the transmitter. If a spectrum analyser is available, a narrowband despread BPSK data signal will can be detected at the input to the PIF-70 filter. A dual channel oscilloscope can be used to monitor and compare the transmitter and receiver (punctual) PN codes. If the receiver has synchronised then the two PN codes will line up and the receiver code will be seen to track the transmitter's code. If all is correctly adjusted then the synchronous oscillator will regenerate the 6 MHz carrier with the data recovery circuit and delta-modulator i.c. recovering the audio. Various waveforms are shown on the circuit diagram to aid trouble shooting.
After this initial procedure the power and pre-amplifiers can be added for free-space checks (provided radio regulations permit). Some minor adjustments particularly of the VCXO frequency may be required to ensure reliable acquisition and locking. If the VCXO frequency offset is too great then the receiver will initially acquire the signal , but will be unable to track it. A degree of trial and error may be necessary to arrive at a receiver clock offset which provides rapid synchronisation and reliable tracking performance. The prototype took less than two seconds from power-up to synchronise and would remain in lock provided the signal was not lost.
The Radiocommmunications Agency (the UK radio regulatory authority) granted special authority to the author to experiment with spread spectrum techniques on the 70 cm band under his amateur radio service licence.
At present the UK amateur radio licence does not permit the use of spread spectrum modulation. It is hoped that in the future the standard UK licence will permit spread spectrum modes of operation as is allowed in the USA by the Federal Communications Commission.
The design and circuitry in this article is held in copyright by James A. Vincent, 1993.
TUF1, RK3 and MAR series devices are manufactured by Mini-Circuits (from Cirkit in the UK and Dale Electronics, Camberley) FX609J from Consumer Microcircuits, Witham, Essex, England. Crystals are available from IQD Ltd, Crewkerne, Somerset, England. RFFM2 DBM comes from Walmore Electronics, London, England.
1. Convert NRZ to Biphase. John T. McGaughey. Electronic Design April 12 1990
2. High Performance 70cm Pre-Amp. Timothy Edwards. Radio and Electronics World March 1982
3. Appendix 4 - Multiplication of Direct Sequence Signals. Spread Spectrum Systems Second Edition Robert C. Dixon. Wiley Interscience.
4. Communication in the Presence of Noise. C.E. Shannon. Proc.IRE, vol.37, No1,(pp10-21) Jan 1949.
5. The Synchronous Oscillator: A Synchronisation and Tracking Network. Vasil Uzunoglu & Marvin H. White. IEEE Journal of Solid-State Circuits. Vol. SC-20, No.6 December 1985.
6. Synchronous and the Coherent Phase-Locked Synchronous Oscillators: New Techniques in Synchronisation and Tracking. Vasil Uzunoglu & Marvin H. White. IEEE Transactions on Circuits and Systems. Vol.36, No7, July 1989.
7. A Practical Direct-Sequence Spread Spectrum UHF Link. Andre Kesteloot, N4ICK. QST magazine. [ Re-printed in the ARRL Spread Spectrum Handbook (pp 8-47 - 8-54) The American Radio Relay League. ].
8. United States Patents: 4 335 404, 4 274 067 and 4 356 456.
Spread Spectrum Systems Second Edition. Robert C Dixon, Wiley Interscience, ISBN 0-471-88309-3.
The ARRL Spread Spectrum Sourcebook. Editors Andre‚ Kesteloot N4ICK and Charles Hutchinson K8CH. The American Radio Relay League. ISBN 0-87259-317-7.
Spread Spectrum Communications Volume 1, 2 and 3. Marvin K Simon, Jim K Omura, Robert A Scholtz and Barry K Levitt. Computer Science Press. ISBN 0-88175-017-7 (Set).
Coherent Spread Spectrum Systems Jack K Holmes. Wiley Interscience. ISBN 0-471-03301-4.
Digital Communication by Satellite. James J. Spilker Jr. Prentice-Hall. ISBN 0-13-214155-8.
Copyright James A. Vincent, 1993
Return to the TAPR Spread Spectrum Pages