Page 4 of 6 FirstFirst 123456 LastLast
Results 37 to 48 of 71

Thread: Wiring digital driver to BOB?

  1. #37
    Registered
    Join Date
    Sep 2011
    Location
    United States
    Posts
    160
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by 109jb View Post
    A full step on a typical stepper motor is 1.8 degrees or 200 steps per revolution. So, 1 step = 1.8 degrees. 1/2 step would therefore be 0.9 degrees and there would be 400 of these half steps per revolution. I don't think you need more than about 1/10 microstepping (10 microsteps per full step) or 2000 steps per revolution on a typical milling machine application. If you use a 0.2" lead ballscrew that means each revolution is 0.2" and each for those 2000 microsteps would be 0.0001". Most machines can't hold this tolerance anyway and setting it that high would only be for smoothness.If you use a stock acme leadscrew with 0.1" per rev, then 2000 microsteps per revolution means each step is 0.00005". I have tried mine out on my mill drill at 1/16 microstepping (3200 microsteps per revolution), 1/8 (1600 microsteps per revolution), and 1/2 (400 microsteps per revolution. I'm going to be running mine at 1/8 as I don't see a significant change in smoothness, but I do see a significant change in max speed that my computer/bob/driver arrangement can deliver reliably to the motor.

    Ah, ok so 1/2 microstepping is actually 400 pulses/rev settings on the drivers and Mach 3 motor tuning screen. 2 pulses per motor step. Correct?

    So multiply the denominator and steps native to your stepper and get pulses per rev. So 1/8 microstepping would be set as (8 x 2000 =) 1600 pulse/rev.

    So as microstepping in increased, likelihood of missed steps does as well? I read somewhere it increases torque too....I think I have some googling to do...


  2. #38
    Tinkerer
    Join Date
    Nov 2009
    Location
    USA
    Posts
    2367
    Downloads
    0
    Uploads
    0
    This is a topic for much debate. My understanding (and I have been corrected and or changed my beliefs a few times over the years with this hobby and most likely will again) is that microstepping is a tool for controlling resonance (the issue causing the roughness in your Y stepper). In actuality the stepper cant be between steps I dont think. I believe the resolution is determined by the leadscrews pitch and the number of steps of the selected stepper has (in this case 1.8deg/200steps per rev). I do understand a few areas within Mach to help with your issue and in explaining it to you it becomes clearer to me. Also when I am wrong, generally someone with a better understanding will set me straight. I have felt the frustration of silence also and would prefer input. I hope it is of use. There are issues with kernel speeds and potential of your computer to output enough pulses quickly at high step values is my understanding of why speeds can be limited. Still plenty to understand and read about. It is ongoing and there are many AHA moments.


  3. #39
    Registered Mad Welder's Avatar
    Join Date
    Jun 2011
    Location
    Ireland
    Posts
    914
    Downloads
    0
    Uploads
    0

    Wink

    I think I just had one of those AaaaHA moments......and I better reread this thread and re check my own settings too......thanks to all and thanks SwampDonkey for starting this....
    Eoin


  4. #40
    Registered
    Join Date
    Feb 2006
    Location
    USA
    Posts
    3636
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Fastest1 View Post
    In actuality the stepper cant be between steps I dont think.
    Yes, micro-stepping most certainly DOES allow positioning between full steps. It would be useless otherwise.... But the exact size of those microsteps can vary considerably from the theoretical ideal. Doing 10X micro-stepping will NOT give you 10X the resolution.

    And, in nearly all cases, the mechanical precision of the machine will be less than even the full-step resolution, due to backlash, flex, mechanical resonances, thermal expansion and countless other factors. So, if you're micro-stepping in an attempt to increase resolution or precision, you're just kidding yourself. It is primarily useful for mitigating mid-band resonance in stepper systems. Achieving even close to +/-0.001" accuracy is extremely difficult in the real world, and anyone who says otherwise doesn't know what he's talking about.

    Regards,
    Ray L.


  • #41
    Tinkerer
    Join Date
    Nov 2009
    Location
    USA
    Posts
    2367
    Downloads
    0
    Uploads
    0
    Thanks Ray, I know that I have played with many different microstepping settiings only to find changes in speed but not accuracy necessarily. I get very confused on this topic and intentionally bring up what little I know hoping yours or someones correction will make it clear. I still wonder how the stepper could hold between poles with any predictablity. Of course there are many things I still wonder about this stuff. Like which class did I skip? Apparently all of the ones with this info LOL. Yesterday I saw you provide a formula on using a stepper for a power drawbar and the friction and involved. I am still trying to figure out how to word most of my questions. I always denied any reading or learning difficulties as a child, now at 50 maybe they were right. It is still fun though! Thanks.


  • #42
    Registered
    Join Date
    Feb 2006
    Location
    USA
    Posts
    3636
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Fastest1 View Post
    I still wonder how the stepper could hold between poles with any predictablity.
    The rotor simply reacts, fairly predictably, to the forces generated by the current in the coils. When you run current through one coil, the rotor snaps to a position that puts it in alignment with the magnetic field in that coil. Do the same for the other winding, and it snaps into alignment with that coil. It does this because the magnetic field creates a force that pulls on the rotor, exactly the way two magnets attract each other. Energize both coils at once, with equal current, and the rotor will snap to a position mid-way between the two coils. This is exactly what happend in half-step mode. Increase the current in one coil, and/or reduce current in the other, and the rotor is pulled closer to the coil with the higher current. That is precisely what micro-stepping does. A single coil is energized at full current ONLY when the motor is at a full-step position. If you're doing 10X micro-stepping, the next step will reduce the current on the first coil by roughly 10%, and energize the other coil at roughly 10% of its max current, pulling the rotor roughly 10% off the full-step position. The next step will reduce the first coil current another 10%, and increase the second coil current another 10%, and so on. It doesn't work quite so simply in the real world, due to frictional and other losses and non-linearities, but that is the basic concept.

    Regards,
    Ray L.


  • #43
    Registered Mad Welder's Avatar
    Join Date
    Jun 2011
    Location
    Ireland
    Posts
    914
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by HimyKabibble View Post
    The rotor simply reacts, fairly predictably, to the forces generated by the current in the coils. When you run current through one coil, the rotor snaps to a position that puts it in alignment with the magnetic field in that coil......
    As Ray says guy's have a look here it's a pretty good animation
    How Stepper Motors Work
    Eoin


  • #44
    Tinkerer
    Join Date
    Nov 2009
    Location
    USA
    Posts
    2367
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by HimyKabibble View Post
    The rotor simply reacts, fairly predictably, to the forces generated by the current in the coils. When you run current through one coil, the rotor snaps to a position that puts it in alignment with the magnetic field in that coil. Do the same for the other winding, and it snaps into alignment with that coil. It does this because the magnetic field creates a force that pulls on the rotor, exactly the way two magnets attract each other. Energize both coils at once, with equal current, and the rotor will snap to a position mid-way between the two coils. This is exactly what happend in half-step mode. Increase the current in one coil, and/or reduce current in the other, and the rotor is pulled closer to the coil with the higher current. That is precisely what micro-stepping does. A single coil is energized at full current ONLY when the motor is at a full-step position. If you're doing 10X micro-stepping, the next step will reduce the current on the first coil by roughly 10%, and energize the other coil at roughly 10% of its max current, pulling the rotor roughly 10% off the full-step position. The next step will reduce the first coil current another 10%, and increase the second coil current another 10%, and so on. It doesn't work quite so simply in the real world, due to frictional and other losses and non-linearities, but that is the basic concept.

    Regards,
    Ray L.
    Ray, Thanks for the explanation. I see MW has provided a link to a tutorial on steppers. I will have to watch it. I did believe I understood how the pole was attracted however I assumed all magnets were symetrically placed with 2 opposing magnets energized at the same time would create a central holding point. It never occurred to me about partially energizing one side and over energizing the opposite side. SD sorry to hijack your thread but loving the descriptions provided in helping my understanding.


  • #45
    Tinkerer
    Join Date
    Nov 2009
    Location
    USA
    Posts
    2367
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Mad Welder View Post
    As Ray says guy's have a look here it's a pretty good animation
    How Stepper Motors Work
    MW, great link and description, Thanks


  • #46
    Registered Mad Welder's Avatar
    Join Date
    Jun 2011
    Location
    Ireland
    Posts
    914
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Fastest1 View Post
    MW, great link and description, Thanks
    Glad to be of some tiny help
    Eoin


  • #47
    Tinkerer
    Join Date
    Nov 2009
    Location
    USA
    Posts
    2367
    Downloads
    0
    Uploads
    0
    MW, Unfortunately I learn in "tiny" bits. The timing was perfect! ;-)


  • #48
    Registered Mad Welder's Avatar
    Join Date
    Jun 2011
    Location
    Ireland
    Posts
    914
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Fastest1 View Post
    MW, Unfortunately I learn in "tiny" bits. The timing was perfect! ;-)
    and you need a micrometer not a DTI to measure my "tiny" learning bits
    Eoin


  • Page 4 of 6 FirstFirst 123456 LastLast

    Similar Threads

    1. Digital Stepper Driver
      By kolias in forum Open Source CNC Machine Designs
      Replies: 2
      Last Post: 03-08-2012, 08:03 AM
    2. Can you pulse a digital driver manually?
      By Fastest1 in forum Stepper Motors and Drives
      Replies: 5
      Last Post: 08-18-2011, 01:35 AM
    3. digital stepper motor driver for X2 conversion
      By sabastion in forum X3/SX3/G0619/G0463
      Replies: 4
      Last Post: 08-03-2011, 09:23 AM
    4. Digital Stepper Motor Driver Exprience
      By Kelinginc in forum Automation Technology Products
      Replies: 8
      Last Post: 07-26-2011, 11:04 PM
    5. Digital tool dr902 wiring diagram
      By brockadeau in forum BobCad-Cam
      Replies: 1
      Last Post: 05-16-2007, 12:41 AM

    Tags for this Thread

    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.