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.3k
    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.
    • DocTruckerundefined
      DocTrucker
      last edited by

      I do wonder if the lack of obvious protective measures is down a little to tryin to maintain the CE certification as IT Equipment rather than under the machinery directive.

      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
      • dragonnundefined
        dragonn @zapta
        last edited by

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

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

        AFAIK the Duet RRF software won't deactivate PS_ON when it is not printing and a sensor/heater anomaly is detected

        This seems to be a safety concern. Any reason why duet3d doesn't have this feature?

        It will deactive it, but after 600s (default value) if the fault isn't cleared.

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

          @dragonn are you sure it will drop PS_ON while the printer is Idle? I was under the impression it was still only while printing.

          Work around is to ensure your warmup and cool down script is in in the build gcode itself and the M80/M81 is in there. Personally I prefer to let my machine sit for while warming up, but once my zprobe and probe offset is nailed down a bit better I think it will be ther way to go.

          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
          • Danalundefined
            Danal
            last edited by Danal

            Isn't it fun to have strong opinions on the internet? Here are mine:

            (1) Trusting firmware for safety, if not designed from the very beginning around total shutdown driven by a hardware watchdog (charge pump, etc), is not safe.

            (2) Physical/physics based systems, such as temperature based fuses, can be safe when inserted at the right points in a larger system.

            And if you have (2), what was the point of (1) again? Oh, yeah, to protect any one-shot devices in (2). That's how you should think of (1)... not safety, just a convenience. Only (2) can yield safety.

            To be clear: Relays are useless, and possibly worse than useless, by given a false sense that they accomplish something.

            Delta / Kossel printer fanatic

            deckingmanundefined zaptaundefined DocTruckerundefined 3 Replies Last reply Reply Quote 1
            • deckingmanundefined
              deckingman @Danal
              last edited by

              @Danal Just to play Devil's advocate, one could make a case to say that the more components there are and the more complex the wiring, the less safe the piece of equipment becomes. For example fitting a thermal fuse to a mains heated bed could in itself be construed as a safety hazard. If it carries mains voltage then potentially if it fails or if a wire to it gets chaffed, same part of the printer which might not be properly grounded could then become "live". But at least you would pass through the pearly gates comfortable in the knowledge that your house didn't burn down. 🙂

              (To be clear, if you miss the smiley this wasn't intended as a serious post - just feeling a bit mischievous).

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

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

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

                Isn't it fun to have strong opinions on the internet? Here are mine:

                And here is mine 😉 "Perfect is the enemy of good".

                Take heat block thermal fuses for example, they are difficult to install so instead we can gain some protection with software based runaway logic.

                Perfection and 'all or nothing' approach in engineering often lead to paralysis or sub optimal designs compare to more practical approach that is driven by cost/benefit analysis.

                YMMV. 😉

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

                  Valid points.

                  On complexity: Agreed. At the same time, that is a large part of my resistance to relays and dual ssrs and... often the proposed solutions are layer after layer of complexity. Which peaks reliability and then goes downhill.

                  On Perfect v Good: Agreed. Very much agreed. I just don't see firmware (that's not backed by silicon) as good (enough). Which is why I have "fireballs" on top of my printers. (Common in Europe, seem uncommon in the US... they are 2 kilos of the same powder that's in a small fire extinguisher, with a tiny bit of black powder to blow it around if the ball itself burns. Physics.) Of course, I'm not going to turn off any of the firmware monitors... 🙂

                  48506259-27a2-417d-9218-82665d97e552-image.png

                  Delta / Kossel printer fanatic

                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                  • infiniteloopundefined
                    infiniteloop
                    last edited by

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

                    fitting a thermal fuse to a mains heated bed could in itself be construed as a safety hazard.

                    If you do not ground all metal parts in the neighbourhood of a mains powered device, you get all the risks on a silver tablet, even without the fuse.

                    However, complexity is a concern, that’s right. While a thermal fuse adds little to it, other safety measures may increase it considerably. Nevertheless, they can help… as long as they follow @Danal’s law #2 😁 – In other words: if you monitor a system, don’t rely on data or functionality of the system you want to observe.

                    @zapta True, you can over-engineer a system, which is then less than perfect. But to rely on the values from the thermistor in your hot end is not „good“, to stay with your terms. As it is already part of the internal safety management of the Duet, you don’t add security at all - you just duplicate the efforts the firmware already takes to prevent a thermal disaster.

                    So, my „strong opinion“ 😎 : employ a second thermistor for a circuity which is completely independent from the Duet. Still not perfect, but better than not-good.

                    Danalundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
                    • Danalundefined
                      Danal @infiniteloop
                      last edited by Danal

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

                      second thermistor for a circuity which is completely independent...

                      Not trying to convince, just having fun clarifying: I like physics based things as the second (final?) layer.

                      Delta / Kossel printer fanatic

                      infiniteloopundefined 1 Reply Last reply Reply Quote 0
                      • infiniteloopundefined
                        infiniteloop @Danal
                        last edited by

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

                        I like physics based things as the second (final?) layer.

                        Deal: As a third layer, perhaps?

                        1 Reply Last reply Reply Quote 0
                        • deckingmanundefined
                          deckingman @Danal
                          last edited by

                          @Danal On the subject of fire balls, my printer now has a new home
                          booth1Small.jpg

                          and in the top there is this
                          extinguisher2.jpg

                          It's a clean agent fire extinguisher. That is to say, it floods the chamber with an inert gas - much kinder to sensitive electronics than powder.

                          More info here........
                          https://www.fireandsafetycentre.co.uk/advice-centre/clean-agent-extinguishers/

                          Ian
                          https://somei3deas.wordpress.com/
                          https://www.youtube.com/@deckingman

                          1 Reply Last reply Reply Quote 1
                          • deckingmanundefined
                            deckingman @infiniteloop
                            last edited by

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

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

                            fitting a thermal fuse to a mains heated bed could in itself be construed as a safety hazard.

                            If you do not ground all metal parts in the neighbourhood of a mains powered device, you get all the risks on a silver tablet, even without the fuse.

                            Of course that's true - you must have missed my last sentence so I'll copy and paste it again - quote..........

                            "(To be clear, if you miss the smiley this wasn't intended as a serious post - just feeling a bit mischievous)."

                            Ian
                            https://somei3deas.wordpress.com/
                            https://www.youtube.com/@deckingman

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

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

                              To be clear: Relays are useless, and possibly worse than useless, by given a false sense that they accomplish something.

                              Worthless comment without clarification or reference. They accomplish a very sound backup to cut power to a failed MOSFET as trusted by safety circuits in industrial equipment when complimented by diagnostic coverage, which can be covered to a degree by procedure.

                              They are as "useless" as seatbelts in a car. Tyres and brakes are great and avoid most serious injuries due to accidents - perhaps all of them for a life time of a driver - but most would accept the minor inconvenience of a belt regardless of it not completely removing all risk of serious injury or death.

                              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

                                On a second thought, maybe the mechanical relay can be added without using the PS_ON signal. Something along the lines of the diagram below. The mechanical relay closes the circuit as long as the duet sends PWM to the heated bed. Once the duet stops sending PWM, the circuit will break even if the SSR's mosfet get shorted (the duet's mosfet drives a small load so much less likely to get damaged).

                                Will this work?

                                IMG-1910.JPG

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

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

                                  the circuit will break

                                  the circuit may break, i.e. still a chance albeit much lower that the relay fails to open as well

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

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

                                    the circuit may break, i.e. still a chance albeit much lower that the relay fails to open as well

                                    My assumption is that mechanical relay is good at not getting shorted and solid stay relay is good at fast PWM switching so this may achieve the good of both worlds.

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

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

                                      On a second thought, maybe the mechanical relay can be added without using the PS_ON signal. Something along the lines of the diagram below. The mechanical relay closes the circuit as long as the duet sends PWM to the heated bed. Once the duet stops sending PWM, the circuit will break even if the SSR's mosfet get shorted (the duet's mosfet drives a small load so much less likely to get damaged).

                                      Will this work?

                                      IMG-1910.JPG

                                      Looks to me like you basically duplicated the SSR function in the relay so that if either SSR or Relay fails, there is no power to the heat bed.
                                      If you ae going to the trouble of a safety circuit then you might as well make it completely redundant by running the relay coil through a thermal fuse to the 24V power supply. As long as there is 24V and the fuse is ok, the bed has power that can be controlled by the SSR. In the event of an overheat situation, the fuse blows and the relay drops out.
                                      Not sure why you have the diode in there and not a flyback diode.

                                      zaptaundefined 1 Reply Last reply Reply Quote 0
                                      • jens55undefined
                                        jens55
                                        last edited by

                                        I don't understand the reluctance of using a thermal fuse for the bed. They are cheap and easy to use. If you are concerned with the reliability of a single fuse, put two in series.
                                        Since thermal fuses generally are limited to 10A, using a relay helps to get the power rating up.

                                        None of this helps to guard against a printhead melt down but as mentioned before, you could mount a thermal fuse to the heatsink for some protection. Not sure how reliable that would be (you would need to figure out the maximum temperature that you would reach at the mounting location under normal use) but it would most certainly be better than no fuse.

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

                                          relay contacts can still weld and effectively short like fet/ssr, but less common, and if you can avoid switching under load you greatly reduce the risk.

                                          1 Reply Last reply Reply Quote 0
                                          • jens55undefined
                                            jens55
                                            last edited by

                                            In the case of running the relay contacts off the 24V supply through a thermal fuse, you would never switch the contacts under load. The relay would activate when you power up the printer and stay active until you shut the printer off (unless the thermal fuse blows).

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