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.
Modulation Workflow & Mathematics Theory
1. Amplitude Shift Keying (ASK)
The signal is represented by changing the amplitude of the carrier wave. For Binary ASK:
2. Frequency Shift Keying (FSK)
The frequency of the carrier is shifted between two discrete values ($f_0$ and $f_1$):
3. Phase Shift Keying (PSK)
The phase of the carrier is shifted by 180° ($\pi$ radians) to represent different bits:
⚠️ 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
๐ป Analog Modulations
๐ข M-ary QAM & PSK Modulations
๐ข Continuous Phase Modulations
๐ข Doppler Spectrum
๐ข Wiener Filter
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.