A good process to tune jerk?
-
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... -
@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?
-
@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.
-
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.
-
@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) ?
-
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.ā -
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.
-
@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.
-
-
@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.
I am in the process of calibrating my printer so will add this to the TODO list.
-
@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.
-
@zapta thanks for this model, I guess an ellipsoid would be another good addition to get segmented curve with changing angles between segments?
-
@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...
-
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.
-
@oliof , here is a multi angle curve, maybe will be better? Need to try. It starts with 60deg and 90deg.
Edit: oops, our posts just crossed.
-
Here's a rather detailed tuning guide. It's pretty klipper/voron centric but it goes through a lot of things.
-
@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?
-
@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.
-
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.
-
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.