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.
    • printernoodleundefined
      printernoodle
      last edited by

      I am looking forward to this feature set...

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

        More at https://duet3d.dozuki.com/Wiki/Accelerometers, and sample results at https://forum.e3d-online.com/threads/accelerometer-and-resonance-measurements-of-the-motion-system.3445/#post-38177.

        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

        zaptaundefined MikeSundefined 2 Replies Last reply Reply Quote 0
        • zaptaundefined
          zapta @dc42
          last edited by

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

          sample results at https://forum.e3d-online.com/threads/accelerometer-and-resonance-measurements-of-the-motion-system.3445/#post-38177.

          @dc42, Can you post the graphs here? E3D requires registration to view them.

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

            The first two are without input shaping. The second two are with ZVD input shaping at 42Hz. ZVDD didn't give any further improvement, and both EI2 and EI3 were worse.
            0d5110bc-f848-454d-a26c-4568a616300c-image.png
            f95107ba-7062-41b5-961c-229f76fbd778-image.png
            cf4f4823-a967-4c6d-ad99-dd6946f217cc-image.png
            d414cb9b-3770-49d6-aa7b-c95835149457-image.png

            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

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

              Very nice seeing progress there!
              Also as usual it looks very tidy and well thought out so far.

              just ordered a Adafruit LIS3DH and plan to experiment with the new feature.
              I see (experimental?) input shapers are also already implemented in the 3.3-input-shaper branch.

              Is it already worth to try and experiment with the feature also during printing conditions?
              Would like to see how the input shapers work with a typical i3 bed slinger as these printers tend to have different ringing frequencies at once. And I also could provide some results/data.

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

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

                I see (experimental?) input shapers are also already implemented in the 3.3-input-shaper branch.
                Is it already worth to try and experiment with the feature also during printing conditions?

                Experiment if you like; but the code is by no means complete, so be very careful. Pressure advance is disabled - I haven't even tried extruding. Delta kinematics is not implemented.

                Input shaping will only work on moves for which the acceleration time is long enough to apply it, i.e. at least 2 * the shaping time. So you may need to reduce acceleration to get it applied. I believe there is some scope to apply it to shorter acceleration times, down to 1 * the shaping time + one half period, at least when using ZVD or ZVDD, but that isn't implemented yet. Also I will probably implement reducing acceleration (but not below a minimum) where necessary to allow input shaping to be applied.

                I don't expect to include the input shaping code in the 3.3 release.

                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 1
                • CNCModellerundefined
                  CNCModeller @dc42
                  last edited by CNCModeller

                  Hi All,
                  Can anyone recommend a link to a good article on what input shaping is and what print features it addresses? I'm assuming it's about removing excitation of the printers structural modes from the demand, but I guess there are more subtle nuances too.

                  Edit: I assume this is the accelerometer mentioned.

                  https://www.ebay.co.uk/itm/232427148679

                  Many thanks
                  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

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

                    @cncmodeller

                    Yes that's the sensor.

                    Input shaper ZVD(D) paper:
                    https://www.researchgate.net/publication/316556412_INPUT_SHAPING_CONTROL_TO_REDUCE_RESIDUAL_VIBRATION_OF_A_FLEXIBLE_BEAM

                    EI2 input shaper:
                    http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.465.1337&rep=rep1&type=pdf

                    Most simple explanation: It basically cancels out ringing frequencies.

                    @dc42
                    Defining a minimum and maximum acceleration range might be good approach for input shaping.
                    With Klipper's (automatic) calibration measurement you can set a "max smoothing target" as too much acceleration may lead to losing fine details. It then recommends to stay below a specific acceleration, depending on the used shaper the value differs.
                    What Klipper does not offer though is to set a specific acceleration range. Meaning, if printing small details, the acceleration slows down as needed, so the shaper works properly.

                    Speaking of pressure advance. Is some sort of pressure advance smoothing planned?

                    1 Reply Last reply Reply Quote 2
                    • Dougal1957undefined
                      Dougal1957
                      last edited by

                      I have just order two of these https://shop.pimoroni.com/products/adafruit-lis3dh-triple-axis-accelerometer-2g-4g-8g-16g in anticipation.

                      Doug

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

                        Here are some other relevant UK listings:

                        https://www.hobbytronics.co.uk//index.php?route=product/search&search=lis3dh
                        https://thepihut.com/products/adafruit-lis3dh-triple-axis-accelerometer-2g-4g-8g-16g

                        Accelerometer support (but not input shaping) will be available in release 3.3beta3.

                        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

                        GeneRisiundefined 1 Reply Last reply Reply Quote 2
                        • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA