Correction magnetic field generating device, magnetic field sensor and correction method thereof
阅读说明:本技术 校正磁场产生装置及其磁场传感器与校正方法 (Correction magnetic field generating device, magnetic field sensor and correction method thereof ) 是由 傅乃中 郭明谕 汪大镛 于 2019-04-30 设计创作,主要内容包括:本发明公开了一种具校正磁场产生装置及其磁场传感器与校正方法,通过内建可以产生相互正交或接近正交且均匀的三轴向磁场的结构,使得磁场传感器可以得到三轴磁场校正信息,达到随时可以自我校正磁场感测能力的效果。其后,磁场传感器在实际进行测量时,可以通过此校正信息量对测量的结果进行校正,以提升测量三轴磁场信息的准确性。(The invention discloses a device with a correction magnetic field generating function, a magnetic field sensor and a correction method thereof, wherein a structure capable of generating mutually orthogonal or nearly orthogonal and uniform triaxial magnetic fields is built in the device, so that the magnetic field sensor can obtain triaxial magnetic field correction information, and the effect of self-correcting the magnetic field sensing capability at any time is achieved. And then, when the magnetic field sensor actually measures, the measurement result can be corrected through the correction information quantity, so that the accuracy of measuring the triaxial magnetic field information is improved.)
1. A corrective magnetic field generating device for generating a three-dimensional corrective magnetic field, comprising:
a first conductive plate for generating a first axial magnetic field of a known magnitude by a first current;
a second conductive plate disposed parallel or nearly parallel to one side of the first conductive plate, the second conductive plate generating a second axial magnetic field of a known magnitude orthogonal or nearly orthogonal to the first axial magnetic field by a second current; and
a conductive coil surrounding the first and second conductive plates for generating a third axial magnetic field of known magnitude orthogonal or nearly orthogonal to the first and second axial directions by a third current.
2. The apparatus of claim 1, comprising a power module, further comprising:
a power source; and
the multiplexer is used for switching the electric connection between the power supply and the first conductive plate, the second conductive plate or the conductive coil according to a control signal, so that the power supply provides the first current, the second current and the third current respectively.
3. The apparatus of claim 1, wherein the first current has a first direction and the second current has a second direction orthogonal or nearly orthogonal to the first direction.
4. The aligning magnetic field generating apparatus of claim 3, wherein the conductive coil is formed by a conductive wire wound around the first and second conductive plates to form at least one turn, the conductive coil having a vertical axis direction orthogonal or nearly orthogonal to the first and second flow directions.
5. The aligning magnetic field generating apparatus of claim 1, wherein the first conductive plate further has a plurality of first conductive plates juxtaposed with each other, wherein a space is provided between adjacent first conductive plates.
6. The aligning magnetic field generating apparatus of claim 1, wherein the second conductive plate further has a plurality of second conductive plates juxtaposed with each other, wherein a space is provided between adjacent second conductive plates.
7. A magnetic field sensor having the capability of self-correcting magnetic fields, comprising:
a first correction magnetic field generating device for generating a three-dimensional correction magnetic field, the correction magnetic field generating device comprising a first conductive plate, a second conductive plate and a conductive coil, wherein the first conductive plate generates a first axial magnetic field with a known magnetic field magnitude by a first current, the second conductive plate is arranged at one side of the first conductive plate in parallel or approximately in parallel, the second conductive plate generates a second axial magnetic field with the known magnetic field magnitude orthogonal or approximately orthogonal to the first axial direction by a second current, the conductive coil is arranged around the first and second conductive plates, and generates a third axial magnetic field with the known magnetic field magnitude orthogonal or approximately orthogonal to the first and second axial directions by a third current; and
the magnetic field sensing unit is arranged on one side of the first conductive plate and generates corresponding sensing information according to the first axial magnetic field, the second axial magnetic field and the third axial magnetic field;
and the control module is electrically connected with the magnetic field sensing unit to receive the sensing information and compare the sensing information corresponding to each axial magnetic field with the known magnetic field strength in the axial direction so as to determine the correction information corresponding to each axial magnetic field.
8. The magnetic field sensor of claim 7, comprising a power module, further comprising:
a power source; and
the multiplexer is used for switching the electric connection between the power supply and the first conductive plate, the second conductive plate or the conductive coil according to a control signal, so that the power supply provides the first current, the second current and the third current respectively.
9. The magnetic field sensor according to claim 7, wherein the first current has a first direction and the second current has a second direction orthogonal or nearly orthogonal to the first direction.
10. The magnetic field sensor of claim 9, wherein the conductive coil is formed by a conductive wire wound around the first and second conductive plates to form at least one turn, the conductive coil having a vertical axis oriented orthogonal or nearly orthogonal to the first and second flow directions.
11. The magnetic field sensor according to claim 7, wherein the first conductive plate further comprises a plurality of first conductive plates juxtaposed with each other, wherein a space is provided between adjacent first conductive plates.
12. The magnetic field sensor according to claim 7, wherein the second conductive plate further has a plurality of second conductive plates juxtaposed with each other, wherein a space is provided between adjacent second conductive plates.
13. The magnetic field sensor according to claim 7, further comprising a second calibration magnetic field generator disposed at a side of the first calibration magnetic field generator such that the magnetic field sensing unit is located between the first and second calibration magnetic field generators.
14. The magnetic field sensor of claim 7, further comprising a temperature sensing unit.
15. The magnetic field sensor according to claim 7, wherein the calibration information comprises one-axis magnetic field sensing sensitivity information and one-axis cross-axis orthogonality information.
16. A magnetic field calibration method for performing a self-calibration procedure, comprising the steps of:
providing a magnetic field sensor with a built-in correction magnetic field generating device, wherein the magnetic field sensor is provided with a magnetic field sensing unit;
the correction magnetic field generating device is used for generating magnetic fields with known magnetic field intensity and three different axial directions which are mutually orthogonal or nearly orthogonal in magnetic field direction;
the magnetic field sensing unit respectively senses the three magnetic fields in different axial directions to respectively generate corresponding sensing information; and
and comparing the sensed information of each axial direction with the known magnetic field strength of the corresponding axial direction to determine correction information of the magnetic field corresponding to each axial direction.
17. The method of claim 16, wherein the calibration information comprises magnetic field sensing sensitivity information and cross-axis orthogonality information for each axis.
18. The method of claim 16, further comprising the step of initiating the self-calibration procedure in response to a triggering event.
19. The method of claim 18, wherein the triggering event is turning on an application device with a magnetic field sensor, turning on an application associated with the magnetic field sensor, or a temperature detecting change.
Technical Field
The present invention relates to a magnetic field calibration technique, and more particularly, to a calibration magnetic field generating device with a built-in calibration magnetic field generating platform for generating a three-axis uniform calibration magnetic field, a magnetic field sensor with self-calibration magnetic field capability, and a calibration method.
Background
With the advance of technology, the application field of smart handheld devices (such as mobile phones or wearable devices) is gradually increasing. Generally, a magnetic field sensor is configured in the smart handheld devices for positioning the position and orientation, such as: electronic compass, geomagnetic fingerprint, indoor navigation, etc.
Magnetic field sensors typically use the magneto-resistive effect for magnetic field sensing. The magneto-resistance Effect (MR) refers to an Effect in which the resistance of a particular magneto-resistive material changes with a change in an applied magnetic field. It is thus possible to arrange materials with a magnetoresistive effect in the sensing device, exploiting this effect for various applications. At present, devices for magnetic sensing with magnetoresistive materials are more commonly used, such as Giant Magnetoresistive (GMR) magnetic sensors and Anisotropic Magnetoresistive (AMR) magnetic sensors.
Although the application fields of the magnetoresistive element are wide, there are some problems to be overcome. For example: in the context of applications, the sensing capability of a magnetoresistive element can be affected by many environmental factors, such as: temperature, or a magnetic field generated by its peripheral electronic components. In addition, the information sensed by the magnetoresistive element is also affected by the manufacturing process, such as: during the process of soldering the package on the circuit board, stress variation is generated (both hall effect and magneto-resistive sensors are stress sensitive). In addition, the sensing capability is degraded (aging) due to the use time, so that the information of the three-axis sensing magnetic field is not changed uniformly.
Because of the above-described problems, it is an important issue to correct a magnetic field sensor having a magnetoresistive element. In the prior art, compensation is performed by using a magnetoresistive sensing unit with a compensation coil on one side to conduct a compensation current. A compensation current is passed through the compensation coil to establish a compensation magnetic field to the magnetoresistive sensing unit. The compensation magnetic field can be used to correct the effect of the external interference magnetic field on the magnetoresistive sensing unit, and the correction effect can be controlled by the current magnitude of the compensation current. Further, for example, U.S. patent publication No. US5,532,584 discloses a parallel conductor for producing a calibrated magnetoresistive sensor for conducting a current to generate a magnetic field to be sensed by the magnetoresistive sensor. The sensed signals are used to correct for errors in the MR sensor due to temperature or prolonged use.
In addition, in the prior art, if the problem of inaccurate measurement of the magnetic field sensor is to be solved, the manufacturing procedure of the magnetic field sensor is usually adjusted and changed to improve the measurement accuracy of the magnetic field sensor, however, this method needs to spend many resources to adjust and improve the manufacturing procedure, resulting in the problem of increased production cost or yield, even if the chip manufacturer finishes the chip calibration, the stress variation (both the hall effect and the magnetoresistive sensor are stress sensitive) is generated due to the following processes of packaging and welding on the circuit board, or the time effect makes the three-axis variation different, or the temperature effect of each chip different, which cannot be compensated accurately, resulting in the accuracy deviation. Based on the current situation that the chip cannot be effectively and accurately corrected for the three axes after being installed, if the measurement accuracy cannot be effectively improved, the subsequent application troubles can be caused due to the fact that the chip does not have the accurate self-correction capability.
Therefore, how to improve the accuracy of the magnetic field sensor during use is a problem that needs to be improved urgently, and therefore, a calibration magnetic field generating device, a magnetic field sensor with self-calibration magnetic field capability and a calibration method thereof are needed to solve the defects of the prior art.
Disclosure of Invention
The invention provides a correction magnetic field generating device, a magnetic field sensor with self-correction magnetic field capability and a correction method, which can generate a three-dimensional orthogonal or nearly orthogonal, uniform and stable high-precision magnetic field through structural design so as to be beneficial to timely calibrating the magnetic field sensor, have the defects different from the prior design, and can not replace the problems of ex-factory verification, production uniformity and the like. In addition, in order to provide stable current, the invention further utilizes a single power supply module to provide a three-axis stable field, the accuracy and the feasibility of the application end are greatly improved after correction, and the proportion of the three-axis magnetic field can be maintained even if the power supply module is changed, so that the aim of accurate correction is fulfilled.
The invention provides a correction magnetic field generating device, a magnetic field sensor with self-correction magnetic field capability and a correction method thereof, which can perform self-correction at any time before delivery or after being installed in an application device, thereby achieving the effects of reducing the influence of environmental magnetic field, temperature effect, packaging effect and measurement capability attenuation caused by long-term use, and further achieving the effect of providing accurate magnetic field measurement results at any time.
In one embodiment, the present invention provides a calibration magnetic field generating device for generating a three-dimensional calibration magnetic field, including a first conductive plate, a second conductive plate, and a conductive coil. The first conductive plate generates a first axial magnetic field of a known magnitude by a first current. The second conductive plate is disposed parallel or nearly parallel to one side of the first conductive plate, and generates a second axial magnetic field of a known magnitude orthogonal or nearly orthogonal to the first axial magnetic field by a second current. The conductive coil is arranged around the first conductive plate and the second conductive plate in a surrounding mode, and a third axial magnetic field with the known magnetic field size, which is orthogonal or approximately orthogonal to the first axial direction and the second axial direction, is generated by a third current.
In one embodiment, the present invention provides a magnetic field sensor with self-calibration capability, which includes a first calibration magnetic field generating device, a magnetic field sensing unit and a control module. The first correction magnetic field generating device is used for generating a three-dimensional correction magnetic field and comprises a first conducting plate, a second conducting plate and a conducting coil, wherein the first conducting plate generates a first axial magnetic field with the known magnetic field size through a first current, the second conducting plate is arranged on one side of the first conducting plate in parallel or approximately in parallel, the second conducting plate generates a second axial magnetic field with the known magnetic field size which is orthogonal or approximately orthogonal to the first axial direction through a second current, the conducting coil is arranged around the first conducting plate and the second conducting plate, and a third axial magnetic field with the known magnetic field size which is orthogonal or approximately orthogonal to the first axial direction and the second axial direction is generated through a third current. The magnetic field sensing unit is arranged on the first conductive plate and generates corresponding sensing information according to the first axial magnetic field, the second axial magnetic field and the third axial magnetic field. The control module is electrically connected with the magnetic field sensing unit to receive the sensing information and compare the sensing information corresponding to each axial magnetic field with the known magnetic field strength in the axial direction to determine the correction information corresponding to each axial magnetic field.
In one embodiment, the present invention provides a magnetic field calibration method, which includes the following steps, first, providing a magnetic field sensor with a magnetic field sensing unit, wherein the magnetic field sensor is provided with a calibration magnetic field generating device. Then, the correction magnetic field generating device sequentially generates three magnetic fields with different axial directions, wherein the magnetic field intensity is known and the magnetic field directions are mutually orthogonal or nearly orthogonal. Then, the magnetic field sensing units respectively sense the three magnetic fields in different axial directions to respectively generate corresponding sensing information. Finally, the sensing information of each axial direction is compared with the known magnetic field strength of the corresponding axial direction to determine the correction information of the magnetic field corresponding to each axial direction.
In one embodiment, the calibration information includes one-axis magnetic field sensing sensitivity information and one-axis cross-axis orthogonality information.
Drawings
Fig. 1A is a schematic view of a calibration magnetic field generating device according to an embodiment of the present invention.
Fig. 1B and 1C are schematic cross-sectional views of AA and BB of the structure shown in fig. 1A, respectively.
FIG. 2 is a block diagram of an embodiment of generating a constant current.
Fig. 3A is a schematic view of a calibration magnetic field generating device according to an embodiment of the present invention.
Fig. 3B and 3C are schematic diagrams of the AA and BB cross-sections of the structure shown in fig. 3A.
FIG. 4 is a schematic view of another embodiment of the calibration magnetic field generating device of the present invention.
FIGS. 5A and 5B are schematic diagrams of different embodiments of the magnetic field sensor with self-calibration capability according to the present invention.
FIG. 6 is a diagram illustrating a magnetic field sensor with self-calibration capability according to the present invention.
FIG. 7 is a flowchart illustrating a magnetic field calibration method according to an embodiment of the present invention.
FIG. 8 is a flowchart illustrating a magnetic field calibration method according to another embodiment of the present invention.
Fig. 9A and 9B are schematic flow diagrams illustrating a magnetic field calibration method according to different embodiments of the present invention.
FIG. 10 is a flowchart illustrating a magnetic field calibration method according to another embodiment of the present invention.
FIG. 11 is a schematic diagram of a sensing curve of a magnetoresistive sensor.
Description of reference numerals: 2. 2a, 2 b-corrective magnetic field generating means; 20-a first conductive plate; 200-a conductive sheet; 21. 21 a-a second conductive plate; 210-a conductive sheet; 22. 22 a-a conductive coil; 220-top surface; 221-bottom surface; 222-medial side; 223-outer side; 23-a power supply module; 230-a power supply; 231-a multiplexer; i1-first constant current; i2-second constant current; i3-third constant current; b1, B2, B3-magnetic field; 3. 3 a-a magnetic field sensor; 30-a magnetic field sensing unit; 31-a control module; 32-a temperature sensing unit; 4. 4 a-calibration method; 40-46-step; 5-a calibration method; 500-514-step; 90. 91-curve.
Detailed Description
Various exemplary embodiments may be described more fully hereinafter with reference to the accompanying drawings, in which some exemplary embodiments are shown. The inventive concept may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. Like numbers refer to like elements throughout. The calibration magnetic field generating apparatus, the magnetic field sensor with self-calibration capability and the calibration method thereof will be described with reference to the drawings by various embodiments, which are not intended to limit the invention. The angle of the difference between the nearly parallel and parallel ranges between plus or minus 2 degrees, i.e., -2 to 2 degrees, can be regarded as nearly parallel; the angle difference between near-orthogonal and orthogonal ranges between about plus or minus 2 degrees, i.e., 88-92 degrees, can be considered near-orthogonal. The error range is determined by the conditions and precision of the process, and is not limited.
Referring to fig. 1A to 1C, fig. 1A is a schematic diagram of a calibration magnetic field generating device according to an embodiment of the present invention; FIGS. 1B and 1C are schematic diagrams of the AA and BB cross-sections of the structure shown in FIG. 1A. In this embodiment, the calibration magnetic
In the present embodiment, the first
Next, the magnetic field generated by the structure shown in fig. 1A is described, and the first
The three constant currents I1-I3 may originate from the same constant power module, or utilize the same mirror amplification, and are switched by the multiplexer only to maintain the three-axis current ratio. For example, fig. 2 is a block diagram of an embodiment of generating a constant current. In this embodiment, the
Referring to fig. 3A to 3C, fig. 3A is a schematic diagram of a calibration magnetic field generating device according to an embodiment of the present invention; fig. 3B and 3C are schematic diagrams of the AA and BB cross-sections of the structure shown in fig. 3A. The main structure of the calibration magnetic
Please refer to fig. 4, which is a schematic diagram of another embodiment of the calibration magnetic field generating apparatus according to the present invention. The difference between this embodiment and the previous embodiments is that this embodiment is composed of two magnetic
Please refer to fig. 5A, which is a diagram illustrating a magnetic field sensor with self-calibration capability according to an embodiment of the present invention. In the present embodiment, the magnetic field sensor 3 has a
Referring to fig. 5A and fig. 6, the magnetic
The
Further, referring to fig. 5B, in the present embodiment, basically similar to fig. 5A, the difference is that a
Please refer to fig. 7, which is a flowchart illustrating a magnetic field calibration method according to an embodiment of the present invention. In the present embodiment, the magnetic field calibration method 4 includes the following steps. First, step 40 is performed to provide a magnetic field sensor with a magnetic field sensing unit, which is built with a calibration magnetic field generating device. In this step, the magnetic field sensor may be the magnetic field sensor 3 shown in fig. 5A, and the magnetic field sensor of fig. 5A may use the correction magnetic
Then, step 43 is performed to make the magnetic
42-43, proceeding to step 44, the sensed information of each axial direction is compared with the known magnetic field strength of the corresponding axial direction to calculate the measurement information about the change rate of the magnetic field of each axial direction. In one embodiment, the measurement information includes magnetic field sensing sensitivity information (the ratio between the known magnetic field strength and the sensed magnetic field strength) for each axis and cross-axis orthogonality. The cross-axis orthogonality represents the maximum azimuth angle of each axial magnetic field of the magnetic field sensing unit and the offset angle of the magnetic field direction of the correction magnetic field generating device. It should be noted that, in this step, the magnetic
Since the calibration magnetic field generated by the calibration magnetic
Please refer to fig. 8, which is a flowchart illustrating a magnetic field calibration method according to another embodiment of the present invention. In the present embodiment, the magnetic
It should be noted that when a
Please refer to fig. 9A and 9B, which are schematic flow charts of different embodiments of the magnetic field calibration method according to the present invention, respectively. The flow of fig. 9A is basically similar to the flow of fig. 7, except that the flow further includes a
In the magnetic field sensor corrected by the correction flow shown in fig. 7-8 and fig. 9A-9B, the acquired correction information, including the magnetic field sensing sensitivity information of each axial direction and the cross-axis orthogonality information, can be used to correct the measured magnetic field information during actual measurement, so as to maintain the accuracy of the measured magnetic field at any time.
Please refer to fig. 10, which is a flowchart illustrating a magnetic field calibration method according to another embodiment of the present invention. In this embodiment, it is an integrated application of the magnetic field sensor. The magnetic field sensor has a correction magnetic field generating device, a magnetic field sensing unit, and a temperature sensing unit. The magnetic field sensor is arranged in an application device, such as: smart handheld devices, such as: such as a cell phone or tablet computer. The calibration method 5 includes first performing
After
Similarly, after the measurement of the X-axis is completed, it is determined whether all the XYZ triaxial directions have been measured according to
And steps 511-514 represent a dynamic calibration procedure for the magnetic field sensor. That is, when the dynamic calibration is started, it can be determined whether there is a difference in the sensing, and if so, the self-calibration procedure is performed at any time. In one embodiment, a dynamic calibration procedure is initiated in
In summary, the calibration magnetic field sensing apparatus and the self-calibration magnetic field calibration method of the present invention can not only perform calibration before the magnetic field sensor leaves the factory, but also perform self-calibration procedures according to requirements and settings at any time in any situation of the magnetic field sensor after leaving the factory, so as to improve the accuracy of the magnetic field sensing unit in sensing magnetic field information and reduce errors. Therefore, the invention can solve the problem of cost increase caused by improving the measurement accuracy only by improving the manufacturing procedure, thereby achieving the purposes of improving the measurement accuracy and reducing the cost, and ensuring that the magnetic field sensor is more reliable and durable.
For example: as shown in fig. 11, the graph is a diagram illustrating a sensing curve of a normal magnetoresistive sensor. Normally, a general magnetic sensing unit, for example: the graph of the relationship between the intensity of the magnetic field sensed by the magnetoresistive sensor and the voltage or current output is shown as a curve 90 in fig. 11, and a linear regression line obtained after linear regression is a straight line denoted by reference numeral 91. It can be seen that the measurement interval available for a typical magnetic sensing unit (magnetoresistive sensor) is roughly the linear range of region D shown in fig. 11. Since the relationship between the measured voltage or current and the corresponding sensed magnetic field is no longer linear after exceeding the linear range, the error varies with the magnitude of the magnetic field. Therefore, the region D in fig. 11 can be regarded as a sensing region that can be used for a general magnetoresistive sensor.
However, the magnetic field sensor formed by integrating the magnetic sensing unit (magnetoresistive sensor) and the correction magnetic field generating device of the present invention can perform a self-correcting function at any time. Even under conditions that do not have linearity, for example: as long as the calibration information in the environment is found by the self-calibration method described above, a new sensing basis can be established based on the magnetic field in the environment, so that the magnetic field sensor can be used in an environment that affects the sensing accuracy, for example: temperature, or the environment of the magnetic field generated by its peripheral electronic components, or the situation of degraded sensing capability (aging) due to time of use, can still be used normally.
The above description is only for the purpose of describing preferred embodiments or examples of the present invention by means of solving the problems, and is not intended to limit the scope of the present invention. The scope of the invention is to be determined by the following claims and their equivalents.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:高频局放检测仪的抗干扰性能检测装置和方法