How to keep circuit powered when battery disconnected for short time

battery-operatedcapacitorvoltage

In an assembly, I'm using spring loaded pins to connect a battery to a circuit board. It's possible from dropping the assembly that power may become disconnected for milliseconds at a time from the shock of dropping it. I have a capacitor bank that holds a charge for 30+ms when the positive node of the battery is disconnected. The problem is I don't think the capacitors will have any affect if the negative battery terminal is disconnected, or both at the same time because there will not be a complete circuit. Is my logic flawed? Is there a better way to do this than using a capacitor bank?

Best Answer

The battery and the capacitor should be connected in parallel. It is better to solder the capacitor to the main circuit board if possible. Considering the capacitor connection is always okay it will work just fine.

The beauty of parallel connection is that a damaged or disconnected or open branch does not affect other branches in parallel of the network.