At 04:45 PM 4/24/2006, Bill Tracey wrote:
I wonder if this is because this is one of those cards where one channel
leads the other by a sample?  I seem to recall someone mentioning on the
SoftRock list that and Audigy something or other had this problem.   Rocky
and KGKSDR have added a +/- 1 sample offset option to deal with these cards
-- think I need to find a little time to code up a patch for this option
for PowerSDR.    Anyone have an opinion on the right place to implement
such an option - ie on the C# side of the world, or should it be down in
the DttSP code?


The question revolves around whether you want dttsp to always assume synchronous sampling (that is, I&Q are simultaneous), or whether you can have staggered sampling. Then, whether the I&Q is exactly in lock step (as you would get with a classic IF at 1/4 sample rate scheme) or whether you want to implement something that has arbitrary timing offsets between I and Q.

One could do this as a calibration process. Feed in a test signal (impulse), and the time skew just looks like an allpass filter with a phase shift that varies linearly with frequency.

What you can't do is calibrate it out with a simple "amplitude imbalance/phase imbalance" two term calibration as is currently used. Kind of depends if you want to extend the current two term cal to a three term (amp, phase, time), or just bite the bullet and go for a full "across the band" calibration.

One can deal with it either in time or frequency domain. In frequency domain, you should be able to just multiply the output of the FFT by a vector of correction factors, and, if you're doing filtering in the frequency domain already, you could just multiply the factors from the calibration by the filter, so there's no additional computational burden in the realtime chain.


That said, there's probably some value down the road in coming up with a consistent way of handling multiple sample data streams that are all at the same sample rate, but have constant timing skew. It would make coherently combining multiple receiver outputs easier.

Jim


Reply via email to