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

    Completely disabling heater short/fault detection?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    15
    1.2k
    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.
    • k120undefined
      k120
      last edited by k120

      Hi,

      I'm having a similar issue to the one described here when printing PEEK at >400 °C, as well as to a lesser extent with polycarbonate at 295-315 °C. My temperature readings are stable aside from intermittent positive spikes, and then I get a short that looks like this

      after 1-3 hours that ends the print. I also get shorts when letting the hotend idle at lower temperatures after running it at 400 °C. This has happened over two thermocouple daughterboards and three different cartridges. My bed is attached to the same daughterboard, and I'm using a Duet 2 Wifi with the latest firmware.

      There is no plausible way that thermal runaway would result in a fire inside a virtually fireproof enclosure with an aluminum-framed printer while printing either an almost entirely nonflammable material or one that won't sustain a flame. My copper block would remain intact if my thermocouple fell out, and I'm fully okay with the risk of damage to my build surface/fan/belts if the heater cartridge were to somehow come loose despite being firmly clamped.

      Is there a way to remove these protections in the firmware? I've tried adding M570 H1 P999 T999 S999 to my config in an attempt to soft-disable them, but that didn't fix the problem with shorting. The inconvenient solution I used previously on a board that didn't support thermocouples was an external PID controller and SSR with the hotend thermistor located on the X-carriage and the G-code setpoint at 15 °C, and I'll have to go back to that with cold extrusion enabled if I'm unable to solve this. As that workaround neither has thermal runaway prevention nor shuts off after printing ends and adds unnecessary complexity, there's no reason to use it compared to disabling the relevant protections. I've completed long prints at over 400 °C as well as an almost 500 °C 12 hour test to simulate the heater running continuously with a detached TC, so it's clear that I would be able to print with my current setup if not for firmware protections.

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

        @k120

        The solution would seem to be to fix your hardware so it doesn't fail as it appears to be doing.

        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

        k120undefined 1 Reply Last reply Reply Quote 0
        • k120undefined
          k120 @fcwilt
          last edited by

          @fcwilt

          I've already tried two daughterboards and three cartridges, and the Duet is almost new. I just opened this thermocouple five or so hours ago. This is ultimately an issue with E3D's thermocouple quality control, as the other thread is also dealing with shorts due to insulation breakdown. But as I mentioned, I was able to print fine despite using the same hotend configuration previously.

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

            @k120

            Are thermistors unsuitable for your application?

            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

            k120undefined 1 Reply Last reply Reply Quote 0
            • k120undefined
              k120 @fcwilt
              last edited by

              @fcwilt

              Yeah, I go up to 425 °C on some PEEK parts without overhangs and typically print it at 405-415 °C. Most thermistors max out at 280-300 °C, and E3D PT100 sensors are rated to 400 °C. So thermocouples are my best option for reliable long-term use.

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

                1. Have you made sure that the thermocouple connections are electrically isolated from the metal parts of the bed and the hot end?

                2. Which thermocouple daughter board do you have: the MAX31855 version or the newer MAX31856 version?

                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
                • k120undefined
                  k120
                  last edited by k120

                  1. Yes to both, and I'm not sure how I could isolate the hotend thermocouple further. The opening of the cartridge is not in contact with the block. I don't get shorts if just the bed is turned on.
                  2. I purchased it relatively recently from Filastruder, so I believe it's a MAX31856.
                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @k120
                    last edited by dc42

                    @k120 said in Completely disabling heater short/fault detection?:

                    I purchased it relatively recently from Filastruder, so I believe it's a MAX31856.

                    If it'a MAX31856 then it will have FAULT LEDs on the daughter board, and you will be using X150 or X151 in the M305 command to configure it.

                    The spikes in your temperature graph are mostly quite short, and if they were all like that then I would suggest interference from the extruder motor or static discharge as likely causes. Interference from the extruder motor wiring can be reduced by using twisted pair cabling for both the thermocouple (which I presume you are doing already) and the extruder motor (1 pair for each motor phase). Static discharge can be eliminated by grounding the hot end metalwork.

                    However, as one of the temperature spikes is longer (the one that caused the heater fault), and the spikes are triggered by high temperature, I agree with you that it appears to be a cartridge issue. I suggest you contact some thermocouple manufacturers and see if you can find an alternative mineral-insulated thermocouple that is guaranteed up to the highest temperature that you want to use. For example, a quick search produced this page https://www.elmatic.co.uk/thermocouples/ and style 11 on that page looks suitable.

                    I think the heater fault isn't being triggered by the temperature failing to respond to heater power as expected or changing too fast, which is what M570 controls. Instead, it is being triggered by the sensor repeatedly failing to provide a reading. The number of consecutive failures to provide a reading that is allowed is 4. You can increase that if you change constant MAX_BAD_TEMPERATURE_COUNT in file Config.h and recompile the firmware. The maximum allowed value is 255; any more than that and you will need to change the type of variable badTemperatureCount. The code that handles this is in file Pid.cpp, lines 202-225.

                    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

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

                      @k120 said in Completely disabling heater short/fault detection?:

                      E3D PT100

                      Would these be of use: https://www.adafruit.com/product/3895

                      It states they are rated to 500C and are suitable for the MAX31856.

                      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

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

                        @fcwilt said in Completely disabling heater short/fault detection?:

                        @k120 said in Completely disabling heater short/fault detection?:

                        E3D PT100

                        Would these be of use: https://www.adafruit.com/product/3895

                        It states they are rated to 500C and are suitable for the MAX31856.

                        Frederick

                        This one https://www.adafruit.com/product/3245 looks more suitable because it has an insulated tip, however it doesn't say what diameter the cartridge is.

                        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
                        • k120undefined
                          k120 @dc42
                          last edited by k120

                          @dc42

                          It's a MAX31856 then.

                          Something worth noting is that I swapped in my hotend for polycarbonate with an unused thermocouple, and it's been much more stable. Smoke came out of the cartridge on the first heatup to around 300 °C (I didn't notice this on the second most recent TC, as it initially heated up with my door closed and filter running), but it's evident that the extreme temperatures over 400 °C further damaged the others. This is the first out of four TCs I haven't shared between my PEEK and PC hotends, and it's the only one to work correctly so far.

                          I was planning on trying this next, but I'll give a custom TC or the Adafruit one (if the diameter is suitable) a shot if that doesn't work out. I don't fully trust the rating, but it's 3 mm and cheap.

                          I followed the instructions here, but I'm stuck building DuetWifiSocketServer and RRFLibraries. I'm getting the following errors/warnings and missing folders:

                          DuetWifiSocketServer:
                          alt text

                          alt text

                          RRFLibraries:
                          alt text

                          alt text

                          I've done some troubleshooting already on my own, but I have no experience building firmware. So I'm not sure how to fix things that aren't common searchable problems.

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

                            You don't need to build DuetWiFiSocketServer, but you need that project to be present because the RepRapFirmware project uses one of its include files.

                            Have you imported the FreeRTOS project into your workspace?

                            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

                            k120undefined 1 Reply Last reply Reply Quote 0
                            • k120undefined
                              k120 @dc42
                              last edited by

                              @dc42
                              Yes, and it doesn't give me any errors when I build it.

                              I fixed the issues I was having by removing "-master" from the project names, as I had only renamed CoreNG. I've successfully built everything, but I don't know how to export the results into a ZIP to upload to my Duet.

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

                                You can just upload the Duet2CombinedFirmware.bin file that you will find in the Duet2_RTOS folder.

                                I suggest you edit the Version.h file and build again, so that you can identify the firmware as your own build.

                                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
                                • k120undefined
                                  k120
                                  last edited by

                                  Alright, I rebuilt and uploaded the firmware successfully. I'll switch hotends and test it. Thanks for the help!

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