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.
    • 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
                                  • nurooundefined
                                    nuroo @dc42
                                    last edited by nuroo

                                    @dc42

                                    Must have been a wiring issue. I dont know really. Maybe it was the temp condition of my wiring job. Using servo wire that wasn't long enough, couplers, mismatched connectors, etc. Last night after re-hot gluing the connectors I still had an issue. Today at work I see your post m122 comment, come home and it works.

                                    ¯\_(ツ)_/¯
                                    

                                    If i have issues in the future I'll wire a fully soldered custom wiring harness with no connectors in the middle.

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

                                      @oliof @oozeBot a little follow-up about my note on M203: It may be that M203 needs to be set at (target speed) x sqrt(2) mm/s to allow for target speed to be reached due to the differential input in a CoreXY system. In preliminary testing on a CoreXY system this seems to be the case at least. I leave to @dc42 to decide whether this is a bug or undesirable side effect of CoreXY, but it surely is unexpected. So are you sure the machine goes the full 400mm/sec on the input shaping measurement move, or does it maybe end up "only" going 283mm/sec?

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

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

                                        @oliof I believe it will reach the full speed as defined by the lesser of the F parameter and the M303 limits, provided that the acceleration limits is high enough and the move long enough to reach that speed. The requested and top speeds will be shown by DWC if the sample shown by DWC happens during the move.

                                        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
                                        • martinkundefined
                                          martink @nuroo
                                          last edited by

                                          @nuroo

                                          Don't know if related, but before this plugin was available, when I first got my accelerometer, I wrote some gcode to collect accelerometer data for a number of moves along x, y axes and diagonals (8 M956 measurements per run of my macro).

                                          After running the macro successfully several times, RRF (a 3.4 beta at the time) crashed (during one of the M956 commands, I think) and I had to hard reset the board. I think I even had to cut 5V power (i.e. unplug the USB between my RPi and my Duet 2).

                                          Like in your case, this only happened after many measurements. Also, like you, my accelerometer is connected to the Duex (spi.cs8+spi.cs7 in my case). But my wiring was a cat5 cable with an IDC connector on the duet end and 5 pin + 2 pin JST XH connectors on the accelerometer end (Adafruit LIS3DH).

                                          On that day, I could repro the problem a couple times. But by the time I was going to report the problem and collect some debug logs, it stopped reproducing for me. I haven't tried the new plugin yet.

                                          nurooundefined 1 Reply Last reply Reply Quote 1
                                          • nurooundefined
                                            nuroo @martink
                                            last edited by nuroo

                                            @martink
                                            Was the strangest thing. I know my harness was "fugazi", but if yours was legit. If it's something else like a power panic or buffer over flow I'll try the hard power reset next time.
                                            Thanks for posting your experience. Felt like printer was trolling me, 😂

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