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

    Resume from power outage, really only with 24V?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    69
    5.2k
    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.
    • Vetiundefined
      Veti @A Former User
      last edited by Veti

      @the_dragonlord

      @dc42
      would something like this work?
      https://www.aliexpress.com/i/32967985788.html

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

        @Veti said in Resume from power outage, really only with 24V?:

        @the_dragonlord

        dc42
        would something like this work?
        https://www.aliexpress.com/i/32967985788.html

        exactly but it should be interfaceable by the Duet and RRF....when the external board connected to a pin detects a failure the pin goes at low level and RRF starts the failure save procedure....I don't know if this is possible....is it?

        stuartofmtundefined 1 Reply Last reply Reply Quote 0
        • stuartofmtundefined
          stuartofmt @A Former User
          last edited by stuartofmt

          @the_dragonlord
          If you are just using a bank of capacitors - then its simplest to just have them across VIN. This is because VIN would keep the capacitors charged and they are only used by the Duet when there is no input from the power supply. Based on @dc42 comment. You may get away with just adding a 200uF capacitor - but if it were me I'd think in terms of 1000uF. This is one of those situations were more is better.

          It looks like the BIGTREE mini UPS is just a bank of capacitors with circuitry to detect low power and tell the printer to trigger to save the printer state. Duet already has that circuitry - so it seems that the BIGTREE option is no better than a bank of capacitors (in the Duet context).

          Having "something" detect a power failure and turn on is really only beneficial if that something can provide power (typically a battery bank or generator) for a longer period of time.

          It seems from your description that keeping it simple is what you want.

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

            @stuartofmt said in Resume from power outage, really only with 24V?:

            @the_dragonlord
            If you are just using a bank of capacitors - then its simplest to just have them across VIN. This is because VIN would keep the capacitors charged and they are only used by the Duet when there is no input from the power supply. Based on @dc42 comment. You may get away with just adding a 200uF capacitor - but if it were me I'd think in terms of 1000uF. This is one of those situations were more is better.

            It looks like the BIGTREE mini UPS is just a bank of capacitors with circuitry to detect low power and tell the printer to trigger to save the printer state. Duet already has that circuitry - so it seems that the BIGTREE option is no better than a bank of capacitors (in the Duet context).

            Having "something" detect a power failure and turn on is really only beneficial if that something can provide power (typically a battery bank or generator) for a longer period of time.

            It seems from your description that keeping it simple is what you want.

            i want to keep it as simple as possible... how many capacitor do you think I'd need to make an efficient failure saver as it would be if I had a 24vdc power supply? Should them be connected in parallel to each other and in parallel with the VIN? should be needed some other circuitry in case?

            stuartofmtundefined 1 Reply Last reply Reply Quote 0
            • stuartofmtundefined
              stuartofmt @A Former User
              last edited by

              @the_dragonlord

              @dc42 would likely provide a more informed answer than I in terms of the overall capacitance. But basically - one or more capacitors in parallel with each other (capacitance adds in this situation) and in parallel with VIN - observing the correct polarity.

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

                @stuartofmt said in Resume from power outage, really only with 24V?:

                @the_dragonlord

                @dc42 would likely provide a more informed answer than I in terms of the overall capacitance. But basically - one or more capacitors in parallel with each other (capacitance adds in this situation) and in parallel with VIN - observing the correct polarity.

                I supposed this too, lets wait to see if @dc42 has some suggestion for me about this

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

                  This is basically the same advice given when power resume functionality isn't working as expected, even on 24v power. Add capacitors. So you're on the right path.

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    @Phaedrux said in Resume from power outage, really only with 24V?:

                    This is basically the same advice given when power resume functionality isn't working as expected, even on 24v power. Add capacitors. So you're on the right path.

                    yesss! now the only thing to know is how many capacitors and what "size" they got to have

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

                      I think the advice from @stuartofmt with regards to that is good.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • stuartofmtundefined
                        stuartofmt
                        last edited by

                        They are not expensive but I would go for a "brand name" - since quality can vary. Working Voltage is important. Since this is being attached to the output of an already smoothed power supply - a bit more than the highest VIN voltage. May as well go for 35V (fairly common) in case you later upgrade to a 24V Power Supply. So something like a 1000 uF @ 35V.

                        Depending where you live -Amazon (or similar) or a local electronics parts supplier.

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

                          @stuartofmt said in Resume from power outage, really only with 24V?:

                          They are not expensive but I would go for a "brand name" - since quality can vary. Working Voltage is important. Since this is being attached to the output of an already smoothed power supply - a bit more than the highest VIN voltage. May as well go for 35V (fairly common) in case you later upgrade to a 24V Power Supply. So something like a 1000 uF @ 35V.

                          Depending where you live -Amazon (or similar) or a local electronics parts supplier.

                          ok, excellent! I've bought 10 of them from Amazon (10 was the minumu orderable number) How many capacitors should I use? Just one or two or more in parallel to each other?
                          I think it's mandatory to add a resistor in series with the capacitor because in the very first moment when you turn on the power supply tha capacitor act almost like a shortcut and with the resistor we are able to compute the charge time with the formula Time=5R*C...in the same time I'm afraid that adding a resistor in series with the capacitor (and so in series with the board) could bring to a partial loss of voltage for the board itself....how about it?

                          This is the circuitry i was thinking with C1 surely used and C2 to Cn as optional capacitor to add more "time" to the board and the resistor as optional....is it correct? How about the resistor?

                          Thanks20201030_113453.jpg

                          A Former User? stuartofmtundefined arhiundefined 3 Replies Last reply Reply Quote 0
                          • A Former User?
                            A Former User @A Former User
                            last edited by

                            @the_dragonlord I have read this: https://forum.duet3d.com/topic/19150/ups-24v-on-skr-pro-rrf-3/2?_=1604067164270 maybe buying the micro capacitor UPS and using like this could be the easiest way?

                            1 Reply Last reply Reply Quote 0
                            • stuartofmtundefined
                              stuartofmt @A Former User
                              last edited by stuartofmt

                              @the_dragonlord
                              As long as you keep the capacitance modest you will not have a problem. It's been years since I was an active elec engineer - but with the aid of an online calculator .... The max current draw at 24V (12V) for a 1000uF capacitor is ~ 3A (1.5A) assuming a rise time from the power supply ~10mS (likely much longer). I.e. the power supply at switch on is not instantaneous at VIN. Your power supply is likely rated at 20A or more.

                              Now to the resistor -- if used - it will have to dissipate heat all the time because the rest of the components consume multiple amps. Also - it would cause a voltage drop and diminish the effect you are after (i.e. energy storage as opposed to continuous voltage smoothing). So in this context - not a good idea (unless it's quite small) - and you do not need it (unless maybe you add something like 1F of capacitors 🙄 ).

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

                                @stuartofmt said in Resume from power outage, really only with 24V?:

                                @the_dragonlord
                                As long as you keep the capacitance modest you will not have a problem. It's been years since I was an active elec engineer - but with the aid of an online calculator .... The max current draw at 24V (12V) for a 1000uF capacitor is ~ 3A (1.5A) assuming a rise time from the power supply ~10mS (likely much longer). I.e. the power supply at switch on is not instantaneous at VIN. Your power supply is likely rated at 20A or more.

                                Now to the resistor -- if used - it will have to dissipate heat all the time because the rest of the components consume multiple amps. Also - it would cause a voltage drop and diminish the effect you are after (i.e. energy storage as opposed to continuous voltage smoothing). So in this context - not a good idea (unless it's quite small) - and you do not need it (unless maybe you add something like 1F of capacitors 🙄 ).

                                so you are suggesting me to use only one 1000uF capacitor? Is it enough for a 12vdc powered board to have the time to store the position and raise the Z?

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

                                  Unfortunately, to be effective a capacitor across the VIN power rails needs to have a much larger value than the 200uF internal to the Duet, because it needs to power the stepper motors too until they are shut down. The 200uF on the Duet is isolated from VIN by a diode.

                                  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

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

                                    @dc42 said in Resume from power outage, really only with 24V?:

                                    Unfortunately, to be effective a capacitor across the VIN power rails needs to have a much larger value than the 200uF internal to the Duet, because it needs to power the stepper motors too until they are shut down. The 200uF on the Duet is isolated from VIN by a diode.

                                    uh, ok so a 1000uF placed in parallel with the VIN should be enough?

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

                                      10000uF would be more likely to be sufficient.

                                      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

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

                                        @dc42 said in Resume from power outage, really only with 24V?:

                                        10000uF would be more likely to be sufficient.

                                        ook, thanks... without resistor like @stuartofmt said?

                                        1 Reply Last reply Reply Quote 0
                                        • stuartofmtundefined
                                          stuartofmt
                                          last edited by

                                          @dc42 did you mean 10,000uF or did you mean 1,000uF as likely being enough?
                                          @the_dragonlord - in any case you also mentioned "raise the Z". That's a different problem to just saving the state and begs the question "how far" and introduces many more variables.

                                          @dc42 would @the_dragonlord be better off adding capacitance directly in parallel with the existing 200uF (to just save state)? Is that physically practical?

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

                                            @stuartofmt said in Resume from power outage, really only with 24V?:

                                            @dc42 did you mean 10,000uF or did you mean 1,000uF as likely being enough?
                                            @the_dragonlord - in any case you also mentioned "raise the Z". That's a different problem to just saving the state and begs the question "how far" and introduces many more variables.

                                            @dc42 would @the_dragonlord be better off adding capacitance directly in parallel with the existing 200uF (to just save state)? Is that physically practical?

                                            @dc42 I just realize that you wrote 10.000 uF and not 1.000uF, just to be sure, 10.000 is exactly what you meant? In case with a single capacitor or with the parallel of more than one?
                                            thanks

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