-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid print speed oscilations when printing fast detailed arcs. #2820
base: MK3
Are you sure you want to change the base?
Conversation
8a6f2c9
to
b020722
Compare
I still need to try this, but what do you think about adding a SLOWDOWN_DEBUG define to trigger a beep if slowdown (at any speed) is triggered, along with some basic info (like the multiplier applied)? This is similar to what we do in stepper if we overrun the timer. |
From a user perspective, this would be ideal |
@nordurljosahvida I need more info about your problem flashing this. E.g. log from slicer, which file you are flashing, which printer do you have in order to help you. |
Thanks @mkbel . [now] flashing a very slightly modified version of 3.9.1 stable, with baudrate set to Here is the log of two flashes. Here is my what I'm using, and here is the diff relative to main MK3 v3.9.1 stable. Thanks! |
@nordurljosahvida Long story: - avrdude-slic3r -v -p atmega2560 -c arduino -P /dev/ttyACM1 -b 115200 -D -u -U flash:w:1:/home/x/prusa-firmware-3.9.1-mk3s-tillverka-nz-2020-10-01-slowdown.hex:i |
Thank you so much! I'm sorry for slightly derailing the case by stating that the version without your PR's contents was working, i was sure I had gotten it flashed successfully without, but apparently i cannot reproduce that. I had started suspecting that might have been the issue, thanks as well for providing the CLI command to execute. How can I help feedback-wise with 6 MK3Ss running your code? |
I don't see any point in that. If you print detailed enough model fast enough you will always get slowdown as the parser and planner is not fast enough on this CPU. The slowdown is no problem as long you have your maximum sustained rate set correctly ( |
Current firmware algorithm slows down up to Minimum segment time. Because there is some computation power margin buffer starts to be refilled in that moment up to moment printer speeds up, drains buffer and slows down again. So if you are printing high polygon count cylinder in high speed, printer is periodically slowing down and speeding up and it has some impact on surface finish. My proposed change is to lock speed to maximum sustained rate when the buffer is drained and don't speedup until segments with higher sustained speed are to be planned regardless of buffer filled earlier.
Video before
Video after
example gcode