Bridge sensor error check
11480631 · 2022-10-25
Assignee
Inventors
- Javier Bilbao de Mendizabal (Zurich, CH)
- Mathieu Poezart (Saint-Aubin-Sauges, CH)
- Gael Close (Morges, CH)
Cpc classification
G01D18/00
PHYSICS
G01L27/00
PHYSICS
G01R33/098
PHYSICS
G01R33/093
PHYSICS
G01R33/0029
PHYSICS
International classification
G01R33/00
PHYSICS
G01L27/00
PHYSICS
G01D18/00
PHYSICS
Abstract
A method for detecting an error in a bridge sensor which is adapted for measuring a physical parameter. The method comprises biasing a first contact pair of the bridge sensor at least two times in a first direction and at least one time in a second direction opposite to the first direction; while biasing the first contact pair, measuring an output signal on a different contact pair of the bridge sensor, thus obtaining at least three output measurements which are representative for the physical parameter and which are separated by time intervals; combining the output measurements to obtain an output value which is indicative for an error in the bridge sensor, wherein the output measurements which are combined are only those output measurements which are measured when biasing the first contact pair.
Claims
1. A method for detecting an error in a bridge sensor which is adapted for measuring a physical parameter, the method comprising: biasing a first contact pair of the bridge sensor at least two times in a first direction and at least one time in a second direction opposite to the first direction, while biasing the first contact pair, measuring an output signal on a different contact pair of the bridge sensor wherein measuring of the output signal is done by sampling the output signal, thus obtaining at least three output measurements which are representative for the physical parameter and which are separated by time intervals, combining the output measurements to obtain an output value which is indicative for an error in the bridge sensor, wherein the output measurements which are combined are only those output measurements which are measured when biasing the first contact pair.
2. The method according to claim 1, wherein the time intervals between the output measurements are equal.
3. The method according to claim 1, wherein changes between consecutive output measurements of the output measurements, which are obtained when biasing the first contact pair, are related to the corresponding time interval between the consecutive output measurements when combining the output measurements.
4. The method according to claim 1, wherein the bridge sensor is a magnetic sensor.
5. The method according to claim 4, wherein the magnetic sensor is a magnetic Hall sensor.
6. The method according to claim 1, wherein the error detection is done by checking whether the output value is bound between an upper and a lower threshold value.
7. The method according to claim 1, wherein the combining comprises obtaining the output value by linearly combining the obtained output measurements or changes between the obtained output measurements and wherein the output measurements or changes between the obtained output measurements are multiplied with a weighing factor and wherein the time intervals are used to calculate the weighing factors.
8. The method according to claim 7, wherein a first and a third output measurement are measured when biasing the first contact pair in a first direction, and wherein a second output measurement is measured when biasing the first contact pair in a second direction opposite to the first direction, wherein the second output measurement is measured between the first and the third output measurement.
9. The method according to claim 8, wherein the combining comprises making the sum of the three output measurements wherein the weighing factor of the second output measurement at least comprises a factor 2.
10. The method according to claim 1, wherein measuring of the output signal is done by sampling the output signal.
11. The method according to claim 1, wherein measuring the output signal includes measuring a voltage of the output signal.
12. The method according to claim 1, wherein measuring the output signal includes measuring a current of the output signal.
13. The method according to claim 1, wherein the output signal is a digitized output signal.
14. The method according to claim 13, wherein the output signal is pre-processed before it is digitized.
15. The method according to claim 14, wherein preprocessing of the output signal includes amplifying of the output signal.
16. The method according to claim 1, wherein the bridge sensor is a tunnel magnetoresistance bridge arrangement.
17. The method according to claim 1, wherein the bridge sensor is a giant magnetoresistance bridge arrangement.
18. The method according to claim 1, wherein the biasing of the first contact pair includes using a switching circuit.
19. The method according to claim 18, wherein the switching circuit comprises a plurality of transistors that are connected with contacts of a sensor element of the bridge sensor.
20. The method according to claim 1, further includes detecting a hardware error in the bridge sensor based on the output value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7) Any reference signs in the claims shall not be construed as limiting the scope.
(8) In the different drawings, the same reference signs refer to the same or analogous elements.
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(9) The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims. The drawings described are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. The dimensions and the relative dimensions do not correspond to actual reductions to practice of the invention.
(10) The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a sequence, either temporally, spatially, in ranking or in any other manner. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other sequences than described or illustrated herein.
(11) It is to be noticed that the term “comprising”, used in the claims, should not be interpreted as being restricted to the means listed thereafter; it does not exclude other elements or steps. It is thus to be interpreted as specifying the presence of the stated features, integers, steps or components as referred to, but does not preclude the presence or addition of one or more other features, integers, steps or components, or groups thereof. Thus, the scope of the expression “a device comprising means A and B” should not be limited to devices consisting only of components A and B. It means that with respect to the present invention, the only relevant components of the device are A and B.
(12) Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner, as would be apparent to one of ordinary skill in the art from this disclosure, in one or more embodiments.
(13) Similarly it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
(14) Furthermore, while some embodiments described herein include some but not other features included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention, and form different embodiments, as would be understood by those in the art. For example, in the following claims, any of the claimed embodiments can be used in any combination.
(15) In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
(16) In a first aspect embodiments of the present invention relate to a method 400 for detecting an error in a bridge sensor 100. The bridge sensor is adapted for measuring a physical parameter such as for example a magnetic field. Such a bridge sensor comprises different contact pairs. For measuring the physical parameter, one contact pair is biased 410 while on another contact pair an output signal is measured which is indicative for the physical parameter. Measuring of the output signal may for example be done by sampling the output signal. This may for example be done at the end of the phase, during which the first contact pair is biased, when the output signal is stable. The invention is, however, not limited thereto. Measuring the output signal may for example also be done by integrating the output signal. The integration may for example be done over a fraction of the phase during which the first contact pair is biased.
(17) The method comprises biasing 410 a first contact pair of the bridge sensor 100 at least two times in a first direction and at least one time in a second direction opposite to the first direction. A current or a voltage may be biased over the first contact pair.
(18) Where in embodiments of the present invention reference is made to biasing of a contact pair in a first direction, reference is made to applying a current or voltage having a first polarity over the contact pair. Where in embodiments of the present invention reference is made to biasing of a contact pair in a second direction opposite to the first direction, reference is made to applying a current or voltage having a second polarity over the contact pair, wherein the second polarity is opposite to the first polarity.
(19) The method moreover comprises measuring 420 an output signal on a different contact pair of the bridge sensor while biasing the first contact pair. The output signal may be a voltage or a current. The output signal may be a digitized output signal. It may be pre-processed (e.g. amplified) before it is digitized. By biasing the first contact pair at least two times in the first direction and at least one time in the second direction at least three output measurements are obtained which are representative for the physical parameter and which are separated by time intervals. The physical parameter may for example be an external magnetic field.
(20) In embodiments of the present invention phase spinning may be applied to the bridge sensor. However, the output measurements which are combined to obtain an output value which is indicative for an error in the bridge sensor are only those output measurements which are measured when biasing the first contact pair.
(21) The method moreover comprises a step combining 430 the output measurements to obtain an output value which is indicative for an error in the bridge sensor. In this step the output measurements which are combined are only those output measurements which are measured when biasing the first contact pair.
(22) An exemplary embodiment of the method steps in accordance with embodiments of the present invention is illustrated in the flow chart of
(23) As will be illustrated below, the influence of the offset and the influence of changes in the physical parameter on the output value can be reduced by combining at least three output measurements which are obtained by biasing the first contact pair of the bridge sensor in accordance with embodiments of the present invention. This has as advantage that the chance for a false error detection is reduced in comparison with existing method where only first order deviations can be corrected.
(24) More details and possible implementations of methods in accordance with embodiments of the present invention will be elaborated in the following paragraphs when also discussing error detection devices in accordance with embodiments of the present invention.
(25) In a second aspect embodiments of the present invention relate to an error detection device 200 for detecting a hardware error in a bridge sensor 100. The bridge sensor can for example be a Hall sensor, a TMR (tunnel magnetoresistance), a GMR (giant magnetoresistance), or a pressure sensor. The bridge sensor comprises a sensor element 110 with at least four contacts.
(26) The bridge sensor moreover comprises a switching circuit 120 arranged such that a first pair of the contacts (e.g. d/b) can be biased in a first direction and in an opposite second direction and such that an output signal of a different pair of the contacts (e.g. a/c) can be measured. Thereby an output measurement can be obtained which is representative for a physical parameter sensed by the bridge sensor 100.
(27)
(28)
(29) The error detection device 200 is adapted for biasing, using the switching circuit 120, the first contact pair (e.g. d/b) of the bridge sensor at least two times in the first direction and at least one time in the second direction.
(30) The error detection device 200 is adapted for biasing, using the switching circuit 120, the first contact pair (e.g. d/b) of the bridge sensor at least two times in the first direction and at least one time in the second direction.
(31) The error detection device 200 moreover is adapted for measuring an output signal of a contact pair (e.g. a/c), different from the first contact pair, when biasing the first contact pair, thus obtaining at least three output measurements. The monitor circuit may therefore make use of the switching circuit 120. The output measurement may for example be a voltage over the contact pair (different from the first contact pair) or a current through the contact pair.
(32) The error detection device 200 may comprise multiplexers to control the switching circuit 120 to bias a contact pair of the sensor element and to control the switching circuit 120 such that an output signal of a different pair of the contacts can be measured. This allows biasing the first contact pair in two directions. Reading out the output signal may each time be done on the same contact pair. When biasing in the opposite direction, it is not required to swap the readout contact pair for measuring the output signal. Inverting the output measurement may in that case be sufficient.
(33) A schematic overview of an error detection device 200 in combination with a bridge sensor 100 in accordance with embodiments of the present invention is shown in
(34) The error detection device 200 is adapted for combining the output measurements to obtain an output value which is indicative for an error in the bridge sensor 100, wherein the output measurements which are combined are only those output measurements which are measured when biasing the first contact pair.
(35) There may be different hardware errors in the bridge sensor 100. There may be hardware errors in the sensor element 110 itself, there may be errors in the contacts with the sensor element, there may be errors in switching circuitry 120.
(36) A possible hardware fault in a bridge sensor could be the failure of a transistor. Hardware defects leading to a parasitic resistive path between the drain and source node of a transistor may be modelled as illustrated in
(37) These leakages may lead to a difference in the output value and may therefore be detected using a device and method in accordance with embodiments of the present invention.
(38) The error detection device according to the present invention can detect any of these errors if the error changes the output value. To detect this change, the error detection device may comprise an upper and/or lower threshold value. As soon as the output value crosses such a threshold value the error detection device may trigger an error signal. In embodiments of the present invention these threshold values may be defined by the design of the bridge sensor, they may be calibrated or they may even be dynamically compensated during operation of the bridge sensor (e.g. to compensate for temperature dependency of the sensor, to compensate for stress, to compensate for voltage and/or current bias). In embodiments of the present invention where the bridge sensor is a magnetic Hall sensor the error thresholds may be computed in units of magnetic field. In embodiments according to embodiments of the present invention the error value may be around zero for a sensor which is not defect.
(39)
(40)
(41) If a fault occurs in one or more of the transistors which are used when biasing in the first direction and doing the corresponding output measurement or when biasing in the second opposite direction and doing the corresponding measurement, this may lead to a change in the obtained output value which is obtained by combining these output measurements.
(42) In case of a magnetic Hall sensor, the output measurement may be a voltage which is dependent on the magnetic field B. In the exemplary embodiment illustrated in the following paragraphs the output measurement is a voltage. This voltage comprises a first term which is dependent on the magnetic field and a second term which is an offset. The offset value may have different causes such as the manufacturing tolerance, mechanical stress and temperature gradients within the sensing element. The offset values in the readout may appear asymmetrically in the different readout configurations.
(43) When biasing a first contact pair of the bridge sensor, at a first time t1, in a first direction the following output measurement may be obtained:
Bias.sub.bd: V.sub.Sense,ac(t1)=V.sub.ac(B(t1),t1)+V.sub.OFF,ac
(44) When biasing the first contact pair, at a first time t2, in the second direction, and measuring the output voltage over the same contact pair as before, the following output voltage may be obtained:
Bias.sub.db: V.sub.Sense,ac(t2)=−V.sub.ac(B(t2),t2)−V.sub.OFF,ac
(45) When biasing the first contact pair in the second direction, and measuring the output voltage of the same contact pair but after reversing the contact pair, the following output voltage may be obtained:
Bias.sub.db: V.sub.Sense,ca(t2)=V.sub.ca(B(t2),t2)+V.sub.OFF,ca
(46) When biasing the first contact pair of the bridge sensor, at a third time t3, in a first direction the following output measurement may be obtained:
Bias.sub.bd: V.sub.Sense,ac(t3)=V.sub.ac(B(t3),t3)+V.sub.OFF,ac
(47) In the presence of a linearly varying magnetic field, the absolute value of the voltage V.sub.ac is linearly increasing. With constant time intervals between t1, t2 and t3 this results in the following output measurements:
V.sub.ac(B(t2),t2)=−V.sub.ac(B(t1),t1)−ΔV
V.sub.ac(B(t3),t3)=V.sub.ac(B(t1),t1)+2.ΔV wherein ΔV is the change of the output measurement over a constant time interval due to the linearly varying magnetic field.
(48)
(49) The graph illustrates the difference between the absolute value of the first measured voltage and the absolute value of the second measured voltage is equal to the difference between the absolute value of the second measured voltage and the absolute value of the third measured voltage. Hence it is possible to obtain an output value which is insensitive to linear changes of the magnetic field.
(50) The output measurements of this example may be combined as follows to obtain an output value which is indicative for an error in the bridge sensor:
Output value=V.sub.Sense,ac(t1)+2.V.sub.Sense,ac(t2)+V.sub.Sense,ac(t3)
(51) In the presence of a linearly varying field and when a constant time interval is present between the measurements this equation can be reformulated as:
Output value=V.sub.ac(B(t1),t1)+V.sub.OFF,ac+2.(−V.sub.ac(B(t1),t1)−ΔV−V.sub.OFF,ac)+V.sub.ac(B(t1),t1)+2.ΔV+V.sub.OFF,ac
(52) As can be seen from this formula the different terms in this formula cancel each other out. This is in the ideal case where the varying magnetic field is linearly varying and where the offsets are identical between the measurements. However, also in the non-ideal case an output value can be obtained which has a reduced dependency on the offset values and on the magnetic field compared to the output measurements.
(53) This reduced dependency can be achieved by biasing always the same contact pair. In that case the difference between the offsets of the different output measurements is smaller than if different input pairs would be biased. Moreover also the effect of the applied field on the output measurements is more similar than when biasing different contact pairs. Additionally the reduced dependency can be achieved by obtaining at least three output measurements which are separated by time intervals.
(54) The time intervals not necessarily need to be equal. By relating changes between output measurements to the corresponding time interval between the output measurements when combining the output measurements an output value can be obtained with a reduced dependency on the varying magnetic field. An example is given below the invention is, however, not limited to this example.
V.sub.ac(B(t2),t2)=−V.sub.ac(B(t1),t1)−ΔV.Math.Δt1
V.sub.ac(B(t3),t3)=V.sub.ac(B(t1),t1)+ΔV.Math.(Δt1+Δt2)
(55) wherein ΔV is the change of the output measurement per time unit due to the linearly varying magnetic field.
(56) Hence the following changes can be obtained:
V.sub.Sense, ac(t1)+V.sub.Sense, ac(t2)=−ΔV.Math.Δt1
V.sub.Sense, ac(t2)+V.sub.Sense, ac(t3)=ΔV.Math.Δt2
(57) By relating these changes to the corresponding time intervals when combining the output measurements the influence of the varying magnetic field on the output value can be reduced. This can for example be done as illustrated in the example below:
Output value=(V.sub.Sense, ac(t1)+V.sub.Sense, ac(t2))/Δt1+(V.sub.Sense, ac(t2)+V.sub.Sense, ac(t3))/Δt2=0
(58) An error in the bridge sensor which leads to a change of the output value can for example be detected if this output crosses a threshold value. It is an advantage of embodiments of the present invention that the impact of a varying magnetic field and the impact of the offsets on the output value is reduced as this allows to reduce the threshold value. Reducing the threshold value increases the sensitivity for errors in the bridge sensor but may increase the risk of false error detections. False error detections may occur because of a varying magnetic field. It is an advantage of embodiments of the present invention that the impact of the varying magnetic field on the output value is reduced as this also reduces the chance of false error detections. It is an advantage that this can be achieved by biasing only one contact pair in two directions and by relating the changes between the measurements to corresponding time intervals.
(59) In embodiments of the present invention the output value may be obtained by linearly combining the obtained output measurements or changes between the obtained output measurements wherein the output measurements or changes between the obtained output measurements are multiplied with a weighing factor and wherein the time intervals are used to calculate the weighing factors.
(60) In embodiments of the present invention the time intervals between the measurements may be configurable. It may for example be possible to change the time interval depending on the dynamics of the external magnetic field. The time interval between the output measurements may for example be set shorter than half a period of the highest frequency of the varying physical parameter.
(61) In embodiments of the present invention the first contact pair may be biased more than two times in a first direction and more than one time in a second direction opposite to the first direction. This allows to increase the number of output measurements and to increase the signal to noise ratio for the output value.
(62) In a third aspect, embodiments of the present invention relate to a sensor 300 for measuring a physical parameter. The physical parameter may for example be a magnetic field. The sensor comprises a bridge sensor 100, comprising a sensor element 110 with at least four contacts. The sensor moreover comprises an error detection device 200 in accordance with embodiments of the present invention and an output block 310 adapted for obtaining, based on the obtained output measurements, a field value which is indicative for the physical parameter. A schematic drawing of such a sensor is shown in