This application relates to charging batteries, and more particularly to circuits and techniques for directly charging batteries with a flyback converter.
Battery-powered devices such as a cellular telephone offer freedom and mobility by allowing users the ability to operate devices without being connected to a power grid. As these devices integrate more features and push for higher performance, they consume more power and require longer battery life. The amount of charge required to recharge the battery thus increases but the longer the recharge time, the less useful a mobile device becomes. Thus, reducing the charging time of battery-powered devices increases the use and benefit of such devices.
It is conventional for a mobile device such as a cellular telephone to be charged through a data interface cable such as a Universal Serial Bus (USB) cable. A USB cable has a current limit that cannot be exceeded for safety reasons. A power adapter such as a flyback converter that drives the USB cable to recharge the mobile device's battery must thus not exceed the current limit, which undesirably lengthens the charging time. To decrease the charging time despite the current limits of USB cables, certain fast charging protocols have been developed in which the output voltage driven from the power converter through the USB cable is elevated from a default level (for example, from 5V to 9V or 12V etc.) to deliver higher power without increasing the current above the charging cable limits. But such increased voltages require the mobile device to include a DC-DC converter to reduce the received voltage to a suitable level for battery charging. The DC-DC converter generates heat that limits the charging time reduction. In addition, the mobile device manufacturing cost is increased by the inclusion of the DC-DC converter.
To eliminate the need for a DC-DC converter in the mobile device, direct charging techniques have been developed in which the flyback converter directly charges the battery of the mobile device. The mobile device thus either does not include such an intervening DC-DC switching power converter or bypasses its use during a direct charging mode. In addition, modem USB cable current limits have been increased to, e.g., 4 Amps such that direct charging offers a desirably decreased charging time. A direct charging of a discharged battery typically proceeds over three phases. In a first phase, the battery voltage is low such that the direct charging occurs in a constant-current mode that drives the battery with the maximum allowable current over the USB cable (e.g., 4 A). The discharged battery's voltage gradually rises over the first phase until it reaches a battery voltage limit such as 4.3 V. The direct battery charging then enters a second phase involving a series of constant-current modes in which the current limit is successively decreased in steps from the USB current limit to a minimum reduced minimum current such as 2 A. With each reduction in the current limit, the battery voltage first drops and then increases until it reaches the voltage maximum, whereupon a lower current limit is enforced. When the battery voltage again reaches the voltage maximum with the current limit at the minimum limit for the second phase, the direct battery charging procedure enters into a third phase of constant voltage operation at the voltage maximum. The current slowly decreases during the third phase until the battery is fully charged.
But modern smartphones tend to be quite expensive such that it would be disastrous if the power adapter damages the smartphone's battery during the direct charging process. In that regard, the output voltage and output current from the power adapter must typically be closely monitored during the direct charging process. The output voltage may be monitored by the flyback converter's secondary-side controller using an analog-to-digital converter (ADC). But the monitoring of the output current typically requires the use of a sense resistor in series with the transformer's secondary winding so that the output current may be sensed by an ADC and reported to the mobile device. Given the high output currents (e.g. 4 A) used in direct charging, even a very small resistance (e.g., in the tens of mill-ohms) for the sense resistor introduces a significant power loss.
Thus there is a need in the art for flyback converters configured for direct charging without the use of a secondary-side sense resistor.
To eliminate the need for a secondary-side sense resistor, a direct charging scheme is provided in which the secondary-side controller is configured to detect whether the primary-side controller is regulating the delivery of power to the mobile device's battery in a constant voltage or a constant current mode. For brevity, the primary-side controller is also denoted herein as a primary controller. Similarly, the secondary-side controller is also denoted herein as a secondary controller. The constant voltage mode occurs at an output voltage set by the mobile device. Similarly, the constant current mode occurs at an output current set by the mobile device. The charging occurs over a data interface cable such as a USB cable or a Lightning cable such that the mobile device may readily communicate the desired output voltage and output current limits to the secondary controller in the flyback converter through the data channel in the data interface cable. But the secondary controller is isolated from the primary controller by the flyback's transformer. To enable the secondary controller to communicate the output voltage and output current limits to the primary controller, the flyback converter includes a data channel coupled between the two controllers. For example, the primary-side and secondary-side controllers may be coupled through an independent data channel such as an optocoupler or a capacitor. The secondary controller transmits voltage pulses through the independent data channel to transmit the desired data to the primary controller as known in the art. The independent data channel is dedicated to the data delivery such that primary-only feedback techniques are used by the primary controller to measure the output voltage.
Alternatively, the secondary controller may use primary-only techniques to transmit the desired data. The resulting communication is denoted herein as primary-only data communication to distinguish it from data communication over a dedicated data channel. The secondary controller transmits data pulses in a primary-only data communication embodiment by selectively disabling the rectification of the secondary side current such as through shorting out an output diode or by pulsing a synchronous rectification transistor switch. The shorting of the output diode or the closing of the synchronous rectification switch cause a voltage pulse to be reflected onto the primary winding (and also an auxiliary winding if included). The primary controller senses the resulting pulsing of the drain voltage for its MOSFET power switch transistor (more generally, the pulsing of a power switch transistor terminal such as a bipolar junction power switch transistor terminal) to receive the transmitted data.
Regardless of whether the mobile device's output voltage and output current commands are communicated over an optocoupler or through primary-only data communication, the primary controller then begins to regulate the power switch cycling to attempt to first meet the desired output voltage. If despite this regulation of the power switch cycling, the secondary controller detects that the output voltage is lower than the desired output voltage by a threshold amount, the secondary controller detects that the regulation is a constant-current (CC) regulation. If the secondary-side controller detects that the desired output voltage is within a threshold amount (plus or minus) from the desired output voltage, the secondary controller detects that the regulation is a constant-voltage (CV) regulation.
The resulting constant current and constant voltage regulation detection by the secondary controller is quite advantageous in that primary controller may readily determine that the output current is at the desired constant current limit using the equation of IOUT=kcc/2*Npri/Nsec/Rs, where kcc is a coefficient for the constant current limit, Npri/Nsec is the transformer primary side to secondary side turns ratio, and Rs is the current sense resistor in series with the power MOSFET at the primary side. The kcc coefficient depends upon the regulation of the power switch transistor cycling such as the power switch transistor on time and also the transformer reset time. With regard to the regulation of the power switch cycling, the primary controller thus has a choice with regard to whether this regulation proceeds in the constant voltage or the constant current mode. In the constant-current mode, the primary controller then knows the resulting output current from the equation discussed above. Note that the use of a current sense resistor on the primary side is conventional and does not raise the power loss concerns that a secondary-side sense resistor would due to the reduced current though the primary-side sense resistor. Since the secondary controller knows the constant current limit since it receives this information from the mobile device, the secondary controller may be assured that the output current equals the constant current limit if the output voltage is below the desired output voltage limit by a threshold amount. The secondary controller may then assert a constant-current flag signal to alert the mobile device that the desired output current has reached the constant current limit. This is quite advantageous in that direct charging requires a knowledge of the output current by the flyback converter that would otherwise require a power-robbing secondary-side sense resistor.
The assertion of the constant-current flag signal (CC_Flag) is carried over the data channel in the data interface cable to the mobile device to signal to the mobile device that the output current equals the desired current limit (Icmd). The mobile device thus knows whether the power switch regulation is in a constant voltage or a constant current mode. By deliberating increasing or decreasing the output current limit or the output voltage limit (Vcmd), the mobile device can thus force the regulation in and out of constant current mode to effect the desired output current and output voltage from the flyback converter.
The secondary controller receives from the mobile device the requested current limit (Icmd) and the requested output voltage (Vcmd). The secondary controller can then transmit the desired current limit and requested output voltage to the primary controller as discussed above. The secondary controller then checks if the output voltage (Vbus for the USB cable) voltage reaches Vcmd. If Vbus is substantially equal to Vcmd, and the output current hasn't reached Icmd, the secondary controller does not assert the constant current flag to indicate that the output current is lower than the requested current limit. The de-assertion of the constant-current flag informs the mobile device that it can increase its voltage request. After receiving the increased voltage limit command, the secondary controller will then transmit the updated Vcmd accordingly to the primary controller. The primary controller then changes the power switch regulation so that the output voltage increases. But while the output voltage is less than the updated voltage limit, the secondary controller asserts the constant-current flag to signal to the mobile device that the output current equals the current limit (the flyback converter operating in a constant-current mode). When the output voltage reaches the voltage limit, the constant current flag is de-asserted to signal to the mobile device that the flyback converter is operating in the constant-voltage mode.
An efficient means of battery charging is provided in which the charging operation is controlled through current or voltage flags and a comparison system. The following discussion will be directed to a flyback converter power adapter (PA), such as a travel adapter or USB power supply, and a battery powered device (BPD), such as a phone, tablet, or USP powered device, but it will be appreciated that the resulting techniques may be widely applied to other types of PAs and BPDs without deviating from the scope of the invention.
An example charging system 100 including a flyback converter power adapter 105 and a mobile (client) device 130 is shown in
A secondary controller 125 couples to data terminals such as terminals D+ and D− for a data interface cable/connector. Secondary controller 125 can thus receive a digitized output voltage limit command (Vcmd) and a digitized output current limit command (Icmd) from mobile (client) device 130. The following discussion will assume that the data interface cable is a USB cable but it will be appreciated that the direct charging disclosed herein may be practiced with other types of data interface cables such as the Lightning cable used for iPhones. The USB cable also includes an output voltage terminal and a ground (GND) terminal so that the output voltage and output current may be driven over the USB cable to mobile device 130. Secondary controller 125 includes an ADC 115 for digitizing the output voltage so that it may report the digitized output voltage to mobile device 130 over the D+ and D− data channels of the USB cable. Similarly, secondary controller 135 transmits the constant current flag over the D+ and D− data channels to mobile device 130. Secondary controller 300 transmits the desired output current limit and output voltage limit through an independent data channel 110 such as an optocoupler but it will be appreciated that primary-only data communication may be used as discussed above to transmit this data to primary controller 120.
As noted earlier, primary controller 120 may regulate the cycling of the power switch transistor S1 in a constant-current mode to provide an output current: IOUT=kcc/2*Npri/Nsec/Rs, where kcc is a coefficient for the constant current limit, Npri/Nsec is the transformer primary side to secondary side turns ratio, and Rs is the current sense resistor (not illustrated) in series with the power switch transistor S1 at the primary side. The kcc coefficient depends upon the regulation of cycling of the power switch transistor S1 such as the power switch transistor on time and also the transformer reset time. In particular, primary controller 120 will attempt to drive the output voltage Vbus from flyback converter to the desired output voltage limit such that it would operate in constant-voltage mode. But if the cycling of the power switch in striving to reach constant-voltage operation would lead to an output current that exceeds the current limit, primary controller 120 instead transitions to a constant-current operation at the desired current limit. With regard to the constant-voltage and constant-current modes of operation, secondary controller 125 will monitor the output voltage VBUS through, e.g., ADC 115 to determine whether the output voltage is sufficiently close to the desired output voltage limit. For example, secondary controller 125 may be configured to monitor whether the output voltage is greater than the difference between the desired output voltage and a guard band margin voltage (Vmargin). Should secondary controller 125 determine that the output voltage is less than this difference, it de-asserts the constant current flag to signal to mobile device 130 that flyback converter 105 is operating in a constant-current mode. Conversely, should secondary controller 125 determine that the output voltage is greater than the difference between the output voltage and Vmargin, secondary controller 125 asserts the constant current flag to signal to mobile device 130 that flyback converter 105 is operating in a constant-voltage mode. Secondary controller 125 thus does not need a sense resistor to monitor the output current from flyback converter, which advantageously increases efficiency as compared to conventional direct charging techniques.
Although the assertion of the constant current flag to signal whether operation proceeds in a constant-current or constant-voltage mode of operation is convenient, note that the inclusion of the constant current flag is optional in that mobile device 130 itself may be configured to determine whether the output voltage is sufficiently close to the desired voltage limit. Mobile device 130 may thus determine on its own whether flyback converter 105 is operating in a constant-current or a constant-voltage mode of operation in alternative embodiments. Regardless of where the constant-current or constant-voltage determination is made, mobile device 130 may then proceed to alter the output current or output voltage limits to effect the desired charging profile for its battery. Such a charging profile may occur according to the three phases discussed above. Control during these three phases will be discussed further below.
In the first phase of battery charging, the battery is discharged such that the output voltage will gradually climb from the discharged state to some maximum voltage. The mobile phone will thus successively increase the desired voltage Vcmd during the first phase. The desired output current Icmd stays constant such as at some output maximum (e.g., 4 A). For a given value of Vcmd, the flyback converter will initially be in the constant-current mode until the output voltage reaches Vcmd, whereupon constant-voltage regulation proceeds. The mobile phone reacts to the transition to constant-voltage regulation by increasing Vcmd such that the flyback converter transitions to constant-current regulation. But as charge is built up in the battery, eventually the output voltage will again reach the revised value of Vcmd, whereupon Vcmd is again increased. In this fashion, the output voltage is successively increased during the first phase of battery direct charging.
The resulting control by mobile device 130 of the desired output voltage and output current limits during the first phase of direct battery charging is summarized in the flow chart shown in
If the Vbus voltage is less than (Vcmd−Vmargin), then the secondary controller can assert the constant-current flag in an act 250. In a subsequent act 260, Vbus is compared to (Vcmd+Vmargin). If Vbus is less than Vcmd plus Vmargin, then the method returns to act 230. If Vbus is less than Vcmd plus Vmargin, the mobile device decreases the desired Vcmd in an act 270.
Once the Vcmd reaches a maximum amount for the first phase of direct battery charging, the direct battery charging method transitions to the second phase in which the desired output current Icmd is successively reduced. Various waveforms for system 100 during the second phase are shown in
The resulting transitions between constant-voltage and constant-current regulation during the second phase are shown in
Referring again to
The resulting transitions between constant-current and constant-voltage operation for the second phase are shown in
Phase 3 operation proceeds in a constant voltage mode during which time the output current continues to drop to maintain the constant-voltage regulation. The Icmd and Vcmd values are as set at the end of the second phase operation and need not be changed by the mobile device during phase 3 operation. The resulting constant-voltage/constant-current transition point is shown in
It will be appreciated that a constant-voltage flag could also be used in lieu of the constant-current flag. Such flags would be the inverse of each other. As those of some skill in this art will by now appreciate and depending on the particular application at hand, many modifications, substitutions and variations can be made in and to the materials, apparatus, configurations and methods of use of the devices of the present disclosure without departing from the scope thereof. In light of this, the scope of the present disclosure should not be limited to that of the particular embodiments illustrated and described herein, as they are merely by way of some examples thereof, but rather, should be fully commensurate with that of the claims appended hereafter and their functional equivalents.
This application claims the benefit of U.S. Provisional Application No. 62/341,621, filed May 25, 2016.
Number | Date | Country | |
---|---|---|---|
62341621 | May 2016 | US |