585,727 active members*
3,930 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Stepper Motors / Drives > Closed loop with stepper motor?
Results 1 to 12 of 12
  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Closed loop with stepper motor?

    Is it possible to have a closed loop system with stepper motors?

    What should I look for in a quality stepper motor?

  2. #2
    Join Date
    May 2006
    Posts
    2420
    I have been having a theoretical discussion about this on another forum, basically what I have come up with is to strap an encoder to a stepper, use the existing stepper drive, then piggyback a servo drive (processor only, no power stage) onto the step/dir signals, and feed the quadrature encoder signals to the servo drive.

    The idea is that the servo drive "thinks" it is driving a servo, since the encoder feedback tells it so, once the stepper drifts out of position, the servo drive picks it up and send a fault signal to the controller.

    Only tricky part is that the steps per rev need to be the same as the encoder pulses per rev, could be interesting especially with microstepping stepper drives.

    Also EMC apparently does stepper following error with encoder feedback natively, I don't know if anybody has actually done it but it is supposed to be there.

    I am only interested in doing this as an experiment, personally for my money I would just go servo's in the first place and keep things simple.

    Cheers.

    Russell.

  3. #3
    Join Date
    Mar 2004
    Posts
    1542
    Galil boards can do this. Mach has a plugin to interface galil.

  4. #4
    Join Date
    Mar 2003
    Posts
    35538
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  5. #5
    Join Date
    Jul 2007
    Posts
    887
    Hi,
    The VSD-E from Granite Devices is supposed to do this as well. Quote from the manual:
    The stepping motor support in VSD-E firmware version 1.20 is preliminary and intended for development
    use only. Customers are recommended to wait for final stepper motor support before using VSD-E for
    steppers. When ready, the upgrade will be freely downloadable from Granite Devices web site.
    However, the firmware V1.20 is already able to control stepper as high pole count sinusoidal AC
    servo motor (with encoder).

  6. #6
    Join Date
    Jul 2003
    Posts
    1754
    emc has done this a few different ways...

    Setting the stepgen into velocity mode and use the encoders as feedback. (the issue is that steppers don't work like a servo. If you are not 'getting there' emc will just keep pushing and you will get a following error)

    Yes, ive tested the stepgen with velocity- mode and this one produces joint-following- errors when the index was hit, changed back to my version of stepgen (with the reset-pin) and it worked, its not only working, tolerances are the best i've ever seen on a machine like that. Also the steppers run nearly like servos, heres an video of the first runs with linear encoders /Stepper motors/ PID and Stepgen in velocity mode :
    http://www.youtube.com/watch?v=M8ijW...r_profilepage/
    (read about his work here. very involved http://www.linuxcnc.org/component/op...art,0/lang,en/ )


    You could just use the endoders as feedback which stated above would give you following error when the axis deviated. Good thread here http://www.cnczone.com/forums/showthread.php?t=37309

    No one has tried it but with emc you could theoretically setup the adaptive feedrate so that as the error between the encoder and commanded position increased - you could slow the axiss down. Someone should experiment with that.

    (I really would rather use servos then )

    sam

  7. #7
    Join Date
    Jan 2009
    Posts
    396
    Quote Originally Posted by Karl_T View Post
    Galil boards can do this. Mach has a plugin to interface galil.
    Hi Karl which galil board can do it? Can you show me the link?

  8. #8
    Join Date
    Dec 2003
    Posts
    24220
    Quote Originally Posted by samco View Post

    (I really would rather use servos then )

    sam
    That would be my sentiments also.
    Usually the reason people go with steppers is to avoid the feedback loop and all it entails.
    Once you add an encoder, you may as well have the added advantages of a servo and the PID loop.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  9. #9
    Join Date
    Dec 2003
    Posts
    24220
    Most Galil cards can be set up for steppers by jumper, if an encoder is used, it cannot be used in the same way as the servo PID loop, they run open loop still, and the position error is not generated.
    AFAIK you have to keep interogating the encoder feedback in order to test for error and correct it by programming.
    Also in stepper mode, the auxilliary encoder cannot be used.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  10. #10
    Join Date
    Jul 2007
    Posts
    887
    (I really would rather use servos then)
    Indeed....
    But, a stepper with an encoder, as operated by the VSD-E, really 'is' a high pole count brushless servo-motor. And if I've understood the concept you'll get the benefit of the stepper motors high torque at low speed, yet you don't have to have the same safety margin against intermittent overload (ie. lost steps) at higher speed as when running the stepper open loop.

    /Henrik.

  11. #11
    Join Date
    Mar 2003
    Posts
    35538
    Quote Originally Posted by H.O View Post
    Indeed....
    But, a stepper with an encoder, as operated by the VSD-E, really 'is' a high pole count brushless servo-motor. And if I've understood the concept you'll get the benefit of the stepper motors high torque at low speed, yet you don't have to have the same safety margin against intermittent overload (ie. lost steps) at higher speed as when running the stepper open loop.

    /Henrik.
    I'm curious as to why I haven't heard of anyone using this yet?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  12. #12
    Join Date
    Sep 2004
    Posts
    1207
    Quote Originally Posted by ger21 View Post
    I'm curious as to why I haven't heard of anyone using this yet?
    We are keeping low profile on advertising that feature until its finished (on firmware level). Now stepper can be driven as AC servo, but it could be driven with stepper optimized algorithm to achieve greater speeds.

    As servo the top speed is where motor generated voltage reaches the level of DC supply. With open loop drives speed motor can go beyond that limit (with low torque though). Similar speed range is also the goal with updated stepper firmware.

    However, stepper+encoder combination is kind of pointless nowadays as you can buy a stepper sized BLDC motor (without encoder) at exactly same price. BLDC+encoder will give better performance than stepper+encoder.

Similar Threads

  1. Open Loop to Closed Loop Stepper Conversion
    By beamhome in forum Stepper Motors / Drives
    Replies: 11
    Last Post: 03-09-2014, 11:27 PM
  2. closed loop system stepper motor???
    By 15mgtar in forum Stepper Motors / Drives
    Replies: 1
    Last Post: 08-25-2009, 07:34 PM
  3. Stepper motors Closed loop
    By funkmonkey in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 07-17-2009, 09:53 PM
  4. Stepper Motor Closed Loop System?
    By Gridley in forum Linear and Rotary Motion
    Replies: 0
    Last Post: 01-20-2009, 03:06 AM
  5. Inexpensive Closed-loop Stepper Motor Setup?
    By lazlo in forum Stepper Motors / Drives
    Replies: 4
    Last Post: 04-18-2005, 03:53 PM

Posting Permissions

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