0
0
RosConceptBeginner · 3 min read

What is Modulation in Signal Processing: Simple Explanation and Example

In signal processing, modulation is the process of changing a carrier signal's properties like amplitude, frequency, or phase to encode information. It allows signals to be transmitted efficiently over distances and through different media.
⚙️

How It Works

Modulation works by taking a simple signal called the carrier, which is usually a steady wave, and changing one of its features based on the information signal you want to send. Imagine the carrier as a steady drumbeat, and modulation is like changing the drum's loudness or speed to send a secret message.

For example, if you change the height (amplitude) of the wave to match your message, it's called amplitude modulation. If you change how fast the wave wiggles (frequency), it's frequency modulation. This process helps the message travel better through air, cables, or radio waves without losing clarity.

💻

Example

This example shows how to create a simple amplitude modulated signal using Python. It combines a low-frequency message with a high-frequency carrier.
python
import numpy as np
import matplotlib.pyplot as plt

# Time array
fs = 1000  # Sampling frequency
t = np.linspace(0, 1, fs, endpoint=False)

# Message signal (low frequency)
message = np.sin(2 * np.pi * 5 * t)  # 5 Hz

# Carrier signal (high frequency)
carrier = np.sin(2 * np.pi * 100 * t)  # 100 Hz

# Amplitude modulation
modulated = (1 + message) * carrier

# Plot signals
plt.figure(figsize=(10, 6))
plt.subplot(3, 1, 1)
plt.title('Message Signal (5 Hz)')
plt.plot(t, message)
plt.subplot(3, 1, 2)
plt.title('Carrier Signal (100 Hz)')
plt.plot(t, carrier)
plt.subplot(3, 1, 3)
plt.title('Amplitude Modulated Signal')
plt.plot(t, modulated)
plt.tight_layout()
plt.show()
Output
A plot with three graphs: the first shows a smooth 5 Hz sine wave (message), the second shows a faster 100 Hz sine wave (carrier), and the third shows the carrier wave whose amplitude changes following the message wave.
🎯

When to Use

Modulation is used whenever information needs to be sent over a distance, especially in radio, TV, and phone communications. It helps signals travel through the air or cables without mixing up with other signals or losing quality.

For example, radio stations use modulation to send music and voice over the airwaves. Cell phones use modulation to send your voice and data to nearby towers. Even Wi-Fi and Bluetooth rely on modulation to share information wirelessly.

Key Points

  • Modulation changes a carrier wave to carry information.
  • Common types include amplitude, frequency, and phase modulation.
  • It enables efficient and clear communication over distances.
  • Used in radio, TV, phones, and wireless networks.

Key Takeaways

Modulation encodes information by changing a carrier wave's properties.
It allows signals to travel long distances clearly and efficiently.
Amplitude, frequency, and phase are common modulation types.
Modulation is essential for radio, TV, phone, and wireless communication.