As I've got bits starting to arrive for my CNC build I thought it was about time I started looking into build a power supply. I've read until my head hurts and I think I've come up with a power supply that would work. It's certainly not the finished design, I would like to incorporate the eStop to cut the mains power, but I'd like to know if I'm heading in the right direction with the calculations and design. So without further ado...
The items this supply will be powering are
- 4 * CNC4YOU 3.1Nm Steppers
- 4 * AM882 Drivers
The steppers will be wired parallel which the datasheet gives as 4.2A giving a combined draw of 16.8A. Using an approximate real draw of 66% because of the phase shift gives 11.2A which I'll round up to 12A to account for the drivers and any losses.
I've read a ton of stuff on the correct voltage to run the steppers at, the calculation based on inductance [32*sqrt(3.2)] gives 57.2V and one based on the coil voltage rating [20*2.73] gives 54.6V. There's no end of people reporting that these steppers will run happily on 70V though so that's my target.
Working backwards from my 70VDC target gives a secondary voltage of (70/1.4) 50VAC which I plan on getting by wiring a 25+25 toroidal transformer in parallel. The transformer will need to be able to supply 70*12=840W so I was planning on using a 1000VA transformer (this one). There will be a 7A type T fuse on the primary side as well as a DPDT switch.
The bridge needs to be a bit of a beast so I was going to go with this 400V 35A part. At full tilt it will need some serious cooling (assuming my calculation is correct)...
1.1V * 20A * 2 = 44W of heat
(130 degC - 30 degC) / 44 = 2.27 K/W
2.27 K/W - 1.4 K/W = 0.87K/W
so I'm planning on attaching a CPU heat sink to it. I assumed a 30 degC ambient since it will be in a case, 20A is the transformer limit. In reality it will almost certainly never be going flat out so I don't think it'll be a problem. After rectification it looks like I'll be getting 67.8V.
For smoothing I'll be using some cheap and nasty 100V 10000uF capacitors I've found on eBay. My calculation shows I need 28,288uF of capacitance to achieve 7V of ripple:
C = (20 * 0.01) /7.07 = 0.028288F
As the capacitors don't list a ripple current I was just going to stick 4 in parallel to give me 40,000uF of smoothing goodness.
I originally designed the system with always connected bleed resistors but I changed my mind to have a relay system. I'm in two minds which is best but I've got the relay version drawn up at the moment. I chose 30 seconds as a bleed time because it would take longer than that to get into the case. The calculation for the bleed resistor is:
W = 4 * ((CV^2) / 2) = 4 * ((0.01 * 70 * 70) / 2) = 98J
90J / 30s = 3.3W
R = (70 * 70) / 3.3 = 1484Ω
So I've got a 5W, 1k5 resistor in there at the moment. I've had a look on RS and I can seem to find a suitable relay. I've never used a relay so hopefully what I've draw is the correct way to wire it up. If I understand correctly when power is applied it energizes the coil and opens the relay preventing power going though the bleed resistor.
And finally the circuit diagram. Keep in mind this is the first circuit I've ever designed so there could be any number of brain dead things in there. If any of the symbols / terminology are wrong please point it out as I'd like to try and get it right. I suspect the power supply is a bit powerful for what I need but I think the machine will grow another axis at some point so I'd rather go large than build a second power supply.
50VAC will most likely give you nearer 80V than 70V, depending on how your mains voltage. I'd aim about 10% lower on paper to give a good safety margin. The exact value you should be using for the figures is sqrt(2), which is 1.414... which in theory gives you 70.7V, but in practice the end result is usually higher when there's no load.
I wouldn't bother with a relay for the bleed resistor. Just pick a suitable value that sinks a watt or two constantly. The bleed resistor is only really needed when there's nothing connected, as the drives will do a reasonable job of draining the current once they're connected even if they're not moving anything.
As I posted here, it's actually often quoted as 1/sqrt(2), so 70.7%.. but that doesn't change your conclusion.
here the power rating of the motors you've chosen is found from their rated voltage and current, then remember to multiply by two as it's a two phase motor. That's P=2*4.2*2.73=23W. You've got 4 motors so call it 100W. Recalculate for 100W and you'll find if you stick with the 35A rectifier you wont need a heatsink.
Also, the rectifier and transformer are cheaper at Rapid Electronics.
Other than that, I think your circuit is fine.
Thanks for that , I spent a whole evening trying to figure out if the 1.4 was supposed to be sqrt(2) and I couldn't find anywhere that definitively answered the question. In the end I assumed that people used 1.4 because after smoothing the average value of Vdc will still be slightly below Vmax (the highest voltage coming through the rectifier).
The next transformer "down" is this 24+24 model then below that is this the 22+22V. The mains in this house is normally around 235 to 237 volts so yes I would be a bit over-voltage. Does the output voltage change linearly with the input voltage? I'm thinking 235V into the 25+25 transformer would produce about 51V out (wired in series). Wish I'd put together a spreadsheet for the calculations now! Considering there's a 2.2V drop in the rectifier I think the 24+24 is probably the best choice in that case - I suppose I've just got to go away and crunch the numbers again.
I'll scrap the relay for the bleed resistor. Considering the price it would take 100 years to pay for itself in the electricity it saves.
I was thinking of trying to put a fan in the case as I have loads of 12V 90mm computer fans kicking around. I don't know how to power the fan from the circuit I have though. I only need a couple of watts so even if the way I get the power is really wasteful I don't suppose it'll matter.
sqrt(2) essentially gives you the average value of a sine wave, and isn't electric specific.
It's officially the Root Mean Square equation for a sine wave - Root mean square - Wikipedia, the free encyclopedia
As I'm sure you're aware, I meant that the average value for 90degree either side of a sine wave peak or trough i.e a 180degree section, is sqrt(2).
Thank you both, some things that we nagging me are a lot clearer now. I misunderstood the spec sheet for the rectifier and assumed it was 1.1V drop per diode in use.
I'm going to remove the relay before the bleed resistor but, from an academic point of view, how would you safely incorporate the relay? Whatever is supplying power to the coil would have to be completely independent of the capacitors. If I understand correctly current can't flow backwards through the rectifier so presumably power for the coil could be take from the between the secondary and rectifier.
There's just one thing I don't think I properly understand... why is the transformer 50*12=600W (or should that really be 600VA) not the 70*12 I calculated? I have a feeling this is an AC power vs DC power thing but that's right at the limit of my understanding of circuits.
Use a relay with a 240VAC coil and a set of NC contacts, and wire the bleed resistor through the NC contacts.
When 240 is applied, the contacts open, then when it's removed they shut and connect the bleed resistor.
The Following User Says Thank You to m_c For This Useful Post:
By LoveLearn in forum General ElectronicsReplies: 0Last Post: 25-01-2012, 08:29 PM
FOR SALE: 50V 20A Power supplyBy Jimmybristol in forum Items For SaleReplies: 8Last Post: 30-05-2011, 10:01 PM
By M250cnc in forum Electronic Project BuildingReplies: 11Last Post: 22-11-2010, 08:48 PM
By Scott in forum General ElectronicsReplies: 13Last Post: 11-07-2010, 11:58 AM
By hitmythumb in forum General ElectronicsReplies: 6Last Post: 21-06-2009, 09:27 AM