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

    Duet 3 does not restart

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    8
    42
    2.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.
    • fcwiltundefined
      fcwilt @kvi94
      last edited by

      @kvi94 said in Duet 3 does not restart:

      @fcwilt I do understand your point, that is totally correct.

      To be more explicit about my configuration, I have split my system in two enclosures which are 50cm apart. One contains all my 230vac components (PSU and BED SSR) and second enclosure contains 24vdc components (Duet 6HC and 24vdc SSR). To simplify wiring, troubleshooting and keep the machine safe as possible I have decided to control 24vdc rather than 230vac. Additionally, I have no issues if the PSU is running for long hours, considering the price of a brand new PSU vs a brand new Duet.

      OK I think I understand.

      But regards safety do you have a way to turn off the power to the AC devices like the BED SSR?

      SSR device tend to fail "shorted" meaning power will always be applied to the BED unless you have a way to turn off the incoming AC power.

      All my printers are connected to a network controllable outlet box with which I can kill the AC power to and or all of my printers.

      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

      kvi94undefined 1 Reply Last reply Reply Quote 0
      • MdeJongundefined
        MdeJong @kvi94
        last edited by

        @kvi94 What if you connect the fans directly to the 24 volt and not through the Duet.
        or use an mosfet to switch on the fans, the power supply for the fan connect before the SSR and the
        always on the control the mosfet.

        It could be that the Duet3 power supply is drained to fast due to the fans power consumption,
        due to the reset the PS_ON will be switch of, at start-up it is switch on again,
        but if the cpu power supply get to low the cpu will stop (switch off)

        I hope the description is understandable.

        Regards Mark,

        kvi94undefined 1 Reply Last reply Reply Quote 0
        • markzundefined
          markz @kvi94
          last edited by

          @kvi94 I have trouble understanding how PS_ON will work in this environment. The PS_ON control voltage is generated by the CPU, but the board CPU power is coming from the device switched by the PS_On pin which seems circular to me. How does that tie into the pushbutton switch?

          Is this a correct summary of your intent?

          1. Support M80 and M81 for power on/off using the ps_on pin.
          2. Keep the 24V fans on all the time when power is supplied.
          3. Use the pushbutton switch to do what?

          Looking at the schematic (not too carefully) I don't see how a fan load would substantially affect the ability to reset since afaik the 24v pin you're using is straight from the power supply and a fuse.

          Concerning your setup, I applaud the AC/DC isolation but running the PS_ON pin/pair (shielded) from the CPU over to a 230vac SSR won't have any real noise issues. If I were you in this setup I'd put in a cheap (like $2) 24-5V DC converter for use as an always-on CPU supply (external 5V) and then PS_ON is going to work the way you want.

          Maybe I'm overthinking this and if so I apologize.

          Mark

          MdeJongundefined 1 Reply Last reply Reply Quote 1
          • MdeJongundefined
            MdeJong @markz
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • MdeJongundefined
              MdeJong
              last edited by MdeJong

              My post was marked as spam by aksimet.com therefore with picture

              8f9ad23d-7013-4de1-83d6-f187d232c90c-image.png

              Regards Mark,

              markzundefined 1 Reply Last reply Reply Quote 2
              • markzundefined
                markz @MdeJong
                last edited by

                @mdejong Very clear. Thanks.

                I'd still vote for a simple 24->5 converter that provides external always-on 5V. The switch could be tied into a script that runs M80.

                kvi94undefined 1 Reply Last reply Reply Quote 2
                • kvi94undefined
                  kvi94 @Phaedrux
                  last edited by

                  @phaedrux indeed they are and rather noisy as well. I got them online and based my purchase solely on the rated current so as not to exceed the duet 3 spec.

                  The link below is the model I got.
                  https://eu.mouser.com/ProductDetail/Sunon/EEC0382B1-000U-A99?qs=FESYatJ8odKqhYoK6uN3%2FQ%3D%3D

                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                  • kvi94undefined
                    kvi94 @MdeJong
                    last edited by

                    It could be that the Duet3 power supply is drained to fast due to the fans power consumption,
                    due to the reset the PS_ON will be switch of, at start-up it is switch on again,
                    but if the cpu power supply get to low the cpu will stop (switch off)

                    @MdeJong I guess you got that right. How about a relay instead of mosfet switch? In my case, a relay would be easier to source locally.

                    I was wondering if it is possible to tweak the firmware, to stop V_FUSED before executing a M999. I do not really know the circuitry, just brainstorming on possible solutions.

                    MdeJongundefined 1 Reply Last reply Reply Quote 0
                    • kvi94undefined
                      kvi94 @markz
                      last edited by

                      @markz I would be really grateful if you could please provide more details about this setup, I did not really grasp the idea. Thank you

                      markzundefined 1 Reply Last reply Reply Quote 0
                      • MdeJongundefined
                        MdeJong @kvi94
                        last edited by

                        @kvi94
                        of course you could also use a small relay.
                        The V_FUSED can not be switched off, it is the V_IN just with a fuse. (I checked the schematics)

                        Regards Mark,

                        kvi94undefined 1 Reply Last reply Reply Quote 0
                        • kvi94undefined
                          kvi94 @MdeJong
                          last edited by

                          of course you could also use a small relay.

                          @MdeJong that is great to hear. Do you know approximately what is the max current that can be drawn in order not to disturb a restart(M999) or power failure (M916)? Thank you.

                          MdeJongundefined 1 Reply Last reply Reply Quote 0
                          • kvi94undefined
                            kvi94 @fcwilt
                            last edited by

                            But regards safety do you have a way to turn off the power to the AC devices like the BED SSR?

                            SSR device tend to fail "shorted" meaning power will always be applied to the BED unless you have a way to turn off the incoming AC power.

                            @fcwilt yes I have an IEC socket with a built-in switch installed on the input side of my 230vac enclosure additionally I have also installed a RCBO 16A.

                            Regarding SSR fail closed, I have installed a thermal fuse on my bed heater.

                            1 Reply Last reply Reply Quote 0
                            • MdeJongundefined
                              MdeJong @kvi94
                              last edited by

                              @kvi94 Sorry, I do not know that, it is hard to tell.

                              You can also connect the relay to the output of the SSR instead of the V_FUSED,
                              then the fans are on as soon as the SSR is switched on,
                              and the power supply of the Duet 3 is not used,
                              the Duet 3 will run longer after the SSR is switched of by the reset.

                              You could also connect the fans to the output of the SSR directly, without a relay.

                              Regards Mark,

                              kvi94undefined 1 Reply Last reply Reply Quote 0
                              • kvi94undefined
                                kvi94 @MdeJong
                                last edited by

                                You can also connect the relay to the output of the SSR instead of the V_FUSED,
                                then the fans are on as soon as the SSR is switched on,
                                and the power supply of the Duet 3 is not used,
                                the Duet 3 will run longer after the SSR is switched of by the reset.

                                You could also connect the fans to the output of the SSR directly, without a relay.

                                @MdeJong Thank you very much for the suggestions. I did not think about these options. Will try it out and provide an update.

                                kvi94undefined 1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator @kvi94
                                  last edited by

                                  @kvi94 said in Duet 3 does not restart:

                                  @phaedrux indeed they are and rather noisy as well. I got them online and based my purchase solely on the rated current so as not to exceed the duet 3 spec.

                                  The link below is the model I got.
                                  https://eu.mouser.com/ProductDetail/Sunon/EEC0382B1-000U-A99?qs=FESYatJ8odKqhYoK6uN3%2FQ%3D%3D

                                  280CFM seems like overkill to me. But I suppose if you've already got them and don't mind the noise.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  kvi94undefined 1 Reply Last reply Reply Quote 0
                                  • markzundefined
                                    markz @kvi94
                                    last edited by

                                    @kvi94 Sorry, I haven't been on for a few days. If you didn't get this...

                                    Since you have 24V running always-on it's quite easy to add a 24V-5V DC converter to your circuit (they're cheap and very reliable). With that converter you can run 5VDC always-on to the 6HC board - which will keep the CPU running, and PS_ON always valid. Then you just need to use M80 and M81 to turn the SSR (and motor power) on and off.

                                    Once M80 and M81 work, it's simple enough to hook the button into one of the 6HC IO inputs and have a script execute when the button is pressed. That script just needs to run M80 - power on.

                                    On my system I just have a 5V power supply running always on and I switch the 24VDC supply on/off at the AC input but you don't have to do that - your always-on 24V works ok.

                                    Does that make sense?

                                    Mark

                                    engikeneerundefined 1 Reply Last reply Reply Quote 0
                                    • engikeneerundefined
                                      engikeneer @markz
                                      last edited by

                                      @markz @kvi94 FYI, if you use this method, any toolboards/expansion boards won't get powered on until you turn on the 24V supply, so you'll have to put all your expansion config stuff (motor/tool mapping etc) in a macro that you call after M80

                                      E3D TC with D3Mini and Toolboards.
                                      Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                                      i3 clone with a bunch of mods

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

                                        @kvi94 said in Duet 3 does not restart:

                                        @markz with reference to 6HC connector layout link below. On the left side of the reset button, is 24V always-on (GND,VFUSED). 12V always-on is located between output row(7-9) and thermistor inputs.

                                        https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/33DEuEJZXP16vLbF.huge

                                        Regarding the power control using a SSR and pushbutton, please find below a schematic of my configuration. The input side of the SSR is connected to PSON and GND. Hence, M80 and M81 can be used to control the input power.

                                        Since my pushbutton is LED illuminated, it is wired to the 24V always-on as well.

                                        Duet 3 Power Control.jpg

                                        The scheme I normally suggest is similar to yours, except that it uses a DC-AC SSR to switch the incoming mains, and a mains-voltage push button in parallel with it. The config.g file starts with a M80 command to turn on the SSR, so that you only have to hold the push button down for a fraction of a second.

                                        My scheme does of course mean that you have mains voltage wires going to the push button. An alternative would be to use a small 5V standby PSU to power the bed heater power input, and connect the SSR control terminals to the bed heater output. Then you could use a low voltage push button wired between bed heater output negative and ground.

                                        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 1
                                        • kvi94undefined
                                          kvi94 @Phaedrux
                                          last edited by

                                          @phaedrux yes it is definitely overkill since I didn't know what to look for when sourcing the fans.

                                          However, when they are running the MCU temp does not rise above 30deg, I don't know if that is a good thing or not.

                                          1 Reply Last reply Reply Quote 0
                                          • kvi94undefined
                                            kvi94 @engikeneer
                                            last edited by

                                            @engikeneer noted, thank you for the info.

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