Digital Circuits
Analog-to-Digital Conversion
18 questions By Tony R. Kuphaldt
-
Question 10 of 18
Explain the operating principle of a dual-slope ADC circuit, in your own words.
Reveal answerI won’t give away all the details here, but the dual-slope converter uses the same integrator and binary counter that the single-slope ADC does. However, the integrator is used a bit differently in the dual-slope design, the benefits being greater immunity to high-frequency noise on the input signal and greater accuracy due to relative insensitivity to integrator component values.
Notes:Tutorials abound on simple ADC strategies, so your students should have little problem locating an adequate explanation for the operation of a dual-slope ADC.
-
Question 11 of 18
The Delta-Sigma or Sigma-Delta analog-to-digital converter works on the principle of oversampling, whereby a low-resolution ADC repeatedly samples the input signal in a feedback loop. In many cases, the ADC used is nothing more than a comparator (a 1-bit ADC!), the output of this ADC subtracted from the input signal and integrated over time in an attempt to achieve a balance near 0 volts at the output of the integrator. The result is a pulse-density modulated (PDM) “bitstream” of 1-bit digital data which may be filtered and decimated (converted to a binary word of multiple bits):

Explain what this PDM bitstream would look like for the following input voltage conditions:
- Vin = 0 volts
- Vin = VDD
- Vin = Vref
Reveal answer- Vin = 0 volts ; bitstream = 00000000 . . .
- Vin = VDD ; bitstream = 11111111 . . .
- Vin = Vref ; bitstream = 01010101 . . .
Notes:In order to answer this question, students must have a good grasp of how the summing integrator works. Discuss with them how the feedback loop’s “goal” is to maintain the integrator output at the reference voltage (Vref), and how the 1-bit ADC can only make adjustments to the integrator’s output by driving it upward or downward by the same analog quantity every clock pulse.
-
Question 12 of 18
The pulse-density modulation (PDM) of a 1-bit oversampled Delta-Sigma modulator circuit may be “decimated” into a multi-bit binary number simply by counting the number of “1” states in a bitstream of fixed length.
Take for example the following bitstreams. Sample the first seven bits of each stream, and convert the equivalent binary numbers based on the number of “high” bits in each seven-bit sample:
- 001001001001001
- 101101101101101
- 010010001100010
- 010001100010001
- 111011101110111
Then, take the same five PDM bitstreams and “decimate” them over a sampling interval of 15 bits.
Reveal answerSampling interval = 7 bits
- 001001001001001 ; Binary value = 0102
- 101101101101101 ; Binary value = 1012 or 1002
- 010010001100010 ; Binary value = 0102 or 0112
- 010001100010001 ; Binary value = 0112 or 0012
- 111011101110111 ; Binary value = 1102 or 1012
Sampling interval = 15 bits
- 001001001001001 ; Binary value = 01012
- 101101101101101 ; Binary value = 10102
- 010010001100010 ; Binary value = 01012
- 010001100010001 ; Binary value = 01012
- 111011101110111 ; Binary value = 11002
Follow-up question: what relationship do you see between sampling speed and resolution in this “decimation” process, and how does this relate to the performance of a Delta-Sigma ADC?
Notes:With little effort, your students should be able to see that sampling twice as many bits in the PDM bitstream adds one more bit of resolution to the final binary output. Such is the nature of so many circuits: that optimization of one performance parameter comes at the expense of another.
Students may question how two (or more!) different decimation results can occur from the same bitstream, especially as shown in the answer for the 7-bit groupings. The answer is two-part: first, the bitstreams I show are not all perfectly repetitive. Some change pattern (slightly) mid-way, which leads to different pulse densities in different sections. The second part to this answer is that the nature of decimation by grouping will inevitably lead to differing results (even when the pattern is perfectly repetitive), and that this is the converter’s “way” of resolving an analog quantity lying between two discrete output states. In other words, a pair of decimated values of “4” and “5” (1002 and 1012, respectively) from a perfectly repetitive bitstream suggests an analog value lying somewhere between the discrete integer values of “4” and “5”. Only by sampling groups of bits equal to the period of the PDM repetition (or integer multiples of that repetition) can the digital output precisely and constantly equal the analog input.
