Pulse-code modulation (PCM)
Pulse-code modulation (PCM) is a way to turn an analog signal into digital data by sampling it, quantizing each sample, and encoding the result in binary. In Electrical Circuits and Systems II, it shows how ADCs move real-world voltages into discrete numbers.
What is pulse-code modulation (PCM)?
Pulse-code modulation (PCM) is the basic method Electrical Circuits and Systems II uses to describe how a continuous voltage gets turned into digital information. You take an analog waveform, measure its amplitude at evenly spaced times, round each measurement to the nearest allowed level, then write that level as a binary code.
That three-step process is easy to say and easy to mix up. Sampling answers when you look at the signal. Quantization answers how precisely you represent each sample. Encoding answers how you store or transmit that quantized value as bits.
In this course, PCM usually shows up when you connect the real world to a digital system. A sensor output, microphone signal, or test waveform is continuous, but a processor can only work with discrete numbers. PCM is the bridge, which is why it sits right next to analog-to-digital conversion.
The quality of PCM depends on two choices that show up constantly in problem sets: sampling rate and bit depth. A higher sampling rate captures faster changes in the waveform, while a larger bit depth gives more quantization levels and smaller rounding error. If the sample rate is too low, you can miss the shape of the signal entirely. If the bit depth is too small, the reconstructed signal sounds or measures coarse because of quantization noise.
A simple way to picture it is a smooth sine wave being measured every fixed time step. Each measurement gets rounded to one of a few voltage levels, then translated into a binary number. That bitstream can be stored, sent through a communication system, or fed into later digital processing. On the way back out, a DAC and output filtering reconstruct the analog waveform as closely as possible.
PCM also shows why this course cares about frequency ideas. The sampling process has to respect the signal bandwidth, or aliasing appears and the digital version no longer matches the original. So PCM is not just a coding trick, it is a sampling and representation rule that controls how accurately a continuous signal survives the trip into the digital domain.
Why pulse-code modulation (PCM) matters in Electrical Circuits and Systems II
PCM is the starting point for almost every digital signal chain you see in Electrical Circuits and Systems II. Once you understand it, ADC behavior stops looking like a black box and starts looking like a sequence of steps with specific limits: sample the waveform, round it, code it, then recover it later if needed.
It also ties together several topics from the course that can feel separate at first. Sampling connects to the Nyquist theorem and Nyquist frequency. Quantization connects to error, resolution, and bit depth. Reconstruction connects to output filtering and DAC behavior. When you can track PCM through those stages, you can explain why a signal looks clean, why it aliases, or why it sounds noisy after digitization.
In labs, PCM shows up whenever you compare an input waveform to a digitized output, measure fidelity, or estimate the effect of changing sample rate or bit depth. In problem sets, it often appears as a calculation or interpretation task where you convert a voltage into a binary word, estimate quantization levels, or decide whether a system can capture a given signal without distortion.
Keep studying Electrical Circuits and Systems II Unit 14
Official unit cheatsheet
open one-pagerHow pulse-code modulation (PCM) connects across the course
Sampling
Sampling is the first step in PCM, where you measure the signal at discrete time intervals. If you change the sampling rate, you change how much of the waveform’s time detail gets preserved. In this course, sampling is usually the part that links PCM to frequency limits and aliasing.
Quantization
Quantization is the rounding step in PCM. After a sample is taken, it must be mapped to the nearest allowed amplitude level, which creates quantization error. The number of levels, often tied to bit depth, controls how coarse or fine that rounding is.
Nyquist Theorem
The Nyquist theorem tells you the minimum sampling rate needed to avoid aliasing for a bandlimited signal. PCM depends on this idea because sampling too slowly can make the digital representation misleading, even if the binary encoding itself is correct.
output filtering
Output filtering is what helps turn a stepped digital output back into a smoother analog waveform after reconstruction. In a PCM system, the DAC output is not the final shape you want, so filtering removes the high-frequency pieces introduced by the conversion process.
Is pulse-code modulation (PCM) on the Electrical Circuits and Systems II exam?
A quiz question might ask you to trace a waveform through the PCM chain and identify where sampling ends and quantization begins. A problem set may give you a sample rate and bit depth, then ask whether the signal can be represented accurately or whether aliasing or coarse quantization will appear. You may also be asked to interpret a block diagram of an ADC, label the PCM output, or compare two signals with different bit depths. If you see a waveform, think in steps: where are the samples taken, how many amplitude levels are available, and what does that do to the final digital code?
Pulse-code modulation (PCM) vs Sampling
Sampling is only the time-measurement step, while PCM includes sampling plus quantization and binary encoding. If a question asks about the whole digital representation of an analog signal, PCM is the better term. If it only asks about taking values at regular time intervals, it is usually sampling.
Key things to remember about pulse-code modulation (PCM)
Pulse-code modulation turns a continuous analog signal into a binary-coded digital signal by sampling, quantizing, and encoding it.
Sampling rate controls how often the signal is measured, while bit depth controls how many amplitude levels each sample can take.
PCM is a core idea in analog-to-digital conversion, so it shows up any time a real voltage has to become digital data.
Too low a sampling rate can cause aliasing, and too few quantization levels can make the signal rough or noisy.
In this course, PCM is easiest to understand as a pipeline, not a single step: measure, round, code, then reconstruct if needed.
Frequently asked questions about pulse-code modulation (PCM)
What is pulse-code modulation (PCM) in Electrical Circuits and Systems II?
PCM is the method of representing an analog signal with digital bits by sampling the signal, quantizing each sample, and encoding it in binary. In this course, it is the standard way to describe how an analog waveform becomes digital data before processing, storage, or transmission.
Is PCM the same as sampling?
No. Sampling is only the step where you measure the signal at regular time intervals. PCM includes sampling, plus quantization and binary encoding, so it describes the full conversion process, not just the timing of the measurements.
How do sampling rate and bit depth affect PCM?
Sampling rate controls time resolution, so higher rates capture faster changes in the waveform. Bit depth controls amplitude resolution, so more bits give more quantization levels and less rounding error. If either one is too low, the digital version loses accuracy.
Where does PCM show up in circuits and systems problems?
You usually see PCM in ADC and DAC problems, waveform conversion questions, and signal reconstruction tasks. It also appears when you need to decide whether a signal can be digitized without aliasing or whether quantization will noticeably change the result.