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

    Configure a PTC drybox heater

    Scheduled Pinned Locked Moved
    General Discussion
    4
    12
    810
    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.
    • pro3dundefined
      pro3d
      last edited by

      So I have a drybox in my machine with a PTC Heater using bang bang but it does not heat fast enough with bang bang or PID so it turns off. How can I configure this so it does not turn off all the time using bang bang?

      IMG_20220803_202036.jpg

      Valkyrie DIY High Temp 3D Printer

      R&D - Engineering Designer - Viking 3D Printers
      https://vkingprinter.com/

      pro3dundefined 2 Replies Last reply Reply Quote 0
      • pro3dundefined
        pro3d @pro3d
        last edited by

        @pro3d

        M307 h2
        Heater 2: heating rate 2.430, cooling rate 0.560, dead time 5.50, max PWM 1.00, mode bang-bang
        Predicted max temperature rise 296°C

        Valkyrie DIY High Temp 3D Printer

        R&D - Engineering Designer - Viking 3D Printers
        https://vkingprinter.com/

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

          What kind of control does it have internally that it's turning itself off? Or maybe I don't understand what is happening?

          Is it possible to treat it as an on/off heater if it's self limiting to a workable temp?

          Z-Bot CoreXY Build | Thingiverse Profile

          pro3dundefined 1 Reply Last reply Reply Quote 0
          • pro3dundefined
            pro3d @Phaedrux
            last edited by

            @phaedrux said in Configure a PTC drybox heater:

            What kind of control does it have internally that it's turning itself off? Or maybe I don't understand what is happening?

            Is it possible to treat it as an on/off heater if it's self limiting to a workable temp?

            Oh it is the safety feature cutting it from heating due to to slow heating

            Valkyrie DIY High Temp 3D Printer

            R&D - Engineering Designer - Viking 3D Printers
            https://vkingprinter.com/

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @pro3d
              last edited by

              @pro3d Can you post your config.g and M115 to show RRF version and hardware?

              M307 h2
              Heater 2: heating rate 2.430, cooling rate 0.560, dead time 5.50, max PWM 1.00, mode bang-bang

              These are the default values for a heater that has been defined as a hotend, and you probably have simply M307 H2 B1 S1.00 in your config.g for this heater. For a chamber heater, you should also have M307 H2 in your config.g to correctly identify it in DWC, and usually a temperature limit; eg 100C would be M143 H2 S100.

              Lastly, you need to tune the heater, so RRF has a model of how the heater behaves. All heaters need to be tuned; this also allows RRF to detect any faults with the heater. To do this, you need to send M303 H2 P1 S60 where the P parameter is the PWM (1 = 100%) and S is the target temperature (eg 60C).

              If you still get messages about the heater taking too long to heat up, you may need to increase some of the M307 parameters to get tuning to work; try sending M307 H2 D30 before M303, to increase the dead time (ie the length of time before the temperature sensor registers a temperature change).

              After tuning, either save the new M307 values to config_override.g with M500 (making sure you have M501 at the end of your config.g), or copy the generated M307 values into your config.g, putting it after the M950 that defines the heater.

              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

              pro3dundefined 2 Replies Last reply Reply Quote 0
              • pro3dundefined
                pro3d @droftarts
                last edited by pro3d

                @droftarts said in Configure a PTC drybox heater:

                @pro3d Can you post your config.g and M115 to show RRF version and hardware?

                Lastly, you need to tune the heater, so RRF has a model of how the heater behaves. All heaters need to be tuned; this also allows RRF to detect any faults with the heater. To do this, you need to send M303 H2 P1 S60 where the P parameter is the PWM (1 = 100%) and S is the target temperature (eg 60C).

                Ian

                THanks Ian. I was using Bang Bang at the time not PID. I know how to tune pid but wanted to use bang bang and is still tells me it heats to slow?

                ; drybox heater
                M308 S2 P"io6.out" Y"dht22" A"dbx Temp[C]" ; Configure dht22 as thermistor for dbx
                M950 H2 C"out2" T2 ; create chamber heater output
                M307 H2 B1 S1.00 ; bang-bang mode for the chamber heater and set PWM limit
                M141 H2 ; map chamber to heater
                M143 H2 S80 ; set temperature limit for heater

                FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.1 ELECTRONICS: Duet 3 MB6HC v1.01 or later FIRMWARE_DATE: 2022-06-01 21:09:12

                Valkyrie DIY High Temp 3D Printer

                R&D - Engineering Designer - Viking 3D Printers
                https://vkingprinter.com/

                1 Reply Last reply Reply Quote 0
                • pro3dundefined
                  pro3d @droftarts
                  last edited by pro3d

                  @droftarts

                  RRF 3.4.1 is the firmware and DWC version

                  7c5ec4db-561e-46bc-bf96-731a9900471d-image.png

                  Valkyrie DIY High Temp 3D Printer

                  R&D - Engineering Designer - Viking 3D Printers
                  https://vkingprinter.com/

                  engikeneerundefined 1 Reply Last reply Reply Quote 0
                  • engikeneerundefined
                    engikeneer @pro3d
                    last edited by

                    @pro3d even if you use bang bang control, you still need to use the heater tuning so that ther firmware knows how it expects to behave. Calling it PID tuning is probably a bit confusing!

                    E3D TC with D3Mini and Toolboards.
                    Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                    i3 clone with a bunch of mods

                    pro3dundefined 1 Reply Last reply Reply Quote 0
                    • pro3dundefined
                      pro3d @engikeneer
                      last edited by

                      @engikeneer

                      Ah OK that makes sense then

                      Valkyrie DIY High Temp 3D Printer

                      R&D - Engineering Designer - Viking 3D Printers
                      https://vkingprinter.com/

                      1 Reply Last reply Reply Quote 0
                      • pro3dundefined
                        pro3d @pro3d
                        last edited by

                        Can we have multiple chambers? I have 2... and can only add one it seems?

                        Valkyrie DIY High Temp 3D Printer

                        R&D - Engineering Designer - Viking 3D Printers
                        https://vkingprinter.com/

                        droftartsundefined 1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @pro3d
                          last edited by

                          @pro3d The firmware has support for multiple chambers and heated beds (see https://docs.duet3d.com/User_manual/RepRapFirmware/RepRapFirmware_overview#firmware-configuration-limits), up to 4 chambers on 6HC.

                          Use the P parameter of M140 (bed) or M141 (chamber) to change the heater index. This defaults to 0, so if you leave it out, it keeps setting the heater as the first chamber. For the second, send M141 P1 H2. Then it should show correctly in DWC.

                          For reference, see M141 in the Gcode dictionary. https://docs.duet3d.com/en/User_manual/Reference/Gcodes/M141

                          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

                          pro3dundefined 1 Reply Last reply Reply Quote 1
                          • pro3dundefined
                            pro3d @droftarts
                            last edited by

                            @droftarts

                            Thanks 🙂

                            Valkyrie DIY High Temp 3D Printer

                            R&D - Engineering Designer - Viking 3D Printers
                            https://vkingprinter.com/

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