- Posts: 58
- Thank you received: 0
Adding Encoders to Stepper Motors
Please Log in to join the conversation.
i doubt that your switches are at fault , and the problem is more to do with machine rigidity and perhaps backlash .
i presume this is a wood router , so chances are your pushing it a bit hard
has this machine ballscrews or belts to drive , and is their any pully reduction to the stepper motors ?
dont forget that once you switch off a stepper driven system the steppers will move slightly due to which ever pole is nearest
the magnet at the time ..
once the machine is homed and tools are touched off to work , then see what the repeatability is , but dont switch the machne off .
and always check for movement in the same direction , so for example move say 1in , then setup to measure then move 2" and check , and then move another 2" as see if the distances are the same .
theirs a few things you can do , without spending money to get things better . but without knowing more about the build
i can only make general comments .
Please Log in to join the conversation.
tjones wrote: I have been doing some research on accurate homing on a cnc machine. I am using some cheap limit/home switches, so no surprise that the repeatability is +/- .015". From what I have read it sounds like what I need to do is add encoders to the stepper motors, so that it homes to a index location, resulting in a really accurate home.
Encoders are probably rather overkill just to get a more accurate home location.
You could look at adding a simple flag and opto sensor to the existing system, mounted on the motor. Then the switch tells you which motor revolution you are on and the flag/opto gives you the accurate position.
There are other options, such as a proximity sensor pointed at a motor coupling.
You can combine the two inputs in HAL.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
My machine is quite rigid and I have no detectable back lash. I have 3/4 aluminum plates to support and gantry and the rest of the framing is aluminum extrusion. I have USA ground ballscrews on all axis. The machine itself is very accurate and repeatable once I have everything zeroed out, after a home. I am wanting to make up some fixturing and need a little better then .015". Well X and Y aren't as big as a deal because most of my parts can float by that much inside the stock, I really want a reliable tool table I don't have to keep setting up all the time. My homing sequence does 60 ipm to the switch, backs off, and then goes at 1 ipm. I am making guitars, and I have checked to see if I am loosing steps pre and post operation (1:30 hr run time) by building a super rigid dial indicator, not the typical contraption for hold one. Again, I am not looking for mori seiki accuracey, just something closer to +/- .001". I like the flag/opto idea, I don't need a full encoder, just essentially the index signal from it.
Thanks
Please Log in to join the conversation.
you cant beat mechanics , get that right first , it will make life so much easier
in fact adding encoders when you know you have a backlash problem , will only make it worse
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
- LearningLinuxCNC
- Offline
- Elite Member
-
- Posts: 208
- Thank you received: 0
tjones, I agree with your previous statement and a flag-opto setup will be ideal to improve the accuracy of the homing procedure. Now that this discussion has taken place I am going to do the same to my router.
Please Log in to join the conversation.
Any ideas on where to get those flag opto sensors??
Please Log in to join the conversation.
tjones wrote: Any ideas on where to get those flag opto sensors??
I would expect to be making my own "flag" for the motor (probably a disc with a slot) and would probably get the sensor from RS.
Something like this: uk.rs-online.com/web/p/slotted-optical-switches/6666473/
Though a flying-lead variant might be more convenient: uk.rs-online.com/web/p/slotted-optical-switches/3219291/
Please Log in to join the conversation.
