Bitcoin Forum
April 24, 2024, 12:05:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Building a DIY UPS  (Read 8311 times)
PulsedMedia (OP)
Sr. Member
****
Offline Offline

Activity: 402
Merit: 250


View Profile WWW
March 12, 2012, 12:25:25 AM
 #1

The easy part is getting batteries stacked, wired, charged.
Still easy is to power up 12V devices from that: I was thinking a zener diode, regulator, capacitor between battery back and 12V DC sources, so trickle charges can continue normal operation like no load was attached while beyond the regulator etc. is a 12V PSU with 12V devices. and when network electricity goes the trickle charger, 12V PSUs shutdown and 12V devices get powered from the battery pack with regulator +capacitor "cleaned" source.
Some kind surge protector + fuses might be still good idea tho.

The problem arises on how to switch between inverters and network electricity on 230V equipment?
How to "join" together multiple cheap inverters for single source of 230V instead of calculating how much to put behind each single inverter?
I've heard of switches sold for this usage for rack mounting, but i simply cannot find those "STS switches" for sale. Or would SPDT relays switch fast enough when outage occurs? Doesn't that cause spikes, and need something to smooth out the transition?

One problem tho remains at this location is how to clean the network electricity, as it's a bit flaky there, short sub second outages are known to happen there during storms and fuses to blow with no apparent reason occasionally. Network -> converter -> battery back -> inverter -> miners is just not a feasible option due to losses.

http://PulsedMedia.com - Semidedicated rTorrent seedboxes
1713917133
Hero Member
*
Offline Offline

Posts: 1713917133

View Profile Personal Message (Offline)

Ignore
1713917133
Reply with quote  #2

1713917133
Report to moderator
1713917133
Hero Member
*
Offline Offline

Posts: 1713917133

View Profile Personal Message (Offline)

Ignore
1713917133
Reply with quote  #2

1713917133
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
allinvain
Legendary
*
Offline Offline

Activity: 3080
Merit: 1080



View Profile WWW
March 12, 2012, 02:23:53 AM
 #2

I'd like to see a UPS capable of sustaining a serious mining farm during a blackout. It would have like 50 car batteries lol :p. Imagine an electrical fire or some other mishap then! rofl

PulsedMedia (OP)
Sr. Member
****
Offline Offline

Activity: 402
Merit: 250


View Profile WWW
March 12, 2012, 02:33:39 AM
 #3

I'd like to see a UPS capable of sustaining a serious mining farm during a blackout. It would have like 50 car batteries lol :p. Imagine an electrical fire or some other mishap then! rofl

Single car battery is able to supply 720W for an hour, in theory. In practice more like 600W before voltage drops too low and due to the age of the battery.
5 for full 16A 230V circuit for an hour.

In other words, that single battery is sufficient for a single 4x7970 rig @ ~2Ghash... Or 1 hour for 10Ghash. Most power outages are solved within that time.

Plus the batteries are free Tongue



http://PulsedMedia.com - Semidedicated rTorrent seedboxes
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 12, 2012, 02:34:52 AM
 #4

Capacitor?  Big ones? Lots of them?

The bad news is one capable of providing the necessary current during the transition are likely very very expensive.

220V, 220uF $900+  Sad  More like $1 (I can't read).

http://search.digikey.com/us/en/products/SLP221M220A1P3/SLP221M220A1P3-ND/1882197
PulsedMedia (OP)
Sr. Member
****
Offline Offline

Activity: 402
Merit: 250


View Profile WWW
March 12, 2012, 02:37:47 AM
 #5

Capacitor?  Big ones? Lots of them?

The bad news is one capable of providing the necessary current during the transition are likely very very expensive.

220V, 220uF $900+  Sad

http://search.digikey.com/us/en/products/SLP221M220A1P3/SLP221M220A1P3-ND/1882197

That seems to be a lot of 1000 or more.
I was more thinking like couple of these lil' puppies: http://www.sonicelectronix.com/item_21166_Power-Acoustik-PC1.5F.html

WOW that is cheap, was more like expecting 100€ a piece, just result on google Tongue

http://PulsedMedia.com - Semidedicated rTorrent seedboxes
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 12, 2012, 02:39:23 AM
 #6

I'd like to see a UPS capable of sustaining a serious mining farm during a blackout.

Well they make UPS capable of sustaining entire datacenters during power outages.  If you got enough $$$ you can get just about anything.

http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=SYA16K16PXR&total_watts=10000
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 12, 2012, 02:45:18 AM
 #7

I was more thinking like couple of these lil' puppies: http://www.sonicelectronix.com/item_21166_Power-Acoustik-PC1.5F.html

Yeah that was my first thought from my younger years and car stereo (what a waste of money, lolz).  The issue is they are 24V DC.  Not sure how they would fit into your wiring. 

My thinking (and it may be wrong) is you need to do four things

a) buffer the 120V/240V feed from power grid <- cap goes here
b) detect input power drop and disconnect protected loads from mains to battery bank (cap in A will continue to power load until switch occurs)
c) have trickle charge system to have battery bank loaded at all times
d) have sufficient inverter capacity to convert DC to AC to power protected gear.

For part D I am thinking a small solar power inverter is likely ideal.  Right?  DC in -> 120V/240V AC out.  Can wire it right into a sub panel and connect it to a bank of protected circuits.
PulsedMedia (OP)
Sr. Member
****
Offline Offline

Activity: 402
Merit: 250


View Profile WWW
March 12, 2012, 02:54:40 AM
 #8

I was more thinking like couple of these lil' puppies: http://www.sonicelectronix.com/item_21166_Power-Acoustik-PC1.5F.html

Yeah that was my first thought from my younger years and car stereo (what a waste of money, lolz).  The issue is they are 24V DC.  Not sure how they would fit into your wiring. 

My thinking (and it may be wrong) is you need to do four things

a) buffer the 120V/240V feed from power grid <- cap goes here
b) detect input power drop and disconnect protected loads from mains to battery bank (cap in A will continue to power load until switch occurs)
c) have trickle charge system to have battery bank loaded at all times
d) have sufficient inverter capacity to convert DC to AC to power protected gear.

For part D I am thinking a small solar power inverter is likely ideal.  Right?  DC in -> 120V/240V AC out.  Can wire it right into a sub panel and connect it to a bank of protected circuits.

Oh yeah, the reason to add capacitors is just to smooth spikes out, batteries aren't exactly good at handling big current spikes.

The real question is how to handle transition from network power to inverters in case of power failure. That's the only thing i need to really solve still, rest is up for building and testing, see how well it works, or how poorly it works Smiley

for AC you can't exactly add capacitors so SPDT relays might not come into question...

And they are here 12V not 24V. Using capacitor for just 12V is not a problem at all btw.
You can always utilize one for lower voltage than it's rating is for, and it does not change the capacitance.


http://PulsedMedia.com - Semidedicated rTorrent seedboxes
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
March 12, 2012, 02:59:06 AM
 #9

You can put caps on AC, but it is much more difficult to properly implement without them blowing up and stuff. They would be there to provide a way of transitioning between inverters, or from AC to inverter without causing massive brownouts and spikes.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
PulsedMedia (OP)
Sr. Member
****
Offline Offline

Activity: 402
Merit: 250


View Profile WWW
March 12, 2012, 03:44:18 AM
 #10

You can put caps on AC, but it is much more difficult to properly implement without them blowing up and stuff. They would be there to provide a way of transitioning between inverters, or from AC to inverter without causing massive brownouts and spikes.

I've got no experience of caps on AC, and would assume usage of them is freakishly complicated, seeing AC is a sinewave and a capacitor is meant to smooth out voltage fluctuation ...

The question really is then -> how big are the caps on high quality seasonic (and derivative) PSUs ... Some server PSUs have so huge capacitors they can take 5+ seconds of power outage without the system crashing ... Tho last PSU like that i've had the pleasure to use was built for 386 era server ... (The case+PSU alone weighted over 30kg ...)
most likely not big enough to sustain that kind of loads for the period it takes SPDTs to change and inverters to "gear up" for the output.

http://PulsedMedia.com - Semidedicated rTorrent seedboxes
legolouman
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


Decent Programmer to boot!


View Profile
March 12, 2012, 03:53:55 AM
 #11

My understanding on capacitors is that disc types (solid state) work with AC

If you love me, you'd give me a Satoshi!
BTC - 1MSzGKh5znbrcEF2qTrtrWBm4ydH5eT49f
LTC - LYeJrmYQQvt6gRQxrDz66XTwtkdodx9udz
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
March 12, 2012, 04:04:12 AM
 #12

My understanding on capacitors is that disc types (solid state) work with AC
Electrolytic do as well, for instance think start/run caps on single-phase motors. In those applications, they are used to shift a single phase 90 degrees or so in order to start or run a motor.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
film2240
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


Freelance videographer


View Profile WWW
March 12, 2012, 11:17:56 AM
 #13

I'd like a guide on actually building a UPS so I can make plans that suit the needs of my computers (2 at the moment).
My PC is used as the main mining/gaming rig.My MBP is used as a complementary miner/main filmmaking rig. Since my PC draws around ~285W from the wall (with HD6950 heavily OC'd/unlocked shaders) (PC Idles around 85W when doing nothing).

MBP uses about 90W (cpu full load for film editing,GPU for mining BTC) under full load.
Outlets use 240V in UK (so will need a converter as Apple's car/airplane lead doesn't charge my MBP,just powers it and if the machine is using more than 75W which it does,then the battery drains as well as just being powered by the car/airplane lead.)

I wonder what setup I'd need to sustain say nearly 400W (typical) or 550W (peak from my 2 computers) for around 2 hours (as that seems to be when most utilities manage to get thing sup and running again,in UK this can take longer in some parts)

[This signature is available for rent.BTC/ETH/LTC or £50 equivalent a month]
[This signature is available for rent.BTC/ETH/LTC or £50 equivalent a month]
[This signature is available for rent.BTC/ETH/LTC or £50 equivalent a month]
PulsedMedia (OP)
Sr. Member
****
Offline Offline

Activity: 402
Merit: 250


View Profile WWW
March 12, 2012, 11:58:48 AM
 #14

I'd like a guide on actually building a UPS so I can make plans that suit the needs of my computers (2 at the moment).
My PC is used as the main mining/gaming rig.My MBP is used as a complementary miner/main filmmaking rig. Since my PC draws around ~285W from the wall (with HD6950 heavily OC'd/unlocked shaders) (PC Idles around 85W when doing nothing).

MBP uses about 90W (cpu full load for film editing,GPU for mining BTC) under full load.
Outlets use 240V in UK (so will need a converter as Apple's car/airplane lead doesn't charge my MBP,just powers it and if the machine is using more than 75W which it does,then the battery drains as well as just being powered by the car/airplane lead.)

I wonder what setup I'd need to sustain say nearly 400W (typical) or 550W (peak from my 2 computers) for around 2 hours (as that seems to be when most utilities manage to get thing sup and running again,in UK this can take longer in some parts)

take a traditional, used, otherwise functional but battery dead APC backups, replace the batteries with 2xcar batteries. Just make sure it's rated for atleast 700w load.
Easy for small load like that Smiley

http://PulsedMedia.com - Semidedicated rTorrent seedboxes
jamesg
VIP
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


AKA: gigavps


View Profile
March 12, 2012, 12:22:53 PM
 #15

FWIW, my electrician said he can get me a functioning (read used) 36Kw UPS for $4k. That would run my farm for at least a couple of hours before running out of juice.
malevolent
can into space
Legendary
*
Offline Offline

Activity: 3472
Merit: 1721



View Profile
March 12, 2012, 12:37:24 PM
 #16

FWIW, my electrician said he can get me a functioning (read used) 36Kw UPS for $4k. That would run my farm for at least a couple of hours before running out of juice.

Question is how often do you encounter power outages to make it worth buying this UPS. Also, how much would you make during those few hours.
Also, if you decide to buy it, make sure to check the state of the batteries.

Signature space available for rent.
jamesg
VIP
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


AKA: gigavps


View Profile
March 12, 2012, 12:43:46 PM
 #17

FWIW, my electrician said he can get me a functioning (read used) 36Kw UPS for $4k. That would run my farm for at least a couple of hours before running out of juice.

Question is how often do you encounter power outages to make it worth buying this UPS. Also, how much would you make during those few hours.
Also, if you decide to buy it, make sure to check the state of the batteries.

You have hit the nail on the head. My power has gone out once in the last six months and it was for less than one hour. You are also correct that the lead time to make my money back on something like this is going to be years, not months. I also don't know what kind of maintenance you need to perform on something like this to keep it stable and running.

It is definitely more important that I have switched PDUs (* looks over at D&T) to keep rigs up than it is to keep them on when the lights go out.

I guess my main point is that your local electrician is always getting into stuff like this and will usually know of used data center equipment that is in good working condition so there is really no reason to build something like this yourself.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 12, 2012, 12:50:33 PM
 #18

It is definitely more important that I have switched PDUs (* looks over at D&T) to keep rigs up than it is to keep them on when the lights go out.

Should have a good update for you this evening.  The teaser is my prototype board is now switching 4 rigs  I got distracted with my sweating copper fittings on my new radiator.

I also agree about the need for UPS.  Large scale UPS isn't going to be cheap.  Even if you go the UPS circuitry for free (which is possible via salvage) just the batteries are going to be expensive.  I think I have had maybe 2 hours of power outages (likely less) in the last year combined.  Even at 20 GH/s thats what $5 in revenue.  If the UPS was free just getting 5 kVA of battery capacity would cost 100x that.  Break even in 1 century of mining time?  One would need a LOT of power outages for it to make sense and even if you did is the internet connection staying up during outages.  If not the mining farm has nowhere to submit work.


LoupGaroux
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250



View Profile
March 12, 2012, 01:29:57 PM
 #19

For $4K you can also buy a lot of generator back-up for your farm, at least 15kW with a 200 amp service entrance if you shop for a couple of moments, double that if you look at "functioning", or used.
allinvain
Legendary
*
Offline Offline

Activity: 3080
Merit: 1080



View Profile WWW
March 12, 2012, 01:45:51 PM
 #20

I'd like to see a UPS capable of sustaining a serious mining farm during a blackout. It would have like 50 car batteries lol :p. Imagine an electrical fire or some other mishap then! rofl

Single car battery is able to supply 720W for an hour, in theory. In practice more like 600W before voltage drops too low and due to the age of the battery.
5 for full 16A 230V circuit for an hour.

In other words, that single battery is sufficient for a single 4x7970 rig @ ~2Ghash... Or 1 hour for 10Ghash. Most power outages are solved within that time.

Plus the batteries are free Tongue




Damn, I did not know there was that much juice in them car batteries. Since you seem to know a bit about this already would truck batteries be better?

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!