Constellation Modulator: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
 
Line 29: Line 29:


[[File:constellation_modulator_ex2.png|600px]]
[[File:constellation_modulator_ex2.png|600px]]
== Source Files ==
; Python
: [https://github.com/gnuradio/gnuradio/blob/af78fad36d41b7c0d653ad21ec5ad8d58585d230/gr-digital/python/digital/generic_mod_demod.py#L64]
; Block definition
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/grc/digital_constellation_modulator.block.yml]

Latest revision as of 13:06, 30 August 2022

Hierarchical block for RRC-filtered differential generic modulation. The input is a byte stream (unsigned char) and the output is the complex modulated signal at baseband.

Parameters

Constellation
determines the modulation type, provide a Constellation Object here.
Samples per Symbol
samples per baud >= 2 (int)
Differential Encoding
whether to use differential encoding (boolean)
Excess BW
Root-raised cosine (RRC) filter excess bandwidth (float)
Verbose
Print information about modulator? (boolean)
Log
Log modulation data to files? (boolean)

Example Flowgraph

This flowgraph modulates random bits with 8-PSK. A QT GUI Constellation Sink is specifically not added to the output because it would show the signal while there is still multiple samples per symbol.

Constellation modulator ex.png

Constellation modulator ex2.png

Source Files

Python
[1]
Block definition
[2]