SLUSC27C April 2015 – March 2017
PRODUCTION DATA.
The bq24780S is a 1-4 cell battery charge controller with power selection for space-constrained, multi-chemistry portable applications such as notebook and detachable ultrabook. It supports wide input range of input sources from 4.5 V to 24 V, and 1-4 cell battery for a versatile solution.
The bq24780S supports automatic system power source selection with separate drivers for n-channel MOSFETS on the adapter side and battery side.
The bq24780S features Dynamic Power Management (DPM) to limit the input power and avoid AC adapter over-loading. During battery charging, as the system power increases, the charging current will reduce to maintain total input current below adapter rating. If system power demand is temporarily exceeds adapter rating, the bq24780S supports hybrid power boost mode (previously called "turbo boost mode") to allow battery discharge energy to supplement system power. For details of hybrid power boost mode, refer to Device Functional Modes section.
The bq24780S closely monitors system power (PMON), input current (IADP) and battery discharge current (IDCHG) with highly accurate current sense amplifiers. If current is too high, adapter or battery is removed, a PROCHOT signal is asserted to CPU so that the CPU optimizes its performance to the power available to the system.
The SMBus controls input current, charge current and charge voltage registers with high resolution, high accuracy regulation limits. It also sets the PROCHOT timing and threshold profile to meet system requirements.
The bq24780S gets power from adapter or battery. After VCC is above its UVLO threshold, the device wakes up and starts communication.
When VCC voltage is above UVLO, bq24780S powers up to turn on BATFET and starts SMBus communication. By default, bq24780S stays in low power mode (REG0x12[15] = 1) with lowest quiescent current. When REG0x12[15] is set to 0, the device enters performance mode. User can enable IDCHG buffer, PMON, PROCHOT or comparator through SMBus. REGN LDO is enabled (except for IDCHG buffer) for accurate reference.
An external resistor divider attenuates the adapter voltage before it goes to ACDET. The adapter detect threshold should typically be programmed to a value greater than the maximum battery voltage, but lower than the maximum allowed adapter voltage. When ACDET is above 0.6V, all bias circuits are enabled.
The open drain ACOK output can be pulled to external rail under the following conditions:
The REG0x37[11] tracks the status of ACOK pin. ACOK deglitch time is 150ms at the first time adapter plug-in, and 1.3 sec at the following plug-ins after VCC or SRN is above its UVLOZ.
When the VCC pin voltage is higher than 26 V, it is considered adapter over voltage. ACOK is pulled low, and charge is disabled. ACFET/RBFET are turned off to disconnect the high voltage adapter to system during ACOVP. BATFET is turned on if turn-on conditions are valid.
When VCC voltage falls below 24 V, it is considered as adapter voltage returns back to normal voltage. ACOK is pulled high by an external pullup resistor. BATFET is turned off and ACFET and RBFET is turned on to power the system from the adapter.
The bq24780S device automatically switches adapter or battery power to system. An automatic break-before-make logic prevents shoot-through currents when the selectors switch.
The ACDRV drives a pair of common-source (CMSRC) N-channel power MOSFETs (ACFET and RBFET) between adapter and ACP. The ACFET separates adapter from system and battery, and provides a limited di/dt when plugging in adapter by controlling the ACFET turn-on time. Meanwhile, it protects the adapter when the system or battery is shorted. The RBFET provides negative input voltage protection and battery discharge protection when adapter is shorted to ground, and minimizes system power dissipation with its low RDS(on) compared to a Schottky diode.
When the adapter is not present, ACDRV is pulled to CMSRC to keep ACFET and RBFET off, disconnecting the adapter from the system. BATDRV stays at VBATSRC + 6 V to connect battery to system if all of the following conditions are valid:
After the adapter plugs in, the system power source switches from battery to adapter if all of the following conditions are valid:
The gate drive voltage on ACFET and RBFET is VCMSRC + 6 V. If the ACFET/RBFET have been turned on for 20 ms, and the voltage across gate and source is still less than 5.7 V, ACFET and RBFET are turned off. After 1.3s delay, it resumes turning on ACFET and RBFET. If such a failure is detected seven times within 90 seconds, ACFET/RBFET are latched off and an adapter removal and system shut down is required to force ACDET < 0.6 V to reset the IC. After IC reset from latch off, ACFET/RBFET can be turned on again. After 90 seconds, the failure counter is reset to zero to prevent latch off.
To turn off ACFET/RBFET, one of the following conditions must be valid:
To limit the adapter inrush current during ACFET turn-on, the Cgs and Cgd external capacitor of ACFET must be carefully selected following the guidelines below:
In charge mode, the following conditions have to be valid to start charge:
One of the following conditions stops on-going charging:
Every time the charge is enabled, the charger automatically applies soft-start on charge current to avoid any overshoot or stress on the output capacitors or the power converter. The charge current starts at 128 mA, and the step size is 64 mA in CCM mode for a 10 mΩ current sensing resistor. Each step lasts around 400 μs in CCM mode, till it reaches the programmed charge current limit. No external components are needed for this function.
During DCM mode, the soft start up current step size is larger and each step lasts for longer time period due to the intrinsic slow response of DCM mode.
As an industry standard, a high-accuracy current sense amplifier (CSA) is used to monitor the input current (IADP) and the discharge current (IDCHG). IADP voltage is 20X or 40X the differential voltage across ACP and ACN. IDCHG voltage is 8X or 16X the differential voltage across SRN and SRP. After VCC is above UVLO and ACDET is above 0.6 V, IADP output becomes valid. .
A maximum 100-pF capacitor is recommended to connect on the output for decoupling high-frequency noise. An additional RC filter is optional, if additional filtering is desired. Note that adding filtering also adds additional response delay. The CSA output voltage is clamped at 3.3 V. To lower the voltage on current monitoring, a resistor divider from CSA output to GND can be used and accuracy over temperature can still be achieved
The bq24780S device monitors total available power from adapter and battery together. The ratio of PMON voltage and total power KPMON can be programmed in REG0x3B[9] with default 1 µA/W. The bq24780S device allows input sense resistor 2x or 1/2x of charge sense resistor by setting REG0x3B[13:12] to 1.
A resistor is connected on the PMON pin to converter output current to output voltage. A maximum 100-pF capacitor is recommended to connect on the output for decoupling high-frequency noise. An additional RC filter is optional, if additional filtering is desired. Note that adding filtering also adds additional response delay. The PMON output voltage is clamped to 3.3 V.
When CPU is running turbo mode, the peak power may exceed total available power from adapter and battery. The adapter current and battery discharge overshoot, or system voltage drop indicates the system power may be too high. When the adapter or battery is removed, the remaining power source may not support the peak power in turbo mode. The processor hot function in bq24780S monitors these events, and PROCHOT pulse is asserted.
The PROCHOT triggering events include:
The threshold of ICRIT, IDCHG or VSYS, and the deglitch time of ICRIT, INOM, IDCHG or CMPOUT are programmable through SMBus. Each triggering event can be individually enabled in REG0x3D[6:0].
When any event in PROCHOT profile is triggered, PROCHOT is asserted low for minimum 10 ms (default REG0x3C[4:3]=10). At the end of the 10 ms, if the PROCHOT event is still active, the pulse gets extended.
During one cycle of PROCHOT, all the triggering events are saved in status register REG0x3A[6:0] for easy test debug and system optimization.
The synchronous buck PWM converter uses a fixed frequency voltage control scheme and internal type III compensation network. The LC output filter gives a characteristic resonant frequency:
The resonant frequency, fo, is used to determine the compensation to ensure there is sufficient phase margin for the target bandwidth. The LC output filter should be selected to give a resonant frequency of 10- to 20-kHz nominal for the best performance. Suggested component value for a charge current of 800-kHz default switching frequency is shown in Table 1:
CHARGE CURRENT | 2A | 3A | 4A | 6A | 8A |
---|---|---|---|---|---|
Output Inductor Lo (µH) | 6.8 or 8.2 | 5.6 or 6.8 | 3.3 or 4.7 | 3.3 | 2.2 |
Output Capacitor Co (µF) | 20 | 20 | 20 | 30 | 40 |
Sense Resistor (mΩ) | 10 | 10 | 10 | 10 | 10 |
Ceramic capacitors show a DC-bias effect. This effect reduces the effective capacitance when a DC-bias voltage is applied across a ceramic capacitor, as on the output capacitor of a charger. The effect may lead to a significant capacitance drop, especially for high output voltages and small capacitor packages. See the manufacturer's data sheet about the performance with a DC bias voltage applied. It may be necessary to choose a higher voltage rating or nominal capacitance value to get the required value at the operating point.
With sufficient charge current, the inductor current does not cross 0, which is defined as CCM. The controller starts a new cycle with ramp coming up from 200 mV. As long as EAO voltage is above the ramp voltage, the high-side MOSFET (HSFET) stays on. When the ramp voltage exceeds EAO voltage, HSFET turns off and low-side MOSFET (LSFET) turns on. At the end of the cycle, ramp gets reset and LSFET turns off, ready for the next cycle. There is always break-before-make logic during transition to prevent cross-conduction and shoot-through. During the dead time when both MOSFETs are off, the body-diode of the low-side power MOSFET conducts the inductor current.
During CCM, the inductor current always flows and creates a fixed two-pole system. Having the LSFET turn-on keeps the power dissipation low and allows safe charging at high currents.
During the HSFET off time when LSFET is on, the inductor current decreases. If the current goes to 0, the converter enters DCM. Every cycle, when the voltage across SRP and SRN falls below 5 mV (0.5 A on 10 mΩ), the undercurrent-protection comparator (UCP) turns off LSFET to avoid negative inductor current, which may boost the system through the body diode of HSFET.
During DCM the loop response automatically changes. It changes to a single-pole system and the pole is proportional to the load current.
As the charge current is below 125 mA (on 10-mΩ sense resistor), the light load comparator keeps LSFET off. The converter enters non-sync mode. With LSFET, body diode blocks negative current in the inductor so that no current flows back to the input. As charge current rises above 250 mA, LSFET turns on again.
The charger switching frequency can be adjusted 600 kHz or 1 MHz to solve EMI issues through SMBus command REG0x12[9:8].
A battery LEARN cycle can be activated through the REG0x12[5]. When LEARN is enabled, the system receives power from the battery instead of the adapter turning off ACFET/RBFET and turning on BATFET. The LEARN function allows the battery to discharge in order to calibrate the battery gas gauge over a complete discharge and charge cycle. The controller automatically exits the LEARN cycle when the battery voltage is below the battery depletion threshold. The system switches back to adapter input by turning off BATFET and turning on ACFET/RBFET. After the LEARN cycle, REG0x12[5] is automatically reset to 0.
When the battery is removed during LEARN mode, BATPRES rises from low to high and the device exits LEARN mode. ACFET/RBFET quickly turns on in 100µs to prevent the system from crashing. The turn-on triggered by BATPRES is faster than that triggered by battery depletion comparator.
The bq24780S device includes a watchdog timer to terminate charging or hybrid power boost mode if the charger does not receive a write ChargeVoltage() or write ChargeCurrent() command within 175 s (adjustable through 0x12[14:13] command).
If a watchdog timeout occurs, all register values keep unchanged, but converter is suspended. A write to ChargeVoltage(), or ChargeCurrent(), or change REG0x12[14:13] resets watchdog timer and resumes converter for charging or hybrid power boost mode. The watchdog timer can be disabled, or set to 5, 88, or 175 s through SMBus command REG0x12[14:13]).
The bq24780S device cannot maintain the input current level if the charge current has been already reduced to 0. When the input current exceeds 1.25x or 2x of ICRIT set point (with 12-ms blank-out time), ACFET/RBFET is latches off and an adapter removal is required to force ACDET < 0.6 V to reset IC. After IC reset from latch off, ACFET/RBFET can be turned on again.
The ACOC function threshold can be set to 1.25x or 2x of ICRIT (REG37[9]) current or disabled through SMBus command (REG0x37[10]).
The bq24780S device has cycle-by-cycle peak overcurrent protection. It monitors the voltage across SRP and SRN, and prevents the current from exceeding the threshold based on the charge current set point. The high-side gate drive turns off for the rest of the cycle when over current is detected, and resumes when the next cycle starts.
The charge OCP threshold is automatically set to 6, 9, and 12 A on a 10-mΩ current sensing resistor based on charge current register value. This prevents the threshold from being too high, which is not safe, or too low, which can be triggered in typical operation. Select proper inductance to prevent OCP triggering in typical operation due to high inductor current ripple.
The bq24780S device does not allow the high-side and low-side MOSFET to turn-on when the battery voltage at SRN exceeds 104% of the regulation voltage set point. If BATOVP lasts over 30 ms, charger is completely disabled. This allows a quick response to an overvoltage condition – such as when the load is removed or the battery is disconnected. A 6-mA current sink from SRP to GND is only on during BATOVP and allows discharging the stored output inductor energy that is transferred to the output capacitors.
When battery voltage on SRN falls below 2.5 V, the converter resets for 1 ms and resumes charge if all the enable conditions in the Enable and Disable Charging section are satisfied. This prevents overshoot current in the inductor, which can saturate the inductor and may damage the MOSFET. The charge current is limited to 0.5 A on 10-mΩ current sensing resistor when BATLOWV condition persists and LSFET keeps off. The LSFET turns on only for a refreshing pulse to charge BTST capacitor.
The WQFN package has low thermal impedance, which provides good thermal conduction from the silicon to the ambient, to keep junction temperatures low. As an added level of protection, the charger converter turns off for self-protection whenever the junction temperature exceeds the 155°C. The charger stays off until the junction temperature falls below 135°C. During thermal shutdown, the REGN LDO current limit is reduced to 14 mA. Once the temperature falls below 135°C, charge can be resumed with soft start.
The bq24780S device has a unique short circuit protection feature. Its cycle-by-cycle current monitoring feature is achieved through monitoring the voltage drop across RDS(on) of the MOSFETs after a certain amount of blanking time. In case of a MOSFET short or inductor short circuit, the overcurrent condition is sensed by two comparators and two counters are triggered. After seven short circuit events, the charger is latched off and ACFET and RBFET are turned off to disconnect the adapter from the system. BATFET is turned on to connect the battery pack to the system. To reset the charger from latch-off status, the IC VCC pin must be pulled below UVLO or the ACDET pin must be pulled below 0.6 V. This can be achieved by removing the adapter and shutting down the operation system. The low-side MOSFET Vds monitor circuit is enabled by REG0x37[7], and the threshold is 750 mV. The high-side MOSFET Vds monitor circuit is enabled by REG0x37[6], and the threshold is 250 mV. During boost function, the low-side MOSFET short circuit protection threshold is used for cycle-by-cycle current limiting, charger does not latch up.
Due to the amount of blanking time to prevent noise when MOSFET just turns on, the cycle-by-cycle charge overcurrent protection may detect high current and turn off MOSFET first before the short circuit protection circuit can detect short condition because the blanking time has not finished. In such a case, the charger may not be able to detect a short circuit and the counter may not be able to count to seven then latch off. Instead the charger may continuously keep switching with very narrow duty cycle to limit the cycle-by-cycle current peak value. However, the charger should still be safe and does not cause failure because the duty cycle is limited to a very short time and the MOSFET should still be inside the safety operation area. During a soft start period, it may take a long time instead of just seven switching cycles to detect short circuit based on the same blanking time reason.
The bq24780S charges 1-4 cell battery in constant current (CC), and constant voltage (CV) mode. The host programs battery voltage in REG0x15(). According to battery voltage, the host programs appropriate charge current in REG0x14(). When battery is full or battery is not in good condition to charge, host terminates charge by setting REG0x12[0] to 1, or setting either ChargeVoltage() or ChargeCurrent() to zero.
See the Feature Description section for details on charge enable conditions and register programming.
The bq24780S device supports the hybrid power boost mode by allowing battery discharge energy to system when system power demand is temporarily higher than adapter maximum power level so the adapter does not crash. After device powers up, the REG0x37[2] is 0 to disable hybrid power boost mode. To enable hybrid power boost mode, host writes 1 to REG0x37[2]. The TB_STAT pin and REG0x37[1] indicate if the device is in hybrid power boost mode.
To support hybrid power boost mode, input current must be set higher than 1536 mA for 10 mΩ input current sensing resistor. When input current is higher than 107% of input current limit in REG0x3F(), charger IC allows battery discharge and charger converter changes from buck converter to boost converter. During hybrid power boost mode the adapter current is regulated at input current limit level so that adapter will not crash. The battery discharge current depends on system current requirement and adapter current limit. The watchdog timer can be enabled to prevent converter running at hybrid power boost mode for too long.
To keep the discharge current below battery OCP rating during boost mode, the bq24780S device supports discharge current regulation. After device powers up, the REG0x37[15] is 0 to disable discharge current regulation. To enable discharge current regulation, host writes 1 to REG0x37[15].
Once the battery discharge current is limited, the input current goes up to meet the system current requirement. The user can assert PROCHOT to detect input current increase (ICRIT or INOM), and request CPU throttling to lower the system power.
The bq24780S device operates as a slave, receiving control inputs from the embedded controller host through the SMBus interface. The bq24780S device uses a simplified subset of the commands documented in System Management Bus Specification V1.1, which can be downloaded from www.smbus.org. The bq24780S device uses the SMBus read-word and write-word protocols (shown in Table 2 and Table 3) to communicate with the smart battery. The bq24780S device performs only as a SMBus slave device with address 0b00010010 (0x12H) and does not initiate communication on the bus. In addition, the device has two identification registers, a 16-bit device ID register (0xFFH) and a 16-bit manufacturer ID register (0xFEH).
SMBus communication starts when VCC is above UVLO.
The data (SDA) and clock (SCL) pins have Schmitt-trigger inputs that can accommodate slow edges. Choose pullup resistors (10 kΩ) for SDA and SCL to achieve rise times according to the SMBus specifications. Communication starts when the master signals a start condition, which is a high-to-low transition on SDA, while SCL is high. When the master has finished communicating, the master issues a stop condition, which is a low-to-high transition on SDA, while SCL is high. The bus is then free for another transmission. Figure 7 and Figure 8 show the timing diagram for signals on the SMBus interface. The address byte, command byte, and data bytes are transmitted between the start and stop conditions. The SDA state changes only while SCL is low, except for the start and stop conditions. Data is transmitted in 8-bit bytes and is sampled on the rising edge of SCL. Nine clock cycles are required to transfer each byte in or out of the bq24780S device because either the master or the slave acknowledges the receipt of the correct byte during the ninth clock cycle. The bq24780S supports the charger commands listed in Table 2.
S (1)(3) |
SLAVE ADDRESS(1) | W (1)(6) |
ACK (2)(5) |
COMMAND BYTE(1) | ACK (2)(5) |
LOW DATA BYTE(1) | ACK (2)(5) |
HIGH DATA BYTE(1) | ACK (2)(5) |
P (1)(4) |
---|---|---|---|---|---|---|---|---|---|---|
7 bits | 1b | 1b | 8 bits | 1b | 8 bits | 1b | 8 bits | 1b | ||
MSB LSB | 0 | 0 | MSB LSB | 0 | MSB LSB | 0 | MSB LSB | 0 |
S(1)(3) | SLAVE ADDRESS(1) | W (1)(7) |
ACK (2)(5) |
COMMAND BYTE(1) | ACK (2)(5) |
S(1)(3) | SLAVE ADDRESS(1) | R(1)(8) | ACK (2)(5) |
LOW DATA BYTE(2) | ACK (1)(5) |
HIGH DATA BYTE(2) | NACK (1)(6) |
P (1)(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 bits | 1b | 1b | 8 bits | 1b | 7 bits | 1b | 1b | 8 bits | 1b | 8 bits | 1b | |||
MSB LSB | 0 | 0 | MSB LSB | 0 | MSB LSB | 1 | 0 | MSB LSB | 0 | MSB LSB | 1 |
A = Start condition | H = LSB of data clocked into slave |
B = MSB of address clocked into slave | I = Slave pulls SMBDATA line low |
C = LSB of address clocked into slave | J = Acknowledge clocked into master |
D = R/W bit clocked into slave | K = Acknowledge clock pulse |
E = Slave pulls SMBDATA line low | L = Stop condition, data executed by slave |
F = ACKNOWLEDGE bit clocked into master | M = New start condition |
G = MSB of data clocked into slave |
A = Start condition | G = MSB of data clocked into master |
B = MSB of address clocked into slave | H = LSB of data clocked into master |
C = LSB of address clocked into slave | I = Acknowledge clock pulse |
D = R/W bit clocked into slave | J = Stop condition |
E = Slave pulls SMBDATA line low | K = New start condition |
F = ACKNOWLEDGE bit clocked into master |
The bq24780S supports thirteen battery-charger commands that use either Write-Word or Read-Word protocols, as summarized in Table 4. ManufacturerID() and DeviceID() can be used to identify the bq24780S. The ManufacturerID() command always returns 0x0040H and the DeviceID() command always returns 0x0030H.
REGISTER ADDRESS | REGISTER NAME | READ OR WRITE | DESCRIPTION | POR STATE |
---|---|---|---|---|
0x12H | ChargeOption0() Table 5 | Read or Write | Charge Options Control 0 | 0xE108H |
0x3BH | ChargeOption1() Table 6 | Read or Write | Charge Options Control 1 | 0xC210H |
0x38H | ChargeOption2()Table 7 | Read or Write | Charge Options Control 2 | 0x0384H |
0x37H | ChargeOption3()Table 8 | Read or Write | Charge Options Control 3 | 0x1A40H |
0x3CH | ProchotOption0()Table 9 | Read or Write | PROCHOT Options Control 0 | 0x4A54H |
0x3DH | ProchotOption1() Table 10 | Read or Write | PROCHOT Options Control 1 | 0x8120H |
0x3AH | ProchotStatus() Table 11 | Read Only | PROCHOT status | 0x0000H |
0x14H | ChargeCurrent() Table 12 | Read or Write | 7-bit Charge Current Setting | 0x0000H |
0x15H | ChargeVoltage() Table 13 | Read or Write | 11-bit Charge Voltage Setting | 0x0000H |
0x39H | DischargeCurrent() Table 15 | Read or Write | 6-bit Discharge Current Setting | 0x1800H, or 6144mA |
0x3FH | InputCurrent() Table 14 | Read or Write | 6-bit Input Current Setting | 0x1000H, or 4096mA |
0xFEH | ManufacturerID() | Read Only | Manufacturer ID | 0x0040H |
0xFFH | DeviceID() | Read Only | Device ID | 0x30H |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Low Power Mode Enable | WATCHDOG Timer Adjust | Reserved | Switching Frequency | ||||
R/W | R/W | R | R/W | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Reserved | LEARN Mode Enable | IADP Amplifier Gain for Primary Input | IDCHG Amplifier Ratio | Reserved | Charge Inhibit | ||
R | R/W | R/W | R/W | R | R/W |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
BIT | BIT NAME | DESCRIPTION |
---|---|---|
[15] | Low Power Mode Enable (EN_LWPWR) |
0: IC in performance mode with battery only. The PROCHOT, current/power monitor buffer and independent comparator follow register setting. 1: IC in low power mode with battery only. IC is in the lowest quiescent current when this bit is enabled. PROCHOT, discharge current monitor buffer, power monitor buffer and independent comparator are disabled (default at POR) |
[14:13] | WATCHDOG Timer Adjust (WDTMR_ADJ) |
Set maximum delay between consecutive SMBus write charge voltage or charge current command. If IC does not receive write on REG0x14() or REG0x15() within the watchdog time period, the charger converter stops to disable charge and boost mode operation. After expiration, the timer will resume upon the write of REG0x14() or REG0x15(). The charge or boost operation will resume if all the other conditions are valid. 00: Disable watchdog timer 01: Enabled, 5 sec 10: Enabled, 88 sec 11: Enable watchdog timer (175 s) (default at POR) |
[12:10] | Reserved | 0 - Reserved |
[9:8] | Switching Frequency (PWM_FREQ) |
Converter switching frequency. 00: 600 kHz 01: 800 kHz (default at POR) 10: 1 MHz 11: Reserved |
[7:6] | Reserved | 0 - Reserved |
[5] | LEARN Mode Enable (EN_LEARN) |
Battery LEARN mode enable. In LEARN mode, ACFET and RBFET turns off and BATFET turns on. When /BATPRES is HIGH, IC exits LEARN mode and this bit is set back to 0. When the battery is depleted, the charger cannot enable LEARN mode 0: Disable LEARN mode (default at POR) 1: Enable LEARN mode |
[4] | IADP Amplifier Gain for Primary Input (IADP_GAIN) |
Ratio of IADP pin voltage over the voltage across ACP and ACN. 0: 20X (default at POR) 1: 40X |
[3] | IDCHG Amplifier Gain (IDCHG_GAIN) |
Ratio of IDCHG pin voltage over the voltage across SRN and SRP. 0: 8x with discharge current regulation range 0-32A. 0: 8x with discharge current regulation range 0-32A. 1: 16x with discharge current regulation range (default at POR) |
[2:1] | Reserved | 0 - Reserved |
[0] | Charge Inhibit (CHRG_INHIBIT) |
Charge inhibit. When this bit is 0, battery charging is enabled with valid value in REG0x14() and REG0x15() 0: Enable charge (default at POR) 1: Inhibit charge |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
BAT Depletion Comparator Threshold | Input/Discharge Sense Resistor Ratio R | EN_IDCHG | EN_PMON | PMON Gain | Reserved | ||
R/W | R/W | R/W | R/W | R/W | R | ||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Independent Comparator Reference | Independent Comparator Polarity | Independent Comparator Deglitch Time | Power Path Latch-off Enable | Reserved | Discharge SRN for Shipping Mode_EN | Reserved | |
R/W | R/W | R/W | R/W | R | R/W | R |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
BIT | BIT NAME | DESCRIPTION |
---|---|---|
[15:14] | Battery Depletion Threshold (BAT_DEPL_VTH) | Battery over-discharge threshold.During LEARN cycle, when battery voltage is below the depletion threshold, the IC exits LEARN mode. During boost mode, when battery voltage is below the depletion threshold, the IC exits boost mode. 00: Falling threshold = 59.19% of voltage regulation limit (~2.486V/cell) 01: Falling threshold = 62.65% of voltage regulation limit (~2.631V/cell) 10: Falling threshold = 66.55% of voltage regulation limit (~2.795V/cell) 11: Falling threshold = 70.97% of voltage regulation limit (2.981V/cell) (default at POR) |
[13:12] | (RSNS_RATIO) | 0 - Adjust the PMON calculation with different input sense resistor RAC and charge sense resistor RSR. 00: RAC and RSR 1:1 (default at POR) 01: RAC and RSR 2:1 10: RAC and RSR 1:2 11: Reserved |
[11] | EN_IDCHG | IDCHG pin output enable. 0: Disable IDCHG output to minimize Iq (default at POR) 1: Enable IDCHG output |
[10] | EN_PMON | PMON pin output enable. 0: Disable PMON output to minimize Iq (default at POR) 1: Enable PMON output |
[9] | PMON Gain (PMON_RATIO) |
Ratio of PMON output current vs total input and battery power with 10 mΩ sense resistor. 0: 0.25 µA/W 1: 1 µA/W (default at POR) With the sense resistor is 20/10 mΩ, or 10/20 mΩ, or 20/20mΩ (RAC and RSR) 0: 0.5 µA/W 1: 2 µA/W (default at POR) |
[8] | Reserved | 0 - Reserved |
[7] | Independent Comparator Reference (CMP_REF) | Independent comparator internal reference. 0: 2.3 V (default at POR) 1: 1.2 V |
[6] | Independent Comparator Polarity (CMP_POL) | Independent comparator output polarity 0: When CMPIN is above internal threshold, CMPOUT is LOW (default at POR) 1: When CMPIN is above internal threshold, CMPOUT is HIGH |
[5:4] | Independent Comparator Deglitch Time (CMP_DEG) | Independent comparator deglitch time, applied on the edge where CMPOUT goes LOW. No deglitch time is applied on the rising edge of CMPOUT. 00: Independent comparator is disabled 01: Independent comparator is enabled with output deglitch time 1 µs (default at POR) 10: Independent comparator is enabled with output deglitch time 2 ms 11: Independent comparator is enabled with output deglitch time 5 sec |
[3] | Power Path Latch-off Enable (EN_FET_LATCHOFF ) | When independent comparator is triggered, both ACFET/RBFET turn off. The latch off is cleared by either POR or write this bit to zero. 0: When independent comparator is triggered, no power path latch off (default at POR) 1: When independent comparator is triggered, power path latches off. |
[2] | Reserved | 0 - Reserved |
[1] | Discharge SRN for Shipping Mode (EN_SHIP_DCHG) | Discharge SRN pin for 140 ms with minimum 5-mA current. When 140 ms is over, this bit is reset to 0. 0 : Disable discharge mode (default at POR) 1: Enable discharge mode |
[0] | Reserved | 0 - Reserved |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Reserved | Reserved | ||||||
R | R | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Independent External Current Limit Enable | Reserved | Reserved | Reserved | ||||
R/W | R | R | R |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
BIT | BIT NAME | DESCRIPTION |
---|---|---|
[15:10] | Reserved | 0 – Reserved |
[9:8] | Reserved | 1 - Reserved |
[7] | External Current Limit Enable (EN_EXTILIM) | External ILIM pin enable to set the charge and discharge current. 0: Charge/discharge current limit is set by REG0x14() and 0x39(). 1: Charge/discharge current limit is set by the lower value of ILIM pin and registers. (default at POR) |
[6:3] | Reserved | 0 - Reserved |
[2] | Reserved | 1 - Reserved |
[1:0] | Reserved | 0 - Reserved |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Discharge Current Regulation Enable | Reserved | ACOK Deglitch Time for Primary Input | Adapter Present Indicator | ACOC Enable | ACOC Limit | Reserved | |
R/W | R | R/W | R/W | R/W | R/W | R | |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
HSFET VDS Threshold | LSFET VDS Threshold | Fast DPM Threshold | Fast DPM Deglitch Time | Hybrid Power Boost Mode Enable | Boost Mode Indication | Reserved | |
R/W | R/W | R/W | R/W | R/W | R/W | R |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
BIT | BIT NAME | DESCRIPTION |
---|---|---|
[15] | Discharge Current Regulation Enable(EN_IDCHG_REG) | Battery discharge current regulation enable. 0: Disable discharge current regulation (default at POR) 1: Enable discharge current regulation |
[14:13] | Reserved | 0 - Reserved |
[12] | ACOK Deglitch Time for Primary Input (ACOK_DEG ) | Adjust ACOK rising edge deglitch time. After POR, the first time adapter plugs in, deglitch time is always 150 ms regardless of register bit. Starting from the 2nd time adapter plugs in, the deglitch time follows the bit setting. During system over-current, or system short when ACDET is pulled below 2.4 V, 1.3 sec deglitch time keeps ACFET/RBFET turn off long enough before the next turn on. 0: ACOK rising edge deglitch time 150ms 1: ACOK rising edge deglitch time 1.3 sec (default at POR) |
[11] | Adapter Present Indicator (ACOK_STAT ) |
Input present indicator. Same logic as ACOK pin. This bit is read only. 0: AC adapter is not present 1: AC adapter is present |
[10] | ACOC Enable (EN_ACOC) | ACOC protection threshold by monitoring ACP_ACN voltage. 0: Disable ACOC (default at POR) 1: Enable ACOC |
[9] | ACOC Limit (ACOC_VTH) | ACOC protection threshold by monitoring ACP_ACN voltage. 0: 125% of ICRIT 1: 200% of ICRIT (default at POR) |
[8] | Reserved | 0 – Reserved |
[7] | HSFET VDS Threshold (IFAULT_HI) | MOSFET/inductor short protection by monitoring high side MOSFET drain-source voltage. 0: Disable (default at POR) 1: 750 mV |
[6] | LSFET VDS Threshold (IFAULT_LO) | MOSFET/inductor short protection by monitoring low side MOSFET drain-source voltage. Also as cycle-by-cycle current limit protection threshold during boost function. 0: Disable 1: 250 mV (default at POR) |
[5] | Fast DPM Threshold (FDPM_VTH) | Fast DPM comparator threshold to enter hybrid power boost mode. (Minimum DPM setting for boost mode: 1536 mA) 0: 107% (falling 93%)(<default at POR) 1: 115% (falling 85%) |
[4:3] | Fast DPM Deglitch Time (FDPM_DEG) | Response time from system current exceeding Fast DPM Threshold to battery discharge in boost mode. 00: Response time 150 µs (default at POR) 01: Response time 250 µs 1X: Response time 50 µs |
[2] | Hybrid Power Boost Mode Enable (EN_BOOST) | Boost mode enable bit. When /BATPRES goes from LOW to HIGH (battery removal), this bit will be reset to zero to disable boost mode. 0: Disable hybrid power boost mode (default at POR) 1: Enable hybrid power boost mode |
[1] | Boost Mode Indication (BOOST_STAT) | In boost mode indicator. It goes LOW when the device is in boost mode. This bit is read only. 0: Charger is not in hybrid power boost mode (default at POR) 1: Charger is in hybrid power boost mode |
[0] | Reserved | 0 – Reserved |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
ICRIT Threshold | ICRIT Deglitch time | Reserved | |||||
R/W | R/W | R | |||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
VSYS Threshold | PROCHOT Pulse Extension Enable | PROCHOT Pulse Width | PROCHOT Pulse Clear | PROCHOT Pulse Clear | INOM Deglitch Time | Reserved | |
R/W | R/W | R/W | R/W | R/W | R/W | R |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
IDCHG Threshold | IDCHG comparator deglitch time | ||||||
R/W | R/W | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Reserved | PROCHOT input current envelop selector | ||||||
R | R/W |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
BIT | BIT NAME | DESCRIPTION |
---|---|---|
[15:10] | IDCHG Threshold (IDCHG_VTH) | 6 bit, range, range 0 A to 32256 mA, step 512 mA. Measure current between SRN and SRP. Trigger when the discharge current is above the threshold. Default: 16384 mA (100000) |
[9:8] | IDCHG Deglitch Time (IDCHG_DEG) | Typical IDCHG deglitch time. 00: 1.6 ms 01: 100 µs (default at POR) 10: 6 ms 11: 12 ms |
[7] | Reserved | 0 - Reserved |
[6:0] | PROCHOT input current envelop selector (PROFILE) | When adapter is present, the PROCHOT function is enabled by the below bits. When adapter is removed, ICRIT, INOM, BATPRES, and ACOK functions are automatically disabled in the PROCHOT profile. Comparator, IDCHG, and VSYS function settings are preserved. When all the bits are 0, PROCHOT function is disabled. Bit 6: Independent comparator, 0: disable (default at POR); 1: enable Bit 5: ICRIT, 0: disable; 1: enable (default at POR) Bit 4: INOM, 0: disable (default at POR); 1: enable Bit 3: IDCHG, 0: disable (default at POR); 1: enable Bit 2: VSYS, 0: disable (default at POR); 1: enable Bit 1: BATPRES, 0: disable (default at POR) ; 1: enable (one-shot rising edge triggered) Bit 0: ACOK, 0: disable (default at POR) ; 1: enable (one-shot falling edge triggered) |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Reserved | |||||||
R/W | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Reserved | PROCHOT status | ||||||
R/W | R |
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset |
BIT | BIT NAME | DESCRIPTION |
---|---|---|
[15:7] | Reserved | 0 - Reserved |
[6:0] | PROCHOT status (Read only) | The status of all events triggered during the same PROCHOT pulse are set to 1. The register resets when either of below two conditions occurs.
Bit 6: Independent comparator, 0: Not triggered; 1: Triggered Bit 5: ICRIT, 0: Not triggered; 1: Triggered Bit 4: INOM, 0: Not triggered; 1: Triggered Bit 3: IDCHG, 0: Not triggered; 1: Triggered Bit 2: VSYS, 0: Not triggered; 1: Triggered Bit 1: BATPRES, 0: Not triggered ; 1: Triggered Bit 0: ACOK, 0: Not triggered ; 1: Triggered |
To set the charge current, write a 16-bit ChargeCurrent() command (0x14H or 0b00010100) using the data format listed in Table 12. With 10-mΩ sense resistor, the bq24780S device provides a charge current range of 128 mA to 8.128 A, with 64-mA step resolution. Upon POR, charge current is 0 A. Any conditions for ACOK low except ACOV resets the ChargeCurrent() to 0. Sending ChargeCurrent() 0 mA terminates charge.
To provide secondary protection, the bq24780S has an ILIM pin with which the user can program the maximum allowed charge current. Internal charge current limit is the lower one between the voltage set by ChargeCurrent(), and the voltage on ILIM pin. To disable this function, the user can pull ILIM above 2 V, which is the maximum charge current regulation limit. When ILIM is below 60 mV, battery charging is disabled. The preferred charge current limit can be derived from below equation:
The SRP and SRN pins are used to sense RSR with default value of 10 mΩ. However, resistors of other values can also be used. For a larger sense resistor, a larger sense voltage is given, and a higher regulation accuracy; but, at the expense of higher conduction loss. If current sensing resistor value is too high, it may trigger an overcurrent protection threshold because the current ripple voltage is too high. In such a case, either a higher inductance value or a lower current sensing resistor value should be used to limit the current ripple voltage level. A current sensing resistor value no more than 20 mΩ is suggested.
BIT | BIT NAME | DESCRIPTION |
---|---|---|
0 | Not used; value ignored | |
1 | Not used; value ignored | |
2 | Not used; value ignored | |
3 | Not used; value ignored | |
4 | Not used; value ignored | |
5 | Not used; value ignored | |
6 | Charge Current, DACICHG 0 | 0 = Adds 0 mA of charger current 1 = Adds 64 mA of charger current |
7 | Charge Current, DACICHG 1 | 0 = Adds 0 mA of charger current 1 = Adds 128 mA of charger current |
8 | Charge Current, DACICHG 2 | 0 = Adds 0 mA of charger current 1 = Adds 256 mA of charger current |
9 | Charge Current, DACICHG 3 | 0 = Adds 0 mA of charger current 1 = Adds 512 mA of charger current |
10 | Charge Current, DACICHG 4 | 0 = Adds 0 mA of charger current 1 = Adds 1024 mA of charger current |
11 | Charge Current, DACICHG 5 | 0 = Adds 0 mA of charger current 1 = Adds 2048 mA of charger current |
12 | Charge Current, DACICHG 6 | 0 = Adds 0 mA of charger current 1 = Adds 4096 mA of charger current |
13 | Not used; 1 = invalid write | |
14 | Not used; 1 = invalid write | |
15 | Not used; 1 = invalid write |
To set the output charge regulation voltage, write a 16-bit ChargeVoltage() command (0x15H or 0b00010101) using the data format listed in Table 13. The bq24780S device provides charge voltage range from 1.024 to 19.200 V, with 16-mV step resolution. Upon POR, charge voltage limit is 0 V. Sending ChargeVoltage() 0 mV terminates charge.
The SRN pin is used to sense the battery voltage for voltage regulation and should be connected as close to the battery as possible, and directly place a decoupling capacitor (0.1 µF recommended) as close to IC as possible to decouple high frequency noise.
BIT | BIT NAME | DESCRIPTION |
---|---|---|
0 | Not used; value ignored | |
1 | Not used; value ignored | |
2 | Not used; value ignored | |
3 | Not used; value ignored | |
4 | Charge voltage, DACV 0 | 0 = Adds 0 mV of charger voltage 1 = Adds 16 mV of charger voltage |
5 | Charge voltage, DACV 1 | 0 = Adds 0 mV of charger voltage 1 = Adds 32 mV of charger voltage |
6 | Charge voltage, DACV 2 | 0 = Adds 0 mV of charger voltage 1 = Adds 64 mV of charger voltage |
7 | Charge voltage, DACV 3 | 0 = Adds 0 mV of charger voltage 1 = Adds 128 mV of charger voltage |
8 | Charge voltage, DACV 4 | 0 = Adds 0 mV of charger voltage 1 = Adds 256 mV of charger voltage |
9 | Charge voltage, DACV 5 | 0 = Adds 0 mV of charger voltage 1 = Adds 512 mV of charger voltage |
10 | Charge voltage, DACV 6 | 0 = Adds 0 mV of charger voltage 1 = Adds 1024 mV of charger voltage |
11 | Charge voltage, DACV 7 | 0 = Adds 0 mV of charger voltage 1 = Adds 2048 mV of charger voltage |
12 | Charge voltage, DACV 8 | 0 = Adds 0 mV of charger voltage 1 = Adds 4096 mV of charger voltage |
13 | Charge voltage, DACV 9 | 0 = Adds 0 mV of charger voltage 1 = Adds 8192 mV of charger voltage |
14 | Charge voltage, DACV 10 | 0 = Adds 0 mV of charger voltage 1 = Adds 16384 mV of charger voltage |
15 | Not used; 1 = invalid write |
System current normally fluctuates as portions of the system are powered-up or put to sleep. With the input current limit, the output current requirement of the AC wall adapter can be regulated its rating, reducing system cost.
The total input current, from a wall cube or other DC source, is the sum of the system supply current and the current required by the charger. When the input current exceeds the set input current limit, the bq24780S device decreases the charge current to provide priority to system load. As the system current rises, the available charge current drops linearly to 0. Thereafter, charger goes into hybrid power boost mode and adds battery power to support system load. During turbo-boost mode, input current stays in regulation.
During DPM regulation, the total input current is the sum of the device supply current IBIAS, the charger input current, and the system load current ILOAD, and can be estimated as follows:
In the above equation, η is the efficiency the switching regulator and IBATTERY is the battery charging or discharging current (positive for charging and negative for discharging). In charging mode, the charger converter is in buck configuration. In turbo-boost mode, the charger converter is in boost configuration.
To set the input current limit, write a 16-bit InputCurrent() command (0x3FH or 0b00111111) using the data format listed in Table 14. When using a 10-mΩ sense resistor, the bq24780S device provides an input-current limit range of 128 mA to 8.064 A, with 128-mA resolution. Upon POR, default input current limit is 4096 mA on 10-mΩ current sensing resistor (RAC).
The ACP and ACN pins are used to sense RAC with default value of 10 mΩ. However, resistors of other values can also be used. For a larger sense resistor, larger sense voltage is given, and higher regulation accuracy, but at the expense of higher conduction loss.
BIT | BIT NAME | DESCRIPTION |
---|---|---|
0 | Not used; value ignored | |
1 | Not used; value ignored | |
2 | Not used; value ignored | |
3 | Not used; value ignored | |
4 | Not used; value ignored | |
5 | Not used; value ignored | |
6 | Not used; value ignored | |
7 | Input current, DACIIN 0 | 0 = Adds 0 mA of input current 1 = Adds 128 mA of input current |
8 | Input current, DACIIN 1 | 0 = Adds 0 mA of input current 1 = Adds 256 mA of input current |
9 | Input current, DACIIN 2 | 0 = Adds 0 mA of input current 1 = Adds 512 mA of input current |
10 | Input current, DACIIN 3 | 0 = Adds 0 mA of input current 1 = Adds 1024 mA of input current |
11 | Input current, DACIIN 4 | 0 = Adds 0 mA of input current 1 = Adds 2048 mA of input current |
12 | Input current, DACIIN 5 | 0 = Adds 0 mA of input current 1 = Adds 4096 mA of input current |
13 | Not used; 1 = invalid write | |
14 | Not used; 1 = invalid write | |
15 | Not used; 1 = invalid write |
To set the discharging current limit, write a 16-bit DischargeCurrent() command (0x39H or 0b00111111) using the data format listed in Table 15. When using a 10-mΩ sense resistor, the bq24780S device provides a discharge current limit range of 512 mA to 32.256 A, with 512-mA resolution. Upon POR, default discharge current limit is 6.144 A on 10-mΩ current sensing resistor (RSR).
To provide secondary protection during battery discharge, the bq24780S has an ILIM pin with which the user can program the maximum discharge current. Typically, the user sets the limit below battery pack over current protection (OCP) threshold for maximum battery discharge capacity. Refer to battery specification for OCP information. Internal discharge current limit is the lower one between the voltage set by DischargeCurrent(), and the voltage on ILIM pin. To disable this function, the user can pull ILIM pin above 1.6V, which is the maximum discharge current regulation limit. When ILIM is below 60mV, battery discharge is disabled. The preferred discharge current limit can be derived from Equation 5.
BIT | BIT NAME | DESCRIPTION |
---|---|---|
0 | Not used; value ignored | |
1 | Not used; value ignored | |
2 | Not used; value ignored | |
3 | Not used; value ignored | |
4 | Not used; value ignored | |
5 | Not used; value ignored | |
6 | Not used; value ignored | |
7 | Not used; value ignored | |
8 | Not used; value ignored | |
9 | Discharge current, DACIIN 0 | 0 = Adds 0 mA of input current 1 = Adds 512 mA of discharge current |
10 | Discharge current, DACIIN 1 | 0 = Adds 0 mA of input current 1 = Adds 1024 mA of discharge current |
11 | Discharge current, DACIIN 2 | 0 = Adds 0 mA of input current 1 = Adds 2048 mA of discharge current |
12 | Discharge current, DACIIN 3 | 0 = Adds 0 mA of input current 1 = Adds 4096 mA of discharge current |
13 | Discharge current, DACIIN 4 | 0 = Adds 0 mA of input current 1 = Adds 8192 mA of discharge current |
14 | Discharge current, DACIIN 5 | 0 = Adds 0 mA of input current 1 = Adds 16384 mA of discharge current |
15 | Not used; 1 = invalid write |