Rotating Magnetic Sensor - Keeps Pausing Printer
-
@thedragonlord @wouldstain @alankilian @charlesmc @CNCModeller I have fixed a couple of potential issues in RRF that might have caused spurious under or over extrusion reports. My initial testing suggests that these have fixed at least part of the problem - the window at the end of the drywall-anchor print went from about 53-130% before to 93-112% after. However I have not done enough runs (2 before the changes, 1 after) to prove statistically that the changes have made an improvement.
If you wish to try out RRF with these changes, you can find the binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. Caution! These are pre-beta binaries so they have had limited testing. If you are not already running firmware 3.4beta5 then you must read the upgrade notes before installing them.
-
@dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:
@thedragonlord @wouldstain @alankilian @charlesmc @CNCModeller I have fixed a couple of potential issues in RRF that might have caused spurious under or over extrusion reports. My initial testing suggests that these have fixed at least part of the problem - the window at the end of the drywall-anchor print went from about 53-130% before to 93-112% after. However I have not done enough runs (2 before the changes, 1 after) to prove statistically that the changes have made an improvement.
If you wish to try out RRF with these changes, you can find the binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. Caution! These are pre-beta binaries so they have had limited testing. If you are not already running firmware 3.4beta5 then you must read the upgrade notes before installing them.
great! tomorrow I'll give it a try! of course I'll let you know
-
@dc42 thanks for the update. I'll do some testing with your gcode at the weekend and let you know the results with my 600ppr rotary encoder based sensor.
-
@t3p3tony I cant say for sure that it always happens when running slower. Only that it did happen this time, with multiple occurrences. I just happened to be printing something that came to a very fine point that I felt would turn out better if printed slower.
gcode attached just in case it would be helpful...
-
If by PA you're referring to Pressure Advance, I looked at that as a likely culprit as I was getting much more frequent stops before I had the sensor in place and seemed to be having a problem with the extruder outrunning the hotend. It did not seem to make much difference.
Should it be revisited at slower speeds?
-
Tests 2-4 resulted in an error message.
Console output:
1635171097795-mfm-test-1:
Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.89mm/rev, min 99% max 103% over 48.1mm1635171097802-mfm-test-2:
Error: in GCode file line 219 column 14: meta command: variable 'extruder' already exists
Cancelled printing file 0:/gcodes/1635171097802-mfm-test-2.gcode, print time was 0h 0m1635171097805-mfm-test-3:
Error: in GCode file line 219 column 14: meta command: variable 'extruder' already exists
Cancelled printing file 0:/gcodes/1635171097805-mfm-test-3.gcode, print time was 0h 0m1635173702760-mfm-test-4:
Error: in GCode file line 415 column 14: meta command: variable 'extruder' already exists
Cancelled printing file 0:/gcodes/1635173702760-mfm-test-4.gcode, print time was 0h 0m -
At the end of the test file is the following:
var extruder=tools[state.currentTool].extruders[0] M400 M591 D{var.extruder}
Comment out the line starting with var and change the D variable to the appropriate one for your machine (normally 0)
;var extruder=tools[state.currentTool].extruders[0] M400 M591 D0
-
@t3p3tony
Console output:1635171097795-mfm-test-1:
Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.89mm/rev, min 99% max 103% over 48.1mm1635171097802-mfm-test-2:
Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 132 agc 77, measured sensitivity 26.00mm/rev, min 95% max 102% over 99.6mm1635171097805-mfm-test-3:
Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 132 agc 75, measured sensitivity 25.87mm/rev, min 98% max 102% over 49.0mm1635173702760-mfm-test-4:
Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 132 agc 75, measured sensitivity 26.09mm/rev, min 97% max 102% over 39.1mm1635178672431-mfm-test-5
Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.88mm/rev, min 98% max 102% over 99.3mm1635178672433-mfm-test-6
Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.99mm/rev, min 97% max 104% over 99.4mm1635178672436-mfm-test-7
Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.79mm/rev, min 98% max 101% over 45.4mm -
@dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:
@thedragonlord @wouldstain @alankilian @charlesmc @CNCModeller I have fixed a couple of potential issues in RRF that might have caused spurious under or over extrusion reports. My initial testing suggests that these have fixed at least part of the problem - the window at the end of the drywall-anchor print went from about 53-130% before to 93-112% after. However I have not done enough runs (2 before the changes, 1 after) to prove statistically that the changes have made an improvement.
If you wish to try out RRF with these changes, you can find the binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. Caution! These are pre-beta binaries so they have had limited testing. If you are not already running firmware 3.4beta5 then you must read the upgrade notes before installing them.
No way...Installed the pre beta but got this after few minutes of printing:
Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 24.78mm/rev, allow 60% to 130%, check every 3.0mm, version 3, mag 131 agc 66, measured sensitivity 24.49mm/rev, min 41% max 118% over 771.9mm
I've kept an eye to the range for about two minutes and the minimum and maximun have been about stable at around 94% and 104%. After two minutes I went away from the printer so I can't say if before the stop the range has started to enlarge or if the stop itself has been a single event
What I can say for sure is that once more the stop occured in the surrounding of a sharp corner where the nozzle slows down...(I can say because I've found a small blob of filament where the nozzle has stopped)
-
@thedragonlord is this with the file Very Fast Test Print__PETG Amazon Basic_0.2000mm.gcode that you posted earlier?
-
@dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:
@thedragonlord is this with the file Very Fast Test Print__PETG Amazon Basic_0.2000mm.gcode that you posted earlier?
no, with this one
GTS3D PLA Calibration Cube T0__PLA GTS3D_0.2000mm.gcode -
Just received this from the attached print:
Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 129 agc 75, measured sensitivity 27.29mm/rev, min -1% max 109% over 406.5mm
I'm guessing the negative percentage indicates a retraction?
-
@wouldstain thanks. I have found a section of a short print file that gives repeatable bad results.
It would be helpful to try the cone print but better if you attached the sliced gcode than the stl file and my slicing settings will be different.
-
@t3p3tony
Oops! I had passed it directly from Prusa to the printer w/o saving as a file...here you go!
-
It occurs to me that this could be part of a broader issue I had encountered prior to installing the MFM.
In short, I was experiencing what appeared to be over-advancement on the extruder. This would often result in filament being ground in the extruder to the point where it would no longer feed leading to an eventual clog in the hotend and even in the throat.
I worked with @3lemental to tune the M92 E-value (went from 837 to 814) which yielded some improvement but did not completely resolve the issue.
Installing the MFM lead to a drastic improvement (no more clogs or ground filament!) but these pauses may be related. Since this was no longer ruining print jobs, I sort of placed the issue on the back burner.
I don't know if it's appropriate to this thread but I have more detail on what steps I had / have taken so far on this.
Just let me know if you would like me to post it here or elsewhere.
-
@wouldstain Probably better to start a new thread on that, thanks.
-
I have put new 3.4beta5+1 binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. These fix a bug that was giving me consistently poor results from the filament monitor on the drywall-anchor print. This particular bug was either introduced or made worse in version 3.4beta2. The particular instance that triggered it was a very short extruder move, less than one microstep long. This means that it would have occurred more often on machines with low extruder steps/mm.
Use these binaries with caution, because I have done only small test prints with the Duet 2 binary, basic movement tests with the Duet 3 binary, and I have not yet tested the Duet 3 Mini or Maestro binaries.
These binaries also include the race condition fix that may have caused occasional incorrect results from the filament monitor in firmware 3.3 and earlier versions.
-
@dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:
I have put new 3.4beta5+1 binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. These fix a bug that was giving me consistently poor results from the filament monitor on the drywall-anchor print. This particular bug was either introduced or made worse in version 3.4beta2. The particular instance that triggered it was a very short extruder move, less than one microstep long. This means that it would have occurred more often on machines with low extruder steps/mm.
Use these binaries with caution, because I have done only small test prints with the Duet 2 binary, basic movement tests with the Duet 3 binary, and I have not yet tested the Duet 3 Mini or Maestro binaries.
These binaries also include the race condition fix that may have caused occasional incorrect results from the filament monitor in firmware 3.3 and earlier versions.
I'll give it a try with the same gcode I've posted earlier and I'll let you know... just for info my printer uses two bondtech BMG extruders so I haven't configured a low step/mm for them
-
@dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:
I have put new 3.4beta5+1 binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. These fix a bug that was giving me consistently poor results from the filament monitor on the drywall-anchor print. This particular bug was either introduced or made worse in version 3.4beta2. The particular instance that triggered it was a very short extruder move, less than one microstep long. This means that it would have occurred more often on machines with low extruder steps/mm.
Use these binaries with caution, because I have done only small test prints with the Duet 2 binary, basic movement tests with the Duet 3 binary, and I have not yet tested the Duet 3 Mini or Maestro binaries.
These binaries also include the race condition fix that may have caused occasional incorrect results from the filament monitor in firmware 3.3 and earlier versions.
Good news so far!
I've reprinted the same gcode and it went all ok!
M591 D0 Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 24.78mm/rev, allow 60% to 130%, check every 3.0mm, version 3, mag 131 agc 65, measured sensitivity 24.54mm/rev, min 95% max 112% over 1356.0mm
so far so good!
More tests will follow!
Thank you guys for your effort!
EDIT:
It doesn't work anymore the Telegram bot I use to have all the printer notifications...have you changed something? -
@thedragonlord said in Rotating Magnetic Sensor - Keeps Pausing Printer:
It doesn't work anymore the Telegram bot I use to have all the printer notifications...have you changed something?
best to start a new thread on that