Electronics
-Electronics-
Winter 2014 For my project I am building an electric guitar analog effects pedal. The pedal is called the "Tube Screamer" and is an overdrive effect, which clips an amplified signal.
Why build a guitar pedal? I want to understand what makes overdrive sound good. Oftentimes, when people speak of "distortion", they are talking about noise that is unwanted, but with guitars, there is a good distortion, which make the guitar signal sound good. As I built the pedal, I analyzed it with an oscilloscope, as well as did research, to better understand what makes it sound qualitatively good to human ears.
Basic Guitar Physics
- An electric guitar works by converting sound into an alternating current, using pickups. A pickup is a magnet with wire densely coiled around it. It creates a magnetic field around the guitar string, so that when the string vibrates, there is a change in the magnetic field, and a voltage is created in the coiled wires.
The signal then goes through the effects pedal and then is turned back into sound waves at the speaker.
So if we are sending a clean signal into the effect, what will come out?
- To answer that question we will look at what the circuit is, qualitatively and quantitatively.
Qualitatively:
- This is the layout I used to wire up my circuit:
And this is what the circuit looked like when I finished:
Quantitatively:
- This is the circuit diagram:
The circuit breaks up into 5 convenient sections: Power Supply (top right), Input Buffer, Clipping Stage, Tone and Volume Stage, and Output Buffer.
The Power supply, Input Buffer, and Output Buffer all serve very basic functions. The Power Supply buffers the DC bias (+9V) and is a voltage divider. The Input Buffer simply adjusts the impedance of the incoming signal to the desirable input impedance, and the Output Buffer does the same for the output impedance.
The most interesting parts of this circuit are the Clipping Stage and the Tone and Volume Stage.
To understand the Clipping Amp, let's start from scratch and build up from there. We start with the Opamp and the resistors. This is a non-inverting opamp with a gain 1+(51k+Pot)/4.7k. So the gain ranges from 12 to about 120. However, when we add the diodes to our circuit, the gain doesn't matter anymore. Under .6 Volts, the diodes do not conduct electricity, but above .6 Volts, the diodes act like a short circuit to the (51k+Pot) effective resistance. This creates a clipped sine wave with a steep slope, and is the basis of diode-clipping distortion effects. Next we add in a couple capacitors to filter the frequency response. the .047uF capacitor in series with the 4.7k resistor creates a high pass filter with a frequency 720Hz. This attenuates lower frequencies out of the Clipping Stage, resulting in a cleaner signal (This is simply a human aesthetic preference). This capacitor also causes a phase shift in the signal, resulting in asymmetrical clipping (another human aesthetic preference). The 51pf capacitor in parallel with the diodes acts as a low pass filter, attenuating higher frequencies and thus softening the clipped edges of the waveform. This makes the distortion seem less harsh.