Hi,
I am a new student and trying to to measure the power and voltage output from B200 SDR device (https://www.ettus.com/content/files/b200-b210_spec_sheet.pdf) using oscilloscope (TDS3000 Series: https://www.atecorp.com/ATECorp/media/pdfs/data-sheets/Tektronix-TDS3000_Series_Manual.pdf)...
Did I do right? make sense to you? please fix me!
https://www.dropbox.com/s/le4ppw32l4sp5ll/RX1.dat?...
https://www.dropbox.com/s/zr04pff9skeh8cn/TX.dat?d...
clear all;
close all;
format long;
%% initial values:
nsamps = inf;
nstart = 0;
Fs = 8e6; % sample rate 8MHz...
@FactChecker: yes, I am using the rubidium clock the time synchronized by interrupt (http://www.thinksrs.com/products/PRS10.htm) and 1 set on the TX and another on set on the RX. the accuracy of it is 5e-11s
they are not the same value, because of noise added due to signal bouncing in the lab, the amplitude of the TX data bigger than RX data 30 times. original length of TX data is about 208000, but the length of RX data is 800000, therefore after the Transmitted real TX data, and the rest of time in...
@FactChecker: Sorry for lacking of knowledge, but I thought the calculations were wrong. you also helped me know more the way to debug the problem. I appreciated for it.
Consider I have this question "how much accuracy you have in the timing?" as you mentioned. Fix me if I state: "an...
@FactChecker: very helpful, even I am still trying to understand the meaning of MAXLAG.
but 1 thing I also thinking of, that is: the professor is asking to find the interpolated maximum of xcorr rather than max sample location. So, the continuous signal is difference from computed sample peak...
I just discussed with the professor, he also mentioned the expectation for the delay will be 3ns or better (less than 1m).
I do not have continue function, I jsut have function of the sample time (sample waveform different to the continuous of time waveform)
I am taking sample number of delay...
Yes, I did. I already tried with 1 second of data, and still give me the same delay in microsecond, I know the algorithm which I posted, was wrong and I am still trying to figure out the way to get in nanosecond. According to this link which I am following...
So, Could you give me some suggestions how to fix it to make more sense?
Let me explain what I am trying to do?
I have a transmitted waveform and send to the RX device, such as TXdata.jpg and TXdata_vs_RXdata.jpg so I want to calculate the time delay with expectation is few nanoseconds. I also...
@FactChecker: thank you the reply, I will review first four suggestions from you. and the 5th one I am trying to explain to you:
I have 2 signal, 1 for the TX signal and 1 for the RX signal. The TX signal is sent from the transmitter have the waveform lTXdata.jpg and sent repeatly in 100...
I have 2 PERFECT data of the transmitter and receiver. From 2 data, I can calculate the delay estimation:
Fs = 8e6; % sample rate
...
for i = 1:2
[cc_correlation,lag] = xcorr(signal2(i), signal1);
[cc_maximum, cc_time] = max(abs(cc_correlation));
cc_estimation...
I also attached this function readcplx below, it works for .dat file, have you tried it? if you tried it and did not work, i will send you the the excel format, because these are long data in complex. it will take time to convert into excel format.
I have 2 signals:
signal1: https://www.dropbox.com/s/zr04pff9skeh8cn/TX.dat?dl=0
signal2: https://www.dropbox.com/s/h436a915dd99hln/RX1.dat?dl=0
signal2 represents for 20 measurements, each measurement combines with signal1 to get time delay estimation using xcorr.
So, I will have 20 delays...
It is helped, but for the visualization.
Do you have any information (links, or book) in detail for this topic? if I have 2 same antennas, 1 is right next to me and another is 6km away what direction do I expect for the electric field to be in distance d? and what do you expect to see the one...
I am studying to about maxwell's equations on the electric and magnetic field.
First of all, just do the example and exercise: https://www.princeton.edu/ssp/josep...ide-to-maxwells-equations-D.-FleischLEISC.pdf [Broken]
I have this dipole antenna...
I have 2 rubidium clocks which both are generating 10MHz sine wave. Some reason my system is giving bad data. So, I am deciding to inspect every single part of the system.
I am trying to check the rubidium clock and make sure it have to be in nanosecond time variation, because: t=1/f = 1/10e6 =...
I could calculate and see every second, I have delay, such as:
delay =
0.010346125000000 0.010349000000000 0.010349875000000
0.010349000000000 0.010349750000000 0.010349750000000
0.010349750000000 0.010349750000000 0.010348875000000
0.010348875000000 0.010348875000000...
the data has ' repeating' sequences for every second, the RX data is representing for 10 second and they are kind of repeating, therefore I just need to separate for 1 second, then do xcorr, the expectation will be only 1 peak of maximum value, Please look at the the attached file, do you see...
The plot which is attached, show us 10 seconds receiver received from the transmitter. It means, every 1 second the receiver receives single transmit data with noise included. Can I get every single peak of cross-correlation and calculate time delay? if so, I will have 10 different delay, and I...