• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    DocTrucker @dragonn
    last edited by DocTrucker 2 Nov 2020, 17:05 11 Feb 2020, 17:05

    @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
    • undefined
      Danal
      last edited by Danal 2 Nov 2020, 17:15 11 Feb 2020, 17:13

      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

      undefined undefined undefined 3 Replies Last reply 11 Feb 2020, 17:35 Reply Quote 1
      • undefined
        deckingman @Danal
        last edited by 11 Feb 2020, 17:35

        @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
        • undefined
          zapta @Danal
          last edited by zapta 2 Nov 2020, 17:43 11 Feb 2020, 17:36

          @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
          • undefined
            Danal
            last edited by Danal 2 Nov 2020, 18:27 11 Feb 2020, 18:23

            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

            undefined 1 Reply Last reply 11 Feb 2020, 19:49 Reply Quote 0
            • undefined
              infiniteloop
              last edited by 11 Feb 2020, 18:27

              @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.

              undefined undefined 2 Replies Last reply 11 Feb 2020, 18:29 Reply Quote 0
              • undefined
                Danal @infiniteloop
                last edited by Danal 2 Nov 2020, 18:29 11 Feb 2020, 18:29

                @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

                undefined 1 Reply Last reply 11 Feb 2020, 18:32 Reply Quote 0
                • undefined
                  infiniteloop @Danal
                  last edited by 11 Feb 2020, 18:32

                  @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
                  • undefined
                    deckingman @Danal
                    last edited by 11 Feb 2020, 19:49

                    @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
                    • undefined
                      deckingman @infiniteloop
                      last edited by 11 Feb 2020, 20:46

                      @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
                      • undefined
                        DocTrucker @Danal
                        last edited by DocTrucker 2 Nov 2020, 20:51 11 Feb 2020, 20:49

                        @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
                        • undefined
                          zapta
                          last edited by 11 Feb 2020, 20:52

                          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

                          ? undefined 2 Replies Last reply 11 Feb 2020, 21:11 Reply Quote 0
                          • ?
                            A Former User @zapta
                            last edited by 11 Feb 2020, 21:11

                            @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

                            undefined 1 Reply Last reply 11 Feb 2020, 21:18 Reply Quote 0
                            • undefined
                              zapta @A Former User
                              last edited by 11 Feb 2020, 21:18

                              @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
                              • undefined
                                jens55 @zapta
                                last edited by 11 Feb 2020, 21:37

                                @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.

                                undefined 1 Reply Last reply 11 Feb 2020, 22:45 Reply Quote 0
                                • undefined
                                  jens55
                                  last edited by 11 Feb 2020, 21:45

                                  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
                                    last edited by 11 Feb 2020, 21:48

                                    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
                                    • undefined
                                      jens55
                                      last edited by 11 Feb 2020, 21:53

                                      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
                                      • undefined
                                        zapta @jens55
                                        last edited by 11 Feb 2020, 22:45

                                        @jens55 "running the relay coil through a thermal fuse to the 24V power supply."

                                        Yes, you are right, the thermal fuses fits well in this diagram since they don't have to handle the full bed current.

                                        I plan to play a little with the PS_ON signal trying to understand it better. Will first use it to trigger a small 24 bulb so I can see when it's on and when it's off.

                                        undefined 1 Reply Last reply 12 Feb 2020, 00:04 Reply Quote 0
                                        • undefined
                                          jens55 @zapta
                                          last edited by 12 Feb 2020, 00:04

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

                                          @jens55 "running the relay coil through a thermal fuse to the 24V power supply."

                                          Yes, you are right, the thermal fuses fits well in this diagram since they don't have to handle the full bed current.

                                          I plan to play a little with the PS_ON signal trying to understand it better. Will first use it to trigger a small 24 bulb so I can see when it's on and when it's off.

                                          Interesting that you mention a bulb .... I have a 100W 120V bulb permanently paralleled to my heat bed to let me know when it's powered up. It started as a 'temporary' thing but I really appreciate knowing what is happening.

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