This invention relates to DC current regulators and to current mirrors and to methods of operating the same.
The phenomenon of electromagnetic interference (EMI) and the resulting general framework defining to what extent electronic devices and applications must be able to work together without disturbing each other (electromagnetic compatibility, abbreviated EMC) first became a concern during the second World War. One of the top EMI nuisances at that time was the electric motor noise, conducted through power supply lines into sensitive electronic equipment. Since then, the major increase of electronic appliances, the use of higher frequencies and the omnipresence of (fast) switching digital computing devices have made EMC a global concern, that has gained much importance over the years. With appliances working at speeds of a few hundred megahertz, to some gigahertz, even the tiniest track of the most carefully designed printed circuit board (PCB) behaves like a microwave transmission line. In the same way that increasing working frequencies extrapolated the EMI problem from long power lines to much smaller PCB tracks, history is repeating itself by moving this issue towards the field of micro electronic circuits. Due to their small size, microelectronic circuits are in practice not easily disturbed by radiated disturbances, they are however much more prone to noise conducting interferences, that are present on PCB tracks. Current mirrors and current regulators are two commonly used elements in analog circuitry which can be susceptible to conducted EMI.
Accordingly, an aspect of the present invention seeks to provide a DC current regulator which is affected, to a lesser degree, by conducted EMI. A further aspect of the present invention seeks to provide a current mirror which is affected, to a lesser degree, by conducted EMI.
A first aspect of the present invention provides a current regulator circuit comprising:
a first circuit node which is operable to receive an external input voltage;
a transistor having an input, a first leg and a second leg, the first leg of the transistor being isolated from the first circuit node;
an amplifier having an output connected to the input of the transistor, a first amplifier input for receiving a reference voltage and a second amplifier input connected to the first circuit node;
a low-pass filter connected between the output of the amplifier and the first circuit node;
a current mirror connected in series with the second leg of the transistor and having a first branch for providing a regulated output current and a second branch which connects to the first circuit node.
In this manner, a feedback loop is provided from the first circuit node, the second amplifier input, the output of the amplifier, the input of the transistor, the second leg of the transistor and via the current mirror back to the first circuit node. The loop is subject to the effects of the low-pass filter. The low-pass filter has an advantage of shielding the amplifier and other parts of the circuit from EMI. Isolating the first leg (i.e. the source) of the transistor from the first circuit node, by use of the current mirror, prevents EMI from clipping, and thus distorting, the output current, as occurs in conventional regulators. A further advantage of the improved regulator is that the external EMI source connected to the first circuit node “sees” a high impedance drain (e.g. of an MOS transistor M3 in
Preferably, in the circuit the first branch is directly or indirectly coupled to an output stage, which comprises a further current mirror, wherein the further current mirror is an EMI-filtering current mirror.
This provides the advantage that the output is smoothed still further with respect to EMI frequencies.
A regulated output current can be taken directly from the second leg (drain) of the transistor. In this embodiment, the first branch of the current mirror is in series with the second leg (drain) of the transistor. In an alternative, and preferred, arrangement the first branch of the current mirror which provides the regulated output current is a mirrored branch. This allows the current flowing from the second leg of the transistor to be copied and scaled, as required. In a further alternative embodiment the first mirrored branch connects to an output stage comprising one or more current mirrors which each provide a degree of EMI-filtering.
The amplifier is preferably an operational amplifier (op-amp).
A further aspect of the present invention provides a current regulator circuit comprising:
a first circuit node which is operable to receive an external input voltage;
a transistor having an input, a first leg and a second leg, the first leg of the transistor being connected to the first circuit node;
an amplifier (10) having an output connected to the input of the transistor, a first amplifier input for receiving a reference voltage (VREF) and a second amplifier input connected to the first circuit node;
a low-pass filter connected between the output of the amplifier and the first circuit node; and,
a current mirror connected in series with the second leg of the transistor, wherein the current mirror comprises a second transistor and a third transistor whose gates are connected together at a mirror node, the third transistor having an input branch connected in series with the second leg of the transistor to receive current and the third transistor having an output branch to mirror the received current as an output current (Iref);
a fourth transistor connected between the mirror node and a supply rail (Vcc); and,
a fifth transistor connected between the mirror node and another supply rail and having an input connected to the input branch.
The current mirror connected in series with the second leg of the transistor provides an EMI-filtering function.
Although the specific embodiments described in this specification show MOS transistors, it will be appreciated that any other type of transistor can be used in the circuits of the present invention, such as bipolar junction transistors (BJT).
Embodiments of the invention will be described, by way of example only, with reference to the accompanying drawings in which:
The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims. The drawings described are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. Where the term “comprising” is used in the present description and claims, it does not exclude other elements or steps. Furthermore, the terms first, second, third and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other sequences than described or illustrated herein.
Suppose conducted EMI (Vemi) is injected into this circuit at the trim pin 15, through a coupling capacitance Cc (
where p1 is the non-zero, finite dominant pole of A(s).
As long as Vemi is a small amplitude signal, so that the output MOS transistor remains in saturation, the voltage Vx at the source of transistor M1 can be written as the sum of a DC term VS, and an AC term vs:
Vx=VS+vs. (2)
Using the expression for a MOS transistor in saturation, the calculation for current Id yields:
where:
VGS=ADCVref−(ADC+1)VS. (4)
If no op-amp 10 is present, then VREF is directly connected to the gate of transistor M1, and so in that case, Id is equal to:
where:
VGS=VREF−VS. (6)
In equations (3) and (5) three different terms are clearly recognized, namely a DC term, a linear AC term and a quadratic AC term. These terms will be referred to as respectively the 1st, the 2nd and the 3rd term in the following explanation. Let gm be the transconductance of transistor M1. Assuming that 1/gm<<RL, the transfer function from Vemi to the source of M1 is easily found. Substituting these expressions into (3) and (5) yields the following results; in case where the op-amp is present:
and in the case where no op-amp is present:
The DC gain of the op-amp 10 depends on the tolerated DC error. Nevertheless, its pole location (and the resulting gain bandwidth (GBW) product) is a factor still to be determined.
Iref must ideally be equal to the wanted DC reference current, with preferably no AC components due to the EMI source at all, or at least limited to a ripple that is as small as possible. Externally, a decoupling capacitor can be placed to filter EMI: however, for the sake of the argument, let's assume that since an EMI problem is present in this circuit, this decoupling capacitor is either absent, or simply ineffective at the respective EMI frequencies. A possibility to filter EMI is to include a RC low-pass filter in the mirror node, as indicated in
Id=ID+î sin(ωt)=ID+mID sin(ωt). (9)
As long as m<1, Taylor expansion can be used. Vgs2 can then be expressed in terms of ID, as follows:
Considering that the EMI frequency co lies well above the cut off frequency of the low-pass filter formed by Rf and Cf:
This yields a different DC value compared to the case when no EMI was present. Returning to the current regulating circuit, it will now be shown that the RC low-pass filter in the mirror node does not cause charge pumping in case the op-amp is not present in the circuit. Referring to equation (5), the resulting VGS2 can be easily found:
This previous expansion clearly shows the gate-source voltage of the first mirror transistor (Vgs2) contains a constant DC term, and a linear AC voltage. Since this is a perfectly linear voltage signal, charge pumping will not occur as long as the AC components in Id stay small. Considering the case when the op-amp is present, a similar calculation can be performed. However,
then (7) simplifies to (8), in other words the op-amp becomes transparent to EMI frequencies. This seems at first an incorrect conclusion, since it has been certified earlier that Cc is a fictitious capacitor, representing a certain existing coupling of Vemi into the circuit. Additionally, and making abstraction of its exact nature, this coupling forms a high-pass filter with the input impedance of the circuit, and defines at which frequency the EMI starts to disturb the circuit under study: without the op-amp and disregarding the loading resistance RL, this pole frequency is equal to the ratio gm/Cc in the practical case when the coupling is represented by a capacitor. Adding an op-amp moves this pole a factor (1+A(s)) to higher frequencies, since the input impedance at the source is no longer 1/gm but 1/(gm(1+A(s)) instead. However, due to the op-amp, the signal at the source of M1 is equally amplified and inverted by the op-amp and fed back to the gate of M1. This causes the gate-source voltage of M1 to contain high swings, depending on the gain of the op-amp. These high Vgs1 swings generate, in turn, a highly modulated current Id, containing more AC components than in the event that the op-amp is not present (clearly visible in
Simulations of
It has been found that the main weakness of the classic current regulating structure is that the EMI source interferes with the source as well as the gate of transistor M1. Although it is possible to make the feedback path through the op-amp inaccessible to EMI by lowering the bandwidth of the op-amp it is, in the classic structure, not possible to reduce the EMI voltage at the source of the regulating transistor M1. This results in clipping and consequent heavy non-linear effects, which are dependent on the EMI amplitude. These problems can be solved by routing the feedback loop in a different way, as shown in
A current mirror 36 copies the current generated in leg 35, and completes a feedback loop to node 32, while making another copy to generate the wanted DC current. The current mirror comprises a first transistor M2 connected in series with the drain of transistor M1. The drain of transistor M2 is connected to the gate of transistor M2. The gate of transistor M2 is connected to the gate of each of transistors M3 and M4. The current flowing in leg 35 is mirrored in each of branches 37, 38. Branch 37 connects to node 32 and connects to the inverting input of amplifier 10. A feedback loop is provided between node 32, the inverting input (−) of amplifier 10, the gate of transistor M1, leg 35, via current mirror 36, branch 37 of the current mirror 36 back to node 32.
An integrator 33 is connected between node 32 and the output of amplifier 10. The integrator comprises a capacitance Ci connected between the output and inverting input of the amplifier 10, and a resistance Ri connected in series with the inverting input. Integrator 33 has the effect of filtering the input, and thus limiting the GBW of the amplifier.
Various modifications are included within the scope of the present invention. For example, a different low-pass filter could be used, instead of the integrator. However, by using the integrator, Ci can be much smaller due to Miller effect which is one of the main advantages provided by integration.
It is preferable to reduce, as much as possible, the disturbance component on the inverting input of the amplifier as this is this signal that will cause charge pumping (=DC shift) on the amplifier output. Increasing Ci decreases the integrator cut-off frequency, but equally causes the positive zero (inherent in the Miller capacitor Ci) to decrease in frequency. Therefore, it is preferable to increase the value of Ri, which maintains the position of the positive zero and the lowers (in frequency) the position of the integrator pole. Preferably, the GBW of the integrator should be as small as possible, e.g. loop must work for DC as well. However, this could make a very slow loop, with a very long settling time. On the other hand, a GBW that is too high means that more EMI is able to “leak” into the circuit. It is preferable that the GBW is several orders of magnitude lower than the lowest EMI frequency.
The performance of the circuit topologies shown in
Accordingly, a further aspect of the invention is a current mirror topology which is less sensitive to EMI. This will now be described more fully. The intrinsic non-linearity of analog integrated devices and circuits is a common source of EMI problems. These problems are likely to occur when a disturbance source is generating signal components at frequencies that are well outside the working band of the device itself. A well-known example is the signal from an AM transmitter that is heard while a gramophone record is being played, when the transmitter develops a field strength well above that to which the amplifier has been made immune. Since integrated circuits have small dimensions, they are much more sensitive to conducted rather than radiated disturbances. If these conducted interferences access an analog integrated circuit through outside paths, they will tend to prohibit the good working of this circuit in lots of ways, one of them for instance, by driving the biasing up and down, hereby heavily distorting the wanted signal(s) in the circuit. These amplitude variations may also cause severe DC shift errors on sensitive nodes in the respective circuit, due to the intrinsic non linear behavior of active components. This phenomenon will be called charge pumping.
Charge pumping can be a problem on a current mirror, which is widely used in analog circuits. The current mirror is a very useful structure to bias various circuits by copying and scaling currents. In its simplest form, the current mirror is composed of two transistors. A more detailed description can be found in K. R. Laker, W. M. C. Sansen, Design of analog integrated circuits and systems, Singapore: McGraw-Hill, 1994, chapter 4. The major strength of the current mirror is that it succeeds in yielding a global linear transfer function by using two non-linear components. This strength is also a weakness when, for instance, out of band EM disturbances are applied at its input node. The output current will then follow (almost) accordingly the input (depending on the magnitude and the frequency of the disturbance), thereby disturbing the circuits biased by this current mirror due to the large amplitude swings occurring on the output current. Placing a capacitor or a low-pass filter in the mirror node successfully filters the EMI signal, but causes charge pumping due to the non-linear Ids-Vgs relationship of a Metal Oxide Semiconductor Transistor (MOST).
Consider as an example a standard integrated current mirror, as shown in
Internally, a capacitor Ct can be placed between the gate node and ground as shown in
Below the pole frequency, almost no current flows through the capacitance Ct. Instead, all of the current flows through the drain of transistor M1, and previous equation can be rewritten as:
This equation shows that the DC level of the output current is lower than the DC level of the input current, due to the loading of this capacitor Ct, and the distortion it equivalently causes. Indeed, because the interfering EMI signal is distorted by Ct, it will “pump” the DC value on this mirror node to a lower value than it should have if there was no distortion present. This phenomenon will be called after its origin: charge pumping. In this case, it is typically a barely noticeable effect due to the multiplication with Ct (usually very small) in the equation, as long as the EMI amplitude remains below the bias current. When the EMI amplitude becomes larger than the bias current, heavy non-linear distortions start to occur (e.g. clipping). This is highly undesirable, since it can substantially shorten the lifetime of the IC and cause latch up: indeed, if no extra precautions are taken, the undershoots will introduce substrate current flow via the parasitic bulk drain diode. The mirror pole is defined by gm/Ct, so typically a very large Ct must be used to place this pole below the lowest EMI frequencies. As an example, to obtain an arbitrary attenuation of −40 dB at 1 MHz, the mirror pole must be placed 2 decades lower, at 10 kHz. With gm equal to 135 μS (realistic value, refer to the example further down), the needed Ct is 2.1 nF, which is quite a high value in integrated circuits. This makes this solution rather impractical. Exploring this idea further however, one might consider placing a low-pass RC filter between the gates of the first and second transistors M1, M2 as shown in
iEMI=î sin(ωt) (16)
Define the relationship between the amplitude of the EMI signal and the magnitude of the input bias current as the modulation index:
Considering that R>>1/gm1, the following equation holds:
If the modulation index m is smaller than 1, Taylor expansion can be used. This yields:
Because ω>>ωc, Vgs2 can be approximated by the DC value of Vgs1 :
This last equation shows that extra terms in function of m are causing charge pumping on this node, this time not because of distortion due to loading, but because a linear operation has been performed on a non-linear signal. If m increases to higher values than 1, the disturbance amplitude becomes higher than the bias current introducing heavy non linear distortion with all its undesirable consequences as explained earlier in this section. At this point, Taylor expansion may not be used any more, and one must look at other means to expand this function (using for example Volterra power series): this involves however a lot of heavy calculations that do not contribute directly to more basic insight. The interesting conclusion drawn from previous basic calculations, is that charge pumping will occur, and that it will be worse for higher values of m. Observe that the charge pumping is independent of C and R (as long as ω>>ωc and that R>>1/gm1).
It will now be proven that charge pumping is reduced: because the main interest lies in gaining an understanding of the circuit. Some sound approximations will be made in the same way as in the previous paragraph. First of all, note that Vgs1=Vgs4, so the current through the drain of transistor M7 is equal to the output current Iout. Disregarding the parasitic capacitances of the transistors, and performing a small signal analysis, the current transfer function between input and output is found to be equal to:
Consider again the same EMI disturbance (16). The drain current of M7 is then equal to:
where Ac(ω) is the attenuation presented by the current mirror at the specified frequency ω. For small disturbance amplitudes, this value is equal to |H(jω)|. For higher disturbance amplitudes, this value will diverge from |H(jω)|, but again, the important thing to remember is that there is an attenuation, reducing Iout and similarly the charge pumping on the mirror node. Using the Taylor expansion (m/Ac(ω)<1) to find the DC value on the mirror node yields:
Comparing this result to (20), it can be seen that the charge pumping term is much smaller due to the Ac(ω) term. For EMI frequencies lying above the unity gain frequency of the feedback transistors, the remaining EMI will still be filtered by C1, reducing the filter order from a 2nd to a 1st order.
As an example,
Capacitance is an expensive element to use in integrated circuits, so it is better to use this resource as economically as possible. Keeping the same cutoff frequency while minimizing the sum of C1 and C2 depends on the filter synthesis used.
The invention is not limited to the embodiments described herein, which may be modified or varied without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
06447005 | Jan 2006 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
4251743 | Hareyama | Feb 1981 | A |
4703249 | De La Plaza et al. | Oct 1987 | A |
5381082 | Schlicht | Jan 1995 | A |
5633612 | Lee | May 1997 | A |
6420911 | Warmerdam et al. | Jul 2002 | B1 |
7019584 | Bartel et al. | Mar 2006 | B2 |
Number | Date | Country | |
---|---|---|---|
20070216484 A1 | Sep 2007 | US |