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

    Missing Steps - Cant Print SpreadCycle StealthChop tuning help

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    15
    286
    32.1k
    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.
    • droftartsundefined
      droftarts administrators @carcamerarig
      last edited by droftarts

      @carcamerarig I think this is the issue @Argo was referring to when he said this also affects Marlin: https://github.com/MarlinFirmware/Marlin/issues/18286. It's quite a read!

      So there does seem to be something related to 0.9° motors with the Trinamic 2209 (though also seems to affect other drivers), and it affects all firmwares. However, some people report fixing it by improving the smoothness of their axes (loosening belt tension, stiffening frame, lubricating axes) which points to a frequency in the machine frame that the motors struggle with; by effectively doubling step rate frequency, it shows up problems in other parts that were not previously perceived. Others change the off-time in the chopper control register, though it's something I don't currently have guidance on doing, except for 'just try it'; it's the F parameter in M569, can be 1 to 15. It's also possible these particular motors are susceptible to 'mid-band resonance'; see https://www.geckodrive.com/support/step-motor-basics/mid-band-instability.html

      I don't have a simple answer to this problem, and currently can't test for it; my Mini 5+ is tied up trying to track down another issue. I also don't have any 0.9° motors. However, could you try the following, if you haven't already:

      1. First, is it both X and Y axes that resonate, or just one of them? Is it the LDO 42sth48-2004mac or 42sth25-1404mac motors that cause the problem?
      2. Disconnect the affected motor(s) from the printer, and run it on it's own at speeds that normally make it vibrate. Does it still do it? If not...
      3. With motors off the axes, move the axes by hand at a range of speeds, slow and fast. Is there any speed that causes chatter/resistance? I've had this before, turned out to be dry rubber seals on the linear bearings chattering. If not...
      4. With the motor on the machine, find the exact speed that causes the issue. Send a long move at a specific speed. Start slow and go up in small steps. There should be one speed that is particularly bad. From that, we can work out the frequency that this is happening, which may help working out what's causing the problem.
      5. Have a play around with the M569 F parameter, see if it helps.

      I have no idea if this will resolve this issue. I don't think we've any reports of this problem before, and I'm not clear how many people responding to this thread have this problem too. Consider it 'under investigation'.

      Ian

      freighttt created this issue in MarlinFirmware/Marlin

      closed [BUG] TMC2209 with LDO 0.9 VERY noisy/resonant/vibratory #18286

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

      ctilley79undefined SputnikOC3dundefined Argoundefined 3 Replies Last reply Reply Quote 1
      • ctilley79undefined
        ctilley79 @droftarts
        last edited by

        @droftarts The strange behavior is the complete loss of steps and layer shifts even in SpreadCycle full time. I can see noise being an issue, but the jerks and studders seem odd.

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

          @droftarts said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:

          I don't think we've any reports of this problem before, and I'm not clear how many people responding to this thread have this problem too.

          This forum is filled with threads and posts of 2209 drivers thud'ing and vibrating and shuddering with the high speed transition to Spreadcycle from StealthChop ... with all type of motors. However this is odd because of the forced Spreadcycle ALSO exhibiting the issue

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

            @sputnikoc3d @ctilley79 yes, I understand this is not a changeover between spreadcycle and stealthchop problem. It’s related to motor speed, the mode is irrelevant. I’m trying to discern if it’s a motor/driver issue, or if there is a machine element. If it’s the first, @carcamerarig has offered to send me a motor, and I can test it on a variety of boards.

            @SputnikOC3d please don’t quote a whole long post that you’re not actually referring to, it makes the thread very long and harder to navigate.

            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

            SputnikOC3dundefined 1 Reply Last reply Reply Quote 1
            • Argoundefined
              Argo @droftarts
              last edited by Argo

              @droftarts

              Thanks, that was the issue on GitHub I had in mind.
              There was also a Marlin 2 issue on GitHub before that one which was closed unfortunately (and so deleted) that also included a E-Mail conversation with TMC and had measurements in it with those special tools which name I forgot lol ^^

              With my Duet 3 Mini I was able to run 0.9 LDOs, even reliable. But acceleration, jerk, max speeds, belt tension, currents ... all has to be in some sort of "harmony" in order to run them ok'ish. I'm saying ok'ish because it's far from being optimal.

              Here is the list of LDO 0.9 motors (and StepperOnline 0.9 motors) TMC2209 combinations I've tested so far:
              SKR 1.4 board + TMC2209 with RRF (gloomyandy's build)
              SKR 1.4 board + TMC2209 with Marlin 2
              Duet 3 Mini

              (Side note: I've toasted my SKR board during those tests because, well, it's not quite the tank as a Duet board =D)
              None of these combinations were really satisfying .

              In my opinion the TMC2660 (Duet 2 Wifi) can benefit from 0.9 motors but with TMC2209 I have to use my macro lens to see any difference.
              That's why I'm saying it's not worth the hustle with 0.9 motors.

              droftartsundefined 1 Reply Last reply Reply Quote 1
              • SputnikOC3dundefined
                SputnikOC3d @droftarts
                last edited by

                @droftarts said in Missing Steps - Cant Print SpreadCycle StealthChop tuning help:

                @SputnikOC3d please don’t quote a whole long post that you’re not actually referring to, it makes the thread very long and harder to navigate.

                Ian

                You got it champ ... I'll work on better forum reply posting etiquette ...

                1 Reply Last reply Reply Quote 2
                • droftartsundefined
                  droftarts administrators @Argo
                  last edited by

                  @argo thanks for the extra detail. Did you test the motors on your machine, or on their own? It does seem some 0.9 motors are fine; the E3d motors are mentioned by some in that thread as being okay.

                  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

                  Argoundefined gloomyandyundefined 2 Replies Last reply Reply Quote 1
                  • Argoundefined
                    Argo @droftarts
                    last edited by

                    @droftarts

                    I tested them only on my i3 style bed slingers.
                    There are small differences between motors. The StepperOnline motor for example is a bit quieter.

                    If you are referring to the 0.9 Moons posting in the GitHub Marlin issue. I think I read somewhere deeper that he isn't using TMC2209s. I was almost pushing the buttons to buy Moons for further testing.

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

                      @droftarts As a further data point I use E3D 0.9 steppers with both TM2209 and TMC5160 drivers on a coreXY setup. In both cases I'd say that although they work for me, they are certainly much noisier than the 1.8 motors they replaced and it was also much harder to get sensorless homing configured with them, the range of settings in which the motor would actually move but would also stall when needed seemed to be much smaller.

                      I operate the drives in Stealthchop all of the time at relatively modest speeds. Print speed max 60mm/S non print moves max 200mm/S. I'm running lower steps/mm than those quoted here mine are 180steps/mm.

                      All of the above testing was using the RRF STM32F4 port on a Bigtreetech SKR Pro.

                      T3P3Tonyundefined 1 Reply Last reply Reply Quote 3
                      • carcamerarigundefined
                        carcamerarig
                        last edited by

                        So this morning ive disabled input shaper as that was coined as a possible cause but it didn't make any noticeable difference. I then disabled mesh bed levelling which has made the bump worse and more frequent. Ill pull each motor and see which or both is having the issue.

                        The minor bumps / bangs were still present on infill but the bigger thump was on the travel move from the front square to the disc, with mesh bed levelling active travel moves were ok since forcing SpreadCycle.

                        IMG_1320.JPG

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

                          @carcamerarig Can you post a gcode file that demonstrates the problem? The one used in your previous post will be fine.

                          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

                          1 Reply Last reply Reply Quote 1
                          • T3P3Tonyundefined
                            T3P3Tony administrators @gloomyandy
                            last edited by

                            @gloomyandy thanks that's helpful. could you point to any specific differences in what you observed between the 5160 and the 2209?

                            www.duet3d.com

                            gloomyandyundefined SputnikOC3dundefined 2 Replies Last reply Reply Quote 1
                            • gloomyandyundefined
                              gloomyandy @T3P3Tony
                              last edited by

                              @t3p3tony Both the 5160 and 2209 were a pain to tune with the 0.9 steppers. I started out with 2209s and managed to get them working pretty well. I basically use the following sequence during and home move:
                              M913 X50 Y50 Z50
                              M915 p0 s25 H125 r0
                              M915 p1 s25 H125 r0
                              G1 H1 X-310 F2000
                              With the same settings and the 5160 the motors would not stall. But if I lowered the S parameter then they seemed to stall pretty much straight away. After a lot of messing around I ended up with the following:
                              M913 X35 Y35 Z50
                              M915 p0 s1 H500 f0 r0
                              M915 p1 s1 H500 f0 r0
                              G1 H1 X-310 F3000
                              Basically I had to use a more sensitive X setting and to prevent them from stalling too early I needed to increase the speed threshold. I also found that increasing the homing speed helped make things more consistent.

                              But I must say that this was not a very scientific process. I suspect that other combinations may well work (perhaps with better results). I was just happy to find a combination of settings that worked reliably!

                              In both cases the motors are pretty noisy (even using stealthchop) compared to using 1.8 degree steppers, especially at higher speeds. As you might expect with a coreXY pure X or Y moves seem louder (as both motors are active).

                              SputnikOC3dundefined 1 Reply Last reply Reply Quote 2
                              • SputnikOC3dundefined
                                SputnikOC3d @gloomyandy
                                last edited by

                                @gloomyandy posted

                                [[ Both the 5160 and 2209 were a pain to tune with the 0.9 steppers. I started out with 2209s and managed to get them working pretty well. ]]

                                But this is in Stealthchop mode ONLY 100% of the time ... utilizing print speeds < 100 mm/s and non print travel moves < 200 mm/s right ? Probably fine for MOST cartesians but not the OPS - travel moves over 200 mm/s are doable as are much faster print moves.

                                Operating in stealthchop for several of us is just not a solution - especially on a Voron 2.4 - purpose built to far exceed Stealthchop limitations.

                                The issue we're fighting isnt Homing sensitivity and the PITA that that is- we've gotten past that - we're now missing steps during print moves < 100 mm/s in Spreadcycle. Thats a very serious issue for a 3d print and the FW - somewhere. This post is far beyond mere inconvenience, its now to the point of the Duet 3 Mini 5+ viability as a useable board.

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

                                  @sputnikoc3d I was simply providing some extra data points about the e3d motors and responding to Tony's question. The original poster described the problems he was having as "Im only talking 180mm/s on no print moves and 60-100 on print moves." both of which are in the same region as my setup.

                                  So do you have this same physical machine configuration, motors, rails, belts etc. working at these speeds with any other control board and firmware, particularly with the same drivers? If so perhaps it would be helpful to post the details.

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

                                    @gloomyandy ... Yes - we do have some test cases setup.

                                    I have 2 Duet2 wifi's running various LDO .9* and 1.8* steppers
                                    I have a voron 2.4 build in the works that will possibly be fitted with a Mini 5_ Duet 3 w/ Pi4

                                    We also have a test Caribou 320 with Mini 5+ - w/ LDO .9* steppers on X / Y / E [ OP's machine ]

                                    Another Bear with linear rails w/ Mini 5+ - w/ LIN .9* steppers on X Y E - working ins spreadcycle but skipping steps and klunking on higher than 180 mm/s moves

                                    Then a Voron 2.4 w/ full sized main board duet and .9* OMC Stepper online on all axis

                                    Then another Voron 2.4 with SKR and 2209's and 1.8* LDO Motors

                                    So lots of things being compared ... This with this exhibits that or none of this etc ..

                                    Thru the process of elimination its seems to be either LDO .9* motors or RRF3 FW.

                                    1 Reply Last reply Reply Quote 2
                                    • SputnikOC3dundefined
                                      SputnikOC3d @T3P3Tony
                                      last edited by

                                      @t3p3tony - any potential ideas to help get this resolved. If not - pretty sure I'll just send my Mini 5+ back in for a refund to Filastruder.

                                      Someone needs to put some type of effort also into getting Trinamic engaged to help sort these issues its across the spectrum with several other boards - at least with those one can swap out drivers.

                                      Never thought Id be sending back a Duet in order to get a china board ... for different drivers.

                                      1 Reply Last reply Reply Quote 2
                                      • carcamerarigundefined
                                        carcamerarig
                                        last edited by

                                        For the time being I’ve pulled the LDO .9’s and replaced with LDO 1.8’s. The thumping / missed steps was across all travel and print moves, in stealthchop switching and forced spreadcycle, fast or slow .45mm/s to 180mm/s. I believe Ian is on the case, someone spoke to LDO and Caribou have an evaluation board that will make some tests on .9’s.
                                        It would be nice considering the staggering amount of time people have graciously put into this if the right people could keep the thread updated please.

                                        Thanks J

                                        1 Reply Last reply Reply Quote 1
                                        • Phaedruxundefined
                                          Phaedrux Moderator
                                          last edited by

                                          Nothing new to report at the moment but yes, we are on the case.

                                          Z-Bot CoreXY Build | Thingiverse Profile

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

                                            I'm getting hold of Wantai, LDO (thanks @carcamerarig) and E3D 0.9° motors to test. I have a range of Duet boards to test on, and a stepper motor analyser coming. Unfortunately it's not going to be a quick fix; I'll probably need to write a report to send to Trinamic and/or LDO with my findings.

                                            If people can post their sys folder and a file that causes them issues, preferably together in a zip file (you can upload zip files to the forum, so long as you put .txt on the end, or host them elsewhere and post a link), and comment what board and motors they have, that may make this task a little quicker.

                                            If anyone has any observations, or spots other conversations about this issue, even on other firmwares, please post and I'll follow it up.

                                            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

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