Modulate using M-ary differential phase shift keying method
PM, in Digital Baseband sublibrary of Modulation
The M-DPSK Modulator Baseband block modulates using the M-ary differential phase shift keying method. The output is a baseband representation of the modulated signal. TheM-ary numberparameter, M, is the number of possible output symbols that can immediately follow a given output symbol.
The input must be a discrete-time signal. For integer inputs, the block can accept the data typesint8
,uint8
,int16
,uint16
,int32
,uint32
,single
, anddouble
. For bit inputs, the block can acceptint8
,uint8
,int16
,uint16
,int32
,uint32
,boolean
,single
, anddouble
.
The input can be either bits or integers, which are binary-mapped or Gray-mapped into symbols.
This block accepts column vector input signals. For a bit input, the input width must be an integer multiple of the number of bits per symbol.
If you set theInput typeparameter toInteger
, then valid input values are integers between 0 and M-1. In this case, the input can be either a scalar or a frame-based column vector. If the first input is k1, then the modulated symbol is
where θ represents thePhase rotationparameter. If a successive input isk, then the modulated symbol is
When you set theInput typeparameter toBit
,阻止接受binary-valued repr输入esent integers. The block collects binary-valued signals into groups ofK= log2(M) bits
where
Krepresents the number of bits per symbol.
The input vector length must be an integer multiple ofK. In this configuration, the block accepts a group ofKbits and maps that group onto a symbol at the block output. The block outputs one modulated symbol for each group ofKbits.
The input can be a column vector with a length that is an integer multiple ofK.
In binary input mode, theConstellation orderingparameter indicates how the block maps a group ofKinput bits to a corresponding phase difference. TheBinary
option uses a natural binary-to-integer mapping, while theGray
option uses a Gray-coded assignment of phase differences. For example, the following table indicates the assignment of phase difference to three-bit inputs, for both theBinary
andGray
options. θ is thePhase rotationparameter. The phase difference is between the previous symbol and the current symbol.
Current Input | Binary-Coded Phase Difference | Gray-Coded Phase Difference |
---|---|---|
[0 0 0] | jθ | jθ |
[0 0 1] | jθ + jπ/4 | jθ + jπ/4 |
[0 1 0] | jθ + jπ2/4 | jθ + jπ3/4 |
[0 1 1] | jθ + jπ3/4 | jθ + jπ2/4 |
[1 0 0] | jθ + jπ4/4 | jθ + jπ7/4 |
[1 0 1] | jθ + jπ5/4 | jθ + jπ6/4 |
[1 1 0] | jθ + jπ6/4 | jθ + jπ4/4 |
(1 1 1) | jθ + jπ7/4 | jθ + jπ5/4 |
For more details about theBinary
andGray
options, see the reference page for theM-PSK Modulator Basebandblock. The signal constellation for that block corresponds to the arrangement of phase differences for this block.
The number of possible output symbols that can immediately follow a given output symbol.
Indicates whether the input consists of integers or groups of bits. If this parameter is set toBit
, then theM-ary numberparameter must be 2Kfor some positive integer K.
Determines how the block maps each group of input bits to a corresponding integer.
The phase difference between the previous and current modulated symbols when the input is zero.
The output data type can be eithersingle
ordouble
. By default, the block sets this todouble
.
Port | Supported Data Types |
---|---|
Input |
|
Output |
|
[1] Pawula, R. F., "On M-ary DPSK Transmission Over Terrestrial and Satellite Channels,"IEEE Transactions on Communications, Vol. COM-32, July 1984, 752-761.