Main Content

PM Modulator Passband

Modulate using phase modulation

  • PM Modulator Passband block

Libraries:
Communications Toolbox / Modulation / Analog Passband Modulation

Description

The PM Modulator Passband block modulates a signal using phase modulation. The output is a passband representation of the modulated signal. The frequency of the output signal varies with the amplitude of the input signal. Both the input and output signals are real scalar signals.

Examples

expand all

Sample a 100 Hz linear frequency sweep chirp with a 400 Hz target frequency at 4 kilosamples per second. Modulate the input signal using the phas modulation method. Demodulate the signal. Plot the input signal, the modulated signal, and the demodulated signal.

The pmmoddemod_passband model modulates the input linear frequency sweep chirp signal using the PM method at a carrier frequency of 1.5 kHz with pi/2 phase deviation and then demodulates the signal. When the model runs, it plots the signals. This configuration ensures the Hilbert transform filter operates in the flat section of the magnitude response and that the demodulated signal has the desired magnitude and form.

The spectrum analyzer plot shows input signal, the modulated signal, and the demodulated signal.

Limitations

  • This block does not work inside a triggered subsystem.

Ports

Input

expand all

Input signal, specified as a scalar.

This port is unnamed on the block.

Data Types: double

Output

expand all

Output signal, returned as a scalar. The output is a passband representation of the modulated signal.

This port is unnamed on the block.

Data Types: double

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Carrier frequency in Hz, specified as a positive scalar. Match the carrier frequency, fc, to the corresponding PM Demodulator Passband block.

Typically, an appropriate carrier frequency is a much higher than the highest frequency of the input signal. By the Nyquist sampling theorem, 1 / Ts > (2 × fc), where Ts represents the sample time of the input signal. For more information, see Baseband vs. Passband Simulation.

Initial phase offset of the carrier in radians, specified as a scalar.

Phase deviation of the carrier frequency in radians, specified as a scalar. Also known as the variation in the phase.

Block Characteristics

Data Types

double

Multidimensional Signals

no

Variable-Size Signals

no

Algorithms

The PM Modulator Passband block uses phase modulation to encode a message signal as variations in the instantaneous phase of a carrier wave. The PM Modulator Passband block modulates using phase modulation to f.

For an input signal u(t), as a function of time t, the output signal is

cos(2πfct+Kcu(t)+θ)

where:

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced before R2006a