The present invention relates generally to analog multiplier circuits, and more particularly to improvements to correct for transistor base current and gain limitations, input offset variations, and limited accuracy and linearity range in conventional analog multipliers.
The prior art includes the article “MOS stacked differential pair multipliers”, J. L. Dawson and A. Hadiashar “A Chopper Stabilized CMOS Analog Multiplier with Ultra Low DC Offsets”, IEEE European Solid State Circuits Conference, in Montreux, Switzerland, pages 364-367, September, 2006. The prior art also includes the assignee's INA210 current shunt monitor circuit, which only measures the voltage across a current shunt and provides a scaled representation of that voltage.
Chopped MOS stacked differential pairs are disclosed in the above mentioned Dawson and Hadiashar article and are used in a 4-quadrant multiplier in which the multiplier inputs and outputs are differential. The chopping scheme illustrated is complex because it chops one set of inputs and “un-chops” the output, and then it chops another set of inputs and again un-chops the output, in a complex 4-quadrant fashion in order to maintain the correct output signal polarity. It is impractical to correct the gain errors of MOS stacked differential pair multipliers because the transconductance of a MOS differential pair drifts with temperature and changes with the differential input voltage. Furthermore, MOS stacked differential pair multipliers as disclosed in the Dawson and Hadiashar article are accurate only for very small voltage magnitude inputs.
The topology of MOS stacked differential pair multipliers, which sometimes have been referred to as Gilbert multipliers, is significantly different from the subsequently described conventional basic translinear Gilbert multiplier invented by Barry Gilbert. The MOS stacked differential pair multipliers use one differential input pair of MOS transistors, controlled by one voltage input, to feed the tail currents of other differential pairs controlled by the second voltage input, in contrast to translinear Gilbert multipliers, which are composed of bipolar transistors and rely on the logarithmic/exponential characteristic of bipolar transistors.
The closest prior art is believed to include a conventional translinear bipolar Gilbert multiplier, which is composed of bipolar transistors rather than MOS transistors and is hereinafter referred to as a “translinear Gilbert multiplier” to clearly distinguish it from MOS multipliers which are sometimes also referred to as Gilbert multipliers.
The average of IX+ and IX− is equal to (IX++IX−)/2 and is referred to as the reference current Iref, and the two differential quantities IMOut+−IMOut− and VMOut+−VMOut− are the “multiplier results”.
Chopping is a well known technique for eliminating input offset voltages in operational amplifiers and the like. Chopping continually swaps the two amplifier inputs. Since the inputs of an operational amplifier usually are at essentially the same voltage except for the amplifier input offset voltage which is only a few millivolts, the input node voltages do not change very much as they are swapped during the chopping operation. That means any parasitic capacitance associated with those nodes does not receive and discharge very much charge when going from one chopping state to the other.
However, chopping of relatively high current input signals of an amplifier ordinarily would be avoided because it would result in relatively large signal swings in response to the steep rising and falling edges of the chopping signal. Such large signal swings would be problematic. For example, in a chopped operational amplifier with feedback, the voltage excursions at the feedback input of the operational amplifier are very small, typically only a few millivolts. Since there is a “virtual short circuit” between the input terminals of an operational amplifier with feedback, the chopping or swapping (i.e., the swapping of the two inputs) results in the swapping or interchanging of two conductors of voltages which differ only by a few millivolts of input offset voltage of the operational amplifier. Consequently, the operational amplifier output only needs to move the feedback input of the operational amplifier a few millivolts to maintain the required virtual input short circuit. That results in very fast settling of the output and the feedback input of the operational amplifier. In a conventional operational amplifier, one ordinarily would not chop the operational amplifier inputs if it was necessary for them to change by hundreds of millivolts or more because of the resulting capacitance charging issues and voltage settling issues with the amplifier.
Chopping is impractical in most current mode circuits because it results in large voltage swings, especially at high impedance nodes. The large voltage swings cause various signal settling problems. The operational amplifier has to settle to its final values within the chopping cycle time frame in order to avoid large circuit operating errors. Furthermore, the capacitance associated with the operational amplifier signal terminals may need to be supplied with a significant amount of current in order to charge the terminals to their final voltages.
The gain of the above described translinear Gilbert multiplier cell is much more stable than the gain of the MOS stacked pair multiplier cell. The gain of the translinear Gilbert multiplier cell varies by approximately ±7%, whereas the gain of the MOS stacked pair multiplier cell varies by roughly ±30% or more due to process and temperature variations. However, conventional translinear Gilbert multiplier circuits suffer from various effects that have made them unsuitable for achieving current shunt power measurement accuracies with errors in the ±1% range. Nevertheless, there would be a substantial market for an economical analog multiplier that is capable of achieving accuracy wherein the errors are within the ±1% range or better over widely varying multiplier inputs.
Thus, there is an unmet need for an analog multiplier that is substantially more accurate than the closest prior art MOS stacked differential pair multipliers and translinear Gilbert multipliers.
There also is an unmet need for an analog multiplier which is capable of providing accuracies wherein the errors due to input offset voltage variations and gain variations are within a range of ±1% deviation from ideal.
There also is an unmet need for an analog multiplier which is capable of being used in a current shunt monitor circuit which provides power measurement accuracy wherein the errors are within a range of approximately ±1% deviation from ideal over a wide range of temperature and integrated circuit manufacturing process variations.
It is an object of the invention to provide an analog multiplier that is substantially more accurate than the closest prior art MOS stacked differential pair multipliers and translinear Gilbert multipliers.
It is another object of the invention to provide an analog multiplier which is capable of providing accuracies wherein the errors due to input offset voltage variations and gain variations are within a range of 1% deviation from ideal.
It is another object of the invention to provide an analog multiplier which is capable of being used in a current shunt monitor circuit which provides power measurement accuracy wherein the errors are within a range of approximately ±1% deviation from ideal over a wide range of temperature and integrated circuit manufacturing process variations.
Briefly described, and in accordance with one embodiment, the present invention provides analog multiplier circuitry (1-3) including first multiplier circuit (1) having a first transistor (Q0) with an emitter coupled to a first conductor (4), a base coupled to a second conductor (2), and a collector coupled to a third conductor (5), a second transistor (Q1) with an emitter coupled to the first conductor, a base coupled to a fourth conductor (3), and a collector coupled to a fifth conductor (6), a third transistor (Q2) with an emitter coupled to the second conductor and a base and collector coupled to a supply voltage, and a fourth transistor (Q3) with an emitter coupled to the fourth conductor and a base and collector coupled to the supply voltage. Chopping circuitry (22,23) includes a first X switch (22) for chopping a first differential input signal (IX+−IX−) between a sixth (2-1) and seventh (3-1) conductors to provide a chopped differential input signal between the second and fourth conductors and a second X switch (23) for un-chopping a first differential output signal (VMout+, −VMout−) produced between the third and fifth conductors to provide an un-chopped differential output signal between eighth (5-1) and ninth (6-1) conductors.
In one embodiment, the first multiplier circuit (1-3) includes a segmented translinear Gilbert multiplier (1-2) comprised of a plurality of multiplier cells (CELLS 1, 2 . . . ) interconnected so as to reduce the input offset voltage of the segmented translinear Gilbert multiplier (1-2).
In one embodiment, the analog multiplier circuitry (10) includes first (12A) and second (12B) correction circuits, wherein the first correction circuit (12A) includes a fifth transistor (Q7) which has a base current equal to a base current of the first transistor (Q0), and operates in response to the base current of the fifth transistor (Q7) to subtract a current equal to the base current of the first transistor (Q0) from a first current (IVLoad) in the first conductor (4) and also to provide a correction current equal to the base current of the first transistor (Q0) in the second conductor (2) to correct the first differential input signal (IX+−IX−) for errors caused by the base current of the first transistor (Q0). The second correction circuit (12B) includes a sixth transistor (Q6) which has a base current equal to a base current of the second transistor (Q1), and operates in response to the base current of the sixth transistor (Q7) to subtract a current equal to the base current of the second transistor (Q1) from the first current (IVLoad) in the first conductor (4) and also to provide a correction current equal to the base current of the second transistor (Q1) in the fourth conductor (3) to correct the first differential input signal (IX+−IX−) for errors caused by the base current of the second transistor (Q1).
In a described embodiment, the first correction circuit (12A) includes a first operational amplifier (13A) having a first input (−) coupled to the base of the fifth transistor (Q7), an output (15A) operative to control the flow of the base current of the fifth transistor (Q7) in a first current mirror (MP3,2,10), and a second input (+) coupled to the second conductor (2) and a first output (2,drain of MP2) of the first current mirror (MP3,2,10). The first output (2,drain of MP2) of the first current mirror (MP3,2,10) supplies base current to the first transistor (Q0) to effectively add the correction current equal to the base current of the first transistor (Q0) into the second conductor (2). A second output (drain of MP10) of the first current mirror (MP3,2,10) is coupled to control a second current mirror (MN5,6,9). A first output (drain of MN6) of the second current mirror (MN5,6,9) is coupled to subtract the current equal to the base current of the first transistor (Q0) from the first current (IVLoad) in the first conductor (4), and a second output (drain of MN9) of the second current mirror (MN5,6,9) is coupled to subtract the current equal to the base current of the first transistor (Q0) from a second current (IVLoad2) in a sixth conductor (11) connected to an emitter of the fifth transistor (Q7). The second correction circuit (12B) includes a second operational amplifier (13B) having a first input (−) coupled to the base of the sixth transistor (Q6), an output (15B) operative to control the flow of the base current of the sixth transistor (Q6) in a third current mirror (MP0,1,11), and a second input (+) coupled to the fourth conductor (3) and a first output (3,drain of MP1) of the third current mirror (MP0,1,11). The first output (3,drain of MP1) of the third current mirror (MP0,1,11) supplies base current to the second transistor (Q1) to effectively add the correction current equal to the base current of the second transistor (Q1) into the fourth conductor (3). A second output (drain of MP11) of the third current mirror (MP0,1,11) is coupled to control a fourth current mirror (MN8,7,10), and a first output (drain of MN7) of the fourth current mirror (MN8,7,10) is coupled to subtract the current equal to the base current of the second transistor (Q1) from the first current (IVLoad) in the first conductor (4). A second output (drain of MN10) of the fourth current mirror (MN8,7,10) is coupled to subtract the current equal to the base current of the second transistor (Q1) from the second current (IVLoad2) in the sixth conductor (11), and the sixth conductor (11) is connected to an emitter of the sixth transistor (Q6).
In one embodiment, the analog multiplier circuitry (1-6) includes a first circuit (46) for generating a first component of the first current (IVLoad) in response to a voltage (SenseSupply) representative of a second supply voltage (VSUPPLY) applied to a first terminal of a shunt resistor (RSHUNT) and for generating a DC signal (Iref=(IX++IX−)/2) on which the first differential input signal (IX+−IX−) is superimposed. The analog multiplier circuitry (1-6) also includes a second circuit (47) for generating values of the first differential input signal (IX+−IX−) in accordance with a sensing voltage (Vsense) developed across the shunt resistor (RSHUNT) in response to a load current (ILoad) flowing through the shunt resistor (RSHUNT). The first differential output signal (VMout+, −VMout−) represents the product of the current (ILoad) flowing through the shunt resistor (RSHUNT) and the supply voltage (VSUPPLY). In one embodiment, the first circuit (46) also generates a first component of the second current (IVLoad2=IVLoad) in response to the supply voltage (SenseSupply), and wherein the analog multiplier circuitry (1-6) also includes a second circuit (47) for generating first (CORRECTION TO IVLoad) and second (CORRECTION TO IVLoad2) correction currents in accordance with a power supply range signal (nLowSupply) to be superimposed on the first current (IVLoad) and the second current (IVLoad2), respectively. In one embodiment, the second circuit (47) includes circuitry (48) for adjusting the first current (IVLoad) according to a supply voltage range control signal (nLowSupply, nMedSupply, or nHighSupply).
In one embodiment, an output amplifier (31) having inputs coupled to receive the differential output signal (VMout+, −VMout−) provides feedback through the second X switch (23) to the inputs of the output amplifier (31). In one embodiment, a third X switch (34) is coupled between the output of the output amplifier (31) and an input of an output buffer (43) having an output is coupled to the second X switch (23). In one embodiment, a low pass filter (39) is coupled between the third X switch (34) and the input of the output buffer (43).
In one embodiment, the segmented translinear Gilbert multiplier (1-2) includes a first translinear Gilbert multiplier cell (CELL 1) including the first (Q0), second (Q1), third (Q2), and fourth (Q3) transistors, and wherein the segmented translinear Gilbert multiplier (1-2) also includes a second translinear Gilbert multiplier cell (CELL 2) having a topology essentially the same as the first translinear Gilbert multiplier cell (CELL 1) and including first (Q0), second (Q1), third (Q2), and fourth (Q3) transistors in a second translinear Gilbert multiplier cell (CELL 2). A first X switch (19-1) couples an emitter of the third transistor (Q2) of the second translinear Gilbert multiplier cell (CELL 2) to the emitter of one of the third (Q2) and fourth (Q3) transistors of the first Gilbert cell (CELL 1) and couples an emitter of the fourth transistor (Q3) of the second translinear Gilbert multiplier cell (CELL 2) to the emitter of the other of the third (Q2) and fourth (Q3) transistors of the first translinear Gilbert multiplier cell (CELL 1), in response to an offset adjustment signal (SwitchContr2). The emitters of the first (Q0) and second (Q1) transistors of the second translinear Gilbert multiplier cell (CELL 2) are directly coupled to the emitters of the first (Q0) and second (Q1) transistors, respectively, of the first translinear Gilbert multiplier cell (CELL 1). The segmented translinear Gilbert multiplier (1-2) also includes a second X switch (20-1) for coupling a collector of the first transistor (Q0) of the second translinear Gilbert multiplier cell (CELL 2) to the collector of one of the first (Q0) and second (Q1) transistors of the first Gilbert cell (CELL 1) and for coupling a collector of the second transistor (Q1) of the second translinear Gilbert multiplier cell (CELL 2) to the collector of the other of the first (Q0) and second (Q2) transistors of the first translinear Gilbert multiplier cell (CELL 1), in response to the offset adjustment signal (SwitchContr2).
In one embodiment, the first correction circuit (12A) is coupled to the second (2) and fourth (3) conductors by means of a first Y switch (25A) and the second correction circuit (12B) is coupled to the second (2) and fourth (3) conductors by means of a second Y switch (25B). A first input of each of the first (25A) and second (25B) Y switches is coupled to the fourth conductor (3), and a second input of each of the first (25A) and second (25B) Y switches is coupled to the second conductor (3), the first (25A) and second (25B) Y switches being operative to alternately couple the first (12A) and second (12B) correction circuits to opposite ones of the second (2) and fourth (3) conductors during alternate cycles of a chopping control signal (CHOP CONTROL) that also controls the chopping circuitry (22,23).
In one embodiment, the invention provides a method for providing increased accuracy in an analog multiplier, the method including providing a first multiplier circuit (1) including a first transistor (Q0) having an emitter coupled to a first conductor (4), a base coupled to a second conductor (2), and a collector coupled to a third conductor (5), a second transistor (Q1) having an emitter coupled to the first conductor (4), a base coupled to a fourth conductor (3), and a collector coupled to a fifth conductor (6), a third transistor (Q2) having an emitter coupled to the second conductor (2) and a base and collector coupled to a first supply voltage (VDD), and a fourth transistor (Q3) having an emitter coupled to the fourth conductor (3) and a base and collector coupled to the first supply voltage (VDD); chopping a first differential input signal (IX+−IX−) between a sixth conductor (2-1) and a seventh conductor (3-1) to provide a corresponding chopped differential input signal (IX+−IX−) between the second (2) and fourth (3) conductors; and un-chopping a first differential output signal (IMout+, −IMout−) produced between the third (5) and fifth (6) conductors by the first multiplier circuit (1) to provide a corresponding un-chopped differential output signal (IMout+, −IMout−) between an eighth conductor (5-1) and a ninth (6-1) conductor.
In one embodiment, the method includes providing a transistor base current that is equal to a base current of the first transistor (Q0) and using the provided transistor base current to produce correction current equal to the base current of the first transistor (Q0) which is subtracted from a first current (IVLoad) in the first conductor (4), and providing another transistor base current that is equal to a base current of the first transistor (Q0) and using that provided transistor base current to produce correction current equal to the base current of the second transistor (Q1) which is subtracted from the first current (IVLoad), and using the provided transistor base current equal to the base current of the first transistor (Q0) to add a correction current into the second conductor (2), and using the provided transistor base current equal to the base current of the second transistor (Q1) to add a correction current into the fourth conductor (2).
In one embodiment, the method includes generating a first component of the first current (IVLoad) in response to a supply voltage (VSUPPLY) applied to a first terminal of a shunt resistor (RSHUNT), and generating a DC signal (Iref=(IX++IX−)/2) on which the first differential input signal (IX+−IX−) is superimposed, and also generating values of the first differential input signal (IX+−IX−) in accordance with a sensing voltage (Vsense) developed across the shunt resistor (RSHUNT) in response to a load current flowing through the shunt resistor (RSHUNT), wherein the first differential output signal (VMout+−VMout−) represents the product of the current flowing through the shunt resistor (RSHUNT) multiplied by the supply voltage (VSUPPLY).
In one embodiment, the method includes providing the first multiplier circuit (1) as a combination of multiple multiplier cells (CELLS 1, 2 . . . ) and interconnecting the multiple multiplier cells so as to reduce the input offset voltage of the segmented translinear Gilbert multiplier (1-2 in response to an offset adjustment signal (SwitchContr2).
In one embodiment, the invention provides an analog multiplier circuit including a first multiplier circuit (1) including a first transistor (Q0) having an emitter coupled to a first conductor (4), a base coupled to a second conductor (2), and a collector coupled to a third conductor (5), a second transistor (Q1) having an emitter coupled to the first conductor (4), a base coupled to a fourth conductor (3), and a collector coupled to a fifth conductor (6), a third transistor (Q2) having an emitter coupled to the second conductor (2) and a base and collector coupled to a first supply voltage (VDD), and a fourth transistor (Q3) having an emitter coupled to the fourth conductor (3) and a base and collector coupled to the first supply voltage (VDD); means (22) for chopping a first differential input signal (IX+−IX−) between a sixth conductor (2-1) and a seventh conductor (3-1) to provide a corresponding chopped differential input signal (IX+−IX−) between the second (2) and fourth (3) conductors; and means (23) for un-chopping a first differential output signal (IMout+−IMout−) produced between the third (5) and fifth (6) conductors by the first multiplier circuit (1) to provide a corresponding un-chopped differential output signal (IMout+−IMout−) between an eighth conductor (5-1) and a ninth (6-1) conductor.
In one embodiment, the invention provides segmented analog multiplier circuitry (1-2) including a first multiplier circuit (CELL 1) including a first transistor (Q0) having an emitter coupled to a first conductor (4), a base coupled to a second conductor (2), and a collector coupled to a third conductor (5), a second transistor (Q1) having an emitter coupled to the first conductor (4), a base coupled to a fourth conductor (3), and a collector coupled to a fifth conductor (6), a third transistor (Q2) having an emitter coupled to the second conductor (2) and a base and collector coupled to a first supply voltage (VDD), and a fourth transistor (Q3) having an emitter coupled to the fourth conductor (3) and a base and collector coupled to the first supply voltage (VDD). Second multiplier circuit (CELL 2) includes a first transistor (Q0) having an emitter coupled to the first conductor (4), a base coupled to a sixth conductor (2-2), and a collector coupled to a seventh conductor (5-2), a second transistor (Q1) having an emitter coupled to the first conductor (4), a base coupled to an eighth conductor (3-2), and a collector coupled to a ninth conductor (6-2), a third transistor (Q2) having an emitter coupled to sixth conductor (2-2) and a base and collector coupled to the first supply voltage (VDD), and the eighth transistor (Q3) having an emitter coupled to the fourth conductor (3-2) and a base and collector coupled to the first supply voltage (VDD). A first X switch (19-1) has a first port coupled to the sixth (2-2) and eighth (3-2) conductors and a second port coupled to the second (2) and fourth (3) conductors, for repetitively swapping connections of the second (2) and fourth (3) conductors to the sixth (2-2) and eighth (3-2) conductors, respectively, in response to a switching control signal (SwitchContr2). A second X switch (20-1) has a first port coupled to the third (5) and fifth (6) conductors and a second port coupled to the seventh (5-2) and ninth (6-2)) conductors, for repetitively swapping connections of the third (5) and fifth (6) conductors to the seventh (5-2) and ninth (6-2) conductors, respectively, in response to the switching control signal (SwitchContr2). The first multiplier cell (CELL 1) is coupled to the second multiplier cell (CELL 2) in response to an offset adjustment signal (SwitchContr2) so as to obtain at least partial cancellation of input offset voltages of the first multiplier cell (CELL 1) and the second multiplier cell (CELL 2) to obtain a reduced net input offset voltage of the segmented analog multiplier circuitry (1-2).
In one embodiment, the invention provides base current corrected analog multiplier circuitry (10) including a multiplier circuit (1) having a first transistor (Q0) with an emitter coupled to a first conductor (4), a base coupled to a second conductor (2), and a collector coupled to a third conductor (5). A second transistor (Q1) has an emitter coupled to the first conductor (4), a base coupled to a fourth conductor (3), and a collector coupled to a fifth conductor (6). A third transistor (Q2) has an emitter coupled to the second conductor (2) and a base and collector coupled to a first supply voltage (VDD), and a fourth transistor (Q3) has an emitter coupled to the fourth conductor (3) and a base and collector coupled to the first supply voltage (VDD). A first correction circuit (12A) includes a fifth transistor (Q7) which has a base current equal to a base current of the first transistor (Q0). The first correction circuit (12A) operates in response to the base current of the fifth transistor (Q7) to subtract a correction current equal to the base current of the first transistor (Q0) from a first current (IVLoad) in the first conductor (4). A second correction circuit (12B) includes a sixth transistor (Q6) which has a base current equal to a base current of the second transistor (Q1). The second correction circuit (12B) operates in response to the base current of the sixth transistor (Q7) to subtract a correction current equal to the base current of the second transistor (Q1) from the first current (IVLoad) in the first conductor (4).
In one embodiment, the first correction circuit (12A) includes a first operational amplifier (13A) with a first input (−) coupled to the base of the fifth transistor (Q7), an output (15A) operative to control the flow of the base current of the fifth transistor (Q7) in a first current mirror (MP3,2,10) wherein the first output (2,drain of MP2) of the first current mirror (MP3,2,10) supplies base current to the first transistor (Q0) to effectively add the correction current equal to the base current of the first transistor (Q0) into the second conductor (2), and a second input (+) coupled to the second conductor (2) and a first output (drain of MP2) of the first current mirror (MP3,2,10). A second output (drain of MP10) of the first current mirror (MP3,2,10) is coupled to control a second current mirror (MN5,6,9). A first output (drain of MN6) of the second current mirror (MN5,6,9) is coupled to subtract correction current equal to the base current of the first transistor (Q0) from the first current (IVLoad) in the first conductor (4), and a second output (drain of MN9) of the second current mirror (MN5,6,9) is coupled to subtract correction current equal to the base current of the first transistor (Q0) from a second current (IVLoad2) in a sixth conductor (11) connected to an emitter of the fifth transistor (Q7). The second correction circuit (12B) includes a second operational amplifier (13B) having a first input (−) coupled to the base of the sixth transistor (Q6), an output (15B) operative to control the flow of the base current of the sixth transistor (Q6) in a third current mirror (MP0,1,11), and a second input (+) coupled to the fourth conductor (3) and a first output (drain of MP1) of the third current mirror (MP0,1,11) wherein the first output (3,drain of MP1) of the third current mirror (MP0,1,11) supplies base current to the second transistor (Q1) to effectively add correction current equal to the base current of the second transistor (Q1) into the fourth conductor (3). A second output (drain of MP11) of the third current mirror (MP0,1,11) is coupled to control a fourth current mirror (MN8,7,10). A first output (drain of MN7) of the fourth current mirror (MN8,7,10) is coupled to subtract the correction current equal to the base current of the second transistor (Q1) from the first current (IVLoad) in the first conductor (4). A second output (drain of MN10) of the fourth current mirror (MN8,7,10) is coupled to subtract the correction current equal to the base current of the second transistor (Q1) from the second current (IVLoad2) in the sixth conductor (11), the sixth conductor (11) being connected to an emitter of the sixth transistor (Q6).
At this point, it will be helpful to show how a translinear Gilbert multiplier may be utilized in a current shunt monitor circuit 1-7 generally as shown in
Referring again to
Similarly, correction circuit 12B includes a P-channel transistor MP12 having its gate connected to conductor 4 and the drain of a N-channel transistor MN7. The drain of transistor MP12 is connected to the gates of N-channel transistors MN10, MN7, and MN8, the sources of which are connected to ground. The drain of transistor MP12 also is connected to the drain of transistor MN8. The drain of transistor MN 10 is connected to a conductor 11 into which a base current correction to IVLoad2 flows. The source of transistor MP12 is connected to the drain of a P-channel transistor MP11, the source of which is connected to VDD. The gate of transistor MP11 is connected by conductor 14B to the gate of a P-channel transistor MP1, the gate of P-channel transistor MP0, the source of a N-channel transistor MN2, and a current source 21B which is referenced to ground. The sources of transistors MP1 and MP0 are connected to VDD. The drain of transistor MP1 is connected to the (+) input of amplifier 13B. The drain of transistor MP1 supplies base current to transistor Q1 to, in effect, add a correction current equal to the base current of the second transistor Q1 into conductor 3 so that the IX− current is corrected for error caused by the base current of Q1. Again, the base current of Q1 causes two kinds of error, the first kind being caused by the fact that the base current of transistor Q1 is diverted from IX−, and the second kind being caused by the fact that the base current of transistor Q1 is a component of its emitter current and therefore is added into IVLoad. Base current correction circuit 12B corrects for both kinds of error. The first kind of error is corrected by means of transistor MP1, and the second kind of error is corrected by means of transistor MN7. The drain of transistor MN2 is connected to VDD. The drain of transistor MP0 is connected to the gate of transistor MN2, one plate of a compensation capacitor C1, and the drain of a N-channel transistor MN0. The gate of transistor MN0 is connected by conductor 15B to the output of amplifier 13B and the other plate of capacitor C1. The source of transistor MN0 is connected by conductor 17B to the (−) input of amplifier 13B and the base of a NPN transistor Q6. The collector of transistor Q6 may be connected to VDD, and its emitter is connected to conductor 11. The base current correction to IVLoad2 flows out of the emitters of transistors Q6 and Q7 and into the drains of transistors MN7 and MN10 through conductor 11. (Note that in some cases the collectors of transistors Q7 and Q6 could be advantageously connected to conductor 7 instead of VDD.)
Transistors Q7 and Q6 are arranged so as to precisely “mimic” the operation of transistors Q0 and Q1, respectively, such that the base currents of transistors Q7 and Q6 are identical to the base currents of multiplier transistors Q0 and Q1, respectively. The base currents of transistors Q7 and Q6 are mirrored, and the mirrored base currents are appropriately added to and subtracted from various conductors, as subsequently explained, so as to correct for the errors which are caused by the base currents of transistors Q0 and Q1 and by the limited β of the transistors in multiplier 1. (However, the circuit of
The multiplier function performed by multiplier 1 can multiply a shunt current input by a supply voltage input (VSUPPLY in
The power measurement output generated by multiplier 1 is represented by either of the differential multiplier output current IMOut+−IMOut− or the corresponding differential multiplier output voltage VMout+−VMout− generated by multiplier 1. (The differential multiplier output voltage VMout+−VMout− is developed across a pair of load resistors, such as resistors R shown in Prior Art
The geometry of transistor Q7 in
In correction circuit 12A, the base current of transistor Q7 flows through conductor 17A, transistor MN1 and through current mirror input transistor MP3, and therefore is mirrored through current mirror output transistors MP2 and MP10. The drain voltage VX+ of transistor MP2 is connected by conductor 2 to the (+) input of operational amplifier 13A and also to the base of transistor Q0 in translinear Gilbert multiplier 1. The output 15A of amplifier 13A is connected to the gate of transistor MN1, the source of which provides feedback to the (−) input of amplifier 13A. This causes the base voltage of transistor Q7 to be precisely equal to the base voltage of transistor Q0, on conductor 2. In other words, the base current of transistor Q0 is precisely replicated as the base current of transistor Q7. Thus, transistor MP2 mirrors the base current of transistor Q7, and the feedback loop of operational amplifier 13A and associated current mirror circuitry in block 12A of
Similarly, the voltage VX− on conductor 3 in
The reason it is desirable for all of the IX+ current and all of the IX− current to flow through transistors Q2 and Q3, respectively, is that the applicable translinear Gilbert multiplier equations are based on the exponential nature of a bipolar transistor PN junction, and the resulting differential voltage based on the differential input current IX+−IX− is equal to the logarithm of that differential current. Multiplication is achieved by applying that voltage (i.e., the logarithm of the ratio of IX+ to IX−, which corresponds to the differential voltage between conductors 2 and 3) across the two “exponential” emitter-base junctions and by, in effect, taking the logarithm of the differential current and the logarithm of IVLoad in transistors Q0 and Q1 adding those two logarithms together, and generating an exponential value in the differential output current IMout+−IMout− in the collectors of transistors Q0 and Q1. If the base currents of transistors Q0 and Q1 are canceled or are supplied by transistor MP2 or transistor MP1, then all of currents IX+ and IX− go through the emitter-base junctions of transistors Q2 and Q3, respectively, and a “pure” logarithm of the differential current is, in effect, generated. However, if some of IX+ and IX− is lost in the form of base current into transistors Q0 and Q1, that results in an error in the differential output current IMout+−IMout− in the collectors of transistors Q0 and Q1.
The base current of transistor Q0 appears as part of its emitter current, which becomes part of IVLoad. Consequently, the base current of transistor Q0 produces an error component in IVLoad, and similarly, the base current of transistor Q7 appears as part of its emitter current, which becomes part of IVLoad2 and produces an error component in IVLoad2. The mirrored replica of the base current of transistor Q0 produced in current mirror output transistor MP10 flows through transistor MP13 into another current mirror including transistors MN5, MN6, and MN9. That mirrored current is again mirrored so as to flow through transistor MN6, which in effect subtracts the base current of transistor Q0 from IVLoad in conductor 4 so it does not affect IVLoad. The error in IVLoad due to the base current of transistor Q0 is thereby eliminated. Similarly, the mirrored base current replica current flowing through transistor MN9 in effect subtracts the base current of transistor Q0 from IVLoad2 and eliminates the corresponding error in IVLoad2 due to the base current of Q0 or Q7.
The description of the operation of correction circuit 12B is entirely similar to the operation of correction circuit 12A, and therefore is not repeated.
Referring to
Switching control signals SwitchContr2, SwitchContr3, . . . and SwitchContrN control switching of the X switches such that the various “internal” VMout+ and VMout− terminals of the various additional switchable Multiplier Cells 2, 3 . . . and N are selectively connected to output conductors 5 and 6, respectively, or vice versa. The various “internal” IX+ and IX− terminals of the switchable Multiplier Cells 2, 3 . . . and N are selectively connected to input conductors 2 and 3, respectively, or vice versa in such a way as to minimize the overall net input offset voltage of segmented multiplier 1-2. The switching may be accomplished during manufacture by measuring the input offset voltage of each of Multiplier Cell 1, Multiplier Cell 2, . . . Multiplier Cell N and blowing appropriate fuses (not shown) to generate the above-mentioned control signal so as to accomplish the desired connections between them and input conductors 2 and 3 and output conductors 5 and 6.
The foregoing segmenting reduces the overall net input offset voltage of segmented multiplier 1-2 due to inherent mismatches associated with the various Q0, Q1, Q2, and Q3 transistors by dividing multiplier 1-2 into smaller, symmetrical, parallel-coupled multiplier cells and then arranging them by means of the various X switches and switching control signals so as to decrease the overall input offset voltage. The separate parallel-coupled multiplier cells operate individually and provide opposite-polarity contributions to an averaged composite output signal having a substantially decreased input-referred offset.
Referring to
Basically, the chopping of multiplier circuit 1-3 in
The emitters of transistors Q2 and Q3 provide very low impedance drive to charge the capacitances of conductors 2 and 3, respectively, so chopping noise signals on those conductors settle very rapidly. The output of the translinear Gilbert multiplier, for example as shown in
In
The low impedance emitters of the bipolar transistors in multiplier 1-2 of
It should be appreciated that to achieve successful chopping of a current mode signal, four sensing switches should be used, or else the resistance of the switches must be reduced enough that the IR voltage drop across the switches is negligible. The Y switches 25A and 25B in
Referring to
Previously described
Part of the correction circuit 12A in
During one chopping phase, the base voltage of transistor Q0 is fed through Y switch 25A to the Ib+ correction circuit 12A. Then, when all of the “X” chopping switches change phase, the base voltage of transistor Q0 is fed through Y switch 25B to the Ib− correction circuit 12B. The Y switches 25A are synchronized to the X switches 25B and sense the voltages at the bases of transistors Q1 and Q0 (instead of sensing the corresponding voltages on conductors 2-1 and 3-1 below X switch 22). Since output of multiplier 1-4 of
Referring to
Conductor 44 also is connected to a feedback network including resistors 30-1, 30-2, 30-3, and 30-4, which help scale and convert the chopped differential multiplier output current IMout+−IMout− (and differential output voltage VMout+−VMout−) into a single-ended voltage output without adding error to the signal. One terminal of resistor 30-2 is connected to output conductor 44, and its other terminal is connected by conductor 6-1 to the IMout− terminal of multiplier 1-4 and to one terminal of resistor 30-4, the other terminal of which is connected to VDD. The IMout+ terminal of multiplier 1-4 is connected to one terminal of each of resistors 30-1 and 30-3. The other terminal of resistor 30-1 is coupled to ground (or any other suitable reference voltage) and the other terminal of resistor 30-3 is connected to VDD. The resistor network at the top of the
Referring to
Section 46 of current shunt monitoring circuitry 1-6 also includes an operational amplifier 51, the output of which is connected to the gates of N-channel transistors MN1 and MN2. A suitable reference voltage Vref is applied to the (+) input of amplifier 51. The drain of transistor MN1 is connected to provide a DC reference part or component of IX+ and the drain of transistor MN2 is connected to provide a DC reference part or component of IX−. The source of transistor MN1 is coupled to the (−) input of operational amplifier 51 and to one terminal of a resistor R9, the other terminal of which is connected to ground sensing conductor 45. The source of transistor MN2 is coupled by a resistor R10 to ground sensing conductor 45.
Referring to
Some of the remaining circuitry 48 shown in
Operational amplifier 50 in
If IX+ and IX− are equal, the voltages of the bases of transistors Q1 and Q0 are equal. In this case, IY is split equally between transistors Q0 and Q1. This means the differential output current IMout+−IMout− is zero. If a differential value of IX+ and IX− is provided, for example if IX+ is equal to 2IX−, then the base voltage of transistor Q0 is lower than the base voltage of transistor Q1 because more current flows through transistor Q2. That means transistor Q1 is turned on harder than transistor Q0, and the largest portion of IY flows through transistor Q1 and a small portion of IY flows through transistor Q0. In a differential pair of bipolar transistors such as Q0 and Q1, if there is a ratio of currents in the two transistors at a particular temperature, that ratio corresponds to a certain number of millivolts of difference in their base-emitter or VBE voltages. At room temperature, this 2-to-1 ratio of currents between IX+ and IX− will develop an 18 mV difference in their VBE voltages. That 18 mV differential voltage driving Q0 and Q1 corresponds to a 2-to-1 ratio between their collector currents IMout+ and IMout−. Therefore, it can be shown that if the DC reference current component into IX+ and IX− is substantially increased, then the above described 18 mV difference is decreased, and it can be shown that increasing the reference current IY reduces the gain of a translinear Gilbert multiplier. The differential output current of the translinear Gilbert multiplier is {IY×(IX+−IX−)}÷Iref. Iref must be larger than the largest possible differential value of IX+−IX− in order for the translinear Gilbert multiplier to operate properly.
The circuitry in block 48 of
More specifically, in
Thus, the current shunt monitoring circuitry 1-6 of
If the measured power supply voltage is sufficiently low that the actual voltage drop across shunt resistor RSHUNT becomes fairly large compared with the measured power supply voltage such that the amount of power dissipated in the shunt resistor is not negligible, then current shunt monitoring circuitry 1-6 also can be utilized to correct the total amount of “measured” power delivered by the power supply to both the shunt resistor and the load. This is accomplished by determining and subtracting the power dissipated in the shunt resistor from the power delivered by the power supply to the shunt resistor and load together, and that is accomplished by using circuitry in block 48 of
Mode signals “nLowSupply”, “nMedSupply”, and “nHighSupply” in
Thus, the embodiment of the invention shown in
While the invention has been described with reference to several particular embodiments thereof, those skilled in the art will be able to make various modifications to the described embodiments of the invention without departing from its true spirit and scope. It is intended that all elements or steps which are insubstantially different from those recited in the claims but perform substantially the same functions, respectively, in substantially the same way to achieve the same result as what is claimed are within the scope of the invention.