News Article

Feature: Building A Portable Charger Without Expensive ASICs Or Bloated PMICs

Silego Technology explains how a small, flexible chip can be configured just like an ASIC, but allows designers to design and program prototypes in a matter of minutes vs. the weeks needed for true ASICs.

One of the biggest improvements that can be made to the smartphone user experience is longer battery life. While users may browse on their phones for hours on end, size-limited, internal, non-removable batteries often come up short. Balancing long battery life with size, however, is a tricky problem to solve. As the battery industry struggles to provide higher energy density battery chemistries and technologies, many smartphone users have turned to portable chargers to support their highly active usage habits. This, in turn, creates a great opportunity for low cost, high-efficiency portable chargers.

Portable chargers are relatively simple devices which comprise a few main components; most commonly Lithium Polymer (LiPo) batteries, a charging circuit, a power distribution switch, a power management IC (PMIC), and a DC-DC boost converter. There are PMIC solutions on the market today which can address these different functions, however many are expensive, power-hungry, and contain many more components and features than are needed for this simple application, leading to a less than ideal solution. Another option is to develop a custom ASIC, however this is only practical in very high volume and often at an exorbitant price, volume commitment, and risk of price hikes in the future. 

Enter Silego Technology's GreenPAK, a Configurable Mixed-signal IC (CMIC) with one-time programmable non-volatile memory (NVM). This incredibly small, flexible chip can be configured just like an ASIC, but allows designers to design and program prototypes in a matter of minutes vs. the weeks needed for true ASICs. It doesn't require a minimum volume commitment or NRE, either. Using Silego's GreenPAK SLG46620V, it is possible to implement a full featured, low-power, universal portable charger control circuit in just 2.0 x 3.0 mm." Many smartphone users have the need for prolonged battery life; "“ and employ the use of auxiliary power banks. They allow extended usage of their smartphones by up to 6 times (depending on the capacity of the power bank). Power banks are usually mounted on back of the smartphone and they are connected via a charging connector (lightning or USB). For enhanced user experience, they are allowed to be get charged using the same smartphone charger and the user doesn't have to worry about charging it separately. Circuit design of these devices include LiPo batteries power bank, charging circuit for the power bank, the power distribution switch, power management control and the DC-DC boost converter (used to provide the phone with the required voltage (5V).

Hardware design of portable charger power management circuit 


Figure 1 "“ Functional diagram 

Figure 1 depicts the functional hardware design of an portable charger power management circuit. It is composed of the following segments:

"¢       Power management control (PMC) unit "“ this is the main logic unit of the device. It decides whether to route power to the smartphone or to the additional power bank. It decides when to turn the boost DC-DC converter on, in order to stop the internal battery power to smartphone. 

"¢       Power distribution switch (PDS): It is composed of MOSFETs that are controlled by the PMC unit. 

"¢       LiPo battery "“ For this design, a single cell 3.7V 1000mAh battery is selected as the power bank unit. 

"¢       LiPo charger "“ A controllable DC-DC buck converter design is used as a LiPo charger.

"¢       Boost DC-DC Converter "“ boost DC-DC converter is required to boost the LiPo battery

3.7V voltage to 5V required by the smartphone.  

Power management control (PMC) unit design and implementation:

Power management control (PMC) unit uses inputs from the rest of the device to make power routing decisions. PMC controls the PDS and the DC-DC boost converter. 

Inputs to PMC are:

"¢  Charger present indicator (CHG_IN).

"¢  Device power consumption (CUR_SENSE) indicator. This indicator will be implemented using the current sensing method. In case smartphone is drawing current bellow the determined threshold, PMC will route power from the input to LiPo charger as well, so that the power bank can be charged. If the current is above the determined threshold, power from the input will be routed to the smartphone only.

"¢  Power bank voltage indicator (VBAT). This indicator is used so that PMC can determine whether to turn the DC-DC boost converter on (to step up voltage from the power bank and provide it to smartphone) or not. 

Outputs from PMC are:

"¢  LiPo charger control (LiPO_CHG) "“ this output will send signal to the PDS to route power to the LiPo charger.

"¢  Smartphone power control (S_PWR) "“ this output will send signal to the PDS to route power from input to the smartphone.

"¢  Boost control (BOOST_CTRL) "“ this output will turn the boost converter on and send signal to the PDS to route power from the boost to the smartphone. PMC is a digital logics circuit with 3 inputs and 3 outputs. This can be easily implemented using LUT tables. Three 3-bit LUT tables are used for implementation of PMC using GreenPAK4.


Figure 2 shows the functional table for the PMC input and outputs. Each output is implemented using one 3bit GreenPAK4 LUT unit. Inputs from the pins are routed to each LUT table. Figure 3 explains the implementation of the PMC using GreenPAK4.

Power distribution switch design and implementation Power distribution switch is controlled by the PMC outputs LIPO_CHG, S_PWR, BOOST_CTRL.


Figure 4 "“ Power distribution switch design

Figure 4 depicts block schematics of the PDS. Control signals are provided by the PMC. PDS provides sensor signals to the PMC: CHG_IN and CUR_SENSE.

Current sensing is used at two places in the design and Figure 5 shows the schematics used for this task. The SLG88101 OP-AMP is used to make the current sensing circuit, and as it is dual OPAMP, only one IC is used. 

Figure 5 "“ current sensing circuit

Figure 6 "“ Power distribution switch implementation

Figure 6 depicts the PDS implementation schematics. A Silego GreenFET3 is used for PDS implementation. The SLG59M1709 is a perfect match for load switching since the maximum continuous current of 4A; which is 2-3 times more than the required charging current for most of smartphones on market.  

LiPo charger design and implementation

LiPo charger is implemented using a controllable buck DC-DC converter. Constant current (CC) and Constant Voltage (CV) modes are used to charge the LiPo battery. CC mode is used when battery voltage is below 4.2V and CV mode is used when battery voltage is above 4.15V. Figure 6 shows the charging curve for the LiPo battery using both CC and CV modes. In order to implement this charging method, the charging current and LiPo battery voltage are monitored.

Figure 7 "“ LiPo battery charging modes

The input from the USB charger is stepped down using a buck DC-DC converter that provides a 4.2V output. In order to achieve the constant current (CC) mode, the average voltage on the battery must be variable. Current is tracked using the current resistor and the OP-AMP. Output from the OP-AMP is compared with a specific voltage threshold. When the current through the battery goes above the specified current, output from the PWM is simply disabled; when it goes back under the threshold, output from the PWM is enabled again.

When battery voltage reaches 4.15V, the LiPo charger goes in CV mode and it provides a constant 4.2V output. Current is sensed again and it is compared with different thresholds; when it reaches 10% of the maximum charging current, it sends a signal to terminate the charging and the PWM output. Current sensing is implemented using approach described in Figure 5 and the SLG88101 OP-AMP. 

Figure 8 "“ Buck design

Figure 8 depicts the buck DC-DC converter analog design. Following are parameters used for the buck converterdesign:

"¢       Vin(max)=5.1V, max voltage input

"¢       Vout=4.2V, output voltage

"¢       Iout=1.2A, max output current

"¢       fs=62.5kHz, minimum switching frequency

"¢       ΔVout=50mV, output voltage ripple

"¢       n=0.85, efficiency 

Above are set parameters that are used for calculation of next parameters for buck:

"¢       D         70%, max duty cycle

"¢       ΔIL= (0.2 to 0.4) *Iout=0.24A, current ripple 

"¢       L=!"#$       𝑢𝐻, minimum inductor

"¢       IF=Iout*(1-D) =0.36A, diode current 

"¢       Cout(min)  = 10uF, minimum capacitor 

"¢       Isw(max)     @      𝐼𝑜𝑢𝑡 = 1.32A, max switching current 

Figure 9 "“ Buck design simulation using LTSpice "“ output voltage

Figure 10 "“ Buck design simulation using LTSpice "“ output current

Figures 9 and 10 show the simulation results for buck design using the LTSpice simulator. The PWM signal for buck can be implemented using the PWM module of the GreenPAK4. The PWM2 and CNT8 modules are used for implementation of the PWM signal. Figure 11 shows the results of the above design implementation - PWM signal generated by the GreenPAK4 and the output voltage (CH2) of 4.2V (which verifies buck design and simulation results). 

Figure 11 "“ Buck design implementation measurements "“ PWM and output voltage

Figure 12 "“ PWM signal generation used for buck "“ GreenPAK4 implementation

Figure 12 depicts the implementation parameters used for the PWM signal for buck converter. The PWM2 and CNT8 modules are used to generate the PWM signal. The IN+ selector for PWM2 the module is set to Register 3 and the IN- to counter (CNT8). Switching frequency is determined by the following formula:


𝑓𝑠𝑤 =

𝐶𝑜𝑢𝑛𝑡ð‘'𝑟O*$* + 1

Duty cycle is determined by the value present in Regsiter3. CNT8 is set to count till 15 and Register3 to 10, in order to achieve the switching frequency of 62.5kHz with a 62.5% duty cycle. 

Figure 13 "“ GreenPAK4 implementation (Matrix 1)

Figure 13 depicts the LiPo charger implementation using the GreenPAK4. Following are I/0 pins used for LiPo charger implementation:

"¢       PIN12, input pin for over-temperature protection

"¢       PIN13, input pin for CC/CV switch

"¢       PIN14, output pin for over-voltage and over-temperature indication

"¢       PIN15, input pin za CV mode

"¢       PIN16, input pin for over-volatge protection

"¢       PIN17, output pin for Buck PWM

"¢       PIN19, CC/CV switching indication

"¢       PIN20, battery full indication

"¢       PIN8, ADC input (Current sensing trough the battery) 

Following are GreenPAK4 components used for LiPo charger implementation:

"¢       PGA

"¢       ADC

"¢       DCMP0/PWM0, used as digital comparator 

"¢       DCMP1/PWM1, used as digital comparator

"¢       DCMP2/PWM2, used as PWM signal generator for buck

"¢       CNT8/DLY8, used as counter

"¢       OSC, used for clock generation and boost PWM signal generation

"¢       ACMP1, analogue comparator H=50mV

"¢       ACMP2, analogue comparator H=50mV

"¢       ACMP3, analogue comparator H=0mV

"¢       3-L8, multiplexer

"¢       3-L9, multiplexer

"¢       3-L10, multiplexer

"¢       4-L1, AND logic gate 

"¢       2-L7, OR logic gate

"¢       2-L4, inverter 

"¢       2-L5, inverter

"¢       2-L6, inverter

"¢       3-L12, inverter

The design of the LiPo charger is already explained; the following text will put focus on the implementation using the GreenPAK4.

CC/CV switch:

The CC/CV switch is responsible to switch the LiPo charger between two charging modes. If voltage on the battery is below 4.15V, the charger stays in CC mode; if it is equal or slightly above 4.15V, charger is in CV mode.  

Figure 14 "“ CC/CV switch implementation

Figure 14 depicts the CC/CV switch using an analog comparator ACMP2. Input for the ACMP2 2 is PIN13 which is connected to an external voltage divider shown on Figure 15. Output of the ACMP2 is connected as a selector bit of the 3L10 multiplexer. When ACMP2 is 0, the 3L10 will output left channel (CC mode) and if the voltage on battery is above 4.15V, it will output 1 that will make 3L10 output the right channel (CV mode).  

Figure 15 "“ Voltage divider and RC LPF for the CC/CV switch

IN- on ACPM2 is set to 500 mV, so in order to detect whether the voltage on the battery is above 4.15V, the voltage resistor must be designed to output 500mV when input (Vbat) is 4.15V. Following is the required calculation for the voltage divider:


𝑅2 = 𝑉𝑏𝑎𝑡 âˆ' 𝑉𝑡


"¢       Vt = 500mV, output 

"¢       Vbat = 4150mV, voltage on battery

"¢       R1 = 15Kohm

A simple RC LP filter is used to cancel any noise on input to the CC/CV switch. Cut off frequency of the designed filter is 3.38Hz. Also, 5mV hysteresis is used on ACMP2 as the voltage on battery varies during the charging. Figure 16 shows ACMP2 settings.

Figure 16 "“ ACMP2 settings

CC mode

The CC (constant current) mode is used when voltage on the battery is below 4.2V. In this mode, electronics is needed to maintain constant current through the battery. For current sensing, the circuitry in Figure 5 is used. R_sense is set to 2mOhm. The gain of current sensing OP-AMP is set to 200. If current trough R_sense is 0.5A, voltage on input of OP-AMP is Vin = I*R_sense=1mV. When amplified with 200, we have 200mV at the input of the ADC module in GreenPAK4. 50% of the maximum charging current is used for charging battery, and in this case it is 0.5A. 

Figure 17 "“ ADC

Output of the current sensing circuit is connected to PIN8, which is connected to PGA. The PGA is, in turn, connected to the ADC. Output of the ADC is connected to the digital comparators DCMP0 and DCMP1. Using DCMP0, the LiPo charger maintains constant charging current of 500mA. 

Figure 18 "“ DCMP0 settings

Figure 18 depicts the DCMP0 settings. The IN+ selector is ADC output and the IN- selector is Register 0. In order to have information, if current is above 500mA, the Register 0 is set to 50 using the following calculation:

GreenPAK4 ADC is 8 bit, so resolution is:


When current trough R_sense is 0.5A, voltage on the ADC input is 200mV as explained earlier, so


If the current through R_sense is above 0.5A, the DCMP0 output will disable the PWM buck output in order to prevent rise of current and will maintain it to a constant. The DCMP0 output is connected to a 3L10 multiplexer input and when in CC mode, if output of DCMP0 is 0 (current bellow 0.5A), the output of the 3L9 multiplexer will be the output of PWM2 module. In case DCM0 output is 1(current above 0.5A), output of the 3L9 will be GND.

CV mode:

When CC/CV switch switched charger is in CV mode, output of 3L10 multiplexer will be the output of ACMP3. ACMP3 is supplied with an external voltage divider so that when the voltage on battery is above 4.2V, it is able to output 1. This will also put an output of 3L9 to GND and turn the buck output off. In case, the battery voltage is below 4.2V, the ACMP3 will output 0 so that the 3L9 output is the PWM signal, generated by PWM2 module. This method is used to keep the voltage constantly 4.2V on the battery.  

Figure 19 "“ Analogue frontend for ACMP3

Figure 19 depicts the analog frontend for ACMP3 (voltage divider set to output 500mV when voltage on the battery is 4.2V and the RC filter to cancel noise). 

Battery charging termination:

The DCMP1 is used to detect the battery charging termination. When the charger is in CV mode and the current is 10% of maximum charging current (0.1A), charging will be terminated. Register 2 is compared with the value generated by the ADC using the digital comparator DCMP1. Value in the Register 2 is calculated as follows:

Over-temperature protection

Figure 20 "“ over temperature protection

Figure 20 depicts the circuitry used for over-temperature protection. A 10KOhm NTC resistor with a constant B=4050K is used for temperature monitoring. If the temperature is above 50C, the ACMP1 will terminate battery charging.  

Figure 21 "“ LiPo charger testing

Figure 21 shows the LiPo charger implementation testing. Voltage on the battery is 4.04V; which means it is in CC mode. In this phase of development, 290mA charging current was used in CC mode. 

 Boost DC-DC converter design and implementation

Boost DC-DC converter is used to step power bank 3.7-4.2V voltage up to 5V required by the smartphone. Boost parameters are following:

Figure 22 "“ Boost DC-DC converter schematics

Figure 22 depicts the analog boost implementation, simulated using the LT Spice. And following are the results of the simulation (Figure 23):

Figure 23 "“ simulation results for Boost converter implementation 

Boost is implemented using the OSC as a PWM source (with 41.7kHz frequency).  

Figure 24 "“ GreenPAK4 Boost implementation

Figure 24 depicts the boost implementation using the GreenPAK4. PWM is generated using the OSC with the clock predivider set to 2 and the OUT0 second divider set to 24 (in order to achieve the 41.7kHz frequency). A Comparator ACMP5 is used to compare feedback with the set voltage threshold. When voltage on the feedback pin is above the set threshold, the PWM source is turned off. This is a simple way of controlling the output voltage on the boost converter.

Figure 25 "“ boost implementation results

Figure 26 "“ Boost implementation test charging Bluetooth speaker

Figure 25 shows the results of the implemented boost converter. The results are as expected, when compared with simulation results. Figure 26 depicts the boost design test charging a Bluetooth speaker, with an internal LiPo battery. 

Extensions of implemented system:

Implemented system covers all logics, clock generation and feedback provided by sensors to the power management controller for the LiPo battery. The system can be expanded in the analog domain by simply using additional voltage protection circuits. Regarding the implementation on the digital side, the presented design implements all major requirements. 


The proposed design and implementation shows that the power management controller and the LiPo charger (including the buck and boost DC-DC converters) can easily be implemented using a GreenPAK4. Using a GreenPAK4 allows us to get the desired behaviour of the system without having to invest in custom silicon development. This shows that similar products can be designed and implemented using the Silego technology.  

Search the news archive

To close this popup you can press escape or click the close icon.
Register - Step 1

You may choose to subscribe to the Silicon Semiconductor Magazine, the Silicon Semiconductor Newsletter, or both. You may also request additional information if required, before submitting your application.

Please subscribe me to:


You chose the industry type of "Other"

Please enter the industry that you work in:
Please enter the industry that you work in:
Live Event