DRV-6 Q-Q chain not back to back¶
| Severity | Status | Implementation |
|---|---|---|
| error | runs in better_erc | easy, depends on netlist (FET pin names, channel type from the symbol |
Data it needs: graph, part classes, rails.
Looks at. FET orientation (source and drain), channel type.
What it catches. Two MOSFETs in series meant to block current in both directions (a bidirectional switch, pogo-pin or connector VBUS protection, a power selector) whose body diodes point the same way, so one direction is not blocked at all; the thresholds of both FETs are checked along with it.
Why it matters. A single MOSFET blocks only one direction; its body diode conducts in the other. Two in series block both only when they face each other (source to source, or drain to drain). Drawn in the same orientation the pair behaves like one FET: the "switch" leaks the full current through both body diodes in one direction.
Example. On B200A three back-to-back PMOS pairs (Q1701 + Q1709, Q1702 + Q1707, Q1703 + Q1708) select 5 V, 3.3 V or 1.8 V for +VREF, and with all three off a level fed on J103 pin 7 is blocked from all three rails. With one pair drawn in series instead of back to back, an external 5 V on pin 7 would flow straight into the 3.3 V rail.
How to check. Chains of two FETs between two nets with a shared middle node; the body diodes, from pin names and channel type, must point in opposite directions.
Fix. Turn one FET around so the sources (or drains) meet in the middle, and drive both gates together.
References. SLVAE57 §4 "Reverse Battery Protection using MOSFETs", §5 "Reverse Polarity Protection vs Reverse Current Blocking", §6.6.1 "Back-to-Back FET Driving Ideal Diode Controllers"; AN11158 §2.2 "Pinning information" (the body diode); B200A review notes §5 (VREF selector).
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DRV-6 reports on it.
drv-6_back_to_back¶
error DRV-6 #19p Q3 (source at /MID_B) and Q4 (drain at /MID_B) are in series between +3V3 and /VREF_OUT with their body diodes the same way: current from +3V3 flows through both diodes
net /MID_B, part Q3, part Q4
fix: turn one FET around so the sources (or drains) meet in the middle, and drive both gates together