TrevorG | 05/09/2014 15:32:26 |
![]() 34 forum posts 10 photos | Converting my ancient CVA mill to CNC requires driving a very heavy knee. As replacing the leadscrew with a ballscrew would be extemely difficult I have kept the ACME one. My initial attempt involved buying the largest 34 size stepper (11.2Nm) I could find and driving directly via a solid coupling. At speeds between 60 & 240 mm/min it works fine. However, when I reduce the speed to 0.6 or 6 mm/min I get problems the drive begins jumping and goes nowhere. I am not sure what the cause of the problem is. Clearly I am going to need some changes but I would like to understand what is going on first. Any ideas? I am aware that the solid coupling is part of the problem as I can feel that the load varies a little throughout a revolution. However, replacing with a flexible coupling would make the stepper stick out even further than it does already and I don't think it would solve the problem completely. My thoughts at the moment involve using a faster stepper via a toothed belt drive giving a reduction of 3 to 4 times. There are a lot of options here and I could easily waste a lot of time and money on the wrong one.Thoughts? Trevor
|
Andrew Johnston | 05/09/2014 15:50:46 |
![]() 7061 forum posts 719 photos | Most likely due to static friction versus dynamic friction. In which case the Acme leadscrew and the highly loaded dovetails are the issue. Changing the drive arrangements would simply be hiding the real problem. Andrew |
Ian P | 05/09/2014 16:40:26 |
![]() 2747 forum posts 123 photos | The high torsional rigidity of your the drive line is the cause of the missed steps and is one of the factors that needs to be taken into account with steppers. Stepper motors (whether in single or micro step mode) move in a series of jumps. Regardless of the size of the jump (or step) the rotor tries to move instantaneously from A to B as the magnetic field changes. The magnetic field does change almost instantaneously and the rotor has to accelerate and decelerate to move from step to step. The laws of physics dictate that it cant actually do that. If the rotor is rigidly linked to a significant mass it just cannot accelerate quick enough to get moving. Many home brew CNC systems have a toothed belt drive so the motor is only carrying the weight/mass of the pulley. Even though the belt is virtually backlash free it has enough 'give' to allow the stepper rotor to start moving at each step. Without some compliance in the drive between motor and load the easy way to ensure consistent performance is to use a bigger motor. (The sledgehammer to crack a nut technique) Without knowing more about your setup I can only guess, but if your motor is the 200 steps/rev type does that give you enough resolution? If you incorporate a belt reduction not only do you get an increase in torque but very often you can make a much more compact arrangement as you are not stuck with the length of the motor protruding. Ian P
|
Muzzer | 05/09/2014 17:24:28 |
![]() 2904 forum posts 448 photos | I wouldn't agree with Ian's explanation of stepper motor operation. Like any synchronous machine, the torque generated is proportional to the angular difference between the rotor and the magnetic field. When you step the drive, the field rotates 1/200 of a turn ie 1.8 degrees. If there is no resistance, the rotor will follow the full angle. If there is no movement, the rotor will generate a significant torque, hopefully somewhere close to the alleged "stall torque". Sounds as if you simply don't have enough torque. Microsteps increase the number of steps but (if driven by a half decent driver) don't significantly decrease (or increase) the torque the motor can generate, despite a lot of misinformation to the contrary. Although it isn't usually obvious, the speed-torque characteristic of most steppers looks rather like a constant power curve, so changing ratio from direct drive won't necessarily change the maximum speed you could drive the leadscrew at. Indeed, by gearing the motor down by 2 or 3 to 1, you would be able to increase the stall torque at the leadscrew and probably still get the same feed rate under load. As Andrew says, you are probably suffering from static friction (stiction?). This is probably one of the main reasons people change to ballscrews, apart from the backlash improvement. Anyway, in terms of solutions, 2 come to mind:
Murray Edited By Muzzer on 05/09/2014 17:28:25 |
Ian P | 05/09/2014 20:07:39 |
![]() 2747 forum posts 123 photos | Murray My description is based on my knowledge of stepper motors learned from reading about them rather than using them so is purely from memory. You are completely correct in stating that when energised the rotor will develop significant torque. The torque is greatest when the fixed and moving pole 'tips' are aligned (in each step position) though it reduces slightly in between step positions. Some stepper drive circuits use clever circuitry to boost the beginning part of each pulse in order to help overcome the load of moving the rotor from rest, which it is (sort of) between every step. Regardless of anything else the electric current flowing through the windings in order to move it to the next step, the electrical signal is only present for a finite time (for each step). If for some reason the rotor has not moved in response to that particular pulse its too late do do anything about it because its an open loop system. Syncronous motors, which steppers are a type of, only run or move at the speed dictated by the frequency of the signal and nothing else. They don't accelerate in the normal sense. I did once watch a demonstration of a stepper motor that would not move even though it was not coupled to any load, it did however have a flywheel on its shaft. With the flywheel removed, the motor worked perfectly. I think Trevor problem would best be solved by incorporating a reduction stage. Ian P |
Les Jones 1 | 05/09/2014 21:25:11 |
2292 forum posts 159 photos | Hi Trevor, Les. |
Neil Wyatt | 05/09/2014 21:54:21 |
![]() 19226 forum posts 749 photos 86 articles | I have no practical experience of driving steppers, but some genuine experts I have known claim that driving them is the darkest of electronic's dark arts. If a single pulse is not enough to move the knee on its own, then you will always lose at least one step at the start of any continuous motion. Such a large mass will take time to accelerate. Sophisticated drivers ramp up the pulse speed to allow for this, to avoid lost steps. Obviously if you were just using this as a 'power feed' rather than CNC then it would be unimportant. My instinct would be to balance the load as much as possible - with such a big mill this won't compromise rigidity, and it will reduce leadscrew/nut wear as well. Bear in mind that a simple weight on a pulley give a virtually constant load, few spring systems will. Neil |
Neil Wyatt | 05/09/2014 21:54:26 |
![]() 19226 forum posts 749 photos 86 articles | I have no practical experience of driving steppers, but some genuine experts I have known claim that driving them is the darkest of electronic's dark arts. If a single pulse is not enough to move the knee on its own, then you will always lose at least one step at the start of any continuous motion. Such a large mass will take time to accelerate. Sophisticated drivers ramp up the pulse speed to allow for this, to avoid lost steps. Obviously if you were just using this as a 'power feed' rather than CNC then it would be unimportant. My instinct would be to balance the load as much as possible - with such a big mill this won't compromise rigidity, and it will reduce leadscrew/nut wear as well. Bear in mind that a simple weight on a pulley give a virtually constant load, few spring systems will. Neil |
Ian P | 05/09/2014 22:03:22 |
![]() 2747 forum posts 123 photos | Les My explanation was gross simplification of how steppers are driven. There are umpteen methods and strategies used to get the desired performance for a particular application, mainly what I was trying to convey is the need to make an allowance for inertia, I had mentioned that I had no experience of using stepper motor, by coincidence however, today I finished (well almost) putting together Steve Ward's indexer and I have it up an running driving a small rotary table.Most of the parts were from my scrapbox (I bought the PIC and PCB from J.S.) and the only part (I need?) to purchase is the 10MHz crystal. I have temporarily put in an 8MHz one. Am I right in assuming that this will have no effect on the actual number of steps and that the only thing that will be affected is the rotation speeds? Ian p
|
TrevorG | 05/09/2014 22:15:45 |
![]() 34 forum posts 10 photos | Thanks for the replies. Ians explanation fits my observations for a motor that is not microstepping. Once I add in microstepping the picture gets more confusing. Possibly because microstepping is implemeted in different ways in the publications I have read. It seems likely that the microstepping technique used by each controller manufacturer varies and needless to say they do not seem keen to explain how they do things. However the objective seems to be to reduce the torque ripple throughout the full step something that apparently they do with varying success. For the record I am using a 200step motor with 8 microsteps. I tried cutting down to 2 microsteps but it made no difference. The question is why does the motor run correctly if the step rate is fast enough. Can't be just stiction because the movement would never start. Possibly torque is sufficient to cause the rotor to overshoot and then pull back. This would fit well with the idea that inertial mass causes the problem. But then the problem would be changed by altering the limit current on the controller and in a test I just carried out increasing the current lowers the speed at which the problem goes way. If it is an overshoot problem I would expect an increase of current to make things worse. Can't argue with Neil about this subject being an electronics dark art. Especially when running the motor at the higher speed does NOT lose steps at start up. It was my first thought and I checked! I must admit there is something about the idea of balancing the load with a weight strung out the back that makes it seem like a bodge. I am very keen to lift the knee so I am not ready to settle for just moving the quill. Trevor
Edited By TrevorG on 05/09/2014 22:25:58 |
Michael Gilligan | 05/09/2014 22:43:23 |
![]() 23121 forum posts 1360 photos | Trevor, Just a thought ... It might be worth using a worm drive instead of toothed belts. ... easy to get a big reduction ratio in a compact space. MichaelG. |
Les Jones 1 | 05/09/2014 23:00:40 |
2292 forum posts 159 photos | Hi Ian, Hi Neil, Les. Edited By Les Jones 1 on 05/09/2014 23:07:43 |
Andrew Johnston | 05/09/2014 23:10:58 |
![]() 7061 forum posts 719 photos | Posted by TrevorG on 05/09/2014 22:15:45:
I must admit there is something about the idea of balancing the load with a weight strung out the back that makes it seem like a bodge. I'd class a counterweight as sound engineering; after all just about every lift and tower crane in the world has one. The bodge is mucking about with motors, belts and gearboxes, which don't address what is probably the real issue, but merely paper over it. Never mind stepper motors; for a real black art look at RF, especially when you get into the GHz range. Regards, Andrew |
TrevorG | 05/09/2014 23:32:33 |
![]() 34 forum posts 10 photos | Hi Les, The Knee does move the exact distance. Which is how I determined that no steps were being lost. The effect of mass of the balance weight is a littlemore complex. While it is true that the mass of theoverall system has been increased one side of the system is lfted by the stepper while the other side is pulled down by gravity thereby reducing the effective mass experienced by the stepper. The effective mas will of course change with acceleration. If only everything could be solved with a 10Mhz Xtal I have 10 in a draw. Trevor
|
Andrew Johnston | 05/09/2014 23:35:54 |
![]() 7061 forum posts 719 photos | Les: I'm not sure that the increase in mass is significant, as the accelerations are pretty low. Let's assume we want to move the knee (say 100kg) at 250mm/min and we want to get there in one second, from rest. A velocity of 250mm/min is equivalent to 0.004167m/s. From Newtonian mechanics we know that: v = u +at The initial velocity u is zero so we get a = v/t So the required acceleration is 0.004167m/s/s, or about 0.0004g. We also know that F=ma, so that gives F=0.4166N Of course the above analysis ignores the effect of friction, of whatever sort, and gravity. Andrew PS: If I've made a mistake I blame the bottle of home brew red wine that I'm working my through, home grown grapes too. |
TrevorG | 05/09/2014 23:53:06 |
![]() 34 forum posts 10 photos | Andrew, Your maths/physics is OK. However, the assumptions... acceleration is 1 step not 1 sec so multiply by 250. As for the mass of the knee not sure of the actual weight but I suspect 100kg is rather low. Nothing on my mill is light! It would be nice to accelerate more slowly unfortunately this involves running at low speeds which gets us back to square 1 Trevor |
Muzzer | 06/09/2014 02:21:13 |
![]() 2904 forum posts 448 photos | The mass doesn't change with acceleration unless there is some form of warp in the space time continuum! And the addition of a counterweight will increase the total mass but reduce the static force the motor has to overcome to raise the table. That would be an improvement. Andrew's sums are correct, as would befit a Cambridge Engineering PhD. Rather than trying to get your head around the physics, it's probably best just to get some stuff connected up and try it out! It's a simple matter to accelerate a stepper motor. You start by sending it a low frequency pulse train (= slow speed) and steadily ramp up the frequency to a higher frequency (= high speed). You really aren't moving the table in sharp jerks - the inertia of the rotor and leadscrew ensures that the speed of rotation is reasonably smooth. The motor applies a force to the mass which results in an acceleration. Or not if there is not enough force to overcome the static and dynamic forces. Murray |
John Haine | 06/09/2014 08:41:59 |
5563 forum posts 322 photos | Trevor, could we have some more information please? Your observation that everything seems to work with high feed rate with no missed steps seems inconsistent with the knee not moving at all at low rates. A high rate has to start somewhere after all!
with more evidence it might be easier to make suggestions. John. |
Les Jones 1 | 06/09/2014 08:44:28 |
2292 forum posts 159 photos | When I made the comment about the increase in effective mass I was thinking about its effect on one step of the stepper motor. Trevor, I do not agree that half the mass is moving up and half is moving down changes the force required to accelerate it at a given rate. Murray, The problem does not seem to be related to ramping up the speed as the problem does not occur at higher speeds. As the movement at higher speeds must start with a single step we need to know what is different in the way the stepper is driven between high speed (When it works) and low speed (When it does not work.) NOTE Trevor has confirmed that it does not miss a single step at high speed. I think it would be worth measuring the torque required to turn the knee leadscrew to see how this compares with the rating of the stepper. I also think trying to see what happens when the driver is given a single step pulse could be helpful. (Measure the coil current and note if it gets reduced from its initial value after a time. This will not be easy as the coils will be driven with a PWM signal. This would be need to be done with an oscilloscope to look at the duty cycle of the PWM drive to the coils.) Just out of interest what are your thoughts on my comment that the effective mass would be doubled no matter what the ratio of the pulley system was. ie If half the mass was used in the counterbalance then it would move twice the distance and hence move at twice the velocity. Les. |
Michael Gilligan | 06/09/2014 08:47:53 |
![]() 23121 forum posts 1360 photos | Posted by TrevorG on 05/09/2014 23:53:06:
It would be nice to accelerate more slowly unfortunately this involves running at low speeds which gets us back to square 1 . ... Which is why I mentioned the possibility of using a worm gearbox. MichaelG. |
Please login to post a reply.
Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!
Sign up to our newsletter and get a free digital issue.
You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy
You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.
Click THIS LINK for full contact details.
For subscription issues please see THIS LINK.