Thank you to the guys at HEGE supporting Badcaps [ HEGE ] [ HEGE DEX Chart ]

Announcement

Collapse
No announcement yet.

DIY Backup with sealed lead acid battery

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #21
    Re: DIY Backup with sealed lead acid battery

    Originally posted by sam_sam_sam View Post
    You are making this more complicated than it needs to be why ?

    Use a battery charger controller that is responsible for the charging of the battery use one that charges at a high rate then powers down as battery voltage hits 13.8 to 14.5 volts then goes to stand by
    Or, buy a battery maintainer -- that already does this sort of thing.

    If you're looking around for ideas for MCU projects, look for something that truly adds value, instead of replaces something COTS!

    Comment


      #22
      Re: DIY Backup with sealed lead acid battery

      Some battery maintainer circuits:
      https://www.youtube.com/watch?v=qxyVqjCuR80
      https://circuitdigest.com/electronic...2v-sla-battery
      Never stop learning
      Basic LCD TV and Monitor troubleshooting guides.
      http://www.badcaps.net/forum/showthr...956#post305956

      Voltage Regulator (LDO) testing:
      http://www.badcaps.net/forum/showthr...999#post300999

      Inverter testing using old CFL:
      http://www.badcaps.net/forum/showthr...er+testing+cfl

      Tear down pictures : Hit the ">" Show Albums and stories" on the left side
      http://s807.photobucket.com/user/budm/library/

      TV Factory reset codes listing:
      http://www.badcaps.net/forum/showthread.php?t=24809

      Comment


        #23
        Re: DIY Backup with sealed lead acid battery

        There is no need to be fancy charging a lead acid battery.

        Constant 13.5V float charge - for cells rated for such usage (most are, but check) - will be just fine.

        I just installed a CCTV system for my house. Two cameras plus NVR box from Amazon. I added a lead acid battery to the unit itself, connected to the 12V of the hard disk drive which is permanently connected to the AC adapter input. Then I modified the AC adapter to tweak the output voltage to 13.5V so this would keep the lead acid cell topped off.

        No fuss needed. As soon as the power cuts out the battery automatically takes over because it's in parallel. And it back-feeds the cameras through the power lead. A tiny 12V, 1.2Ah battery gives the unit an approximately 1 hour runtime, perfectly sufficient for running through short black outs (which the majority of power cuts are.) I can confirm that the HDD will operate perfectly correctly up to around 15 volts DC for those curious.

        Only disadvantage right now is that if the voltage drops to the point where the HDD stalls (approx 9.5V) then power comes back on, the unit won't automatically re-mount the disk...I need to figure out how to get this to work. But, that's pretty unlikely, because once the battery drops below 10V, it usually only has a minute or so of runtime left before the whole unit resets.
        Last edited by tom66; 11-21-2018, 05:22 AM.
        Please do not PM me with questions! Questions via PM will not be answered. Post on the forums instead!
        For service manual, schematic, boardview (board view), datasheet, cad - use our search.

        Comment


          #24
          Re: DIY Backup with sealed lead acid battery

          Originally posted by tom66 View Post
          There is no need to be fancy charging a lead acid battery.

          Constant 13.5V float charge - for cells rated for such usage (most are, but check) - will be just fine.

          I just installed a CCTV system for my house. Two cameras plus NVR box from Amazon. I added a lead acid battery to the unit itself, connected to the 12V of the hard disk drive which is permanently connected to the AC adapter input. Then I modified the AC adapter to tweak the output voltage to 13.5V so this would keep the lead acid cell topped off.

          No fuss needed. As soon as the power cuts out the battery automatically takes over because it's in parallel. And it back-feeds the cameras through the power lead. A tiny 12V, 1.2Ah battery gives the unit an approximately 1 hour runtime, perfectly sufficient for running through short black outs (which the majority of power cuts are.) I can confirm that the HDD will operate perfectly correctly up to around 15 volts DC for those curious.

          Only disadvantage right now is that if the voltage drops to the point where the HDD stalls (approx 9.5V) then power comes back on, the unit won't automatically re-mount the disk...I need to figure out how to get this to work. But, that's pretty unlikely, because once the battery drops below 10V, it usually only has a minute or so of runtime left before the whole unit resets.
          That's exactly what I was thinking and even did do it at one point to power a car headunit at my former shop....*nostalgia*. I also modified a laptop power brick to drop its volts down to 14-ish volts (since I also threw a diode in there which dropped it down some more).

          Of course, this would be totally doable here as well, but I fear it may lower the life of the battery than if I were to disconnect it entirely, hence the original idea.
          Wattevah...

          Comment


            #25
            Re: DIY Backup with sealed lead acid battery

            Well, I suppose it depends on what kind of lifetime you are expecting.

            I have seen alarm and fire panels use designs just like mine, constant float charge, and they get 7-8 years out of a battery.

            Most lead acid cells have less than 10 years life. But lead acid batteries are also highly recyclable and low cost.
            Last edited by tom66; 11-21-2018, 05:53 AM.
            Please do not PM me with questions! Questions via PM will not be answered. Post on the forums instead!
            For service manual, schematic, boardview (board view), datasheet, cad - use our search.

            Comment


              #26
              Re: DIY Backup with sealed lead acid battery

              Not sure about their low cost. They don't seem cheap, to me at least....I'm not sure how the devices (cameras, DVR, etc) would behave when the voltage of the battery begins to drop and it's somewhere in the "sweet-spot" threshold between the device actually running at its lowest acceptable input voltage (say 10v) and not running at all. It could cause some quick undesired transitions between the off and on states, the effects of which I don't know...
              Wattevah...

              Comment


                #27
                Re: DIY Backup with sealed lead acid battery

                you could run 3 6v battery's in series followed by a simple arduino-based buck convertor.
                then you can have 12v throughout the life of the batteries.

                Comment


                  #28
                  Re: DIY Backup with sealed lead acid battery

                  What if I went the opposite way: up to 24v ?

                  EDIT: ok, I wrote that before I even thought about it - stupid idea considering I'd have to step it down to 12v again, which would lower the overall efficiency. I reckon for maximum efficiency there should be as little conversion as possible.
                  Last edited by Dannyx; 11-21-2018, 11:59 AM.
                  Wattevah...

                  Comment


                    #29
                    Re: DIY Backup with sealed lead acid battery

                    same concept, use a simple buck or boost convertor to get a constant voltage until the battery is depleted.

                    go look at julien's video's
                    https://www.youtube.com/user/julius256/videos

                    he has been building convertors on a plank of wood with an arduino to drive it!!

                    Comment


                      #30
                      Re: DIY Backup with sealed lead acid battery

                      Originally posted by tom66 View Post
                      There is no need to be fancy charging a lead acid battery.

                      Constant 13.5V float charge - for cells rated for such usage (most are, but check) - will be just fine.
                      Note that the float voltage (as with the charging voltage) varies with temperature. So, a "constant" works best when temperature is also constant. E.g., at higher temperatures, a battery outgasses at a lower voltage (what's the tempco of your AC adapter?).

                      I added a lead acid battery to the unit itself, connected to the 12V of the hard disk drive which is permanently connected to the AC adapter input. Then I modified the AC adapter to tweak the output voltage to 13.5V so this would keep the lead acid cell topped off.
                      What limits the charge current? I.e., when battery has drooped to ~10V and mains power comes back on... Are you counting on the current limiting inherent in the AC adapter to do this? I.e., if you used a BEEFIER adapter, your charge current would be "less limited"?

                      The down side of float charging is they don't give you the fast charging rate that a normal charger would.

                      Only disadvantage right now is that if the voltage drops to the point where the HDD stalls (approx 9.5V) then power comes back on, the unit won't automatically re-mount the disk...I need to figure out how to get this to work. But, that's pretty unlikely, because once the battery drops below 10V, it usually only has a minute or so of runtime left before the whole unit resets.
                      Deliberately open the battery lead when the voltage drops to a certain point (add plenty of hysteresis so it doesn't oscillate, there.) You can probably use something as small/cheap as a 555 (to exploit its high current output to drive a relay coil, directly)

                      Comment


                        #31
                        Re: DIY Backup with sealed lead acid battery

                        Originally posted by Curious.George View Post
                        Note that the float voltage (as with the charging voltage) varies with temperature. So, a "constant" works best when temperature is also constant. E.g., at higher temperatures, a battery outgasses at a lower voltage (what's the tempco of your AC adapter?).



                        What limits the charge current? I.e., when battery has drooped to ~10V and mains power comes back on... Are you counting on the current limiting inherent in the AC adapter to do this? I.e., if you used a BEEFIER adapter, your charge current would be "less limited"?

                        The down side of float charging is they don't give you the fast charging rate that a normal charger would.



                        Deliberately open the battery lead when the voltage drops to a certain point (add plenty of hysteresis so it doesn't oscillate, there.) You can probably use something as small/cheap as a 555 (to exploit its high current output to drive a relay coil, directly)
                        Seconded. Maybe use a resistive divider that needs at LEAST 10VDC (or whatever the minimum acceptable battery voltage is). Use a voltage regulator chip to keep the 12V at a constant level for the DVR to use. For the resistive divider, fuse it at like 1A or 2A and connect that to the battery. Connect the coil terminals from the resistive divider to negative, and switch the power to the voltage regulator using that. Then when the power comes back on, the adapter kicks on and the relay restores power to the DVR.
                        Don't buy those $10 PSU "specials". They fail, and they have taken whole computers with them.

                        My computer doubles as a space heater.

                        Permanently Retired Systems:
                        RIP Advantech UNO-3072LA (2008-2021) - Decommissioned and taken out of service permanently due to lack of software support for it. Not very likely to ever be recommissioned again.
                        Asus Q550LF (Old main laptop, 2014-2022) - Decommissioned and stripped due to a myriad of problems, the main battery bloating being the final nail in the coffin.


                        Kooky and Kool Systems
                        - 1996 Power Macintosh 7200/120 + PC Compatibility Card - Under Restoration
                        - 1993 Gateway 2000 80486DX/50 - Fully Operational/WIP
                        - 2004 Athlon 64 Retro Gaming System - Indefinitely Parked
                        - Main Workstation - Fully operational!

                        sigpic

                        Comment


                          #32
                          Re: DIY Backup with sealed lead acid battery

                          Would this resistor divider idea be in conjunction with an op-amp or a 555 then ?
                          Wattevah...

                          Comment


                            #33
                            Re: DIY Backup with sealed lead acid battery

                            Originally posted by TechGeek View Post
                            Seconded. Maybe use a resistive divider that needs at LEAST 10VDC (or whatever the minimum acceptable battery voltage is). Use a voltage regulator chip to keep the 12V at a constant level for the DVR to use. For the resistive divider, fuse it at like 1A or 2A and connect that to the battery. Connect the coil terminals from the resistive divider to negative, and switch the power to the voltage regulator using that. Then when the power comes back on, the adapter kicks on and the relay restores power to the DVR.
                            You can use the 555/comparator to implement any desired amount of hysteresis just by feeding back a weighted output (that drives the relay coil) to the input.

                            Comment


                              #34
                              Re: DIY Backup with sealed lead acid battery

                              I was thinking of the resistor divider idea to "monitor" the battery's voltage and toggle the charging on and off, but we'd run into the same issue of the divider seeing the adapter voltage rather than the actual battery voltage, so I'm still bidding on the constant current LM317 idea. Correct me if I'm wrong in my assumption.
                              Wattevah...

                              Comment


                                #35
                                Re: DIY Backup with sealed lead acid battery

                                use a microcontroller to turn the psu on and off, and monitor the voltage.

                                Comment


                                  #36
                                  Re: DIY Backup with sealed lead acid battery

                                  Originally posted by Dannyx View Post
                                  I was thinking of the resistor divider idea to "monitor" the battery's voltage and toggle the charging on and off, but we'd run into the same issue of the divider seeing the adapter voltage rather than the actual battery voltage, so I'm still bidding on the constant current LM317 idea. Correct me if I'm wrong in my assumption.
                                  Whether you're driving the battery with a voltage source ("adapter voltage") or a current source, you still won't see the actual "battery voltage" -- even if you monitor on the battery's terminals. (i.e., a voltage source still has an output impedance that acts to limit the charge current)

                                  The "less healthy" the battery, the more your voltage/current source will "pull" the battery in "their" direction.

                                  Even if you "disconnect" the charger in an attempt to monitor the battery by itself, you'll still find surface charge will mislead your (high impedance!) attempt to probe the voltage (and, from that, determine state of charge).

                                  [You'd have to "burp" the battery to remove that charge before you could see the true state of the battery]

                                  Comment


                                    #37
                                    Re: DIY Backup with sealed lead acid battery

                                    So I say periodically disconnect whatever is charging the battery (be it an adapter directly, or a purposely built circuit), then probe it via the resistor divider for X seconds/minutes to get a (relatively accurate?) reading. If the reading is high enough and not dropping too fast (which would indicate a faulty battery which is not keeping the charge), keep the battery disconnected from the charger. If it's below a certain threshold, throw it back on the charger.

                                    In battery mode, I believe the battery should be disconnected to prevent over discharge which shortens the lifespan of SLAs....deep cycles batteries are too expensive for this purpose. Even if a boost converter would technically be able to continue powering the load even when the battery is below 10v, it's not a good idea to drain it to the absolute 0....
                                    Wattevah...

                                    Comment


                                      #38
                                      Re: DIY Backup with sealed lead acid battery

                                      Originally posted by Dannyx View Post
                                      So I say periodically disconnect whatever is charging the battery (be it an adapter directly, or a purposely built circuit), then probe it via the resistor divider for X seconds/minutes to get a (relatively accurate?) reading. If the reading is high enough and not dropping too fast (which would indicate a faulty battery which is not keeping the charge), keep the battery disconnected from the charger. If it's below a certain threshold, throw it back on the charger..
                                      exactly.
                                      maybe use these bits (read the datasheet - it can monitor voltage, and current flow AND direction!)
                                      https://www.youtube.com/watch?v=8ikyp4lu45M

                                      Comment


                                        #39
                                        Re: DIY Backup with sealed lead acid battery

                                        Not sure whether I should go with a 24v or 12v battery. A 12v one would still require a "master" supply voltage of (I'd say at least) 18-19v to charge it, through a control circuit of course....this is if we want the "advanced" version.

                                        A simple version would be to simply keep the battery attached to the same terminals as the rest of the devices (which has been suggested, of course) and let it take over when the power fails, but this also eliminates any possibility of control - it just runs until it's completely flat, possibly causing intermittent behaviour when it starts to reach the "dead zone" like one of the cameras failing or displaying crap....
                                        Wattevah...

                                        Comment


                                          #40
                                          Re: DIY Backup with sealed lead acid battery

                                          Originally posted by Dannyx View Post
                                          So I say periodically disconnect whatever is charging the battery (be it an adapter directly, or a purposely built circuit), then probe it via the resistor divider for X seconds/minutes to get a (relatively accurate?) reading. If the reading is high enough and not dropping too fast (which would indicate a faulty battery which is not keeping the charge), keep the battery disconnected from the charger. If it's below a certain threshold, throw it back on the charger.
                                          The battery must be "loaded" appropriately. First, to bleed of any surface charge. Second, to gauge the output impedance of the battery as you're testing it.

                                          All this is complicated by the fact that there will be measurable differences in voltage based on battery temperature, as well as age, state of charge, etc.

                                          And, you have to be able to "tell" your monitor that you've replaced the battery (if it is trying to adapt to the battery's characteristics, over time).

                                          You can find endless opportunities to learn if you want to tinker with batteries. Or, you can find something that has already got that expertise built in!

                                          Comment

                                          Working...
                                          X