Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Thermostatic fan control based on driver die temp?

    Scheduled Pinned Locked Moved
    Firmware wishlist
    6
    9
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JRDMundefined
      JRDM
      last edited by JRDM

      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?

      1 Reply Last reply Reply Quote 0
      • resamundefined
        resam
        last edited by resam

        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

        1 Reply Last reply Reply Quote 1
        • JRDMundefined
          JRDM
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • JRDMundefined
            JRDM
            last edited by JRDM

            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.

            0_1544722449792_motor temps.PNG

            Phaedruxundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              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.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 1
              • Phaedruxundefined
                Phaedrux Moderator @JRDM
                last edited by

                @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.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 1
                • nikkerundefined
                  nikker
                  last edited by

                  @JRDM how did you get all the extra sensors to show up in DWC's extra tab?

                  1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman @JRDM
                    last edited by

                    @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.

                    0_1544722449792_motor temps.PNG

                    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.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    JRDMundefined 1 Reply Last reply Reply Quote 1
                    • JRDMundefined
                      JRDM @deckingman
                      last edited by

                      @deckingman I dug it up here: https://somei3deas.wordpress.com/2017/04/18/stepper-motor-and-electronics-cooling/

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA