Skip to content

BOM-17 One MPN with two different values (a copy-paste part)

Severity Status Implementation
error runs in better_erc easy, depends on netlist

Data it needs: graph, values.

Looks at. MPN and value fields.

What it catches. The same MPN on parts with different values: a 10 kΩ MPN on a part whose value says 4.7 kΩ.

Why it matters. A copied part keeps its MPN when only the value is edited. The BOM groups by MPN, so the 4.7 kΩ silently becomes 10 kΩ on the board, while the schematic still reads 4.7 kΩ. It is the cheapest form of BOM-12 to catch: no MPN decoding needed.

Example. A pull-up block copied from an I2C bus to a reset line, value changed from 4k7 to 100k, MPN RC0402FR-074K7L left as it was: the reset line gets 4.7 kΩ.

How to check. Group parts by MPN; more than one distinct value (after normalising notation, IMP-6) is a finding. better_erc (erc_checks/src/bom/bom_17.rs) groups the parts, DNP ones too (another variant may fit them), by every MPN field they carry, and compares the values read in their class's unit (4k7 and 4.7k are one value; a value that does not read compares as text).

Fix. Correct the MPN on the edited parts.

References. Yageo RC_L "Ordering information - global part number"; catalogue BOM-12.

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only BOM-17 reports on it.

bom-17_mpn_values

The test schematic bom-17_mpn_values The test schematic bom-17_mpn_values

  error      BOM-17 #rs6    MPN RC0402FR-074K7L carries 2 different values: 4k7 on R1, R2; 100k on R3
                            part R1, part R2, part R3
                            R1 Value = 4k7 (sch bom-17_mpn_values.kicad_sch)
                            R2 Value = 4.7k (sch bom-17_mpn_values.kicad_sch)
                            R3 Value = 100k (sch bom-17_mpn_values.kicad_sch)
                            fix: correct the MPN on the parts whose value was edited