587,495 active members*
3,108 visitors online*
Register for free
Login
Results 1 to 12 of 12
  1. #1
    Join Date
    Jun 2012
    Posts
    266

    Encoder on stepper

    I tried to search for info on this but I wasn't too successful. Sorry If Im posting a thread that was alread discussed. Possibly someone could link me to some info regarding this!

    Anyhow.... Im in the process of designing my first CNC build. Ive been working on ideas for about 2 years lol.. Needless to say I am a bit obsesive compulsive when it comes to things lol.

    My question is stepper motors with encoders. As a cost issue going servo may be out of the question. But I have read about hybrid steppers and steppers with encoders. Some info I have read was they run a lot smoother, quieter and have better torque etc. Is this true? Can I buy a stepper motor and outfit it with an encoder and supply it to the correct controller? Am I wasting my time with this? Is there any benefits?

  2. #2
    Join Date
    Jan 2005
    Posts
    1695
    There are no low cost controllers capable of full speed closed loop control of a stepper.

  3. #3
    Join Date
    Mar 2008
    Posts
    42
    skubajon,
    Have you looked at Linuxcnc?
    http://wiki.linuxcnc.org/cgi-bin/wiki.pl

    Regards!
    Fernando

  4. #4
    Join Date
    Jun 2012
    Posts
    266
    I did just now. You talking about the article where it will stop the process if it hits a certain amount of error?

    Anyone have any information on closed loop controls? I couldn't find much anywhere

  5. #5
    Join Date
    Dec 2003
    Posts
    24220
    I think you may have a problem finding a PID closed loop drive for steppers?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  6. #6
    Join Date
    Jan 2005
    Posts
    1943
    The problem with closed loop control with steppers is that it is useless for anything more that halting the program if a preset position error is exceeded. The reason for this is because if you have a position error with a stepper it means that you have lost steps. If you have lost steps, you have exceeded the torque capability of the motor. There isn't a way to increase torque to get back to where you should be with steppers other than slow down. Steppers have max torque at 0 rpm and the torque decreases as RPM increases. A servo has pretty much constant torque across its rpm range. Also, the servo controller can provide more power to the servo for short periods if required thereby boosting power (reserve power).

    Having said that, a properly set up stepper system can work very well and very reliably. In addition, adding the encoders to monitor for lost steps can provide piece of mind that the machine is performing as desired. I myself am working on my second stepper based machine and both work very well. I also intend to implement the encoders on the steppers as an error monitoring system, not a closed loop system. I personally feel that this is a good compromise. I am in no rush however to implement this because as said, a properly set up stepper system can be very reliable even without any type of monitoring or feedback.

    My 2 cents

  7. #7
    Join Date
    Jun 2012
    Posts
    266
    After doing a little more research I feel that you are all right lol. Thats why I love this site.

    My next thing would be stepper size. I plan on doing some aluminum routing with this machine. It will be a quite heavy machine being contructed out of steel. Any motor size recommendations. I estimate that my gantry will be close to 100 lbs

    Also this will be running rack and pinion. Very similar to cncrouterparts setup with a 3:1 ratio

  8. #8
    Join Date
    Sep 2006
    Posts
    607
    [ame=http://www.youtube.com/watch?v=ZMZdCcLQc4M]Leadshine Closed loop stepper - YouTube[/ame]

  9. #9
    Join Date
    Sep 2011
    Posts
    474

    Someone should have dont this ages ago

    I mean, how hard can it be?
    - Controller sends signal to driver to move 20,000 steps
    - Encoder sends feedback that 19,500 steps were achieved
    - Controller responds by commanding the stepper to perform 500 additional steps.

    And this could all happen at kernal speed so thousands of times a second, constantly correcting missed steps. Cheap steppers instantly become much more robust, reliable, and accurate thanks to a cheap 200 line encoder and a bit of software.

    But wait, it could bet better! The magnetic Iguaging DRO packages that many of us have on our X2s' could become real-time linear encoders, ensuring accurate (to the extent the DRO's can perform) placement and even velocity.

    Someone give me some money and I'll begin hiring the people to make this happen immediately.

  10. #10
    Join Date
    Jan 2011
    Posts
    188
    Quote Originally Posted by SwampDonkey View Post
    I mean, how hard can it be?
    - Controller sends signal to driver to move 20,000 steps
    - Encoder sends feedback that 19,500 steps were achieved
    - Controller responds by commanding the stepper to perform 500 additional steps.

    ....
    It's not that simple when more than one axis is moving, the other axii will have completed the last step by the time the controller realizes one axis missed that step, the other axii would have to stop and wait for the one axis to catch up, or have a PID to speed up the step signals to that axis, while the other axii slow down or continue at normal speed, which means each axis requires independently variable step rate.

    That's what servos do, but their speed is not tied to the step rate, if one falls behind (or runs ahead) the controller can simply adjust the voltage to affect the speed and then that motor will catch up all by itself, which all happens on each and every encoder pulse on each and every axis independently, no step rate has to vary, the step rate on all axii remains in sync with the original calculated step rate
    www.signtorch.com

  11. #11
    Join Date
    Jan 2005
    Posts
    1695
    Quote Originally Posted by SwampDonkey View Post
    I mean, how hard can it be?
    - Controller sends signal to driver to move 20,000 steps
    - Encoder sends feedback that 19,500 steps were achieved
    - Controller responds by commanding the stepper to perform 500 additional steps.
    That won't work under all conditions. It's similar to what happens when car tires lose traction. Flooring the gas pedal will not result in motion.

    A servo can be implemented by treating the stepper like a brushless dc motor and applying vector control techniques. The basic code does not look too complex. However, from what I heard, a pretty powerful (ie: expensive) micro-controller is needed to do the calculations.

    I have a stepper board capable of interfacing to an encoder. When I have time, I will see if I can give it closed loop control.

  12. #12
    Join Date
    Dec 2004
    Posts
    132
    Dynomotion Kflop....

Similar Threads

  1. stepper motor without encoder
    By ReCar in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 05-18-2012, 07:55 PM
  2. Stepper with Encoder
    By jcoats in forum CNC Machine Related Electronics
    Replies: 9
    Last Post: 12-10-2008, 11:32 PM
  3. Big PacSci Stepper with Encoder
    By sdantonio in forum Stepper Motors / Drives
    Replies: 6
    Last Post: 06-21-2006, 04:26 PM
  4. Stepper with 200 cpr encoder
    By mdoan in forum Stepper Motors / Drives
    Replies: 7
    Last Post: 10-22-2004, 02:59 AM
  5. Stepper motor with encoder?
    By buscht in forum Stepper Motors / Drives
    Replies: 3
    Last Post: 07-13-2004, 03:53 AM

Posting Permissions

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