Extruder Linearity
-
@phaedrux said in Extruder Linearity:
Well I was originally looking into this because I was seeing some tiger stripe like surface finish on lower layer heights below 0.2 when the layer lines are less dominant of a surface feature. However, I think that is resolved now after replacing some bad v wheel bearings.
Left is the issue I was seeing. Right is after replacing the wheel bearings.I'm already using a Titan Aero (3:1) with a 0.9 stepper. And I will be giving 256 microsteps a try, though I'm a little concerned about 12883 e steps. So far so good though.
The thing to watch out for with 256 micro stepping of the extruders is how fast you can retract before running into problems. My Bondtech BMGs have the same gearing and roughly the same steps per mm as the E3D Titans and the best I can get is about 1800 mm/min (30 mm/sec) with 1.8 degree motors so I'd guess with 0.9 degree motors you'd be looking at half that (or use 128x instead).
-
@deckingman Thanks for the tips.
I haven't noticed any retraction issues yes in the limited testing I've done so far (it's 3 hours through a 4 hour print) and I'm retracting 0.8mm @ 7200mm/min.
Just checking M122:
Slowest loop: 121.14ms; fastest: 0.08ms === Move === Hiccups: 3995951, StepErrors: 0, LaErrors: 0, FreeDm: 152, MinFreeDm: 120, MaxWait: 139866ms, Underruns: 0, 0 Scheduled moves: 143654, completed moves: 143624
I'm not sure if that's a lot of hiccups and missed moves or not. @dc42?
-
And by the end of the print
Slowest loop: 156.84ms; fastest: 0.08ms === Move === Hiccups: 1478554, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 150, MaxWait: 172ms, Underruns: 0, 1 Scheduled moves: 3, completed moves: 3
-
Yes that is a lot of hiccups, which are caused by the step pulse generator being unable to generate steps fast enough. When hiccups occur, step pulses are no longer generated at uniform intervals, making missed steps more likely. I suggest you reduce microstepping or maximum speed.
-
@dc42 thanks. I'll go back to 16 with interpolation. I wasn't able to notice any difference in print quality one way or the other.
-
You may find that reducing extruder microstepping to 128 is sufficient.
-
@dc42 thanks. I'll give that a try first.
I understand from some of the work shown by @deckingman that higher microstepping can actually give better extrusion accuracy in certain situations. And if any axis could benefit from it, I would think it the extruder.
-
If noise is not a consideration I assume that "real" microstepping is preferable to interpolation?
-
@phaedrux said in Extruder Linearity:
@dc42 thanks. I'll give that a try first.
I understand from some of the work shown by @deckingman that higher microstepping can actually give better extrusion accuracy in certain situations. And if any axis could benefit from it, I would think it the extruder.
Only if you are using a mixing hot end where one filament could be extruding as little as 1% of the total. I wouldn't imagine there would be all that much to gain by using higher than (say) x32 micro-stepping or 0.9 degree motors and 16x. It's easy enough to check. Just look at the extrusion amount you get for small segments in mm, then divide your steps per mm that to see how many micro-steps you get. IIRC the numbers I was looking at for a small 0.5mm segment gave an extrusion amount of around 0.025mm. Which at 415 micro-steps per mm (16x for a 3:1 geared extruder like Bondtech BMG or E3D Titan) is about 10 micro-steps which ought to be fine. But if you want to extrude 1% of that with a mixing hot end, then it's only 0.1 micro-step and ain't gonna work.
-
@deckingman yes those are the specific circumstances I eluded to, thank you for summerizing then far more accurately and concisely than I could have.
I guess another way to think about it isn't that microstepping is providing more accuracy, but rather that in this instance there aren't enough steps to capture the movement slices. Higher stepping means more step pulses and each step can capture a smaller movement slice so nothing gets lost to rounding.
In my case with a single extruder I don't think this applies to me.
-
@phaedrux said in Extruder Linearity:
@deckingman yes those are the specific circumstances I eluded to, thank you for summerizing then far more accurately and concisely than I could have.
I guess another way to think about it isn't that microstepping is providing more accuracy, but rather that in this instance there aren't enough steps to capture the movement slices. Higher stepping means more step pulses and each step can capture a smaller movement slice so nothing gets lost to rounding.
In my case with a single extruder I don't think this applies to me.
Exactly so. But do the maths. My typical usage case is with 0.3mm layer height and 0.5mm nozzle diameter. With smaller layer heights and nozzle widths, the extrusion amount for a given segment length will be less, and there may be a case for using say 32x or 64x micro-stepping in order to capture those small movements. Bear in mind that 0.9 degree motors @ 16x micro-stepping will give the same steps per mm as 1.8 degree motors @32x micro-stepping. But 1/16th micro-step will have more torque than a 1/32 micro-step all other things being equal (like the torque rating of the motors).
-
@deckingman Yes I'll have to dig into it a little deeper. I do print at low layer heights down to 0.05 at 0.4 extrusion width.
-
Reading all of this forms the question in me: is there a desirable minimum number of steps/mm for the extruder? Or even better have a calculator that can provide a recommendation based on layer height and nozzle size/extrusion width.
-
@wilriker said in Extruder Linearity:
Reading all of this forms the question in me: is there a desirable minimum number of steps/mm for the extruder? Or even better have a calculator that can provide a recommendation based on layer height and nozzle size/extrusion width.
What I was concerned about was that with very small extrusion amounts (i.e. when using mixing ratios of 1%) then the amount of material to be extruded was less that one micro step at the 16x setting that I was using. So the desirable micro-stepping would be that which allows the smallest extruder move to be accomplished. I did do a spread sheet but it's specific to my printer/layer height/nozzle diameter. Looking through some old gcode files, I found that for a 300mm carriage move, the extruder move was about 15mm so it kind of follows that the extruder moves are about 5% of the carriage move. I used that 5% as a basis and calculated the extruder move for a realistically small segment move of 0.5mm giving me 0.025 mm of extrusion. Then of course with a mixing ratio of 1% of that, it moves the decimal point two places to the left. It's easy enough then to compare that amount of movement with what 1 micro-step will give at different micro-stepping settings.
For a more universal calculator, I'd say that you've talked yourself into a job
-
@deckingman said in Extruder Linearity:
For a more universal calculator, I'd say that you've talked yourself into a job
I saw that one coming. So, I guess I gotta do what I gotta do then.
-
OK, created a spreadsheet to calculate minimum microstepping factor for a given line width, layer height, filament diameter, flow rate and segment size. To get reliable extrusion lengths I sliced a small disc in Cura with varying line width and took their source code as a basis for how they calculate how much the extruder should move to get the required amount of plastic pushed through the nozzle.
My only problem is: somewhere in Cura there seems to be a multiplication factor of slightly more than 57.1% that I cannot find anywhere. I have no clue where it is coming from but it is consistent between line widths of 0.4, 0.45 and 0.5mm.
E.g. for a line width of 0.5mm and a layer height of 0.3mm and a filament diameter of 1.75mm it would take 0.10913mm of extruder movement to extrude 1mm of filament through the nozzle. But instead Cura will write 0.06237mm.
Has anyone any idea? Maybe @burtoogle?
-
You could re-slice with Slic3r, then use the flow calculations from the manual: http://manual.slic3r.org/advanced/flow-math
-
@jeanmarc_scaled Thanks! I will definitely look at this.
As all slicers do basically the same (don't hit me ) this might already explain where this strange multiplier is coming from.
But still, if anyone else has an idea I am willing to hear that. Especially since I followed the source code trail in CuraEngine on how this amount is calculated - but clearly I missed something.
-
@wilriker said in Extruder Linearity:
OK, created a spreadsheet to calculate minimum microstepping factor for a given line width, layer height, filament diameter, flow rate and segment size. To get reliable extrusion lengths I sliced a small disc in Cura with varying line width and took their source code as a basis for how they calculate how much the extruder should move to get the required amount of plastic pushed through the nozzle.
My only problem is: somewhere in Cura there seems to be a multiplication factor of slightly more than 57.1% that I cannot find anywhere. I have no clue where it is coming from but it is consistent between line widths of 0.4, 0.45 and 0.5mm.
E.g. for a line width of 0.5mm and a layer height of 0.3mm and a filament diameter of 1.75mm it would take 0.10913mm of extruder movement to extrude 1mm of filament through the nozzle. But instead Cura will write 0.06237mm.
Has anyone any idea? Maybe @burtoogle?
Maybe, I do. Let's see now. The line cross section is 0.3 x 0.5 and it is 1mm long so that is 0.15 mm^3 of plastic that needs to be extruded. The filament diameter is 1.75 so that has a cross sectional area of PI x 0.875^2 = 2.405... Therefore, you will need 0.15/2.405 mm of filament to pass through the extruder which comes to 0.06236... Makes sense?
-
@burtoogle I did the same calculations in my spreadsheet. I just now realized that I had a pair of parentheses missing when calculating the cross sectional area of the filament and this evaluated to a wrong value.