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

    My tuned tmc2660 settings

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    42byghm809
    5
    11
    1.0k
    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.
    • lord binkyundefined
      lord binky
      last edited by lord binky

      Following the trinamic tmc2660 manual and spreadcycle guide I busted out my o-scope with a current probe and a helping hands on the sense resistor. The motors I tuned were Wantai 42BYGHM809 and a PG35L-048. I run a delta, and my steppers are running at 1.5 out of the specced 1.7A and they are staying significantly cooler than when I tuned by ear and they are behaving much better for me, it even got my past the .02 bed leveling barrier I was at.

      Anyways, thought I'd share my efforts in case it might help someone.

      Wantai 42BYGHM809
      M569 P0 D2 F2 B2 Y01:09:02

      PG35L-048
      M569 P3 D2 F3 B3 Y03:07:02

      dc42undefined 1 Reply Last reply Reply Quote 1
      • dc42undefined
        dc42 administrators @lord binky
        last edited by

        Thanks for providing these settings. What VIN voltage are you using?

        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
        • lord binkyundefined
          lord binky
          last edited by

          Woops, 24V. That reminds me I forgot to mention that I decided on the decriment for the Wantai 0.9 steppers not because it did much to the slow / medium speed current waveform, but helped maintain currents better on the steppers at high speed when the back EMF is rampaging since there isn't much left for compensating by throwing higher voltages at the steppers

          1 Reply Last reply Reply Quote 0
          • zaptaundefined
            zapta
            last edited by

            What did you tune it for? That is, what was the pattern on the oscilloscope that is considered optimal?

            1 Reply Last reply Reply Quote 0
            • fmaundefined
              fma
              last edited by

              I'm interested too by the tuning procedure...

              Frédéric

              1 Reply Last reply Reply Quote 0
              • wilrikerundefined
                wilriker
                last edited by

                You can find the tuning instructions in this document: https://www.trinamic.com/fileadmin/assets/Support/Appnotes/AN001-spreadCycle.pdf

                Manuel
                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                with probably always latest firmware/DWC (incl. betas or self-compiled)
                My Tool Collection

                zaptaundefined 1 Reply Last reply Reply Quote 0
                • fmaundefined
                  fma
                  last edited by

                  Thanks, I'll check that.

                  Frédéric

                  1 Reply Last reply Reply Quote 0
                  • zaptaundefined
                    zapta @wilriker
                    last edited by

                    @wilriker, thanks, this is very useful. I am working on a low cost stand alone stepper analyzer and this can be a good fit.

                    Looking at the oscilloscope screenshots, what do the various signals represent? The text talks about measuring the current through the coils so I would expect two signals at most, e.g. A and B.

                    alt text

                    wilrikerundefined 1 Reply Last reply Reply Quote 0
                    • wilrikerundefined
                      wilriker @zapta
                      last edited by

                      @zapta I would guess it's what the image caption says. 😛

                      Figure 1 Current waves. CH1 & CH2: Sense resistor voltages, CH3: Current probe on coil A

                      Manuel
                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                      My Tool Collection

                      zaptaundefined 1 Reply Last reply Reply Quote 0
                      • zaptaundefined
                        zapta @wilriker
                        last edited by

                        @wilriker, I still don't get it. 😉

                        If ch1 is the current through a coil, why there are two yellow lines and what are all those yellow dots? The current through a coil cannot change in zero time.

                        I need to read that paper more carefully but a test equipment connection diagram there would go a long way.

                        wilrikerundefined 1 Reply Last reply Reply Quote 0
                        • wilrikerundefined
                          wilriker @zapta
                          last edited by

                          @zapta said in My tuned tmc2660 settings:

                          @wilriker, I still don't get it. 😉

                          If ch1 is the current through a coil, why there are two yellow lines and what are all those yellow dots? The current through a coil cannot change in zero time.

                          First of all I am not that skilled in o-scope usage but here is my interpretation: they have overlayed two passes so you can see the waveform better. Also CH1 and CH2 are voltages not current though I think this does not matter much.

                          The dots I have no real clue what they mean. I would think of noise or they are the actual sampled values used to reconstruct the displayed waveform. From the screenshot you can tell that they used a Rhode & Schwarz HMO3524 MSO. No longer available but looking at the specs that's a pretty expensive piece of gear. So this might have all sorts of math and black-magic available not found on average hobbyist scopes.

                          Manuel
                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                          My Tool Collection

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