Clamp diodes and ESD protection
A chip that runs from 5 V needs the voltage on each of its input pins to stay between 0 and 5 V. But an input connected to the outside of a circuit can receive short voltage spikes. For example, a long cable can pick up spikes from a motor switching on and off nearby, and a person charged with static electricity can touch the pin. The spark from a charged finger is called ESD: thousands of volts, for a few nanoseconds.
Here the 1 MΩ resistor stands in for a chip's input (column 8). It is connected straight to a source of 20 V spikes. Press Run. CH2 shows the voltage on the input.
Protect it with clamp diodes: one from the input up to the + rail, one from the − rail up to the input, so the input can't go more than one diode drop (about 0.7 V) beyond either rail. And a series resistor in front of the input, to limit the current through the diodes.
- 1 kΩ from column 5 to the input, column 8;
- a 1N4148 from row E of 8 (anode) straight across the gap (stripe), and a wire from there to the + rail;
- a 1N4148 from the − rail (anode) straight into row A of 8 (stripe).
Press Run.
On a real bench the current a clamp diode sends into the + rail has to go somewhere. If the rest of the circuit draws less than that from the rail, the spike pushes the rail itself above 5 V. A Zener diode or a TVS diode across the rail stops that.
While clamping, about how much current does the upper diode carry? (The spike is 20 V, the input is held near 5.7 V, and the resistor is 1 kΩ.)
Answer in mA.
For the big surges at a connector (ESD, or a spike induced on a long line by lightning), boards add a TVS diode right at the connector, from the line to 0 V. It breaks down at a set voltage, like a Zener, and absorbs hundreds of watts for a moment. For this 5 V input, which would you fit?
- A P6KE6.8A: breaks down at 6.8 V
- A P6KE15A: breaks down at 15 V
- A 1N4148 to 0 V
- A P6KE6.8A from the line to the + rail
Protecting an input:
- clamp diodes from the input to each rail hold it within one diode drop of them;
- a series resistor limits the clamp current: a few milliamps at the worst input;
- a TVS at the connector absorbs big surges (ESD, induced spikes) that would overwhelm the clamps;
- the clamped current goes into the supply rail, which must be able to take it.