Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Microstepping (interpolation)

    Scheduled Pinned Locked Moved
    General Discussion
    8
    16
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dc42undefined
      dc42 administrators @deckingman
      last edited by

      As @deckingman says, we recommend using x16 microstepping with interpolation enabled; except that in some situations (particularly un-geared extruders with low steps/mm), increasing extruder microstepping improves print quality.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • PeterAundefined
        PeterA
        last edited by

        Thanks for the feed back. Very helpful

        1 Reply Last reply Reply Quote 0
        • owlfabundefined
          owlfab
          last edited by owlfab

          Noise is the biggest thing for me.

          Would you guys expect much of a noise difference between 16x with interpolation and 256x assuming the CPU can keep up? I'm on a Duet2 running 0.9 degree steppers and rapid movements get limited when I go to 256x. For whatever it's worth, I feel like the Prusa mk3 machines are quieter than mine for rapids, but I realize there are a lot of other variables as well.

          deckingmanundefined matt3oundefined Vetiundefined 3 Replies Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @owlfab
            last edited by deckingman

            @owlfab said in Microstepping (interpolation):

            .................... Would you guys expect much of a noise difference between 16x with interpolation and 256x assuming the CPU can keep up? .....................

            No. Because 16X micro-steps interpolated (by the driver chip) into 16 smaller steps each = 16x16 = 256. So what gets sent to the motor is the same in either case.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 2
            • matt3oundefined
              matt3o @owlfab
              last edited by

              @owlfab you may try enabling stealthChop but with my motors it doesn't make much of a difference

              1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti @owlfab
                last edited by

                @owlfab said in Microstepping (interpolation):

                I feel like the Prusa mk3 machines are quieter than mine for rapids

                duet 2 does not have stealthchop. the prusa does. that makes a lot of difference for the noise.

                matt3oundefined 1 Reply Last reply Reply Quote 0
                • matt3oundefined
                  matt3o @Veti
                  last edited by

                  @Veti ah right duet2... sorry, missed that. Not that on the duet3 I hear any difference, but could be my moons motors

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @PeterA
                    last edited by A Former User

                    @PeterA

                    keep in mind that the more microsteps you introduce the more you divide your overall-torque into smaller incremental-torque. So basically this certainly gives you resolution but only maybe gives you accuracy. Of course if money is no objective to you, you can increase the microstepping endlessly and just buy a "stronger" stepper to have your "old" incremental-torque matched even with more microsteps 🙂 Calculation-formulas for that are provided e.g. here https://www.faulhaber.com/fileadmin/user_upload_global/support/MC_Support/Motors/AppNotes/Faulhaber_AN015_EN.pdf

                    ctilley79undefined 1 Reply Last reply Reply Quote 0
                    • ctilley79undefined
                      ctilley79 @A Former User
                      last edited by

                      @LB said in Microstepping (interpolation):

                      @PeterA

                      keep in mind that the more microsteps you introduce the more you divide your overall-torque into smaller incremental-torque. So basically this certainly gives you resolution but only maybe gives you accuracy. Of course if money is no objective to you, you can increase the microstepping endlessly and just buy a "stronger" stepper to have your "old" incremental-torque matched even with more microsteps 🙂 Calculation-formulas for that are provided e.g. here https://www.faulhaber.com/fileadmin/user_upload_global/support/MC_Support/Motors/AppNotes/Faulhaber_AN015_EN.pdf

                      Isn't this a little misleading if you're in interpolation mode? The driver is essentially running at 256x. The microprocessor is only generating 16x of them, but the driver is dividing those out into 256, so essentially the torque will be the same, the only difference is the computational load on the microprocessor increases on higher step rates right?

                      A Former User? 1 Reply Last reply Reply Quote 1
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        Microstep interpolation doesn't increase resolution or accuracy, because the MCU still commands the driver to 1/16 microstep positions; but it does make the motors quieter.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User @ctilley79
                          last edited by A Former User

                          @ctilley79

                          It is totally misleading 😉 Because in reality there is also: Friction, acceleration, jerk, driver-behaviour etc. pp. so the paper from faulhaber only gives you a hint of a ballpark where you end up if you use 1/16th microsteps as "possible-stop-positions" (versus the "interpolation/microply to 256" which is basically "smoothness" as dc42 pointed out, so basically quiteness but the stepper can not "stop"/"hold" on those positions. Basically as I understand it, the "interpolation"/"microplyer" is only that you set your voltage and ampere not in one step to the next 1/16 step, but go there via "quasi-sinusoidal" micro-interpolation LookUpTable for Voltage/Ampere so that it doesn´t shake that much)

                          I would roughly calc with the values in the paper and keep a safe 10-25% distance to it, because of all the other effects not yet in the whole-calculation

                          I usually use as little "possible-stop-position" hard-microsteps but of course use always the interpolation/microplyer microsteps for smoothnes - less workload for the cpu for the step-calculation, because the interpolation happens in the driver-chip. Also there are theories that it might be beneficial for accuracy if you use only full-&halfsteps as possible-stop-steps. Of course then your kinematics has to be adjusted to that

                          Hey - please share your thoughts, experiments and conclusions, might be of help for all of us 😉 we wouldn´t be here if there isn´t anything we wanna learn

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA