Because the circuit output is adjusted for 3V.I change the LT1084 to LM338 as a replacement. I intended to charge 12V battery with 1A current. Why does the voltage drop massively from 12V supply to 3V on the output?
Hello there,Hello,
My name is Aiman. My focus research area is on Battery chargers. I would like to know the part for Constant Current charging. As i have done a sample circuit for the CC-CV battery charger system.
I have conducted a few testing and simulation for the circuit but did not achieve CC-CV profile in the simulation. I am going to charge a 3.7V 3A 5000mAh battery. The charging mechanism should be CC then CV during the end of the charging. I'm using LM317 component to achieve constant current source circuit. TL431A acts a temperature compensated variable or adjustable Zener diode.
The input voltage is 12V and my consent is for constant current at 3A, can anyone share with me how to make it constant at 3A.
I am very happy if you can share with me tips or fundamentals for Constant Current Charging/battery charger.
Hi ericgibbs,Hi Arc,
Please post your latest LTS asc file,
E
hi crutschow,Because the circuit output is adjusted for 3V.
You need to change the resistor R4 so that the REF voltage is 2.5V at the desired output voltage.
But you can't charge a 12V battery with a 12V source.
You need a voltage at least 2V above the maximum desired charge voltage.

You can add an initial voltage condition to the 'battery' (C1) to simulate a battery that is not completely discharged before the charging starts. For a regular Li-ion cell that would be about 2.5 volts for example. The charging current would then take it from 2.5v up to 4.2v for example as time progressed. The charge time is dependent on what value you use for the capacitor and how high the charge current is.hi crutschow,
I have been trying to simulate with 15V supply voltage and adjust the value of R4 to observe the output voltage. Up until 3K ohm resister R4 the profile seems to be in good condition, however further decrease the value of R4 seems to change the profile of the CC-CV method there. My previous senior's CC-CV circuit achieved 48V from 54V supply which is 12% decrement from supply voltage. is there any solution for this or i would just need to increase the supply voltage?
View attachment 338393
Hi Mr AI,You can add an initial voltage condition to the 'battery' (C1) to simulate a battery that is not completely discharged before the charging starts. For a regular Li-ion cell that would be about 2.5 volts for example. The charging current would then take it from 2.5v up to 4.2v for example as time progressed. The charge time is dependent on what value you use for the capacitor and how high the charge current is.
Since the cell would be considered completely discharged when at 2.5v (or around there), you would calculate the required value for C1 based on the voltage going from 2.5v up to 4.2v, and how much charge is accumulated over that time period.
If we start with the definition of the capacitor:
dv/dt=i/C
then solve for C:
C=(dt*i)/dv
this gives us a picture of what we need.
We know what dv is because it has to go from 2.5 to 4.2, so it is 1.7 volts.
We would assume what 'i' is also, so we can calculate what dt is knowing the ampere hour rating of the battery.
The AH of the battery would be dt*i, because we terminate when the time period 'dt' has expired.
This means if we had a 10AH battery we would have:
10=dt*i
and if i=2 amps then:
dt=5 hours.
Now we know dt too, so back to:
C=(dt*i)/dv
and use dt=5 and i=2 and dv=1.7 and we get:
C=5.88 Farads.
Since you already picked the capacitor, we can investigate what ampere hour battery size that is.
Based on the 4.2v Li-ion cell again, we would have:
100=(dt*2)/dv
and again with dv=1.7v we have:
100=(dt*2)/1.7
and solving for dt we get:
dt=85 hours
Since the current example is 2 amps, that means the battery would be rated for:
170 ampere hours.
Note it does not matter what the charge current is for this calculation because if it was higher then dt would be lower by the same factor, so we'd still get 170 ampere hours.
So following this procedure you can calculate what capacitor value you need for C1 given your battery size.
It's entirely possible that 100 Farads would work, but it's good to check that based on the charge current and the voltage difference between fully charged and discharged completely for the battery you intend to use.
Note that we do not use the fully charged voltage of the battery alone which in this case would have been 4.2 volts. That would lead to a charge time of 210 hours rather than just 85 hours.
There is a more accurate calculation due to the equivalent series resistance in series with the battery, because near maybe the last 1/4 of the total charge time period the current starts to drop lower and lower. That means it actually takes longer to charge than the simpler calculation would show. It's not super difficult, but it ends up having an exponential part which does not matter a lot for a simple simulation.
Hi,Hi Mr AI,
Let say i want to charge 12V 6 cells in series with 5200mAH.
Nominal Voltage: 3.7 V/6 cell = 22.2V
Fully Charged Voltage: 4.2 V/6 cells = 25.2V
Cut-off Voltage: 2.5 V/6 cells=15.0 V
dv = 10.2V
dt = 510 hours
C=2/50=0.04Farads=40,000μF
Does using 100F capacitor will not optimize my charging circuit as it will need to take a longer time to charge the capacitor to the near supply voltage?
hi Mr AIHi,
I'm sorry I forgot to include the conversion factor for hours to seconds when calculating the capacitor value in my previous post. The value of the cap with 'dt' in hours and 'i' in amps and 'dv' in volts and 'C' in Farads would be:
C=(3600*dt*i)/dv
and if we set dt*t=5.2 we end up with:
C=3600*5.2/dv
and with dv=10.2 we have:
C=3600*5.2/10.2
which then leads to:
C=1835 Farads
However, this is the simpler calculation. If we want a more exact result we have to include the battery series resistance Rs, and then we have to also know the initial charge current i0. This leads to an expression like this for the last phase of charging:
vC=i0*Rs*(1-e^(-t/(Rs*C)))+Vout-i0*Rs
In the calculation for C though we then have to change 'dv' to a smaller value which would mean we subtract i0*Rs. That extra voltage then is shown as vC above when the capacitor charges during that last constant voltage phase.
If you'd like to see an example I can write one up a bit later.
hi crutschow,Look at the output voltage.
You are not simulating until the end of the charge.
Increase you simulation time to 300 seconds.
View attachment 338396
You can measure the voltage across R1 to determine the current using Ohm's law (if the voltage ≈1.24V it's in the CC mode, if <1.24V it's in the CV mode), and you can measure the voltage across the battery to determine its state of charge.How does i know the output current and voltage of my circuit and how does i know that my circuit achieved CC-CV.
Hi,hi Mr AI
i would love to know an example from that. however does it concerning if i did not use the correct value of the capacitor?
Hello again,hi Mr AI
i would love to know an example from that. however does it concerning if i did not use the correct value of the capacitor?
Hi Crutschow,Here's the sim showing the voltage across R4 (yellow trace):
It stays at about 1.24V during the CC charge, and then drops going to the CV charge.
View attachment 338526

I try to simulate according to your circuit but my Vout across R1 did not get the same curve as yours.Here's the sim showing the voltage across R4 (yellow trace):
It stays at about 1.24V during the CC charge, and then drops going to the CV charge.
View attachment 338526

The voltage across R1 is V(out)-V(Bat), not just V(out).I try to simulate according to your circuit but my Vout across R1 did not get the same curve as yours
Hi Crutschow,The voltage across R1 is V(out)-V(Bat), not just V(out).
Try plotting that function.
