• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Battery Charger Circuits / Battery Charging Fault Indicator Circuit

DIY Circuits | Learn Basics | Arduino Coding




Battery Charging Fault Indicator Circuit

Last Updated on January 8, 2024 by Swagatam 130 Comments

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.

You'll also like:

  • cellphonechargerfromlaotpbatt 1Charging a Cellphone battery with a Laptop Battery
  • wirelessHigh Current Wireless Battery Charger Circuit
  • howtochargediscardedbatteriesHow to Recharge Dead Batteries
  • over2Bdischarge2BprotectionArduino based Battery Over Discharge Protection Circuit

Filed Under: Battery Charger Circuits Tagged With: Battery, Charging, Fault, Indicator

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Making a Strong RF Discharge Circuit
Next Post: Infrared Remote Controlled Door Lock Circuit »

Reader Interactions

Comments

Faizan Hamayun says:
April 20, 2015 at 1:26 pm

I have tried it but the current remains the same.

Reply
Faizan Hamayun says:
April 18, 2015 at 1:03 pm

My input supply is capable of providing 4.2V 5A but the battery is taking only 0.3A while it is at 3V.How to increase the charging current.And in place of variable can we achieve fix values of resistors?

Reply
Swagatam says:
April 18, 2015 at 4:20 pm

connect the source directly with the battery and check the current using an ammeter, if it shows much higher amp reading would indicate that the BD140 was not conducting properly in the circuit… in that case you can try changing the BD140 with a TIP127 for an enhanced current gain

Reply
Faizan Hamayun says:
April 17, 2015 at 7:02 am

Also for flashing the on time is more then the off time how this can manage?

Reply
Swagatam says:
April 17, 2015 at 7:16 am

use 1M for adjusting flashing speed, and adjust 22k for getting different ON/OFF periods

Reply
Faizan Hamayun says:
April 17, 2015 at 5:50 am

And how charging current can be increased?

Reply
Swagatam says:
April 17, 2015 at 7:14 am

by increasing the input current

Reply
Faizan Hamayun says:
April 17, 2015 at 5:21 am

OK in case of damaged battery (dead battery) or battery is short what will be the status of LED?.
Also the green LED light output is less so i have replace 1k with 100ohms and still it is dim.
What is the function of 1 mega pot with 555?

Reply
Swagatam says:
April 17, 2015 at 7:13 am

for a short battery, the LED will not light up or will blink very fast.

use a red LED for more brightness. 100 ohm is OK

Reply
Faizan Hamayun says:
April 16, 2015 at 9:00 am

Yes i have recheck the connections are reverse now it is OK.The solid is very difficult to achieve.why?

Reply
Swagatam says:
April 16, 2015 at 12:13 pm

when the upper opamp's output will turn positive it will make the LED solid so it cannot be so difficult

Reply
Faizan Hamayun says:
April 16, 2015 at 8:20 am

By that transistor pin settings the with supplied input of 4.2V the output goes to zero.

Reply
Swagatam says:
April 16, 2015 at 9:00 am

check online the image of BD140…see whether or not you have selected the correct pins with reference to the above diagram.

emitter must go to the supply input

Reply
Faizan Hamayun says:
April 16, 2015 at 7:48 am

And does it cut-off the battery after fully charge?charge termination?.The connection of Bd140 has some issue i have swap the collector with emitter then gets output by giving 5v input the output i get is 4.3v

Reply
Swagatam says:
April 16, 2015 at 7:53 am

yes it'll cut off after the battery is fully charged…the BD140 connections in the diagram is correct, if you modify anything in the diagram it'll not work.

I have explained the setting procedures above, you must follow them exactly as given.

a battery should be connected to the shown position before power switch ON for initiating the circuit.

Reply
Faizan Hamayun says:
April 16, 2015 at 5:08 am

Zener of 4.7v is used or 2x1n4148?

Reply
Swagatam says:
April 16, 2015 at 7:33 am

2×4148 back to back, cathode towards ground

Reply
Faizan Hamayun says:
April 15, 2015 at 11:33 am

And how much the Vcc will be now?

Reply
Swagatam says:
April 15, 2015 at 2:02 pm

Vcc = 4.2V as before

Reply
Faizan Hamayun says:
April 15, 2015 at 10:50 am

Many thanks.Some questions are as:

How to set up the thresholds?.How to set threshold for 4.2v battery?.

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.

If battery is charged and switching will be done later On then what will happen?

For a 3.7V battery, the 4.7V zener must be replaced with two ??

Reply
Swagatam says:
April 15, 2015 at 2:02 pm

initially keep both the presets slider arm to ground level

next disconnect the 100 link associated with the upper opamp

then connect a variable power supply FROM THE BATTERY SIDE. set it to 3.3V

The LED should show a fast blinking at this stage

now slowly adjust the lower preset such that the LED speed reduces to a slow flash.

Now increase the input voltage to 4.2V an slowly move the upper preset such that the LED just becomes solid.

that's it now the circuit is all set

battery should not be allowed to remain connected while the circuit is not powered otherwise the batt will slowly get discharged through the 10k presets and the zener

Reply
Faizan Hamayun says:
April 15, 2015 at 6:03 am

Waiting for the updated circuit diagram.

Reply
Swagatam says:
April 15, 2015 at 8:05 am

It has been updated

Reply
Faizan Hamayun says:
April 14, 2015 at 8:57 am

OK i will wait for the updated circuit.Thanks

Reply
Faizan Hamayun says:
April 14, 2015 at 6:58 am

In place of LM358 can LM393,LM339 or LM324 be used?

Reply
Swagatam says:
April 14, 2015 at 7:28 am

….sorry 741 will not work at 3V so LM358 is more appropriate

Reply
Swagatam says:
April 14, 2015 at 7:27 am

you can use two 741 instead

Reply
Faizan Hamayun says:
April 14, 2015 at 6:36 am

OK can i remove the status LED from this circuit?.
My battery charging current is 400mA.
Voltage is 4.1 +- 0.5volts
SO what will be the value of 3ohms resistor to change to? 1.5ohms 1watt?
Supply voltage is 5V,2A.
Any other change in value of components?

Reply
Swagatam says:
April 14, 2015 at 7:26 am

yes it can removed and replaced with a link.

1.5 ohms is correct although thsi stage is not crucial and can be removed.

no other changes would be required.

actually the above LM358 circuit can be also modified for an auto cut off, no need of using another external circuit.

LM358 can be replaced with any other opamp example two 741 ICs but using LM339 or LM324 would mean two idle or unused opamps which will need to be terminated correctly for maintaining stability, so not recommended.

I'll update the above circuit for an auto cut off, possibly soon.

Reply
Faizan Hamayun says:
April 14, 2015 at 5:32 am

OK what circuit is best suitable for charging lithium ion battery 4.2v,1200mah? with cut-off,over charging protection.In this case the battery is attached to a charging circuit?.

Reply
Swagatam says:
April 14, 2015 at 6:02 am

you can refer the last circuit from this article:

https://www.homemade-circuits.com/2013/12/usb-automatic-li-ion-battery-charger.html

Reply
Faizan Hamayun says:
April 13, 2015 at 10:55 am

What will be the value of zener for 4.2Volt case?

Reply
Swagatam says:
April 13, 2015 at 11:45 am

you can two 1N4007 diodes in series with cathode to ground.

Reply
Faizan Hamayun says:
April 13, 2015 at 10:21 am

any change in value of zener?.
C1=1uf multilayer or ceramic ?

Reply
Swagatam says:
April 13, 2015 at 11:43 am

C1, C2 both can be electrolytic

Reply
Faizan Hamayun says:
April 13, 2015 at 9:57 am

OK what will be the input voltage in this case?

Reply
Swagatam says:
April 13, 2015 at 10:01 am

it'll be 4.2V

Reply
Faizan Hamayun says:
April 13, 2015 at 9:04 am

SO how this can be used for charging a lithium ion battery?.
What is the value of C1,C2?
Does it will work for slow flashing and for fast flashing?

Reply
Swagatam says:
April 13, 2015 at 9:21 am

yes it will work as per your mentioned specifications

for a li-Ion feed a 4.2V input, adjust the 10k preset such that at 3.5V, the lower opamp output just switches ON (become high).

Use a 7555 instead of 555 because 555 may not work below 4.5V

C1 = 1uF, C2 = 2.2uF

Reply
Faizan Hamayun says:
April 11, 2015 at 8:54 am

so that means the circuit can be little smaller.I will wait for the whole circuit diagram.Thanks.

Reply
Swagatam says:
April 13, 2015 at 5:53 am

diagram updated check it out

Reply
Swagatam says:
April 12, 2015 at 4:56 pm

still working on it, possibly I'll finish it by tomorrow

Reply
Swagatam says:
April 11, 2015 at 8:59 am

OK!

Reply
Faizan Hamayun says:
April 11, 2015 at 7:45 am

Can the flashing can be done with 2 transistor multivibrator?

Reply
Swagatam says:
April 11, 2015 at 7:48 am

yes, and the following can also be used

https://www.homemade-circuits.com/2011/12/how-to-make-single-transistor-led.html

Reply
Faizan Hamayun says:
April 11, 2015 at 6:57 am

Solid need for charge completion only.

Reply
Swagatam says:
April 11, 2015 at 7:04 am

i'll try to do it, but the circuit will be quite lengthy and bulky.

you'll get it tomorrow

Reply
Faizan Hamayun says:
April 11, 2015 at 6:03 am

First of all a proper charger needed with cut-off,secondly a multivariate can be connected to have charging status?.For fault indication that is tricky to have fast flash may be with 555 timer?

Reply
Swagatam says:
April 11, 2015 at 6:14 am

introducing two 555 stages for just flashing an LED could make the design so much lengthy and bulky,

using 4 separate solid LEDs makes more sense according to me. which will light up individually (not together) for indicating the various conditions of the battery

Reply
Faizan Hamayun says:
April 10, 2015 at 12:31 pm

Oh that's sad.Please let me know other options? if not working with LM3914.

Reply
Faizan Hamayun says:
April 10, 2015 at 6:30 am

For status LED i need to have some changes like:
1:Green LED fast flashing indicates fault i-e 1 flash per 2 seconds agreed.
2:Green LED slow indicates charging condition agreed.
3:Green LED solid ON indicates battery is full charge please check.

Reply
Swagatam says:
April 10, 2015 at 11:51 am

sorry it's not working out.

with 4 static LEDs it may be possible but not with a single flashing LED

Reply
Faizan Hamayun says:
April 9, 2015 at 1:14 pm

OK i am waiting because i have to do in this week.Thanks,

Reply
Swagatam says:
April 10, 2015 at 5:57 am

fast flashing for fault,

slow flashing for charging

and very slow flashing may be at 1 flash per 2 seconds

this much can be provided.

Reply
Faizan Hamayun says:
April 9, 2015 at 6:20 am

Any updates i am waiting anxiously?

Reply
Swagatam says:
April 9, 2015 at 11:40 am

I have the idea, but unable to update it due to the lack of time….will do it soon for sure.

Reply
Faizan Hamayun says:
April 4, 2015 at 5:02 am

Yes surely it needs a new one

Reply
Faizan Hamayun says:
April 3, 2015 at 11:08 am

https://www.homemade-circuits.com/2013/12/usb-automatic-li-ion-battery-charger.html can this be modified?

Reply
Swagatam says:
April 3, 2015 at 2:22 pm

the above design is based on a different principle so it cannot create flashing indications,

for flashing indication a different circuit will be required having the caapcbility to sense the battery condition and change the flashing rate.

Reply
Faizan Hamayun says:
April 2, 2015 at 4:31 am

Any updates?

Reply
Swagatam says:
April 2, 2015 at 9:01 am

I tried but couldn't figure out a proper design till now…

Reply
Faizan Hamayun says:
March 31, 2015 at 6:19 am

Sure i will wait for this.Thanks

Reply
Faizan Hamayun says:
March 28, 2015 at 5:08 am

For status LED i need to have some changes like:
1:Green LED fast flashing indicates fault
2:Green LED slow indicates charging condition
3:Green LED solid ON indicates battery is full charge.

Reply
Swagatam says:
March 29, 2015 at 7:26 am

in the above design it would be difficult to add these enhancements, if possible i'll try to design a new circuit.

Reply
Faizan Hamayun says:
March 26, 2015 at 8:15 am

this is not working as the output across TIp122 is below 2v which is low when input is 5V.

Reply
Swagatam says:
March 26, 2015 at 12:18 pm

change the position of the battery as shown in the updated diagram…

Reply
Faizan Hamayun says:
March 24, 2015 at 7:05 am

Very strange behavior from circuit when only +ve terminal of battery connected to the TIP122 all of bar graph ON as battery is not connected to GND and not fully charge this happens every time and no current charging current is sensed.My battery is OK i have test with another charger.

Reply
Swagatam says:
March 24, 2015 at 1:10 pm

connect a diode in between the battery positive and the TIP122 emitter, this will solve the issue.

anode to emitter, cathode to the battery positive.

Reply
Faizan Hamayun says:
March 20, 2015 at 4:36 pm

Hello;
As the LM317 drops 1.25volts so the output is less then we need to charge up the battery so what should be done in order to get correct output at TIP122?

Reply
Swagatam says:
March 22, 2015 at 12:58 pm

Are you sure the 317 will drop 1.25V? If it is so, then you may have to use a 6V input instead of the shown 5V

Reply
Faizan Hamayun says:
March 17, 2015 at 11:51 am

One more question about setting up LM3914 does the input 4.2V means by providing input at pin 9 by removing the LM317 to tune it up?

Reply
Swagatam says:
March 18, 2015 at 6:58 am

input should be applied across the points where 5V is indicated, that is at the input of LM317, it should not be removed.

once the IC is set, then the 4.2V can be removed and replaced with 5v

Reply
Faizan Hamayun says:
March 17, 2015 at 10:48 am

Can it tell the short circuiting of battery or reverse polarity as well?

Reply
Swagatam says:
March 18, 2015 at 6:55 am

battery cannot get short circuited in the above design.

for reverse indication polarity simply add a LED with a 1k series resistor across the emitter and ground of TIP122 but in reverse polarity that is anode to ground and cathode to the emitter.

Reply
Faizan Hamayun says:
March 16, 2015 at 10:36 am

By mistake i put the BC557 question i got it,it is PNP.

Reply
Faizan Hamayun says:
March 16, 2015 at 10:19 am

Can i use LM3914 in place of LM3915?

Reply
Swagatam says:
March 16, 2015 at 11:33 am

yes 3914 will do.

Reply
Faizan Hamayun says:
March 16, 2015 at 9:02 am

Thanks for circuit.I want to know about Rx value i have selected it 2ohm 5watt for 0.6A charging current is it OK?
Also tell me about BC557 transistor which is PNP not NPN should it be 547? or 577?.
I am using switching power supply of 5v,3A is it OK to use ?

Reply
Swagatam says:
March 16, 2015 at 11:33 am

5V/3amp input is OK

Reply
Swagatam says:
March 16, 2015 at 11:33 am

Rx = 1.25/charging current,

for a 1000mAh Li-ion batt the charging current should be 1amp, therefore

Rx can be = 1.25 ohms

BC557 is PNP

Reply
Back to Newest

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 9 Simple Solar Battery Charger Circuits
  • Gagana on 9 Simple Solar Battery Charger Circuits
  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram

© 2026 · Swagatam Innovations