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

    "Backup" for 12V systems if powerloss?

    Scheduled Pinned Locked Moved
    Hardware wishlist
    6
    12
    1.1k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      The problem is that you would need a lot of capacitance. The stepper drivers shut off at 9.5V. The energy stored in a capacitor is 0.5CV^2. So let's consider a couple of cases:

      1. 24V PSU, 10000uF capacitor (0.01F), power fail threshold set to 22V.

      Initial energy stored = 0.5 * 0.01 * 22^2 = 2.42 Joules
      Final energy stored = 0.5 * 0.01 * 9.5^2 = 0.45 Joules
      Energy available = 2.42 - 0.45 = 1.97 joules

      1. 12v PSU, 40000uD capacitor (0.04F), power fail threshold 11V (a 40000uF 16V capacitor should be about the same size as a 10000uF 25V capacitor).

      Initial energy stored = 0.5 * 0.04 * 24^2 = 2.42 Joules
      Final energy stored = 0.5 * 0.04 * 9.5^2 = 1.80 Joules
      Energy available = 2.42 - 1.80 = 0.6 joules

      Both capacitors store the same amount of energy, but in the case of 24V power we can use 81% of it, and with 12V power we can only use 25% of it.

      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 0
      • Iamturbo1978undefined
        Iamturbo1978
        last edited by

        I was wondering about this question. I came up with an idea, but I don't know if the Duet can work with it.

        Making an interface that connects to the high voltage side of the power supply using an opto isolator, then connecting the output of the isolator to a free input of the Duet. The Duet would just look for the input to change, and then start the loss power script. Since the Duet would not be comparing the input voltage to detect a loss power event, there would be no wasted time in the event of loss power.

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

          Yes that could be done, and the input smoothing capacitor of the PSU would then provide additional energy storage.

          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

          Iamturbo1978undefined 1 Reply Last reply Reply Quote 0
          • Iamturbo1978undefined
            Iamturbo1978 @dc42
            last edited by

            @dc42 that's great. Looks like I got some work in my future.

            1 Reply Last reply Reply Quote 0
            • PuterProundefined
              PuterPro
              last edited by

              Or you can just cheat, and use a 1500VA UPS, like I do, for the whole thing. You also get surge protection, and on the better AVR ones, it smoothes during slight dips to preserve the battery on brownouts.

              If you really want to let out your "Inner Engineer" and want a little project, almost all of the better ones have a USB port that can communicate status & power loss. I imagine an Arduino or Raspi could grab that and send a signal to save and shutdown the printer when the battery gets low.

              If you do it, post it on Thingiverse and here, OK? 😀

              Iamturbo1978undefined 1 Reply Last reply Reply Quote 1
              • Iamturbo1978undefined
                Iamturbo1978 @PuterPro
                last edited by

                @puterpro that one will take a little more time, but does sound like it would be fun, and a nice idea.

                1 Reply Last reply Reply Quote 0
                • PuterProundefined
                  PuterPro
                  last edited by

                  Always happy to help you burn up your time on earth ... LOL!

                  Seriously, I've had that thought floating in my head for a couple years. Never got into the Arduino thing despite having roots as an Electronics tech, too many other things in my life...

                  But it strikes me as a great project for someone who know it.

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

                    Car battery? Generally around 13 volts but that should be fine. Ensure the supply (/charge) is fused.

                    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
                    • PlasticMetalundefined
                      PlasticMetal
                      last edited by

                      While these ideas are certainly worthy, I think they're being over-thought. As @PuterPro mentioned, surplus UPS units are pretty inexpensive if you keep your eyes open. I purchased two 1000VA/800W rack-mount TrippLite units off eBay for less than $50 each, with shipping. Right now, I'm only using one, so I replaced its internal batteries and added 2 parallel 18Ah UPS-rated deep cycles externally for about $100 (commercial units such as these frequently are designed with external battery pack connections; batteries were on sale).

                      So, I have at least a few hours worth of power for the printer, PC and monitors, all with pure sine-wave, double-conversion smooth electrical goodness, and don't worry about power loss routines. The one concession I did make is the 120V bed heater is not on the UPS - that would just be wasteful for a home printer. It's a good chunk of aluminum, though, so it takes a while to cool down.

                      1 Reply Last reply Reply Quote 0
                      • PuterProundefined
                        PuterPro
                        last edited by

                        @PlasticMetal - Those are sweet units! Wish I has room for one.

                        Back in the day I was trained on UPS repair; 200KVa units with racks of deep cycle batteries.

                        The company had an "Instant Dismissal" policy if you tried to work on them alone. The first thing they taught us in the 2 week school was CPR! You had to have a CPR trained tech sitting there watching you, no talking, reading or horsing around when you opened it up to work on, he was there to start your heart if you F-up'd. Fun stuff!

                        PlasticMetalundefined 1 Reply Last reply Reply Quote 0
                        • PlasticMetalundefined
                          PlasticMetal @PuterPro
                          last edited by

                          @puterpro said in "Backup" for 12V systems if powerloss?:

                          @PlasticMetal - Those are sweet units! Wish I has room for one.

                          Well, I certainly don't have them in a rack. One is on a metal shelf (restaurant-style wire shelves, plenty of air circulation), & the unused one is over in a corner.

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