Signal Modulation Simulator Back
Communications Engineering

Signal Modulation Simulator — AM / FM / PM

Visualize AM, FM, and PM modulation waveforms and frequency spectra in real time. Adjust carrier frequency, modulation index, and see bandwidth and power efficiency instantly.

Modulation Type

Message Signal

Carrier

Mod. Index β
Bandwidth (Hz)
Power Eff. (%)
SNR Gain (dB)
Message signal m(t)
Modulated signal s(t)
Frequency spectrum |S(f)|

What is Signal Modulation?

🧑‍🎓
What exactly is "modulation"? Why can't we just send the original sound signal directly over the air?
🎓
Great question! Basically, the original audio signal (like your voice) is a low-frequency signal. In practice, efficient radio transmission requires much higher frequencies. Modulation is the process of "piggybacking" that information onto a high-frequency carrier wave. Try moving the "Carrier Frequency" slider in the simulator above—you'll see the fast, wiggly wave. That's the carrier we're modifying.
🧑‍🎓
Wait, really? So AM and FM are just different ways of modifying that carrier wave? What's the actual difference I should look for in the simulator?
🎓
Exactly! In AM, the *amplitude* (the height) of the carrier wave goes up and down to match the message. In FM, the carrier's *frequency* (how close together the wiggles are) changes slightly. A common case is FM radio having better sound quality. In the simulator, switch between "AM" and "FM" modes and watch how the shape of the red modulated wave changes while the blue message stays the same.
🧑‍🎓
I see the "Modulation Index" slider. What does that do? Is it like a volume knob for the effect?
🎓
You're on the right track! The modulation index controls how *strongly* the message affects the carrier. For instance, in AM, a higher index means the amplitude varies more dramatically. If you set it to zero, the modulation disappears and you just get the pure carrier wave. Try sliding it up and down while watching the waveform and the spectrum display—you'll see the sidebands grow and shrink.

Physical Model & Key Equations

The core idea is a carrier wave, $c(t)$, which is a pure sinusoid. The message signal, $m(t)$, modifies a specific property of this carrier. The general form of the modulated signal, $s(t)$, depends on the type.

$$ c(t) = A_c \cos(2\pi f_c t) $$

Here, $A_c$ is the carrier amplitude, $f_c$ is the carrier frequency (adjustable in the simulator), and $t$ is time. This is the wave you start with before any modulation is applied.

For Amplitude Modulation (AM), the message signal directly multiplies the carrier's amplitude. The equation for a standard AM (DSB-LC) wave is:

$$ s_{AM}(t) = A_c \big[ 1 + k_a m(t) \big] \cos(2\pi f_c t) $$

Here, $k_a$ is the amplitude sensitivity, and the term $k_a m(t)$ creates the amplitude variations you see. The "1 +" ensures the amplitude never goes negative, which simplifies receiver design. The modulation index $\mu = k_a \cdot \max|m(t)|$ controls the depth of these variations.

For Frequency Modulation (FM), the message signal changes the instantaneous frequency of the carrier. The equation is:

$$ s_{FM}(t) = A_c \cos\Big(2\pi f_c t + 2\pi k_f \int_0^t m(\tau) d\tau \Big) $$

Here, $k_f$ is the frequency sensitivity. The integral means the message changes the *phase* of the carrier, and the derivative of phase is frequency. The modulation index in FM is $\beta = (k_f \cdot \max|m(t)|) / f_m$, where $f_m$ is the message frequency. It determines the bandwidth of the FM signal.

Real-World Applications

AM Radio Broadcasting (535–1705 kHz): This is the classic application of Amplitude Modulation. Its advantage is simple receiver circuitry, which is why it was the first commercially successful broadcast technology. However, it's susceptible to static from lightning and electrical interference, which also affect amplitude.

FM Radio Broadcasting (88–108 MHz): FM provides high-fidelity audio because noise typically affects a signal's amplitude, not its frequency. This superior noise immunity is why music stations use FM. The trade-off is a more complex receiver and a wider bandwidth requirement per station.

Aviation Voice Communication (VHF Band): Aircraft communicate with towers using AM, not FM. This might seem counterintuitive, but in crowded airspace, the weaker signal from a distant aircraft on the same frequency is still audible as background static in an AM system, alerting others to its presence. In FM, a weaker signal might be completely rejected by the receiver ("capture effect"), which is a safety hazard.

Phase Modulation in Digital Communications (Wi-Fi, Bluetooth): While our simulator shows analog PM, its digital cousin (Phase Shift Keying, PSK) is everywhere. By shifting the phase of the carrier to specific, discrete values, it can represent digital bits (0s and 1s). This is a fundamental technology in modern wireless data transmission due to its spectral efficiency and robustness.

Common Misconceptions and Points to Note

First, there is a misconception that "a larger modulation index is always better." While increasing the "maximum frequency deviation" in FM improves sound quality, it also widens the occupied frequency bandwidth. For example, if the highest frequency of an audio signal is 5 kHz and the modulation index β is set to 5, Carson's rule gives a bandwidth of approximately 2*(25 kHz+5 kHz)=60 kHz. This is an extremely "generous" usage within limited radio resources and carries a high risk of interfering with other communications. In practice, the basic principle is to choose the minimum modulation index that meets the required quality.

Next, you need to be cautious about the behavior when using a square wave as the "message signal" in a simulator. Abrupt changes like those in a square wave theoretically contain infinite high-frequency components. Applying FM modulation to this state theoretically generates infinite sidebands, causing the bandwidth to diverge. While a simulator displays this within a finite bandwidth, in real circuits, such steep changes cause distortion and unwanted radiation. In practical systems, it is essential to process the message signal with a low-pass filter (pre-emphasis) to suppress high-frequency components.

Finally, there is the issue of incorrect "modulation depth" settings in AM. In an "overmodulation" state where the modulation depth m_a exceeds 1, the waveform's peaks and troughs are clipped, and unwanted components spread in the spectrum. Demodulating in this state not only causes severe distortion in the audio but also leads to interference (crosstalk) in adjacent frequency bands. Radio station operations strictly monitor this. If you set m_a to, say, 1.2 in a simulator and observe the changes in the waveform and spectrum, the impact becomes immediately clear.

Related Engineering Fields

The modulation techniques handled by this tool are deeply related to "Control Engineering." In particular, the principle of FM, "phase modulation," is directly linked to understanding phase lag compensation and PLLs (Phase-Locked Loops). PLLs are not only used as FM demodulators but are also key technologies active in the core of all modern digital devices, such as frequency synthesizers and clock recovery. The process of tracking the phase of a modulated signal is mathematically similar to a control system following a target value.

Furthermore, there are commonalities with analysis methods in "Acoustics and Vibration Engineering." The displayed "frequency spectrum" is exactly the same as the FFT (Fast Fourier Transform) spectrum used in vibration analysis of rotating machinery. For example, the phenomenon of numerous sidebands appearing in FM modulation closely resembles the mechanism of sideband generation in vibration modes due to gear defects. Learning the relationship between modulation index and bandwidth also builds the foundation for spectral interpretation skills, such as "envelope analysis" used in fault diagnosis.

Additionally, applications to the "Signal Processing" field are important. "SSB (Single Sideband) modulation," which removes one of the upper or lower sidebands in AM, is a bandwidth-saving technique, but understanding it requires a mathematical operation called the Hilbert transform. After observing the AM spectrum in this simulator, considering "what happens if only one sideband remains?" is the first step towards advanced concepts in digital signal processing.

For Further Learning

First, I recommend delving deeper into the "demodulation" process, which is the counterpart to "modulation." How do you recover the original audio from the modulated wave created in this simulator? For AM, there are demodulation methods like "envelope detection," and for FM, methods like "PLL" or "discriminator." Try to map each circuit block diagram to which characteristic of the waveform output by this tool it utilizes. For instance, the perspective that the line connecting the "peaks" of the AM waveform becomes the message signal itself is a significant hint for understanding demodulation.

Next, explore the mathematical background involving "trigonometric product-to-sum identities" and "Bessel functions." Expanding the AM formula using product-to-sum identities reveals it can be expressed as the sum of the carrier and sidebands. On the other hand, the FM formula expresses its spectrum using Bessel functions $J_n(\beta)$ with the modulation index β as the argument. $$ s_{FM}(t) = A_c \sum_{n=-\infty}^{\infty} J_n(\beta) \cos(2\pi (f_c + n f_m)t) $$ This equation rigorously explains why infinite sidebands appear in the FM spectrum. Even if it seems a bit challenging, simply knowing this equation's existence will allow you to understand FM's behavior more deeply.

As a final step, consider expanding your knowledge to "Digital Modulation." Modern communications (4G/5G, Wi-Fi) mostly use digital modulation. The first steps—"ASK (Amplitude Shift Keying)," "FSK (Frequency Shift Keying)," and "PSK (Phase Shift Keying)"—can be thought of as the digital versions of AM, FM, and PM, respectively. For example, try imagining what would happen if you replaced the message signal in this tool with a digital signal consisting only of 0s and 1s. Your intuitive understanding of analog modulation should form the most solid foundation for the vast world of digital modulation.