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

Acelerometers and input shaping

Scheduled Pinned Locked Moved
General Discussion
5
8
476
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.
  • undefined
    peirof
    last edited by 23 Oct 2021, 03:53

    Hi,

    I have seen in the forum a very interesting thing and it is the use of accelerometers to reduce the effects it can produce on the printed piece, when the hotend reduces (for example when reaching a corner) or accelerates, when it begins to print a straight line.

    I have even seen in the forum some tremendously clarifying videos of what is sought with the adjustment of acceleration and jerk, I think.

    But the truth is that it is not very clear to me.

    Some questions arise:

    • What accelerometer are compatible with Duet?
    • Accelerometer conects to Duet or external pc?
    • How to connect and configure an accelerometer?
    • How are the results intérprete?
    • Where could I see the accelerometer reading?

    And more...

    There is some guide/wiki/Web where I can find more info?

    My ignorance is absolute, but the results obtained in the videos are impressive

    I want to learn more about this...

    Thx

    undefined 1 Reply Last reply 23 Oct 2021, 04:29 Reply Quote 0
    • undefined
      zapta @peirof
      last edited by zapta 23 Oct 2021, 04:29

      @peirof , it's still in beta and the documentation is sparse and incomplete. Since you didn't ask about SBC, I presume that you run a duet in stand alone mode (so am I). The first step is to get, connect and configure an accelerometer as described here https://duet3d.dozuki.com/Wiki/Accelerometers

      Next steps would be to enable the accelerometer and the input shaping plugins in DWC and make measurements. Ask for direction once you get to that area 😉

      BTW, after setting up a temporary accelerometer and enabling input shaping, I am not sure that using an accelerometer is required. An alternative approach is to take the input shaping test STL model and print it with layers of different input shaping frequencies, as we do with heat towers for temperature settings. I think that will also give a significant improvement and may be simpler since the accelerometer integration can be flakey due to long wires and interferances.

      1 Reply Last reply Reply Quote 0
      • undefined
        oliof
        last edited by 23 Oct 2021, 09:38

        @zapta printing a reference model certainly can work, but takes more time. you can also just measure ripple distance on an existing print and multiply with print speed to get an approximation, which takes less time than fitting an accelerometer and doesn't need extra prints (the old DAA method as documented on the wiki, basically).

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

        1 Reply Last reply Reply Quote 0
        • undefined
          zapta
          last edited by zapta 23 Oct 2021, 14:51

          @oliof said in Acelerometers and input shaping:

          @zapta printing a reference model certainly can work, but takes more time

          If I count the time it took me to get the parts, understanding the connection diagram and configuration and debugging noise issues, it took me X20 more time than running the input sharping tower, and when done, I run a few input shaping towers anyway to confirm the results and the overall impact (on x, y, interaction with PA, and so on).

          What we need is a reasonably priced and off the shelf small accelerometer board/module with a long thin and flexible cable that easily plug into duets and works reliably. Maybe a custom board with an MCU, accelerometer, and CAN connector (@T3P3Tony, this is your department ;-))

          Edit: having to plug a single connector to the Mini5+ would also be a nice feature.

          undefined 1 Reply Last reply 23 Oct 2021, 15:21 Reply Quote -1
          • undefined
            PCR @zapta
            last edited by 23 Oct 2021, 15:21

            @zapta i have one with USB C ready 😉

            undefined 1 Reply Last reply 23 Oct 2021, 15:36 Reply Quote 0
            • undefined
              zapta @PCR
              last edited by zapta 23 Oct 2021, 15:36

              @pcr, that sounds intriguing 😉

              Please send us pictures when you can.

              Edit: stumbled upon this one https://www.dailyduino.com/index.php/2020/06/01/stm32-can-bus/ . The STM32F103C8 are dirty cheap (maybe not at this time due to the global shortage), and well supported by platformio including with a hardware debugger. If they can do the job, it may be a good choice. What do you think?

              undefined 1 Reply Last reply 23 Oct 2021, 21:24 Reply Quote 0
              • undefined
                JoergS5 @zapta
                last edited by 23 Oct 2021, 21:24

                @zapta said in Acelerometers and input shaping:

                STM32F103C8

                you need CAN-FD for Duet, F1 series only has CAN. STM32 with CAN-FD are the G0, G4, H7, L5 and MP1 series (maybe more to come).
                There is a STM32 document about CAN-FD: https://www.st.com/resource/en/application_note/dm00625700-fdcan-peripheral-on-stm32-devices-stmicroelectronics.pdf

                undefined 1 Reply Last reply 23 Oct 2021, 22:24 Reply Quote 0
                • undefined
                  zapta @JoergS5
                  last edited by 23 Oct 2021, 22:24

                  Thanks @joergs5, this is very useful. I have zero experience with CAN bus.

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