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

    New Input Shaping plugin v3.4.1-b1

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    25
    51
    6.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.
    • chrishammundefined
      chrishamm administrators
      last edited by chrishamm

      I'm happy to announce the first beta release of our new Input Shaping plugin!

      This DWC plugin is essentially the successor of the old Accelerometer plugin and it lets you predict input shaper effects on-the-fly. It also allows you to record and evaluate motion profiles consisting of multiple accelerometer runs in order to find the best input shaper for your machine.

      More detailed instructions about it can be found in our new docs and the plugin itself can be obtained from here (source code is available here). Note that software version 3.4.1 is required to use it.

      Please bear in mind that this version is still a beta and some things will change again. For the next versions we have the following roadmap:

      • Comparison of two different motion profiles
      • Auto-tune functionality
      • Display of shaper durations and possibly better highlighting of the effective vibration reduction
      • Fine-tuning of custom input shapers (will depend on the next software version)

      Duet software engineer

      oozeBotundefined Argoundefined zaptaundefined 3 Replies Last reply Reply Quote 17
      • oozeBotundefined
        oozeBot @chrishamm
        last edited by

        @chrishamm I'm digging it! Just put it through the paces and it's really coming together. Thanks!

        1 Reply Last reply Reply Quote 3
        • oozeBotundefined
          oozeBot
          last edited by

          One thing I just realized is that the the moves are based on max speed set in M203 - which in our case is 400mm/s - way above normal printing speeds. It might be beneficial to allow setting the speed of the moves as a parameter as that definitely plays into the readings..

          dc42undefined 1 Reply Last reply Reply Quote 5
          • dc42undefined
            dc42 administrators @oozeBot
            last edited by

            @oozebot ringing after travel moves also causes print artefacts.

            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

            oozeBotundefined 1 Reply Last reply Reply Quote 0
            • oozeBotundefined
              oozeBot @dc42
              last edited by oozeBot

              @dc42 Understood, but setting the travel speed seems appropriate as travel speed is set in the slicer. And in our case, is much slower than the max speed we have set in M203.

              oliofundefined 1 Reply Last reply Reply Quote 1
              • mikeabuilderundefined
                mikeabuilder
                last edited by

                Big KUDOS on the documentation, reflecting a lot of work to build out a tool that should be extremely useful.

                1 Reply Last reply Reply Quote 2
                • Argoundefined
                  Argo @chrishamm
                  last edited by

                  Nice! Thanks a lot for the effort 🙂

                  1 Reply Last reply Reply Quote 1
                  • oliofundefined
                    oliof @oozeBot
                    last edited by

                    @oozebot this is a bit offtopic, but either M203 should reflect the machine limits you expect and be set lower, or it should be ok to run the accelerator test at that speed because it may be reached with an appropriate setting in the slicer -- or am I missing something?

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

                    oozeBotundefined oliofundefined 2 Replies Last reply Reply Quote 2
                    • Alex.crundefined
                      Alex.cr
                      last edited by

                      Well done Duet team! This is awesome!

                      Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                      1 Reply Last reply Reply Quote 0
                      • oozeBotundefined
                        oozeBot @oliof
                        last edited by

                        @oliof we were lowering the values in start.g and then raising them after the print completed.. but I see your point.

                        Phaedruxundefined 1 Reply Last reply Reply Quote 0
                        • Fred-Yundefined
                          Fred-Y
                          last edited by

                          I just went through the documentation and started to play a little with it on my Delta - It is a really good work.
                          I'm finding it pretty user-friendly and the documentation is really helpful.

                          One suggestion I would like to make: would it be possible to add a button to save the selected IS config into the config-override.g file or maybe update the M500 command.

                          1 Reply Last reply Reply Quote 2
                          • samlogan87undefined
                            samlogan87
                            last edited by samlogan87

                            Hey Everyone,

                            EDITED

                            This looks awesome. Looking at the manual online however, the recommended value as per the example confuses me a little bit. It recommends the VZD shaper type. Why would it not be the VZDD or VZDDD which has a much higher frequency range that it covers (Horizontally on the graph)? Also VZD does not go to zero on the amplitude where as the other two do Or are you wanting to make the bell of the curve as tight as possible. It doesn't really explain it.

                            Sam

                            Custom Core-XY

                            dc42undefined 1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator @oozeBot
                              last edited by

                              @oozebot said in New Input Shaping plugin v3.4.0-b1:

                              @oliof we were lowering the values in start.g and then raising them after the print completed.. but I see your point.

                              It's safer to set M203 to the max speed you would comfortably use for travel, that way if you use the speed factor adjustment to increase print speed it won't push your travel speeds into uncomfortable speed territory.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 2
                              • dc42undefined
                                dc42 administrators @samlogan87
                                last edited by

                                @samlogan87 I agree, ZVDD is typically more appropriate than ZVD. Both will go to zero if you set the damping factor to zero.

                                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

                                samlogan87undefined 1 Reply Last reply Reply Quote 0
                                • samlogan87undefined
                                  samlogan87 @dc42
                                  last edited by

                                  @dc42 ok cool. I think I see the documentation has been adjusted maybe down the bottom of the page

                                  Custom Core-XY

                                  1 Reply Last reply Reply Quote 0
                                  • Argoundefined
                                    Argo
                                    last edited by

                                    El1 and El2 shaper always perform differently than expected.
                                    Is there a reason for that?

                                    Example:
                                    I have two ringing frequencies (one for each axis). 60Hz x axis and 40Hz Y axis. My optimal shaper frequency then is 50Hz. ZVD does a good job, ZVDD is even better and with ZVDDD I get the best results.
                                    But with El1 and El2 the performance is worse. I wonder if those shaper work differently and can't be calculated with this method?

                                    dc42undefined 1 Reply Last reply Reply Quote 0
                                    • dc42undefined
                                      dc42 administrators @Argo
                                      last edited by

                                      @argo the EI shapers accept up to 5% residual ringing in return for covering a wider bandwidth. Perhaps that us what you are seeing?

                                      Also try setting the damping factor to zero if you haven't already.

                                      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 0
                                      • nurooundefined
                                        nuroo
                                        last edited by nuroo

                                        Hey guys,

                                        Great work here 1st off.
                                        I'm having a strange issue. Last night I had over 10 successful tuning runs with this plugin. I was on my way to finding the best input shaper for my setup. Around the 12th or 13th run the plugin started crashing after the 1st X-axis move. When it crashes the dwc becomes frozen and an automatic restart is triggered, similar to if I had pressed the stop button. I have uninstalled the plugin and reinstalled it, still crashes. I've tried doing a baseline run, no input shaper - but these also now crash.

                                        In case it's my issue I will do a wire continuity test from sensor thru wiring to connector for duet board, maybe the repeated movement caused the issue. I have also tried tuning only a single axis.

                                        In my config.g
                                        M955 P0 C"spi.cs6+spi.cs5" I41 Q2000000
                                        To troubleshoot I tried:
                                        M955 P0 C"spi.cs6+spi.cs5" I41 Q1000000 <---still crashes

                                        Railcore 2 zl 300
                                        Input Shaping 3.4.0-b1
                                        Duet web control 3.4.0
                                        Board: Duet 2 WiFi (2WiFi)
                                        Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0 (2022-03-15)
                                        Duet WiFi Server Version: 1.26

                                        alt text
                                        alt text

                                        1 Reply Last reply Reply Quote 0
                                        • zaptaundefined
                                          zapta @chrishamm
                                          last edited by

                                          Documentation looks very nice. I should reconnect my accelerometer and give it a try.

                                          Is the damping factor also something that need to be configured with M593?

                                          1 Reply Last reply Reply Quote 0
                                          • dc42undefined
                                            dc42 administrators
                                            last edited by

                                            @nuroo please post a M122 report taken after the automatic restart.

                                            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

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