• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

Lead-Acid Battery Charger, 12V 6A, Using Hysteretic SMPS Circuit With Auto Float Charge 2018-04-09

For optimum charging of lead-acid batteries a 3-stage technique is often used, consisting of an initial constant-current (CC) charge stage until the maximum charge voltage is reached, then a constant-voltage (CV) top-off stage at that voltage until the current drops to a low value, at which point it switches to a lower voltage CV float-charge stage.
This sequence is shown in the figure below from Batteryuniversity.com.


This article describes a simple SMPS circuit which performs that charging sequence.

For low battery charging currents a linear regulator works well, but for higher charge currents a switch-mode power supply (SMPS) is preferred for better efficiency and minimal heat sink requirements.

So discussed here is a simple switch-mode circuit that uses hysteretic (bang-bang) feedback to control the charging voltage and current.
A hysteretic design is inherently stable and thus requires no compensation of the control loop as linear feedback loops do. This reduces the design complexity of the circuit, and eliminates possible instability problems when changing from the CC to the CV mode while charging the low and varying load impedance of a battery.
Hysteretic current-feedback converters also inherently prevent the inductor from saturating.
They generally have more output ripple and their switching frequency varies with load, but that's not normally a significant concern for battery charging.
The circuit efficiency is high at around 90% so a heat sink should not be needed for the MOSFET.

The circuit (below) uses one LM339 quad comparator chip to perform all the feedback and control functions, along with one CD4049 buffer IC, one P-MOSFET, one Schottky diode, a TL431 reference, and several passive components.

During the initial CC charge, U1 rapidly switches P-MOSFET M1 in a PWM fashion to generate the desired output current with inductor L1 smoothing the voltage pulses from the MOSFET and converting them to a current.

The U2, Tl431 reference provides an accurate and stable 2.5V which is used to establish both the CC and CV values.
Its voltage is reduced to about 260mV at the U1(+) input for the CC reference, which is compared to the voltage generated across the current shunt resistor, R1.
When the peak battery charge current generates an R1 voltage exceeding U1's (+) reference voltage, U1 turns off M1.
This causes R7 to generate about 30mV of hysteresis voltage at U1's input, so M1 stays off until the battery current from the inductor has dropped about 20%, at which point U1 turns MI back on.
This is the hysteretic feedback sequence that controls the battery charge current in the CC mode.

U4 through U9 are six CMOS inverters in a single IC package that are paralleled to act as a poor-man's gate driver for M1.

U10 detects the charge current and when it is above about 1A as determined by the Set2 voltage (≈40mV), its output is low.
This sets the maximum charge voltage at ≈14.4V.

Initially, U1 maintains a Stage 1 CC charge of ≈6A until the battery voltage reaches its maximum charge voltage of 14.4V.

At that point U10 takes over control of the input to the Driver PWM signal and maintains the charge voltage at that level for the Stage 2 top-off charge.
(U1 and U10's output can be connected together to perform a wired AND function since they have open-collector outputs).

After the battery reaches near full charge the current will start to drop.
When the current reaches about 1A, U11 detects this value and its output goes low.
This removes R9 from ground and changes the resistor divider voltage at U10's (-) input, such that the battery has to drop to ≈13.6V before U10 again starts the charging current for the Stage 3 float charge.
This is the maintenance CV float-charge mode to help top off the battery and keep it charged.

The charger will revert to the Stage 1 high-voltage, CC charge rate if a battery is attached with a voltage of <13.6V that takes a charge current of >1A.



The initial Stage 1 charge current (blue trace) controlled by U1 is ≈6A average until the output battery* voltage (yellow trace) rises to ≈14.4V.

U10 then starts switching to maintain the Stage 2 voltage at 14.4V (this reduces the charge current, leaving U1's open-collector output continuously off, thus having no effect on the PWM signal).
When the current drops to about 1A, U11 switches high (green trace), dropping the charge voltage set point to ≈13.6V and momentarily stopping U10.

After the battery voltage decays to 13.6V, U10 starts back up, generating the float-charge-current (as determined here by simulated battery resistor, RPar).
R14 provides hysteresis for U10's oscillations during the Stage 3 float-charge.

*(The simulated battery consists of capacitor CBatt in series with Rser and parallel with RPar. The capacitor size is such that the simulated charge time is only a few milliseconds. The actual charge time will be much longer of course, typically hours, depending upon the battery size and state of charge.)

The 14.4V maximum charge voltage and the 13.6V float-charge voltage used in the simulation are typical values for a 12.6V lead acid battery.
These can be adjusted, if needed, by changing the values of R4, R8, and R9.
R4 and R8 must be selected first to determine the CV float-charge voltage (to give a Verr of 2.5V at U10's (-) input).
Then you select the value of R9 (which forms a voltage divider consisting of R4+R5 in parallel with R8 and R9) to determine the maximum charge voltage.

The charging current can be changed by using a different value for the shunt resistor, R1.

The inductor must be sized to handle the peak ripple current without saturating, which is about 7A in the simulation. One rated for 8A should be sufficient.
Its inductance can be more than 50μH but should not be appreciably less.

The input voltage should be ≥15V with a maximum of about 25V.
This means a standard 12.6Vac output transformer into a full-wave bridge Schottky rectifier should work as a supply.
It does require sufficient filtering so that the low point on the ripple voltage is not much lower than 15V (at least 5mF of filter capacitance per amp of current for a 12.6V transformer).
Note that the transformer power rating should be at least 40% (1.4) above the charger's CC limit times 14.4V (86.4W * 1.4 = 121W for a 6A CC) to avoid overheating the transformer.
The DC current is taken at the peak AC output by the rectifiers, which is 1.4 times the RMS voltage, requiring 1.4 times the transformer power for a given transformer current.

Another good supply (V1) for the circuit would be a 15V, >6A SMPS adapter, which are efficient and relatively low cost.

The circuit will not be damaged by application of the battery voltage if the input supply is off.
It could be damaged however, if the battery is reverse connected.
For protection a 10A breaker or fuse (X1) is in series with the output.
(D2 is rated for 25A and will carry the fault current until the fuse/breaker blows).

Note that proper grounding and decoupling are very critical for this circuit due to the high current, fast rise-time signals and small control signals to the comparators (as low as 40mV). Building the circuit on a board with a ground plane is best. Otherwise use a single-point type ground with the common of R1 being that point.
Connect C1 from the source of M1 to this point, also D2's anode, and all the common points for the rest of the circuit.
Building this on a plug-in type breadboard will likely result in erratic and unsatisfactory operation of the circuit.

Ending Caveat: This circuit was designed and simulated but not built, so it is likely that the built circuit will not perform exactly as the simulation shows due to component tolerances, layout parasitics, etc., and may require some tweaking to obtain proper operation. So anyone building this circuit should be aware of that and have the ability to understand the circuit operation and make any required changes.
Likes: Mick B
First release
Last update
0.00 star(s) 0 ratings

More resources from crutschow

Latest updates

  1. Charge sequence changed.

    The charge sequence has been changed so that it now stays at the 14.4 charge voltage until the...

Latest threads

EE World Online Articles