Autonomous Adapter Pass-Through Mode for Buck-Boost Battery Charger

By introducing autonomous adapter pass-through mode into the battery charger, the problems of power management and battery protection under the USB-C port are solved, and the efficient and safe operation of the battery charger is achieved.

CN110048474BActive Publication Date: 2024-11-01RENESAS ELECTRONICS AMERICA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910044710.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-01-17
Filing Date
2019-01-17
Publication Date
2024-11-01
Estimated Expiration
2039-01-17

Smart Images

  • Figure CN110048474B_ABST
    Figure CN110048474B_ABST
Patent Text Reader

Abstract

According to some aspects, the present invention relates to systems and methods for providing an autonomous adapter pass-through mode in a battery charger. For example, when the adapter is connected to the battery charger but the system is idle, the invention allows power from the adapter to be directly coupled to the battery charger output, and the main switch is turned off, thereby significantly reducing the current consumption of the battery charger. These and other embodiments provide various circuits and techniques to ensure that the battery is protected in this mode. According to another aspect, the invention enables the charger itself to autonomously enter and exit the adapter pass-through mode, thereby eliminating the need for excessive handling overhead of components external to the battery charger.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application No. 62 / 618,488, filed on January 17, 2018, the contents of which are incorporated herein by reference in their entirety. Technical Field

[0003] The present invention relates generally to battery charging and, more particularly, to an autonomous adapter pass-through mode for a buck-boost charger. Background Art

[0004] Battery chargers, particularly for mobile computing devices, are evolving to be responsible for more than just charging the battery when a power adapter is connected. For example, a conventional mobile computing device such as a laptop or notebook computer includes a dedicated and usually proprietary plug-in port for a power adapter. When the adapter is plugged into the dedicated port, the battery charger is responsible for charging the battery using the adapter voltage specified by the manufacturer of the mobile computing device. Relatedly, most conventional mobile computing devices also include standardized interfaces, such as a Universal Serial Bus (USB) port. When an external device is plugged into such a USB port, the mobile computing device can exchange data with the external device using a known USB protocol. In addition, the USB standard allows a connected external device (e.g., a smartphone with a micro USB port) to receive power from the mobile computing device via the USB interface of the mobile computing device, such as for charging the external device's own battery. Therefore, conventional battery chargers are also responsible for allowing power to be supplied from the battery to the external device, including powering from the mobile computing device's own battery when the power adapter is not connected.

[0005] Recently, some mobile computing device manufacturers have begun replacing the typically separate and proprietary power adapter ports with USB ports that support the newer USB Type-C (USB-C) or USB Power Delivery (USB PD) protocols. USB-C supports bidirectional power flow at much higher levels (e.g., 5V) than previous versions of the USB interface. Starting from the default 5V voltage, the USB-C port controller is able to negotiate with the plugged-in device to increase the port voltage to 12V, 20V, or other mutually agreed voltage at a mutually agreed current level. The maximum power that a USB-C port can deliver is 20V at 5A current, or 100W of power, which is more than enough to charge a computer, especially since most 15-inch Ultrabooks only require about 60W of power.

[0006] As mobile system manufacturers transition to using power adapters connected to USB-C ports, traditional battery chargers will need to change. Battery chargers must be able to charge the battery of a mobile computing device (such as an Ultrabook with a 1, 2, 3, or 4-cell battery pack) using power from a USB-C adapter with a 5V-20V range. Future battery chargers will also need to meet the need to power external electronic devices (such as tablets, smartphones, power banks, etc.) connected to mobile computing devices through the USB-C port. To achieve this requirement, many challenges need to be overcome, such as problems that occur when an adapter is connected to the USB-C port but the system is idle. Summary of the invention

[0007] According to certain aspects, the present invention is directed to systems and methods for providing an autonomous adapter pass-through mode in a battery charger. For example, when an adapter is connected to the battery charger but the system is idle, the present invention allows power from the adapter to be coupled directly to the battery charger output and the main switch is disabled, thereby greatly reducing the battery charger current draw. These and other embodiments provide a variety of circuits and techniques to ensure that the battery is protected in this mode. According to further aspects, the present invention enables the charger itself to autonomously enter and exit the adapter pass-through mode, thereby eliminating the need for excessive processing overhead for components external to the battery charger. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] These and other aspects and features of the present invention will become apparent to those skilled in the art by reading the following description of specific embodiments in conjunction with the accompanying drawings, in which:

[0009] Figure 1 is a block diagram of an example system including a battery charger with an adapter pass-through mode according to an embodiment of the present invention.

[0010] Figure 2 is shown with IC Figure 1 A simplified schematic diagram of an example implementation of a battery charger in FIG.

[0011] Figure 3 is a schematic block diagram illustrating an example implementation of a PTM circuit according to an embodiment of the present invention.

[0012] Figure 4 is a diagram showing an example implementation of a PTM mode entry / exit determination logic according to an embodiment of the present invention.

[0013] Figure 5 is a flow chart illustrating an exemplary method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0014] Embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which are provided as illustrative examples of embodiments to enable those skilled in the art to practice implementation schemes and alternatives apparent to those skilled in the art. It is noteworthy that the following figures and examples are not meant to limit the scope of embodiments of the present invention to a single embodiment, but other embodiments are available by interchanging some or all of the described or illustrated elements. In addition, in the case where certain elements of embodiments of the present invention can be partially or completely implemented using known components, only those parts of these known components necessary for understanding embodiments of the present invention will be described, and detailed descriptions of other parts of these known components will be omitted to avoid blurring embodiments of the present invention. As will be apparent to those skilled in the art, embodiments described as implemented in software should not be limited thereto, but may include embodiments implemented in hardware or a combination of software and hardware, and vice versa, unless otherwise specified herein. In this specification, embodiments showing a single component should not be considered as limiting; on the contrary, unless otherwise explicitly stated herein, the present disclosure is intended to cover other embodiments including multiple identical components, and vice versa. In addition, unless explicitly stated, the applicant does not intend to give uncommon or special meanings to any term in the specification or claims. In addition, embodiments of the present invention include currently known and future-known equivalents of the known components mentioned herein by way of explanation.

[0015] According to certain general aspects, embodiments of the invention relate to methods and apparatus for operating a battery charger in a computing system with specific system load requirements, battery configurations, and external device power support. According to other aspects, when an adapter is connected to the battery charger but the system is idle, embodiments allow power from the adapter to be directly coupled to the battery charger output and the main switch is disabled, thereby significantly reducing the current consumption of the battery charger. These and other embodiments provide various circuits and techniques to ensure that the battery is protected in this mode.

[0016] Figure 11 is a block diagram showing various aspects of an example system 100 incorporating embodiments of the present invention. System 100 is a computing device (e.g., a notebook computer (e.g., MacBook, Ultrabook, etc.), a laptop, a tablet computer (iPad, Surface, etc.), etc.), a mobile power supply, a USB-C interface platform, or any system using a battery that is sensitive to a power rail. In these and other embodiments, system 100 includes a load 116, such as a CPU running a traditional operating system such as Windows or Apple OS, and can be an x86 processor from Intel, AMD or other manufacturers, as well as other processors manufactured by Freescale, Qualcomm, DSP, GPU, etc. It is apparent that system 100 may include many other components not shown, such as solid-state and other disk drives, memory, peripherals, displays, user interface components, etc. According to certain aspects, the system 100 in which embodiments of the present invention may find particularly useful applications has an operating power requirement that may exceed the power limits of technologies such as USB-A, for example, exceeding 60W. However, embodiments of the present invention are not limited to applications in such systems.

[0017] As shown, the system 100 includes a battery 104 and a battery charger 102. In an embodiment, the charger 102 is a buck-boost narrow output voltage DC (NVDC) charger. According to certain general aspects, during normal operation of the system 100, when a power adapter is plugged into the port 106, the battery charger 102 is configured to charge the battery 104. Preferably, in addition to charging the battery 104, the battery charger 102 is also adapted to convert power from the adapter to a voltage suitable for providing to components of the system 100 including the load 116 (e.g., in a buck mode, a boost mode, or a buck-boost mode as known in the art). According to certain other general aspects, when the power adapter is not plugged into the port 106, the battery charger 102 is configured to manage the power supply from the battery 104 to the load 116 and / or peripheral devices connected to the port 106 (e.g., in a buck mode, a boost mode, or a buck-boost mode as known in the art). Further details of the battery charger 102 according to an embodiment of the present invention will be provided below.

[0018] In other embodiments of the laptop computer (e.g., Ultrabook) and system 100, battery 104 may be a rechargeable 1S / 2S / 3S / 4S (i.e., 1, 2, 3, or 4) lithium-ion (Li-ion) battery. In these and other embodiments, port 106 may be a universal serial bus (USB) port, such as a USB Type-C (USB-C) port or a USB power delivery (USB PD) port. Although not described herein, the battery 104 may be a rechargeable 1S / 2S / 3S / 4S (i.e., 1, 2, 3, or 4) lithium-ion (Li-ion) battery. Figure 1As shown in FIG. 1 , a switch between the port 106 and the charger 102 may also be provided for controllably coupling power from an adapter connected to the port 106 to the charger 102, or alternatively providing system power to the charger 102 and / or the port 106. Such a switch may also include or be implemented as an active device, such as a back-to-back FET.

[0019] As further shown, an example system 100 in which embodiments of the present invention may find useful application includes a Type-C port controller (TCPC) 112 and an embedded controller (EC) 114. The TCPC 112 includes functionality for detecting the type of USB device connected to the port 106, for controlling switches associated with connecting the port 106 to the system 100, and for communicating port status to the EC 114 (e.g., via an I2C interface). The EC 114 is generally responsible for managing the power configuration of the system 100 (e.g., depending on whether a power adapter is connected to the port 106, etc., which is communicated to the EC 114 by the TCPC 112), receiving battery status from the battery 104, and communicating battery charging and other operational control information to the charger 102 (e.g., via an SMbus interface), as will become more apparent from the following description.

[0020] According to certain aspects, the applicants have recognized that problems such as Figure 1 Various problems with conventional battery chargers and / or adapters that include voltage regulators or converters are shown. One problematic situation is when the charger is plugged into the adapter but is not charging but is instead idle (i.e., VSYS is enabled). Certain industry and customer standards, such as EUP Lot 7 and Energy Star, have the most stringent requirements in the idle state, such as requiring less than 300 mW to be dissipated from the entire system. At the same time, in order to pass the 5V adapter voltage to the 20V output load, VSYS must remain greater than the battery voltage VBAT to prevent battery current from flowing back into the adapter. The battery must also be protected from overvoltage or discharge. Another issue to consider is heat (although these issues are generally easier to deal with). Finally, the charger 102 should preferably be able to manage the idle state in an autonomous manner; that is, the EC 114 should not be required to monitor the idle state for ease of use by the customer.

[0021] To address these issues, some conventional products have a pass-through mode from the adapter to the load, but they do not monitor to automatically exit this mode. In addition, these products are typically not battery chargers, but rather buck-boost bidirectional regulators. In other attempts, some conventional buck regulators enter and exit 100% duty cycle mode based on input / output voltage. Some regulators transition from buck to boost mode with a pass-through rather than a buck-boost stage (i.e., the regulated voltage is not tight). None of these attempted solutions are completely satisfactory.

[0022] According to certain aspects, embodiments of the present invention solve these and other problems by incorporating autonomous adapter pass-through mode functionality in a buck-boost charger. According to other aspects, embodiments of the present invention can monitor key parameters to independently enter and exit pass-through mode while keeping the system in safe operation. For example, an important goal met in embodiments is that the battery is always protected.

[0023] Figure 2 is a schematic diagram of an example implementation of an embodiment of the present invention using an integrated circuit 202 .

[0024] The exemplary charger 102 in these embodiments includes a plurality of power switching transistors, including a field effect transistor (FET) Q1, whose drain is coupled to a node 204 and whose source is coupled to an intermediate node 206. Another FET Q2 has its drain coupled to the node 206 and its source coupled to GND. The charger 102 includes an inductor L1 coupled between the node 206 and a node 208. The exemplary charger 102 in these embodiments also includes a FET Q4, whose drain is coupled to an output node 210 and its source is coupled to the intermediate node 208. Another FET Q3 has its drain coupled to the node 208 and its source coupled to GND. As shown, the output node 210 provides a system voltage VSYS to a system load 116, such as a CPU (not shown).

[0025] The charger 102 in this example also includes a battery current sensing resistor Rs2 coupled between the output node 210 and the intermediate node 212. Another FET 214 has its source coupled to the node 212 and its drain coupled to the rechargeable battery 104 to generate a battery voltage VBAT. The gate of the FET 214 is coupled to the IC 202 for controlling the charging and discharging of the rechargeable battery 104. For example, when the power adapter is not connected, the FET 214 can be fully turned on to provide power to the system load through VSYS. When the power adapter is connected, the FET 214 can be controlled in a linear manner to control the charging of the rechargeable battery 104.

[0026] FETs Q1, Q2, Q3, Q4, and 214 are shown implemented using N-channel MOSFETs, but other types of switching devices may also be considered, such as P-channel devices, other similar forms (e.g., FETs, MOS devices, etc.), bipolar junction transistors (BJTs), insulated gate bipolar transistors (IGBTs), etc.

[0027] As shown, IC 202 according to an embodiment of the present invention includes a normal mode module 222 and a pass-through mode (PTM) module 224, which control the operation of transistors Q1, Q2, Q3 and Q4 via outputs connected to the gates of the transistors during normal mode and pass-through mode, respectively. For ease of illustration, modules 222 and 224 are shown separately, but may include common circuits, including circuits also shared by modules for controlling other operations of system 100 through IC 202. In addition and relatedly, although the description focuses on the operation of IC 202 when an adapter is connected to port 106, it is clear that IC 202 may include additional functionality for operating in other modes (e.g., when a power adapter is not connected to port 106 and battery 104 is supplying power to a load). For clarity, details of these additional functions and / or circuits will be omitted herein.

[0028] The module 222 operates the FETs Q1, Q2, Q3, Q4, and 214 in a buck mode, a boost mode, or a buck-boost mode to regulate the output voltage VSYS to a narrow DC range to stabilize the system bus voltage. The module 222 can operate when the system is supplied from an adapter, a battery, or a combination of both (e.g., only a battery 104 connected, only an adapter connected to the port 106, or a combination of both). Thus, in an embodiment, the module 222 is configured to operate under a variety of power and load conditions, such as a battery 104 configuration of 2, 3, or 4 lithium-ion batteries, an input voltage range of 3.2V to 23.4V, and a system output voltage VSYS range of 2.4V to 18.304V. The module 222 can be implemented using a variety of known technologies, so further details thereof will be omitted here for clarity.

[0029] According to various aspects of embodiments of the present invention, which will be described in more detail below, module 224 implements PTM operation to regulate output voltage VSYS when both an adapter and a battery are connected (as well as a variety of other conditions). Module 226 determines and manages autonomous PTM mode entry and exit conditions (i.e., the determination and selection of replacing the operation of module 222 with the operation of module 224 is managed entirely within IC 202), which will also be described in more detail below. It should be understood that IC 202 may include additional modules and other components for controlling operations according to other system requirements. However, for the sake of clarity of embodiments of the present invention, the details of these additional modules and components will be omitted here.

[0030] Figure 3 is a diagram illustrating an example implementation of the normal mode module 222 and the PTM module 224 according to an embodiment.

[0031] As shown in this example embodiment, modules 222 and 224 share substantially the same circuitry. More specifically, Figure 3As shown, for both normal mode and PTM mode, there are four control loops: system voltage loop 302, charging current loop 304, adapter current loop 306, and input voltage loop 308. As further shown, each loop has its own DAC and feedback that produces a corresponding voltage that is provided to the error amplifier.

[0032] During normal mode, the amplified error from each loop includes the difference between the feedback voltage and the DAC voltage. The loop selector 310 receives and compares the four amplified loop errors and selects the loop with the highest error (or the highest error above the minimum threshold error voltage) as the regulation loop in control. According to the loop selected by the loop selector 320, the modulator 312 generates a PWM modulation signal using the loop error from the selected one of the loops 302, 304, 306, 308. The PWM driver 314 operates the FETs Q1, Q2, Q3, Q4 based on the PWM modulation signal from the modulator 312.

[0033] More specifically, if Figure 3 As shown in the example of , when loop selector 320 selects loop 302, modulator 312 is used to adjust the output voltage VSYS to the reference voltage specified by CV_DAC. When loop 304 is selected, modulator 312 is used to adjust the voltage corresponding to the battery current on Rs2 to the reference voltage specified by I_BAT_DAC. When loop 306 is selected, modulator 312 is used to adjust the voltage corresponding to the battery current on Rs1 to the reference voltage specified by I_AC_DAC. When loop 308 is selected, modulator 312 is used to adjust the adapter voltage VIN to the reference voltage specified by VIN_DAC.

[0034] Typically, during PTM, the circuit selector 320 is disabled and power from the adapter coupled to the port 106 is provided directly to the load 116, which significantly reduces the amount of power consumed by the charger 102. To this end, the PWM driver 314 turns on Q1 and Q4 and turns off Q2 and Q3. However, in an embodiment, rather than completely stopping the switching of Q1, Q2, Q3, and Q4 as performed in normal mode (e.g., to maintain the regulated voltage VSYS at the output), the entry / exit module 226 activates a timer in the modulator 312 so that when it expires due to the absence of switching cycles, a fast cycle of the gates is imposed on Q2 and Q3 to refresh the gate voltages.

[0035] Similarly, during PTM, entry / exit module 226 receives outputs from loops 302, 304, 306, and 308 to control PTM mode entry / exit, as described in more detail below. It should be noted that although the same DAC may be used, the DAC settings in PTM may be different than in normal mode.

[0036] Figure 4 is a logic block diagram illustrating an example implementation of the autonomous PTM entry / exit module 226 according to an embodiment.

[0037] like Figure 4 As shown, flip-flop 402 turns on its Q output based on the set input from AND gate 404, indicating entry into PTM mode, and turns off the Q output based on the reset input from OR gate 406, indicating exit from PTM mode.

[0038] As further shown in this example, AND gate 404 has four inputs, all of which need to be set to "ON" so that the output of AND gate 404 is "ON" and therefore flip-flop 402 indicates entry into PTM mode. One input is a PTM request control bit. In an embodiment, this input is set to "ON" based on an input from EC 114 to charger 102 (e.g., via SMBus). Another input is BGATE_OFF, which, when in the "ON" state, indicates that the BFET 214 connected to the battery 104 is turned off, thereby protecting the battery during PTM mode. The third input is ENCHG=0, which, when "ON", indicates that charging of the battery 104 by the charger 102 is completely disabled. The fourth input is VIN=VOUT, which is set to "ON" when the charger 102 determines that the input voltage VADP from the adapter at port 106 is substantially equal to the output voltage VSYS at the output of the charger 102. For example, modules 224 and / or 226 may include circuitry for controlling modulator 312 to ramp output voltage VOUT / VSYS toward the value of input voltage VIN / VADP, and these voltage values ​​may be compared via loops 302 and 308 .

[0039] return Figure 4 In the example of FIG. 1 , the OR gate 406 has seven inputs, and when any one of them is set to “ON”, the output of the OR gate 406 is “ON”, so that the flip-flop 402 indicates exiting from the PTM mode. When the charger 102 determines that the adapter voltage exceeds the overvoltage value, the first input ADPOV is set to “ON”. For example, Figure 4As shown, this occurs when the comparator 408 in the module 226 detects that the input voltage VIN from the adapter (after being divided by 12 in this example) drops below the reference value (1.92V or 1.4V in this example). When the charger 102 determines that IDCGT has reached 300mA, the second input BATDC is set to "ON". This provides a margin to prevent the battery BFET 214 from turning back on until VSYS is approximately equal to VBAT to prevent damage to the BFET. When the charger 102 determines that IGTCBC is ON, the third input ACLIM is set to ON, indicating that the adapter current has reached the limit. The fourth input is set to "ON" when the adapter voltage value AVSEL indicates that VIN has dropped below the undervoltage threshold voltage.

[0040] The fifth input of the OR gate 406 is when the input voltage VIN substantially drops below the output voltage VOUT, which can be detected, for example, by comparing VIN with a voltage reference from a DAC. The sixth input is set to "ON" when the CC register bit has been set to a non-zero value, indicating that the battery needs to be charged. The seventh input is set to "ON" when the charger 102 detects any one of a plurality of selectable fault conditions (e.g., output overcurrent fault WOC, power on reset fault POR, and overtemperature fault OT).

[0041] Figure 5 is a flow chart illustrating an exemplary method for implementing an autonomous adapter PTM according to an embodiment.

[0042] To illustrate, Figure 5 The charger 102 is shown operating in a normal (ie, non-PTM) mode in block S502. Figure 2 In the example of , as described above, this may include a normal mode 222 that controls the switching of FETs Q1, Q2, Q3, and Q4 to provide a regulated output to the load 116, including when an adapter is or is not connected to the port 106 and whether the battery 104 is charging.

[0043] Box S504 represents the conditions that indicate a transition from normal mode to PTM mode. For example, the EC 114 may request the charger 102 to transition to PTM mode by sending a signal notifying that PTM is enabled (e.g., by setting an appropriate bit or sending an appropriate SMBus signal). It should be understood that the EC 114 (alone or interacting with the charger 102 while the module 222 is still active) may also perform multiple PTM mode setting operations simultaneously or in advance. This may, for example, include performing certain operations to ensure that the BFET 214 is turned off and the battery 104 is otherwise protected. The EC 114 may do this by writing specific values ​​to registers via the SMBus, such as writing CC=0A and IDM disabled (e.g., Control1, bit6). The EC 114 may also perform certain operations to cause VSYS and / or VIN / VADP to ramp toward the same voltage value. With respect to VSYS, the EC 114 may direct the charger 102 to regulate VSYS to a certain target voltage (e.g., via the SMbus). Additionally or alternatively, regarding VIN / VADP, EC 114 can cause TCPC 112 to negotiate the same target voltage with the adapter via port 106 and USB-C protocol. In an embodiment, EC 114 can also perform certain operations to prevent battery current from flowing back to the adapter, such as by writing the VBAT voltage level to VINREG in charger 102 via SMBus.

[0044] In response to the indication of requesting the PTM mode in S504, in block S506, the charger 102 autonomously performs certain operations to transition to the PTM mode. Figure 4 , the block may include module 226, which monitors several conditions before causing flip-flop 402 to latch the PTM state (e.g., Q output is "ON"), thereby activating PTM module 224 and turning off the main switching performed by module 222. Importantly, module 226 monitors VSYS / VOUT to determine when / if it has reached the level of VADP / VIN. Figure 4 In the example of , several other PTM mode entry conditions are verified, including determining whether BGATE 214 is closed and whether charging has been disabled.

[0045] Once latched, the PTM mode operation of the charger 102 begins in block S508. This block includes the operation of the PTM module 224, such as in conjunction with Figure 3 As described.

[0046] Embodiments of the present invention allow the PTM mode to be exited autonomously or by an external request, such as from the EC 114 . Figure 5 The exemplary method shown describes the former. More specifically, Figure 5 As shown, combined Figure 4 As described in more detail, block S510 includes a PTM entry / exit module 226 that monitors certain conditions, any of which may cause the PTM mode to be exited. For example, these conditions include an adapter overvoltage condition (ADPOV), a battery discharge condition, an adapter overcurrent condition (ACLIM), an input voltage undervoltage condition, an input / output voltage mismatch condition, a battery charging requirement, and other fault conditions.

[0047] like Figure 5 As further shown in the example of , when a PTM mode exit is detected in box S510, the charger 102 can perform a number of additional autonomous exit operations in box S512. For example, in the case of ADPOV, the charger 102 can perform a restart operation, turn off ASGATE, and perform similar operations as in any other ADPOV condition. In the case of battery discharge, since the IDM has been disabled, BGATE 214 will still remain OFF. However, the charger 102 can provide transient margin because VADP should be much higher than the battery voltage VBAT. Therefore, the charger 102 will not allow BFET 214 to turn back on until VSYS and VBAT are approximately the same to prevent damage to BFET 214. In any of these or other exit conditions, operation returns to box S502 and the main switching resumes, for example, by the normal mode operation module 222.

[0048] As mentioned above, although not Figure 5 , the PTM mode exit may be controlled by an external entity, such as the EC 114 using an SMBus signal provided to the charger 102. This may include performing operations to ensure that the PTM module 224 is disabled and to restore switches controlled by the module 222. For example, the EC 114 may write the SMBus PTM disable bit and write a non-zero value to the CC register via SMBus CC=non-zero (CC register). The EC 114 (alone or in interaction with the charger 102) further preferably monitors VSYS before allowing the BFET 214 to turn on, otherwise the battery will see excessive voltage / current spikes. This may be handled internally using comparators and ideal diode mode logic. Finally, the EC 114 may optionally write various SMBus target values, such as IDM, VINREG, and ACLIM.

[0049] It should be noted that the autonomous PTM mode of embodiments of the present invention can be set and forgotten by the customer, so no overhead processing is required to monitor and protect the system or battery. Therefore, the buck-boost charger with autonomous PTM can replace all existing buck-boost chargers.

[0050] Although not described in detail here, in additional or alternative embodiments, for low power needs, a low ohmic switch can short the adapter to VSYS. It can even be put into LDO mode to provide some OCP and OV protection. The same fault conditions can be used to exit this mode.

[0051] Although the embodiments of the present invention have been described in detail with reference to preferred examples thereof, it will be apparent to those skilled in the art that changes and modifications in form and detail may be made without departing from the spirit and scope of the present disclosure. The appended claims are intended to cover such changes and modifications.

Claims

1. A battery charger comprising: an input terminal configured to be coupled to a power adapter; an output terminal configured to be coupled to a load; a switching circuit configured to provide a regulated voltage to the output terminal using power from the input terminal; a battery switch configured to allow the switching circuit to allow the power from the input terminal to further charge a battery; and a through mode PTM circuit configured to implement a PTM operation in response to a PTM request, the PTM operation comprising controlling the switch circuit so that power from the input terminal passes through the switch circuit and is directly coupled to the output terminal, wherein the PTM circuit is further configured to ensure that the battery switch is turned off and protect the battery during PTM operation, wherein the PTM circuit is further configured to autonomously manage entry into PTM operation, The PTM circuit includes a trigger configured to latch a signal indicating PTM operation in response to the PTM request logically combined with multiple signal inputs monitored by the PTM circuit, the multiple signal inputs including a signal indicating whether the battery switch is turned off and a signal indicating whether the input voltage at the input terminal is substantially equal to the output voltage at the output terminal.

2. The battery charger of claim 1 , wherein the PTM circuit is further configured to autonomously manage exit from PTM operation.

3. The battery charger of claim 2, wherein the PTM circuit includes a trigger configured to turn off a signal indicative of PTM operation in response to a logical combination of a plurality of other signal inputs monitored by the PTM circuit.

4. The battery charger according to claim 3, wherein the logical combination of the plurality of other signal inputs includes any one of an adapter overvoltage signal, a battery overcurrent signal, an adapter overcurrent signal and an adapter undervoltage signal being valid.

5. The battery charger of claim 1 further comprising a plurality of regulation loops for controlling the switching circuit during normal mode operation.

6. The battery charger of claim 5, wherein the plurality of regulation loops include an output voltage regulation loop for making the voltage at the output terminal substantially the same as a first reference voltage.

7. The battery charger of claim 5, wherein the plurality of regulation loops includes a battery current regulation loop for making the battery current substantially less than a current indicated by the second reference voltage.

8. The battery charger of claim 5, wherein the plurality of regulation loops includes an adapter current regulation loop for causing the input current to be substantially less than a current indicated by a third reference voltage.

9. The battery charger according to claim 5, wherein the plurality of regulation loops include an input voltage regulation loop for making the voltage at the input terminal substantially the same as a fourth reference voltage.

10. A method for operating a battery charger having an input configured to be coupled to a power adapter and an output configured to be coupled to a load, the method comprising: During a normal mode, operating a switching circuit to provide a regulated voltage to the output using power from the input; at specified times during the normal mode, configuring a battery switch to allow the switching circuit to cause the power from the input terminal to further charge the battery; and Entry into PTM operation is managed autonomously using circuitry internal to the battery charger, which includes: monitoring a plurality of signal inputs and latching a signal indicating a pass-through mode (PTM) operation in response to a PTM request logically combined with the plurality of signal inputs, the plurality of signal inputs including a signal indicating whether the battery switch is off and a signal indicating whether an input voltage at the input terminal is substantially equal to an output voltage at the output terminal; implementing the PTM operation in place of the normal mode, the PTM operation comprising controlling the switch circuit so that power from the input terminal passes through the switch circuit and is directly coupled to the output terminal; and Ensures that the battery switch is turned off and protects the battery during PTM operation.

11. The method of claim 10, further comprising autonomously managing exit from PTM operation using circuitry internal to the battery charger.

12. The method of claim 10, further comprising using one of a plurality of regulation loops for controlling the switching circuit during normal mode operation.

13. The method of claim 12, wherein the plurality of regulation loops comprises: An output voltage regulation loop, used to make the voltage at the output terminal substantially the same as a first reference voltage; a battery current regulating loop for making the battery current substantially less than the current indicated by the second reference voltage; an adapter current regulating loop for making the input current substantially smaller than the current indicated by the third reference voltage; and an input voltage regulating loop for making the voltage at the input terminal substantially the same as the fourth reference voltage.