METHOD FOR COMPENSATING FOR AN INFLUENCE OF A MAGNETIC INTERFERENCE SOURCE ON A MEASUREMENT OF A MAGNETIC FIELD SENSOR IN A DEVICE AND A DEVICE
20220170999 · 2022-06-02
Inventors
Cpc classification
H04R1/1091
ELECTRICITY
H04R1/1041
ELECTRICITY
G01R33/0017
PHYSICS
International classification
G01R33/00
PHYSICS
G01R33/02
PHYSICS
Abstract
A method and device for compensating for an influence of a magnetic interference source on a measurement of a magnetic field sensor in a device. In the method, a magnetic flux density M.sub.1 measured with the magnetic field sensor at a measured ambient temperature T.sub.k is compensated for with a compensation factor M.sub.interference of the magnetic interference source according to
M=M.sub.1−M.sub.interference,
where
M.sub.interference=M.sub.0+aM.sub.0(T′.sub.k−T.sub.0)
and M.sub.0 is a magnetic reference flux density relative to a reference temperature T.sub.0, a corresponding to a material parameter, which is defined for a used magnet material of the magnetic interference source, and the measured ambient temperature T.sub.k being corrected using a non-linear delay parameter to a temperature of the magnetic interference source T′.sub.k. The method is used for the axis-based compensation of a temperature drift, the material parameter a being determined individually for each Cartesian axis.
Claims
1. A method for compensating for an influence of a magnetic interference source on a measurement of a magnetic field sensor in a device including a temperature sensor configured to detect an ambient temperature, the method comprising the following steps: compensating, for a magnetic flux density M.sub.1 measured with the magnetic field sensor at a measured temperature T.sub.k, with a compensation factor M.sub.interference of the magnetic interference source according to
M=M.sub.1−M.sub.interference
where
M.sub.interference=M.sub.0+aM.sub.0(T′.sub.k−T.sub.0) and M.sub.0 is a magnetic reference flux density relative to a reference temperature T.sub.0, a corresponds to a material parameter which is defined for a used magnet material of the magnetic interference source, and the measured ambient temperature T.sub.k being corrected to a temperature of the magnetic interference source T′.sub.k using a non-linear delay parameter.
2. The method as recited in claim 1, wherein a filter is implemented with the following equation for ascertaining the temperature of the magnetic interference source T′.sub.k
T′.sub.k=(1−b)T′.sub.k-1+bT.sub.k b being the delay parameter, T.sub.k being the ambient temperature and T′.sub.k-1 being the temperature of the magnetic interference source at a preceding point in time, and a correlation between a change of the ambient temperature ΔT and a change of the temperature of the magnetic interference source ΔT′ being
ΔT′=g(ΔT,b), and the delay parameter b being ascertained by minimizing an error from
3. The method as recited in claim 1, wherein the material parameter a is determined individually for each Cartesian axis to compensate for a position dependency of the magnetic interference source and of the magnetic field sensor in the device in the measurement of the magnetic flux density M.sub.1.
4. The method as recited in claim 3, wherein the reference flux density M.sub.0 and the measured magnetic flux density M.sub.1 are temporally averaged for determining the material parameter a for each Cartesian axis.
5. The method as recited in claim 3, wherein the material parameter a for three Cartesian axes (a.sub.x a.sub.y a.sub.z).sup.T is ascertained based on a change of the magnetic flux density in three Cartesian axes, an absolute value of change of the magnetic flux density ΔM being obtained from
ΔM=M.sub.1−M.sub.0=√{square root over (m.sub.1,x.sup.2+m.sub.1,y.sup.2+m.sub.1,z.sup.2)}−√{square root over (m.sub.0,x.sup.2+m.sub.0,y.sup.2+m.sub.0,z.sup.2)}, and indicating the measured magnetic flux density M.sub.1 and the reference flux density M.sub.0, the change of the magnetic flux density ΔM in three Cartesian axes being obtained from
6. The method as recited in claim 3, wherein the material parameter a is ascertained for three Cartesian axes (a.sub.x a.sub.ya.sub.z).sup.T based on the magnetic flux density in three Cartesian axes, the magnetic flux density in three Cartesian axes being determined from the reference flux density M.sub.0 in three Cartesian axes (m.sub.0,x, m.sub.0,y, m.sub.0,z), the material parameter a for three Cartesian axes (a.sub.x a.sub.y a.sub.z).sup.T being obtained from
7. The method as recited in claim 6, wherein an influence of a geomagnetic field on the reference flux density M.sub.0 in three Cartesian axes (m.sub.0,x, m.sub.0,y, m.sub.0,z) is taken into consideration.
8. The method as recited in claim 3, wherein the material parameter a is determined for each individual Cartesian axis once during an initialization of the device, and the compensation of the temperature drift of the measured magnetic flux density M.sub.1 being continuously carried out during an operation of the device.
9. A device, comprising: a magnetic interference source; a magnetic field sensor configured to detect a magnetic flux density; a temperature sensor configured to detect an ambient temperature; and a processing unit, which is connected to the magnetic field sensor and to the temperature sensor, the processing unit being configured to compensate for an influence of the magnetic interference source on a measurement of the magnetic field sensor in the device, the processing unit being configured to: compensate, for the magnetic flux density M.sub.1 measured with the magnetic field sensor at a measured temperature T.sub.k, with a compensation factor M.sub.interference of the magnetic interference source according to
M=M.sub.1−M.sub.interference
where
M.sub.interference=M.sub.0+aM.sub.0(T′.sub.k−T.sub.0) and M.sub.0 is a magnetic reference flux density relative to a reference temperature T.sub.0, a corresponds to a material parameter which is defined for a used magnet material of the magnetic interference source, and the measured ambient temperature T.sub.k being corrected to a temperature of the magnetic interference source T′.sub.k using a non-linear delay parameter.
10. The device as recited in claim 9, wherein the device is a hearing device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The above-described properties, features and advantages of the present invention and the manner in which these are achieved become more clearly and explicitly understandable in conjunction with the following description of exemplary embodiments, which are explained in greater detail in conjunction with the schematic figures.
[0028]
[0029]
[0030]
[0031]
[0032]
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0033] It is noted that the figures are merely schematic in nature and are not true to scale. In this sense, components and elements shown in the figures may be represented as excessively large or reduced for better understanding. It is further noted that the reference numerals in the figures have been selected unchanged if identically designed elements and/or components are involved.
[0034]
[0035] Device 100 in
[0036] Temperature fluctuations or temperature changes are generally expressed in such devices 100 via the magnetic flux density or the change of the magnetic flux density or the magnetic field or the change of the magnetic field (i.e., the magnetic field strength or the change of the magnetic field strength).
M.sub.k−M.sub.0=aM.sub.0(T.sub.k−T.sub.0)
[0037] in this case T.sub.0 corresponding to a reference temperature, which is selected, for example, as room temperature at 20° C. or 25° C. and M.sub.0 corresponding to a reference flux density for reference temperature T.sub.0, T.sub.k and M.sub.k being the magnet temperature and the magnetic flux density at point in time k, and a indicating the material parameter for the used magnet material.
[0038] In this case, material parameter a is independent of the mounting and placement of the permanent magnet of interference source 120, not, however, reference flux density M.sub.0. Even when using the same permanent magnet with the same magnet material, the results are only minimal mounting and placement deviations of the permanent magnet in a magnetic reference flux density M.sub.0 deviating under constant temperature. For this reason, the linear increase is generally divided into a constant value for material parameter a and a variable value for reference flux density M.sub.0.
[0039] Accordingly, a calibration of the measurement of magnetic reference flux density M.sub.0 by magnetic field sensor 125 in
[0040] In a second method step 210, a multiple measured data set is provided. The multiple measured data set includes, for example, a large number of measurements of the ambient temperature with the aid of temperature sensor 135 and a large number of measurements of the magnetic flux density with the aid of magnetic field sensor 125 in
[0041] In this case, M and T correspond to the multiple measured data set provided in second method step 210.
[0042] Since, however, a correlation between the magnetic flux density or a change of the magnetic flux density (the magnetic field or the magnetic field strength or the change of the magnetic field or the change of the magnetic field strength) and the temperature or the change of the temperature in equations 1 and 2 in each case references the magnet temperature, it is necessary to initially convert the measured ambient temperature (or the time series of measured ambient temperature values) into the magnet temperature of the magnetic interference source 120, in order to be able to further correctly apply the linear correlation of the variables in the aforementioned equations. This approach is schematically represented in
[0043] To ascertain the temperature of magnetic interference source T′.sub.k, a filter is implemented with the following equation (3)
T′.sub.k=(1−b)T′.sub.k-1+bT.sub.k
[0044] b corresponding in this case to the delay parameter, T.sub.k corresponding to the ambient temperature and T′.sub.k corresponding to the magnet temperature at point in time k, and T′.sub.k-1 corresponding to the magnet temperature at a preceding point in time. The filter is designed, for example, as an exponential filter or as an IIR filter (IIR: Infinite Impulse Response). A correlation between a change of ambient temperature ΔT and a change of the temperature of magnetic interference source ΔT′ may be formulated with the aid of equation (4)
ΔT′=g(ΔT,b).
[0045] Delay parameter b in
[0046] ΔM indicating a change of the magnetic flux density and M.sub.0 referring to the aforementioned reference flux density.
[0047] Methods 200, 300
[0048]
[0049] A first method step 403 in
[0050] In a fourth method step 411, the measured magnetic flux densities are temporally averaged in order, for example, to reduce the noise influence. For example, the averaging time may be 1 second. In a fifth method step 413, the aforementioned flux densities are selected, where the orientation of device 100 therefor should not be changed, so that the geomagnetic field along the Cartesian axes does not change and is correctable by subtraction. In a sixth method step 417, a degree of the change of magnetic flux density ΔM is obtained from equation (6)
ΔM=M.sub.1−M.sub.0=√{square root over (m.sub.1,x.sup.2+m.sub.1,y.sup.2+m.sub.1,z.sup.2)}−√{square root over (m.sub.0,x.sup.2+m.sub.0,y.sup.2+m.sub.0,z.sup.2)}
[0051] M.sub.1 corresponding in this case to the measured flux density and M.sub.0 corresponding to the reference flux density.
[0052] The change of magnetic flux density ΔM in three Cartesian axes is obtained from equation (7)
[0053] In a seventh method step 419, a projection matrix Rot.sub.Projection is ascertained according to equation (8)
[0054] I.sub.3×3 corresponding to the unit matrix, [ ].sub.x indicating the notation for the corresponding cross product matrix, in order to map the following equation (9)
[0055] and to ascertain in an eighth method step 430 material parameter a for three Cartesian axes (a.sub.xa.sub.ya.sub.z) from equation (10)
[0056] based on projection matrix Rot.sub.Projection. In this case, material parameter a, which has been ascertained with the aid of method 200 in
[0057] A ninth method step 421 in
[0058] The selected magnetic reference flux density (m.sub.0,x, m.sub.0,y, m.sub.0,z).sup.T may be influenced by the geomagnetic field, which may result in a strengthening of the temperature effect. Assuming the magnetic flux density in the z direction, m.sub.0,z without the geomagnetic field has a magnetic reference flux density of half the geomagnetic field, so that m.sub.0,z may be written (equation 12) as follows
[0059] Device 100 in
[0060] includes half the amount of the geomagnetic field or of the magnetic flux density of the geomagnetic field, but with a minus sign. If this result is inserted into the projection matrix, then a strengthening rather than a compensation of the temperature effect in the z direction takes place due to the changed sign. However, since the geomagnetic field or the magnetic flux density of the geomagnetic field is considered to be small (compared to the magnetic interference source, for example, small by a factor of 30), then the strengthening as a result of the minus sign continues to be negligibly small and may accordingly be disregarded.
[0061] One method according to a fourth specific embodiment 500 in
[0062] A second method step 530 is designed similarly to eighth method step 430 in
[0063] The idea of compensation involves “resetting” or “moving” the drifted magnetic flux density or the drifted magnetic field to a reference level, which is defined by given reference temperature T.sub.0. This means that the drifted magnetic flux density (or the drifted magnetic field) is reset after the compensation to the corresponding value of the magnetic flux density (value of the magnetic field or value of the magnetic field strength), in which the temperature corresponds to reference temperature T.sub.0, i.e., for example, 20° C. or 25° C. With the aid of reference temperature T.sub.0 and reference flux density M.sub.0, it is possible to determine magnetic flux density M.sub.Komp compensated by the temperature drift as follows for the Cartesian axes
m.sub.Komp,x=m.sub.1,x−a.sub.xM.sub.0(T′.sub.k−T.sub.0),
m.sub.Komp,y=m.sub.1,y−a.sub.yM.sub.0(T′.sub.k−T.sub.0),
m.sub.Komp,z=m.sub.1,z−a.sub.zM.sub.0(T′.sub.k−T.sub.0).
[0064] The present invention has been described in detail with the aid of preferred exemplary embodiments. Instead of the exemplary embodiments described, further exemplary embodiments are possible, which may include additional modifications or combinations of described features. For this reason, the present invention is not restricted by the examples described, since other variations may be derived therefrom by those skilled in the art without departing from the scope of protection of the present invention in the process.