Sunteți pe pagina 1din 17

Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Li-IonHomemade
BatteryCircuit Charger ProjectsCircuit
using IC TP4056
Get quick circuit help 24/7, via comments

Last Updated on February 23, 2018 by Swag (https://www.homemade-


circuits.com/author/swag/)

The post elaborately explains an automatic single chip CC/CV or


constant current, constant voltage Li-Ion battery charger circuit, using
the IC TP4056, with battery temperature sensing and termination
facility.

CIRCUIT DESCRIPTION
The TP4056 is a comprehensive constant-current (CC), constant-
voltage (CV) linear charger IC specially designed for safely charging
single cell lithium-ion batteries.

It comes with a  SOP package and hardly any external component


count making the IC TP4056 specially applicable for portable Li-Ion
chaging applications.

In addition, the TP4056 can also work with USB and wall socket based
adapter supplies.

The design does not depend on any blocking diode due to the
presence of an internal PMOSFET architecture which is configured to
prevent any sort of negative Charge Current in the Circuit.

A special Thermal feedback loop is included in order to regulate the


charge current to limit the body temperature while using in high power
operation mode or with high ambient temperatures.

The full charge voltage is fixed at 4.2V, while the charge current can be
adjusted externally through a given single resistor.

1 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Some of the other mains features of this IC TP4056 include a built-in


current monitor circuitry, an under voltage lockout, an automatic
recharge resumption, and a couple of status pinouts to indicate full-
charge cut o� and the supply input voltage switch ON.

IC TP4056 image and pinout arrangement

FEATURES and SPECIFICATIONS


·Charge Current may be programmed  to a max 1000mA

·The circuit can be free of power devices, Sensing Resistor or a


Blocking Diode
·A full fledged Linear Charger in SOP-8 Package for charging
applications of Single Cell Lithium-Ion Batteries.

·Designed to Produces a Constant-Current/Constant-Voltage Output

·Capable of Charging Single Cell Li-Ion Batteries through Direct USB


Port plugin

·Internally set 4.2V constant Charge Voltage with +/-1.5% Accuracy

·Includes an Automatic Recharge initialization.

2 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

·Trickle charge is initiated as soon as a 2.9V threshold is reached.


·An Internal So�-Start processor Limits and inhibits Inrush surge
Current

·Comes with a 8-Lead SOP Package, The Radiator needs to be


connected to GND.

ABSOLUTE MAXIMUM RATINGS


Input Supply Voltage(VCC):-0.3V~8V ·
TEMP:-0.3V~10V
CE:-0.3V~10V
BAT Short-Circuit Duration:Continuous
BAT Pin Current:1200mA
PROG Pin Current:1200uA
Maximum Junction Temperature:145°C
Operating Ambient Temperature Range:-40°C~85°C

3 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Charging Docks and Cradles


Digital Still Cameras, Portable Devices
USB Bus-Powered Chargers,Chargers

Pinout specification and functioning details of TP4056 IC


TEMP(Pin 1) :Temperature Sense Input

Hooking up TEMP pin with an NTC thermistor's output in Lithium ion


battery pack. If TEMP pin’s voltage goes under 45% or over 80% of
supply voltage VIN exceeding 0.15S, this indicates that
battery’s temperature is simply too high or overly reduced, charging at
this position is stopped. The temperature detection feature could be
disabled by joining the TEMP pinto the ground rail.

PROG(Pin 2): is associated with the Constant Charge Current Setting


and may be set by attaching a resistor RI(prog) from this pin2 to GND.

While in the precharge mode, the ISET pin’s voltage is regulated to


around 0.2V. and in constant charge current mode, the ISET pin’s
voltage is regulated to around 2V. Within all modes and in the process
of charging, the voltage on ISET pin could be utilized to monitor the
charge current through a meter.

GND(Pin3): Ground Terminal

Vcc(Pin 4): Positive Input Supply Voltage

VIN is the power supply input for the internal circuit to operate. Any
time VIN falls at around 30mv below the BAT pin voltage, TP4056 goes
into low power sleep mode, reducing BAT pin’s current below 2uA.

BAT(Pin5): Battery Connection Pin.

Link the positive terminal of the battery to BAT pin. BAT pin consumes
lower than 2uA current whenever the chip is in the disable mode or in

4 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

reaches the Charge Termination shut o� point, this pinout is dragged


low through an in-built switch, but normally this pin remains in high
impedance status.

(Pin7): Open Drain Charge Status Output Once the battery is connected
and begins charging, this pinout is taken low by an in-built switch, in
any other case the pin is held at high impedance condition.

CE(Pin8): Chip Enable Input. A high input here enables the unit to be in
the typical operating mode.

Towing the CE pin to a logic low level will force the TP4056 chip into a
disable or shut down mode.

The CE pin is compatible and could be associated wit TTL or CMOS


logic triggers.

Li-Ion Battery charger circuit using TP4056


The following design represents the typical Li-ion battery charger
circuit with constant current and constant voltage features and with
auto termination at 4.2V.

5 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

The following figure shows the LED status indication details for the
above discussed CV, CC Li-Ion battery charger circuit.

Courtesy: NanJing Top Power ASIC Corp. (https://homemade-


circuits.com/wp-content/uploads/2017/04/TP4056.pdf)

6 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Voltera V-One PCB Printer, Solder paste


dispenser & Re�ow.
Ditch the stencil and soldering iron. Just mount
your boards & dispense paste in minutes.

Learn more

Previous: 4 Channel DJ (https://www.homemade-circuits.com


Audio Mixer Circuit /4-channel-dj-audio-mixer-circuit-
part-1/) (https://www.homemade- Next: 8X Overunity Circuit
circuits.com/8x-overunity-circuit-using- using Joule Thief Concept
joule-thief/)

You may also like:


Wireless Li-Ion Battery Charger Circuit (https://www.homemade-
circuits.com/how-to-make-inductive-li-ion-battery/)
Super Capacitor Hand Cranked Charger Circuit
(https://www.homemade-circuits.com/super-capacitor-hand-cranked-
charger/)
Battery Health Checker Circuit (https://www.homemade-circuits.com
/battery-health-checker-circuit/)
NiMH, NiCd Battery Charger Circuit (https://www.homemade-
circuits.com/how-to-make-versatile-nimh-nicd-battery/)

7 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Swagatam
google.com/+SwagatamMajumdar

Science Equals Truth

‫دﻧﺒﺎل ﮐﺮدن‬

‫ دﻧﺒﺎلﮐﻨﻨﺪه‬۴�۳۶۶

Comments
bruce wilson says
March 23, 2018 at 5:35 am (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-59262)
I also would like to use the pin 1, temp sense capability, using a 10k type 2
NTC thermistor, but seem to have problems with the R1,R2 values to get
proper temp tracking setup.

Reply

Swag (https://homemade-circuits.com/) says


March 23, 2018 at 2:22 pm (https://www.homemade-circuits.com/li-
ion-battery-charger-circuit-using-ic/#comment-59266)
Please refer to the comment discussion with ABBA

Reply

Alexander says

8 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

to it?.. Thanks a lot, keep up the great work.

Reply

Swag (https://homemade-circuits.com/) says


March 16, 2018 at 9:30 pm (https://www.homemade-circuits.com/li-
ion-battery-charger-circuit-using-ic/#comment-59129)
Hi, Thanks for posting the question, You can charge only one cell with
this circuit.

Reply

Kevin says
January 11, 2018 at 1:45 am (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-57537)
Great circuits. I have cells rated at 3.7Volts. Could you use this by including a
small voltage regulator from say 4 down to 3.7 volts between pin 5 and the
cell?

Reply

Swag (https://homemade-circuits.com/) says


January 11, 2018 at 10:31 am (https://www.homemade-circuits.com
/li-ion-battery-charger-circuit-using-ic/#comment-57542)
Thanks Kevin, I am glad you liked it!

Reply

Swag (https://homemade-circuits.com/) says


January 11, 2018 at 10:35 am (https://www.homemade-circuits.com
/li-ion-battery-charger-circuit-using-ic/#comment-57543)
A 3.7V cell will require a 4.2V input and will need to be charged until it

9 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Waqar says
December 28, 2017 at 2:56 pm (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-57153)
Hello Bro,
How can i make cutt-o� circuit for load cutt-o� when charging battery?
Please suggest me circuit using n-channel or p-channel mosfet.
When i connect battery charger for charging it should disconnect load from
battery and when i remove charger it should connect the load to battery.

Thanks

Reply

Swag (https://homemade-circuits.com/) says


December 28, 2017 at 4:44 pm (https://www.homemade-circuits.com
/li-ion-battery-charger-circuit-using-ic/#comment-57154)
Bro, the circuit will automatically disconnect the charger and connect
the load with the battery, so removing the charger will not be
necessary.

you can try the following concept

https://homemade-circuits.com/universal-battery-charger-circuit-
with/ (https://homemade-circuits.com/universal-battery-charger-
circuit-with/)

you can replace the BJTs with mosfets

Reply

Waqar says
December 28, 2017 at 6:32 pm (https://www.homemade-circuits.com/li-
ion-battery-charger-circuit-using-ic/#comment-57160)
Bro this wasn’t i meant.

10 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

available.

I used to accomplish this using mechanical relay.


But now I can’t get 5v relays easily. So please suggest me NO and NC solid
state relay circuit. I want to replace mechanical relay using mosfets.

Thanks

Reply

Swag (https://homemade-circuits.com/) says


December 28, 2017 at 7:24 pm (https://www.homemade-
circuits.com/li-ion-battery-charger-circuit-using-ic/#comment-
57166)
without schematic it will be di�iculty for me to give the solution.

however here’s one idea that you can refer to

https://homemade-circuits.com/12v-dc-solid-state-relay-ssr-100-
amps/ (https://homemade-circuits.com/12v-dc-solid-state-relay-
ssr-100-amps/)

Reply

Waqar says
December 29, 2017 at 12:06 am (https://www.homemade-circuits.com
/li-ion-battery-charger-circuit-using-ic/#comment-57183)
This is the right circuit i wanted. NC and NO SSR using mosfets

Thanks

Reply

Swag (https://homemade-circuits.com/) says


December 29, 2017 at 7:57 am (https://www.homemade-

11 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

ABBA says
November 21, 2017 at 7:00 pm (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-56012)
hi Swagatam, i can’t find the value of R1,R2 and NTC

Reply

Swag (https://homemade-circuits.com/) says


November 21, 2017 at 8:34 pm (https://www.homemade-circuits.com
/li-ion-battery-charger-circuit-using-ic/#comment-56015)
Hi Abba, I too could not find any reference to it in the article, as well
as in the datasheet.

However from the placement of R1, R2 it clearly seems that those are
positioned to set the battery temperature sensing threshold.

You can experiment it by using 4k7 for R1 and a 10K preset for R2, this
preset can be tweaked to identify and set the battery temperature
sensing and cut-o� threshold point.

Reply

ABBA says
November 21, 2017 at 6:59 pm (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-56011)
hi swagatam i can’t find the value of R1 and R2 AND NTC. THANKS

Reply
Mr Jones says
September 2, 2017 at 4:37 pm (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-53049)
Hi, I’ve built a charger project using the TP4056 and it works fine but when it

12 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

quite bright. If I switch charge o� at 4.06v then back on the TP’s blue LED will
come on. The 5v supply is fine, could it be the voltmeter or wiring maybe,
thought I’d ask someone in the know before taking it apart ? Thanks

Reply

Swag (https://homemade-circuits.com/) says


September 3, 2017 at 4:19 am (https://www.homemade-circuits.com
/li-ion-battery-charger-circuit-using-ic/#comment-53061)
Hi, It seems the IC is functioning but instead of 4.2V it is switching
OFF at 4.06, which looks like an internal issue with the IC, I don’t
think it is due to the voltmeter, but it is better to verify the same by
removing the voltmeter and connecting it only a�er the red lED lights
up.

and is the IC getting too much warm? If it is then make sure to attach
the heatsink firmly with the IC, and use ample heatsink compound
paste between the two.

Reply

Joshi says
August 28, 2017 at 11:28 am (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-52851)
Hi Sir,
Pls. help me. I need to charge LI-In Battery (48Volt single Cell/50 Amp).
Need circuit diagram with universal AC input and DC output of 50DC/50Amp
with Battery Voltahge monitor, cuts-o� the Primary when Battery is fully
charged.

Thanks in advance.
Joshi

Reply

13 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

/li-ion-battery-charger-circuit-using-ic/#comment-52853
Hi Joshi,

you can try the concept which is shown in the following article:
https://homemade-circuits.com/2011/12/high-current-10-to-20-amp-
automatic.html (https://homemade-circuits.com/2011/12/high-
current-10-to-20-amp-automatic.html)

Reply

Siraj (https://www.blogger.com/profile/07523152601187274973) says


August 9, 2017 at 12:54 am (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-52301)
Hi sir I need help regarding TP4056 circuit board which i am using to make my
circuit of connecting 3v dc motor to OUT terminal of the board and 18650
1000mah batter to battery terminal. When battery is connected to the circuit
motor power ON and runs where as when battery is removed from the circuit
it doesn't run the motor and a boost is required by connecting back the
battery in circuit So can you plz help me to fix this issue to run the motor even
when battery is not in circuit. The second issue is as the motor is of 3V it
getting high voltage around 4v than the normal 3v so can that be fixed.
Thanks

Reply

Swagatam (https://www.blogger.com/profile
/13783312838408713408) says
August 9, 2017 at 4:01 am (https://www.homemade-circuits.com/li-
ion-battery-charger-circuit-using-ic/#comment-52309)
Hi Siraj, you cannot have 0V at pin#5, otherwise the IC will go into a
sleep mode…as suggested in the following instruction:

"VIN is the power supply input for the internal circuit to operate. Any
time VIN falls at around 30mv below the BAT pin voltage, TP4056
goes into low power sleep mode, reducing BAT pin’s current below
2uA."

14 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Reply

fayyaz (https://www.blogger.com/profile/05337670357159032442) says


July 26, 2017 at 8:32 am (https://www.homemade-circuits.com/li-ion-battery-
charger-circuit-using-ic/#comment-51999)
how to use 4056 ic with automatic emergency led touch light

Reply
fayyaz (https://www.blogger.com/profile/05337670357159032442) says
July 28, 2017 at 2:05 pm (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-52053)
Thanks sir working fine but pcb heats up little bit battery is 3000 mah

Reply

Swagatam (https://www.blogger.com/profile
/13783312838408713408) says
July 28, 2017 at 2:47 pm (https://www.homemade-circuits.com/li-
ion-battery-charger-circuit-using-ic/#comment-52056)
Hi Fayyaz, if the heat is little then there's nothing to worry, it could be
due to your 3000mAH battery which may be trying to pull current
over 1200mAH from the IC.

Reply

fayyaz (https://www.blogger.com/profile/05337670357159032442) says


July 26, 2017 at 8:31 am (https://www.homemade-circuits.com/li-ion-battery-
charger-circuit-using-ic/#comment-51998)
SIR

HOW TO USE THIS CIRCUIT WITH AUTOMATIC EMERGENCY LED TORCH


CIRCUIT

15 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

July 26, 2017 at 2:28 pm (https://www.homemade-circuits.com/li-


ion-battery-charger-circuit-using-ic/#comment-52007)
Fayyaz, use the above circuit in between the supply input and the
LED circuit….make sure the input is a fixed 5V.

Reply

bashir abdulkadir (https://www.blogger.com/profile/00247393139643106623)


says
April 15, 2017 at 7:22 pm (https://www.homemade-circuits.com/li-ion-
battery-charger-circuit-using-ic/#comment-49824)
please sir help me to cross check this circuit and tell me if there is mistake in it
?? 3.bp.blogspot.com/-_UdjHmMHQv0/UFH_g8yEScI/AAAAAAAAAAk
/ryA0wD3BxjY/s1600/12v%2Binverter%2Bdiagram.JPG

Reply

Swagatam (https://www.blogger.com/profile
/13783312838408713408) says
April 16, 2017 at 9:23 am (https://www.homemade-circuits.com/li-
ion-battery-charger-circuit-using-ic/#comment-49831)
It has serious faults and if the inverter is made as per the diagram it
will never work

Reply

Other Links

16 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱
Li-Ion Battery Charger Circuit using IC TP4056 https://www�homemade-circuits�com/li-ion-bat���

Contact (https://www.homemade-circuits.com/contact/)

Disclaimer (https://www.homemade-circuits.com/disclaimer/)

Privacy Policy (https://www.homemade-circuits.com/privacy-


policy/)

Archives

JOIN NOW

Log in (https://www.homemade-circuits.com/wp-login.php)

© 2018 · Swagatam Innovations (https://www.homemade-circuits.com)

17 of 17 ۱۳۹۷/۳/۲۹،۲۱:۵۱

S-ar putea să vă placă și