blob: 53d8701c8d1e2915fab15d4c6db5ba5ab1665119 (
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
-----
1. Take a USRP B200
1. Connect its TX to the amplifier you want to measure
1. Connect the amp to an big enough attenuator in order to reduce power to below 1mW
1. 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.
|