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

    Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning

    Scheduled Pinned Locked Moved
    Firmware wishlist
    20
    64
    11.0k
    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.
    • MikeSundefined
      MikeS @dc42
      last edited by

      @dc42 thanks for the updates! Will wait for 3.4 and accelerometer receive to test that!

      1 Reply Last reply Reply Quote 0
      • printernoodleundefined
        printernoodle
        last edited by

        So exciting....this is a wonderful addition to the ecosystem.
        Thank you!

        zaptaundefined 1 Reply Last reply Reply Quote 0
        • GeneRisiundefined
          GeneRisi @dc42
          last edited by

          @dc42 My accelerometer is in the mail. When will 3.3 beta 3 be released? 😂

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

            @generisi said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

            @dc42 My accelerometer is in the mail. When will 3.3 beta 3 be released? 😂

            As soon as I have a fix for the issue of spurious VIN undervoltage reports on Duet 3 Mini with attached SBC. If your accelerometer arrives before then, there is a preview available at https://www.dropbox.com/sh/b65da04w1gl94nf/AACLpPslfDiWDlJN5KDdPydAa?dl=0.

            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

            CNCModellerundefined GeneRisiundefined 5 Replies Last reply Reply Quote 0
            • CNCModellerundefined
              CNCModeller @dc42
              last edited by

              @dc42

              I assume this works for a Cartesian style machine.

              I'd mainly be looking to address the "springyness" in my polar bed due to the large drive belt and bed inertia. At the moment I keep the acceleration and max rotation speed fairly low, but I'm updating the bed drive to closed loop so I can push it harder.

              Is this something that'll help, and if so will I be able to use the accelerometer on the rotating bed to identify the relevant frequencies?

              Just looking to understand how it'll integrate with the polar printer.

              I'm guessing that once I've converted my Wanhao D4S to my recently purchased Duet3 mini card this'll all be directly relevant.

              Just one final thought, if I have several different mass tool heads will I be able to assign different frequencies for each of them?

              Really interesting stuff folks!

              All the best
              Barry M

              Polar Duet3 Mini + 1HCL
              https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
              Wanhao D4S: Duet2
              https://forum.duet3d.com/post/296755
              K40 Laser, Duet2
              https://forum.duet3d.com/post/312082
              Wanhao D5S
              https://www.youtube.com/CNCModellerUK

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

                @cncmodeller said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                @dc42

                I assume this works for a Cartesian style machine.

                If you mean the input shaping, then yes, although so far I have only tested motion on a CoreXY machine, and not tested extrusion. The accelerometer support should work with any kinematics.

                Is this something that'll help, and if so will I be able to use the accelerometer on the rotating bed to identify the relevant frequencies?

                Possibly, depending on the nature of the drive between the motor and the bed.

                I'm guessing that once I've converted my Wanhao D4S to my recently purchased Duet3 mini card this'll all be directly relevant.

                Duet 3 Mini is a good choice, because it has enough spare RAM and flash memory to take further than we can take the Duet 2 WiFi/Ethernet.

                Just one final thought, if I have several different mass tool heads will I be able to assign different frequencies for each of them?

                Yes, by including M593 commands in your tool change files.

                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

                CNCModellerundefined 1 Reply Last reply Reply Quote 0
                • CNCModellerundefined
                  CNCModeller @dc42
                  last edited by

                  @dc42 said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                  @cncmodeller said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                  Possibly, depending on the nature of the drive between the motor and the bed.

                  Hi @dc42

                  The polar bed drive arrangement can be seen in the linked video.

                  https://youtu.be/I-7yMkPdsTQ?t=121

                  I'm now back to direct drive without a gearbox and A much bigger stepper.

                  The bed pulley is a custom laser cut 720 tooth gt2 profile with a 1100 tooth (ish) belt to the 20 tooth pulley on the stepper motor.

                  Pulley construction:
                  https://youtu.be/KNGRAxSSkAQ

                  Polar Duet3 Mini + 1HCL
                  https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                  Wanhao D4S: Duet2
                  https://forum.duet3d.com/post/296755
                  K40 Laser, Duet2
                  https://forum.duet3d.com/post/312082
                  Wanhao D5S
                  https://www.youtube.com/CNCModellerUK

                  1 Reply Last reply Reply Quote 0
                  • GeneRisiundefined
                    GeneRisi @dc42
                    last edited by

                    @dc42 Thank you!

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

                      @printernoodle said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                      So exciting....this is a wonderful addition to the ecosystem.

                      Looks like it gained good momentum.

                      1 Reply Last reply Reply Quote 0
                      • Nuramoriundefined
                        Nuramori
                        last edited by

                        @dc42 any chance that a future version of the toolboard could/would have the accelerometer baked into it, or an expansion header to work with say the adafruit board?

                        o_lampeundefined 1 Reply Last reply Reply Quote 3
                        • o_lampeundefined
                          o_lampe @Nuramori
                          last edited by

                          @nuramori
                          Good thought! That would also help to find different resonances on different toolheads (regarding weight)

                          1 Reply Last reply Reply Quote 1
                          • zaptaundefined
                            zapta
                            last edited by

                            Here is a demonstration of input shaping:

                            https://www.youtube.com/watch?v=ePQ7LjKKB68

                            This one is wide band and supports pendulums of different frequencies:

                            https://youtu.be/MfLavweSiRo?t=18

                            Looks like magic to me, especially the fact that it's done in an open loop.

                            CNCModellerundefined 1 Reply Last reply Reply Quote 3
                            • GeneRisiundefined
                              GeneRisi @dc42
                              last edited by

                              @dc42 Do you have an STL file that you are using to mount the accelerometer on your toolchanger? If not, I'll make one and post it.

                              1 Reply Last reply Reply Quote 0
                              • CNCModellerundefined
                                CNCModeller @zapta
                                last edited by

                                @zapta said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                                Here is a demonstration of input shaping:

                                https://www.youtube.com/watch?v=ePQ7LjKKB68

                                This one is wide band and supports pendulums of different frequencies:

                                https://youtu.be/MfLavweSiRo?t=18

                                Looks like magic to me, especially the fact that it's done in an open loop.

                                That's amazing...

                                @zapta I'm with you on that one... absolutely black magic!!!

                                Polar Duet3 Mini + 1HCL
                                https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                                Wanhao D4S: Duet2
                                https://forum.duet3d.com/post/296755
                                K40 Laser, Duet2
                                https://forum.duet3d.com/post/312082
                                Wanhao D5S
                                https://www.youtube.com/CNCModellerUK

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

                                  The Accelerometer saves so much time and filament finding the best frequency even for the basic DAA shaper.

                                  M593 off

                                  172857436_484248419285771_3287639408536478198_n.png

                                  And with DAA:

                                  173012038_3450598945041134_8942595974283612962_n.png

                                  Can't wait for the "real" shapers 🙂

                                  CNCModellerundefined 1 Reply Last reply Reply Quote 2
                                  • CNCModellerundefined
                                    CNCModeller @Argo
                                    last edited by

                                    My accelerometer has just arrived... Something else to tinker with when time permits.

                                    As my printer bed moves with the part on it, I was thinking that for large parts the natural frequency will change. This begs the question could there be a way to change the parameter during a print based on the amount of filament extruded?

                                    Just thinking out loud for now. 🙂

                                    Polar Duet3 Mini + 1HCL
                                    https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                                    Wanhao D4S: Duet2
                                    https://forum.duet3d.com/post/296755
                                    K40 Laser, Duet2
                                    https://forum.duet3d.com/post/312082
                                    Wanhao D5S
                                    https://www.youtube.com/CNCModellerUK

                                    Argoundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
                                    • GeneRisiundefined
                                      GeneRisi @dc42
                                      last edited by

                                      @dc42 I have my accelerometer set up on my tool changer. I mounted it like this:
                                      Accel.png

                                      Are any of the input shapers in the version you put into the dropbox?

                                      Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • GeneRisiundefined
                                        GeneRisi @dc42
                                        last edited by

                                        @dc42 FWIW - I also am thinking that the table the printer is on vibrates. Could a second accelerometer could be used to measure the vibration of the printer frame and subtract it from the samples collected on the carriage? The accelerometer is measuring all vibrations, not just the vibrations of the carriage inside the printer frame. I know that samples would have to be synchronous, or perhaps asynchronous and the Fourier results of the frame vibration subtracted from the Fourier results of the carriage vibration?

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

                                          @cncmodeller

                                          Input shapers to generally have a range they reduce vibrations so it's not only a specific frequency they dampen but + / - x% from the specified input shaping frequency. Depending on the shaper the range is smaller or bigger.
                                          Nevertheless it is possible to change the input shaping frequency during a print.

                                          The object "move.extruders[0].position" should display the total amount of filament used so far and with some conditional gcode in the daemon.g you should be able to achieve your goal.

                                          1 Reply Last reply Reply Quote 0
                                          • o_lampeundefined
                                            o_lampe @GeneRisi
                                            last edited by o_lampe

                                            @generisi said in Input Shapers: 2HUMP_EI & 3HUMP_EI + Auto Tuning:

                                            I know that samples would have to be synchronous, or perhaps asynchronous and the Fourier results of the frame vibration subtracted from the Fourier results of the carriage vibration?

                                            By using the same file for both tests, one could write a specific start- and end movement (a number of fast/short back and forth moves) which would allow to match the results. (*) The input shaper would have to search for these patterns...

                                            *) calling a macro M98 P"ShakeItBaby.g"

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