I am learning electronics on my own and I have a feeling a capacitor can solve an issue I have.
The datasheet for a part, which is powered by three lines (+12V, 0V, -12V) says that it draws 40 mA continuusouly, but that it can also draw up to 250 mA temporarily, for 0.1 second.
Well, let's say I just cannot afford to put on my board a power supply capable of giving 250 mA (I can go up to 80 mA). Can I use a capacitor to help supply the temporary surge?
I have thought of :
Capacity required : 0.250 * 0.1 = 0.0250 A.s (Coulombs) Let's say I decide to connect the capacity to the +12V and -12V (is it ok ? Should I have two or three capacitors ?), then, with a 50 V capacity, that makes :
0.0250 / 50 = 0.0005 F
So I would need a 500 µF capacity to do the job. Is that correct ?
But then, when the part draws 250 mA for 0.1 s, the capacity get discharged, and it temporarily draws more current on the power source to recharge. I can solve this using a resistor, but where to put it, and how to choose it?
I have thought of that :
simulate this circuit – Schematic created using CircuitLab
OR
What do you think ? Is it even a good solution ?