NV vector magnetometer error calibration method and device, medium and product
By constructing and solving the error expression and model of NV vector magnetometers, the problem of NV magnetometer error calibration is solved, the measurement accuracy is improved, and it is suitable for a variety of application fields.
Patent Information
- Application Number
- CN202411044995.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-15
AI Technical Summary
The existing diamond nitrogen vacancies (NV) magnetometers have non-orthogonal errors, proportional factor errors and zero deviation errors during the manufacturing process, which affects the measurement accuracy, and existing studies have not yet clearly evaluated and compensated for these errors.
By obtaining the magnetic field intensity measurement data of the NV vector magnetometer in various postures, an error expression is constructed, the error coefficient is solved using the ellipsoid fitting method of the least squares method, an error model is established, and the measurement data is substituted into the model to calibrate the magnetic field. Strength data.
The evaluation and calibration of non-orthogonal errors, proportional factor errors and zero deviation errors are achieved, and the magnetic field strength measurement accuracy of the NV vector magnetometer is improved, and it is suitable for magnetic abnormality signal detection, aerospace and drones.
Smart Images

Figure CN118962536A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of magnetic sensing technology, and in particular to a diamond nitrogen vacancy color center (NV) vector magnetometer error calibration method, equipment, medium and product. Background Art
[0002] Compared with other types of magnetometers, diamond nitrogen vacancy color center (NV) magnetometers have high sensitivity, are easy to integrate, and have strong adaptability. They can meet the high-precision requirements in practical applications and have been widely used in magnetic anomaly signal detection, aerospace, geomagnetic navigation and other fields. The emergence of NV magnetic vector sensitive technology has made micro-miniature ultra-high-precision magnetic vector sensing possible, injecting new vitality into magnetic database collection and real-time magnetic data measurement. Moreover, NV magnetometers have broad development and application prospects in various fields due to their natural vector characteristics, high sensitivity, high resolution, high stability and other advantages.
[0003] However, the NV magnetometer itself has errors during the manufacturing process, mainly including non-orthogonality error, scale factor error and zero bias error, etc. These errors interfere with the NV magnetometer and affect the measurement accuracy. Therefore, these errors must be calibrated before using the NV magnetometer.
[0004] The ellipsoid fitting method based on the least squares method is a common correction method. The basic idea is that the three-dimensional magnetic trajectory of the magnetic field vector is a distorted ellipsoid that deviates from the origin, and its shape and position are determined by the error coefficient. Through correction, the three-dimensional magnetic trajectory of the magnetic field vector is corrected to a sphere with a radius equal to the magnetic field modulus value, thereby achieving the purpose of calibrating the original magnetic field data.
[0005] It can be seen that the existing research on diamond nitrogen vacancy color center (NV) magnetometers only involves the measurement of NV color center vector magnetic field. The evaluation of its non-orthogonality, proportional factor and zero bias error and how to compensate for it are still unclear. Therefore, it is necessary to study its errors and then compensate them to achieve the purpose of measuring magnetic field data and making the real magnetic field data more consistent, and then play a role in magnetic anomaly signal detection, aerospace, drones and other fields. Summary of the invention
[0006] The purpose of this application is to provide an NV vector magnetometer error calibration method, equipment, medium and product, which can realize the evaluation and calibration of non-orthogonality error, proportional factor error and zero bias error, and improve the accuracy of NV vector magnetometer in measuring magnetic field intensity.
[0007] To achieve the above objectives, this application provides the following solutions:
[0008] In a first aspect, the present application provides an NV vector magnetometer error calibration method, comprising:
[0009] Obtain the magnetic field strength measurement data corresponding to the NV vector magnetometer in various types of postures;
[0010] Constructing an NV vector magnetometer error expression, wherein the NV vector magnetometer error expression is a relationship between the magnetic field intensity measurement data, the magnetic field intensity true data and an error coefficient, the error coefficient includes a combination coefficient and a zero bias error coefficient, and the combination coefficient includes a non-orthogonal error coefficient and a proportional factor error coefficient;
[0011] Fitting all the magnetic field intensity measurement data using an ellipsoid fitting method based on the least squares method, solving the error coefficient, and obtaining a determined error coefficient;
[0012] Substituting the determined error coefficient into the NV vector magnetometer error expression to obtain an NV vector magnetometer error model;
[0013] The magnetic field strength measurement data is substituted into the NV vector magnetometer error model to obtain the corresponding real data of the magnetic field strength.
[0014] In a second aspect, the present application provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any one of the above-mentioned NV vector magnetometer error calibration methods.
[0015] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the above-mentioned NV vector magnetometer error calibration methods.
[0016] In a fourth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any one of the above-mentioned NV vector magnetometer error calibration methods.
[0017] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0018] The present application provides an NV vector magnetometer error calibration method, device, medium and product, including obtaining magnetic field intensity measurement data corresponding to an NV vector magnetometer under various types of postures; constructing an NV vector magnetometer error expression, wherein the NV vector magnetometer error expression is a relationship between the magnetic field intensity measurement data, the magnetic field intensity true data and the error coefficient, the error coefficient includes a combination coefficient and a zero bias error coefficient, and the combination coefficient includes a non-orthogonality error coefficient and a proportional factor error coefficient; fitting all the magnetic field intensity measurement data based on an ellipsoid fitting method of the least squares method, solving the error coefficient, and obtaining a determined error coefficient; substituting the determined error coefficient into the NV vector magnetometer error expression to obtain an NV vector magnetometer error model; substituting the magnetic field intensity measurement data into the NV vector magnetometer error model to obtain the corresponding magnetic field intensity true data, thereby realizing the evaluation and calibration of the non-orthogonality error, the proportional factor error and the zero bias error, and thus realizing the high-precision magnetic field intensity measurement of the NV vector magnetometer. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments 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 creative work.
[0020] Figure 1 This is an application environment diagram of an NV vector magnetometer error calibration method provided in Example 1 of the present application;
[0021] Figure 2 A schematic flow chart of an NV vector magnetometer error calibration method provided in Example 1 of the present application;
[0022] Figure 3 This is a schematic diagram of establishing the diamond coordinate system of the NV vector magnetometer in Example 1 of the present application;
[0023] Figure 4 Schematic diagram of establishing the NV vector magnetometer probe coordinate system in Example 1 of the present application;
[0024] Figure 5 This is a schematic diagram of obtaining magnetic field data under different postures of the NV vector magnetometer in Example 1 of the present application;
[0025] Figure 6 Schematic diagram of three angles of non-orthogonal error coefficients in Example 1 of the present application;
[0026] Figure 7A schematic diagram of the structure of a computer device provided in Example 2 of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0029] Example 1
[0030] The NV vector magnetometer error calibration method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, integrated on the server 104, or placed on the cloud or other servers. The terminal 102 can send the magnetic field strength measurement data obtained by the NV vector magnetometer under various types of postures to the server 104. After the server 104 receives the magnetic field strength measurement data, the server 104 first constructs the relationship between the magnetic field strength measurement data, the magnetic field strength true data and the error coefficient, that is, the NV vector magnetometer error expression; then the ellipsoid fitting method based on the least squares method is used to fit all the magnetic field strength measurement data, solve the error coefficient, and obtain a determined error coefficient; then determine the NV vector magnetometer error model according to the determined error coefficient and the NV vector magnetometer error expression; finally, substitute the magnetic field strength measurement data into the NV vector magnetometer error model to obtain the corresponding magnetic field strength true data. The server 104 can feedback the obtained magnetic field strength true data to the terminal 102. In addition, in some embodiments, the NV vector magnetometer error calibration method can also be implemented separately by the server 104 or the terminal 102. For example, the terminal 102 can directly perform error correction on the magnetic field strength measurement data, or the server 104 can obtain the magnetic field strength measurement data from the data storage system and then perform error correction on it.
[0031] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers, or may be a cloud server.
[0032] In an exemplary embodiment, before actual application, the following Figure 2 The NV vector magnetometer error calibration method shown in the figure calibrates the NV vector magnetometer to determine the relationship matrix between the real magnetic field and the measured magnetic field. The method is executed by a computer device, which can be executed by a computer device such as a terminal or a server alone, or by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate the method, which includes the following steps 201 to 208. Among them:
[0033] Step 201, obtain the magnetic field strength measurement data corresponding to the NV vector magnetometer in various types of postures, wherein the magnetic field data of different postures are obtained by placing the NV vector magnetometer probe in a shielding tube, using a programmable current source to control the coil in the shielding tube to generate a full-space rotating magnetic field with a constant total field strength, and then establish a relationship model among the NV four-axis coordinate system, the diamond coordinate system and the sensor coordinate system, and obtain the resonant frequency and vector magnetic field conversion coefficient matrix to realize three-axis vector magnetic field measurement.
[0034] The NV color center in diamond has four different crystallographic axes, which can be used for full vector magnetic field measurement. When an external magnetic field acts on the ensemble diamond, the magnetic field will be projected on the NV axis. The NV axis will sense the change in the magnetic field and cause the four pairs of resonant frequencies to shift, and the magnitude of the shift is only related to the magnitude of the magnetic field acting on the NV axis. In this way, the magnetic field vector measurement can be achieved by inverting the shift of the four pairs of resonant frequencies.
[0035] On this basis, the correspondence between the NV color center four-axis coordinate system, the diamond coordinate system and the NV vector magnetometer probe coordinate system is established to realize the magnetic field vector measurement. The establishment of the diamond coordinate system is related to the unit cell structure. The diamond commonly used in the laboratory is produced by high temperature and high pressure method and cut along the
[100] direction. The establishment of the NV color center four-axis coordinate system to the diamond coordinate system is as follows: Figure 3 As shown, taking a single unit cell in the ensemble diamond as an example, its
[110] direction is the x-axis, The
[001] direction is the y-axis, and the
[001] direction is the z-axis. For the entire ensemble diamond, the midpoint of the square surface of the ensemble diamond is taken as the origin, the line connecting the midpoint and the angle in the
[110] direction is taken as the x-axis, and the line connecting the midpoint and the
[001] direction is taken as the z-axis. The line connecting the angles of the direction is the y-axis, and the height of the cuboid is the z-axis.
[0036] Based on the diamond coordinate system and its position in the probe, the NV vector magnetometer probe coordinate system is constructed, such as Figure 4 As shown. In the actual calibration process, the NV vector magnetometer probe is placed in the three-axis Helmholtz coil so that its x or y direction is consistent with the coil induced magnetic field, then only the zero points of the two demodulation curves will be offset and have the same amplitude. When the z direction of the NV vector magnetometer probe is consistent with the coil direction, the zero points of the four NV axis demodulation curves will be offset, and their offsets are the same, so the direction of the NV vector magnetometer probe can be determined.
[0037] The measurement of the vector magnetic field by the NV vector magnetometer requires the use of four NV axes to determine the relationship between the four-axis resonant frequency offset and the three-axis magnetic field. The relationship between the two can be expressed as:
[0038]
[0039] Where Δf i is the offset of the resonant frequency (i=1,2,3,4), B x ,B y ,B z is the three-axis magnetic field component detected by the sensor, and A is the relationship matrix between the four-axis resonant frequency offset and the three-axis magnetic field.
[0040] The matrix A is defined as:
[0041]
[0042] Among them, v λ 、v χ , and v κ Corresponding to the frequency deviation of the four NV axes respectively. Matrix A is mainly related to the applied bias magnetic field Strain parameters Related to the temperature-dependent zero-field splitting D. Bias magnetic field A change of 10μT in any component will have a slight effect on A, but this effect is very small and almost negligible. In some cases, this effect is even less than 0.01%. The influence on A is also very limited, and the doubling of A has a much smaller influence on A than 1%. In addition, the fluctuation of zero field splitting D has an influence on A of less than 0.01%. Therefore, the influence of these factors can be ignored in the actual process.
[0043] In the case of weak magnetic field strength and low strain, the matrix A, A is determined by the unit vector of the NV symmetry axis. L.Z The expression of (the ideal case of matrix A) is:
[0044]
[0045] Due to the bias magnetic field There are magnetic field components on each NV axis, so the requirements of the magnetic field projection on the NV axis for ODMR frequency shift measurement cannot be met. L.Z It is different from A, so it is necessary to use experimental methods to determine A.
[0046] The value of A is different for each magnetometer. For this, a three-axis fluxgate magnetometer and a three-axis Helmholtz coil are combined to determine it in the range of 0.1A to 1A (78.2μT / A). When the coil is aligned along the x-axis of the fluxgate magnetometer probe, the current increases in steps of 0.1A, and the peak-to-peak value of the magnetic field changes to obtain the relationship between the magnetic field and the current. On this basis, the NV vector magnetometer is placed in the same position, and a three-axis Helmholtz coil is used to apply a 0.1A step magnetic field on the x-axis to obtain the correspondence between the NV four-axis frequency shift and the magnetic field. The same method is used to execute the y-axis and z-axis, and linear fitting is performed in each axis direction to obtain the correspondence between the NV four-axis frequency shift and the magnetic field, and then the A matrix is determined.
[0047] Schematic diagram of obtaining NV vector magnetometer measurement data under different postures Figure 5 As shown, the NV vector magnetometer probe is placed in a shielding cylinder, and a programmable current source is used to control the coil in the shielding cylinder to generate a rotating magnetic field with a constant total field strength in the entire space. The period is set to T, and the NV vector magnetometer probe is randomly rotated so that the data measured by its posture in one period covers the set spatial range as much as possible, and the magnetic field intensity data under the condition of magnetic field rotation within the period is recorded and saved. In order to make the calibration method feasible, there must be no less than 6 postures, and the set spatial range is the three-dimensional spatial range where the ellipsoid to be fitted is located.
[0048] In actual use, Figure 5 As shown, the NV vector magnetometer probe is used to complete the collection of diamond excitation and fluorescence signals, realize the perception of magnetic signals, and send the magnetic signals to the control system. The control system obtains the magnetic signals and performs modulation and demodulation and vector magnetic field information calculation on them, and sends the calculation results to the host computer, which obtains high-precision magnetic field information based on the pre-calibrated matrix.
[0049] Step 202, construct an NV vector magnetometer error expression, wherein the NV vector magnetometer error expression is a relationship between magnetic field intensity measurement data, magnetic field intensity real data and error coefficients, the error coefficients include combination coefficients and zero bias error coefficients, and the combination coefficients include non-orthogonality error coefficients and proportional factor error coefficients.
[0050] like Figure 4 As shown in the figure, the NV vector magnetometer vector magnetic field measurement generally requires the establishment of a pairwise orthogonal three-axis coordinate system to project the magnetic field of the four NV axes onto the x, y, and z axes. However, due to the limitations of the diamond cutting process and the NV color center manufacturing process, errors occur in the three-axis magnetic field solution process, resulting in inaccurate measurement data. Therefore, the diamond nitrogen vacancy color center (NV) magnetometer error can be mainly divided into non-orthogonal error, scale factor error, and zero bias error.
[0051] When the NV vector magnetometer performs vector solution, the ideal three-axis coordinate system is established with two orthogonal coordinates. However, due to the limitations of the diamond cutting process and the uncertainty of manual installation during the probe processing, the actual laboratory coordinate system established according to the diamond does not completely coincide with the ideal two-to-two orthogonal coordinate system during the vector solution process, resulting in non-orthogonal errors. Therefore, the non-orthogonal error matrix of the NV vector magnetometer can be expressed as:
[0052]
[0053] The scale factor error is a limitation of the NV color center manufacturing process, which leads to uneven color centers of the four axes of the NV, resulting in errors caused by different sensitivity of the NV vector magnetometer to the magnetic field vector projected onto each axis. Its mathematical model can be expressed as:
[0054]
[0055] Unlike other absolute magnetometers, the NV vector magnetometer can measure changes in the magnetic field and is a relative magnetometer. In the process of magnetic field vector solution, when the voltage signal measured by the magnetometer is converted into a magnetic field signal, there will be an uncertain voltage offset, which can be defined as the zero bias error after converting the magnetic field data. The zero bias error matrix of the NV vector magnetometer can be expressed as:
[0056] B0=[B 0,x ,B 0,y ,B 0,z ] T (3).
[0057] Therefore, the NV vector magnetometer error expression is:
[0058] B c =(Knon K sca ) -1 ·(B s -B0)=K -1 ·(B s -B0) (4);
[0059] Among them, B c is the magnetic field strength measurement data; K non is the non-orthogonal error coefficient; K sca is the error coefficient of the proportional factor; B s is the corresponding real data of the magnetic field strength; B0 is the zero bias error coefficient; K is the combination coefficient, K is a matrix array of 3 rows and 3 columns, and the matrix array includes the three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient.
[0060] Formula (4) can be described in detail as:
[0061]
[0062] Among them, B c,x , B c,y and B c,z are the measured values of the magnetic field strength on the x-axis, the magnetic field strength on the y-axis and the magnetic field strength on the z-axis respectively; k x , k y and k z are the x-axis error factor, y-axis error factor and z-axis error factor of the proportional factor error coefficient respectively; α, β, γ are the three angles of the non-orthogonal error coefficient respectively, such as Figure 6 As shown, the ideal three-axis measurement axes of the sensor are x, y, and z, and the actual three-axis measurement axes are x1, y1, and z1. Assuming that the z and z1 axes coincide, x1 is located in the xoz plane, and its angle with the x axis is α. The angle between the projection of the y1 axis in the xoy plane and the y axis is β, and the angle between the y1 axis and the xoy plane is γ. s,x , B s,y and B s,z are the true values of the magnetic field intensity on the x-axis, y-axis and z-axis respectively; B 0,x , B 0,y and B 0,z are respectively the x-axis error factor, y-axis error factor and z-axis error factor of the zero bias error coefficient.
[0063] It should be noted that the expression of the NV vector magnetometer error model is also equation (4) and equation (5). The only difference between the NV vector magnetometer error expression and the NV vector magnetometer error model is that the NV vector magnetometer error model has a known error coefficient (that is, the error coefficient obtained by solving the following steps).
[0064] Step 203: Fit all the magnetic field intensity measurement data using an ellipsoid fitting method based on the least squares method, solve the error coefficient, and obtain a determined error coefficient.
[0065] Step 203 specifically includes:
[0066] Step 203-1, based on the ellipsoid parameters and the first distance, establish an objective function with the goal of minimizing the sum of squares of all the first distances, wherein the first distance is the distance from the magnetic field strength measurement data point to the ellipsoid surface, and the magnetic field strength measurement data point is the three-dimensional coordinate point of the magnetic field strength measurement data.
[0067] The error effect on the NV vector magnetometer will distort the original spherical surface of the three-dimensional magnetic trajectory into an ellipsoid. The quadratic equation of the ellipsoid is:
[0068]
[0069] Among them, x, y, z are points on the ellipsoid, that is, the three-dimensional coordinate points of the magnetic field intensity measurement data, a, b, c, d, e, f, p, q, r, g are 10 parameters related to the ellipsoid, a, b, c, d, e, f, p, q, r, g constitute the ellipsoid parameter ξ, ξ is a one-dimensional array.
[0070] Ellipsoid fitting is to find a set of ellipsoid parameters ξ, which minimizes the sum of the squares of the distances from the three-dimensional coordinate points of all magnetic field intensity measurement data to the ellipsoid surface. The expression of the objective function is:
[0071]
[0072] in,
[0073] V = [x 2 y 2 z 2 2xy 2xz 2yz 2x 2y 2z 1] T , V i is the i-th group of data of V, that is
[0074]
[0075] Step 203-2, using the least square method to solve the objective function and determine the ellipsoid parameters.
[0076] The ellipsoid parameters are determined by the least square method. When kJ-I 2= 1 constraint condition, it can be determined that the fitted sphere is an ellipsoid, and the distance from the measured data to the ellipsoid is the minimum. The matrix form of the constraint condition is determined by the C matrix composed of k, and the optimal k value is determined by the dichotomy method, where I = a + b + c; J = ab + bc + ac-d 2 -e 2 -f 2 .
[0077] According to Lagrange's theorem, the objective function becomes:
[0078]
[0079] To solve equation (8), we need to transform the matrix D and the distribution matrix S (S = D T D) and the parameter vector, we can get Find the matrix Among the eigenvalues and eigenvectors, there is only one eigenvalue greater than 0, and the corresponding eigenvector ξ can be calculated from this eigenvalue.
[0080] where ξ=[abcdefpqrg] T =[ξ1 / ξ2];
[0081] ξ1=[abcdef] T ,ξ1=[pqrg] T ;
[0082] Decompose the matrix D, D = [D1D2];
[0083]
[0084] S 11 =D1 T D1, S 12 =D1 T D2, S 22 =D2 T D2.
[0085]
[0086]
[0087] Step 203-3, determining a parameter matrix related to the shape of the ellipsoid and the coordinates of the center point of the ellipsoid according to the ellipsoid parameters.
[0088] According to equations (9) and (10), the coordinates X0 of the center point of the ellipsoid and the parameter matrix A related to the shape of the ellipsoid can be determined.
[0089]
[0090] Among them, ξ(1) is the first parameter related to the ellipsoid; ξ(2) is the second parameter related to the ellipsoid, and so on, ξ(10) is the tenth parameter related to the ellipsoid.
[0091] Step 203-4: introducing a new matrix, wherein the new matrix is a shape parameter matrix related to the semi-axes and rotation angles of the ellipsoid.
[0092] Since the parameter matrix A can only determine whether the measured data is fitted into a sphere through calibration, but cannot determine whether the radius of the sphere is the standard magnetic field modulus value, this embodiment improves the ellipsoid fitting method and introduces a new matrix A e .
[0093] Step 203-5: According to the new matrix, the quadratic equation of the ellipsoid is converted into a vector form to obtain the vector equation of the ellipsoid.
[0094] Therefore, the quadratic equation of the ellipsoid (i.e., equation (6)) can be written in vector form:
[0095] X T A e X-2X0 T A e X+X0 T X0=1(11);
[0096] In the formula, are the coordinates of the center point of the ellipsoid, It is the shape parameter matrix related to the semi-axes of the ellipsoid and its rotation angle.
[0097] Step 203-6, comparing the ellipsoidal vector equation and the quadratic standard form equation to determine the positive definite matrix and the zero bias error coefficient, wherein the quadratic standard equation is obtained by sorting out the modulus of the magnetic field intensity measurement data and the expression of the NV vector magnetometer error model.
[0098] Step 203-7, decompose the positive definite matrix to obtain the combination coefficients.
[0099] When the NV vector magnetometer probe changes its posture at a fixed geographical location, ideally its magnetic field strength is a constant. Therefore, for the modulus of the magnetic field strength measurement data, we have:
[0100] ||B c || 2 =(B c ) T B c =(B s -B0) T (K -1 ) T K-1 (B s -B0) (12).
[0101] After sorting, the measurement vector of the NV vector magnetometer satisfies the quadratic standard form equation:
[0102]
[0103] When the zero bias of the NV vector magnetometer is 0, for any non-zero magnetic field vector B c , the modulus of the magnetic field vector is always greater than zero, that is:
[0104] (Bc) T (K -1 ) T (K -1 )B c =||Bc|| 2 >0 (14).
[0105] Therefore (K -1 ) T K -1 The matrix is real and positive definite.
[0106] Comparing the ellipsoidal vector equation (i.e., equation (11)) and the quadratic standard form equation (i.e., equation (13)), we can obtain:
[0107]
[0108] From this we can see that X0 is the zero bias error coefficient, E is a positive definite matrix. Performing Cholesky decomposition on the E matrix gives the combination coefficient K of the measured magnetic field data and the actual magnetic field data.
[0109] Step 204 , substituting the determined error coefficient into the NV vector magnetometer error expression to obtain the NV vector magnetometer error model.
[0110] Step 205, substituting the magnetic field strength measurement data into the NV vector magnetometer error model (i.e., equation (4)) to obtain the corresponding real data of the magnetic field strength.
[0111] In the actual process, according to the needs, further calculation can be performed according to K in formula (5), and the three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient can be calculated, that is:
[0112] Step 206: Determine the three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient according to the combination coefficient.
[0113] The expressions of the three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient are as follows:
[0114]
[0115] Among them, k x , k y and k z are the x-axis error factor, y-axis error factor and z-axis error factor of the proportional factor error coefficient respectively; α, β and γ are the three angles of the non-orthogonal error coefficient respectively; K is the combination coefficient, K is a 3-row and 3-column matrix array, and the matrix array includes the three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient; K(1) is the value corresponding to the first row and the first column in the matrix array; K(5) is the value corresponding to the second row and the second column in the matrix array; K(9) is the value corresponding to the third row and the third column in the matrix array; K(3) is the value corresponding to the first row and the third column in the matrix array; K(4) is the value corresponding to the second row and the first column in the matrix array; K(6) is the value corresponding to the second row and the third column in the matrix array.
[0116] By implementing the above steps 201 to 206, the magnetic field data under different postures are collected by rotating the NV vector magnetometer probe, and then fitted to obtain the error calibration coefficient matrix (i.e., error coefficient K) and 9 parameters such as zero bias, scale factor and non-orthogonal angle, thereby completing the calibration and calibration of the diamond nitrogen vacancy color center (NV) magnetometer.
[0117] This embodiment discloses various error sources of a diamond nitrogen vacancy color center (NV) magnetometer, specifically involving non-orthogonality error, proportional factor error and zero bias error, and establishes an NV vector magnetometer error model based on these errors, derives a solution formula for the error coefficient, and adopts an improved ellipsoid fitting method to achieve effective calibration of the NV vector magnetometer error, thereby solving the problems of low precision, low reliability and large error of the magnetometer in practical applications.
[0118] Compared with the prior art, the NV vector magnetometer error calibration method provided in the embodiment of the present application can not only accurately calibrate the magnetometer itself, but also ensure that in various environments, such as underground space, underwater and other scenes with complex electromagnetic interference, it can still provide stable and high-precision geomagnetic navigation and detection services. This calibration method is applicable to many different types of platforms, whether manned or unmanned underwater vehicles, and can improve the accuracy and reliability of navigation and detection through this calibration method. The implementation of this embodiment will greatly promote the application of related technologies in the fields of military, geological exploration, marine development, etc., and provide safer and more reliable navigation solutions for these industries.
[0119] This embodiment uses the diamond nitrogen vacancy (NV) magnetometer calibrated by the above-mentioned ellipsoid fitting correction method, and also has the following advantages: compared with other types of magnetometers, the diamond nitrogen vacancy (NV) magnetometer has high sensitivity, is easy to integrate, and has strong working adaptability, and can meet the high-precision requirements in practical applications; and diamond has high temperature stability and small shape change, so the environment has little effect on the NV vector magnetometer; due to the natural vector characteristics of the ensemble NV color center, the NV vector magnetometer has greater advantages in orthogonality than other magnetometers; compared with the existing NV vector magnetometer application, the NV vector magnetometer after error calibration is more suitable for application in high-precision navigation fields such as underwater and underground where orthogonality requirements are relatively strict.
[0120] The present application also provides an application scenario, which applies the above-mentioned NV vector magnetometer error calibration method. Specifically: The NV vector magnetometer error calibration method provided in this embodiment can be applied in magnetic anomaly signal detection. The NV vector magnetometer collects magnetic field data, performs error calibration and denoising and other preprocessing on the collected magnetic field data, extracts features from the preprocessed data, and determines whether there is a magnetic anomaly signal based on the extracted features. The NV vector magnetometer error calibration method provided in this embodiment belongs to the preprocessing link of magnetic field data in magnetic anomaly signal detection. By calibrating the NV vector magnetometer error, the accuracy and reliability of subsequent magnetic anomaly signal detection can be ensured.
[0121] Example 2
[0122] This embodiment provides a computer device, which may be a server or a terminal. Its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Wherein, the processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. Wherein, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store real data of magnetic field intensity. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a NV vector magnetometer error calibration method in Example 1 is implemented.
[0123] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0124] Example 3
[0125] This embodiment also provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of an NV vector magnetometer error calibration method in the above-mentioned embodiment 1 are implemented.
[0126] Example 4
[0127] This embodiment provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of an NV vector magnetometer error calibration method in the above-mentioned embodiment 1.
[0128] Example 5
[0129] This embodiment provides a computer program product, including a computer program, which implements the steps of an NV vector magnetometer error calibration method in Embodiment 1 when executed by a processor.
[0130] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0131] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0132] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0133] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0134] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A NV vector magnetometer error calibration method, It is characterized in that The NV vector magnetometer error calibration method comprises: Obtain the magnetic field strength measurement data corresponding to the NV vector magnetometer in various types of postures; Constructing an NV vector magnetometer error expression, wherein the NV vector magnetometer error expression is a relationship between magnetic field intensity measurement data, magnetic field intensity real data and an error coefficient, wherein the error coefficient includes a combination coefficient and a zero bias error coefficient, and the combination coefficient includes a non-orthogonal error coefficient and a proportional factor error coefficient; Fitting all the magnetic field intensity measurement data using an ellipsoid fitting method based on the least squares method, solving the error coefficient, and obtaining a determined error coefficient; Substituting the determined error coefficient into the NV vector magnetometer error expression to obtain an NV vector magnetometer error model; The magnetic field strength measurement data is substituted into the NV vector magnetometer error model to obtain the corresponding real data of the magnetic field strength.
2. The NV vector magnetometer error calibration method according to claim 1, It is characterized in that The magnetic field intensity measurement data obtained by the NV vector magnetometer in each posture is data within a set spatial range, wherein the set spatial range is the three-dimensional spatial range where the ellipsoid to be fitted is located.
3. The NV vector magnetometer error calibration method according to claim 1, It is characterized in that The NV vector magnetometer error expression is: B c =(K non K sca ) -1 ·(B s -B 0 )=K -1 ·(B s -B 0 ); Among them, B c is the magnetic field strength measurement data; K non is the non-orthogonal error coefficient; K sca is the error coefficient of the proportional factor; B s is the corresponding real data of the magnetic field strength; B 0 is the zero bias error coefficient; K is the combination coefficient.
4. The NV vector magnetometer error calibration method according to claim 1, It is characterized in that The ellipsoid fitting method based on the least square method is used to fit all the magnetic field strength measurement data, and the error coefficient is solved to obtain a determined error coefficient, which specifically includes: Based on the ellipsoid parameter and the first distance, an objective function is established with the goal of minimizing the sum of squares of all the first distances, wherein the first distance is the distance from the magnetic field intensity measurement data point to the ellipsoid surface, and the magnetic field intensity measurement data point is the three-dimensional coordinate point of the magnetic field intensity measurement data; Solving the objective function using the least square method to determine the ellipsoid parameters; Determine a parameter matrix related to the shape of the ellipsoid and the coordinates of the center point of the ellipsoid according to the ellipsoid parameters; Introducing a new matrix, wherein the new matrix is a shape parameter matrix related to the ellipsoid semi-axis and the rotation angle; According to the new matrix, the quadratic equation of the ellipsoid is converted into a vector form to obtain the vector equation of the ellipsoid; Comparing the ellipsoidal vector equation with the quadratic standard equation, determining a positive definite matrix and the zero bias error coefficient, wherein the quadratic standard equation is obtained by arranging the modulus of the magnetic field intensity measurement data and the NV vector magnetometer error expression; The positive definite matrix is decomposed to obtain the combination coefficients.
5. The NV vector magnetometer error calibration method according to claim 4, It is characterized in that The expression of the new matrix is: Among them, A e is the new matrix; A is the parameter matrix; X 0 is the coordinate of the center point; ξ is the ellipsoid parameter, the ellipsoid parameter is a one-dimensional array, and the one-dimensional array includes a preset number of parameters related to the ellipsoid; ξ(10) is the 10th parameter related to the ellipsoid.
6. The NV vector magnetometer error calibration method according to claim 4, It is characterized in that After executing the step of "substituting the magnetic field strength measurement data into the NV vector magnetometer error model to obtain the corresponding real magnetic field strength data", the NV vector magnetometer error calibration method further includes: The three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient are determined according to the combination coefficient.
7. The NV vector magnetometer error calibration method according to claim 6, It is characterized in that The expressions of the three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient are as follows: Among them, k x , k y and k z are the x-axis error factor, y-axis error factor and z-axis error factor of the proportional factor error coefficient respectively; α, β and γ are the three angles of the non-orthogonal error coefficient respectively; K is the combination coefficient, K is a 3-row and 3-column matrix array, and the matrix array includes the three-axis error factors of the non-orthogonal error coefficient and the three-axis error factors of the proportional factor error coefficient; K(1) is the value corresponding to the first row and the first column in the matrix array; K(5) is the value corresponding to the second row and the second column in the matrix array; K(9) is the value corresponding to the third row and the third column in the matrix array; K(3) is the value corresponding to the first row and the third column in the matrix array; K(4) is the value corresponding to the second row and the first column in the matrix array; K(6) is the value corresponding to the second row and the third column in the matrix array.
8. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of an NV vector magnetometer error calibration method as described in any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of an NV vector magnetometer error calibration method described in any one of claims 1 to 7 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of an NV vector magnetometer error calibration method described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Error correction method and device for non-intrusive voltage differential measurement, medium and product
CN121432306A
Magnetoresistive sensor calibration method and system and electronic equipment
CN122194034A
Vector magnetometer error parameter evaluation method based on uncertainty evaluation
CN122260202A
Non-orthogonality high-precision calibration calculation method and system for triaxial vector magnetometer
CN122307448A
Fluxgate multi-error correction method based on NV color center homologous decoupling
CN122546110A
