Short Circuit and Soft Short Protection for Data Interface Charging
20170346313 · 2017-11-30
Inventors
- Jianming Yao (Campbell, CA)
- Kai-Wen Chin (Campbell, CA)
- Yong Li (Campbell, CA)
- Cong Zheng (Campbell, CA)
- David Nguyen (Campbell, CA)
- Fuqiang Shi (Campbell, CA)
Cpc classification
H02J7/00034
ELECTRICITY
H02M1/32
ELECTRICITY
G01R31/50
PHYSICS
H02J7/00
ELECTRICITY
G01R31/52
PHYSICS
International classification
H02J7/00
ELECTRICITY
H02M1/32
ELECTRICITY
Abstract
A switching power converter is provided that communicates with a mobile device to receive a value of a load detection current. The switching power converter adjusts the cycling of a power switch until a constant current mode of operation is entered with a known output current driving the mobile device. The switching power converter subtracts the load current from the output current to measure a soft-short circuit current.
Claims
1. A flyback converter for charging a mobile device through a data interface cable, comprising: a primary-side controller configured to regulate the cycling of a power switch in a constant-current mode; a secondary-side controller configured to communicate through a data channel in the data interface cable with a load device to receive a value of a load current consumed by the load device during a soft-short circuit detection mode, wherein the primary-side controller is configured to adjust the cycling of the power switch until the flyback converter enters a constant current mode of operation in which it drives an output current into the data interface cable while the load device consumes the load current; and determine a difference between the output current and the load current to detect a soft-short circuit current.
2. The flyback converter of claim 1, wherein the secondary-side controller is further configured to communicate the detection of the soft-short current to the load device through the data channel in the data interface cable.
3. The flyback converter of claim 1, wherein the primary-side controller is configured to detect the soft-short circuit current responsive to the difference between the output current and the load current exceeding a soft-short circuit threshold.
4. The flyback converter of claim 1, wherein the primary-side controller is further configured to shut down the cycling of the power switch responsive to the detection of the soft-short circuit current.
5. The flyback converter of claim 1, wherein the load current equals zero, and wherein the secondary-side controller is configured to detect a soft-short circuit condition responsive to a voltage droop for an output voltage from the flyback converter exceeding a voltage droop threshold.
6. The flyback converter of claim 5, wherein the secondary-side controller is further configured to: measure the output voltage droop in a standby mode that delivers zero current to the load; compare the output voltage droop to the voltage droop threshold; and detect the soft-short circuit condition responsive to the comparison of the output voltage droop to the voltage droop threshold.
7. The flyback converter of claim 6, wherein the secondary-side controller is configured to reset the flyback converter responsive to the voltage droop rate being greater than the voltage droop threshold.
9. The flyback converter of claim 1, wherein the data interface cable is a USB cable.
10. A method of detecting a soft-short circuit, comprising: at a secondary-side controller for a flyback converter, receiving a load current value to be drawn by a load device coupled to the flyback converter through a data interface cable; communicating the load current value from the secondary-side controller to a primary-side controller for the flyback converter; while the load device consumes the load current, adjusting a regulation of a power switch in the flyback converter until the regulation is a constant-current regulation in which the flyback converter drives the data interface cable with an output current; and comparing a difference between the output current and the load current to a soft-short threshold to detect the soft-short circuit.
11. The method of claim 10, wherein adjusting the regulation of the power switch begins with a constant-current limit that is greater than the load current plus the soft-short threshold, and wherein the adjusting of the regulation of the power switch comprises reducing the constant-current limit until the regulation is the constant-current regulation.
12. The method of claim 10, wherein communicating the load current value from the secondary-side controller to the primary-side controller comprises communicating the load current value over an optoisolator.
13. The method of claim 10, wherein communicating the load current value from the secondary-side controller to the primary-side controller comprises pulsing a synchronous rectifier switch.
14. The method of claim 10, wherein communicating the load current value from the secondary-side controller to the primary-side controller comprises communicating the load current value over a capacitor.
15. The method of claim 10, further comprising switching off the flyback converter responsive to the detection of the soft-short circuit.
16. The method of claim 10, wherein the load device comprises a mobile telephone, the method further comprising alerting the mobile telephone of the soft-short circuit detection.
17. The method of claim 10, wherein the comparison of the difference between the output current and the load current to a soft-short threshold is performed by the primary-side controller, the method further comprising the primary-side controller alerting the secondary-side controller of the detection of the soft-short circuit.
18. A method of short or soft-short circuit condition detection, comprising: from a switching power converter, supplying a zero load current to a load device through a data interface cable while supplying an output voltage to the data interface cable; measuring an output voltage droop of the output voltage; comparing the output voltage droop to a voltage droop threshold to determine whether a soft-short circuit exists in the data interface cable.
19. The method of claim 18, wherein the switching power converter is a flyback converter.
19. The method of claim 18, further comprising: alerting the load device of the soft-short circuit determination.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023] Embodiments of the present disclosure and their advantages are best understood by referring to the detailed description that follows. It should be appreciated that like reference numerals are used to identify like elements illustrated in one or more of the figures.
DETAILED DESCRIPTION
[0024] An improved fault monitor is provided for switching power converters used to charge mobile devices through data interfaces such as a Universal Serial Bus (USB) cable, a mini-USB cable, a micro-USB cable, or an Apple Lightning cable. The following discussion will assume that the cable interface is a Universal Serial Bus (USB) interface but it will be appreciated that any interface that combines power delivery with data signaling may be protected as discussed herein. The following discussion will be directed to a flyback converter embodiment, but it will be appreciated that the fault monitor may be widely applied to other types of switching power converters such as buck or boost converters.
[0025] A flyback converter is disclosed that includes a secondary-side controller configured to monitor the data pins in the data interface cable so as to communicate with a device such as a mobile device coupled to the data interface cable. During a soft-short detection mode of operation, the mobile device communicates an ILOAD profile to the secondary-side controller through the data channel in the data interface cable. The ILOAD profile may include, for example, a desired voltage to be used for charging the load device and a load current (ILOAD.sub.DET) to be drawn by the device at the desired voltage. The flyback converter is configured to measure its output current (IOUT) while it operates in the constant-current mode and the mobile device draws the load current ILOAD.sub.DET. By determining the difference between IOUT and ILOAD.sub.DET the flyback converter measures the soft-short current (ISHORT). Should ISHORT exceed a threshold amount, the secondary-side controller in the flyback converter notifies the mobile device of the soft-short detection.
[0026] There are two main embodiments with regard to how the flyback converter measures the output current IOUT. In a first embodiment, the secondary winding for the flyback converter transformer is in series with a secondary-side sense resistor. The secondary-side controller monitors the voltage across the secondary-side sense resistor and measures IOUT through Ohm's law. But such a sense resistor introduces substantial efficiency loss due to its resistance. The resulting power loss is substantially avoided in a second embodiment in which the primary-side controller measures IOUT while it regulates the power switch cycling in a constant-current mode of operation. In particular, the primary-side controller may determine IOUT using the constant-current mode equation of operation in which IOUT equals kcc/2*Npri/Nsec/Rs, where kcc is the coefficient for the constant current limit, Npri/Nsec is the transformer primary-side-to-secondary-side turns ratio, and Rs is the resistance for the primary-side current sense resistor in series with the power switch transistor and the primary winding. The primary-side controller is configured to alter the kcc coefficient to force the flyback converter into the constant-current mode. In particular, the primary-side controller knows the amount of current ILOAD.sub.DET that is being drawn by the load since it receives this information from the secondary-side controller. During an initial portion of the soft-short detection phase of operation, the primary-side controller may thus begin operation with a kcc coefficient that corresponds to an output current limit that equals ILOAD.sub.DET plus some initial amount so that operation proceeds in the constant-voltage mode initially. The primary-side controller may then progressively reduce the kcc coefficient until it regulates in the constant-current mode of operation. The primary-side controller thus may calculate the output current using the equation discussed above when the constant-current mode of operation is achieved. If this output current is greater than the ILOAD.sub.DET by some threshold amount, a soft-short circuit is detected. The initial kcc coefficient thus has a magnitude such that IOUT corresponding to the initial kcc coefficient in the constant-current mode is greater than ILOAD.sub.DET plus the threshold for the soft-circuit detection. The primary-side controller may then “hunt” for the resulting IOUT in which it operates in constant-current mode by progressively reducing the kcc coefficient until constant-current mode operation is achieved. The primary-side controller then knows the magnitude of IOUT using the equation discussed above. Should IOUT exceed ILOADDET by the threshold amount, the primary-side controller detects a soft-short circuit condition and notifies the secondary-side controller accordingly. The secondary-side controller may then notify the mobile device of the soft-short condition through the data channel in the data interface cable.
[0027] In an alternative embodiment, communication between the flyback converter and the mobile device can be used to set I_LOAD to zero so that the device being charged draws no current at the voltage supplied by the switching power converter (e.g., no-load condition). The power converter can then monitor its output voltage to determine whether the voltage droop rate for the output voltage exceeds a pre-determined threshold during the no-load condition. If so the switching power converter can determine that a soft short-circuit fault exists. This embodiment can be useful, for example, in conditions where the leakage current (e.g., a soft short current in the cable or connector assembly) is too small for the power converter to enter into CC mode operation as described above.
[0028] An example flyback power converter 100 is shown in
[0029] An auxiliary winding 130 for transformer 120 couples to ground through a voltage divider formed by a serial pair of resistors R1 and R2 to produce a sense voltage V.sub.SENSE that is received by primary-side controller U1. For example, primary-side controller U1 may sample V.sub.SENSE at the transformer reset time to sense the output voltage. To modulate the output voltage in response to this sensing, primary-side controller U1 may adjust the frequency or pulse width for the cycling of power switch M1. For example, primary-side controller U1 may monitor the magnetizing current magnitude (CS) through a voltage divider formed by a primary-side sense resistor R3 and a cable drop compensation resistor (R.sub.CDC) coupled to the source of power switch transistor M1. When the current magnitude CS reaches a desired level for a given power switching cycle, primary-side controller U1 may proceed to switch off power switch transistor M1.
[0030] Secondary-side controller U2 may be configured to monitor the voltage on the D+ terminal and D− terminal to determine if a load such as a mobile device is attached to another end of the USB cable. In
[0031] In an alternative embodiment, an isolated communication channel such as an optoisolator or a capacitor could be used to communicate data from U2 to U1. For example, secondary-side controller U2 may signal the enumeration or load profile data to primary-side controller U1 by grounding a first side of an optocoupler as represented by a communication channel (comm) shown in
[0032] The soft-short circuit detection techniques and systems disclosed herein include embodiments in which a diode replaces the SR switch transistor. An example flyback converter 200 is shown in
[0033] Secondary-side controller 205 may be configured to signal load profile data and initiation of a soft-short detection mode to primary-side controller U1 by using the data channel (comm). For example, secondary-side controller 205 may receive on the data terminals the amount of load current (I_LOAD.sub.DET) the device being charged (not illustrated) will draw from the flyback converter during the soft-short detection period. Secondary-side controller 205 may then transmit the load current value to primary-side controller U1 through the data channel (comm)
[0034]
[0035] The soft-short detection mode disclosed herein advantageously detects soft-short conditions that the conventional use of a current threshold could not. For example,
[0036] Instead of using an output current limit I_LIMIT, the soft-short detection mode disclosed herein compares the soft-short current I_SHORT to a threshold. Once I_SHORT is distinguished from I_LOAD as discussed herein, a precise measure of the short circuit current I_SHORT can be made. In an alternative embodiment, once a determination is made that the secondary controller U2 is in a no load condition, a precise measure of any short circuit current I_SHORT can be made using a measurement of voltage droop for the output voltage.
[0037] A method of operation for a soft-short detection will now be discussed with regard to the flowchart of
[0038] In an act 503, the flyback converter 100 measures the amount of output current I_OUT it is delivering to the data interface cable. For example, operating in constant current mode, the switching power converter adjusts the constant voltage to constant current transition point such that the power converter operates in CC mode at the value I_OUT. The primary-side controller may then measure I_OUT using the constant-current equation discussed above. Because both I_OUT and I_LOAD.sub.DET are known to the flyback converter, the short circuit current (I_SHORT) can be determined, in an act 504, by the equation I_SHORT=I_OUT−I_LOAD.sub.DET.
[0039] In an act 505, I_SHORT is compared to a soft-short-circuit current threshold (I_SHORT.sub.THRESH) to determine if a short circuit condition (including a soft short condition) exists. In particular, act 505 determines if I_SHORT is less than I_SHORT.sub.THRESH.
[0040] In the comparison indicates that I_SHORT is greater than I_SHORT.sub.THRESH, a soft-short circuit condition is detected in an act 506 so that appropriate action may be taken, such as shutting down the power converter. If the comparison is negative as detected in an act 507, no soft-short circuit condition is deemed to exist.
[0041] The transition point between a constant-voltage mode and a constant-current mode of operation is shown in
[0042] Note that the soft-short circuit current may be too low for the flyback converter to enter a constant-current mode at the corresponding I_OUT level. To detect such low levels of soft-short current, the output voltage V_OUT from the flyback converter may be tested for droop while the mobile device is disconnected or drawing zero current. An example flowchart for the resulting voltage droop method is shown in
[0043] 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.