Вы находитесь на странице: 1из 1

DESIGN TIP TECHNOLOGY

SDR Soundcard Tester


Burkhard Kainka
R1 C1 ing in phase. To test the
The key to using a sound- 1k5 soundcard we need an
card successfully in digital 22n SDR program running on
signal processing or dig- C2
R4
the PC as well as the cir-
ital radio applications lies cuit of Figure 1. Suitable

470
principally in the charac- 4 8 22n
software includes SDradio
teristics of the soundcard R L (available for download
2
TR
itself. This applies in par- IC1
from http://digilander.
+ 45 °
ticular to SDR (software BT1 3
OUT DIS
7 libero.it/i2phd/sdradio/).
6V
defined radio) programs NE555 R When things are run-
6
that turn your PC into a THR ning correctly, the screen
top-class AM/SSB/CW CV R2 R3
C3
– 45 ° should display just two
receiver, assuming your 5 1
signals: the wanted signal

100

470
soundcard cooperates. If 22n at 15 kHz and a weaker
you want to experiment image at –15 kHz (Fig-
with SDR and avoid a lot 070158 - 11 ure 2). Suppression of
of frustration, it is worth the image may not be par-
checking first whether the ticularly good as the test
Figure 1. The test circuit to generate I and Q signals.
PC soundcard you plan circuit does not have very
to use is suitable. There high phase and amplitude
are three essential elements to Figure 1 shows a simple square- justable power supply, a frequen- accuracy. If, however, the signals
success: wave generator built around an cy range from 10 kHz to 20 kHz have the same level, there is a
NE555 timer IC. At the output is can therefore be covered. problem in the processing of the
• the soundcard must have a a 15 kHz signal rich in higher There are two RC networks at the two channels: it is probable that
stereo line-level input; harmonics. Using this we can output of the test circuit, a high- the soundcard only has a mono-
determine whether or not the pass filter and a low-pass filter, phonic input.
• the card must be equipped soundcard can process the har- acting as simple phase shifters. If there is no anti-aliasing filter
with an input anti-aliasing fil- monics at 30 kHz, 45 kHz and At the basic frequency of 15 kHz at the input of the soundcard
ter; and so on. An anti-aliasing filter at these provide a total phase differ- the spectrum will show a large
the soundcard input should atten- ence of 90 degrees, correspond- number of extra lines (Figure 3):
• the sample rate must be at least uate all signals above 24 kHz. ing exactly to the typical situation it is easy to work out which har-
48 kHz and the card must be The frequency of the test genera- at the output of an SDR receiver monic corresponds to which alias
able to cope with signals up tor is, within limits, dependent on circuit using an I-Q mixer: signals frequency. The results obtained
to 24 kHz. its supply voltage. Using an ad- at the same frequency but differ- using an I-Q receiver were grim:
frequencies all the way out
Many laptops have only to 100 kHz were wrapped
a mono microphone in- into the audible range, re-
put, sometimes also rather sulting in bubbling, hissing
limited in bandwidth. In and whistling.
this case it may be possi-
ble to use an external USB In theory it would be pos-
soundcard. sible to add an anti-alias-
Most desktop PCs these ing filter to the output of
days have an internal in- the receiver to allow use
tegrated soundcard, al- with soundcards that are
though some of these do not equipped with such a
not feature an anti-alias- filter. In practice, however,
ing filter. Attempts to dis- it is not easy to achieve
able the integrated sound- the required sharp cutoff
Figure 2. Test passed!
card and replace it with a and symmetry between
better one often meet with the two channels. A typi-
failure; again, an external cal soundcard has a low
USB soundcard is a possi- pass filter set at 24 kHz
ble solution. which by 27 kHz is al-
ready attenuating the sig-
Test circuit nal by some 60 dB. This is
To avoid guesswork, the only practical using digital
best way to proceed is to filters; an adjustable ana-
test the soundcard using logue circuit to achieve
this very small circuit. This this performance would
will help to diagnose any be so complex that the
problems and will help de- simplicity benefits of SDR
termine whether the card receiver technology would
is suitable for use with an entirely evaporate.
SDR program. Figure 3. A soundcard without an anti-aliasing filter. (070158-I)

6/2007 - elektor electronics 75

Вам также может понравиться