FM Modulation in Signal Processing: What It Is and How It Works
FM modulation) is a technique where the frequency of a carrier signal is varied in proportion to the amplitude of a message signal. It is widely used in radio broadcasting and communication systems to transmit information with better noise resistance.How It Works
Imagine you have a steady musical note playing, like a tuning fork. In FM modulation, this note's pitch changes slightly depending on the sound you want to send. Instead of changing the loudness, you change how fast the wave vibrates.
In technical terms, a carrier wave has a fixed frequency. When you apply FM modulation, the carrier's frequency shifts up or down based on the input signal's amplitude. This means the information is carried by how the frequency changes over time, not by the signal's strength.
This method helps reduce noise because noise usually affects amplitude, not frequency, making FM signals clearer in many environments.
Example
This example shows how to create a simple FM modulated signal using Python and plot it.
import numpy as np import matplotlib.pyplot as plt # Parameters fs = 1000 # Sampling frequency in Hz T = 1 # Duration in seconds t = np.linspace(0, T, int(fs*T), endpoint=False) # Message signal (modulating signal) fm = 5 # Frequency of message signal in Hz message = np.sin(2 * np.pi * fm * t) # Carrier signal parameters fc = 100 # Carrier frequency in Hz kf = 50 # Frequency sensitivity # FM modulation integral_of_message = np.cumsum(message) / fs fm_signal = np.cos(2 * np.pi * fc * t + 2 * np.pi * kf * integral_of_message) # Plot plt.figure(figsize=(10, 4)) plt.plot(t[:200], fm_signal[:200]) plt.title('FM Modulated Signal (First 200 samples)') plt.xlabel('Time [s]') plt.ylabel('Amplitude') plt.grid(True) plt.show()
When to Use
FM modulation is best used when you want to send audio or data over radio waves with less noise interference. It is common in FM radio broadcasting, two-way radios, and some wireless communication systems.
Because FM resists noise better than amplitude modulation, it is preferred in environments where signal clarity is important, like music radio stations or walkie-talkies.
Key Points
- FM changes the frequency of a carrier wave based on the input signal.
- It provides better noise resistance than amplitude modulation.
- Commonly used in radio broadcasting and communication devices.
- The amplitude of the carrier remains constant during modulation.