This application is a non-provisional patent application based on U.S. Provisional Patent Application Ser. No. 61/906,093 filed on Nov. 19, 2013 and titled “Magnetic Sensor Saturation Detection,” the entire contents of which is incorporated by reference herein for all purposes.
As is well known, the demand for magnetic field sensors for mobile devices, such as mobile phones, personal navigation devices, smart watches, etc., to implement electronic compass applications, such as providing step-by-step directions, has been increasing rapidly as GPS functionality is now found in many of these devices.
There are many different types of magnetic field sensors and those based on anisotropic magnetoresistive (AMR) technology are also well known. An AMR sensor operates on the principle that there are some materials, e.g., permalloy, that exhibit a resistance that is dependent on the orientation of the magnetization of the material. In most AMR materials, the resistance of the material is highest when the current in the material is running parallel with the magnetization vector as shown in
In an AMR device, a thin film permalloy material is deposited on a silicon wafer while a strong magnetic field is applied to create permalloy resistors. The magnetic domains of these permalloy resistors are aligned in the same direction as the applied field thereby establishing a magnetization vector. Subsequent lithographic and etching steps define the geometry of the AMR resistors.
In a well-designed AMR sensor, the magnetic material is designed to have a preferential magnetization orientation referred to as the “easy axis” of the material. As a result, under a zero magnetic field, the material will be magnetized along the easy axis. As a magnetic field is introduced, however, the magnetization of the material will rotate toward the external magnetic field. The stronger the field, the more the magnetization will rotate away from the easy axis as shown in
Magnetic field sensors are designed to operate over a defined full-scale range. The full-scale range of a sensor is the range of values between the minimum and the maximum values that the sensor can accurately measure. In an ideal sensor, if the input stimulus is outside of the full-scale range, the output of the sensor clips to the max and min of the full-scale range, as shown in
When the external magnetic field becomes higher than the saturation field of AMR material, however, the resistance is no longer a function of the field strength and is instead only a function of the field orientation. As a result, AMR sensors do not clip when the measured magnetic field exceeds the full-scale range. Instead, the sensor output will tend to drop to zero as the magnetic material goes into saturation, as shown in
What is needed, therefore, is a better approach to determining when an AMR sensor is in magnetic saturation.
AMR-based magnetic sensors have a region in which the output is a linear response to the magnetic field. When approaching magnetic saturation, and prior to reaching saturation, however, the output response “re-traces” back to zero but with a different slope. If the sensor is completely saturated it reads close to zero so it is possible to detect this condition. A problem can arise, however, when the device is saturated, but still responding, as the same value could be reported for two different fields, one in the linear region and one in the saturation region. It is important to know if the device is operating in the linear region and has not exceeded the maximum response and that the sensor is on its way back to zero. The concepts and systems described herein provide a determination that the device is operating in the linear region.
In one embodiment, a method of detecting magnetic field saturation of an AMR-based magnetic field sensing system includes orienting a first sensitive axis of a first magnetic field sensing device along a first virtual line; orienting a second sensitive axis of a second magnetic field sensing device along a second virtual line at a first angle α relative to the first virtual line; and comparing a first output signal representing a magnetic field detected by the first sensing device to a second output signal representing a magnetic field detected by the second sensing device to determine if at least one of the first and second sensing devices is magnetically saturated.
In another embodiment, a method of detecting magnetic field saturation of an AMR-based magnetic field sensing device includes: obtaining a first output signal representing a magnetic field detected by the sensing device; generating a magnetic bias field of a predetermined intensity adjacent the sensing device and obtaining a second output signal representing a magnetic field detected by the sensing device while generating the magnetic bias field; and comparing the first and second output signals and if a difference therebetween is not of a predetermined amount then determining that the sensing device is in magnetic saturation.
In yet another embodiment, a method of detecting magnetic field saturation of an AMR-based magnetic field sensing system includes: orienting a first sensitive axis of a first magnetic field sensing device along a first virtual line, the first sensing device having a first dynamic range; orienting a second sensitive axis of a second magnetic field sensing device along a second virtual line parallel to the first virtual line, the second sensing device having a second dynamic range different from the first dynamic range; and comparing a first output signal representing a magnetic field detected by the first sensing device to a second output signal representing a magnetic field detected by the second sensing device to determine if at least one of the first and second sensing devices is magnetically saturated.
Various aspects of at least one embodiment of the present invention are discussed below with reference to the accompanying figures. It will be appreciated that for simplicity and clarity of illustration, elements shown in the drawings have not necessarily been drawn accurately or to scale. For example, the dimensions of some of the elements may be exaggerated relative to other elements for clarity or several physical components may be included in one functional block or element. Further, where considered appropriate, reference numerals, where used, may be repeated among the drawings to indicate corresponding or analogous elements. For purposes of clarity, however, not every component may be labeled in every drawing. The figures are provided for the purposes of illustration and explanation and are not intended as a definition of the limits of the invention. In the figures:
The entire contents of U.S. Provisional Patent Application Ser. No. 61/906,093 filed on Nov. 19, 2013 and titled “Magnetic Sensor Saturation Detection,” is incorporated by reference herein for all purposes.
In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present invention. It will be understood by those of ordinary skill in the art that these embodiments of the present invention may be practiced without some of these specific details. In other instances, well-known methods, procedures, components and structures may not have been described in detail so as not to obscure the embodiments of the present invention.
Prior to explaining at least one embodiment of the present invention in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of the components set forth in the following description or illustrated in the drawings. The invention is capable of other embodiments or of being practiced or carried out in various ways. Also, it is to be understood that the phraseology and terminology employed herein are for the purpose of description and should not be regarded as limiting.
It is appreciated that certain features of the invention, which are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, various features of the invention, which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable sub-combination.
As known to those of skill in the art, to measure a magnetic field using an AMR resistor or device, electric current flows through the AMR resistor, and an external magnetic field, for example, earth's local magnetic field, modifies the magnetization vector and changes the resistance value of the AMR device.
Referring now to
Generally, the four AMR resistors are matched to one another in the bridge circuit and, therefore, in the absence of an external magnetic field, the bridge is balanced and produces a near zero voltage difference between the two output nodes OUT+ and OUT−. In the presence of an external magnetic field, the respective resistance of each AMR resistor changes in accordance with the magnetic field magnitude and polarity so that a differential voltage signal appears on the two output nodes OUT+ and OUT−.
The bridge circuit represented in
AMR Saturation Detection by Combining Sensors with Different Full-Scale Ranges
In one embodiment of the present invention, two or more magnetic sensors with different respective full-scale ranges are provided to determine if one or both are in saturation. The vector sum of the two or more sensors with different dynamic ranges will be equal (within tolerance of the sensor) when all sensors are within their full-scale range. If one or more sensors are saturated, the vector sums of the sensors will no longer be equal.
Referring now to
In operation, therefore, the respective outputs of the sensors 604, 608 are compared to one another. Such a comparison may be implemented by discrete components in an analog implementation or converted to digital signals by operation of an analog-to-digital converter (ADC) in conjunction with a microprocessor, or similar processing device, as would be understood by those of ordinary skill in the art.
Any determination of saturation would then be conveyed as a signal, for example, thus alerting to the magnetic saturation condition.
AMR Saturation Detection Using DC Current
In another embodiment of the present invention, magnetic field saturation of an AMR device is detected by applying a DC offset to the device and observing if the sensor output moves by the predicted offset.
Conceptually, referring now to
As shown in
In operation, a first measurement of the magnetic field is made with no current on the trace 908. Subsequently, a small amount of current is provided on the trace 908. As shown in
If the sensor is completely saturated, i.e., the output is zero, then the applied magnetic field from the current in the trace 908 will have no effect. If the field is on the steep downward slope of the transfer curve, the offset field will change the output opposite of what is expected and at a larger rate.
AMR Saturation Detection Using Permanent Magnet DC Bias
As discussed above, when an AMR sensor goes into saturation, the output value drops from a maximum output reading down to a reading close to zero. As a result, when a sensor is providing a very small output value for the magnetic field, a user cannot determine if the sensor is saturated or if it is measuring a very small magnetic field.
Referring now to
In this configuration, the sensor 920 will output a reading equal to the bias magnetic field when there is no external magnetic field present, as shown in
AMR Saturation Detection by Arranging Sensitive Axes at 45° Offsets
The magnetic field strength required to saturate an AMR-based magnetic sensor depends upon the orientation of the field relative to the sensitive axis of the sensor. Saturation occurs earliest when the field is at 45° with respect to the sensitive axis.
As shown in
Thus, as shown in
One or more of the embodiments of the present invention described above may be implemented in a system 400 as shown in
Thus, the comparison operations and detection of saturation may be incorporated into the ASIC 402 or conveyed to a microprocessor (not shown). The saturation detection components may be incorporated into the separate sensors 404, 406 and 408 or they may be provided separately with their own data lines and connections. One of ordinary skill in the art will understand how this incorporation could be accomplished and the details need not be described further here.
Each device 400 is individually adjusted and tested for parameters such as sensitivity, offset, biasing voltage, oscillator frequency, etc. Calibration information may be stored inside a fuse array 416 during a factory trimming process. A band gap/biasing circuit 418 may be provided to set the internal reference voltage as well as the biasing currents for analog circuits and sensor bridges. On-chip driver transistors in a SET module portion 420 provide nominal current for the SET coil. The energy required during the SET event may be stored in an external capacitor (not shown) that is continuously charged from the power supply. An I2C digital communications module 422 is operated in FAST mode, i.e., up to a 400 KHz clock rate, and eliminates the need for an external analog digital converter and provides a two-pin I2C interface 424 to an external MCU.
In one embodiment of the present invention, in normal operation, the ASIC 400 is in a dormant state with virtually no power consumption except for leakage current. When a demand for measurement is initiated by a system MCU, a measurement command is sent through the I2C interface 424. In addition, actions will be triggered by such commands as to execute a SET operation, biasing of the sensor bridge, an analog to digital conversion, detection of saturation, etc. The measurement result is then stored in on-chip registers provided in the I2C module 422 waiting to then be transferred to a system MCU.
Having thus described several features of at least one embodiment of the present invention, it is to be appreciated that various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be part of this disclosure and are intended to be within the scope of the invention. Accordingly, the foregoing description and drawings are by way of example only, and the scope of the invention should be determined from proper construction of the appended claims, and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
6822443 | Dogaru | Nov 2004 | B1 |
20090295382 | Sterling | Dec 2009 | A1 |
20110227569 | Cai | Sep 2011 | A1 |
20120169328 | Williams | Jul 2012 | A1 |
Number | Date | Country | |
---|---|---|---|
61906093 | Nov 2013 | US |