DRV-5 MOSFET inverter: gate resistor against Cgd coupling¶
| Severity | Status | Implementation |
|---|---|---|
| warning | runs in better_erc | easy, depends on netlist |
Data it needs: graph, part classes, rails.
Looks at. The FET inverter topology.
What it catches. A MOSFET used as a logic inverter (source to ground, drain pulled up by a resistor and feeding an input) whose gate is driven straight from a fast logic pin with no series resistor.
Why it matters. The gate-drain capacitance Cgd couples the gate edge into the drain node. While the FET is on the drain is held; once it turns off, the rest of the falling gate edge is coupled through Cgd into a drain node held only by the pull-up, and drives it below ground for a moment. The receiving input sees a negative spike (into its clamp diode) and a glitch at the edge, worse with large FETs and weak pull-ups.
Example. A BSS138 inverting an MCU reset output into an open-drain enable with a 100 kΩ pull-up: on the fast falling edge from the MCU the enable dips below ground and the downstream part sees an extra edge.
How to check. N-channel FETs with source on a ground, a resistor from drain to a rail, gate on a net driven by a logic output with no series resistor.
Fix. A gate series resistor (100 Ω to 1 kΩ) to slow the gate edge, a stronger pull-up, or a logic inverter.
References. SLUA618 §2.3 (Miller capacitance), §3.5 "dv/dt Protection"; Toshiba gate drive §4.4.3 "Gate malfunction prevention" (Figure 4.9, coupling through Cgd).
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DRV-5 reports on it.
drv-5_inverter_gate_resistor¶
warning DRV-5 #y3j Q1 inverts with a pull-up on /EN_OUT, and its gate /RST_MCU is driven straight by U1.3 (PA0): the gate edge couples through Cgd and drives the drain below ground
net /RST_MCU, part Q1
fix: a gate series resistor (100 Ω to 1 kΩ), a stronger pull-up, or a logic inverter
DRV-5 also fires on the test schematics of other checks: io-11_gate_pulls, io-11_pulled_off.