-
Notifications
You must be signed in to change notification settings - Fork 0
SDR Module
Todd Schumann edited this page Aug 8, 2018
·
8 revisions
The SDR module is a Python driver to control the SDR that is to be used in the test. A couple SDR modules are included in SDR Calibrator, but you may need to create your own. Instructions for this can be found at the bottom.
If the parameter has [USER_SET]
, it must contain a value. If it has [DEFAULTABLE]
instead, the driver should have a default value for the parameter.
-
sdr_module = [USER_SET]
: This is the name of the SDR module found in thesdrcalibrator/lib/equipment/sdr
directory that will be loaded. It does not have a default value. -
sdr_connect_params = [USER_SET]
: This parameter is a Python dictionary with any connection parameters the specific SDR module may need. For example, it may define the IP address or serial number associated with the SDR. This parameter is not currently defaultable, but you can pass an empty dictionary if no parameters are required. -
sdr_clock_frequency = [DEFAULTABLE]
: This parameter defines the clock frequency (if settable) on the SDR. For SDRs which do not have a settable clock frequency, this can be set toNone
. -
sdr_sampling_frequency = [DEFAULTABLE]
: This parameter defines the sampling frequency (if settable) on the SDR. For SDRs which do not have a settable sampling frequency, this can be set toNone
. -
sdr_auto_dc_offset = [DEFAULTABLE]
: This parameter turns on (True
) of off (False
) the automatic DC offset algorithm for the SDR. If the SDR does not have this algorithm implemented,None
may be used. -
sdr_auto_iq_balance = [DEFAULTABLE]
: This parameter turns on (True
) of off (False
) the automatic IQ balance algorithm for the SDR. If the SDR does not have this algorithm implemented,None
may be used. -
sdr_f0_tuning_error_threshold = [DEFAULTABLE]
: This parameter defines (in Hz) how large an offset between the requested center frequency and the actual center frequency causes an error to be triggered. -
sdr_use_dsp_lo_shift = [DEFAULTABLE]
: This parameter will tell the SDR to shift the center frequency using the onboard DSP. Since not all SDRs have an onboard DSP or if you don't want to use this feature, this can be turned off by setting it toFalse
orNone
. -
sdr_dsp_lo_shift = [DEFAULTABLE]
: This parameter will determine how much the DSP will shift the center frequency (in Hz) if this feature is enabled. Note that while this value is defaultable, it is highly recommended to not use the default setting if it is being used since it will depend greatly on the other measurement parameters. -
sdr_conditioning samples = [DEFAULTABLE]
: This parameter is the number of samples which are ignored at the beginning of any acquisition. Ignoring samples allows the automatic DC offset and IQ balance algorithm to take effect and allows the device to reach a more steady-state temperature, reducing measurement uncertainty. -
sdr_power_limit = [DEFAULTABLE]
: This parameter defines the maximum power (in dB) that can be applied to the SDR above a gain setting ifpower_limit_output_power
is also setTrue
(for example, setting this to -15dB and using a gain of 50dB will trigger errors if a power greater than -65dBm is requested as the input power).
Add scale factor parameters with descriptions.