-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
Retract / prime problems with enabled LIN_ADVANCE #4114
Comments
Maybe we should start with looking at the Lulzbot TAZ default speeds/specs Just from speculation, I would say it is the ISR timing and the number of I saw the comment
I noticed a missing line in the first perimeter layer print. I'll take a On 22 June 2016 at 03:14, Sebastianv650 [email protected] wrote:
|
A distinct possibility. Be on the lookout for opportunities to optimize. |
The TAZ 5 is using the following values regarding extruder speeds: I don't know values from other printers, do you see something unusual? Even if it's related to the processor load or timing with the extruder ISR, why is it possible that FW retract acts different than the equivalent G1 command.. I think that's the first question I have to solve. @paulusjacobus baud rate selection works fine for me, I'm using 115200 baud. |
I'm very sorry, there is definitly something wrong with the timing on the ISR stepper! I did some back and forth dry movements with the stepper at various speeds by sending G1 commands. About 12mm/s is the maximum safe speed. If I try to move it faster, the extruder spins faster for the duration the move should take but it isn't finishing the esteps in this time. Therefore it continues to move until esteps = 0 but at a much lower rate. I have not noticed that because I'm using FW retract where the default prime speed is set to 8mm/s. For retracts where I'm using much higher speeds, the effect wasn't noticeable due to the time the following travel move is needing. The TAZ has a quite high esteps/mm value of about 800-850 (as far as I know most printers have lower ones), that means for other printers the maximum extruder speed value should be aprox. 12mm/s * 800 / your_esteppmm_value. I will have a look if a step rate dependend double / quad stepping can solve this issue.. |
@Sebastianv650 great pick up. Will try to reflash my Mega to use a lower baudrate and see where it goes wrong. May be use even a lower setting than 115200 to troubleshoot it. Is the config.h file the only place where it is set or did I oversee something? |
Yes to change the baud rate, just copy one of the values from the comment above the baud rate setting inside the configuration.h. No further changes are necessary. |
One note after another day of testing and playing with the code: At last with enabled LIN_ADVANCE, Marlin stalls at about 29.5kHz step rate. This limits the extruder speed on a TAZ 5 to about 35mm/s (29500/801). Stalling is indicated by not executed extruder steps (extruder not moving) because the main stepper is consuming all of the available CPU time. I never reached this limit in normal printing with PLA, but I break it sometimes with nGen prints which uses k=150. This can be another reason for underextrusion at line starts - X and Y is moved by the main ISR, but the extruder ISR isn't fired. To have a pressure advance feature that works save in every situation, I will implement another check in the next days that will do the folowing:
Another M command will be available to display a message if some steps had to be postponed. I hope I will not find any other conditions where the pressure advance can fail. |
This is the big challenge. We are hitting some limits with the lower-powered boards. Keep looking for any and all opportunities to optimize |
Marlin 1.1.0-RC7 same problem. normal retract speed -200 mm/s |
I'm having a similar issue - essentially the extruder is stalled when printing fast (120mm/s) on RUMBA w/ 1/16 microstepping on x&y and LCD and LIN_ADVANCE enabled... |
Because |
I ended up fixing my issue by bringing down my steps/mm on Y from 360 to 90, freeing up CPU. |
We need to get on to a 32-Bit platform just for things like this. For sure the Delta's would do better with more CPU cycles available! |
since this one is VERY old and for the fact that you can still have discussion with the issue closed i would close it to shorten the list. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I got some response from Lulzbot TAZ users who are using my pressure advance feature. I can reproduce the issue, but I have no idea where it comes from at the moment:
The question are:
I will do some further analysis, but I'm not sad if somebody has some hints ;-)
Edit: Small update, a
G4 P300
short wait after each normal prime event (at 20mm/s) heals the problem. 100ms wait or aM400
doesn't work. Hm..The text was updated successfully, but these errors were encountered: