X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=physical.git;a=blobdiff_plain;f=misc%2F12V%20Lead-Acid%20battery%20changer%20and%20terminal%2Findex.html;fp=misc%2F12V%20Lead-Acid%20battery%20changer%20and%20terminal%2Findex.html;h=1a4104feedb856c42e4d4dc4c57a53593cf9aa45;hp=0000000000000000000000000000000000000000;hb=19af345819ef415d6685de55eb218367baa47b33;hpb=365f953bb4a379fb74f7ec49244484f75362c684 diff --git a/misc/12V Lead-Acid battery changer and terminal/index.html b/misc/12V Lead-Acid battery changer and terminal/index.html new file mode 100644 index 0000000..1a4104f --- /dev/null +++ b/misc/12V Lead-Acid battery changer and terminal/index.html @@ -0,0 +1,681 @@ + + + +Battery charger and dual power supply unit + + + + + + + + + + + + + +
+

Battery charger and dual power supply unit

+ +
+

1 General

+
+ +
+
+ +
+

2 Project description

+
+

+I needed dual voltage power supply for my lab that runs on mains +electricity (wall power) and slowly charges attached 12V Lead-Acid +battery. Lead-acid battery in turn provides high current when needed +as well as power in portable situations or when mains electricity is +not available. +

+ + +
+

make.png +

+
+ +

+Power supply provides about 13 Volts and 5 Volts simultaneously. +

+ +

+!!!WARNING!!! I use USB-A connectors for power output, but IT IS NOT +COMPATIBLE WITH USB DEVICES AND POSSIBLY WITH EXISTING USB CABLES. +

+ +

+Normal USB devices and cables should not be plugged in! It would +damage device/cable and likely power supply. +

+ +

+I found USB-A connectors to be easily available, cheap, reliable and +functional, so I re-purposed connector for my own needs but I'm using +totally incompatible electrical wiring. +

+ + +
+

USB%20hack.png +

+
+ +

+As seen, it has dual voltage output. Additionally one wire is +dedicated to data transmission and can be used with 1-wire +protocol. Power supply simply passively links all data wires together +but does not participate in communication. +

+ +

+Power supply uses 3D printed body with lots of holes, for fanless +cooling. +

+ + +
+

body,%201.png +

+
+ +

+Various modules are realized on top of prototype PCBs that slide into +dedicated rails within the body. +

+ + +
+

body,%202.png +

+
+ +

+Like this: +

+ + +
+

make,%202.png +

+
+ +

+When cover is closed, it blocks PCB movement: +

+ + +
+

cover.png +

+
+ +

+There is still some empty space inside, so why not add dummy cover on +top that can be replaced later with add-on functionality/expansion +board/terminal :) +

+ + +
+

cover%20cover.png +

+
+ +

+Download: +

+ +
+
+ +
+

3 Transformer and AC to DC converter

+
+

+This is where high voltage from mains electricity enters the system. +

+ +

+Schematic: +schematic.png +

+ +

+For safety I kept high voltage section as minimal as possible. That +is, wall plug runs straight into transformer. Also I used UV hardening +glue for extra safety and isolation on PCB. +

+ +

+Power on/off switch operates on already reduced voltage of about 30 +volts. Power switch is located on indicator panel. +

+ + +
+

make,%201.png +

+
+ +

+DC current of about 30 volts is then routed to Main board. +

+ + +
+

make,%202.png +

+
+ +

+Single sided prototype PCB is used. +

+
+
+ +
+

4 Main board

+
+

+This is logically main board because it appears to be central hub that +connects all components. It also houses 2 adjustable DC-DC Step Down +voltage converters. +

+ + +
+

main%20board,%201.png +

+
+ +

+High-level schematic of entire device: +schematic.png +

+ +

+As seen from schematic, ~30 volts DC from transformer board is routed +into first step-down converter that reduces it to about 15V. Reduced +voltage is then directed to Current limiter circuit. Current limiter +loses about 2 volts. Now we have current and voltage limited power at +about 13 volts. This power is used to charge connected 12V Lead-Acid +battery. Also the same power is routed to connector terminal to be +consumed by connected devices. +

+ +

+As seen from this schematic, device is not meant to provide high +current for long periods of time. Instead it gets comparatively +limited current to charge the battery and feed devices with low +current requirements. Occasional current spikes are backed up by +battery that stays in use-changing mode. +

+ +

+Also about 13V output voltage is approximate and depends on connected +battery charge level. +

+ +

+Second Step-Down converter reduces voltage even further to quite +precisely 5V DC. This resulting voltage is also routed to connector +terminal. +

+ +

+Both 13V and 5V lines are also routed to indicator panel for +monitoring. +

+ +

+There is single on/off switch. In off position, it disconnects battery +and transformer from the system effectively powering everything down. +

+ +

+On schematic above, some wires are annotated with numbers from 1 +to 13. This corresponds to output pins on the board. +

+ + +
+

main%20board,%202.png +

+
+
+
+
+

5 Current limiter

+
+

+Schematic: +schematic.png +

+ +

+Simple LM317 based current limiter is used. I used 4.7 ohm +resistor. It provides about 265 milliamps of current. See calculator. +

+ + +
+

current%20limiter,%201.png +

+
+ +

+Thermal paste below and UV hardening glue on top is used to attach +LM317 to the heatsink. There is also jumper-like solution on top +right. This is handy to attach multimeter tap to verify/monitor +current during initial device calibration. +

+ +

+If attached battery is really empty, significant voltage drop can +occur in LM317. Heatsink is needed to dissipate that power. +

+ + +
+

current%20limiter,%202.png +

+
+ +

+Note: resistor gets hot too. +

+
+
+ +
+

6 Indicator panel

+
+ +
+

indicator%20panel,%201.png +

+
+ +

+Basically 2 digital DC voltmeters and main on/off switch. +

+ + +
+

indicator%20panel,%202.png +

+
+ +

+Download: +

+ + +
+

indicator%20panel.png +

+
+ + +
+
+ +
+

7 Connector terminal

+
+

+Schematic: +schematic.png +

+ +

+As seen above, most of the USB connectors are used to deliver dual +power output and 1-wire data connectivity, except one on the bottom +right. This is used to attach 12V battery. Some capacitors are thrown +in as well to stabilize against smaller current spikes. +

+ +

+Electrically schematic is realized using smaller prototype PCBs. +

+ + +
+

make,%201.png +

+
+ + +

+Those PCBs are wired to central small PCB that acts as a hub: +

+ + +
+

make,%202.png +

+
+ +

+PCBs are held together by being sandwiched between front panel: +

+ + +
+

front%20panel.png +

+
+ +

+and smaller back-end plate: +

+ + +
+

back%20panel.png +

+
+ +

+Result: +

+ + +
+

make,%203.png +

+
+ + +

+Download: +

+ +
+
+ +
+

8 Calibration

+
+

+Since device uses adjustable step-down modules, these need to be +calibrated to provide correct output voltage. It is important that +battery receives proper charging voltage otherwise either no charging +occurs or battery starts gassing out and gets destroyed. +

+ +

+See here for more details: https://www.powerstream.com/SLA.htm +

+ +
+ +

+Happy building! :) +

+
+
+
+ + +