Log in

View Full Version : Tweaking a Gecko based stepper for maximum performance



richards
04-08-2007, 04:56 PM
There have been a lot of posts made on this forum promoting various ways to use Gecko stepper drivers to get better performance out of a stock PRT or PR Shopbot. Indeed, the 4G upgrade is somewhat related to users wanting to get more resolution and higher speeds out of their PRT and PR machines. If you own an Alpha model, or if you own a PR or PRT with stock stepper drivers, what I'm posting here will have no practical application. The Alpha motors are married to the Alpha stepper drivers. Using those motors with Gecko drivers, even if it were possible, would be a step in the wrong direction. (No pun intended.) On the other hand, modifying a non-Gecko PR or PRT by changing the power supply or somehow increasing current through the stock stepper drivers would probably destroy your stepper drivers. So, don't do it. You have been warned!

First, I want to thank Bruce Clark for posing some questions that caused me to re-think everything that I thought that I knew about stepper motors and stepper drivers. The end result of that self-examination was to ask Mariss, the designer or the Gecko G20x series of stepper drivers, to recommend the 'best' way to wire a stepper motor to get the 'most' performance from that motor/driver combination. I thought that he would give an answer with two-parts. Part one would be the best connection diagram for motors that are used at low speeds - such as a motor that directly drives a spur gear without using a gear box. With that kind of application, a motor running at 200 RPM would be moving an axis 10 to 15 inches per second, depending on the spur gear being used. Part two would be the best connection diagram for motors that drive the spur gear through a gear box. Those motors would need speeds about 3.6X higher (depending on the gear box ratio) to move the axis at the same speed. Instead of making a recommendation, Mariss simply posted a forumla that can be used to determine how to get the most out of your motor.

The formula is: Voltage / SQRT(Inductance) = Power. Isn't that both simple and elegant? By using that formula, it becomes a very simple matter to compare the two or three possible wiring connections that a motor may allow.

The six-wire Oriental Motor stepper motors that came with the PRT machines allow two types of wiring connections: Unipolor (half-coil) or Bipolor (serial). Eight-wire motors, such as the PK299-F4.5 would also allow a third option, Parallel.

The mechanics of HOW to connect a motor can be found on the Oriental Motor web site. If you can't find the information, please email me directly at miker@xmission.com (mailto:miker@xmission.com) and I'll send you the Oriental Motor PDF file that contains the information. Don't pester Shopbot for this information. Remember, we're talking about modifications and variations to a stock machine.

With that formula in hand, we need to determine the optimum power supply voltage to use. Mariss has stated that we can use a voltage that is at least 4X the motor's rated voltage but not more than 25X the motor's rated voltage. He also specifies that the voltage range must be clipped at 24V on the low end and 80V on the high end, meaning that his G20x stepper drivers must be used in the range of 24V to 80V.

If we look at the two most common Oriental Motor stepper motors likely to be found on a PRT, we'll see the non-geared PK299-01AA and the geared PK296A1A-SG3.6 motors. If we first look at the PK299-01AA motor, and run the numbers for the Series connection, we would use the forumula: 80V / SQRT(56) = 10.69. (Remember, even though 80V is much less than 25 X 9V, it is the maximum voltage allowed by the G20x stepper driver.) Then, if we run the numbers for the Unipolor (half-coil) connection we get: 80V / SQRT(14) = 21.38. That shows that the half-coil connection would give about 2X the power of the Series connection with the PK299-01AA motor when the G20x stepper driver is run at its maximum allowable voltage level.

If we do the same thing for the PK296A1A-SG3.6 geared motor, the Series numbers are: 80V / SQRT(30.8) = 14.41. The half-coil connection numbers are: 80V / SQRT(7.7) = 28.82. Again, the half-coil connection has 2X the power of the Series connection - because the Series connection requires more voltage than the G20x stepper driver can furnish to maximize the Series connected motor.

I am NOT recommending that anyone increase the voltage of their power supply to 80V or that they change the wiring from Series to half-coil. As far as I'm concerned, it's much better to be conservative and run a machine at a moderate voltage that will produce moderate speeds than it is to squeeze out the last fraction of torque from a motor/driver pair. Electro/mechanical things seem to last much longer when used conservatively than when they are pushed to their limits. Sometimes just knowing that you could get more out of your machine, and knowing that making those modifications will make the motors run hot enough to fry eggs on, is enough to make you content to leave the machine as it is.

dirk
04-08-2007, 08:31 PM
Most PRTs use 4 wire motors so the half coil method is unavailable. However using a higher voltage power supply will help with higher speed torque. Also properly adjusting the low speed resanance pot ( usually completely counterclockwise)can also helps with low-speed torque if it's way out of adjustment.
Dirk

richards
04-08-2007, 11:56 PM
Dirk,
You've thrown me a curve. None of my Oriental Motor literature shows a PK29x 4-lead motor. Everything that I have shows either a 6-lead motor or an 8-lead motor.

Thanks for adding that information.

For those who are new to the Forum, Dirk Hazeleger is 'the' man who pioneered the concept of using Gecko stepper drivers on a Shopbot. He gave me expert advice on using a belt-drive with my Alpha system. (That modification made the whole system work for me. Until installing that modification, my customers didn't consider me or my equipment to be on 'par' with other shops.) In fact, I just re-visited the blogger's section on the forum and saw some of the incredible things that Dirk has done. If you haven't looked at his blog, take a few minutes and visit. I'll promise you that you won't be disappointed.

richards
04-09-2007, 06:04 PM
It took half a day and a trip of 200 miles to get to the bottom of 4-wire vs 6-wire question, but the PRT that I saw today had motors with only 4-wires going to the WAGO connector, but on the other side of the protective covering, the motors had all six wires (black, yellow, green, red, white and blue). The WAGO connector used the Black/Green and Red/Blue wire pairs, showing that the motor had been wired to use the Series wiring pattern. But, by using the Black/Yellow and Red/White wire pairs, the motor could be converted to use the half-coil wiring pattern.

If you have a PRT with factory motors, it might take a little digging, but unless someone actually cut off the wires too close to the motor to allow a connection, the PK29x motors are capable of being connected using either the Serial or the half-coil wiring diagrams.

Further testing today has shown that a Series connected motor gave disappointing performance at speeds above 100 RPM when compared to a half-coil connected motor when each test was run using the same power supply.