OFDM Transmitter: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
Line 47: Line 47:
== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
This flowgraph can be found at https://github.com/gnuradio/gnuradio/blob/master/gr-digital/examples/ofdm/ofdm_loopback.grc
 
[[File:Ofdm_loopback_example_fg.png|807px]]


== Source Files ==
== Source Files ==

Revision as of 23:54, 24 October 2020

Hierarchical block for OFDM modulation.

The input is a byte stream (unsigned char) and the output is the complex modulated signal at baseband.

Parameters

FFT Length
The length of FFT (integer).
Cyclic Prefix Length
The length of cyclic prefix in total samples (integer).
Packet Length Tag Key
The name of the tag giving packet length at the input.
Occupied Carriers
A vector of vectors describing which OFDM carriers are occupied.
Pilot Carriers
A vector of vectors describing which OFDM carriers are occupied with pilot symbols.
Pilot Symbols
The pilot symbols.
Sync Word 1
The first sync preamble symbol. This has to be with zeros on alternating carriers. Used for fine and coarse frequency offset and timing estimation.
Sync Word 2
The second sync preamble symbol. This has to be filled entirely. Also used for coarse frequency offset and channel estimation.
Header Modulation
Payload Modulation
Rolloff length (samples)
The rolloff length in samples. Must be smaller than the CP.
Scramble Bits
Activates the scramblers (set this to True unless debugging)
Log Debug Info
Write output into log files (Warning: creates lots of data!)

Example Flowgraph

This flowgraph can be found at https://github.com/gnuradio/gnuradio/blob/master/gr-digital/examples/ofdm/ofdm_loopback.grc

Ofdm loopback example fg.png

Source Files

Python files
[1]
Block definition
[2]