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

(mis)adventures in Input Shaping

Scheduled Pinned Locked Moved
General Discussion
2
16
329
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
    KP0005
    last edited by 7 Feb 2024, 08:50

    I have now spent about a week trying to get input shaping to work on my maestro. I tried:

    • all the shapers
    • different frequencies spanning from 36 to 56 Hz in steps of 2 Hz
    • connecting a lis3dh to both bed and extruder and measuring frequencies, without any shaper and with different shapers and frequencies
    • reducing jerk to 10mm/min
    • completely disabling mesh bed compensation

    All to pretty much no change. Data captured with the IS pluggin showed an improvement, but prints did not. The ringing tower, printed at 170mm/s (4000 acceleration) showed consistent humps around 4.4 mm apart (around 40 Hz), and that's on both axes. EI2 and EI3 managed to make the ringing worse on small segments, MZV made it slightly better on small segments, but that's it.

    I almost gave up, thinking it might be an issue with my mechanics. Then I got the idea to try out the famous Klipper input shaper. Set it to MZV, 50mm/s Y, 40mm/s X and saw the ringing almost completely disappear! All with the same hardware, same accelerations and speeds, same motor settings...

    Is it possible that the Maestro is just too slow to apply shaping at the right timing? Or what could be the difference in shaper implementations that causes such a massive difference in prints?

    Notes:

    • when using EI3 with a dampening ratio of 0, the printer started audibly vibrating in some moves. From the sound, it was around 300-500 Hz.
    • EI3, ZVDDD with a dampening ratio of 0 showed a reduction around 40 Hz but a sizable increase around 80-100 Hz.

    I will add photos of the test prints once I get home in the evening.

    1 Reply Last reply Reply Quote 0
    • undefined
      KP0005
      last edited by 7 Feb 2024, 09:09

      Some accelerometer samples attached:
      1-T0-Y10-100-0-none.csv
      2-T0-Y10-100-0-zvdd-39Hz-0.1.csv
      3-T0-Y10-100-0-zvddd-39Hz-0.1.csv
      8-T0-Y10-100-0-ei3-39Hz-0.1.csv
      11-T0-Y10-100-0-ei3-50Hz-0.csv
      16-T0-Y10-100-0-mzv-45Hz-0.csv
      20-T0-Y10-100-0-zvd-42Hz-0.1.csv
      23-T0-Y10-100-0-ei3-38Hz-0.csv

      1 Reply Last reply Reply Quote 0
      • undefined
        KP0005
        last edited by 7 Feb 2024, 09:10

        config-override.g bed.g config.g

        1 Reply Last reply Reply Quote 0
        • undefined
          oliof
          last edited by 7 Feb 2024, 09:14

          Hi, I have a couple questions

          • which RRF version did you test with? There are known issues with IS in 3.4.6, it would be interesting to see whether 3.5.0-rc3 would give better results.
            -Have you tried RRF with the values measured in Klipper?
          • Did you encounter any quality issues in RRF with IS enabled you did not without? I.e., blobs or layershifts with IS that didn't appear without.

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

          undefined 1 Reply Last reply 7 Feb 2024, 09:20 Reply Quote 0
          • undefined
            KP0005 @oliof
            last edited by 7 Feb 2024, 09:20

            @oliof
            RRF 3.5 RC3+ (last week, DC42's hotfix of the network issues from here https://forum.duet3d.com/post/332835)

            I have tried MZV at both 40 and 50 Hz in RRF to basically no improvement over no shaping.

            I haven't encountered layer shifting or blobbing in RRF, but some of the shapers caused sharp corners to print much worse. No such issue with Klipper.

            1 Reply Last reply Reply Quote 0
            • undefined
              oliof
              last edited by 7 Feb 2024, 09:22

              two more questions: Safe to assume that apart from start/end gcode this was the same model(s)? Would you be willing to share a sliced file so people can try to recreate?

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

              undefined 2 Replies Last reply 7 Feb 2024, 09:43 Reply Quote 0
              • undefined
                KP0005 @oliof
                last edited by 7 Feb 2024, 09:43

                @oliof
                Sliced for Duet: ringing_tower_0.4n_0.2mm_PLA_MK3.9_9m.gcode
                Sliced for Klipper: ringing_tower_0.4n_0.2mm_PLA_MK3.9_7m.gcode

                undefined 1 Reply Last reply 7 Feb 2024, 09:54 Reply Quote 1
                • undefined
                  KP0005
                  last edited by KP0005 2 Jul 2024, 09:49 7 Feb 2024, 09:46

                  (I am trying to tune the printer to use Prusa MK3.9 profiles, since it shares most of the mechanics with it. My printer is a heavily modified MK2 with a homebrew version of the Bondtech MK3 extruder)

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    oliof @KP0005
                    last edited by 7 Feb 2024, 09:54

                    @gloomyandy possible good test case

                    <>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
                      KP0005 @oliof
                      last edited by 7 Feb 2024, 09:55

                      @oliof I know the Duet version has high jerk and mesh bed enabled. I have disabled those manually while printing. Haven't seen a improvement.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        KP0005
                        last edited by 7 Feb 2024, 10:15

                        Another thing I forgot to mention. Disabling pressure advance also didn't help.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          KP0005
                          last edited by KP0005 2 Jul 2024, 21:40 7 Feb 2024, 21:37

                          Photos! They're here!

                          MZV, frequency sweep from 36 to 56 Hz, jerk 300.IMG_20240207_223839.jpg

                          I did in the end notice some weird corner artifacts, I didn't pay much attention to this area before.
                          IMG_20240207_223952.jpg

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            KP0005
                            last edited by 7 Feb 2024, 21:44

                            All shapers except EI3. Reduced speed, so the bands are closer together. 38 Hz, 0.1 dampening factor.IMG_20240207_224035.jpg

                            Interestingly, the results do differ for small segments:
                            IMG_20240207_224225.jpg

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              KP0005
                              last edited by 7 Feb 2024, 21:46

                              MZV, no besh bed:
                              IMG_20240207_224516.jpg

                              EI3, no mesh bed: it made shorter segments worse than baseline
                              IMG_20240207_224538.jpg

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                KP0005
                                last edited by 7 Feb 2024, 21:47

                                And now: Klipper MZV:
                                IMG_20240207_224659.jpg
                                That's the harshest lighting I could manage. It's just perfect somehow.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  KP0005
                                  last edited by 7 Feb 2024, 21:49

                                  The different banding in the top and bottom half of each tower segment is (I think) because the move direction flips midway.

                                  That's all I got so far. @oliof

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