RAIL-1 Power input pins of parts not powered¶
| Severity | Status | Implementation |
|---|---|---|
| error | runs in better_erc | easy, depends on NET-5 |
Data it needs: graph, part classes, rails.
Looks at. Pin types (power in), power structure.
What it catches. A pin typed power input (VDD, VCC, VIN, AVDD) on a net that is not a power rail: a net with only that pin, a signal net, or a net no power source reaches.
Why it matters. The part is dead, or half alive through its IO clamp diodes (the back-powering of BKF). Hidden power pins, a renamed rail label and a multi-unit symbol whose power unit was never placed are the usual ways it happens; the sheet looks complete.
Example. A quad op-amp drawn as four units A-D with the power pins in unit E, which nobody placed: V+ and V− exist only in the library, the netlist has them on auto-named single-pin nets.
How to check. For each power-input pin, its net must be a rail of the power structure (NET-5); report single-pin nets and nets without a source (RAIL-5) separately so the message says which.
Fix. Wire the pin to its rail; place the power unit; make hidden power pins visible in the library.
References. KiCad ERC "Power pins and power flags" (KiCad's own check, and why a PWR_FLAG silences it).
Settings¶
Set them in the project file under [checks."RAIL-1"], or for one run with --set RAIL-1.NAME=VALUE.
| Setting | Default | Meaning |
|---|---|---|
RAIL-1.max_feed |
100 Ω | the largest series resistor that still feeds a rail (an RC filter, a shunt) |
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only RAIL-1 reports on it.
rail-1_unpowered_pins¶
error RAIL-1 #t6n power pin U4.1 (V+) on +3V3_OPA, which joins nothing else: the part is not powered
net +3V3_OPA, part U4
fix: wire the pin to its rail; place the power unit of a multi-unit symbol; make hidden power pins visible in the library
error RAIL-1 #7ye power pins U3.1 (VCC) are on /VDD_EN, which is a signal, not a rail
net /VDD_EN, part U3
fix: wire the pins to their rail, or rename the net if it is one
error RAIL-1 #c07 power pin U2.1 (VCC) connected to nothing: the part is not powered
net unconnected-(U2-VCC-Pad1), part U2
fix: wire the pin to its rail; place the power unit of a multi-unit symbol; make hidden power pins visible in the library
RAIL-1 also fires on the test schematics of other checks: io-11_gate_pulls, io-16_pull_up_and_down, io-6_touch_inputs, lib-14_unplaced_units, lib-15_no_power_pins, lib-19_hidden_pins, lib-31_mount_attribute, name-11_negative_rail_names, short-6_sense_nets, usb-10_plug_rd, usb-16_vbus_gnd_pins, usb-4_shield, usb-9_cc_tied, wire-11_unnamed_nets, wire-1_single_pin_nets.