I have a small radio circuit that sends a message every 4 seconds, then sleeps.
The circuit draws 30mA for ~10ms, then 0.004mA for 4000ms.
I'd like to power it from a coin cell such as a CR3032 (500mAh, 3V), but the coin cell datasheet recommends a constant discharge of 0.20mA, otherwise the capacity suffers considerably.
It most likely won't even do the 30mA I require, I hear that the maximum draw on these button cells is 15mA, and even that kills the cell much faster.
I'd like help designing and dimensioning a circuit where a capacitor would slowly charge (at 0.20mA or less) during those 4000ms of sleep, and then source those 30mA for 10ms in place of the coin cell.
I could be as simple as installing a series resistor from the battery to a 'super cap' wired to the other side of the resistor and ground, and powering the load from the positive side of the cap. Not sure if the best method to proceed is with a rigorous mathematical analysis or just guess at some component values and test.
No need for anything fancy, lets start with the fundamental equation for a capacitor: C dV = I dt. (This is just another way to say capacitance is charge divided by voltage-change)
Lets say the 30mA current is needed for 20ms (conservative assumption) and the voltage on the capacitor should only fall 0.3V during this discharge period. We'll assume the cell can provide negligable current compared to 30mA. Thus C times 0.3 equals 0.03 times 0.02 : this gives 2mF (but noone says milli-farads so we'll call it 2000uF - the next standard value 2200uF)
So a 2200uF electrolytic is fine. However we must check the leakage current rating of the capacitor is good enough for our desired battery life - go to the datasheet for this. Leakage at 3.6V is likely to be less if the capacitor has a higher rated voltage (such as 10V or 16V rather than 6V3).
Also note that when the cell is first connected it will take some time to charge up the capacitor. If the cell can provide about 5mA, say, then it will take about 1.5 seconds to charge up to 3.6V (this might be too slow to ensure a clean power-on reset, but otherwise isn't problematic)
Why are the 750k and the 250 ohm resistors in parallel? That will just waste your energy.
You should use the calculated load of the circuit when on instead of the "250 ohm" resistor.
You should use the top resistor to limit current draw while charging.
The 750k resistor seems totally useless -- current will be drawn by the capacitor when charging, not by anything else.
jwatte:
Why are the 750k and the 250 ohm resistors in parallel? That will just waste your energy.
You should use the calculated load of the circuit when on instead of the "250 ohm" resistor.
You should use the top resistor to limit current draw while charging.
The 750k resistor seems totally useless -- current will be drawn by the capacitor when charging, not by anything else.
The 750kohm and 250ohm are just emulating my real circuit parts, specifically an ATmega328P in power-down mode (4uA with watchdog enabled) and a radio module that's doing 12mA in TX mode.
Sorry for the confusion. I couldn't draw them in the simulator, so I just drew their equivalents (so-so).