Level 1 covered spotting a diode and which way round it goes. This level is about the jobs diodes do in guitar gear: clipping, protecting a pedal from the wrong power supply, guarding transistors from a relay's kick, sizing an LED's resistor, and choosing the right diode for each.
Clipping
Clipping is how most overdrive and distortion pedals get their sound. A diode doesn't conduct until the voltage across it reaches its forward voltage, then it conducts hard. Put two diodes from the signal to ground, facing opposite ways, and any part of the wave that goes above that voltage gets shaved off:
The diode type decides where the clipping starts, and that changes both the volume and the feel:
| Clipping diodes | Clips at about | Sound |
|---|---|---|
| Germanium (1N34A) | 0.3 V | soft, compressed, quieter, with a gentle edge |
| Schottky (BAT41, 1N5817) | 0.3 V | similar level to germanium, a little firmer |
| Silicon (1N4148) | 0.6 V | the classic: tight, focused, more output |
| Red LEDs | 1.8 V | much louder and more open, less compression |
| No diodes | the circuit's own limit | loudest, roughest |
Asymmetric clipping uses a different number or type of diode on each side, for example two silicon diodes in series one way and one the other. The top and bottom of the wave clip at different levels, which adds even-order harmonics, the kind associated with a warmer, more amp-like sound.
Hard and Soft Clipping
Where the diodes sit matters as much as which ones you use:
- Diodes to ground, after a gain stage, as in the diagram: hard clipping. The wave is flattened sharply. This is the distortion pedal sound.
- Diodes in the feedback loop of an op-amp gain stage: soft clipping. As the diodes start to conduct, they lower the stage's gain, so the wave rounds off gradually. This is how most overdrives work.
Swapping clipping diodes is one of the easiest and most rewarding pedal mods. Socket them and try a few.
Protecting a Pedal from a Backwards Supply
Most pedals take a center-negative 9 V supply. Plug in a center-positive one, or connect a battery clip wrong, and the voltage goes in backwards, which can destroy chips and transistors in an instant. One diode prevents it:
- A series diode in the + line passes current only the right way. Wired backwards, nothing flows and nothing is harmed. A 1N5817 Schottky costs about 0.3 V; a 1N4001 costs about 0.7 V, which can matter in a pedal that needs every volt of headroom.
- A parallel diode across the supply, pointing from ground to +, does nothing in normal use. Wired backwards, it conducts and shorts the supply, so the circuit never sees reverse voltage. It costs no voltage, but the adapter has to survive the short, either by shutting itself down or with a fuse or small resistor in line.
Guarding Against a Relay's Kick
A relay coil, like any coil, fights a change in current. Switch it off and it produces a sharp voltage spike that can destroy the transistor driving it. A diode across the coil, pointing toward the + side so it normally does nothing, gives that spike a safe path. It is called a flyback or snubber diode, and every relay driven by a transistor needs one. A 1N4148 is enough for small pedal relays; a 1N4001 suits bigger coils. The Relays series covers this in more depth.
Sizing an LED's Resistor
An LED needs a resistor to set its current. The resistor takes whatever voltage the LED doesn't:
R = (supply voltage − LED forward voltage) ÷ current
Standard 5 mm LEDs are rated about 20 mA, but that is the maximum, and full brightness is glaring on a dark stage. Most pedals run their LED at 2 to 5 mA, and modern high-efficiency LEDs are bright at 1 mA.
| LED | Supply | Current | Resistor | Use |
|---|---|---|---|---|
| Red, 2 V | 9 V | 5 mA | 1.4k, so 1.5k | a normal pedal indicator |
| Red, 2 V | 9 V | 2 mA | 3.5k, so 3.6k or 3.9k | dimmer, easier on the eyes |
| Blue, 3.2 V | 9 V | 2 mA | 2.9k, so 3k | blue looks much brighter for the same current |
| Red, 2 V | 18 V | 5 mA | 3.2k, so 3.3k | a pedal run at 18 V |
Rounding up to the next standard value always makes the LED a little dimmer, never harmful.
Two more LED rules:
- Never put LEDs in parallel on one resistor. Their forward voltages differ slightly, so one hogs the current. Give each its own resistor, or put them in series if the supply is high enough.
- LEDs don't like reverse voltage. Most are only rated to about 5 V backwards. If an LED could see reverse voltage, put an ordinary diode in series or across it.
Rectifying: AC into DC
Every tube amp's power supply starts with AC from the power transformer. Diodes, or a rectifier tube, turn it into DC by letting through only the part of the wave that points one way. Four diodes in a bridge, or two with a center-tapped transformer, use both halves of the wave. Level 3 covers how it works and how to rate the diodes.
DANGER: LETHAL VOLTAGE. The rectifier diodes in a tube amp sit at the full high voltage, and the filter caps after them can stay charged long after the amp is unplugged. Drain the caps and check them with a meter before you touch anything. The Cap Drain & Bleeder Calculator shows how.
Choosing a Diode
| Job | Use | Why |
|---|---|---|
| Clipping | 1N4148, germanium, Schottky or LEDs | each clips at its own level; try them by ear |
| Pedal polarity protection, series | 1N5817 Schottky | loses only about 0.3 V |
| Pedal polarity protection, parallel | 1N4001 | cheap and rugged |
| Relay flyback | 1N4148 or 1N4001 | fast enough, cheap |
| Tube amp rectifier | 1N4007, or a fast-recovery UF4007 | 1,000 V rating; the UF type switches more cleanly |
| Voltage protection or a reference voltage | a zener of the voltage you need | breaks down at a set voltage |
Common Mistakes
- A diode in backwards. The band is the cathode. Match it to the bar on the schematic.
- An LED with no resistor. It works for a second.
- Too much heat on a germanium diode. The glass and the junction are fragile. Solder quickly, and clip a heat sink or pliers on the lead between the joint and the body.
- A 1N4001 in series on an 18 V pedal that needs all its headroom. Use a Schottky, or a parallel diode.
- Forgetting the flyback diode on a relay. The driving transistor dies the first time the relay switches off.
Try It
In Build a Circuit, wire a battery, a resistor and an LED, then open Circuit Math: it works out the LED current and the resistor needed for 5, 10 or 20 mA. Put a second LED in series and see how the numbers change. Dial the Diode Sub Box through its positions to compare part numbers.
Level 3 covers the numbers: forward voltage curves, current and power ratings, zeners, rectifier ratings, and how to test, buy and substitute a diode.