Is this circuit ok for charging SLA gel cell batteries?

crutschow

Joined Mar 14, 2008
38,952
Would the circuit work with 18 volts instead of 16?
Yes.
But it will increase the power dissipated in the LM317 for a given charge current.
Would it need the current limiting resistor to be more resistive?
No.
The current limit is determined by the Vbe of Q1 and is not affected by the supply voltage.
Would it be ok to substitute 220 and 2200 respectively? Is it also ok to replace R5 with a 2200 ohm resistor?
Yes to all.
Could I substitute the op amp with an LM358?
Yes.
That opamp can be substituted for the comparator.
 

Thread Starter

uraniumhexoflorite

Joined Oct 23, 2016
216
Which of these heat sinks do you think would be appropriate? I worked out that the most power that needs to be dissipated will be 11.2 watts. I'm thinking that the far left heat sink isn't enough and that one of the two on the right would be sufficient, but I wanted to make sure. I included an LM317 for size comparison.
 

Attachments

crutschow

Joined Mar 14, 2008
38,952
Which of these heat sinks do you think would be appropriate?
The maximum LM317 power dissipated for a 12V initial battery voltage and 700mA charge current would be (18-12)*0.7 = 4.2W so any of those heat sinks would probably work but I would go with one of the bigger ones to minimize the temperature rise.

Below is the simulation with your changes to the circuit:

upload_2018-10-30_11-26-17.png
 

Thread Starter

uraniumhexoflorite

Joined Oct 23, 2016
216
The circuit is completed and I just tested it on my battery. The battery is at 12.83 volts and the charger's output is at about 14.02 volts without the battery connected. It's putting about 0.45 amps into the battery. I currently have it on a breadboard cause I wanted to get it charged ASAP, but I will solder it to a perfboard later today or tomorrow. Thanks a ton for helping me design this charger! :)
 

Thread Starter

uraniumhexoflorite

Joined Oct 23, 2016
216
I realized that if the battery is connected and the charger is un powered, the battery will power part of the circuit. I was thinking that I could throw a diode into the circuit, but realized that that might cause the circuit to not charge the battery to the correct voltage due to the diode's voltage drop. I also thought that I may be able to use a transistor controlled by an op amp that compares the voltage of the input pin of the LM317 to the voltage of the battery, but I'm not sure if something that complicated is needed. Will the diode work, or should I use some other method?
 

Thread Starter

uraniumhexoflorite

Joined Oct 23, 2016
216
I was planning on leaving the circuit connected when the battery wasn't charging. It's what I did with the old charger and it's also convenient. I could just plug the charger in and then unplug it when I needed the battery. I could jig up a switch or something like that to switch the battery from the charger to the stuff it powers, but I would prefer to not have to if it's possible.
 
Last edited:

crutschow

Joined Mar 14, 2008
38,952
They are 15 amp rectifier diodes (pretty sure rectifier diodes are usually Schottky diodes).
Yes, the description says 15AMP 15A 45V Schottky Axial Rectifier Blocking Diode.

For your consideration, below is the circuit modified to switch to a trickle-charge voltage when the charge is complete.
It requires the addition of just an additional transistor (Q2) and two resistors.
It also uses a second comparator (as an inverter), but that's already in the LM339/393 package.
It reduces the initial maximum charge voltage from 14.5V to the trickle-charge value of 13.5V after the charge current drops to about 100mA.
That way you can leave the powered charger attached to maintain the battery charge level.

upload_2018-11-2_2-37-10.png
 
Last edited:

Thread Starter

uraniumhexoflorite

Joined Oct 23, 2016
216
How will I know when the charge voltage is correct? Is it when the voltage across the charger's output (with no battery attached) is equal to the desired maximum charge voltage?
 

crutschow

Joined Mar 14, 2008
38,952
How will I know when the charge voltage is correct? Is it when the voltage across the charger's output (with no battery attached) is equal to the desired maximum charge voltage?
Yes, but it's best to add some small load in place of the battery (say 300Ω, 1/2W) when you measure the voltage.
 

Thread Starter

uraniumhexoflorite

Joined Oct 23, 2016
216
In that case, I think I will replace R1 and R2 with a potentiometer. It should allow more precise adjustment, right?
Edit: What max charge voltage should I set it to? I've heard 13.6 volts tossed around as the voltage of a fully charged 12 volt SLA battery.
 
Last edited:

crutschow

Joined Mar 14, 2008
38,952
In that case, I think I will replace R1 and R2 with a potentiometer. It should allow more precise adjustment, right?
Yes, that would work for fine adjustment.
Edit: What max charge voltage should I set it to? I've heard 13.6 volts tossed around as the voltage of a fully charged 12 volt SLA battery.
According to Battery University, "The correct setting of the charge voltage limit is critical and ranges from 2.30V to 2.45V per cell."
This corresponds to a 6-cell voltage of 13.8V to 14.7V.
It should not remain at that voltage for more than a few hours after the battery is charged.

It also states: The recommended float voltage of most flooded lead acid batteries is 2.25V to 2.27V/cell.
This corresponds to a 6-cell voltage of 13.5V to 13.6V
This is the voltage required to maintain the battery charge (but is insufficient to charge it fully).
 

Thread Starter

uraniumhexoflorite

Joined Oct 23, 2016
216
So the charger should be equal to 13.5 to 13.6 volts when there is a load on it? I'm going to try using a 560 ohm 1 watt resistor that I had lying around.
 

crutschow

Joined Mar 14, 2008
38,952
So the charger should be equal to 13.5 to 13.6 volts when there is a load on it?
Not if you want a full charge.
That requires about 14.4V.

After it's fully charged you can drop it back to a 13.5-13.6V trickle-charge voltage to maintain the charge.
That's what the circuit in post #32 does.
Here's my write-up on that circuit.
 
Top