Skip to main content

Theoretical BER vs SNR for binary ASK, FSK, and PSK (with MATLAB Code + Simulator)


Bit Error Rate (BER) Equations

In ASK, noise directly affects the signal amplitude, making it the most vulnerable since the data is carried in amplitude changes. In FSK, data is represented by frequency variations, and because noise typically impacts amplitude more than frequency, FSK is more robust than ASK. In PSK, data is encoded in the signal phase, and BPSK specifically uses 180-degree phase shifts, creating the greatest separation between signal points and therefore achieving the lowest bit error rate (BER) for the same power level. BER formulas for ASK, FSK, and PSK modulation schemes.

ASK

BER = 0.5 × erfc(0.5 × √SNR)

FSK

BER = 0.5 × erfc(√(SNR / 2))

PSK

BER = 0.5 × erfc(√SNR)

erfc / Q-function (Click here)

Theoretical BER vs SNR for Amplitude Shift Keying (ASK)

The theoretical Bit Error Rate (BER) for binary ASK depends on how binary bits are mapped to signal amplitudes. For typical cases:

If bits are mapped to 1 and -1, the BER is:

BER = Q(√(2 × SNR))

If bits are mapped to 0 and 1, the BER becomes:

BER = Q(√(SNR / 2))

Where:

  • Q(x) is the Q-function: Q(x) = 0.5 × erfc(x / √2)
  • SNR: Signal-to-Noise Ratio
  • N₀: Noise Power Spectral Density

Understanding the Q-Function and BER for ASK

  • Bit '0' transmits noise only
  • Bit '1' transmits signal (1 + noise)
  • Receiver decision threshold is 0.5

BER is given by:

Pb = Q(0.5 / σ), where σ = √(N₀ / 2)

Using SNR = (0.5)² / N₀, we get:

BER = Q(√(SNR / 2))

ASK BER Formula Derivation

Theoretical BER vs SNR for Frequency Shift Keying (FSK)

For binary FSK, the theoretical BER is:

BER = Q(√(SNR))

BER vs SNR for FSK

The Q-function is defined as:

Q(x) = 0.5 × erfc(x / √2)

BER Formula for BFSK

Similarities Between ASK and FSK

  • Both BERs decrease as SNR increases
  • Both use the Q-function for analytical BER calculation
  • FSK generally performs better under noisy conditions

MATLAB Code for Theoretical BER vs SNR

Binary ASK (BASK)

% The code is written by SalimWireless.Com 

clc;
clear all;
close all;

SNRdB = 0:20; 
SNR = 10.^(SNRdB/10); 

BER_th = (1/2) * erfc(0.5 * sqrt(SNR));

semilogy(SNRdB, BER_th, '-rh', 'linewidth', 2.5);
grid on;
title('Theoretical Bit Error Rate vs. SNR for Binary ASK Modulation');
xlabel('SNR (dB)');
ylabel('BER');
legend('Theoretical');
axis([0 20 1e-5 1]);

Binary FSK (BFSK)

% The code is written by SalimWireless.Com 

clc;
clear;
close all;

SNRdB = 0:1:10;              
SNR = 10.^(SNRdB/10);        

BER_th = (1/2) * erfc(sqrt(SNR / 2));

disp('SNR (dB)    Theoretical BER');
disp([SNRdB', BER_th']);

figure;
semilogy(SNRdB, BER_th, '-kh', 'LineWidth', 2);
xlabel('SNR (dB)');
ylabel('Bit Error Rate (BER)');
title('Theoretical BER vs SNR for BFSK');
grid on;

Theoretical BER vs SNR for BPSK -> (Click Here)

BER vs SNR Simulation



Other Simulations →

Comparison of ASK, FSK, and PSK Performance

Feature ASK (OOK) BFSK BPSK
Power Efficiency Low Medium High
Bandwidth Efficiency High Low High
Noise Immunity Poor (Sensitive to Amp) Good Excellent
Best Used In Fiber Optics, RFID Caller ID, Paging Deep Space, Satellite

Read More

Key Terms Explained

Eb/N0 (Energy per Bit to Noise Power Density):
The normalized SNR measure, also known as the "SNR per bit." It is the most important metric for comparing different modulation schemes regardless of bandwidth. [Read More] 
Q-Function:
The Q-function represents the tail probability of the standard normal distribution. In BER terms, it tells us the probability that noise will exceed the decision boundary. Read more
Coherent vs. Non-Coherent Detection:
Coherent detection (used in the formulas above) requires the receiver to be in phase-sync with the transmitter. Non-coherent detection is easier to build but results in a higher BER.

Impact of AWGN on BER vs SNR of ASK

Theoretical vs Simulated BER vs SNR for Binary ASK

Higher bits = More accuracy but slower.

Example: -10:2:20 or 5

Observation Table

SNR (dB) Simulated BER
Impact of AWGN on BER vs SNR of FSK and PSK →

Modulation Design Trade-offs

Best for Simplicity

ASK (OOK)

Lowest cost to implement. Best for short-range IR or Fiber where noise is controlled.

Best for Ruggedness

FSK

Excellent immunity to amplitude fluctuations (fading). Standard for legacy paging and low-speed telemetry.

Best for Efficiency

PSK (BPSK/QPSK)

Maximum data rate for the least power. Used in Satellite, WiFi, and 5G communications.

The Mathematical Foundation

The Bit Error Rate is fundamentally derived from the Conditional Probability of Error, where we integrate the Gaussian Noise PDF over the decision region:

\( P_b = \int_{\mathrm{Threshold}}^{\infty} \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x-A)^2}{2\sigma^2}} \, dx = Q\!\left(\frac{A}{\sigma}\right) \)

In digital communications, the argument $x$ inside the $Q(x)$ function represents the ratio of the signal's "safety margin" to the noise magnitude. In an AWGN channel, the noise standard deviation is defined as: $\sigma = \sqrt{N_0 / 2}$

BPSK

Distance to boundary is $\sqrt{E_b}$

$x = \frac{\sqrt{E_b}}{\sqrt{N_0/2}}$
$x = \sqrt{\frac{2E_b}{N_0}}$

BFSK

Distance to boundary is $\frac{\sqrt{E_b}}{\sqrt{2}}$

$x = \frac{\sqrt{E_b}/\sqrt{2}}{\sqrt{N_0/2}}$
$x = \sqrt{\frac{E_b}{N_0}}$

BASK

Distance to boundary is $\frac{\sqrt{E_b}}{2}$

$x = \frac{\sqrt{E_b}/2}{\sqrt{N_0/2}}$
$x = \sqrt{\frac{E_b}{2N_0}}$

Why the 0.5 factor?

In 0.5 * erfc(x), the 0.5 represents the 50% probability of transmitting a '0' vs a '1' in a random bitstream.

Eb/N0 vs SNR

While SNR is the power ratio, Eb/N0 is the energy per bit, allowing us to compare schemes with different bandwidths fairly.

Further Reading

  1. BER vs SNR for ASK, FSK, and PSK with Online Simulator 
  2. Understanding the Q-function in BASK, BFSK, and BPSK
  3. BER for M-ary PSK and QAM
  4. Constellation Diagrams

Contact Us

Name

Email *

Message *

Popular Posts

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. Start Now 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. 📡 ASK Simulator 📶 FSK Simulator 🎚️ BPSK Simulator 📚 More Topics ASK Modulator FSK Modulator BPSK Modulator More Topics 1. ASK (Amplitude Shift Keying) Simulat...

MATLAB Code for BER performance of QPSK with BPSK, 4-QAM, 16-QAM, 64-QAM, 256-QAM, etc

📘 Overview 🧮 MATLAB Codes 🧮 Online Simulator for Calculating BER of M-ary PSK and QAM 🧮 QPSK vs BPSK and QAM: A Comparison of Modulation Schemes in Wireless Communication 🧮 Are QPSK and 4-PSK same? 📚 Further Reading   QPSK offers double the data rate of BPSK while maintaining a similar bit error rate at low SNR when Gray coding is used. It shares spectral efficiency with 4-QAM and can outperform 4-QAM or 16-QAM in very noisy channels. QPSK is widely used in practical wireless systems, often alongside QAM in adaptive modulation schemes [Read more...] What is the Gray Code? Gray Code: Gray code is a binary numeral system where two successive values differ in only one bit. This property is called the single-bit difference or unit distance code. It is also known as reflected binary code. Let's convert binary 111 to Gray code: Binary bits: B = 1 1 1 Apply the rule: G[0] = B[0] = 1...

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

UGC NET Electronic Science Previous Year Question Papers with Solutions

Home / Engineering & Other Exams / UGC NET 2026 PYQ ⬇️ Download Papers and Solutions 📋 Exam Pattern 💡 Preparation Tips ❓ FAQs 📊 Exam Highlights: Electronic Science (88) Feature Details Junior Research Fellowship (JRF) ₹37,000 + HRA per month Eligibility M.Sc/M.Tech in Electronics (55%) Validity of Certificate JRF (3 Years) | Lectureship (Lifetime) 📥 Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading 📂 View All Question Papers June 2025 - Question Paper Download PDF June 2025 - Solved Paper + Explanation ...

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

Understanding PAPR in DFT-spread OFDM vs. Standard OFDM In modern wireless communications like 4G LTE and 5G NR, managing the Peak-to-Average Power Ratio (PAPR) is critical for hardware efficiency. While OFDM is the gold standard for high-speed data, its high PAPR poses significant challenges for mobile devices. This is where DFTs-OFDM (also known as SC-FDMA) comes in. 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...

Simulation of ASK, FSK, and PSK using MATLAB Simulink (with Online Simulator)

📘 Overview 🧮 How to use MATLAB Simulink 🧮 Simulation of ASK using MATLAB Simulink 🧮 Simulation of FSK using MATLAB Simulink 🧮 Simulation of PSK using MATLAB Simulink 🧮 Simulator for ASK, FSK, and PSK 🧮 Digital Signal Processing Simulator 📚 Further Reading 📚 BER vs SNR Simulation 📚 Constellation Simulation ASK, FSK & PSK HomePage MATLAB Simulation Simulation of Amplitude Shift Keying (ASK) using MATLAB Simulink In Simulink, we pick different components/elements from MATLAB Simulink Library. Then we connect the components and perform a particular operation. Result A sine wave source, a pulse generator, a product block, a mux, and a scope are shown in the diagram above. The pulse generator generates the '1' and '0' bit sequences. Sine wave sources produce a specific amplitude and frequency. The scope displays the modulated signal as well as the...

Constellation Diagram of FSK in Detail

📘 Overview 🧮 Simulator for constellation diagram of FSK 🧮 Theory 🧮 MATLAB Code 📚 Further Reading 📚 BER vs SNR from Constellation   Binary bits '0' and '1' can be mapped to 'j' and '1' to '1', respectively, for Baseband Binary Frequency Shift Keying (BFSK) . Signals are in phase here. These bits can be mapped into baseband representation for a number of uses, including power spectral density (PSD) calculations. For passband BFSK transmission, we can modulate signal 'j' with a lower carrier frequency and signal '1' with a higher carrier frequency while transmitting over a wireless channel. Let's assume we are transmitting carrier signal fc1 for the transmission of binary bit '1' and carrier signal fc2 for the transmission of binary bit '0'. Simulator for 2-FSK Constellation Diagram Simulator for 2-FSK Constellation Diagram ...