Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #406695 > unrolled thread

Supercapacitor backup ?

Started bymkr5000 <mikerbgr@gmail.com>
First post2016-04-09 08:34 -0700
Last post2016-04-11 13:47 +1000
Articles 13 — 8 participants

Back to article view | Back to sci.electronics.design


Contents

  Supercapacitor backup ? mkr5000 <mikerbgr@gmail.com> - 2016-04-09 08:34 -0700
    Re: Supercapacitor backup ? Joerg <news@analogconsultants.com> - 2016-04-09 08:39 -0700
      Re: Supercapacitor backup ? mkr5000 <mikerbgr@gmail.com> - 2016-04-09 08:58 -0700
        Re: Supercapacitor backup ? Rob <nomail@example.com> - 2016-04-09 16:03 +0000
          Re: Supercapacitor backup ? Joerg <news@analogconsultants.com> - 2016-04-09 09:12 -0700
            Re: Supercapacitor backup ? Rob <nomail@example.com> - 2016-04-09 16:22 +0000
            Re: Supercapacitor backup ? DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-09 12:27 -0400
              Re: Supercapacitor backup ? Joerg <news@analogconsultants.com> - 2016-04-09 10:21 -0700
    Re: Supercapacitor backup ? John Larkin <jjlarkin@highlandtechnology.com> - 2016-04-09 10:08 -0700
    Re: Supercapacitor backup ? mkr5000 <mikerbgr@gmail.com> - 2016-04-09 10:44 -0700
    Re: Supercapacitor backup ? upsidedown@downunder.com - 2016-04-09 23:36 +0300
    Re: Supercapacitor backup ? Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2016-04-09 22:37 -0700
    Re: Supercapacitor backup ? Chris Jones <lugnut808@spam.yahoo.com> - 2016-04-11 13:47 +1000

#406695 — Supercapacitor backup ?

Frommkr5000 <mikerbgr@gmail.com>
Date2016-04-09 08:34 -0700
SubjectSupercapacitor backup ?
Message-ID<fa560f2d-d50f-4280-9e9f-7170c39d8b9f@googlegroups.com>
Tell me why please using a capacitor like this (.047f) 5.5v is either perfectly fine or not a good idea on the output of a +5v power supply that powers a Raspberry PI ? The PI draws around 500ma and doesn't like power outages (just had a corrupted sd card because of one -- not fun).

In my mind, I see no problem and at least it would give me a few seconds of backup which may help.

But you guys are the design wizards -- not me. My supply is a standard switching supply common these days. I want to put the cap right on the output.

a cap like this --

http://www.ebay.com/itm/0-047F-5-5V-Supercap-Memory-Backup-Battery-Replacement-Super-Capacitor-USA-/150739576072?hash=item2318c76508:m:mLA0nuTFiOy_mHyDPEj1Wng

thank you.

[toc] | [next] | [standalone]


#406696

FromJoerg <news@analogconsultants.com>
Date2016-04-09 08:39 -0700
Message-ID<dmsm0nF552bU1@mid.individual.net>
In reply to#406695
On 2016-04-09 08:34, mkr5000 wrote:
> Tell me why please using a capacitor like this (.047f) 5.5v is either
> perfectly fine or not a good idea on the output of a +5v power supply
> that powers a Raspberry PI ? The PI draws around 500ma and doesn't
> like power outages (just had a corrupted sd card because of one --
> not fun).
>
> In my mind, I see no problem and at least it would give me a few
> seconds of backup which may help.
>
> But you guys are the design wizards -- not me. My supply is a
> standard switching supply common these days. I want to put the cap
> right on the output.
>
> a cap like this --
>
> http://www.ebay.com/itm/0-047F-5-5V-Supercap-Memory-Backup-Battery-Replacement-Super-Capacitor-USA-/150739576072?hash=item2318c76508:m:mLA0nuTFiOy_mHyDPEj1Wng
>
>  thank you.
>

Quote "Typical ESR ... 7-14 Ohm".

That isn't going to work. It won't likely live long and at 500mA the ESR 
alone would drop the whole 5V. You need a cap that has a very low ESR 
and is rated at 500mA or more. Check Digikey but those are going to be 
pricey.

-- 
Regards, Joerg

http://www.analogconsultants.com/

[toc] | [prev] | [next] | [standalone]


#406702

Frommkr5000 <mikerbgr@gmail.com>
Date2016-04-09 08:58 -0700
Message-ID<09e4e1ec-cdcf-40b7-b426-3f1506208895@googlegroups.com>
In reply to#406696
On Saturday, April 9, 2016 at 11:39:09 AM UTC-4, Joerg wrote:
> On 2016-04-09 08:34, mkr5000 wrote:
> > Tell me why please using a capacitor like this (.047f) 5.5v is either
> > perfectly fine or not a good idea on the output of a +5v power supply
> > that powers a Raspberry PI ? The PI draws around 500ma and doesn't
> > like power outages (just had a corrupted sd card because of one --
> > not fun).
> >
> > In my mind, I see no problem and at least it would give me a few
> > seconds of backup which may help.
> >
> > But you guys are the design wizards -- not me. My supply is a
> > standard switching supply common these days. I want to put the cap
> > right on the output.
> >
> > a cap like this --
> >
> > http://www.ebay.com/itm/0-047F-5-5V-Supercap-Memory-Backup-Battery-Replacement-Super-Capacitor-USA-/150739576072?hash=item2318c76508:m:mLA0nuTFiOy_mHyDPEj1Wng
> >
> >  thank you.
> >
> 
> Quote "Typical ESR ... 7-14 Ohm".
> 
> That isn't going to work. It won't likely live long and at 500mA the ESR 
> alone would drop the whole 5V. You need a cap that has a very low ESR 
> and is rated at 500mA or more. Check Digikey but those are going to be 
> pricey.
> 
> -- 
> Regards, Joerg
> 
> http://www.analogconsultants.com/

I've never understood ESR can't get my head around it. what figure of ESR should I look for ? And it's the ESR that plays into the current capability?

[toc] | [prev] | [next] | [standalone]


#406703

FromRob <nomail@example.com>
Date2016-04-09 16:03 +0000
Message-ID<slrnngi9tp.8og.nomail@xs9.xs4all.nl>
In reply to#406702
mkr5000 <mikerbgr@gmail.com> wrote:
> I've never understood ESR can't get my head around it. what figure of ESR should I look for ? And it's the ESR that plays into the current capability?

Think of it like this: your capacitor is in fact a capacitor with
a resistor in series, in one package.  Then you can calculate how
it affects the current capability.

But before you dig too far into this, it has already been discussed
on the Raspberry Pi group and this method is not going to work.

[toc] | [prev] | [next] | [standalone]


#406708

FromJoerg <news@analogconsultants.com>
Date2016-04-09 09:12 -0700
Message-ID<dmsnuqF5ka8U1@mid.individual.net>
In reply to#406703
On 2016-04-09 09:03, Rob wrote:
> mkr5000 <mikerbgr@gmail.com> wrote:
>> I've never understood ESR can't get my head around it. what figure of ESR should I look for ? And it's the ESR that plays into the current capability?
>
> Think of it like this: your capacitor is in fact a capacitor with
> a resistor in series, in one package.  Then you can calculate how
> it affects the current capability.
>

Exactamente. Also, a capacitor has a certain maximum current and the 
datasheet should be consulted.


> But before you dig too far into this, it has already been discussed
> on the Raspberry Pi group and this method is not going to work.
>

I don't know what was discussed there and I don't work with any Rasberry 
Pi. A supercap does work if designed in right. Two main jobs here:

1. The cap must be low ESR and rated for a large enough surge current.

2. The cap must either directly provide a rail where the voltage remains 
above the required minumum long enough or you have to hang a regulator 
inbetween.

#2 is a balancing act between size, cost and complexity. If using an 
inbetween switch-mode converter one can get away with lower capacitance 
and cap size for the job at hand.

-- 
Regards, Joerg

http://www.analogconsultants.com/

[toc] | [prev] | [next] | [standalone]


#406711

FromRob <nomail@example.com>
Date2016-04-09 16:22 +0000
Message-ID<slrnngib2q.8og.nomail@xs9.xs4all.nl>
In reply to#406708
Joerg <news@analogconsultants.com> wrote:
>> But before you dig too far into this, it has already been discussed
>> on the Raspberry Pi group and this method is not going to work.
>>
>
> I don't know what was discussed there and I don't work with any Rasberry 
> Pi. A supercap does work if designed in right. Two main jobs here:
>
> 1. The cap must be low ESR and rated for a large enough surge current.
>
> 2. The cap must either directly provide a rail where the voltage remains 
> above the required minumum long enough or you have to hang a regulator 
> inbetween.
>
> #2 is a balancing act between size, cost and complexity. If using an 
> inbetween switch-mode converter one can get away with lower capacitance 
> and cap size for the job at hand.

When you put the capacitor directly on the rail, it can provide only
very little energy because the voltage can only drop from the rated
supply voltage to the minimum supply voltage for the load.  And also
because the load voltage is so low.

Indeed as you say, it is much better to charge the capacitor to a much
higher voltage still within range for commonly available parts, e.g. 40V,
then connect it to the load via a switch-mode converter.  Maybe
another switch-mode converter is required to provide the charge voltage,
when the whole thing has to be powered from an existing supply.

It increases complexity but it decreases size and probably also cost.
(because energy in a capacitor increases with the square of the voltage)

[toc] | [prev] | [next] | [standalone]


#406712

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2016-04-09 12:27 -0400
Message-ID<auaigbpjnd3igtl91agk87u5uuo79pa5t9@4ax.com>
In reply to#406708
On Sat, 09 Apr 2016 09:12:25 -0700, Joerg <news@analogconsultants.com>
Gave us:

>On 2016-04-09 09:03, Rob wrote:
>> mkr5000 <mikerbgr@gmail.com> wrote:
>>> I've never understood ESR can't get my head around it. what figure of ESR
>>> should I look for ? And it's the ESR that plays into the current capability?
>>
>> Think of it like this: your capacitor is in fact a capacitor with
>> a resistor in series, in one package.  Then you can calculate how
>> it affects the current capability.
>>
>
>Exactamente. Also, a capacitor has a certain maximum current and the 
>datasheet should be consulted.
>
>
>> But before you dig too far into this, it has already been discussed
>> on the Raspberry Pi group and this method is not going to work.
>>
>
>I don't know what was discussed there and I don't work with any Rasberry 
>Pi. A supercap does work if designed in right. Two main jobs here:
>
>1. The cap must be low ESR and rated for a large enough surge current.
>
>2. The cap must either directly provide a rail where the voltage remains 
>above the required minumum long enough or you have to hang a regulator 
>inbetween.
>
>#2 is a balancing act between size, cost and complexity. If using an 
>inbetween switch-mode converter one can get away with lower capacitance 
>and cap size for the job at hand.

  Better to find a place on the rpi itself to incorporate such a
"battery", which is what this usage of the "supercap" is being used as.

  Fluke uses one to keep the date and time up on a meter that has dead
batteries or has the battery pack removed for a battery change out.

  So it could be used to keep some critical element of the rpi computer
up between a power supply "outage", but that would have to be addressed
fairly quickly and so the device would likely lose power anyway.

  Mil computers still incorporate a 5 volt standby supply rail and spec
that has to stay up long enough to allow for a core dump.  Some 150 ms.
And that is why there is a separate 5 volt rail in a COTS AT supply
spec.

  Laptops sense a low battery and the OS can be set to sleep mode the
thing before shutting down.  An Apple iPad shuts down (safely)at 5%
battery threshold no matter what.

[toc] | [prev] | [next] | [standalone]


#406728

FromJoerg <news@analogconsultants.com>
Date2016-04-09 10:21 -0700
Message-ID<dmsrvkF6l5gU1@mid.individual.net>
In reply to#406712
On 2016-04-09 09:27, DecadentLinuxUserNumeroUno wrote:
> On Sat, 09 Apr 2016 09:12:25 -0700, Joerg <news@analogconsultants.com>
> Gave us:
>
>> On 2016-04-09 09:03, Rob wrote:
>>> mkr5000 <mikerbgr@gmail.com> wrote:
>>>> I've never understood ESR can't get my head around it. what figure of ESR
>>>> should I look for ? And it's the ESR that plays into the current capability?
>>>
>>> Think of it like this: your capacitor is in fact a capacitor with
>>> a resistor in series, in one package.  Then you can calculate how
>>> it affects the current capability.
>>>
>>
>> Exactamente. Also, a capacitor has a certain maximum current and the
>> datasheet should be consulted.
>>
>>
>>> But before you dig too far into this, it has already been discussed
>>> on the Raspberry Pi group and this method is not going to work.
>>>
>>
>> I don't know what was discussed there and I don't work with any Rasberry
>> Pi. A supercap does work if designed in right. Two main jobs here:
>>
>> 1. The cap must be low ESR and rated for a large enough surge current.
>>
>> 2. The cap must either directly provide a rail where the voltage remains
>> above the required minumum long enough or you have to hang a regulator
>> inbetween.
>>
>> #2 is a balancing act between size, cost and complexity. If using an
>> inbetween switch-mode converter one can get away with lower capacitance
>> and cap size for the job at hand.
>
>    Better to find a place on the rpi itself to incorporate such a
> "battery", which is what this usage of the "supercap" is being used as.
>

I'd be very surprised if there was any such terminal. The OP mentioned 
an SD card write crash. Preventing that requires a bit more energy than 
a few microamps for an RTC. Essentially you have to keep supplying the 
whole engine until a write precedure can be safely terminated.


>    Fluke uses one to keep the date and time up on a meter that has dead
> batteries or has the battery pack removed for a battery change out.
>
>    So it could be used to keep some critical element of the rpi computer
> up between a power supply "outage", but that would have to be addressed
> fairly quickly and so the device would likely lose power anyway.
>
>    Mil computers still incorporate a 5 volt standby supply rail and spec
> that has to stay up long enough to allow for a core dump.  Some 150 ms.
> And that is why there is a separate 5 volt rail in a COTS AT supply
> spec.
>

I've done that without separate rails.


>    Laptops sense a low battery and the OS can be set to sleep mode the
> thing before shutting down.  An Apple iPad shuts down (safely)at 5%
> battery threshold no matter what.
>

Yes, sensing is key. One method is to let the "replenisher switcher" 
operate at a slightly lower voltage but well within spec. The system 
then sees this drop and prepares for landing.

-- 
Regards, Joerg

http://www.analogconsultants.com/

[toc] | [prev] | [next] | [standalone]


#406725

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-04-09 10:08 -0700
Message-ID<6gdigb52n1qed05ifcf2q7fmlv1j2p83t3@4ax.com>
In reply to#406695
On Sat, 9 Apr 2016 08:34:43 -0700 (PDT), mkr5000 <mikerbgr@gmail.com>
wrote:

>Tell me why please using a capacitor like this (.047f) 5.5v is either perfectly fine or not a good idea on the output of a +5v power supply that powers a Raspberry PI ? The PI draws around 500ma and doesn't like power outages (just had a corrupted sd card because of one -- not fun).
>
>In my mind, I see no problem and at least it would give me a few seconds of backup which may help.
>
>But you guys are the design wizards -- not me. My supply is a standard switching supply common these days. I want to put the cap right on the output.
>
>a cap like this --
>
>http://www.ebay.com/itm/0-047F-5-5V-Supercap-Memory-Backup-Battery-Replacement-Super-Capacitor-USA-/150739576072?hash=item2318c76508:m:mLA0nuTFiOy_mHyDPEj1Wng
>
>thank you.


CV = IT  is the linear approximation. 

So  V = I*T/C. Plug in 47mF and 500 mA and you get a droop of 10 volts
per second.

Plus the ESR issue that Joerg mentions.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#406737

Frommkr5000 <mikerbgr@gmail.com>
Date2016-04-09 10:44 -0700
Message-ID<d6aa69dc-bd29-46aa-8ac6-10282038462a@googlegroups.com>
In reply to#406695
On Saturday, April 9, 2016 at 11:34:48 AM UTC-4, mkr5000 wrote:
> Tell me why please using a capacitor like this (.047f) 5.5v is either perfectly fine or not a good idea on the output of a +5v power supply that powers a Raspberry PI ? The PI draws around 500ma and doesn't like power outages (just had a corrupted sd card because of one -- not fun).
> 
> In my mind, I see no problem and at least it would give me a few seconds of backup which may help.
> 
> But you guys are the design wizards -- not me. My supply is a standard switching supply common these days. I want to put the cap right on the output.
> 
> a cap like this --
> 
> http://www.ebay.com/itm/0-047F-5-5V-Supercap-Memory-Backup-Battery-Replacement-Super-Capacitor-USA-/150739576072?hash=item2318c76508:m:mLA0nuTFiOy_mHyDPEj1Wng
> 
> thank you.

this group is so great -- one of the few that endure since the days of deja news and beyond. you guys are my go to. learn more here than hours of google chaos.

thanks.

[toc] | [prev] | [next] | [standalone]


#406770

Fromupsidedown@downunder.com
Date2016-04-09 23:36 +0300
Message-ID<uioigbdpej3n26kivt0c3of2u537vad2v3@4ax.com>
In reply to#406695
On Sat, 9 Apr 2016 08:34:43 -0700 (PDT), mkr5000 <mikerbgr@gmail.com>
wrote:

>Tell me why please using a capacitor like this (.047f) 5.5v is either perfectly fine or not a 
>good idea on the output of a +5v power supply that powers a Raspberry PI ? 
>The PI draws around 500ma and doesn't like power outages 
>(just had a corrupted sd card because of one -- not fun).

The energy stored in a capacitor is proportional to the square of the
voltage. 

With 0.47 F across the +5 V line, the energy stored is 0.59 J.

Assuming your board will work down to +4 V, the capacitor stored
energy is 0.38 J Assuming lossless capacitor, the energy used when
going from 5 to 4 V is 0.59-0.38=0.21 J. Your power consumption is 2.5
W so the capacitor will help for 85 ms or 4-5 mains cycles in a
lossless case.

If you intend to use a capacitor as a backup store the load must
tolerate a large voltage swing (such a small switcher), such as 2:1.
The energy stored at 1/2 initial voltage is 1/4, so the maximum energy
that can be extracted is 3/4 of initial energy. 

Thus with +16 V nominal voltage across the capacitor and the second
switcher letting the voltage drop to +8 V would be fine. Extending the
low limit voltage further down is not productive, since the energy
below 8 V drops very rapidly. 

The practical situation would be even worse, since the second switcher
would consume even more current at low voltages in order to deliver
the same power to the final load.

 

[toc] | [prev] | [next] | [standalone]


#406808

FromKevin McMurtrie <mcmurtrie@pixelmemory.us>
Date2016-04-09 22:37 -0700
Message-ID<mcmurtrie-59356E.22371409042016@news.sonic.net>
In reply to#406695
In article <fa560f2d-d50f-4280-9e9f-7170c39d8b9f@googlegroups.com>,
 mkr5000 <mikerbgr@gmail.com> wrote:

> Tell me why please using a capacitor like this (.047f) 5.5v is either 
> perfectly fine or not a good idea on the output of a +5v power supply that 
> powers a Raspberry PI ? The PI draws around 500ma and doesn't like power 
> outages (just had a corrupted sd card because of one -- not fun).
> 
> In my mind, I see no problem and at least it would give me a few seconds of 
> backup which may help.
> 
> But you guys are the design wizards -- not me. My supply is a standard 
> switching supply common these days. I want to put the cap right on the 
> output.
> 
> a cap like this --
> 
> http://www.ebay.com/itm/0-047F-5-5V-Supercap-Memory-Backup-Battery-Replacement
> -Super-Capacitor-USA-/150739576072?hash=item2318c76508:m:mLA0nuTFiOy_mHyDPEj1W
> ng
> 
> thank you.

Not a good idea.  Those old capacitors have an impedance at least 10 
Ohms.  You need the expensive carbon aerogel caps.

Ultra Capacitors have very little power available to devices with a 
narrow operating voltage range.  When I've used them for solar devices, 
I have a them on the output of a synchronous buck inverter. For example, 
the inverter maps 4-6 volts of power rail to 0-5.2 volts in two 
ultracaps using a modified feedback circuit.  Being a synchronous 
inverter, it can move power in both directions with some current 
derating.  This mapping prevents power rail overloads and makes much 
better use of the capacitors.

-- 
I will not see posts from astraweb, theremailer, dizum, or google
because they host Usenet flooders.

[toc] | [prev] | [next] | [standalone]


#406952

FromChris Jones <lugnut808@spam.yahoo.com>
Date2016-04-11 13:47 +1000
Message-ID<17FOy.941124$bx.622889@fx35.am4>
In reply to#406695
On 10/04/2016 01:34, mkr5000 wrote:
> Tell me why please using a capacitor like this (.047f) 5.5v is either perfectly fine or not a good idea on the output of a +5v power supply that powers a Raspberry PI ? The PI draws around 500ma and doesn't like power outages (just had a corrupted sd card because of one -- not fun).
>
> In my mind, I see no problem and at least it would give me a few seconds of backup which may help.
>
> But you guys are the design wizards -- not me. My supply is a standard switching supply common these days. I want to put the cap right on the output.
>
> a cap like this --
>
> http://www.ebay.com/itm/0-047F-5-5V-Supercap-Memory-Backup-Battery-Replacement-Super-Capacitor-USA-/150739576072?hash=item2318c76508:m:mLA0nuTFiOy_mHyDPEj1Wng
>
> thank you.
>

Have a look at:
http://juice4halt.com/
I think this thing is what you want, though last time I checked:
(a) it wasn't really an open design - some parts were secret
(b) When I looked, there seemed to be no way to actually order one from 
him, which makes (a) a much more serious impediment. Maybe it is better 
now, but I'd probably wait for an open design (with software support) to 
emerge, or if I really needed one, do it myself.

You might find that this operating system distribution solves your 
problem without any UPS:
http://archive.nutcom.hu/ipe-r1/
There are some updated derivatives of this somewhere on the net also. (I 
have no idea whether it supports Rpi2 and Rpi3 or can be made to do so 
easily.) There is a command to make the filesystem writeable (e.g. to 
install stuff) and another to make it read-only after which you should 
be able to power-cycle it as much as you like with no ill effects. If 
you need to record data then you'd probably want to use a USB stick for 
that, which might still get corrupted, but at least it would still boot 
from the SD card afterwards. You could use a couple of USB sticks to 
hold two copies of your data, and have some script to make sure at least 
one of them is not being written (and has been sync'd) at any time.

Chris

[toc] | [prev] | [standalone]


Back to top | Article view | sci.electronics.design


csiph-web