• Digital Delay Line
  • Digital Delay Line
  • Digital Delay Line
  • Digital Delay Line
  • Digital Delay Line
  • Digital Delay Line
  • Digital Delay Line

Magazine Archive

Home -> Magazines -> Issues -> Articles in this issue -> View

Digital Delay Line (Part 2)

Final part of our superb big value effects unit.



Part 2 concludes the project with full constructional details.

  • Digital encoding for studio quality results
  • Time delays from 0.625ms to 1.6 seconds
  • Produces all the popular time delay effects:
  • Phasing / Flanging / ADT and chorus
  • Echo (including 'freeze' for infinite repeats)
  • Time domain vibrato, etc.

PARTS COST GUIDE £182 with full memory

Circuit Description



The complete circuit of the unit is shown in Figures 3 and 4, and operation may be clearer if the block diagram (Figure 2, published last month) is studied at the same time.

The input signal is amplified by the input amplifier IC21, to bring the signal up to a suitable operating level. Next the signal is filtered by two low pass filters, one of which has a 4kHz cut-off, and the other a 10kHz cut-off. The 4kHz or 10kHz operation is selected by S16. These are known as antialiasing filters; aliasing is an effect that sounds like ring modulation and is caused by harmonics of the input signal interacting with the analogue to digital conversion. If these harmonics are greater in frequency than ½ of the conversion frequency, then side bands will be generated that will fall within the audio spectrum: to prevent this from happening, the input signal is low-pass filtered to remove these high frequency harmonics.

The signal is then fed into the ADC (analogue to digital converter). This section continuously samples the analogue waveform, and measures the instantaneous amplitude which it describes with an 8-bit digital word. This word is then stored in the digital memory. In order to convert the analogue waveform into a digital word it must be 'frozen' long enough to allow the ADC to perform the measurement. The freezing is done with a sample and hold device, IC10. The 'lumpy' output of the sample and hold unit (TP8, see Figure 8) still represents the input signal; if it were low-pass filtered then the original waveform would be recovered, as in fact it is when it is reconstructed by the digital to analogue converter (DAC) after the selected time delay (TP10, Figure 8).

Figure 8. Waveforms for TP7-10, showing ADC and DAC operation.


The ADC consists of three main sections, a comparator IC14, a successive approximation register (SAR) IC17, and a DAC IC13.

Their purpose in life is to measure the input voltage and to describe it with an 8-bit digital word. The SAR produces a binary code which it sends to the DAC; this generates an output voltage which the comparator compares with the input signal. The result of the comparison determines whether the MSB of the digital word is a 1 or a 0. The SAR then tests the next bit of the code, and then the next, until all 8 bits have been determined; the conversion is then complete. The 8-bit word causes the DAC to produce a voltage equal in magnitude to the input signal, therefore the word is a measurement of the input sample.

Figure 3a. Circuit diagram of PSU.
(Click image for higher resolution version)


Figure 3. Main circuit of the Digital Delay Effects Unit.
(Click image for higher resolution version)


The DAC is in fact a companding DAC, and not a linear one; it can be operated in both compression and expansion modes. In the ADC (IC13) it compresses the signal, and in the DAC (IC33) it expands the signal thus giving an overall linear transfer function. The performance of the DAC and ADC can be described in several ways. First, the dynamic range: this is the ratio between the largest signal that the system can handle and the smallest. The dynamic range is 72dB which is quite good.

The signal to noise ratio is the ratio between the largest signal that the system can handle, and the output noise with no input signal. This may be better than 72dB, but it is not that important, because the system only generates digital noise (quantisation noise) when it is converting signals. The noise only appears when a signal output is being generated; this noise is related to the amplitude and spectrum of the input signal.

Now consider the signal to quantisation noise ratio. If the delay line is processing speech, then the quantisation noise is hardly noticeable; the noise is masked by the rapidly changing information in the speech. If the input signal is high in frequency compared to the selected bandwidth, then again the quantisation noise is lost, this time having been removed by the output filters. However, if the input signal is a low frequency pure tone then quantisation noise can be heard sizzling away in the background! This problem is overcome by giving the input signal a treble lift from 600Hz up to 6kHz (R3 and C3 give pre-emphasis) and by providing a treble cut at those same frequencies on the output signal (R86 and C31 give de-emphasis). The overall frequency response is flat, and the quantisation noise is selectively filtered out. The energy spectrum of most natural sounds falls off with increasing frequency, and so the pre-emphasis does not produce any signal overload problems.

Figure 4. Circuit of the memory section.
(Click image for higher resolution version)


The memory is 16K bytes long, being constructed from 2114L static RAMs (4 bits by 1K). The read/write cycle is as follows: the memory address is set up, and data is read from that memory location by being clocked into a latch (IC34) that drives the DAC (IC33). Next, data is written into the same memory location, the data being obtained from the ADC. The address is then incremented by one bit. If the full memory length were being used, then the address would have to count in a full circle (16K) to retrieve the data that had just been entered.

The output data is converted to an analogue voltage by the DAC (IC33). This voltage is quantised into steps, and it needs filtering to remove the unwanted harmonics that constitute these steps. Again a 4kHz and a 10kHz low pass filter (IC28,29,30,31) are used.

The master clock for the system is generated by a high frequency voltage controlled oscillator, IC1, 2 and 3. IC2 and 3 form a standard Schmitt trigger/integrator oscillator, the frequency of which is controlled by the current into pin 5 of IC3. IC1 is used as a buffer to drive the subsequent TTL stage.

IC8, 12 and 16 are binary dividers which generate the memory addresses A0 to A18. A0 to A4 are used to generate timing signals, such as read, write, start conversion, sample, and A5 to A18 are used as the memory address. Shorter time delays are obtained by using smaller sections of the memory, by progressively disabling the memory addresses using IC15, 18 and 10. The memory is sectioned into four quarters (see memory options in parts list) and so the top four time delay selections have equal time increments, but the lower eight selections provide time delays in octave increments. The master clock oscillator frequency may be manually controlled by RV3, or modulated by the low frequency triangle oscillator IC26, 27.

Test points



The timing diagram for one conversion read/write cycle is shown in Figure 5. All the waveforms will be clearly visible at the indicated test points (TP1-12). The memory reset timing is shown in Figure 6. A18 has a period of 1.6 seconds or 0.64 seconds, depending on the selected bandwidth. The reset pulse has a period of less than one micro-second, so don't be surprised if you cannot see it! Figure 7 shows the memory column select decoding. The number of columns selected will depend on the time delay selected by SW12, 13, 14, 15.

Figure 5. Timing diagram for one read/write cycle.


Figure 6. Memory reset timing, shown with ¾ memory selected.


Figure 7. Memory column select timing, with full memory.


Construction



Most of the components, including controls, are mounted on one large double sided PCB, whilst two smaller single sided boards carry the time delay selector switches and the power supply components (with the exception of the transformer). Powertran's PCBs will not carry a printed component legend, but all the component positions are identified in Figures 9, 10 and 11 and construction should be straightforward. Before mounting any components on the large PCB, the tracks on the top of the board should be linked through with pins (special through-pins are supplied in the kit) and soldered top and bottom. Sockets are recommended for the ICs, and again, these are provided in the kit. As always, take special care with the soldering, and check for dry joints, solder splashes and correct component orientation before switching on.

Figure 9. Component layout for the main PCB.
[Errata: Resistors R92 and R91 situated below R100 should read R95 and R94 respectively.]
(Click image for higher resolution version)


Figure 10. Component layout for the switch PCB.
(Click image for higher resolution version)


Figure 11. Component layout for the PSU board.
(Click image for higher resolution version)


Figure 12. Wiring to the PSU board and transformer.
(Click image for higher resolution version)


There is very little wiring to be done. The switch board is linked to the main board with two lengths of ribbon cable, as shown on the component overlays; the PSU board and transformer wiring is shown in Figure 12. The connections to the freeze switch and footswitch socket are on the switch board diagram.

If required, the delay unit may be built with ¼, ½ or ¾ memory to begin with, and this is simply a matter of omitting some of the components: the parts list gives details.

Once all the soldering is done, do not insert any ICs except those in the power supply. Power up and test the regulated supply rails (the unregulated rail voltages only refer to a fully loaded power supply). Insert the ICs, in lots of 10, and then power up and check the regulated supply rails. Do this until all the ICs are inserted. Don't forget to turn off the power when you are putting them in! Having completed a successful power up you can now test the unit.

Connect a signal and check all is functional. If not, then check to see if all the TP waveforms are being generated correctly. Also look at all 19 address lines. If you experience a regular repeating fault in the memory section then you may have a nonfunctional area of memory. Check out the address lines, the data bus and the column decoding. If these are all OK then it is probable that a memory chip is faulty. This can be located by a process of substitution. Finally, set up the presets as follows:

1) Set up the unit for a long echo, and set REPEAT to maximum. Adjust RV8 so that repeats continue for a long time, but not so that they grow in amplitude.

2) Measure the voltage on the positive end of D1; it should be +4.7V. Monitor IC27 pin 1, and adjust RV9 so that the triangle waveform is offset so that its bottom point is at +4.7V. If you don't have a 'scope, a voltmeter may be used, but turn down the sweep speed to avoid misleading readings.

3) Turn the time delay pot anti-clockwise, and select manual control of time delay. Select 10kHz bandwidth, and measure the frequency at test point 3 (TP3). Adjust RV10 so that the frequency is about 40kHz. Now select 4kHz bandwidth, and adjust RV11 so that the frequency is about 160kHz. These frequencies can be set without instruments by entering a short signal, freezing it and setting the pre sets so that the delay times on the longest setting are 0.64 secs and 1.6 secs (time 10 repeats, i.e. 6.4 secs and 16 secs).

4) The sample and hold offset adjustment RV12 only produces a small DC shift, which when compared to the 10Vp-p audio signal level at this point is not significant. However, if the ADC is dithering between two quantised states (and hence producing 1 LSB of dithering noise) then the DC offset can be used to shift the analogue voltage by just enough to prevent this. Listen to the delayed output, and adjust RV12 for minimum noise. Find the best pre-set position by manually adjusting the delay time. The delay effects unit is now ready for use.

The E&MM Digital Delay Line is obtainable as a complete kit of parts from Powertran Electronics, (Contact Details). With ¼ memory, ie 400ms maximum delay, the kit costs £130 + VAT. Extra memory parts are £9.50 + VAT per 400ms, so the full 1.6s delay would cost £158.50 + VAT.

DIGITAL DELAY UNIT PARTS LIST

Resistors — 5% ⅓W carbon unless specified
R1,10,88 27k 3 off
R2,11,33,81,103 1k5 5 off
R3,48 1k0 2 off
R4,12-14,18, 22,24,25,29, 30,53,65,68, 75,78,91,93, 98,101,118 10k 23 off
R5,52,64,67,121 4k7 5 off
R6,58 22k 2 off
R7,8,35,83,89,90 13k 6 off
R9,26,31,72,79,87 39k 6 off
R16,46,61,100 100k 4 off
R16,19,94,96 6k8 4 off
R17,20,45,95,97, 107-117 1k2 16 off
R21,38,99 33k 3 off
R23,32,34,49,80, 82,84,102,104 47k 9 off
R27,36,73,85 5k6 4 off
R28,56,57,74 270R 4 off
R39,51 12k 2 off
R40,62,69 18k 3 off
R41 1k8
R42,43 680R 2 off
R44 1M0
R47 680k
R50,63,66 15k 3 off
R54 10R
R55,106 470R 2 off
R59,60 2k7 1% 2 off
R70,71 1k0 1% 2 off
R86 560R
R105,122 220R 2 off
R119 2k2
R120 2k7
RV1,5 470k log pot PCB mounting 2 off
RV2 10k reverse log pot PCB mounting
RV3 1k lin pot PCB mounting
RV4 10k log pot PCS mounting
RV6 47k lin pot (With central click ! PCB mounting
RV7 47k log pot PCB mounting
RV8 22k min horiz preset
RV9,10 10k min horiz preset 2 off
RV11 47k min horiz preset
RV12 2k2 min horiz preset

Capacitors
C1,2,9,14,18,19, 21,30,32 4u7 15V tantalum 9 off
C3 27nF potycarb
C4,20 470pF ceramic 2 off
C5-8,33-36 4n7 polycarb 8 off
C10-13,26-29 1n5 potycarb Soft
C15,23,25,40-43,51-64,76-83 470nF 15V tantalum 30 off
C16 220nF 25V tantalum
C17,37 220nF polycarb 2 off
C22 1n0 ceramic
C24 220pF ceramic
C31 47nF polycarb
C38,66-69,71,74 10uF 15V tantalum 9 off
C39 22nF polycarb
C44,46 1000uF 25V electrolytic 2 off
C45,47,49 47nF ceramic 3 off
C48a,48b,48c 4700uF 16V electrolytic 3 off
C50 100uF 10V electrolytic

Semiconductors
TR1.3 BC182L 2 off
TR2 BC212L
D1 4V7 zener
D2,4,5,15 1N4148 4 off
D3,16 Red LED 2 off
D6 Green LED
D7,10 1N6402 4 off
D11-14 1N4002 4 off
IC1,14 LM311 2 off
IC2,3 CA3080 2 off
IC4 74LS04
IC5,11,35,36 74LS138 4 off (see below)
IC6 74LS86
IC7 74LS27
IC8,16 741S393 2 off
IC9 74LS74
IC10 LF398
IC12 74LS193
IC13,33 DAC76 2 off
IC15,18,19 74LS08 3 off
IC17 AM2502
IC20 74LS244
IC21-25,28-31 RC4558 9 off
IC26,32 TL081 2 off
IC27 1458
IC34 74LS374
IC37-68 2114L 32 off (see below)
IC69-72,74 7805 5 off (see below)
IC73 74LS32
IC75 7812
IC76 7912
For ¾ memory omit IC61-68,72
For ½ memory omit IC53-68,71,72,36
For ¼ memory omit IC45-68,70,71,72,36

Miscellaneous
JK1-4 ¼" mono jack socket, switched 4 off
S1,2 4P2W latching push switch 2 off
S3 SPST mini toggle switch
S4-15 12 x 4 P2W interdependant switch bank
S16 DP mains rocker switch
T1 Transformer 15-0-15V. 8.5V
T0220 heatsink 7 off (omit 1 for each ¼ memory not fitted)
8 pin DIL socket 17 off
14 pin DIL socket 10 off
16 pin DIL socket 6 off (omit 1 for ½ or ¼ memory)
18 pin DIL socket 34 off (omit 8 for each ¼ memory not fitted)
20 pin DIL socket 2 off
3 PCBs — main, switch and PSU
Knobs 7 off
Case and hardware
Mains lead, plug and grommet
10-way ribbon cable — 8" length
5-way ribbon cable — 8" length



Previous Article in this issue

Power 200 Speakers

Next article in this issue

Stockhausen in London


Electronics & Music Maker - Copyright: Music Maker Publications (UK), Future Publishing.

 

Electronics & Music Maker - Mar 1982

>

Should be left alone:


You can send us a note about this article, or let us know of a problem - select the type from the menu above.

(Please include your email address if you want to be contacted regarding your note.)

Topic:

Electronics / Build


Series:

Digital Delay

Part 1 | Part 2


Feature by Tim Orr

Previous article in this issue:

> Power 200 Speakers

Next article in this issue:

> Stockhausen in London


Help Support The Things You Love

mu:zines is the result of thousands of hours of effort, and will require many thousands more going forward to reach our goals of getting all this content online.

If you value this resource, you can support this project - it really helps!

Please Contribute to mu:zines by supplying magazines, scanning or donating funds. Thanks!

We currently are running with a balance of £100+, with total outgoings so far of £1,036.00. More details...
muzines_logo_02

Small Print

Terms of usePrivacy