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

    Duet 2 -> Duet 3 Mini - Stepper tuning

    Scheduled Pinned Locked Moved
    General Discussion
    4
    12
    748
    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.
    • MartinNYHCundefined
      MartinNYHC
      last edited by

      @jay_s_uk said in Duet 3 mini5+ and Ender 3 Pro: "grinding" motors?:

      Add D3 V40 for the X Y and Z motor M569 commands

      Just replaced a Duet 2 Wifi with a Duet 3 Mini and stepper sounded terrible. Then I've found a post where someone recommended to add 'D3 V40' to X, Y, and Z. Did so and stepper are soooo quiet 🙂 But is V40 really a good choice?

      Stepper are 14HS17-0504S (1.8deg, 0.5A, 23Ncm)

      Typical value are from 100 (high speed) to 4000 (low speed). 
      

      Thanks, Martin

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @MartinNYHC
        last edited by

        @martinnyhc

        the D3 part is setting the drivers in stealthchop (which they are by default but it doesn't hurt to add it). The V40 part sets the changeover speed. This can be seen in the M569 command
        heres an output of mine

        m569 p0
        Drive 0 runs in reverse, active low enable, timing fast, mode stealthChop, ccr 0x00053, toff 3, tblank 0, thigh 0 (inf mm/sec), tpwmthrs 40 (234.4 mm/sec), pwmScaleSum 84, pwmScaleAuto 0, pwmOfsAuto 159, pwmGradAuto 14, pos 40
        

        This is the important section tpwmthrs 40 (234.4 mm/sec) it shows that at 40, the changeover from stealthchop to spreadcycle will be at 234.4mm/s.
        Stealthchop runs quieter with lower torque and spreadcycle runs louder with more torque. You may find that faster moves have a higher chance of skipped steps etc in stealthchop.
        Some people also report bangs and/or skipped steps on the changeover between stealthchop and spreadcycle.
        I don't print particularly fast on my machine and don't have an issues with the higher changeover speed. You might have different results with your printer.

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        MartinNYHCundefined 1 Reply Last reply Reply Quote 0
        • MartinNYHCundefined
          MartinNYHC @jay_s_uk
          last edited by

          @jay_s_uk Thanks, got it.

          I just found out that setting this for Z is not a good idea. Had some terrible layer shifts.

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @MartinNYHC
            last edited by

            @martinnyhc
            Yea, again Z is a special use case. As most of the time it does very littlle, stealthchop probably doesn't need to be set.
            Make sure you don't set it on an extruder and you may even want to consider enforcing spreadcycle with D2 rather than D3

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            MartinNYHCundefined 1 Reply Last reply Reply Quote 0
            • MartinNYHCundefined
              MartinNYHC @jay_s_uk
              last edited by

              @jay_s_uk said in Duet 2 -> Duet 3 Mini - Stepper tuning:

              you may even want to consider enforcing spreadcycle with D2 rather than D3

              May I ask you for another lesson? 😉

              1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk
                last edited by

                @martinnyhc ask away

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                MartinNYHCundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                • MartinNYHCundefined
                  MartinNYHC @jay_s_uk
                  last edited by MartinNYHC

                  @jay_s_uk I don't have any experiences with Stealthchop or Spreadcycle.

                  You wrote

                  you may even want to consider enforcing spreadcycle with D2 rather than D3
                  

                  which I unfortunately don't really understand (not yet) 🙂

                  1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk
                    last edited by

                    @martinnyhc
                    ah, ok.

                    this is a good page for an overview between modes https://www.trinamic.com/technology/motor-control-technology/chopper-modes/

                    For the D2 you would add it to the M569 e.g.
                    M569 P3 S0 D2 rather than D3 V40

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @jay_s_uk
                      last edited by

                      @jay_s_uk I've got my Mini 5+ set to stealthchop extruder and Z axis (2 motors), haven't noticed any problems yet, but may be because I don't have particularly aggressive jerk and acceleration settings. Any particular reason not to set them to stealthchop, if your motor settings can cope?

                      @MartinNYHC I set D3 V0 for all axes, effectively turning off spreadcycle. If you've set V40, it's probably a very high speed for changeover (which would be potentially catastrophic), and you may never get to that speed while printing. The alternative is to use a low speed changeover, so the motor is quiet at standstill, but uses spreadcycle (with it's extra torque) when it's moving. If you aim for a changeover speed that is lower than your M566 instantaneous speed, you won't notice the changeover.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk @droftarts
                        last edited by

                        @droftarts I run my Z axis in stealthchop no bother.
                        The comment around E is the drop in torque between stealthchop and spreadcycle. Why potentially lose torque where you really need it if you're running that slow that the noise wouldn't be an issue anyway

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        droftartsundefined 1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @jay_s_uk
                          last edited by

                          @jay_s_uk I've got an Orbiter extruder with a small LDO stepper and 30:1 planetary gearing, and while I haven't had any obvious skipping in stealthchop, I thought that it was quite noisy in spreadcycle. However, that was a while ago when we were troubleshooting, so I should probably go back to it and try it out.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          gloomyandyundefined 1 Reply Last reply Reply Quote 1
                          • gloomyandyundefined
                            gloomyandy @droftarts
                            last edited by gloomyandy

                            Having an extruder (or any driver) in spreadcycle mode all of the time may also mean that they are "hissy" when not moving, so maybe using stealthchop with a very low speed switchover is better.

                            Oh and don't forget that if you are using sensorless homing then the driver must be in stealthchop mode during the homing process, you can set it to other modes once homed.

                            I run all my drivers in stealthchop all of the time, but I don't tend to use particularly high speeds.

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