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

    Duet 3 StealthChop 2 Tuning for Nema23

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    7
    44
    4.7k
    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.
    • fractalengineerundefined
      fractalengineer @dc42
      last edited by

      @dc42 But the EMF calculator says back EMF is green (17.6V out of the near 30V supplied) and these steppers can still go at least twice faster than the speed they are currently running...

      Would plugging capacitors in parallel to VIN help with absorbing some of that back EMF?

      Railcore II ZL

      1 Reply Last reply Reply Quote 0
      • evan38109undefined
        evan38109
        last edited by

        For posterity --

        I was misunderstanding how CoolStep interacted with the other modes. Thank you for clarifying.

        I've now gotten in the habit of just effectively disabling CoolStep with M915 X Y Z E T1. I've not been able to find any situations on either of my printers where CoolStep works materially better than SpreadCycle. (That's not to say they don't exist, I just haven't found them!)

        1 Reply Last reply Reply Quote 1
        • SputnikOC3dundefined
          SputnikOC3d
          last edited by

          I was pointed to this thread from another by DC42 - where it indicated the OP solved an issue by making some changes. I see a lot of hchanges et al ... but it caps out at 42 posts and I dont see the OP indicating a resolution ?

          Almost all these StealthChop to Spreadcycle motor banging threads - Have No Resolution defined in the threads ... Troublesome.

          Is there a resolution?

          ibashundefined 1 Reply Last reply Reply Quote 0
          • ibashundefined
            ibash @SputnikOC3d
            last edited by

            So for folks trying to understand how tpwmthrs is calculated, and especially how to convert it to mm/s...

            1. 12,000,000 / (256 * tpwmthrs) = steps / second
            2. You need steps per mm from M92... be careful with units...
            3. Then multiply mm/step * step/second

            Using evan38109's config as an example:

            M350 X32 Y32 Z32 E32 I1                      ; configure microstepping with interpolation
            M92 X{400 / (18 * 2) * 32} Y{400 / (18 * 2) * 32} Z6400.00 E1674.00  ; set steps per mm
            

            They're using 32 microstep units, and M92 gives microsteps per mm.

            1. 400 / (18 * 2) * 32 = 355.55 microsteps / mm
            2. 355.55 / 32 = 11.11 steps / mm

            So for 40 tpwmthrs...

            (1 mm / 11.11 steps) * (12,000,000 / (256 * 40)) = 105.5mm/s


            1. The 12,000,000 comes from the clock frequency, tpwmthrs is in units of clock period
            2. Check out the datasheet: https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2160A-datasheet_Rev1.06.pdf
            1 Reply Last reply Reply Quote 1
            • fractalengineerundefined fractalengineer referenced this topic
            • NeoDueundefined NeoDue referenced this topic
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA