Input Protection

4 min read Last updated Fri Jun 12 2026 01:59:21 GMT+0000 (Coordinated Universal Time)

MCU GPIO input pins have absolute maximum voltage ratings: typically VCC+0.3 VV_{CC} + 0.3\ \text{V} to VCC+0.5 VV_{CC} + 0.5\ \text{V} above supply and 0.3 V-0.3\ \text{V} to 0.5 V-0.5\ \text{V} below GND. Exceeding these limits permanently damages ESD protection structures or input transistors. Signals from external sources can carry voltages outside this safe window due to inductive spikes, ground offsets, or wiring errors.

Clamping

A clamp circuit limits the voltage reaching the pin to within the safe range.

Series Resistor

A resistor in series with the input pin limits current into the pin’s internal ESD diodes during overvoltage. Without it, unlimited current destroys the diodes even if they clamp the voltage.

Typical value: 1 kΩ1\ \text{k}\Omega10 kΩ10\ \text{k}\Omega. Higher values give more current limiting but slow the input edge due to RC with pin capacitance.

Diode Clamp to Supply Rails

2 diodes clamp the input to within 1 diode drop of each rail:

  • D1D_1 (signal anode, VCCV_{CC} cathode)
    Conducts when Vsignal>VCC+VfV_{signal} > V_{CC} + V_f, clamping toward VCCV_{CC}.
  • D2D_2 (GND anode, signal cathode)
    Conducts when Vsignal<VfV_{signal} < -V_f, clamping reverse-polarity signals.

Schottky diodes preferred: Vf0.3 VV_f \approx 0.3\ \text{V} vs 0.7 V0.7\ \text{V} for silicon. The clamped voltage stays closer to the rail; Schottky diodes also respond faster to transients.

The series resistor must be present. Without it, sustained overvoltage raises the VCCV_{CC} rail through D1D_1, potentially damaging other devices on the same supply.

Zener Diode Clamp

A zener (cathode at signal, anode at GND) clamps at its breakdown voltage VZV_Z.

Choose VZV_Z just below the pin’s absolute maximum. For a 3.3 V3.3\ \text{V} MCU, a 3.6 V3.6\ \text{V} zener clamps overvoltage while passing 3.3 V3.3\ \text{V} signals undisturbed.

Clamps overvoltage only. A second zener or standard diode to GND handles the negative direction.

TVS Diode

A Transient Voltage Suppressor is optimized for high-energy transients. Behaves like a fast zener with a higher peak power rating.

  • Unidirectional
    Clamps 1 polarity.
  • Bidirectional
    Clamps both overvoltage and reverse polarity in a single component.

Preferred when the signal line may carry ESD events or inductive spikes from motors, solenoids, or long cables. A series resistor is still required to limit sustained current.

Fuses

A sacrificial overcurrent protection device placed in series with a power supply line. When current exceeds the rated value, it opens the circuit before sustained overcurrent can damage components.

Without a fuse, a short circuit drives unlimited current through PCB traces, MCU, and other components. Sufficient current generates heat that can delaminate the PCB, destroy the MCU, or start a fire.

Fuse Operation

A fuse contains a conductor sized to melt at its trip current. Energy deposited in the conductor: I2×R×tI^2 \times R \times t. When this exceeds the conductor’s thermal capacity, it opens.

Key ratings:

  • Current rating IFI_F
    Continuous current without tripping. Rated slightly above maximum normal operating current.
  • Voltage rating
    Maximum voltage the open fuse can safely block. Exceeding it may cause arcing across the gap.
  • Breaking capacity
    Maximum fault current the fuse can safely interrupt. At very high fault currents, the arc during opening may sustain conduction.

Fast-Blow vs Slow-Blow

  • Fast-blow (FF)
    Opens very quickly at rated current. Used for MCUs, logic ICs, and signal circuitry.
  • Slow-blow (T, time-delay)
    Tolerates brief inrush above rated value before tripping. Used for motors, transformers, and capacitive loads.

A fast-blow fuse on a motor input causes nuisance tripping on every startup. A slow-blow fuse on an MCU power rail allows sustained overcurrent to damage the MCU before the fuse opens.

One-Time vs Resettable Fuses

  • One-time
    Conductor melts permanently. Must be physically replaced after a fault.
  • Resettable (PTC, polyfuse)
    Polymer positive temperature coefficient device. Under overcurrent, resistance increases by orders of magnitude, reducing current to a safe trickle. Resets automatically when power is removed and the device cools.

Resettable fuse properties:

  • No replacement needed after a trip.
  • Trip current is less precise than a one-time fuse.
  • Residual resistance 0.1 Ω0.1\ \Omega1 Ω1\ \Omega in normal operation.
  • Common in USB ports, battery packs, and IoT development boards.
Was this helpful?