TEMPERATURE COMPENSATED MTJ-BASED SENSING CIRCUIT FOR MEASURING AN EXTERNAL MAGNETIC FIELD
20230119854 · 2023-04-20
Inventors
Cpc classification
G01R33/098
PHYSICS
G01R33/0035
PHYSICS
International classification
Abstract
Disclosed is a MTJ sensing circuit for measuring an external magnetic field and including a plurality of MTJ sensor elements connected in a bridge configuration, the MTJ sensing circuit having an input for inputting a bias voltage and generating an output voltage proportional to the external magnetic field multiplied by the bias voltage and a gain sensitivity of the MTJ sensing circuit, wherein the gain sensitivity and the output voltage vary with temperature; the MTJ sensing circuit further including a temperature compensation circuit configured to provide a modulated bias voltage that varies as a function of temperature over a temperature range, such that the output voltage is substantially constant as a function of temperature. Also disclosed is a method for compensating the output voltage for temperature.
Claims
1-16. (canceled)
17. MTJ sensing circuit for measuring an external magnetic field and comprising a plurality of MTJ sensor elements connected in a bridge configuration, the MTJ sensing circuit having an input for inputting a bias voltage and generating an output voltage proportional to the external magnetic field multiplied by the bias voltage and a gain sensitivity of the MTJ sensing circuit, wherein the gain sensitivity and the output voltage vary with temperature; the MTJ sensing circuit further comprising a temperature compensation circuit configured to provide a modulated bias voltage that varies as a function of temperature over a temperature range, such that the output voltage is substantially constant as a function of temperature; wherein the temperature compensation circuit is configured for generating a plurality of reference voltages, each reference voltage corresponding to a temperature subrange of the temperature range; wherein the temperature compensation circuit further comprises a plurality of subrange resistors configured to generate a temperature dependent voltage for each subrange resistor, when a temperature dependent proportional-to-absolute-temperature (PTAT) current is forced in the plurality of subrange resistors; the temperature compensation circuit further comprises a plurality of comparators configured to compare temperature dependent voltages to a plurality of fixed voltage references, each comparator generating a hysteresis comparator output; the temperature compensation circuit further comprises an array-based memory cell having a plurality of registers, each register representing a bias voltage corresponding to one of the temperature subranges, the array-based memory cell being configured to select one of the register depending on the hysteresis comparator output.
18. The MTJ sensing circuit according to claim 17, wherein the temperature compensation circuit comprises a temperature sensor circuit configured for measuring said gain sensitivity over said temperature range.
19. The MTJ sensing circuit according to claim 17, wherein each temperature subrange has a temperature span of about 10° C. or larger.
20. The MTJ sensing circuit according to claim 17, wherein said temperature range extends from −40° C. to 125° C.
21. The MTJ sensing circuit according to claim 17, wherein said temperature subranges comprise a temperature subrange below 25° C. and a temperature subrange from 25° C. or above.
22. Method for compensating an output voltage of a MTJ sensing circuit comprising a plurality of MTJ sensor elements connected in a bridge configuration, the MTJ sensing circuit having an input for inputting a bias voltage and generating an output voltage proportional to the external magnetic field multiplied by the bias voltage and a gain sensitivity of the MTJ sensing circuit, wherein the gain sensitivity and the output voltage vary with temperature; the MTJ sensing circuit further comprising a temperature compensation circuit configured to provide a modulated bias voltage that varies as a function of temperature over a temperature range; wherein the temperature compensation circuit further comprises a plurality of subrange resistors configured to pass a PTAT current, a plurality of comparators, and an array-based memory cell having a plurality of registers, each register representing a bias voltage corresponding to one of the temperature subranges; the method comprising: measuring temperature of the MTJ sensing circuit; using the temperature compensation circuit to modulate the bias voltage with temperature such that the modulated bias voltage multiplied by the gain sensitivity is constant; comprising: using the temperature compensation circuit to generate a plurality of reference voltages, each reference voltage corresponding to a temperature subrange of the temperature range; generating a temperature dependent voltage for each subrange resistor, by forcing the PTAT current in the plurality of subrange resistors; using the plurality of comparators to compare temperature dependent voltages to a plurality of fixed voltage references, and generating a hysteresis comparator output for each comparator; and using the array-based memory cell to select one of the register depending on the hysteresis comparator output.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The invention will be better understood with the aid of the description of an embodiment given by way of example and illustrated by the figures, in which:
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
DETAILED DESCRIPTION OF POSSIBLE EMBODIMENTS
[0031] It is possible to have temperature variations that are proportional to temperature with a linear slope, or a higher order curve.
[0032] The gain sensitivity G(t) varies as a function of temperature T as:
G(T)=ƒ(T), (2)
where ƒ(T) is a linear temperature function or a higher order temperature function.
[0033] In an embodiment, a method for measuring a temperature compensated external magnetic field H using the MTJ sensing circuit 100 comprises a step of modulating the bias voltage V.sub.bias with temperature T such that the modulated bias voltage V.sub.bias(T) multiplied by the gain sensitivity G(T) is constant:
V.sub.bias(T)×G(T)=Constant (3).
[0034] The method further comprises a step of providing the modulated bias voltage V.sub.bias(T) in the input 101 of the MTJ sensing circuit 100 and measuring the output voltage V.sub.out, provided at the output 102.
[0035] Providing the modulated bias voltage V.sub.bias(T) allows for the MTJ sensing circuit 100 to output the output voltage V.sub.out that varies with the external magnetic field H but that is substantially constant when the temperature T is varied.
[0036] The method further comprises a step of measuring the temperature T of the MTJ sensing circuit 100 and providing a correction temperature signal 30 (see
[0037] The method further comprises a step of generating a bias voltage V.sub.bias and using the correction temperature signal to modulate the generated bias voltage V.sub.bias and provide the modulated bias voltage V.sub.bias(T). The modulated bias voltage V.sub.bias(T) is provided by using the correction temperature signal in combination with a temperature function ƒ(T) such as a linear slope, or a higher order curve.
[0038]
[0039] The steps of measuring the temperature of the MTJ sensing circuit 100, generating a bias voltage V.sub.bias and providing the modulated bias voltage V.sub.bias(T) can be performed using an analog circuitry to compensate for thermal variations.
[0040]
[0041]
[0042] Generally, the MTJ sensing circuit 100 has a sensitivity G(T) that is subject to a monotonically decreasing function as temperature T increases. More particularly, the sensitivity G(T) varies more strongly with temperatures below 25° C. and varies less with temperatures above 25° C. Thus, the temperature function ƒ(T) of the sensitivity G(T) is not linear with temperature.
[0043] In an embodiment, a constant (non-modulated) bias voltage V.sub.bias is inputted in the MTJ sensing circuit 100. The sensitivity G(T) of the MTJ sensing circuit 100 is then measured over a range of temperatures T at fixed intervals. The sensitivity G(T) corresponds to mV/V/mT, i.e., mV of output V.sub.out for V of bias voltage V.sub.bias for mT of applied magnetic field. The measured sensitivity G(T) is then tabulated and normalized to 25° C. such as to obtain normalized coefficients for each interval. The normalized coefficients are then inverted and used to scale the bias voltage V.sub.bias. The result yields a flat sensitivity G(T) over temperature T.
[0044] In another embodiment, the output voltage V.sub.out is multiplied with a linear temperature function ƒ(T) such that the output voltage V.sub.out is increased with increasing temperature, yielding a flat sensitivity G(T) over temperature, in other words, compensating the loss in the sensitivity G(T). The linear temperature function ƒ(T) can be based on a first order curve fit.
[0045] In yet another embodiment, the bias voltage V.sub.bias is varied with a positive temperature slope that is complementary to the loss in the sensitivity G(T) with temperature. In this configuration, the MTJ sensing circuit 100 is used as a multiplier that scales the output voltage V.sub.out according to the bias voltage V.sub.bias.
[0046] This configuration can be implemented by biasing MTJ sensing circuit 100 with an adjustable temperature independent voltage mixed with a temperature dependent voltage that is proportional to absolute temperature (PTAT).
[0047] More particularly, the temperature sensor circuit 301 (reference generator) is combined with the bias voltage control circuit 302 (MTJ sensing circuit regulator) into one stage of circuitry (see
[0048] In yet another embodiment, the linear temperature function ƒ(T) comprises two different slopes, namely a first slope for temperatures T below 25° C. and a second slope for temperatures T equal or above 25° C. The two-slope linear temperature function ƒ(T) allows for better, more effective, temperature compensation.
[0049] This embodiment can be implemented similarly as for the third variant, but for two different slopes of the temperature function ƒ(T).
[0050] A dual slope approximation to the ideal correction curve can be implemented. Adding filtering to the output of the bias voltage control circuit 302 (regulator output) can help reduce glitching during the transition. The comparator 311 has hysteresis to avoid chattering near the transition. The circuitry of
[0051] In yet another embodiment, the loss in the sensitivity G(T) with temperature is characterized for several temperature subranges. For each temperature subrange, a reference voltage V.sub.ref is defined and inputted in the bias amplifier of the MTJ sensing circuit 100, wherein the reference voltage V.sub.ref changes for each temperature subrange according to a digital look up table (LUT). For example, for the temperature range of −40° C. to 125° C., a reference voltage V.sub.ref and a bias voltage V.sub.bias is defined for each temperature subrange of 10° C. The temperature subrange does not need to be 10° C. but can have any suitable value, such as 20° C., 30° C., etc., depending on the degree of accuracy one wishes to have for the temperature compensation of the MTJ sensing circuit 100.
[0052] To improve the compensation scheme by accounting for the non-linearity of the sensitivity versus the temperature curve, a piecewise linear approximation of the ideal inverse of the temperature sensitivity profile can be implemented. In the illustrated example in
[0053] The plurality of hysteresis comparator outputs T.sub.aboveM3_Ti are connected to an array-based memory cell 315 that selects between 16 memory locations priority encoded based on the highest logic HI input (Select0, Select1, Select14, Select15). The array-based memory cell 315 has 16 registers, each register digitally representing the desired analog bias voltage V.sub.bias of the MTJ sensing circuit 100.
[0054]
[0055] In an alternative configuration, a pair of comparators 312 window a 10° C. span of temperature. The pair of comparators 312 can be arranged such that the window span is moved to different temperature positions based on a measured temperature. In such configuration, only two comparators 312 are required, for any number of temperature subranges that are required.
[0056]
[0057]
[0058] It is understood that the present invention is not limited to the exemplary embodiments described above and other examples of implementations are also possible within the scope of the patent claims.
[0059] For example, the method of the invention can be used to perform similar temperature correction for other type sensors that have a predictable temperature coefficient.
REFERENCE NUMBERS AND SYMBOLS
[0060] 10 MTJ sensing element [0061] 100 MTJ sensing circuit [0062] 101 input [0063] 102 output [0064] 2 magnetic tunnel junction [0065] 21 sense ferromagnetic layer [0066] 210 sense magnetization [0067] 22 tunnel barrier layer [0068] 23 pinned ferromagnetic layer [0069] 230 pinned magnetization [0070] 250 sensing axis [0071] 30 correction temperature signal [0072] 300 correction circuit [0073] 301 temperature sensor [0074] 302 bias voltage control circuit [0075] 303 analog front-end amplifier [0076] 311 comparator [0077] 312 comparators [0078] 315 array-based memory cell [0079] H external magnetic field [0080] LP linear portion [0081] T temperature [0082] V.sub.bias bias voltage [0083] V.sub.bias(T) modulated bias voltage [0084] V.sub.out output voltage [0085] V.sub.Ref voltage reference