09-26-2013 04:19 PM
Using a 2920...I would like to transmit a single tone on the Tx channel (i.e. I and Q constant)...then receive that single tone on the opposite Rx channel, and measure the phase. Since the Rx I and Q would be at DC...this makes the phase calculation rather simple.
In my own experimentation with the shipped Tx and Rx examples though, it seems that signals around a few 10's of Hz of the carrier are attenuated. It was suggested to me that perhaps the DC offset removal procedure in the FPGA is removing my desired signal. If I move either the Tx or Rx frequency slightly off of the other, then the signal returns. I and Q are at the IF obviously...and while I could still calculate phase with I and Q at an IF...it results in other undesired changes in my application (longer integration times, more processing, etc) that I'd like to avoid.
On the other hand...some other USRP users I know have not had this issue with Tx and Rx at the same frequency. It's possible I'm configuring the radio incorrectly (which I tried to eliminate by using the canned examples)...which is why I'd like to understand whether or not narrowband Tx/Rx is even possible.
Any thoughts here?
---
Brandon
09-27-2013 10:09 AM
Hi Brandon,
Which example(s)/frequencies are you using? I will try it here and see if I observe the same results.
09-30-2013 02:27 PM
Hi James-
I put together a few screen grabs in a ppt file and attached them here.
I used the Tx and Rx "async reconfigure on the fly" examples. In short...there are some crrier frequencies where I can mix down to DC...and others where I can't. I don't find any relation between those that work and those that don't. Also...there's a good deal of harmonics when putting the Tx modulation tone below 200 Hz. These harmonics go away if I use an external source and just try to tune it to get as close to the USRP LO as possible.
Let me know if there are questions after viewing the file.
---
Brandon
09-30-2013 03:43 PM
@cochenob wrote:
I would like to transmit a single tone on the Tx channel (i.e. I and Q constant)...then receive that single tone on the opposite Rx channel, and measure the phase.
@cochenob wrote:
It was suggested to me that perhaps the DC offset removal procedure in the FPGA is removing my desired signal.
If I move either the Tx or Rx frequency slightly off of the other, then the signal returns. ---
I did not see any attached file, we are interested in the results of your experiements.
09-30-2013 04:03 PM
Thanks Anthony-
I seem to be having some trouble with doing attachments from the web form. Might be a browser issue. I will try again from a different computer later this evening.
In the meantime...we've also been thinking about trying the second approach that you mention. Could you check my understanding here....
In 'normal' operation, you define just the carrier frequency in the driver...and the analog PLL gets as close as it can to that. The CORDIC then removes any low frequency offset. To do this...the CORDIC would need to know how close the analog PLL got in the first place. Is there some kind of error signal from the analog PLL that the CORDIC reads to know how "far away" the analog stage ended up from the "actual" carrier that you input into LV? If so...then by your suggestion of intentionally setting the analog LO to result in some large IF...I'm really just intentionally creating a larger error signal for the CORDIC to correct. The 'trick' here is that the signal is captured at an IF and is away from the offset corrections in the FPGA which happen *before* the CORDIC.
Do I have this right?
10-01-2013 06:21 AM
10-01-2013 06:44 AM
Thanks guys. We'll give it a try. If you're still interested....here is some of the behavior we're seeing around DC.
10-01-2013 08:21 AM - edited 10-01-2013 08:23 AM
Hopefully, you'll see this and say "Of course"
On the transmitter, when you change your tone frequency, you'll need to adjust your number of samples accordingly to generate a complete, continuous, waveform. If you don't, the starting point and the ending point won't line up and you'll have discontinuities when you loop back over your waveform.
Bad
Good
10-01-2013 08:54 AM
Anthony-
I agree...but the discontinuities I was speaking of are observed in the Rx waveforms....not the Tx. And they're discontinuities in the middle of a fetch...not an "apparent" discontinuity due to the "phase" of the last IQ pair in a record being different from the first pair due to an "odd" number of fetch samples.
These mid-fetch discontinuities are accompanied by the strange harmonics seen in the spectrum plots.
---
Brandon
10-01-2013 08:59 AM
Wait!
Hold on...I get it now. Your saying that the Tx I and Q aren't continuous from write to write....so that's what causes the discontinuities on the Rx when I look over long continuous periods.
Giving myself a dope slap....