Download Software Defined Radio Receiver Application with Web

Transcript
the web user interface. As it is applied after decimation, it can have quite low transition
bandwidth without the need of too much computational resources. We have two
different filters after each other, because much lower transition bandwidth can be
achieved on the decimated signal with less computation. For example, if we want to
demodulate CW signals, the passband should be only several hundred Hertz, and this
calls for a filter transition bandwidth in this order. If we wanted to design a FIR filter
that has a transition bandwidth of 100 Hz running on a signal sampled at 2.4 Msps, we
would end up in 96000 coefficients. Such a long filter cannot be effectively processed
on today’s CPUs.
The demodulator converts our complex signal to a real-valued audio signal. The
decimating FIR filter works with an integral decimation rate, and its output sample rate
does not necessarily match the 44100 Hz sampling rate required by the client (the Web
Audio API in Google Chrome did not support any other sampling rate at the time the
web front-end was implemented). To solve this problem, a resampler is used.
The Automatic Gain Control (AGC) tries to keep the signal level constant. The output of
the DSP chain is streamed to the web browser of the user.
Figure 20: DSP chains in detail: exact libcsdr functions called (through csdr wrapper
executable) when using OpenWebRX
Figure 20 shows what exact functions in libcsdr are used for different modulations.
These chains are fine-tuned for the best result. The FFT chain is designed to provide the
spectrum display for the user.
39