Hardware ModelingΒΆ
1# In this example we simulate the effects of a non-ideal
2# Radio-Frequency chain and analog-to-digital conversion on the bit error rate performance
3# of a single-carrier communication system.
4# We consider I/Q imbalance, a power amplifier following Rapp's model and an adc with
5# mid-riser quantization and automatic gain control.
6#
7# The performance is evaluated for a signal-to-noise ratio between zero and 20 dB.
8
9!<Simulation>
10
11# Physical device models within the simulated scenario
12Devices:
13
14 - &device_alpha !<SimulatedDevice>
15
16 # RF-Chain hardware model
17 rf_chain: !<RfChain>
18
19 amplitude_imbalance: 1e-3 # I/Q amplitude imbalance
20 phase_offset: 1e-2 # I/Q phase imbalance
21 power_amplifier: !<Rapp> # Power amplifier model
22 phase_noise: !<OscillatorPhaseNoise> # Phase noise model
23
24 K0: 1e-11
25 K2: 10
26 K3: 1e4
27
28 # AD-Conversion hardware model
29 adc: !<ADC>
30
31 quantizer_type: !<QuantizerType> MID_RISER
32 num_quantization_bits: 16
33 gain: !<AutomaticGainControl>
34
35# Operators transmitting or receiving signals over the devices
36Operators:
37
38 # A single modem operating the device #0
39 - &modem_alpha !<Modem>
40
41 device: *device_alpha # Device the modem is operating on
42
43 # Waveform configuration
44 waveform: !<SC-RootRaisedCosine>
45
46 # Symbol settings
47 symbol_rate: 100e6
48 modulation_order: 16
49 oversampling_factor: 4
50
51 # Frame settings
52 num_preamble_symbols: 10
53 num_data_symbols: 1000
54 pilot_rate: 1e6
55 guard_interval: 1e-6
56
57# Performance indication evaluation configuration
58Evaluators:
59
60 # Evaluate the bit errors of `modem_alpha` communicating over `device_alpha`
61 - !<BitErrorEvaluator>
62
63 transmitting_modem: *modem_alpha
64 receiving_modem: *modem_alpha
65 confidence: .9
66 tolerance: 1e-4
67 plot_scale: log
68
69# Simulation parameters
70num_samples: 10000 # Number of samples per simulation grid section
71min_num_samples: 50 # Minimum number of samples per simulation grid section before premature stopping
72noise_level: !<EBN0> # SNR is defined as the ratio between bit energy and noise power
73 reference: *modem_alpha # The SNR is calculated with respect to the referenced modem's waveform power
74plot_results: True # Visualize the evaluations after the simulation has finished
75
76# Scenario parameters over which the Monte-Carlo simulation sweeps
77Dimensions:
78
79 noise_level: [0, 4, ..., 20] dB