Skip to main content

Envelope of AM Signal


Envelope of a Carrier Signal in AM

Let’s go step by step and explain the envelope of a carrier signal, including the math, and how it changes when amplitude modulation (AM) is applied with different amplitudes.

1. Carrier Signal

A carrier signal is usually a high-frequency sinusoidal wave:

c(t) = A_c cos(ω_c t + φ)

Where:

  • A_c = carrier amplitude
  • ω_c = 2 Ï€ f_c = carrier angular frequency
  • φ = phase

Graphically: it’s a pure sine wave.

2. Modulation by a Signal

Suppose you have a message signal (modulating signal) m(t) that varies in amplitude:

m(t) = [m_1, m_2, m_3, ...]

In Amplitude Modulation (AM), the carrier’s amplitude is changed according to m(t):

s(t) = [A_c + m(t)] cos(ω_c t)
  • Here s(t) is the modulated signal.
  • The carrier frequency remains the same (ω_c), but the amplitude follows m(t).

3. Envelope of the AM Signal

  • The envelope is the curve that “wraps around” the peaks of the carrier wave.
  • Mathematically, for AM:
    Envelope(t) = |A_c + m(t)|
  • This means the max amplitude of the carrier at each instant is determined by the modulating signal.

Example with Array of Amplitudes

m(t) = [1, 2, 3, 2, 1]
A_c = 5
Envelope = [5+1, 5+2, 5+3, 5+2, 5+1] = [6, 7, 8, 7, 6]

Graphically, the carrier oscillates around zero, but its peaks follow the envelope [6,7,8,7,6].

4. Key Properties

  • Envelope = amplitude of the carrier over time.
  • Carrier frequency doesn’t change, only amplitude changes.
  • The shape of the envelope is exactly the shape of the modulating signal m(t).
  • If m(t) has multiple levels, the envelope steps according to each amplitude.

5. General Formula with Modulation Index

s(t) = A_c [1 + μ m(t)/A_m] cos(ω_c t)
μ = A_m / A_c

Envelope: Envelope = A_c |1 + μ m(t)/A_m|

6. Visual Intuition

Carrier:       ~~~~~~~~  ~~~~~~~~
Modulating:    /\      /\
Envelope:     /  \____/  \

The carrier oscillates rapidly, the envelope follows the slower message signal.

 

8. MATLAB Code for Modulating a Simple Array of Data with a Carrier Signal

%% Carrier and AM Signal Visualization

clc; clear; close all;

% Carrier parameters
Ac = 5;           % Carrier amplitude
fc = 50;          % Carrier frequency in Hz
t = 0:0.0001:0.1; % Time vector (0 to 0.1 s with 0.1 ms step)

% Modulating signal (message) - example array
m_array = [1 2 3 2 1];
% Repeat array to match length of t
m = repmat(m_array, 1, ceil(length(t)/length(m_array)));
m = m(1:length(t)); % truncate to match t

% Amplitude Modulated Signal
s = (Ac + m).*cos(2*pi*fc*t);

% Envelope of the AM signal
envelope_signal = Ac + m;

% Plotting
figure('Color','w');
hold on; grid on; box on;

plot(t, s, 'b', 'LineWidth', 1.5);                  % AM Signal
plot(t, envelope_signal, 'r--', 'LineWidth', 2);    % Upper Envelope
plot(t, -envelope_signal, 'r--', 'LineWidth', 2);   % Lower Envelope

title('Carrier Signal with AM Envelope');
xlabel('Time (s)');
ylabel('Amplitude');
legend('AM Signal','Envelope','Location','best');
 

Output

 

 

 9. MATLAB Code for Modulating a Low-Frequency Sinusoidal Message Signal with a High-Frequency Carrier Signal 

 %% Carrier and AM Signal Visualization

clc; clear; close all;

% Carrier parameters
Ac = 5;           % Carrier amplitude
fm = 5;          % Message frequency in Hz
fc = 50;          % Carrier frequency in Hz
t = 0:0.0001:1; % Time vector (0 to 0.1 s with 0.1 ms step)

% Modulating signal (message) - example array
m_array = sin(2*pi*fm*t);
% Repeat array to match length of t
m = repmat(m_array, 1, ceil(length(t)/length(m_array)));
m = m(1:length(t)); % truncate to match t

% Amplitude Modulated Signal
s = (Ac + m).*cos(2*pi*fc*t);

% Envelope of the AM signal
envelope_signal = Ac + m;

% Plotting
figure('Color','w');
hold on; grid on; box on;

plot(t, s, 'b', 'LineWidth', 1.5);                  % AM Signal
plot(t, envelope_signal, 'r--', 'LineWidth', 2);    % Upper Envelope
plot(t, -envelope_signal, 'r--', 'LineWidth', 2);   % Lower Envelope

title('Carrier Signal with AM Envelope');
xlabel('Time (s)');
ylabel('Amplitude');
legend('AM Signal','Envelope','Location','best');

Output

 

 

Further Reading 

  1.  

People are good at skipping over material they already know!

View Related Topics to







Contact Us

Name

Email *

Message *

Popular Posts

BER vs SNR for M-ary QAM, M-ary PSK, QPSK, BPSK, ...(MATLAB Code + Simulator)

Bit Error Rate (BER) & SNR Guide Analyze communication system performance with our interactive simulators and MATLAB tools. 📘 Theory 🧮 Simulators 💻 MATLAB Code 📚 Resources BER Definition SNR Formula BER Calculator MATLAB Comparison 📂 Explore M-ary QAM, PSK, and QPSK Topics ▼ 🧮 Constellation Simulator: M-ary QAM 🧮 Constellation Simulator: M-ary PSK 🧮 BER calculation for ASK, FSK, and PSK 🧮 Approaches to BER vs SNR What is Bit Error Rate (BER)? The BER indicates how many corrupted bits are received compared to the total number of bits sent. It is the primary figure of merit for a...

Power Spectral Density Calculation Using FFT in MATLAB

📘 Overview 🧮 Steps to calculate the PSD of a signal 🧮 MATLAB Codes 📚 Further Reading Power spectral density (PSD) tells us how the power of a signal is distributed across different frequency components, whereas Fourier Magnitude gives you the amplitude (or strength) of each frequency component in the signal. Steps to calculate the PSD of a signal Firstly, calculate the fast Fourier transform (FFT) of a signal. Then, calculate the Fourier magnitude (absolute value) of the signal. Square the Fourier magnitude to get the power spectrum. To calculate the Power Spectral Density (PSD), divide the squared magnitude by the product of the sampling frequency (fs) and the total number of samples (N). Formula: PSD = |FFT|^2 / (fs * N) Sampling frequency (fs): The rate at which the continuous-time signal is sampled (in ...

Constellation Diagrams of ASK, PSK, and FSK (with MATLAB Code + Simulator)

Constellation Diagrams: ASK, FSK, and PSK Comprehensive guide to signal space representation, including interactive simulators and MATLAB implementations. 📘 Overview 🧮 Simulator ⚖️ Theory 📚 Resources Definitions Constellation Tool Key Points MATLAB Code 📂 Other Topics: M-ary PSK & QAM Diagrams ▼ 🧮 Simulator for M-ary PSK Constellation 🧮 Simulator for M-ary QAM Constellation BASK (Binary ASK) Modulation Transmits one of two signals: 0 or -√Eb, where Eb​ is the energy per bit. These signals represent binary 0 and 1. BFSK (Binary FSK) Modulation Transmits one ...

DFTs-OFDM vs OFDM: Why DFT-Spread OFDM Reduces PAPR Effectively (with MATLAB Code)

DFT-spread OFDM (DFTs-OFDM) has lower Peak-to-Average Power Ratio (PAPR) because it "spreads" the data in the frequency domain before applying IFFT, making the time-domain signal behave more like a single-carrier signal rather than a multi-carrier one like OFDM. Deeper Explanation: Aspect OFDM DFTs-OFDM Signal Type Multi-carrier Single-carrier-like Process IFFT of QAM directly QAM → DFT → IFFT PAPR Level High (due to many carriers adding up constructively) Low (less fluctuation in amplitude) Why PAPR is High Subcarriers can add in phase, causing spikes DFT "pre-spreads" data, smoothing it Used in Wi-Fi, LTE downlink LTE uplink (as SC-FDMA) In OFDM, all subcarriers can...

UGC NET Electronic Science Previous Year Question Papers

Home / Engineering & Other Exams / UGC NET 2022 PYQ 📥 Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading UGC-NET (Electronics Science, Subject code: 88) Subject_Code : 88; Department : Electronic Science; 📂 View All Question Papers UGC Net Electronic Science Question Paper With Answer Key Download Pdf [June 2025] with full explanation UGC Net Electronic Science Question Paper With Answer Key Download Pdf [December 2024] UGC Net Paper 1 With Answer Key Download Pdf [Sep 2024] with full explanation UGC Net Electronic Science Question Paper With Answer Key Download Pdf [Aug 2024] with full explanation UGC Net Paper 1 With Answer Key Download...

MATLAB code for BER vs SNR for M-QAM, M-PSK, QPSk, BPSK, ...(with Online Simulator)

🧮 MATLAB Code for BPSK, M-ary PSK, and M-ary QAM Together 🧮 MATLAB Code for M-ary QAM 🧮 MATLAB Code for M-ary PSK 📚 Further Reading MATLAB Script for BER vs. SNR for M-QAM, M-PSK, QPSK, BPSK % Written by Salim Wireless clc; clear; close all; snr_db = -5:2:25; psk_orders = [2, 4, 8, 16, 32]; qam_orders = [4, 16, 64, 256]; ber_psk_results = zeros(length(psk_orders), length(snr_db)); ber_qam_results = zeros(length(qam_orders), length(snr_db)); for i = 1:length(psk_orders) ber_psk_results(i, :) = berawgn(snr_db, 'psk', psk_orders(i), 'nondiff'); end for i = 1:length(qam_orders) ber_qam_results(i, :) = berawgn(snr_db, 'qam', qam_orders(i)); end figure; semilogy(snr_db, ber_psk_results(1, :), 'o-', 'LineWidth', 1.5, 'DisplayName', 'BPSK'); hold on; for i = 2:length(psk_orders) semilogy(snr_db, ber_psk_results(i, :), 'o-', 'DisplayName', sprintf('%d-PSK', psk_orde...

ASK, FSK, and PSK (with MATLAB + Online Simulator)

📘 ASK Theory 📘 FSK Theory 📘 PSK Theory 📊 Comparison 🧮 MATLAB Codes 🎮 Simulator ASK or OFF ON Keying ASK is a simple (less complex) Digital Modulation Scheme where we vary the modulation signal's amplitude or voltage by the message signal's amplitude or voltage. We select two levels (two different voltage levels) for transmitting modulated message signals. Example: "+5 Volt" (upper level) and "0 Volt" (lower level). To transmit binary bit "1", the transmitter sends "+5 Volts", and for bit "0", it sends no power. The receiver uses filters to detect whether a binary "1" or "0" was transmitted. Fig 1: Output of ASK, FSK, and PSK modulation using MATLAB for a data stream "1 1 0 0 1 0 1 0" ( Get MATLAB Code ) ...