DEC-1 No decoupling capacitors on power nets¶
| Severity | Status | Implementation |
|---|---|---|
| warning | runs in better_erc | easy, depends on NET-5 |
Data it needs: graph, part classes, rails.
Looks at. Power rails, capacitors to ground.
What it catches. A power rail that feeds IC power pins and has no capacitor from it to a ground anywhere on the board.
Why it matters. A digital IC draws its current in spikes at every clock edge; the trace and plane inductance between it and the regulator cannot deliver them, so the local supply dips and rings. Without a capacitor at the pins the part sees that noise as logic errors, PLL jitter, ADC noise or brown-out resets, and the rail radiates. A rail with no capacitor at all is nearly always an omission: a sheet copied without its passives, or caps placed on the wrong net name.
Example. A sub-sheet with an SN74LVC595 shift register on +3V3_IO, its 100 nF drawn on +3V3 from the copy source: the net +3V3_IO (fed by a 0 Ω from +3V3) has four power pins and no capacitor.
How to check. For each rail of the power structure (NET-5) with at least one power-input pin, look for a capacitor whose two pins sit on that rail and on a ground. Rails behind a 0 Ω or ferrite count separately (DEC-8).
Fix. At least one 100 nF ceramic per IC power pin close to the pin, plus bulk on the rail (DEC-6).
References. MT-101 "What is proper decoupling and why is it necessary?", "Localized high frequency decoupling recommendations"; AN4488 §8.3; Wikipedia, Decoupling capacitor.
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only DEC-1 reports on it.
dec-1_no_decoupling¶
warning DEC-1 #8s5 +3V3_IO feeds 1 power pin of U1 and has no capacitor to a ground
net +3V3_IO
fix: a 100 nF ceramic from the rail to ground at each power pin, plus bulk on the rail
DEC-1 also fires on the test schematics of other checks: ana-10_opamp_feedback, 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-4_resistor_arrays, bom-8_led_polarity, clk-14_push_pull_reset, 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-2_gpio_protection, dbg-11_uart_spi_resistors, dbg-14_uart_console, dbg-16_heartbeat_led, dbg-17_swd_without_reset, dbg-18_bus_access, dbg-1_swd_not_connected, dbg-2_swd_series_resistors, dbg-4_power_leds, dbg-7_enable_pulls, dbg-8_open_drain_pull_ups, dec-8_source_side_caps, drv-12_base_resistor, drv-14_inductive_loads, drv-17_led_resistor, drv-6_back_to_back, drv-9_relay_flyback, gnd-3_split_ground_joints, hs-4_pair_asymmetry, i2c-10_non_equal_pull_ups, i2c-18_discrete_translator, i2c-18_isolated_segment, 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_pull_up_and_down, io-16_sense_divider, io-1_drive_sources, io-6_touch_inputs, io-7_button_pulls, io-8_fet_switched_pull, io-8_internal_pulls, io-8_series_pull, io-8_switched_pull, leak-1_rail_dividers, lib-14_unplaced_units, lib-15_no_power_pins, lib-19_hidden_pins, lib-31_mount_attribute, logic-3_fan_out, logic-7_mcu_open_drain_receiver, logic-7_mcu_switched_resistor, logic-7_open_drain, logic-8_polarity, lvl-4_translator_pull_ups, lvl-7_several_rails, lvl-9_gate_reference, mux-1_swapped_signals, name-11_negative_rail_names, pin-4_unfused_inputs, pin-6_unfiltered_inputs, rail-18_parallel_regulators, rail-19_unfiltered_analog_supply, rail-1_unpowered_pins, rail-5_unsourced_rail, 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, test-4_rail_test_points, test-5_bring_up_test_points, usb-10_plug_rd, usb-11_one_orientation, usb-16_vbus_gnd_pins, usb-1_no_rd, usb-4_shield, usb-9_cc_tied, wire-11_unnamed_nets, wire-13_output_to_nowhere, wire-14_ground_pin_not_ground, wire-1_single_pin_nets.