Skip to main content

Online Simulator for ASK, FSK, and PSK


Interactive Digital Signal Processing (DSP) Tutorial and Simulator for ASK, FSK, and BPSK modulation techniques.
Try our new Digital Signal Processing Simulator!   •   Interactive ASK, FSK, and BPSK tools updated for 2025.

Digital Modulation Visualizer: ASK, FSK, & BPSK Simulator

Learn and visualize binary modulation techniques (ASK, FSK, BPSK) in real-time with adjustable carrier and sampling parameters. Perfect for DSP students and engineers.

1. ASK (Amplitude Shift Keying) Simulator Digital
2. FSK (Frequency Shift Keying) Simulator Digital
3. BPSK (Binary Phase Shift Keying) Simulator Phase

Modulation Workflow & Mathematics Theory

1. Modulation Equations

Let $m(k)$ be the $k$-th bit in the sequence, $f_c$ the carrier frequency, and $A_c$ the amplitude.

ASK (Amplitude Shift Keying)
s(t) = A_c · m(k) · cos(2ฯ€ f_c t)
*On-Off Keying: Carrier is present for '1', zero for '0'.
FSK (Frequency Shift Keying)
s(t) = A_c · cos(2ฯ€ f_i t)
*where f_i = f_1 if m(k)=1, and f_i = f_0 if m(k)=0.
BPSK (Phase Shift Keying)
s(t) = A_c · cos(2ฯ€ f_c t + ฯ†_k)
*where ฯ†_k = 0 for '1' and ฯ†_k = ฯ€ for '0'.

⚠️ Simulation Constraints & Rules

To ensure a valid and visually clear simulation, the following digital signal processing (DSP) rules must be followed:

  • Nyquist Criteria: The Sampling Frequency ($f_s$) must be at least twice the Carrier Frequency ($2 \times f_c$). For a smooth visual curve, $f_s \ge 10 \times f_c$ is recommended.
  • Carrier vs. Message: The Carrier Frequency should be much higher than the Bit Rate ($f_c \gg R_b$). In these simulators, Bit Duration is fixed at 1s ($R_b = 1$ bps).
  • Aliasing Warning: If $f_s < 2f_c$, the output waveform will suffer from aliasing, appearing as a lower-frequency distorted wave.
  • Phase Continuity: These simulators use "Sudden Phase Transition" (Non-coherent) modeling for simplicity.

๐Ÿงช Experiment for Students:

"Try setting the Carrier Frequency to 50Hz and the Sampling Frequency to 40Hz in the ASK simulator. Observe the Aliasing Effect—the waveform will no longer resemble a sine wave because the Nyquist criteria is violated."

ASK vs. FSK vs. BPSK: Key Differences

Feature ASK FSK BPSK
Parameter Changed Amplitude Frequency Phase
Noise Immunity Low (Very Sensitive) High Very High
Bandwidth Efficiency High Low High
Complexity Simple Moderate Complex

ASK Applications

  • • Optical Fiber Communications
  • • Infrared Remote Controls
  • • Early Wireless Telegraphy

FSK Applications

  • • Caller ID Systems
  • • Garage Door Openers
  • • Low-speed Radio Modems

BPSK Applications

  • • Deep Space Telemetry
  • • Satellite Communications
  • • GPS Navigation Signals

MATLAB Codes for Modulation

View MATLAB Codes for ASK, FSK, and PSK =>

Modulation FAQ & Help

Why is BPSK more noise-resistant than ASK?

BPSK relies on phase shifts (180 degrees) rather than amplitude. Since noise typically affects the amplitude of a signal, BPSK remains more recognizable to a receiver even in high-interference environments.

What is the Nyquist rate in these simulations?

The Nyquist rate requires the sampling frequency to be at least twice the highest frequency component. In our simulator, if your Carrier is 10Hz, your Sampling must be at least 20Hz.

Contact Us

Name

Email *

Message *