Usability of Encoder on DC Motor,


Page 1 of 2 12 LastLast
Results 1 to 20 of 26

Thread: Usability of Encoder on DC Motor,

  1. #1

    Default Usability of Encoder on DC Motor,

    Doing a retrofit of D&M 5 Lathe, adding Acorn CNC controller. It has the stock 90 vdc motor.

    Is it worth it to add a rotary encoder? Wondering if this will allow me to do threading?

    Also, any encoder recommendations would be appreciated.

    Thanks, Joey

    Similar Threads:
    Attached Thumbnails Attached Thumbnails Usability of Encoder on DC Motor,-20190917_060809-jpg  


  2. #2
    Member ninefinger's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    509
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    definitely need an encoder to do proper threading. Normally I'd say on the spindle not the motor but from the looks of it you have a toothed belt drive so slipping is not likely - and if it does it will be obvious!
    The CUI's AMT programmable encoders (models 102 and 103) have been working for me, but might be tricky to install on your setup - needs a small shaft to go over. Readily available from lots of sources (I use Digikey).
    Trying to reuse the slotted disk will probably be more trouble than its worth.



  3. #3
    Member
    Join Date
    May 2013
    Location
    Canada
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    I bought these from robotdigg for really cheap.
    https://www.robotdigg.com/product/13...per-revolution

    it comes with either a hollow or solid shaft. They also sell higher resolution encoders if needed.



  4. #4
    Member
    Join Date
    Mar 2017
    Location
    United States
    Posts
    411
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    The encoder will have to be on the shaft of the spindle and will need to have an Index signal. The index is what tells the controller where to start the threads.

    An encoder with an index and an A signal will work best. The index pulse tells the controller where the spindle zero degrees is and the A signal will produce a number of pulses for each revolution. The more pulses that A sends the more accurately the spindle RPM can be calculated by the controller. Thus making better threads.

    Here are several encoders.
    https://www.automationdirect.com/adc...otary_encoders



  5. #5
    Member
    Join Date
    Aug 2009
    Location
    USA
    Posts
    230
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    However, depending on the controller used, it could be possible to swamp the control with spindle pulses. Check your control's manual for a recommendation on the number of pulses per revolution of the spindle.



  6. #6

    Default Re: Usability of Encoder on DC Motor,

    Decided to go with this since I've read many people with Acorn boards have had success with it and acorn recommends 1000 ppr minimum

    https://www.automationdirect.com/adc.../trda-2e2500vd

    Acorn also requires 1:1 spindle to encoder ratio, with the limited space I'm working with and what looks to be an inability to mount a timing pulley directly to the spindle I'll essentially be duplicating the gearing ratio between the motor and spindle but it will turn the encoder instead.

    Ill be 3D printing all the pulleys and mounting brackets to get the alignment and tension correct then making some aluminum ones as a permanent solution.



  7. #7
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Quote Originally Posted by Joey2point0 View Post
    Doing a retrofit of D&M 5 Lathe, adding Acorn CNC controller. It has the stock 90 vdc motor.

    Is it worth it to add a rotary encoder? Wondering if this will allow me to do threading?

    Also, any encoder recommendations would be appreciated.

    Thanks, Joey
    The Encoder would be geared to the spindle the motor is unimportant

    Tt seems like you have a lot of replies but nobody though to see what is suitable for your control

    Attached Thumbnails Attached Thumbnails Usability of Encoder on DC Motor,-acorn-encoder-requirments-png  
    Mactec54


  8. #8
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Acorn also requires 1:1 spindle to encoder ratio
    If you have a 10 PPR encoder geared 1:10 to the spindle it has an encoder resolution of 100. If use this value, it should work. I guess what acorn means is that the resolution should be an integer number.

    I have made an 8 PPR encoder on the spindle back using 2 proximity switches, 8 magnets for the synchronization and 1 magnet for an index pulse. That works fine, even on my low torque variable speed lathes. The synchronization error overall is less than 0.05 mm and about 0.01 mm during the final shallow passes.

    If your spindle speed is reduced by gears, the spindle speed won't change very much during threading and you only need a few synchronization pulse to produce a good quality thread.



  9. #9
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Quote Originally Posted by hfjbuis View Post
    If you have a 10 PPR encoder geared 1:10 to the spindle it has an encoder resolution of 100. If use this value, it should work. I guess what acorn means is that the resolution should be an integer number.

    I have made an 8 PPR encoder on the spindle back using 2 proximity switches, 8 magnets for the synchronization and 1 magnet for an index pulse. That works fine, even on my low torque variable speed lathes. The synchronization error overall is less than 0.05 mm and about 0.01 mm during the final shallow passes.

    If your spindle speed is reduced by gears, the spindle speed won't change very much during threading and you only need a few synchronization pulse to produce a good quality thread.
    I'm not sure what your point is his Control has a requirement, and a low count Encoder like you describe is a waste of time, for anything to do with machining, the more PPR the reaction and smoothness is what counts

    Mactec54


  10. #10

    Default Re: Usability of Encoder on DC Motor,

    Here is what I plan on doing, the motor/encoder ratio is the same as the motor/spindle ratio. I don't see why this wouldn't work, though I'm open to suggestions as this is my first time doing anything of the sorts.

    PS for mocking up purposes everything is 3D printed from PLA but once i settle on a configuration ill be printing them solidly out of Nylon

    Attached Thumbnails Attached Thumbnails Usability of Encoder on DC Motor,-20190919_211218-jpg  


  11. #11
    Member
    Join Date
    Aug 2009
    Location
    USA
    Posts
    230
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    and a low count Encoder like you describe is a waste of time, for anything to do with machining, the more PPR the reaction and smoothness is what counts
    You would think that... (for that matter, I used to think that)... however, I've seen YouTube videos of people with converted mini-lathes doing threading with just one pulse per spindle revolution. They then put a standard nut on the threaded part; and it fit. I'm guessing that the spindle drive motor (and associated inertia) kept the RPM from deviating enough to ruin the part. It's remarkable what some people accomplish with rather modest means...

    However, if I had the computational grunt in the control's processor; I'd obviously prefer more pulses-per-revolution than just one, though... the theoretical point of diminishing returns will depend on the thread being cut, machine resolution & accuracy, and what type of algorithm the control is using to drive the motors (non-isochronous step & direction; or isochronous PID update cycle; and what kind of math it's using internally).





  12. #12
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    'm not sure what your point is his Control has a requirement, and a low count Encoder like you describe is a waste of time, for anything to do with machining, the more PPR the reaction and smoothness is what counts
    @mactec54 I am sorry if I wasn't clear
    • Not the gearing of the encoder is important but the final pulses per spindle revolution is what counts
    • By design, threads have a lot of clearance. Trying to get this few hundreds of a mm clearance within 0.001 mm accurate will not make a better thread.
    • Even so, according to the measured accuracy, even using this low resolution encoder, the result is accurate, not a waist of time but a learning experience.
    • I agree on the X or Z axis, a decent encoder resolution is a must because it is used for positioning.



    By the way, for accurate threading, meaning even the last winding (deceleration of the Z-axis) is in spec, I use a stepper on the spindle.



  13. #13

    Default Re: Usability of Encoder on DC Motor,

    You wiz machinists are loosing me, appreciate all the good info though. Certainly learning a lot through this process!



  14. #14
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Quote Originally Posted by Joey2point0 View Post
    Doing a retrofit of D&M 5 Lathe, adding Acorn CNC controller. It has the stock 90 vdc motor.

    Is it worth it to add a rotary encoder? Wondering if this will allow me to do threading?

    Also, any encoder recommendations would be appreciated.

    Thanks, Joey
    Yes that will work fine as long as you have the right Encoder, a lot seem to be using this Encoder which is on the low side but seems to work with the Acorn Control Omron E6B2-CWZ1X, they can be had for around $30 to $40

    Mactec54


  15. #15
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Quote Originally Posted by hfjbuis View Post
    @mactec54 I am sorry if I wasn't clear
    • Not the gearing of the encoder is important but the final pulses per spindle revolution is what counts
    • By design, threads have a lot of clearance. Trying to get this few hundreds of a mm clearance within 0.001 mm accurate will not make a better thread.
    • Even so, according to the measured accuracy, even using this low resolution encoder, the result is accurate, not a waist of time but a learning experience.
    • I agree on the X or Z axis, a decent encoder resolution is a must because it is used for positioning.



    By the way, for accurate threading, meaning even the last winding (deceleration of the Z-axis) is in spec, I use a stepper on the spindle.
    If you are only working at Hobby level then anything can work even just a single index pulse, it just the control he is using has a requirement which has to be met or it will not work

    Mactec54


  16. #16
    Member ninefinger's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    509
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Sounds like acorn have a problem with the index, in that can't be more than once per spindle rev, which would rule out fooling it with just the total pulses per spindle rev as calculated at the motor.
    Bummer, I would think thats something they could fix easily enough.
    You could still do it with an encoder on the motor, and an index pulse once per rev from the spindle, just more parts...



  17. #17
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Quote Originally Posted by ninefinger View Post
    Sounds like acorn have a problem with the index, in that can't be more than once per spindle rev, which would rule out fooling it with just the total pulses per spindle rev as calculated at the motor.
    Bummer, I would think thats something they could fix easily enough.
    You could still do it with an encoder on the motor, and an index pulse once per rev from the spindle, just more parts...
    There is nothing to fix

    Acorn does not have a problem with anything to do with Encoder input, the Encoder only needs to be on the spindle it can of cause be on both but is not needed unless you are using servos motors that need the own Encoder

    Mactec54


  18. #18

    Default Re: Usability of Encoder on DC Motor,

    With all this being said can someone tell me if the way I plan on setting this up genuinely wont work.

    The encoder is driven by the motor at the same rate as the spindle. (see the photo)

    Attached Thumbnails Attached Thumbnails Usability of Encoder on DC Motor,-20190921_082140-jpg  


  19. #19
    Member
    Join Date
    Mar 2015
    Location
    Netherlands
    Posts
    409
    Downloads
    1
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    I have looked at this acorn video (and some others) for connecting an encoder to the spindle. In this video, they require one encoder revolution for one spindle revolution and use an encoder with a lot of wires. On some forums there is a request for an index pulse, others talk about quadrature differential inputs. For me, as an electronics/software guy, I read the requirements as a quadrature encoder and index pulse and one index pulse per spindle revolution. This fulfills the "one encoder revolution for one spindle revolution"requirement and also a requirement for rigid tapping.

    Your encoder is a 5 Volt quadrature encoder (A/B outputs) with index pulse (Z output) . For me, this should work.

    You have to check the manual for your controller to be sure or ask acorn (centric)



  20. #20
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default Re: Usability of Encoder on DC Motor,

    Quote Originally Posted by hfjbuis View Post
    I have looked at this acorn video (and some others) for connecting an encoder to the spindle. In this video, they require one encoder revolution for one spindle revolution and use an encoder with a lot of wires. On some forums there is a request for an index pulse, others talk about quadrature differential inputs. For me, as an electronics/software guy, I read the requirements as a quadrature encoder and index pulse and one index pulse per spindle revolution. This fulfills the "one encoder revolution for one spindle revolution"requirement and also a requirement for rigid tapping.

    Your encoder is a 5 Volt quadrature encoder (A/B outputs) with index pulse (Z output) . For me, this should work.

    You have to check the manual for your controller to be sure or ask acorn (centric)
    If you have a reasonable Encoder and index pulse /Z pulse is not needed or used, it makes for a slow and jerk operation, the whole objective is to have a synchronized spindle and X axes to operate as smooth as possible

    An index pules / Z pulse are normally used for homing a machine, and does not perform that well for synchronizing 2 axes

    Mactec54


Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Usability of Encoder on DC Motor,

Usability of Encoder on DC Motor,