WO2015172530A1 - Interference elimination method for electronic compass - Google Patents

Interference elimination method for electronic compass Download PDF

Info

Publication number
WO2015172530A1
WO2015172530A1 PCT/CN2014/090071 CN2014090071W WO2015172530A1 WO 2015172530 A1 WO2015172530 A1 WO 2015172530A1 CN 2014090071 W CN2014090071 W CN 2014090071W WO 2015172530 A1 WO2015172530 A1 WO 2015172530A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
interference
value
geomagnetic
geomagnetic data
Prior art date
Application number
PCT/CN2014/090071
Other languages
French (fr)
Chinese (zh)
Inventor
张绍磊
童向杰
刘玉鹏
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015172530A1 publication Critical patent/WO2015172530A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/02Magnetic compasses
    • G01C17/28Electromagnetic compasses
    • G01C17/32Electron compasses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C17/00Compasses; Devices for ascertaining true or magnetic north for navigation or surveying purposes
    • G01C17/38Testing, calibrating, or compensating of compasses

Definitions

  • the present invention relates to electronic compass technology, and more particularly to a method for eliminating interference by an electronic compass.
  • Geomagnetic sensors can be used for electronic compass functions, assisted navigation and other applications. With the continuous development of microelectronic integration technology and processing technology and material technology, the research, manufacture and application of geomagnetic sensors have reached an unprecedented level. At present, geomagnetic sensors can be divided into planar electronic compasses and three-dimensional electronic compasses according to the presence or absence of tilt compensation. They can also be divided into magnetoresistance effect sensors, Hall effect sensors and fluxgate sensors according to different sensors. Magnetoresistive sensors have been fabricated on silicon wafers to form products. The geomagnetic sensor for mobile phones is mainly a magnetoresistive effect sensor. The magnetoresistance effect sensor is made based on the magnetoresistance effect of the magnetic material.
  • a magnetic material (such as permalloy) has an anisotropy, and when it is magnetized, its magnetization direction will depend on the axis of easy magnetization of the material, the shape of the material, and the direction of the magnetizing magnetic field.
  • the electrical resistance of the material depends on the angle between the direction of the current and the direction of magnetization. If a magnetic field (the measured magnetic field) is applied to the material, the original magnetization direction is rotated. If the direction of magnetization turns in a direction perpendicular to the current, the resistance of the material will decrease; if the direction of magnetization turns parallel to the direction of the current, the resistance of the material will increase.
  • Magnetoresistive effect sensors typically have four such resistors and connect them into a bridge. Under the action of the measured magnetic field, the resistance values of the two resistors located at opposite positions in the bridge increase, and the resistance values of the other two resistors decrease. In its linear range, the output voltage of the bridge is proportional to the measured magnetic field.
  • the electronic compass mainly calculates the direction of the magnetic north pole by sensing the existence of the earth's magnetic field.
  • the earth's magnetic field is generally only a weak 0.5 Gauss
  • an ordinary mobile phone horn will still have a magnetic field of about 4 gauss when it is 2 cm apart.
  • a mobile phone motor will have a magnetic field of about 6 gauss when it is 2 cm apart.
  • the interference of the earpiece, the horn, the metal piece, the vibration motor and the NFC antenna can be circumvented by the fixed compensation method, and the large current flowing in the power supply trace of the PCB is changed in real time, and cannot be circumvented by the fixed compensation method, so the mobile phone
  • the geomagnetic needle sensor will be placed away from the power supply wiring.
  • the invention mainly aims to avoid the interference of the high current PCB trace to the geomagnetic sensor through the software and hardware method.
  • the solution to solve the above problems of the present invention includes the following steps:
  • Step 3 Calibrate the geomagnetic sensor.
  • the calibration current exists, if the interference current exists, measure the magnitude of the interference current. Calculate the correction coefficient or find the correction data of the three axes. Obtain the magnetic data compensation values of X, Y and Z for the geomagnetic sensor output data. Make correction, then jump to step 3; if the interference current does not exist, jump directly to step 3;
  • the geomagnetic sensor After calibration, the geomagnetic sensor enters normal operation. If there is interference current, go to step 5; if there is no interference current, directly output geomagnetic data;
  • the detection circuit detects the magnitude of the interference current in real time, calculates or searches the correction database according to the correction coefficient to obtain the compensation values of the three magnetic axes of the geomagnetic sensor in X, Y, and Z, and uses the obtained compensation value to correct the data output by the geomagnetic sensor, and then outputs the data.
  • Geomagnetic data
  • the electronic compass elimination interference method embodying the invention has the following beneficial effects: the real-time detection is used to obtain the magnitude of the interference current, and the geomagnetic sensor data pair is corrected, thereby overcoming the interference of the changed current on the electronic compass, so that the pointing of the electronic compass is more To be accurate, at the same time, the position of the geomagnetic sensor on the PCB is more flexible.
  • Figure 1 is a hardware circuit intent of the present invention
  • FIG. 2 is a flow chart of an electronic compass elimination interference method.
  • FIG. 1 it is a method for obtaining a PCB trace current in the present invention.
  • Connect a milliohm-level power resistor in the PCB trace and draw the differential trace from both ends of the resistor to the ADC1 and AD2 of the ADC module to obtain the voltage difference across the resistor.
  • Calculate the current according to the formula: current voltage/resistance. value.
  • the present invention provides an electronic compass cancellation interference method as shown in FIG. 2. Specific steps are as follows:
  • the current value is Ia (see Figure 1 for current acquisition method), go to step 3; if the interference current does not exist, go to step 4;
  • step 6 If there is interference current Ib, go to step 6; if there is no interference current, jump directly to step 9;
  • step 5 If you continue to output geomagnetic data, go to step 5; otherwise, end the data output.
  • the method for eliminating interference by the electronic compass provided by the embodiment of the present invention has the following beneficial effects: the real-time detection is used to obtain the magnitude of the interference current, and the geomagnetic sensor data pair is corrected to overcome the interference of the changed current on the electronic compass.
  • the orientation of the electronic compass is more accurate, and the position of the geomagnetic sensor on the PCB is more flexible.

Abstract

An interference elimination method for an electronic compass, comprising the following steps: 1. Checking an interference current in the PCB wiring of a terminal in real time after calibrating a geomagnetic sensor; 2. if the interference current is detected, then utilizing the current value of the interference current to obtain a geomagnetic data compensation value; 3. utilizing the geomagnetic data compensation value to compensate the geomagnetic data outputted by the geomagnetic sensor so as to obtain the geomagnetic data with the interference current eliminated. Also disclosed is an interference elimination device of the electronic compass. The interference elimination method and device of the electronic compass avoid the interference of large-current PCB wiring with the geomagnetic sensor.

Description

一种电子指南针消除干扰方法Electronic compass elimination interference method 技术领域Technical field
本发明涉及电子指南针技术,具体地说,涉及一种电子指南针消除干扰的方法。The present invention relates to electronic compass technology, and more particularly to a method for eliminating interference by an electronic compass.
背景技术Background technique
地磁传感器可以实现电子指南针功能、辅助导航等应用。随着微电子集成技术以及加工工艺、材料技术的不断发展,地磁传感器的研究制造与运用也达到了一个前所未有的水平。目前地磁传感器按照有无倾角补偿方式可以分为平面电子罗盘和三维电子罗盘,也可以按照传感器的不同分为磁阻效应传感器、霍尔效应传感器和磁通门传感器。磁阻传感器已经能制作在硅片上,并形成产品。手机用地磁传感器主要为磁阻效应传感器。磁阻效应传感器是根据磁性材料的磁阻效应制成的。磁性材料(如坡莫合金)具有各向异性,对它进行磁化时,其磁化方向将取决于材料的易磁化轴、材料的形状和磁化磁场的方向。如图所示,当给带状坡莫合金材料通电流I时,材料的电阻取决于电流的方向与磁化方向的夹角。如果给材料施加一个磁场(被测磁场),就会使原来的磁化方向转动。如果磁化方向转向垂直于电流的方向,则材料的电阻将减小;如果磁化方向转向平行于电流的方向,则材料的电阻将增大。磁阻效应传感器一般有四个这样的电阻组成,并将它们接成电桥。在被测磁场作用下,电桥中位于相对位置的两个电阻阻值增大,另外两个电阻的阻值减小。在其线性范围内,电桥的输出电压与被测磁场成正比。Geomagnetic sensors can be used for electronic compass functions, assisted navigation and other applications. With the continuous development of microelectronic integration technology and processing technology and material technology, the research, manufacture and application of geomagnetic sensors have reached an unprecedented level. At present, geomagnetic sensors can be divided into planar electronic compasses and three-dimensional electronic compasses according to the presence or absence of tilt compensation. They can also be divided into magnetoresistance effect sensors, Hall effect sensors and fluxgate sensors according to different sensors. Magnetoresistive sensors have been fabricated on silicon wafers to form products. The geomagnetic sensor for mobile phones is mainly a magnetoresistive effect sensor. The magnetoresistance effect sensor is made based on the magnetoresistance effect of the magnetic material. A magnetic material (such as permalloy) has an anisotropy, and when it is magnetized, its magnetization direction will depend on the axis of easy magnetization of the material, the shape of the material, and the direction of the magnetizing magnetic field. As shown, when the current is given to the banded permalloy material, the electrical resistance of the material depends on the angle between the direction of the current and the direction of magnetization. If a magnetic field (the measured magnetic field) is applied to the material, the original magnetization direction is rotated. If the direction of magnetization turns in a direction perpendicular to the current, the resistance of the material will decrease; if the direction of magnetization turns parallel to the direction of the current, the resistance of the material will increase. Magnetoresistive effect sensors typically have four such resistors and connect them into a bridge. Under the action of the measured magnetic field, the resistance values of the two resistors located at opposite positions in the bridge increase, and the resistance values of the other two resistors decrease. In its linear range, the output voltage of the bridge is proportional to the measured magnetic field.
现在很多智能手机都具有电子指南针功能,电子指南针主要是通过感知地球磁场的存在来计算磁北极的方向。然而由于地球磁场在一般情况下只有微弱的0.5高斯,而一个普通的手机喇叭当相距2厘米时仍会有大约4高斯的磁场,一个手机马达在相距2厘米时会有大约6高斯的磁场,这一特点使得电子设备对地球表面磁场的测量很容易受到电子设备本身的干扰,如听筒,喇叭,金属片,震动马达,NFC天线,大电流走线等。其中听筒,喇叭,金属片,震动马达,NFC天线的干扰可以通过固定补偿方式进行规避,而PCB的电源走线中流过的大电流是实时变化的,不能通过固定补偿方式进行规避,因此手机中地磁针传感器会被摆放在远离电源走线的地方,如:1A的电源线的安全距离为1000(mA)/10=100(mm)。在手机主板体积越来越小,功能越来越复杂的发展趋势下,这个条件很难满足。本发明主要是通过软硬件方法,来规避大电流PCB走线对地磁传感器的干扰。 Many smart phones now have an electronic compass function. The electronic compass mainly calculates the direction of the magnetic north pole by sensing the existence of the earth's magnetic field. However, since the earth's magnetic field is generally only a weak 0.5 Gauss, an ordinary mobile phone horn will still have a magnetic field of about 4 gauss when it is 2 cm apart. A mobile phone motor will have a magnetic field of about 6 gauss when it is 2 cm apart. This feature makes electronic devices' measurement of the magnetic field on the earth's surface very susceptible to interference from electronic devices, such as earpieces, speakers, metal sheets, vibration motors, NFC antennas, and high current traces. The interference of the earpiece, the horn, the metal piece, the vibration motor and the NFC antenna can be circumvented by the fixed compensation method, and the large current flowing in the power supply trace of the PCB is changed in real time, and cannot be circumvented by the fixed compensation method, so the mobile phone The geomagnetic needle sensor will be placed away from the power supply wiring. For example, the safety distance of the 1A power cable is 1000 (mA)/10=100 (mm). Under the trend that mobile phone motherboards are getting smaller and smaller, and the functions are more and more complicated, this condition is difficult to meet. The invention mainly aims to avoid the interference of the high current PCB trace to the geomagnetic sensor through the software and hardware method.
发明内容Summary of the invention
本发明的目的是,当地磁传感器周围有较大且不断变化的电流流过被干扰时,提供一种实时消除变化电流干扰的方法。It is an object of the present invention to provide a method of eliminating varying current disturbances in real time as large and constantly varying current flows around the local magnetic sensor are disturbed.
本发明解决上述问题的方案包括以下步骤:The solution to solve the above problems of the present invention includes the following steps:
通过实验找出地磁干扰修正系数,或者制作一个修正数据库;Find the correction coefficient of geomagnetic interference by experiment, or make a correction database;
对地磁传感器进行校准,校准时,如果干扰电流存在,测量干扰电流的大小,通过修正系数计算出或者通过查找修正数据库,得到X、Y、Z三个轴磁数据补偿值,对地磁传感器输出数据进行修正,然后跳转到步骤3;如果干扰电流不存在,则直接跳转到步骤3;Calibrate the geomagnetic sensor. When the calibration current exists, if the interference current exists, measure the magnitude of the interference current. Calculate the correction coefficient or find the correction data of the three axes. Obtain the magnetic data compensation values of X, Y and Z for the geomagnetic sensor output data. Make correction, then jump to step 3; if the interference current does not exist, jump directly to step 3;
获得无干扰电流情况下的地磁校准数据;Obtain geomagnetic calibration data without interference current;
校准后,地磁传感器进入正常工作状态。如果有干扰电流,进入步骤5;如果无干扰电流,则直接输出地磁数据;After calibration, the geomagnetic sensor enters normal operation. If there is interference current, go to step 5; if there is no interference current, directly output geomagnetic data;
通过检测电路实时检测干扰电流的大小,根据修正系数计算或者查找修正数据库得到地磁传感器在X、Y、Z三个轴补偿值,利用获得的补偿值,对地磁传感器输出的数据进行修正,然后输出地磁数据。The detection circuit detects the magnitude of the interference current in real time, calculates or searches the correction database according to the correction coefficient to obtain the compensation values of the three magnetic axes of the geomagnetic sensor in X, Y, and Z, and uses the obtained compensation value to correct the data output by the geomagnetic sensor, and then outputs the data. Geomagnetic data.
实施本发明的电子指南针消除干扰方法,具有以下的有益效果:利用实时检测获得干扰电流的大小,对地磁传感器数据对进行修正,克服了变化的电流对电子指南针的干扰,使得电子指南针的指向更为准确,同时使得地磁传感器在PCB板上的摆放位置更加灵活。The electronic compass elimination interference method embodying the invention has the following beneficial effects: the real-time detection is used to obtain the magnitude of the interference current, and the geomagnetic sensor data pair is corrected, thereby overcoming the interference of the changed current on the electronic compass, so that the pointing of the electronic compass is more To be accurate, at the same time, the position of the geomagnetic sensor on the PCB is more flexible.
附图说明DRAWINGS
以下结合附图对本发明进行说明,其中:The invention will now be described with reference to the accompanying drawings in which:
图1为本发明硬件电路意图;Figure 1 is a hardware circuit intent of the present invention;
图2为电子指南针消除干扰方法流程图。2 is a flow chart of an electronic compass elimination interference method.
具体实施方式detailed description
以下结合附图和具体实施方式对本发明进行详细说明。 The invention will be described in detail below with reference to the drawings and specific embodiments.
如图1所示,为本发明中PCB走线电流获取方法。在PCB走线中串接毫欧级的功率电阻,从电阻两端引差分走线到ADC模块的ADC1、AD2,从而获取电阻两端的电压差,根据公式:电流=电压/电阻,计算获得电流值。As shown in FIG. 1 , it is a method for obtaining a PCB trace current in the present invention. Connect a milliohm-level power resistor in the PCB trace, and draw the differential trace from both ends of the resistor to the ADC1 and AD2 of the ADC module to obtain the voltage difference across the resistor. Calculate the current according to the formula: current=voltage/resistance. value.
为了消除这些大电流带来的干扰,本发明提供了如图2所示的电子指南针消除干扰方法。具体步骤如下:In order to eliminate the interference caused by these large currents, the present invention provides an electronic compass cancellation interference method as shown in FIG. 2. Specific steps are as follows:
1.对地磁传感器进行校准,同时检测是否有干扰电流存在;1. Calibrate the geomagnetic sensor and detect whether there is interference current present;
2.如果干扰电流存在,电流值为Ia(电流获取方法见附图1),进入步骤3;如果干扰电流不存在,跳转到步骤4;2. If the interference current exists, the current value is Ia (see Figure 1 for current acquisition method), go to step 3; if the interference current does not exist, go to step 4;
3.通过修正系数计算出或者通过查找修正数据库,得到X、Y、Z三个轴磁数据补偿值T1,T2,T3,对地磁输出数据进行修正;3. Calculate the correction coefficient or obtain the correction data of the three axes of X, Y and Z by the correction coefficient T1, T2, T3, and correct the geomagnetic output data;
4.完成地磁传感器校准,地磁传感器开始正常工作;4. Complete the geomagnetic sensor calibration and the geomagnetic sensor begins to work normally;
5.如果有干扰电流Ib,进入步骤6;如果无干扰电流,直接跳转到步骤9;5. If there is interference current Ib, go to step 6; if there is no interference current, jump directly to step 9;
6.通过检测电路实时检测干扰电流的大小Ib;6. Real-time detection of the magnitude of the interference current Ib by the detection circuit;
7.通过修正系数计算出或者通过查找修正数据库,得到X、Y、Z三个轴的磁数据修正值T1’,T2’,T3’;7. Calculated by the correction coefficient or by looking up the correction database, the magnetic data correction values T1', T2', T3' of the X, Y, Z axes are obtained;
8.利用步骤7获得的修正值T1’,T2’,T3’,对地磁传感器输出的原始数据进行修正;8. Using the correction values T1', T2', T3' obtained in step 7, correcting the raw data output by the geomagnetic sensor;
9.输出地磁数据;9. Output geomagnetic data;
如果继续输出地磁数据,则跳转到步骤5;否则结束数据输出。If you continue to output geomagnetic data, go to step 5; otherwise, end the data output.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种电子指南针消除干扰的方法具有以下有益效果:利用实时检测获得干扰电流的大小,对地磁传感器数据对进行修正,克服了变化的电流对电子指南针的干扰,使得电子指南针的指向更为准确,同时使得地磁传感器在PCB板上的摆放位置更加灵活。 As described above, the method for eliminating interference by the electronic compass provided by the embodiment of the present invention has the following beneficial effects: the real-time detection is used to obtain the magnitude of the interference current, and the geomagnetic sensor data pair is corrected to overcome the interference of the changed current on the electronic compass. The orientation of the electronic compass is more accurate, and the position of the geomagnetic sensor on the PCB is more flexible.

Claims (12)

  1. 一种电子指南针的校准方法,包括:A method of calibrating an electronic compass, comprising:
    检测终端PCB走线中的干扰电流;Detecting interference current in the terminal PCB trace;
    若检测到干扰电流,则利用所述干扰电流的电流值,得到地磁数据补偿值;If an interference current is detected, the ground magnetic data compensation value is obtained by using the current value of the interference current;
    利用所述地磁数据补偿值,对地磁传感器输出的地磁数据进行补偿处理,得到消除电流干扰的地磁数据;Using the geomagnetic data compensation value, the geomagnetic data output by the geomagnetic sensor is compensated to obtain geomagnetic data for eliminating current interference;
    利用所述已消除电流干扰的地磁数据,得到已消除电流干扰的校准数据。Using the geomagnetic data from which current interference has been eliminated, calibration data that has eliminated current interference is obtained.
  2. 根据权利要求1所述的方法,其中,所述的检测终端PCB走线中的干扰电流的步骤包括:The method of claim 1 wherein said step of detecting an interference current in a terminal PCB trace comprises:
    采集终端PCB走线中串接的检测电阻两端的电压值;Collecting voltage values across the sense resistors connected in series with the terminal PCB traces;
    利用所述检测电阻两端的电压值和所述检测电阻的电阻值,得到所述终端PCB走线中的干扰电流的电流值。The current value of the interference current in the terminal PCB trace is obtained by using the voltage value across the sense resistor and the resistance value of the sense resistor.
  3. 根据权利要求1或2所述的方法,其中,所述的利用所述干扰电流的电流值,得到地磁数据补偿值的步骤包括:The method according to claim 1 or 2, wherein said step of obtaining a geomagnetic data compensation value using said current value of said interference current comprises:
    利用所述干扰电流的电流值和预存的地磁干扰修正系数,计算地磁数据补偿值,或者,通过查找预存的修正数据库,找到与所述电流值对应的地磁数据补偿值。The geomagnetic data compensation value is calculated by using the current value of the interference current and the pre-stored geomagnetic interference correction coefficient, or the geomagnetic data compensation value corresponding to the current value is found by searching the pre-stored correction database.
  4. 一种电子指南针消除干扰的方法,包括:An electronic compass for eliminating interference includes:
    利用权利要求1至3中任意一项所述的方法对地磁传感器进行校准后,实时检测终端PCB走线中的干扰电流;After the geomagnetic sensor is calibrated by the method according to any one of claims 1 to 3, the interference current in the terminal PCB trace is detected in real time;
    若检测到干扰电流,则利用所述干扰电流的电流值,得到地磁数据补偿值;If an interference current is detected, the ground magnetic data compensation value is obtained by using the current value of the interference current;
    利用所述地磁数据补偿值,对地磁传感器输出的地磁数据进行补偿处理,得到消除电流干扰的地磁数据。The geomagnetism data outputted by the geomagnetic sensor is compensated by the geomagnetic data compensation value to obtain geomagnetic data for eliminating current interference.
  5. 根据权利要求4所述的方法,其中,所述的实时检测终端PCB走线中的干扰电流的步骤包括:The method according to claim 4, wherein said step of detecting the interference current in the terminal PCB trace in real time comprises:
    采集终端PCB走线中串接的检测电阻两端的电压值; Collecting voltage values across the sense resistors connected in series with the terminal PCB traces;
    利用所述检测电阻两端的电压值和所述检测电阻的电阻值,得到所述终端PCB走线中的干扰电流的电流值。The current value of the interference current in the terminal PCB trace is obtained by using the voltage value across the sense resistor and the resistance value of the sense resistor.
  6. 根据权利要求4或5所述的方法,其中,所述的利用所述干扰电流的电流值,得到地磁数据补偿值的步骤包括:The method according to claim 4 or 5, wherein said step of obtaining a geomagnetic data compensation value using said current value of said interference current comprises:
    利用所述干扰电流的电流值和预存的地磁干扰修正系数,计算地磁数据补偿值,或者,通过查找预存的修正数据库,找到与所述电流值对应的地磁数据补偿值。The geomagnetic data compensation value is calculated by using the current value of the interference current and the pre-stored geomagnetic interference correction coefficient, or the geomagnetic data compensation value corresponding to the current value is found by searching the pre-stored correction database.
  7. 一种电子指南针的校准装置,包括:A calibration device for an electronic compass, comprising:
    第一检测模块,设置为检测终端PCB走线中的干扰电流;a first detecting module configured to detect an interference current in a terminal PCB trace;
    第一补偿值获取模块,设置为若检测到干扰电流,则利用所述干扰电流的电流值,得到地磁数据补偿值;a first compensation value acquisition module is configured to obtain a geomagnetic data compensation value by using a current value of the interference current if an interference current is detected;
    第一补偿模块,设置为利用所述地磁数据补偿值,对地磁传感器输出的地磁数据进行补偿处理,得到消除电流干扰的地磁数据;The first compensation module is configured to perform compensation processing on the geomagnetic data output by the geomagnetic sensor by using the geomagnetic data compensation value to obtain geomagnetic data for eliminating current interference;
    校准模块,设置为利用所述已消除电流干扰的地磁数据,得到已消除电流干扰的校准数据。A calibration module is configured to utilize the geomagnetic data from which the current interference has been removed to obtain calibration data that has eliminated current interference.
  8. 根据权利要求7所述的装置,其中,所述第一检测模块采集终端PCB走线中串接的检测电阻两端的电压值,并利用所述检测电阻两端的电压值和所述检测电阻的电阻值,得到所述终端PCB走线中的干扰电流的电流值。The device according to claim 7, wherein the first detecting module collects a voltage value across the detecting resistor connected in series in the terminal PCB trace, and utilizes a voltage value across the detecting resistor and a resistance of the detecting resistor The value of the current of the interference current in the terminal PCB trace is obtained.
  9. 根据权利要求7或8所述的装置,其中,所述第一补偿值获取模块利用所述干扰电流的电流值和预存的地磁干扰修正系数,计算地磁数据补偿值,或者,通过查找预存的修正数据库,找到与所述电流值对应的地磁数据补偿值。The apparatus according to claim 7 or 8, wherein the first compensation value acquisition module calculates a geomagnetic data compensation value by using a current value of the interference current and a pre-stored geomagnetic interference correction coefficient, or by searching for a pre-stored correction The database finds a geomagnetic data compensation value corresponding to the current value.
  10. 一种电子指南针消除干扰的装置,包括:An electronic compass device for eliminating interference, comprising:
    第二检测模块,设置为利用权利要求7至9中任意一项所述的装置对地磁传感器进行校准后,实时检测终端PCB走线中的干扰电流;a second detecting module configured to detect the interference current in the terminal PCB trace in real time after calibrating the geomagnetic sensor by using the device according to any one of claims 7 to 9;
    第二补偿值获取模块,设置为若检测到干扰电流,则利用所述干扰电流的电流值,得到地磁数据补偿值;a second compensation value acquisition module is configured to obtain a geomagnetic data compensation value by using a current value of the interference current if an interference current is detected;
    第二补偿模块,设置为利用所述地磁数据补偿值,对地磁传感器输出的地磁数据进行补偿处理,得到消除电流干扰的地磁数据。 The second compensation module is configured to perform compensation processing on the geomagnetism data output by the geomagnetic sensor by using the geomagnetic data compensation value to obtain geomagnetic data for eliminating current interference.
  11. 根据权利要求10所述的装置,其中,所述第二检测模块采集终端PCB走线中串接的检测电阻两端的电压值,并利用所述检测电阻两端的电压值和所述检测电阻的电阻值,得到所述终端PCB走线中的干扰电流的电流值。The device according to claim 10, wherein the second detecting module collects a voltage value across the detecting resistor connected in series in the terminal PCB trace, and utilizes a voltage value across the detecting resistor and a resistance of the detecting resistor The value of the current of the interference current in the terminal PCB trace is obtained.
  12. 根据权利要求10或11所述的装置,其中,所述第二补偿值获取模块利用所述干扰电流的电流值和预存的地磁干扰修正系数,计算地磁数据补偿值,或者,通过查找预存的修正数据库,找到与所述电流值对应的地磁数据补偿值。 The apparatus according to claim 10 or 11, wherein said second compensation value acquisition module calculates a geomagnetic data compensation value by using a current value of said interference current and a pre-stored geomagnetic interference correction coefficient, or by searching for a pre-stored correction The database finds a geomagnetic data compensation value corresponding to the current value.
PCT/CN2014/090071 2014-05-12 2014-10-31 Interference elimination method for electronic compass WO2015172530A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410196926.2A CN105091872B (en) 2014-05-12 2014-05-12 A kind of electronic compass eliminates interference method and device
CN201410196926.2 2014-05-12

Publications (1)

Publication Number Publication Date
WO2015172530A1 true WO2015172530A1 (en) 2015-11-19

Family

ID=54479265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/090071 WO2015172530A1 (en) 2014-05-12 2014-10-31 Interference elimination method for electronic compass

Country Status (2)

Country Link
CN (1) CN105091872B (en)
WO (1) WO2015172530A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111721292A (en) * 2019-03-20 2020-09-29 北京智慧图科技有限责任公司 Indoor positioning method utilizing geomagnetism
CN113311491A (en) * 2020-02-26 2021-08-27 北京小米移动软件有限公司 Terminal equipment

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526112B (en) * 2016-06-21 2020-02-14 中兴通讯股份有限公司 Method and device for resisting charging geomagnetic interference
CN107635046A (en) * 2016-07-19 2018-01-26 中兴通讯股份有限公司 A kind of earth's magnetic field method of adjustment and device
CN107631723B (en) * 2017-09-21 2020-01-03 重庆华渝电气集团有限公司 Method for automatic demagnetization compensation of electromagnetic compass
CN108174504B (en) * 2017-11-13 2020-02-04 青岛海信电器股份有限公司 PCB circuit board
CN111854721A (en) * 2020-07-30 2020-10-30 北京小米移动软件有限公司 Geomagnetic data correction method and device and electronic equipment
CN112525189B (en) * 2020-12-22 2024-03-12 重庆华渝电气集团有限公司 Electrical zero compensation structure and method of miniature current frequency conversion circuit
CN113155113A (en) * 2021-04-22 2021-07-23 西安易朴通讯技术有限公司 System and method for eliminating charging interference of electronic compass and electronic equipment
CN115348351B (en) * 2021-05-14 2023-11-21 北京小米移动软件有限公司 Magnetic field detection method, device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004184150A (en) * 2002-12-02 2004-07-02 Tohoku Ricoh Co Ltd Magnetic detecting device, direction detection system, and portable communication terminal
CN102252689A (en) * 2010-05-19 2011-11-23 北京国浩传感器技术研究院(普通合伙) Electronic compass calibration method based on magnetic sensor
CN102589537A (en) * 2012-03-05 2012-07-18 无锡汉和航空技术有限公司 Method for calibrating electronic compass of unmanned machine under magnetic environment
CN102612637A (en) * 2009-11-04 2012-07-25 高通股份有限公司 Accurate magnetic compass in mobile electronic device
CN102822626A (en) * 2010-03-30 2012-12-12 苹果公司 Determining heading using magnetometer data and angular rate data
CN102937447A (en) * 2012-10-22 2013-02-20 广东欧珀移动通信有限公司 Electronic compass interference eliminating method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004184150A (en) * 2002-12-02 2004-07-02 Tohoku Ricoh Co Ltd Magnetic detecting device, direction detection system, and portable communication terminal
CN102612637A (en) * 2009-11-04 2012-07-25 高通股份有限公司 Accurate magnetic compass in mobile electronic device
CN102822626A (en) * 2010-03-30 2012-12-12 苹果公司 Determining heading using magnetometer data and angular rate data
CN102252689A (en) * 2010-05-19 2011-11-23 北京国浩传感器技术研究院(普通合伙) Electronic compass calibration method based on magnetic sensor
CN102589537A (en) * 2012-03-05 2012-07-18 无锡汉和航空技术有限公司 Method for calibrating electronic compass of unmanned machine under magnetic environment
CN102937447A (en) * 2012-10-22 2013-02-20 广东欧珀移动通信有限公司 Electronic compass interference eliminating method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111721292A (en) * 2019-03-20 2020-09-29 北京智慧图科技有限责任公司 Indoor positioning method utilizing geomagnetism
CN111721292B (en) * 2019-03-20 2023-06-16 北京智慧图科技有限责任公司 Indoor positioning method utilizing geomagnetism
CN113311491A (en) * 2020-02-26 2021-08-27 北京小米移动软件有限公司 Terminal equipment

Also Published As

Publication number Publication date
CN105091872B (en) 2019-04-26
CN105091872A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2015172530A1 (en) Interference elimination method for electronic compass
JP6525336B2 (en) 3-axis digital compass
US20200081037A1 (en) Sensing apparatus for sensing current through a conductor and methods therefor
CA2733431C (en) Multi-axis fluxgate magnetic sensor
US9970997B2 (en) Magnetic field sensing apparatus and magnetic field sensing module
TWI513993B (en) 3-axis magnetic field sensor, fabrication method of magnetic sensing structure and magnetic field sensing circuit
CN103901363A (en) Single-chip Z-axis linear magneto-resistive sensor
US10168398B2 (en) Magnetic field sensing apparatus
JP6508332B2 (en) Liquid level detection device
CN107300683A (en) Magnetic sensing device and its automatic calibrating method, current sensor
CN203480009U (en) Single-chip Z-axis linear magneto-resistor sensor
CN110987032B (en) Magnetic encoder, absolute electric angle detection method, system and readable storage medium
US8261458B2 (en) Geomagnetic sensor device and digital compass with the same
CN104218147A (en) Magnetic sensor preparation method and magnetic sensor
Mlejnek et al. Off-center error correction of AMR yokeless current transducer
TWI613458B (en) Magnetic field sensing apparatus and detection method thereof
CN215953724U (en) Temperature drift error compensation unit
CN203337153U (en) Triaxial digital compass
CN108469594B (en) High-precision closed-loop gradient magnetic resistance sensor
TW201418741A (en) Triaxial magnetic field sensor with fluxguide
CN117054936B (en) Gradient sensor
WO2015019534A1 (en) Magnetic sensor and electrical current sensor using said magnetic sensor
US20230184865A1 (en) Hybrid hall-effect/magnetoresistance (mr) magnetometer with self-calibration
Ripka 4-sensor yokeless electric current transducer
KR20040062912A (en) Robust Dual Electric Compass to External Magnetic Field Interference

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14891831

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14891831

Country of ref document: EP

Kind code of ref document: A1