Contenuto principale

FM Modulator Passband

Modulate using frequency modulation

  • FM Modulator Passband block

Libraries:
Communications Toolbox / Modulation / Analog Baseband Modulation

Description

The FM Modulator Passband block modulates a signal using frequency 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 frequency modulation method. Demodulate the signal. Plot the input signal, the modulated signal, and the demodulated signal.

The fmmoddemod_passband model modulates the input linear frequency sweep chirp signal using the FM method at a carrier frequency of 1.5 kHz with 50 Hz frequency 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 FM 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.

Frequency deviation of the carrier frequency in Hz, specified as a scalar. Also known as the variation in the frequency.

Block Characteristics

Data Types

double | single

Multidimensional Signals

no

Variable-Size Signals

no

Algorithms

The FM Modulator Passband block uses frequency modulation to encode information in a carrier wave by varying the instantaneous frequency of the signal. For an input signal u(t), as a function of time t, the output signal is

cos(2πfct+2πKc0tu(τ)dτ+θ)

where:

Extended Capabilities

expand all

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

Version History

Introduced before R2006a