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.
    • arhiundefined
      arhi
      last edited by

      wrt those 50W 1R ... you can see 2 50W resistors here on this 220VAC slow start, they are different value but it's the "physical size / case" you are interested in ...

      1f5d07e2-9998-4d46-887b-6761f57d40a1-image.png

      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?:

        If the capacitor is connected directly to the PSU, then the slow-start behaviour of the PSU will generally limit the inrush current to a reasonable value.

        yes, it will be connected in parallel

        1 Reply Last reply Reply Quote 0
        • arhiundefined
          arhi @A Former User
          last edited by

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

          so 10 capacitor in parallel with 1 Ohm 50W like in your schematic and I will be fine, right?

          yes, even 20 or 30 will be ok, the 1R might be too much for 10 caps, you might want to put 2x1R in parallel to get 0.5R to allow for bit faster charging (and later discharging)

          A Former User? 2 Replies Last reply Reply Quote 0
          • arhiundefined
            arhi @dc42
            last edited by

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

            If the capacitor is connected directly to the PSU, then the slow-start behaviour of the PSU will generally limit the inrush current to a reasonable value.

            it depends heavily on the PSU, bunch of high quality PSU's will not output anything till 12V is stable and pulling 240A from them will trigger overcurrent immediately.

            the low quality ones will rise the output voltage from the 0 so the caps on the output will only slow down the time it takes to reach full 12V so no res would be necesary

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

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

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

              so 10 capacitor in parallel with 1 Ohm 50W like in your schematic and I will be fine, right?

              yes, even 20 or 30 will be ok, the 1R might be too much for 10 caps, you might want to put 2x1R in parallel to get 0.5R to allow for bit faster charging (and later discharging)

              well, it depend how much the resistors are... in my opinion shouldn't be better to make the capacitors to discharge as slowest it's possible to give the board the needed time to save the position and raise a little the Z?

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

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

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

                so 10 capacitor in parallel with 1 Ohm 50W like in your schematic and I will be fine, right?

                yes, even 20 or 30 will be ok, the 1R might be too much for 10 caps, you might want to put 2x1R in parallel to get 0.5R to allow for bit faster charging (and later discharging)

                with 1R you mean 1 Ohm, right?

                arhiundefined 1 Reply Last reply Reply Quote 0
                • arhiundefined
                  arhi @A Former User
                  last edited by

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

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

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

                  so 10 capacitor in parallel with 1 Ohm 50W like in your schematic and I will be fine, right?

                  yes, even 20 or 30 will be ok, the 1R might be too much for 10 caps, you might want to put 2x1R in parallel to get 0.5R to allow for bit faster charging (and later discharging)

                  well, it depend how much they are...

                  0.5-5$ depends on availability, quantity..
                  https://www.digikey.com/en/products/detail/ohmite/TWW20J1R0E/11689204

                  https://www.ebay.com/itm/5W-10W-20W-Cement-Resistor-0-1R-0-25R-0-47R-0-5R-1R-2R-5R-10R-1K-10K-20K-100K/123783599457?hash=item1cd213d561:g:KT4AAOSwkRtc6L8s

                  https://www.amazon.com/10PCS-Cement-Resistor-Resistance-resistors/dp/B0789MHZDS/ref=sr_1_1?dchild=1&keywords=1R+20W+resistor&qid=1604164054&sr=8-1

                  ...

                  in my opinion shouldn't be better to make the capacitors to discharge as slowest it's possible to give the board the needed time to save the position and raise a little the Z?

                  no as if they cannot deliver enough current voltage will drop before you use up the energy from the caps and duet will shutdown sooner than you would like ... you need to allow duet to pull as much current from them as it needs, ideally you only limit inrush current, that's while slow start circuit is best option

                  1 Reply Last reply Reply Quote 0
                  • arhiundefined
                    arhi @A Former User
                    last edited by

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

                    with 1R you mean 1 Ohm, right?

                    yes.

                    btw, depending on the quality of the PSU, it might work without any res, so try first (no need to connect duet, just connect those caps in parallel on the output of the psu), if the psu shuts down you need res, if it works ok you don't need it

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

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

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

                      with 1R you mean 1 Ohm, right?

                      yes.

                      btw, depending on the quality of the PSU, it might work without any res, so try first (no need to connect duet, just connect those caps in parallel on the output of the psu), if the psu shuts down you need res, if it works ok you don't need it

                      well if it only shut down it will be ok, i didn't want to burn it

                      arhiundefined 1 Reply Last reply Reply Quote 0
                      • arhiundefined
                        arhi @A Former User
                        last edited by arhi

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

                        well if it only shut down it will be ok, i didn't want to burn it

                        any half decent PSU will have overcurrent protection .. IMHO if it burns from adding 10x1000uF on the output you should not have bin using it in the first place ๐Ÿ˜„ ... anyhow you can minimize the chances of a death by

                        • power with only 1, poweroff
                        • power with 2 in parallel, poweroff
                          ...
                        • power with all 10 in parallel, power off
                        A Former User? 1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User @arhi
                          last edited by

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

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

                          well if it only shut down it will be ok, i didn't want to burn it

                          any half decent PSU will have overcurrent protection .. IMHO if it burns from adding 10x1000uF on the output you should not have bin using it in the first place ๐Ÿ˜„ ... anyhow you can minimize the chances of a death by

                          • power with only 1, poweroff
                          • power with 2 in parallel, poweroff
                            ...
                          • power with all 10 in parallel, power off

                          ook, the ATX power supply I own should be mire than decent (I hope)... I realized I have some old power supplies, I see if I found some "big beast" capacitor...

                          arhiundefined 1 Reply Last reply Reply Quote 0
                          • arhiundefined
                            arhi @A Former User
                            last edited by

                            @the_dragonlord then it has overcurrent protection so no worries there

                            as for the caps you can find in, there are two rather big ones on the input .. worse the psu bigger those caps are ๐Ÿ˜„ (high end psu's have rather small ones as they have active input opposed to gretz+cap on the crappy ones) ... but those are 400V caps (200V in really crappy ones), 100-500uF capacity .. so they can hold lot of energy but are not usable for your case. on the output you should have few 1000-3300uF 16V ones that you can use.... look at the input of these psu's immediately after the fuse there's a "disk" part that's a PTC... that might be used but dunno what the actual properties here are as these are meant to run lower amps and more voltage so..

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

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

                              @the_dragonlord then it has overcurrent protection so no worries there

                              as for the caps you can find in, there are two rather big ones on the input .. worse the psu bigger those caps are ๐Ÿ˜„ (high end psu's have rather small ones as they have active input opposed to gretz+cap on the crappy ones) ... but those are 400V caps (200V in really crappy ones), 100-500uF capacity .. so they can hold lot of energy but are not usable for your case. on the output you should have few 1000-3300uF 16V ones that you can use.... look at the input of these psu's immediately after the fuse there's a "disk" part that's a PTC... that might be used but dunno what the actual properties here are as these are meant to run lower amps and more voltage so..

                              ok, I'll check the psu later... last question : increasing the total capacity what's the benefit in terms of "energy" and time given to the board? I mean how much better for my purposes is a 10.000uF related to a 1.000uF and a 22.000uF related to a 10.000uF and so on?

                              arhiundefined 1 Reply Last reply Reply Quote 0
                              • arhiundefined
                                arhi @A Former User
                                last edited by

                                @the_dragonlord the capacitors are there to behave as reserves of power. more capacitance you have more power you will store, so like a battery. when your PS stops providing power the duet will use the power from the caps till it drains them. Energy stored is around 70 milli joules on 1000uF at 12V (you can find online calculators to calculate exact value if you like)..

                                so for e.g. if you have 22000uF 12V - that is total storage of 1.58 J but you need to configure duet to react only below 12V so let's say 10.5V so only when the Vin is 10.5V the duet will start storing the data. At 10.5V you now have in reserve 1.2J but I assume 5V regulator required to work so that mcu and sd and everything else continue to work needs at least 6.5V on the input so you have only from 10.5V to 6.5V so you actually have only 0.7J in reserve that duet board can use. Now, depending on how much current duet board uses it will give you some time of operation. If I assume ideal situation where at 10.5V RRF will disable all drivers so the only load will be the 5V and 3v3 regulator, mcu, sd card, so let's say they should be ok with some 200mA (I'm guessing here, have no idea), you are left with approx 0.44seconds of operation. I assume RRF can store all required data to SD card in .44seconds. If the load is less than 200mA there will be more time, if the load is more than 200mA it will, of course, be less time .. but you get the idea

                                1 Reply Last reply Reply Quote 1
                                • arhiundefined
                                  arhi
                                  last edited by

                                  now I really don't know what the duet's limits here are, as the input for the duet is marked "12 to 24V", how much below 12V it will operate ok, with 24V if you mark the autosave to start at 22V you have 10V drop till 12V where everything still works... with 12V you are already at low side on the supported voltage... @dc42 can give you more info here, I did not studdy the power side of the schematic enough to be able to give real figures but I guess my figures in prev post are close

                                  1 Reply Last reply Reply Quote 0
                                  • arhiundefined
                                    arhi
                                    last edited by

                                    relevant formulas are

                                    C = Q * V
                                    2 * E = C * V * V
                                    Q = I * t

                                    Q = charge in Columbus
                                    C = capacitance in Farrads
                                    V = voltage in Volts
                                    I = current in Amperes
                                    t = time in seconds
                                    E = energy in Joules

                                    also you have
                                    "usable energy" = "potential difference" * "charge"

                                    so in your case Eusable = (10.5V - 6.5V) * Q

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

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

                                      relevant formulas are

                                      C = Q * V
                                      2 * E = C * V * V
                                      Q = I * t

                                      Q = charge in Columbus
                                      C = capacitance in Farrads
                                      V = voltage in Volts
                                      I = current in Amperes
                                      t = time in seconds
                                      E = energy in Joules

                                      also you have
                                      "usable energy" = "potential difference" * "charge"

                                      so in your case Eusable = (10.5V - 6.5V) * Q

                                      thank you soooooo much!

                                      1 Reply Last reply Reply Quote 0
                                      • arhiundefined
                                        arhi
                                        last edited by

                                        you are welcome, you might double-check them, I exited university more than 25 years ago ๐Ÿ˜„ and it's not something I use every day ๐Ÿ˜„ but I think my memory is still good enough ๐Ÿ™‚

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

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

                                          you are welcome, you might double-check them, I exited university more than 25 years ago ๐Ÿ˜„ and it's not something I use every day ๐Ÿ˜„ but I think my memory is still good enough ๐Ÿ™‚

                                          You've been great, thanks! A friend of mine will give me a 22000ยตF 50V capacitor to try, so I have to buy only the two resistors! The 10.000uF will be used someday for something else....

                                          arhiundefined 1 Reply Last reply Reply Quote 0
                                          • arhiundefined
                                            arhi @A Former User
                                            last edited by

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

                                            22000ยตF 50V

                                            that one most probably have high ESR so no resistors needed ๐Ÿ™‚

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