Pages:
Author

Topic: 55nm Bitfury chips - Direct 220V Project - page 2. (Read 3834 times)

legendary
Activity: 2128
Merit: 1073
January 27, 2017, 04:11:39 PM
#13
I think , that power part of the design is not going to be bottleneck , here.
The SPI will be pain in the ass, You will have to use some kind of level shifting.
RPI is too much of  a mess for my taste too
Well, Bitfury (corporation) and Punin (person) promised to release the specifications for their communication controller/level shifter/differential transceiver chip.

Bitfury Designs released under CC-BY-SA

https://bitcointalksearch.org/topic/bitfury-designs-released-under-cc-by-sa-1360038

Maybe sidehack has some information in English now? I vaguely remember seeing some posts in Russian that are now deleted, and I'm only quarter-literate in Russian.
full member
Activity: 126
Merit: 100
January 27, 2017, 03:35:42 PM
#12
I think , that power part of the design is not going to be bottleneck , here.
The SPI will be pain in the ass, You will have to use some kind of level shifting.
RPI is too much of  a mess for my taste too
legendary
Activity: 2128
Merit: 1073
January 27, 2017, 03:32:46 PM
#11
One thing is for sure it's far from 2) there is no fun in standard designs (just copy paste and recalculate), but the chip is also not standard Wink
No coin miner is ever standard. The main fun is that they invalidate all standard design flows: they either lead to failure or vast over-specification and under-performance.
See my previous post - the chip speed and consumption depends on the clock which is internally generated and voltage dependent, so we have this for free
As far as I know several people tried to use the internal self-clocking and reported problems with them: not always starting reliably and humongous jitter. My experience (not with mining, but with somewhat similar digital-but-nearly-analog chips) is that you are better off forcing your own external clocking and very frequently run short test mining jobs with known answers (like once every second feed the chip a job that requires just a few increments to find the golden nonce).
For protection against spikes a choke and inrush current limiter before the capacitor should be enough: ~400 chips string may survive spikes up to 600V DC, but then the current is 3.5A, so if limited to 2A the transistor should take that load and just in case planning to add a 400V transil in addition.
This is where I disagree with you the most. The failure modes of MOS devices are really strange, silicon has negative temperature coefficient and is prone to creating hot spots, where the device fails way below their normal rated specifications when the dI/dt or dV/dt was too fast. Hopefully you'll get your 55nm Bitfurries really cheap so you won't regret skimping on the safeties. But speccing and acknowledging the need for parallel transil is a good start.

My school had a program sponsored by International Rectifier (www.irf.com), we could burn power semiconductors for free (provided that we documented the conditions of the burn) and I still have some fond memories from that time.

I've seen your "back of the envelope" calculations and basically I suggest that you get a bigger envelope and make some more calculations. In particular, don't always assume that Vpeak/Vrms = 1.4, it varies widely with the load.

Or maybe just want want to go for the shock value and use one farad capacitors in your ripple filter, the ones that are used by the bass-heavy car audio enthusiasts.  Wink
KNK
hero member
Activity: 692
Merit: 502
January 27, 2017, 12:54:11 PM
#10
2112, I am not a noob, but I am not a professional hardware developer either, so I may be missing some aspects, which will byte me in the butt latter ... but then I'll learn which is a win

It's neither 1 or 2, but for fun and will definitely learn something new while working on it ... well its close to 1, except it's not over-specification, but around chip specifics.
this project will be a miner around the 55nm Bitfury chips, not a standard miner design.

a design like one would do to settle a bet
not a bet, but because no one thinks it's possible and because the chip has some specifics will allow to do that by working on the edge (and beyond)

One thing is for sure it's far from 2) there is no fun in standard designs (just copy paste and recalculate), but the chip is also not standard Wink
There will be continued project latter to replace the RaspberryPI and existing software with ESP32 or ESP8266, but that's not for the hardware forum and as free time project will probably take several months.

Again, I don't have a specific knowledge about Bitfury's chips and their communication protocols, but some power electronics designs deal with 100% ripple by resetting the devices at 100Hz or 120Hz during the zero-crossings of the mains power. It probably wouldn't pertain to Bitfurries, but you still may consider modulating your mining clock rate during each half-cycle of the ripple. Over-clock when the chip are over-volted on the average and under-clock when the chips are under-volted on the average. The required additional power in the controller is next to nothing when compared with the power losses in the full, actively stabilizing regulators. Adjusting the clock rate several hundred times per second shouldn't be a problem for properly designed controller.
See my previous post - the chip speed and consumption depends on the clock which is internally generated and voltage dependent, so we have this for free

For protection against spikes a choke and inrush current limiter before the capacitor should be enough: ~400 chips string may survive spikes up to 600V DC, but then the current is 3.5A, so if limited to 2A the transistor should take that load and just in case planning to add a 400V transil in addition.
KNK
hero member
Activity: 692
Merit: 502
January 27, 2017, 12:13:35 PM
#9
RadekG

1. Yes, there are some advantages with PFC, but also more losses and then it is better to just use stock PSU for lower voltage being much safer too Wink
2. The current limiter is for the extreme situations if something goes wrong, but the transistor will be fully open most of the time and the actual current will be controlled with chip's clock speed.
3. It will be filtered, but just enough that the voltage does not drop below 0.65V per chip at say 2A, so much lower capacitor than a dozen of mF will be needed. Also the chip speed and power consumption depends on the voltage and will go down with the voltage, so much less than 2A at lower voltages and much smaller capacitor for the trade of some speed. If there are more chips then the current will also be much less than 2A initially even if lower voltage drop is allowed.
4. see 2. the transistor will dissipate say 2A at ~0.6V-1V and before the capacitor there will be just inrush current limiter
legendary
Activity: 2128
Merit: 1073
January 27, 2017, 12:01:15 PM
#8
To both 2112 and RadekG

The idea is exactly the opposite - use simple diodes rectifier and transistor current limiter.
I am not a noob and know how the rectifiers work and in the calculations above 220 * 1.4 is simplified for  220 * sqrt(2).
Many people said that it won't work and that's why this (crazy / hobby) project - to prove it does!

I have a working design at 24V DC and the built-in current mirror in the chips is working and balancing (almost) perfectly the voltage. I have made extensive test with the chips previously and this project will be a miner around the 55nm Bitfury chips, not a standard miner design. The chip survives 1.5V with proper cooling and it's voltage drop depends mostly on the current passing through it.
So transistor current limiter should be more than enough and 1.5V per chip is 420V AC, which won't happen and at that voltage the current is over 3A, while i will limit it to 1.5A or 2A max. This equals to about 0.88V per chip, because it's internal resistance when hashing is 0.44 Ohms based on my tests.

There are two other problems concerning me - the SPI speed (my next post) and the ripple/capacitor size (the next next post)
Yeah, it will most certainly work, when designed correctly. I'm still perplexed why you were concerned about few percentage point of RMS voltage variation (220-235V or 205-265V) while your main concerns should be ripple and protection against spikes.

Ripple itself on a single-phase system would be around 40% (25%-50% if I remember correctly) unless you drastically over-design the ripple filter and your rectifier diodes conduct only during few percents of the mains cycle. I'm unclear what is the purpose of your design: (1) show that it is possible using ridiculous over-specification or (2) an experiment in a proper power electronics design that could be practically scaled up and deployed later.

In case (1) you just don't worry about inductive spikes in the mains voltage because you ridiculously over-specified capacitors.

In case (2) you have to have proper protection against spikes. I don't have specific information about Bitfury's chips, but in metal-insulator-semiconductor chips the over-current protection is typically not enough. The breakdown is not only thermal, it involves electromigration of metal over insulator and insulator under metal. Electromigration is both irreversible and cumulative. In normal industrial practice you will need parallel over-voltage shunt to extinguish the inductive spikes coming from the mains. Relying on over-current protection is only acceptable for bipolar-junction devices where the junction breakdown is reversible and non-cumulative.

In case (1) you just don't worry about power factor and accept that the diodes conduct only during top few percents of a cycle.

In case (2) you'll have to use 3-phase power and polyphase rectifier design to have acceptable power factor and diodes that conduct current around 60 degrees of the 360 degrees cycle.

Again, I don't have a specific knowledge about Bitfury's chips and their communication protocols, but some power electronics designs deal with 100% ripple by resetting the devices at 100Hz or 120Hz during the zero-crossings of the mains power. It probably wouldn't pertain to Bitfurries, but you still may consider modulating your mining clock rate during each half-cycle of the ripple. Over-clock when the chip are over-volted on the average and under-clock when the chips are under-volted on the average. The required additional power in the controller is next to nothing when compared with the power losses in the full, actively stabilizing regulators. Adjusting the clock rate several hundred times per second shouldn't be a problem for properly designed controller.

I'm sorry my first response took you for a noob. I simply didn't consider the case of (1), a design like one would do to settle a bet. In the past I had to deal with many people who were digital design experts but relatively ignorant in power electronics design. They would advocate type (2) designs with flaws obvious to anyone who had to experience beyond stabilized/regulated benchtop power supplies.
hero member
Activity: 924
Merit: 500
January 27, 2017, 10:51:42 AM
#7
To both 2112 and RadekG

The idea is exactly the opposite - use simple diodes rectifier and transistor current limiter.
I am not a noob and know how the rectifiers work and in the calculations above 220 * 1.4 is simplified for  220 * sqrt(2).
Many people said that it won't work and that's why this (crazy / hobby) project - to prove it does!


I did not think you are noob - I am sure you know how rectifier works. I see PFC ctrl much better idea:

1) PFC means stable op voltage, easy to tune, no efficiency drops
2) with current limiter you will dissipate lot of energy.
3) it is unclear if you want to filter rectified voltage, but from your posts it looks you would like to use unfiltered -> how do you make chips stable at low voltage parts of periods?
4) If you want to limit current at 2A, you will have about 78V@2A RMS at transistor to dissipate.

Still think PFC version is better. But wish you good luck, it would be really nice if you prove it can work.
KNK
hero member
Activity: 692
Merit: 502
January 27, 2017, 08:51:33 AM
#6
To both 2112 and RadekG

The idea is exactly the opposite - use simple diodes rectifier and transistor current limiter.
I am not a noob and know how the rectifiers work and in the calculations above 220 * 1.4 is simplified for  220 * sqrt(2).
Many people said that it won't work and that's why this (crazy / hobby) project - to prove it does!

I have a working design at 24V DC and the built-in current mirror in the chips is working and balancing (almost) perfectly the voltage. I have made extensive test with the chips previously and this project will be a miner around the 55nm Bitfury chips, not a standard miner design. The chip survives 1.5V with proper cooling and it's voltage drop depends mostly on the current passing through it.
So transistor current limiter should be more than enough and 1.5V per chip is 420V AC, which won't happen and at that voltage the current is over 3A, while i will limit it to 1.5A or 2A max. This equals to about 0.88V per chip, because it's internal resistance when hashing is 0.44 Ohms based on my tests.

There are two other problems concerning me - the SPI speed (my next post) and the ripple/capacitor size (the next next post)
legendary
Activity: 3374
Merit: 1859
Curmudgeonly hardware guy
January 27, 2017, 08:44:19 AM
#5
That could be fun, just remember active PFC is also a boost converter so your output voltage would be more like 350.
hero member
Activity: 924
Merit: 500
January 27, 2017, 08:32:23 AM
#4
STEP 1 - determine the number of chips for the string based on voltage

The mains voltage here is 230V on average, but floating between 220V and 235V with absolute min 205V and absolute max 265V according to the specs.

The optimal voltage for the chip is 0.81V, below 0.62V (say 0.65V to be safe) it gets unstable and survives up to 1.5V, but a reasonable maximum to keep the losses low is 0.95V

For min 0.65V at 205V, there should be no more than ~440 chips ( 205 * 1.4 / 0.65 )
For max 0.95V at 265V, there should be not less than ~390 chips ( 265 * 1.4 / 0.95 )

OPTION 1 - the number of chips X: 390 < X < 440
OPTION 2 - the same but for the average range (220V - 235V): 346 < X < 473
OPTION 3 - optimal voltage at the average voltage: X = 397.5

The PCB is designed in panels with 4 hash-boards per panel and each hash-board consists of two rows 7 chips each, so the number chosen should be multiple of 7, but preferably 14 and best 56 (full panel)
From option 3 and full panels, there should be 7.1 panels.
The closest 7 panels are 392 chips
For lower power consumption with 8 panels - 448. That's more than 440 for the lowest voltage (205V), but it results in 0.64V per chip which is still OK.

I will order 8 panels for assembly to start with 448 chips and gradually test 434, 420, 406 and 392, but there is one more thing to consider for the number of chips ...

I think best what you can do is use PFC controller to stabilize voltage, keep power factor close to 1 and of course bypass huge capacitors.
legendary
Activity: 2128
Merit: 1073
January 27, 2017, 07:13:35 AM
#3
I don't think that you understand how a rectifier works. 220V is an RMS voltage (root mean square). This means that unloaded bridge rectifier produces on output 220 * sqrt(2) or about 311V. The output under load will be lower depending on the exact design of your ripple filter.

You need to actively monitor angle of conduction in the rectifier to operate you mining string safely. This means that you can't use diodes in the rectifier but SCRs (thyristors) and actively control when to turn them on in each cycle (not difficult at 50Hz or 60Hz). For experiments (to learn) you can use diodes in the rectifier and an artificial resistive load (like incandescent light bulbs) in parallel with your string of chips.

Have fun!

Edit: In practice people using unregulated rectifiers use multi-phase rectifiers (typically 3 or 6 phases), not a single phase rectifiers. See comments about rectifiers in https://en.wikipedia.org/wiki/Polyphase_system .

Edit2: For fun (to play and learn) use a welding rectifier (with a transformer or an auto-transformer) for testing. Just remember to disable the arc-start circuitry, the one that briefly produces higher output voltage to make it easier to spark the arc for welding. You will need less chips in your string.
KNK
hero member
Activity: 692
Merit: 502
January 27, 2017, 06:47:30 AM
#2
STEP 1 - determine the number of chips for the string based on voltage

The mains voltage here is 230V on average, but floating between 220V and 235V with absolute min 205V and absolute max 265V according to the specs.

The optimal voltage for the chip is 0.81V, below 0.62V (say 0.65V to be safe) it gets unstable and survives up to 1.5V, but a reasonable maximum to keep the losses low is 0.95V

For min 0.65V at 205V, there should be no more than ~440 chips ( 205 * 1.4 / 0.65 )
For max 0.95V at 265V, there should be not less than ~390 chips ( 265 * 1.4 / 0.95 )

OPTION 1 - the number of chips X: 390 < X < 440
OPTION 2 - the same but for the average range (220V - 235V): 346 < X < 473
OPTION 3 - optimal voltage at the average voltage: X = 397.5

The PCB is designed in panels with 4 hash-boards per panel and each hash-board consists of two rows 7 chips each, so the number chosen should be multiple of 7, but preferably 14 and best 56 (full panel)
From option 3 and full panels, there should be 7.1 panels.
The closest 7 panels are 392 chips
For lower power consumption with 8 panels - 448. That's more than 440 for the lowest voltage (205V), but it results in 0.64V per chip which is still OK.

I will order 8 panels for assembly to start with 448 chips and gradually test 434, 420, 406 and 392, but there is one more thing to consider for the number of chips ...
KNK
hero member
Activity: 692
Merit: 502
January 19, 2017, 09:50:31 AM
#1
I am looking for some old 55nm Bitfury chips (Rev 1 or 2) to build a direct 220V string. If you have some, please post here or PM me.

I know they are not profitable anymore and it is a bit late for fireworks Wink , but still have some PCBs printed and would love to try that crazy idea.

EDIT:
Thanks guys!
Got around 500 chips, which should be enough for the string and some replacement chips (after the fireworks)

I will report about the development in the following posts if it is of interest for others.
Pages:
Jump to: