OCDM

Inheritance diagram of hermespy.modem.waveforms.orthogonal.ocdm.OCDMWaveform

Orthogonal Chirp Division Multiplexing (OCDM) is a method of encoding digital data into multiple orthogonal chirps, i.e. waveforms with zero cross-correlation.

Considering a simplex-link scenario of two modems communicating over a 3GPP 5G TDL channel

 1# Initialize a simulation with two dedicated devices for transmission and reception
 2carrier_frequency = 3.7e9
 3simulation = Simulation()
 4tx_device = simulation.new_device(carrier_frequency=carrier_frequency)
 5rx_device = simulation.new_device(carrier_frequency=carrier_frequency)
 6
 7# Assume a 5G TDL channel model
 8channel = TDL(TDLType.A, 1e-7, doppler_frequency=10)
 9simulation.set_channel(tx_device, rx_device, channel)
10
11# Configure an orthogonal waveform featuring 128 subcarriers
12grid_resources = [

configuring an OCDM waveform requires the specification of the resource-time grid onto which the transmitted data and pilot symbols are placed:

 1    GridResource(128, PrefixType.CYCLIC, .1, [GridElement(ElementType.DATA, 1)]),
 2]
 3grid_structure = [
 4    SymbolSection(64, [0, 1])
 5]
 6waveform = OCDMWaveform(
 7    bandwidth=128e3,
 8    grid_resources=grid_resources,
 9    grid_structure=grid_structure,
10    num_subcarriers=128,
11)
12
13# Configure the link to connect both devices
14link = SimplexLink(waveform=waveform)
15link.connect(tx_device, rx_device)

The grid considers \(128\) orthogonal subcarriers each modulated with a unique symbol, with \(128\) repetitions in time-domain, so that overall \(16384\) symbols are transmitted per frame. The grid alternates between two types of symbol sections, one carrying a reference element on every \(8\)-th subcarrier and one consisting only of data symbols.

Additionally, post-processing routines for channel estimation and channel equalization may be specified on the waveform level

1# Configure channel estimation and equalization
2waveform.channel_estimation = OrthogonalLeastSquaresChannelEstimation()
3waveform.channel_equalization = ZeroForcingChannelEqualization()
4
5# Configure frame synchronization
6waveform.pilot_section = PilotSection()
7waveform.synchronization = CorrelationSynchronization()
class OCDMWaveform(bandwidth, num_subcarriers, grid_resources, grid_structure, pilot_section=None, pilot_sequence=None, repeat_pilot_sequence=True, **kwargs)[source]

Bases: OrthogonalWaveform

Orthogonal Chirp Division Multiplexing waveform.

Parameters:
  • num_subcarriers (int) – Number of available orthogonal subcarriers per symbol.

  • grid_resources (Sequence[GridResource]) – Grid resources available for modulation.

  • grid_structure (Sequence[GridSection]) – Grid structure of the time-domain.

  • pilot_section (PilotSection, optional) – Pilot section transmitted at the beginning of each frame.

  • pilot_sequence (PilotSymbolSequence, optional) – Sequence of pilot / reference symbols.

  • repeat_pilot_sequence (bool, optional) – Repeat the pilot sequence if it is shorter than the frame.

property bandwidth: float

Bandwidth of the frame generated by this generator.

Used to estimate the minimal sampling frequency required to adequately simulate the scenario.

Returns:

Bandwidth in Hz.

Return type:

float

property sampling_rate: float

Rate at which the waveform generator signal is internally sampled.

Returns:

Sampling rate in Hz.

Return type:

float