Quick question: Capacitor and a switch

Thread Starter

toughspeaker

Joined Jan 28, 2009
40
Hi guys, what is the exact reason why one puts a capacitor in connection with a switch when designing a circuit? Ive read somewhere that the capacitor will be reducing ripple when pushing the button? Is that correct? Or to smooth out the current?

 

t06afre

Joined May 11, 2009
5,934
In general a battery do not have any ripple. You will get ripple then you convert an AC voltage to a DC voltage. It could be number of reason why the capacitor is placed in the circuit diagram. It could be as you mention smoothing. But also filtering if the battery is connected to circuit by long wires. Also many voltage regulator circuits does require a capacitor on the input for stability. It would be helpful if you can provide some info about the capacitor size and the load.
 

russ_hensel

Joined Jan 11, 2009
825
In an ideal cap. switch, and battery there would be a brief infinite current. In a real case too large a battery and/or cap might fry the switch.
 

rspuzio

Joined Jan 19, 2009
77
Now, a follow up question: does anyone know how one goes about to dimension the capacitor in connection with the switch?
First, you need to take into account the resistance. Somewhere in the circuit,
there should be a resistance which limits the current which can flow into the
capacitor (this need not be an explicit resistor; it might, for instance, be
provided by the internal resistance of your battery). The time it takes for the
capacitor to fill up is given by RC; you want to arrange for this to be a few
milliseconds because the bounces of a switch happen within a time scale of
5 ms or thereabouts depending on your particular switch.
 
Top