Lathe spindle control - accuracy for threading
- phidauex
- Offline
- Junior Member
- Posts: 21
- Thank you received: 0
-Sam
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1766
- Thank you received: 292
this is easily achived , either by a single photo sensor or proximity sensor .
also check if the spindle encoder is quadrature output as this would give you 4 x 100 pulses .
but either way for threading it should be fine .
you will also need to bring the encoder into Emc as well as the speedcontroller , or direct the the encoder to Emc and then on an output pin to the speed controler , this will give Emc more control of the spindle
good luck in your conversion .
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
- Posts: 17871
- Thank you received: 4776
Threading and tapping basically electronically gear the motion axis with the spindle
so the spindle speed need only be as accurate as required to maintain proper cutting speeds.
Here's a nice example video/
Please Log in or Create an account to join the conversation.
- phidauex
- Offline
- Junior Member
- Posts: 21
- Thank you received: 0
That helps me understand it a bit better, the speed can vary a bit, but as long as EMC is getting the encoder output, it can still sync the axis motion. Is 100ppr + index pulse high enough resolution? That is fully 3.6 degrees between pulses, which seems good, but I'm lacking context with this type of machine.
-Sam
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
- Posts: 17871
- Thank you received: 4776
If you have quadrature and 400 PPR so much the better
also quadrature would be required for tapping
(since you need controlled motion in both directions)
Please Log in or Create an account to join the conversation.
- phidauex
- Offline
- Junior Member
- Posts: 21
- Thank you received: 0
Peter from Mesa thinks that this will still work with the encoder interface on the 7i76 card.
I suppose I could live with that for now, until I get around to finding a good replacement encoder that does full quadrature and index. Any recommendations for generic encoders that are easy to integrate with spindles?
-Sam
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23310
- Thank you received: 4858
That seems odd. Are there any gears in the headstock that you could use to give you quadrature?Did some probing around with the scope, and found that the encoder does have an index pulse, but does NOT have quadrature, just a single 100ppr output.
Because lathe spindles typically have a big hole in the middle, it is a bit of a challenge. I ended up making my own, and many others have done the same. A made a vaguely adequate one by wrapping some laser-printed stripes on a piece of paper round the spindle shaft, but when that started to peel off I made an aluminium disc one.Any recommendations for generic encoders that are easy to integrate with spindles?
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
- Posts: 25
- Thank you received: 761
If you have a keyed shaft or other means of positive location the below works well.Any recommendations for generic encoders that are easy to integrate with spindles?
The disc has 120 holes read by an optical switch and the single embedded magnet provides the index pulse via a hall effect switch.
The second pic shows a 60 hole disc I made first, but found 120 was better.
regards
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
- Posts: 25
- Thank you received: 761
Please Log in or Create an account to join the conversation.
- Harry_Y
- Offline
- Senior Member
- Posts: 66
- Thank you received: 0
Did some probing around with the scope, and found that the encoder does have an index pulse, but does NOT have quadrature, just a single 100ppr output. I suppose this means that threading will still be possible (though less accurately?), but not tapping.
Peter from Mesa thinks that this will still work with the encoder interface on the 7i76 card.
I suppose I could live with that for now, until I get around to finding a good replacement encoder that does full quadrature and index. Any recommendations for generic encoders that are easy to integrate with spindles?
-Sam
I got one of these:
www.ebay.com/itm/RENCO-MODULAR-ENCODER-O...&hash=item3c9aed3e71
In testing it looks good, I am in the process of mounting it to my lathe
100 pulses per rev
A, B, Index, Inverse A, B, Index
5v
Mounts onto a 3/8 shaft
From what I could find it looks good to
6,000 RPM and life or 2 billion revolutions
Please Log in or Create an account to join the conversation.