1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-28 03:41:08 +02:00
Commit Graph

28 Commits

Author SHA1 Message Date
Werner Almesberger
9c2f37bedb usrp/plscan: comment out yrange (the experiments now cover all sorts of ranges) 2011-01-03 23:09:32 -03:00
Werner Almesberger
c2b489d0bb usrp: adjust outlier rejection and signal range for improved antennas
- usrp/evscan: reduce outlier limit from 10 dB to 5 dB
- usrp/plscan: raise lower bound from -40 dB to -30 dB
2010-12-01 23:57:15 -03:00
Werner Almesberger
60d78fdbb5 usrp/fscan: results are now quite stable, so 20 instead of 100 runs are enough 2010-12-01 23:37:34 -03:00
Werner Almesberger
8ea171512b usrp/range: more useful diagnostic output and harden against underflows
- usrp/range: ignore "-inf" values
- usrp/range: print the average value when reporting an outlier
2010-12-01 11:08:41 -03:00
Werner Almesberger
e52b92f00f usrp/doall: usage and allow passing of arguments to evscan as well
Examples:

doall 'run/*'				# no arguments
doall -o foo.png 'run/*'		# arguments for plscan
doall -a 1 -- -o foo.png 'run/*'	# arguments for evscan and plscan

- usrp/doall: added usage()
- usrp/doall: arguments before -- are passed to evscan
2010-12-01 11:08:41 -03:00
Werner Almesberger
b3c0b4bf62 usrp: update filtering and display for uncorrupted measurement setup
We now have a much wider dynamic range of the signal (with better SNR).
The outliers are mainly WLAN interferences.

- usrp/evscan: changed threshold from -50 dB to -70 dB
- usrp/evscan: increase outlier tolerance from 2 dB to 10 dB
- usrp/plscan: changed display range from [-35:-25] to [-40:-5]
2010-12-01 11:08:16 -03:00
Werner Almesberger
40d1234bf4 usrp: try to bring back sanity to pre- and post-processing of FFT data
The pre- and post-processing of FFT data was tweaked based on results
obtained from a mis-configured measurement setup, in an only partially
successful attempt to right the wrong data.

- usrp/fft.c (fft_complex): square the magnitude on output but don't
  square the scaling
- usrp/fft.c (fft_real): square the magnitude on input (does this make
  sense ?)
- usrp/fft.c (fft_real): scale the output with the square root of the
  FFT size (dubious)
2010-12-01 10:32:43 -03:00
Werner Almesberger
fea4ee551a usrp/README: change threshold to avoid making section reference look like a typo
- usrp/README: changed threshold from 50 to 60, such that the reference
  "5)" right next to it doesn't look like a mistyped "50"
2010-12-01 10:30:02 -03:00
Werner Almesberger
eafb2a226f fix glitch in fft.c and add scripts to display data sets without temp file
- usrp/doall: new script to directly evaluate and plot data sets
- usrp/fft.c (fft_complex): don't square the magnitude
- usrp/plscan: if an argument name has the form title=name, use "name" as
  the file name and "title" as the title
2010-11-29 01:10:23 -03:00
Werner Almesberger
83d216244c usrp: support DCT in addition to complex FFT
- usrp/evscan (usage, main): treat all arguments but the last as options
  and pass them to "fft"
- usrp/fft.c (fft_complex, do_fft): moved actual FFT calculation to
  separate function
- usrp/fft.c (fft_real, do_fft): added real-valued FFT (DCT) as alternative
- usrp/fft.c (main): undocumented option -a to set the FFT algorithm
2010-11-26 12:16:34 -03:00
Werner Almesberger
59beaba426 usrp/plscan: truncate title at the last dot, not the first
- usrp/plscan: change ${n%%.*} to ${n%.*}
- usrp/README: updated description
2010-11-17 14:11:50 -03:00
Werner Almesberger
66f6ad6f7c usrp/README: described how to perform and evaluate a measurement run 2010-11-17 13:50:13 -03:00
Werner Almesberger
45d5946435 usrp/plscan: instead of echo ... sed ..., just use ${n%%.*} 2010-11-17 13:45:19 -03:00
Werner Almesberger
e31144ff5f usrp/fscan: fail if the directory name begins with a dash 2010-11-17 13:24:11 -03:00
Werner Almesberger
b7ad7f2a31 usrp/README: clarified distance between antennas and fixed typos in examples 2010-11-17 13:22:01 -03:00
Werner Almesberger
3684c0765a usrp/: new tools to run, evaluate, and plot a full frequency scan
- usrp/fscan: perform a frequency scan in my test setup
- usrp/evscan: determine the frequency-dependent signal strength from a
  frequency scan
- usrp/plscan: plot one or more data sets produced by evscan
2010-11-17 13:12:56 -03:00
Werner Almesberger
cc5090b179 usrp/README: description of the preparation for antenna measurements. 2010-11-16 21:17:33 -03:00
Werner Almesberger
c4d906bd8b usrp/range: obtain avg/min/max from a series of values and eliminate outliers 2010-11-16 21:16:41 -03:00
Werner Almesberger
489acc49a5 usrp/fft: one more analysis tool for antenna measurements
- usrp/fft.c: utility to read a set of samples obtained with
  usrp2_rx_cfile.py and to perform a Fourier transform on them
- usrp/Makefile: use LDLIBS for libraries, not LDFLAGS
- usrp/Makefile: added "fft"
2010-11-16 20:28:03 -03:00
Werner Almesberger
e76af7dd9a usrp/: gave tools slightly more self-explaining names
- usrp/d.c: renamed to avg.c
- usrp/p.c: renamed to peak.c
- usrp/Makefile (all): renamed for d and p
- usrp/plot: renamed to plpk
2010-11-12 11:56:12 -03:00
Werner Almesberger
044c1528c7 usrp/plot: enable grid and accept center sensitivity from the command line 2010-11-12 11:54:17 -03:00
Werner Almesberger
417ef7b8c1 usrp/p: cleanup and more command-line control
- usrp/p.c (find_peak, main): moved data processing to separate function
- usrp/p.c (find_peak, usage, main): new option -s skip to set the number
  of samples to skip (default: 0)
- usrp/p.c (find_peak, usage, main): new option -d to dump the histogram
  instead of picking the peak
- usrp/p.c (find_peak, usage, main): the percentile can now be set on the
  command line (default: 0.9)
2010-11-12 11:54:17 -03:00
Werner Almesberger
38e5b8a3a9 usrp/d: cleanup and allow number of samples to be set on command line 2010-11-12 11:54:13 -03:00
Werner Almesberger
d78dd4ee8c usrp/: move first "step" runs to directory usrp/step/ 2010-11-12 11:44:51 -03:00
Werner Almesberger
7f9488e156 The Great ATSPI Renaming, part 11: TODO update and fix script using a tool
- TODO: changed reference to atspi-txrx to atrf-txrx
- TODO: removed renaming from the list of pending issues
- usrp/step: atspi-txrx is now called atrf-txrx
2010-11-11 10:52:39 -03:00
Werner Almesberger
fe7d55dc8b Small improvements to spectrum walk script.
- usrp/step: the default number of runs (10) can now be overridden on the
  command line
- usrp/step: usrp2_rx_cfile.py likes to busy loop from time to time. Add
  a CPU time limit to prevent this from getting out of hand.
2010-09-25 15:13:21 -03:00
Werner Almesberger
dce0a19794 Measurement results and a script to view them.
- usrp/plot: convenience script to plot the signal strength scans
- usrp/step-A, usrp/step-I, usrp/step-II: signal strength scans for three
  boards
2010-09-16 14:45:09 -03:00
Werner Almesberger
e445fe1b01 usrp/: a set of utilities for testing board performance with an USRP2
- usrp/d.c: reduce the number of data points in a file produced by
  usrp2_rx_cfile.py and print them as text suitable for gnuplot
- usrp/p.c: determine the peak amplitude in a series of transmissions,
  filtering noise and artefacts at the beginning of the data file
- usrp/step: step through all channels and measure TX power (for antenna
  tuning)
- usrp/Makefile: built "p" and "d"
2010-09-16 01:01:02 -03:00