CIRCUIT FOR PROVIDING A CONSTANT CURRENT

Abstract: Two substantially identical currents (I1,a, I1,b) are subtracted from each other, while being generated by elements (10, 11) in such a way that noise in the current value of said two currents (I1,a, I1,b) is determined by shot noise. The differential current, determined only by shot noise, is supplied to a capacitor (13). A second current (I2) is used to charge a second capacitor (22, 29). It is periodically determined whether the value of a voltage across the first capacitor (13) is within or outside a range bounded by the (negative and positive values of the) voltage of the second capacitor (22, 29) which has been charged over the same period of time. The currents (I1,b, Ib) are set in dependence on the result of the comparison. The signal to set the currents (I1,b, Ib) also serves as control signal for an element (43) connected as a constant current source. The setting signal and thus the constant current (I0) delivered by the element (43) connected as a current source is to a high degree independent of the temperature sensitivity of different components of the circuit and is determined essentially solely by the ratio of values of similar components (10, 11, 20, 27, 43) of the circuit. By choosing components whose ratio appears in a value of the constant current (I0) delivered by the circuit and which have the same temperature dependence, it is achieved that the temperature dependence disappears completely or substantially completely from the constant current (I0) delivered by the circuit.

Description: Circuit for providing a constant current The invention relates to a circuit for providing a constant current. The invention also relates to a method of providing a constant current. Such circuits are known for the generation of a constant current, independently of variations of temperature, supply voltage, etc. They are mainly used in analog circuits for providing a reference signal for the measurement of analog signals, for example in analog- digital converters or digital-analog converters, or for generating a constant supply current for, for example, sensors. Nowadays constant current references are derived from voltage reference circuits, so-called bandgap reference circuits. The conversion of a voltage to a current depends on the accuracy of a resistor or of the combination of a capacitor and a timer circuit for charging the capacitor by means of the voltage reference and discharging it so as to generate the output current. The components which are generally used for converting a reference voltage into a reference current, i.e. resistors and capacitors, have values which are usually temperature-dependent. In addition, the accuracy of a bandgap reference circuit depends on the compensation of temperature-dependent parameters of the circuit by means of other temperature-dependent parameters. Normally, this compensation is accurate only in a limited temperature range. It is an object of the invention to provide a circuit for supplying a constant current which does not suffer the disadvantages outlined above. The circuit according to the invention is for this purpose characterized by means for generating a first and a second of two substantially identical currents, means for supplying a differential current which is the difference between said two substantially identical currents to a first capacitor, means for supplying a variable charging current to at least one second capacitor, means for periodically discharging and subsequently charging again the first and the at least one second capacitor, means for generating a clock signal between two periodic discharges, which clock signal is a measure for the difference in voltage across the first and the at least one second capacitor, means for generating a setting signal for setting both the variable charging current and at least one of the two substantially identical currents in dependence of said clock signal, and means for controlling an element connected as a constant current source with a same signal as the setting signal. The invention is based on the following recognition. An electric current is formed by a flow of electrons (or holes, which will also be referred to as electrons hereinafter). An electron has a charge q. The charge Q transported by a current li during a time t is equal to Q 1 = I 1 t = qN 1 , in which Ni is the number of transported electrons. If the transport mechanism determining Iχ is controlled by the mutual independent emission of electrons in a device across an energy barrier higher than a few times kβΘ (in which kβ is the Boltzmann constant and Θ is the absolute temperature), Ni will have a Poisson distribution with the standard deviation Nι. The Poisson distribution may be approximated for high values of Ni by a standard distribution with an expected value Ni and a standard deviation i. The standard deviation of Q Ϊ may be written as A current to which this type of statistic is applicable is said to have "shot noise". Such a current is the saturated drain current of a MOS transistor which is set for the sub-threshold region, i.e. below the threshold voltage. The difference Δlt = I 1>a - Iι,b between two currents I lιa and I 1; b having equal expected values I t but uncorrelated shot noise values, for example such as generated by two MOS transistors set in the same manner, will lead to a fluctuation ΔQi = Qι, a - Qι,b- For Ni = (Iit q) » 1 this fluctuation by approximation has a standard distribution with an expected value zero and a standard deviation σ ΔQ, = ^ = ^ Said Δ∑ ! is supplied to an originally discharged capacitor with capacitance . A fluctuating voltage Ui then arises across the capacitor with capacitance , which voltage by approximation has a standard distribution with an expected value zero and a standard deviation In addition to the capacitor with capacitance mentioned above, there is also an originally discharged capacitor with capacitance C 2 . The capacitor with capacitance C 2 is charged by a current I 2 . The voltage U across this capacitor at moment t will be equal to U 2 = (I 2 t)/C 2 Provided the unequality I 2 t » q is complied with, the shot noise of I can be disregarded. Assuming that a standard distribution holds for U l5 the probability that Ui lies in the region (-U 2 , U 2 ) is given by P[-U 2 <U,<U2] = erf((U 2 )/((Λ/ 2^)) The function erf (error function) is defined as erf(x) = (2/( π))*JV y2 dy It will be assumed below for simplicity's sake that the probability P indicated above is equal to 0.5 because this value leads to a simple embodiment of the invention which is yet to be described in more detail. Alternative values of P are also possible and lead to other values of the factor erf 1 . The following relation can be derived for the current I 2 corresponding to P = 0.5 at moment t by means of the relations given above: I 2 =(2erf - 1 (0.5)) 2 *(I 1 /I 2 )(C 2 /C 1 ) 2 (q/t)=0.91*(I 1 /I 2 )(C 2 /C 1 ) 2 (q/t) in which the function erf 1 is the inverse of the error function erf. For a fixed ratio Iχ/1 2 the probability P[-U 2 <U 1 <U 2 ] is a rising function of I 2 . The probability P can be kept equal to 0.5 on average by sampling the time-dependent voltages Ut and U 2 at a given moment T and subsequently increasing I 2 if U 2 is smaller than the absolute value of Oι or decreasing I 2 if U is greater than the absolute value of Ui. After sampling, the capacitors and C 2 are discharged again, time t is reset to zero, and the capacitors Ci and C 2 are charged again with the respective currents Δli and I 2 , respectively, during a time period T. The resulting current I depends exclusively on the time period T, on the ratio of the capacitances C\ and C 2 , and on the ratio of the currents ϊ \ and I 2 . The latter two ratios can be kept constant in general, i.e. independent of temperature, supply voltage, etc., with a high degree of accuracy which is given by the mutually attuned properties of the components used. The time period T can be generated with high accuracy by means of a crystal oscillator or an oscillator with a ceramic resonator. The ratios Ii/I 2 and C^ can be optimized for a fixed value of I 2 T so as to occupy a minimum circuit surface area of the integrated circuit in the design of an integrated circuit which uses the circuit according to the present invention. It was assumed in the above that a comparison is made between the absolute value of the voltage Ui across the capacitor having capacitance Ci and the voltage U 2 across the capacitor having capacitance C . The result of this comparison is a signal whereby the current I 2 is increased or decreased in steps. An alternative algorithm consists in that the difference |Uι |- JT 2 is used as a measure for the error in a feedback loop which comprises an integrator which integrates the difference |Uι|-U 2 continuously, while the capacitors with capacitance values Ci and C 2 are periodically discharged in accordance with a given period T. The output of the integrator is then used for controlling the current I 2 such that I 2 is a continuous and monotonic rising function of the voltage at the output of the integrator. A feedback loop may be used for keeping the currents I 1)a and I 1; b equal on average. Provided the feedback loop including said integrator is sufficiently slow, which implies that fluctuations in the error signal are satisfactorily smoothed, the result will be that |Uι|-U 2 is kept equal to zero on average. Assuming again that a standard distribution is valid for Ui, the expected value of |Uι|-U 2 at moment t is given by <|U 1 |-U 2 >=(V(2/π))σ Uι -U 2 =(2/C 1 )(V(qI 1 t/π))-(I 2 t/C 2 ) Starting from this result, the expected value for the error signal averaged over the period T is given by <|U 1 |-U 2 >=(4/(3C 1 ))(Λ/(qI 1 T/π))-(I 2 T/2C 2 ) As was indicated above, the expected value of the average error signal over period T will be equal to zero. Equalizing the preceding equation to zero yields I 2 = (64/(9π))*(I 1 /l 2 )(C 2 /C 1 ) 2 (q/T) This is comparable to the result based on the algorithm in which the current I 2 is changed in steps and in which it is exclusively evaluated whether I 2 is greater or smaller than |Uι|. It is apparent from the above that it is possible to generate a constant current I 2 which is dependent on the ratio of two currents, the ratio of two capacitances, and a fixed time period. Although it is difficult in practice to lay down exactly a given current value and capacitance of a capacitor, it is not difficult in practice to lay down exactly a ratio of two currents and a ratio of two capacitances, especially in the case of integrated circuits. It is also possible to lay down time intervals with high accuracy by means of clock signals derived from a quartz crystal or a ceramic resonator. In particular, a ceramic resonator renders it possible to lay down time intervals with high accuracy. It is particularly notable that the description given above utilizes the extremely small differential current Mi of two currents I lja and Iι,b which are comparatively strong. Practical embodiments of circuits in which the algorithms described above are used will be explained in more detail below with reference to Figs. 1 and 2. The influence of the temperature on the current I 2 has been disregarded up to this point, because it was assumed that the initial voltages at the originally discharged capacitors with capacitances Ci and C were equal to zero. The following description, like the preceding description, will start from the assumption that the shot noise of I 2 can be disregarded, i.e. it is assumed that I 2 t » q. Any noise in the capacitor with capacitance C 2 can be disregarded in that case. It will become apparent below, however, that thermal noise in the discharging of the capacitor with capacitance C \ cannot be disregarded. It is necessary to short-circuit the capacitor with capacitance Ci by means of a switch, for example a MOS transistor, for discharging this capacitor. Such a switch will always have a finite series resistance R] which generates thermal noise, i.e. Nyquist noise. Said thermal noise has a spectral density in the noise voltage of 4kβΘR 1 . After low-pass filtering by the RC network consisting of R ! and Ci, this noise causes a fluctuating voltage across with a variance σ Uijth 2 = 0 J oo (4k B ΘR 1 )/(l+(2π R 1 C 1 ) 2 )d/=(k B Θ)/C 1 in which f is the frequency. The variance is independent of the value of R] . Accordingly, reducing the series resistance of the switch is useless for preventing thermal noise in the originally uncharged capacitors. Reducing the series resistance of the switch does help in speeding up the discharging. After the discharging switch has been opened, a quantity of charge is present in the capacitor with capacitance Ci which is determined by the value of the thermal noise at the moment the switch was opened. This initial thermal noise and the subsequent shot noise are mutually independent. To obtain the variance of the total noise voltage in the capacitor with capacitance Ci, the variances of the thermal noise and the shot noise are to be added together: σ Uι 2 =((2qI 1 t)/C 1 2 )+((k B Θ)/C 1 )=(q/C 1 )(((2I 1 t)/(C 1 ))+((k B Θ)/q)) The "thermal noise" kβΘ/q at room temperature is approximately 25 mV. If the first algorithm described above is used, it can be demonstrated that the inclusion of the original thermal noise in the capacitor with capacitance leads to the following corrected result for I 2 : I 2 = 2(erf - 2 (0,5))*(I 1 /I 2 )*(C 2 /C 1 ) 2 *(q/t)*(l+(l+((I 2 C 1 ) 2 /(Ii dkβΘ)/ (2erf - 2 (0,5))q 2 )) 1/2 ) This may be written as h = I2 + 12 in which I ) i is the original temperature-independent result for I 2 calculated without taking into account the Nyquist noise, and I 2i( j is the temperature-dependent portion of I 2 . In the case of a small correction, i.e. the shot noise dominates over the Nyquist noise, I 2] d may be approximated in the first order in Θ by lw * C2ft)((CikB0y(2qt)) It is apparent from the above that I 2 ,i and I 2ιC j are dependent on the ratio I 1 /I 2 and on the capacitances and C 2 in different manners. This difference can be utilized for making the temperature-dependent term I 2ι small in comparison with the temperature- independent term I 2 ,i through a suitable choice of the components of the circuit. It is possible on the basis of the above description of the currents I 2 , I 2 ,i and I 2ι to construct a current reference which supplies a current which is independent in the first order of the temperature Θ. Two current reference circuits, circuit a and circuit b, are designed for this purpose as described above and yet to be described below in more detail with reference to Figs. 1 and 2. The current reference circuits a and b have different ratios for I 2 ,d/I 2 ,i and the temperature-dependent, constant currents are combined in the following manner: Io = I 2 a - ((l2,d a )/(l2,d b ))I 2 b in which the first-order approximations are used for I 2)d a and I >d b , which leads to I2 4 /I2 4 = (I 2 a /l 2 b )(I 1 l 1 a )(G 1 7G 1 b ) The current I 0 no longer has a linear temperature dependence. Since the first- order approximations of I 2>d a and I 2(d b are temperature-dependent, but the quotient of the first- order approximations is temperature-independent, a correction term of the order of Θ is all that remains for the current I 0 . If the shot noise dominates over the Nyquist noise, this term with a quadratic temperature dependence can generally be made much smaller than the linear terms in I 2 a and I 2 b through a suitable choice of the components. Following a procedure similar to the one given above in relation to the first algorithm, a temperature-dependent correction term can be found for the current I 2 also with the second algorithm. In this case, again, a starting current I 0 may be designed which is independent of the temperature in the first order of Θ. Alternative combinations of the two currents I 2 a and I 2 b may be used for minimizing the temperature dependence, depending on the temperature range. Algorithms other than the two algorithms described above may be formulated for implementing a balance between a current and the shot noise of this current or of a different current. In addition, more complicated circuits may be designed for eliminating higher-order, for example second-, third-order, etc., temperature-dependent terms in the constant current generated by the circuit. The invention will now be explained in more detail with reference to the accompanying drawings, in which: Fig. 1 A is an example of a circuit which supplies a constant output current with the use of the first algorithm, which current may yet be dependent on the temperature; Fig. IB is a second example of a circuit which supplies a constant output current with the use of the first algorithm, which current may yet be dependent on the temperature; Fig. 2 shows a circuit which supplies a constant output current with the use of the second algorithm, which current may yet be dependent on the temperature; and Fig. 3 shows a circuit which supplies a constant current which is independent of the temperature up to the first order. Fig. 1 A shows a circuit according to the invention for supplying a constant current I 0 . The embodiment shown in Fig. 1 assumes that the various MOS transistors and capacitors shown are identical to a high degree, as do the embodiments shown in Figs. 2 and 3. Such an identicality can be achieved to a high degree if the circuits are constructed as integrated circuits. It will be assumed below that the circuits are constructed as integrated circuits. The circuit is provided between a supply voltage +Vcc and a supply voltage -Vcc. A P-MOS transistor 10 and an N-MOS transistor 11 are provided between the supply voltages +Vcc and -Vcc in series, the drain of the transistor 10 being directly connected to the drain of the transistor 11 at a junction point 12. A capacitor 13 with capacitance Ci is connected between the junction point 12 and ground. A switch 14 is connected in parallel to the capacitor 13. The switch 14 is an MOS transistor if the circuit is constructed as an integrated circuit. The switch 14 is controlled by a control circuit 17 via a control line 15 coming from a bus 16. The moments at which the switch 14 is operated by control signals on the line 15 and originating from the control circuit 17 so as to open and close will be discussed in more detail below. The gate of the transistor 10 is connected to a junction point 18, and the gate of the transistor 11 is connected to a junction point 19. The junction point 18 is also connected to the gate of a P-MOS transistor 20 whose source is connected to the supply voltage +Vcc. The drain of the transistor 20 is connected to a junction point 21. The junction point 21 is connected to one side of a capacitor 22, whose other side is connected to ground. The junction point 21 is also connected to one side of a switch 23, whose other side is connected to ground. The switch 23 is controlled by control signals originating from the control circuit 17 via a control line 24 coming from the bus 16. The junction point 21 is also connected to the non-inverting input of a comparator 25. The inverting input of the comparator 25 is connected to the junction point 12. The output of the comparator 25 is connected to a first input of an AND gate 26. The junction point 19 is also connected to the gate of an N-MOS transistor 27. The source of the transistor 27 is connected to the negative supply voltage -Vcc. The drain of the transistor 27 is connected to a junction point 28. The junction point 28 is again connected to a first side of a capacitor 29. The second side of the capacitor 29 is connected to ground. The junction point 28 is also connected to a first side of a switch 30. The second side of the switch 30 is connected to ground. The switch 30 is controlled by signals coming through a control line 21 from the bus 16, which signals are supplied by the control signal generator 17. The junction point 28 is also connected to the inverting input of a comparator 32. The junction point 12 is connected to the non-inverting input of the comparator 32. The output of the comparator 32 is connected to a second input of the AND gate 26. The junction point 12, finally, is connected to the inverting input of a comparator 33. The non-inverting input of the comparator 33 is connected to ground. The output of the comparator 33 is connected to a first side of a resistor 34. The second side of the resistor 34 is connected to a first side of a switch 35. The second side of the switch 35 is connected both to one side of a capacitor 36 and to the inverting input of an operational amplifier 37. The non-inverting input of the operational amplifier is connected to ground. The second side of the capacitor 36 and the output of the operational amplifier 37 are both connected to the junction point 18. The switch 35 is controlled by control signals coming from the bus 16 via control line 38 and originating from the control signal generator 17. The output of the AND gate 26 is connected to a first side of a resistor 39. The second side of the resistor 39 is connected to a first side of a switch 40. The second side of the switch 40 is connected to the inverting input of an operational amplifier 41 and to a first side of a capacitor 42. The second side of the capacitor 42 and the output of the operational amplifier 41 are connected to the junction point 19. The junction point 19 is also connected to the gate of an N-MOS transistor 43. The source contact of the transistor 43 is connected to the negative supply voltage -Vcc. The switch 40 is controlled by control signals over control line 44. The control line 44 comes from the bus 16, and the control signals originate from the control signal generator 17. Trimming resistors and other trimming elements for the MOS transistors, the comparators and the operational amplifiers have not been shown in Fig. 1 A for the sake of clarity. All MOS transistors shown in Fig. 1 A are set for the so-called sub-threshold region, i.e. the region below the threshold voltage, which leads to a saturated drain current. The drain currents obtained in this manner show a type of noise which is known as shot noise. It is important for the transistors 10 and 11 to have comparable characteristics, apart from the fact that the transistor 10 is a PMOS transistor and the transistor 11 a NMOS transistor. The fact that the transistors always remain in the sub-threshold region in the current range which is relevant is especially important. It is not necessary, however, for the transistors 10 and 11 to have fully identical properties. The same is true for the transistors 20 and 27. It is of major importance, however, that the transistors 10 and 20 should have identical characteristics, apart from a fixed factor I 2 /T 1>a . This factor, however, should be constant to a high degree. The same holds for the transistors 11, 27, and 43. The ratios I^b and Io/I 2 should be constant to a high degree. It is usual to use comparatively large transistors for this which have equal gate lengths but different gate widths. There are also special techniques for positioning the transistors relative to one another such that their equality is further improved. The same current flows through the two transistors 10 and 11, while the junction point 12 is at ground potential on average, which is achieved by means of the feedback loop formed by the comparator 33, the resistor 34, the switch 35, the capacitor 36, the operational amplifier 37, and the transistor 10. The resistor 34, the switch 35, the capacitor 36, and the operational amplifier 37 together form a so-called sample-and-hold circuit, in which the switch 35 is open in the idle state and is only closed under the influence of control signals coming in over the control line 38 from the control signal generator 17 when a new value is to be set for the voltage at junction point 18. Similarly, the resistor 39, the switch 40, the operational amplifier 41, and the capacitor 42 form a sample-and-hold circuit. The switch 40 is open in the idle state, and the switch 40 is closed by means of control signals coming from the control signal generator 17 via the control line 44 when the value of the voltage at the junction point 19 is to be refreshed. A current I 1)a flows through the transistor 10, and a current I^ b flows through the transistor 11. The noise behavior of these two currents is such that shot noise obtains. The difference of these two currents is extremely small and is determined by the shot noise only. The current through the transistor 20 and the current through the transistor 27 are identical as much as possible. A high degree of equality can be achieved in that the circuit is constructed as an integrated circuit. The same holds for the degree of equality of the capacitors 22 and 29. It is also achieved in that case that the current through the transistor 20 for charging the capacitor 22 is equal to a high degree to the current through the transistor 27 for charging the capacitor 29. The value of the current I 2 through the transistors 22 and 27 must be comparable to the value of the fluctuating difference in current strength between the currents I 1>a and Iι, b . In practice, the capacitors 22 and 29 will be comparatively large compared with the capacitor 13. The currents I lja and I^ and I 2 form the currents which have been given the same reference symbols in the introductory passages. The capacitor 13 forms the capacitor having the capacitance value , and the capacitors 22 and 29 each form a capacitor having the capacitance value C 2 . The description of the operation of the circuit of Fig. 1 A starts the moment at which control signals originating from the control signal generator 17 have closed the switches 14, 23, and 30 via the control lines 15, 24, and 31. The capacitors 13, 22, and 29 are fully discharged thereby. The switches 35 and 40 are open and remain open for the present. In practice, a current I 1>a is opted for which is equal to the current Iι,b but substantially greater than the current I 2 . The differential current between the currents I 1>a and Iι,b follows from the shot noises in said currents and ensures that the voltage at junction point 12, being the voltage across the capacitor 13, varies around 0 V with a so-called shot noise behavior. At a moment determined by the control signal generator 17, the switches 14, 23, and 30 are simultaneously opened. From that moment the capacitor 13 is charged by the differential current ΔI] = I 1>a - Iι,b. At the same time, the capacitors 22 and 29 are charged by the current I 2 . After a time period T, the control signal generator 17 sends a control signal through the bus 16 and the control lines 38 and 44 for closing the switches 35 and 40 for a predetermined period. The voltage across the capacitor 22 has increased in positive direction during the period T, and the voltage across the capacitor 29 has increased in negative direction. The voltage across the capacitor 13 has been fluctuating during this same period T, controlled by the differential current defined by the shot noise in the currents I 1>a and I^ b . At moment T, by which is meant the moment at the end of the period T after opening of the switches 14, 23, and 30, there are various possibilities for the voltage across the capacitor 13 relative to the voltage across the capacitor 22 and/or the capacitor 29. The value of the voltage across the capacitor 13 may be greater in positive direction than that of the voltage across the capacitor 22, the value of the voltage across the capacitor 13 may be smaller in positive direction than that of the voltage across the capacitor 22 and also smaller in negative direction than that of the voltage across the capacitor 29, or the value of the voltage across the capacitor 13 may be greater in negative direction than that of the voltage across the capacitor 29. If the voltage across the capacitor 13 is greater than the voltage across the capacitor 22 in positive direction at moment T, the output voltage of the comparator 25 will be low, and accordingly the voltage at the output of the AND gate 26 will also be low. The sample-and-hold circuit of which the operational amplifier 41 and the capacitor 42 form part will be set for a slightly higher output voltage via the switch 40 which is closed during the predetermined period, which has the result that the current I 2 through the transistor 27 is set for a slightly higher value. Since the control signal for the gate of the transistor 27 originates from the junction point 19, the setting of a slightly higher value of the current I 2 also leads to an increase in the current I^ b through the transistor 11. The ratio of the currents I^ and I 2 is determined by the properties of the transistors 27 and 11 and is fully defined, in the case of an integrated circuit with MOS transistors of identical channel lengths, by the width of each of these transistors. Substantially simultaneously with the closing of the switch 40, the switch 35 is also closed under the influence of a control signal on the control line 38 originating from the control signal generator 17. This ensures that a control signal for the gates of the transistors 10 and 20 connected to the junction point 18 causes a control signal to be present at the junction point 18 for the transistor 10 which ensures that the current I lja is identical to the current 1^. Since the transistors 10 and 11 are identical to a high degree, it follows that the control signals at the junction points 18 and 19 are identical relative to the supply voltages +Vcc and -Vcc. This again has the result that also the current I 2 through the transistor 20 is equal to the current I 2 through a transistor 27 owing to the high degree of equality of the transistors 20 and 27. After the switches 35 and 40 have been opened again, the switches 14, 23, and 30 are closed for a short period under the influence of control signals coming from the control signal generator 17 along the control lines 15, 24, and 31. After the switches 14, 23, and 30 have subsequently been opened again, the entire cycle described above starts again, but with a slightly higher setting of the current I 2 both through the transistor 20 and through the transistor 27. If the voltage across the capacitor 13 is greater in negative direction (i.e. more strongly negative) than the voltage across the capacitor 29 after the period T has elapsed at moment T, the comparator 32 will give a negative signal to the AND gate 26. In that case the new setting of the current I 2 , and thus of the currents Iι, and I lja , will lead to a slightly higher current I 2 upon closing of the switches 35 and 40. Finally, if the voltage across the capacitor 13 lies within the region bounded in positive direction by the voltage across the capacitor 22 and in negative direction by the voltage across the capacitor 29, the two comparators 25 and 32 will give a positive signal to the AND gate 26. As a result of this, the voltage at the junction point 19 will drop somewhat upon closing of the switch 40, so that the current I 1; through the transistor 11, the current I 2 through the transistor 27, the current I 1>a through the transistor 10, and the current I 2 through the transistor 20 will drop somewhat. It is possible in the manner described above to maintain the currents I 1>a , Iι,b, and I constant to a high degree, using the shot noise in the currents I 1>a and Ii,b, and the comparison of the difference between these two currents with a current I 2 which, during charging of a capacitor 22 or 29, does not give rise to a relevant noise in the level up to which said capacitor 22 or 29 is charged. It follows from the above description that the ratio C 2 /Ci of the capacitances of the capacitor 22 or 29 and the capacitor 13 is constant. Furthermore, a correct choice of the transistors 10, 11, 20, and 27 will ensure that the ratio of currents I 2 /I 1>a or I 2 /li,b is equal to I 2 /Ii . Since the gate of the transistor 43 is connected to the junction point 19, the gate of the transistor 43 is supplied with the same control signal which is present at the gate of the transistor 11 and at the gate of the transistor 27. Accordingly, the current I 0 supplied by the transistor 43 will be constant in the same manner as the currents I 2 and li are constant. Although each of the components, such as the transistors 10, 11, 20, and 27 and the capacitors 13, 22, and 29 can assume values which are dependent on external circumstances, the current Io will not be dependent on these same external circumstances, or at least to a much lesser degree, because the current Io, like the current I 2 , is only dependent on the ratio of the values of the capacitors 22 or 29 and 13 and the currents Ii/I 2 , as was explained in the introduction above. The ratio of the currents li and I 2 in the case of an integrated circuit with equal channel lengths depends exclusively on the ratio of the channel widths of the MOS transistors. It is notable that the value of the constant current I 0 is thus fully determined by constant ratios, exactly because of the shot noise in the currents I 1>a and Ii.b, which ratios are independent (at least to a very high degree) of external circumstances. Fig. IB shows a circuit which is identical to the circuit shown in Fig. 1 A for the major part. Identical elements have been given the same reference numerals. The MOS transistor 43 with its gate connected to junction point 19 and a source connected to the negative supply voltage -Vcc is no longer present. Instead, a MOS transistor 43' is included, whose gate is connected to the junction point 18 and whose source is connected to the positive supply voltage -t-Vcc. Reference is made to the description of the operation of the circuit of Fig. 1 A for the general operating principle of the circuit shown in Fig. IB. It is apparent from this description that the setting signal at the junction points 18 and 19 is the same relative to the supply voltage +Vcc and -Vcc, as seen from the gates of the MOS transistors 10 and 20, and 11 and 27, respectively. This is because the currents I lιa and have to be substantially identical. This equality is achieved by means of the feedback loop formed by the amplifier 33, the resistor 34, the switch 35, the amplifier 37, and the capacitor 36. Similarly, the currents I 2 through the transistors 20 and 27 should be identical. This has the result that the signal present at the gate of the transistor 43' ensures that a constant current Io flows through the MOS transistor 43', which current is equal to the current I 0 through the transistor 43 of Fig. 1 A (or, depending on the physical dimensions of the transistor 43' with respect to the physical dimensions of the transistor 43, proportional to this current). Fig. 2 shows a circuit which has a strong similarity to the circuit shown in Fig. 1 and which embodies an implementation of the second algorithm described in the introduction. Identical components have been given the same reference numerals in Fig. 1 and Fig. 2 and are not discussed here in any detail. Instead of the comparators 25, 33, and 32, the circuit of Fig. 2 comprises amplifiers 44, 45, and 46, respectively. The switches 35 and 40 are absent and are replaced by through-connections. The AND gate 26 is replaced by a combinatorial circuit 47. The combinatorial circuit 47 is capable of supplying as its output signal a signal which is proportional to the minimum value of the output voltage of the amplifier 44 and of the output voltage of the amplifier 46. It is achieved by means of the differential amplifier 45, the resistor 34, the operational amplifier 37, and the capacitor 36 that a voltage is applied to the junction point 18 such that the transistor 10 ensures that the current I 1>a is equal to the current through the transistor 11 by achieving that a zero value obtains at junction point 12 averaged in time. The differential amplifiers 44 and 46 in conjunction with the combinatorial circuit 47 ensure that the output signal of the circuit 47 is proportional to the absolute value of the voltage across the capacitor 13 minus the value of the voltage across the capacitor 22 or 29, as applicable. These voltages show a periodic rise from zero, at a moment at which the switches 14, 23, and 30 have discharged the capacitors 13, 22, and 29 and open again, up to a voltage Ui and U 2 , respectively, at a moment T, whereupon the switches 14, 23, and 30 are operated again by the control signal generator 17 via the control lines 15, 24, and 31 for discharging the capacitors 13, 22, and 29. The combinatorial circuit 47 should accordingly supply a signal which is proportional to the minimum of the output voltages of the differential amplifiers 44 and 46. Often, operational amplifiers with a high gain factor, such as the differential amplifiers 44 and 46, will clip against the supply voltage. This is allowed in the present circuit according to Fig. 2, provided this clipping takes place at the one differential amplifier 44 or 46 while the output voltage of the other differential amplifier 46 or 44 differs less from zero than the clipped output signal of the one differential amplifier 44 or 46, and accordingly there is no influence of the clipped output signal on the output signal of the combinatorial circuit 47. The output signal of the combinatorial circuit 47 is supplied to an integrator formed by the operational amplifier 41 in conjunction with the capacitor 42. The output signal of the integrator formed by the operational amplifier 41 and the capacitor 42 is present at a junction point 19, i.e. at the gate of the transistor 27. The current I through the transistor 27 in this manner is a continuous and monotonically rising function of the output signal of the integrator formed by the operational amplifier 41 and the capacitor 42. As was described in the introduction, a constant current I is also obtained in this manner. As is the case in the circuit shown in Fig. 1, the transistor 43 controlled by the signal present at the junction point 19 is the supplier of a constant current Io also in the circuit shown in Fig. 2. If the integrated circuit comprises MOS transistors of equal channel lengths but different widths, the ratio of the currents Io/I 2 is equal to the ratio of the widths of the transistors 43 and 27. It was noted in the introduction that a temperature dependence of the various components is indeed eliminated in that the eventual constant current Io is dependent on ratios of two currents and two capacitances which have the same temperature dependence each time. However, the introduction stated that one component exhibits a temperature- dependent noise behavior which is not compensated. This is the capacitor indicated with reference numeral 13 in Figs. 1 and 2, which is charged by the differential current of the currents I 1>a and Ii^. A thermal noise voltage is found to be across this capacitor, as described in the introduction, which gives rise to a bias voltage across this capacitor at the moment t = 0 upon opening of the short-circuiting switch 14 in Figs. 1 and 2. This bias voltage originating from the thermal noise will manifest itself in a noise component of the constant current Io. Fig. 3 shows a circuit based on the description in the introduction which renders it possible to make fluctuations in the constant current Io independent of linear terms in the temperature. Without limiting the general scope of the invention, Fig. 3 shows two circuits which are constructed in accordance with the circuit of Fig. 1. The two circuits are referenced a and b and will not be described in any detail here. Indicated are the individual currents li, I , and Io, as well as the capacitors C \ and C 2 . In the circuit a, the currents and capacitors have been given the reference a , and in the circuit b the reference b . As is apparent from a comparison with Fig. 1, the equivalent of capacitor 13 is referenced C a \ or C b l5 as applicable, in Fig. 3, and the equivalent of the capacitors 22 and 29 is referenced C a 2 and C b 2 . It is possible to ensure that the ratio I a 2) d/I a 2,i in circuit a differs from the ratio I b 2> dtl b 2,i in circuit b through a choice of certain components with a first value in circuit a and the same components with a second value in circuit b. This is possible, for example, in that a different ratio is chosen for the currents I /Iι in circuit a and in circuit b, and/or in that the ratio C2 C 1 in circuit a is chosen to be different from that in circuit b. The output currents I a o and I b o are not identical as a result of this. In the circuit shown in Fig. 3, the junction point 18 of the circuit b is connected to the gate of a P-MOS transistor 51 whose source is connected to the positive supply voltage +Vcc. The drain of the transistor 51 is connected to the drain of the transistor 43 a of the circuit a at junction point 52. The output current appearing at the junction point 52 is accordingly the current Io which is the difference between the currents I b o and I a o. As was noted in the introduction, it should be ensured that the equation Io = I a 2-(I a 2) d I b 2,d)I b 2 is complied with. In the first-order approximation in the temperature, the factor in front of the current I b 2 can be calculated from the approximation equation given in the introduction for the current I 2 ,d both for circuit a and for circuit b. The Boltzmann constant, the temperature, the elementary charge, and the time disappear from the ratio from which said factor is built up. What remains in both circuits a and b is a ratio of the currents I 2 and li and the ratio of the capacitances Ci and C 2 . This yields a fixed number, and accordingly the factor in front of the current I b 2 is a fixed number, and the value of this current may be simply realized in that the width of the channel of the transistor 51 is adapted such that the current I b o through the transistor 51 has the correct value for complying with the above equation. Upon further calculation it appears that the second-order term in the output current Io of a circuit as shown in Fig. 3, referenced O(Θ 2 ) in the introduction, may be written as It may be derived from the expression for the zero-order term in Io, i.e. the temperature- independent term, that the second-order term indicated above is not equal to zero if the zero- order term is not equal to zero, and that this second-order term will have the same sign as the zero-order term. A positive zero-order term in I 0 will accordingly correspond to a second- order term with a positive curvature. This will not lead to the smallest error in Io in a given temperature range. A better result is obtained when the first-order term in Io is not entirely switched off. It is possible to set the temperature behavior of a positive Io by means of a small negative first-order term such that Io will first decrease with an increasing temperature within the relevant temperature range, will reach a minimum in the temperature range, and will subsequently increase again. Io will reach its maximum value at the boundaries of the temperature range. A maximum absolute deviation from the desired value of Io can be minimized by a suitable choice of the first-order term. Many possibilities will now spring to mind to those skilled in the art in view of the above for the design of a circuit which is to supply a constant current and in which components can be used which in themselves have values which are temperature-dependent, while the value of the constant current delivered by the circuit is not temperature-dependent.

Claims: CLAIMS: 1. A circuit for providing a constant current (Io), characterized by means (10, 11) for generating a first (l lja ) and a second (Iι,b) of two substantially identical currents, means (12) for supplying a differential current which is the difference between said two substantially identical currents (I lιa , Iι,b) to a first capacitor (13), means (20, 21, 27, 28) for supplying a variable charging current (I 2 ) to at least one second capacitor (22, 29), means (14, 15, 16, 17, 23, 24, 30, 31) for periodically discharging and subsequently charging again the first (13) and the at least one second (22, 29) capacitor, means (25, 26, 32, 35, 38, 39, 40, 44; 44, 46, 47) for generating a clock signal between two periodic discharges, which clock signal is a measure for the difference in voltage across the first and the at least one second capacitor, means (41, 42; 36, 37) for generating a setting signal for setting both the variable charging current (I 2 ) and at least one of the two substantially identical currents (I 1>a , Iι,b) in dependence of said clock signal, and means (19, 18) for controlling an element (43, 43 connected as a constant current source with a same signal as the setting signal. 2. A circuit as claimed in claim 1, characterized in that said means for generating the clock signal comprise means (16, 17, 35, 38, 40, 44) for generating the clock signal at a predetermined moment between two periodic discharges. 3. A circuit as claimed in claim 2, characterized in that said means for generating the clock signal comprise at least one comparator (25, 32), and in that said means for generating the setting signal comprise a sample-and-hold circuit (40, 41, 42, 44). 4. A circuit as claimed in claim 1, characterized in that said means for generating the clock signal comprise means (36, 37, 41, 42) for continuously generating the clock signal during at least one predetermined time span between two periodic discharges. 5. A circuit as claimed in claim 4, characterized in that said at least one predetermined time span occupies substantially the entire time span between two consecutive periodic discharges. 6. A circuit as claimed in claim 4 or 5, characterized in that said means for generating the clock signal comprise a circuit (44, 46, 47) which supplies as its output signal a voltage equal to the absolute value of the voltage across the first capacitor (13) minus the value of the voltage across the at least one second capacitor (22, 29), and in that said means for generating the setting signal comprise an integrating circuit (41, 42) for integrating the output signal. 7. A circuit as claimed in claim 6, characterized in that the circuit comprises at least one amplifier for the continuous amplification of the output signal. 8. A circuit as claimed in any one of the claims 1 to 7, characterized in that a first feedback loop (33, 34, 35, 36, 37, 38, 45) is present for keeping the first (I 1>a ) and the second (Ii, b ) of the two substantially identical currents identical on average. 9. A circuit as claimed in any one of the claims 1 to 8, characterized in that said same signal is the setting signal. 10. A circuit as claimed in any one of the claims 1 to 8, characterized in that a control signal originating from the first feedback loop (33, 34, 35, 36, 37, 38, 45) is said same signal. 11. A circuit as claimed in any one of the claims 1 to 10, characterized in that the means for generating the first (I 1>a ) and the second (Iι, b ) of the two substantially identical currents each comprise a MOS transistor (10, 11) as well as means for biasing the MOS transistor in the sub-threshold region, and in that each of the two (I 1>a , I 1;b ) substantially identical currents is a saturated drain current of the respective MOS transistor (10, 11). 12. A circuit for supplying a constant current (Io), characterized in that a first (b) and a second (a) circuit as claimed in any one of the claims 1 to 11 is present, in that the first (b) and the second (a) circuit differ in at least one parameter which determines the value of the respective adjustable charging current (I 2 a , I 2 b ), in that means (18 b , 51) are present for generating a mirrored current (Io b ), which mirrored current (Io b ) is the mirrored current of the constant current of the first (b) of the two circuits as claimed in any one of the claims 1 to 11, and in that means (52) are present for obtaining a current which is the difference between the mirrored current (Io b ) and the constant current (Io a ) of the second (a) of the two circuits (a, b) as claimed in any one of the claims 1 to 11. 13. A circuit as claimed in claim 12, characterized in that the at least one parameter is chosen from among: the value of the first capacitor (13), the value of the at least one second capacitor (22, 29), and the values of the two substantially identical currents (I lιa a , Il,b , Il,a , Il,b )• 14. A method of providing a constant current (Io), characterized by the generation of a first (I 1)a ) and a second (I 1 , b ) of two substantially identical currents, by the supply to a first capacitor (13) of a differential current which is the difference of the two substantially identical currents (I lja , I 1;b ), by the supply of an adjustable charging current (I 2 ) to at least one second capacitor (22, 29), by the periodic discharging and subsequent charging of the first (13) and the at least one second capacitor (22, 29), by the generation between two periodic discharges of a clock signal which is a measure for the difference in voltage across the first (13) and the at least one second capacitor (22, 29), by the generation of a setting signal for setting both the adjustable charging current (I 2 ) and at least one of the two substantially identical currents (I lιa , Ii, b ) in dependence on the clock signal, and by the control of an element (43) connected as a constant current source by means of a same signal as the setting signal. 15. A method as claimed in claim 14, characterized by the generation of the clock signal at a predetermined moment between two periodic discharges. 16. A method as claimed in claim 14, characterized by the continuous generation of the clock signal during at least one predetermined time span between two periodic discharges. 17. A method as claimed in claim 16, characterized in that said at least one predetermined time span occupies substantially the entire time span between two consecutive periodic discharges. 18. A method as claimed in claim 16 or 17, characterized by the supply of a voltage for generating the clock signal as an output signal, which voltage is proportional to the absolute value of the voltage across the first capacitor (13) minus the value of the voltage across the at least one second capacitor (22, 29), through integration of the output signal. 19. A method as claimed in claim 18, characterized by the continuous amplification of the output signal. 20. A method as claimed in any one of the claims 14 to 19, characterized in that the first (I lιa ) and the second (Ii, ) of the two substantially identical currents are kept identical on average by means of a first feedback loop (33, 34, 35, 36, 37, 38, 45). 21. A method as claimed in any one of the claims 14 to 20, characterized in that said same signal is the setting signal. 22. A method as claimed in any one of the claims 14 to 20, characterized in that a control signal originating from the first feedback loop (33, 34, 35, 36, 37, 38, 45) is said same signal. 23. A method as claimed in any one of the claims 14 to 22, characterized by the generation of the first (I 1>a ) and the second (Iι, b ) of the two substantially identical currents each by means of a MOS transistor (10, 11) biased in its sub-threshold region, each of the two substantially identical currents (I lja , Ii, b ) being a saturated drain current of the respective MOS transistor (10, 11). 24. A method of providing a constant current (Io), characterized by the simultaneous twofold implementation of a method as claimed in any one of the claims 14 to 23. characterized in that the first and the second implementation differ in at least the value of the adjustable charging current (I a , I b ), characterized by the generation of a mirrored current (Io b ), which mirrored current (Io b ) is the mirrored current of the constant current of one of the two methods carried out as claimed in any one of the claims 14 to 23, and characterized by the creation of a current (Io) which is the difference between the mirrored current (Io b ) and the constant current (Io a ) of the second of the two methods carried out in accordance with any one of the claims 14 to 23.

Inventors: ANNEMA ANNE J, WIDDERSHOVEN FRANCISCUS P, ANNEMA, ANNE, J., WIDDERSHOVEN, FRANCISCUS, P.
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2001
Main classification: G05F3
IPC codes: G05F3, H03F1, H03K3