Low-Cost Audio Delay Line Uses 1-Bit ADC

June 7, 2004
Author Jim Walker describes a very low cost analog delay line circuit using parts such as the LM311 comparator and 74HC74 D flip-flop

The concept of an audio delay line is simple. The voice or music to be delayed is analog-to-digital converted and fed into a shift register or any digital delay or storage medium. The delayed (or playback) digital signal is fed into a digital-to-analog converter (DAC), and the result is delayed audio.

The circuit shown in Figure 1 is very low in cost, but it may not look much like a DAC. It's a one-bit oversampled analog-to-digital converter (ADC) also known as a delta modulator. The resulting digital stream (when integrated by a simple RC circuit) is an approximation of the audio input. Because the approximation is continually compared against the reference audio, it's continually corrected to be as close as it can be to the original. It's never right, but always close. The higher the clock sample rate, the better the approximation.

The audio input is ac-coupled into the positive side of a comparator, with a dc offset of VCC/2. The output of the comparator (Point B) is integrated by RX, CX (typically 10 Ω, and 0.01 µF) and fed back to the negative side of the comparator. The digital stream (at point B) reappears at point D delayed in time. Because point D has the same integration time constant as point B, the resulting waveform at the audio output is the same as point C. Figure 2 shows the waveforms described above.

The circuit, run at a clock rate of 100 kHz, will give high-quality voice reproduction. Higher clock rates will provide near-CD quality. The comparator can be any standard (fast) comparator, such as the LM311 or the LM339 (a bit slower, but very inexpensive). The D-flop is any HCMOS device, such as the 74HC74, or CD4013. And, the delay line can be any digital storage media. Users should try different integration time constants for different types of audio to determine which sound the best.

Note that the audio output comes out at a moderately high impedance (due to the integrator) and has some clock feedthrough. A simple two-pole low-pass filter on the output will generally be sufficient to remove any low-level clock leakage present.

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!