The present disclosure generally relates to integrated circuits, and, more particularly, to systems and methods for determining load current direction in a switched output stage of an electronic circuit, for example a switched output stage of a power converter.
Many electronic devices on the market today often use power converters to convert electric energy from one form to another (e.g., converting between alternating current and direct current), amplifying a voltage or current of an electrical signal, modifying a frequency of an electrical signal, or some combination of the above. Examples of power converters may include boost converters, buck converters, and audio amplifiers (including, but not limited to Class D and Class H amplifiers). Such power converters often employ a switched output stage, an example of which is shown in
To generate the output voltage vOUT, pull-up device 102 and pull-down device 104 will alternately turn on based on vP and vN. In addition, load current delivered by switched output stage to a load coupled to the output node. Such load may apply a low-pass filter to the output voltage vOUT such that the load current is phase-shifted from output voltage vOUT which may have one of two directions—flowing “out” from switched output stage 100 to the load or flowing “in” from the load to switched output stage 100—wherein such direction of an instantaneous current may not be readily known. If current is flowing from the load to the output node, the drive voltage vN of pull-down device 104 effectively controls voltage and current transition of the output node, while if current is flowing from the output node to the load, the drive voltage vP of pull-up device 102 effectively controls voltage and current transition of the output node. Thus, if current direction can be effectively determined, such information might be used to control output node transitions.
In accordance with the teachings of the present disclosure, certain disadvantages and problems associated with output signal integrity of a switched output stage of an electronic circuit.
In accordance with embodiments of the present disclosure, an apparatus may include a first input, a second input, and an output current direction detection circuit. The first input may be configured to indicate an output voltage of an output node of a switched output stage comprising a pull-down driver device coupled at its non-gate terminals between a ground voltage and the output node and a pull-up driver device coupled at its non-gate terminals between a supply voltage and the output node. The second input may be configured to indicate a gate voltage of a gate terminal of a first one of the pull-up driver device and the pull-down driver device. The output current direction detection circuit may be configured to detect direction of an output current flowing into or out of the output node based on the first input and the second input.
In accordance with these and other embodiments of the present disclosure, a method may include receiving a first input configured to indicate an output voltage of an output node of a switched output stage comprising a pull-down driver device coupled at its non-gate terminals between a ground voltage and the output node and a pull-up driver device coupled at its non-gate terminals between a supply voltage and the output node. The method may also include receiving a second input configured to indicate a gate voltage of a gate terminal of a first one of the pull-up driver device and the pull-down driver device. The method may further include detecting direction of an output current flowing into or out of the output node based on the first input and the second input.
In accordance with these and other embodiments of the present disclosure, an apparatus may include a first input, a second input, and a predriver circuit. The first input may be configured to indicate an output voltage of an output node of a switched output stage comprising a pull-down driver device coupled at its non-gate terminals between a ground voltage and the output node and a pull-up driver device coupled at its non-gate terminals between a supply voltage and the output node. The second input may be configured to indicate a gate voltage of a gate terminal of a first one of the pull-up driver device and the pull-down driver device. The predriver circuit may be configured to select a drive strength for driving the gate terminal of a second one of the pull-up driver device and the pull-down driver device to a rail voltage based on the first input and the second input.
In accordance with these and other embodiments of the present disclosure, a method may include receiving a first input configured to indicate an output voltage of an output node of a switched output stage comprising a pull-down driver device coupled at its non-gate terminals between a ground voltage and the output node and a pull-up driver device coupled at its non-gate terminals between a supply voltage and the output node. The method may also include receiving a second input configured to indicate a gate voltage of a gate terminal of a first one of the pull-up driver device and the pull-down driver device. The method may further include selecting a drive strength for driving the gate terminal of a second one of the pull-up driver device and the pull-down driver device to a rail voltage based on the first input and the second input.
Technical advantages of the present disclosure may be readily apparent to one of ordinary skill in the art from the figures, description and claims included herein. The objects and advantages of the embodiments will be realized and achieved at least by the elements, features, and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are examples and explanatory and are not restrictive of the claims set forth in this disclosure.
A more complete understanding of the present embodiments and advantages thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features, and wherein:
Switched output stage 201 may comprise a pull-up driver device 202 (implemented as a p-type metal-oxide-semiconductor field effect transistor in the embodiments represented by
Predriver circuitry 206 may comprise any system, device, or apparatus configured to receive an input voltage vIN (e.g., a pulse-width-modulated voltage signal) and apply control logic and/or buffering to such input voltage to drive a pull-up driver device driving signal voltage vP to the gate terminal of pull-up driver device 202 and to drive a pull-down driver device driving signal voltage vN to the gate terminal of pull-down driver device 204, wherein vP and vN are each a function of vIN. Based on respective input voltage signals vP and vN driven to their respective gates, pull-up driver device 202 and pull-down driver device 204 may drive an output voltage vOUT and an output current iOUT to load 220 which is a function of the respective input voltage signals. In some embodiments, switched output stage 201 may comprise at least a portion of an output stage of a power converter. In certain of such embodiments, such power converter may comprise a Class-D amplifier.
As shown in
Output current direction detection circuit 208 may be any system, device, or apparatus configured to, based on sampling one or more signals associated with circuit 200, determine whether current iOUT is flowing from switched output stage 201 to load 220 or vice versa, and generate one or more current direction signals 214 indicative of such determined current direction. In the embodiments represented by
Pull-down driver device predriver circuit 210a may comprise any system, device, or apparatus configured to receive an input voltage vIN (e.g., a pulse-width-modulated voltage signal) and the one or more current direction signals 214 generated by output current direction detection circuit 208 and apply control logic and/or buffering to such input voltage to drive a pull-down driver device driving signal voltage vN to the gate terminal of pull-down driver device 204, wherein vN is a function of vIN and the one or more current direction signals 214. In some embodiments, pull-down driver device predriver circuit 210a may select a drive strength for driving the gate terminal of pull-down driver device 204 to a supply voltage based on the one or more current direction signals 214.
Similarly, pull-up driver device predriver circuit 210b may comprise any system, device, or apparatus configured to receive an input voltage vIN (e.g., a pulse-width-modulated voltage signal) and the one or more current direction signals 214 generated by output current direction detection circuit 208 and apply control logic and/or buffering to such input voltage to drive a pull-up driver device driving signal voltage vP to the gate terminal of pull-up driver device 202, wherein vP is a function of vIN and the one or more current direction signals 214. In some embodiments, pull-up driver device predriver circuit 210b may select a drive strength for driving the gate terminal of pull-up driver device 202 to a ground voltage based on the one or more current direction signals 214.
Example embodiments of driver device predriver circuits 210 are depicted in
Load 220 may comprise any suitable load that may be driven by switched output stage 201, including, without limitation, an audio speaker.
As shown in
Inverters 306a and 308a may be configured such that inverter 306a receives the output of comparator 302a at its input and inverter 308a receives the output of comparator 302a at its input. Logic AND gate 310a may be configured such that it receives the output of inverter 306a at one of its input terminals and the output of comparator 304a at its other input terminal. Logic AND gate 312a may be configured such that it receives the output of inverter 308a at one of its input terminals and the output of comparator 302a at its other input terminal. Logic NOR gate 314a may be configured such that it receives the output of AND gate 310a at one of its input terminals, the output of logic NOR gate 316a at its other input terminal, and generates an output signal CURRENT_IN_RISE 320a which is asserted if vOUT increases above the predetermined reference voltage vREFN before vN decreases below the predetermined threshold voltage vTHN, thus indicating that output current iOUT is flowing “in” from load 220 to switched output stage 201. Similarly, logic NOR gate 316a may be configured such that it receives the output of AND gate 312a at one of its input terminals, the output of logic NOR gate 314a at its other input terminal, and generates an output signal CURRENT_OUT_RISE 320b which is asserted if vN decreases below the predetermined threshold voltage vTHN before vOUT increases above the predetermined reference voltage vREFN, thus indicating that output current iOUT is flowing “out” from switched output stage 201 to load 220.
As shown in
Inverters 306b and 308b may be configured such that inverter 306b receives the output of comparator 302b at its input and inverter 308b receives the output of comparator 304b at its input. Logic AND gate 310b may be configured such that it receives the output of inverter 306b at one of its input terminals and the output of comparator 304b at its other input terminal Logic AND gate 312b may be configured such that it receives the output of inverter 308b at one of its input terminals and the output of comparator 302b at its other input terminal. Logic NOR gate 314b may be configured such that it receives the output of AND gate 310b at one of its input terminals, the output of logic NOR gate 316b at its other input terminal, and generates an output signal CURRENT_OUT_FALL 320d which is asserted if vOUT decreases below the predetermined reference voltage vREFP before vP increases above the predetermined threshold voltage vTHP, thus indicating that output current iOUT is flowing “out” from load 220 to switched output stage 201. Similarly, logic NOR gate 316b may be configured such that it receives the output of AND gate 312b at one of its input terminals, the output of logic NOR gate 314b at its other input terminal, and generates an output signal CURRENT_IN_FALL 320c which is asserted if vP increases above the predetermined threshold voltage vTHP before vOUT decreases below the predetermined reference voltage vREFP, thus indicating that output current iOUT is flowing “in” from switched output stage 201 to load 220.
Signal selector 322 may, based on whether vOUT is rising or falling, select one of CURRENT_IN_RISE signal 320a and CURRENT_IN_FALL signal 320c, and output current direction signal CURRENT_IN 214. In the embodiments represented by
Logic OR gate 402a may be configured such that it receives the complement of CURRENT_IN signal 214 (e.g., as logically inverted by logic inverter 410a) at one of its input terminals and input voltage vIN at its other terminal and drives the gate terminal of pull-up device 406a. Similarly, logic OR gate 404a may be configured such that it receives CURRENT_IN signal 214 (e.g., from output current direction detection circuit 208 depicted in
Logic AND gate 402b may be configured such that it receives the complement of CURRENT_IN signal 214 (e.g., as logically inverted by logic inverter 410b) at one of its input terminals and input voltage vIN at its other terminal and drives the gate terminal of pull-down device 406b. Similarly, logic AND gate 404b may be configured such that it receives CURRENT_IN signal 214) (e.g., from output current direction detection circuit 208 depicted in
In addition, as shown in
Logic OR gate 502a may be configured such that it receives the output of comparator 513a at one of its input terminals and input voltage vIN at its other terminal and drives the gate terminal of pull-up device 506a. Similarly, logic OR gate 504a may be configured such that it receives the output of comparator 514a at one of its input terminals and input voltage vIN at its other terminal and drives the gate terminal of pull-up device 508a. Thus, during a falling edge of output voltage signal vOUT, if the output current iOUT is determined to be flowing “in” from load 220 to switched output stage 201 (e.g., as indicated by vOUT decreasing below the predetermined reference voltage vREFP after vP increases above the predetermined threshold voltage vTHP), pull-down driver device predriver circuit 210a may first enable smaller pull-up device 508a and then enable larger pull-up device 506a as a secondary pull-down device. Alternatively, during a falling edge of output voltage signal vOUT, if the output current iOUT is determined to be flowing “out” to load 220 from switched output stage 201 (e.g., as indicated by vOUT decreasing below the predetermined reference voltage vREFP before vP increases above the predetermined threshold voltage vTHP), pull-down driver device predriver circuit 210a may first enable larger pull-up device 506a and then enable smaller pull-down device 508a as a secondary pull-up device.
In addition, as shown in
Logic AND gate 502b may be configured such that it receives the output of comparator 513b at one of its input terminals and input voltage vIN at its other terminal and drives the gate terminal of pull-down device 506b. Similarly, logic AND gate 504b may be configured such that it receives the output of comparator 514b at one of its input terminals and input voltage vIN at its other terminal and drives the gate terminal of pull-down device 508b. Thus, during a rising edge of output voltage signal vOUT, if the output current iOUT is determined to be flowing “in” from load 220 to switched output stage 201 (e.g., as indicated by vOUT increasing above the predetermined reference voltage vREFN before vN decreases below the predetermined threshold voltage vTHN), pull-up driver device predriver circuit 210b may first enable larger pull-down device 508b and then enable smaller pull-up device 506b as a secondary pull-down device. Alternatively, during a rising edge of output voltage signal vOUT if the output current iOUT is determined to be flowing “out” to load 220 from switched output stage 201 (e.g., as indicated by vOUT increasing above the predetermined reference voltage vREFN after vN decreases below the predetermined threshold voltage vTHN), pull-up driver device predriver circuit 210b may first enable smaller pull-up device 506b and then enable larger pull-down device 508b as a secondary pull-up device.
Although various pull-up devices are depicted in the foregoing figures as p-type metal-on-semiconductor field-effect transistors, one or more of such pull-up devices may be implemented using any system, device, or apparatus capable of acting as a switch between its non-gate terminals based on an input received at its gate terminal. For example, in some embodiments, one or more of the pull-up devices described herein may be implemented as an n-type metal-on-semiconductor field-effect transistor. Similarly, although various pull-down devices are depicted in the foregoing figures as n-type metal-on-semiconductor field-effect transistors, one or more of such pull-down devices may be implemented using any system, device, or apparatus capable of acting as a switch between its non-gate terminals based on an input received at its gate terminal. For example, in some embodiments, one or more of the pull-down devices described herein may be implemented as a p-type metal-on-semiconductor field-effect transistor.
At step 602, an output current direction detection circuit (e.g., output current direction detection circuit 208) may receive a first input indicating an output voltage (e.g., vOUT) of a switched output stage (e.g., switched output stage 201) comprising a pull-down driver device (e.g., pull-down driver device 204) coupled at its non-gate terminals between a ground voltage and the output node and a pull-up driver device (e.g., pull-down driver device 202) coupled at its non-gate terminals between a supply voltage and the output node.
At step 604, the output current direction detection circuit may receive a second input indicating an output voltage of a gate terminal of a first one of the pull-up driver device and the pull-down driver device (e.g., either of pull-up driver device driving signal voltage vP or pull-down driver device driving signal voltage vN).
At step 606, the output current direction detection circuit may detect direction of an output current flowing into or out of the output node based on the first input and the second input. In some embodiments, the output current direction detection circuit may detect direction of the output current for a rising edge of an output voltage (e.g., vOUT) by determining whether the gate voltage (e.g., vN) crosses a first threshold voltage level (e.g., vTHN) before the output voltage (e.g., vOUT) crosses a second threshold voltage level (e.g., vREFN). For example, the output current direction detection circuit may determine that output current is flowing into the output node from a load coupled thereto if the output voltage crosses the second threshold voltage level before the gate voltage crosses the first threshold voltage level. As another example, the output current direction detection circuit may determine that the output current is flowing away from the output node to a load coupled thereto if the gate voltage crosses the first threshold voltage level before the output voltage crosses the second threshold voltage level.
Similarly, in the case of a falling edge of an output voltage (e.g., vOUT), the output current direction detection circuit may detect direction of the output current for a falling edge of an output voltage (e.g., vOUT) by determining whether the gate voltage (e.g., vP) crosses a first threshold voltage level (e.g., vTHP) after the output voltage (e.g., vOUT) crosses a second threshold voltage level (e.g., vREFP). For example, the output current direction detection circuit may determine that output current is flowing into the output node from a load coupled thereto if the output voltage crosses the second threshold voltage level after the gate voltage crosses the first threshold voltage level. As another example, the output current direction detection circuit may determine that the output current is flowing away from the output node to a load coupled thereto if the gate voltage crosses the first threshold voltage level after the output voltage crosses the second threshold voltage level.
At step 608, a pull circuit (e.g., a driver device predriver circuit 210) may select a drive strength for driving the gate terminal of the second one of the pull-up driver device and the pull-down driver device to a rail voltage (e.g., a supply voltage or a ground voltage) based on the direction of the output current. For example, if determining current direction during a falling edge of an output voltage (e.g., vOUT) based on the output voltage (e.g., vOUT) and a pull-up driver device driving signal voltage (e.g., vP) driving the gate terminal of the pull-up device of the switched output stage (e.g., pull-up device 102), a pull-down circuit (e.g., pull-down driver device predriver circuit 210a) may select a drive strength for driving the gate terminal of a pull-down device (e.g., pull-down device 104) to a ground voltage based on the direction of the output current (e.g., selecting a larger drive strength if output current is flowing “in” from the load to the switched output stage than if output current is flowing “out” to the load from the switched output stage). As another example, if determining current direction during a rising edge of an output voltage (e.g., vOUT) based on the output voltage (e.g., vOUT) and a pull-down driver device driving signal voltage (e.g., vN) driving the gate terminal of the pull-down device of the switched output stage (e.g., pull-down device 104), a pull-up circuit (e.g., pull-up driver device predriver circuit 210b) may select a drive strength for driving the gate terminal of a pull-down device (e.g., pull-down device 104) to a supply voltage based on the direction of the output current (e.g., selecting a larger drive strength if output current is flowing “out” to the load from the switched output stage than if output current is flowing “in” from the load to the switched output stage). In the illustrated embodiment, after completion of step 608, method 600 may end.
Although
Method 600 may be implemented using circuit 300 and/or any other system operable to implement method 600. In certain embodiments, method 600 may be implemented partially or fully in software and/or firmware embodied in computer-readable media comprising machine-readable instructions for implementing method 600.
As used herein, when two or more elements are referred to as “coupled” to one another, such term indicates that such two or more elements are in electronic communication whether connected indirectly or directly, without or without intervening elements.
This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative.
All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the disclosure and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.
Number | Name | Date | Kind |
---|---|---|---|
4829199 | Prater | May 1989 | A |
4855623 | Flaherty | Aug 1989 | A |
5121000 | Naghshineh | Jun 1992 | A |
5237213 | Tanoi | Aug 1993 | A |
5450019 | McClure et al. | Sep 1995 | A |
6018256 | Kumagai et al. | Jan 2000 | A |
6137322 | Ten Eyck | Oct 2000 | A |
6265915 | Rider et al. | Jul 2001 | B1 |
6366129 | Douglas, III et al. | Apr 2002 | B1 |
6373300 | Welch et al. | Apr 2002 | B2 |
7190225 | Edwards | Mar 2007 | B2 |
7215152 | Dubey | May 2007 | B2 |
7649414 | Kaya et al. | Jan 2010 | B2 |
7746155 | Labbe | Jun 2010 | B2 |
7973523 | Cheng | Jul 2011 | B2 |
8085081 | Ogawa et al. | Dec 2011 | B2 |
8184831 | Lin | May 2012 | B2 |
20100067152 | Nakahashi et al. | Mar 2010 | A1 |
20100164590 | Tsuji et al. | Jul 2010 | A1 |
20100244930 | Ogawa et al. | Sep 2010 | A1 |
20120014025 | Sato et al. | Jan 2012 | A1 |
Number | Date | Country | |
---|---|---|---|
20140266310 A1 | Sep 2014 | US |