Zero point calibration method, device, apparatus, electronic device and computer readable storage medium

By calculating the zero-point offset M0 of the vector sensor and applying it to the original data, the error problem of the vector sensor at the zero point is solved, and accurate calibration and error elimination of the data are achieved.

CN113776575BActive Publication Date: 2024-09-06SHENZHEN BAICHUAN SECURITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110935274.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-16
Publication Date
2024-09-06
Estimated Expiration
2041-08-16

AI Technical Summary

Technical Problem

The vector sensor has a zero-point error when the measured physical quantity is zero, resulting in a non-zero data output. It is difficult to effectively reduce this error with existing technology.

Method used

By obtaining the reference data when the vector sensor measures the reference vector twice, the zero offset M0 is calculated, and the effective data Vk is obtained based on the zero offset and original data to eliminate the zero error.

Benefits of technology

It achieves accurate calibration of vector data, eliminates zero-point errors, and obtains data closer to the actual value of the measured vector.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113776575B
    Figure CN113776575B
Patent Text Reader

Abstract

The present application discloses a zero point calibration method, a zero point calibration device, a zero point calibration apparatus, an electronic device and a non-volatile computer readable storage medium for a vector sensor. The calibration method comprises: obtaining reference data when the vector sensor measures a reference vector twice; obtaining the zero point offset M0 of the vector sensor according to the reference data; obtaining the original data R0 of the vector sensor measuring any vector; obtaining the original data R1 of the vector sensor measuring any vector; obtaining the original data R2 of the vector sensor measuring any vector; obtaining the original data R3 of the vector sensor measuring any vector; obtaining the original data R4 of the vector sensor measuring any vector; obtaining the original data R5 of the vector sensor measuring any vector; obtaining the original data R6 of the vector sensor measuring any vector; obtaining the original data R7 of the vector sensor measuring any vector; obtaining the original data R8 of the vector sensor measuring any vector; obtaining the original data R10 ... k ; and according to the zero offset M0 and the original data R k Get valid data V k The calibration method of the present application can obtain the zero point offset M0 of the vector sensor according to the reference data when measuring the reference vector twice, and can obtain the zero point offset M0 according to the original data R obtained by the vector sensor. k And zero offset M0 to obtain valid data V k , effective data V k is the original data R k The vector data obtained after eliminating the zero point error is closer to the actual value of the measured vector.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensors, and more specifically, to a zero-point calibration method, a zero-point calibration device, a zero-point calibration apparatus, an electronic device, and a non-volatile computer-readable storage medium for a vector sensor. Background Art

[0002] Vector sensors can give the direction and size of the measured physical quantity. For example, a three-axis magnetoresistive sensor can measure the direction of the earth's magnetic field and is used to make a compass to achieve the azimuth measurement function. Another example is a three-axis acceleration sensor that can measure the earth's gravitational acceleration to give the inclination angle relative to the horizontal plane. When the measured physical quantity is zero, the data output of the sensor is often not zero, that is, there is a zero-point error. How to reduce the zero-point error has become a problem that technicians in this field need to solve urgently. Summary of the invention

[0003] Embodiments of the present application provide a zero-point calibration method, a zero-point calibration device, a zero-point calibration apparatus, an electronic device, and a non-volatile computer-readable storage medium for a vector sensor.

[0004] The calibration method of the embodiment of the present application includes: obtaining reference data when the vector sensor measures a reference vector twice; obtaining the zero offset M0 of the vector sensor according to the reference data; obtaining the original data R of the vector sensor measuring any vector k ; and according to the zero offset M0 and the original data R k Get valid data V k .

[0005] The zero point calibration device of the embodiment of the present application includes one or more processors, a memory; and one or more programs, wherein one or more of the programs are stored in the memory and executed by one or more of the processors, and the processors are used to: obtain reference data when a vector sensor measures a reference vector twice; obtain a zero point offset M0 of the vector sensor according to the reference data; obtain raw data R0 of the vector sensor measuring any vector k ; and according to the zero offset M0 and the original data R k Get valid data V k .

[0006] The distance measuring device of the embodiment of the present application includes an acquisition module, a measurement module and a calculation module. The acquisition module is used to obtain reference data when the sensor measures the reference vector twice, and obtain reference data when the sensor measures the reference vector twice. The measurement module is used to obtain the zero point bias M0 of the vector sensor according to the reference data. The calculation module is used to calculate the zero point bias M0 according to the zero point bias M0 and the original data R kGet valid data V k .

[0007] The electronic device of the embodiment of the present application includes a vector sensor, a zero point calibration device and / or a zero point calibration apparatus. The vector sensor is used to measure a vector. The zero point calibration device includes one or more processors, a memory; and one or more programs, wherein one or more of the programs are stored in the memory and executed by one or more of the processors, and the processor is used to: obtain reference data when the vector sensor measures a reference vector twice; obtain the zero point offset M0 of the vector sensor according to the reference data; obtain the original data R of the vector sensor measuring any vector k ; and according to the zero offset M0 and the original data R k Get valid data V k The distance measuring device includes an acquisition module, a measurement module and a calculation module. The acquisition module is used to acquire reference data when the sensor measures the reference vector twice, and the measurement module is used to acquire the zero point offset M0 of the vector sensor according to the reference data. The calculation module is used to acquire the zero point offset M0 and the original data R k Get valid data V k .

[0008] The non-volatile computer-readable storage medium of the embodiment of the present application includes a computer program. When the computer program is executed by one or more processors, the one or more processors implement the following calibration method: obtaining reference data when the vector sensor measures a reference vector twice; obtaining the zero point offset M0 of the vector sensor according to the reference data; obtaining the raw data R0 of the vector sensor measuring any vector k ; and according to the zero offset M0 and the original data R k Get valid data V k .

[0009] The zero point calibration method, zero point calibration device, zero point calibration apparatus, electronic device and non-volatile computer readable storage medium of the embodiment of the present application can obtain the zero point offset M0 of the vector sensor according to the reference data when measuring the reference vector twice, so as to obtain the zero point offset M0 of the vector sensor according to the original data R obtained by the vector sensor. k And zero offset M0 to obtain valid data V k , effective data V k is the original data R k The vector data obtained after eliminating the zero point error is closer to the actual value of the measured vector.

[0010] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0012] Figure 1 is a flow chart of a zero point calibration method of a vector sensor in certain embodiments of the present application;

[0013] Figure 2 is a schematic diagram of the structure of an electronic device according to some embodiments of the present application;

[0014] Figure 3 is a schematic diagram of the structure of a zero point calibration device in certain embodiments of the present application;

[0015] Figure 4 The vector sensor of some embodiments of the present application obtains the raw data R k and valid data V k Schematic diagram of the scene;

[0016] Figure 5 is a schematic diagram of scenes of different postures of a vector sensor in certain embodiments of the present application;

[0017] Figure 6 is a schematic diagram of a scenario in which a vector sensor acquires a zero point bias M0 in certain embodiments of the present application;

[0018] Figure 7 is a flow chart of a calibration method according to certain embodiments of the present application;

[0019] Figure 8 is a flow chart of a calibration method according to certain embodiments of the present application;

[0020] Fig. 9 It is a schematic diagram of the connection status of a computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0021] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0022] See also Figures 1 to 3, the embodiment of the present application provides a zero point calibration method of a vector sensor 200. The zero point calibration method includes:

[0023] 01: Obtain reference data when the vector sensor 200 measures the reference vector twice;

[0024] 02: Obtain the zero point bias M0 of the vector sensor 200 according to the reference data;

[0025] 03: Get the raw data R of any vector measured by the vector sensor k ;and

[0026] 04: According to the zero offset M0 and the original data R k Get valid data V k .

[0027] See also Figure 2 The embodiment of the present application also provides an electronic device 1000, which includes a vector sensor 200 and a zero point calibration device 100. The vector sensor 200 is used to measure a vector, and the zero point calibration device 100 is used to calibrate the zero point of the vector sensor 200. The zero point calibration device 100 includes one or more processors 30, a memory 10; and one or more programs, wherein the one or more programs are stored in the memory 10 and executed by one or more processors 30, and the processor 30 can be used to execute the methods in 01, 02, 03 and 04. That is, the processor 30 can be used to: obtain reference data when the vector sensor 200 measures a reference vector twice; obtain the zero point offset M0 of the sensor according to the reference data; obtain the original data R of the vector sensor 200 measuring any vector k ; and according to the zero offset M0 and the original data R k Get valid data V k .

[0028] See also Figure 2 and Figure 3 The embodiment of the present application also provides a zero point calibration device 300, which can be applied to the electronic device 1000, that is, the electronic device 1000 can also include the zero point calibration device 300. The zero point calibration device 300 includes an acquisition module 301, a measurement module 302 and a calculation module 303. The acquisition module 301 can be used to execute the methods in 01 and 02, the measurement module 302 can be used to execute the method in 03, and the calculation module 303 can be used to execute the method in 04. That is, the acquisition module 301 can be used to obtain the reference data when the vector sensor 200 measures the reference vector twice, and obtain the zero point bias M0 of the sensor according to the reference data. The measurement module 302 can be used to obtain the original data R of the vector sensor 200 measuring any vector kThe calculation module 303 can be used to calculate the zero offset M0 and the original data R k Get valid data V k .

[0029] See also Figures 1 to 3 , wherein the vector sensor 200 may be a vector sensor 200 with two or more axes, such as a two-axis sensor, a three-axis sensor, a six-axis sensor or a multi-axis sensor, etc., which are not listed here one by one. According to the type of the measured vector, the vector sensor 200 may select various types of sensors, such as a geomagnetic sensor, a gravity acceleration sensor, an angular velocity sensor, an acceleration sensor, etc., which are not listed here one by one. In some embodiments, the vector sensor 200 may be a MEMS (MEMS, Micro-Electro-Mechanical System) sensor, which may be used to measure one or more types of vectors. For example, a MEMS sensor includes six axes, which can have both the functions of a three-axis acceleration sensor and a three-axis geomagnetic sensor. The specific types of MEMS sensors are not limited thereto and are not listed here one by one.

[0030] The electronic device 1000 may be any electronic device 1000 equipped with the vector sensor 200. For example, the electronic device 1000 may be a mobile phone, a tablet computer, a laptop computer, a personal digital assistant (PDA), a mobile Internet device (MID), a wearable device, a drone, an unmanned vehicle, an unmanned ship, an intelligent robot, etc., which are not listed here one by one.

[0031] See also Figure 2 In one embodiment, the processor 30 is integrated with the vector sensor 200. In another embodiment, the processor 30 is independently configured with the vector sensor 200, and the vector sensor 200 can transmit the measurement data to the processor 30. The processor 30 obtains the zero point bias M0 of the sensor according to the data measured by the vector sensor 200, and transmits the zero point bias M0 to the vector sensor 200, so that the vector sensor 200 obtains the valid data V based on the zero point bias M0. k , or at the processor 30 end according to the zero point bias M0 and the raw data R obtained by the vector sensor 200 k Get valid data V k .

[0032] Usually, there is often a zero point offset M0 between the theoretical zero point position P0 of the vector sensor 200 and the measured zero point position Pe used when the vector sensor 200 is measuring. Specifically, when the measured vector is zero, the vector sensor 200 can still obtain non-zero data. At this time, the vector difference between the vector data obtained by the vector sensor 200 and zero is the zero point offset M0 of the vector sensor 200. If the vector sensor 200 uses the theoretical zero point position when measuring, the vector data obtained by the vector sensor 200 should be zero when the measured vector is zero, that is, the vector data obtained by the vector sensor 200 can represent the real measured vector.

[0033] Since the zero offset M0 is the vector difference between the theoretical zero position P0 and the measured zero position Pe, the raw data R obtained based on the measured zero position Pe k It can reflect the zero point position Pe. Therefore, as long as the zero point offset M0 can be determined, the original data R obtained by the vector sensor 200 can be k Based on the zero point offset M0, the theoretical zero point position P0 is determined to obtain accurate and effective data V k , where the effective data V k It is data acquired based on the actual zero point position of the vector sensor 200, that is, data acquired after eliminating the zero point error.

[0034] Specifically, see Figure 2 and Figure 4 , based on the raw data measured by the two-axis vector sensor 200 based on the measurement zero point position Pe For example, in the coordinate system of the two-axis vector sensor 200, P0 is the theoretical zero point position, Pe is the measured zero point position, is the vector difference between the theoretical zero position P0 and the measured zero position Pe, It is the vector data that can be obtained based on the theoretical zero position P0. Theoretical vector after eliminating zero point error. It can be seen that Therefore, as long as the zero offset M0 can be determined, the original data can be eliminated. The zero point error is used to obtain vector data To convert vector data As valid data output, an accurate measurement vector is obtained.

[0035] The zero point calibration method, zero point calibration device 100, zero point calibration apparatus 300, and electronic device 1000 of the vector sensor 200 according to the embodiment of the present application can obtain the zero point offset M0 of the vector sensor 200 according to the reference data when measuring the reference vector twice, so as to obtain the zero point offset M0 of the vector sensor 200 according to the original data R obtained by the vector sensor 200. k And zero offset M0 to obtain valid data Vk , effective data V k is the original data R k The vector data obtained after eliminating the zero point error is closer to the actual value of the measured vector.

[0036] The following is a further description with reference to the accompanying drawings.

[0037] See also Figure 1 Method 01: Obtain reference data when the vector sensor 200 measures a reference vector twice. The reference vector is a vector with a known modulus. For example, if the vector sensor is a geomagnetic sensor, the reference vector is a geomagnetic vector with a known magnitude.

[0038] In some embodiments, when the vector sensor 200 measures the reference vector twice, the posture of the vector sensor 200 is different. For a vector with a known modulus length, the vector sensor 200 measures the vector in different postures, and obtains different reference data, so that the zero offset M0 can be obtained according to different reference data.

[0039] See also Figure 5 Specifically, different postures refer to the postures of the vector sensor 200 at different angles relative to the reference vector in the preset coordinate system. For example, the vector sensor 200 moves or rotates relative to the fixed reference vector, changing from the first posture to the second posture. For example, the reference vector is the gravity acceleration, and the direction of the gravity acceleration remains unchanged. The vector sensor 200 moves or rotates relative to the direction of the gravity acceleration to change the posture. For another example, the vector sensor 200 itself does not move or rotate, and the reference vector moves or rotates relative to the vector sensor 200. For example, the reference vector is an electromagnetic field vector, the vector sensor 200 is placed on a horizontal plane and remains stationary, and the electromagnetic field source moves or rotates relative to the vector sensor 200, so that the angle of the electromagnetic field vector changes relative to the coordinate axis of the vector sensor 200. At this time, it is also considered that the posture of the vector sensor 200 relative to the reference vector has changed. For another example, at least one of the vector sensor 200 and the reference vector moves or rotates relative to the other, for example, the vector sensor 200 is fixed and the reference vector moves; the vector sensor 200 moves and the reference vector is fixed; and both the vector sensor 200 and the reference vector move, then it is considered that the posture of the vector sensor 200 relative to the reference vector has changed.

[0040] In some embodiments, the reference data includes a known reference vector value |Me|, an angular displacement vector θ from the posture at the first measurement of the vector sensor 200 to the posture at the second measurement, first measurement data M1 obtained when the vector sensor 200 measures the reference vector for the first time, and second measurement data M2 obtained when the vector sensor 200 measures the reference vector for the second time.

[0041] Wherein, the reference vector value |Me| is the value of the reference vector Me, that is, the size of the reference vector Me. The angular displacement vector θ can be measured by an angular displacement sensor. Specifically, when the interval between the first measurement and the second measurement of the vector sensor 200 is short, the angular rotation vector θ of the angular displacement sensor when the vector sensor 200 performs the second measurement can be used as the angular displacement vector θ from the posture of the vector sensor 200 at the first measurement to the posture at the second measurement.

[0042] See also Figure 6 , with the two-axis vector sensor relative to the reference vector Obtain the first measurement data in different postures Yang Second Measurement Data For example. Since the reference vector The reference vector value |Me| remains unchanged, so the vector data measured based on the theoretical zero position P0 should be a vector pointing from the theoretical zero position P0 to the circumference of circle C, where circle C is a circle with P0 as the center and |Me| as the radius. That is, the first measurement data The theoretical value after eliminating the zero point error should be Second measurement data The theoretical value after eliminating the zero point error should be Wherein, A1 is the external parameter matrix of the coordinate system of the vector sensor 200 corresponding to the first posture, A2 is the external parameter matrix of the coordinate system of the vector sensor 200 corresponding to the second posture, and Describe the posture change process of the vector sensor 200 relative to the reference vector.

[0043] See also Figure 7 , further, in some embodiments, 02: obtaining a zero point bias M0 of a sensor according to reference data, comprising:

[0044] 021: Obtain zero point offset M0 according to the reference vector value Me, the angular displacement vector θ, the first measurement data M1 and the second measurement data M2.

[0045] Please combine Figure 2 In some embodiments, the processor 30 may also be used to execute the method in 021. That is, the processor 30 may also be used to obtain the zero point offset M0 according to the reference vector value Me, the angular displacement vector θ, the first measurement data M1 and the second measurement data M2.

[0046] Please combine Figure 3 In some embodiments, the acquisition module 301 can also be used to execute the method in 021. That is, the acquisition module 301 can also be used to: acquire the zero point offset M0 according to the reference vector value Me, the angular displacement vector θ, the first measurement data M1 and the second measurement data M2.

[0047] Specifically, please combine Figure 6 ,for and The following relationship exists:

[0048] Formula 1:

[0049] Formula 2:

[0050] Taking the outer product of both sides of equations 1 and 2, we get formula 3.

[0051] Formula 3:

[0052] In formula 3, |Me| is a known reference vector The modulus length (which is a fixed constant), is the angular displacement vector within the second measurement time interval, the first measurement data and the second measurement data are all measured by the vector sensor 200. Therefore, the only unknown quantity left in formula 3 is The known quantities can be substituted into formula 3 to obtain the zero offset:

[0053] Please combine Figure 1 and Figure 5 , in obtaining the zero offset After that, when the vector sensor 200 is used to measure any vector in any posture, the raw data obtained by measuring any vector by the vector sensor 200 can be obtained. and zero offset Get valid data after eliminating zero point error Thus, the vector data based on the theoretical zero position P0 of the sensor is obtained, that is, the effective data A zero point calibration of the vector sensor 200 is achieved.

[0054] Similarly, when the vector sensor 200 is a vector sensor 200 with more than two axes, the zero point offset M0 of the vector sensor 200 can still be obtained by the zero point calibration method of the embodiment of the present application, and the original data R measured by the zero point offset M0 and the vector sensor 200 can be obtained. k Get the effective data V after eliminating the zero point error k .

[0055] See also Figure 8 In some embodiments, 02: obtaining a zero offset M0 of a sensor according to reference data, further comprising:

[0056] 022: Obtain multiple reference offsets according to multiple sets of reference data; and

[0057] 023: Get zero offset M0 based on multiple reference offsets.

[0058] Please combine Figure 2 In some embodiments, the processor 30 may also be used to execute the methods in 022 and 023. That is, the processor 30 may also be used to: obtain multiple reference biases according to multiple sets of reference data; and obtain the zero bias M0 according to the multiple reference biases.

[0059] Please combine Figure 3 In some embodiments, the acquisition module 301 can also be used to execute the methods in 022 and 023. That is, the acquisition module 301 can also be used to: acquire multiple reference biases according to multiple sets of reference data; and acquire the zero bias M0 according to the multiple reference biases.

[0060] Specifically, in some implementations, in order to ensure that the acquired zero offset M0 is accurate, multiple groups of measurements may be performed to obtain multiple reference offsets, and the zero offset M0 may be obtained based on the multiple reference offsets. Figure 8 , the reference data of each set of measurements includes the reference vector value |Me|, the angular displacement vector θ from the posture of the first measurement of the vector sensor 200 to the posture of the second measurement in the set of measurements, the first measurement data M1 obtained when the vector sensor 200 first measures the reference vector in the set of measurements, and the second measurement data M2 obtained when the vector sensor 200 measures the reference vector for the second time. Please combine formula 3, reference bias It can be determined according to the following formula: Where i is a natural number greater than 0, and the reference bias is the reference bias obtained from the i-th set of measurements.

[0061] In one embodiment, multiple reference biases may be The average value of For example, the vector sensor 200 is a two-axis sensor. The vector sensor 200 performs three sets of measurements on the reference vector to obtain the reference bias. Reference bias and reference bias Zero offset The Y-axis component of the vector sensor 200 The reference bias Reference bias and reference bias The Y-axis component of the vector sensor 200. Zero offset The X-axis component of the vector sensor 200 The reference bias Reference bias and reference bias The component on the X-axis of the vector sensor 200. Zero offset

[0062] In another embodiment, multiple reference bias The median, weighted mean, variance, standard deviation and other statistics are used as zero point bias I won’t list them all here.

[0063] In some embodiments, the vector sensor 200 continuously acquires reference data, acquires a reference bias according to the reference data, and continuously updates the current zero bias according to the newly acquired reference bias. The posture of the vector sensor 200 relative to the reference vector is different during two consecutive measurements.

[0064] For example, the vector sensor 200 obtains the first measurement data M1, the second measurement data M2 and the angular displacement vector θ after the first measurement and the second measurement. 1,2 , angular displacement vector θ 1,2 is the angular displacement vector from the posture of the vector sensor 200 at the first measurement to the posture at the second measurement. The vector value |Me| of the reference vector Me is known. According to M1, M2, θ 1,2 , |Me| can obtain the reference bias N1, and use the reference bias N1 as the current zero point bias M0. Then the vector sensor 200 performs the third measurement to obtain the third measurement data M3 and the angular displacement vector θ 2-3 , according to M2, M3, θ 2,3 , |Me| can obtain the reference bias N2, and the average value of N1 and N2 is used as the current zero bias M0. Similarly, after the fourth measurement, the vector sensor 200 obtains the fourth measurement data M4 and the angular displacement vector θ 3,4 , according to M3, M4, θ 3,4 , |Me| can obtain the reference bias N3, and the average value of N1, N2, and N3 is used as the current zero bias M0. Similarly, the vector sensor 200 continuously obtains measurement data. When the vector sensor 200 obtains the kth measurement data M after the kth measurement, k and the angular displacement vector θ k-1,k , according to M k-1 、M k ,θ k-1,k , |Me| can obtain the reference bias N k-1 , N1, N2, N3, ... N k-2 、N k-1 The average value of is used as the current zero point bias M0. In this way, the vector sensor 200 can continuously acquire measurement data and update the current zero point bias M0 according to the continuously acquired measurement data to ensure that the current zero point bias M0 is accurate.

[0065] Further, in some embodiments, the vector sensor 200 continuously acquires reference data, acquires a reference bias according to the reference data, continuously updates the current zero point bias according to the newly acquired reference bias, and acquires valid data corresponding to the reference data according to the current zero point bias and the reference data.

[0066] For example, in combination with the above, the vector sensor 200 can generate a 1,2 After obtaining the reference bias N1 and the current zero-point bias M0, the valid data V2 corresponding to M2 is obtained according to M2 and M0, V2 = M2-M0, that is, the valid data V2 is the vector data after the zero-point error of the second measurement data M2 is eliminated. Then the vector sensor 200 performs the third measurement to obtain M3, θ 2,3 , and according to M2, M3, θ 2,3 , |Me| to obtain reference bias N2, and update the current zero bias M0 according to N1 and N2. After updating the current zero bias M0, valid data V3 corresponding to M3 can be obtained according to M3 and M0. By analogy, the vector sensor 200 can continuously obtain reference data to update the current zero bias M0, and can update the current zero bias M0 according to the kth measurement data M k And the updated zero offset M0 to obtain the measurement data M k The corresponding valid data V k In this way, it can be ensured that the vector sensor 200 can be used normally when acquiring the zero point bias M0, that is, it can output valid data normally.

[0067] In another embodiment, the vector sensor 200 is based on M1, M2, θ 1,2 After obtaining the reference bias N1 and the current zero bias M0, the valid data V3 corresponding to M3 is obtained according to the zero bias M0 obtained from the first and second measurement data and the third measurement data M3 after the next measurement, which is the third measurement. 2,3 , |Me| obtains reference bias N2 and updates the current zero bias M0 according to N1 and N2, so that the zero bias M0 updated after the third measurement is used to obtain valid data V4 during the fourth measurement. Similarly, the vector sensor 200 can obtain valid data V4 according to the zero bias M0 updated after the kth measurement and the k+1th measurement data M k+1 Get measurement data M k+1 The corresponding valid data V k+1 That is, when the sensor obtains the k+1th measurement data M k+1 Previously, used to obtain valid data V k+1 The zero offset M0 has been updated, so that when the sensor obtains the k+1th measurement data M k+1 When you can immediatelyk+1 And the effective data V of M0 output obtained by the kth measurement k+1 .

[0068] See also Fig. 9 The embodiment of the present application also provides a non-volatile computer-readable storage medium 400 including a computer program 401. When the computer program 401 is executed by one or more processors 30, the one or more processors 30 execute the calibration method of any of the above embodiments. The non-volatile computer-readable storage medium 400 can be set in the electronic device 1000, or in a cloud server or other device. In this case, the electronic device 1000 can communicate with the cloud server or other device to obtain the corresponding computer program 410.

[0069] Please combine Figure 2 For example, when the computer program 401 is executed by one or more processors 30, the one or more processors 30 execute the methods in 01, 02, 03, 04, 021, 022 and 023. For example, the following application calibration method is executed:

[0070] 01: Obtain reference data when the vector sensor 200 measures the reference vector twice;

[0071] 02: Get the zero offset M0 of the sensor according to the reference data;

[0072] 03: Get the raw data R of any vector measured by the sensor k ;and

[0073] 04: Get valid data V based on zero offset M0 and original data Rk k .

[0074] For another example, when the computer program 401 is executed by one or more processors 30, the one or more processors 30 execute the following calibration method:

[0075] 01: Obtain reference data when the vector sensor 200 measures the reference vector twice;

[0076] 021: Obtain a zero point offset M0 according to a reference vector value Me, an angular displacement vector θ, first measurement data M1 and second measurement data M2;

[0077] 022: Obtain multiple reference offsets based on multiple sets of reference data;

[0078] 023: Obtain zero offset M0 based on multiple reference offsets;

[0079] 03: Get the raw data R of any vector measured by the sensor k ;and

[0080] 04: Get valid data V based on zero offset M0 and original data Rk k .

[0081] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0082] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0083] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A zero point calibration method for a vector sensor, characterized in that: The zero point calibration method comprises: Acquire reference data when the vector sensor measures a reference vector twice, wherein the reference vector is a vector with a known modulus length; Acquire a zero point offset M0 of the vector sensor according to the reference data, wherein the zero point offset M0 is a vector difference between a theoretical zero point position P0 and a measured zero point position Pe of the vector sensor; Get the raw data R of the vector sensor measuring any vector k , the original data R k is vector data obtained based on the measurement zero point position Pe; and According to the zero point offset M0 and the original data R k Obtain effective data V based on the theoretical zero position P0 k , to achieve the zero point calibration of the vector sensor, the effective data V k is the original data R k Vector data obtained after eliminating zero point error; Wherein, when the vector sensor measures the reference vector twice, the posture of the vector sensor is different, and the reference data includes a known reference vector value Me, an angular displacement vector θ from the posture of the vector sensor at the first measurement to the posture at the second measurement, first measurement data M1 obtained when the vector sensor measures the reference vector for the first time, and second measurement data M2 obtained when the vector sensor measures the reference vector for the second time, The step of acquiring the zero point bias M0 of the vector sensor according to the reference data comprises: The zero point offset M0 is acquired according to the reference vector value Me, the angular displacement vector θ, the first measurement data M1 and the second measurement data M2.

2. The zero point calibration method according to claim 1, characterized in that: The reference data includes a plurality of groups, and obtaining the zero point bias M0 of the vector sensor according to the reference data includes: Acquire a plurality of reference offsets according to the plurality of sets of reference data; and The zero point bias M0 is obtained according to the multiple reference biases.

3. A zero point calibration device, characterized in that: The zero point calibration device includes one or more processors, a memory; and one or more programs, wherein one or more of the programs are stored in the memory and executed by one or more of the processors, and the processors are used to: Acquire reference data when the vector sensor measures a reference vector twice, wherein the reference vector is a vector with a known modulus length; Acquire a zero point offset M0 of the vector sensor according to the reference data, wherein the zero point offset M0 is a vector difference between a theoretical zero point position P0 and a measured zero point position Pe of the vector sensor; Get the raw data R of the vector sensor measuring any vector k , the original data R k is vector data obtained based on the measurement zero point position Pe; and According to the zero point offset M0 and the original data R k Obtain effective data V based on the theoretical zero position P0 k , to achieve the zero point calibration of the vector sensor, the effective data V k is the original data R k Vector data obtained after eliminating zero point error; Wherein, when the vector sensor measures the reference vector twice, the posture of the vector sensor is different, and the reference data includes a known reference vector value Me, an angular displacement vector θ from the posture of the vector sensor at the first measurement to the posture at the second measurement, first measurement data M1 obtained when the vector sensor measures the reference vector for the first time, and second measurement data M2 obtained when the vector sensor measures the reference vector for the second time, The processor is further configured to obtain the zero point offset M0 according to the reference vector value Me, the angular displacement vector θ, the first measurement data M1 and the second measurement data M2.

4. The zero point calibration device according to claim 3, characterized in that: The reference data includes a plurality of groups, and the processor is further configured to: Acquire a plurality of reference biases according to a plurality of groups of the reference data; and The zero point bias M0 is obtained according to the multiple reference biases.

5. An electronic device, characterized in that: include: A vector sensor, wherein the vector sensor is used to measure a vector; and The zero point calibration device as claimed in claim 3 or 4.

6. A non-volatile computer-readable storage medium containing a computer program, which, when executed by one or more processors, implements the zero-point calibration method according to claim 1 or 2.