And now onto some electrical stuff.
I obtained an Allen-Bradley PowerFlex VFD used from e-Bay waaaay back when I started this project, and it has always been the plan to use it to drive the 5HP 3-phase motor on this lathe. As with most home shops, my shop power supply is single phase.
This is my installed VFD. The label says PowerFlex "40", but it is a "4", not a "40". I'm not complaining, having the wrong cover plate was the only bad thing about that e-bay purchase - I can live with that. The wires coiled on the back are for a future enhancement that I will describe when I do it.
I mounted it behind the headstock where it would stay clear of most chips and splash that might come from the lathe, but still be reasonably easy to reach, and I can easily see the display that can show things like motor drive frequency, rpm, or current draw, etc. The control knob is what I will be using for speed control. It could easily be moved to somewhere else, but I decided not to.
I welded up a stiff bracket to hold the VFD and allow the various wires to be securely fastened and reasonably well protected. The bracket is held by two 3/8" studs that are threaded into the cast iron of the headstock. My aluminum TIG welding is getter better, but not quite show-quality yet.
The metal box under the headstock at the back is the main junction box and contains the control electrics, which I will be posting about soon. Some day I will make side covers for the bracket just under the VFD to better enclose the power wires.
A side note: I had to buy three new belts for the machine as what I got with it had belts that were unevenly worn. When running the motor slowly I could hear the belts squeaking because they were riding at different heights on the pulley. They are installed here and work much better that the originals.
A bit of background on VFD's for those that might not be as electronically geeky as I am:
When using a VFD, you can use acceleration and deceleration curves to start and stop the motor, which is nice since it keeps down the stresses on the mechanical components and the peak currents that the motor draws. When you accelerate, the VFD (obviously), takes power from the electric supply grid and uses it to apply energy to the motor to speed it up. No problem there.
You can also have the VFD smoothly decelerate the motor rather than waiting for it to coast to a stop, or using a physical brake.
When decelerating, the VFD must take the energy from the motor (and all the other rotating stuff like a big, heavy chuck) and do something with it. On very large VFD's and much more complex systems it can be fed back into the grid. In smaller systems, any excess power is just dumped into what are called braking resistors to make some heat. It is possible to do without braking resistors, but if you try to use the VFD to slow down the motor much faster than it would coast to a stop on its own you will get an error on the VFD since it needs to dump the power somewhere and it can't.
The first thing VFD's do is take in the input AC and rectify it to create what is called a DC bus voltage. That voltage will be in the order of 1.4x (square root of 2) the input voltage on a single phase input, so 240V AC will create a DC bus voltage of about 340V. If the VFD had 3-phase 208 as its input the DC bus voltage would be about 360V (208 * sqrt(3)).
The VFD's then use solid state devices called IGBT's (insulated gate bipolar transistors) - basically big high voltage and high power transistors - to rapidly switch the DC bus to create a 3-phase AC current to run the motor at almost any frequency you want. The internal computer and software uses the various signals and parameters applied to the VFD to create a suitable 3-phase AC current to drive the motor.
When accelerating, or even just running, the DC bus will be re-charged from the line, and stay in the 340V range (from here on, I will consider only a single phase 240V fed VFD).
However, when decelerating quickly, the motor acts as a generator and will feed power back into the DC bus. That will make the DC bus voltage rise. If it rises to around 400V or so, the VFD will protect itself by disconnecting from the motor and indicating a fault condition (DC Bus over-voltage error). Basically it shuts down rather than exploding. After that you must reset the fault to continue. Once the VFD disconnects, the lathe will coast to a stop unless you use a physical brake.
Most VFD's have the ability to use a big resistor to dump the extra energy into to control the DC Bus voltage. As the voltage approaches 400V, it will start to dump energy into the braking resistors. It will then attempt to keep the voltage in the high-300's until the motor is stopped again and not acting as a generator.
That theory was the lead-up to me describing the braking resistor setup I've installed.
Commercial braking resistors can be expensive, but resistors are simple things, so I made up my own.
My VFD is rated to use braking resistors down to 36 ohms. Using a lower resistance risks blowing up the VFD as the resistors will take too much current. I found a good deal on a few 100 ohm, 225W ceramic resistors. Placing them in parallel provides a 50 ohm load to the VFD which will allow the VFD to dump energy but not so much as to hurt itself.
The resistors are rated to 10x that power for up to 10 seconds, so they can each handle peak loads of 2250 watts for a total of 4500 watts. At that power level they can stop the lathe in only a couple of seconds, so even if I were to cycle the lathe from full forward to full reverse several times in a row, I would not exceed the capabilities of the resistors.
Here is what my home made braking resistor setup looks like:
I got the resistors at a clearance price because they are not ROHS certified (there is lead in the solder on them). Nobody can really use them in commercial products. So, $3 each instead of about $30 each. I'm OK with the lead. They are mounted on two raised studs that are attached to a nylon rod that is then attached to the lathe. Good insulation is important here as there is almost 400V on these puppies. They are mounted far enough above the nylon rod that there should be no problem with heat getting back to the rod and causing problems.
The thermal switches JB-Welded on each side are normally closed thermal switches. They will open at about 130C. The thermal switches are wired in series as part of the enable circuit for the VFD (more on that later), so if the resistors get too hot for some reason, the lathe will shut down until they cool again. JB Weld is good for over 260C constant and 316C for up to 10 minutes, so that should be OK.
The resistors are installed in the left pedestal under the headstock where they are well protected from oil and metal chips and should have good ambient cooling.
Mounting them vertically will give the best cooling since they are hollow and hot air can rise on both the inside and outside of the ceramic.