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

    Verifying Firmware Safety Features - Duet 3 Mini 5+

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    5
    31
    1.7k
    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.
    • floblerundefined
      flobler @Phaedrux
      last edited by flobler

      @phaedrux said in Verifying Firmware Safety Features - Duet 3 Mini 5+:

      @flobler Ok, this may explain the issue then. The timeout will only be active when the heater is running during a print from a file on the SD card.

      @Phaedrux, @dc42 thank you both for the pointer, of course it worked once I triggered the heater fault during a print from SD card. I missed that bit which caused me to test the feature wrongly. Appreciate your help with this.

      One thing I recognized: while both heaters shut off after 10 minutes the PanelDue still shows the set temperatures as "active" and does not reset to 0 there. This might seem a bit confusing first as I only was certain that both of the heaters have actually stopped heating when I saw the temperature measurement drop.

      @dc42 said in Verifying Firmware Safety Features - Duet 3 Mini 5+:

      @flobler said in Verifying Firmware Safety Features - Duet 3 Mini 5+:

      Heater 0 model: heating rate 0.302, cooling time constant 72.5, dead time 10.44, max PWM 1.00, calibration voltage 24.2, mode PID

      72.5 seconds would be a very low time constant for a heated bed.

      I re-ran the PID routine and got the following results:

      Heater 0 model: heating rate 0.264, cooling time constant 526.4, dead time 10.00, max PWM 1.00, calibration voltage 24.2, mode PID
      Computed PID parameters: setpoint change: P67.6, I0.932, D473.3, load change: P67.6, I2.202, D473.3
      

      The heater fault still does not trigger. I am disconnecting the bed heater and then set the bed temperature to 80C manually (the bed is at room temperature before I set it to 80C). From my understanding the fault should trigger with the values above. Probably I am still missing something.

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

        @flobler I've just run two tests:

        • On my Tool changer, I disconnected the bed heater SSR, and commanded heating. A heater fault was generated after 35 seconds.
        • On my bench system I connected a 100K resistor in place of a thermistor and configured (non-existent) bed heater. I then set the M307 parameters that you gave in your post, and commanded heating. No heater fault was raised.

        So I agree, something isn't right. I will investigate why no heater fault was raised.

        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

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

          The reason for the failure to detect a heater fault turned out to be a mechanism that allows for noise in the temperature readings. This mechanism allows for the measured heating rate to be as low as 0.25degC/sec below the expected rate without a fault being raised. When added to the tolerance that was already allowed, it means that lack of heating is not detected on slow bed heaters.

          To fix this, I will increase the time over which the rate of temperature increase is measured, so that thermistor noise has less effect.

          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

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

            I have just implemented this fix, and using your parameters the heater faults after 30 seconds. I will include this fix in the next 3.4 beta release. We will need to see whether it increases the number of nuisance heater faults.

            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

            floblerundefined 1 Reply Last reply Reply Quote 1
            • floblerundefined
              flobler @dc42
              last edited by

              @dc42 Thank you very much! I will try it and report back when the next release is live 🙂

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

                @flobler I can make a preview build available to you that includes the fix if you like.

                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

                floblerundefined 1 Reply Last reply Reply Quote 0
                • floblerundefined
                  flobler @dc42
                  last edited by

                  @dc42 If it is not much of an effort I would be happy to try! Thank you 🙂

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

                    @flobler you can find it at https://www.dropbox.com/sh/cq7q3g8coymo9s3/AABtPYEzV1_unETpKEMPInSia?dl=0. Use it with care because we have more testing to do before we release the beta.

                    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

                    floblerundefined 1 Reply Last reply Reply Quote 1
                    • floblerundefined
                      flobler @dc42
                      last edited by flobler

                      @dc42 Thank you very much!

                      I just tested the feature 3x with the preview build and each time the heater faults after ca. 20 seconds 🙂

                      I appreciate all the help you and everyone else provided to resolve this!

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

                        @flobler thanks for confirming this. I'm sorry it took a while to resolve.

                        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
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA