Converting a Bridgeport to CNC

April, 2005--August 2006.

I designed and built my own Bridgeport milling machine CNC controls (X, Y, and Z axes). The design was based on various elements I learned about from the similar projects others have attempted, with a few of my own improvisations and innovations.

Until I can get my photos and detailed descriptions posted here, let me just leave you with a shopping list of the components I used:

And a few candid shots of what the project looks like on a busy day:

The machine itself:

The relay rack for the PC and servo controls:


About the Power Supply

Power supply(s) for CNC on this scale are a challenge, because typically you want to drive over a horsepower of peak motive power, and that means kilowatts of 80 volts DC to supply the Geckos. Given that you pay over $1/watt for a laboratory-grade regulated power supply (kilowatts cost kilobucks!), something simpler and improvised is needed.

Initially I obtained some hefty new-old-stock power supplies that ran (get this!) the Cray supercomputers. These boxes were the size of a big textbook, were 5V, +12V, -12V, and 24V floating DC sources, manufactured by Lambda, rugged and reliable, and ridiculously cheap. You could crank up the fine-tuning voltage adjustments of these floating sources, and stack them, to make close to 60 volts out at 8 amps (the current being limited by the lowest-current source in the stack). By using one of these for the X and Y axis motors, and another for Z, I had enough beef for some impressive motion. But these magnificent units featured a whining chorus of muffin fans in them that was like, well, like you were in the holy presence of a Cray supercomputer 25 years ago. I wanted the full 80 volts for the best performance out of the Geckos, but something quieter, and even more gutsy kilowattage.

Later I found that other experimenters were building unregulated power supplies based on hefty toroidal transformers with about a 57 VAC output from 120 VAC input. By bridge-rectifying that, you get about 80 VDC out with 10's of amps of current continuous with more amps available for short periods. But those transformers have to be ordered new to get this odd 57/120 step-down ratio, and thus are also expensive, although not as expensive as a regulated power supply of similar capacity.

A steady stream of good toroidals appear on eBay for bargain prices, but the problem is that they never have the right ratio. You might commonly find 208/240 or 208/120 (used to step 3-phase legs up or down to single-phase voltages), or 120/240 (US vs Europe converters), or even 1:1 (hospital instrumentation isolation). So it occured to me to follow just about any ratio in a big and cheap toroidal transformer with a variable autotransformer (aka "Variac", an old brand name). The toroidal provides line isolation, while the Variac lets you finely adjust output voltage, and the pair can deliver as much current as the AC line can deliver.

Today I use what has to be the cheapest DC watts with variable voltage. A massive toroidal transformer feeds a Powerstat 116BU variable autotransformer. The variable AC voltage goes to a bridge rectifier and then a 1500 microfarad capacitor and panel DC voltmeter. A capacitor this size yields an RC time constant of about 1/60th of a second at 8 amps output, which largely deripples the 120 Hertz rectified AC. I put all this in a surplus rackmount box which is then mounted at the bottom of my CNC rack. You can see the assembly with the black knob on the bottom of the rack shown in the photo above.

To power up the CNC drive after the PC is booted, you dial up the Variac while watching the DC voltage until you get to some safe margin under the 80 volt Gecko rating. (I need to add some kind of stop for the dial travel to keep from cranking it higher, to avoid destroying the Geckos.) To shut it down, you crank the voltage back down to zero. Before you turn on the rack mains the next time, you check that someone hasn't inadvertently bumped up the dial!

While a given Variac carries a rating for some given continuous current output (a few amps for the small ones, or 10 or 20 amps for the large ones), they can be overloaded up to ten times that much current for brief periods. This is a good match for the intermittent loads that characterize CNC motion. They also have a very low impedance and do not droop the (unregulated) voltage significantly even under heavy load, although the ripple increases. But Geckos do fine with unregulated, ripply power.

This overload and low-impedance "gutsiness" is also a feature of toroidal transformers, so the whole system is properly "gutsy" when the servo system needs a few seconds of high current to get the axes moving. The typical lab supply will shut down or blow a fuse in such conditions.

All of the above came very inexpensively over time by watching eBay with favorite searches. A new big Variac is well over $100 from distributors like Mouser, but I acquired a collection of them for typical prices of $20 or so on eBay. Using a Variac also means you don't care much what the winding ratio is on the toroidal isolation transformer, since you can adjust the output voltage to what you like. The isolation is needed because autotransformer output is referenced to the line input (not isolated), and feeding this to the Geckos has the potential for a spectacular short circuit, since the Gecko MOSFETS are only isolated from the heat sink and chassis by a thin mica insulating wafer.

Another approach to using surplus toroidals might be to remove some of the windings to get the right ratio. They are typically wrapped, lacquered, or potted in a way that makes this impractical. Or go all the way: find a good sized surplus unit, saw off the old windings, and rewind it from scratch with new magnet wire in the desired ratio.


Have a comment or question about my Bridgeport CNC conversion?
Email me at:
kinch@truetex.com
Richard J. Kinch
Back to Machine Shop page
Back to Home page