Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

LF: Adaptive variable resampling

To: [email protected]
Subject: LF: Adaptive variable resampling
From: Chris Wilson <[email protected]>
Date: Sat, 24 Mar 2018 08:14:32 +0000
Cc: [email protected]
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:message-id:to:cc:subject:mime-version :content-transfer-encoding; bh=x/BPCarnyJ4uB4wgkltolG1NU5b7xk6v4LMcD1nGg48=; b=pXKQVxOdoTtblRH05jd9P5A1/W0I3YjfluF39t7hQaCb3wieGfqgj0g4W6GudhOc2E AfO7q4N9c2OC07q7sxe4GsGMV+RLYx8mJ+Y+1uzrC6TcErHES6nrBQyFn7cIPbbtrQl/ CgGYbVwcx5+p6W4FSnJ9OQTHPlZDYKtdMi/4uHebuARb6jmUpE3gg5qs3nzzcy/lhzUc L7hQIH3wIuLrXKnyUaGhJCnx7NIIGrsCne7wh1CKjSvyiNtGUiHwj4mRkkqv8v+FeoC3 sxBtGk17SKzUKdN/+AHrwl53IaYiRxUb/cMZS+waPbl/sul5TPaEcOtXTJWQ9PgYJNhB A5Dg==
Reply-to: [email protected]
Sender: [email protected]

Hello  LF'ers,

I  am  taking  more of an interest in Ebnauat, and was wondering about
hardware  versus  software  locking  of the PC clock to the sound card
clock.  Firstly, are there motherboards and sound cards available that
will  take  a  common  external  reference? Are they very expensive if
available?

Secondly, does Spectrum Lab allow software "locking" and is it similar
to  this  latest  addition  to  HPSDR  that's just been announced? the
explanation just posted on the Apache radios forum states:

"Monitoring and optimization is a nice benefit; however, it’s not the
primary function of this feature.

 

Digital transfer of data between radio and computer is desirable
because it introduces NO noise or distortion (unlike analog
interfaces); it’s also simpler hardware-wise. However, there’s a
problem. The SDR hardware has a clock and the computer/sound-card also
has a clock. Even if both those clocks are supposedly creating, for
example, a 48Khz sample-rate to interchange data between radio and
computer, they are not locked together. Therefore, for example, the
radio might be generating samples at 48.0001Khz and the sound-card
might be absorbing them at 47.9999Khz, or something like that. With
such scenarios, there will eventually be buffer under-runs or
over-runs because samples are not being generated at the same rate
they are being consumed. When such an under-run/over-run occurs, there
will be a discontinuity/glitch/drop-out in the data stream. If those
don’t happen too often, they aren’t terribly noticeable. However, for
those who expect pure audio and digital emissions, they aren’t very
acceptable. There is a hardware solution: One of our developers has
purchased a computer sound card that can be locked to an external
clock reference, as can the radio. So, when both are locked to the
same reference, the problem goes away. However, that turns out to
require additional hardware and to be a rather expensive solution.

 

The Adaptive Resampler continually compares the rates at which samples
are being produced and consumed and it calculates a resampling ratio.
The incoming samples are then, mathematically, used to recreate a
continuous waveform and then samples with a slightly different
spacing, corresponding to the output rate, are taken from that
continuous waveform. Thus, the waveform has been resampled. This
matches the two different sample rates.

 

There are some open-source software solutions out there for variable
or adaptive resampling. However, our solution has an EXTREMELY low
spur level, making it suitable for I-Q data as well as audio. For
audio, most would say if the spurs are 60dB+ down, that’s plenty good
enough. We do MUCH better than that, perhaps a couple hundred dB down,
more than you need. There are also some other somewhat unique features
of this implementation.

 

Hope that helps.

 

73,

Warren  NR0V"


Thanks!



  

-- 
Best regards,
 Chris                          mailto:[email protected]



<Prev in Thread] Current Thread [Next in Thread>