BOM-11 Same value in two packages¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | runs in better_erc | easy, depends on netlist |
Data it needs: graph, part classes, values.
Looks at. Value and footprint.
What it catches. One value used in two case sizes: 100 nF in 0402 and in 0603, 10 kΩ in 0402 and 0805.
Why it matters. Two BOM lines and two reels for one value, and often unintended (a block copied from another board). Sometimes it is right: power rating, voltage rating, or DC-bias derating ask for the bigger case.
Example. A board with 23 × 100 nF 0402 and 2 × 100 nF 0603 (copied with a USB block from an older design).
How to check. Group by value and footprint; report values with more than one package, with designators. better_erc (erc_checks/src/bom/bom_11.rs) groups the fitted parts whose value reads in their class's unit (resistors, capacitors, inductors, ferrites, crystals, fuses) by class and value (100n and 100nF are one), and reports a value in more than one package: the case size, else the footprint name.
Fix. Move the minority to the majority package unless rating or derating needs the bigger one.
References. EPCI DC bias §2 (0805 vs 0603 capacitance loss with DC bias); catalogue BOM-2.
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only BOM-11 reports on it.
bom-11_packages¶
suggestion BOM-11 #tpx capacitor 100 nF in 2 packages: 3 × 0402 (C1, C2, C3), 1 × 0603 (C4)
part C1, part C2, part C3, part C4
fix: move the minority to 0402 unless a power, voltage or DC-bias rating needs the bigger case
BOM-11 also fires on the test schematics of other checks: bom-4_resistor_arrays, lib-6_package_vs_footprint, rate-1_capacitor_voltage, rate-2_resistor_power, rate-9_resistor_voltage.