4.2.1: Pulse Code Modulation Flashcards
What are Pulse Code Modulation’s (PCM) three stages?
- Sampling
- Quantizing
- Encoding
What is Sampling?
The process of converting a continuous-time signal (analog) to a discrete-time signal (digital).
What’s the relationship between Sampling Period and Frequency?
T(s) = 1 / f(s)
f(s) = 1 / T(s)
What is the Nyquist Sampling Rate?
f(s) = 2 * f(max)
What is Quantization?
The process of mapping the sampled values to a finite set of values.
How do we find the delta between zones?
delta = [V(max) - V(min)] / 2
What are the steps for Quantization?
- Determine max and min values.
- Find the delta between levels.
- Assign quantized value of 0 to (L - 1) to the midpoint of each zone.
- Approximate value of sample amplitude to quantized values.
How do we determine the total number of bits, given levels?
N(bits) = log2(L)
What is Quantization Error?
Input values to quantizer are real; output values are approximates. Output values are chosen to be the middle value in the zone; if the input values is not the middle of the zone, there is an error.
Error is between (delta/2) and (-delta/2).
What is SNR(dB) when the Quantization Error is applied?
SNR(dB) = 6.02 * N(bits) + 1.76.
What is Encoding?
Once a sample is quantized and the number of bits-per-sample is selected, each sample is changed into an N-bit codeword.