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

    Configure a heater to cool instead

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    5
    9
    374
    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.
    • Dionysosundefined
      Dionysos
      last edited by

      Hi everyone,
      Is it possible to configure a heater so that it cools instead?

      In a screw-based extruder I want to add an actively controlled "cooling zone", similar to other heater zones.
      I have a 24V PWM controllable water pump and plan to use a fan or extruder output to change pump speed. A higher PWM duty cycle rate should lower the temperature of the assigned temperature sensor.
      Also temperature errors should be ignored for that cooling element in case the cooling power doesn't suffice.

      In theory this should be straight forward to configure. However, I am not able to find any info about a setup like that and standard G-Codes don't seem to work.

      Can someone think of a solution or a clever workaround for this setup?
      If necessary I'll also dig into the firmware to make changes here.

      Thanks for the help!

      droftartsundefined A Former User? 2 Replies Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @Dionysos
        last edited by droftarts

        @Dionysos Maybe configure it as a thermostatic fan, rather than a heater?
        edit: to add to the above, you can increase the PWM of a thermostatic fan over a range with M106 T parameter to set the range, eg T30:60, where it will ramp up from 30C to 60C, and use the L and X parameters to set the minimum and maximum PWM rate, if required.

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        Dionysosundefined 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @Dionysos
          last edited by

          @Dionysos

          Can´t you inverse (guess it was "!") the pin?

          1 Reply Last reply Reply Quote 0
          • Dionysosundefined
            Dionysos @droftarts
            last edited by

            @droftarts
            I thought the temperature range of a thermostatically controlled fan was not really what I wanted because I want to set a precise target temperature. But this may actually work if the temperature range is setup very narrow and pwm window is tuned so no swinging occurs around the target temp.

            @LB
            The problem with inverting the pin may be temperature errors. But maybe I'm wrong here. Advantage would be more logical slicer start codes and easy control in DWC.
            I'll try that version first.

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              This feature is on the firmware wish list. Meanwhile, it may be simplest to configure it as a thermostatically-controlled fan.

              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
              • theruttmeisterundefined
                theruttmeister
                last edited by theruttmeister

                Yes its possible. Done it before, it works.

                https://duet3d.dozuki.com/Wiki/Gcode#Section_M307_Set_or_report_heating_process_parameters

                The 'I' variable lets you 'invert' the logic for use with cooling devices. Its as simple as it sounds.

                I've built a peltier cooled device that used an RTD100, (using RRF2.0 iirc) and went down to the target temp.
                It will need to be a separate heater, RRF doesn't support an 'extruder' having multiple heaters, but that's not a blocker of any kind.

                Isolate, substitute, verify.

                dc42undefined 1 Reply Last reply Reply Quote 0
                • Dionysosundefined
                  Dionysos
                  last edited by

                  Thanks for the quick help.
                  I have configured the cooling zone as a thermostatic fan for now. It seems to stabilize right above the T parameters and that's at least good enough right now. I'll do some tweaking with the pwm range to have it settle betwenn the T values of M106.
                  The biggest issue before was unstable temperature, so at least that's fixed.

                  The PWM inversion with M307 didn't work for me. I've also tried to invert the pins unsuccessfully. I think for that feature I'll wait for the FW update.

                  theruttmeisterundefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @theruttmeister
                    last edited by

                    @theruttmeister said in Configure a heater to cool instead:

                    It will need to be a separate heater, RRF doesn't support an 'extruder' having multiple heaters

                    Yes it does, and has done for more than 6 years. See the M563 command.

                    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 0
                    • theruttmeisterundefined
                      theruttmeister @Dionysos
                      last edited by

                      @Dionysos

                      M307 works...

                      M307 H1 B1 I1 ......

                      As an example creates a 'heater' that will turn ON if the target temp is below the current sensor temp. The other inverting modes are depreciated as of RRF3 it seems (but are not needed anyway). With your setup I don't think you want to invert any pins only the logic.

                      @dc42 said in Configure a heater to cool instead:

                      @theruttmeister said in Configure a heater to cool instead:

                      It will need to be a separate heater, RRF doesn't support an 'extruder' having multiple heaters

                      Yes it does, and has done for more than 6 years. See the M563 command.

                      Ah so I see.
                      I did the silly thing of looking at M104... which doesn't support syntax for setting multiple temps for a tool.

                      Isolate, substitute, verify.

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