Page 1 of 2 12 LastLast
Results 1 to 12 of 19

Thread: Stepper Motor "cogging" issue

  1. #1
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    432
    Downloads
    0
    Uploads
    0

    Stepper Motor "cogging" issue

    This is my first CNC project so I'm not sure if this is a common problem or just my fault somehow. Here is my setup:

    A small (dyna 2400) mill. I have 269 oz. in. stepper motors driven by a xylotex 4 axis driver. The driver is set to 1/8 microstepping. I have a single start 2.5mm pitch lead screw.

    Here is the problem. I go to Mach 3 and go to the MDI screen and manually jog an axis. Specifically the x axis at this point. I have it set to step jogging and have the step size as .001". If I try to jog it one unit (.001") the stepper will attempt to turn and then it "cogs" back to where it was. It is similar in continuous jog mode. I'll make a jog of several inches and when it comes to a stop it "cogs" either forward or back.

    It seems like it's not holding the microstep detents and is cogging back to one of the actual steps. Does this sound like what's happening?

    In my motor tuning I have it set to 640 steps per. 200 actual steps * 8 for the microstepping * .4 for the threads per mm. I have the native units set up as mm as well.

    If any of you need more information to answer please ask!

    Is this a normal problem? Should I just abandon microstepping altogether?


  2. #2
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    432
    Downloads
    0
    Uploads
    0
    Also, yes, the motors are directly driving the screw. No, I have not yet checked to see if it exhibits the same behavior if the motor is disconnected from the screw.


  3. #3
    Registered Crevice Reamer's Avatar
    Join Date
    Mar 2008
    Location
    USA
    Posts
    3655
    Downloads
    0
    Uploads
    0
    Micro stepping is only a type of electronic "Hocus Pokus." A stepper motor has no detents for micro stepping. The only detents are for the 200 FULL steps. The motor will always stop on the nearest full step.

    I wouldn't worry about it. Since 2.5mm is a full revolution, 2.5/200 steps= only .0125mm deviation. (0.0004921 inch.) Actually LESS than that because the jog stopped somewhere in between.

    CR.


  4. #4
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    432
    Downloads
    0
    Uploads
    0
    I was under the impression that with microstepping that the motor was actually held between the detents by the driver. If it always stopped on one of the 200 detents even with microstepping then it wouldn't really be microstepping, would it? Also, this "cog" I'm experiencing makes a difference of up to .001" inches when it does it. I have a dial indicator on the axis. I jog to some arbitrary point, for example I stop right on 0 on the indicator, and then it will "cog" to something between .0002 and .001 on the indicator.

    If I put it in step jog mode and set the step size to .001 and click the button to jog the motor tries to turn just a fraction (presumably enough to move the axis by .001) but then cogs back to where it was. So each time I'm clicking the jog the DRO is indicating a move of .001 yet the actual axis isn't moving at all since the motor is "cogging" back to where it was after each move.


  • #5
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22212
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Crevice Reamer View Post
    The motor will always stop on the nearest full step.
    That is incorrect. I've read varying views on this subject over the years. I've read more than one post from Mariss which stated that with Gecko drives, you can reliable move 1 microstep, or 1/10 of a full step.

    According to this, each 1/8 step will give you ~20% of your full torque. And if you move 4 1/8 steps, you have 70% of the torque available to get to that position.

    When you say you are trying to jog .001", is the DRO set to .0254? (for mm)
    That's actually about 16 steps (2 Full Steps), so you should end up just about exactly where you want to be.
    What if you try increasing the pulse width? What do you have them set at?

    And last, why is the machine set up in mm if you want to move in inches?
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  • #6
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    432
    Downloads
    0
    Uploads
    0
    I set the machines native units in mm because that was what the mach 3 documentation seemed to suggest if that was the unit of the screw. When testing I set the DRO's to read in inches as per the mach setup manual. I've since gone back and set the native units to inches and simply converted everything. So, for my 2.5mm pitch screws I have the "steps per" set to 16256. 16256 = 10.16 revolutions per unit (inch) * 200 motor steps * 8 for the microstepping. Velocity is 50 ipm. Accel is 4. Step pulse is 1.


  • #7
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    432
    Downloads
    0
    Uploads
    0
    [QUOTE]That is incorrect. I've read varying views on this subject over the years. I've read more than one post from Mariss which stated that with Gecko drives, you can reliable move 1 microstep, or 1/10 of a full step.
    [QUOTE]

    Either your post is contradictory to what you previously stated or I'm misunderstanding. You said that the motor will always stop on one of the 200 detents. If that's the case then how could you move 1/10 of a full step?


  • #8
    Registered Crevice Reamer's Avatar
    Join Date
    Mar 2008
    Location
    USA
    Posts
    3655
    Downloads
    0
    Uploads
    0
    Travis: Somehow you are confusing what I said with what Gerry said.

    Please check that you actually HAVE the Xylotex set to 1/8 microstep. Also please check that you have the step input in Mach3 set to Active High.

    Also check that the Xylotex is set to give your motors the full 2.5A current setting.

    CR.


  • #9
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    432
    Downloads
    0
    Uploads
    0
    Yep, I did confuse the posts. Didn't see there was more than 1 person responding. The Xylotex is definitely set to 1/8 stepping (both jumpers removed). I confirmed this in the Xylotex docs and on their app note "microstepping truth table."

    The Xylotex docs say that for 2.5a the ref voltage on the board should measure 3.6v. It also says just below that, "Full current (2.5a) can be achieved with voltages as low as 3.42v on Vref. When attempting to deliver 2.5a/phase start with a Vref voltage of 3.42v." A quick check with my meter shows 3.43v on Vref.

    You say to check that I have the step input to active high. I assume that it is since my "step low active" checkbox in ports & pins has a red x.

    Crevice, so you contend that the motor will always stop on one of the 200 detents? That just doesn't seem right. If that's the case then what does microstepping do? Again, I thought that microstepping was the ability of the driver to hold the motor between two of those 200 detents.


  • #10
    Registered Crevice Reamer's Avatar
    Join Date
    Mar 2008
    Location
    USA
    Posts
    3655
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by TravisR100 View Post
    Crevice, so you contend that the motor will always stop on one of the 200 detents? That just doesn't seem right. If that's the case then what does microstepping do? Again, I thought that microstepping was the ability of the driver to hold the motor between two of those 200 detents.
    Apparently I was wrong in this assumption and was confusing microstep stopping point with motor stable resting point.

    How much backlash do you have in this axis?

    CR.


  • #11
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    432
    Downloads
    0
    Uploads
    0
    The backlash is about .0015". Although I'm not sure what backlash would have to do with it. All these moves are same direction moves. In other words when the axis stops from the move (where I'm getting the cogging) it is in the direction such that the threads would be loaded or engaged.


  • #12
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22212
    Downloads
    0
    Uploads
    0
    You say it backs up when it stops. It must be moving quite a few steps in the opposite direction, if you can see it???
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Log In - "Remember Me" issue?
      By Baketech in forum Forum Questions or Problems
      Replies: 61
      Last Post: 12-26-2007, 06:02 PM
    2. what is to "slave" a stepper motor?
      By salvaCNC in forum Stepper Motors and Drives
      Replies: 10
      Last Post: 12-03-2007, 04:41 PM
    3. "Astrosyn Miniangle Stepper" Power Drive
      By hferraz in forum Stepper Motors and Drives
      Replies: 0
      Last Post: 10-31-2007, 04:27 PM
    4. Help finding information on Sanyo Denki "Step Syn" IBM stepper motor
      By Oracle_9 in forum Stepper Motors and Drives
      Replies: 12
      Last Post: 06-08-2007, 01:55 PM
    5. nude pictures of Jessica Alba (Best "cost is not an issue" software)
      By sundy58 in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 20
      Last Post: 04-23-2006, 01:51 AM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.