usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

question about timing synchronization

SG
Sanat Gulvadi
Tue, Apr 10, 2012 4:58 PM

Greetings,

Many of my questions to this mailing list have gone unanswered in the past,
presumably because they were too basic. I hope to have more luck with this
one.

I am going to develop a flexible OFDM communication system using (at first)
2 devices each connected to a different host computer. I want to use UHD to
make a console application which I will use with MATLAB using the system()
command. I plan to do the timing and frequency offset estimations and
correction in MATLAB after successfully transmitting between the two
devices. My idea so far is to transmit by reading IQ samples from a source
binary file and then upon reception, to save IQ sample data to a
destination binary file. Since the sample data will be OFDM symbols and /or
training symbols, it will not be a continuous transmission. I want to make
sure that at the UHD end, timing differences as minimum as possible. What I
mean is that if (assuming equal sampling rates and samples per packet on
both ends) I want to transmit 1e6 samples, I want the receiver to atleast
receive all but 1 or 2 packets of the transmitted data.
Could someone suggest how I could achieve this ? Will I have to use threads
and schedule thread priorities ? So far I am receiving IQ samples but with
10 powers -9 to -14 so I am assuming it's just noise. Using a reference
clock to synchronize is not an option for me.

I'd appreciate any help.

Best Regards,
Sanat Gulvadi

Greetings, Many of my questions to this mailing list have gone unanswered in the past, presumably because they were too basic. I hope to have more luck with this one. I am going to develop a flexible OFDM communication system using (at first) 2 devices each connected to a different host computer. I want to use UHD to make a console application which I will use with MATLAB using the system() command. I plan to do the timing and frequency offset estimations and correction in MATLAB after successfully transmitting between the two devices. My idea so far is to transmit by reading IQ samples from a source binary file and then upon reception, to save IQ sample data to a destination binary file. Since the sample data will be OFDM symbols and /or training symbols, it will not be a continuous transmission. I want to make sure that at the UHD end, timing differences as minimum as possible. What I mean is that if (assuming equal sampling rates and samples per packet on both ends) I want to transmit 1e6 samples, I want the receiver to atleast receive all but 1 or 2 packets of the transmitted data. Could someone suggest how I could achieve this ? Will I have to use threads and schedule thread priorities ? So far I am receiving IQ samples but with 10 powers -9 to -14 so I am assuming it's just noise. Using a reference clock to synchronize is not an option for me. I'd appreciate any help. Best Regards, Sanat Gulvadi