Analog Sound From A Digital Delay



Similar documents
Routinely DIYers opt to make themselves a passive preamp - just an input selector and a volume control.

CTCSS REJECT HIGH PASS FILTERS IN FM RADIO COMMUNICATIONS AN EVALUATION. Virgil Leenerts WØINK 8 June 2008

Reading: HH Sections , (pgs , )

GLOLAB Universal Telephone Hold

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

Kit Watt Audio Amplifier

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

6.101 Final Project Report Class G Audio Amplifier

LAB 12: ACTIVE FILTERS

Apple iphone/ipod Touch - ieffect Mobile Guitar Effect Accessory & Application

INTRODUCTION. Please read this manual carefully for a through explanation of the Decimator ProRackG and its functions.

Dashboard Digital Voltmeter

PCM Encoding and Decoding:

11: AUDIO AMPLIFIER I. INTRODUCTION

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

Tamura Closed Loop Hall Effect Current Sensors

Output Ripple and Noise Measurement Methods for Ericsson Power Modules

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

Digital to Analog Converter. Raghu Tumati

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

CONSTRUCTING A VARIABLE POWER SUPPLY UNIT

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Amplifier for Small Magnetic and Electric Wideband Receiving Antennas (model AAA-1B)

Basics of Digital Recording

Glolab Talking Phone Dial Monitor

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

Analog and Digital Filters Anthony Garvert November 13, 2015

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

HOW TO GET 23 BITS OF EFFECTIVE RESOLUTION FROM YOUR 24-BIT CONVERTER

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

GLOLAB Two Wire Stepper Motor Positioner

Title: Low EMI Spread Spectrum Clock Oscillators

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

Lab 1: The Digital Oscilloscope

Lock - in Amplifier and Applications

7-41 POWER FACTOR CORRECTION

W a d i a D i g i t a l

Prepared by: Paul Lee ON Semiconductor

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Conversion Between Analog and Digital Signals

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

DRM compatible RF Tuner Unit DRT1

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

AMPLIFIED HIGH SPEED FIBER PHOTODETECTOR USER S GUIDE

Precision Diode Rectifiers

phonostage RIP YOUR VINYL TO BITS, WITH A USB Design

200W DISCRETE POWER AMPLIFIER K8060

AN-837 APPLICATION NOTE

TESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin

HP 8970B Option 020. Service Manual Supplement

Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist.

VOLUME AND TONE CONTROL - PREAMPLIFIER K8084

LOW COST MOTOR PROTECTION FILTERS FOR PWM DRIVE APPLICATIONS STOPS MOTOR DAMAGE

What you will do. Build a 3-band equalizer. Connect to a music source (mp3 player) Low pass filter High pass filter Band pass filter

Diode Applications. by Kenneth A. Kuhn Sept. 1, This note illustrates some common applications of diodes.

Features, Benefits, and Operation

Transistor Amplifiers

Chapter 19 Operational Amplifiers

PC FUNCTION GENERATOR

6.101 Final Project Proposal Class G Audio Amplifier. Mark Spatz

Bipolar Transistor Amplifiers

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

= V peak 2 = 0.707V peak

Panasonic Microwave Oven Inverter HV Power Supply

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION

Voltage. Oscillator. Voltage. Oscillator

POCKET AUDIO GENERATOR K8065

Lab #9: AC Steady State Analysis

Laboratory 4: Feedback and Compensation

SUPER SNOOPER BIG EAR

PEDAL POWER 2 PLUS. User s Manual

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

Experiment # (4) AM Demodulator

Kit 27. 1W TDA7052 POWER AMPLIFIER

MAS.836 HOW TO BIAS AN OP-AMP

Understanding Dynamic Range in Acceleration Measurement Systems. February 2013 By: Bruce Lent

PRINCETON CHORUS OWNER S MANUAL P/N

Application Note SAW-Components

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

Miniature Surface-Mount DAA for Audio or Data Transfer XE0402LCC BLOCK DIAGRAM

UNDERSTANDING POWER FACTOR AND INPUT CURRENT HARMONICS IN SWITCHED MODE POWER SUPPLIES

Evaluating AC Current Sensor Options for Power Delivery Systems

The Phase Modulator In NBFM Voice Communication Systems

Class D Audio Amplifier

LM mW Stereo Cell Phone Audio Amplifier

Measuring Impedance and Frequency Response of Guitar Pickups

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

Build a Voltage and Current Peak Detector

Timing Errors and Jitter

LM138 LM338 5-Amp Adjustable Regulators

Joule Thief 3.0 Kit. June 2012, Rev Joule Thief 3.0

Lecture 24. Inductance and Switching Power Supplies (how your solar charger voltage converter works)

C220 PRELIMINARY TUBE PREAMPLIFIER SERVICE MANUAL. SERIAL NO. WS1001 And Above C220. Serial Number W S1001 And Above CONTENTS

Power Supplies. 1.0 Power Supply Basics. Module

Transcription:

Analog Sound From A Digital Delay The PT-80 Digital Delay By Scott Swartz Copyright 2002, All Rights Reserved Introduction This article will describe a digital delay pedal that is designed to capture the sound and feel of a classic analog delay such as the Ibanez AD-80. I call this creation the PT-80, named after the AD-80 for its sound and the PT2399 delay chip used. Not very creative, I know, but what do you want from an engineer? I personally own several classic analog delays including an original Ibanez AD-80 and have A/B tested this design against the analog pedals, and the difference in sound is extremely small. Analog Delay Vs. Digital Delay In the context of effect pedals, analog delay refers to a circuit utilizing a bucket brigade type chip (BBD) to generate the signal delay. Using basic terms, BBD chips create a analog representation of the signal by storing an electrical charge that is passed along the bucket brigade. The charge is passed at a rate determined by the clock and the magnitude of charge stored at any given instant is an analog value, unlike a digital delay where the amplitude is assigned to a digital value that has discrete steps. At first glance, the BBD therefore has better resolution, but there are a couple of problems. There is degradation of the charge as it passes through the bucket brigade, and more importantly, the process of passing the charge from bucket to bucket creates clocking noise in the signal. The raw signal leaving the BBD therefore looks like the audio signal, but there are spikes in the wave that correspond to the clock frequency. The solution to this problem is remove the spikes with a low pass filter, typically 30 or 36 db per octave with a 3 db point of around 3 khz. This lets enough high frequencies through for a reasonable audio signal, but stops the clock noise. The limited high frequency bandwidth also happens to sound more natural to most people for guitar effects use. Using basic terms, a digital delay samples the amplitude at a given clock time and assigns it a discrete value, then another discrete value at the next clock time, and so on. After being stored and then turned back into an analog signal via a D/A converter, the raw waveform will have steps in it, due to the discrete amplitude storage (the height difference between each step) and the clock frequency (the width of each step). Obviously, the higher the number of bits for amplitude storage and the higher the clock frequency, the smaller the steps added into the waveform, and the easier it will be to filter them out. If the frequency of the clock is high enough and the amplitude resolution high enough, the steps can be filtered out completely, leaving only the audio. There is a relationship between maximum audio bandwidth, clock frequency, and the filter slope required. For instance, 16 bit CDs use a clock frequency of 44.1 khz and provide 20 khz audio bandwidth, therefore a very steep slope filter is required. So where does that leave us? -Both digital and BBD technologies will add artifacts to the audio signal. -Removal of these artifacts is accomplished by low pass filtering in both technologies. -BBD technology theoretically could have better amplitude resolution. However, the vertical portions of the steps in a digital wave will be sloped and smoothed out by the low pass filtering, and the real world BBD bucket brigade Page 1 of 7

process will not retain 100% of the amplitude information, so there is probably no clear advantage for one or the other on this point. Keys to the Analog Delay Sound So why do typical digital delays sound terrible for guitar? The main reason is simple, too much high frequency bandwidth, and the solution is to add filters with the same specs that a BBD circuit requires for proper operation to a digital delay circuit. A filter is typically placed prior to the delay line, called an anti-alias filter filter, and there is filter after the delay line, which we can call a post delay filter. Anti-Alias Filter The anti-alias filter limits the frequency response to no more than 0.3 times the minimum clock speed, which for a BBD chip will be as low as 10 khz (a MN3005 will be clocking at 10 khz when set for 205 millisecond delay). The reason why this filter is required is that the process of modulating the audio signal creates sum and difference harmonics, which need to be filtered out. If we use the example of signal frequency of 3 khz and clock of 10 khz, harmonics will be created at 7 khz (10-3) and 13 khz (10+3). Therefore, the frequency response of the filter needs to provide as much attenuation at 7 khz as possible. If you use example frequencies of 5 khz signal and 10 khz clock, you can see that the difference harmonic (5 khz) is the same as the signal frequency, and therefore can t be attenuated without attenuating the signal itself (!), this is the reason for the 0.3 times signal frequency limit. Here is the response of the anti-alias filter used on the PT-80 design. Xa: 39.99k Xb: 10.00 Yc: 10.00 Yd:-50.00 a-b: 39.98k c-d: 60.00 A b 10 a c 0-10 -20-30 -40-50 d 10 100 1k 10k 100k Ref=Ground X=frequency(Hz) Y=voltage(db) So the frequency response at the input to the PT2399 delay chip is limited to about 2 khz, and higher frequencies are rolled off at 12 db per octave. This may sound extreme, but this filter performance is typical for analog delays. For comparison, the following is a graph of the anti-alias filter used on the Boss DM-2. Page 2 of 7

The DM-2 filter is 18 db per octave and therefore steeper, but the main point is to get the rolloff frequency similar which you can see has been done by comparing the two graphs. Post Delay Filter More important to the overall sound is the post delay filter. The PT-80 design uses a 30 db per octave filter, identical slope to the Boss DM-2, and the frequency response has been made almost identical by careful component selection. Here is the response of the PT-80 post delay filter. Page 3 of 7

As visible on the graph, the response falls off very quickly after 2.5 khz. This rapid rolloff is the main contributor to the warm sound that analog delays are known for. The graph below is the response of the Boss DM-2 post delay filter. Page 4 of 7

They almost look like the same graph, but they are generated from two different circuits. The PT-80 uses the LPF- 2 pins on the PT2399 for 12 db of the 30 db rolloff and a transistor circuit to provide the remaining 18 db per octave rolloff. The Boss DM-2 uses one transistor to generate 18 db of the rolloff, and another transistor for the other 12 db of rolloff. The response was modeled using Circuitmaker simulations, and the PT-80 design values were selected to provide nearly identical response. PT2399 Delay Chip The application note for this chip is not the greatest. The following are some findings about how the chip performs in a real world guitar effect circuit. -The selection of these PT-80 filter responses (originally selected to simulate the analog delay sound) in conjunction with the PT2399 delay chip turns out to be to be for the best anyway. The intrinsic frequency response of the PT2399 is limited to about 5 khz after which there is distortion, rolloff, and other digital craziness. -If a sine wave input of more than about 4 khz is allowed to processed, it comes out as a triangle wave. This appears to be due to limitations in the chip itself. A guitar signal doesn t have much infomation up in that range, but letting the delay chip process those frequencies will add "grit" to the sound due to the distortion. -The maximum amplitude signal that can be processed is about 3 volts peak to peak. Signal levels above this are clipped and also have some digital distortion as seen on the scope. Overall, this is enough headroom for guitar level, but certainly not for line level signals. Here is the response of the anti-alias filter from the app note that uses the 5600 pf and the 560 pf capacitors. The -3 db point is about 10 khz, which makes no sense keeping in mind the performance I observed. Who knows? Page 5 of 7

Xa: 39.11k Xb: 10.00 Yc: 6.000 Yd:-30.00 a-b: 39.10k c-d: 36.00 A b 6 a c 0-6 -12-18 -24-30 10 100 1k 10k d 100k Ref=Ground X=frequency(Hz) Y=voltage(db) Companding The better sounding analog delay pedals, such as the Boss DM-2 and the Ibanez AD-80, incorporate high frequency pre-emphasis and de-emphasis and more importantly an NE570 compander circuit for better noise performance. These functional blocks can also easily be added to a circuit that uses a digital delay line. Companding is required for the BBD circuit to control noise, but even if the digital circuit doesn t require it for noise performance, it can be added to the digital circuit to capture any artifacts created in the analog delay pedals. Design Summary The overall design goal of the PT-80 circuit is to take the circuit of a good sounding analog delay, keep everything that may impact the sound quality of the dry signal and as much as possible in the delay signal chain, while changing out the BBD delay line with the Princeton PT2399 digital delay line. Here is a list of the major functional blocks: -High frequency pre-emphasis and de-emphasis circuitry from the Ibanez AD-80 (Boss DM-2 is very similar). This is a noise reduction technique and has little or no impact on the sound of the circuit. -Anti-alias and post delay filters similar to those used on the Boss DM-2 (Ibanez AD-80 is similar) -NE570 companding from the Ibanez AD-80 using the currently available and functionally equivalent SA571 chip (once again, the Boss DM-2 is very similar) -Delay repeat circuitry from the Boss DM-2 (the Ibanez AD-80 is almost identical) -Wet/Dry mix control taken from the Boss DM-2 ( the Ibanez AD-80 mixer is harder to adjust, although it can be set for 100% wet output whereas the DM-2 circuit cannot be) Page 6 of 7

-Finally, a digital delay line using the Princeton PT2399 delay chip Construction Notes First, a word about the supply voltage chosen. The schematic shows a +12V regulator, which is the voltage used on the Ibanez AD-80, and will require using a 18-24 VDC wall wart for power. I prefer this for the added headroom and cleaner tone of the dry signal at the higher voltage, but the circuit will work fine with a 9 VDC supply. In this case, you would jumper the pads for the 12 VDC regulator input and output, and then you could use a regulated 9 VDC wall wart, such as the Ibanez AC109. Battery operation could then be implemented with a DC power jack that disconnects the battery + when the wall wart plug is inserted, as is commonly done on most effects. Only problem with battery operation is the current draw of the circuit is a stout 35 milliamps, the PT2399 chip alone is about 20 milliamps. You could save a few milliamps by using 10K instead of 1K resistors in the Vref divider, it should work fine, and maybe a TL062 opamp, that will get the current draw down to about 27 milliamps. The layout is designed to fit in the typical Hammond 1590BB box, which is 3.7 x 4.7 x 1.1 inches, with the PC board size being 2.5 x 3.2 inches. The intended mounting scheme is to mount the board on ½ inch tall standoffs with the pots mounting underneath the board. It could also be mounted on washers or short standoffs by moving the footswitch and pots far enough apart to allow the board to fit between, although in that case there may not be enough room for a battery if you go with 9 volt power. The PCB layout is designed to accommodate metallized polyester 1 uf coupling capacitors, although axial electrolytic or tantalum caps could be used (if correct polarity is observed). Other smaller caps are laid out with 0.3 inch spacing between pads, which should allow for various brands of caps to be used. Resistors have 0.4 inch pad spacing and are fine for use with the typical ¼ watt resistors. The Sound OK, so the big question. Does it sound like a classic analog delay? It comes VERY close to the sound of my original Ibanez AD-80. The difference is barely audible, its like comparing the AD-80 to a Boss DM-2 to a Ibanez CD-10 to a EH Memory Man. They all sound a little different. Keeping in mind I am referring to very small differences, I would say the PT-80 repeats frequency response is identical, but the repeats seem to be a little crisper, ie a more defined attack. Part of the difference could be the metallized polyester coupling caps I used, electros will soften the sound somewhat. The sound is worlds apart from the overbearing sound of a typical digital delay like the Boss DD-3 or a multi effects unit (Digitech, Lexicon, etc), where the repeats are so distinct they interefere with the dry signal. The PT-80 gives the atmospheric quality of an analog delay. With the 50K delay time pot, the delay can be adjusted much longer than a typical BBD delay, although the repeats are a little grainy at the longest delay times. A 25K delay pot gives a range almost identical to a BBD delay and makes adjustment of delay time a little easier. You are now armed with the schematic, PCB layout, and technical background required to build a great sounding delay pedal. Have Fun, Scott Swartz Page 7 of 7