This invention relates generally to magnetic sensors employing magnetic tunnel junctions. More particularly, this invention is directed toward magnetic sensor output compensation based upon temperature of the magnetic sensor.
Relative to a Hall effect element and GMR sensing element, an MTJ sensor element has better temperature stability, higher sensitivity, lower power consumption, better linearity, and needs no additional flux concentrator structure. Relative to an AMR element, an MTJ sensor element has wider linear range, and needs no set/reset coil.
A resistance bridge is often employed in a circuit application to change the response signal of the MTJ sensing element 10, so that its output voltage is easy to amplify. This can also reduce common-mode signals, provide noise cancellation, reduce temperature drift, and minimize other transducer deficiencies. The MTJ sensing element 10 can be connected in parallel and/or in series to form a Wheatstone bridge or any other type of circuit bridge.
The MTJ sensing circuit 100 can also be arranged as a full (Wheatstone) —bridge circuit configuration comprising two MTJ sensing element 10 connected in series in parallel to two other MTJ sensing element 10 connected in series, such as shown in
The MTJ sensing circuit 100 has three external contact pads, namely an input 101 where a bias voltage Vbias is inputted, an output 102 where an output voltage Vout and a ground. For a given value of external magnetic field H, along the positive sensing axis 250, the resistance increases for one (or two) MTJ sensing element 10 and decreases for the (two) other. When the external magnetic field H is applied in the opposite direction (along the negative sensing axis 250) the resistance decreases for one (or two) while increasing for the (two) other.
The output voltage Vout of the MTJ sensing circuit 100 can be measured using many typical methods. For example, a voltmeter is connected between Vout and ground, and the Vout and ground potential difference is the output voltage.
The sensitivity of magnetic sensors is expressed as a ratio of mV/mTNbias. This defines the change in output voltage Vout of the MTJ sensing circuit 100 for a change in the external magnetic field H. The sensitivity of the MTJ sensing element 10, and of the MTJ sensing circuit 100, is ratiometric and is directly proportional to the bias voltage Vbias. The output voltage Vout of the MTJ sensing circuit 100 can be expressed as:
V
out(mV)=G*H(mT)*Vbias, (1)
where G is the gain (in mV/mT/Vbias).
Operating the MTJ sensing circuit 100 across a wide temperature range leads to thermally induced variations of sensitivity, thereby impeding the accuracy of the MTJ sensing circuit. The operating temperature of the MTJ sensing circuit 100 can vary significantly, in some cases from −40° C. to +155° C. Changes in temperature also change the sensitivity of the MTJ sensing circuit 100. Variations of sensitivity can be proportional to temperature with a linear slope, or of a higher order curve. Temperature coefficient of sensitivity can be as high as 500 ppm/C.
Operating the sensor across a wide temperature range leads to thermally induced variations of sensitivity, thereby impeding the accuracy of sensors. In some cases, the output drift can vary by 5%. Thus, there is a need for thermal compensation of the output of magnetic sensors.
The present disclosure concerns a 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.
The present disclosure further concerns a method for compensating the output voltage for temperature variations.
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:
It is possible to have temperature variations that are proportional to temperature with a linear slope, or a higher order curve.
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.
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 Vbias with temperature T such that the modulated bias voltage Vbias(T) multiplied by the gain sensitivity G(T) is constant:
V
bias(T)×G(T)=Constant (3).
The method further comprises a step of providing the modulated bias voltage Vbias(T) in the input 101 of the MTJ sensing circuit 100 and measuring the output voltage Vout, provided at the output 102.
Providing the modulated bias voltage Vbias(T) allows for the MTJ sensing circuit 100 to output the output voltage Vout that varies with the external magnetic field H but that is substantially constant when the temperature T is varied.
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
The method further comprises a step of generating a bias voltage Vbias and using the correction temperature signal to modulate the generated bias voltage Vbias and provide the modulated bias voltage Vbias(T). The modulated bias voltage Vbias(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.
The steps of measuring the temperature of the MTJ sensing circuit 100, generating a bias voltage Vbias and providing the modulated bias voltage Vbias(T) can be performed using an analog circuitry to compensate for thermal variations.
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.
In an embodiment, a constant (non-modulated) bias voltage Vbias 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 Vout for V of bias voltage Vbias 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 Vbias. The result yields a flat sensitivity G(T) over temperature T.
In another embodiment, the output voltage Vout is multiplied with a linear temperature function ƒ(T) such that the output voltage Vout 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.
In yet another embodiment, the bias voltage Vbias 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 Vout according to the bias voltage Vbias.
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).
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
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.
This embodiment can be implemented similarly as for the third variant, but for two different slopes of the temperature function ƒ(T).
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
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 Vref is defined and inputted in the bias amplifier of the MTJ sensing circuit 100, wherein the reference voltage Vref 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 Vref and a bias voltage Vbias 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.
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
The plurality of hysteresis comparator outputs TaboveM3_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 Vbias of the MTJ sensing circuit 100.
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.
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.
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.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/IB2021/051475 | 2/22/2021 | WO |
Number | Date | Country | |
---|---|---|---|
62983809 | Mar 2020 | US |