Thermostatic fan control based on driver die temp?
-
It seems the 2660 drivers have a temperature sensor that the Duet firmware can monitor, and does monitor going by the DWC.
I was thinking it would be nice to have a board cooling fan turn on when driver dies are above a set temperature.
Is this implemented yet? If so I haven't been able to find any such sensor identifier codes in the wiki. Assuming there aren't show-stopper problems with this idea, any chance this can be added?
-
Already implemented and available:
https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On
M106 P2 T45:65 H100:101:102
The fourth example sets up an electronics cooling fan that starts to turn on when the MCU temperature (virtual heater 100) reaches 45C and reaches full speed when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual heaters 101 and 102) report that they are over-temperature
-
OK I clearly didn't see that before.
But that says it's when it's already hits an temperature alarm. I'd like to turn on the fans before it gets close.
-
OK I think I misunderstood what Deckingman was doing here. It turns out there isn't a full scale temperature sensor available in the 2660 die. He must have set up his own separate thermistors then.
-
The driver chips produce a warning about 30C lower than the temperature at which they shut down. So you can set the fan to turn on when the warning is given, to prevent them reaching the shutdown temperature.
-
@jrdm said in Thermostatic fan control based on driver die temp?:
OK I think I misunderstood what Deckingman was doing here. It turns out there isn't a full scale temperature sensor available in the 2660 die. He must have set up his own separate thermistors then.
I believe that is exactly what @deckingman has done.
The MCU should provide a very close proxy temp for the drivers. Just make sure you've calibrated the temp offset for the MCU temp sensor. That way if your board fan is cooling based on the MCU it should keep the drivers well within range.
https://duet3d.dozuki.com/Wiki/Calibrating_the_CPU_temperature
The example fan setup provided by Resam above works quite well.
-
@JRDM how did you get all the extra sensors to show up in DWC's extra tab?
-
@jrdm said in Thermostatic fan control based on driver die temp?:
OK I think I misunderstood what Deckingman was doing here. It turns out there isn't a full scale temperature sensor available in the 2660 die. He must have set up his own separate thermistors then.
I'm on my phone, 10,000 miles away from home so visiting these forums will be brief and sporadic for a while. But yes, I attached small bead thermistors to the MCU and a couple of driver chips with a small dab of epoxy. I wanted fans to come on well before the warning temperatures and also wanted the fan speed to vary with temperature. There is a post about it on my blog somewhere.
-