Skip to content

DEC-12 Polarized capacitor with its negative terminal on the higher-potential net

Severity Status Implementation
error runs in better_erc easy, depends on NET-5

Data it needs: graph, part classes, rails, rail voltages.

Looks at. Capacitor polarity (pin names), net voltages.

What it catches. An electrolytic or tantalum capacitor whose + pin sits on the lower of its two nets: on ground with − on a positive rail, or on a negative rail with − on ground.

Why it matters. Under reverse voltage the oxide dielectric of a polarized capacitor is reduced; leakage rises, the part heats, and a tantalum capacitor can fail short and burn, an aluminium one vent. A reversed symbol or a negative rail (−12 V, where + belongs on ground) is enough to do it, and nothing in an ERC notices.

Example. A 47 µF tantalum on -5V drawn with its + pin on -5V "because it is the supply": reverse-biased by 5 V, it fails short at power-on.

How to check. Capacitors with polarized symbols (pins named +/− or ½ with a polarized library class); compare the net voltages from the power structure (NET-5): + must be the higher one.

Fix. Flip the capacitor; on negative rails the + goes to ground.

References. Wikipedia, Tantalum capacitor "Reverse voltage"; Wikipedia, Electrolytic capacitor.

Test schematics

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

dec-12_reversed_polarized

The test schematic dec-12_reversed_polarized The test schematic dec-12_reversed_polarized

  error      DEC-12 #an5    C3 is reversed: + on GND (0 V), - on +12V (12 V), 12 V of reverse voltage
                            net +12V, net GND, part C3
                            + side = 0 V (derived a ground is 0 V)
                            - side = 12 V (derived voltage from the net name)
                            fix: flip the capacitor; on a negative rail the + goes to ground
  error      DEC-12 #1gs    C2 is reversed: + on -5V (-5 V), - on GND (0 V), 5 V of reverse voltage
                            net -5V, net GND, part C2
                            + side = -5 V (derived voltage from the net name)
                            - side = 0 V (derived a ground is 0 V)
                            fix: flip the capacitor; on a negative rail the + goes to ground