Stress and temperature compensated hall sensor, and method
09846204 · 2017-12-19
Assignee
Inventors
Cpc classification
G01R33/0064
PHYSICS
International classification
Abstract
An integrated semiconductor device for measuring a magnetic field, comprising: a Hall sensor, a first lateral isotropic sensor having a first stress sensitivity and a first temperature sensitivity, a second lateral isotropic sensor having a second stress sensitivity and a second temperature sensitivity, optional amplifying means, digitization means; and calculation means configured for calculating a stress and temperature compensated Hall value in the digital domain, based on a predefined formula which can be expressed as an n-th order polynomial in only two parameters. These parameters may be obtained directly from the sensor elements, or they may be calculated from a set of two simultaneous equations. A method of obtaining a Hall voltage signal, and compensating said signal for stress and temperature drift.
Claims
1. An integrated semiconductor device for measuring a magnetic field strength, comprising: at least one Hall element configured for providing a Hall signal indicative of the magnetic field strength to be measured; a first lateral isotropic sensor having a first stress sensitivity and a first temperature sensitivity and configured for providing a first sensor signal; a second lateral isotropic sensor having a second stress sensitivity, and having a second temperature sensitivity and configured for providing a second sensor signal; wherein the first temperature sensitivity is different from the second temperature sensitivity or the first stress sensitivity is different from the second stress sensitivity or both; digitization means arranged for digitizing the Hall signal and the first sensor signal and the second sensor signal so as to obtain three digital values; calculation means configured for solving a set of only two simultaneous polynomial equations with predefined coefficients in only two variables in order to obtain a stress-value and a temperature-value, and configured for calculating a stress-compensated and temperature-compensated Hall value using a predefined correction formula in only two parameters being said calculated stress value and said calculated temperature value.
2. An integrated semiconductor device according to claim 1, wherein the polynomial equations of the simultaneous set of only two equations are two n-th order polynomials in only two variables, which set of only two equations is expressed by, or equivalent to the following set of equations:
3. An integrated semiconductor device according to claim 1, wherein the set of equations is a set of second order polynomial equations, or wherein the set of equations can be expressed by, or is equivalent to:
4. An integrated semiconductor device according to claim 1, wherein the predefined correction formula can be expressed by, or is equivalent to one of: a) the formula: VHcomp=VH/CF, wherein CF is a correction factor, which can be expressed by, or is equivalent to the following n-th order polynomial in only two variables:
5. An integrated semiconductor device according to claim 4, wherein the polynomial of the correction factor is one of: i) a second order polynomial in both variables; ii) a polynomial of third order in the variable related to the sensor having the highest temperature sensitivity of the first and second sensor and of first order in the other variable; iii) a polynomial of fourth order in the variable related to the sensor having the highest temperature sensitivity of the first and second sensor and of first order in the other variable; and optionally wherein in case ii) or case iii) the calculation means is adapted for evaluating the polynomial expression as a piecewise linear or a piecewise quadratic approximation using equidistant or non-equidistant intervals of the first and/or second variable.
6. An integrated semiconductor device according to claim 1, further comprising non-volatile storage means operatively connected to the calculation means, the storage means being adapted for storing at least two values determined during calibration, and optionally for storing also the predefined coefficients of the polynomial equations; and/or further comprising means for biasing the at least one Hall element and the first sensor and the second sensor with a constant predefined voltage, and/or wherein the at least one Hall element is a horizontal Hall plate.
7. An integrated semiconductor device according to claim 1, wherein each of the first lateral isotropic sensor and the second lateral isotropic sensor is a resistive sensor comprising four lateral isotropic resistors.
8. An integrated semiconductor device according to claim 7, wherein: each of the lateral isotropic resistors comprise at least two lateral resistor strips organized as an orthogonal pair, connected in series; and/or wherein at least some of the lateral isotropic resistors comprise at least four lateral resistor strips connected in series in a double-L shape.
9. An integrated semiconductor device according to claim 7, wherein materials of the resistors are chosen such that: a) two resistors of the first lateral isotropic sensor are made of a first material and the two other resistors of the first lateral isotropic sensor are made of a second material, and two resistors of the second lateral isotropic sensor are made of a third material and the two other resistors of the second lateral isotropic sensor are made of a fourth material, and at least three of the first, second, third and fourth material are different materials; or b) two of the resistors of the first sensor are p-well resistors, and two other of the resistors of the first sensor are p-poly resistors, and two of the resistors of the second sensor are heavily doped p-type resistors, and two other of the resistors of the second sensor are heavily doped n-type resistors; or c) two of the resistors of the first sensor are heavily doped p-type resistors, and two other of the resistors of the first sensor are p-poly resistors, and two of the resistors of the second sensor are heavily doped n-type resistors, and two other of the resistors of the second sensor are heavily doped p-type resistors; or d) two of the resistors of the first sensor are n-well resistors, and two other of the resistors of the first sensor are p-poly resistors, and two of the resistors of the second sensor are heavily doped n-type resistors, and two other of the resistors of the second sensor are heavily doped p-type resistors.
10. An integrated semiconductor device according to claim 1, wherein the integrated semiconductor device comprises a number of at least two Hall elements located on an imaginary circle, and a single first lateral isotropic sensor located inside the circle, and the same number of second sensors, each arranged around one of the Hall elements, or wherein the integrated semiconductor device comprises a number of at least two Hall elements, each Hall element having a corresponding first sensor and a corresponding second sensor arranged around the Hall element.
11. A method of measuring a magnetic field strength compensated for mechanical stress and for temperature, using a semiconductor device according to claim 1, the method comprising the steps of: obtaining a Hall signal from said at least one Hall element; obtaining a first sensor signal from the first lateral isotropic sensor; obtaining a second sensor signal from the second lateral isotropic sensor; digitizing the Hall signal and the first sensor signal and the second sensor signal so as to obtain three digital values; calculating a stress value and a temperature value that satisfy a predetermined set of only two simultaneous n-th order polynomial equations in only two variables with predefined coefficients and with the digitized first and second sensor signals as parameters; calculating a stress compensated and temperature compensated Hall value using a correction factor being a n-th order polynomial expression in only two variables and with predefined coefficients.
12. An integrated semiconductor device for measuring a magnetic field strength, comprising: at least one Hall element configured for providing a Hall signal indicative of the magnetic field strength to be measured; a first lateral isotropic sensor having a first stress sensitivity and a first temperature sensitivity and configured for providing a first sensor signal; a second lateral isotropic sensor having a second stress sensitivity, and having a second temperature sensitivity and configured for providing a second sensor signal; wherein the first temperature sensitivity is different from the second temperature sensitivity or the first stress sensitivity is different from the second stress sensitivity or both; digitization means arranged for digitizing the Hall signal and the first sensor signal and the second sensor signal so as to obtain three digital values; calculation means configured for calculating a stress-compensated and temperature-compensated Hall value using a predefined correction formula in only two parameters being said digitized first sensor signal and said digitized second sensor signal.
13. An integrated semiconductor device according to claim 12, wherein the predefined correction formula can be expressed by, or is equivalent to one of: a) the formula: VHcomp=VH/CF, wherein CF is a correction factor, which can be expressed by, or is equivalent to the following n-th order polynomial in only two variables:
14. An integrated semiconductor device according to claim 12, wherein the polynomial of the correction factor is one of: i) a second order polynomial in both variables; ii) a polynomial of third order in the variable related to the sensor having the highest temperature sensitivity of the first and second sensor and of first order in the other variable; iii) a polynomial of fourth order in the variable related to the sensor having the highest temperature sensitivity of the first and second sensor and of first order in the other variable; and optionally wherein in case ii) or case iii) the calculation means is adapted for evaluating the polynomial expression as a piecewise linear or a piecewise quadratic approximation using equidistant or non-equidistant intervals of the first and/or second variable.
15. An integrated semiconductor device according to claim 12, further comprising non-volatile storage means operatively connected to the calculation means, the storage means being adapted for storing at least two values determined during calibration, and optionally for storing also the predefined coefficients of the polynomial equations; and/or further comprising means for biasing the at least one Hall element and the first sensor and the second sensor with a constant predefined voltage, and/or wherein the at least one Hall element is a horizontal Hall plate.
16. An integrated semiconductor device according to claim 12, wherein each of the first lateral isotropic sensor and the second lateral isotropic sensor is a resistive sensor comprising four lateral isotropic resistors.
17. An integrated semiconductor device according to claim 16, wherein: each of the lateral isotropic resistors comprise at least two lateral resistor strips organized as an orthogonal pair, connected in series; and/or wherein at least some of the lateral isotropic resistors comprise at least four lateral resistor strips connected in series in a double-L shape.
18. An integrated semiconductor device according to claim 16, wherein materials of the resistors are chosen such that: a) two resistors of the first lateral isotropic sensor are made of a first material and the two other resistors of the first lateral isotropic sensor are made of a second material, and two resistors of the second lateral isotropic sensor are made of a third material and the two other resistors of the second lateral isotropic sensor are made of a fourth material, and at least three of the first, second, third and fourth material are different materials; or b) two of the resistors of the first sensor are p-well resistors, and two other of the resistors of the first sensor are p-poly resistors, and two of the resistors of the second sensor are heavily doped p-type resistors, and two other of the resistors of the second sensor are heavily doped n-type resistors; or c) two of the resistors of the first sensor are heavily doped p-type resistors, and two other of the resistors of the first sensor are p-poly resistors, and two of the resistors of the second sensor are heavily doped n-type resistors, and two other of the resistors of the second sensor are heavily doped p-type resistors; or d) two of the resistors of the first sensor are n-well resistors, and two other of the resistors of the first sensor are p-poly resistors, and two of the resistors of the second sensor are heavily doped n-type resistors, and two other of the resistors of the second sensor are heavily doped p-type resistors.
19. An integrated semiconductor device according to claim 12, wherein the integrated semiconductor device comprises a number of at least two Hall elements located on an imaginary circle, and a single first lateral isotropic sensor located inside the circle, and the same number of second sensors, each arranged around one of the Hall elements, or wherein the integrated semiconductor device comprises a number of at least two Hall elements, each Hall element having a corresponding first sensor and a corresponding second sensor arranged around the Hall element.
20. A method of measuring a magnetic field strength compensated for mechanical stress and for temperature, using a semiconductor device according to claim 12, the method comprising the steps of: obtaining a Hall signal from said at least one Hall element; obtaining a first sensor signal from the first lateral isotropic sensor; obtaining a second sensor signal from the second lateral isotropic sensor; digitizing the Hall signal and the first sensor signal and the second sensor signal so as to obtain three digital values; calculating a stress compensated and temperature compensated Hall value using a correction factor being a n-th order polynomial expression in only two parameters and with predefined coefficients.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18) The drawings 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.
(19) Any reference signs in the claims shall not be construed as limiting the scope.
(20) In the different drawings, the same reference signs refer to the same or analogous elements.
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(21) 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. The dimensions and the relative dimensions do not necessarily correspond to actual reductions to practice of the invention.
(22) Furthermore, the terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a sequence, either temporally, spatially, in ranking or in any other manner. 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.
(23) Moreover, the terms top, under and the like in the description and the claims are used for descriptive purposes and not necessarily for describing relative positions. 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 orientations than described or illustrated herein.
(24) It is to be noticed that the term “comprising”, used in the claims, should not be interpreted as being restricted to the means listed thereafter; it does not exclude other elements or steps. It is thus to be interpreted as specifying the presence of the stated features, integers, steps or components as referred to, but does not preclude the presence or addition of one or more other features, integers, steps or components, or groups thereof. Thus, the scope of the expression “a device comprising means A and B” should not be limited to devices consisting only of components A and B. It means that with respect to the present invention, the only or most relevant components of the device are A and B.
(25) Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner, as would be apparent to one of ordinary skill in the art from this disclosure, in one or more embodiments.
(26) Similarly, it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
(27) Furthermore, while some embodiments described herein include some but not other features included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention, and form different embodiments, as would be understood by those in the art. For example, in the following claims, any of the claimed embodiments can be used in any combination.
(28) In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
(29) The present invention is concerned with a method and an integrated circuit for measuring a magnetic field strength, that is compensated for both temperature and mechanical stress, hence has a reduced drift versus changing environmental conditions and over the lifetime of the sensor.
(30) Where the term “stress” is used in the present invention, “mechanical stress” is meant (as opposed to e.g. voltage stress), unless explicitly mentioned otherwise.
(31) In this document, the expression “a set of two equations in two variables” means “a set of only two equations in only two variables”, which is also equivalent to “a set of exactly two equations in exactly two variables”.
(32) In this document, unless explicitly mentioned otherwise, the terms “variables” and “parameters” have the same meaning, and can be used interchangeably. The term “variables” is typically used to express the values to be found which satisfy a set of equations, and the term “parameter” is more commonly used to indicate the values that need to be filled out in a predefined formula, irrespective of whether that value is directly measured (as is the case for the second method) or whether that value is first calculated from a set of equations (as in the first method). In both cases these values are not fixed beforehand. These values are typically (temporarily) stored in RAM. In contrast, values of “coefficients” and/or “offset” are determined beforehand, e.g. during design stage and/or during calibration stage, and the latter values are typically stored in non-volatile memory such as e.g. flash or EEPROM, or a combination of these. The term “offset” or “offset value” can be considered as a special case of a coefficient, e.g. that of the zero-order polynomial term X.sup.0Y.sup.0, where X and Y represent variables or parameters. Offset values are typically determined on a device-per-device basis during calibration, whereas coefficients are typically determined for a group of devices, e.g. for a single batch of a single die, or for an entire design in a specific technology. But how these are determined is not relevant for the present invention, and it suffices to know that these values are “predetermined” during actual use of the device. This paragraph is not intended to limit the present invention in any way, but only to help clarify some terms.
(33) With “p-poly” is meant “p-type polycrystalline”.
(34) With “n-poly” is meant “n-type polycrystalline”.
(35) With “p-diff” is meant “highly doped p-type resistor” or “heavily doped p-type resistor”. With “heavily doped” is meant having a doping concentration of at least 1.0×10.sup.18/cm.sup.3, for example in the range of 1×10.sup.19/cm.sup.3 to 1×10.sup.20/cm.sup.3.
(36) With “n-diff” is meant “highly doped n-type resistor” or “heavily doped n-type resistor”. With “heavily doped” is meant having a doping concentration of at least 1.0×10.sup.18/cm.sup.3, for example in the range of 1×10.sup.19/cm.sup.3 to 1×10.sup.20/cm.sup.3.
(37) Where in this document reference is made to “directly measured”, what is meant is a particular value obtained from the Hall element or obtained from a sensor by the digital processor, after digitization and the optional amplification.
(38) The problem related to temperature and stress dependence of a Hall sensor is known in the art for several decades, but there seem to be only very few solutions that compensate for both temperature and stress variations.
(39) As far as is known to the inventors, the solutions proposed thus far in the prior art seem to be focused on building an ideal stress sensor (i.e. a sensor structure that is only sensitive to stress and not to temperature) thus capable of providing a signal proportional to the stress exerted on the device, or on building an ideal temperature sensor (i.e. a sensor structure that is only sensitive to temperature but not to stress) thus capable of providing a signal proportional to the temperature of the device.
(40) There seems to be a prejudice in the field that the “true stress” can only be determined by using a stress sensor that is insensitive (or only marginally sensitive) to temperature, and that the “true temperature” can only be determined by using a temperature sensor that is insensitive (or only marginally sensitive) to stress.
(41) There also seems to be a prejudice in the field that a mathematical approach is not possible or overly complex and therefore not practically feasible.
(42) The solution proposed in U.S. Pat. No. 7,980,138 (already discussed in the background section, and further referred to as [ref 1]) is an example of this prejudice, and provides a stress sensor having only a minimal temperature sensitivity.
(43) In the publication “A Bridge-Type Resistive Temperature Sensor in CMOS Technology with Low Stress Sensitivity” by Samuel Huber et al., published in SENSORS, 2014 IEEE, pp 1455-1458, further referred to herein as [ref 2], a temperature sensor is proposed which has only a minimal sensitivity to stress.
(44) In both above mentioned approaches, the underlying idea seems to be to provide specific hardware that allows measurement of only a single influence (either mechanical stress or temperature but not both) while being insensitive to the other (temperature or mechanical stress), or the impact of the latter being as small as possible. If Temperature Sensitivity of the first & second sensor is represented by TS1, TS2 respectively, and Stress Sensitivity of the first & second sensor is represented by SS1, SS2 respectively, the prior art approaches can be formulated as follows: [ref 1] provides: a stress sensor with negligible temperature sensitivity (TS2≈0) [ref 2] provides: a temperature sensor with negligible stress sensitivity (SS1≈0).
(45) In contrast, the inventors of the present invention followed a categorically different approach, wherein the two sensors are allowed to both be sensitive to mechanical stress and to temperature, they should have a “different sensitivity”. Expressed in mathematical terms, the two sensors should have: i) a different sensitivity to stress (SS1< >SS2), (irrespective of whether TS1 is equal, nearly equal or not equal to TS2), or ii) a different sensitivity to temperature (TS1< >TS2), (irrespective of whether SS1 is equal, nearly equal or not equal to SS2), or iii) a different sensitivity to both mechanical stress and temperature (SS1< >SS2 and TS1< >TS2). iv) (a theoretically more exact mathematical formulation will be stated further, but in practice the above expressions are sufficient).
(46) In some embodiments of the present invention, the sensitivity of both sensors to mechanical stress and to temperature is not negligible (for example: each of SS1 and SS2>20 mV/GPa in absolute value, and each of TS1 and TS2>0.10 mV/K in absolute value.
(47) In addition, the inventors decided to use only lateral and isotropic resistors in both sensors. Using only lateral resistors means that no “vertical resistors” (i.e. extending in a direction perpendicular to the substrate surface) are needed, which greatly relaxes process constraints, and allows better matching of the resistors because the ratio of lateral resistor values is determined primarily by lithography. Furthermore, when only lateral components are used, a layout can easily be shrinked (which is not possible for a design with vertical components, e.g. with a vertical resistor). Furthermore, lateral resistors allow also to place the resistors in the immediate vicinity of the Hall element, preferably or ideally surrounding it entirely. This improves the matching of the temperature and the stress of the Hall element, the first, and the second sensor.
(48) Probably most importantly, the inventors have found that, when using only lateral and isotropic resistors, the set of 6 equations (known in the art), which is extremely complex, can surprisingly be reduced to a relatively simple set of only 2 equations in only two variables: σ.sub.iso and T, wherein
σ.sub.iso=(σ.sub.xx+σ.sub.yy) [1]
represents the isotropic mechanical stress, and T represents the temperature.
(49) It is noted that the approach of two simultaneous equations implicitly assumes that both sensors experience the same temperature T and are subject to the same stress, which in practice is only approximately true, but the approximation is more accurate as the sensors are positioned closer to each other on the same die. In order to quantify the term “sufficiently close”, in embodiments of the present invention, and as illustrated in
(50) I. Calculation of Stress and Temperature
(51) The set of two simultaneous equations can be written as:
(52)
where V1 is the value measured by the first sensor after (optional amplification and) digitization, and V2 is the value measured by the second sensor after (optional amplification and) digitization.
(53) Moreover, it was surprisingly found that the functions f1 and f2 in only two variables can be advantageously approximated by two polynomial expressions or relatively small order (e.g. only fourth order or less).
(54) Furthermore, it was found particularly advantageous not to use the absolute value of T and σ.sub.iso, but a value ΔT relative to a reference temperature Tref, and a value Δσ.sub.iso relative to a reference isotropic mechanical stress value experienced by the same two sensors but measured under different conditions (e.g. the stress present after packaging or during wafer probing). If the measurement of formula [2] and [3] is performed at the reference temperature and reference stress, or stated otherwise, if the temperature and stress at which the measurement of V1 and V2 are performed is considered as “the reference temperature” and “the reference stress”, then the measured value V1 is the offset of the first sensor, and the measured value V2 is the offset of the second sensor.
(55) Thus:
(56)
(57) This notation allows to perform calculations even though the exact magnitude of the reference stress σ.sub.iso.sub._.sub.ref itself is not known. The offset measurement can be performed at any temperature, e.g. Tref can be about 20° C., or any other suitable temperature. Furthermore, it allows the offset of the first sensor and second sensor (both implemented as a resistor-bridge) to be directly measured. (indeed, under the reference conditions Δσ.sub.iso=0 and ΔT=0) by definition.
(58) Consider:
(59)
where V1 is the (differential voltage) output of the first sensor, V2 is the (differential voltage) output of the second sensor, Voffset1 is the offset of the first sensor (measured under the reference conditions), and Voffset2 is the offset of the second sensor (measured under the reference conditions), as stated above.
(60) The set of two simultaneous equations can then be written as:
(61)
where the coefficients α.sub.ij and β.sub.ij are constants, and K, L, i, j are integer values. It can be seen that α.sub.00=Voffset1, and β.sub.00=Voffset2. In other words, the value of α.sub.00 and β.sub.00 need not be determined by curve-fitting, but can be “directly measured”.
(62) The values of “K” and “L” are known as the “orders” of the polynomial [8] and [9] respectively. The value K may be the same as the value L, or may be different. These values can be chosen by the skilled person, depending on the application, and may depend for example on the required or desired accuracy, taking into account the envisioned temperature and stress range. For envisioned applications, where the temperature range is relative large and the stress range is relative small, the formula [8] for the sensor 21 with the higher temperature sensitivity (assume TS1>TS2) may be chosen to have a higher order “K” than the formula [9] for the other sensor 22, although the present invention is not limited thereto. In each case, the skilled person can easily find a suitable order of the polynomial by using curve-fitting, and calculating the maximum deviation between the fitted curve and the measurements, and if the maximum deviation is larger than desired, increase the order of the polynomial.
(63) The coefficients α.sub.ij and β.sub.ij are stress and temperature independent, but are depending inter alia on the geometry of the sensors, and on the materials used and the doping levels used, which constants may be determined from literature or by simulation or by measurement, or combinations hereof. The coefficients do not depend on the physical dimensions, because a resistor bridge with four equal resistor values is used for both the first and second sensor, hence only the relative dimensions of the individual resistors is important, not their absolute value.
(64) It is a major advantage of using two polynomial expressions because it allows the coefficients to be chosen to fit in the desired operating conditions, and because the set of equations is relatively easy to solve numerically. Stated differently, the coefficients α.sub.ij and β.sub.ij can be determined relatively easily by performing measurements under different stress and temperature conditions, and by applying curve-fitting techniques, using a distance criterium, e.g. least mean square or minimum absolute distance, or any other suitable criterium known in the art. Once the coefficients are determined (e.g. during design-stage or during calibration or a combination of both), they can be stored in non-volatile memory in the device (e.g. in flash or EEPROM).
(65) During actual use of the device, these coefficient values can be read from the non-volatile memory, the values V1 and V2 from each sensor would be measured, and the set of equations can be relatively easily solved numerically by a digital processor which may be embedded in the same device. It is the combination of all these elements: (1) relatively small number of measurements needed to determine the coefficients, thus requiring only limited time and resources during production, (2) relatively small number of coefficients needed, thus requiring only limited storage space in non-volatile memory, (3) relatively simple equations, thus requiring only limited time and processing power in the final device, that makes this solution practically feasible. As far as is known to the inventors, in the prior art, even recent prior art, at least one of these aspects is consistently considered to be a hurdle that cannot be overcome. In particular, some prior art documents (e.g. U.S. Pat. No. 7,980,138B2) seem to suggest that a huge number of measurements (in two variables: stress and temperature) need to be performed, and the results need to be stored in a huge matrix, for direct look-up by the device, quite in contrast with the solution offered by the present invention, which is based on solving a simultaneous set of two equations.
General Examples
(66) In embodiments of the present invention, both polynomials [8] and [9] are fourth-order polynomials (meaning K=4 and L=4), wherein one or more coefficients may be zero.
(67) In embodiments of the present invention, both polynomials [8] and [9] are third-order polynomials (meaning K=3 and L=3), wherein one or more coefficients may be zero.
(68) In embodiments of the present invention, both polynomials [8] and [9] are second-order polynomials (meaning K=2 and L=2), wherein one or more coefficients may be zero. Experiments have shown that fourth order polynomials, third order polynomials, but even second order polynomials can provide highly accurate results over a broad temperature range, e.g. from −20° C. to +150° C., or even from −40° C. to +170° C., and a modest pressure range (e.g. up to +/−200 MPa higher or lower than the reference pressure).
(69) In embodiments of the present invention, both polynomials are second-order polynomials (meaning K=2 and L=2, and α.sub.20< >0 and β.sub.20< >0), but the coefficients of the cross-terms are set to zero, meaning that: α.sub.11=α.sub.12=α.sub.21=α.sub.22=0 and β.sub.11=β.sub.12=β.sub.21=β.sub.22=0. This embodiment has the advantage that only eight coefficients need to be determined by curve-fitting.
(70) In embodiments of the present invention, both polynomials are second-order polynomials (meaning K=2 and L=2, and α.sub.20< >0 and β.sub.20< >0), but the following coefficients are set to zero: α.sub.11=α.sub.12=α.sub.20−α.sub.21=α.sub.22=0, and β.sub.11=β.sub.12=β.sub.20=β.sub.21=β.sub.22=0. This embodiment has the advantage that only six coefficients need to be determined by curve-fitting.
(71) In embodiments of the present invention, both polynomials are first-order polynomials (meaning K=1 and L=1), which can provide sufficiently accurate results in the range of about 0° C. to about +120° C., or even from about 0° C. to about +140° C.
(72) In embodiments of the present invention, one of the polynomials is a first-order polynomial and the other polynomial is a second order polynomial, meaning K=1 and L=2, or K=2 and L=1.
(73) In embodiments of the present invention, one of the polynomials is a third-order polynomial and the other polynomial is a second order polynomial, meaning K=2 and L=3, or K=3 and L=2.
(74) In embodiments of the present invention, one of the polynomials is a third-order polynomial and the other polynomial is a first order polynomial, meaning K=3 and L=1, or K=1 and L=3.
(75) In embodiments of the present invention, one of the polynomials is a fourth-order polynomial and the other polynomial is a first order polynomial, meaning K=4 and L=1, or K=1 and L=4.
(76) In embodiments of the present invention, one of the polynomials is a fourth-order polynomial and the other polynomial is a second order polynomial, meaning K=4 and L=2, or K=2 and L=4.
(77) In embodiments of the present invention, both polynomials are first-order polynomials, and the coefficients of the cross-terms are zero, thus K=1 and L=1 and α.sub.11=0 and β.sub.11=0.
Example 1
(78) In a first example, the following set of second order polynomials is used:
(79)
As described above, the values of α.sub.00=Voffset1, β.sub.00=Voffset2, α.sub.20, α.sub.11, α.sub.02, α.sub.10, α.sub.01, β.sub.20, β.sub.11, β.sub.02, β.sub.10, β.sub.01 could thus be determined during production (e.g. after packaging or during wafer probing), and would be stored in non-volatile memory in the device.
(80) During actual use of the device, the output V1, V2 of the first and second sensor would be measured, and the set of equations [9], [10] would be solved, e.g. by an iterative approach, or by stepwise approximation, or in any other known manner, yielding a value for Δσ.sub.iso and for ΔT that satisfy the set of equations. The numerical value of Δσ.sub.iso corresponds to the “true stress” (even after drift), relative to the reference stress and the numerical value of ΔT corresponds to the “true temperature” relative to the reference temperature. These numerical values can then be used in another formula (see further) for actually compensating the Hall-voltage readout.
Example 2
(81) In a variant of example 1, some of the coefficients are chosen equal to zero, resulting in less coefficients to be determined and stored, and simpler equations to be solved. The set of equations of the second example is:
(82)
Example 3
(83) The third example is actually the same as the second example, but formulated differently. The main reason of this example is to show that the polynomial representation can also be used to represent “coefficients that are temperature-dependent”. The set of equations [11], [12] can be rewritten as:
(84)
or:
(85)
where the value of ε.sub.1 and ε.sub.2 are not constants, but are actually temperature-dependent values, ε.sub.1(T) and ε.sub.2(T) which could be stored in the non-volatile memory as a list of values, e.g. representing a piece-wise linear approximation.
(86) A possible advantage of this formulation is that this set of equations [16], [17] can again be “solved” by an iterative process, starting from a starting value of Δσ.sub.iso and ΔT, determining corresponding values for ε.sub.1(T.sub.0) and ε.sub.2(T.sub.0), (which are then considered as temporary constants), solving the set of equations (with constant coefficients), resulting in a new set of values Δσ.sub.iso and ΔT, which values may then be used as new starting values, etc.
(87) It shall be clear that the formulation of the present invention can thus also represent temperature-dependent coefficients.
Example 4
(88) As mentioned above, even simpler variants can be formulated by setting particular values to zero. For example, if the coefficients α11 and β11 of example 2 (equation [12], [13]) are also set to zero, the set of equations becomes:
(89)
Even this simple set of equations was found to yield highly accurate results in an application that will be discussed further, for compensating a Hall-sensor readout in the temperature range of about 0° C. to about 140° C.
(90) It is an advantage that this set of equations is particularly easy to solve (e.g. by first eliminating the parameter Δσ.sub.iso from the set of equations, and then solving a quadratic equation in the single variable ΔT, and then replacing the value ΔT in one of the equations to find Δσ.sub.iso), but of course other ways to solve the set of equations may also be used. The simplicity of this solution, in combination with its high accuracy, is a major advantage over prior art solutions.
(91) II. Compensation of Stress and Temperature
(92) Above, it was described how a value ΔT representative for the “true temperature” (as would be obtained from an ideal temperature sensor which is not sensitive to mechanical stress), and a value of Δσ.sub.iso representative for the “true mechanical stress” (as would be obtained from an ideal mechanical stress sensor which is not sensitive to temperature), can be obtained from a first and second sensor which are not ideal, using a set of polynomial equations.
(93) When a particular set of values (Δσ.sub.iso and ΔT) that satisfies the simultaneous set of two equations is found, (and makes technical sense), the amplified and digitized Hall voltage VH can then be corrected for example by using the following formula:
VHcomp=VH/CF [20]
where CF is a correction factor, which can be expressed by the following M-th order polynomial:
(94)
where Δσ.sub.iso and ΔT are the values found above, the coefficients γ.sub.ij are constants, and M, i, j are integer values. The value of γ.sub.00 may be equal to 1.
(95) The coefficients γ.sub.ij are stress and temperature independent, but are depending inter alia on the geometry (of the sensor), the materials used and the doping levels used, which constants may be determined from literature or by simulation or by measurement, and on the biasing of the Hall element, e.g. constant current or constant voltage, or combinations hereof. These coefficients are not dependent on the actual dimensions used, because the sensors are implemented as resistor bridges with equal resistor values.
(96) The coefficients γ.sub.ij can be determined relatively easily by performing measurements, and by applying curve-fitting techniques, using a distance criterium, e.g. least mean square or minimum absolute distance, or any other suitable criterium known in the art. Once the coefficients are known, and a set of values (Δσ.sub.iso and ΔT) are calculated (see above), the expression [21] can be easily calculated.
(97) The value “M” is known as the “order” of the polynomial. This value can be chosen by the skilled person, depending on the application, and may depend for example on the required accuracy and on the envisioned temperature and stress range.
(98) It is pointed out that the order “K” and “L” of the polynomials of the set of equations for calculating the stress Δσ.sub.iso and temperature ΔT, may be, but need not necessarily be the same as the order “M” of the polynomial for compensation. In other words, K, L and M can be chosen independently. Some possible combinations of K, L and M are the following, but the invention is not limited thereto, and other combinations may also be used.
(99) TABLE-US-00001 TABLE 1 examples of combinations of K, L, M K L M 1 1 1 1 1 2 1 1 3 1 2 1 1 2 2 1 2 3 1 3 1 1 3 2 1 3 3 2 1 1 2 1 2 2 1 3 2 2 1 2 2 2 2 2 3 2 3 1 2 3 2 2 3 3 3 1 1 3 1 2 3 1 3 3 2 1 3 2 2 3 2 3 3 3 1 3 3 2 3 3 3
(100) It is pointed out that the formula [21] may also be written as a product of two polynomials, as follows:
(101)
but this is merely a different formulation.
GENERAL EXAMPLES
(102) In particular embodiments of the present invention, the polynomial in formula [21] is a second-order polynomial (meaning M=2, and at least one of the second order coefficients is non-zero), which can provide highly accurate results in a temperature range of about −20° C. to about +150° C., or even −40° C. to about +170° C.
(103) In embodiments of the present invention, the polynomial in formula [21] is a second-order polynomial, but the coefficients of the cross-terms are set to zero, meaning that: γ.sub.11=γ.sub.12=γ.sub.21=γ.sub.22=0. This embodiment has the advantage that only four gamma-coefficients need to be determined by curve-fitting (namely: γ.sub.01, γ.sub.02, γ.sub.10, γ.sub.20).
(104) In embodiments of the present invention, the polynomial in formula [21] is a second-order polynomials, but the following coefficients are set to zero:
(105) γ.sub.11=γ.sub.12=γ.sub.20=γ.sub.21=γ.sub.22=0. This embodiment has the advantage that only three coefficients need to be determined by curve-fitting (namely: γ.sub.01, γ.sub.02, γ.sub.10)
(106) In embodiments of the present invention, the polynomial of formula [21] is a first-order polynomial (meaning M=1), which may still provide sufficiently accurate results in the range of about 0° C. to about +120° C., or even from about 0° C. to about +140° C.
(107) In embodiments of the present invention, the polynomial of formula [21] is a first-order polynomial, meaning M=1.
(108) In embodiments of the present invention, the polynomial of formula [21] is a first-order polynomial (thus M=1), and the coefficient of the cross-term is set to zero, meaning that: γ.sub.11=0.
(109) The skilled person can easily find a suitable order of the polynomial by using curve-fitting, and calculating the maximum deviation between the fitted curve and the measurements, and if the maximum deviation is larger than desired, increase the order of the polynomial.
Example 1
(110) In a first example, the following correction factor CF is used:
CF=(γ.sub.00+γ.sub.20.Math.Δσ.sub.iso^2+γ.sub.11.Math.Δσ.sub.iso.Math.ΔT+γ.sub.02.Math.ΔT^2+γ.sub.10.Math.Δσ.sub.iso+γ.sub.01.Math.ΔT) [23]
As described above, the values of γ.sub.00, γ.sub.20, γ.sub.11, γ.sub.02, γ.sub.10, γ.sub.01, may be determined during production (e.g. after packaging or after probing), and can be stored in a non-volatile memory, physically connectable or physically embedded in the device.
Example 2
(111) In a variant of example 1, some of the coefficients are chosen equal to zero, resulting in less coefficients to be determined and stored, and a simpler formula to be calculated. The correction factor of the second example is:
CF=(γ.sub.00+γ.sub.11.Math.Δσ.sub.iso.Math.ΔT+γ.sub.02.Math.ΔT^2+γ.sub.10.Math.Δσ.sub.iso+γ.sub.01.Math.ΔT) [24]
Example 3
(112) The third example is actually the same as the second example, but formulated differently. The main reason of this example is to show that the polynomial representation can also be used to represent “coefficients that are temperature-dependent”. The equation [23] can be rewritten as:
CF=(γ.sub.00+(γ.sub.10+γ.sub.11.Math.ΔT).Math.Δσ.sub.iso+γ.sub.02.Math.ΔT^2+γ.sub.01.Math.ΔT) [25]
or:
CF=(γ.sub.00+λ.sub.1.Math.Δσ.sub.iso+γ.sub.02.Math.ΔT^2+γ.sub.01.Math.ΔT) [26]
where the value of λ.sub.1 is not constant, but is temperature-dependent, and can be stored in the non-volatile memory as a list of values, e.g. representing a piece-wise linear approximation, along with the coefficients γ.sub.ij.
(113) From this example it shall be clear that the formulation of the correction factor as a polynomial, can thus also represent temperature-dependent coefficients, even though the coefficients γ.sub.ij are constants.
Example 4
(114) As mentioned above, even simpler variants of the correction formula can be used, by setting particular values to zero. For example, if the coefficient γ.sub.11 of example 2 is also set to zero, the correction factor becomes:
CF=(γ.sub.00+γ.sub.10.Math.Δσ.sub.iso+γ.sub.02.Math.ΔT^2+γ.sub.01.Math.ΔT) [27]
(115) Even this simple set of equations was found to yield highly accurate results in an application that will be discussed further, for compensating a Hall-sensor readout in the temperature range of about 0° C. to about 140° C.
Example 5
(116) As an example of the second formulation (see formula [22]), in an embodiment where P=2 and Q=2, CF could be written as:
CF=(η.sub.0+η.sub.1.Math.Δσ.sub.iso+η.sub.2.Math.Δσ.sub.iso^2).Math.(ν.sub.0+ν.sub.1.Math.ΔT+ν.sub.2.Math.ΔT^2) [28]
where the coefficients η.sub.i and ν.sub.i are temperature independent.
Example 6
(117) As yet another example, the polynomial CF could be written as follows:
CF=(1+δ.sub.01.Math.ΔT+δ.sub.02.Math.ΔT^2).Math.[1+(δ.sub.10+δ.sub.11.Math.ΔT).Math.Δσ.sub.iso] [29]
where δ.sub.ij are temperature independent coefficients,
or as:
CF=(1+δ.sub.01.Math.ΔT+δ.sub.02.Math.ΔT^2).Math.[1+λ.sub.2.Math.Δσ.sub.iso] [30]
where δ.sub.ij are temperature independent coefficients, but λ.sub.2 is temperature dependent. Each of the values δ.sub.ij can be stored in non-volatile memory as a single coefficient, while λ.sub.2 can be stored as a list of several coefficients.
(118) Alternative Compensation Formula:
(119) As an alternative to formula [20], which has a division-operation, the compensated Hall voltage can also be approximated using the following formula:
VHcomp=VH×CFb [31]
where CFb is a second correction factor, which can be expressed as the following n-th order polynomial:
(120)
where Δσ.sub.iso and ΔT are the values found above, the coefficients τ.sub.ij are constants, and R, i, j are integer values. The value of τ.sub.00 may be equal to 1.
(121) Everything which was said for the formula [21] is also applicable to formula [32], for example, this polynomial may also be formulated as a product of two polynomials, such as for example that in particular embodiments this polynomial may be first, second, third or higher order, and the order R can be chosen independent of K and L (the same table as was mentioned above for sets of (K, L, M) is also applicable for sets of (K, L, R), etc. Using formulas [30] and [31] or particular examples thereof, has the advantage that the division operation can be avoided, and can be replaced by a multiplication operation, which typically requires less processing time.
(122) Lateral Isotropic Resistors:
(123) A question left unanswered so far is: “how to make two sensors having only lateral isotropic resistors with: i) (SS1< >SS2), or ii) (TS1< >TS2), or iii) (SS1< >SS2 and TS1< >TS2).
(124) In view of the polynomial expressions, and understanding that the terms SS1, SS2, TS1, TS2 primarily refer to the first-order coefficient of the terms (Δσ.sub.iso) and (ΔT) respectively, thus SS1 refers to (or has a high correlation with) α.sub.10, SS2 refers to β.sub.10, TS1 refers to α.sub.01 and TS2 refers to β.sub.01, this condition can now be reformulated as follows: i) (α.sub.10< >β.sub.10), or ii) (α.sub.01< >β.sub.01), or iii) (α.sub.10< >β.sub.10) and (α.sub.01< >β.sub.01).
(125) Or stated in a mathematical terms: the set of equations need to be “independent”. In practice this boils down to stating that the ratio α.sub.10/α.sub.01 must be different from the ratio β.sub.10/β.sub.01, e.g. by at least a factor 1.1, preferably at least a factor 1.5.
(126) In preferred embodiments of the present invention this can be achieved by using a so called “resistor-L” layout (single-L or double-L as will be described further) and by using at least three (optionally four) different “materials” for the resistors of the two sensors. With “material” is meant not only the chemical composition (such as Silicon+Boron) but also includes the doping concentration. Some examples of resistors implemented in different “materials” are: a p-poly resistor, a p-well resistor (with a particular doping level), an n-well resistor (with a particular doping level), a highly doped p-type resistor, also referred to herein as “p-diff resistor”, a highly doped n-type resistor, also referred to herein as “n-diff resistor”, etc.
(127) Turning now to the Figures.
(128)
(129) With “constant current” or “constant voltage” is meant a current or voltage which is temperature compensated. Constant current sources and constant voltage sources are known in the art, and hence need not be further described here. Biasing with a constant voltage is preferred over biasing with a constant current, because it yields a larger signal-to-noise ratio over the entire temperature range.
(130) The controller has a calculation unit configured to calculate a value of the temperature, e.g. a stress-free temperature: “ΔT” and the value of a stress, e.g. a temperature-free stress “Δσ.sub.iso” by solving any of the sets of equations described above (in relation to Formulae [1] to [19]), and for compensating the (optionally spinned and/or amplified) Hall signal by using the formula [20] to [30] or by using the formula [31] and [32], or variants thereof. This can be implemented in hardware (e.g. as an ASIC or programmable logic) or as a software program on a programmable processing unit, in manners known per se in the art. One or more of the coefficients used in the formulae may be hardcoded (e.g. in the program) or may be loaded (as parameter or variable) from non-volatile memory. For example, the offset-values Voffset1 and Voffset2 would probably be different for each individual device, and would need to be stored in non-volatile memory (during calibration) and retrieved from said memory (during actual use of the device), but some or all of the other coefficients of the set of polynomials could be hardcoded if process-parameters would show a sufficiently small spread. Alternatively, all the coefficients may be determined during the production stage, for each individual device, and stored in non-volatile memory.
(131) The device 100 is preferably implemented as an integrated semiconductor circuit, in particular a CMOS wafer using a so called (100) crystallographic silicon substrate. Of course, the integrated circuit may have further functionality, for example may have multiple Hall elements arranged for measuring a magnetic field at multiple locations, and the controller 15 or another controller (not shown in
(132) In a variant of
(133)
(134) In a variant of
(135)
(136) Preferably the electrical resistance value of each of the four resistors R1a, R1b, R1c, R1d is substantially the same (e.g. designed to be the same at the reference temperature T.sub.ref and the reference mechanical stress σ.sub.ref), in which case there would be no offset voltage between VS1+ and VS1−, but that is not absolutely necessary, and the circuit will also work when the electrical resistance of R1a=R1d and R1b=R1c, but R1a< >R1b, but in this case there may be a relatively large offset, which may limit the amplification of the signal, and is therefore better avoided.
(137) The resistor R1a and R1d are made of a first material and the resistor R1b and R1c are made of a second material different from the first material (e.g. having different chemical elements, or having a substantially different doping level, or both) and hence the entire bridge 21 as a whole has a first temperature sensitivity TS1 and a first stress sensitivity SS1, inter alia depending on the first material and second material.
(138) Likewise,
(139) By choosing at least three of the four materials to be different (e.g. p-well or n-well or p-diff (=highly p-doped) or n-diff (=highly n-doped) or p-poly (=p-type polycrystalline) or n-poly (=n-type polycrystalline), the first and second lateral isotropic sensor 21, 31 can be designed so as to have: i) a different sensitivity to stress (SS1< >SS2), or ii) a different sensitivity to temperature (TS1< >TS2), or iii) a different sensitivity to both stress and temperature (SS1< >SS2 and TS1< >TS2). iv) or stated in a mathematically more precisely way: such that the ratio α.sub.10/α.sub.01 is different from the ratio β.sub.10/β.sub.01).
(140) It is of course also possible to choose all four materials to be different.
(141)
(142) But lateral isotropic resistors can also be made from other materials, for example two strips of “p-diff” (i.e. silicon highly doped with a p-type dopant) or two strips of “n-diff” (i.e. silicon highly doped with an n-type dopant), and the temperature dependence and stress dependence of each such resistor would be different. According to embodiments of the present invention, each of the four resistors R1a, R1b, R1c, R1d are isotropic resistors, e.g. implemented as an in-plane resistor-L structure. Hence, when building a resistive sensor by arranging two pairs of such resistors in a bridge, the sensor 21 itself is a lateral isotropic resistive sensor having a particular temperature and stress sensitivity. A device according to the present invention uses two lateral isotropic resistive bridges.
(143)
(144) However,
(145)
(146) Referring now back to
(147) Referring back to
(148) An example of a possible layout of such a second sensor 31 is shown in
(149)
(150)
(151)
(152)
(153) In
(154) It is even possible that one sensor has two resistors with only two resistor strips, and two resistors with four resistor strips. Other variants are possible, as will be discussed in relation to
(155)
(156) In an alternative embodiment (not shown), the integrated circuit has an arrangement similar to that of
(157) Depending on the temperature gradient and stress gradient, the embodiment of
(158) Real Implementation:
(159) In a real implementation of the present invention (the layout of which is not shown, but is similar to that of
(160)
and the following correction factor CF was found for Hall sensors supplied with constant current:
CF=[1.0+(4E-10).Math.Δσ.sub.iso−(2E-13).Math.Δσ.sub.iso.Math.ΔT+(1E-3).Math.ΔT+(5E-6).Math.ΔT^2+(14E-16).Math.Δσ.sub.iso.Math.ΔT^2−(3E-18).Math.Δσ.sub.iso.Math.ΔT^3] [35]
(whereby the coefficients are normalized to Pascal and to Kelvin).
(161) It is noted that some higher order terms may be ignored, if desired, especially if (ΔT) is small.
(162) But of course, this is merely an example, and when other materials and/or geometry is chosen, the values would differ from this example.
(163) Multiple Hall Elements:
(164) In a practical implementation, several arrangements of one or more Hall elements, and one or more temperature sensor and one or more stress sensors are possible, for example: 1) Single Hall element, single temperature sensor, single stress sensor; all at discrete locations on the chip (e.g. not in the immediate vicinity of the Hall element), 2) Single Hall element, single temperature sensor, single stress sensor; the temperature sensor is arranged around the Hall element, the stress sensor is at a discrete location on the chip (e.g. not in the immediate vicinity of the Hall element), 3) Single Hall element, single temperature sensor, single stress sensor; the stress sensor is arranged around the Hall element, the temperature sensor is at a discrete location on the chip (e.g. not in the immediate vicinity of the Hall element), 4) Single Hall element, single temperature sensor, single stress sensor; both temperature sensor and stress sensor are arranged around the Hall element. (e.g.
(165) In case of a plurality of Hall elements, these may be arranged in a matrix, or on the circumference of a virtual circle (as is typically the case for an angular position sensor), or in any other way.
(166) Method:
(167)
(168) It is noted that the order of the steps may be changed and/or that some steps may be combined or split. For example, steps a) to c) could have been formulated as a single step, and/or step d) could have been formulated as three separate steps, but that is merely another formulation. Also, some steps may occur simultaneously, for example: obtaining the Hall signal and amplifying the Hall signal and digitizing the Hall amplified Hall signal may occur simultaneously.
(169) It is also noted that some steps may be performed multiple times, for example, the step of obtaining the Hall voltage from the Hall sensor may be applied four times, whereby each time the Hall element is differently biased (e.g. by a spinning current), and whereby the four results obtained may be averaged or summed, and the individual signals may be combined in the analog domain before or after amplification, but before digitization.
(170)
(171) Everything which is described above for the first method illustrated in
(172) The main advantages of this “direct transformation” (as compared to the indirect method of
First Example
(173) In a first example, the following correction formula can be used:
VHcomp=VH/CF [37]
wherein the correction factor can be expressed by, or is equivalent to:
(174)
wherein ΔV1=V1−V1o, ΔV2=V2−V2o, V1o being a digitized and optionally amplified output of the first sensor measured during calibration, V2o being a digitized and optionally amplified output of the second sensor measured during calibration, φ.sub.ij are predefined constants; M, i, j are integers; and M represents the order of the polynomial. Equation [38], or any equivalent formulation, would then be used instead of equation [22].
(175) As described above, the values of the coefficients may be determined by subjecting the device (e.g. as part of a semiconductor wafer) to a known stress (for example caused by bending the wafer in a known manner, or by exerting a known pressure on the top surface of the wafer), and by varying the temperature of the test environment, and by matching the measured values with the known stress and temperature values using “curve-fitting” techniques. The skilled person can choose an order of the polynomial e.g. 2, find suitable coefficients using known techniques, which need not be explained here, determine a maximum deviation between the polynomial and the measurements, and if that maximum deviation is considered too large, to choose a higher order of the polynomial, and repeat the process until a suitable order is found.
(176) The coefficients and the order of the polynomials may be determined in any suitable way. As an example only, the invention not being limited thereto, the calibration method as described in US2015142342 can be used, i.e. stress variation may be obtained from any of wafer probing vs. packaged device, humid package vs. dry package, wafer bending, 4-point bending bridge hydrostatic pressure. The combination of data between wafer probing and final test (in package) is considered to be particularly useful.
Second Example
(177) In a second example, the following correction formula can be used:
VHcomp=VH×CFb, [39]
wherein the correction factor CFb can be expressed by, or is equivalent to:
(178)
wherein ΔV1=V1−V1o, ΔV2=V2−V2o, V1o being a digitized and optionally amplified output of the first sensor (21) measured during calibration, V2o being a digitized and optionally amplified output of the second sensor (31) measured during calibration, η.sub.ij are predefined constants, R, i, j are integers, and R represents the order of the polynomial. Equation [40], or any equivalent formulation, would then be used instead of equation [22].
Preferred Embodiments
(179) In preferred embodiments, the polynomial of the correction factor CF, CFb is one of: i) a second order polynomial in both variables ΔV1, ΔV2, or ii) a polynomial of third order in the variable ΔV1 related to the sensor having the highest temperature sensitivity TS1 of the first and second sensor 21, 31 (referred to herein as the “temperature sensor”) and of first order in the other variable ΔV2 related to the second sensor (referred to herein as the “stress sensor”), or iii) a polynomial of fourth order in the variable ΔV1 related to the sensor having the highest temperature sensitivity TS1 of the first and second sensor 21, 31 and of first order in the other variable ΔV2.
(180) The following formulae were found to provide surprisingly good results:
CFb=1+η.sub.10.Math.(ΔV1)+η.sub.20.Math.(ΔV1).sup.2+η.sub.30.Math.(ΔV1).sup.3+η.sub.01.Math.(ΔV2) [41],
CFb=1+η.sub.10.Math.(ΔV1)+η.sub.20.Math.(ΔV1).sup.2+η.sub.30.Math.(ΔV1).sup.3+η.sub.01.Math.(ΔV2)+η.sub.11.Math.(ΔV1).Math.(ΔV2) [42],
wherein ΔV1 is related to the sensor having the highest temperature sensitivity, and ΔV2 is related to the sensor having the highest stress sensitivity.
(181) Optionally in case ii) or case iii) the calculation means is adapted for evaluating the polynomial expression as a piecewise linear or a piecewise quadratic approximation using equidistant or non-equidistant intervals of the first and/or second variable ΔV1, ΔV2. It is noted that “piecewise linear approximation” or “piecewise quadratic approximation” boils down to not using a single set of coefficients for the entire measurement range (Δσ.sub.iso, ΔT) or (V1, V2), but to choose a set of coefficients from a plurality of at least two sets of coefficients, based on the measured values V1 and V2.
(182) In a first example of piecewise linear approximation or piecewise quadratic approximation, a first set of coefficients may be used if (V1low<=V1measured<=V1mid) and may use a second set of coefficients if (V1mid<V1measured<=V1high), irrespective of V2. In this example, the V1-axis is partitioned in two sub-regions.
(183) In a second example, the V1-axis is partitioned in three sub-regions, and the V2-axis is partitioned in two sub-regions, in which case there would be six sets of coefficients. Depending on the values of V1, V2 measured, the correct set would be chosen.
(184) But of course, the present invention invention is not limited to these two examples, but each of the V1-axis and the V2-axis may be partitioned in two, three, four, or more than four sub-regions, independently.
(185) The main advantage of using piecewise linear or quadratic approach is that for a given order of the polynomial, and for a given number of bits of the coefficients, the accuracy of the result can be increased.
(186)
(187)
(188)
(189) Since the temperature sensor of
(190) Experimental Results:
(191) Experiments with CMOS samples packaged in standard TSSOP-16 molded plastic packages have demonstrated that the parasitic changes of the magnetic sensitivity “S” in the range from +46% to −37% with respect to a temperature range from −40° C. to +120° C. and up to 2.6% with respect to mechanical stress were simultaneously compensated by a two-dimensional polynomial in only two parameters: stress and temperature. In the experiment, the order of the temperature (or V1) was three, and the order of the stress (or V2) was one. The residual error on the magnetic sensitivity S after the compensation using the second method based on V1 and V2, was found to be smaller than ±0.4%. It is very surprising that such high accuracy can be obtained by a relatively simple calculation, moreover using two sensors, both having a non-zero stress and temperature sensitivity.
FINALLY
(192) While the numerical examples described above were given with Silicon substrates, more in particular with silicon wafers cut in the (100) plane, and with a CMOS process in mind, the principles of the present invention may also be applied in other semiconductor devices (such as e.g. devices comprising vertical Hall elements, and even to critical circuits such as bandgap references) and/or other processes used, (such as e.g. Gallium-Arsenide or Indium-Antimonide Hall elements) by changing the numerical values, and optionally also the angular orientations of the resistor strips. The invention is not only useful for stress compensation due to plastic molded packages, but can also be used for compensation stress due for example hydrostatic pressure, overmolding on module level, stress due to soldering, humidity, etc.
(193) Although in the preferred embodiments described above the first and second lateral isotropic sensor 21, 31 consist of resistive elements R1a-R1d and R2a-R2d, that is not absolute required, and sensor elements of another kind, for example lateral isotropic capacitive sensors may also be used.
(194) Also, even though in the preferred embodiments described above each lateral isotropic sensor element is composed of a plurality of resistive elements arranged in a bridge circuit for allowing differential measurement, that is not absolutely required, and other readout-circuits, (e.g. providing an absolute measurement instead of a differential measurement) may also be used.