CPFSK Modulator Baseband
Modulate using continuous phase frequency shift keying method
Library
CPM, in Digital Baseband sublibrary of Modulation
Description
The CPFSK Modulator Baseband block modulates a signal using the continuous phase frequency shift keying method. The output is a baseband representation of the modulated signal. TheM-ary numberparameter,M, represents the size of the input alphabet.Mmust have the form 2Kfor some positive integerK.
This block supports multi-hModulation index. SeeCPM Modulator Basebandfor details.
Integer-Valued Signals and Binary-Valued Signals
When you set theInput typeparameter toInteger
, the block accepts odd integers between -(M-1) and M-1.
When you set theInput typeparameter toBit
, the block accepts groupings ofKbits. Each grouping is called a binaryword. The input vector length must be an integer multiple ofK.
In binary input mode, the block maps each binary word to an integer between 0 and M-1, using a mapping scheme that depends on whether you set theSymbol set orderingparameter toBinary
orGray
. The block then maps the integerkto the intermediate value 2k-(M-1) and proceeds as if it operates in the integer input mode. For more information, seeInteger-Valued Signals and Binary-Valued Signals.
This block accepts a scalar-valued or column vector input signal. If you setInput typetoBit
,然后输入信号也可以vector of lengthK.
Single-Rate Processing
In single-rate processing mode, the input and output signals have the same port sample time. The block implicitly implements the rate change by making a size change at the output when compared to the input. In this mode, the input to the block can be multiple symbols.
When you setInput typeto
Integer
, the input can be a column vector, the length of which is the number of input symbols.When you setInput typeto
Bit
, the input must be a column vector with a width that is an integer multiple ofK, the number of bits per symbol.
The output width equals the product of the number of input symbols and theSamples per symbolparameter value.
Multirate Processing
In multirate processing mode, the input and output signals have different port sample times. In this mode, the input to the block must be one symbol.
When you setInput typeto
Integer
, the input must be a scalar.When you setInput typeto
Bit
, the input width must equal the number of bits per symbol.
The output sample time equals the symbol period divided by theSamples per symbolparameter value.
Parameters
- M-ary number
-
The size of the alphabet.
- Input type
-
Indicates whether the input consists of integers or groups of bits.
- Symbol set ordering
-
Determines how the block maps each group of input bits to a corresponding integer. This field is active only whenInput typeis set to
Bit
. - Modulation index
-
Specify the modulation index {hi}. The default is
0.5
. The value of this property must be a real, nonnegative scalar or column vector.This block supports multi-hModulation index. SeeCPM Modulator Basebandfor details.
- Phase offset (rad)
-
The initial phase of the output waveform, measured in radians.
- Samples per symbol
-
The number of output samples that the block produces for each integer or binary word in the input, which must be a positive integer. For all non-binary schemes, as defined by the pulse shapes, this value must be greater than 1.
For more information, seeUpsample Signals and Rate Changes.
- Rate options
-
Select the rate processing option for the block.
Enforce single-rate processing
— When you select this option, the input and output signals have the same port sample time. The block implements the rate change by making a size change at the output when compared to the input. The output width equals the product of the number of symbols and theSamples per symbolparameter value.Allow multirate processing
— When you select this option, the input and output signals have different port sample times. The output sample time equals the symbol period divided by theSamples per symbolparameter value.
- Output data type
-
Select the data type of the output signal. The output data type can be
single
ordouble
.
Supported Data Types
Port | Supported Data Types |
---|---|
Input |
|
Output |
|
Pair Block
References
[1] Anderson, John B., Tor Aulin, and Carl-Erik Sundberg.Digital Phase Modulation. New York: Plenum Press, 1986.