Field of the Invention
The present invention relates to the field of reference voltage generators and, more specifically, to the forming of a bandgap voltage generator. Such a generator is used to generate a reference voltage which is steady in temperature and in supply voltage. The present invention also aims at providing such a reference voltage generator which is not sensitive to possible technological mismatches of the transistors forming it.
Another object of the present invention is to share such a reference voltage generator for the provision of a reference voltage of an analog-to-digital converter and of a voltage depending on the internal temperature of an integrated circuit in which the generator is formed, to form an integrated digital sensor of the internal temperature of a circuit.
To achieve these and other objects, the present invention provides a circuit for generating a bandgap reference voltage, comprising:
a current mirror assembly of cascode type comprising, from a high supply rail, at least two parallel branches of P-channel MOS transistors;
a bipolar assembly in series with one of said branches of the mirror assembly down to a low supply rail, formed of two parallel branches, each comprising, in series, a diode-connected bipolar transistor and, respectively, one resistor and two resistors; and
a differential amplifier for balancing the currents in the two branches of the bipolar assembly, the reference voltage being provided by the terminal of interconnection of the mirror assembly with the bipolar assembly.
According to an embodiment of the present invention, said mirror assembly comprises:
a first branch formed of two series diode-connected transistors; and
a second branch formed of two transistors in series having their respective gates connected to the respective gates of the two transistors of the first branch, the second branch forming said branch in series with the bipolar assembly.
According to an embodiment of the present invention, the respective inputs of the differential amplifier are connected to the respective branches of the bipolar assembly, its output being connected to the terminal of the first branch of the cascode assembly, opposite to the terminal connected to the high supply rail.
According to an embodiment of the present invention, the four MOS transistors of the cascode assembly have identical sizes.
According to an embodiment of the present invention, the resistor of the first branch of the bipolar assembly is of same value as a first resistor of the second branch which has a common terminal with the resistor of the first branch, the bipolar transistor connected in series with the two resistors being of greater size than the other bipolar transistor.
According to an embodiment of the present invention, the mirror assembly comprises a third branch formed of two P-channel MOS transistors in series with a current-to-voltage conversion resistor between said high and low supply rails, the voltage across said conversion resistor being directly proportional to the internal temperature of the integrated circuit.
According to an embodiment of the present invention, the respective gates of these two MOS transistors of the third branch are connected to the respective gates of the two MOS transistors of the first branch.
The present invention also provides an integrated digital temperature sensor, comprising:
a circuit for generating a reference voltage and a voltage proportional to the internal temperature;
a calibration circuit exploiting the reference voltage and the voltage proportional to temperature, to provide two voltages representative of high and low conversion thresholds, and an analog voltage representing the current temperature; and
an analog-to-digital converter receiving the three voltages provided by the calibration circuit, and providing a binary word representative of the internal circuit temperature.
According to an embodiment of the present invention, said voltage representative of the low conversion threshold is formed by the reference voltage.
According to an embodiment of the present invention, the output of the analog-to-digital converter is connected to the input of a register for storing the digital temperature.
The foregoing objects, features, and advantages of the present invention will be discussed in detail in the following non-limiting description of specific embodiments in connection with the accompanying drawings.
The same elements have been designated with the same reference numerals in the different drawings. For clarity, only those circuit components that are necessary to the understanding of the present invention have been shown in the drawings and will be described hereafter. In particular, the structure of an analog-to-digital converter has not been detailed and may be implemented with any known analog-to-digital converter in its example of application to a digital temperature sensor. Further, the structure of the operational amplifiers has not been detailed, this structure being conventional and within the abilities of those skilled in the art, the present invention being implementable with any conventional type of amplifier.
The circuit for generating a reference voltage VBG of bandgap type, illustrated in
To obtain a stable reference voltage VBG, the respective currents I1 and I2 in the two branches of the cascode assembly must be identical. To obtain this identity, an assembly based on diode-connected bipolar transistors between terminal 2 and a rail 3 of reference supply (VSS) is used according to the present invention. This assembly is formed of two parallel branches between terminals 2 and 3. A first branch comprises a resistor R1 in series with a PNP-type bipolar transistor T1, the emitter of transistor T1 being connected to resistor R1. The second branch comprises the series assembly of two resistors R2 and R3 and of a PNP-type bipolar transistor T2 connected, like transistor T1, as a diode, its base and collector being interconnected to rail 3 and its emitter being connected to resistor R3. Transistors T1 and T2 are selected to have different sizes, transistor T2 for example having an emitter surface area greater than that of transistor T1.
According to the present invention, a differential amplifier 4 is reverse-feedback connected between terminal 2 and drain 5 of transistor M3. More specifically, the output of operational amplifier 4 is connected to drain 5 of transistor M3 while its respective non-inverting and inverting inputs are connected to junction point 6 of resistors R2 and R3 and to junction point 7 of resistor R1 and transistor T1.
Finally, the gates of transistors M1 and M2 receive an activation voltage VGP, and the inverting input of amplifier 4 receives an activation voltage VGN. Signals VGP and VGN are provided by a circuit which will be described subsequently in relation with FIG. 2. They are used to activate the generator shown in
The operation of the voltage generator of
Since transistors M1 and M2 have the same gate-source voltage, their respective drain voltages are identical. Currents I1 and I2 that they conduct are thus also the same.
Further, since resistors R1 and R2 have the same value, the slightest drift between currents I4 and I5 running in both branches of the bipolar transistor assembly is compensated for, due to operational amplifier 4, by a variation in the voltage at node 5, which balances back currents I4 and I5 as being exactly half the value of current I2.
As a first approximation, the symmetry between currents I4 and I5 only depends on the possible dispersion between resistors R1 and R2.
One may thus write, expressing the respective currents running through transistors T1 and T2:
where
VBE1 and VBE2 designate the respective base-emitter voltages of transistors T1 and T2;
q designates the charge of the electron;
k designates Bolzmann's constant;
T designates the circuit temperature;
Is designates the saturation current of transistors T1 and T2, which are assumed to be identical;
A designates the size ratio between transistors T2 and T1; and
n designates the ideality factor of the transistors, which is considered as being identical for transistors formed on a same integrated circuit.
The following can be deduced from the foregoing relation:
Voltage VBG is then provided by the following relation:
The reference voltage generator of
Further, the provided voltage VBG is stable against possible variations of the supply voltage. Indeed, it is independent from the values of the currents flowing through the assembly branches.
Circuit 10 comprises a first stage 11 of P-channel MOS transistors and a second stage 12 of N-channel MOS transistors between high 1 and low 3 supply rails. The two stages 11 and 12 receive a same control signal EN and each respectively provides voltage VGP and VGN of activation of the transistors of the circuit of FIG. 1.
Stage 11 comprises six P-channel MOS transistors 21 to 26 having their source and their bulk connected to high supply VDD. The gate of transistor 24 and the drain of transistor 25 form the output terminal providing signal VGP of circuit 10. The drain of transistor 21 is connected to the gate of transistors 23 and 25. The gate of transistor 21 is connected to the gate of a seventh P-channel MOS transistor 27 series-connected with transistor 22, its source being connected to the drain and to the gate of diode-connected transistor 22. The respective gates of transistors 21 and 27 receive signal EN. The drains of transistors 23 and 24 are interconnected to the gate of transistor 26 and form a terminal 28 of connection to second stage 12. The bulk of transistor 27 is connected to high supply VDD. Its drain forms a second terminal 29 of connection to the second stage while the drain of transistor 21 forms a third terminal 30 of connection to the second stage.
Stage 12 of the N-channel transistors comprises five MOS transistors 31 to 35 having all their sources connected to reference supply rail VSS. The gates of transistors 31, 32, and 35 are connected to the input terminal providing signal EN. The drain of transistor 31 is connected to the drain of transistor 21 (terminal 30). The gates of transistors 32 and 34 are interconnected to the drains of transistors 33 and 32 (and thus to terminal 29). The drain of transistor 34 is connected to terminal 28 while the drain of transistor 35 is connected to the drain of transistor 26 of stage 11 and forms the terminal of provision of output voltage VGN.
In the idle state, when the transistors of the generator of
Upon activation of the circuit by a low setting (to a voltage close to VSS) of input EN, transistors 21, 22, 24, 26, 27, 32, and 34 turn on, while transistors 23, 25, 31, 33, and 35 turn off. In fact, the voltage at initially-discharged node D22 (drain of transistor 22) starts increasing. The same occurs for the voltage at node 29 since no current flows any more through the branch formed of transistors 22, 27, and 32. The turning-on of transistor 34 turns on transistor 26. A current starts flowing from rail 1 to node 7 (FIG. 1). This turns on the mirror-connected transistors of FIG. 1. In steady state, the current flowing through the branch formed of transistors 22, 27, and 32 is identical to the current in the branch formed of transistors 24 and 34 by the mirror assembly of transistors 32 and 34. This current is much smaller than current 12 (FIG. 1). The transistors of the assembly of
According to this preferred example, the cascode current mirror of
Since current 13 flowing through the first branch of the assembly is equal to current I2 and resistors R1 and R2 are of same values, current I5 flowing through the second branch of the bipolar assembly is half current I2. One may thus write:
Accordingly, voltage VTH may be written as:
The only unknown in the above equation is the possible error on ratio R4/R3 with respect to their nominal values. This error can be evaluated as follows:
The difference between the error rates on the values of R4 and of R3 can be considered as negligible assuming that both resistors have the same value and the same design (size and pattern on the integrated circuit). The only error source thus is the possible mismatch between resistors.
According to the embodiment of
The function of calibration circuit 40 is to amplify signal VTH into an analog signal VAT acceptable at the input of converter 41 and to set two thresholds VRLF and VRHF defining the conversion range of the converter, that is, an analog voltage VRLF for which converter 41 provides a signal DT only comprised of bits at zero and an analog voltage VRHF for which converter 41 only provides bits at one. Low threshold VRLF of converter 41 preferentially corresponds to reference voltage VBG.
Circuit 40 forms, in a way, an analog interface for the inputs of converter 41 so that the low-impedance input of the converter does not affect the measured voltage which must remain temperature-dependent. Levels VRLF and VRHF correspond to the respective possible maximum and minimum levels of analog voltage VAT provided to the converter, that is, B.VTH, where B represent the amplification performed on the measured analog voltage.
In the embodiment of
Threshold VRHF is set, based on voltage VBG, by means of an operational amplifier 49 having a non-inverting input connected to midpoint 50 of a resistive dividing bridge formed of two resistors R6OUT and R6IN in series between output 51 of amplifier 49 and reference supply voltage VSS. Resistances R6IN and R6OUT are adjustable to set the amplification ratio of amplifier 49 and, accordingly, the maximum high conversion level VRHF, in stable fashion with respect to voltage VBG. For impedance matching needs, output 51 of amplifier 49 is connected to the input of a follower-connected operational amplifier 52 which provides threshold VRHF to converter 41, the inverting input of amplifier 52 being connected to its output 53 while its non-inverting input is connected to terminal 51.
As for voltage VAT, it is calibrated by means of an operational amplifier 44 having its inverting input receiving the measured analog level VTH and having its noninverting input connected to the midpoint 45 of a resistive dividing bridge formed of the series association of resistors R5OUT and R5IN between output terminal 46 of amplifier 45 and reference voltage VSS. Terminal 46 forms the output terminal of circuit 40 providing voltage VAT to be converted by converter 41. Resistors R5IN and R5OUT set amplification ratio B.
The calibration of the system by means of circuit 40 consists of submitting the circuit to a temperature corresponding to the minimum threshold (for example, −40° C.) by means of an external cold source. Resistances R5IN and R5OUT are then adjusted for level VTH provided by circuit 40 to correspond to level VBG (that is, level VRLF). This adjustment may be performed either by comparing analog voltages VTH and VRLF, or by reading the output of converter 41, all the bits of which must be at 0 when voltage VTH corresponds to the minimum level of the conversion scale.
The integrated circuit is then submitted to a temperature corresponding to the maximum temperature of the conversion range (for example, +125° C.), still by means of an external source. Resistances R6IN and R6OUT are then adjusted until voltage VRHF is equal to the measured voltage VTH. Like for the preceding step, either analog levels VTH and VRHF may be compared, or the output of converter 41 may be examined, all its bits then having to be at state 1.
For each of amplifiers 44 and 49, if the output level is too high with respect to the desired level, either the input resistance (R5IN, respectively R6IN) may be increased, or the feedback resistance (R5OUT, respectively R6OUT) may be decreased. If the output level is too low, the inverse operation is performed, that is, the input resistance is decreased or the feedback resistance is decreased.
The analog-to-digital converter used may be any conventional converter providing an output over a number of bits selected according to the resolution desired for the sensor. If need be, the converter inputs/outputs are associated with level-shifting circuits (not shown) for the case where the respective supply voltages of the sensor and of the converter are not compatible with each other.
An advantage of the present invention is that it enables forming a bandgap-type voltage reference generator of simple structure.
Another advantage of the present invention is that the provided generator is particular well adapted to the generation of a voltage depending on the internal circuit temperature, which can then be converted into a digital word. In this application, the present invention has the advantage of providing a fully-integrated digital temperature sensor.
Of course, the present invention is likely to have various alterations, modifications, and improvements which will readily occur to those skilled in the art. In particular, the choice of the respective sizes of the different transistors as well as of the resistors is within the abilities of those skilled in the art based on the functional indications given hereabove and on the application, especially on the desired temperature operating ranges.
Further, although the present invention has been more specifically described in relation with an example of application to an integrated digital temperature sensor, it more generally applies anywhere a reference voltage stable in temperature and in supply voltage is desired, that is, in any circuit using a bandgap-type voltage. For example, digital-to-analog converters, phase-locked loops (PLLs), etc.
Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and the scope of the present invention. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The present invention is limited only as defined in the following claims and the equivalents thereto.
Number | Date | Country | Kind |
---|---|---|---|
02 12553 | Oct 2002 | FR | national |
Number | Name | Date | Kind |
---|---|---|---|
4317054 | Caruso et al. | Feb 1982 | A |
4399399 | Joseph | Aug 1983 | A |
4506208 | Nagano | Mar 1985 | A |
5153500 | Yamamoto et al. | Oct 1992 | A |
5304861 | Fruhauf et al. | Apr 1994 | A |
5309083 | Pierret et al. | May 1994 | A |
5471131 | King et al. | Nov 1995 | A |
5485127 | Bertoluzzi et al. | Jan 1996 | A |
5629611 | McIntyre | May 1997 | A |
5646518 | Lakshmikumar et al. | Jul 1997 | A |
5680037 | Carobolante | Oct 1997 | A |
5847556 | Kothandaraman et al. | Dec 1998 | A |
5900773 | Susak | May 1999 | A |
6255891 | Matsuno et al. | Jul 2001 | B1 |
6351110 | Pappalardo et al. | Feb 2002 | B1 |
6377110 | Cooper | Apr 2002 | B1 |
6489831 | Matranga et al. | Dec 2002 | B1 |
20020022941 | Yin | Feb 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20040075487 A1 | Apr 2004 | US |