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

Mathematical Background

1. Amplitude Shift Keying (ASK)

The signal is represented by changing the amplitude of the carrier wave. For Binary ASK:

$$s(t) = \begin{cases} A \cos(2\pi f_c t) & \text{for bit 1} \\ 0 & \text{for bit 0} \end{cases}$$

2. Frequency Shift Keying (FSK)

The frequency of the carrier is shifted between two discrete values ($f_0$ and $f_1$):

$$s(t) = \begin{cases} \cos(2\pi f_1 t) & \text{for bit 1} \\ \cos(2\pi f_0 t) & \text{for bit 0} \end{cases}$$

3. Phase Shift Keying (PSK)

The phase of the carrier is shifted by 180° ($\pi$ radians) to represent different bits:

$$s(t) = \begin{cases} \cos(2\pi f_c t) & \text{for bit 1 (0 rad)} \\ \cos(2\pi f_c t + \pi) & \text{for bit 0 (\(\pi\) rad)} \end{cases}$$

⚠️ 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."

Try Other Interactive Online Simulators

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 *

Popular Posts

Q-function in BER vs SNR Calculation (with Simulation)

Q-function in BER vs. SNR Calculation In digital communications and signal processing, the Q-function plays a significant role in predicting system reliability. It allows engineers to quantify the probability that Gaussian noise will exceed a specific threshold, causing a bit error. What is the Q-function? The Q-function is a mathematical function representing the tail probability of the standard normal (Gaussian) distribution. It is the complementary cumulative distribution function (CCDF) of a standard Gaussian distribution. Q(x) = (1 / √(2ฯ€)) ∫โ‚“∞ e^(-t² / 2) dt Q-Function Interactive Simulator Move the slider to see how the "Tail Probability" (the area in red) changes. This area represents the Probability of Error (BER) . Threshold Distance ( x ) — (Simulates Increasing SNR) x = 1.0 Q(x) = 0.1587 ...

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 f...

RMS Delay Spread, Excess Delay Spread and Multi-path ...(with MATLAB + Simulator)

๐Ÿ“˜ Overview of Delay Spread and Multi-path ๐Ÿงฎ Excess Delay spread ๐Ÿงฎ Power delay Profile ๐Ÿงฎ RMS Delay Spread ๐Ÿ“š Further Reading ๐Ÿ“‚ Other Topics on RMS Delay Spread, Excess Delay ... ๐Ÿงฎ Multipath Components or MPCs ๐Ÿงฎ Online Simulator for Calculating RMS Delay Spread ๐Ÿงฎ Why is there significant multipath in the case of very high frequencies? ๐Ÿงฎ Why RMS Delay Spread is essential for wireless communication? ๐Ÿงฎ Why the Power Delay Profile is essential? ๐Ÿงฎ MATLAB Codes for Calculating Different Types of delay Spreads Delay Spread, Excess Delay Spread, and Multipath (MPCs) The fundamental distinction between wireless and wired connections is that in wireless connections signal reaches at receiver thru multipath signal propagation rather than directed transmission like co-axial cable. Wireless Communication has no set communication path between the transmitter and the receiver. The line...

FM Bandwidth and FM Band Explained

FM radio uses the frequency band from 88 MHz to 108 MHz , which is a 20 MHz-wide spectrum . This is the range of carrier frequencies available to stations. 108 MHz − 88 MHz = 20 MHz However, a single FM station occupies only about 200 kHz . This is the bandwidth of the modulated FM signal. 1. Why One FM Station Needs ~200 kHz FM uses frequency modulation . The bandwidth depends on how far the carrier swings. Carson's Rule gives the approximate FM bandwidth: B = 2 ( ฮ”f + f m ) ...

Frequency Shift Keying (FSK) Modulation & Demodulation (with Simulation)

Frequency Shift Keying (FSK) Theoretical Foundations: Frequency Shift Keying (FSK) is a discrete frequency modulation scheme wherein the digital information is encoded via instantaneous shifts in the carrier signal's frequency. The fundamental implementation is Binary FSK (BFSK), which maps binary data onto two distinct, discrete spectral states. A binary '1' (the "mark" state) is represented by a carrier frequency \( f_1 \), while a binary '0' (the "space" state) corresponds to frequency \( f_2 \). Each symbol is sustained for a bit interval denoted by \( T_b \). FSK Transmitter Characterization: The mathematical model for the modulated BFSK output \( s(t) \) is defined as: \[ s(t) = \begin{cases} A_c \cos(2\pi f_1 t), & \text{for } m = 1 \\ A_c \cos(2\pi f_2 t), & \text{for } m = 0 \end{cases} \] ...

OFDM Symbols and Subcarriers Explained

This article explains how OFDM (Orthogonal Frequency Division Multiplexing) symbols and subcarriers work. It covers modulation, mapping symbols to subcarriers, subcarrier frequency spacing, IFFT synthesis, cyclic prefix, and transmission. Step 1: Modulation First, modulate the input bitstream. For example, with 16-QAM , each group of 4 bits maps to one QAM symbol. Suppose we generate a sequence of QAM symbols: s0, s1, s2, s3, s4, s5, …, s63 Step 2: Mapping Symbols to Subcarriers Assume N sub = 8 subcarriers. Each OFDM symbol in the frequency domain contains 8 QAM symbols (one per subcarrier): Mapping (example) OFDM symbol 1 → s0, s1, s2, s3, s4, s5, s6, s7 OFDM symbol 2 → s8, s9, s10, s11, s12, s13, s14, s15 … OFDM sym...

Orthogonal Time Frequency Space (OTFS) (with MATLAB)

In OTFS (Orthogonal Time Frequency Space) modulation — a scheme designed for high-Doppler and time-varying wireless channels — the terms ISFFT and SFFT are key mathematical transformations used to move between different representation domains. Figure: OTFS block diagram 1. ISFFT — Inverse Symplectic Finite Fourier Transform Purpose: Transforms data symbols from the delay-Doppler domain to the time-frequency domain . \[ X[n, m] = \frac{1}{\sqrt{NM}} \sum_{k=0}^{N-1} \sum_{l=0}^{M-1} x[k, l] \, e^{j2\pi \left( \frac{nk}{N} - \frac{ml}{M} \right)} \] Here, \( N \) is the number of Doppler bins (time slots), and \( M \) is the number of delay bins (subcarriers). The ISFFT maps each data symbol from the delay-Doppler grid (where the channel is sparse and easier to equalize) to the time-frequency grid (where standard multicarrier modulation like OFDM can be applied). 2. SFFT — Symplectic Finite Fourier Transform Purpose: Performs the reverse operation ...