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

    Adding a 24V safety relay for the heaters, any thoughts?

    Scheduled Pinned Locked Moved
    General Discussion
    10
    98
    5.0k
    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.
    • infiniteloopundefined
      infiniteloop @zapta
      last edited by

      @zapta said in Adding a 24V safety relay for the heaters, any thoughts?:

      b) even errors that the duet detects do not turn off PS_ON.

      And that’s good, because I would loose all of my cooling fans, too. PS_ON is not meant to signal an error, but to control the 12V or 24V power rail on systems with two separate PSUs.

      It’s wrong to focus all hopes on a side effect (which, in this case, doesn’t occur).

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

        @infiniteloop said in Adding a 24V safety relay for the heaters, any thoughts?:

        I would loose all of my cooling fans

        interesting observation. while i wouldn't count on ps_on for safety I might opt for more 5v fans.

        1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal
          last edited by

          @zapta said in Adding a 24V safety relay for the heaters, any thoughts?:

          In idle, shorting the nozzle heater mosfet, I let the temp rise to 240C but no firmware detection.

          2. In idle, shorting the nozzle heater mosfet, I let the temp rise to 240C but no firmware detection.

          I regularly print at that extruder temp. I would not expect an alarm.

          Delta / Kossel printer fanatic

          A Former User? zaptaundefined 2 Replies Last reply Reply Quote 0
          • A Former User?
            A Former User @Danal
            last edited by

            @Danal said in Adding a 24V safety relay for the heaters, any thoughts?:

            I regularly print at that extruder temp. I would not expect an alarm.

            i'm not a fan of the nanny state tbh, but i don't think that there is a reason to not flag erroneous operation when possible, even if it doesn't pose a fire risk. detect rising temperature when the firmware should expect falling or stable temp is quite possible, and could at the very least avoid someone getting a burn, especially small inquisitive hands f.ex.

            same with the bed at 70C; its technically wrong behavior and possible to detect so why not? (even though I don't see ps_on as a reliable means to remedy it)

            1 Reply Last reply Reply Quote 0
            • DocTruckerundefined
              DocTrucker
              last edited by DocTrucker

              As I flagged up before the PS_ON control is disabled when the machine is Idle. It has been on the wishlist for some time to get similar controls for PS_ON while idle as to printing.

              After all, if you are doing domething that is likely to trip the alarm with maintainance or tuning a temporary override and don't leave the machine unattended should suffice.

              Perhsps @dc42 or @T3P3Tony can update us on the progress of this firmware wishlist item.

              Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

              zaptaundefined 1 Reply Last reply Reply Quote 0
              • zaptaundefined
                zapta @Danal
                last edited by

                @Danal said in Adding a 24V safety relay for the heaters, any thoughts?:

                I regularly print at that extruder temp. I would not expect an alarm.

                The alarm is not not be about the temp but about the inconsistency between the input from duet (no warming) and the actual temp (do not cool down and keeps warming, consistent with a short mosfet).

                1 Reply Last reply Reply Quote 0
                • zaptaundefined
                  zapta @DocTrucker
                  last edited by

                  @DocTrucker said in Adding a 24V safety relay for the heaters, any thoughts?:

                  It has been on the wishlist for some time to get similar controls for PS_ON while idle as to printing.

                  Note that PS_ON did not trip even during printing when over heating or cooling triggered the firmware PID error message.

                  To be fail, I don't think that Duet represented the PS_ON as an automatic OK signal so it does what it is advertised to do, a digital output that can be turned on/off with geodes to control a power supply.

                  It would be nice though to have an OK output from the duet. Doesn't need to be fancy charge pump and such, even a simple digital output that trips when an anomaly is detected will go a long way.

                  DocTruckerundefined 1 Reply Last reply Reply Quote 0
                  • DocTruckerundefined
                    DocTrucker @zapta
                    last edited by

                    @zapta it will/should drop as I understand it if you get a heater fault state during a build. It maybe that there is a delay of a period of time before the PS_ON signal is dropped.

                    I regularly get heater fault if I overcool the heater block (yes with a silicone sock in place) with a bad part cooling duct.

                    A three posision switch on the switched-ground side of a heater could test alarms. One side normal (normal control by duet), central break (heater disabled, mimics temp sense failure) in a single sensor system), other direct to ground (mimics a shorted MOSFET). My machine safey prints PLA anywhere between 180 and 230C so it would be interesting to test this for myself too...

                    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                    zaptaundefined 1 Reply Last reply Reply Quote 0
                    • DocTruckerundefined
                      DocTrucker
                      last edited by

                      PS_ON is mentioned in the fire safety wiki as a preventative measure:

                      https://duet3d.dozuki.com/Wiki/FireSafety

                      Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                      1 Reply Last reply Reply Quote 0
                      • DocTruckerundefined
                        DocTrucker
                        last edited by DocTrucker

                        Just to clarify I'm not saying it should be trusted over thermal fuses. Thermal fuses are not practical for the hotend. The duet should be easily capable of reporting that it appear out of control due to a mechanical/electical failure that is likely outside it's scope of control such as shorted heater, failed short circuit MOSFET/SSR, faulty temp sensor.

                        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                        1 Reply Last reply Reply Quote 0
                        • zaptaundefined
                          zapta @DocTrucker
                          last edited by

                          @DocTrucker said in Adding a 24V safety relay for the heaters, any thoughts?:

                          My machine safey prints PLA anywhere between 180 and 230C so it would be interesting to test this for myself too...

                          DocTrucker, I would be interested to see your test results. I was easily able to trigger the panic screen by setting target temp from the UI and forcing overheating (shorted the mosfet with a jumper wire) or overcooling (holding the heat-block with with parallel pliers) and am pretty sure it didn't affect PS_ON (I have a small bulb connected to it).

                          I wonder if I tested it incorrectly or if my firmware is too old (2.04), but in any case, make sure to be very careful not to damage boards, printers, houses and people. 😉

                          DocTruckerundefined 1 Reply Last reply Reply Quote 0
                          • DocTruckerundefined
                            DocTrucker @zapta
                            last edited by

                            @zapta I've been meaning to do a risk assessment for an age on my printers so I will start it next week. I've got a terminal block on both the hotend and heatbed so I'm not even needing to unduly stress the board connections.

                            I'll run the test first on my first generation v0.6 board, that is running something like 1.24 (will update first if needbe) and will check through the gcode wiki to ensure I haven't missed anything. I hope to have a board running soon with RepRapFirmware 3.x soon, so all going well I'll redo on that too - unless I fry a board then I won't repeat on my nice new one! 😄

                            Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                            1 Reply Last reply Reply Quote 0
                            • zaptaundefined
                              zapta
                              last edited by zapta

                              At last, I added a high current relay that is controlled by the PS_ON signal to control the +24V rail to the bed and nozzle heaters.

                              Tried it with M80 and M81 commands and it turns on/off as expected, so added a M80 in config.g to turn it on by default and while printing I disconnected the nozzle thermistor to see what happens. Temperature display changed to 2000 (good) and the print paused but the relay was not turned off

                              Is there a way to tell the Duet to turn off PS_ON if something is funny with the heaters control loops?

                              I am using Duet 2 Wifi, firmware 2.05.1 (2020-02-09b1)

                              zaptaundefined 1 Reply Last reply Reply Quote 0
                              • zaptaundefined
                                zapta @zapta
                                last edited by

                                Answering my own question. Adding this to config.g and it works.

                                M570 H0 P20 T10 S0 
                                M570 H1 P20 T10 S0
                                
                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA