USB-C 2A Switching Lithium Battery Charger @MyVanitar
USB-C 2A Switching Lithium Battery Charger  @MyVanitar
Uploaded January 2026 | Updated November 2026, 2 days ago
USB-C (Type C) 2A Switching Lithium Battery Charger Circuit
======================================
Altium Develop (Free Legal License): altium.com/yt/MyVanitar
======================================
Article:
======================================
Schematic & PCB: 365.altium.com/files/787A433E-1F41-4904-8A3C-BB543B281476
======================================
Other Videos: bit.ly/2N9OlPa
======================================
@AtiumOfficial
#altiumstories

This project presents the design and implementation of a compact, high-efficiency lithium battery charger based on the TP5000X-4.2 switching charge management IC. The charger is intended for single-cell lithium-ion (Li-ion) and lithium-polymer (Li-Po) batteries with a nominal voltage of 3.7 V and a full charge voltage of 4.2 V. The system supports up to 2 A charging current, offers excellent thermal performance, and integrates comprehensive battery protection, making it suitable for both protected and unprotected battery cells.

Unlike traditional linear chargers, which dissipate excess power as heat, this design uses a buck switching topology, significantly improving efficiency—especially at higher charge currents. This allows the charger to remain compact while safely delivering high current without excessive temperature rise.

A modern USB-C charging interface is used as the input power source, enabling users to charge batteries with widely available phone chargers, power banks, or USB adapters. The design intentionally avoids proprietary or specialized power inputs, focusing instead on universality, safety, and efficiency.

2. Design Goals and Motivation
The main objectives of this project were:
High charging efficiency at currents up to 2A
Support for both Li-ion and Li-Po batteries
Compact PCB layout suitable for embedded or portable applications
User-adjustable charging current via a single resistor
Safe charging of unprotected batteries through onboard protection circuitry
USB-C compatibility without requiring USB-PD negotiation
Thermal robustness without external heatsinks
Clear charge status indication

Many low-cost lithium chargers on the market rely on linear ICs such as the TP4056. While simple, these devices suffer from poor efficiency at high currents and become thermally constrained above ~1 A. This project addresses those limitations by adopting a switch-mode charger IC, allowing higher performance in a smaller form factor.

3. Overview of the TP5000X-4.2 Charging IC
At the core of the design is the TP5000X-4.2, a switching lithium battery charge management IC manufactured by NanJing Top Power ASIC Corp. It is specifically designed for single-cell lithium batteries and is available in versions supporting 3.7 V, 4.2 V, and 4.35 V termination voltages. This project uses the 4.2 V variant, which is the standard for most Li-ion and Li-Po cells.
Key characteristics of the TP5000X-4.2 include:
Buck (step-down) switching charger topology
Integrated power MOSFET
Programmable charging current (0.1 A – 2 A)
800 kHz switching frequency
Trickle, constant-current, and constant-voltage charging stages
±1 % charge voltage accuracy
Wide input voltage range (4.5 V – 9 V)
Built-in thermal regulation
Input overvoltage, undervoltage, and overcurrent protection
Battery temperature monitoring
Automatic recharge functionality
Two open-drain status outputs (CHRG and STDBY)
The IC is packaged in an ESOP-8 package with an exposed thermal pad, which allows efficient heat transfer to the PCB ground plane.

4. Switching Charger Architecture and Efficiency
Unlike linear chargers that regulate current by dissipating excess voltage as heat, the TP5000X uses a high-frequency buck converter to efficiently step down the input voltage to the battery voltage.

5. Charging Algorithm and Operating Phases
The charger follows a three-stage lithium battery charging algorithm, which is essential for battery safety, longevity, and performance.

6. Programmable Charging Current
One of the most practical features of the TP5000X is its resistor-programmable charging current. The charging current is set by a single low-value shunt resistor (Rs) between the VS and BAT pins.

7. USB-C Power Input Design
The charger uses a USB-C connector as its power input. The design intentionally operates in default USB-C mode, drawing 5 V without engaging USB-PD negotiation. This ensures:
Compatibility with nearly all USB-C chargers
No need for USB-PD controllers or firmware
Simplified hardware design
USB-C 2A Switching Lithium Battery ChargerImproved USB-C Digispark Arduino BoardTrue RMS AC Voltage Meter Circuit (10V to 250V)Temperature, Air Pressure, and Altitude on a GUI using Raspberry Pi Pico, Bosch BMP280, and LVGL30A AC Soft Starter (Inrush Current Limiter) Circuit with Fail-Safe8-100V to 5V-1A DC to DC Buck Converter using MP9486Component Tester (V-I Curve Tracer) Using The Oscilloscope XY Mode🔥 Earthquake Prediction, Scientific Mindset and Skepticism28V-2A Adjustable Low EMI Switching Power SupplyDouble Lithium ion/Polymer USB Type-C Charger CircuitIsolated Flyback DC to DC Converter - Part 2 (Testing)Power Bank + Mobile Charger + Emergency LED Light Circuit
MyVanitar |

USB-C 2A Switching Lithium Battery Charger

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER