In systems where a device is being powered via a computer system or a charging docking system, current overloads may occur.
One type of overload may occur during “hot-plugging” a peripheral device to a computer or a charging docking station by inserting a USB connector (or other types) into a USB port on the computer or charging docking station. To “hot-plug” a peripheral refers to connecting one device to another, or disconnecting the devices from each other without powering down either device.
A USB connector, commonly used for connecting devices, has a power supply voltage, a ground and data. Problems may occur if a misalignment short circuits any connector pins.
For example, when a peripheral device is attached via a USB connector to a power source, say a computer, a short circuit may cause an overload condition where the peripheral device, the power source or cable wires may be damaged.
The present invention is directed toward such problems.
The following discussion does not initially distinguish among current and/or voltage circuits, or combinations thereof, for comparators, operational amplifiers and feedback paths, as both types may be employed. In illustrative examples herein, however, the voltage versions are described in more detail, but the present disclosure is not to be limited to only voltage circuits.
The present disclosure includes an over-current protective circuit having two states. In a first state, a supply voltage is passed through a turned-on first FET that transfers the supply voltage and a load current to a load device. A smaller, scaled mirror current of the load current is created by sizing a minor FET transistor, illustratively to 1/10, 1/20, 1/50 or even smaller of the first FET. The two FETs have gates (control nodes) that are tied together and sources that are tied together forming the current minor. The scaled mirror current may be directed to a comparator, where it is compared to a threshold reference. As the load current rises, the scaled mirror current rises and finally exceed the threshold reference (detected as an overload), and the protective circuit enters the second state.
In the second state a feedback circuit is created that folds back the overload current before it can cause problems.
Illustratively, the scaled minor current may be directed through a sense resistor to form a feedback signal, in this case a feedback voltage, and the threshold reference is a voltage. The comparator compares these two voltages, and when feedback signal exceeds the reference voltage the second state is entered. The comparator output may turn on a switch that connects the feedback voltage to one input of an operational amplifier. A first reference voltage is connected to the other input of the operational amplifier. The output of the operational amplifier drives the first FET, that was on in the first state, into an analog (linear) state that reduces the voltage and load current to the device. The scaled mirror current is correspondingly reduced, that in turn reduces the feedback voltage until it matches the first reference voltage. At that point the folded back load current is a function of the minor current, the scale factor and the second reference.
The present disclosure includes an over-current protecting method for a load current, that includes the steps of: scaling a minor current of the load current; generating sense and feedback signals from the mirror current; comparing the sense signal to a threshold signal and outputting a compare signal therefrom. When the sense signal does not reach the threshold signal, these steps are included: activating a first switch with the compare signal and connecting, via the switch, a first signal to a first input of a control circuit; wherein the control circuit outputs a control output that turns on a first and a second transistor; connecting a first supply voltage to an output and drawing a load current via the turned on first transistor; drawing the scaled, mirror current of the load current via the turned on second transistor; and wherein when the sense signal reaches the threshold signal, outputting an over-current signal, that indicates an overload state. When in the overload state, also referred to herein as state 2, the following steps occur: forming a feedback loop by; deactivating the first switch and activating a second switch from the over-current signal; connecting the feedback signal, via the second switch, to the first input of the control circuit; comparing the feedback signal to a first reference signal, wherein the control circuit output drives the first and the second transistors into an analog condition; and lowering the load and scaled minor currents until the feedback signal matches the first reference signal.
The invention description below refers to the accompanying drawings, of which:
Illustratively,
CKT 7 has a sense circuit 13, a control circuit 15, a switch assembly 17, the n-type FETs, an RLOAD that represents the load presented by a device 11, and the operational amplifier O2.
VCC_IN is connected (“connection” herein includes having intervening components that little affect the function) to the sources of current minor connected FETs X and X/D. FET X/D is a size scaled version of FET X, and the mirrored current is in FET X/D is correspondingly size scaled. The output 6 of comparator O3 drives the single pole switch 51, and the inverter, INV, drives the single pole switch S2 with the inverse of the output 6. S1 and S2 cannot be both off or both on at the same time.
CKT 7 has two states or modes. In a first state, the normal state, VCC_IN is delivered to the load R
In the first state, R
Still referring to
A closed S1 presents a ground to the non-inverting (+) terminal of operational amplifier O1. VREF1 is a positive reference voltage and the output 2 of O1 is low turning on FET X and FET X/D. FET X and FET X/D are p-channel devices that turn on when the Vgs is more negative than the device threshold. FET X and FETX/D form current mirrors wherein I
The second state, an overload condition, of CKT 7 occurs when R
The feedback operation may be described as follows: If VFB is higher than VREF1, O1 output, item 2, goes higher causing FET X to reduce I
Since I
The reference 18 traces the actual foldback current/voltage path for the components used in a particular embodiment. In other embodiments the shape of the foldback current/voltage path 14 and the final foldback current I
In particular, the final foldback current 16 in the above example may be set by control of D, VREF1 and R1 and R2, as follows:
The final foldback current, item 16, is I
The present application claims priority U.S. Provisional Patent Application Ser. No. 61/187,313, filed on Jun. 16, 2009 and is of common title, inventorship and ownership. This provisional application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61187313 | Jun 2009 | US |