USRP Hardware Driver

  1# This example configures a set of Universal Software Defined Radios (USRPs)
  2# to establish a SISO link exchanging 10 frames of OFDM data.
  3
  4!<HardwareLoop>
  5
  6  system: !<UsrpSystem>
  7
  8  Devices:
  9
 10    # First USRP
 11    - &device !<USRP>
 12
 13      ip: '192.168.189.132'
 14      port: 5555
 15      carrier_frequency: 1e9
 16
 17
 18  # Operators transmitting or receiving signals over the devices
 19  Operators:
 20
 21    # A single modem operating the device #0
 22    - &modem !<Modem>
 23
 24      device: *device                     # Device the modem is operating on
 25      
 26      # Configuration of the waveform emitted by this transmitter
 27      waveform: !<OFDM>
 28
 29        # Symbol modulation settings
 30        modulation_order: 2               # Modulation order, in other words 1 / subcarrier / subsymbol
 31        subcarrier_spacing: 30e3          # Spacing between the individual subcarrier center frequencies in Hz
 32        dc_suppression: False             # Do not ignore the DC component during the DFT
 33        num_subcarriers: 4096             # Number of subcarriers per communiction frame
 34        channel_estimation: !<OFDM-LS>    # Least-Squares channel estimation
 35        channel_equalization: !<OFDM-ZF>  # Zero-forcing channel equalization
 36        synchronization: !<SchmidlCox>    # Schmidl-Cox synchronization
 37
 38        # OFDM symbol resources, each resource represents one symbol's subcarrier configuration
 39        resources:
 40
 41          - !<OFDM-Resource>
 42            repetitions: 1
 43            prefix_ratio: 0.0703125
 44            elements:
 45              - !<FrameElement>
 46                type: NULL
 47                repetitions: 600
 48              - !<FrameElement>
 49                type: !<ElementType> DATA
 50                repetitions: 2100
 51              - !<FrameElement>
 52                type: !<ElementType> NULL
 53                repetitions: 600
 54
 55          - !<OFDM-Resource>
 56            repetitions: 1
 57            prefix_ratio: 0.078125
 58            elements:
 59              - !<FrameElement>
 60                type: !<ElementType> NULL
 61                repetitions: 600
 62              - !<FrameElement>
 63                type: !<ElementType> DATA
 64                repetitions: 2100
 65              - !<FrameElement>
 66                type: !<ElementType> NULL
 67                repetitions: 600
 68
 69        # Frame configuration in time domain, i.e. the x-axis in the OFDM time-frequency grid
 70        structure:
 71
 72          - !<SchmidlCoxPilot> {}
 73
 74          - !<Symbol>
 75            num_repetitions: 1
 76            pattern: [1, 0, 0, 0]
 77
 78          - !<Guard>
 79            num_repetitions: 3
 80            duration: 35.677083e-6
 81
 82          - !<Symbol>
 83            num_repetitions: 1
 84            pattern: [1, 0, 0, 0]
 85
 86          - !<Guard>
 87            num_repetitions: 3
 88            duration: 35.677083e-6
 89
 90
 91  # Performance indication evaluation configuration
 92  Evaluators:
 93
 94    # Evaluate the bit errors of `modem` communicating over `device`
 95    - !<BitErrorEvaluator>
 96
 97      transmitting_modem: *modem
 98      receiving_modem: *modem
 99
100  manual_triggering: True     # Enable manual triggering, requiring the user to launch each drop
101  num_drops: 10               # Generate 10 signal drops sequentially