RATE-2 Resistor power rating¶
| Severity | Status | Implementation |
|---|---|---|
| warning | runs in better_erc | mid, depends on NET-5, CFG-2, CFG-9 |
Data it needs: graph, part classes, parts snapshot.
Looks at. Voltage across or current through the resistor, its power rating (package or MPN).
What it catches. A resistor whose dissipation, V²/R or I²R in the worst case, exceeds its rated power (with derating for the board temperature).
Why it matters. An overloaded resistor drifts, discolours the board, desolders itself or opens. Chip resistor ratings are small (a 0402 is typically 1/16 W) and quoted at 70 °C ambient, derating linearly to zero at the maximum temperature; on a warm board a resistor at its nominal rating is already over it. Bleeder resistors, LED series resistors on high rails and pull-downs on high-voltage nets are the usual cases.
Example. A 1 kΩ 0402 bleeder across a 12 V rail dissipates 144 mW, more than twice a 63 mW rating; an 0805 at 125 mW is still too small, a 1206 (250 mW) has some margin.
How to check. For resistors whose both ends are on known rails (or a rail and ground), the voltage across is known from the netlist and rail voltages; for others the project must give a current. Compare with the rating from the MPN, or from the package when there is no MPN, derated per the datasheet's curve for the board temperature.
better_erc (erc_checks/src/rate/rate_2.rs) asks each MPN's rated power to be at least derating.resistor_p (2.0) times the dissipation: the part's Pworking field, else V²/R from the working voltage and the value. A part's Preq_min field states the minimum rated power this board asks for, and replaces k times the dissipation: every MPN's rated power at least Preq_min. Each rating must still exceed the dissipation itself, and a Preq_min below the dissipation is a finding of its own. The working voltage is the part's Vworking field when it has one (switch nodes, transients, a part across two rails), else the larger difference between its two nets: a rail's range when the project states one ([nets] in the project file), its voltage otherwise, 0 V for a ground. Each MPN field (Mpn1, Mpn2, ...) of a fitted part is judged on its own against the facts of the parts snapshot (parts.lock.toml). A miss is one finding per part and MPN field (item C4 Mpn2) naming the margin, with the hash of the inputs it rests on (the working value and how it is known, the MPN's rating, the derating factor) for a waiver. A rating the snapshot lacks is never a pass: the part gets one info finding naming each MPN and fact not checked. A part whose stress is not known is not judged.
Fix. A larger package, a higher value where the function allows, or several resistors in series or parallel to share the power.
References. Vishay, MCS 0402, MCT 0603, MCU 0805, MCA 1206 Professional Thin Film Chip Resistors datasheet (rated dissipation P70 per size, derating) (vishay.com/docs/28705); AoE3 chapter 1 (resistor power ratings).
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only RATE-2 reports on it.
rate-2_resistor_power¶
warning RATE-2 #cpr R1 Mpn1 RC0603FR-07100RL: 100 mW rated, 250 mW dissipated (5 V² / 100 Ω across +5V (5 V) to GND (0 V)), 0.40× < 2×
part R1, item R1 Mpn1
dissipated W = 250 mW (5 V² / 100 Ω across +5V (5 V) to GND (0 V)) (derived V²/R from the working voltage and the value)
Mpn1.power = 0.1 (partdb parts.lock.toml RC0603FR-07100RL power (manual))
derating.resistor_p = 2 (derived default derating.resistor_p)
fix: a larger package, a higher value where the function allows, or resistors sharing the power
input in1:9c9234d45d88a468
warning RATE-2 #cjj R3 Mpn1 RL0805FR-070R1L: 125 mW rated, 100 mW dissipated (Pworking field), 1.25× < 2×
part R3, item R3 Mpn1
dissipated W = 100 mW (Pworking field) (sch rate-2_resistor_power.kicad_sch)
Mpn1.power = 0.125 (partdb parts.lock.toml RL0805FR-070R1L power (manual))
derating.resistor_p = 2 (derived default derating.resistor_p)
fix: a larger package, a higher value where the function allows, or resistors sharing the power
input in1:98f03442da963330
warning RATE-2 #02r R6 Mpn1 RC0402FR-0710KL: 63 mW rated, Preq_min asks 100 mW
part R6, item R6 Mpn1
R6.Preq_min = 100mW (sch rate-2_resistor_power.kicad_sch)
Mpn1.power = 0.063 (partdb parts.lock.toml RC0402FR-0710KL power (manual))
fix: a larger package, a higher value where the function allows, or resistors sharing the power
input in1:3e057191ea2205d2
warning RATE-2 #p4v R7 Mpn1 RC0603FR-07100RL: 100 mW rated, not above the dissipated 250 mW (5 V² / 100 Ω across +5V (5 V) to GND (0 V))
part R7, item R7 Mpn1
R7.Preq_min = 100mW (sch rate-2_resistor_power.kicad_sch)
Mpn1.power = 0.1 (partdb parts.lock.toml RC0603FR-07100RL power (manual))
fix: a larger package, a higher value where the function allows, or resistors sharing the power
input in1:997a7df08a3761f0
warning RATE-2 #0jk R7: Preq_min 100 mW is below the dissipated 250 mW (5 V² / 100 Ω across +5V (5 V) to GND (0 V))
part R7, item R7 Preq_min
Preq_min = 100mW (sch rate-2_resistor_power.kicad_sch)
dissipated = 250 mW (derived V²/R from the working voltage and the value)
fix: raise Preq_min to the rating this board needs, above the dissipated value
input in1:011888dbfb68e423