Author Topic: Raspberry Pi server with diy UPS  (Read 43828 times)

0 Members and 1 Guest are viewing this topic.

Offline daywalkerdha

  • Contributor
  • Posts: 17
  • Country: de
Raspberry Pi server with diy UPS
« on: October 19, 2012, 07:52:50 pm »
Hi everyone,

I bought a Raspberry Pi a while ago to build a server for backups(using Crashplan), network attached storage and a Git repository. After setting everything up and testing it for a few days it somehow lost power without properly shutting down and some data on the external hdd was corrupted. So I decided to build a small UPS for it to always give it enough time to shut down during a blackout. Since everything has been working perfectly for the last two months I wanted to share the design so that anybody can build one.

I know the design is far from perfect but hey, it works!
« Last Edit: May 23, 2021, 09:31:26 am by daywalkerdha »
 

Offline karlmag

  • Contributor
  • Posts: 33
  • Country: no
Re: Raspberry Pi server with diy UPS
« Reply #1 on: October 20, 2012, 10:03:57 am »
Hi,

That is a really nice project!

I would certainly want a PCB

Details in PM.

Thank you! :-)
--
Karl Magnus
 

Offline peter.mitchell

  • Super Contributor
  • ***
  • Posts: 1568
  • Country: au
Re: Raspberry Pi server with diy UPS
« Reply #2 on: October 20, 2012, 06:11:12 pm »
I thought i'd link this: http://www.tracopower.com/products/tsr1.pdf

I was wondering if linear or smps so I had a quick look, nice product!
 

Offline peter.mitchell

  • Super Contributor
  • ***
  • Posts: 1568
  • Country: au
Re: Raspberry Pi server with diy UPS
« Reply #3 on: October 21, 2012, 05:18:32 am »
With a larger power supply you could use a 7805, yes, but you'd need a heatsink and get less than half the battery life from the UPS!
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 8149
  • Country: nz
Re: Raspberry Pi server with diy UPS
« Reply #4 on: October 21, 2012, 09:31:58 am »
It occurred to me while reading this thread that two of those boost caps in series would work quite well for a raspberry pi ups battery.

Two in series would be 5.2V max and 1300Farrad
The pi draws around 300mA idle so  0.3A/1300F = 0.000230769V drop per second = 0.2V per 15min
So you'd get at least that out of it before the volts dropped a bit low.

If you included a boost converter down to say 2V it would last 5.2 - 2 = 3.2V/0.2V = 16 lots of 15min.
16*15min = 4 hours

4 hours is probably more than most people need, so you could use smaller boost caps to reduce the size of it.

And the best part is you'd never need to replace worn out SLA batteries. (i hate buying new ups bats every 2 years)

« Last Edit: October 21, 2012, 09:41:53 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 8149
  • Country: nz
Re: Raspberry Pi server with diy UPS
« Reply #5 on: October 21, 2012, 10:13:18 am »
There are many sizes but this is the one you see most often.
http://home.comcast.net/~hlandis0/photos/ucap2600f.pdf
You see them come up on electronic goldmine from time to time for ~$10-20 each
They a bit expensive new, so 2ndhand is how most hobby people get them.

I suspect they're used in massive banks of 1000 for high energy physics/research. Every so often they upgrade their cap bank to newer model boostcap. That's when you see lots of 2nd hand ones available.

Because their ESR is so low they will draw lots of current if it's available, so you'd need a charger that is current limited and also voltage limited to their rated volts
« Last Edit: October 21, 2012, 10:16:25 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline peter.mitchell

  • Super Contributor
  • ***
  • Posts: 1568
  • Country: au
Re: Raspberry Pi server with diy UPS
« Reply #6 on: October 21, 2012, 10:29:33 am »
I was going to mention the current draw thing and the price thing and the size thing.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 15615
  • Country: za
Re: Raspberry Pi server with diy UPS
« Reply #7 on: October 21, 2012, 10:40:29 am »
I want some of those caps...........

Like the UPS you put together.
 

Offline peter.mitchell

  • Super Contributor
  • ***
  • Posts: 1568
  • Country: au
Re: Raspberry Pi server with diy UPS
« Reply #8 on: October 21, 2012, 12:54:10 pm »
There was a point in time where I worked for a company who installed security systems, even the cheapest, nastiest batteries would last 2 years with a full cycle every 3-6 months and a float charge. Powersonic was the cheapest brand we had used without troubles. 12v 7aH Were about $15 a pop in quantity, $20 single.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 15615
  • Country: za
Re: Raspberry Pi server with diy UPS
« Reply #9 on: October 21, 2012, 01:02:47 pm »
Security system manufacturers normally design in a proper power supply, not just a hope it works till warranty is over one. The battery can last over 5 years on one like that, as it is kept at float voltage which means it is always at 95% of capacity, so it does not generate much gas until the one cell decides to go short or open circuit from contaminants in the lead.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 15615
  • Country: za
Re: Raspberry Pi server with diy UPS
« Reply #10 on: October 21, 2012, 01:06:53 pm »
If you want to learn a lot more about battery system design, maintenance and operation you will find a lot of very good papers at www.battcon.com where they have all the archived papers freely available for download. I learned a lot from browsing there, and have found it good to know how cells age, why they have the designs they do and how to use them properly.
 

Offline ptricks

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: us
Re: Raspberry Pi server with diy UPS
« Reply #11 on: October 21, 2012, 03:37:32 pm »
/url]
You see them come up on electronic goldmine from time to time for ~$10-20 each


They had a large amount of them about 2 months ago and someone made a large order and got nearly all of them, wonder what they built .
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 8149
  • Country: nz
Re: Raspberry Pi server with diy UPS
« Reply #12 on: October 25, 2012, 12:10:20 am »
/url]
You see them come up on electronic goldmine from time to time for ~$10-20 each


They had a large amount of them about 2 months ago and someone made a large order and got nearly all of them, wonder what they built .

It wouldn't surprise me if the geekgroup bought them.
Greek letter 'Psi' (not Pounds per Square Inch)
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 7237
  • Country: gb
Re: Raspberry Pi server with diy UPS
« Reply #13 on: October 25, 2012, 12:13:42 am »
/url]
You see them come up on electronic goldmine from time to time for ~$10-20 each


They had a large amount of them about 2 months ago and someone made a large order and got nearly all of them, wonder what they built .

It wouldn't surprise me if the geekgroup bought them.

Don't think so. I imagine I'd have heard of it by now.
 

Offline adampielok

  • Newbie
  • Posts: 1
Re: Raspberry Pi server with diy UPS
« Reply #14 on: June 03, 2013, 07:13:26 am »
Is it possible to order some PCB's ?
 

Offline manu

  • Regular Contributor
  • *
  • Posts: 77
  • Country: fr
Re: Raspberry Pi server with diy UPS
« Reply #15 on: March 31, 2014, 09:06:03 am »
Nice project!
 

Offline Antoine.

  • Newbie
  • Posts: 2
  • Country: fr
Re: Raspberry Pi server with diy UPS
« Reply #16 on: October 29, 2014, 06:01:23 pm »
Hello,
I drew the schematic with KiCad, but I have difficulty with the PCB.
Can you give the PCB, or a more detailed picture of the card.
Thank you.
 

Offline magetoo

  • Frequent Contributor
  • **
  • Posts: 284
  • Country: se
Re: Raspberry Pi server with diy UPS
« Reply #17 on: October 30, 2014, 03:12:44 am »
Antoine, this project was posted two years ago and the OP hasn't been active in the forum for six months.  It seems unlikely you will get a response.

That said, if it turns out he (or anyone else) wants to pick this up again and make PCBs, I'd be interested.  I have a Pi that I've been meaning to do something with and I really like this idea.
« Last Edit: October 30, 2014, 04:27:31 am by magetoo »
 

Offline stryker

  • Regular Contributor
  • *
  • Posts: 89
  • Country: au
Re: Raspberry Pi server with diy UPS
« Reply #18 on: October 30, 2014, 04:57:42 am »
Hi guys

I did buy a couple of these boards for a project that I'll some day get back to.  Will see if I can dig them up this weekend and post a shot of both sides.

Cheers! Geoff
 

Offline stryker

  • Regular Contributor
  • *
  • Posts: 89
  • Country: au
Re: Raspberry Pi server with diy UPS
« Reply #19 on: November 12, 2014, 12:15:01 pm »
Hello,
Can you give the PCB, or a more detailed picture of the card.
Thank you.
Hi Antoine

I forgot this was a black PCB.  Here's a dropox link to a PDF.  I didn't scan the back since only the drills are on that side.  Aside from the schematics and other links in this thread, I also have this dropbox link to the BoM https://dl.dropbox.com/u/678261/PiSupply_BOM.html

I had asked for clarification on two points: In the BoM R18 is 15k but in the shopping cart it is a 5.1k; and in the BoM R15 is 130k, but in the shopping cart it's 120k.  Daniel's response was
Quote
R18 is 15k and R13/R15 are adjustable depending on the batteries (they set the shutdown/cutoff voltages, i used 120/110k)

Cheers! Geoff
 

Offline Antoine.

  • Newbie
  • Posts: 2
  • Country: fr
Re: Raspberry Pi server with diy UPS
« Reply #20 on: November 12, 2014, 08:39:44 pm »
Hi stryker,
thank you for all.

I will open a topic on my realization

Bye
 

Offline Chris Jones

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
Re: Raspberry Pi server with diy UPS
« Reply #21 on: November 28, 2014, 03:02:35 pm »
I guess you may have seen this RPi UPS already, if not it seems to be quite nicely designed:

http://juice4halt.com/?p=6
 

Offline GuitarZaan

  • Newbie
  • Posts: 1
Re: Raspberry Pi server with diy UPS
« Reply #22 on: March 04, 2015, 04:02:57 am »
Hi Daniel;

I see that this thread is a little dated but your circuit is very nice and I'm interested in a backup for my RPI Sprinkler Controller.
If you've made some boards I'd be interested in purchasing two from you. Any other information would be grand.

Thanks;
Wayne
 :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf