nozzle not primed after retraction (I think..)
-
Sorry if this is an obvious issue, I am new to 3d Printing so still figuring stuff out.
I have gone through the calibration guide here:
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+4:+Calibration/40 but running into an issue which I assume has to do with retraction. When printing theLeveling_test_v1
file the extruder misses out a little bit at the start of the line (see image below). This gets bigger as the space/time between retractions shrink. I can sort of fix this by re-priming the nozzle but results in poor print quality when there are lots of small movements/retractions. I have tried adjusting the retraction speeds, distances etc but it seems to have little effect.If I increase the E-Jerk (7000+ mm/min) and E-Acceleration (7000+ mm/min) significantly the gap reduces but is still present as the squares get smaller:
This is the gcode I am running using PrusaSlicer: Leveling_test_v1.gcode
This is what my config.g file looks like:
; General preferences G90 ; send absolute coordinates... M83 ; relative extruder moves M550 P"Duet Cetus" ; set printer name ; Drives M569 P0 S0 D3 V70 ; goes backwards, set stealthChop, set tpwmthrs (stealthChop to spreadCycle) higher than maximum speed M569 P1 S1 D3 V70 ; goes forwards, set stealthChop, set tpwmthrs (stealthChop to spreadCycle) higher than maximum speed M569 P2 S1 D3 V70 ; goes forwards, set stealthChop, set tpwmthrs (stealthChop to spreadCycle) higher than maximum speed M569 P3 S0 ; goes backwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80 Y80 Z80 E118.68 ; set steps per mm M566 X900.00 Y900.00 Z600.00 E900.00 ; set maximum instantaneous speed (jerk) changes (mm/min) M203 X7800.00 Y7800.00 Z7800.00 E7800.00 ; set maximum speeds (mm/min) (130 mm/sec) M201 X2160.00 Y2160.00 Z2160.00 E2160.00 ; set accelerations (mm/s^2) (M201 X1000.00 Y1000.00 Z1000.00 E1000.00) M906 X400 Y400 Z400 E400 I30 ; set motor currents (mA) and motor idle factor in per cent M400 ; wait for current moves to finish M913 X63 Y63 Z63 E63 ; set motor percentage of rated current (help reduce damage/heat/etc) M84 S30 ; Set idle timeout ; Axis Limits M208 X-90 Y-92.5 Z0 S1 ; set axis minima M208 X92.5 Y92.5 Z180 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z2 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop ; Z-Probe M950 S0 C"^zprobe.mod" ; create servo pin 0 for BLTouch M558 P9 C"^zprobe.in" H3 F60 T6000 A10 R0.2 S0.003 ; set Z probe type to bltouch and the dive height + speeds + 0.2 second pause time before probe move G31 P25 X-1.6 Y-37.5 Z0.488 ; set Z probe trigger value, offset and trigger height M557 X-90:90 Y-90:90 S15 ; define mesh grid ; Heaters M140 H-1 ; disable heated bed (overrides default heater mapping) M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1 M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H1 T45 ; set fan 0 value. Thermostatic control is turned on ; Tools M563 P0 S"Cetus Exturder" D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings M207 S1.10 R-0.000 F2400 T2400 Z0.0 ; set retraction settings M572 D0 S0.030 ; set preassure advance M912 P0 S-8.3 ; calibrate the CPU temperature M501 ; read stored parameters in config-override.g
Is there anything I can do to fix this issue?
-
This sounds like an issue that can be fixed with pressure advance, especially if your printer is not using a direct extruder (the filament driving gear being attached to the frame rather than directly to the hot end)
-
Thanks. I am using a direct drive extruder (single gear). I have tried using pressure advance, setting it from 0.005 to 0.030 but it did not help with gap. Do you think I should increase the value? If so what value would you recommend?
-
@skezo, I would suggest you run one of the pressure advance calibration routines. I do not have a direct drive extruder so I am not qualified to answer the question directly.
-
@jens55 Thanks, I will run through more test with PA to see if it helps.
-
@skezo If you're using prusaslicer or similar, you can add gcode (to the layer gcode option) to change PA with the advancement in layers - you can read about it here: https://duet3d.dozuki.com/Wiki/Pressure_advance
Although everyone's machine is a bit different, I'm running a Bondtech BMG/ direct drive with the following.
M572 D0 S0.07 ; set pressure advance -
@Kolbi Thanks. I have tried changing the PA from
0.005
all the way to the extreme0.7
(increasing by0.005
) but the gaps remain in the the same location and at roughly the same spacing.What I find interesting is the gap of the first square being printed is smaller than the next one (it printers from outside to inside). As the squares get smaller the gap gets bigger. What could be causing that?
-
@skezo My guess is your slicer's retraction settings. Looking at the g-code, I see the following which I believe is making the gap you see, or related.
Inner squares:
G10 ; retract
G1 F6240.000
G1 X87.337 Y2.538 E-0.95000Outter squares:
G10 ; retract
G1 F6240.000
G1 X-79.483 Y-79.599 E-0.04914I'm not a prusaslicer expert, but I'd check your retraction/wipe settings and do some experimenting/exploring. Maybe it's firmware enabled retraction? Try deselecting that box under Printer Settings -> General -> Use firmware retraction.
-
Thanks I have tried doing that. I currently have
use firmware retractions
checked in prusaslicer as I thought this would then hand off all retractions to the firmware. That way I can test retractions while it prints, correct? Using firmware or slicer retractions seems to have the same effect.Regardless I am going to re-slice with everything turned down and try again.
Thanks for all the help and suggestions. I really appreciate it.
-
@skezo Good luck with your troubleshooting. Post results/findings so others can aid.
-
Thanks. I removed wipe and the extrusion is now
E0.00854
. The issue is slightly better but the smaller inner squares still have a gap. The pattern of the gap getting bigger as the squares get smaller is still present.Using slicer for retractions:
G1 E-1.00000 F2400.00000 G1 X-79.579 Y-79.579 F7800.000 G1 E1.00000 F2400.00000 G1 F1800.000 G1 X-79.483 Y-79.599 E0.00854
Using Firmware for retractions:
G10 ; retract G1 X-79.579 Y-79.579 F7800.000 G11 ; unretract G1 F1800.000 G1 X-79.483 Y-79.599 E0.00854
I also tried increasing the detraction speed to 60 mm/sec. This improved things but the issue was still present on the smallest square. It feels tempting to just keep upping the speed but I do not think this fix would scale well (please correct me if wrong). It would most likely be amplified when there are lots of retractions on a real print. (I pushed the detraction up to 80 mm /sec but this produced similar results to 60mm/sec)
Updated gcode with increased detraction speed: Leveling_test_v1.gcode
-
-
If using slicer-generated retraction, look for an "extra length on restart" or similar parameter in the retraction settings.
If using firmware retraction, you can use the M207 R parameter to re-prime a little more filament than was retracted.
-
@dc42 Thanks.
To get all squares connected it requiredM207 R0.68
(see below image).I then tried running a few more test on a more realistic print scenario and found that all the geometries beside the square in the center were missing the start parts of the print. I tried increasing and decreasing the e-acceleration, e-jerk and PA. I also did the same with retraction. Increasing and decreasing speeds, distance, un-retraction etc. All test prints generated similar results as the picture below.
-
What size nozzle are you using? I've seen that behavior with nozzles 0.6 mm and larger.
-
@mrehorstdmd
0.4mm nozzle -
I tried slowing everything down and the results were near identical to the above picture. You can see as the extruder retracts and moves to the next geometry and then de-retracts it just pushes out small blobs with spaces between them. It then seems to sort it self out after a little bit. I am not sure how else I can debug this.
M566 X56.25 Y56.25 Z56.25 E7.50 M203 X7800.00 Y7800.00 Z7800.00 E7800.00 M201 X93.75 Y93.75 Z93.75 E62.5 M207 S1.0 R0.2 F1800 T1800 Z0.0
-
M207 S1.10 R-0.000 F2400 T2400 Z0.0
Are you still using 1.1mm of retraction?
Maybe post your currently used settings for us to see.
Tuning something like retract based on the first layer is maybe not the best way to go.
I'd start with some neutral values and go from there.
M203 E6000 ; e speed
M201 E3000 ; e accel
M566 E3000 ; e jerk
M207 S1 R-0.000 F3000 T3000 Z0.0 ; retraction
M572 D0 S0.05 ; pressure advanceThat might give you a good enough starting point.
Fire up a tall print with some regular features and starting live tuning the values to see how it behaves. Watch it for a few layers before changing it again.A set of macros like these will help a lot, especially if you have a paneldue.
Alternatively, start with pressure advance off and do a retraction tuning test print to get an idea of how the changes to the different values in M207 have an effect. Then when you're happy with the results, tune pressure advance.
Also, if you're using a bowden tube make sure your couplings are secure and the tube isn't slipping or getting bent too much causing a restriction.
Make sure you have your slicer configured to retract on travel, and layer changes. And make your travel speed as quick as you can.
-
Thanks @Phaedrux
I have been using the macros you created to try tune the retraction (Thanks for creating them, they have helped a lot).
My setup is using a direct drive and slicer is configured to retract on travel and layer changes. Travel speed is 130mm/sec. I turned off PA and focused on retraction tuning. So far the results are pretty poor. The only time I can get enough filament down at the start of new layer is when I re-prime at set it something greater than
0.68
.I am going to run some more test this evening.
-
@skezo I'm really taking a stab at this, but maybe try adding P1 flag to your M566 command.
The default jerk policy is 0, jerk is only applied between two printing moves, or between two travel moves, and only if they both involve XY movement or neither does. Changing the jerk policy to 1 allows jerk to be applied between any pair of moves.For example, mine is:
M566 X480.00 Y480.00 Z24.00 E1500.00 P1 ; Set maximum instantaneous speed changes (mm/min)