External magnetic field angle determination
10209321 ยท 2019-02-19
Assignee
Inventors
Cpc classification
B82Y25/00
PERFORMING OPERATIONS; TRANSPORTING
G01R33/093
PHYSICS
International classification
B82Y25/00
PERFORMING OPERATIONS; TRANSPORTING
Abstract
Magnetoresistive sensors are commonly used for angular detection in many automotive applications. According to an exemplary embodiment of the present invention, a sensor is provided in which a first half-bridge has magnetoresistive resistors with barber-pole stripes and in which a second half-bridge has magnetoresistive resistors without barber-pole stripes. One of the resistors without barber-pole stripes is rotated with respect to the other three resistors by 90. This may provide for an improved angle determination with reduced angular errors due to offset.
Claims
1. A sensor configured to measure an angle of an external magnetic field, the sensor comprising: a first half-bridge comprising a first magnetoresistive resistor and a second magnetoresistive resistor, wherein the first magnetoresistive resistor and the second magnetoresistive resistor have barber-pole stripes; a second half-bridge comprising a third magnetoresistive resistor and a fourth magnetoresistive resistor, wherein the third magnetoresistive resistor and the fourth magnetoresistive resistor do not have barber-pole stripes, the third magnetoresistive resistor is rotated with respect to the fourth magnetoresistive resistor by an angle of 90 degrees, and the first magnetoresistive resistor and the second magnetoresistive resistor are arranged parallel to the third magnetoresistive resistor; and a modulation unit configured to modulate the external magnetic field with an Alternating Current (AC) field in a continuous manner and generate a magnetic modulation field with both a sine signal and a cosine signal, wherein the external magnetic field is superposed by a rotating magnetic field vector.
2. The sensor of claim 1, wherein the modulation unit comprises: a first coil configured to generate the magnetic modulation field in an x-direction; and a second coil configured to generate the magnetic modulation field in a y-direction.
3. The sensor of claim 2, wherein the first coil is excited by the sine signal and the second coil is excited by the cosine signal.
4. The sensor of claim 2, further comprising: a control unit configured to decide, on the basis of measured peak amplitudes, which one of the two half-bridges is used for calculation of the angle of the external magnetic field.
5. The sensor of claim 2, further comprising: a detector configured to measure peak amplitudes which correspond to an output from the two half-bridges; and a control unit configured to calculate the angle of the external magnetic field according to =arctan(U1.sub.pk/U2.sub.pk), wherein U1.sub.pk and U2.sub.pk are the measured peak amplitudes.
6. A method for measuring an angle of an external magnetic field, the method comprising: modulating the external magnetic field in two directions with an Alternating Current (AC) field in a sensor comprising a first half-bridge and a second half-bridge, the first half-bridge has a first magnetoresistive resistor and a second magnetoresistive resistor, wherein the first magnetoresistive resistor and the second magnetoresistive resistor have barber-pole stripes, and the second half-bridge has a third magnetoresistive resistor and a fourth magnetoresistive resistor, wherein the third magnetoresistive resistor and the fourth magnetoresistive resistor do not have barber-pole stripes, the third magnetoresistive resistor is rotated with respect to the fourth magnetoresistive resistor by an angle of 90 degrees, and the first magnetoresistive resistor and the second magnetoresistive resistor are arranged parallel to the third magnetoresistive resistor; and exciting a first coil and a second coil in a continuous manner to generate a magnetic modulation field, wherein the first coil is excited by a sine signal and the second coil is excited by a cosine signal, and the external magnetic field is superposed by a rotating magnetic field vector.
7. The method of claim 6, further comprising: generating the magnetic modulation field in an x-direction and in a y-direction.
8. A non-transitory computer-readable medium, in which a computer program for measuring an angle of an external magnetic field is stored which, when executed by a processor, causes the processor to execute a method for measuring an angle of an external magnetic field, the method comprising: modulating an Alternating Current (AC) magnetic field in two directions in a sensor comprising a first half-bridge and a second half-bridge, the first half-bridge has a first magnetoresistive resistor and a second magnetoresistive resistor, wherein the first magnetoresistive resistor and a second magnetoresistive resistor have barber-pole stripes, and the second half-bridge has a third magnetoresistive resistor and a fourth magnetoresistive resistor, wherein the third magnetoresistive resistor and the fourth magnetoresistive resistor do not have barber-pole stripes, wherein the third magnetoresistive resistor is rotated with respect to the fourth magnetoresistive resistor by an angle of 90 degrees, and the first magnetoresistive resistor and the second magnetoresistive resistor are arranged parallel to the third magnetoresistive resistor; and exciting a modulation unit comprising a first coil and a second coil in a continuous manner for generation of a magnetic modulation field, wherein the first coil is excited by a sine signal and the second coil is excited by a cosine signal, and the external magnetic field is superposed by a rotating magnetic field vector.
9. The sensor of claim 5, wherein the measured peak amplitudes are measured by a peak detector.
10. The sensor of claim 5, wherein the measured peak amplitudes ate measured by a root mean square (RMS) detector.
11. The sensor of claim 2, further comprising: a first voltage-to-current converter configured to excite the first coil; and a second voltage-to-current converter configured to excite the second coil.
12. The method of claim 6, further comprising: measuring resulting AC amplitudes at an output of a Wheatstone bridge.
13. The method of claim 6, further comprising: filtering an AC part of an output signal with a high pass filter (HPF).
14. The method of claim 6, wherein an AC part of an output signal and the sine signal are both sinusoidal signals.
15. The method of claim 14, wherein the AC part of the output signal has a phase shift compared to the sine signal.
16. The method of claim 15, wherein the phase shift corresponds to the angle of the external magnetic field.
Description
(1) Exemplary embodiments of the present invention will now be described in the following, with reference to the following drawings.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14) The illustration in the drawings is schematically. In different drawings, similar or identical elements are provided with the same reference numerals.
(15) Magnetoresistive sensors for angular sensing currently in production and development make use of two Wheatstone bridges, which are rotated against each other by an angle of 45. If the angle of an external magnetic field is changed the two bridges deliver signals with a phase difference of 45.
(16) These signals are usually amplified and converted to digital. In a following step the external magnetic field angle is calculated by
=*arctan(U1/U2)
where U1 and U2 are the ouput voltages of the two Wheatstone bridges
(17) Disadvantages of this method may be the relatively high offset of the sensor element and its offset drift over temperature, which cause a significant angular error. These drawbacks may result in the need for a sophisticated offset compensation on the signal conditioning die. A new element and new signal conditioning concept is proposed, which will eliminate angular errors due to offset and therefore eliminates the need for offset compensation.
(18) This is achieved by modulating the external magnetic field with planar coils implemented on the sensor die.
(19)
(20) The Wheatstone bridge comprises four magnetoresistive resistors 101, 102, 803 and 804. The connection between resistors 102 and 804 is connected to the ground 118. Furthermore, electric connections 119, 120 and 121 are provided between the resistors 101 and 803, 101 and 102, 803 and 804, respectively, for applying a signal or for measuring the sensor output.
(21) The x- and y-directions are defined by access 122 and 123, respectively.
(22) Such sensor elements are typically used in compass applications, where the flipping coil 106 is used to set the internal direction of magnetization of the Permalloy structures by applying short turn high current. This is done in order to prevent an accidental inversion of the elements transfer characteristic (flipping). The compensation coil 105 is in compass applications used to create a field opposite in size and direction to the external magnetic field. By this measure the magnetoresistive Wheatstone bridge (MR-Wheatstone bridge) is operated in a constant bias point in order to avoid non-linearity errors.
(23) As may be seen from
(24) In other words, the four resistors are adapted in the form of magnetoresistive resistors with pair-wise equal direction of the barber-pole stripes.
(25)
(26) The horizontal axis 201 depicts the angle , ranging from 0 to 400. The vertical axis 202 shows the output voltage U.sub.out in mV/V, ranging from 15 mV/V to +15 mV/V. Reference numeral 203 shows the output curve of the sensor.
(27) As a reversal of the transfer characteristic due to flipping may only occur when sensing weak fields, the output is continuous because of the strength of the external magnetic field (sensor is operated in saturation). It is important to note, that in this mode of operation, the sensor output is only dependent on the direction of the magnetic field and not on the magnetic field strength.
(28) Basic idea of the invention is to excite the two integrated coils alternatingly or simultaneously in order to modulate the direction of the external field vector and thus to modulate the output signal of the MR Wheatstone bridge.
(29)
(30) The horizontal axis 302 shows the x-component of the magnetic field Hx and the vertical axis 301 shows the y-component of the magnetic field Hy. Reference numeral 303 references the electromagnetic field vector and reference numeral 304 shows the modulation field.
(31) With an excitation in x-direction, the field direction and thus the output of the bridge is not changed at all, while an excitation with the other coil in y-direction (
(32) When the external magnetic field vector is turned by 90, relations reverse, as depicted in
(33) The horizontal axis 401 again shows the x-component of the magnetic field Hx and the vertical axis 402 shows the y-component of the magnetization Hy. 403 shows the magnetic field vector and 404 shows the magnetic modulation field. In
(34) 405 shows the resulting magnetic field vector when the modulation field 404 points in positive x-direction.
(35) For evaluation of the magnetic field angle a possible solution is therefore to excite the coils with an AC-magnetic field and to measure the resulting AC-amplitudes at the output of the Wheatstone bridge.
(36)
(37) The signal conditioning unit or sensor 500 comprises an oscillator 107, a voltage-current-converter 108, switches 109, 110 and two coils 105, 106. In the context of this application these elements may be referred to as modulation unit.
(38) The switches 109, 110 are adapted for providing an excitation of always one of the coils 105, 106.
(39) The signal conditioning unit 500 further comprises the Wheatstone bridge with resistors 101, 102, 803 and 804, which is connected to an amplifier 111. In other words, the oscillator 107 excites always one of the coils 105, 106 and produces a magnetic field either in x- or in y-direction. The output of the magnetoresistive bridge is then amplified by the instrumentation amplifier 111.
(40) The AC part is then filtered with a high-pass filter 112 and the amplitudes are measured, for example by a peak-detector 113 or a route mean square (RMS) detector. The measured amplitudes are then converted to digital by analog-to-digital converter 114 and the external field angle is calculated by the calculation unit 115 corresponding to:
=arctan(U1pk/U2pk),
wherein U1pk and U2pk are the measured peak amplitudes.
(41) The calculated value is then output by output 116. Furthermore, the calculation unit 115 is connected to the switches 109, 110 by line 117 for controlling the switches on the basis of the signal from the converter 114 or on the basis of the calculated signal.
(42) The excitation signal generated by the oscillator 107 may have the form of a sine- or cosine signal or may have the form of a triangular signal or simply a step-like on/off signal or any other form.
(43) An alternative way of evaluating is to constantly modulate both of the integrated excitation coils with sine- and cosine signals. In this case, the magnetic field vector of the external field is superposed by a rotating magnetic field vector as shown in
(44) In other words, the coil 105 is excitated by a sine-signal and the second coil 106 is excitated by a cosine signal.
(45) The horizontal axis in
(46) In this case, the AC part of the resulting output signal has a phase shift compared to the original sine-signal, which corresponds to or even is the same as the angle of the external magnetic field. This principle is shown in
(47)
(48) The horizontal axis 701, 705 in
(49) The phase shift of the output signal relative to the coil excitation signals corresponds to the angle of the external magnetic field.
(50) However, for reason of current consumption it may only be possible to modulate with small magnetic fields, which causes only small changes of the measured magnetic field angle. With respect to
(51) For this reason, it is proposed to use a magnetoresistive sensor element configuration, in which one half-bridge contains magnetoresistive resistors with barber-pole stripes and the other half-bridge contains magnetoresistive resistors without barber-pole stripes, but which are rotated against each other by 90 (see
(52) As may be see from
(53) Alternatively, the two half-bridges may be rotated against each other by 45.
(54)
(55) The curve 903 shows the half-bridge output without barber-pole stripes and the curve 904 shows the half-bridge output of the half-bridge with barber-pole stripes.
(56) As may be seen from
(57)
(58) The sensor device depicted in
(59) The control logic 1001 decides depending on the measured amplitudes, which of the half-bridges is used for evaluation. This half-bridge (either bridge 101, 102 or bridge 103, 104) is then selected via the switches 1002 or 1003 and the external magnetic field angle is calculated by measuring the selected half-bridges amplitudes when alternatingly exciting the integrated coils 105, 106 (via switches 110, 109).
(60)
(61) The device comprises, inter alia, voltage-current-converters 1102, 1103 for exciting the coils 106, 105. The output signal from either the first or the second half-bridge (selectable by switches 1002, 1003) is detected by peak detector 113. The output of the peak detector 113 is transmitted to a control logic 1101 via operational amplifier 1105 (which is further connected to a reference voltage 1106). The control logic 1101 selects the half-bridge with the larger amplitude via switches 1002, 1003. The phase difference of the AC part of the signal from this half-bridge to the original excitation signal 1108 is measured after passing the amplifier 1104 by the phase detector 1107. The output signal 116 of the phase detector 1107 is directly equal (or directly corresponds) to the angle of the external magnetic field.
(62) It should be noted that the term comprising does not exclude other elements or steps and the a or an does not exclude a plurality. Also elements described in association with different embodiments may be combined.
(63) It should also be noted that reference signs in the claims shall not be construed as limiting the scope of the claims.