One way to minimize the size and complexity of a battery charger is to use a linear-type
charger. The linear charger drops the AC adapter voltage down to the battery voltage. The
number of external components is low: linear chargers require input and output bypass
capacitors, and sometimes need an external pass transistor, and resistors for setting voltage
and current limits.
The main pitfall of a linear charger is power dissipation. The charger simply drops the AC
adapter voltage down to the battery voltage.
In the case of a 0.8 A charger, a 5 V±10% regulated AC adapter voltage, and battery voltage
that varies between 4.2 V and 2.5 V, the power dissipation can range from 0.64 W to 2.0 W.
This type of charger is simpler than the switch-mode type, mainly because the passive LC
filter is not required. It dissipates the most power when the battery voltage is at its minimum,
since the difference between the fixed input voltage and the battery voltage is greatest
during this condition.
The STC4054 is a constant current/constant voltage charger for single cell Li-Ion battery. No
external sense resistor or blocking diode is required and its ThinSOT package make it
ideally suited for portable applications.
Its power dissipation can range from 0.2 W to 1.68 W because of Trickle charge mode. In
fact, if V
The maximum power dissipation occurs when V
The STC4054 is designed to work within USB power specifications. An internal block
regulates the current when the junction temperature increases in order to protect the device
when it operates in high power or high ambient temperature environments.
The charge voltage is fixed at 4.2 V, and the charge current limitation can be programmed
using a single resistor connected between the PROG pin and GND. The charge cycle
finishes when the current flowing to the battery is 1/10 of the programmed value. If the
external adaptor is removed, the STC4054 turns off and just 2 µA can flow from the battery
to the device. The device can be put into Shutdown mode, reducing the supply current to 25
µA. The device is delivered in a TSOT23-5L ThinSOT package.
The STC4054 contains two control loops: constant voltage and constant current. The
constant-voltage loop is stable without any compensation when a battery is connected with
low impedance leads. Excessive lead length, however, may add enough series inductance
to require a bypass capacitor of at least 1 µF from BAT to GND. Furthermore, a 4.7 µF
capacitor with a 0.2 Ω to 1 Ω series resistor from BAT to GND is required to keep ripple
voltage low when the battery is disconnected.
In constant-current mode, the PROG pin is in the feedback loop, instead of the battery.
Because of the additional pole created by PROG pin capacitance, capacitance on this pin
must be kept to a minimum. With no additional capacitance on the PROG pin, the charger is
stable with program resistor values as high as 12 kΩ. However, additional capacitance on
this node reduces the maximum allowed program resistor. Therefore, if the PROG pin is
loaded with a capacitance, C
maximum resistance value for R
Equation 1
, the following equation should be used to calculate the
Average, rather than instantaneous, battery current may be of interest to the user. For
example, if a switching power supply operating in low current mode is connected in parallel
with the battery, the average current being pulled out of the BAT pin is typically of more
interest than the instantaneous current pulses. In such a case, a simple RC filter can be
used on the PROG pin to measure the average battery current as shown in Figure 6 A 20 kΩ
resistor has been added between the PROG pin and the filter capacitor to ensure stability
(C1 = 100 nF).
Figure 8.Isolating capacitive load on prog pin and filtering
6/14
AN2370Board layout considerations
3 Board layout considerations
Because of the small size of the ThinSOT package, it is very important to use a good
thermal PC board layout to maximize the available charge current. The thermal path for the
heat generated by the IC is from the die to the copper lead frame, through the package
leads, (especially the ground lead) to the PC board copper. The PC board copper is the heat
sink. The footprint copper pads should be as wide as possible and expand out to larger
copper areas to spread and dissipate the heat to the surrounding ambient. Feed through
vias to inner or backside copper layers are also useful in improving the overall thermal
performance of the charger. Other heat sources on the board, not related to the charger,
must also be considered when designing a PC board layout because they will affect overall
temperature rise and the maximum charge current.
Tab le 1 lists thermal resistance for several different board sizes and copper areas.
This application requires few external components: two ceramic capacitors (CIN = 1 µF,
C
= 4.7 µF), and one resistor (R
OUT
For input and output capacitors, the use of ceramic capacitors with low ESR is
recommended. For good stability of devices supplied with a low input voltage of 4.25 V at
maximum output ratings, the use of 1 µF/6.3 V input capacitor (minimum value) and
4.7 µF/6.3 V output capacitor (minimum value) is recommended.
Table 2.Bill of materials
SymbolParameterTypeQtySupplierValue Unit
PROG
).
C
IN
C
BAT
RusbUsb current setThick film type 1% CRG0603J2K01THCO2KΩ
RdcDC current setThick film type 1% CRG0603J10K01THCO10KΩ
N-PmosNmos-Pmos ICSTS7C4F301ST
D1SCHOTTKYSTPS1L40M1ST
Limit LED current Thick film type 1% CRG0603J1K01THCO1KΩ
R
LED
RpullPull down resistor Thick film type 1% CRG0603J1K01THCO1KΩ
RfResistance filterThick film type 1% CRG0603J20K01THCO20KΩ
The conditions that cause the STC4054 to reduce charge current through thermal feedback
can be approximated by considering the power dissipated in the IC. For high charge
currents, the STC4054 power dissipation is approximately:
Equation 2
P
VCCV
D
–()I
BAT
•=
BAT
where P
voltage and I
is the power dissipated, VCC is the input supply voltage, V
D
is the current charge current. It is not necessary to perform any worst-case
BAT
is the battery
BAT
power dissipation scenarios because the STC4054 will automatically reduce the charge
current to maintain the die temperature at approximately 120°C.
However, the approximate ambient temperature at which the thermal feedback begins to
protect the IC is:
Equation 3
TA120° CPDθ
–=
JA
Equation 4
120° CVCCV
T
A
–=
–()I
•θ
BAT
BAT
JA
Example: Consider an STC4054 operating from a 5 V wall adapter providing 400 mA to a
3.7 V Li-Ion battery. The ambient temperature above which the STC4054 will begin to
reduce the 400 mA charge current is approximately:
Equation 5
C
T
120° C5V3.7V–()400mA()•150°
A
-----
•42° C=–=
W
The STC4054 can be used above 42°C, but the charge current will be reduced from
400 mA. The approximate current at a given ambient temperature can be calculated:
Furthermore, the voltage at the PROG pin will change proportionally with the charge current
as discussed in the Programming Charge Current section. It is important to remember that
STC4054 applications do not need to be designed for worst-case thermal conditions since
the IC will automatically reduce power dissipation when the junction temperature reaches
approximately 120 °C.
9/14
Automatic rechargeAN2370
6 Automatic recharge
Once the charge cycle is terminated, the STC4054 continuously monitors the voltage on the
BAT pin using a comparator with a 2 ms filter time (t
RECHARGE
when the battery voltage falls below 4.05 V (which corresponds to approximately 80% to
90% battery capacity).
This ensures that the battery is kept at or near a fully charged condition and eliminates the
need for periodic charge cycle initiations. CHRG output enters a strong pulldown state
during recharge cycles.
Figure 9.State diagram of a typical charge cycle
). A charge cycle restarts
POWER O N
RECONNECTED
PROG
OR
UVLO
CONDITION
STOPS
SHUTDOWN MODE
CHRG: Hi-Z IN UVLO
WEAK PULL-DOWN
OTHERWISE
ICC DROPS TO <25µA
PROG FLOATED
OR
UVLO
CON DITION
Bat <2.9V
TRICKLE CHARGE
MODE
1/10TH FULL
CURRENT
CHRG: STRONG
PULL-DOWN
Bat >2.9V
CHARGE MODE
FULL CURRENT
CHRG: STRONG
PULL-DOWN
STANDBY MODE
NO CHARGE
CURRENT
CHRG: WEAK
PULL-DOWN
Bat >2.9V
Prog<100mV
2.9V<Vbat<4.05V
10/14
AN2370CHRG status output pin
7 CHRG status output pin
The CHRG pin can provide an indication that the input voltage is greater than the
undervoltage lockout threshold level. A weak pull-down current of approximately 20 µA
indicates that sufficient voltage is applied to V
battery is connected to the charger, the constant current portion of the charge cycle begins
and the CHRG pin pulls to ground. The CHRG pin can sink up to 10mA to drive an LED that
indicates that a charge cycle is in progress. When the battery is nearing full charge, the
charger enters the constant-voltage portion of the charge cycle and the charge current
begins to drop. When the charge current drops below 1/10 of the programmed current, the
charge cycle ends and the strong pull-down is replaced by the 20 µA pull-down, indicating
that the charge cycle has ended. If the input voltage is removed or drops below the
undervoltage lockout threshold, the CHRG pin becomes high impedance.
Figure 10 shows that by using two different value pull-up resistors, a microprocessor can
detect all three states from this pin. To detect when the STC4054 is in charge mode, force
the digital output pin (OUT) high and measure the voltage at the CHRG pin. The N-channel
MOSFET will pull the pin voltage low even with the 2 k pull-up resistor. Once the charge
cycle terminates, the N-channel MOSFET is turned off and a 20 µA current source is
connected to the CHRG pin. The IN pin will then be pulled high by the 2 k pull-up resistor. To
determine if there is a weak pull-down current, the OUT pin should be forced to a high
impedance state. The weak current source will pull the IN pin low through the 800 k resistor;
if CHRG is high impedance, the IN pin will be pulled high, indicating that the part is in a
UVLO state.
to begin charging. When a discharged
CC
Figure 10. Using a microprocessor to determine CHRG state
11/14
USB and wall adapter powerAN2370
8 USB and wall adapter power
Although the STC4054 allows charging from a USB port, a wall adapter can also be used to
charge Li-Ion batteries.
Figure 11 shows an example of how to combine wall adapter and USB power inputs. A P-
channel MOSFET is used to prevent back conducting into the USB port when a wall adapter
is present and a Schottky diode is used to prevent USB power loss through the 1 k pulldown resistor.
Typically a wall adapter can supply significantly more current than the 500 mA limited USB
port. Therefore, an N-channel MOSFET and an extra program resistor are used to increase
the charge current to 850 mA when the wall adapter is present.
Figure 11. Combining wall adapter and USB power
12/14
AN2370Programming charge current
9 Programming charge current
The charge current is programmed using a single resistor from the PROG pin to ground.
The battery charge current is 1000 times the current out of the PROG pin. The program
resistor value is calculated using the following equation:
Equation 8
1.00 V
R
PROG
1000
--------------- -
•=
I
BAT
The charge current out of the BAT pin can be determined at any time by monitoring the
PROG pin voltage using the following equation:
Equation 9
V
PROG
BAT
------------------ -
R
PROG
1000•=
I
10 Revision history
Table 3.Document revision history
DateRevisionChanges
3-Aug-20061Initial release
07-Sep-20062Minor text changes
19-Sep-20063Table 2 changed
05-Oct-20074Changed Figure 1, Figure 3, Figure 4 and Figure 5
13/14
AN2370
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.