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

    A good process to tune jerk?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    10
    25
    4.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.
    • oliofundefined
      oliof
      last edited by

      Hello all,
      I am looking for a good process to tune jerk in RepRapFirmware. Something like the stringing test or resonance tower for retraction and input shaping. So far my "strategy" has been to fumble jerk values until it seems the printer isn't slowing down to much but also not messing up corners, but it's not very repeatable...

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

      CNCModellerundefined Argoundefined 2 Replies Last reply Reply Quote 3
      • zaptaundefined
        zapta
        last edited by

        @oliof said in A good process to tune jerk?:

        it's not very repeatable...

        What do you mean? Don't you observe monotonic behavior (print quality, printer noise, etc) when you increase the jerk with a tower?

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

          @oliof I'm with you, personally I have no intuitive way to determine a good value for Jerk, so would value any insights into how people set it, or a standardised approach.

          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
          • botundefined
            bot
            last edited by bot

            I sliced a large radius curve with very fine detail. Then, I tried to go as fast as possible around it. Then, I lowered all the settings until the print quality was the best. Jerk was the last setting I was able to finalize, and it took a bit of experimenting: the curves will print terribly with too-low jerk values. IMO, finding the value juuuust above the point that is too slow is my desirable value. Some may wish to go faster than that, so in that case I would find the lowest value first, then creep the jerk value up, while watching the quality of the corners of each segment of the curve. Increase until, again, print quality suffers. That would be the max. (This would require more than just the large radius curve -- we need sharper corners to test the max value... but the curve is important too.)

            Essentially, there seems to be two important test scenarios: sharp corners, and large smooth curves.

            *not actually a robot

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

              @bot said in A good process to tune jerk?:

              Essentially, there seems to be two important test scenarios: sharp corners, and large smooth curves.

              Does it make sense to change the jerk value while printing at the same time multiple tests towers with different number of polygon faces? E.g. 360, 4 and 3. ? Also what size of test models (on x/y plane) ?

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

                @oliof

                Because you mention input shaper.

                From the Klipper documentation:
                ā€ž If square_corner_velocity parameter was changed, revert it back to 5.0. It is not advised to increase it when using the input shaper because it can cause more smoothing in parts - it is better to use higher acceleration value instead.ā€œ

                https://www.klipper3d.org/Resonance_Compensation.html

                botundefined PCRundefined 2 Replies Last reply Reply Quote 0
                • botundefined
                  bot @zapta
                  last edited by

                  That would probably be a very good test.

                  The test models do not have to be large, I don't think. I'm not sure which would be more ideal: segments large enough to allow coasting, or not? I suppose it wouldn't matter too much except to achieve the correct amplitude of input from the top speed and max deceleration.

                  I never made any synthetic tests, when I discovered what I believe to be my ideal low jerk value. I was just printing a model about 90 mm wide, with a curve approximately 150 mm radius. (The "curve" is actually variable-radius... I don't know what to call it.) I don't think it's important that the curve be a specific "type." I think the angle of the segments is really the important thing.

                  *not actually a robot

                  1 Reply Last reply Reply Quote 0
                  • botundefined
                    bot @Argo
                    last edited by

                    @argo I think the square_corner_velocity in klipper is much different than the instantaneous speed change in RRF. I've never used klipper, but I would very much like to experiment with the "sqv" method. It seems fundamentally different than the way artificially sharp corners in curves are handled.

                    *not actually a robot

                    1 Reply Last reply Reply Quote 0
                    • PCRundefined
                      PCR @Argo
                      last edited by

                      @argo same does @dc42 say about input shaper and jerk šŸ˜‰

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

                        @bot, I created this test with 3, 4, 12 and 360 faces. Will give it a try. It can be scaled in the slicer as needed.

                        https://cad.onshape.com/documents/c9702017119a5d42f0d8f9d4/w/848372b2a0ccc60f9dfbfd7e/e/06b117c83cecdc023bdf53f3?renderMode=0&uiState=61e4606eb990e325d51c4c61

                        I am in the process of calibrating my printer so will add this to the TODO list.

                        oliofundefined 1 Reply Last reply Reply Quote 2
                        • oliofundefined
                          oliof @zapta
                          last edited by

                          @zapta other than with stringing and ringing, I am missing a good guide to follow to figure out what's good or not other than my intuition. I would like to verify that my idea is right, but it's difficult. Additionally, I'd like to have a resource to point others to because this seems to be mostly undocumented territorry.

                          <>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
                          • oliofundefined
                            oliof @zapta
                            last edited by

                            @zapta thanks for this model, I guess an ellipsoid would be another good addition to get segmented curve with changing angles between segments?

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

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

                              @oliof, yes, that's a good idea, assuming that the jerk effect is the same in all directions and is not biased by X/Y axises. Or a spiral like shape with a range of angles on the same curve...

                              1 Reply Last reply Reply Quote 1
                              • oliofundefined
                                oliof
                                last edited by

                                Here's my attempt at a combined jerk test body with 90 degree, 60 degree, and 150 degree segments, as well as an approximated circular section. I'l ltry to coax an ellipsoid into it.

                                jerk-test-combined.FCStd
                                jerk-test-combined.stl
                                6c4a9a05-d4a0-4cc3-ae97-fd044bc32d81-image.png

                                <>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
                                • zaptaundefined
                                  zapta @oliof
                                  last edited by zapta

                                  @oliof , here is a multi angle curve, maybe will be better? Need to try. It starts with 60deg and 90deg.

                                  https://cad.onshape.com/documents/c48158e4d11374f157b95979/w/242bc04d646985342ad51a6e/e/2ea812d90e683be733932f8e?renderMode=0&uiState=61e47eb012850e5895288504

                                  Edit: oops, our posts just crossed. šŸ˜‰

                                  1 Reply Last reply Reply Quote 1
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    Here's a rather detailed tuning guide. It's pretty klipper/voron centric but it goes through a lot of things.

                                    https://github.com/AndrewEllis93/Print-Tuning-Guide

                                    Z-Bot CoreXY Build | Thingiverse Profile

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

                                      @phaedrux I know that one and it mentions square corner velocity exactly twice and gives no indicator other than "if your corners look shit it's too low". Is there really no structured way to quantify good jerk values compared to the resonance tower for input shaping?

                                      <>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
                                      • zaptaundefined
                                        zapta
                                        last edited by

                                        @oliof said in A good process to tune jerk?:

                                        Here's my attempt at a combined jerk test body

                                        As you print the jerk tower, you can also examine layer print time in DWC to detect if the current jerk constraint slows down the printing.

                                        1 Reply Last reply Reply Quote 2
                                        • Phaedruxundefined
                                          Phaedrux Moderator
                                          last edited by

                                          For what it's worth I've only ever used my own sense of whether the print head was slamming around too much. Like salt and pepper, season to taste.

                                          Z-Bot CoreXY Build | Thingiverse Profile

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

                                            Looks like teaching tech has a video that covers this (link set to start at the relevant section), but their test shows no discernible difference in corner quality between jerk values of 3 and 9 ... which kind of shows the klipper approach of setting higher acceleration has some merit.

                                            I guess I'll need to do some test printing myself with some ridiculous (low and high) values to get a spectrum and reference.

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

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