Constellation Modulator: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "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. =...")
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Block Docs]]
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.
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 ==
== Parameters ==


'''Constellation''': determines the modulation type, provide a [[Constellation Object]] here.
; Constellation
: determines the modulation type, provide a [[Constellation Object]] here.


'''Samples per Symbol''': samples per baud >= 2 (float)
; Samples per Symbol
: samples per baud >= 2 (int)


Differential Encoding: whether to use differential encoding (boolean)
; Differential Encoding
: whether to use differential encoding (boolean)


pre_diff_code: whether to use apply a pre-differential mapping (boolean)
; Excess BW
: Root-raised cosine (RRC) filter excess bandwidth (float)


Excess BW: Root-raised cosine (RRC) filter excess bandwidth (float)
; Verbose
: Print information about modulator? (boolean)


Verbose: Print information about modulator? (boolean)
; Log
: Log modulation data to files? (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.
 
[[File:constellation_modulator_ex.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]