Analog magnetic sensor device for measuring the orientation of an external magnetic field
The two-dimensional analog angular magnetic sensor device with a full-bridge TMR configuration and analog circuit addresses temperature dependence and complexity issues, enabling accurate and fast magnetic field orientation measurements with improved efficiency.
Patent Information
- Application Number
- PCT/US2024/059291
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-18
- Filing Date
- 2024-12-10
- Publication Date
- 2025-07-24
AI Technical Summary
Existing magnetic sensors using tunnel magnetoresistance (TMR) elements struggle with temperature dependence and require complex algorithms for accurate determination of external magnetic field orientation, leading to increased power consumption and die size.
A two-dimensional analog angular magnetic sensor device with a full-bridge configuration of TMR elements, coupled with an analog circuit, generates tangent or cotangent output voltages to determine magnetic field orientation, minimizing temperature dependence and reducing complexity.
The device provides accurate and fast magnetic field orientation measurements over a wide angle range with reduced temperature sensitivity and smaller footprint, enhancing signal-to-noise ratio and response speed.
Smart Images

Figure US2024059291_24072025_PF_FP_ABST
Abstract
Description
ANALOG MAGNETIC SENSOR DEVICE FOR MEASURING THE ORIENTATION OF AN EXTERNAL MAGNETIC FIELD FIELD
[0001] The present disclosure concerns a magnetic sensor configured to measure thevariation of an external magnetic field orientation. The present disclosure further concerns a magnetic sensor configured to generate an output voltage that is linear with respect to the orientation of the external magnetic field and having a minimal dependence on temperature. BACKGROUND
[0002] Magnetic sensors have many consumer, industrial and automotiveapplications. Current sensing, positioning, proximity detection, biometric sensing are some examples. Sensor technologies using a magnetic tunnel junctions (MTJ) based on tunnel magnetoresistance (TMR) effect excel among rival technologies based on anisotropic magnetoresistance (AMR) effect, giant magnetoresistance (GMR) effect and Hall effect, thanks to their higher sensitivity and signal-to-noise ratio (SNR), lower temperature dependence, better long-term stability and generally smaller die size.
[0003] A magnetic sensor can either show unidirectional sensitivity (so called 1Dmagnetic sensor) or bidirectional sensitivity (so called 2D magnetic sensor or angular magnetic sensor) relative to an external magnetic field. Ideally a 1D magnetic sensor should output a linear magnetic response, whether an angular magnetic sensor should output a sinusoidal response with respect to the orientation of the external magnetic field.
[0004] A TMR-based magnetic sensor typically comprises a plurality of magnetictunnel junction (MTJs) elements. Each MTJ element 20 typically comprises (see Fig.1) a tunnel barrier layer 22 sandwiched between a ferromagnetic reference layer 21 and a ferromagnetic sense layer 23. The reference layer 21 has a fixed reference magnetization 210. The sense layer 23 has a sense magnetization 230 that can be oriented along the direction of the external magnetic field 60. Due to the TMR effect, the resistance of an MTJ element 20 depends on the relative orientation j between sense layer magnetization 230 and reference layer magnetization 210:^(^) =^ ^ ^(^) =^^^(∆^⁄ ^ )∙^^^^, Eq.1a effect, G0the MTJelement. However, because the relative orientation j between sense layer magnetization 230 and reference layer magnetization 210 can be written in terms of the orientation q of the external magnetic field 60, and the orientation a of the reference layer with respect to the x-axis coordinate: ^= ^ − ^ . Eq. 1bEquation 1a can then be re-written as: ^=^
[0005] In most cases, however, the orientation of the reference layer is along a pre-defined x-axis coordinate, which implies that a = 0 and q = j and therefore: ^(^) =^ ^^^ ^ ∙^^^. Eq.1d
[0006] Note that equations 1a, 1c or 1d imply that, generally, the resistance of suchTMR elements does not follow a cosine response. Only for TMR elements with small TMR ratio the resistance of such TMR elements will show a cosine response. Therefore, for the sake of clarity the response of such TMR elements (and characterized by equations 1a, 1c or 1d) will be described as a “pseudo-cosine” response.
[0007] Thus, a variation in the orientation of the external magnetic field 60 can bedetermined by passing a current through the MTJ element 20 and measuring a voltage.
[0008] A magnetic sensing element 2 can comprise a plurality of MTJ elements 20arranged in a Wheatstone bridge circuit (see Fig.2A) (also commonly called full bridge circuit). Each branch of the Wheatstone bridge 2 comprises one or a plurality of MTJ elements 20 connected in series and / or parallel. The output voltage generated from this Wheatstone bridge can be described as: ^^^^ = ^^^(^) ^^(^)^^(^)^^^(^)−^^(^)^^^(^)^ ∙ ^^^ Eq. 1ebridge 2 and
[0009] Typically, the reference magnetization 210 can have a first orientation for twodiagonal branches (for example branches R1and R4) and a second orientation opposed to the first orientation for the two other diagonal branches (for example branches R2 and R3). For this configuration, the magnetic sensing element 2 generates an output voltage VOUT that is proportional to a sinusoidal signal with respect to the orientation of the external magnetic field 60:^ ^∆^^ ∙ ^^^^ ∙ ^ ^^^^^ ∙ ^^^^ ∙
[0010] There is an advantage in using a full bridge TMR based sensor circuit (asdescribed in Fig.2A) as a magnetic sensor device 2 to measure the orientation of the magnetic field instead of using a single TMR element. Unlike a TMR single element, a full bridge TMR based sensor circuit generates an output voltage VOUTthat is fully proportional to a cosine signal (equations 1g).
[0011] An angular magnetic sensor can therefore comprise two full bridge magneticsensing elements 2 in order to ensure an unambiguous determination of the orientation of the external magnetic field 60. The angular magnetic sensor can then generate sine output voltage VSINfollowing a sine signal and a cosine output voltage VCOSfollowing a cosine signal (see Fig.2B). The cosine output voltage VCOS and the sine output voltage VSIN can be described by equations 2a and 2b, respectively:^^^^ = ^ ∙ ^^^^ ∙ ^^^ , and Eq. 2awhere A is the amplitude of the output voltage signal VSIN, VCOSand Vddis the bias voltage applied to the magnetic sensing element 2. The orientation ^ of the external magnetic field 60 is then determined by the arc tangent of the ratio between the sine output voltage VSINand the cosine output voltage VCOS:^ = ^^^^^^(^^^^⁄ ^^^^ ). Eq. 3a
[0012] The determination of the orientation of the external magnetic field 60 requiresthe use of analog-digital-converters (ADC), microcontrollers (MCU) and / or the implementation of different iterative algorithm schemes (such as CORDIC schemes, for instance), impacting on the response speed and / or power consumption of the angular magnetic sensor. In order to increase the response speed, extensive CMOS design with very fast internal clocks can be used. However, this leads to a large die size.
[0013] Known angular magnetic sensors allow for fast determination of theorientation of the external magnetic field only for small angle ranges (^ ≤± 10°). For small angles, the sine output voltage VSIN is mostly proportional to the orientation ^: ^^^^^ ^ ^^^
[0014] The amplitude A is dependent on temperature (typically up to 3000 ppm / °C).The temperature dependence prevents an accurate determination of the external magnetic field orientation ^. The temperature dependence can be compensated by using a temperature correction scheme, however most known correction schemes do not allow for fully removing the temperature dependence. SUMMARY
[0015] The present disclosure concerns a two-dimensional analog angular magneticsensor device for measuring an orientation of an external magnetic field, comprising: at least a magnetic sensor, comprising a plurality of TMR elements arranged in a full-bridge configuration and configured to provide a sine output voltage: ^^^^ = ^ ∙ ^^^^ ∙ ^^^, orconfigured to provide a cosine output voltage (VCOS): ^^^^ = ^ ∙ ^^^^ ∙ ^^^ ,wherein A is parameter depending on the TMR ratio of the TMR element and Vdd is a bias voltage inputted to the magnetic sensor. The magnetic sensor device further comprises an analog circuit configured to generates a circuit output voltage and electrically connected to the magnetic sensor such as that the magnetic sensor device generates a device output voltage that follows one of: a tangent output voltage (VTAN): ^^^^ = ^ ∙ ^^^^ = ^ ∙ ^^^^, where K is a constant; ora cotangent output voltage (VCOTAN):
[0016] In one aspect, a two-dimensional analog angular magnetic sensor device for measuring an orientation of an external magnetic field comprises: at least a magnetic sensor, comprising a plurality of tunnel magnetoresistance (TMR) elements arranged in afull-bridge configuration and configured to provide a sine output voltage VSIN: ^^^^ = ^ ∙^^^^ ∙ ^^^ , or configured to provide a cosine output voltage VCOS: ^^^^ = ^ ∙ ^^^^ ∙ ^^^ ,wherein A is parameter depending on the TMR ratio of the TMR element and Vddis a bias voltage inputted to the magnetic sensor; wherein the magnetic sensor device further comprises an analog circuit configured to generates a circuit output voltage and electrically connected to the magnetic sensor such as that the magnetic sensor device generates a device output voltage Vout that follows one of: a tangent output voltage VTAN:^^^^ = ^ ∙ ^^^ ∙ ^^^^ = ^ ∙ ^^^ ∙ ^^^^, where K is a constant; or a cotangent outputvoltage VCOTAN: ^^^^ = ^ ∙ ^^^ ∙ ^^^^^^ = ^ ∙ ^^^ ∙ ^^^^^^.
[0017] A device can further include one ore more of the following features : at least a magnetic sensor comprises a sine magnetic sensor configured to provide a sine output voltage and a cosine magnetic sensor configured to provide a sine output voltage, the analog circuit comprises an inverting op-amp, a first resistance and a second resistance, the analog circuit being inputted by the sine output voltage and the cosine output voltage through the first and second resistances, the sine and cosine output voltages being inputted to the inverting terminal of the inverting op-amp via the first and second resistances; wherein the bias voltage is inputted to the sine magnetic sensor and the circuit output voltage is inputted in the cosine magnetic sensor, such that the device output voltage follows a tangent output voltage; or, wherein the bias voltage is inputted to the cosine magnetic sensor and the circuit output voltage is inputted in the sine magnetic sensor, such that the device output voltage follows a cotangent output voltage, the analog circuit comprises an inverting op-amp, a first resistance and a second resistance, the analog circuit being inputted by the sine output voltage and the cosine output voltage through the first and second resistances, the sine and cosine output voltages being inputted to the inverting terminal of the inverting op-amp via the first and second resistances; wherein the bias voltage is inputted to the sine magnetic sensor and the sine output voltage of the sine magnetic sensor is inputted to the non-inverting terminal of the op-amp via the first resistance, the circuit output voltage is inputted in the cosine magnetic sensor and the cosine output voltage of the cosine magnetic sensor is inputted to the inverting terminal of the op-amp via the second resistance, such that the device output voltage follows a tangent output voltage; or, wherein the bias voltage is inputted to the cosine magnetic sensor and the cosine output voltage of the cosine magnetic sensor is inputted to the non-inverting terminal of the op-amp via the second resistance, the circuit output voltage is inputted in the sine magnetic sensor and the sine output voltage of the sine magnetic sensor is inputted to the inverting terminal of the op-amp via the first resistance, such that the device output voltage follows a cotangent output voltage, the cosine magnetic sensor is connected in cascade with the sine magnetic sensor via the analog circuit comprising an analog signaldivider generating a divider output voltage Vout-div:^^^^^^^^ = ^ ∙ ^^⁄ ^^ , wherein k is aconstant, V1 is an input voltage of a first divider input terminal of the analog signal divider, and V2 is the input voltage on the second input terminal of the analog signaldivider; the cosine output voltage of the cosine magnetic sensor is electrically connected to the first divider input terminal, and the divider output voltage biases the sine magneticsensor; such that the device output voltage is described by: ^^^^ = ^ ∙^^^^^ ∙ ^^^^, wherethe bias voltage Vdd biases the cosine magnetic sensor, an additional cosine magnetic sensor configured to provide a cosine output voltage; wherein the analog circuit includes a fully differential op-amp having a first and second input voltage and having a first and second circuit output voltage, the analog circuit further including a first, second, third and fourth resistance; wherein the full bridge circuit arrangement of the sine magnetic sensor comprises a first half branch inputted to the first input voltage via the first resistance, and a second half branch inputted to the second input terminal via the second resistance; wherein the first circuit output voltage biases the cosine magnetic sensor, and the second circuit output voltage biases the additional cosine magnetic sensor; wherein the output of the cosine magnetic sensor is electrically connected to the first input voltage via the third resistance, and wherein the output of the additional cosine magnetic sensor is electrically connected to the second input terminal via the fourth resistance; and wherein the difference between the first and second circuit output voltages corresponds to the device output voltage of the magnetic sensor and wherein the device output voltage isproportional to the tangent of the orientation of the external magnetic field: ^^^^ = ^ ∙^^^ ∙ ^^^^; wherein the bias voltage biases the sine full-bridge magnetic sensor, the atleast a magnetic sensor comprises a single sine magnetic sensor configured to provide a sine output voltage; and wherein the analog circuit comprises at least a sub-circuit, each of said at least a sub-circuit including an op-amp and a first, second, third and fourth resistance; wherein the first resistance connected to a non-inverting terminal of the op- amp, the second resistance is connected between a non-inverting terminal and an output of the op-amp, forming a positive feedback loop of the op-amp, the fourth resistance is connected between the inverting terminal and the output of the-amp, forming a negative feedback loop of the op-amp, the inverting terminal of the output of the-amp being further connected to ground via the third resistance; wherein each of the first and second resistances or each of the third and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; and wherein said pseudo-cosine response R(^) is described by: ^(^) =1 1 ^ = (^)^^ + (∆^⁄ 2 ) ∙ ^^^^, where G G0is the average conductivityof the MTJ element, and ^ is the orientation of the external magnetic field, the at least a sub-circuit comprises a first sub-circuit; and wherein said op-amp comprises a non-inverting op-amp, each of thethird and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; wherein the sine output voltage is electrically connected to the non-inverting terminal of the op-amp via the first resistance; wherein the sine magnetic sensor is biased by a bias voltage; and wherein the circuit output voltage of the analog circuit corresponds to the device output voltage, wherein each of the third and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; the circuit output voltage of the analog circuit is inputted in the the bias input of the sine magnetic sensor; wherein the analog circuit is biased by the bias voltage; and wherein the output voltage of the sine full-bridge magnetic sensor corresponds to the device output voltage, wherein each of the first and second resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; wherein the sine output voltage of the sine magnetic sensor, biased by the bias voltage, is electrically connected to the analog circuit by being connected to the non-inverting terminal of the op- amp via the first resistance; and wherein the analog circuit further comprises an additional differential amplifier electrically connected to the circuit output voltage of the analog circuit and to the output of the sine magnetic sensor; and wherein the output voltage of the additional differential amplifier corresponds to the device output voltage of the magnetic sensor device, wherein each of the first and second resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; wherein the analog circuit is biased by the bias voltage and further comprises an additional differential amplifier electrically connected to the circuit output voltage of the analog circuit and to the bias input of the sine magnetic sensor; and wherein the output voltage of the sine magnetic sensor corresponds to the device output voltage of the magnetic sensor device, wherein said at least a sub-circuit comprises a first sub-circuit and a second sub-circuit; wherein the first sub-circuit comprises an inverting op-amp and the second sub-circuit comprises op-amp a non-inverting op-amp; wherein the analog circuit further comprises an additional differential amplifier; and wherein a first input voltage of the differential amplifier is electrically connected to a first circuit output voltage of the first sub-circuit and a second input terminal of the differential amplifier is electrically connected to a second circuit output voltage of the second sub-circuit, wherein each of the third and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; and wherein the pseudo-cosine response of the each of the third and fourth resistances of the sub-circuit is opposite to the pseudo-cosine response of the third and fourth resistances of the second sub-circuit, wherein each of the first and second resistances comprises a TMR element having a resistance that follows a pseudo-cosineresponse with respect to the orientation of the external magnetic field; and wherein the pseudo-cosine response of the third and fourth resistances of the first sub-circuit is opposite to the pseudo-cosine response of the first and second resistances of the second sub-circuit, wherein the four resistances of each sub-circuit comprise a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field, wherein the sine magnetic sensor is biased by a bias voltage and its sine output voltage is electrically connected to the first and second sub-circuits; and wherein the additional differential amplifier is connected to the first and second output voltages of the first and second sub-circuits, such that the output voltage of the additional differential amplifier corresponds to the device output voltage of the magnetic sensor device, wherein the first and second sub-circuits are biased by a bias voltage; wherein the first and second circuit output voltages of the first and second sub-circuits are electrically connected to the additional differential amplifier and to the bias input of the sine magnetic sensor; and wherein the output voltage of the sine magnetic sensor corresponds to the device output voltage of the magnetic sensor device, wherein said at least a sub-circuit comprises a first sub-circuit wherein said op-amp comprises an inverting op-amp; wherein the analog circuit further comprises an additional sub-circuit; the additional sub-circuit including a non-inverting op-amp, a fifth resistance and a sixth resistance, the fifth resistance being connected to a non-inverting terminal of the op-amp, the sixth resistance being connected between the terminal and an output of the op-amp, forming a positive feedback loop of the op-amp; wherein each of the resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field, wherein the sine magnetic sensor is biased by a bias voltage and its sine output voltage is electrically connected to the analog circuit; and wherein an additional differential amplifier is connected to the output of the first and additional sub- circuits, such that the output voltage of the additional differential amplifier corresponds to the device output voltage of the magnetic sensor device, wherein the analog circuit is biased by a bias voltage; wherein the circuit output voltage of the analog circuits is electrically connected to the sine magnetic sensor; and / or wherein the output voltage of the sine magnetic sensor corresponds to the device output voltage of the magnetic sensor device.
[0018] In another aspect, a linear sensor device comprising a magnetic sensor device comprises: at least a magnetic sensor, comprising a plurality of TMR elements arranged in a full-bridge configuration and configured to provide a sine output voltageVSIN: ^^^^ = ^ ∙ ^^^^ ∙ ^^^ , or configured to provide a cosine output voltage VCOS: ^^^^ =^ ∙ ^^^^ ∙ ^^^ , wherein A is parameter depending on the TMR ratio of the TMR elementand Vddis a bias voltage inputted to the magnetic sensor; wherein the magnetic sensordevice further comprises an analog circuit configured to generates a circuit output voltage and electrically connected to the magnetic sensor such as that the magnetic sensor device generates a device output voltage Vout that follows one of: a tangent output voltage VTAN:^^^^ = ^ ∙ ^^^ ∙ ^^^^ = ^ ∙ ^^^ ∙ ^^^^, where K is a constant; or a cotangent outputvoltage VCOTAN: ^^^^ = ^ ∙ ^^^ ∙ ^^^^^^ = ^ ∙ ^^^ ∙ ^^^^^^; wherein the linear sensordevice further comprises a linearization integrated circuit (IC) electrically connected to the device output voltage of the magnetic sensor device and outputting a corrected output voltage having a linear dependence with the orientation of the external magnetic field.
[0019] A device can further include one or more of the following features: wherein the linearization IC is configured to perform a hyperbolic tangent linearization correction,described as: ^^^^^ = ^ · ^^^ℎ(^ ∙ ^^^^), where A, and b are correction parameters that areindependent of the external magnetic field, Vcorris the corrected output voltage, and Voutcorresponds to the output voltage of the magnetic sensor device, wherein the linearization IC comprises at least one analog computational unit (ACU), said at least one ACU having an input voltage corresponding to the output voltage of the magnetic sensor device and being configured to provide an output voltage corresponding to the power of n; wherein the output of each ACU is connected to a gain amplifier; wherein the linear sensor device further comprise an adder configured to of sum the output voltage of the magnetic sensor device and the output signals of the gain amplifier; and wherein the output signal of the adder corresponds to the corrected output voltage of the linear magnetic sensor device, the analog circuit comprises a first and second circuit output voltage; and wherein the linearization IC is electrically connected to the first and second output voltages of the magnetic sensor device, wherein the linearization IC comprises a first amplifier amplifying the second circuit output voltage, a second amplifier amplifying the first circuit output voltage, an adder configured to add the output voltage of the first amplifier and the output voltage of the second amplifier; wherein the output terminal of the analog linearization IC corresponds to the output terminal of the linear angular magnetic sensordevice outputting a corrected output voltage Vcorr: ^^^^^ = ^ ∙ ^^^^ + ^ ∙ ^^^^ , a PTATcircuit configured to generate a PTAT voltage, and a multiplier inputted by the PTAT voltage and by the first circuit output voltage; and wherein the linearization IC is inputted by the multiplier output voltage of the multiplier and the second circuit output voltage, and / or an additional sine magnetic sensor generating a sine output voltage; wherein the PTAT circuit bias the additional sine magnetic sensor.
[0020] In another aspect, a two-dimensional analog angular magnetic sensor device for measuring an orientation of an external magnetic field, comprises : at least a magnetic sensor, comprising a plurality of tunnel magnetoresistance (TMR) elements arranged in afull-bridge configuration and configured to provide a sine output voltage VSINfrom a sine signal, a TMR ratio of the TMR elements, and a bias voltage, and a cosine output voltage VCOS from a cosine signal, the TMR ratio and the bias voltage, wherein the magnetic sensor device further comprises an analog circuit configured to generates a circuit output voltage and electrically connected to the magnetic sensor such as that the magnetic sensor device generates a device output voltage Vout that comprises a tangent output voltage VTAN or a cotangent output voltage VCOTAN.
[0021] With respect to what is known in the art, the present disclosure further concernsa magnetic sensor device comprising an analog circuit configured to provide a temperature stable quasi-linear output voltage for an angle range ≤ 180°. Furthermore, the magnetic sensor device has a small footprint and is potentially fast. BRIEF DESCRIPTION
[0022] Exemplar embodiments of the invention are disclosed in the description andillustrated by the drawings in which:
[0023] Fig. 1 illustrates schematically a magnetic tunnel junction (MTJ);
[0024] Fig. 2A illustrates a plurality of MTJ elements arranged in a Wheatstone bridgecircuit;
[0025] Fig. 2B show a sine output voltage and a cosine output voltage;
[0026] Fig. 3A shows an analog angular magnetic sensor device, according to anembodiment;
[0027] Fig. 3B illustrates a variant of the analog angular magnetic sensor device of Fig.3A;
[0028] Fig. 4 shows the magnetic sensor device, according to another embodiment;
[0029] Fig. 5 shows the magnetic sensor device comprising an analog signal divider,according to an embodiment;
[0030] Figs. 6A and 6B show possible circuit architectures for the analog signal divider33, based on LOG and ANTILOG op-amps;
[0031] Fig. 7A shows the magnetic sensor device, according to yet anotherembodiment;
[0032] Fig. 7B shows a variant of the magnetic sensor device of Fig. 7A;
[0033] Fig. 8A shows the magnetic sensor device, according to yet anotherembodiment;
[0034] Fig. 8B shows a variant of the magnetic sensor device of Fig. 8A;
[0035] Fig. 9A shows the magnetic sensor device, according to yet anotherembodiment;
[0036] Fig. 9B shows a variant of the magnetic sensor device of Fig. 9A;
[0037] Fig. 10A shows the magnetic sensor device, according to yet anotherembodiment;
[0038] Fig. 10B shows a variant of the magnetic sensor device of Fig. 10A;
[0039] Fig. 11A shows the magnetic sensor device, according to yet anotherembodiment;
[0040] Fig. 11B shows a variant of the magnetic sensor device of Fig. 11A;
[0041] Fig. 12A shows the magnetic sensor device, according to yet anotherembodiment;
[0042] Fig. 12B shows a variant of the magnetic sensor device of Fig. 12A;
[0043] Fig. 13A represents a linear angular magnetic sensor device comprising themagnetic sensor device and a linearization integrated circuit (IC), according to an embodiment;
[0044] Fig. 13B shows the linear angular magnetic sensor device further comprising ananalog-digital converter, according to an embodiment;
[0045] Fig. 14 shows an example of the linearization IC;
[0046] Fig. 15 shows the linearization IC, according to an embodiment;
[0047] Figs. 16A and 16B show the linearization IC, according to other embodiments;
[0048] Fig. 17A illustrates a linear angular magnetic sensor device comprising themagnetic sensor device having a first and second output voltages, and comprising a linearization IC, according to an embodiment;
[0049] Fig. 17B illustrates a variant of the circuit of Fig. 17A;
[0050] Fig. 18 shows the linearization IC of the Figs. 17A or 17B, according to anembodiment;
[0051] Fig. 19A illustrates the linear angular magnetic sensor device of Fig. 17A,comprising a PTAT circuit, according to an embodiment; and
[0052] Fig. 19B illustrates a variant of the linear angular magnetic sensor device of Fig.19A, according to an embodiment. DETAILED DESCRIPTION
[0053] With reference to Fig. 3A, an analog angular magnetic sensor device (thereaftercalled "magnetic sensor device") 10 destined to measure an orientation of an external magnetic field 60, comprises a sine magnetic sensor 11 and a cosine magnetic sensor 12. In one aspect, the sine and cosine magnetic sensors 11, 12 are full bridge magnetic sensors. In other words, each of the sine and cosine magnetic sensors 11, 12 comprises a plurality of MTJ elements 20 arranged in a full bridge circuit, such as a Wheatstone bridge circuit. For example, the plurality of MTJ elements 20 can be arranged in a full bridge circuit as shown in Fig.2A. Each MTJ element 20 can comprise tunnel barrier layer 22 sandwiched between a ferromagnetic reference layer 21 and a ferromagnetic sense layer 23 (see Fig.1). The reference layer 21 has a fixed reference magnetization 210. The sense layer 23 has a sense magnetization 230 that can be oriented in an external magnetic field 60.
[0054] In one aspect, a bias voltage Vdd is applied between the bias input (see forexample the nodes A and B, see Fig.2A) and a differential output voltage is generated between the differential output (see for example the nodes C and D, see Fig.2A), of the sine and cosine full-bridge magnetic sensors 11, 12. In one aspect, the reference magnetization 210 can have a first orientation for two diagonal branches and a second orientation opposed to the first orientation for the two other diagonal branches. In the case, the reference magnetization 210 in the sine magnetic sensor 11 is oriented orthogonally with respect to the cosine magnetic sensor 12.
[0055] In an embodiment, the sine magnetic sensor 11 is configured to generate adifferential output voltage that is a sine output voltage VSINwhen biased by a constant voltage Vdd(as described by Eq.2b) following a sine function with respect to the external magnetic field orientation. The cosine magnetic sensor 12 is configured to generate adifferential output voltage that is a cosine output voltage VCOSwhen biased by a constant voltage Vdd(as described by Eq.2a) following a cosine function with respect to the external magnetic field orientation.
[0056] In an embodiment, the magnetic sensor device 10 comprises an analog circuit100 configured to generates a circuit output voltage Vout_acand electrically connected to the sine and cosine magnetic sensors 11, 12. The analog circuit 100 can include an inverting operational amplifier (op-amp) 13. In the configuration shown in Fig. 3A, the analog circuit 100 further includes a first resistance R1and a second resistance R2. The input bias of the sine magnetic sensor 11 is connected to a bias voltage Vdd and the sine output voltage VSIN of the sine magnetic sensor 11 is electrically connected to an inverting terminal of the inverting op-amp 13 via the first resistance R1. The cosine output voltage VCOS of the cosine magnetic sensor 12 is electrically connected to the inverting terminal of the inverting op-amp 13 through the second resistance R2.
[0057] In configuration of Fig. 3A, the device output voltage Vout of the magneticsensor device 10 is used as the applied bias voltage to the cosine magnetic sensor 12. The input bias of the cosine magnetic sensor 12 is electrically connected to the output terminal of the inverting op-amp 13, forming a feedback loop of the inverting op-amp 13. The non- inverting terminal of the inverting op-amp 13 is connected to ground. In this configuration, the device output voltage Vout of the magnetic sensor device 10 follows a tangent output voltage VTAN. In other words, the output voltage of the op-amp output terminal corresponds to the device output voltage Vout that can be expressed by equation 5a:^^^^ = ^ ∙ ^^^ ∙ ^^^^ = ^ ∙ ^^^ ∙ ^^^^, Eq. 5awhere K is a constant.
[0058] In a variant of the magnetic sensor device configuration of Fig. 3A, the cosineoutput voltage VCOSof the cosine magnetic sensor 12 is electrically connected to the inverting terminal of the op-amp 13 while the sine output voltage VSIN of the sine magnetic sensor 11 is electrically connected to the non-inverting terminal of the op-amp 13.
[0059] Fig. 3B illustrates a variant of the analog angular magnetic sensor device 10 ofFig. 3A, where the positions of the sine magnetic sensor 11 and of the cosine magnetic sensor 12 are inverted. In this configuration, the input bias of the cosine magnetic sensor12 is connected to a bias voltage Vddand the cosine output voltage VCOSis electrically connected to an inverting terminal of the inverting op-amp 13 via the first resistance R1. The sine output voltage VSIN of the sine magnetic sensor 11 is electrically connected to the inverting terminal of the inverting op-amp 13 through the second resistance R2. The bias input of the sine magnetic sensor 11 is electrically connected to the output terminal of the inverting op-amp 13, forming a feedback loop of the inverting op-amp 13. The non- inverting terminal of the inverting op-amp 13 is connected to ground.
[0060] In the configuration of Fig. 3B, the magnetic sensor device 10 outputs a deviceoutput voltage Vout that follows a cotangent output voltage VCOTAN. In other words, the output voltage at the op-amp output terminal is the device output voltage Vout and can be expressed by equation 5b:^^^^ = ^ ∙ ^^^ ∙ ^^^^^^ = ^ ∙ ^^^ ∙ ^^^^^^. Eq. 5b
[0061] In a variant of the magnetic sensor device configuration of Fig. 3B, the sineoutput voltage VSIN of the sine magnetic sensor 11 is electrically connected to the inverting terminal of the op-amp 13 while the cosine output voltage VCOS of the cosine magnetic sensor 1 is electrically connected to the non-inverting terminal of the op-amp 13.
[0062] Equations 5a and 5b imply that the amplitude of the device output voltage Voutis determined only by the bias voltage Vdd and, therefore, it is independent of the TMR ratio of the MTJ elements 20. This allows for increasing the signal-to-noise ratio (SNR) of the analog angular magnetic sensor device 10. This also allows for using MTJ elements 20 having low angular error AE regardless its TMR performance.
[0063] In one aspect illustrated in Figs 3a and 3b, the output of each of the sine andcosine magnetic sensors 11, 12 can be further electrically connected to an amplifier buffer 30 (voltage follower) and to a differential amplifier 31.
[0064] A device output voltage Vout that follows a tangent output voltage VTAN can becalculated from the ratio of the sine output voltage VSINover the cosine output voltage VCOS: ^^^^=^^^^^^^^ = ^^^^. Eq. 6a
[0065] Similarly, a device output voltage Vout that follows a cotangent output voltageVCOTANcan be calculated from the ratio of the cosine output voltage VCOSover the sine output voltage VSIN: ^^^^
[0066] Equations 6a and 6b show that the main feature of the magnetic sensor device10 in the configuration of Figs.3A and 3B is only dependent on the orientation ^ of the external magnetic field 60.
[0067] The magnetic sensor device 10 is stable against temperature and magnetic fieldamplitude and thus, is suitable for development of fast angular sensors by using LUTs or linearization correction schemes.
[0068] In some embodiments, the magnetic sensor device 10 can further comprise ananalog-digital converter and a look up table (LUT) (not shown) connected in series at the device output voltage Vout. This enables a fast determination of the measured angle with a low AE for an external magnetic field orientation ^ between -45° and 45°.
[0069] Fig. 4 shows the magnetic sensor device 10 according to another embodiment.The magnetic sensor device 10 comprises a sine magnetic sensor 11 configured to provide a sine output voltage VSINand inputted by the bias voltage Vdd. The magnetic sensor device 10 further comprises a cosine magnetic sensor 12 and an additional cosine magnetic sensor 16. Both the cosine magnetic sensor 12 and the additional cosine magnetic sensor 16 are configured to provide a cosine output voltage VCOS. Each of the sine magnetic sensor 11 and the two cosine magnetic sensors 12, 16 comprises a plurality of MTJ elements 20 arranged in a full bridge circuit, as described above.
[0070] The magnetic sensor device 10 comprises an analog circuit 100 including a fullydifferential op-amp 14, a first, second, third and fourth resistance R1, R2, R3, R4. A first half branch 11a of the full bridge circuit arrangement of the sine magnetic sensor 11 is inputted to a first input voltage Vin1of the fully differential op-amp 14 via the first resistance R1. A second half branch 11b of the of the full bridge circuit arrangement of the sine magnetic sensor 11 is inputted to a second input voltage Vin2of the fully differential op-amp 14 via the second resistance R2. A first circuit output voltage Vout1 of the fully differential op-amp 14 biases the cosine magnetic sensor 12 and a second circuit output voltage Vout2 of the fully differential op-amp 14 biases the second cosine magnetic sensor16. The output of the cosine magnetic sensor 12 is electrically connected to the first input terminal of the fully differential op-amp 14 via the third resistance R3. The output of the additional cosine magnetic sensor 16 is electrically connected to the second input terminal of the fully differential op-amp 14 via the fourth resistance R4.
[0071] As shown in Fig. 4, the output voltage of each of the first and second halfbranches 11a, 11b can be electrically connected to an amplifier buffer 30. The cosine output voltage VCOSof the cosine magnetic sensor 12 and the additional cosine magnetic sensor 16 can be further electrically connected to an amplifier buffer 30 and to a differential amplifier 31.
[0072] In this configuration, the device voltage output Vout corresponds to is thedifference between the first circuit output voltage Vout1and the second circuit output voltage Vout2. The device voltage output Voutis proportional to the tangent of the orientation of the external magnetic field q :^^^^ = ^^^^^ − ^^^^^ = −^^^^∙ ^(^^^∙^^^^) (^^^∙^^^^) ^∙^^^^ − ^∙^^^^^ = ^ ∙ ^^^ ∙ ^^^^. Eq. 6ccanto an additional differential amplifier 31 to ensure a single-ended device output voltage Vout of the magnetic sensor device 10.
[0074] Fig. 5 shows the magnetic sensor device 10 according to yet anotherembodiment. The magnetic sensor device 10 comprises a sine magnetic sensor 11 configured to generate a sine output voltage VSIN, and a cosine magnetic sensor 12 configured to generate a cosine output voltage VCOS. Each of the sine and cosine magnetic sensors 11, 12 comprises a plurality of MTJ elements 20 arranged in a full bridge circuit, as described above. The cosine magnetic sensor 12 is connected in cascade with the sine magnetic sensor 11 via an analog circuit 100 comprising an analog signal divider 33. More particularly, the cosine output voltage VCOS of the cosine magnetic sensor 12 is electrically connected to an input of the analog signal divider 33. The bias input of the sine magnetic sensor 11 is electrically connected to the output of the analog signal divider 33.
[0075] The analog circuit 100 is configured to “invert” the cosine output voltage VCOS.In particular, the analog signal divider 33 is configured to divide a first divider inputvoltage Vdiv1, of a first divider input terminal of the analog signal divider 33, by a second divider input voltage Vdiv2, of a second divider input terminal of the analog signal divider 33. The analog circuit 100 generates a divider output voltage Vout-div described by equation 7a: ^^^^^^^^ = ^ ∙ ^^wherein k is a constant.
[0076] Equation 7a can also be expressed as:^^^^^^^^ = ^ ∙ ^^⁄ (^^^ A cos^) , Eq. 7bwhere A is the amplitude of the cosine magnetic sensor 12 and Vdd is the bias voltage biasing the cosine magnetic sensor 12. Therefore, the divider output voltage Vout-div biasing the sine magnetic sensor 11 results in a device output voltage Vout that is defined by Equation 8: ^^^^^ = ^^^^ ∙ ^^^^ = ^^^^^∙^∙^^^^^ ∙ (^ ∙ ^^^^) =^^^^^ ∙ ^^^^. Eq. 8sensors canconnected to an amplifier buffer 30 and to a differential amplifier 31.
[0078] Figs. 6A and 6B show possible circuit architectures for the analog signal divider33, based on LOG and ANTILOG op-amps.
[0079] Figs. 7A and 7B show the magnetic sensor device 10 according to yet anotherembodiment. The angular magnetic sensor device 10 can comprise only one sine magnetic sensor 11 configured to generate a sine output voltage VSIN following Eq. 2b. Note that the angular magnetic sensor device 10 could comprise more than one sine magnetic sensor 11. The angular magnetic sensor device 10 further comprises an analog circuit 100 including a first sub-circuit 101. The first sub-circuit 101 comprises an operational amplifier (op-amp) 15. A first resistance R1 is connected to a non-inverting terminal of the op-amp 15. A second resistance R2is connected between the non-inverting terminal and an op-amp output Vout of the-amp 15, forming a positive feedback loop of the op-amp 15. The inverting terminal is connected to ground via a third resistance R3, while a fourth resistance R4is connected between the inverting terminal and the op-amp output Voutof the-amp 15, forming a negative feedback loop of the op-amp 15. The sinemagnetic sensor 11 comprises a plurality of MTJ elements 20 arranged in a full bridge circuit, as described above.
[0080] In the configuration of Fig. 7A, both half-branch output voltages of the sinemagnetic sensor 11 (VSIN+and VSIN-) are electrically connected to an amplifier buffer 30 and to a differential amplifier 31, so the sine output voltage VSIN= VSIN+- VSIN-. Additionally, the sine output voltage VSINof the sine magnetic sensor 11 is electrically connected to the non-inverting terminal of the op-amp 15 via the first resistance R1. The sine magnetic sensor 11 is biased by a bias voltage Vdd. The circuit output voltage Vout_acof the first sub-circuit 101 corresponds to the device output voltage Vout.
[0081] In the configuration of Fig. 7B, an analog circuit voltage output Vout-ac of thefirst sub-circuit 101 is electrically connected to the bias input of the sine magnetic sensor 11, and the first sub-circuit 101 is biased by a bias voltage Vdd.
[0082] The analog circuit voltage output Vout-ac of the analog circuit100 can beexpressed as: ^^^^^^^=^^∙(^^^^^)^^ ∙^^^^^ ∙^^ ∙ ^^^ , Eq. 9can correspond to the sine output voltage VSIN of the sine magnetic sensor 11 in the case of the configuration of Fig. 7A or to the bias voltage Vddin the case of the configuration of Fig. 7B.
[0083] In one aspect. the first and second resistances R1, R2 can be identical (R1 = R2).The third and fourth resistances R3, R4can be TMR elements having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field. In this case:^^ = ^^ ∙ (1 − ^ ∙ ^^^^) = 1 / ^^, Eq. 10a^^ = ^^ ∙ (1 + ^ ∙ ^^^^) = 1⁄ ^^ , Eq. 10bwhere G3and G4are the conductance of resistance elements R3and R4and G0R2 canalso be expressed as G1 = 1 / R1 and G2 = 1 / R2. Therefore, resistances R3 and R4 of both TMR elements can be written as:^^^ =^ ^^∙(^^ ^∙^^^^). Eq.10d
[0084] Note that equations 10c and 10d imply that, generally, the resistance of suchTMR elements does not follow a cosine response. Only for TMR elements with small TMR ratio (and therefore small amplitude A, i.e. A << 1) the resistance of such TMR elements will show a cosine response. Therefore, and for the sake of clarity, the resistance response described by Eq.10c will be defined as a COS+ response, while the resistance response described by Eq.10d will be defined as COS- response. At such conditions, the analog circuit output voltage response Vout-acof equation 9 then becomes:^^ ^^^^^^ = ^^∙^^^^^ ∙ ^^^ . Eq. 10e
[0085] Therefore, if the input voltage Vin of the analog circuit 100 is a sine outputvoltage VSIN generated by the sine magnetic sensor 11 (as shown in Fig.7A), then, the output voltage Vout of the magnetic sensor device 10 follows a tangent output voltage VTAN and can be expressed by equation 10f:^^^^ = ^^^^ = ^^ ∙ ^^^^. Eq. 10f
[0086] Note that the sine magnetic sensor 11 can also be connected in cascade at theoutput of the analog circuit 100 (Fig.7B) leading to the same tangent output voltage VTANexpressed by Eq.10f.
[0087] Note, also, that a similar outcome can be obtained by opposite programmingconditions of the tunnel magnetoresistive (TMR) elements. Indeed if:^^ ^=^^∙(^^^∙^^^^) Eq.10g ^ , Eq.10hcircuit output voltage response Vout-ac of equation 9 then becomes:^^^^^^^ = − ^^ ^∙^^^^^ ∙ ^^^ . Eq. 10idevicecan^^^^ = − ^^^^ = − ^^ ∙ ^^^^. Eq. 10j
[0090] In another embodiment shown in Fig. 8A, the sine output voltage VSIN of thesine magnetic sensor 11 is electrically connected to the analog circuit 100 (connected to the non-inverting terminal of the op-amp 15 via the first resistance R1). The sine magnetic sensor 11 is biased by a bias voltage Vdd. The analog circuit 100 includes the first sub- circuit 101 (as in Figs 7a and 7b). The analog circuit 100 can further comprise an additional differential amplifier 31 which is electrically connected to the circuit output voltage Vout_acof the first sub-circuit 101 and to the sine output voltage VSINof the sine magnetic sensor 11. The output voltage of the additional differential amplifier 31 corresponds to the output voltage of the analog circuit 100 and also corresponds to the device output voltage Vout of the magnetic sensor device 10.
[0091] In the alternative configuration of Fig. 8B, the analog circuit 100 is biased by abias voltage Vdd. The analog circuit 100 includes the first sub-circuit 101 (as in Figs 7a and 7b). The analog circuit 100 can further comprise an additional differential amplifier 31 that is electrically connected to the circuit output voltage Vout_acof the first sub-circuit 101 and to the bias voltage Vdd. The output voltage of the additional differential amplifier 31 corresponds to the output voltage of the analog circuit 100 and the output voltage of the analog circuit 100 is used as a bias voltage of the sine magnetic sensor 11. The output voltage of the sine magnetic sensor 11 corresponds to the device output voltage Vout of the magnetic sensor device 10.
[0092] The output voltage Vout of the magnetic sensor device 10 of Figs 8a and 8bfollows a tangent output voltage VTANsuch as described by equation 10d.
[0093] In both configurations of Figs. 8A and 8B, the sine magnetic sensor 11 can befurther electrically connected to an amplifier buffer 30 and to a differential amplifier 31.
[0094] In both configurations of Figs. 8A and 8B, the analog circuit 100 can beconfigured such that the third resistance R3 and fourth resistance R4 are equal (R3 = R4), and the first and second resistances R1, R2 are TMR elements having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field, with the first resistance R1 following a COS- response and the second resistance R2following a COS+ response described by:^^ =^ ^^∙(^^^∙^^^^), Eq. 11a^For this configuration, the analog circuit voltage output Vout-ac of equation 9 then becomes: ^
[0095] Therefore, if the output of the sine magnetic sensor 11 is used as the inputvoltage Vinof the analog circuit 100, then Vincan be subtracted by a differential amplifier 31 connected to the output of the first sub-circuit 101 and to the output of the sine magnetic sensor 11 (as shown in Fig.8A). For such a configuration, the output terminal of the differential amplifier 31 generates the output voltage Vout of the magnetic sensor device 10. If the sine magnetic sensor 11 is configured to generate a sine output voltage VSIN, the output voltage Vout of the magnetic sensor device 10 will follow a tangent output voltage VTAN as expressed by equation 10f.
[0096] Note that a similar response can be obtained if the output terminal of the analogcircuit 100 is connected to the bias input of the sine magnetic sensor 11 (as shown in Fig. 8B). For this embodiment a Vddvoltage is the input voltage of the analog circuit 100 (i.e. Vdd is Vin of Eq.11c) and both Vdd and the output of the first sub-circuit 101 are connected to the input terminals of the additional differential amplifier 31. For such configuration, the sine magnetic sensor 11 generates the output voltage Vout of the magnetic sensor device 10, which follows a tangent output voltage VTAN as expressed by equation 10f.
[0097] Note that an opposite programming conditions of the tunnel magnetoresistive(TMR) elements would lead to a similar outcome. Indeed if:^^ =^ ^^∙(^^^∙^^^^), and Eq.11d ^^ =^ ^^^^^^ ^−^∙^^^^+ 1^ ∙ ^^^ . Eq. 11fthe device output voltage Vout of the magnetic sensor device10 can be expressed by equation 11g:^^^^ = − ^^^^ = − ^^ ∙ ^^^^. Eq. 11g
[0099] Note that the sine magnetic sensor 11 is further electrically connected to anamplifier buffer 30 and to a differential amplifier 31.
[0100] Figs. 9A and 9B show the magnetic sensor device 10 according to yet anotherembodiment. In comparison to the configurations shown in Figs 8a and 8b, the analog circuit 100 comprises a first sub-circuit 101 and a second sub-circuit 102 as well as an additional differential amplifier 31. The first and second sub-circuits 101, 102 have a similar configuration as the analog circuit 100 shown in Figs 7a and 7b. However, here the third and fourth resistances R3, R4of the first sub-circuit 101 are programmed opposite to the ones of the second sub-circuit 102. In other words, the pseudo-cosine response of the each of the third and fourth resistances R3, R4 of the first sub-circuit 101 is opposite to the pseudo-cosine response of the third and fourth resistances R3, R4 of the second sub- circuit 102. In other words, in the first sub-circuit 101, the third resistance R3 is a TMR element with a resistance following a COS+ response (as described by Eq.10c) and the fourth resistance R4 is a TMR element with a resistance following a COS- response (as described by Eq.10d). In the second sub-circuit 102, the third resistance R3is a TMR element with a resistance following a COS- response and the fourth resistance R4 is a TMR element with a resistance following a COS+ response. In both first and second sub- circuits 101, 102, the first resistance R1and the second resistance R2are equal (R1= R2).
[0101] For this embodiment, the TMR elements of the first sub-circuit 101 aredescribed as:^^ =^ ^^∙(^^^∙^^^^), Eq. 12a, Eq. 12bof the first sub-circuit 101 Vout-accan be described by:^ =^ ^^^^^^ ^^∙^^^^^ ∙ ^^^ . Eq. 12caredescribed as:^^ =^ ^^∙(^^ ^∙^^^^), Eq. 13a^ =^, Eq. 13bof the second sub-circuit 102 Vout-accan be described by:^
[0103] In the configuration of the angular magnetic sensor device 10 of Fig. 9A, thesine output voltage VSINof the sine magnetic sensor 11 is electrically connected to the first and second sub-circuits 101, 102 (to the non-inverting terminal of the op-amp 13 via the first resistance R1for the first sub-circuit 101 and to the non-inverting terminal of the op- amp 15 via the first resistance R1for the second sub-circuit 102). The sine magnetic sensor 11 is biased by a bias voltage Vdd. The additional differential amplifier 31 is connected to the output of the first and second sub-circuits 101, 102, so the output voltage of the additional differential amplifier 31 is the output voltage of the analog circuit 100, and therefore corresponds to the output voltage Vout of the magnetic sensor device 10, and can be described by :^^^^ = ^^ ^^^^ ∙ ^^^ − ^− ^^^ ∙ ^^^^ = ^^^ ∙ ^^^ = 2 ∙ ^^^^ . Eq.13d
[0104] In the alternative configuration of the angular magnetic sensor device 10 of Fig.9B, the first and second sub-circuits 101, 102 are biased by a bias voltage Vdd. The analog circuit output voltages Vout-acof both the first and second sub-circuits 101, 102 are electrically connected to the additional differential amplifier 31, so the output of the additional differential amplifier 31 is connected to the bias input of the sine magnetic sensor 11. Here, the output voltage of the sine magnetic sensor 11 is the device output voltage Vout of the magnetic sensor device 10 and is described by equation 13d.
[0105] Note that a similar result can also be obtained by permuting the first sub-circuit101 with respect to second sub-circuit 102. Note also, that the sine magnetic sensor 11 further comprises an amplifier buffer 30 at the output of each half-branch of the magnetic sensor 11 and to a differential amplifier 31.
[0106] Figs. 10A and 10B show the magnetic sensor device 10 according to a variant ofconfigurations shown in Figs. 9A and 9B. More particularly, the analog circuit 100 comprises a first and second sub-circuits 101, 102, wherein the first sub-circuit 101 includes a first TMR element with resistance R1following a COS- response, and a second TMR element with resistance R2 following a COS+response, as shown by equations 14a and 14b respectively (see below). The second sub-circuit 102 comprises a first TMR element with resistance R1following a COS+ response and a second TMR element with resistance R2following a COS- response. In other words, the pseudo-cosine response of the first and second resistances R1, R2of the first sub-circuit 101 is opposite to the pseudo-cosine response of the first and second resistances R1, R2of the second sub-circuit 102. In both first and second sub-circuits 101, 102, the third resistance R3and the fourth resistance R4 are equal (R3 = R4).
[00107] For this embodiment, the TMR elements of the first sub-circuit 101 aredescribed as: ^=^ ^ac ^=^ ^^^^^^ ^ + 1^ ∙ ^^^ . Eq.14c
[00108] For this embodiment, the TMR elements of the second sub-circuit 102 aredescribed as: ^ ^ ^= ^^∙(^^ ^∙^^^^), Eq. 14d, Eq. 14eof the second sub-circuit 102 Vout-accan be described by: ^^^^^^^ = ^−^ ^∙^^^^+ 1^ ∙ ^^^ . Eq.14fsineoutput voltage VSIN of the sine magnetic sensor 11 is electrically connected to the first and second sub-circuits 101, 102 (to the non-inverting terminal of the op-amp 13, 15 via their first TMR element R1). The sine magnetic sensor 11 is biased by a bias voltage Vdd. The additional differential amplifier 31 of the analog circuit 100 is connected to the output of the first and second sub-circuits 101, 102, such that the output of the differential amplifier 31 is the output voltage of the analog circuit 100 and corresponds to the device output voltage Voutof the magnetic sensor device 10 and is described by: ^^^^ = ^^ ^∙^^^^+ 1^ ∙ ^^^ − ^− ^−^ ^∙^^^^+ 1^ ∙ ^^^^ =^ ^∙^^^^∙ ^^^ = 2 ∙ ^^^^ Eq.14jFig.10B, analog circuit 100 is biased by a bias voltage Vdd and therefore, both the first and second sub-circuits 101 and 102 are biased by a bias voltage Vdd. The output voltage ofthe differential amplifier 31 of the analog circuit 100 is electrically connected to the bias input of the sine magnetic sensor 11.
[0111] The device output voltage Vout of the magnetic sensor device 10 of Figs 10bfollows a similar tangent output voltage as described by equation 14j.
[0112] Note that a similar result can also be obtained by permuting the first sub-circuit101 with respect to second sub-circuit 102. Note also, that the sine magnetic sensor 11 further comprises amplifier buffers 30 at the output of each half-branch of the sine magnetic sensor 11 and a differential amplifier 31.
[0113] Figs. 11A and 11B show the magnetic sensor device 10 according to yet anotherembodiment. Here, the analog circuit 100 comprises a first sub-circuit 101 including an inverting op-amp 13 and four resistances R1, R2, R3 and R4. The four resistances R1-R4 can comprise TMR elements having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field (described by Eq.1c). The four resistances R1-R4 can be arranged as in the analog circuit 100 of Figs.7A to 10B.
[0114] In one aspect, the four TMR elements are programmed in such a way that theoutput voltage of a Wheatstone bridge composed by this four TMR elements (as described by Fig.2A and Eq. 1f) is proportional to a cosine signal, i.e., : ^^ ∙^^^^^∙^^[^^^^^]∙[^^^^^]~ ^^^^, Eq.15response a way that Eq.15 is fulfilled.
[0115] The analog circuit 100 further comprises an additional sub-circuit 103 includingan op-amp 15 and a fifth resistance R5and a sixth resistance R6. The fifth and sixth resistances can comprise TMR elements having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field (described by Eq.1c). The fifth resistance R5is connected to a terminal of the op-amp 15. The sixth resistance R6is connected between the terminal and an output of the op-amp 15, forming a positive feedback loop of the op-amp 15. An output of the first sub-circuit 101 is connected to the sixth resistance R6 of the additional sub-circuit 103 and to an additional differential amplifier 31. The output of the additional sub-circuit 103 is connected to the additional differential amplifier 31.
[0116] In one aspect, the fifth resistance R5 is equal to the first resistance R1 (R5 = R1)and the sixth resistance R6is equal to the sixth resistance R2(R6= R2). In this configuration, the analog circuit 100 has an output voltage response Vout-ac of: ∙^^^^^
[0117] Equation 16a implies that the output voltage Vout-ac of the analog circuit 100 isinversely proportional to the output voltage of a Wheatstone bridge configured with all four resistances R1,-R4(equation 1f). This implies that (with all four resistances R1-R4being configured to fulfil equation 15) Vout-acis described as: ^ ^^^^^^^~ ^^^^∙ ^^^ . Eq.16b
[0118] In the configuration of Fig. 11A, the magnetic sensor device 10 comprises a sinemagnetic sensor 11 with a sine output voltage VSIN that is electrically connected to the analog circuit 100 (to the non-inverting terminal of the op-amp 15 via the first TMR element R1 of the first sub-circuit 101). The sine magnetic sensor 11 is biased by a bias voltage Vdd. An additional differential amplifier 31 is connected to the output of the first and additional sub-circuits 101, 103. Therefore, the output of the additional differential amplifier 31 corresponds to the output of the analog circuit 100 and therefore, it corresponds to the device output voltage Voutof the magnetic sensor device 10 and is proportional to the tangent of the orientation of the magnetic field q.
[0119] Fig. 11B shows another configuration of the magnetic sensor device 10, wherethe output voltage of the analog circuit 100 Vout-ac is electrically connected to the bias input of the sine magnetic sensor 11 through the output terminal of the additional differential amplifier 31 (the output of the additional differential amplifier 31 corresponds to the output of the analog circuit 100). The analog circuit 100 is biased by a bias voltage Vdd. Therefore, the output voltage of the sine magnetic sensor 11 corresponds to the device output voltage Voutof the magnetic sensor device 10 and is proportional to the tangent of the orientation of the magnetic field q.
[0120] In the configuration of Figs 11a and 11b, the device output voltage Vout of themagnetic sensor device 10 of Figs 11a and 11b follows a tangent output voltage VTAN such as described by equation 10d. Note also, that the sine magnetic sensor 11 further comprises amplifier buffers 30 at the output of each half-branch of the sine magnetic sensor 11 and a differential amplifier 31.
[0121] In the configuration of Figs 9a to 10b, the additional differential amplifier 31can be configured to subtract the analog circuit voltage output Vout-acof the second sub- circuit 102 from the analog circuit voltage output Vout-ac of the first sub-circuit 101. Similarly, in the configuration of Figs 11a and 11b, the additional differential amplifier 31 can be configured to subtract the analog circuit voltage output Vout-ac of the second sub- circuit 103 from the analog circuit voltage output Vout-ac of the first sub-circuit 101.
[0122] Figs. 12A and 12B show an alternative configuration of the magnetic sensordevice 10 of Figs.10A and 10B. In this embodiment, the magnetic sensor device 10 comprises an analog circuit 100 and a sine magnetic sensor 11. The analog circuit 100 comprises the first sub-circuit 101 including four resistances R1, R2, R3, R4 and the second sub-circuit 102 including four resistances R1, R2, R3, R4.
[0123] In an embodiment, the four resistances R1-R4 of each of the first and second sub-circuit 101, 102 can be TMR elements having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field (described by Eq. 1c).
[0124] In an embodiment, the first TMR element resistance R1 of the first sub-circuit101 is equal to the second TMR element resistance R2of the second sub-circuit 102. The second TMR element resistance R2of the first sub-circuit 101 is equal to the first TMR element resistance R1of the second sub-circuit 102. The third TMR element resistance R3of the first sub-circuit 101 is equal to the fourth TMR element resistance R4of the second sub-circuit 102, and the fourth TMR element resistance R4of the first sub-circuit 101 is equal to the third TMR element resistance R3of the second sub-circuits 102.
[0125] In an embodiment, the four TMR elements R1- R4 of each of the first and secondsub-circuits 101, 102 can be programmed in such a way that the output voltage of a Wheatstone bridge composed by the four TMR elements (as described by Fig. 2A and Eq. 1f) are proportional to a cosine signal (as described by equation 15). The output voltages Vout-ac1and Vout-ac2of the first and second sub-circuits 101, 102 can then be described as: ^^^^^^^^^^=^^∙(^^^^^)^^ ∙^^^^^∙^^ ∙ ^^^ , and Eq. 17a
[0126] The analog circuit 100 can further comprise an additional differential amplifier31 connected to the output of the first and second sub-circuits 101, 102. The additional differential amplifier 31 can be configured to subtract the analog circuit voltage output Vout-ac of the second sub-circuit 102 from the analog circuit voltage output Vout-ac of the first sub-circuit 101, as described by equations 17a and 17b.
[0127] In the configuration of Fig. 12A, the output voltage of the sine magnetic sensor11 is electrically connected to the first and second sub-circuits 101, 102 (to the non- inverting terminal of the op-amp 13 via the first resistance R1in the first sub-circuit 101, and the non-inverting terminal of the op-amp 15 via the first resistance R1 in the second sub-circuit 102) of the analog circuit 100. The sine magnetic sensor 11 is biased by a bias voltage Vdd. The analog circuit 100 also comprises an additional differential amplifier 31 which is connected to the output of the first and second sub-circuits 101, 102. The output voltage of the additional differential amplifier 31 corresponds to the output voltage Vout-ac of the analog circuit 100 and, therefore, generating the output voltage Vout of the magnetic sensor device 10 described by equation 16a and therefore following a tangent response as described by equation 10f.
[0128] In the configuration of Fig. 12B, the output voltage Vout-ac of the analog circuit100 is electrically connected to the bias input of the sine magnetic sensor 11. The analog circuit 100 comprises an additional differential amplifier 31 that is connected to the output of the of the first and second sub-circuits 101, 102 (the output voltage of the additional differential amplifier 31 corresponds to the output voltage Vout-ac of the analog circuit 100). The first and second sub-circuits 101, 102 are biased by a bias voltage Vdd. The output voltage of the sine magnetic sensor 11 generates the device output voltage Voutof the magnetic sensor device 10 described by equation16a and therefore following a tangent output voltage VTANas described by equation 10f.
[0129] Note also, that the sine magnetic sensor 11 further comprises amplifier buffers30 at the output of each half-branch of the sine magnetic sensor 11 and a differential amplifier 31. Linearization of TAN analog signal
[0130] The device output voltage Vout response of the magnetic sensor device 10 can belinearized in order to obtain a linear corrected output voltage Vcorrresponse.
[0131] The corrected output voltage Vcorr response can be expressed as:^^^^^ = ^^^^ ∙ ^ + ^, Eq. 18where Sens is the sensitivity and C is the offset of the corrected output voltage Vcorr.
[0132] In an embodiment shown in Fig. 13A, a linear angular magnetic sensor device400 (hereinafter called linear sensor device) comprises the magnetic sensor device 10 and a linearization integrated circuit (IC) 50 electrically connected to the device output voltage Vout of the magnetic sensor device 10. An output terminal of the linearization IC 50 is the corrected output voltage Vcorr of the linear sensor device 400 showing a linear dependence with the orientation of the external magnetic field q. A similar embodiment but integrating an analog-digital converter 40 between the angular magnetic sensor device 10 and the linearization IC is shown in Fig.13B. In both cases the magnetic sensor device 10 shows a tangent (or cotangent) device output voltage response with respect the orientation of the external magnetic field q. In Fig.13B, the linearization IC 50 can comprise a LookUp Table (LUT).
[0133] The configuration of Fig. 13A allows for small die size and high-speedresponse.
[0134] Different linearization schemes can be implemented: piecewise correction, tanhcorrection, and addition of the sine output voltage VSINsignal on tangent output voltage VTAN signal (or vice-versa).
[0135] For example, the linearization IC 50 can be configured to perform a Tanhcorrection scheme. Here, the linearization IC 50 can be configured to output a corrected output voltage Vcorrthat is determined by equation 19:^^^^^ ~ ^ · ^^^ℎ(^ ∙ ^^^^), Eq. 19where A, and b are correction parameters that are independent of the external magnetic field. Linearization schemes applied on a magnetic sensor device have been described in international application PCT / IB2023 / 057421 be the present applicant.
[0136] Fig. 14 shows an example of the linearization IC 50 configured to perform aTanh correction scheme. The linearization IC 50 can be electrically connected to the device output voltage Vout of the magnetic sensor device 10 according to the configurationof Fig. 3A. In the example of Fig.14, the linearization IC 50 comprises an emitter- coupled pair differential amplifier.
[0137] In another embodiment described in Fig. 15, the linearization IC 50 can beconfigured to perform the following correction scheme:^^^^^ ~ ^^^^ − ^^^ ^^ ∙^^^^ Eq.20
[0138] where Ki are positive or negative coefficients independent of the externalmagnetic field.
[0139] In order to implement this correction scheme, at least an analog computationalunit (ACU) 501 is required. The ACU 501 is an analog circuitry configured to provide an output voltage that corresponds to the input voltage Vinto the power of n.
[0140] Fig. 15 shows a particular embodiment of this linearization IC 50. Here, theACU 501 is configured to provide an output voltage Voutnthat is the input voltage Vin to the power of 3. Furthermore, a gain amplifier 511 connected at the output of the ACU 501 enables to obtain an additional voltage signal Vsub:^^^^ = ^ ∙ ^^^^^. Eq.21
[0141] A differential amplifier 520 is then used to subtract the additional voltage signalVsubfrom the input voltage Vinof the analog linearization IC 50, leading to a correction output voltage Vcorr:^^^^^ ~ ^^^^ − ^ ∙ ^^^^^Eq.22voltageVcorrand proportional to the orientation of the external magnetic field is obtained.
[0143] Other embodiments involving the correction of more than one high ordercomponents of Voutcan be obtained by considering more than one ACU. Fig.16A and Fig. 16B show two different embodiments involving the correction of 3rdand 5thorder components of Vout. For this, a first ACU 501 is configured to provide an output voltage that is the input voltage to the power of 3 and a second ACU 502 is configured to provide an output voltage that is the input voltage to the power of 5. More generally, thecorrection can be performed to the power n where n depends on the number of ACU 501, 502.
[0144] For the configuration of Fig. 16A, a first gain amplifier 511 is connected at theoutput of the first ACU 501 enabling to obtain a first additional voltage signal Vsub1: =^^ ∙
[0145] A second gain amplifier 512 is connected at the output of the second ACU 502enabling to obtain a second additional voltage signal Vsub2: =^^ ∙ ^^^^^. Eq.24
[0146] A differential amplifier 520 is then used to obtain a correction output voltage:^^^^^ ~ ^^^^ − ^ ^^ ∙ ^^^^ + ^^ ∙ ^^^^^. Eq.25
[0147] By fine tuning the value of coefficients K1 and K2, a linear corrected outputvoltage Vcorrproportional to the orientation of the external magnetic field is obtained.
[0148] Similarly for the configuration of Fig. 16B, a first gain amplifier 511 and asecond gain amplifier 512 are connected at the output of the first ACU 501 and at the output of the second ACU 502, respectively, enabling to obtain a first additional voltage signal Vsub1 and second additional voltage signal Vsub2, as defined in equations 23 and 24, respectively.
[0149] An adder or summing amplifier 530, configured to of sum the output voltageVout of the magnetic sensor device 10 and the output signals of the gain amplifier 511, can be used to obtain a correction output voltage following Eq.25. The output signal of the adder 530 corresponds to the corrected output voltage Vcorr of the linear magnetic sensor device 400.
[0150] In another embodiment described in Fig. 17A, a linear sensor device 400comprises the magnetic sensor device 10 providing a first circuit output voltage Vout1corresponding to an angular sinus response (as described by equation 19b below) and a second circuit output voltage Vout2 corresponding to an angular tangent response (as described by equation 19a below). The linearization IC 50 is electrically connected to the first and second circuit output voltages Vout1 and Vout2 of the magnetic sensor device 10. Asimilar embodiment but comprising an additional sine magnetic sensor 11 generating a sine output voltage VSINis shown in Fig.17B.
[0151] Fig. 18 illustrates a possible configuration of the linearization IC 50. Thelinearization IC 50 comprises a first amplifier 16 amplifying the second circuit output voltage Vout2(equal to VTAN) from the magnetic sensor device 10 by a factor “b”, i.e., amplifying the output voltage of the SIN full bridge TMR-based magnetic sensor by a factor “b”. A second amplifier 17 amplifies the first circuit output voltage Vout1(equal to VSIN) from the magnetic sensor device 10 by a factor “a”. An adder or summing amplifier 38 is configured to add the output voltage of the first amplifier 16 and the output voltage of the second amplifier 17. The output terminal of the adder or summing amplifier 38 corresponds to the output terminal of the linearization IC 50. The output terminal of the linearization IC 50 corresponds to the corrected output voltage Vcorr of the linear sensor device 400:^^^^^ = ^ ∙ ^^^^ + ^ ∙ ^^^^ . Eq. 26
[0152] For an external magnetic field having an orientation ^ between -45° and 45°, thesine output voltage VSIN and the tangent output voltage VTAN can be described up to a 3rd order:^^^^ = ^ ∙ ^^^^ ∙ ^^^ ~ ^ ∙ ^^ − ^^^^ ∙ ^^^ , and Eq. 27aof themagnetic sensor device 10 with respect to the orientation ^ of the external magnetic field 60 can be obtained by adding a signal proportional to the tangent output voltage VTANto the sine output voltage VSIN:^ = ^ + ^ ∙ ( )^ ^^^^^^ ^^^ ^^^^ ~ ^ + ^ ∙ ^ ∙ ^^^ − ^^ − ^^ ∙ ^ ∙ ^^^ . Eq. 28a
[0155] Alternatively, a corrected output voltage Vcorr corresponding to a linear responseof the magnetic sensor device 10 can be obtained by adding a signal proportional to the sine output voltage VSIN to tangent output voltage VTAN: ^ ^^∙^^
[0156] Therefore, if cc = 2 / A:^^^^^ ~ 3 ∙ ^ ∙ ^^^ . Eq. 29b
[0157] In one aspect, the linear sensor device 400 can be further configured tominimize the temperature dependence of the corrected output voltage Vcorrby using a temperature coefficient of sensitivity (TCS) correction scheme.
[0158] In an embodiment illustrated in Fig. 19A, the linear sensor device 400comprises the magnetic sensor device 10 configured to provide a first circuit output voltage Vout1 corresponding to a first angular sinus response VSIN and a second circuit output voltage Vout2corresponding to an angular tangent response VTAN. The linear sensor device 400 further comprises a linearization IC 50, a proportional to absolute temperature (PTAT) circuit 80, and a multiplier 81. The PTAT circuit 80 is configured to generate a PTAT voltage. The multiplier 81 is inputted by the PTAT voltage and by the first circuit output voltage Vout1. The linearization IC 50 is inputted by the multiplier output voltage Vout-mulof the multiplier 81 and the second circuit output voltage Vout2. The linearization IC 50 outputs a linear corrected output voltage Vcorr having a minimized temperature dependence. The linearization IC 50 can be configured as shown on Fig.18
[0159] The multiplier 81 generates a correction parameter dependent on thetemperature and adapted to cancel the TCS contribution of the sine output voltage VSIN.
[0160] Fig. 19B illustrates a variant of the circuit of Fig. 19A, where a PTAT circuit 80(acting as a voltage source) is used to bias an additional sine magnetic sensor 11 generating a sine output voltage VSIN. The output voltage response of the linear sensor device 400 of Fig.19B has a minimized temperature dependence enabling to obtain a linear corrected output voltage response Vcorrshowing a minimized temperature dependence. Note that in this embodiment, no additional voltage multiplier is required.
[0161] The magnetic sensor device 10 described herein outputs an angular magneticresponse following a tangent function with respect to the orientation of the external magnetic field. However, it should be noted that other configurations of the magnetic sensor device 10 can be considered for outputting an angular magnetic response following a cotangent function with respect to the orientation of the external magnetic field. For example, the TMR sinus or “pseudo-sinus” elements (full bridge, half-bridge and / or single element) can be permuted with a TMR cosine or “pseudo-cosine” element (full bridge, half-bridge and / or single element), or vice versa.
[0162] An advantage of the TMR element described herein is that its resistance caneasily be tuned depending on the use of the magnetic sensor device 10. Consequently, the TMR element can have a wide range of resistances. Similarly, a wide range of bias voltage Vdd can be applied to the magnetic sensor device 10 comprising the TMR element (the limit value of bias voltage Vdd is the density current applied to each TMR element). More particularly, the resistance of the TMR element can be between 10 ^^ and 500 k^. The bias voltage Vddcan be between 0.1 V and 100 V.
[0163] The correction parameter b (see for example equation 19) can be comprisedbetween 0.1 / (√2 x Vdd) and 10 / (√2 x Vdd), where Vdd is the applied bias voltage to the magnetic sensor device 10.
[0164] Factors a and b (see for example Fig. 18) can be approximated by therelationship: b ~ 2 x a / A, where A is the amplitude of output voltage of the sine magnetic sensor 11. More generally, the ratio of factor a to factor b (b / a) can be between 0.1 x 2 / A and 10 x 2 / A.
[0165] Having described exemplary embodiments of the disclosure, it will now becomeapparent to one of ordinary skill in the art that other embodiments incorporating their concepts may also be used. The embodiments contained herein should not be limited to disclosed embodiments but rather should be limited only by the spirit and scope of the appended claims. All publications and references cited herein are expressly incorporated herein by reference in their entirety.
[0166] Elements of different embodiments described herein may be combined to formother embodiments not specifically set forth above. Various elements, which are described in the context of a single embodiment, may also be provided separately or in anysuitable subcombination. Other embodiments not specifically described herein are also within the scope of the following claims.Reference numbers and symbols 10 angular magnetic sensor device 11 sine magnetic sensor 11a first half branch 12 cosine magnetic sensor 13 inverting operational amplifier 14 fully differential operational amplifier 15 operational amplifier 16 additional cosine magnetic sensor 100 analog circuit 101 first sub-circuit 102 second sub-circuit 103 additional sub-circuit 20 MTJ element 21 reference layer 210 reference magnetization 22 tunnel barrier layer 23 sense layer 230 sense magnetization 30 amplifier buffer, voltage follower 31 differential amplifier 32 analog signal multiplier 33 analog signal divider 40 analog-digital converter 400 linear sensor device 50 linearization integrated circuit (IC) 52 multiplier 53 non-inverting summing amplifier 60 external magnetic field 80 PTAT circuit 501 analog computational unit (ACU), first ACU 502 second ACU 511 gain amplifier, first gain amplifier 512 second gain amplifier 520 differential amplifier 38, 530 adder^ orientation between sense layer and reference layer magnetization^ orientation of external magnetic fieldR1first resistance R2second resistance R3third resistance R4 fourth resistance R5fifth resistance R6 sixth resistance V1 first multiplier input of the analog signal multiplier V2 second multiplier input of the analog signal multiplierVcorrcorrected output voltage Vcorr,i corrected output signal segment Vdd bias voltage Vdiv divider voltage Vdiv1 first divider input Vdiv2 second divider input Vin input voltage Vin1 first input voltage Vin2 second input voltage Vout-divdivider output voltage Vout-mulmultiplier output voltage Voutdevice output voltage, op-amp output voltage Vout_acanalog circuit voltage output Vout1first circuit output voltage Vout2 second circuit output voltage VCOS sensing output voltage, cosine output voltage VSIN sensing output voltage, sine output voltage Vsub additional voltage signal Vsub1 first additional voltage signal Vsub2 second additional voltage signal VTANtangent output voltage
Claims
CLAIMS 1. A two-dimensional analog angular magnetic sensor device for measuring anorientation of an external magnetic field, comprising : at least a magnetic sensor, comprising a plurality of tunnel magnetoresistance (TMR) elements arranged in a full-bridge configuration and configured to provide a sine output voltage VSIN: ^^^^ = ^ ∙ ^^^^ ∙ ^^^ , orconfigured to provide a cosine output voltage VCOS: ^^^^ = ^ ∙ ^^^^ ∙ ^^^ ,wherein A is parameter depending on the TMR ratio of the TMR element and Vdd is a bias voltage inputted to the magnetic sensor; wherein the magnetic sensor device further comprises an analog circuit configured to generates a circuit output voltage and electrically connected to the magnetic sensor such as that the magnetic sensor device generates a device output voltage Voutthat follows one of: a tangent output voltage VTAN: ^^^^ = ^ ∙ ^^^ ∙ ^^^^ = ^ ∙ ^^^ ∙ ^^^^, where K is a constant; ora cotangent output voltage VCOTAN: ^^^^ = ^ ∙ ^^^ ∙ ^^^^^^ = ^ ∙ ^^^ ∙ ^^^^^^.
2. The magnetic sensor device according to claim 1,wherein at least a magnetic sensor comprises a sine magnetic sensor configured to provide a sine output voltage and a cosine magnetic sensor configured to provide a sine output voltage.
3. The magnetic sensor device according to claim 2,wherein the analog circuit comprises an inverting op-amp, a first resistance and a second resistance, the analog circuit being inputted by the sine output voltage and the cosine output voltage through the first and second resistances, the sine and cosine output voltages being inputted to the inverting terminal of the inverting op-amp via the first and second resistances; whereinthe bias voltage is inputted to the sine magnetic sensor and the circuit output voltage is inputted in the cosine magnetic sensor, such that the device output voltage follows a tangent output voltage; or, wherein the bias voltage is inputted to the cosine magnetic sensor and the circuit output voltage is inputted in the sine magnetic sensor, such that the device output voltage follows a cotangent output voltage.
4. The magnetic sensor device according to claim 2,wherein the analog circuit comprises an inverting op-amp, a first resistance and a second resistance, the analog circuit being inputted by the sine output voltage and the cosine output voltage through the first and second resistances, the sine and cosine output voltages being inputted to the inverting terminal of the inverting op-amp via the first and second resistances; wherein the bias voltage is inputted to the sine magnetic sensor and the sine output voltage of the sine magnetic sensor is inputted to the non-inverting terminal of the op-amp via the first resistance, the circuit output voltage is inputted in the cosine magnetic sensor and the cosine output voltage of the cosine magnetic sensor is inputted to the inverting terminal of the op-amp via the second resistance, such that the device output voltage follows a tangent output voltage; or, wherein the bias voltage is inputted to the cosine magnetic sensor and the cosine output voltage of the cosine magnetic sensor is inputted to the non-inverting terminal of the op- amp via the second resistance, the circuit output voltage is inputted in the sine magnetic sensor and the sine output voltage of the sine magnetic sensor is inputted to the inverting terminal of the op-amp via the first resistance, such that the device output voltage follows a cotangent output voltage.
5. The magnetic sensor device according to claim 2,wherein the cosine magnetic sensor is connected in cascade with the sine magnetic sensor via the analog circuit comprising an analog signal divider generating a divider output voltage Vout-div: ^^^^^^^^ = ^ ∙ ^^⁄ ^^ ,wherein k is a constant, V1is an input voltage of a first divider input terminal of the analog signal divider, and V2is the input voltage on the second input terminal of the analog signal divider; the cosine output voltage of the cosine magnetic sensor is electrically connected to the first divider input terminal, and the divider output voltage biases the sine magnetic sensor; such that the device output voltage is described by: ^^^^where the biasmagnetic sensor.
6. The magnetic sensor device according to claim 2,further comprising an additional cosine magnetic sensor configured to provide a cosine output voltage; wherein the analog circuit includes a fully differential op-amp having a first and second input voltage and having a first and second circuit output voltage, the analog circuit further including a first, second, third and fourth resistance; wherein the full bridge circuit arrangement of the sine magnetic sensor comprises a first half branch inputted to the first input voltage via the first resistance, and a second half branch inputted to the second input terminal via the second resistance; wherein the first circuit output voltage biases the cosine magnetic sensor, and the second circuit output voltage biases the additional cosine magnetic sensor; wherein the output of the cosine magnetic sensor is electrically connected to the first input voltage via the third resistance, and wherein the output of the additional cosine magnetic sensor is electrically connected to the second input terminal via the fourth resistance; and wherein the difference between the first and second circuit output voltages corresponds to the device output voltage of the magnetic sensor and wherein the device output voltage is proportional to the tangent of the orientation of the external magnetic field: ^^^^ = ^ ∙ ^^^ ∙ ^^^^;wherein the bias voltage biases the sine full-bridge magnetic sensor.
7. The magnetic sensor device according to claim 1,wherein said at least a magnetic sensor comprises a single sine magnetic sensor configured to provide a sine output voltage; and wherein the analog circuit comprises at least a sub-circuit, each of said at least a sub-circuit including an op-amp and a first, second, third and fourth resistance; wherein the first resistance connected to a non-inverting terminal of the op- amp, the second resistance is connected between a non-inverting terminal and an output of the op-amp, forming a positive feedback loop of the op-amp, the fourth resistance is connected between the inverting terminal and the output of the-amp, forming a negative feedback loop of the op-amp, the inverting terminal of the output of the-amp being further connected to ground via the third resistance; wherein each of the first and second resistances or each of the third and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; and wherein said pseudo-cosine response R(^) is described by: ^(^) =1 1 =^^^, ^^where G isG0is the average conductivity between parallel and antiparallel configuration of the MTJ element, and ^ is the orientation of the external magnetic field.
8. The magnetic sensor device according to claim 7,wherein said at least a sub-circuit comprises a first sub-circuit; and wherein said op-amp comprises a non-inverting op-amp.
9. The magnetic sensor device according to claim 8,wherein each of the third and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; wherein the sine output voltage is electrically connected to the non-inverting terminal of the op-amp via the first resistance; wherein the sine magnetic sensor is biased by a bias voltage; and wherein the circuit output voltage of the analog circuit corresponds to the device output voltage.
10. The magnetic sensor device according to claim 8,wherein each of the third and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; wherein the circuit output voltage of the analog circuit is inputted in the the bias input of the sine magnetic sensor; wherein the analog circuit is biased by the bias voltage; and wherein the output voltage of the sine full-bridge magnetic sensor corresponds to the device output voltage.
11. The magnetic sensor device according to claim 8,wherein each of the first and second resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; wherein the sine output voltage of the sine magnetic sensor, biased by the bias voltage, is electrically connected to the analog circuit by being connected to the non- inverting terminal of the op-amp via the first resistance; and wherein the analog circuit further comprises an additional differential amplifier electrically connected to the circuit output voltage of the analog circuit and to the output of the sine magnetic sensor; and wherein the output voltage of the additional differential amplifier corresponds to the device output voltage of the magnetic sensor device.
12. The magnetic sensor device according to claim 8,wherein each of the first and second resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; wherein the analog circuit is biased by the bias voltage and further comprises an additional differential amplifier electrically connected to the circuit output voltage of the analog circuit and to the bias input of the sine magnetic sensor; and wherein the output voltage of the sine magnetic sensor corresponds to the device output voltage of the magnetic sensor device.
13. The magnetic sensor device according to claim 7,wherein said at least a sub-circuit comprises a first sub-circuit and a second sub-circuit; wherein the first sub-circuit comprises an inverting op-amp and the second sub-circuit comprises op-amp a non-inverting op-amp; wherein the analog circuit further comprises an additional differential amplifier; and wherein a first input voltage of the differential amplifier is electrically connected to a first circuit output voltage of the first sub-circuit and a second input terminal of the differential amplifier is electrically connected to a second circuit output voltage of the second sub-circuit.
14. The magnetic sensor device according to claim 13,wherein each of the third and fourth resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; and wherein the pseudo-cosine response of the each of the third and fourth resistances of the sub-circuit is opposite to the pseudo-cosine response of the third and fourth resistances of the second sub-circuit.
15. The magnetic sensor device according to claim 13,wherein each of the first and second resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field; and wherein the pseudo-cosine response of the third and fourth resistances of the first sub-circuit is opposite to the pseudo-cosine response of the first and second resistances of the second sub-circuit.
16. The magnetic sensor device according to claim 13,wherein the four resistances of each sub-circuit comprise a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field.
17. The magnetic sensor device according to claim 14,wherein the sine magnetic sensor is biased by a bias voltage and its sine output voltage is electrically connected to the first and second sub-circuits; and wherein the additional differential amplifier is connected to the first and second output voltages of the first and second sub-circuits, such that the output voltage of the additional differential amplifier corresponds to the device output voltage of the magnetic sensor device.
18. The magnetic sensor device according to claim 14,wherein the first and second sub-circuits are biased by a bias voltage; wherein the first and second circuit output voltages of the first and second sub- circuits are electrically connected to the additional differential amplifier and to the bias input of the sine magnetic sensor; and wherein the output voltage of the sine magnetic sensor corresponds to the device output voltage of the magnetic sensor device.
19. The magnetic sensor device according to claim 7,wherein said at least a sub-circuit comprises a first sub-circuit wherein said op- amp comprises an inverting op-amp; wherein the analog circuit further comprises an additional sub-circuit; the additional sub-circuit including a non-inverting op-amp, a fifth resistance and a sixth resistance, the fifth resistance being connected to a non-inverting terminal of the op-amp, the sixth resistance being connected between the terminal and an output of the op-amp, forming a positive feedback loop of the op-amp; wherein each of the resistances comprises a TMR element having a resistance that follows a pseudo-cosine response with respect to the orientation of the external magnetic field.
20. The magnetic sensor device according to claim 19,wherein the sine magnetic sensor is biased by a bias voltage and its sine output voltage is electrically connected to the analog circuit; andwherein an additional differential amplifier is connected to the output of the first and additional sub-circuits, such that the output voltage of the additional differential amplifier corresponds to the device output voltage of the magnetic sensor device.
21. The magnetic sensor device according to claim 19,wherein the analog circuit is biased by a bias voltage; wherein the circuit output voltage of the analog circuits is electrically connected to the sine magnetic sensor; and wherein the output voltage of the sine magnetic sensor corresponds to the device output voltage of the magnetic sensor device.
22. A linear sensor device comprising a magnetic sensor device comprising:at least a magnetic sensor, comprising a plurality of TMR elements arranged in a full-bridge configuration and configured to provide a sine output voltage VSIN: ^^^^ = ^ ∙ ^^^^ ∙ ^^^ , orconfigured to provide a cosine output voltage VCOS: ^^^^ = ^ ∙ ^^^^ ∙ ^^^ ,wherein A is parameter depending on the TMR ratio of the TMR element and Vdd is a bias voltage inputted to the magnetic sensor; wherein the magnetic sensor device further comprises an analog circuit configured to generates a circuit output voltage and electrically connected to the magnetic sensor such as that the magnetic sensor device generates a device output voltage Voutthat follows one of: a tangent output voltage VTAN: ^^^^ = ^ ∙ ^^^ ∙ ^^^^ = ^ ∙ ^^^ ∙ ^^^^, where K is a constant; ora cotangent output voltage VCOTAN: ^^^^ = ^ ∙ ^^^ ∙ ^^^^^^ = ^ ∙ ^^^ ∙ ^^^^^^;wherein the linear sensor device further comprises a linearization integrated circuit (IC) electrically connected to the device output voltage of the magnetic sensor device and outputting a corrected output voltage having a linear dependence with the orientation of the external magnetic field.
23. The linear sensor device according to claim 22,wherein the linearization IC is configured to perform a hyperbolic tangent linearization correction, described as: =^ · ∙ ,where A, and b are correction parameters that are independent of the external magnetic field, Vcorris the corrected output voltage, and Voutcorresponds to the output voltage of the magnetic sensor device.
24. The linear sensor device according to claim 22,wherein the linearization IC comprises at least one analog computational unit (ACU), said at least one ACU having an input voltage corresponding to the output voltage of the magnetic sensor device and being configured to provide an output voltage corresponding to the power of n; wherein the output of each ACU is connected to a gain amplifier; wherein the linear sensor device further comprise an adder configured to of sum the output voltage of the magnetic sensor device and the output signals of the gain amplifier; and wherein the output signal of the adder corresponds to the corrected output voltage of the linear magnetic sensor device.
25. The linear sensor device according to claim 22,the analog circuit comprises a first and second circuit output voltage; and wherein the linearization IC is electrically connected to the first and second output voltages of the magnetic sensor device.
26. The linear sensor device according to claim 25,wherein the linearization IC comprises a first amplifier amplifying the second circuit output voltage, a second amplifier amplifying the first circuit output voltage, an adder configured to add the output voltage of the first amplifier and the output voltage of the second amplifier; wherein the output terminal of the analog linearization IC corresponds to the output terminal of the linear angular magnetic sensor device outputting a corrected output voltage Vcorr:^^^^^ = ^ ∙ ^^^^ + ^ ∙ ^^^^ .
27. The linear sensor device according to claim 25,further comprising a PTAT circuit configured to generate a PTAT voltage, and a multiplier inputted by the PTAT voltage and by the first circuit output voltage; and wherein the linearization IC is inputted by the multiplier output voltage of the multiplier and the second circuit output voltage.
28. The linear sensor device according to claim 27,further comprising an additional sine magnetic sensor generating a sine output voltage; wherein the PTAT circuit bias the additional sine magnetic sensor.
29. A two-dimensional analog angular magnetic sensor device for measuring anorientation of an external magnetic field, comprising : at least a magnetic sensor, comprising a plurality of tunnel magnetoresistance (TMR) elements arranged in a full-bridge configuration and configured to provide a sine output voltage VSINfrom a sine signal, a TMR ratio of the TMR elements, and a bias voltage, and a cosine output voltage VCOSfrom a cosine signal, the TMR ratio and the bias voltage, wherein the magnetic sensor device further comprises an analog circuit configured to generates a circuit output voltage and electrically connected to the magnetic sensor such as that the magnetic sensor device generates a device output voltage Vout that comprises a tangent output voltage VTAN or a cotangent output voltage VCOTAN.
Citation Information
Patent Citations
(r,e)-3,7-dimethylnon-6-ENAL, isomeric mixtures of the compound and the use in perfumery
WO2023057421A1
Rotation detecting device
JP2012127783A
Single channel magnetoresistance-based angle sensor
US20210223023A1
Signal processing method, program, and signal processing system
US20220404442A1