E3D Roto + Duet Roto Toolboard - Stepper motor stalling
-
@arturolaz there is this as well about the Roto itself
-
@arturolaz when it stops working, use M122 B121 to check whether the driver is reporting over-temperature, or the CPU temperature s reporting very hot. Note, the CPU temperature may need to be calibrated.
-
@jay_s_uk said in E3D Roto + Duet Roto Toolboard - Stepper motor stalling:
@arturolaz there is this as well about the Roto itself
@jay_s_uk Yeah
I know I am overstressing it, I just can't get around the fact that I have used it before in the same conditions and had no issues until I included the Duet Roto toolboard
@dc42 said in E3D Roto + Duet Roto Toolboard - Stepper motor stalling:
@arturolaz when it stops working, use M122 B121 to check whether the driver is reporting over-temperature, or the CPU temperature s reporting very hot. Note, the CPU temperature may need to be calibrated.
@dc42 Here is the console output for M122 B121 while the extruder stepper is failing. How can the CPU temperature can be calibrated?
m122 b121 Diagnostics for board 121: Duet TOOL1RR firmware version 3.5.4 (2024-11-24 10:43:09) Bootloader ID: SAME5x bootloader version 2.9 (2023-10-06) All averaging filters OK Never used RAM 164400, free system stack 174 words Tasks: Move(3,nWait 7,0.0%,132) HEAT(2,nWait 6,0.1%,112) CanAsync(5,nWait 4,0.0%,66) CanRecv(3,nWait 1,0.0%,73) CanClock(5,nWait 1,0.0%,63) ACCEL(3,nWait 6,0.0%,65) TMC(2,delaying,1.4%,17) MAIN(1,running,96.8%,314) IDLE(0,ready,0.0%,29) AIN(2,nWait 2,1.7%,211), total 100.0% Owned mutexes: Last reset 00:25:32 ago, cause: software Last software reset data not available Driver 0: pos 0, 2682.0 steps/mm, stalled, SG min 0, temp 69.9C, read errors 0, write errors 0, ifcnt 52, reads 40354, writes 0, timeouts 0, DMA errors 0, steps req 0 done 251658 Moves scheduled 16084, completed 16083, in progress 1, hiccups 0, segs 24, step errors 0, maxLate 0 maxPrep 18, maxOverdue 9, maxInc 3, mcErrs 0, gcmErrs 0, ebfmin 0.00 max 1.00 Peak sync jitter -8/4, peak Rx sync delay 181, resyncs 0/0, no timer interrupt scheduled VIN voltage: min 24.0, current 24.0, max 24.1 MCU temperature: min 46.4C, current 68.2C, max 68.4C Last sensors broadcast 0x00000402 found 2 138 ticks ago, 0 ordering errs, loop time 0 CAN messages queued 1646, send timeouts 0, received 1585, lost 0, errs 0, boc 0, free buffers 38, min 38, error reg 0 dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 297, adv 36296/74679 Accelerometer: LIS2DW, status: 00 Inductive sensor: raw value 36818440, frequency 3.43MHz, current setting 15, ok Integrated filament monitor not present I2C bus errors 0, naks 0, contentions 0, other errors 0
-
@arturolaz those temperatures look OK. I'm wondering whether the grounding between the tool board and the extruder motor body may be missing. If you have a multimeter, try disconnecting the tool board connector and measuring the resistance between the VIN ground pin on the tool board and the stepper motor body. It should be 50kohms if both mounting screws are connecting.
-
@dc42 My bad, there is no connection between them as the way I created the fan shroud requires the mounting screw not touching the toolboard but instead coming from the shroud. I have now read the wiring notes from the docs and will be trying it.
How can this cascade to a motor stall?
-
@arturolaz extruding filament builds up static charge. If it is allowed to build up on the extruder motor body, it may flash over to the stepper motor wires. From there it flows into the stepper motor driver and may trigger the short circuit detection in the driver.
See also this thread https://forum.duet3d.com/topic/37882/extruder-stopping-mid-print-fixed-after-reboot.
-
@dc42 Understood. I did the test grounding the metal body of the Roto through a wire soldered to the V- terminal of the power connector in the toolboard with a 100k serial resistor but it didn't work, it failed just like before even without reaching 70C
-
@dc42 I've been reading about CoolStep and I think it is the next step, unless you have another idea for me to try before.
Are there any special considerations when implementing CoolStep for the extruder? Most of the documentation is oriented for the other motors
-
I haven't been able to conrrectly configure stall detection for the extruder, I just found this post from some years ago https://forum.duet3d.com/post/102570 so I'm running out of options if CoolStep can't be implemented...
-
@arturolaz I doubt that CoolStep is the solution because I am not convinced that the driver is overheating. How quickly after the driver stopped extruding did you take the M121? If the driver really is shutting down because of overheating then it will cool down fairly quickly.
BTW your M121 report says that the driver on the tool board is stalled:
Driver 0: pos 0, 2682.0 steps/mm, stalled, SG min 0, temp 69.9C, read errors 0, write errors 0, ifcnt 52, reads 40354, writes 0, timeouts 0, DMA errors 0, steps req 0 done 251658
If you haven't set the stall detection threshold using M915 then that doesn't necessarily mean that it has stopped moving, but it does suggest that it was under high load when last commanded to move.