Lecture 2 - Part 1
Contents
Quantisation





Signal-to-Quantisation-Noise-Ratio (SQNR)
Assume that an ADC has dynamic range ±V0 volts and uses N bits. The quantization step size is
Δ=2N2V0=21−NV0.The quantization noise power (uniform quantizer assumption) is
NoisePower=12Δ2.The RMS noise (standard deviation) is
σe=12Δ.The RMS value of a full-scale sine wave with peak V0 is
RMSsignal=2V0.Therefore the linear SNR (signal RMS divided by noise RMS) is
SQNR=σeRMSsignal=Δ/12V0/2=Δ2V012=ΔV06.Substituting Δ=2N2V0 yields
SQNR=2V0/2NV06=2N−16=2N23.In decibels:
SQNRdB=20log10(2N23)=N⋅20log10(2)+10log10(23).Numerically this is typically written as:
SQNRdB≈6.02N+1.7609. So every extra bit in an ADC gives approximately a 6dB increase in the SNR of the ADC output SQNR.SQNR Problems and Solutions
Problem 1: Uniform Quantizer SQNR
A sinusoidal signal x(t)=Asin(2πft) with amplitude A=1 is uniformly quantized using a 3-bit quantizer. Assume the signal is full-scale.
Questions:
- Calculate the quantization step size Δ.
- Determine the maximum SQNR in dB.
Solution:
- Quantization step size:
For an n-bit uniform quantizer covering full scale [−A,A]:
- Maximum SQNR for sinusoidal input:
Here n=3:
SQNRdB=6.02⋅3+1.76=19.82 dBAnswer: Δ=0.25,SQNR≈19.8 dB
Problem 2: SQNR with Different Bit Depth
A full-scale sinusoidal signal is quantized using an 8-bit uniform quantizer.
Questions:
- What is the SQNR in dB?
- If the bit depth is increased to 12 bits, by how much does the SQNR improve?
Solution:
- 8-bit SQNR:
- 12-bit SQNR:
SQNR improvement:
74−50.92≈23.08 dBAnswer: 8-bit SQNR ≈ 50.9 dB, improvement with 12-bit ≈ 23 dB.
Problem 3: Quantization Noise Power
A full-scale sinusoidal signal with amplitude A=2 is quantized using a 4-bit uniform quantizer.
Questions:
- Find the quantization step size Δ.
- Calculate the quantization noise power σq2.
- Determine SQNR (linear, not dB).
Solution:
- Step size:
- Quantization noise power (uniform quantization):
- Signal power (sinusoid Asin(⋅)):
- SQNR (linear):
Answer:
Δ=0.25,σq2≈0.00521,SQNR≈384