-
Notifications
You must be signed in to change notification settings - Fork 739
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
Advance algorithm broken in 0.82 #107
Comments
Are you sure this isn't related to the recently fixed #99 ? |
I believe it's related to the advance because if I disable it (setting both factors to 0 or during compile time) the issue doesn't happen. |
Are you sure you are not using the OPS as that is definately broken... |
I never used the firmware OPS. It is compiled in, but configured with mode 0. I've read the 99 issue and believe this one is not related. |
Hello everyone! I just had the same problem and I'm using 0.83. During the print suddenly my extruder does some kind of "super retraction", spits the filament out and just goes on like nothing happened. Does any one have any clue to this? I'm using 3mm filament, Wades extruder, OPS off and now Advance Off the board is a PrintrBoard. The problem was presented during the use of the Linear Advance. llluis, are you using a Printrboard as well? |
The problem is fixed in the 0.90 development version. |
Are you sure this is fixed? I have a suggestion though: |
Advance is complicated and only works good with slow speeds/accelerations for direct drives. At least this is what I think. The higher your acceleration/speed/bowden length the higher the extruder change s get. And they get executed at max. speed which may still be to slow. That gives some clicking and erratic moves, especially on fast edged parts. Your suggestion sound good on first glance, but requires a completely new path planner, where each line gets split into 3 lines for acceleration, const speed and decelleration. Each update then adjust the length of these areas. For deltas it would also need to add new transformation computations. It would not work on avrs cause of the higher memory usage. And it will not work with quadratic advance. But it would indeed be easier to control extruder speed and position. The current solution with lagging extruder interrupt is not as precise as I would want. I think we need a third option that allows more control over extruder speed and timing without changing the motion planner. Perhaps moving advance steps inside the normal bresenham and limiting extruder steps to acceleration/decelleration steps even if advance would want more steps. That would at least limit extruder to a resonable speed. |
That was my point. Treat extruder as any other channel and let it's limits
|
That is exactly the problem. After each inserted line the acceleration/decelleration boundaries shift or even disappear. So you need to add/remove lines in the middle or shift them around invalidating all previous delta computations. And that is what we need to avoid. But we could move the extruder interrupt code inside the stepper routine. That way extruder speed is more related to the move. But then we still have some other problems depending on the resolution of the extruder. Here higher extruder resolution is bad while we want high resolution for high quality. |
It looks like advance is still not functional. I have a direct drive extruder mounted on the X carriage directly on the hot end. I've tried several combination of linear and quadratic advance values, from very small to ridiculously high values (up to hundreds), but I can't spot any differences in prints. |
I could fix those issues with over-extruding in corners by increasing Jerk. |
I was using the advance algorithm feature, including the quadratic term, since 0.80 (dev) successfully. However since 0.82, the feature is broken for me. I tough that it was a problem with my setup (motors, configuration, electronics, etc), however, I switched back to 0.81 today and everything is working again, with the same parameters.
The quadratic term can be observed during infill, in direction changes, as the extruder reverts the movement briefly. In 0.82, this didn't happen and suddenly, during a print, the extruder goes nuts, turning fast both ways and then continues. Sometimes just a stall is heard.
I don't know what kind of information I can provide to help you track this down, but, just let me know and I will send it.
Some initial information:
Thanks in advance.
Regards
The text was updated successfully, but these errors were encountered: