Problem with high temperature in the drivers
-
@arisoy thanks. Please can you start a print that causes these errors to be produced. Then when you start getting the error messages:
- Carefully touch the stepper driver chips to see if they really are hot.
- Run M122 again and post the results here.
-
@dc42 They are really hot, i cannot leave my finger on it...
Here is the new M122 :
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.3 (2021-06-15 21:46:11) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: 0F53H-W396U-D65J0-40KMJ-JD03Z-RY85Y Used output buffers: 3 of 40 (26 max) === RTOS === Static ram: 102724 Dynamic ram: 106196 of which 100 recycled Never used RAM 34684, free system stack 134 words Tasks: NETWORK(ready,15.6%,244) HEAT(delaying,0.0%,348) Move(notifyWait,0.1%,283) CanReceiv(notifyWait,0.0%,773) CanSender(notifyWait,0.0%,367) CanClock(delaying,0.0%,338) TMC(notifyWait,0.7%,106) MAIN(running,82.7%,408) IDLE(ready,0.0%,29) AIN(delaying,0.8%,264), total 100.0% Owned mutexes: WiFi(NETWORK) === Platform === Last reset 01:46:59 ago, cause: software Last software reset at 2022-01-22 18:00, reason: User, GCodes spinning, available RAM 34900, slot 2 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 MCU revision 3, ADC conversions started 6419710, completed 6419708, timed out 0, errs 0 Step timer max interval 1455 MCU temperature: min 34.3, current 44.9, max 45.1 Supply voltage: min 23.8, current 24.1, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Driver 0: position 48076, standstill, SG min/max 0/26, read errors 0, write errors 0, ifcnt 43, reads 45295, writes 5, timeouts 0, DMA errors 0 Driver 1: position 1200, standstill, SG min/max 0/28, read errors 0, write errors 0, ifcnt 43, reads 45295, writes 5, timeouts 0, DMA errors 0 Driver 2: position -2, standstill, SG min/max 0/18, read errors 0, write errors 0, ifcnt 45, reads 45292, writes 7, timeouts 0, DMA errors 0 Driver 3: position 0, standstill, SG min/max 0/14, read errors 0, write errors 0, ifcnt 45, reads 45293, writes 7, timeouts 0, DMA errors 0 Driver 4: position 0, standstill, SG min/max 0/22, read errors 0, write errors 0, ifcnt 45, reads 45293, writes 7, timeouts 0, DMA errors 0 Driver 5: position 0, assumed not present Driver 6: position 0, assumed not present Date/time: 2022-01-22 19:47:33 Cache data hit count 4294967295 Slowest loop: 138.37ms; fastest: 0.08ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 3.6ms, write time 4.0ms, max retries 0 === Move === DMs created 83, maxWait 6067306ms, bed compensation in use: mesh, comp offset 0.000 === MainDDARing === Scheduled moves 2, completed moves 2, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 1], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters = 0 -1, chamberHeaters = -1 -1 Heater 0 is on, I-accum = 0.3 Heater 1 is on, I-accum = 0.0 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === CAN === Messages queued 8107, received 10743, lost 0, longest wait 1ms for reply type 4012, peak Tx sync delay 173, free buffers 17 (min 15), ts 4303/4303/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 200.75ms; fastest: 0.06ms Responder states: HTTP(2) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 1 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 1 WiFi firmware version 1.26 WiFi MAC address f0:08:d1:02:e5:a2 WiFi Vcc 3.35, reset reason Power up WiFi flash size 2097152, free heap 19968 WiFi IP address 192.168.1.16 WiFi signal strength -52dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 4 0 0 0 0 0 0
-
@arisoy thanks. You've set the current to 1000mA in your M906 command in config.g, so they should not be getting hot. Do they remain cool if you reset the printer, home it and command some manual moves? If so then maybe it is indeed commands generated by the slicer that are causing the drivers to heat up; in which case, please make the GCode file available via Dropbox, Google Drive, or another file sharing site.
-
@dc42 I did some manual move. I did some homing. Everything is alright. No error message and i can "touch" the drivers.
The strange thing is that when i load my gcode nothing move but the drivers get hot and the errors appears.
Here is the Gcode if you want look at it :
FilamentClipV2_0.2mm_PLA_20m.gcode -
@arisoy As a long shot, are you tuning the steppers for stealhchop somewhere in you print start or homing sequence?
Do you have something like this somewhere (M17)?
; enables motors and wait for driver tuning M17 G4 P200
It's a long shot but ...
-
@gixxerfast said in Problem with high temperature in the drivers:
are you tuning the steppers for stealhchop somewhere in you print start or homing sequence?
I don't know... Where can i check this?
I check for M17 in my config.g in all homing.g files and in the gcode and i didn't found any. Is there somewhere else i have to check.
-
@arisoy Well it was a long shot
When I started with the Duets i "borrowed" a configuration that had that M17 in the middle of the config.g and I didn't understand better so I didn't remove it. I very nearly cooked my motors and drivers. The whole room smelled hot flux.
In your slicer, do you have a custom startup sequence there? How does that look?
.
-
@gixxerfast I have only one line in my startup sequence and it's this one :
START_PRINT EXTRUDER_TEMP=[first_layer_temperature] BED_TEMP=[first_layer_bed_temperature]
I didn't add this line, it was there at the begining.
And it gives me an error when i import the gcode but i don't think it's the problem.
-
No one can help me? As i said the problem occured when i load and start a gcode.
The drives are in error even before they move.
While the bed&hotend are warming up the errors start to appear.
But when i warm them up in manual or when i move in manuel i have no problem at all.
-
This is a new one for me as the earlier steps have hit on all the causes I've seen before. I think we will have to wait for one of the experts like @Phaedrux or someone to give some ideas.
-
I took a quick look at your gcode file and it's very hard to believe you have it set correctly for your printer.
To begin with, the gcode file reprograms the entire printer dynamics... strangely. This line:
M203 X500 Y500 Z10 E60 I0; sets maximum feedrates, mm/min
sets the maximum feedrate for Z to 10mm/min which is so slow you probably can't see it move and the others are similarly very slow. I'd recommend you look at your slicer settings and not have it set printer dynamics.
Also your slicer is sprinkling this line
M204 P4000
through the code which I don't understand. It's resetting the print acceleration? Finally, it sets the temperatures I think a little strangely in that it starts heating up the head at the same time as the bed.
With all that said - the one time I got "high temperature reported by driver" was when I did a lousy crimp job and one of my motor wires was only sometimes connected.
-
@arisoy there is a problem with your GCode file, although I don't know whether it is causing this issue. In this extract:
G10 P0 S205 ; set temperature ;TYPE:Custom START_PRINT EXTRUDER_TEMP=205 BED_TEMP=68 G21 ; set units to millimeters G90 ; use absolute coordinates M82 ; use absolute distances for extrusion G92 E0 ; Filament gcode SET_GCODE_OFFSET Z=0 SET_PRESSURE_ADVANCE ADVANCE=0.05 G10 P0 S205 ; set temperature M116 ; wait for temperature to be reached M190 S68 ; set bed temperature and wait for it to be reached
there are 3 lines that are obviously meant to be comments, but don't have the leading semicolon. They are the lines starting START_PRINT, SET_GCODE and SET_PRESSURE. Perhaps these lines come from the start GCode that you have configured in the slicer; or perhaps they are generated for Prusa printers. So:
- In Printer Settings/General, change G-code flavor to "RepRapFirmware". I also recommend that you select "Use relative E distance".
- In Printer Settings/Custom G-code check whether those 3 lines are present, and if so then add a leading semicolon to mark them as comments.
- Re-slice the file and try printing again.
-
@dc42 Thanks everything works fine now
-
@arisoy thanks for confirming that. I will try running your original file on a Duet 3 Mini to see if I can identify exactly what happened. You are not the first person to report this type of problem, so I want to get to the bottom of it.
-
@arisoy I have tested that file under RRF 3.4beta7. If I have the drivers in spreadCycle mode, it works. However, if I have them in stealthChop mode and I start the file without doing the correct stealthChop tuning procedure first, then the drivers provide excessive current to the motors. So I suspect that the issue was caused by lack of stealthChop tuning in the homing files.