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

    Input shaping

    Scheduled Pinned Locked Moved
    General Discussion
    3
    11
    560
    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.
    • wbrokow1undefined
      wbrokow1
      last edited by

      ok , I have:
      1-installed the accelerometer
      2- recorded a profile. It says there is an overflow issue.

      Please give me the primer on how to use the input shaping utility properly.
      I am using a voron with duet 6mb and 3 extension board.
      Prints fine , but need to know about input shaping.
      Thanks for any guidance

      tasundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • tasundefined
        tas @wbrokow1
        last edited by

        @wbrokow1 That happens sometimes. Just try again. If it happens repeatedly then check the wiring to the accelerometer is not near motor wires.

        wbrokow1undefined 1 Reply Last reply Reply Quote 0
        • wbrokow1undefined
          wbrokow1 @tas
          last edited by

          @tas checked the wiring and keep getting the same overflow error.

          tasundefined 1 Reply Last reply Reply Quote 0
          • tasundefined
            tas @wbrokow1
            last edited by

            @wbrokow1 I have no experience with Duet6 or extension boards but someone will be able to help.

            Please post the version of firmware, DuetWebControl, and Input Shaping Plugin you are using and your config.g file. Also what type of cable you are using to connect your accelerometer and what accelerometer board you are using.

            That information will help to narrow down the problem.

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

              @wbrokow1 if it reports overflow, that usually means it couldn't write the data to SD card fast enough. Try collecting a smaller number of samples, or use a faster SD card.

              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

              wbrokow1undefined 2 Replies Last reply Reply Quote 0
              • wbrokow1undefined
                wbrokow1 @dc42
                last edited by

                @dc42 ok I will give it a try

                thanks

                1 Reply Last reply Reply Quote 0
                • wbrokow1undefined
                  wbrokow1 @dc42
                  last edited by

                  @dc42 how do I change the sample rate?

                  tasundefined 1 Reply Last reply Reply Quote 1
                  • tasundefined
                    tas @wbrokow1
                    last edited by

                    @wbrokow1 The sample rate is specified in the M955 command after you create the accelerometer using M955. Set it where you set the orientation of the sensor in config.g

                    For example:
                    M955 P0 C"spi.cs4+spi.cs3"
                    M955 P0 I25 S5000 R10 ; S5000 is 5000Hz sample rate

                    wbrokow1undefined 1 Reply Last reply Reply Quote 0
                    • wbrokow1undefined
                      wbrokow1 @tas
                      last edited by

                      @tas ok thanks. it worked!
                      So now if I record a profile can I use it each time I print something?
                      I don't have to record a new one every time I print something, right?
                      Thanks again for your help

                      tasundefined 1 Reply Last reply Reply Quote 0
                      • tasundefined
                        tas @wbrokow1
                        last edited by

                        @wbrokow1 I am glad that fixed it.

                        Now use the Input Shaping Plugin to find the main frequency (the largest bump) on the X or Y axis. That will be your center frequency used in the config.g input shaping command something like this:

                        M593 P"zvdd" F45.7 S0.0 L100;

                        Check the Gcode guide for the various parameters you want to use and insert your frequency after the F.

                        Pick the input shaper based on what looks like it will kill both your X and Y bumps the best. In my example I use zvdd.

                        https://reprap.org/wiki/G-code#M593:_Configure_Input_Shaping

                        You can stop the input shaping plugin after you find your frequency and shaper. It is not used for actual Input Shaping. M593 does that.

                        wbrokow1undefined 1 Reply Last reply Reply Quote 0
                        • wbrokow1undefined
                          wbrokow1 @tas
                          last edited by

                          @tas Ah, ok . thanks for the help! this should be written somewhere. It probably is, I just didn't look hard enough.
                          To everyone who participated: thank you very much

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