aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 574c7ddf53cc44f3198e916da1a23d6690d60697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Measure amplifier non-linearity using two-tone signal
=====================================================

HOWTO
-----

 # Take a USRP B200
 # Connect its TX to the amplifier you want to measure
 # Connect the amp to an big enough attenuator
 # Connect to the B200 RX

The amplitude ramp script is going to generate a two-tone (1kHz separation)
signal at 222MHz, and record outgoing signal magnitude and phase difference
against the source signal. The measurements are written into a CSV file.

It's your job to ensure you don't overload the B200 input signal power (-15dBm
last time I checked).

Before you can start, use gnuradio-companion to generate dual_tone.py from dual_tone.grc

Then gather some measurements

    ./amplitude_ramp.py --ampl-start 0.15 --ampl-stop 0.5 --ampl-step 0.01 --num-meas 300 --txgain 77

This creates a measurement.csv file you can analyse with

    ./plot.py

That's it for now.