In many applications, a control unit (e.g., a microcontroller unit) causes power to turn on to a load through a solid-state switch (e.g., transistor). The transistor is coupled between a power source (e.g., a battery) and the load. The control unit generates a signal which causes the transistor to turn on thereby coupling the battery's voltage to the load. Such power control systems can be included in, for example, an automobile.
In one example, an apparatus includes a circuit including a circuit input, a circuit output, and a circuit terminal. A current mirror has a mirror input and a mirror output. The mirror input is coupled to the circuit terminal. A logic gate has a logic gate input coupled to the mirror output. A resistor is coupled between the mirror output and a supply reference terminal. A transistor has a control input and a current terminal. The control input is coupled to the circuit input. The current terminal is coupled to the circuit output.
The same reference numbers or other reference designators are used in the drawings to designate the same or similar (either by function and/or structure) features.
In the example of
When transistor M0 is on, current from battery 120 can flow through the transistor to power load 130. Transistor M0 is suitably sized to accommodate the load current Iload to load 130. When transistor M0 is off, voltage VBB is decoupled from load 130 thereby turning off load 130. In this example, transistor M0 is an n-channel field effect transistor (NFET). The drain of transistor M0 is coupled to battery 120, and the source of transistor M0 is coupled to load 130. The voltage on the drain of transistor M0 is VBB, and the voltage on the source of transistor M0 is VOUT. Voltage VOUT is approximately equal to VBB. Voltage VOUT is equal to VBB less the drain-to-source voltage (Vds) of transistor M0, which is relatively small compared to the magnitude of VBB.
The MCU 102 can cause transistor M0 to turn on by generating a control signal 103. The MCU 102 is coupled to driver 110. Driver 110 is the gate driver for transistor M0. Driver 110 includes transistors M11 and M12. In this example, transistor M11 is a p-channel field effect transistor (PFET), and transistor M12 is an NFET. Transistors M11 and 12 are coupled in series between a supply voltage terminal 104 (VDD) and the ground terminal 106. Control signal 103 is coupled to the gates of transistors M11 and M12. The drains of transistors M11 and M12 are coupled together and to the gate of transistor M0. The voltage VGATE 168 is the voltage on the gate of transistor M0. When transistor M11 is turned on (e.g., by a logic low of control signal 103 from MCU 102), the voltage VGATE is pulled upward towards the VDD. When VGATE is more than the threshold voltage (Vt) of transistor M0 above VOUT (its source voltage), transistor M0 turns on. When transistor M12 is turned on (control signal high), the gate of transistor M0 is pulled low thereby turning off transistor M0.
Detection circuit 150 includes inputs 151 and 154 and outputs 152 and 153. Input 151 is coupled to the gate of transistor M0, and output 152 is coupled to the drain of transistor M0. Output 153 and input 154 are coupled to MCU 102. Detection circuit 150 determines whether voltage VGATE 168 is greater than VOUT plus the Vt of transistor M0. In response to determining that VGATE 168 is greater than VOUT plus the Vt of transistor M0, detection circuit 150 forces an output signal Vgs_High 165 on its output 153 to a first logic state (e.g., logic high). In response to determining that VGATE 168 is not greater than VOUT plus the Vt of transistor M0, detection circuit 150 forces its output signal Vgs_High 165 to a second logic state (e.g., logic low). Detection circuit 150 thus provides a feedback indication (signal Vgs_High 165) to MCU 102 as to whether transistor M0 has turned on in response to the MCU attempting to turn on transistor M0. Such a feedback indication can be useful for safety reasons in an automobile. MCU 102 also may generate an enable signal (ENABLE) 161 to input 154 of detection circuit 150 to enable or disable the detection circuit. Disabling detection circuit 150 may be useful to, for example, reduce the magnitude of the quiescent current through the detection circuit.
When transistor M0 turns on, current Iload begins to flow, and energy is stored in parasitic inductance L1. At steady state (current Iload is a DC current), the voltage drop across parasitic inductance L1 is approximately 0V. However, when MCU 102 asserts control signal 103 to a logic state (e.g., logic high) to turn off transistor M0, current Iload suddenly ceases. The rapid decrease in current Iload causes the previously stored inductive energy to be dissipated, which may result in the voltage VOUT becoming negative relative to ground. In one example, VOUT may be −30V. Voltage VGATE 168 is a threshold voltage above VOUT. If VOUT becomes negative, so does VGATE. For example, if VOUT is −30V when transistor M0 turns off, then VGATE may be −29V. Accordingly, a design consideration for detection circuit 150 should consider that the input voltage (VGATE) at terminal 151 may be a negative voltage relative to ground. Another design consideration for detection circuit 150 is that voltages VBB and VGATE may be fairly large positive voltages. For example, VBB may range from 3V to 40V, and VGATE may be 12V higher than VBB. Accordingly, in this example, VGATE may range from −29V to 52V.
Current mirror 210 includes PFETs M10 and M11. The gates of transistors M10 and M11 are coupled together and to the drain of transistor M10. The sources of transistors M10 and M11 are coupled together and receive a voltage VCP from a charge pump (not shown). In one example, voltage VCP is 12V higher than VBB (VCP=VBB+12V). Current mirror 210 has a mirror input 211 and a mirror output 212. Resistor R2 is coupled between mirror input 211 and circuit terminal 205. The anode of diode D1 is coupled to resistor R2, and the cathode of diode D1 is coupled to the drain of transistor M4.
Transistor M6 and resistor R1 are coupled in series between current mirror output 212 and the ground terminal 106, with the drain of transistor M6 coupled to mirror output 212 and the source of transistor M6 coupled to resistor R1. The gate of transistor M6 is coupled to input 154 of detection circuit 150 and receives the enable signal ENABLE 161. AND gate 225 includes AND gate inputs 226 and 226 and an AND gate output 228. The connection between transistor M6 and resistor R1 is coupled to AND gate input 226, and the detection circuit input 154 is coupled to AND gate input 227. Accordingly, AND gate input 226 receives the voltage across resistor R1. AND gate output 228 is coupled to the output 153 of detection circuit 150 and generates the output signal Vgs_High 165. In other examples, a different logic gate or combination of logic gates can be included instead of AND gate 225.
Current mirror 230 includes PFETs M7, M8, and M9. The sources of transistors M7-M9 are coupled together and to VCP. The gates of transistors M7-M9 are coupled together and to the drain of transistor M7 and to the reference current source IREF. Current mirror 230 has a mirror input 231 and mirror outputs 232 and 233. Mirror input 231 is coupled to the current reference source IREF. Mirror outputs 232 and 233 are coupled to the drain of transistor M8 and to the drain of transistor M9, respectively. Mirror output 232 is coupled to the drains of transistors M1 and M2. Mirror output 233 is coupled to circuit terminal 205.
When voltage VGATE 168 is greater than voltage VOUT by at least the threshold voltage of transistor M0, transistor M0 turns on. Because the Vds of transistor M0 is small (on the order of millivolts), detection circuit 150 detects whether voltage VOUT is greater than the drain voltage (VBB) of transistor M0 by at least the threshold voltage of the transistor. In one example, the threshold voltage of transistor M0 may range from 1V to 2.6V. Detection circuit 150 detects whether voltage VGATE 168 is at least, for example, 3V above voltage VBB. The configuration of transistors M1-M5 is such that when voltage VGATE is at least, for example, 3V above voltage VBB, the back gate diode D4 of transistor M5 is forward biased. With back gate diode D4 forward biased, the voltage on the gate of transistor M4 will be high enough to high enough (larger than its source voltage by at least the threshold voltage of transistor M4) that transistor M4 will turn on. Transistor M4 turning on pulls up the gate voltage of transistor M3 thereby turning on transistor M3. Transistor M9 within current mirror 230 pulls up the voltage on circuit terminal 205 and the drain of transistor M3, and with transistor M3 on, the voltage on the source of transistor M3 will be high enough to cause back gate diode D5 to be forward biased. The voltage on the gate and drain of diode-connected transistor M1 will then be high enough to cause a diode voltage drop between drain and source of transistor M1.
With transistor M3 on, current I2, which is the current through resistor R2, can flow through transistor M3, forward-biased diode back gate diode D5, diode-connected transistor M1, and through transistor M0. Resistor R2 limits the magnitude of current I2. Current mirror 210 mirrors current I2 through its output 212 as current I4. In one example, the mirror ratio of current mirror 210 is 1:1 and thus current I4 will equal current I2 when current I2 begins to flow. Current I4 flows through transistor M6, which is turned on when the enable signal ENABLE 161 is logic high. Current I4 also flows through resistor R1, and a voltage develops across resistor as a result. The voltage across resistor R1 is provided to gate input 226 of AND gate 225. When the enable signal ENABLE 161 is logic high, the voltage across resistor R1 resulting from current I4 flowing through resistor R1 causes AND gate 225 to generate a logic high on its gate output 228 as output signal Vgs_high 165. Accordingly, output signal Vgs_High being logic high results from voltage VGATE 168 being high enough to cause back gate diodes D4 and D5 to be forward biased and transistors, M1, M3, and M4 to be on, which is the case when voltage VGATE is high enough that transistor M0 is on. Logic high for output signal Vgs_High indicates that transistor M0 is on.
When voltage VGATE 168 is not high enough for all of the back gate diodes D4 and D5 to be forward biased and transistors, M1, M3, and M4 to be on, current I2 cannot flow (I2=0 amperes) because transistor M3 is off. With current I2 equal to 0 amperes, current I4 also is off (I4=0 amperes), and no current flows through resistor R1, and thus the voltage across resistor R1 is 0 volts and AND gate 225 forces output signal Vgs_High 165 to a logic low level. Accordingly, output signal Vgs-High being logic low indicates that voltage VGATE is not high enough for transistor M0 to be on. Logic low for output signal Vgs_High indicates that transistor M0 is off. Advantageously, when output signal Vgs_High 165 is logic low, there is no or very little quiescent current flowing through voltage-controlled current circuit 202, and current I4 also is 0 amperes.
The types of transistors chosen for transistors M1-M5 in the example of
Referring back to
Referring again to
Transistors M3 and M4 can be implemented as non-isolated, and thus higher voltage, transistors because only their gates and sources (not their drains) will have a negative voltage if voltage VGATE becomes negative. The drain of transistor M4 is coupled through diode D1 to the drain of transistor M9, and the drain of transistor M3 is coupled to the drain of transistor M9. Voltage VCP is a positive voltage and is provided to the source of transistor M9. Accordingly, neither the drains of transistors M3 or M4 will receive a negative voltage, and thus transistors M3 and M4 can be implemented as non-isolated NFETs.
Similarly, transistor M2 can be implemented as a non-isolated (higher voltage) transistor because its source and gate may receive a negative voltage but not its drain. Instead, the drain of transistor M2 is coupled to the drain of transistor M8. Because the source of transistor M8 receives the positive voltage VCP, the drain of transistor M2 will receive a positive voltage, and not a negative voltage. Because the drain of transistor M1 also is coupled to the drain of transistor M8, and thus receives a positive voltage, transistor M1 also can be implemented as a non-isolated (higher voltage) transistor.
Accordingly, the particular configuration and types of transistors M1-M5 in the voltage-controlled current circuit 202 in the example of
At time point 501, MCU 102 asserts control signal 103 logic high to begin to turn on transistor M0. In response, the voltage on the gate of transistor M0 (voltage VGATE) begins to increase as the gate capacitance of transistor M0 charges. Until time point 511, voltage VGATE is not high enough for both of the back gate diodes D4 and D5 to be forward biased and transistors, M1, M3, and M4 to be on. Accordingly, detection circuit 150 forces output signal Vgs_High 165 to be logic low as indicated at 502. At time point 511, VGATE is high enough for all of the back gate diodes D4 and D5 to be forward biased and transistors, M1, M3, and M4 to be on, and detection circuit 150 causes output signal Vgs_High 165 to transition from a logic low level to a logic high level as indicated at 503. That output signal Vgs_High 165 is logic high provides an indication to MCU 102 that transistor M0 is on.
At time point 513, MCU 102 forces control signal 103 to a logic low level to cause transistor M0 to turn off. In response, the voltage VGATE 168 decreases. In response to voltage VGATE 168 falling to level 515, at least one of: the back gate diodes D4 and D5 is not forward biased and transistors, M1, M3, and M4 are off. Current I2 can no longer flow, detection circuit 150 forces its output signal Vgs_High 165 to a logic low level as indicated at 520.
In this description, the term “couple” may cover connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A generates a signal to control device B to perform an action: (a) in a first example, device A is coupled to device B by direct connection; or (b) in a second example, device A is coupled to device B through intervening component C if intervening component C does not alter the functional relationship between device A and device B, such that device B is controlled by device A via the control signal generated by device A.
A device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or reconfigurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.
As used herein, the terms “terminal”, “node”, “interconnection”, “pin” and “lead” are used interchangeably. Unless specifically stated to the contrary, these terms are generally used to mean an interconnection between or a terminus of a device element, a circuit element, an integrated circuit, a device or other electronics or semiconductor component.
A circuit or device that is described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors, and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, for example, by an end-user and/or a third-party.
References may be made in the claims to a transistor's control input and its current terminals. In the context of a FET, the control input is the gate, and the current terminals are the drain and source.
References herein to a FET being “on” or “enabled” means that the conduction channel of the FET is present and drain current may flow through the FET. References herein to a FET being “off” or “disabled” means that the conduction channel is not present so drain current does not flow through the FET. An “off” FET, however, may have current flowing through the transistor's body-diode.
Circuits described herein are reconfigurable to include additional or different components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the resistor shown. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in parallel between the same nodes. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series between the same two nodes as the single resistor or capacitor.
While certain elements of the described examples are included in an integrated circuit and other elements are external to the integrated circuit, in other example embodiments, additional or fewer features may be incorporated into the integrated circuit. In addition, some or all of the features illustrated as being external to the integrated circuit may be included in the integrated circuit and/or some features illustrated as being internal to the integrated circuit may be incorporated outside of the integrated. As used herein, the term “integrated circuit” means one or more circuits that are: (i) incorporated in/over a semiconductor substrate; (ii) incorporated in a single semiconductor package; (iii) incorporated into the same module; and/or (iv) incorporated in/on the same printed circuit board.
Uses of the phrase “ground” in the foregoing description include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of this description. In this description, unless otherwise stated, “about,” “approximately” or “substantially” preceding a parameter means being within +/−10 percent of that parameter or, if the parameter is zero, a reasonable range of values around zero.
Modifications are possible in the described embodiments, and other embodiments are possible, within the scope of the claims.