RESISTANCE CALIBRATION
20190227586 ยท 2019-07-25
Inventors
Cpc classification
G01R35/007
PHYSICS
G01R31/2884
PHYSICS
G05F1/56
PHYSICS
International classification
Abstract
The present invention relates to resistance calibration and in particular to resistance calibration in the context of semiconductor integrated circuitry.
Claims
1. A semiconductor integrated circuit configured for resistance self-calibration, the semiconductor integrated circuit comprising: a reference voltage generator comprising a first resistor and a second resistor; a first part of a test voltage generator comprising a third resistor, the third resistor being a variable resistor; and control circuitry, wherein: the reference voltage generator is configured to apply a first given voltage difference across the first resistor thereby to operate as a reference current source and cause a reference current to flow through the first resistor, to generate a first resultant voltage difference over the second resistor based on the reference current and to generate a reference voltage signal which is dependent on that first resultant voltage difference; the semiconductor integrated circuit comprises an external terminal for connection to an external fourth resistor forming a second part of the test voltage generator; the first part of the test voltage generator is configured, when the fourth resistor is connected to the external terminal, to apply a second given voltage difference across the fourth resistor thereby to operate as a test current source and cause a test current to flow through the fourth resistor, to generate a second resultant voltage difference over the third resistor based on the test current and to generate a reference voltage signal which is dependent on that second resultant voltage difference; and the control circuitry is operable based on the reference voltage signal and the test voltage signal to control the resistance of the third resistor to bring the test voltage signal and the reference voltage signal into a target relationship and thereby calibrate the third resistor.
2. The semiconductor integrated circuit as claimed in claim 1, wherein the target relationship is such that the test voltage signal and the reference voltage signal have equal voltage levels, or voltage levels within a given range of one another.
3. The semiconductor integrated circuit as claimed in claim 1, wherein: the first and second resistors have resistance values dependent on a first manufacturing process used to manufacture the semiconductor integrated circuit whereas the fourth resistor is external to the semiconductor integrated circuit and has a resistance value dependent upon a second manufacturing process used to manufacture the fourth resistor and different from the first manufacturing process; and in the target relationship the third resistor has a target resistance value whose accuracy is limited by the second manufacturing process and the resolution in resistance value of the third resistor rather than by the first manufacturing process.
4. The semiconductor integrated circuit as claimed in claim 1, wherein the first given voltage difference is the same as the second given voltage difference.
5. The semiconductor integrated circuit as claimed in claim 1, comprising bandgap voltage reference circuitry operable to output a bandgap voltage reference signal, and wherein the first or second given voltage differences are generated based on the bandgap voltage reference signal.
6. The semiconductor integrated circuit as claimed in claim 1, wherein the reference voltage generator is configured to direct the reference current through the second resistor so as to generate the voltage drop over that resistor.
7. The semiconductor integrated circuit as claimed in claim 1, wherein the test voltage generator is configured to direct the test current through the third resistor so as to generate the voltage drop over that resistor.
8. The semiconductor integrated circuit as claimed in claim 1, wherein the third resistor comprises an array of fixed-value resistors, and switching circuitry operable under control by the control circuitry to selectively control which of the fixed-value resistors are conductively connected together to control the resistance of the third resistor.
9. The semiconductor integrated circuit as claimed in claim 1, wherein the control circuitry comprises: a comparator connected to output a comparison signal dependent on a difference in voltage level between the test voltage signal and the reference voltage signal; and logic configured to adjust the resistance of the third resistor based on the comparison signal to reduce or minimise the difference in voltage level between the test voltage signal and the reference voltage signal.
10. The semiconductor integrated circuit as claimed in claim 1, comprising at least one fifth resistor configured in the same way as the third resistor, wherein the control circuitry is configured to control the at least one fifth resistor in the same way as the third resistor, optionally wherein the control circuitry is configured to control the at least one fifth resistor in the same way as the third resistor once the test voltage signal and the reference voltage signal have been brought into the target relationship.
11. The semiconductor integrated circuit as claimed in claim 10, wherein: the control circuitry is configured to control the third and at least one fifth resistor with a control signal having a variable control value; the control circuitry comprises a memory configured to store the control value based on which the test voltage signal and the reference voltage signal have been brought into the target relationship; and the control circuitry is configured, after having brought the test voltage signal and the reference voltage signal into the target relationship, to control the at least one fifth resistor using the control value stored in the memory.
12. The semiconductor integrated circuit as claimed in claim 10, wherein the at least one fifth resistor, or a said fifth resistor, is configured to act as a termination resistor at an external terminal of the semiconductor integrated circuit.
13. The semiconductor integrated circuit as claimed in claim 1, wherein the control circuitry is configured to control the reference voltage generator to adjust the first given voltage difference or the test voltage generator to adjust the second given voltage difference, so as to adjust a target resistance value to which the third resistor is calibrated.
14. The semiconductor integrated circuit as claimed in claim 1, being an IC chip or an output circuit.
15. An IC package, comprising: the semiconductor integrated circuit as claimed in claim 1; and the fourth resistor, wherein the fourth resistor is connected to the external terminal of the semiconductor integrated circuit.
Description
[0033] Reference will now be made, by way of example only, to the accompanying drawings, of which:
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041] For ease of comparison, elements of the semiconductor integrated circuit 10 of
[0042] As shown in
[0043]
[0044] The on-chip circuit portion 300, which itself embodies the present invention, comprises a reference voltage generator 318R, a test voltage generator 318T and control circuitry 330.
[0045] The reference voltage generator 318R comprises a reference current source 340R connected between a reference voltage node 342R and the low-voltage source (GND) 28, and a reference resistor 12R connected between the reference node 342R and the high-voltage source (V.sub.TOP) 26, so as to form a current path from the high-voltage source (V.sub.TOP) 26 via the reference resistor 12R, the reference node 342R and the reference current source 340R to the low voltage source (GND) 28.
[0046] The reference current source 340R comprises a reference resistor 342R, a transistor 350R, a differential amplifier 352R and a bandgap voltage generator 354R (being an example circuit suitable for creating a highly accurate reference voltage signal).
[0047] Numerous circuits for a bandgap voltage generators are known and thus need not be detailed here.
[0048] The transistor 350R and the reference resistor 342R are connected in series between the reference node 342R and the low voltage reference source 28 in that order. The differential amplifier (e.g., an operational amplifier) 352R is connected to drive the transistor 350R based on a bandgap reference voltage signal (at its non-inverting input) and a feedback reference signal (at its inverting input) taken from an intermediate node between the transistor 350R and the reference resistor 342R. Thus, the bandgap voltage (here denoted V.sub.BGR) is applied and maintained (regulated) at the intermediate node and a corresponding potential difference is applied/maintained over the reference resistor 342R (since the reference resistor 342R is connected between the intermediate node and the low-voltage reference source (GND) 28).
[0049] Assuming that the reference resistor 342R is a polysilicon resistor having an intended (i.e., nominal) resistance R1 but with an error factor E1 due to process variation, then a reference current I.sub.R flowing in the current path of the reference voltage generator 318R is:
I.sub.R=V.sub.BGR/(R1E1)
[0050] Assuming that the reference resistor 12R is also a polysilicon resistor having an intended resistance R2 but also with the error factor E1 due to process, then the voltage difference across the reference resistor 12R is:
[0051] Thus, the voltage signal V.sub.R generated at the reference node 342R is:
V.sub.R=V.sub.TOP[V.sub.BGR(R2/R1)]
[0052] and is independent of the error factor E1.
[0053] It is incidentally noted that variance due to process across the same chip is ignored here as being very small (well below the target e.g. 2% variance) and thus insignificant. Thus, E1 is applied here to both of R1 and R2.
[0054] It will be appreciated from
[0055] The test voltage generator 318T comprises a test current source 340T connected between a test voltage node 342T and the low voltage source (GND) 28, and a test resistor 12T connected between the test node 342T and the high voltage source (V.sub.TOP) 26, so as to form a current path from the high-voltage source (V.sub.TOP) 26 via the test resistor 12T, the test node 342T and the test current source 340T to the low voltage source (GND) 28. It is noted here that the test resistor 12T is a replica of the resistor 12 in
[0056] The test current source 342 comprises a test resistor 342T, a transistor 350T, a differential amplifier 352T and a reference voltage generator 354T, again in this case being a bandgap reference voltage generator. It is important to note that the test resistor 342T forms part of the second part of the test voltage generator 318T and is thus in the off-chip circuit portion 400. The test resistor 342T is connected to the first part of the test voltage generator 318T via external terminals 360 and 362 as indicated in
[0057] Note as an aside that the test resistor 342T (or a similar one) may be used by other circuitry (not shown) to get a current which has been referred to that resistor (i.e. by applying a known potential difference over it).
[0058] The transistor 350T and test resistor 342T are connected in series between the test node 342T and the low-voltage reference source 28 in that order. The differential amplifier (e.g., and operational amplifier) 352T is connected to drive the transistor 350T based on a bandgap reference voltage signal (at its non-inverting input) and a feedback reference signal (at its inverting input) taken from an intermediate node between the transistor 350T and the test resistor 342T, so that the bandgap voltage (here denoted V.sub.BGT) is maintained at the intermediate node and thus that a corresponding potential difference is maintained over the test resistor 342T.
[0059] Again it is important to note here that the (off-chip) test resistor 342T is assumed to be a relatively high accuracy resistor having an intended resistance R4. It is helpful to consider the test resistor 342T to have the resistance R4 but with an error factor E2 due to process, but with the error factor E2 being substantially less significant than the (on-chip, polysilicon resistor) error factor E1.
[0060] In this case, a test current I.sub.T flowing in the current path of the test voltage generator 218T is:
I.sub.T=V.sub.BGT/(R4E2)
[0061] Assuming that the test resistor 12R is again a polysilicon resistor having an intended resistance R3 but also with the error factor E1 due to process, then the voltage difference across the test resistor 12T is:
[0062] Thus the voltage signal V.sub.T generated at the test node 342T is:
V.sub.T=V.sub.TOP[V.sub.BGT(R3/R4)(E1/E2)]
[0063] The control circuitry 330 comprises a differential amplifier 332 and logic circuitry (e.g. a digital calibration engine) 334. The differential amplifier 332 is connected to receive the reference voltage signal V.sub.R from the reference node 342R and the test voltage signal V.sub.T from the test node 342T at its input terminals, and to output a comparator-output signal V.sub.C based on a difference between the reference voltage signal V.sub.R and the test voltage signal V.sub.T. The logic circuitry 334 is operable to control the variable resistor 12T using the control signal CONTROL based on the comparator-output signal V.sub.C so as to try to equalize (or minimize or reduce the difference between) the reference voltage signal V.sub.R and the test voltage signal V.sub.T to the extent that the resolution of the variable resistor 12 allows. Recall from
[0064] The control circuitry 330 is thus configured to try to set:
V.sub.T=V.sub.R
[0065] At this point, the actual value (R3E1) of the test resistor 12T becomes:
R3E1=(V.sub.BGR/V.sub.BGT)((R2.Math.R4)/R1)E2.
[0066] Thus, the control signal CONTROL will adjust the resistance R3E1 of the test resistor 12T until it reaches an actual value defined by V.sub.BGR/V.sub.BGT, the error factor E2 and the nominal (error-free) values R1, R2 and R4, and limited by the resolution of the variable resistor 12T (i.e., how close it can get to the ideal case V.sub.T=V.sub.R).
[0067] This control signal CONTROL (i.e. a control value at this point) thus calibrates the resistance of the variable resistor 12T to a known target value (subject to the above limitations), given known nominal values of R1, R2, and R4. If V.sub.BGR=V.sub.BGT to a high accuracy (which is expected with bandgap voltage reference circuitry, particularly if the same such circuitry is used to provide V.sub.BGR and V.sub.BGT), and if the error factor E2 is very close to 1 (e.g. 0.98 to 1.02, representing a variation of 2%) then the effect of process variation in the resistance value of the polysilicon resistors, i.e., up to 20%, is reduced to around 2% in the value of the variable resistor 12T (limited by the resolution of the variable resistor 12T).
[0068] This control signal CONTROL (i.e. the control value at this point) can then be provided to the actual termination resistor 12 in
[0069] Although only one resistor 12 in
[0070] Incidentally, looking again at the way the control circuitry 330 attempts to set the actual value (R3E1) of the test resistor 12T, i.e. using (V.sub.BGR/V.sub.BGT)((R2.Math.R4)/R1)E2, it will be appreciated that with V.sub.BGR=V.sub.BGT the values of R1, R2 and R4 may have each been set for a target resistance value of e.g. 50 (with 2% variation). However, by varying the value of V.sub.BGR relative to V.sub.BGT the ratio V.sub.BGR/V.sub.BGT could be varied and thus the target resistance value could also be varied. Thus, it will be appreciated that one of both of the current sources 340R and 340T could be adapted to allow one of both of V.sub.BGR and V.sub.BGT (and thus one or both of I.sub.R and I.sub.T, or one of both of V.sub.R and V.sub.T) to be varied to adjust the target resistance value. The present disclosure will be understood accordingly. This could readily be achieved by replacing one or both of the bandgap voltage generators 354R and 354T with a variable voltage generator.
[0071] It is incidentally noted that the transistors 350R and 350T could be implemented as BJTs rather than as MOSFETs or FETs. The present disclosure will be understood accordingly.
[0072]
[0073] The IC package 500 comprises the semiconductor integrated circuit 100 of
[0074] As above, the variable current source 18 of the semiconductor integrated circuit 100 is taken to represent the output stage of DAC circuitry, with the variable resistor 12 serving as a termination resistor for the output terminal 22. However, this is just an example. In another example, on the same chip or another chip, the variable resistor