RAIL-5 Power net with loads but no source¶
| Severity | Status | Implementation |
|---|---|---|
| error | runs in better_erc | easy, depends on NET-5 |
Data it needs: graph, part classes, values, rails. Folds in: RAIL-1.
Looks at. Power structure with sources (regulators, connectors, switches, ties).
What it catches. A rail with power-input pins and capacitors on it but no source: no regulator output, no connector power pin, no switch, ferrite or 0 Ω from a sourced net.
Why it matters. KiCad's ERC only knows pin types: one PWR_FLAG on the net, or a symbol pin typed power output, silences it. A ferrite or 0 Ω deleted while tidying the sheet leaves a named rail that looks fine and powers nothing; the parts on it then back-power through their IO pins.
Example. On B200A +5V0_FLT (V+ of the two TLV9004 op-amps U201/U202, C201, C202) has no source in the schematic and none on the PCB: the tracks join the four pads to each other only. All eight analog channels read garbage and the op-amp inputs are back-powered from the IO pins (rework 1: a ferrite from +5V0_USBIN).
How to check. Walk each rail back through two-pin series parts (ferrites, 0 Ω, fuses, switches) until a source is found (NET-5 needs sources and ties for this); a rail with loads and no source is the finding. A resistor above max_feed stops the walk, except into a rail a zener holds to ground: a series resistor with a zener shunt (+VAUX through 330 Ω, a 5.1 V zener on +V_OPA) is a shunt regulator, and the rail is sourced. A zener alone, with no resistor from a sourced rail, sources nothing. RAIL-1 reads sources the same way.
Fix. Add the missing link; put a test point on every rail so bring-up measures it first.
References. KiCad ERC "Power pins and power flags"; B200A review notes §0; B200 rev B change list.
Settings¶
Set them in the project file under [checks."RAIL-5"], or for one run with --set RAIL-5.NAME=VALUE.
| Setting | Default | Meaning |
|---|---|---|
RAIL-5.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-5 reports on it.
rail-5_unsourced_rail¶
error RAIL-5 #tz6 +3V3_WEAK has loads (U8 and U9) but no source: no regulator, connector, switch or series part brings power to it (also RAIL-1)
net +3V3_WEAK
fix: add the missing link (a ferrite or 0 Ω from the rail meant to feed it); put a test point on every rail
error RAIL-5 #mr2 +5V0_FLT has loads (U1 and U2 and C1 and C2) but no source: no regulator, connector, switch or series part brings power to it (also RAIL-1)
net +5V0_FLT
fix: add the missing link (a ferrite or 0 Ω from the rail meant to feed it); put a test point on every rail
rail-5_zener_shunt¶
error RAIL-5 #91r /+V_ISO has loads (U3 and C3) but no source: no regulator, connector, switch or series part brings power to it (also RAIL-1)
net /+V_ISO
fix: add the missing link (a ferrite or 0 Ω from the rail meant to feed it); put a test point on every rail
error RAIL-5 #gn5 /+V_NOZ has loads (U2 and C2) but no source: no regulator, connector, switch or series part brings power to it (also RAIL-1)
net /+V_NOZ
fix: add the missing link (a ferrite or 0 Ω from the rail meant to feed it); put a test point on every rail
RAIL-5 also fires on the test schematics of other checks: ana-11_unused_channels, ana-12_comparator_hysteresis, ana-16_gain_resistor_range, ana-21_dc_return, ana-22_bias_divider_caps, ana-3_shunt_filters, ana-4_shunt_kelvin, bom-4_placement, bom-8_led_polarity, clk-15_shared_reset, clk-18_clock_fan_out, clk-3_crystal_case_pads, clk-5_reset_pull_ups, clk-6_reset_buttons, clk-7_reset_capacitors, conn-10_few_grounds, conn-4_no_ground, conn-8_micro_hdmi_pinout, dec-10_unsourced_bypass, eth-3_mdio_pull_up, hs-15_mipi_lane_parts, hs-4_pair_asymmetry, hs-7_usb_dp_dm_swapped, hs-9_choke_on_lanes, i2c-10_non_equal_pull_ups, i2c-18_discrete_translator, i2c-1_no_pull_ups, i2c-2_multiple_pull_ups, i2c-4_gpio_pull_ups, i2c-4_strap_gated_bus, i2c-7_segments, i2c-9_non_standard_pull_ups, io-10_connector_inputs, io-11_gate_pulls, io-11_pulled_off, io-15_no_connect_flag, io-15_open_drain_flags, io-16_adc_alternate, io-16_sense_divider, io-1_drive_sources, io-7_button_pulls, io-8_fet_switched_pull, io-8_internal_pulls, io-8_series_pull, io-8_switched_pull, logic-3_fan_out, logic-7_mcu_open_drain_receiver, logic-7_mcu_switched_resistor, logic-7_open_drain, logic-8_polarity, mem-10_ddr_reset_cke, mem-1_sd_pull_ups, mem-8_ddr_zq, mux-1_swapped_signals, name-11_negative_rail_names, rail-1_unpowered_pins, ser-14_can_split_termination, short-11_output_conflict, short-12_pair_halves_tied, short-2_name_collision, short-5_supply_pins_swapped, short-6_io_tied_to_rail, short-6_sense_nets, short-7_shorted_ios, usb-11_one_orientation, usb-1_no_rd, wire-13_output_to_nowhere, wire-2_similar_names.