Search results

  1. N

    How to measure output voltage of B200?

    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)...
  2. N

    What is preventing me from achieving better accuracy for this delay?

    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...
  3. N

    What is preventing me from achieving better accuracy for this delay?

    I am not sure, but what if they are analog signal? and what if they are digital signal? I also have an image which show the relationship of them.
  4. N

    What is preventing me from achieving better accuracy for this delay?

    @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
  5. N

    What is preventing me from achieving better accuracy for this delay?

    @f95toli: index i means, I calculate delay in multiple RX signal from the receiver (not only one), I want to see the variation of the delay.
  6. N

    What is preventing me from achieving better accuracy for this delay?

    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...
  7. N

    What is preventing me from achieving better accuracy for this delay?

    @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...
  8. N

    What is preventing me from achieving better accuracy for this delay?

    @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...
  9. N

    What is preventing me from achieving better accuracy for this delay?

    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...
  10. N

    What is preventing me from achieving better accuracy for this 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...
  11. N

    What is preventing me from achieving better accuracy for this delay?

    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...
  12. N

    What is preventing me from achieving better accuracy for this delay?

    @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...
  13. N

    What is preventing me from achieving better accuracy for this delay?

    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...
  14. N

    How to calculate standard deviation?

    are you still there?
  15. N

    How to calculate standard deviation?

    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.
  16. N

    How to calculate standard deviation?

    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...
  17. N

    What do electric and magnetic fields look like around a dipole antenna?

    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...
  18. N

    What do electric and magnetic fields look like around a dipole antenna?

    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...
  19. N

    How to measure time variation of 2 signals using an oscilloscope?

    I just want to confirm again that the time variation measurement is the similar of "delay" function on the scope, right?
  20. N

    How to measure time variation of 2 signals using an oscilloscope?

    @analogdesign : so, If I want to trigger 1 of those signal, I just need to choose "CH1" (yellow button) and press "B TRIG" button?
  21. N

    How to measure time variation of 2 signals using an oscilloscope?

    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 =...
  22. N

    How to calculate Time Delay Estimation?

    please look at the plot.
  23. N

    How to calculate Time Delay Estimation?

    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...
  24. N

    How to calculate Time Delay Estimation?

    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...
  25. N

    How to calculate Time Delay Estimation?

    Hi, are you still with me?
  26. N

    How to calculate Time Delay Estimation?

    Here is my update code: %% initial values: nsamps = inf; nstart = 0; Fs = 8e6; % sample rate flag = 0; % plot in the for loop %% input files file_tx = 'test1-qpsk-8-8000.0-ksps.dat'; file_rx_tx_on = 'tx30-rx50-2017-03-29-14.48.56-utc.dat'; %% read files x_tx =...
  27. N

    How to calculate Time Delay Estimation?

    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...
  28. N

    How to calculate Time Delay Estimation?

    I also have question, If you could help me to answer.
Top