In this post I have explained about a simple yet sophisticated automatic emergency light circuit which can be considered "smart" due to the involved advanced features and an inexpensive design. The idea was requested by Mr. Lokesh.
Technical Specifications
Hi sir, I am so glad to see your interest towards electronic circuits. So eagerly waiting for circuit which will be having following (few or all) feature.
- Low Battery Cut-off
- Overloading protection
- Short Circuit protection
- Reverse current protection
- Reverse polarity protection
- Thunder protection
- Over discharge protection
- Auto battery shut-off at Low voltage detection
- Overcharge protection
- Auto charge stop/ High Volt Detection
- Battery capacity level display(SOC)
Making this circuit for underprivileged location as donation for poor via charity So hope I can have one ckt diagram with some or all features mentioned above or lts link..
Looking for your reply ..
With full excitement
Thank you
Regards
Lokesh
If successful I am in plan to put ur & website name on my device 🙂
As part of tribute to you sir
The Design
Amongst the many interesting features requested above only two are not included in the proposed smart LED emergency light circuit which are: 1) Battery Capacity level indicator, and 2) thunder protection.
The battery capacity level indicator is eliminated to keep things simple in the design, and the thunder protector feature is not considered in the circuit since it may be included in the form of an external attachment and cannot be a part of the electronic circuit.
Apart from the above all the remaining features are included in the design making it a truly impressive and a smart.
So I have explained the simple yet advanced design in detail with the help of the following description:
Referring to the above shown smart automatic emergency light circuit, the IC 741 forms the battery level detector and the cut off stage.
How it Works
The 10k preset is adjusted such that the output of the IC goes just positive whenever the "full battery" is reached at the selected level
This is indicated by the illumination of the green LED and the shutting off of the red LED. When this is detected the IC goes into a latching mode due to the presence of the 100k feedback resistor.
Since this 100k resistor also forms the hysteresis control and becomes responsible of restoring the charging process at the desired low battery level, it must be so selected that it executes this low charge restoration process at the correct preferred low battery level.
During the absence of mains power, when the low level is detected by the opamp, the TIP122 is instantly switched OFF to prevent over discharging of the battery.
The transistor TIP122 becomes the LED driver device, which triggers ON into a standby mode as soon as the battery gets fully charged, and switches ON the LED in case the mains power fails.
Calculating the Current Limiter
The associated BC547 transistor ensures a safe, restricted current to the LED as set by the value of the resistor Rx.
Rx is calculated with the help of the following formula:
Rx = 1.2 / LED max safe current (in amps)
The PNP transistor on top is positioned to supply the charging voltage for the battery. It is enabled in the switch ON position whenever the battery voltage is detected to be below the lower threshold and while the opamp output is rendered negative or low, on the other hand this PNP transistor is instantly switched OFF when the battery is detected to be fully charged and the opamp output toggled to a high or a positive potential.
The supply voltage at the collector of this transistor may be derived from any standard SMPS AC/DC adapter unit.
The feed back link from the collector of the PNP transistor to the base of the BC547 takes care of the emergency LED changeover action, which ensures an immediate, automatic switch ON of the LED whenever the grid voltage fails and vice versa.
If you have any further questions regarding the design, you may feel free to use the comment box below to jot in your valuable feed backs.
fayyaz says
hi sir can you provide a circuit for smart led emergency light which turns on only when power line goes off.
led does not depends by on/off button
Swagatam says
Hi Fayyaz, the above circuit will do exactly that. It does not depend on ON/OFF switch.
harvinder singh says
hi sir can u provide some circuit for automatic contact less panipuri water filling machine ,with adjustable time and manual operation also possible
Swagatam says
Hi Harvinder, yes a circuit can be designed to open and close a tap that will fill puris without contact.
Rudi says
Sir
Where is the negative cable from adapter source and where is it attached and, 3 volt zener dioda, and i don’t find the symbol there, thank a lot
Swagatam says
Rudi, the battery (-) is the negative point for the adapter also…
Mehmet Ovacıklı says
Mr. Swagatam, I would be glad if you send me a circuit board with PCB drawings and over-discharge, and over-discharge, with automatic discharge. Vith 12 v.8-10 Amp. Thanks in advance. I wish you a good day
Swagatam says
Hello Mr. Mehmet, you can try the designs explained in the following article:
https://www.homemade-circuits.com/opamp-low-high-battery-charger/
But I do not have the PCB designs for them, you will have to contact a PCB designer for this.
chandrasekhar says
Hi swagtam, please lookinto the undernoted circuit.
https://drive.google.com/file/d/1Ng9tC3sbhwrI1FfDFz3_xXsLNYDoFOto/view?usp=sharing
here i use two comparator, one for high voltage U1 and another for low voltage U2 monitor. Now i want to add both these two for charging the battery when the battery level down near certain voltage like 9volt and the Emergency light connect to battery will not light up for further over-discharge. Again when the battery level up above 12.5 volt the charging should. Please help me to add some PNP-NPN circuit to make it complete.
Thank You.
Swagatam says
Hi chandrashekhar, I already have similar circuits in my website, , you can find it here:
Op amp Battery Charger Circuit with Auto Cut Off
Also the smart emergency lamp explained in the above article uses a single op amp and does both the operations of overcharge cut off and low discharge cut off.
CHANDRA SEKHAR BEHERA says
Hi Swagtam, I want to charge my 3P LION battery of 1200mAh each with power adapter of 12V 500mA. And my emergency led are connected with 3s 4P (means 240mA total-2835 SMD-02W,3V).
1. Now my question is how to IC will determine how much battery voltage will be signalled “battery Low”. Understand that 10K preset will determine battery charge voltage.
2. Can I use LM358 IC instead of 741 ?
3. As per your calculation the Rx should be 1.2/0.024= 5 Ohm 2.88 Watt. Am I correct.?
4. Can I modified to 1K from 10K which connected to TIP 122?
5. What is use of 4v7 zener. Is it determine the battery low signal? Then in my case 7.5volt (2.5*3series battery). Am I correct?
Please respond to my above queries..
God Bless You.
Swagatam says
Hi CHANDRA SEKHAR,
3P refers to 3 batteries in parallel? but in your 5th point you have said that the batteries are in series, please clarify how is the battery configured, then I will try to help? Also please mention the battery Ah spec of each Li-ion that you have used.
Chandrasekhar says
Hi Swagtam, sorry for typo. actually my lion battery are in series. 3S. All are 1200 mAh each.
Awaiting for early reply
Swagatam says
Thanks Chandrashekhar, I’ll try to solve it for you:
1) yes you can use LM358 op amp
2 For 1200 mAh, a good charging rate would be at 500 mA, so Rx = 1.2 / .5 = 2.4 ohms, and wattage of the resistor will be 0.6 watt or 1 watt
3) 1k can be used for TIP122 base, although it will depend on its collector load.
4) 4.7V is the reference level applied to the inverting input of the op amp, and it does not need any change for your battery.
Chandrasekhar says
My 1st questions was, how the system know what will be the low voltage of my battery. In my case my battery low voltage will b 2.5*3=7.5 volt. Then how to set this volt as low voltage? And what the use of 10k Pot?( Is it for over charge protection)
Swagatam says
OK,it seems I overlooked it.
the low battery cut of is set by the resistor connected between pin6 and pin3. The value of this resistor should be such that it creates a voltage at pin3 slightly less than pin2, when the battery voltage is 7.5V.
So you must artificially operate the circuit with a 7.5V and try different resistors until you find the pin3 voltage just below pin2 voltage (4.7V)
Swagatam says
…yes the preset 10k is for over charge cut off. Initially keep the preset at the zero level, apply the full charge voltage externally to the circuit, then slowly adjust the preset until the RED led just lights up and green shuts off..your circuit is set now for the full charge cut off
Chandrasekhar says
Rx=1.2x LED MAX SAFE current
So in my case Rx=1.2x 0.240(each led 60mA of 4P led)
Hence Rx=0.288 ohm and 1.2watt
Am i correct
Swagatam says
yes, it seems I mistakenly considered the battery charging current in my calculations instead of the LED.
if the LEDs are 60 x 4 = 240mA then the as per ohms law:
R = V/I = 1.2 / 0.24 = 5 ohms
wattage of the resistor will be 1.2 x 0.24 = 0.288 or a 1/2 watt will do.
David Ogawa says
The secondary battery is in series with a diode. How can the circuit charge it?
Swagatam says
The adapter negative must be connected with the battery negative directly.
Mihai says
Hello, Mr. Swagatam, I have a question that is not about the circuit above, i hope i’m not disturbing you… I tried to construct a circuit taken from a book of electronics, available at the below link (please download the file fast, the link will expire):
https://www.homemade-circuits.com/wp-content/uploads/2019/07/transistor-clap-switch.png
The circuit has two parts: the first one, in left, is an circuit that makes a led to go on/of by vocal comand (by clapping hands) and to remain in this state until a new sound is detected. This circuit is all right, i constructed it with succes. The problem occured at the circuit în the right, that works în the next manner: when the led goes on, the light falls on the fototransistor Ft1, and by the meaning of the tyristor Ty1 (T1N6 is not longer available, i used the equivalent C106M) it should light up the bulb Bec 220V/60-100W maximum. But when i tried the circuit i made, it didn’t worked. It worked when i connected the zener diode DZ1 reverse ( with the anode at + and the cathode at – ), but not as describted above: the bulb lighted up when the led went of, not as espected. This wouldn’t be a problem, but the problem occurs when i tried to substitute the bulb with a radio with transformer, or with a Tv (this should work, as described în the book). ÃŽn the case of the radio, it didn’t went off, and în the case of the Tv, the fuse Sig. rated 0.5A burned off. How to modify the circuit that could drive a radio, a Tv, etc? Could you give me a sugestion? Thank you!
Swagatam says
Hi Mihai,
I have migrated the circuit inmy website so that it stays permanently.
The zener polarity is correct in the diagram, if you reverse it, it cannot work, because the power to the opto-coupler will be shorted by the zener. So the the zener polarity must be exactly as shown in the diagram.
You can connect an LED in series with the gate of the SCR, that will show exactly how your ScR is responding
Pat says
Hello. I did your circuit and I’m planning to use 12.6v lithium ion battery. I tried the circuit with 15v adapter and 12v 5watts LED bulb. The bulb lightened up but it is so dim. I want to have a brighter output for the bulb. What can you suggest me to do?
Thank you very much! This project will determine my final grade.
Swagatam says
Hello, the brightness will depend on the battery current and voltage. If battery power is low led brightness will be low. And while the adapter is connected the LED will remain shut off. Please note that the circuit should be implemented by understanding the stages correctly, otherwise you may find it difficult completing it. If You have further problems, please free free to ask me.
In the meantime please try reducing the base resistor of TIP122 to 1K, and see if that helps, and make sure the green LED is ON when the adapter is not linked with the circuit.
Pat says
Oh I kinda misunderstood the circuit. So that’s how it works, thank you. Is it possible if I will put a switch? How?
Swagatam says
I am glad you understood how it works! A switch can be added in series with the battery positive wire. For the adapter, you can put it in series with the positive wire of the adapter.
Din says
I want to use charger socket for my DC adapter. But I don’t know where to connect the positive, negative and ground? Can I have some help please?
Also, do I need to change anything if I am going to use 12v adapter and 8.4 li-ion battery?
Thanks.
Swagatam says
you can cut the socket, and look for red and black wires from the adapter cable. then you can use a 7809 IC for dropping the 12V from these red/black wires to 9V. Finally this 9V could be used for charging your battery. But make sure to adjust the opamp to cut off at 8.4V otherwise the battery may get damaged.
Trish says
1.What will be the adapter that I need to use if I will use 12v lead acid battery that are commonly use in motorcycles?
2. Do I need to change some components?
Sorry for the trouble. Thank you.
Swagatam says
for a 12V battery, you can use a 14V adapter, with current rating 8 t 10 times less than the batter Ah rating, this can be achieved simply by using a 0-12V transformer and rectifying it with a bridge rectifier and filtering using a 2200uF/25V capacitor.
no changes would be required in the circuit, just remove the 100k resistor, it is not required
Trish says
What value of diodes should I use?
Swagatam says
the 6A4 diodes should be 2 times more than the current rating of the LED, rest can be as is
Dave says
What mm is the LED indicator and the 5 watt LED light? Thank you!
Swagatam says
the LED indicators could be any 5mm 20mA LEDs, the 5 watt LED is the emergency LED light, which could be as per your preference.
Trish says
Hi! Is it okay if I will use 12v adapter, 9v rechargeable charger in this circuit? Thank you!
Swagatam says
yes you can do it, no problems, because the circuit has all the required protections!
Pat says
Hi again! What about the DC voltage for main adapter? If I will use 12v, 15 ah lithium ion battery?
Thank you! Your reply will be really appreciated.
Swagatam says
For the power supply you will need a 14V 1 amp, adapter. You can eliminate the 100k feedback low sense resistor across the opamp pins, it is actually unnecessary.
Pat says
Is 12v power supply will not work? Sorry I’m not really good at this.
Swagatam says
for a 12V battery the charging voltage should be 14V optimally, 12V will not work
Pat says
Hi! If I will follow the whole circuit with 5 watts LED bulb and 12v as the main supply, what kind and value of battery can I use? I’m not really good at this. Hope you understand. Thank you so much.
Swagatam says
Hi, if your LED is rated at 12V, then the battery will need to be at least 12V, 15 Ah for getting a decent backup of around 5 to 6 hours.
Swagatam says
also make sure to select Rx = 0.3 ohms, 2 watts
sriram says
Hi, Am going to make a emergency light circuit with 4v, 3A battery (4v battery*3 Nos in parallel). Can I use the above same circuit or do I require any changes in the circuit with 6A4 diode and 4V7 Zener?
And regarding the regarding the LED current limiting calculation,
Rx = 1.2 / LED max safe current (in amps)
If I use 5mm LED means, the current will be 20mA (I.e. 0.02A).
So the calculation will be as 1.2/0.02= 60ohms.
If 10 LEDs means, 1.2/0.2= 6 ohms. Am I correct?
Swagatam says
Hi, you can use the same circuit for any LED and battery specs only by replacing the current handling diode and the transistor.
In your case you can use a 2N2222 or 8050 transistor instead of TIP122, and use a 1N4007 diode in place of 6A4
sriram says
Hi, How to limit the current for the battery charging? I will be using 4v, 2A battery which require 200mA charging current. But I will be using 12v, 1A SMPS adapter.
And can I use a 12v, 1A adapter for the above circuit to charge a 4v, 2A battery?
Swagatam says
Hi, the following circuit will be most appropriate:
https://www.homemade-circuits.com/how-to-make-current-controlled-12-volt/
Adjust the pot or preset to get 5V at the output, and calculate Rc to give around 300mA output.
If you are using a Li-ion cell then a single 7805 IC will do the job for you
kenny m says
Hi Swagatam,
I plan to use 12 volt 7 Ah lead acid battery and 10 watt led for the project.
1. What is the value for RX resistor should I use?
2. Can I use 12 volt 1 Amp dc power supply adapter for the main power input?
3. How to add an ‘LDR’ to the circuit and what type of LDR should I use?
4. Is there any other electronic components to be added apart from those mentioned above?
Thank you so much for your help.
Swagatam says
Hi Kenny, here are the answers:
1) Rx = 1.2 / LED max safe current (in amps)….. assuming your LED voltage rating is 12V, it’s safe current would be 10/12 = 0.833
Therefore Rx = 1.2 / 0.8 = 1.5 Ohms, 2 watt
2) 12V will not charge a 12V battery, you can procure a 0-12V transformer, rectify its output using a bridge erctifier and a 2200uF/25V capacitor and use the resulting output for the charging supply.
3) You can connect an LDR across the base of BC547 and the positive line, and also make sure to add a 47K resistor across base and emitter of the BC547.
The green LED should be removed from the shown position and put at the base of TIP122 in series with its base 10K resistor.
That’s all no more changes would be required.
kenny m says
thanks for your reply but sorry to ask you again sir,
What is the output for dc power supply (volt/Amp) that you recommend if i’m using 12 volt 7Ah lead acid battery. I’m just a random DIY guy with limited “know how”.
Swagatam says
you can use 1 amp current, not more than that. It should be 14V / 1 amp
kenny m says
ok…thank for your help sir.
abba says
hi Swagatam
I constructed the circuit I can determine the low level indicator but the full charge led is not working. I don’t know my mistake.
Swagatam says
Hi Abba, remove the green led from the shown position and connect it in series with the transistor base resistor, make sure to adjust the full charge cut off by first disconnecting the 100K feedback resistor
abba says
hi Swagatam
nice circuit nice explanation. can we use resistors as in voltage divider as Vref instead of Zener diode in the comparator input?
thanks in advance
Swagatam says
Thanks abba, a zener guarantees a perfect fixed reference which a resistive divider cannot, therefore a zener clamp is recommended here.
Christo says
Hi Swag,
Your site is a gold mine! Thank you very much. I haven’t tried to build any of your circuits yet, but I did an electronics course without practicals. Your detail in explaining the components and their characteristics makes everything very clear. This will help me endlessly to sharpen up my knowldege and skills.
Again, thank you very much for all the time you spend in doing all this work.
Swagatam says
You are most welcome Christo, I am glad my site is helping you to understand the required concepts
Charles says
Excellent involvement in ckts
Swagatam says
thanks!!
Anil Kumar.K says
Hi dear Swagatham,
I have assembled almost 75% of this circuit. Now I stopped due to lack of few components in my hand. But will finish soon. OP amp section finished, working perfectly.
1) Eg:- For charging 8.4v battery (2×4.2v li-ion in series) .
When the battery voltage is below 8.4v, the opamp output will be low, thus TIP122 base also will be low. Circuit will charge battery, shut off TIP122, because opamp output is low.
When battery is fully charged (say 8.4v),consider mains supply OFF, LED will switched ON.
After few minutes, depending upon LED current, battery voltage will go down 8.4v, opamp output will suddently become low. That way shutdown LED. Am I correct….?
I want to lightup LED inbetween 5v to 8.4v range, when mains is not available. How can I solve this issue.
2)What is the function of 0.22mfd disc capacitor in this circuit….?
3) Zener diode current limiting resisor you have used here is 1k, but in some other circuits, it is 10k. Which one is most suitable value….?
Regards
Swagatam says
Hi Anil,
It is not recommended to discharge a 8.4V battery to 5V it will damage the battery gradually and reduce its life drastically. 7V is the last limit.
However, the opamp’s lower threshold restoration can be pulled down to 5V by adjusting the 100K feedback resistor appropriately, if required.
0.22uF was introduced to ensure that the opamp resets to its initial state and forces the recharging of the battery whenever mains power returns, regardless of the charge level on the battery….however a closer inspection reveals that the 0.22uF will not actually accomplish this, I’ll try to solve it through some other means and update soon.
zener diode resistor can be 1K for upto 12V supplies above that 10K is recommended.
Anil Kumar.K says
Thanks dear Swagatham for clearing my doubts.
One more doubt I have, You mean the hysteris control will serve the purpose of a battery deep discharge protection function…..?
For all enthusiastic readers and you, I wish to share the following….
I finished the battery charging section with full charge cut off part succesfully…….!!!!
I avoided the constant current led driver section and automatic LED switch OFF section when mains is available , because I just want to use the circuit as a battery charger module with battery full cut off and restore function ( hysterisis control ) only. (Actually, not yet tried the hysterisis section, but will try soon.)
(NB: instead of LM741, I used 1/2 op-amp of LM358. Remember, LM741 and LM358 are not pin to pin compatible.
I did not used 3v zener diode at ic output pin, but my circuit is working well without this zener.)
Regards
Swagatam says
You are welcome Anil,
The hysteresis in opamps is simply to ensure that the opamp does not switch its output ON/OFF rapidly at the input differential thresholds rather implements it with a delayed effect, this delay is introduced via the hysteresis resistor.
you can learn more about it though this example concept
https://www.homemade-circuits.com/2017/01/universal-battery-charger-circuit.html
the 3V zener helps to ensure that if the opamp has any offset leakage voltage at its output it is blocked by this zener, so this zener is ideally recommended to facilitate a failproof operation of the circuit.
anyway, congrats on your success, and keep up the good work
Kanta says
Hi Swa,
I just got the time to the project again. I did what you have told me, by connecting a series diode 1N4148 (cathode to pin 3) and preset 100K to anode of the zener at pin 6. When i do the trimming, there is no effect. I am wondering should i reverse the lead of the diode (anode to the pin 3).
Thanks
Kanta
Swagatam says
Hi Kanta, the voltage has to go from pin#6 to pin#3 so your diode cannot be reversed otherwise it will yield nothing…..you will be able to do it successfully only once you have understood the working properly….the 100k preset value must be set such that pin#3 just reaches below pin#2 voltage when the battery voltage drops to its lower discharge threshold (and this needs to be done after pin#6 has become high)…alternatively you can refer to the following idea and try to implement this in your circuit
https://www.homemade-circuits.com/p/blog-page_13.html
Kanta says
Hi Swa,
What i meant i have constructed the system in the PCB, however for setting the cut off and over discharge protection correctly we need to do it with the variable PSU to do the setting on high and low threshold. So, when i lower down the PSU to 6.9V, the TIP 122 became off. This is what i meant. Please help me how to set it to have the threshold to 5.5V.
As for the main DC minus (-) connetion to pin#4, i am referring to your answer to one of the readers in the above comments. So, what is the correct way to connect the minus main DC minus (-), to battery minus (-) or to pin #4 of the IC ?
Thanks
Kanta
Swagatam says
OK, first I would suggets you to connect two LEDs with series 1k resistor across the pin6 and the (+)(-) rails, I am sure you know how to do it.
initially keep the 100k disconnected and now set the 10k preset for the full-charge threshold cut off…this should illuminate the lower LED and shut off the upper LED….and also the 2N2907 or the 8550…and swtch ON the TIP122.
seal the preset now with any glue.
now replace the 100k feedback resistor with a 100K preset, connect it across pin6 and pin3 with a series 1N4148 diode.
keep the 100k to minimum level that this zero resistance, and connect it across the pin6 and pin3 (with a series 1N4148 diode, can be on side of the preset)
now reduce the voltage to the lower threshold, and slowly adjust the 100k preset until the output of the opamp reverts to zero, switching OFF TIP122 and switching ON 2N2907)
lower LED will be OFF, and upper LED will be ON now
Swagatam says
correction required in the first sentence, the 100k feedback should have a 1N4148 diode in series not a 1K
Swagatam says
sorry please ignore the above comment…
Kanta says
Hi Swa,
As for the diode of 6A10, you are right, my mistake which over looked the diode lead. However, if the main DC is connected to the line on the pin #4, then how the battery will be getting charge?
Thanks
Kanta
Swagatam says
…main DC (-) should be connected with the battery (-), and not with pin#4 line.
6V4 is specifically for safeguarding the LED and the IC from a possible reverse battery polarity connection
Anil Kumar.K says
Dear Swagatham
I just now see the 6A diode at -ve rail. This diode will block charging battery.
Regards.
Swagatam says
Dear Anil,
The requester had asked to provide a reverse polarity protection for the circuit, so the diode has been introduced for that, it is positioned for the circuit only, not the battery.
the main negative from the adapter is supposed to be connected directly with the battery negative.
Kanta says
Hi Swa,
I have tried the simultion by using variable power supply on the battery terminal. When the 7.1V, i set the 10K to the position that the green led illuminated, i fixed the preset position. I adjust the variable PSU (the pretending battery) to 6.8V then the led went off, the TIP 127 was off
Could you please help how to set to have 5.5V to initiate automatic charging?
Thanks
Kanta
Swagatam says
Kanta, simulation will not help, you will have to build it practically and then set the parameters using a digital multimeter, that's the right way to go!!
By the way where's TI127 in the above design, are you referring to TIP122??
Kanta says
Hi Swa,
I have several questions:
1. With the 100K resistor as hysteresis control, what is the low level voltage for 6V battery to trigger the charging process. If the main power fail, what is the lowest voltage level for the battery will be to prevent it over discharging with this 100 K resistor?
2. If the opamp IC is also controlling the over discharging and at the same time also control the over-charging to the battery, the TIP 127 will only conducting when the battery reach the desired high level voltage, hence, if the battery voltage slightly drop, the TIP 127 will be shutting off eventhough the battery voltage is still higher than the desired lowest voltage level? Let say the cut off fully charged battery for 6V battery is 7.1V, when the battery below 7.1V, the opamp IC will go down and 0 Volt come out from zener of pin #6 and it will shut down the TIP 127 eventhough the battery is still more than 6V?
3. The diode (6A10) is preventing the ninus (-) battery going to the opamp IC and the whole system. Could you please explain where the system will get the minus (-) battery in the event the main power fails.
I have bought all the materials to construct this emergency LED for 3 units. Awaiting your support soon. Thanks
Kanta
Swagatam says
Hi Kanta:
1) You will need to find it by measuring the voltage at pin#3 for confirming the correct value of this resistor such that the discharging stops and charging initiates at the specified lower threshold voltage.
The value should adjusted such that voltage the pin#3 just becomes lower than pin#2 at this lower threshold level. For this you can replacing the 100K with a 220K preset and with a 1K series resistor.
2) The feedback resistor is introduced so that the charging stops at the 7.1V and initiates only at 5.5V
3) the minus pole works in the opposite direction to the (+)
Swagatam says
In point 2) did you mean to say that once recharging is initiated and the battery has charged to some point which is lower than the full charge level but higher than under-charge level, and during this time if the mains switches OFF, then the opamp will continue to keep the LED OFF….right?
yes that's right this will happen unless some method is employed to rectify this. I'll try to upadte it soon.
Swagatam says
…I think adding a diode in series with the 100K will solve the issue,,,,cathode towards pin#3 and anode to 100K
Kanta says
Hi Swa,
If i am using 6V battery, how do i do the setting on the 10K preset ?
Thanks
Kanta
Swagatam says
Hi Kanta, I have explained it in the following article elaborately
https://www.homemade-circuits.com/2016/05/how-to-set-ic741-battery-charger.html
Kanta says
Hi Swa,
Thanks for the prompt response. What is the minimum value of the capacitor, since the higher value, the bigger phisical size of the capacitor is.
Thanks
Kanta
Swagatam says
Hi Kanta, You can try a 2200uF/16V capacitor, this will be quite good
Kanta says
Hi Swa,
I have 6V 5AH battery for this project. What is the correct DC Voltage from the main adaptor ?
Can i just use 6V 1Amp transformer and bright rectifier without any regulator?
Thanks
Kanta
Swagatam says
Hi Kanta,
yes a 6V 1 amp trafo and bridge will do, make sure to use a high value filter capacitor and switch OFF the charger as soon as the battery terminal voltage reaches around 7.1V
Kanta says
Hi Swa,
Could you please explain why the Rx formula is using 1.2 ?
Thanks
Kamta
Swagatam says
Hi Kanta, it's to compensate the 0.6V drop involved by the BC547 and an additional 0.6V drop by its base diode
Swagatam says
No, it won't
Ultimate Srilankan Nurse says
Hi sir if i use 12volt 7AH battery to connect 5nos 12 watt led,how many hour it will work? Do u have any method to calculte the time.
Swagatam says
that can be difficult to judge, you may have to try it practically and check
you can also take the help of this software
https://www.homemade-circuits.com/p/battery-calculator.html
aariz kuddy says
hi sir. can i use 12volt 7.2 Ah battery in parallel for this circuit to run 5 of 12Volt ,12W LED or do i want make any changes in this circuit
Swagatam says
Hi aariz, you can replace TIP122 with TIP142 and then proceed, however 12V 1.2AH will not be able to sustain a 5nos 12a watt LEd for more than 1/2 hour
Kanta says
Hi Swa,
If i want to equipe this with dark activated feature, can i just put a LDR in parallel to the collector and emitter (ground) of the BC 547.
Thanks
Kanta
Swagatam says
Hi Kanta, no that won't do.
Instead you could connect the LDR across the base of BC547 and the positive supply rail.
And also make sure to connect a 10K resistor across base/emitter of the BC547
Aneesh Kumar says
May i use 12v 7.2Ah battery and 12v 10W led with this
Swagatam says
yes you can!
Swagatam says
..replace TIP122 with TIP142
Swagatam says
thank you! good question…the negative should be connected to the line which is connected with pin#4,
Mamdouh Mikhail says
sure, just let me know when you publish it. and i really appreciated.
thanks a million.
Swagatam says
I'll try to remind you after the posting it… if I forget please check back with a reminder…
Swagatam says
OK, I will include all these…
Mamdouh Mikhail says
hi Mr. Swagatam,
just a reminder, if you have posted the circuit let me know please and thank you.
Swagatam says
Hi Mr. Mamdouh,
I have published it here:
https://www.homemade-circuits.com/2016/05/opamp-low-high-battery-charger.html
Mamdouh Mikhail says
Hi Mr Swagatam,
I've got the idea, please bare with me, because i'm new to circuits design. i actually thought about using opams to create the circuit that i need, so that makes me feel better i was heading in the right direction. however, how can i update the circuit to operates on 26-30 volts and 3 amps. I'll be using a dc to dc voltage booster and steady current between the battery and this circuit, as the battery wont be able to supply the required voltage. so, im not sure if this circuit will still remain to operates with the voltage booster between the battery and the circuit. also, i will have another voltage booster to be connected the main power adapter as the adapter will only produce 19v and i need 26-30 volts. im kinda lost with this part because i need circuit to:
1) as soon as i connect the external power automatically it will disconnect the battery and supply the system, in the mean while charging the battery.
2) overcharging protection( which included in the above design).
3) battery low and full charging indicates ( which included in the above design).
4) also i don't know what is the formula to help how to determine the voltage required across my battery to charge it with( battery will be extracted of old laptops.total will be 22V with 6 apms at no load)
5) also, i don,t know the formula to indicate how long my battery will last, and how to calculate the time if i want a battery to last me two hours.
I'm sorry for those many questions, but i'm trying to get help and improve my skills in designing as i'm very new to electronics world.
thank you very much.
sincerely,
Mamdouh.
Swagatam says
Hi Mamdouh,
boost converters are not easy circuits, and making two them will make the design unnecessarily complex and inefficient, so I won't recommend this idea.
You can use a two 12V batts in series to achieve the 26V, and use a 26V adapter for the charging purpose, that will be much easier to configure.
If possible I'll try to update the design as a new circuit using two opamps as requested by you soon
Mamdouh Mikhail says
great, thanks for help.
to give you a full perspective of the hole project. it's pretty much the same idea represented above.
however, my led will be 100 watts consuming so it needs a steady power with current limited to 3 amps max.
i will be added a heat sink with fan( a cpu heat sink with it's fan) to keep my led and component temperature under control.
so it will:
1) switch to turn the system on and off.
2) off course my battery to supply the system in absent of external power and charging while external power is connected in the mean while supply the system.
3) the whole safety thing for the battery.
thank you very much.
Swagatam says
OK, noted, will try to publish it soon
Surya says
Hi Bro,
Nice project.I want small changes in your project.
a) I want to use three 1 watt leds in parallel in place of 5 watt led.
b) Battery is 3 cell nimh pack 2500mAH.
c) Charging source 5v adaptor 500mAH.
Can i use these to my lamp?
Can i use 3.3v zener in place of 3v zener?
Please give reply soon.
Thank you.
Swagatam says
Thanks,
You can use it with minor changes, please let me know what's the voltage rating of the NiMh cells, so that I can specify the alterations
Surya says
Battery normal voltage is 3.6v,when fully charged it gives 4.4v at 2500mAH. till now I'm using it to connect directly to 3 1watt leds in parallel with individual 10 ohms resisters. this setup gives me 4hrs backup max. I wanted to make it automatic as mentioned in your above project.
Thank you.
Swagatam says
Surya, then you can use it without any change in the circuit except Rx, which can be calculated as per the given formula.
lokesh lokesh says
Thanks a lot sir. . Got it as expected. .. 🙂
if possible may I get Component list separately. .
lil blur over there so m asking sir hope you don't mind. .
and also let me know Whether it's possible to add an inverter CKT of 50watt to run Light load like Cfl n charger. .
Thank you
Swagatam says
Lokesh, just click on the diagram to enlarge it, all the parts will be clearly visible….and all are standard components, with resistors rated at 1/4 watt
Swagatam says
if you type "50 watt inverter" in the search box, you will find the required one immediately.
Sw Mehdi says
What DC voltage range it can handle?
Swagatam says
it's between 5v and 15V
gogutu says
super,super,tank you.you the best
Swagatam says
My pleasure Gogotu…