SHORT-4 Power to ground through low-value resistors¶
| Severity | Status | Implementation |
|---|---|---|
| error | runs in better_erc | easy, depends on NET-5, IMP-6 |
Data it needs: graph, part classes, values, rails.
Looks at. The power structure, resistor values.
What it catches. A resistor or a chain of resistors from a rail to a ground whose total resistance draws more current than a set limit or burns more than its rating.
Why it matters. A 0 Ω link from +3V3 to GND is a dead short; a 10 Ω "load" is 330 mA and 1 W in an 0603 rated for 0.1 W. Most come from a pull-down placed on the wrong side of a label, a value typo (10 instead of 10k), or a 0 Ω that tied a rail to ground in a variant.
Example. A divider for an ADC drawn as 100k / 10k, entered as 100k and 10 (the k lost): 33 mA through the lower resistor, still a working rail, and the ADC reads 0.
How to check. Sum the resistance along chains from each rail to each ground (NET-2, IMP-6); report currents above a project threshold and dissipation above the package's rating.
Fix. Correct the value or the wiring; if a real load is meant, size it.
References. Catalogue RATE-2 (resistor power rating); FEATURES IMP-6 (value parsing).
Settings¶
Set them in the project file under [checks."SHORT-4"], or for one run with --set SHORT-4.NAME=VALUE.
| Setting | Default | Meaning |
|---|---|---|
SHORT-4.max_current |
0.05 A | the current a resistor path from a rail to ground may draw |
SHORT-4.max_chain |
3 | the most resistors in series followed from a rail to a ground |
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only SHORT-4 reports on it.
short-4_low_resistance¶
error SHORT-4 #ns4 +3V3 to GND through R1 (0 Ω): a dead short
net +3V3, net GND, part R1
path resistance = 0 Ω (derived the Value fields along the path, in series)
rail voltage = 3.3 V (derived voltage from the net name)
max_current = 50 mA (derived SHORT-4 default)
fix: correct the value (10 for 10k?) or the wiring; size a real load for its current and power
error SHORT-4 #zhj +5V to GND through R3, R4 (20 Ω): 250 mA from 5 V
net +5V, net GND, part R3, part R4
path resistance = 20 Ω (derived the Value fields along the path, in series)
rail voltage = 5 V (derived voltage from the net name)
max_current = 50 mA (derived SHORT-4 default)
fix: correct the value (10 for 10k?) or the wiring; size a real load for its current and power