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

Z Input Shaping

Scheduled Pinned Locked Moved
Firmware wishlist
inputshaping
8
17
1.3k
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
    oliof
    last edited by 27 May 2024, 11:32

    Marlin is currently gaining Z Input Shaping with some fantastic results

    I believe the results show that Z input shaping can have real world benefits, as will axis-specific input shaping algorithms and frequencies.

    Here is just the before and after image from the second link above

    031a3107-c462-46eb-a947-82312e031fb1-image.png

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

    undefined undefined 2 Replies Last reply 30 May 2024, 10:06 Reply Quote 5
    • undefined
      dc42 administrators @oliof
      last edited by 30 May 2024, 10:06

      @oliof we are currently rewriting input shaping for firmware 3.6. I hadn't considered that Z input shaping would ever be necessary, and I suspect that only a small number of especially wobbly machine designs would benefit significantly from it; but it's something we can consider for firmware 3.6.

      I believe that Marlin uses jerk (i.e. instantaneous change in the commanded speed) on the Z axis, whereas RRF does not unless the M566 P1 parameter is used. This may mean that Marlin benefits from Z input shaping more than RRF would.

      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 30 May 2024, 10:29 Reply Quote 0
      • undefined
        oliof @dc42
        last edited by 30 May 2024, 10:29

        @dc42 I hadn't considered Z input shaping before; I agree that the machines that are mostly benefiting from these are ones with cantilevered bed (like the Ultimakers and all their derivatives, and printers like the Voron V0.2) or cantilevered X (like Ormerod and all it's derivatives). It might also be beneficial for deltas?

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

        undefined 1 Reply Last reply 25 Jul 2024, 23:43 Reply Quote 0
        • undefined
          o_lampe @oliof
          last edited by 31 May 2024, 06:47

          @oliof The picture shows first layer ringing?
          I wonder if that ringing was caused from zhop after travel moves or (un-)retractions? And how well does Z-IS work when mesh levelling is active?

          undefined 1 Reply Last reply 31 May 2024, 08:06 Reply Quote 0
          • undefined
            gloomyandy @o_lampe
            last edited by 31 May 2024, 08:06

            @o_lampe The conditions for generating this ringing pattern:

            By the way, this effect was made obvious by having high zjerk, zaccel and zhop, which I can now keep as defaults. I believe this explains the elusive and sporadic holes in some places I had given up on fixing.
            Also I always printed stuff as close as possible to the back of the machine to avoid bouncing. I think it will be less of an issue now.
            

            Sounds like this particular printer was particularly sensitive to this sort of issue (though the results are still interesting and valid).

            undefined 1 Reply Last reply 1 Jun 2024, 05:18 Reply Quote 2
            • undefined
              o_lampe @gloomyandy
              last edited by 1 Jun 2024, 05:18

              @gloomyandy As @oliof already mentioned, it would also be interesting for Deltas. Their three motors are perfect for high accel and jerk rates in Z.
              Some people build pick&place machines with them. The effect of Z-IS would be a great benefit for placing small SMD parts.

              1 Reply Last reply Reply Quote 0
              • undefined
                Growlix
                last edited by 11 Jul 2024, 00:36

                @dc42 I have a very large CoreXZ printer with an XY plane that is 45 degrees about the X axis from the XZ plane. The printhead moves in the XZ plane with the nozzle normal to the plane. The bed lies in the XY plane and slides along the Y axis.

                All this to say that input shaping along the Z axis would be very helpful to me as the printhead is routinely moving at high speeds in that direction. Also, I know the duet wiki gives some good reasons why you normally wouldn't want to independently configure input shaping for each axis, but in my case this would be very helpful as well since the frequency response of my machine in the Y direction is very different than the X direction. My machine is admittedly not the norm, but seeing these features would be a big plus to me.

                Also, if anyone has any ideas on workarounds to implement Z axis input shaping with the current firmware, I would love to hear them.

                undefined 1 Reply Last reply 11 Jul 2024, 09:35 Reply Quote 0
                • undefined
                  dc42 administrators @Growlix
                  last edited by 11 Jul 2024, 09:35

                  @Growlix when X and/or Y is moving the same input shaping is applied to all axes including Z. So you already have Z input shaping.

                  The more advanced shapers cover a wide frequency range (e.g. 3:1 for EI3) so you may be able to configure a single shaper that covers the major resonances of all three axes.

                  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 12 Jul 2024, 16:11 Reply Quote 1
                  • undefined
                    Growlix @dc42
                    last edited by Growlix 7 Dec 2024, 16:11 12 Jul 2024, 16:11

                    @dc42 Interesting, I didn't realize it was being applied to the Z axis as well. I will experiment with different shaping parameters and see what happens. Thanks!

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Kiolia @oliof
                      last edited by 25 Jul 2024, 23:43

                      @oliof Deltas would likely want wildly different IS compensation for Z versus XY since Z is the one axis where everything's going the same direction, but assuming per-axis IS settings become a thing in RRF, there might be a case there!

                      AWD 48V Duet 3 6HC+3HC Linear Kossel XL "CarbonShrike"
                      https://www.printables.com/@Kiolia | youtube.com/@jamespray
                      aka Colphaer (Discord) | aka the Deltavangelist | aka that one duct guy

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        chrismbp
                        last edited by chrismbp 24 Nov 2024, 15:38

                        Just adding for the record that this would be helpful for printers with large area beds. On my printer which is roughly 1x1x1m, I get a Z resonance that is similar to how a drum vibrates.

                        My solution now is go slow with Z motions, stiffen it up, etc.... But it would be nice to have a software firmware solution to help address this from the input side.

                        undefined 1 Reply Last reply 25 Nov 2024, 16:12 Reply Quote 0
                        • undefined
                          dc42 administrators @chrismbp
                          last edited by 25 Nov 2024, 16:12

                          @chrismbp have you used an accelerometer to measure the frequency of the Z vibration? You may be able to use a single input shaper to handle the X, Y and Z resonances.

                          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 undefined 2 Replies Last reply 25 Nov 2024, 18:45 Reply Quote 0
                          • undefined
                            Notepad @dc42
                            last edited by 25 Nov 2024, 18:45

                            @dc42 Is the InputShaper applied to the Z motors as well? I blindly assumed it was only on XY motors

                            The real bamboo printer manufacturer

                            undefined 1 Reply Last reply 25 Nov 2024, 19:53 Reply Quote 0
                            • undefined
                              dc42 administrators @Notepad
                              last edited by 25 Nov 2024, 19:53

                              @Notepad as mentioned in an earlier post in this thread, RRF applies IS to all axes.

                              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 25 Nov 2024, 21:28 Reply Quote 1
                              • undefined
                                Notepad @dc42
                                last edited by 25 Nov 2024, 21:28

                                @dc42 Oh yeah. I see it now. I must have skipped that post. My bad.

                                The real bamboo printer manufacturer

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  chrismbp @dc42
                                  last edited by 1 Dec 2024, 17:10

                                  @dc42 I hadn't taken a measurement from the bed previously. I just tried that out and you are correct, the EI3 shaper was able to cover the relevant frequencies for me on both the X/Y axes in addition to the Z resonance. There is some trade-off, but I will run some test prints next to see if the magnitude of the remaining vibration is worth worrying about.

                                  undefined 1 Reply Last reply 1 Dec 2024, 18:40 Reply Quote 0
                                  • undefined
                                    dc42 administrators @chrismbp
                                    last edited by 1 Dec 2024, 18:40

                                    @chrismbp thanks for your report.

                                    We have the possibility of using separate input shaping for the Z axis in RRF 3.6 or later if it turns out to be useful.

                                    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 1
                                    • First post
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA