View Full Version : Linear Drivers?
noisillator 06-29-2009, 12:57 AM OK, here's another possible option, but it's a technology I haven't seen mentioned elsewhere in these threads. Anyone have any experience with linear drivers like these? Can this approach perform well for our use?
http://www.piclist.com/techref/io/stepper/linistep/index.htm
jalessi 06-29-2009, 01:33 AM Noisillator,
Contact Phil at http://pminmo.com/
He has many different designs on his site, he is very familiar with many of these designs.
Jeff...
Jeff-Birt 06-29-2009, 07:59 AM From the website - Unlike old style linear drivers or chopper drivers, the Linistepper doesn't need a power supply that is 2 or 3 times the rated voltage of the motor. You can use a supply with 5 to 10 volts over the motors maximum, and our active current regulation will still give very good performance.
Evidently they managed to warp the laws of physics! The increased drive voltage is needed to overcome the motors inductance. It allows you to build up the magnetic field faster, i.e. better performance.
What they are claiming above is simply NOT possible.
noisillator 06-29-2009, 08:49 AM Evidently they managed to warp the laws of physics! The increased drive voltage is needed to overcome the motors inductance. It allows you to build up the magnetic field faster, i.e. better performance.
What they are claiming above is simply NOT possible.
Perhaps the difference is that the driving power is being delivered as sine waves. I would expect the inductance of the motors to have less effect than when square waves or stepped sines are applied.
MechanoMan 06-30-2009, 04:29 AM Perhaps the difference is that the driving power is being delivered as sine waves. I would expect the inductance of the motors to have less effect than when square waves or stepped sines are applied.
Nope. Total rubbish. The problem with motor inductance is that when steps change, the motor current will not rise to a new current instantly but ramp up with dI/dT=V/L. It'll eventually reach the target current and regulation will stop the current rise. But the dI/dT ramp-up time is the same for fast or slow steps, when the steps are fast the time spent in dI/dT becomes a significant part of the cycle and the average current for the whole time it spend in that step goes down. Nothing about a linear drive changes that.
The linear drive in these plans is very inefficient, and needs a big power supply and heatsink. The inefficiency makes it impractical to use with a more powerful drive. Heck, at 48V with a 3VDC stepper coil, a 3A stepper would generte 135W on the driver! Per motor! And the power supply must also be rated at greater than the sum of the motors. So >12A for 4 axis of 3A motors (switchers don't have that limit). The extra cost of a big-amp power supply and heatsink won't make this as cheap as imagined.
The PIC cannot step smoothly at very high speeds and cannot make straight, angled lines perfectly. See the steps MUST be resolved to PIC instruction cycles, which seems to be set at 4MHz. With no microstepping, with like 10 instructions needed per step, you'd have a 2000rpm (100ipm on a Taig) limit. Sounds great at first. But at 18x microsteps, we're down to 111rpm and 5.5ipm. But that's not the real problem. The problem is that Mach 3 won't be providing integral numbers that agree with the clock rate on the PIC. Given the way microcontrollers check the inputs in loops that take several instructions, asking for 5 ipm will result in some pulses being longer than others because the Step pulse comes in at the start of the code loop sometimes and sometimes at the end.
That inconsistency in pulse width can be very detrimental to torque.
It does "work", just not competitive with modern designs and wouldn't perform anywhere near useful on a CNC mill.
It's also UNIPOLAR. Right there that means 29% of the rated torque cannot be achieved because it only uses one winding at a time.
pminmo 06-30-2009, 10:46 AM There are a whole bunch of truths and mistruths that people take from one application and tag it to another application. If I had one fault with the cnczone, that would be it.
Mechanoman did pretty much nail the highpoints. The linistepper is inefficient and because of that requires more power supply than pwm current control methods. That inefficiency also will manifest itself in heat dissipation. One of the reasons you can't have too high of coil voltage to supply ratio is simply the power dissipation of the transistors.
Regarding "sine waves" Sin-Cosine relationship is used in virtually all microstepping stepper drivers regardless of linear or pwm.
The linistepper does work, it's quiet because there is no pwm switching going on. (Although I'm constantly baffled why people worry about stepper squeel because when your machining you can't hear anything over spindles cutting.)
Unipolar motors do have less pull out torque than bipolar. BUT the issue then turns different depending on drive method. I did a video on rapids to illustrate driving a 6 wire motor unipolar, bipolar half coil and bipolar series to illustrate some inexpensive drive performance differences. http://pminmo.com/which-stepper-motor
Bottom line, choose motors and drivers together considering the mechanics of the machine your going to use them with.
MechanoMan 06-30-2009, 03:54 PM Unipolar motors do have less pull out torque than bipolar. BUT the issue then turns different depending on drive method. I did a video on rapids to illustrate driving a 6 wire motor unipolar, bipolar half coil and bipolar series to illustrate some inexpensive drive performance differences. http://pminmo.com/which-stepper-motor
But the limitation comes from the type of coil usage and has nothing to do with drivers.
A motor with unipolar wires can be configured as uni or bi.
In unipolar, only one half of a phase coil is used at a time. That straight out gives half the torque per amp.
But we're not done. Say a phase has a series resistance of 0.5ohms per a half-phase for uni usage and 1ohm when used in series as a bipolar.
The motor is ultimately rated by its case heat dissipation. The ability to dissipate case heat doesn't change with the wiring, but the heat generation is mostly due to simple I^2*R.
For a bipolar, say its case is rated to dissipate 10W. I=sqrt (10W/1ohm)=3.16A.
For a unipolar, I=4.47A. Larger... except torque per amp is half. So that brings us right to the official unipolar torque is 0.7x the bipolar torque. 29% less at the same point where the motor heat is at its max rating.
So also worthy of note is that the unipolar needs to deal in 41% higher currents to reach the maximum rating of the motor, and that is a problem since that linear drive is really bad for heat AND power supply load. However, even at that max, it's only going to achieve 29% of the torque.
pminmo 06-30-2009, 04:20 PM But the limitation comes from the type of coil usage and has nothing to do with drivers.
I politely disagree. Not all drivers are equal, for example the MK unidriver gets more power at higher rpm's than conventional pwm drivers by switching step modes at certain step speeds. It's based on the same technique that Gecko uses in the G203V and G540. In addition, different drivers have different max voltage breakdowns. The driver that max's out at 24V won't acheive the same top end speed as the one that max's out at 50V all other things being equal.
A motor with unipolar wires can be configured as uni or bi.
Again I disagree. How a motor can be wired depends on the coil wiring configuration. A 4 wire motor can only be run bipolar, a 5 wire motor can only be run unipolar. A six or 8 wire motor can be wired in different configurations for bipolar as well as one configuration of unipolar.
In unipolar, only one half of a phase coil is used at a time. That straight out gives half the torque per amp.
While I don't disagree with the half of the phase coil, your looking at pull out torque. As the motor rpm increases, motor inductance comes into play. The inductance of 6 wire motor running unipolar is a fourth of the inductance of the same motor wired bipolar series. Thus for the same power supply voltage as you go up in rpms, the unipolar configuration will actually have better torque than the bipolar series configuration.
But we're not done. Say a phase has a series resistance of 0.5ohms per a half-phase for uni usage and 1ohm when used in series as a bipolar.
The motor is ultimately rated by its case heat dissipation. The ability to dissipate case heat doesn't change with the wiring, but the heat generation is mostly due to simple I^2*R.
For a bipolar, say its case is rated to dissipate 10W. I=sqrt (10W/1ohm)=3.16A.
For a unipolar, I=4.47A. Larger... except torque per amp is half. So that brings us right to the official unipolar torque is 0.7x the bipolar torque. 29% less at the same point where the motor heat is at its max rating. I don't disagree, but your resistive points are more pertenent to pull out torque. For total overall motor performance you also have to consider the inductive characteristics of a motor.
So also worthy of note is that the unipolar needs to deal in 41% higher currents to reach the maximum rating of the motor, and that is a problem since that linear drive is really bad for heat AND power supply load. However, even at that max, it's only going to achieve 29% of the torque.
I don't disagree with the linear drive assesment, but they do work. And for some peoples configuration and tools it fits them. As you increase the need for motor power, the less applicable they are. For example, you don't need the same axis power for an engraver that you do for a machine center. The linistepper might work for the engraver, and definitely won't work for a machining center. As to the original question about applicability to a Taig, they would work, but in all likely hood the user would eventually wish they had something better.
MechanoMan 07-08-2009, 04:55 PM Well, I'm saying this: low-speed torque is for certain lower with this "linear" unipolar drive. There's no way around that. Thus there's no basis for any claims of "full torque" or running cooler. PWM eddy current heating should not be very significant.
Bottom line is that the question is asked for specifically the context of a Taig Mill or Lathe. And I think we both have the same answer: no, it will not likely perform satisfactorily even for a hobbyist, and the price does not justify it. The low speed AND high speed torque are compromised by the lower voltage limits and unipolar drive type, nor will the PIC's stepping solution work well. The cost does not include the large heatsink and casing which make the solution end up much more expensive that it initially appears.
noisillator 07-08-2009, 08:34 PM Just to update, I decided against the linear drivers when the author of the boards informed me that running a 22V supply would be way too much. At that point, I realized the power the driver could deliver to the motor would be limited, and the system as a whole would be less likely to be satisfactory for the Taig.
What I'm planning at this point is to use the HobbyCNC drivers with their 205 oz-in (unipolar) motors. That's more holding torque than the bipolar motors I was considering (166-185 oz-in), so I don't expect problems. On the off-chance I'm not happy with the system, those motors could be used with a Gecko to produce 285 oz-in in bipolar. So, I would lose the investment in the inexpensive drivers, but nothing else. Of course, my plans to purchase the HCNC board could still change if I run into problems fabricating the dampeners. I have the materials; it remains to be seen whether I have the skill. :)
pminmo 07-09-2009, 07:43 PM Look at the Keling 8 wire motors KL23H276-30-8A and save yourself $5 per motor.
noisillator 07-11-2009, 10:36 AM Look at the Keling 8 wire motors KL23H276-30-8A and save yourself $5 per motor.
Hmmm, just read a couple of your other posts - I'm gonna need to talk with you later about some PC boards I need to make. Simple stuff mostly, single sided glass boards for power supply components in my tube audio gear. I'm sure glad to see so many people exploiting the capabilities of these machines!
Jack
WB3U
escott76 07-12-2009, 10:34 AM Hmmm, just read a couple of your other posts - I'm gonna need to talk with you later about some PC boards I need to make. Simple stuff mostly, single sided glass boards for power supply components in my tube audio gear. I'm sure glad to see so many people exploiting the capabilities of these machines!
Jack
WB3U
If you are doing that kind of work, have a look at turret board construction as well. Very easy to do, and when building supplies like this, where you will eventually need to swap out the caps, it makes for a very friendly easy to repair circuit. Mouser has all kinds of turrets.
I've built several tube amps, as well as other tube gear with turret boards. It's a great way to go for the type of components typical in these types of circuits.
noisillator 07-16-2009, 02:03 PM If you are doing that kind of work, have a look at turret board construction as well. Very easy to do, and when building supplies like this, where you will eventually need to swap out the caps, it makes for a very friendly easy to repair circuit. Mouser has all kinds of turrets.
I've built several tube amps, as well as other tube gear with turret boards. It's a great way to go for the type of components typical in these types of circuits.
I was thinking about just buying turret boards from AES for places where they're applicable. I've seen the raw turrets at Mouser and other places, but wasn't sure how to press them in, and wasn't looking forward to drilling so many holes. I might reconsider though, given the capabilities of a CNC mill. About pcbs in general, many of the electrolytic caps I'd like to use are in pcb-mount styles. I need to acquire that capability.
Do you have photos online of any of the amps you've built?
escott76 07-16-2009, 02:33 PM I was thinking about just buying turret boards from AES for places where they're applicable. I've seen the raw turrets at Mouser and other places, but wasn't sure how to press them in, and wasn't looking forward to drilling so many holes. I might reconsider though, given the capabilities of a CNC mill. About pcbs in general, many of the electrolytic caps I'd like to use are in pcb-mount styles. I need to acquire that capability.
Do you have photos online of any of the amps you've built?
Here's a couple shots of one of the amps I built, based roughly on the Firefly design. The tools to install the turrets are available from mouser. You can use a drill press for easy staking (I suppose you could program the mill to press them in as well, it's not a lot of force). If you have a lathe you can easily make the staking tool. You drill a hole, and flare the end of the turret with the tool. Very very easy.
When you say "pcb mount style" what is it that you mean? If you mean surface mount, good luck with that. If they have leads, they can be mounted to turrets, radial or axial design not an issue. A dot of hot glue will hold them to the board. I know a lot of the cheaper caps can be the radial style, but if you can help it don't cheap out on the caps.
RomanLini 07-25-2009, 02:41 PM Hi. I'm the guy that designed the Linistepper linear stepper motor driver kit. :)
Firstly the Linistepper was never meant to compete with the big high-power drivers, or I would have designed it quite differently. The lini was designed for small stepper motors, typically Size23 unipolar motors of the older high inductance style (ie 5v 1Amp maybe 100 oz-in) that are commonly available surplus and very popular in many hobby small CNC applications.
Having said that, the Linistepper offers quite advanced performance provided it is used for the style of motors and lighter loads that it was designed for.
Nope. Total rubbish. The problem with motor inductance is that when steps change, the motor current will not rise to a new current instantly but ramp up with dI/dT=V/L. It'll eventually reach the target current and regulation will stop the current rise. But the dI/dT ramp-up time is the same for fast or slow steps, when the steps are fast the time spent in dI/dT becomes a significant part of the cycle and the average current for the whole time it spend in that step goes down. Nothing about a linear drive changes that.
...
I find your statement a little brash. at the time I designed the Linistepper for my personal hobby use I was already involved in months of stepper research, one of the goals being to find a way to reduce the primary resonance problem; the "weak point" in accelerating stepper motors often about 2 revs/sec where they have so much shaft resonant oscillation when you track the shaft angle with a rotary encoder the shaft is spending almost as much time going backwards as it is forwards! This resonance is typically countered by feeding the stepper with a high enough current so it doesn't break step synchronisation during its badly oscillating rotation. Then they suffer excess motor heating in all the other RPM bands where there is NO primary resonance issue and that level of current is not required. Some manufacturers change step modes around those RPMs AND use slightly less excess current in an attempt to outsmart the primary resonance during acceleration which has some success.
With the Linistepper I attacked the problem in a different fashion. The Linistepper uses two techniques; 1. to use smoothed linear current with a capacitor in the regulation circuit chosen to provide close to linear current sinewave into the motor near the peak resonance frequency. 2. The Lini uses a very unusual microstep value of 6th (or 18th) steps, which as a factor of "3" is "out of beat" with the even base-two nature of the 2 phase motor itself. This not only reduces excitation energy fed to the resonance but can even cause a dampening effect like trying to push a child on a swing at the wrong part of the swing cycle stops it swinging. This outperforms most microstepping drivers in smoothness as they use ustep values of 4ths, 8ths, 16ths etc, all likely to be resonant against the 2 phase motor.
So those two factors, the highly smoothed linear current and the small remaining current ripple being in 6th steps, tend to be very effective in breaking through the primary resonance although it is never truly eliminated being a property of the motor. But the result is that the Linistepper is very smooth AND needs less current overhead than other stepper drivers, especially chopper drivers that although being more heat efficient the chopping frequency itself can cause an excitation in motor resonances.
That is *why* the Linistepper "warps the laws of physics" (as you put it), it can use less voltage/current overhead and still be an effective driver, the reduction in resonant excitation energy produces better average shaft torque and load coupling for lower levels of power into the motor. Also being unipolar the motor is driven as half-windings, as you know a half winding has 4 times less inductance and again needs less current overhead than the same motor driven as bipolar, although of course unipolar provides less torque/watt.
Now I will be the first to admit that the Linistepper is just NOT suitable for large motors driving large heavy lathes and mills. But it can drive a smaller metal mill like a Sieg X2 or some of the 7x20 lathes with fine pitch leadscrews, and is IDEAL for hobby router systems etc where a 50 or 100 oz-in motor is strong enough. The Linistepper reduces resonance to give smoother routing of curves and less frame resonance which causes breakage of fine cutting tools as router designs have a lot of frame and gantry flex/bounce.
It's not really fair to compare apples to oranges, if you want huge torques and high speeds on a larger metal mill then go for 7amp motors and good bipolar drivers. If you want a really nice driver for small systems where current is *not everything* the Linistepper can do smooth stuff that other drivers chatter through.
In closing I want to say that the Linistepper has always been an open source project, it's a way of giving back to the community a special stepper driver that has it's own place in the hobby CNC community. It makes very little money for either myself or for James Newton who puts a lot of work into supporting the Lini webpage and its many happy users, and the real payback is that we get to give the world something it didn't have before; an inexpensive super-smooth linear stepper driver that is ideal for SOME uses.
noisillator 07-28-2009, 11:57 AM In closing I want to say that the Linistepper has always been an open source project, it's a way of giving back to the community a special stepper driver that has it's own place in the hobby CNC community. It makes very little money for either myself or for James Newton who puts a lot of work into supporting the Lini webpage and its many happy users, and the real payback is that we get to give the world something it didn't have before; an inexpensive super-smooth linear stepper driver that is ideal for SOME uses.
And that is exactly how I interpreted this driver after researching it for a week or so. Alas, I came to the conclusion that the design would be dicey for the size steppers I want to use in the Taig, and that a chopper-type driver would be more straightforward to apply in this situation. That was disappointing, because I do see several advantages otherwise to the linear design. For one thing, I would much rather see system heat generated in the driver than in the motors. Aluminum heatsinks are cheap, and they don't demagnetize. In any event, thanks for your hard work and for keeping this open source. It looks like an excellent design for many uses.
|
|