In this article I have explained a battery status indicator circuit which can be also used as a battery charging fault indicator circuit. The idea was requested by Mr. Faizan.
The Design
The idea presented here takes care of all the parameters required for charging a battery ideally and safely.
Referring to the shown battery charging fault indicator circuit, the design may be understood with the help of the following points:
The IC LM3915 which is a dot/bar LED display driver IC forms the main charging indicator module of the circuit.It's pin5 is the sensing input, the rising battery voltage is sensed at this pin and the IC responds to it by producing a proportionately sequencing LED illumination across its 10 outputs, as shown with the 10 connected LEDs.
A LM317 IC can also be seen attached at the input of the circuit, it's wired as a constant current generator so that the circuit is able to produce error free indications and operations regardless of the input current level. Rx is selected suitably in order to enable this correctly.
Circuit Diagram
When power is switched ON, the 100uF/25V capacitor across the pin5 preset of the IC momentarily grounds pin5 so that all the outputs of the IC begin by staying shut off.
This is important to make sure that the TIP122 is able to initiate the charging process and the BC557 is inhibited from an accidental switch ON due to the initial surge transients.
As soon as the 100uF is charged up, pin5 is allowed to sense the actual voltage that's been utilized by the battery while it's been charged, which should be normally anywhere around 3 to 3.3V for a fully discharged 3.7V Li-ion battery.
Here each LED may be set to indicate an increment of 0.42V, which implies that the illumination of the 10th LED indicates 4.2V which may be assumed to be the battery full charge level indication.
This also implies that during power ON, 7 LEDs must be illuminated to indicate a correct battery discharge level and charging process.
Less that 7 LEDs illuminated would indicate a badly discharged battery or a damaged battery consuming excess current than the specified range.
With all the LEDs lighting up during power switch ON would imply either the battery is fully charged or the battery is not accepting charge and is faulty.
Under normal conditions, around 7/8 LEDs should be illuminated at power switch ON and as the battery voltage increases due to charging, the LEDs should also sequence by illuminating the 8th, 9th and the 10th LED sequentially.
Once the 10th LED is illuminated, a low logic is sent to the base of the TIP122 which is now inhibited from a base bias and the charging voltage to the battery is thus cut off, switching off the charging voltage to the battery.
The low logic from the 10th pin is also sent to the base of the shown BC557 which conducts and connects pin5 of the IC directly to the 5V supply making sure that the 10th LED becomes latched and the situation is locked until power is switched OFF and ON for further actions.
How to the set up the circuit
It's the simplest part in the design.
Initially do no connect any battery across the shown points.
Apply a precise 4.2V at the input.
Now begin adjusting the pin5 preset such that the LEDs light up sequentially and the 10th LED just illuminates brightly.
Seal the peset once this is confirmed.
Your battery charging fault indicator circuit is all set now for the proposed battery fault indications and also charge level indications.
Battery Fault indicator Circuit using a Flashing LED.
The following update shows a simpler design that may be used for indicating a battery charging malfunction through a flashing LED
Initially both the opamp outputs may be assumed to be low, if the battery is discharged below 11V, this will be indicated with a fast blinking of the LED. C1 must be set for achieving this fast blinking.
The lower opamps is set using pin5 preset such that when the connected 12V battery reaches around 12.5V, its output pin goes high, once this happens the BC547 triggers and adds a high value capacitor C2 in parallel with C1 slowing down the flashing rate significantly and indicating that the battery has entered the next upper charging phase and also that the battery is good and is accepting the charge well.
As the battery continues to get charged and acquires a voltage level of around 14V, the upper opamp which is set using pin3 preset to trigger at this point triggers and renders a high across the connected LED stopping its flashing and illuminating it to solid.
Once this happens the user may assume the battery to have reached the optimal charging level and may remove it from the charger.
How the Battery fault is Indicated
1) If the LED blink rapidly would initially indicate that the connected battery is over discharged, however this condition should improve and the LED should transit into a slow flashing after an hour or so depending upon the sate of the battery. If this does not happen, the battery may be assumed not accepting the charge due to internal damage or short circuit.
2) If the LED lights up solid when power is switched ON would clearly indicate a faulty battery which may be completely inactive internally and unable to accept any current.
The above explained battery charging fault indicator circuit can be upgraded for an automatic over charge cut off through some modification as shown in the following diagram:
While setting up the two presets make sure the 100K link remains disconnected in the upper opamp.
After setting up the thresholds, the 100k link can be reconnected into position.
The circuit will not initiate until a battery is connected, so make sure the battery to be charged is first connected and then power is switched ON.
For a 3.7V battery, the 4.7V zener must be replaced with two
A little in-depth investigation shows that in the above circuit C2 will not have a discharge path through the connected BC547 and therefore it won't help to slow down the oscillations while the lower opamp is in the activated state.
The correct implementation of the above concept could probably be done by using an optocoupler as shown in the following figure.
Here instead of targeting the frequency determining capacitor C2 the resistor counterpart is selected for the intended control of the frequency and LED blinking rate:
Schematic for Blinking LED Fault Indicator
Now it looks much better.
P.S. Laroya says
What is Battery reversal when charging start-
Lawal Mohammed Abubakar says
Please Sir I saw Schematics diagram online for automatic lithium ion battery charger using lm358 and 8550 transistor. The Circuit employs three led indicators,one is used to indicate the charging status of the battery,the other blinks to indicate the charging and the other is used to Indicate w hen the battery is fully However many viewers including me who tried the Schematics didn’t work as expected or successful done in the video. The channel name was Creative Science. Please Sir could you review the diagram for any Corrections?
Because I tried it several times no success. The led does not blind and the others stay on
Swagatam says
Hi Lawal, the schematic in the video looks OK to me. The left side op amp IC1B is designed to work like a square wave oscillator. While the battery is charging the output of the right side op amp IC1A is low, which allows the D4 to get the low signal from the right side opamp IC1A and it starts blinking. D1 remains shut off because there’s no high output from the right side op amp IC1A. When the battery is full charged, the output of the right side op amp IC1A becomes high illuminating the D1 and shutting off D4. Try increasing the value of C1 and see if that helps to blink the D4 LED or not. Remember the right side op amp IC1A output must be low while the battery is charging, this can happen only if the battery is discharged so that the pin3 voltage of IC1A is lower than its pin2.
Lawal Mohammed Abubakar says
Thank you Sir. Please Sir I assembled the diagram again on breadboard. However when I connected a lithium ion battery at the output,the power led and the charging status led (Red and green) both lighted.But the charging led or the blinking led (yellow led) stayed off. I disconnected and measured the output of the charger .It read 3.78 v on my multimeter. I measured the voltage of the battery and it reads 3.8 volts.
I connected a different battery with a low voltage of 2.4 volts.The power indicator led (red) only lighted after connecting the battery .After connecting the charger to the power supply 5volts,the charging status led only lighted without blinking. However when I touched the 1megaohm resistor pin connected to the output or pin7 ,the charging status led or the blinking led started to blinking.when I removed my hands it stays on.
Swagatam says
Lawal, LED D4 will blink only when IC1A output is low. Output of IC1A will low when its pin3 voltage is lower than its pin2 voltage. Pin3 voltage will be lower than pin2 when a discharged battery is connected at the output and the battery low voltage drags and drops the supply DC to a level which causes pin3 voltage to become lower than pin2.
Connect the blinking LED D4 directly to ground and check whether it is blinking or not, if not then the left side square wave oscillator may have problems, you can try increasing the value of the C1 and check the response.
Remember breadboard assembly can have loose contacts, so it is not good, build the circuit over a PCB or a strip board by soldering.
yusuf says
good evening sir,in the lm3915 circuit,if you said “the transistor tip122 will inhibit charging process and bc557 will latch the the the charging” and don’t the basic rule of operation of transistor that says npn operate with >0.7v at the base and pnp operate with <0.7v at the base hold anymore?
Swagatam says
Hello Yusuf, I did not understand your question. Actually when pin#10 activates it becomes low, causing the NPN to switch OFF and PNP to switch ON. When PNP switches ON it latches by supplying the full input supply to pin#5 of the IC.
Tina Tobi says
thanks for your patience and response I really appreciate it all
Swagatam says
you are welcome!
Tina Tobi says
thanks sir .but u didn’t tell me any side effects of connecting different rated battery. like. please sir I will be very grateful if u can design a circuit that can monitor d current capacity of li ion battery maybe with lm3914.
Swagatam says
Hello Tina, I think the negative factor is already known to you, the lower Ah batts will be charged at a faster rate and will continue to get charged until the other higher rated batts are fully charged, this will create an adverse effect on the low Ah batteries.
One easy wayout could be to restrict the full charge level to slightly lower than the actual full charge level of the batteries….for example instead of 4.2V you can set the charging voltage to 4V…then you can keep the charger connected indefinitely until all the batts are charged, without having to worry about any issues.
Swagatam says
sorry, LM3914 cannot be used for controlling current, LM317 is the easiest option in hand
Tina Tobi says
I need your knowledge .am confused. I have some set of li ion 4.2v 18650 of different current capacity. I want to connect them together in parallel to increase d current. my question is after using d battery,so I start charging it I guess those with small current capacity will first full ? and leaving all batteries to full hope it will not affect the those with small current capacity that have reached full level. or every battery will wait for each other to full… thanks in advance
Swagatam says
If you intend connect different rated batts in parallel that would require a current limiter stage in between each of the batteries, this is to ensure that all of them are charged at the the same rate….ideally at 0.5C rate….for this you can use LM317 current limiter circuits in series with each of the batteries.
Jesubiyi says
Under where can I find d ATS, changeover etc? I see one of out of “3 phase circuit”( single phase from three phase supply ) but no place to comment under the article sir I have build it but no good response and use battery to power it but something surprise me is it compulsory to use the transformerless Power for the circuit to make it work? but I see possibilities that the format of circuit ll work well and i believe in you. thanks for everytime…may you live long in good health amen more grace ahead of you in Jesus name. thanks in advance
Swagatam says
Jesubiyi,
You can refer to the following links
https://www.homemade-circuits.com/?s=ATS
https://www.homemade-circuits.com/?s=changeover
And please try to use correct English while commenting, and do not use short forms for the words 🙂
Jesubiyi says
alright noted
Jesubiyi says
pls I want to build without microcontroller if possible (construction of auto power supply of 4 different sources ie solar mains gen and inverter to ensure no break of power to d load . pls share me d link/ knowledge. thanks
Swagatam says
similar circuits are already present with names ATS, changeover etc…you can use the search box to find them..
abioye says
sir can this circiut work for my 350v 1200amps lithium battery or what are the changes i need to make to the circuit and thank sir for the high voltage charger circuit it worked like charm
Swagatam says
Abioye, you can try it, but you will have to scale it down appropriately to match the circuit’s voltage parameters, use potential divider network to scale down the battery voltage down to 15V, and then you can feed this to the battery input of the circuit
Mamdouh Mikhail says
I'm trying to find a diode that rated to 7 amps. can you please suggest one?
thank you.
Swagatam says
please search it on Google you'll surely find it