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

    Thermostatic controlled fans not working

    Scheduled Pinned Locked Moved Unsolved
    Duet Hardware and wiring
    5
    21
    424
    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.
    • p8blrundefined
      p8blr
      last edited by p8blr

      My fan 6 and 7 run at 100% with this command for instance:
      M106 P6 S0 H0 T50
      or
      M106 P6 S0 H1 T50
      when those sensors report to be at room temp (25C)

      However, when I change to any other temperature sensors (other than 0 or 1), it works properly. I can't find any issues with my config file, can you?
      config.g driveSetup.g variables.g

      Running 3.5.4 on 6XD with multiple 3HCs and 1XD in SBC mode with RPi 5

      Thanks

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you send M98 P"config.g" and M122 in the gcode console and share the results?

        Z-Bot CoreXY Build | Thingiverse Profile

        p8blrundefined 1 Reply Last reply Reply Quote 0
        • p8blrundefined
          p8blr @Phaedrux
          last edited by

          @Phaedrux console.txt

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

            Unfortunately that doesn't tell me much.

            Can you try setting a range for T in your commands? T25:50 for instance.

            Z-Bot CoreXY Build | Thingiverse Profile

            p8blrundefined 1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @p8blr
              last edited by

              @p8blr

              This is just a guess but sensor 0 is assigned to the bed heater and sensor 1 is assigned to the chamber heater.

              Correct?

              Perhaps being assigned to those non-extruder heaters, thermostatic control does not work as it does for extruder heaters?

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              1 Reply Last reply Reply Quote 0
              • p8blrundefined
                p8blr @Phaedrux
                last edited by

                @Phaedrux I tried that as well but I have the same issue of the fans running all the time.

                @fcwilt said in Thermostatic controlled fans not working:

                @p8blr

                This is just a guess but sensor 0 is assigned to the bed heater and sensor 1 is assigned to the chamber heater.

                Correct?

                Perhaps being assigned to those non-extruder heaters, thermostatic control does not work as it does for extruder heaters?

                Frederick

                That is a good point, I tested assigning that fan to every sensor on my printer and the thermostatic control worked on each sensor, except the bed and chamber sensors. I wonder why that is?

                fcwiltundefined 1 Reply Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @p8blr
                  last edited by

                  @p8blr

                  Well the extruder fans are there to keep the cold end of the extruder "cold".

                  You wouldn't want a fan to "cool" the bed or chamber, so perhaps thermostatic control is simply disabled for bed and chamber heaters.

                  The code for the firmware is available if you want to look at it.

                  Frederick

                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

                    @fcwilt said in Thermostatic controlled fans not working:

                    so perhaps thermostatic control is simply disabled for bed and chamber heaters.

                    I don't think so. For instance, it's common to use the bed heater as a proxy to control a case cooling fan, with the assumption being that if the bed heater is on, you're probably running a print and want the Duet to be actively cooled.

                    @p8blr Are the fans on a different can board than those heaters? I think this may be the reason.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    fcwiltundefined p8blrundefined 2 Replies Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @Phaedrux
                      last edited by

                      @Phaedrux said in Thermostatic controlled fans not working:

                      I don't think so. For instance, it's common to use the bed heater as a proxy to control a case cooling fan, with the assumption being that if the bed heater is on, you're probably running a print and want the Duet to be actively cooled.

                      You mean cool the Duet electronics?

                      I've just monitored the MCU temperature to decide when to run fans to cool the electronics.

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      infiniteloopundefined 1 Reply Last reply Reply Quote 0
                      • infiniteloopundefined
                        infiniteloop @fcwilt
                        last edited by

                        @fcwilt

                        I've just monitored the MCU temperature to decide when to run fans to cool the electronics.

                        That’s the proper way to compensate for high ambient temperatures. However, the boards not only suffer from external heat, they can generate a lot of ’steam’ themselves, especially the stepper drivers need to dissipate several hundreds of Watts. Since there is no direct means to monitor these chips, the bed heating may be a suitable indicator of the need for active cooling. Both approaches have their merits, but they use indirect measurements anyway, so the idea of providing some ventilation in general (especially on the back of the Duet) might be good compromise.

                        fcwiltundefined 1 Reply Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt @infiniteloop
                          last edited by

                          @infiniteloop

                          Based on the Duet documentation the chips do have a temperature sensor that can be referenced in code as a temp sensor.

                          duet chip sensor.jpg

                          I've been doing that and the fans do seem to be working as expected.

                          Frederick

                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                          infiniteloopundefined 1 Reply Last reply Reply Quote 0
                          • infiniteloopundefined
                            infiniteloop @fcwilt
                            last edited by

                            @fcwilt

                            the chips do have a temperature sensor that can be referenced in code as a temp sensor.

                            Thermostatic control only works with the MCU sensor (that's what you do). The stepper drivers just provide a flag to signal overheating (when it's too late to start a fan).

                            fcwiltundefined 1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt @infiniteloop
                              last edited by

                              @infiniteloop

                              True but it is still useful.

                              duet chip sensor.jpg

                              Frederick

                              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                              infiniteloopundefined 1 Reply Last reply Reply Quote 0
                              • infiniteloopundefined
                                infiniteloop @fcwilt
                                last edited by

                                @fcwilt

                                True but it is still useful.

                                Sure it is, depending on the circumstances - which brings me back to the start of our conversation: under specific conditions, the idea to use a proxy (as per @Phaedrux' post) makes sense. BTW: in my printer, I just engage a static fan for this purpose - poor thing, it is heavily undervolted 😥

                                1 Reply Last reply Reply Quote 0
                                • p8blrundefined
                                  p8blr @Phaedrux
                                  last edited by p8blr

                                  @Phaedrux Yes, on different boards. The reason I am trying to do this, is when I heat the chamber, I want to make sure that the electronics on the head are sufficiently cooled, more than just the Duet electronics, I also have a webcam on the head. I may try adding an if statement to the daemon.g to turn this fan on/off depending on the chamber temp if the thermostatic control is not an option.

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

                                    What firmware version are you using?

                                    https://docs.duet3d.com/en/User_manual/RepRapFirmware/CAN_limitations

                                    A thermostatically-controlled fan on an expansion board can only be controlled by a temperature sensor on the same expansion board.

                                    But that should be resolved in firmware after 3.3

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    p8blrundefined 1 Reply Last reply Reply Quote 0
                                    • p8blrundefined
                                      p8blr @Phaedrux
                                      last edited by

                                      @Phaedrux 3.5.4

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

                                        Can you test if a fan on the mainboard will work thermostatically with those heaters?

                                        You may also want to test with 3.6 RC1 as it is nearing release.

                                        https://forum.duet3d.com/topic/37591/firmware-bundle-3-6-0-release-candidate-1-available

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        p8blrundefined 1 Reply Last reply Reply Quote 0
                                        • p8blrundefined
                                          p8blr @Phaedrux
                                          last edited by p8blr

                                          @Phaedrux Not easily, it's in a deployed system. The fact that it only doesn't work (runs all the time regardless of temp) when I assign it to the bed or chamber sensors seems telling though.

                                          Edit: I did get it to work with daemon.g with an if statement, but it'd be cool if I didn't have to do that.

                                          p8blrundefined 1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined Phaedrux marked this topic as a question
                                          • p8blrundefined
                                            p8blr @p8blr
                                            last edited by

                                            @dc42 Are you aware of any issues using chamber or bed associated sensors for thermostatically controlled fans in the latest firmware?

                                            Thanks

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