Dear all,
I sent a sine wave using bladeRF board with the following parameters:
Tx board:
Frequency = 2.55 GHz
Samplerate = 5 MHz
Bandwidth = 28 MHz
TxVGA1 = -16 dB
TxVGA2 = 9 dB
Rx board:
Frequency = 2.55 GHz
Samplerate = 5 MHz
Bandwidth = 28 MHz
RxVGA1 = 12 dB
RxVGA2 = 0 dB
For transmission, I use a CSV files and tx and rx commands.
Sine waves at the input of DAC and at the output of the ADC are presented in this figure: http://www.hostingpics.net/viewer.php?i ... ission.png
The problem is that the received sine wave (at the output of the ADC) has a period that increases with time.
Does any one know the origin of this problem ?
Thank you in advance.
Nrekcah.
Sine wave transmission
-
- Posts: 303
- Joined: Mon Mar 04, 2013 4:53 pm
Re: Sine wave transmission
Are you sure it isn't just a slight frequency offset from each other?
If you transmit just a tone (vector of 1+0j) what is the resulting frequency on the other board?
If you transmit just a tone (vector of 1+0j) what is the resulting frequency on the other board?
-
- Posts: 12
- Joined: Mon Jun 08, 2015 3:14 am
Re: Sine wave transmission
Thank you Brian for the reply,
But how can I measure the resulting frequency if I transmit a vector of (1+0j) ?
Thank you in advance.
But how can I measure the resulting frequency if I transmit a vector of (1+0j) ?
Thank you in advance.
-
- Posts: 303
- Joined: Mon Mar 04, 2013 4:53 pm
Re: Sine wave transmission
There will inherently be a frequency offset between the boards. Since one board is sending just a CW, and the other board is receiving CW+(f_off), the resulting baseband signal will be f_off.
Does that make sense?
Does that make sense?
-
- Posts: 12
- Joined: Mon Jun 08, 2015 3:14 am
Re: Sine wave transmission
Yes Brian it appears that it is a frequency offset and especially a sampling frequency offset.
The offset in this case appears to be large.
Is it a method to avoid this problem ?
The offset in this case appears to be large.
Is it a method to avoid this problem ?
-
- Posts: 303
- Joined: Mon Mar 04, 2013 4:53 pm
Re: Sine wave transmission
How large is large, and what is your center frequency?
Setting the trimdac to trim the VCTCXO to be very close to each other can make the difference much smaller.
Setting the trimdac to trim the VCTCXO to be very close to each other can make the difference much smaller.
-
- Posts: 12
- Joined: Mon Jun 08, 2015 3:14 am
Re: Sine wave transmission
After 300 samples, the offset reaches more than 5 samples (the received sine wave is delayed by 5 samples from the transmitted one after 300 samples).
Yes, by setting the trimdac to be very close to each other, the difference becomes much smaller, but the offset persists.
I think that a digital algorithm must be implemented to correct the residual offset.
Did you know a digital algorithm for this purpose ?
Yes, by setting the trimdac to be very close to each other, the difference becomes much smaller, but the offset persists.
I think that a digital algorithm must be implemented to correct the residual offset.
Did you know a digital algorithm for this purpose ?
-
- Posts: 303
- Joined: Mon Mar 04, 2013 4:53 pm
Re: Sine wave transmission
Yes - you're looking for a PLL for synchronization. The basic technique you're looking for is Carrier Recovery. There are a whole slew of techniques that you can use depending on your system and what performance characteristics you need. I think entire books have been written about synchronizing wireless systems - it's a very common problem with many solutions.
-
- Posts: 12
- Joined: Mon Jun 08, 2015 3:14 am
Re: Sine wave transmission
Ok thank you Brian.