Pages: 1 [2]   Go Down
Author Topic: Power for a few more seconds after disconnect  (Read 1885 times)
0 Members and 1 Guest are viewing this topic.
nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So what size cap is this?

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

2 x 2600 Farad caps in series.
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Bloody heck, why not just use a truck battery smiley
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17261
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just for interest, 5 hours after I started the sketch is still running. The power is down to 3.9V.

So as a proof of concept, it appears that a couple of ultracapacitors can keep your sketch running for 5 hours. This particular sketch spends all its time lighting up LEDs, which is probably a bit of a torture test, comparing to monitoring temperatures etc.

The two capacitors I used cost me $US 32 (for both).

Whilst they take a while to charge, I think this is acceptable. After all, you put charged batteries in as a battery backup don't you, not discharged ones. Either you could organize a more sophisticated charging circuit, or just pre-charge them.

Something like this could keep a security system running for hours, even during a power outage. And if you double the number of capacitors, you double the time they will keep running. Coupled with the suggested power board, with its DC to DC converter, you could probably squeeze something like 8 or more hours of performance out of them (or 16 if you use 4 capacitors).


The question I would have is how does this compare to a more traditional back-up using batteries as far as initial costs, volume (size) used, and recharge time, etc. Most batteries have a pretty flat voltage discharge curve while the super cap would need some kind of boost voltage regulator to match battery voltage Vs time performance, which might be critical to some applications such as using analog input values where a changing reference voltage would hurt calibration accuracy.

 So while super caps are interesting I haven't yet seem an application where a properly sized battery doesn't perform as well or better for less costs and space requirements. Super caps have been around for quite a while now, but I've seen few pratical applications for them, and I don't count the auto stereo installations where I think the visual appeal is more important then what they actual add to the systems performance. But then maybe I'm being too pessimistic? Show me the math.  smiley-wink

Lefty
« Last Edit: April 22, 2011, 09:10:31 am by retrolefty » Logged

Montreal
Online Online
Faraday Member
**
Karma: 27
Posts: 2566
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Capacitors are nice, I love them.
They have no substitute for supply a high current in short time-frame. 
It's like a taser gun, or inductive cannon they try to build in NAVY.
Laser cannon is also based on capacitors discharge.
Unfortunately all this stuff is military game oriented.

Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Bloody heck, why not just use a truck battery smiley

I don't want to use a battery because of the extra cost and complexity ...

Personally I have found that backup batteries (particularly big lead-acid ones) work fine the day you install them, but then three years later when they are needed their performance is sub-optimal. Also batteries have memory effects, suffer if over-discharged etc.

Now these capacitors might be bulky for the intended purpose, but I suppose it depends what that is. And as for the RC time constant, a way around the flattening off of the curve would be to have more capacity. Eg. have enough capacity to hold 10V but charge them up to 5V, which is on the fast part of the charge curve. This could bring the charge time in my example down to around a day, and you could halve that with a smaller resistor if the power supply could deliver 100 mA.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Not me, I got the idea from Afrotechmods.
Logged

Silly-con Valley, Ca, U.S.
Offline Offline
Sr. Member
****
Karma: 17
Posts: 420
Lernin' to tinker
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nick, you caught that he didn't want to use batteries, yes but you missed this part...

In the first version this will only take a second or two but later I might need up to a minute.

He doesn't need 7 hours of run time. A 2600F cap is way overkill.
Logged

10 PRINT CHR$(7)
20 GOTO 10

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Agreed, absolutely. But since I had them to hand I wanted to see how far I could push them.

BTW, I disconnected the Arduino before going to bed, and this morning reconnecting it, the sketch fired back into life. The caps are still at 3.6V, so the self-discharge rate must be pretty low.
Logged

Pages: 1 [2]   Go Up
Jump to: