Hello Guest it is April 19, 2024, 06:43:56 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - stirling

1801
General Mach Discussion / Re: Stepper motor setup questions
« on: April 25, 2008, 05:47:59 AM »
Jim is absolutely right that this comes up time and again. However the reason for the problem is often down to a misunderstanding of which angle is being referred to in "Stop CV on angles >". In the UG it describes it as being the angle BETWEEN the paths - sadly this is plain wrong.

The whole idea of being able to "Stop CV on angles >" is to stop CV blending "sharp corners" whilst still allowing it to blend "gentle corners". If it was the angle BETWEEN the paths then this would mean you would blend sharp corners but "exact stop" shallow ones - which is clearly completely the wrong way round.

The angle in question actually refers to the change in heading. So if you want to maintain the sharpness of corners where the angle BETWEEN them IS LESS THAN 45 degrees then you set "Stop CV on angles >" to 135 degrees. For example - you're heading east then change direction to north west - the angle BETWEEN your paths is 45 degrees but your change in heading is 135 degrees - make sense?

Try this:

First go to the settings screen and turn both CV Distance and CV Feedrate options off. (They just confuse the issue)
Then go to the general config menu screen and set "CV Distance tolerance" to its max of 180 and "Stop CV on angles >" to 180 also.

This tells Mach to use CV all the time. Result - smooth as a baby's bum.

1802
General Mach Discussion / Re: How to wire steppers???
« on: April 15, 2008, 08:50:02 AM »
LOL Ian

May I suggest if you have the time to write a summary of the conclusions you have come to so far.

Ah time, there's the rub - however maybe it is time to conclude this thread and continue elsewhere, I think between us we've long ago answered the original question and I think we're moving into areas well beyond its intended scope.

From my understanding of steppers it is the voltage that determines the speed and the current that determines the torque and I suppose most importantly the way the motors are driven has no relation to V=IR, is this correct?

Kind of, but not quite so simple - as Ian says below.

What I was really trying to say is this: In a real world motor, torque stays roughly constant from 0 RPM up to several hundred RPM and from there it drops inversly with speed. A caveat to this is that below about 500 rpm, torque is affected by patches of resonance, but let's ignore that for the moment. Suppose you have a system that is running with the rated current of 5 Amps, at 12 Volts. Let's also suppose that your system has the torque for the job but has limited top speed in that it stalls at 1000 rpm. If you now double the voltage to 24 Volts - you'll find that you've upped your top speed to around 2000 rpm. This is of course in an ideal system and in reality you may not quite get that increase but you get the idea.

The biggy to notice however is that you have not INCREASED the TORQUE of your motor because you havn't increased the current - it will still not go above 5 Amps. You've just increased the speed at which the torque is available. I suppose in effect you've stretched the curve.

With regard to Ohms Law - we have to be carefull - it's not that it has no relation - we just have to be aware of when it's appropriate and when it isn't. One thing I think that leads to confusion is that  I've seen stepper motors variously described as being DC motors and as AC motors. I think I'm right in saying - well it depends on how they're driven. One thing is for sure though - they are not constant DC motors and Ohms law (as far as I'm aware) only "works" for constant DC. (Constant DC is not to be confused with limited DC)

I am dealing with AC Servos at the moment and from my understanding they have a constant for Torque/Amps and Voltage/RPM and the drive is able to supply the current and voltage independant of each other, this means that I can get max torque no matter what RPM the motor is turning. Obviously it is different from steppers but the principle of voltage and current being independat of each other seems to be similar, and the relation of Voltage to RPM and Current to Torque seems to be similar.
Maybe my understanding of both steppers and servos is totally wrong so I have already donned my hard hat and have taken cover :)

Sorry Hood - I have no knowlege or experience with servos but it certainly sounds from what you've said that there are or may be similarities.

Ian and Hood,

just to be clear we're on the same page, we're talking 2 phase motors - yes?

Yes they all seem to be two phase but can be multipole ie more than 4 windings.

I found this website :-

http://www.allaboutcircuits.com/vol_2/chpt_13/5.html

Scroll down to see the full story.

Thanks Ian - interesting read - one of the best I've seen particularly from the construction point of view. But oh boy, where do I start? - Oh well, here goes nothing as they say...

I think it's important to start by saying I'm not disagreeing with anything it says. Rather, I'll say it's allways difficult to be absolutely in synch when we use words to describe things. We use a word and assume the other person thinks the same as we intend them to think - but this isn't allways the case sadly.

I'll put it like this: Is "poles" the best word to use or would "notches" be better or maybe worse? Is "coils" the best word or would "windings" be better or maybe worse?

The "notches" as I'd call them here are what gives a motor its resolution. The "poles" (as in magnetic poles) as I'd call them are the bits (as I know you know) that "intensify" the magnetism when you energise the "coils" or "windings" and so ultimately give it it's number of phases - in a 200 step motor 100 of these would be energised at a time - or is it 50? I lose track. Is one piece of wire wound (or coiled) round a stick a coil or a winding? Is that same piece of wire coiled (or wound) round one stick and then off to another stick, one or two coils (or windings)? In short I would still describe this as a 4 pole motor and only introduce the word "notches" if we were discussing resolution. Maybe I'm wrong, maybe I'm using the wrong words, maybe I'm just really bad at explaining what I mean. ( I know one thing - I'm going to give it a rest after this because this is beginning to do my head in).

The reason we're discussing all this b*ll*cks is because of where we started - remember "rated values" and how I said the interwound coils (or inter-coiled windings) have a heating effect on each other? Well doesn't this article confirm that? In fact doesn't it confirm it with a vengence when it says (near the bottom)...

"The center tap is achieved by a bifilar winding, a pair of wires wound physically in parallel, but wired in series. The north-south poles of a phase swap polarity when the phase drive current is reversed."

Granted, this is for a six wire (unipolar driven) motor, but an eight wire motor is just where the centre tap is brought out to the outside in two wires instead of one.

Yes, more voltage gives more top speed but if the motor does not develop enough torque to overcome detent torque and friction, you will never get there. So more amps to get enough torque.
Yes, heating effects, from eddy current losses and copper losses, limit how many amps you can feed the motor or it will get too hot and burn out the insulation.

We both agree that heating is the issue, but we were talking about our different conclusions regards the rated values. If you could treat a parallel wired pair of coils as totally separate entities then you would be correct with your current calculations but the data sheets suggest otherwise and I'm sorry that seems to have been forgotten. Anyway, I've done my best to explain why I think this is - again maybe I'm wrong. At the very least the fact that the root2 rule and the I^2.R calculation works every time in complying with the datasheets suggests to me at least that it's no coincidence or momentary lapse of reason that the rated values are as they are.

Something for you to think about. A stepper turning at 1000 rpm is being fed by an 8 microstep driver at the rate of 200 x 8 x 1000 = 1,600,000 square wave pulses per minute i.e. about 27kHz.

LOL - like we havn't given ourselves enough to think about already. But for the fun of it I'll play.

You could improve your motor by having 2 rather than one phase - 13.5KHz.
You could half your frequency by swinging positive/negative (bi-polar driver) 7.75KHz.
You're said you're using microstepping so your signal is nearer a sine wave than a square wave, but more to the point, half of that sine wave spans a whole step and is what actually manifests the microsteps - 3.87Khz.

And now nurse is coming with the jacket with no sleeves, so I have to hide.  But before I go - group hug anyone? ;D

EDIT: Yes I've just reread this and "notches" is probably no good either because then we'll become confused as to whether we're talking about the notches on the rotor or the stator - poles it is - I give up!

Ian

1803
General Mach Discussion / Re: How to wire steppers???
« on: April 14, 2008, 09:54:50 AM »
I don't think we are going to resolve this unless the manufacturers give figures for their motors - all from the same Hymnbook.

I don't know what to say Jim. I've tried to explain the best I can HOW and WHY you calculate the rated values. I'm not sure I can improve on what I've already said.

If I can run a motor at different voltages - Routouts sheet with the driver say it is the normal to drive motors with 3 or 4 times the rated voltage,

Maybe with their drives - I don't know - but as a general rule this is a pretty meaningless statement. The torque curves for the motors I use are generally calculated at around 8 times. Gecko drives recommend a minimum of 4 and a max of 25.

then how are we ever to know the current they will draw (at that voltage).

Again I'm not sure what to say. I've tried to explain that motors "draw" the current made available to them by the driver. Voltage is effectively independant of current in a dynamic system. That is the whole point of how motors and drives work together.


I noted the figure given for the motors above and the current drawn by the various different wirings was in the ratio Unipolar 4, Bipolar series 3, bipolar parrallel 6 - but in quoting the current, nowhere was an appropriate voltage quoted - except one, where the voltages were different for each method of wiring.

Again.... These are STATIC RATED values.

I think it is going to be a matter of intuitive guesswork - and a continuous check on the warmth generated to see if your setting have any adverse effect. Yes - I must admit I try and stay conservative - I am only a hobby/part time pro - I build maybe two engines a year - so I do not need to try and get every last ounce from the machine.

???

It would still be nice to know though - and to be able to advise others - what is the best way to wire steppers for the quickest, reliable performance

???

Jim - do you remember Chioticones animated avatar where the guy beats his head on the keyboard until he's a bloody mess - well that's me now...

1804
General Mach Discussion / Re: How to wire steppers???
« on: April 14, 2008, 06:47:21 AM »
On diagrams I have seen of stepper motors, there have always been four magnets
Then you're not looking at 2 phase motors.

1805
General Mach Discussion / Re: How to wire steppers???
« on: April 14, 2008, 05:12:32 AM »
Hi Ian EDIT: posted this before I realized you'd posted again. :)

just to be clear we're on the same page, we're talking 2 phase motors - yes?

So, yes - 4 poles, 2 phases (each and every magnet, electro or otherwise has two poles - yes?). A four wire motor has 2 coils - 1 per phase, an 8 wire motor has 4 coils - 2 per phase. You don't need to take a motor apart to consider what would happen if the coils of a phase were in different physical locations. Apart from anything else - how would you pack them in to the available space optimally?. Will try to find a diagram.

Meanwhile, here's some datasheets for motors where the manufacturer has been good enough to give the ratings for each wiring option so we don't have to work them out. If what I'm saying about heating is wrong - why else are the rated values as they are?

http://www.kelinginc.net/NEMA23Motor.html - some are 4 some are 8 - for our purposes check the 8s. Obviously 4 wire motors only have one wiring option.

PS The reason I suspect Jim's motors never get particularly warm is that with the voltage he's using I doubt if they're ever conducting the excess current for long enough. When Jim was running his motors in serial he was also over currenting them by around 100% and they didn't get warm then. What this shows (to me anyway) is that Jim has never been running his system optimally and until he ups the voltage he never will be. The original question concerned getting more speed - voltage not current, gives speed.

Ian




1806
General Mach Discussion / Re: big problem mach3 cnc
« on: April 13, 2008, 01:57:05 PM »
Hi Chip - oops - missed that, sorry - too busy looking at piccys and not reading ;D.

Ian

A belated - thanks Chip.

1807
General Mach Discussion / Re: big problem mach3 cnc
« on: April 13, 2008, 12:41:44 PM »
Hi Jayls

Hi Chip - I think the USB is only being used on this system for +5V logic supply. According to the piccies Jayls hasn't connected the parallel port.

Hi Jayls

employez tous les deux, LPT1 et USB

USB c'est pour +5V

LPT1 c'est pour commande les moteurs

Ian

1808
General Mach Discussion / Re: How to wire steppers???
« on: April 13, 2008, 11:49:16 AM »
For the Gecko - set the output control resistor for 5 Amps (2.5 + 2.5)

LOL - I'll come clean - up until a short while ago I'd have agreed with you Ian.

As I think we agree, the rated values are specified such that we don't overheat a coil.

The problem comes about because we all get too hung up on the purely electrical side of things and we forget that motors are physical beasts - like when you drop one on your foot it hurts. ;D

The two coils that make up a single phase are not two isolated coils. They are inter-wound together forming one physical mass of copper. Each winding is not just heated by the current induced in it, it's heated by its partner as well. Because heating is a function of power (and hence why we buy 250W kettles and not 10 Amp 2.5 Ohm kettles or whatever), the total power and thus heating of any wiring combination is arrived at by summing the power of the individual windings that make up that phase and not by summing the currents.

Ian

1809
General Mach Discussion / Re: How to wire steppers???
« on: April 13, 2008, 05:29:36 AM »
Ian or Ian - sorry are you saying from coils in parrallel I should settle at 3.5amp - not 5amp.
If you don't want to exceed the manufacturer's rated values, yes.

Certainly where I went wrong was - when the motors said they were rated at 2.5amp at 7.5 volts - per coil - I then opted for 2.5amp drives. There are four coils of course - two pairs - and it follows that you need more current capability.
It depends on the application, you might decide that series winding is advantageous, in which case a 1.77A driver would do it. I'm currently working through this very process for a system I'm designing and at the moment it's looking like serial may be the way to go - but I need to learn more first. Like Ian R say's - it's a long and steep old learning curve.

I better stay as I am for the moment (otherwise the financial director will complain) - I have the two motors using only 2 coils on the y and z - using their original drives upped to the Max at 2.5amps.
post #28?

1810
General Mach Discussion / Re: Is there a simple 3-D program I can use
« on: April 12, 2008, 11:40:52 AM »
Rhino is a very good 3D package but now your up to $4500 for 3D and 4TH axis. that a lot ofmoney if your just doing this for a hobby. I am looking at getting Rhino as it will handle both point and mesh files. You can get Bobcad V21 for a few hundred bucks and will do a nice job on 2 1/2 and 3D. But it is no Rhino
Hi Lakeside - That seems a bit on the  high side for Rhino + a 4 axis CAM - which CAM are you looking at?