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

Input Shaping and Accelerometer, how do I make it useful?

Scheduled Pinned Locked Moved
General Discussion
4
10
524
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
    gnydick
    last edited by gnydick 5 Nov 2024, 06:49 10 May 2024, 22:58

    I feel like the user interface is much too dumbed down to be useful. The accelerometer plugin was deleted, so I can't take samples while printing to get some real world examples.

    Every example of IS I've seen on klipper shows the machine practically vibrating the head to get signal. What am I supposed to do with 1 X and 1 Y move?

    I don't know how these things work, but it seems like there can't possibly be enough information there.

    undefined 1 Reply Last reply 11 May 2024, 06:34 Reply Quote 0
    • undefined
      gloomyandy @gnydick
      last edited by 11 May 2024, 06:34

      @gnydick I think you mean Input Shaping (IS) not Linear Advance? Linear Advance is the Marlin equivalent od RRF's Pressure Advance (see: https://marlinfw.org/docs/features/lin_advance.html) as far as I know neither use an accelerometer as part of the tuning mechanism.

      As to the sampling technique used to obtain resonance data take a look at the discussion here: https://forum.duet3d.com/topic/25975/comparing-klipper-and-rrf-input-shaper-data-collection?_=1715190482354

      Both systems essentially should be generating the same data. From my understanding you can't really generate any useful data by sampling during an actual print (Klipper has no tools for this either), all you would be doing would be measuring the acceleration moves from the print.

      undefined 1 Reply Last reply 11 May 2024, 06:56 Reply Quote 0
      • undefined
        gnydick @gloomyandy
        last edited by 11 May 2024, 06:56

        @gloomyandy oh, geez, yes, thank you. I fixed the title. it looks like, long story short, just follow the existing instructions. Was that right?

        I don't see any differences with our without input shaping, i still get horrible ringing around sharp edges at high speed.

        pressure advance doesn't help either. i really don't know what else to do.

        I guess I have to take a more methodical approach and tweak one variable at a time.

        thanks

        undefined 1 Reply Last reply 11 May 2024, 07:01 Reply Quote 0
        • undefined
          gloomyandy @gnydick
          last edited by 11 May 2024, 07:01

          @gnydick Maybe post the graphs you are getting out of the plugin and examples of the ringing you are seeing on actual prints along with the details of what speeds, accelerations and jerk settings you are using. It is unusual to see no differences with/without IS. However the current implementation of IS in RRF is not applied in all situations (in particular to short moves), this limitation is currently being work on.

          undefined 1 Reply Last reply 12 May 2024, 20:43 Reply Quote 1
          • undefined
            br7408
            last edited by br7408 5 Dec 2024, 15:17 12 May 2024, 15:09

            You can put in and record your own moves with IS if needed, if you want to utilize moves other than what is available on the IS interface in DWC.

            For example, on a corexy machine, it can be useful to run opposite xy diagonal moves to check the variance on belt tension, in a similar manner that Klipper does. I run a code such as this. These moves will show up as move 4 and 5 in the input shaper graph after refreshing the screen. I then compare the xy frequency peaks of each move to verify.

            G1 X-150 Y-150 G4 S3 M956 P120.0 S1000 A0 F"5-X64-191-0-none.csv" G4 P10 G1 X150 Y150 F10000
            G1 X150 Y-150 G4 S3 M956 P120.0 S1000 A0 F"4-X64-191-0-none.csv" G4 P10 G1 X-150 Y150 F10000

            Obviously you will need to modify the code for your own machine, and depending on where your xy origin is.

            1 Reply Last reply Reply Quote 0
            • undefined
              gnydick @gloomyandy
              last edited by 12 May 2024, 20:43

              @gloomyandy will do when I get a chance. thank you.

              1 Reply Last reply Reply Quote 0
              • undefined
                gnydick
                last edited by 18 May 2024, 01:49

                I've found a few key things that needed fixing on my printer that has made a huge difference, so now pressure advance and input shaping have to start over.

                1. my CoreXY belts were not equal length. While I could square the gantry, the belts were never the same tension. Now they are.
                2. My motors were set to X16 Y16 I1 microstepping. Made lots of harsh vibrations at many different speeds. I was tired of the noise so I started playing with the microstepping and ended up with X64 Y64 I0 and it's sooo much better. I did also try different driver settings like stealthChop, but that didn't make a difference. Maybe it will now that the vibrations are gone.
                3. Last but not least, my X rails weren't equally spaced. They were parallel, but I overtightened some screws and it made the rail wavy on a small scale. I loosened all of the screws between the ends and re-torqued them all to just-barely-firm and that seems to have fixed it. Now my gantry just sounds like recirculating ball bearings.

                I made a new print and it's quite literally perfect. Old print on the left, new print on the right.
                print.png

                undefined undefined 2 Replies Last reply 18 May 2024, 06:59 Reply Quote 2
                • undefined
                  oliof @gnydick
                  last edited by 18 May 2024, 06:59

                  @gnydick fantastic results! Regarding rails, in the kit bulider communities people tend to use only every other hole to affix the rails, with only light torque for the reasons you describe.

                  <>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 1
                  • undefined
                    br7408 @gnydick
                    last edited by 18 May 2024, 12:08

                    @gnydick So you are running an upper and lower rail on your x gantry? What model printer? I only ask because I have contemplated running dual x rails myself on my corexy.

                    Of the things you fixed, which of the fixes do you think was the most influencing change, in regards to solving your resonance issue?

                    Are you running damper plates on your stepper motors? I found that those quieted mine down immensely.

                    undefined 1 Reply Last reply 25 May 2024, 01:53 Reply Quote 0
                    • undefined
                      gnydick @br7408
                      last edited by gnydick 25 May 2024, 01:53

                      @br7408 no, not dual rails. Just one at each end of the Y axis.

                      No dampers, I have double shear stepper mounts.

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