Target magnetometer error correction method and device, electronic equipment and storage medium

By establishing a relationship model between environmental information and the magnetic strength of the geomagnetic field and correcting the target magnetometer, the problem of the magnetometer measurement value being affected by the geomagnetic field is solved, and the measurement accuracy and reliability of the magnetometer are improved.

CN119087327APending Publication Date: 2024-12-06RES INST OF CHEM DEFENSE PLA ACAD OF MILITARY SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411237589.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The measured values ​​of existing magnetometers are susceptible to geomagnetic fields, which affect the accuracy of their measured values.

Method used

Magnetic strength measurements are carried out by referring to magnetometers to measure historical environmental information, establish a corresponding relationship model between environmental information and geomagnetic field magnetic strength, obtain the geomagnetic field magnetic strength of the current environment, and use this model to measure the target magnetometer's measurement value Perform corrections to eliminate errors caused by geomagnetic fields.

Benefits of technology

It improves the accuracy and reliability of magnetometer measurement, reduces the impact of the geomagnetic field on the measurement results, and improves the accuracy of magnetometer measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087327A_ABST
    Figure CN119087327A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of magnetic field measurement, and provides a target magnetometer error correction method and device, electronic equipment and a storage medium. The method comprises the following steps: based on each piece of historical environment information and historical geomagnetic field magnetic intensity corresponding to each piece of historical environment information, establishing a corresponding relation model between the environment information and the geomagnetic field magnetic intensity; acquiring current environment information to which the to-be-measured magnetic field belongs, and determining the geomagnetic field intensity of the current environment according to the current environment information and the corresponding relation model; measuring a target magnetic intensity measurement value of the to-be-measured magnetic field in the target direction based on a target magnetometer; and correcting the target magnetic intensity measurement value in the target direction based on the geomagnetic field magnetic intensity of the current environment to obtain the corrected magnetic intensity measurement value in the target direction. The problem that the accuracy of the measured value of the magnetometer is influenced by the geomagnetic field in the prior art is solved, the influence of the geomagnetic field on the measurement result is eliminated, and the precision of magnetic intensity measurement is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of magnetic field measurement technology, and in particular to a target magnetometer error correction method, device, electronic device and storage medium. Background Art

[0002] Magnetometers are sensors used to measure magnetic induction intensity. They are widely used in industry, agriculture, transportation, medical care and other fields. High-sensitivity magnetic field measurement has important scientific and economic significance. However, there is currently a lack of mature and standardized calibration methods for magnetometers with ultra-high sensitivity. The measured values ​​of magnetometers are easily affected by the geomagnetic field, which in turn affects the reliability of their measured values. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a target magnetometer error correction method, device, electronic device and storage medium to solve the problem in the prior art that the measurement value of the magnetometer is affected by the geomagnetic field, thereby affecting the accuracy of its measurement value.

[0004] In a first aspect of an embodiment of the present application, a target magnetometer error correction method is provided, comprising: measuring the magnetic intensity of the geomagnetic field corresponding to each historical environmental information based on a reference magnetometer to obtain the historical geomagnetic field magnetic intensity corresponding to multiple historical environmental information; establishing a correspondence model between environmental information and geomagnetic field magnetic intensity based on each historical environmental information and the historical geomagnetic field magnetic intensity corresponding to each historical environmental information; obtaining current environmental information to which the magnetic field to be measured belongs, and determining the geomagnetic field magnetic intensity of the current environment based on the current environmental information and the correspondence model; measuring a target magnetic intensity measurement value of the magnetic field to be measured in a target direction based on a target magnetometer; and correcting the target magnetic intensity measurement value in the target direction based on the geomagnetic field magnetic intensity of the current environment to obtain a corrected magnetic intensity measurement value in the target direction.

[0005] According to a second aspect of an embodiment of the present application, a target magnetometer error correction device is provided, comprising: a first measurement module, used to measure the magnetic intensity of the geomagnetic field corresponding to multiple historical environmental information based on a reference magnetometer, and obtain the historical geomagnetic field magnetic intensity corresponding to each historical environmental information; an establishment module, used to establish a correspondence model between environmental information and geomagnetic field magnetic intensity based on each historical environmental information and the historical geomagnetic field magnetic intensity corresponding to each historical environmental information; a determination module, used to obtain the current environmental information to which the magnetic field to be measured belongs, and determine the geomagnetic field magnetic intensity of the current environment according to the current environmental information and the correspondence model; a second measurement module, used to measure the target magnetic intensity measurement value of the magnetic field to be measured in the target direction based on the target magnetometer; and a correction module, used to correct the target magnetic intensity measurement value in the target direction based on the geomagnetic field magnetic intensity of the current environment, and obtain the corrected magnetic intensity measurement value in the target direction.

[0006] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0007] According to a fourth aspect of an embodiment of the present application, a readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0008] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the magnetic intensity of the geomagnetic field corresponding to each historical environmental information can be measured by a reference magnetometer to obtain the historical geomagnetic field magnetic intensity corresponding to each historical environmental information. The reference magnetometer is a known magnetometer with high precision and good stability, which can be used to measure the magnetic intensity of the geomagnetic field. By accurately measuring the geomagnetic field under different environmental information with a reference magnetometer, a series of historical geomagnetic field magnetic intensities corresponding to different environmental information can be obtained. The historical geomagnetic field magnetic intensities corresponding to each historical environmental information and each historical environmental information constitute the basic data set for the subsequent construction of the corresponding relationship model. Based on the magnetic intensity data measured by the reference magnetometer and the corresponding historical environmental information, a corresponding relationship model that can describe the relationship between environmental information and geomagnetic field magnetic intensity can be established by a machine learning method. In practical applications, when it is necessary to measure the magnetic field to be measured, the current environmental information to which the magnetic field to be measured belongs is obtained, the current environmental information is input into the corresponding relationship model, and the corresponding relationship model outputs the predicted geomagnetic field magnetic intensity of the current environment, so that the magnetic intensity of the current geomagnetic field can be predicted quickly and without direct measurement, and the geomagnetic field magnetic intensity of the current environment is obtained. The target magnetometer is used to directly measure the target magnetic intensity measurement value of the magnetic field to be measured in the target direction. The target magnetometer is the magnetometer that needs to be calibrated in the present application scheme. The target magnetometer may have errors. At this time, the measured target magnetic intensity measurement value includes the magnetic intensity of the magnetic field to be measured and possible error components. The target magnetic intensity measurement value in the target direction is corrected based on the magnetic intensity of the geomagnetic field of the current environment, and the error part caused by the geomagnetic field in the measurement result of the target magnetometer is eliminated, and only the magnetic intensity contribution of the magnetic field to be measured itself is retained, that is, the corrected magnetic intensity measurement value in the target direction. The magnetic intensity measurement value obtained after correction in the target direction can more accurately reflect the true magnetic intensity of the magnetic field to be measured in the target direction, thereby improving the reliability of the measurement. The problem that the measurement value of the magnetometer in the prior art is affected by the geomagnetic field, thereby affecting the accuracy of its measurement value, is solved. The target magnetometer error correction method proposed in the present application eliminates the influence of the geomagnetic field on the measurement result, and improves the accuracy of magnetic intensity measurement. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0010] Figure 1 It is a flow chart of a target magnetometer error correction method provided in an embodiment of the present application;

[0011] Figure 2 It is a flow chart of another target magnetometer error correction method provided in an embodiment of the present application;

[0012] Figure 3 It is a flowchart of another target magnetometer error correction method provided in an embodiment of the present application;

[0013] Figure 4 It is a flowchart of another target magnetometer error correction method provided in an embodiment of the present application;

[0014] Figure 5 It is a structural schematic diagram of a target magnetometer error correction device provided in an embodiment of the present application;

[0015] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0016] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0017] A target magnetometer error correction method and device according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0018] Figure 1 It is a flow chart of a target magnetometer error correction method provided in an embodiment of the present application.

[0019] like Figure 1 As shown, the target magnetometer error correction method includes:

[0020] Step 101 , measuring the magnetic intensity of the geomagnetic field corresponding to a plurality of historical environmental information based on a reference magnetometer, and obtaining the magnetic intensity of the historical geomagnetic field corresponding to each historical environmental information.

[0021] In some embodiments, the target magnetometer is a magnetometer that needs to be calibrated, for example, the target magnetometer can be a micro laser pumped magnetometer. The micro laser pumped magnetometer is a new type of magnetometer for high-resolution scalar magnetic field measurement in geomagnetic environment. It adopts a self-excited structure and uses a vertical cavity surface emitting laser tube (Vertical Cavity Surface Emitting Laser, VCSEL) laser tube as a light source, which effectively reduces the power consumption, volume and weight of the magnetometer. The micro laser pumped magnetometer has the characteristics of high sensitivity, small size and low power consumption, and can be used in many fields such as geological exploration, military navigation, medical diagnosis, material physics, aerospace, target magnetic anomaly detection, etc.

[0022] In some embodiments, a magnetometer that can measure the geomagnetic field with high precision, good stability and strict calibration is selected as a reference magnetometer. For example, the reference magnetometer can be a three-dimensional fluxgate magnetometer. Based on the reference magnetometer, the magnetic field corresponding to each historical environmental information is measured to obtain the historical geomagnetic field intensity corresponding to each historical environmental information. The reference magnetometer provides reliable and accurate historical geomagnetic field intensity corresponding to each historical environmental information, which is the basis for subsequent data processing and establishing a corresponding relationship model. Historical environmental information may include geographical location, i.e., longitude and latitude, altitude, time, etc. Based on the reference magnetometer, the magnetic field corresponding to multiple historical environmental information is measured. Under each selected historical environmental condition, the geomagnetic field is actually measured by the reference magnetometer. During the measurement process, the reference magnetometer is placed and operated according to the prescribed operating procedures to record the historical geomagnetic field intensity under each historical environmental condition. The historical geomagnetic field intensity is a vector data. Specifically, at 8 o'clock in the morning on October 10, 2020, the geomagnetic field intensity of place A was measured by a reference magnetometer, and the geomagnetic field intensity of place A at this time was a, the longitude and latitude of place A was x, and the altitude was b. The above x, b and 8 o'clock in the morning on October 10, 2020 are historical environmental information, the magnetic intensity a is the historical geomagnetic field intensity corresponding to the historical environmental information, and a is a vector data. The historical geomagnetic field intensity obtained by measuring each historical environment is associated with the corresponding historical environmental information to form a geomagnetic field intensity database. By measuring under a variety of historical environmental conditions with a reference magnetometer, a geomagnetic field intensity database covering a variety of environmental variables is obtained, which is an important resource for establishing a corresponding relationship model between environmental information and geomagnetic field intensity.

[0023] Step 102: Based on each piece of historical environmental information and the historical geomagnetic field intensity corresponding to each piece of historical environmental information, a corresponding relationship model between environmental information and geomagnetic field intensity is established.

[0024] In some embodiments, according to each historical environmental information and the historical geomagnetic field intensity corresponding to each historical environmental information, the correlation and trend between environmental variables and geomagnetic field intensity can be explored through machine learning methods, the intrinsic connection between geomagnetic field intensity and environmental information can be discovered and quantified, and a corresponding relationship model between environmental information and geomagnetic field intensity can be established. The corresponding relationship model can receive environmental information as input and predict the corresponding geomagnetic field intensity based on it. Specifically, the corresponding relationship model can be a neural network model or other forms of functional relationship. After establishing a reliable corresponding relationship model between environmental information and geomagnetic field intensity, the corresponding relationship model can be used to predict the geomagnetic field intensity under any environmental conditions, especially in the absence of direct measurement data, which can improve the ability to predict the geomagnetic field.

[0025] Step 103, obtaining the current environment information to which the magnetic field to be measured belongs, and determining the magnetic field intensity of the current environment according to the current environment information and the corresponding relationship model.

[0026] In some embodiments, the current environmental information to which the magnetic field to be measured belongs can be obtained through the global satellite navigation system, and the current environmental information to which the magnetic field to be measured belongs can include the geographical location coordinates, altitude, date and time, etc. of the magnetic field to be measured. The current environmental information is input into the corresponding relationship model, and the magnetic field intensity of the geomagnetic field of the current environment can be predicted based on the input current environmental information. The magnetic field intensity of the geomagnetic field of the current environment is a vector data. The corresponding relationship model is trained based on historical data and can capture the complex relationship between different environmental parameters and the magnetic field intensity of the geomagnetic field.

[0027] Step 104 : measuring a target magnetic intensity value of the magnetic field to be measured in the target direction based on the target magnetometer.

[0028] In some embodiments, the target magnetometer is a magnetometer that needs to be calibrated, and can be a micro laser pumped magnetometer. The basic principle of the micro laser pumped magnetometer to measure the magnetic field intensity to be measured is that the atomic cloud in the alkali metal gas chamber of the micro laser pumped magnetometer undergoes Zeeman splitting under the action of the magnetic field to be measured, and a beam of pump light of a specific frequency is injected into the gas chamber. At this time, the atoms in the gas chamber are pumped from the ground state Zeeman sub-level to the excited state under the action of the pump light, and the atoms in the excited state decay to the sub-energy level through spontaneous radiation. The atoms on the sub-energy level are polarized to form a macroscopic magnetic moment, and the atomic spin produces a projection in the polarization direction, that is, the vertical direction of the magnetic field. A detection laser beam is added in the vertical direction of the pump light. The projection of the spun alkali metal atoms in the direction of the detection light produces different degrees of dispersion effect with the detection light, resulting in a polarization angle. The polarization angle is collected by the detection circuit and sent to the circuit for processing. The size of the polarization angle can be calculated through the Bloch equation to obtain the angular frequency of Larmor precession. The magnetic intensity of the magnetic field to be measured is further calculated based on the angular frequency of Larmor precession.

[0029] In some embodiments, a target magnetometer is used to measure the magnetic field to be measured, and the target magnetometer is placed in the magnetic field to be measured and aligned with the target direction. Thus, the target magnetic intensity measurement value of the magnetic field to be measured in the target direction is measured based on the target magnetometer. The target direction can be determined according to the actual application requirements, and this application is not limited. The target magnetic intensity measurement value is a scalar data. During the measurement process, the target magnetometer is affected by the geomagnetic field at the location where the magnetic field to be measured belongs, so there is an error. At this time, the measured target magnetic intensity measurement value includes the true magnetic intensity of the magnetic field to be measured and the error component.

[0030] Step 105 , correcting the target magnetic intensity measurement value in the target direction based on the magnetic field intensity of the current environment to obtain a corrected magnetic intensity measurement value in the target direction.

[0031] In some embodiments, the geomagnetic field is a magnetic field generated by the earth itself, which is ubiquitous. When measuring the magnetic intensity of the magnetic field to be measured, the presence of the geomagnetic field can affect the measurement results, causing the measured value to deviate from the true value. In order to eliminate the influence of the geomagnetic field, it is necessary to correct the target magnetic intensity measurement value in the target direction. Based on the target magnetic intensity measurement value and the target direction, a vector data, i.e., the measured magnetic intensity of the magnetic field to be measured, is generated, and the measured magnetic intensity of the magnetic field to be measured is subtracted from the magnetic intensity of the geomagnetic field of the current environment to obtain the corrected magnetic intensity measurement value in the target direction, which can reflect the true magnetic intensity of the magnetic field to be measured. By correction, the interference of the geomagnetic field is reduced, so that the measurement result of the target magnetometer more accurately reflects the magnetic intensity of the magnetic field to be measured, and the accuracy of the magnetic intensity measurement is improved.

[0032] Based on the target magnetometer error correction method proposed in this application, the magnetic intensity of the geomagnetic field corresponding to each historical environmental information can be measured by a reference magnetometer to obtain the historical geomagnetic field intensity corresponding to each historical environmental information. The reference magnetometer is a known magnetometer with high precision and good stability, which can be used to measure the magnetic intensity of the geomagnetic field. By accurately measuring the geomagnetic field under different environmental information with a reference magnetometer, a series of historical geomagnetic field intensities corresponding to different environmental information can be obtained. The historical geomagnetic field intensities corresponding to each historical environmental information and each historical environmental information constitute the basic data set for the subsequent construction of the corresponding relationship model. Based on the magnetic intensity data measured by the reference magnetometer and the corresponding historical environmental information, a corresponding relationship model that can describe the relationship between environmental information and geomagnetic field intensity can be established by a machine learning method. In practical applications, when it is necessary to measure the magnetic field to be measured, the current environmental information to which the magnetic field to be measured belongs is obtained, the current environmental information is input into the corresponding relationship model, and the corresponding relationship model outputs the predicted geomagnetic field intensity of the current environment, so that the magnetic intensity of the current geomagnetic field can be predicted quickly and without direct measurement, and the geomagnetic field intensity of the current environment is obtained. The target magnetometer is used to directly measure the target magnetic intensity measurement value of the magnetic field to be measured in the target direction. The target magnetometer is the magnetometer that needs to be calibrated in the present application scheme. The target magnetometer may have errors. At this time, the measured target magnetic intensity measurement value includes the magnetic intensity of the magnetic field to be measured and possible error components. The target magnetic intensity measurement value in the target direction is corrected based on the magnetic intensity of the geomagnetic field of the current environment, and the error part caused by the geomagnetic field in the measurement result of the target magnetometer is eliminated, and only the contribution of the magnetic field to be measured itself is retained, that is, the corrected magnetic intensity measurement value in the target direction. The magnetic intensity measurement value in the target direction obtained after correction can more accurately reflect the true magnetic intensity of the magnetic field to be measured in the target direction, thereby improving the reliability of the measurement. The problem that the measurement value of the magnetometer in the prior art is affected by the geomagnetic field, thereby affecting the accuracy of its measurement value, is solved. The target magnetometer error correction method proposed in the present application eliminates the influence of the geomagnetic field on the measurement result, and improves the accuracy of magnetic intensity measurement.

[0033] In some embodiments, measuring a target magnetic intensity measurement value of a magnetic field to be measured in a target direction based on a target magnetometer includes: performing a preset number of measurements of the magnetic field to be measured in the target direction based on the target magnetometer measurement to obtain a preset number of initial magnetic intensity measurement values; and performing average calculation on the preset number of initial magnetic intensity measurement values ​​to obtain a target magnetic intensity measurement value.

[0034] In some embodiments, when the magnetic field to be measured is measured by the target magnetometer, there may be errors in a single measurement due to environmental noise, equipment fluctuations or other random factors. By presetting multiple repeated measurements, more magnetic intensity information about the magnetic field to be measured in the target direction can be collected, and preset initial magnetic intensity measurement values ​​can be obtained, increasing the statistical sample size of the measurement, and providing a richer and more stable data basis for subsequent data analysis and processing. The preset initial magnetic intensity measurement values ​​are added, and the addition result is divided by the number of measurements (preset times) to obtain the average of all measurement values, that is, the target magnetic intensity measurement value. By taking the average of multiple measurements, the influence of random errors can be significantly reduced, the deviation caused by accidental factors can be reduced, and a more reliable and representative target magnetic intensity measurement value can be obtained, which significantly improves the accuracy and credibility of the target magnetic intensity measurement value.

[0035] In some embodiments, reference Figure 2 The historical environmental information includes historical positions, historical times and historical altitudes. Step 102 is to establish a correspondence model between environmental information and geomagnetic field intensity based on various historical environmental information and the historical geomagnetic field intensity corresponding to each historical environmental information, including: Step 201, establishing an initial correspondence model; Step 202, inputting various historical positions, various historical times and various historical altitudes into the initial correspondence model to obtain predicted geomagnetic field intensity corresponding to each historical environmental information; Step 203, based on the predicted geomagnetic field intensity corresponding to each historical environmental information and the historical geomagnetic field intensity corresponding to each historical environmental information, obtaining a square loss value corresponding to the square loss function; Step 204, updating the parameters of the initial correspondence model according to the square loss value to obtain the correspondence model.

[0036] In some embodiments, the three dimensions of historical position, historical time and historical altitude can constitute the spatiotemporal framework of historical environmental information, representing the spatial coordinates, measurement time and altitude during the measurement of the geomagnetic field, respectively, which are important factors affecting the intensity of the geomagnetic field. Position can affect the local changes of the geomagnetic field, time involves long-term changes (such as geomagnetic drift) and short-term changes (such as the influence of solar activity) of the geomagnetic field, and altitude can affect the vertical component of the geomagnetic field. A neural network model can be defined as an initial correspondence model to express the potential relationship between environmental information and the magnetic intensity of the geomagnetic field. The parameters of the initial correspondence model are not optimized when the initial corresponding relationship model is initially set, and are only based on basic assumptions. The known historical environmental information (each historical position, each historical time and each historical altitude) is input into the initial correspondence model, and the initial correspondence model outputs the predicted historical geomagnetic field intensity corresponding to each historical environmental information. The predicted geomagnetic field intensity corresponding to each historical environmental information and the historical geomagnetic field intensity corresponding to each historical environmental information can be compared, and the difference between the two can be quantified using the square loss function (L2 loss function) to obtain the square loss value. The smaller the square loss value, the closer the predicted value is to the actual value, and the better the model performance. Based on the square loss value, the gradient descent algorithm can be used to adjust the parameters in the model to minimize the square loss value, so that the prediction results of the initial correspondence model are as close to the actual observation value as possible, until the square loss value is lower than or equal to the preset value. After multiple iterations and optimizations, the correspondence model is obtained. The correspondence model can accurately predict the magnetic field intensity based on given environmental information (location, time and altitude).

[0037] In some embodiments, reference Figure 3 Step 105, i.e., before correcting the target magnetic intensity measurement value in the target direction based on the magnetic field strength of the current environment, further includes: step 301 obtaining the direction of the target magnetometer; step 302, determining the measured magnetic intensity of the magnetic field to be measured according to the direction of the target magnetometer and the target magnetic intensity measurement value, wherein the measured magnetic intensity of the magnetic field to be measured includes the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured.

[0038] In some embodiments, the magnetic field to be measured is measured by a target magnetometer in a specific target direction, and the total effect of all magnetic fields in the target direction, including the geomagnetic field and the magnetic field to be measured, is sensed and quantified to obtain a target magnetic intensity measurement value. The orientation of the target magnetometer is used as the direction of the target magnetometer. Obtaining the direction of the target magnetometer helps to correctly map the target magnetic intensity measurement value to the three-dimensional space in the future and distinguish the magnetic field contributions in different directions. The target magnetic intensity measurement value provides a quantitative index of the magnetic intensity of the magnetic field to be measured, but the magnetic intensity of the magnetic field is a vector. The target magnetic intensity measurement value alone is not enough to fully describe the magnetic field to be measured. Combined with the measurement value of the magnetometer (i.e., the target magnetic intensity measurement value) and the direction of the target magnetometer, comprehensive information of the magnetic field to be measured is obtained, i.e., the measured magnetic intensity of the magnetic field to be measured. The measured magnetic intensity of the magnetic field to be measured is vector data, including the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured.

[0039] In some embodiments, reference Figure 4 The geomagnetic field intensity of the current environment includes the geomagnetic field intensity value of the current environment and the geomagnetic field intensity direction of the current environment. Step 105, i.e., correcting the target magnetic intensity measurement value in the target direction based on the geomagnetic field intensity of the current environment to obtain the corrected magnetic intensity measurement value in the target direction, includes: Step 401, correcting the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured according to the geomagnetic field intensity value of the current environment and the geomagnetic field intensity direction of the current environment to obtain the corrected magnetic intensity measurement value in the target direction.

[0040] In some embodiments, the geomagnetic field magnetic intensity is a vector data, and the geomagnetic field magnetic intensity includes the geomagnetic field magnetic intensity value and the geomagnetic field magnetic intensity direction. The geomagnetic field magnetic intensity value is a digital expression of the magnetic induction intensity of the geomagnetic field at a specific location and time point. The geomagnetic field magnetic intensity value and the geomagnetic field magnetic intensity direction can jointly describe the overall state of the geomagnetic field in the corresponding environment. The measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured obtained by the above calculation include the superposition of the magnetic intensity of the magnetic field to be measured and the geomagnetic field magnetic intensity, and the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured need to be corrected by the geomagnetic field magnetic intensity value of the current environment and the geomagnetic field magnetic intensity direction of the current environment. The geomagnetic field magnetic intensity value of the current environment and the geomagnetic field magnetic intensity direction of the current environment are subtracted from the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured, eliminating the interference of the geomagnetic field, leaving only the true intensity of the magnetic field to be measured, that is, the corrected magnetic intensity measurement value in the target direction. Compared with the target magnetic intensity measurement value (uncorrected value), the magnetic intensity measurement value (corrected value) is a purer and more accurate measurement result, and can better represent the true magnetic intensity of the magnetic field to be measured.

[0041] In some embodiments, obtaining the direction of a target magnetometer includes: the state of the target magnetometer includes any one of the following: the target magnetometer is in a stationary state, the target magnetometer is in a moving state; when the target magnetometer is in a stationary state, determining the orientation of the target magnetometer as the direction of the target magnetometer; when the target magnetometer is in a moving state, obtaining global positioning system data of a moving carrier, determining the direction of the moving carrier according to the global positioning system data of the moving carrier, determining the direction of the moving carrier as the direction of the target magnetometer, and the target magnetometer is fixed on the moving carrier.

[0042] In some embodiments, when the target magnetometer remains stationary, the orientation of the target magnetometer directly determines the direction of the target magnetometer. A direction sensor can be set in the target magnetometer, and the orientation of the target magnetometer is determined based on the direction sensor to ensure the correctness of subsequent analysis. When the magnetometer is installed on a moving carrier, the moving carrier can be an unmanned aerial vehicle, a vehicle, a ship, etc., and the global positioning system (GPS) data can be used to determine the direction of the moving carrier. GPS data can provide position change information of the moving carrier, and combined with the inertial navigation system (INS) data of the moving carrier, the direction of the moving carrier can be estimated in real time. The target magnetometer is fixed on the moving carrier, and the target magnetometer moves with the moving carrier. The direction of the moving carrier is determined as the direction of the target magnetometer, so that the direction of the target magnetometer at each moment can be accurately obtained.

[0043] In some embodiments, after measuring the target magnetism measurement value of the magnetic field to be measured in the target direction based on the target magnetometer, it also includes: measuring the geomagnetic field of the current environment based on the target magnetometer measurement to obtain the second geomagnetic field magnetic intensity value of the current environment; subtracting the second geomagnetic field magnetic intensity value of the current environment from the target magnetism measurement value to obtain a corrected second magnetism measurement value in the target direction.

[0044] In some embodiments, the area to which the magnetic field to be measured belongs is relatively small, and the geomagnetic field is affected by the geographical location, but the magnetic intensity of the geomagnetic field in a relatively large area can be regarded as almost the same, for example, the magnetic intensity of the geomagnetic field in places C and D, which are 5 kilometers apart, can be regarded as the same. Specifically, the magnetic field to be measured is in place C, and the target magnetic intensity measurement value of the magnetic field to be measured in the target direction is measured based on the target magnetometer, and the target magnetic intensity measurement value includes the combined effect of the magnetic field to be measured itself and the geomagnetic field. Places C and D are 5 kilometers apart, and place D is a place without additional magnetic interference, which can be used to measure the magnetic intensity of the geomagnetic field. Places C and D are both current environments. The geomagnetic field of place D is measured by the target magnetometer to obtain the magnetic intensity value of the geomagnetic field of place D, that is, the second geomagnetic field intensity value of the above-mentioned current environment. The magnetic field to be measured in place C is measured by the target magnetometer to obtain the target magnetic intensity measurement value of place C. The target magnetic intensity measurement value of the C site (including the magnetic field to be measured and the geomagnetic field) is subtracted from the separately measured geomagnetic field magnetic intensity value of the D site, eliminating the interference of the geomagnetic field of the C site, and obtaining the magnetic intensity generated only by the magnetic field to be measured in the C site, so that the final correction result can more accurately reflect the true intensity of the magnetic field to be measured. After correction, the above-mentioned second magnetic intensity measurement value is actually the net magnetic intensity of the magnetic field to be measured in the target direction, excluding the contribution of the geomagnetic field. The target magnetometer error correction method proposed in this application can eliminate the ubiquitous influence of the geomagnetic field, and can improve the reliability and accuracy of the target magnetometer.

[0045] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0046] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0047] Figure 5 Schematic diagram of a target magnetometer error correction device provided in an embodiment of the present application. Figure 5 As shown, the target magnetometer error correction device comprises:

[0048] The first measurement module 501 is used to measure the magnetic field intensity of the geomagnetic field corresponding to the multiple historical environmental information based on the reference magnetometer to obtain the magnetic intensity of the historical geomagnetic field corresponding to each historical environmental information;

[0049] Establishing module 502, for establishing a corresponding relationship model between environmental information and geomagnetic field intensity based on each historical environmental information and the historical geomagnetic field intensity corresponding to each historical environmental information;

[0050] The determination module 503 is used to obtain the current environment information to which the magnetic field to be measured belongs, and determine the magnetic field intensity of the current environment according to the current environment information and the corresponding relationship model;

[0051] The second measurement module 504 is used to measure the target magnetic intensity measurement value of the magnetic field to be measured in the target direction based on the target magnetometer;

[0052] The correction module 505 is used to correct the target magnetic intensity measurement value in the target direction based on the magnetic field intensity of the current environment to obtain the corrected magnetic intensity measurement value in the target direction.

[0053] According to the technical solution provided in the embodiment of the present application, the magnetic intensity of the geomagnetic field corresponding to each historical environmental information is measured by a reference magnetometer, and the historical geomagnetic field magnetic intensity corresponding to each historical environmental information is obtained. The reference magnetometer is a known magnetometer with high precision and good stability, which can be used to measure the magnetic intensity of the geomagnetic field. By accurately measuring the geomagnetic field under different environmental information with a reference magnetometer, a series of historical geomagnetic field magnetic intensities corresponding to different environmental information can be obtained, and the historical geomagnetic field magnetic intensities corresponding to each historical environmental information and each historical environmental information constitute the basic data set for the subsequent construction of the corresponding relationship model. Based on the magnetic intensity data measured by the reference magnetometer and the corresponding historical environmental information, a corresponding relationship model that can describe the relationship between environmental information and geomagnetic field magnetic intensity can be established by a machine learning method. In practical applications, when it is necessary to measure the magnetic field to be measured, the current environmental information to which the magnetic field to be measured belongs is obtained, and the current environmental information is input into the corresponding relationship model, and the corresponding relationship model outputs the predicted geomagnetic field magnetic intensity of the current environment, so that the magnetic intensity of the current geomagnetic field can be predicted quickly and without direct measurement, and the geomagnetic field magnetic intensity of the current environment is obtained. The target magnetometer is used to directly measure the target magnetic intensity measurement value of the magnetic field to be measured in the target direction. The target magnetometer is the magnetometer that needs to be calibrated in the present application scheme. The target magnetometer may have errors. At this time, the measured target magnetic intensity measurement value includes the magnetic intensity of the magnetic field to be measured and possible error components. The target magnetic intensity measurement value in the target direction is corrected based on the magnetic intensity of the geomagnetic field of the current environment, and the error part caused by the geomagnetic field in the measurement result of the target magnetometer is eliminated, and only the contribution of the magnetic field to be measured itself is retained, that is, the corrected magnetic intensity measurement value in the target direction. The magnetic intensity measurement value in the target direction obtained after correction can more accurately reflect the true magnetic intensity of the magnetic field to be measured in the target direction, thereby improving the reliability of the measurement. The problem that the measurement value of the magnetometer in the prior art is affected by the geomagnetic field, thereby affecting the accuracy of its measurement value, is solved. The target magnetometer error correction method proposed in the present application eliminates the influence of the geomagnetic field on the measurement result, and improves the accuracy of magnetic intensity measurement.

[0054] In some embodiments, the second measurement module 504 is configured to perform a preset number of measurements on the magnetic field to be measured in the target direction based on the target magnetometer measurement to obtain a preset number of initial magnetic intensity measurement values; and perform average calculation on the preset number of initial magnetic intensity measurement values ​​to obtain a target magnetic intensity measurement value.

[0055] In some embodiments, the historical environmental information includes historical location, historical time and historical altitude, and the establishment module 502 is configured to establish an initial correspondence model; each historical location, each historical time and each historical altitude is input into the initial correspondence model to obtain the predicted geomagnetic field intensity corresponding to each historical environmental information; based on the predicted geomagnetic field intensity corresponding to each historical environmental information and the historical geomagnetic field intensity corresponding to each historical environmental information, the square loss value corresponding to the square loss function is obtained; the parameters of the initial correspondence model are updated according to the square loss value to obtain the correspondence model.

[0056] In some embodiments, before correcting the target magnetometer measurement value in the target direction based on the geomagnetic field magnetic intensity of the current environment, the target magnetometer error correction device is configured to obtain the direction of the target magnetometer; based on the direction of the target magnetometer and the target magnetometer measurement value, determine the measured magnetic intensity of the magnetic field to be measured, and the measured magnetic intensity of the magnetic field to be measured includes the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured.

[0057] In some embodiments, the geomagnetic field intensity of the current environment includes the geomagnetic field intensity value of the current environment and the geomagnetic field intensity direction of the current environment. The correction module 505 is configured to correct the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured according to the geomagnetic field intensity value of the current environment and the geomagnetic field intensity direction of the current environment to obtain the corrected magnetic intensity measurement value in the target direction.

[0058] In some embodiments, the target magnetometer error correction device is configured so that the state of the target magnetometer includes any one of the following: the target magnetometer is in a stationary state, the target magnetometer is in a moving state; when the target magnetometer is in a stationary state, the orientation of the target magnetometer is determined as the direction of the target magnetometer; when the target magnetometer is in a moving state, the global positioning system data of the moving carrier is obtained, and the direction of the moving carrier is determined according to the global positioning system data of the moving carrier, and the direction of the moving carrier is determined as the direction of the target magnetometer, and the target magnetometer is fixed on the moving carrier.

[0059] In some embodiments, after the target magnetometer measures the target magnetism measurement value of the magnetic field to be measured in the target direction, the target magnetometer error correction device is configured to measure the geomagnetic field of the current environment based on the target magnetometer measurement to obtain the second geomagnetic field magnetic intensity value of the current environment; subtract the second geomagnetic field magnetic intensity value of the current environment from the target magnetism measurement value to obtain a corrected second magnetism measurement value in the target direction.

[0060] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0061] Figure 6 Schematic diagram of an electronic device 6 provided in an embodiment of the present application. Figure 6 As shown, the electronic device 6 of this embodiment includes: a processor 601, a memory 602, and a computer program 603 stored in the memory 602 and executable on the processor 601. When the processor 601 executes the computer program 603, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 601 executes the computer program 603, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0062] The electronic device 6 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 6 may include, but is not limited to, a processor 601 and a memory 602. Those skilled in the art will appreciate that Figure 6 The electronic device 6 is merely an example and does not limit the electronic device 6 . The electronic device 6 may include more or less components than those shown in the figure, or different components.

[0063] The processor 601 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0064] The memory 602 may be an internal storage unit of the electronic device 6, for example, a hard disk or memory of the electronic device 6. The memory 602 may also be an external storage device of the electronic device 6, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. The memory 602 may also include both an internal storage unit of the electronic device 6 and an external storage device. The memory 602 is used to store computer programs and other programs and data required by the electronic device.

[0065] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0066] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable storage media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0067] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A target magnetometer error correction method, characterized in that: include: Measuring the magnetic intensity of the geomagnetic field corresponding to the plurality of historical environmental information based on a reference magnetometer to obtain the magnetic intensity of the historical geomagnetic field corresponding to each of the historical environmental information; Based on each of the historical environmental information and the historical geomagnetic field intensity corresponding to each of the historical environmental information, a corresponding relationship model between the environmental information and the geomagnetic field intensity is established; Acquire current environment information to which the magnetic field to be measured belongs, and determine the magnetic field intensity of the geomagnetic field of the current environment according to the current environment information and the corresponding relationship model; The target magnetometer measures a target magnetic intensity measurement value of the magnetic field to be measured in the target direction; The target magnetic intensity measurement value in the target direction is corrected based on the magnetic field intensity of the current environment to obtain a corrected magnetic intensity measurement value in the target direction.

2. The method according to claim 1, characterized in that The target magnetometer measures the target magnetic intensity measurement value of the magnetic field to be measured in the target direction, including: Based on the target magnetometer measurement, the magnetic field to be measured is measured a preset number of times in the target direction to obtain a preset number of initial magnetic intensity measurement values; The preset initial magnetic intensity measurement values ​​are averaged to obtain the target magnetic intensity measurement value.

3. The method according to claim 1, characterized in that The historical environmental information includes historical location, historical time and historical altitude. The establishing of a corresponding relationship model between environmental information and geomagnetic field intensity based on each of the historical environmental information and the historical geomagnetic field intensity corresponding to each of the historical environmental information includes: Establishing an initial correspondence model; Inputting each of the historical locations, each of the historical times and each of the historical altitudes into the initial correspondence model, obtaining the predicted geomagnetic field intensity corresponding to each of the historical environmental information; Based on the predicted geomagnetic field intensity corresponding to each of the historical environmental information and the historical geomagnetic field intensity corresponding to each of the historical environmental information, obtaining a square loss value corresponding to the square loss function; The parameters of the initial correspondence relationship model are updated according to the square loss value to obtain the correspondence relationship model.

4. The method according to claim 1, characterized in that: Before correcting the target magnetic intensity measurement value in the target direction based on the geomagnetic field intensity of the current environment, the method further includes: Obtaining the direction of the target magnetometer; The measured magnetic intensity of the magnetic field to be measured is determined according to the direction of the target magnetometer and the target magnetic intensity measurement value, wherein the measured magnetic intensity of the magnetic field to be measured includes the measured magnetic intensity value of the magnetic field to be measured and the measured magnetic intensity direction of the magnetic field to be measured.

5. The method according to claim 4, characterized in that The geomagnetic field intensity of the current environment includes the geomagnetic field intensity value of the current environment and the geomagnetic field intensity direction of the current environment, and the target magnetic intensity measurement value in the target direction is corrected based on the geomagnetic field intensity of the current environment to obtain the corrected magnetic intensity measurement value in the target direction, including: The measured magnetic intensity value and the measured magnetic intensity direction of the magnetic field to be measured are corrected according to the magnetic intensity value and the magnetic intensity direction of the geomagnetic field of the current environment to obtain the corrected magnetic intensity measurement value in the target direction.

6. The method according to claim 4, characterized in that The obtaining the direction of the target magnetometer comprises: The state of the target magnetometer includes any one of the following: the target magnetometer is in a stationary state, the target magnetometer is in a moving state; When the target magnetometer is in a stationary state, determining the orientation of the target magnetometer as the direction of the target magnetometer; When the target magnetometer is in motion, the global positioning system data of the moving carrier is acquired, and the direction of the moving carrier is determined according to the global positioning system data of the moving carrier, and the direction of the moving carrier is determined as the direction of the target magnetometer, and the target magnetometer is fixed on the moving carrier.

7. The method according to claim 1, characterized in that After the target magnetometer measures the target magnetic intensity measurement value of the magnetic field to be measured in the target direction, the method further includes: Measuring the geomagnetic field of the current environment based on the target magnetometer measurement to obtain a second geomagnetic field magnetic intensity value of the current environment; The second geomagnetic field magnetic intensity value of the current environment is subtracted from the target magnetic intensity measurement value to obtain a corrected second magnetic intensity measurement value in the target direction.

8. A target magnetometer error correction device, characterized in that: include: A first measurement module is used to measure the magnetic intensity of the geomagnetic field corresponding to the multiple historical environmental information based on a reference magnetometer to obtain the magnetic intensity of the historical geomagnetic field corresponding to each of the historical environmental information; An establishment module is used to establish a corresponding relationship model between environmental information and geomagnetic field intensity based on each of the historical environmental information and the historical geomagnetic field intensity corresponding to each of the historical environmental information; A determination module, used to obtain current environment information to which the magnetic field to be measured belongs, and determine the magnetic field intensity of the geomagnetic field of the current environment according to the current environment information and the corresponding relationship model; A second measurement module, configured to measure a target magnetic intensity measurement value of the magnetic field to be measured in a target direction based on the target magnetometer; The correction module is used to correct the target magnetic intensity measurement value in the target direction based on the magnetic field intensity of the current environment to obtain a corrected magnetic intensity measurement value in the target direction.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.