What it does:
After doing several medium-distance experiments in the field using
optical voice links, it became clear that it would be nice to have a
device that did several things:
- A speaker amplifier. This speaker amplifier (which should
also include a headphone jack) should be loud enough to be easily heard
and be of reasonably good quality.
- An input gain control. In addition to the volume control,
additional flexibility is provided by another gain control that allows
a
more-convenient means of compensating for the fact that the audio level
may vary over 10's of dB, depending on the length of the audio path and
propagation conditions.
- An interface to a digital audio recorder. All of our
testing so far has been recorded on portable MP3 players that also have
record capability (using the lossless .WAV format) via stereo
line-input jacks. These recorders will capture many hours
of CD-quality audio with at least 70dB of dynamic range, not only to
allow
the contents transmission to be reviewed, but to allow later analysis
of things
like signal/noise ratio, the amount of scintillation, and audio
quality. Because the recorder is stereo, it is practical to
record both the receive and transmit audio.
- A clip warning indicator. In order to prevent overdriving
the audio amplifier as well as digital audio recorder, there needs to
be a simple means by which one can determine that the audio level is
too high (or, possibly, too low) for the best-possible quality of
recording. This indicator is used in conjunction with the input
gain control to maximize the dynamic range of the recording being made.
- An audible "signal peaking" indicator. This allows the user
to not only peak the receiver, but its output can be sent to the
transmitting end via radio, telephone or even the optical link itself
to permit peaking at that end as well.
- Provide amplitude compensation of scintillation. With a
longer optical path, scintillation can become more severe. With
likely excursion of 20dB or more, this effect can reduce
intelligibility
of audio passed on the optical link in addition to just being
annoying: This circuit will mitigate many of the effects of
scintillation.
The audio interface device:
There are several circuits contained within this device and, for the
most part, they operate independently. Four schematics are shown:
- Audio amplifier and interconnections with an interface to an
audio recording device
- Input buffer amp and audible "S-Meter"
- Clip warning indicator
- Scintillation Compensator
The audio amplifier, audio recorder interface and other
interconnections:
Figure 1: The audio amplifier
and interconnect.
Click on the image for a larger version.

|
Referring to
Figure 1, the speaker amplifier is based on the
LM386-4: It should be noted that
ONLY the "-4"
version of the LM386 is rated for safe operation above 12 volts, so be
aware of this when obtaining the part.
(Another "12 volt
safe" equivalent is the LM386D, which is second-sourced by at least one
other manufacturer.) The audio amplifier drives a
good-quality 4 ohm speaker: A 4 ohm speaker is recommended, as
this allows a higher audio power to be delivered to the speaker than an
8 or 16 ohm speaker. As can be seen from the schematic, a
disconnect-type jack (J3) allows connection to an external speaker or
headphones.
An important design feature is the selection of C404, a 0.1uF capacitor
and R403, the volume control. These values limit the
low-frequency response of the speaker amplifier (down by 6dB at 150 Hz)
because of the fact that a small speaker cannot efficiently reproduce
low frequency energy: Were this simple highpass filtering not
done, the speaker amplifier could easily be driven into distortion
trying to amplify 100/120 Hz hum from light sources - or even clip on
low-frequency voice components.
Switch S1 is a 6-position, 2-pole rotary switch used not only to select
amongst the audio sources, but the second half (the "B" section) is
used
to enable/disable the tone output of the audible S-meter. Were
this not disabled, bleedthrough of the tone might occur when the input
gain and volume controls were set to high levels.
To facilitate recording for archival or later analysis, J4, a stereo
jack is provided. R407 adjusts the audio level of the receive
signal source down to a "safe" level into the digital audio recorder,
while R402 similarly adjusts the audio level from the modulator or
another audio source, allowing one to use a stereo recorder to record
both the original, unprocessed receive audio, but also the accompanying
audio transmitted back to the far end. Note that it will likely
be necessary to experiment with the audio recorder that one is using to
determine a "safe" level. Once this level is found, setting R402
and R407 for a level 6 dB below the peak (e.g. half the voltage) will
allow a reasonable margin of safety.
It should be noted that the digital audio recorder records the audio
after
it has been amplified, but
before any filtering or
processing. The reason for this is that, at a later date, one may
simply play the recorded audio back through this unit to hear the
"de-scintillated" audio. Also, any processing of the audio done
at this point may mask some properties of the recorded audio that may
prove useful in later analysis - namely the analysis of
scintillation. It is vitally important that the audio recording
device have a high enough sampling rate to avoid aliasing problems with
the incidental audio and the 4 kHz pilot carrier
Finally,
Figure 1 also details the power supply. S2 is
the on/off switch with R405 and D401 providing a "power-on" indicator -
which is also useful for locating the device in the dark - especially
if the LED is placed near the volume control. C411 should be
located right next to U401, the LM386-4 to provide the best power
supply filtering and amplifier stability. R406, a 10 ohm
resistor, and C410, a 220uF capacitor, isolates the power supply of the
audio amplifier from the rest of the circuit, further improving
stability: Without these components, the slight amount of audio
that appears on the power supply could result in feedback at high gain
levels. U402 and C409 provide a quiet, stable 5 volt "mid-supply"
reference used as both a virtual ground in the audio circuitry and a
voltage reference for the clip warning indicator.
When wiring the audio amplifier section, it is best to locate this away
from the rest of the circuit, making only a single ground and V+
connection to the rest of the circuit to prevent the likelihood of
ground loops. All of the components to the right of R406 should
be located close to each other, away from the audio amplifier -
especially U402 and its associated capacitors.
A note about the wiring of J1, the TX audio input. Note the
presence of C401 and R401 in the ground lead of the jack. This
was done to break up a possible DC ground loop between the modulator's
power supply and that of this circuit. Without these components
it is possible, under some conditions, for the modulator's full supply
current to appear on the TX audio ground lead, possibly resulting in
damage to the digital audio recorder, or leading to audio feedback
problems associated with ground loops. It is recommended that, if
this unit and the modulator are
not operated from the same
power source, that the ground (negative) leads be tied together
externally.
Note that there are actually two "headphone" (or external speaker)
jacks: J3 and J5. J3 is a "disconnect" type of jack,
causing the speaker to mute when something is plugged into it whereas
J5 does
not disconnect the
external speaker. J5 was added after use in the field, as it was
noted that while using headphones improved the ability to copy weak,
noisy signal, it also muted the speaker, making it impossible for
anyone else present to hear the same audio. It is worth noting
that if
both the built-in
speaker and headphones (plugged into J5) are used, it is likely that
the volume in the headphones will be very high, so one should choose
headphones that have a volume control built into the cord to allow the
speaker volume to be high enough to be useful, yet prevent the
headphone-wearer from being deafened!
Adjustments:
As mentioned above, it will likely be necessary to determine the input
level at which the audio recorder begins to clip. For the receive
audio, a 1kHz tone is inputted and the audio level is adjusted
just
to the point where the "Clip warning" indicator just starts to come
on. With the audio recorder connected to provide loading, R407 is
adjusted so that the signal going to the audio recorder is at no more
than
half the voltage required to drive the recorder into
clipping.
Similarly, for the transmit audio, the modulator is set to maximum
output and the monitor port of the modulator is connected to the "TX
Audio In" jack, J1, while R402 is adjusted for a signal that is no more
than half that required to drive the recorder into clipping.
Operation:
Other than the volume control (the operation of which is obvious) there
is S1, the 6-position selector switch, of which only 5 positions are
used:
- In the first position, one can hear the audio from the
transmitter. This can be useful to monitor what is being sent to
the far end, but it should go without saying that feedback would likely
result if an open microphone was nearby. This is the audio that
is being sent to one of the stereo channels of the audio recorder.
- The next position is the audible S-meter. As described
below, this generates a tone that is proportional to the power (in dB)
of the received signal.
- The next used position is the "raw" audio input. This
monitors the audio output by the optical receiver with no
filtering. This is the audio that is being sent to the other
channel of the stereo audio recorder.
- The next position is notch-filtered "raw" audio - the same as
above, but with the 4 kHz pilot carrier removed.
- The final position is the "scintillation compensated" output
audio, as described below.
Component notes:
- If operation from a 12 battery is anticipated, U401 should be an
LM386-4 or LM386D. The most-commonly supplied version of the
LM386 audio amplifier (e.g. the "-1" version) cannot
tolerate a supply voltage above 12 volts with good reliability.
If the -4 version is not available, it may be possible to use 3
series diodes to drop the voltage to a safe level when using a 12 volt
lead-acid battery. If diode-dropping is done, make certain that
C411 is still connected across U401's power supply pins to
assure stable operation.
- U402 provides a stable 5 volt supply, used as a reference for the
clip warning indicator as well as a "virtual ground" for other parts of
the circuit. Although the low-power 78L05 is shown, the plain,
old 7805 could also be used.
- D401 is a "power-on" LED. It is recommended that it NOT
be the same color as the "Clip Indicator" LED (see below) to
avoid confusion in darkness - I chose green and red,
respectively. The use of a power-on LED is recommended, as
this unit is likely to be used in the dark and this LED can be used as
a visual reference - particularly if it is placed near the power switch
and volume control.
The Input buffer/amplifier and audible S-meter:
Figure 2: Input buffer
amplifier and audible S-meter.
Click on the image for a larger version.

|
Input buffer amplifier
Figure 2 shows the input buffer amplifier (U3C) used to amplify
the signal to a nominal level as well as to provide a low-impedance
audio source for the other circuits, audio amplifier, and record audio
output. This circuit includes some RFI protection (C101) and is
capable of up to 40dB of gain. The reason for having variable
gain is due to the fact that the signal levels from an optical receiver
depend on how much light is available from the distant transmitter,
plus the depth of its modulation. Because this signal level could
easily vary over 10's of dB, depending on circumstances, R103 allows
adjustment of the gain to boost this signal to the highest "safe"
level. This not only keeps this signal level in a "safe" range
for the audio recording device - well above the noise floor - but it,
along with the
Clip warning indicator (see below)
prevents any circuits from being overdriven, something that would
likely result in distortion.
Audible S-meter
One of the difficulties in achieving precise optical alignment is being
able to judge the amplitude of the recovered audio. When the
optical path is first established, one typically uses a bright light to
provide an initial "eyeball" reference for the location of the distant
transmitter, but at some point, it will be necessary to "talk in" the
alignment of the distant transmitter - something that is typically done
over a radio or telephone link. This can, at time, be quite
tedious. Once the "rough" alignment of the transmitter and
receiver has been completed, there is also the task of the fine-tuning
of the link. Often, a modulated tone is used and adjustments are
made to obtain the loudest tone - but this has several difficulties:
- The human ear is terrible at distinguishing absolute audio
levels. The loudness of the tone "now" may be quite different
from what it was just a few moments ago, but without an absolute
reference, it would be difficult to tell.
- The human ear isn't very good at distinguishing small differences
in amplitude. As it turns out, differences of 3dB may be somewhat
difficult to discern.
- The presence of scintillation - along with its peaks and nulls -
can make it difficult to determine the absolute highest amplitude.
- If one is relaying such audio over a radio or telephone link, it
can be even more difficult to determine audio levels. Problems
can result from too high or too low tone levels being coupled (usually
speaker-to-microphone) via the radio and the subsequent degradation -
especially if the audio is too high in level and causing clipping of
the transmitter. If a telephone is used, the same problems can
occur, plus the fact that the digitization of the audio by the
telephone often, by its nature, causes slight differences in amplitude
to be masked.
One way to minimize some of these problems is through the use of tone
that varies in frequency according to the signal strength. By
design, both my
PWM
and
Linear
modulators have built-in tone generators, capable of produce a variety
of audio frequencies - including a very precise, fixed 1 kHz tone,
modulated at 100% power. It is this tone that may be used to
provide an amplitude reference for peaking the received signal.
Note that this unit is intended to be used with an
Amplitude-Modulated
lightwave communications system and cannot work with an FM-type
system: This scheme relies entirely on the fact that the 1 kHz
tone being received from the distant end will have a loudness that is
proportional to strength of the optical signal being received.
Note that using a modulated tone for peaking is really the only
practical way to discern the strongest optical signal: I've seen
suggestions made for somehow monitoring the current (or voltage) from
the photodetector itself, but it should be remembered that not only
does this parameter vary over many 10's of dB - a fact that makes it
extremely difficult to detect when at low levels - but it is easily
swamped by normal variations in the photodector's operations, such as
temperature or even ambient light.
Instead of trying to relay the "loudness" of the received 1kHz tone via
a radio or telephone link, this circuit produces a tone that has a
frequency that is roughly proportional to the power of the received
tone, in dB. By using the pitch to indicate signal strength
rather than loudness, it is much easier to peak the signal, as one
simply adjusts for the highest note: Unless one is completely
tone deaf, adjusting for the highest pitch is
much
easier than trying to discern the maximum
loudness. In actual testing, variations of less than one dB were
easily detectable despite the fact that the unit has well over 40dB of
usable range.
U3D is a fairly low-Q bandpass filter centered on 1 kHz. Because
the Q is fairly low, tuning isn't very critical and using standard 5%
parts, it should be centered fairly close to 1kHz, but R118 may be
tweaked slightly if it is off-frequency. This filter vitally
important as its purpose is to
remove extraneous noise, such as most of the broadband white noise from
the receiver,
as well as the majority of 100/120Hz energy (and most of its harmonics)
from lighting, leaving
intact the 1 kHz tone from the distant transmitter.
U3A is a simple logarithmic amplifier that increases the dynamic range
of the audible meter from 15-20dB to well over 40dB and it does this by
having an output voltage that increases linearly for each doubling of
the input voltage. By doing this, the voltage changes relatively
little over a very wide range of signal levels, but even fairly minimal
changes in input levels can still be detected. Note that the
output of this very simple logarithmic amplifier will increase (and
thus, the tone) with lower temperature because of the change in the
diodes, but this may be compensated with the input gain control and
shouldn't be a noticeable problem to the user.
The output of the log amp, a sort of rounded square wave, is slightly
filtered by C106 and R107 and then amplified by U3B to several volts
peak-to-peak (under high-signal conditions) and following this is a
simple
rectifier and filter consisting of D103, D104, C108 and R110, the
output
of which is a voltage that is roughly proportional to the audio level
in decibels. A sample of this voltage is buffered by U1C and is
made available on the front panel, allowing one to use a voltmeter to
check the relative signal level, in addition to the tone frequency.
R110 is used not only to set the time constant of the voltage filter,
but it also scales the voltage downwards for input to U4, a 4046, which
is used as a VCO (Voltage Controlled Oscillator) - a necessary step
owing to the fact that U4 is powered from the +5 volt supply and the
voltage across C108 could exceed 5 volts. On U4, C109 sets the
general operating frequency range, and for this reason, a somewhat
temperature-stable capacitor should be used (about anything other than
a disk ceramic whould be fine) R11 sets the maximum frequency, and
R112
set the minimum frequency: Without R112, the output of U4 may
cease under no-signal conditions when it faithfully produces a "zero
hertz" output in response to a zero volts input. As shown, the
frequency range is from about 100Hz to 2.5 kHz.
Controlled from the rotary switch, Q101 is used to enable/disable U4's
oscillator: It was noted in testing that if the input gain and
amplifier volume control were turned way up, the oscillator of U4 could
be heard in the background, and disabling the oscillator when the
audible S-meter was not being used cured that problem. R114, C111
and C112 are used to reduce the level of the output tone and filter
some of the harmonics from it.
Adjustment:
The only required adjustment is that of R110. To do this,
first apply a voltage to the "VCO Enable" input to turn on the
oscillator. Next, set R110, "Tone Range Adjust" to mid-rotation
and R103, the input gain control, to minimum and then apply a 1kHz tone
to the main audio input. Increase the level of the 1kHz tone
until the highest-pitch tone is observed at the "Tone Out" point:
You may need to increase R103 to achieve the highest-pitch tone.
Now, adjust R110 to obtain the highest pitch possible - and then adjust
it down slightly (by a few musical notes) to allow for a bit of extra
"headroom" in the drift of the logarithmic amplifier's diodes
with temperature.
Component notes:
- U3 is a typical quad op amp, such as the TL084 or LF347.
Note, however, that if an LM324 is used, it is strongly recommended
that a 1.5k-2.2k resistor be placed from pin 8 to ground to assure that
it will not cause crossover distortion. (The possible
presence of distortion on the other outputs is not important.)
- D101 and D102 are shown as 1N4001 diodes, but 1N914/1N4148-type
small-signal diodes (such as those used for D103 and D104) would also
work.
- Q101 could be any general-purpose NPN silicon transistor.
- U4 is a standard CMOS 4046 PLL/VCO. Because the phase
detector is unused, pin 4 is tied to pin 3 to avoid a "floating
input" (because they were next to each other!) but pin 4 could be tied
to +5V or ground as well. Because
a
+5 volt supply is used for U4 (for voltage/frequency stability) one
could also use a 74HC4046, but the values of C109, R111 and/or R112 may
have to be adjusted slightly to provide a frequency range that will
suite your taste.
Operational notes:
It is best to start off by adjusting the input gain control (R103) so
that under no-signal conditions, the tone pitch
just
starts to increase, being keyed by noise: In this way, even the
slightest presence of a 1 kHz tone from the distant end will begin to
register. During alignment, it is
very important
that one makes sure that the audible S-meter isn't being "pegged" (at
the highest frequency) - something that is easily checked by
occasionally adjusting R103 to reduce gain and also by noting that the
pitch of the tone becomes constant, rather than waver due to
atmospheric disturbances.
As you might suspect, scintillation shows up as a randomly varying tone
pitch, but even so, it is still intuitively easy to determine the best
signal - in spite of the constantly-varying tone.
Comments on in-the-field use:
The "audible S-meter" has already been used successfully several times
in field conditions:
- On a 15 mile path using 3-watt LEDs and Fresnel lenses:
The first time that this system was used was in aligning the optical
gear on our "standard" test shot across the valley. On this
occasion, the far end's LED was very easy to see with the naked eye and
"rough" alignment was done, via voice feedback on the radio, only to
the point of just being able to see the beam from the far
end. At that point, the near end used that weak beam to peak the
receiver using the audible S-meter. At that point, the tone from
the audible S-meter was then transmitted to the far end via radio and
they used the tone as feedback for precise aiming: The entire
process was quick and painless!
- On a 15 mile path using a standard red Laser poionter:
Previously, peaking the very narrow beam of a laser pointer was a very
tedious and frustrating processes: The delay between the far-end
observer seeing the laser and being able to tell the person trying to
aim it made the aiming processes only slightly less frustrating than
something completely useless. In this case, the already-aligned
receiver (the alignment having been done during the LED testing) was
used for receiving and a 1 kHz tone was modulated onto the laser.
The far end simply swept the beam back and forth, listening to the
S-meter's tone from the far end via radio. Because even the
briefest "hits" could be heard - even if they are off-point and not
readily visible to the naked eye - it was possible to align the laser
pointer precisely on peak, even with the laser pointer being mounted on
a cheap photographic tripod.
- On a 107+ mile path using 3-watt LEDs and Fresnel lenses:
During this test, the air was extremely hazy due to wildfires in
California, but views through an 8" telescope revealed that the a
vehicle's headlights could just be seen through the haze.
Using the telescope and voice feedback, the far-end's LED transmitter
was approximately peaked. While it was modulated with a 1 kHz
tone, the near end's receiver was then swept until a deflection on the
audible S-meter was noted. At this point, the S-meter's tone was
then transmitted back to the far end and used to peak up the
transmitter. Final touch-up was done on both ends by each end
alternately using the other's 1 kHz tone for receiver peaking, as the
beamwidth of the receiver is narrower than that of the transmitter and
is the more critical adjustment.
- On a 173+ mile path using 3-watt
LEDs and Fresnel lenses: While initial alignment was
accomplished by sighting the far end using a telescope, full end-to-end
alignment was completed using the audible S-meters at each end.
Despite the extremely weak
signals, the system still worked nicely, able to detect the presence of
the alignment tone from the far end before it became audible to the
"naked ear."
Clip warning indicator:
Figure 3: Clip warning
indicator.
Click on the image for a larger version.
 |
Figure 3 shows the Clip warning indicator. The purpose of
this circuit is to provide an indication that the peak audio levels
area approaching a level that may result in clipping (distortion) in
the audio recorder in addition to (possibly) exceeding the useful range
of the other circuits. If this condition is noted, signal levels
may be reduced by readjustment of the input gain control, R103.
The input audio signal is full-wave rectified by U5C and U5D to allow
easy detection of both positive and negative audio peaks, while U5B is
configured as a comparator with a slight amount of hysteresis, the
"indicator" threshold being set with R208. Because U5B inverts,
positive-going pulses are produced when the input level exceeds the
threshold level, and this pulse charges C202, a capacitor used to
stretch out the pulses to allow longer-duration illumination of the
clip indicator LED. The capacitor-filtered voltage is buffered by
U5A and this voltage is used to turn on Q201 and, in turn, D204, the
"clip warning" LED.
Adjustment:
R103 is set to minimum gain, and a 1kHz sine wave is applied to the
main audio input. Using an oscilloscope, the main
amplifier/buffer audio output (pin 8 of U3C) is monitored while the
audio input level and/or setting of R103 is adjusted for a sine wave
with a 1.5 volt peak-to-peak amplitude: R208 is then adjusted so
that the clip LED
just illuminates. This adjustment
should yield a clip indication at a level that is safely below clipping
of other portions of the audio chain.
Note: If a digital audio recorder is used,
experience has shown that the "clip" light's threshold should be set to
illuminate at 10-15dB
below the clipping threshold of
the digital audio recorder. In actual use, it is easy to forget
to check the settings of the input gain control, allowing the audio
level to be too high. In most cases, an audio recorder with 16
bit A/D resolution has adequate dynamic range and suitable signal-noise
ratio
(even the inexpensive ones usually have at least 70dB S/N)
so that audio with peaks 10-20 dB below the clipping level will
reproduce adequately.
Component notes:
- U5 could be nearly any quad op amp, such as a TL084, LF347, or an
LM324.
- D201-D203 may be virtually any small-signal silicon diode -
1N4148 types are typical.
- Q201 could be any general-purpose NPN silicon transistor.
- D204 is a standard LED. Because it is to indiate a warning
condition, red would likely be the preferred color. It is also
recommended that it be placed fairly near R103, the "Input Gain"
control, as that would provide a handy visual reference for the
location of the gain control when operating in the dark and one needs
to adjust the gain.
Scintillation Compensator:
Figure 4: Block diagram of
the scintillation compensation system.
Click on the image for a larger version.
 |
One difficulty encountered with optical through-the-air communications
is that of
scintillation.
This effect manifests itself as "twinkling" in distant light sources
such as stars or distant streetlights. As the through-the-air
length of the path increases, an optical signal is more affected by
this phenomenon, resulting in often rapid and extreme random variations
in signal amplitude.
There are several ways to minimize scintillation:
- Choose an optical path as free as possible of air
disturbance. Because scintillation is enhanced by air movement as
well as difference in temperatures, humidity, and pressure, it makes
sense to, wherever practical, choose an optical path that is less
likely to be so-affected. This might include avoiding paths that
are too close to the ground, those that pass over large water bodies or
"heat islands" such as large metropolitan areas, or over a path that
tends to have a lot of wind activity. Of course, it is often the
case that one does not have much of a choice as to the nature of
terrain in between two sites.
- Use as large aperture optics as possible. For transmitting
light energy, the light should be collimated to a large a beam as
possible. With a large transmit aperture, the beam is more likely
to "straddle" several small parcels of air and scintillation is likely
to be reduced. Likewise, on the receive end, having a large
aperture lens is akin to "spatial diversity" in that if the light
reaching one portion of the lens is being attenuated by scintillation,
there is a reasonable likelihood that another portion of the lens is
still receiving some signal.
- Avoid the use of coherent light. For various reasons,
Lasers have often been used for long distance atmospheric
communications, but maximum range has been limited for a number of
reasons, including extreme scintillation. With a coherent light
source, differences in the atmosphere along the path will slightly
change the velocity of the light, resulting in a randomization of that
wavefront. The result at the receive end is that portions will
cancel themselves out, greatly increasing the magnitude and rate of the
scintillation. By using noncoherent light sources (such as LEDs)
this effect can be eliminated.
- The use of non-AM modulation schemes. Often, FM (using
ultrasonic-frequency) subcarriers have been employed to carry
audio. Because of the nature of FM, amplitude variations go
unnoticed - as long as the signal is far enough above the noise to be
properly be demodulated. While this scheme works, it has several
downsides, notably complexity, and reduce performance over a purely
amplitude-modulated link, owing both to the lessened sensitivity of an
optical receiver that can operate at such frequencies as well as the
fact that extra margin is required for the FMed signal to achieve
reasonable "quieting."
In this case, because we are using AM to modulate the light sources,
there is another method available to us to combat the effect of
scintillation and that is to track, and compensate for, changes in the
amplitude of the signal. A practical way to do this is to
transmit an amplitude reference along with the audio to be used to
restore the signal at the receive end using a keyed AGC system.
It should go without saying that this system can
only
recover a signal that still exists: It can do nothing for those
portions of the signal that have disappeared into the noise
floor! All it can do is level out the amplitude of the received
signal to improve intelligibility.
As mentioned before, both my
PWM
and
Linear
modulators include built-in tone generators. One of these tones
is a 4 kHz pilot tone, modulated at 25% of full output (12dB down) in
order to serve as an amplitude reference. A frequency of 4kHz was
chosen because it was above the speech range, but still within the
frequency response passband of even a fairly low-bandwidth optical
receiver.
Figure 4 is a block diagram showing the operation of the system:
- The modulator mixes a stable 4kHz tone with the transmitted
audio. The modulator includes a speech processor that can "see"
the 4 kHz tone and prevent the combination of it and the source audio
from overmodulating, but the 4 kHz tone itself is not
affected at all by the compressor, being near the end of the audio
chain. In this way, the tone has a constant amplitude, regardless
of the audio source.
- The signal, modulated with a 4 kHz pilot tone, is modulated,
transmitted over the atmospheric path, and then demodulated back to
audio at the far end: It is this audio that is affected by
scintillation.
- The 4 kHz pilot tone is extracted and filtered from the received
signal. This signal is then put into the "rectifier" input of a
compandor chip.
- The 4 kHz pilot tone is notched out of the receive signal and
this is inputted to a gain cell, controlled by the rectifier of a
compandor chip that is fed by the 4 kHz pilot signal.
- One may note that, in the transmitter, there is not
a 4
kHz notch filter. Ideally, one would remove incidental energy
from the passband occupied by the 4 kHz pilot carrier (plus its
modulation caused by scintillation) but it turns out that speech has
relatively little energy in this frequency range, and what is
present is of short duration. In testing with speech and music,
the effect of "program audio" landing in the pilot carrier's passband
manifested itself as only a brief gain reduction in the audio and would
probably have gone completely unnoticed unless one was listening for it.
Figure 5: Schematic of the
scintillation compensator.
Click on the image for a larger version.
 |
Figure 5 shows the schematic of the scintillation compensator.
U1A is a MFBF (Multiple Feedback Bandpass Filter) circuit tuned to the
pilot carrier, 4 kHz. A notch output is obtained by summing the
input signal (the junction of R301 and C301) and adding it with the
out-of-phase bandpass signal from the output of U1A using the summing
amplifier, U1D. The result is that at the notch frequency, those
two signals cancel each other out, yielding audio output by U1D that
has been filtered of the 4 kHz pilot tone.
The bandpass output of U1A is passed through a simple highpass filter
(C312/R312) and into a 2-pole highpass filter consisting of U1B.
This amplifies the signal somewhat and it is then passed through
another simple highpass network consisting of C315 and R317. The
result of this filtering is that signals at 1 kHz are attenuated by
more than 40dB while signals around 4 kHz are passed easily. This
asymmetrical bandpass response removes those frequencies at which the
majority of voice energy resides, that is those below around 2.5
kHz. Were this energy still present, the filter would track the
audio content in addition to the pilot carrier level. This
filtered 4 kHz output is then fed into the rectifier input of U2A, an
NE571 compandor IC, with C308 being used to set the AGC time constant.
The output of U1D - the notch-filtered audio - goes into the NE571,
which is wired as a compander, with a "gain cell" connected across the
feedback path of the '571's built-in amplifier.
The result of this is that as the amplitude of the pilot carrier goes
down, so does the output from the rectifier, which increases gain of
the amplifier. Likewise, as the pilot carrier amplitude
increases, the gain of the amplifier is commensurately reduced.
Because of the design of the NE571, the rectifier and gain cell track
within a few dB over more than 40dB of dynamic range, resulting in an
audio output that is in lock-step with the amplitude of the pilot
carrier and in this way, the scintillation is removed.
Limitations of this method
It should be immediately pointed out that this method will effectively
combat scintillation effects of a received signal, but it cannot
possibly recover a signal that has already been lost to the
noise. What it does do is to reduce the annoying effects of
scintillation that can cause individual syllables or even words to be
lost as the signal momentarily drops in amplitude. If there is
sufficient signal margin, the lost audio will simply be brought up as
the signal fades, improving intelligibility. If the signal is
already fairly weak, instead of audio, one will simply hear bits of
noise - but it seems that this makes for a more intelligible audio
source than without the compensator, as the human brain seems to be
able to deal better with bursts of noise where syllables should be
rather than silence.
When designing a pilot-based keyed AGC system such as this, one
important design point must be to take into account two important
factors:
- The rate-of-change of the received signal. How quickly is
the signal changing its amplitude?
- The magnitude of the rate of change. How much does the
signal level change?
It was through empirical testing that both of these factors were
determined. In
past
testing, two primary tests were done:
- The use of a coherent (Laser) using an 8 inch reflector telescope
(about 50 sq. in of area, taking into account secondary mirror
blockage) for transmitting, and a 70 sq. in Fresnel lens used for
receive.
- The same optics as above, but using a high-brightness red LED.
As expected, the use of the Laser represented, by far, the worst-case
scenario. It was noted that significant
(30 dB) amplitude variations within a period of 30 milliseconds were
common, with many smaller amplitude variations occuring in well under
10 milliseconds. The LED, on the other hand, had much slower
fading, typically 10dB of change occurring in about 60
milliseconds.
An example of the differences between
coherent and noncoherent light sources may
be heard here:
Using the Laser as the worst-case example, the design goal of this
circuit was to be able to compensate for the variations experienced in
that test. Through the use of a recorded audio clip, I was able
to evaluate the operation of the compensator on an actual clip that had
been recorded in the field. To this end, the time constant of the
AGC circuit was set at approximately 1 millisecond.
The AGC being able to operate at this rate is irrelevant unless the
pilot carrier's detection bandwidth is suitably wide as well, which
means that the filter must not be so narrow that the pilot tone's
passing through it would not be able to track the rate-of-change.
As can been seen from the circuit in
Figure 5, U1A acts as a 4
kHz bandpass filter, the "Q" of which is purposely low: If the Q
were fairly high, it would be able to reject off-frequency energy
better, but it's response to variations in the amplitude of the pilot
carrier would be slowed, not to mention that the filter itself would
tend to delay the pilot carrier as it changed amplitude, causing the
AGC response to lag the change in audio.
To further improve rejection of off-frequency energy, a 4-pole highpass
filter was employed, following the 4 kHz bandpass filter. The use
of a highpass filter was chosen because it could effectively reject the
frequencies at which the vast majority of the energy was present,
namely below 2 kHz, but it wouldn't have too much of an effect in
slowing the response of the variations of the 4 kHz pilot
carrier. Circuit simulations indicate that the group delay of
this entire filter at 4 kHz is on the order of 250 microseconds with
attenuation of greater than 10 dB at 2.5 kHz and more than 40dB at 1kHz.
Adjustment:
The only adjustment that is really required is that R303 be adjusted
for the best rejection of the 4 kHz pilot tone: At least 20dB of
rejection should easily be obtainable, but well over 40dB could be
managed
if either R305 or R306 were made slightly variable: Typically,
one would temporarily parallel a 1 meg trimmer potentiometer across
R305 or R306 (one may need to try both, as it would be
either
R305
or R306 that would need to be adjusted)
and alternately adjust R303 and the trimmer to obtain the best
notch. One would then (carefully) disconnect the 1 Meg trimmer
potentiometer, measure its value, and then replace the trimmer with a
fixed resistor of a standard value closest to that of the trimmer.
In order to
maintain notch stability, C302 and C303 should be temperature-stable
units, preferrably polystyrene, silver mica, C0G, NPO, or even
mylar - but
never with ceramic disk capacitors of the
"Y" or
"Z" type (e.g. Y5P, Z5U, etc.)
The component values shown are approriate for a 4 kHz pilot tone that
is 12dB below the peak audio. If the pilot tone is of a lower
amplitude, it may be necessary increase the value of R308 in order to
reduce the amount of signal appearing at the VGA (Variable Gain
Amplifier) to prevent distortion. Alternatively, one could modify
the values of the U1B highpass filter to amplify the 4 kHz tone to
compensate.
Operation of the scintillation compensator:
Figure 6: The audio
interface unit, outside and inside.

|

|
When changing operational modes, always turn down the volume
control - especially if using headphones!
As you might expect, in the absence of a pilot tone, the gain of this
circuit will immediately go to maximum, and if the user is wearing
headphones, this could result in painfully-loud audio! While this
will likely
result in the appearance of just a lot of noise or other audio, it
could also cause
feedback to occur - particularly if the volume control and/or input
gain control is set very high and the audio input jack is unterminated!
If signals are extremely weak, it may be useful to switch to the
"Scintillation Compensation" mode, even if a pilot carrier isn't being
transmitted. Without a pilot tone present, the AGC will increase
the gain considerably, providing even more gain than is available even
if R103 (the input gain control) is adjusted for maximum. If this
is done, keep in mind that owing to the extreme amount of audio gain
(as much as 80dB) that feedback may result, especially if the volume
control setting is near maximum. It should also be remembered
that the amount of signal being sent to the audio recorder is dependant
upon the setting of R103 - but is not in any way affected by the
operation of the scintillation compensator - and, if you are using the
AGC of the compensator to increase gain, it should be remembered that
decreasing the setting of R103 too much may degrade the
recording. In other words, if you are running the gain "wide
open" using the scintillation compensator, it is best to keep the gain
high using R103 (but avoiding feedback) but the volume control set to a
lower level.
Comments:
- If U1C is used as a buffer amplifier for the "signal level"
voltage (as shown in the "Audible S-Meter" schematic) it will be
necessary to use an op-amp that can go to the negative supply rail -
one such device being the LM324. If an LM324 is used, however, it
is highly recommended that "bias resistor" (e.g. R318 and R319) be used
owing to a quirk with the LM324: Without these resistors,
noticeable crossover distortion could occur.
- It is possible to use pin 8 of U2 to trim the NE571 to minimize
audio distortion, but this was not done, as the observed distortion was
not objectionable. See the NE571's data sheet for more
information if you wish to do this.
- It should be noted that only one half of U2 is used: I am
considering
using the other half of U2A as some sort of AGC amplifier to maintain a
"sane" volume level in the event of a loss of pilot tone.
Component notes:
- As mentioned above, be sure to include R318 and R319 if an LM324
is used, and an LM324 only need be used if U1C is used to buffer the
"signal level" voltage from the audible S-meter. If a different
op-amp is used (another rail-to-rail op amp, or an amplifier such as
the TL084 or LF347 if U1C isn't used to provide a signal level voltage)
then these resistors would not be needed.
- U2 could be either an NE570 or NE571: The NE571 is
generally more available and less-expensive, as it is simply a
less-tightly specified version of the same chip.
- Modifications: For schematic versions 1.02
and
later,
R311 was changed from 47k to 3.3k and R309 changed from 2.2k to
1k. R311 was changed to speed the time constant of the DC offset
being passed through back to U2A's op amp input (from the output) to
prevent the amplifier from "hitting the rails." This occurred
under certain conditions, notably with weak signals that caused the
amplifier's gain to be very high and in conjunction with audio that had
fairly high, short-duration peaks. R309 was changed to reduce the
amount of audio being applied to the variable-gain amplifier to
minimize clipping under certain conditions of high audio levels.
Observations using the scintillation compensator:
Initial testing of the scintillation compensator was done with a
previously-recorded audio clip that consisted of music and speech
transmitted along with the pilot tone via a Laser using a
large-aperture emitter -
regardless of what is said in the
voice
announcement. This clip was used to test the
design of the scintillation compensator and was the basis for the
empirical determination of the needed time constants in the AGC system.
The audio clip below consists of the following segments, demonstrating
the operation of the scintillation compensator. This audio clip
contains exactly the same audio played twice - first without the
scintillation
compensator, and then with the compensation active. In each case,
the 4 kHz pilot tone was removed by the notch filter.
- No scintillation compensation:
- Voice announcement (0:29-0:39)
- With scintillation compensation:
- Voice announcement (1:06-1:14)
- "Before
and after" demonstration of scintillation compensation (MP3
audio file, 1:14, 507kB) Note that the use of short duration
(<30 second or
10%)
music
clips is
considered to be acceptable fair use under
current interpretations of
U.S. Copyright law. (Music: X-Files theme by Mark Snow, DJ
Dado remix)
Remember: Both portions of the above clip were
transmitted using the laser/telescope combination. (Ignore what I
said in the voice announcement as it was edited, anyway...)
Comments about the audio clip:
In experimentation, it always surprised me that despite severe
scintillation, the effects on speech intelligibility was less than I
would have expected. This makes sense, owing to the rather
redundant nature of speech and the ability of the brain to "fill in the
gaps." In the case of the Laser scintillation, the periods during
which the audio was badly attenuated were brief enough that typically,
only a syllable might have been lost, but in most cases, enough of the
original speech remained to be able to fill in the blanks.
Nevertheless, listening to such audio can cause "ear fatigue" and
usually requires that the audio gain be turned up quite high - often
enough that the peaks of the audio are extremely loud and causing
clipping of the audio amplifier or, possibly hearing damage.
Having de-scintillated audio can greatly reduce the peak-to-average
ratio and mitigate several of these factors.
Upon listening to the above clip, there are several things that you
might have noticed: The first of this is that the background
noise is mostly 120Hz (plus harmonics) from urban lighting - an
inevitable result of the fact that the optical path spanned a
metropolitan area. Had this test been done in an area free of
artificial light sources, the noise floor would not only have been free
of hum, but would have been a number of dB lower, thus resulting in
a better overall receive system signal/noise ratio. In the
"un-compensated" clip, the background hum stays constant - as you'd
expect - but in the "compensated" clip, the level of the background
noise fluctuates wildly as the AGC tracks the pilot carrier.
Another interesting thing is that the "un-compensated" clip has what
sounds like clipping-related distortion, but this is much diminished in
the "scintillation-compensated" clip. As it turns out, this is,
in fact, distortion caused by the original scintillation when the rate
of change of amplitude is a significant portion of the period of the
lower-frequency audio components. In particular, the bass notes
and certain speech components are distorted, as their waveforms are too
"slow" to ride atop the amplitude envelope caused by the
scintillation. After compensation, much of this distortion is
corrected, as can be heard from the clip.
Additional comments on construction:
After the pictures in
figure 6
were taken, several minor modifications were made:
- The bodies the front-panel potentiometers and the speaker frame
itself were tied together and grounded: This reduced the
likelihood of feedback when the gains were set to extremely high levels
- especially if nothing was connected to the external receiver input,
as the frame of the speaker (and the bodies of the potentiometers)
could weakly cross-couple with each other.
- The plastic case was lined with copper foil which was then
connected to the circuit ground. Initially, there was a tendency
for some of the transmit audio to find its way into the receive audio,
but the use of separate batteries for the transmitter and receiver -
along with separating the transmit and receive gear - turned out to be
the most effective way to minimize any crosstalk.
- Banana-type jacks were added to the front panel, connected to the
"Signal Indicator Out" (see figure 2) to provide a means
of connecting a voltmeter to the voltage source of the "audible
S-meter" in figure 2. While I find the tone-based audible
S-meter to be most
useful, some may find a voltage indication (especially when using an
analog meter) to be more useful.
Return
to the KA7OEI Optical communications Index page.
If you have questions or comments concerning the contents
of this
page, feel free to contact me using the information at this URL.
This page and contents copyright
2007-2008. Last update: 20080909