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

Is Input Shaper not working or what's causing ringing?

Scheduled Pinned Locked Moved
Tuning and tweaking
8
45
4.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.
  • undefined
    droftarts administrators @Reine
    last edited by 7 Aug 2023, 14:25

    @Reine See notes here: https://docs.duet3d.com/User_manual/Reference/Gcodes#notes-123

    Input shaping not working for your printer? Check this:

    • High X and Y jerk values are an issue for all types of Input Shaping because the theory behind IS assumes no jerk. Therefore you should set the X and Y jerk limits only as high as necessary to allow curves to be printed smoothly. Users report jerk values of 5mm/s (300mm/min) seem to allow for IS to work, and curves to print smoothly, though test it works for you.
    • Another cause of IS not working is mesh compensation with a fine mesh and low acceleration. This splits the acceleration and deceleration parts of a move across multiple segments, which makes it difficult for RRF to apply IS.
    • A third cause is short accelerate/decelerate moves.

    Your jerk value is set to 300mm/min in motors_default_speed.g. Try halving this and see if it makes a difference. The initial jump may be the cause of the ringing, and IS can't account for it, because it has already happened.

    Turn off any mesh compensation for one test, to see if that makes a difference.

    I don't think the third option is relevant, unless you have set up segmentation in the M669 command, which I can't see that you have in your config.g.

    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

    undefined 1 Reply Last reply 7 Aug 2023, 14:32 Reply Quote 0
    • undefined
      Reine @droftarts
      last edited by 7 Aug 2023, 14:32

      @droftarts I've fiddled with Jerk between 1-5 with not much difference, but I'll give it another go.

      Shall I limit X & Y only or also E?

      undefined 1 Reply Last reply 7 Aug 2023, 14:34 Reply Quote 0
      • undefined
        droftarts administrators @Reine
        last edited by 7 Aug 2023, 14:34

        @Reine Just X and Y. The extruder moving shouldn't cause ringing in the frame, I'd have thought.

        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

        undefined 1 Reply Last reply 9 Aug 2023, 05:59 Reply Quote 0
        • undefined
          Reine @droftarts
          last edited by 9 Aug 2023, 05:59

          @droftarts here we go.
          https://imgur.com/a/gahSFnm

          undefined 1 Reply Last reply 9 Aug 2023, 09:51 Reply Quote 0
          • undefined
            dc42 administrators @Reine
            last edited by 9 Aug 2023, 09:51

            @Reine the higher frequencies (e.g. 80Hz and above) may not be ringing at all, they may be vibrations caused by fans. Here is what I suggest:

            1. Have you tried printing without mesh bed compensation, so see whether the move segmentation that causes is a factor?
            2. Try reducing the input shaper centre frequency to about 41Hz to target the main peak.

            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

            undefined 1 Reply Last reply 9 Aug 2023, 16:14 Reply Quote 0
            • undefined
              Reine @dc42
              last edited by Reine 8 Sept 2023, 16:15 9 Aug 2023, 16:14

              @dc42 yes I have tried without mesh, but didn't notice any big difference.

              Can you help me understand how to use the IS graphs? Shall I capture data through the move or not?

              Also, if I capture 5 datasets all graphs will be different, similar but different. Some can be more different than similar sometimes.

              Capture data during the whole length of the move: ON
              6daad6b0-a626-4efd-81be-b63621bff24a-image.png

              Capture data during the whole length of the move: OFF
              4a505459-841d-47b9-8c2e-3171a1fe9d9c-image.png

              Depending on which the needed center frequency seams to change, which to me seams a bit wired?

              undefined 1 Reply Last reply 10 Aug 2023, 12:56 Reply Quote 0
              • undefined
                Reine @Reine
                last edited by 10 Aug 2023, 12:56

                I printed a ringing test which was configured to increase speed six times. From bottom we have:
                30, 50, 100, 150, 200 & 250

                No other settings were changed since earlier examples.
                Jerk is still at 2.5 on both x & y, acceleration 3k.

                Video of the result:
                https://imgur.com/a/ilIudF4

                15ba6383-772f-46c8-8efc-56ffdf7f34b8-image.png

                undefined 1 Reply Last reply 10 Aug 2023, 13:45 Reply Quote 0
                • undefined
                  Reine @Reine
                  last edited by 10 Aug 2023, 13:45

                  @dc42 check this out, I've recorded 14 IS graphs with no shaper configured to get a baseline and see how consistent readings I can get.

                  Notice the difference on the last 4 images, only thing I did was to restart the 6HC. Printer is in another room, nothing was printed and no one touched it. It's like 1min between those graphs.

                  https://imgur.com/a/WT3L0rZ

                  I can not wrap my head around how to set this up.

                  undefined 1 Reply Last reply 11 Aug 2023, 13:36 Reply Quote 0
                  • undefined
                    oliof @Reine
                    last edited by 11 Aug 2023, 13:36

                    @Reine I wonder why your graphs are so unstable, I am really worried you aren't measuring the right frequencies or your printer has some build issues we haven't figured out yet.

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    undefined 1 Reply Last reply 11 Aug 2023, 13:40 Reply Quote 0
                    • undefined
                      Reine @oliof
                      last edited by 11 Aug 2023, 13:40

                      The testing continues. Today I've been using the Voron ringing tower.

                      In this example I've added a script that changes IS every 5mm in PrusaSlicer. It starts off with none, then goes to zvd 20 and increments by 5 until it reaches 70. Dampening 0.1.
                      Mesh is off and Pressure Advance is also off.
                      I've confirmed all settings while printing, even that IS is changing (with M593) and it's all correct.

                      It's printed in vase mode, 225mm/sec & 4k accl, Jerk 2 as those were the best settings I found yesterday.

                      But as you can see in the video, there's no difference (what I can tell) between no IS, zvd@20 and zvd@70.

                      Something else must be interfering so it's not even working?

                      I've even printed one tower with all shapers at the same hz and couldn't tell much of a difference if any at all.

                      RRF 3.4.6.
                      https://imgur.com/a/tC5WESD

                      @dc42 any ideas?

                      undefined 1 Reply Last reply 11 Aug 2023, 14:33 Reply Quote 1
                      • undefined
                        oozeBot @Reine
                        last edited by 11 Aug 2023, 14:33

                        @Reine What steppers are you using? What amperage are they rated for? And what motor current are they set for in your M906 command? We've seen artifacts that, at first glance, appeared to be ringing only to discover it was due to underpowering the steppers..

                        undefined undefined 2 Replies Last reply 12 Aug 2023, 06:56 Reply Quote 0
                        • undefined
                          Reine @oozeBot
                          last edited by 12 Aug 2023, 06:56

                          @oozeBot LDO-42STH48-2504AC I've tested between 1.6 - 2A, think they are rated to 2.5.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            oliof @oozeBot
                            last edited by 12 Aug 2023, 12:34

                            @oozeBot we have seen that the ringing artefacts scale with the speed.of printing, would that happen with underpowered motors too?

                            I have been looking into this with @Reine elsewhere and so far none of the usual issues arose.

                            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              oozeBot
                              last edited by oozeBot 8 Dec 2023, 16:55 12 Aug 2023, 16:55

                              When we switched to a variant of the 2504 steppers, one of our machines was showing signs of ringing not present on others, which led us on a bit of good chase. It was never as pronounced as Op’s example though (photo below). What it turned out to be was the config on that machine still had the values for the 2004 steppers at 1750 mA.

                              We run the class H (High Temp) model of the 2504 steppers and set them to 2250 mA while in operation. That’s high, but they can take it without issue and our 6HC main boards are actively cooled.

                              ![alt text](![image url](IMG_8882.jpeg image url))

                              undefined 2 Replies Last reply 13 Aug 2023, 09:19 Reply Quote 0
                              • undefined
                                Reine @oozeBot
                                last edited by Reine 13 Aug 2023, 09:19

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Reine @oozeBot
                                  last edited by 13 Aug 2023, 09:22

                                  @oozeBot I've upped my steppers to 2A, can't see much difference in temp on the 6HC but the steppers are slowly going up, not sure how high though as I haven't printed anything big yet.

                                  What's a safe temp reading on their outer casing?

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Reine
                                    last edited by 13 Aug 2023, 09:23

                                    These two graphs are taken just minutes apart -- explain to me why they are so different and why the peak is not at the same frequency?

                                    RRF Input Shaper Issue.jpg

                                    undefined 1 Reply Last reply 13 Aug 2023, 10:26 Reply Quote 0
                                    • undefined
                                      gloomyandy @Reine
                                      last edited by gloomyandy 13 Aug 2023, 10:26

                                      @Reine Just to be clear (in case others don't spot it), one set has the "capture data during entire move option" check on one but not on the other. This means you will be collecting data that includes motor vibration etc. on one but not on the other. I think the theory is that it is better to collect data after the move so that what you see is the resonance induced by the impulse but I'm no expert. The other thing to note is that the scales on the two graphs are very different (an order of magnitude), so the "peaks" in the second graph will be down in the noise of the first. Personally I don't really like the mechanism used to collect resonance data by RRF (I think the Klipper approach of basically sweeping a set of vibrations over the range, produces a stronger set of readings).

                                      But I'm not sure the different readings you show relate to the print artefacts you are seeing. Though perhaps the fact that you get a 10x higher peak with the motors active is significant?

                                      Looking at your earlier posts it would seem from the graphs in your first post that IS is having some impact on the resonances being shown. But perhaps those are not the cause of the artefacts you are seeing? What seems a little odd to me in the photos is that the "ringing" seems to be very spaced out (which may indicate a very low frequency) compared to what I've seen in other cases. Did you ever try estimating the frequency manually? See: https://www.klipper3d.org/Resonance_Compensation.html for a way to do this.

                                      undefined 1 Reply Last reply 13 Aug 2023, 11:23 Reply Quote 0
                                      • undefined
                                        Reine @gloomyandy
                                        last edited by Reine 13 Aug 2023, 11:23

                                        @gloomyandy I haven't used Klipper but that approach seams better to me too, an option to do X scans and average out the result and remove outliers would be a step in the right direction for the IS plugin imo.

                                        Good point, the magnitude axis should haven an option to be fixed so it's easier to compare.

                                        I did do the math now and came up with about 45Hz, it's lower than the graphs but not by much so that seams about right.

                                        The ei3 print just finished and here is a comparsion with the zvd print I did earlier. Finally a difference, sadly still no change in the Hz range it's testing.

                                        ;AFTER_LAYER_CHANGE
                                        {if layer_z >= 0}M593 P"ei3" F35 S0.1{endif}
                                        {if layer_z >= 5}M593 P"ei3" F37 S0.1{endif}
                                        {if layer_z >= 10}M593 P"ei3" F39 S0.1{endif}
                                        {if layer_z >= 15}M593 P"ei3" F41 S0.1{endif}
                                        {if layer_z >= 20}M593 P"ei3" F43 S0.1{endif}
                                        {if layer_z >= 25}M593 P"ei3" F45 S0.1{endif}
                                        {if layer_z >= 30}M593 P"ei3" F56 S0.1{endif}
                                        {if layer_z >= 35}M593 P"ei3" F58 S0.1{endif}
                                        {if layer_z >= 40}M593 P"ei3" F60 S0.1{endif}
                                        {if layer_z >= 45}M593 P"ei3" F62 S0.1{endif}
                                        {if layer_z >= 50}M593 P"ei3" F64 S0.1{endif}
                                        {if layer_z >= 55}M593 P"ei3" F66 S0.1{endif}

                                        B082CB60-3E40-47E8-AFF3-7A68FCFF8833_1_201_a.jpeg
                                        (zvd bottom, ei3 on top)

                                        Here's the gcode for that print, is there some issue in it preventing IS to update after each 5mm segment?
                                        acceleration_test_piece_0.2mm_PLA_24m.gcode

                                        undefined 1 Reply Last reply 13 Aug 2023, 11:52 Reply Quote 0
                                        • undefined
                                          gloomyandy @Reine
                                          last edited by 13 Aug 2023, 11:52

                                          @Reine Is that caption correct it shows ei2 not ei3 also is it zvd on top or bottom? I'd have expected the ei3 (assuming it is that) to probably have more impact than zvd.

                                          It would be useful to see a full print of that ringing test with all of the same settings but with IS turned off. So we can get an idea if IS is having any impact or not.

                                          undefined 1 Reply Last reply 13 Aug 2023, 11:55 Reply Quote 0
                                          12 out of 45
                                          • First post
                                            12/45
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA