Method of setting bi-directional offset in a PWM controller using a single programming pin
A user-programmable bi-directional, constant current generator circuit allows external programming of either a positive (+) or a negative (−) polarity output current, for injection into one of two locations of the PWM controller circuit of a DC-DC voltage converter. The parameters of the DC-DC converter's offset voltage will depend upon the connection of a single programming pin to one of two programming resistors. The programming resistors are respectively referenced to different supply rail voltages (VCC and VSS). The polarity of the offset additionally depends upon where, within the PWM-controlled DC-DC converter, the programmed constant current is injected.
Latest Intersil Americas Inc. Patents:
- Molded power-supply module with bridge inductor over other components
- Switching regulator input current sensing circuit, system, and method
- Methods and systems for noise and interference cancellation
- Base for a NPN bipolar transistor
- System and method for improving regulation accuracy of switch mode regulator during DCM
The present invention relates in general to electronic circuits and components therefor, and is particularly directed to a new and improved constant current generator circuit-based arrangement for providing a programmable bi-directional voltage offset for a pulse width modulation controller (PWM) of a PWM-based DC-DC converter.
BACKGROUND OF THE INVENTIONThe PWM generator circuit's output 33 is fed back as an output VOUT to the inverting (−) input 22 of amplifier 20 through a filter 60 containing a series resistor R2 coupled to a feedback path FB to the output 23 of the amplifier 20, and through a series connection of a capacitor Cl and a resistor R1 to a node COMP, that receives an amplified and filtered error signal from the amplifier 20. The PWM generator circuit 30 drives a load (represented by a resistor R3) coupled to the output node 50. The COMP terminal controls the PWM generator in a direction to minimize the difference between the voltage REF and the voltage VOUT.
PWM-based DC power supply integrated circuits are often required to have a user adjustable offset. Specifically, in some applications it may be desirable to have the output voltage generated at the output node VOUT different from the input reference voltage V1 by a prescribed (e.g., user-programmable) offset value. Depending upon the application, it may be necessary that this offset voltage be bi-directional, and must be repeatable and stable. Generating this offset should require a minimum number of external components, should not be dependent on other factors such as power supply voltage and, for economy of packaging, should require the least number of integrated circuit pins. In addition, to alleviate the design of supporting components, the offset should not require a stable current reference, but only a stable voltage reference (such as a bandgap voltage reference).
SUMMARY OF THE INVENTIONIn accordance with the present invention, these objectives are successively achieved by a constant current generator circuit that is configured to allow external programming of either a positive (+) or a negative (−) polarity output current, that is readily injected into one of two locations of the PWM controller circuit of a DC-DC voltage converter. As will be described, the parameters of the DC-DC converter's offset voltage will depend upon the connection of a single programming pin to one of two programming resistors. The programming resistors are respectively referenced to different supply rail voltages (VCC and VSS), on the one hand, and will also depend upon where, within the PWM-controlled DC-DC converter, the programmed constant current is injected.
The user-programmable, bi-directional constant current generator contains first and second operational amplifiers that drive associated complementary switching devices (such as PMOSFET and NMOSFET switches). The input of one of the amplifiers is coupled to a first DC voltage referenced to a first DC power supply rail (e.g., VCC). The input of the other amplifier is coupled to a second DC voltage referenced to another supply rail (e.g., VSS or ground). The current flow paths through the two switching devices are coupled in series between an offset input terminal to which a programming input pin is coupled and an offset current output terminal.
The first programming resistor is coupled between the VCC supply rail and a first programming pin; the second programming resistor is coupled between the VSS supply rail and a second programming pin. By selectively connecting the programming input pin to one of the first and second programming pins (and thereby to their associated resistors), the bi-directional constant current generator is user-programmed to supply one of a positive polarity and negative polarity offset current to the offset current output terminal.
In a first, ‘sourcing’ current programming mode, the first programming pin is coupled to the programming input pin, while the second programming pin is open. As a result, that one of the amplifiers which is coupled to the first programming resistor, will cause its associated switching device to conduct. With its associate switching device conducting, that amplifier attempts to drive the voltage at its input port to match that amplifier's reference voltage. At the same time, the other amplifier maintains its associated switching device in the off state. With the one amplifiers' switching device turned on, a sourcing current will flow from the supply rail through the first programming resistor, the single programming terminal and the current path of the turned-on switch to the current source's output terminal. The magnitude of this current is effectively equal to the reference voltage divided by its associated series resistor.
In a second, ‘sinking’ current programming mode, the second programming pin is coupled to the programming input pin, while the first programming pin is open. As a result, the second amplifier will cause its associated switching device to conduct, while the one amplifier maintains its switching device in the off state. The second amplifier attempts to make voltage at the input port match that amplifier's reference voltage. With the second amplifiers' switching device turned on, a sinking current will flow from a supply rail through the second programming resistor, the single programming terminal and the current flow path of the second amplifier's associated turned-on switch to the output terminal. The magnitude of the sinking current is effectively equal to the reference voltage divider by its associated series resistor.
A selected one of these ‘sourcing’ and ‘sinking’ currents as generated by the user-programmable, bi-directional constant current generator of the invention is connectable to either of two locations in the PWM controller of the PWM switching DC power supply to provide a constant offset voltage. The reference voltages employed within the constant current source may be based upon a bandgap voltage (referenced to VSS or ground (GND)). In a non-limiting, but preferred embodiment, the first reference voltage (referenced to VCC) may be derived from the second voltage (referenced to VSS)
Before describing the programmable bi-directional voltage offset generator circuit in accordance with the invention, it should be observed that the invention resides primarily in an arrangement of conventional DC power supply circuits and control components therefor, and the manner in which they are integrated together. It is to be understood that the invention may be embodied in a variety of implementations, and should not be construed as being limited to only those shown and described herein. For example, although the non-limiting circuit implementations of the Figures shows the use of MOSFET devices to perform controlled switching operations, it will be appreciated that the invention is not limited thereto, but also may be configured of alternative equivalent circuit devices, such as, bipolar transistors. The implementation example to be described is intended to furnish only those specifics that are pertinent to the present invention, so as not to obscure the disclosure with details that are readily apparent to one skilled in the art having the benefit of present description. Throughout the text and drawings like numbers refer to like parts.
Attention is now directed to
MOSFETs Q1 and Q2 have their source-drain paths coupled in series between a user-programmable offset input terminal OFS and an offset output terminal OFSOUT. A first, programming resistor R5 is coupled between the upper (VCC) supply rail and a first programming pin P1, while a second programming resistor R6 is coupled between the lower (VSS) supply rail and a second programming pin P2. As will be described, by selectively connecting programming pin, Pprog to which the input terminal OFS is connected, to one of the first and second programming pins P1 and P2, the bi-directional constant current generator is user programmed to supply either a positive polarity or a negative polarity offset current to the OFSOUT terminal.
The OFS terminal is coupled to the respective inverting (−) inputs 212 and 222 of respective amplifiers 210 and 220, and also to the source SQ1 of PMOSEET Q1 and to the source SQ2 of NMOSFET Q2. The OFSOUT terminal is coupled to the commonly connected drains DQ1 and DQ2 of MOSFETS Q1 and Q2. It should be noted that the source and drain connections of the MOSFETs may be interchanged. The body of PMOSFET Q1 is coupled to VCC and the body of NMOSFET Q2 is coupled to VSS to avoid parasitic conduction paths.
The operational parameters of the circuit of
In operation, in a first, ‘sourcing’ current programming mode, in which the programming pin Prog is connected to pin P1, resistor R5 is connected between VCC and terminal OFS, while pin P2 remains open. With this connection, the output 213 of amplifier 210 will drive the gate of PMOSFET Q1 low causing PMOSFET Q1 to conduct. With MOSFET Q1 conducting, amplifier 210 attdempts to drive the voltage terminal OFS at its inverting (−) input terminal 212 so as to match the voltage VA at its non-inverting (+) input terminal 211. With PMOSFET Q1 being turned on by amplifier 210, a sourcing current will flow from the supply rail VCC through resistor R5, terminal OFS, the source-drain path of PMOSFET Q1 to the output terminal OFSOUT. The magnitude of this current IOFSOUT is V2/R5.
With terminal OFS driven to equal the voltage VA, and with the voltage VA constrained to be higher than VB, then the voltage at the inverting (−) input 222 of amplifier 220 is higher than at the non-inverting (+) input 221. Amplifier 220 will then drive its output 223, the gate of MOSFET Q2, low, shutting MOSFET Q2 off. The current from OFSOUT is therefore defined exclusively by V2/R5.
In a second, ‘sinking’ current programming mode, in which programming pin Prog is connected in pin P2, resistor R6 is connected between VSS and terminal OFS, while pin P1 is open. With this connection, the output 223 of amplifier 220 will drive the gate of NMOSFET Q2 high, causing NMOSFET Q2 to conduct. In this condition amplifier 220 attempts to drive the voltage terminal OFS at its inverting (−) input terminal 222 so as to match the voltage VA at its non-inverting (+) input terminal 211. With NMOSFET Q2 being turned on by amplifier 220, a sinking current will flow from the supply rail VSS through resistor R6, terminal OFS, the source-drain path of NMOSFET Q2 to the output terminal OFSOUT. The magnitude of this current IOFSOUT is equal to V3/R6.
With terminal OFS driven to equal the voltage VB, and with the voltage VB constrained to be lower than the voltage VA, then the inverting (−) input 212 of amplifier 210 is lower than the non-inverting (+) input 211. Amplifier 210 will then drive its output 210, the fate of PMOSFET Q1, high, shutting MOSFET Q1 off. The current from OFSOUT is therefore defined exclusively by V3/R6.
The sourcing or sinking current generated by the constant current generator of
If the direction of current flow is out of the output pin OFSOUT, the resulting voltage drop VR5 across resistor R5 will make the voltage at point FB higher than at VOUT. In response to this voltage increase at its inverting (−) input terminal 222, amplifier 220 will reduce its output voltage and thereby the voltage VOUT, so as to bring the voltage at FB back into balance with the voltage at REF. Conversely, if the direction of current flow is into the output pin OFSOUT, the resulting voltage drop VR5 across resistor R5 will make the voltage at point FB lower than at VOUT. In response to this voltage decrease at its inverting (−) input terminal 222, amplifier 220 will increase its output voltage and thereby the voltage VOUT, so as to bring the voltage at FB back into balance with the voltage at REF.
It should be noted that the difference or offset voltage between the voltages at FB and VOUT is equal to the product of the value of resistor R2 times the output current IOFSOUT. Also, IOFSOUT is equal to V2/R5 or V3/R6. The magnitude of the offset voltage is therefore equal to V2XR2/R5 or V3XR2/R6. In a typical PWM controller integrated circuit, the voltages V1, V2 and V3 are internally generated and stable, while resistors R2, R5, and R6 are stable external components.
A second implementation of interconnecting the circuits of
In the embodiment of
On the other hand, if the current IOFSOUT flows into terminal OFSOUT, the voltage at terminal REF will be lower than the voltage V1, decreasing the voltage applied to the non-inverting (+) input 21 of amplifier 20. In response to this voltage drop, amplifier 20 will decrease the voltage at terminal VOUT to make the voltage at FB match the voltage at REF. The offset or difference voltage between the voltage V1 and the voltage at REF is equal to the product of the current IOFSOUT times the value of the resistor R4. Also, the current IOFSOUT is equal to V2/R5 or V3/R6. The value of the offset voltage is therefore equal to V2XR4/R5 or V3XR4/R6.
From the above description, it will be appreciated that the polarity of the offset voltage, namely the polarity of VOUT referenced to V1, is dependent upon the choice of the programming resistor (either R5 or R6) of the constant current generator of
The voltage V3 of the constant current source of
Amplifier 250 has its output 253 coupled to drive the gate of NMOSFET Q3. NMOSFET Q3 has its source-drain path, coupled in series with a first resistor R7 to the Vss supply rail and a second resistor R8 coupled to the VCC supply rail. The voltage V2 is derived across resistor R8. The connection between the source/drain of PMOSFET Q3 and resistor R7 is coupled to the inverting (−) terminal 252 of amplifier 250. In operation, amplifier 250 drives PMOSFET Q3 to make the voltage drop VR7 across resistor R7 equal to the voltage V3. This produces a current equal to V3/R7, which is applied to resistor R8, producing a voltage V2 equal to (V3*R8)/R7.
As will be appreciated from the foregoing description, the single pin-programmable, bi-directional offset generator circuit of the present invention readily enables a PWM-based DC power supply circuit to supplied with a user selectable positive or negative polarity output current. Depending upon the (single pin) programming of the current generator and the point of injection of its output current into the PWM controller circuit, the DC-DC converter will operate at predetermined offset voltage.
While I have shown and described several embodiments in accordance with the present invention, it is to be understood that the same is not limited thereto but is susceptible to numerous changes and modifications as known to a person skilled in the art, and I therefore do not wish to be limited to the details shown and described herein, but intend to cover all such changes and modifications as are obvious to one of ordinary skill in the art.
Claims
1. An apparatus for generating a regulated direct current (DC) voltage comprising:
- a DC-DC converter operative to generate a regulated DC output voltage derived from a supply voltage, said DC-DC converter having a pulse width modulation (PWM) generator which generates a PWM-based output voltage at an output node thereof, said output voltage being coupled through an inductor element to an output voltage terminal for application to a load;
- a PWM controller for controlling the operation of said PWM generator, said PWM controller including an operational amplifier having a first input coupled to receive a reference voltage, a second input, and an output coupled to said PWM generator, and a current feedback resistor coupled between said output node and said second input of said operational amplifier; and
- a user-programmable bi-directional, constant current generator circuit for controlling the operation of said PWM controller, and being configured to generate a user-programmable one of a positive (+) or a negative (−) polarity current, and to supply said a user-programmable current to a user-selected location of said PWM controller for controlling the operation of said PWM generator.
2. The apparatus according to claim 1, wherein
- said user-programmable bi-directional, constant current generator circuit comprises first and second operational amplifiers that drive associated switching devices,
- said first operational amplifier is coupled receive a first DC voltage referenced to a first DC power supply rail, and said second operational amplifier is coupled to receive a second DC voltage referenced to a second DC supply rail,
- current flow paths through said switching devices are coupled in series between an offset input terminal, to which a programming input pin is coupled and an offset current output terminal from which said user-programmable one of a positive (+) or a negative (−) polarity current is derived, and
- said programming input pin is coupled through a selected one of a first programming resistor to said first DC voltage supply rail, and a second programming resistor to said second DC voltage supply rail.
3. The apparatus according to claim 2, wherein, for either a current-sourcing or a current-sinking mode, said programming input pin is coupled through said first programming resistor to said first DC voltage supply rail, causing said first operational amplifier to drive its switching device to conduct, so that said first operational amplifier attempts to make the voltage at its input match said first reference voltage, while said second operational amplifier maintains said second switching device in the off state, whereby a current will flow between said first DC supply rail through said first programming resistor, said input programming terminal and the current path of the turned-on first switching device, said offset current output terminal and said user-selected location of said PWM controller.
4. The apparatus according to claim 3, wherein for said current-sourcing mode, said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said first input of said operational amplifier of said PWM controller.
5. The apparatus according to claim 3, wherein for said current-sinking mode, said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said second input of said operational amplifier of said PWM controller.
6. The apparatus according to claim 2, wherein, for either a current-sourcing or a current-sinking mode, said programming input pin is coupled through said second programming resistor to said second DC voltage supply rail, causing said second operational amplifier to drive its switching device to conduct, so that said second operational amplifier attempts to make the voltage at its input match said second reference voltage, while said first operational amplifier maintains said first switching device in the off state, whereby a current will flow between said second supply rail through said second programming resistor, said input programming terminal and the current path of the turned-on second switching device, said offset current output terminal and said user-selected location of said PWM controller.
7. The apparatus according to claim 6, wherein for said current-sourcing mode, said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said second input of said operational amplifier of said PWM controller.
8. The apparatus according to claim 6, wherein for said current-sinking mode, said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said first input of said operational amplifier of said PWM controller.
9. The apparatus according to claim 2, further including a bandgap voltage generator circuit that is operative to generate said first and second DC voltages for application to said first and second operational amplifiers, respectively.
10. A method of generating a regulated direct current (DC) voltage, comprising the steps of:
- (a) providing a DC converter controlled by a pulse width modulation (PWM) generator which generates a PWM based output voltage at an output node thereof that is coupled through an inductor element to an output voltage terminal for application to a load; and
- (b) controlling the operation of said PWM generator by performing the steps of: 1- providing an operational amplifier having a first input coupled to receive a voltage reference, a second input and an output coupled to said PWM generator, 2- coupling a current feedback resistor between said output node and said second input of said operational amplifier, 3- generating a user-programmable one of a positive (+) or a negative (−) polarity constant current, and 4- supplying said user-programmable one of a positive (+) or a negative (−) polarity constant current to a user-selected location of said PWM generator.
11. The method according to claim 10, wherein step (b)3 comprises:
- providing first and second operational amplifiers that drive associated switching devices, said first operational amplifier being coupled to receive a first DC voltage referenced to a first DC power supply rail, and said second operational amplifier being coupled to receive a second DC voltage referenced to a second DC supply rail, current flow paths through said switching devices being coupled in series between an offset input terminal, to which a programming input pin is coupled, and an offset current output terminal from which said user-programmable one of a positive (+) or a negative (−) polarity current is derived, and wherein said programming input pin is coupled through a selected one of a first programming resistor to said first DC voltage supply rail and a second programming resistor to said second DC voltage supply rail.
12. The method according to claim 11, wherein, in step (b)4, for either a current-sourcing or a current-sinking mode, said programming input pin is coupled through said first programming resistor to said first DC voltage supply rail, causing said first operational amplifier to drive its switching device to conduct, so that said first operational amplifier attempts to make the voltage at its input match said first reference voltage, while said second operational amplifier maintains said second switching device in the off state, whereby a current flows between said first DC supply rail through said first programming resistor, said input programming terminal and the current path of the turned-on first switching device, said offset current output terminal and said user-selected location of said PWM controller.
13. The method according to claim 12, wherein step (b)4 corresponds to said current-sourcing mode, and wherein said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said first input of said operational amplifier of said PWM controller.
14. The method according to claim 12, wherein step (b)4 corresponds to current-sinking mode, and wherein said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said second input of said operational amplifier of said PWM controller.
15. The method according to claim 11, wherein, in step (b)4, for either a current-sourcing or current-sinking' mode, said programming input pin is coupled through said second programming resistor to said second DC voltage supply rail, causing said second operational amplifier to drive its switching device to conduct, so that said second operational amplifier attempts to make the voltage at its input match said second reference voltage, while said first operational amplifier maintains said first switching device in the off state, whereby a current will flow between said second supply rail through said second programming resistor, said input programming terminal and the current path of the turned-on second switching device, said offset current output terminal and said user-selected location of said PWM controller.
16. The method according to claim 15, wherein step (b)4 corresponds to current-sourcing mode, and wherein said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said second input of said operational amplifier of said PWM controller.
17. The method according to claim 15, wherein step (b)4 corresponds to current-sinking mode, and wherein said user-selected location of said PWM controller to which said offset current output terminal is applied corresponds to said first input of said operational amplifier of said PWM controller.
18. The method according to claim 11, wherein step (b)3 includes generating said first and second DC voltages from a bandgap voltage generator circuit.
19. A user-programmable constant current generator circuit comprising:
- an input terminal;
- an output terminal from which a user-programmable constant current is derived;
- a first operational amplifier having a first input coupled to receive a first DC voltage referenced to a first power supply rail, a second input, and an output coupled to drive an associated first switching device;
- a second operational amplifier having a first input coupled to receive a second DC voltage referenced to a first second power supply rail, a second input, and an output coupled to drive an associated second switching device;
- said first and second switching devices having current flow paths therethrough coupled between said input terminal and said output terminal; and
- a first programming resistor input pin coupling said input terminal to one of said first and second power supply rails.
20. The user-programmable constant current generator circuit according to claim 19, further including a bandgap voltage generator circuit that is operative to generate said first and second DC voltages for application to said first and second operational amplifiers, respectively.
Type: Grant
Filed: Oct 20, 2008
Date of Patent: Aug 31, 2010
Assignee: Intersil Americas Inc. (Milipitas, CA)
Inventor: Robert H. Isham (Flemington, NJ)
Primary Examiner: Shawn Riley
Attorney: Fogg & Powers LLC
Application Number: 12/254,450
International Classification: G05F 1/10 (20060101);