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

    A good process to tune jerk?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    10
    25
    4.2k
    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.
    • 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
                              • Alex.crundefined
                                Alex.cr @oliof
                                last edited by

                                @oliof

                                For what its worth with my Voron 2.4 I just spent the afternoon looking for good values by printing parts. I have been hunting the proper settings with input shaper turned on only to discover that lower values (less than 20hz) for input shaper cause weird things to happen.

                                Anyway back on topic. Using the fields that @zapta made above. This was my experience for M556 values.

                                Low values
                                1-100 -> produced notice slowing/stopping when printing the 360 sided circle. This slow of settings also caused corner buldge to be apparent.

                                Medium values
                                120-250 -> These values seem to be the sweet spot for my application (and I would expect the same for most people)

                                High Values
                                500-1000 -> Starts to round shallow corners, ringing starting to become more present

                                Very High Vales
                                1000+ No major change in print quality from High values.

                                Here are my movement settings for reference, external print speed at 60mm/s ABS.

                                M566 X180 Y180 Z60 E300 P1      ; Set maximum instantaneous speed changes (mm/min) 
                                M203 X25000 Y25000 Z6000 E6000 ; Set maximum speeds (mm/min)
                                M201 X6000 Y6000 Z3000 E6000     ; Set maximum accelerations (mm/s^2) 
                                M204 P3000 T6000                ; Set printing acceleration and travel accelerations
                                
                                

                                Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

                                Phaedruxundefined 1 Reply Last reply Reply Quote 1
                                • Phaedruxundefined
                                  Phaedrux Moderator @Alex.cr
                                  last edited by

                                  @alex-cr said in A good process to tune jerk?:

                                  M566 X180 Y180

                                  180mm/min? Really? That seems abnormally low to me.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  Alex.crundefined 1 Reply Last reply Reply Quote 0
                                  • garisundefined
                                    garis
                                    last edited by

                                    If you understand basic python this script might help you. I posted an earlier version some years ago.

                                    It creates test towers and then test ranges of Mcode from definable start / end / increments.

                                    In essence it can test up to 3 nested for loops of M Code on 3 polygon towers each separately defined (from triangles to near circles eg for jerk !!), each tower at different speeds. Start / end layer locations are definable to control travel paths. (and to change viewing angle during print).

                                    Sides can have 1 or 2 vertical grooves (configurable), and sides can be omitted.

                                    A scan through the code will show more details and parameters.

                                    Wide layers are printing for see where each code is changed, to supplement lots of M117 messages during printing.

                                    I have no skill in creating a user friendly input screen so use the d_settings file that is imported and overrides relevant data in the main script file. Nor do I have skill in automatically creating the location of the output gcode so that needs to be manually set at about line 1008.

                                    Most combinations are possible.

                                    mcopt_p06_2.py d_settings.py

                                    o_lampeundefined 1 Reply Last reply Reply Quote 1
                                    • Alex.crundefined
                                      Alex.cr @Phaedrux
                                      last edited by

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

                                      180mm/min? Really? That seems abnormally low to me.

                                      That's what I thought as well. With my input shaper turned on though If I get much over 250-300 the ringing comes back in force at 3000mm/min acceleration.

                                      Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

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

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

                                        In essence it can test up to 3 nested for loops of M Code

                                        IMHO there's one golden rule about "tuning": Never change more than one parameter at a time.

                                        Beside that, it seems to be a useful tool to generate test patterns.

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