A Non-Contact Angular Displacement Sensor Calibration Method
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-08-14
AI Technical Summary
[0005]本申请目的在于提供一种非接触式角位移传感器标定校准方法,解决现有标定校准技术存在的操作繁杂、精度输出受限、通用性差的问题
[0018]实现简单。包括:以标定角度间隔采集待测传感器的标定数据;利用预设校验规则依次对待测传感器的标定数据进行数据校验,获取通过校验的标定数据形成包含多个标定区间的标定数据检测序列;将待测传感器的当前角度值与所述标定数据检测序列进行比对,获取当前角度值所属标定区间及该标定区间两端的标定数据;利用所述当前角度值所属标定区间两端的标定数据和所述标定角度间隔,对当前角度值进行校准,输出校准后的角度值。即基于软件方式,实现了角位移非接触式角位移传感器数据标定和校准,一方面无需增加额外的标定设备,另一方面能够实现自动化标定,减少人工干预过程,操作简单有效提高了传感器的输出精度和外部环境的适应性。其次该方法仅针对当前标定的传感器整机进行标定,对环境参数不敏感,具备更强的通用性。
Smart Images

Figure CN121631947B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of sensor calibration technology, and in particular to a non-contact angular displacement sensor calibration method. Background Technology
[0002] The increasing demands for absolute and repeatability accuracy in angle measurement in current servo motor products place new requirements on the measurement accuracy of angular displacement sensors. The currently developed angular displacement sensors are based on the anisotropic magnetoresistive principle, using a magnetic field detection chip, along with peripheral circuits such as a computing unit and interface chips, to calculate and output angle data. During the sensor's manufacturing process, PCB processing precision, chip soldering conditions, and assembly processes can all affect the measurement accuracy of the angular displacement sensor, leading to decreased accuracy and ultimately product defects.
[0003] To address this issue, a Shanghai-based company proposed a sensor calibration method. Before production, a batch of sensors are tested to obtain a summary data set. During production, a small number of data pairs are tested on the sensors to be shipped. These small data pairs are input into a computer, and a typical data set closest to the small data pairs is calculated. This typical data set can then be used as the prior data set for the sensors to be shipped, eliminating the need for a pre-set prior calibration function. A university in Chongqing proposed an online self-calibration method for angular displacement sensors. For time-grating principle sensors, a main reading head and an auxiliary reading head are arranged inside the sensor system. The sensor rotor and the rotating part of the measured object are fixed together. Under the indication of the main and auxiliary reading heads, the sensor rotates to a series of specific positions until a complete 360° rotation is achieved. The reading of the main reading head at each specific position is recorded, and the sensor error function is obtained after data processing, thus achieving online self-calibration. However, existing technologies generally have the following drawbacks: some calibration methods require the collection of prior data and matching with the current product, which is complicated; if angle calibration is not performed, the sensor output accuracy is greatly affected by assembly and circuit soldering; common angular displacement sensor calibration methods require additional hardware, have poor versatility and are difficult to implement algorithms.
[0004] Therefore, a low-cost, simple, and efficient method is needed to calibrate the sensor output to compensate for the impact of external factors on the sensor's detection accuracy. Summary of the Invention
[0005] The purpose of this application is to provide a non-contact angular displacement sensor calibration method to solve the problems of complicated operation, limited accuracy output, and poor versatility of existing calibration techniques.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] On the one hand, this application provides a non-contact angular displacement sensor calibration method, including:
[0008] S1. Collect calibration data of the sensor under test at calibration angle intervals;
[0009] S2. Using preset verification rules, the calibration data of the sensor under test are verified sequentially to obtain the calibration data that has passed the verification and form a calibration data detection sequence containing multiple calibration intervals.
[0010] S3. Compare the current angle value of the sensor under test with the calibration data detection sequence to obtain the calibration interval to which the current angle value belongs and the calibration data at both ends of the calibration interval;
[0011] S4. Using the calibration data at both ends of the calibration interval to which the current angle value belongs and the calibration angle interval, calibrate the current angle value and output the calibrated angle value.
[0012] On the other hand, this application also provides a non-contact angular displacement sensor calibration device, comprising:
[0013] The calibration data acquisition module is used to acquire calibration data of the sensor under test at calibration angle intervals;
[0014] The calibration data verification module is used to verify the calibration data of the sensor under test sequentially using preset verification rules, and to obtain the calibration data that has passed the verification to form a calibration data detection sequence containing multiple calibration intervals.
[0015] The calibration interval determination module is used to compare the current angle value of the sensor under test with the calibration data detection sequence to obtain the calibration interval to which the current angle value belongs and the calibration data at both ends of the calibration interval;
[0016] The test data calibration module is used to calibrate the current angle value using the calibration data at both ends of the calibration interval to which the current angle value belongs and the calibration angle interval, and output the calibrated angle value.
[0017] Based on the above technical solution, this application can achieve the following technical effects:
[0018] The method is simple to implement. It includes: acquiring calibration data of the sensor under test at calibration angle intervals; sequentially verifying the calibration data of the sensor under test using preset verification rules, obtaining calibration data that passes verification to form a calibration data detection sequence containing multiple calibration intervals; comparing the current angle value of the sensor under test with the calibration data detection sequence to obtain the calibration interval to which the current angle value belongs and the calibration data at both ends of that interval; calibrating the current angle value using the calibration data at both ends of the calibration interval to which the current angle value belongs and the calibration angle intervals, and outputting the calibrated angle value. In other words, based on software, it realizes the calibration and adjustment of non-contact angular displacement sensor data. On the one hand, it eliminates the need for additional calibration equipment; on the other hand, it enables automated calibration, reducing manual intervention. The simple operation effectively improves the sensor's output accuracy and adaptability to external environments. Furthermore, this method only calibrates the entire sensor being calibrated, is insensitive to environmental parameters, and has stronger versatility. Attached Figure Description
[0019] Figure 1 This is a schematic flowchart of a non-contact angular displacement sensor calibration method provided in an embodiment of this application;
[0020] Figure 2 This is a schematic diagram of the basic structure of a non-contact angular displacement sensor provided in an embodiment of this application;
[0021] Figure 3 This is a schematic diagram of a calibration data acquisition process provided in an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of a data calibration process provided in an embodiment of this application;
[0023] Figure 5 This is a schematic diagram of a non-contact angular displacement sensor calibration device provided in an embodiment of this application. Detailed Implementation
[0024] The present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. The advantages and features of the present application will become clearer from the following description and claims. It should be noted that the drawings are all in a very simplified form and are not to scale, and are only used to facilitate and clarify the illustration of the embodiments of the present application.
[0025] It should be noted that, in order to clearly illustrate the content of this application, several embodiments are provided to further explain the different implementations of this application. These embodiments are enumerated rather than exhaustive. Furthermore, for the sake of brevity, content mentioned in the preceding embodiments is often omitted in the following embodiments. Therefore, content not mentioned in the following embodiments can be referred to in the preceding embodiments.
[0026] Example 1
[0027] like Figure 1 The diagram shows a flowchart of a non-contact angular displacement sensor calibration method provided in this embodiment. The method specifically includes the following steps:
[0028] S1. Collect calibration data of the sensor under test at calibration angle intervals;
[0029] In one specific embodiment, S1 can be implemented as follows:
[0030] The basic structure of a non-contact angular displacement sensor is as follows: Figure 2 As shown, the magnetic encoding chip is installed in the sensor circuit assembly, which is installed in the sensor housing. A magnet is mounted on the sensor shaft and aligned with the center of the sensor circuit assembly. The sensor shaft is installed in the upper-level mechanism to be measured. When the upper-level mechanism undergoes angular displacement, the sensor shaft drives the magnet to rotate, changing the relative position between the magnet and the magnetic encoding chip. The magnetic encoding chip detects angle data based on its relative position to the magnet. After processing by the circuit assembly, the angle data is sent to the host computer via the communication interface.
[0031] Using a high-precision turntable or other high-precision testing equipment, the sensor is mounted on the turntable while maintaining normal sensor output. The turntable is then rotated at a fixed angle, and the current detection angle is recorded. This process continues until the rotation angle exceeds 360°, thus obtaining a set of calibration data for the sensor at different physical angles.
[0032] S2. Using preset verification rules, the calibration data of the sensor under test are verified sequentially to obtain the calibration data that has passed the verification and form a calibration data detection sequence containing multiple calibration intervals.
[0033] In one embodiment, S2 includes:
[0034] S21. Read the current angle calibration data of the sensor under test and determine whether it is the first calibration data;
[0035] S22. If it is the first data, store the current angle calibration data into the calibration dataset and mark the sequence number as 0;
[0036] S23. If it is not the first data, determine whether there is a point where the angle data jumps from 360° to 0° between the calibration data corresponding to the largest sequence number in the calibration dataset and the current angle calibration data;
[0037] S24. If it is included, add 360° to the current angle calibration data as an intermediate variable; otherwise, use the current angle calibration data as an intermediate variable.
[0038] S25. Determine whether the difference between the intermediate variable and the calibration data corresponding to the maximum sequence number is within a preset angle interval range;
[0039] S26. If the difference is within the preset angle interval range, the calibration data of the sensor under test will be read again after a certain delay.
[0040] S27. If the difference between the calibration data of the sensor under test read after delay and the calibration data corresponding to the maximum serial number is still within the preset angle interval, the calibration data of the sensor under test collected after delay is stored in the calibration dataset, and the serial number is incremented by 1.
[0041] S28. Repeat S23-S27 until the sequence number of the calibration dataset exceeds the preset length.
[0042] In one embodiment, S23 includes:
[0043] S231. Determine whether the calibration data corresponding to the maximum sequence number is greater than 360-1.2gap, and whether the current angle calibration data is less than the calibration data corresponding to the maximum sequence number, where gap represents the calibration angle interval;
[0044] S232. If so, then determine that there is a point between the calibration data corresponding to the maximum sequence number and the current angle calibration data where the angle data jumps from 360° to 0°.
[0045] In one embodiment, after S28, the method further includes:
[0046] Calculate the difference between two adjacent calibration data in the calibration dataset sequentially, and determine whether the difference is within the preset angle interval range;
[0047] If all values are within the preset angle interval, the calibration data in the calibration dataset passes the verification, forming a calibration data detection sequence containing multiple calibration intervals.
[0048] In one embodiment, after determining whether all differences are within a preset angular interval range, the method further includes:
[0049] If any difference exists that is not within the preset angle interval range, an invalid calibration data flag will be returned.
[0050] In one specific embodiment, S2 can be implemented as follows:
[0051] like Figure 3 The specific implementation process of the calibration data acquisition method shown is as follows:
[0052] 1. Send a calibration command to the sensor via the host computer to put the sensor into calibration data entry mode and set the calibration flag;
[0053] 2. Define the data used in the calibration algorithm:
[0054] 1) Dataset length Length = (360° / gap) + 2; where gap represents the calibrated angle interval;
[0055] 2) Define DATA_BD[Length] to represent the calibration dataset;
[0056] 3) Define DATA_COMP to represent intermediate variables in the algorithm's computation process;
[0057] 4) Define DATA_NOW to represent the angle data currently being read and processed from the 21-bit raw angle value into 16 bits;
[0058] 5) Define i as the sequence number of the calibration data, with an initial value of 0;
[0059] 3. Read the current angle data through the communication interface provided by the magnetic encoder chip, and assign the 16-bit angle data to the DATA_NOW variable;
[0060] 4. If it is the first data to be read, store the current angle data into DATA_BD[0];
[0061] 5. Read the current angle data again. If the data previously stored in DATA_BD is greater than 360 - 1.2gap, and the currently read angle data DATA_NOW is less than the data previously stored in DATA_BD, then the current interval contains the point where the angle data jumps from 360° to 0°. Let DATA_COMP = 360° + DATA_NOW; otherwise, DATA_COMP = DATA_NOW.
[0062] 6. Calculate DATA_COMP-DATA_BD. If the result is between 0.8gap and 1.2gap, then perform a delay and collect the data again. After the delay, calculate DATA_COMP-DATA_BD again. If the result is still between 0.8gap and 1.2gap, then store the current angle data DATA_NOW into DATA_BD, and increment the current position of the DATA_BD sequence by 1.
[0063] 7. Repeat steps 3 through 6 until the DATA_BD calibration dataset is full;
[0064] 8. Data verification: Starting from DATA_BD[1] and ending at DATA_BD[Length-1], calculate whether the value of DATA_BD[i+1]-DATA_BD[i] is between 0.8gap and 1.2gap. If all calculations are within the above range, the data is considered valid, and DATA_BD is written into memory for data correction; if there is a value outside the 0.8gap to 1.2gap range, an invalid data flag is returned.
[0065] S3. Compare the current angle value of the sensor under test with the calibration data detection sequence to obtain the calibration interval to which the current angle value belongs and the calibration data at both ends of the calibration interval;
[0066] In one embodiment, S3 includes:
[0067] S31. The current angle value of the sensor under test is compared with the calibration data at both ends of each calibration interval in turn to determine whether the current angle value of the sensor under test is within a certain calibration interval.
[0068] S32. If the value is within a certain calibration interval, then the calibration interval is determined to be the calibration interval to which the current angle value belongs, and the calibration data at both ends of the calibration interval is obtained.
[0069] In one embodiment, S31 includes:
[0070] Determining whether the current angle value of the sensor under test is within a certain calibration range includes:
[0071] S311. Determine whether a certain calibration interval contains a point where the angle data jumps from 360° to 0°;
[0072] S312. If included, add 360° to the upper limit calibration data of the calibration interval as an intermediate variable, and determine whether the current angle value is less than the upper limit calibration data of the calibration interval.
[0073] S313. If the current angle value is less than the upper limit calibration data, then add 360° to the current angle value to get the new current angle value.
[0074] S314. Determine whether the new current angle value is greater than the lower limit of the calibration interval and less than or equal to the intermediate variable;
[0075] S315. If so, then determine that the current angle value of the sensor under test is within the calibration range.
[0076] In one embodiment, S31 includes:
[0077] Following S312, it also includes:
[0078] S316. If the current angle value is greater than or equal to the upper calibration data, determine whether the current angle value is greater than the lower calibration data of the calibration interval and less than or equal to the intermediate variable.
[0079] S317. If so, determine that the current angle value of the sensor to be measured is within the range of this calibration interval.
[0080] In a specific embodiment, the implementation of S3 can be as follows:
[0081] As Figure 4 shown, the specific implementation process of angle data calibration is as follows:
[0082] 1. Define each data used in the calibration algorithm:
[0083] 1) The length of the data set Length = (360° / gap) + 2; where gap represents the calibration angle interval.
[0084] 2) Define DATA_BD[Length] to represent the calibration data set.
[0085] 3) Define DATA_COMP to represent the intermediate variable in the algorithm calculation process.
[0086] 4) Define DATA_NOW to represent the currently read angle data that is processed from the 21-bit raw angle value to 16 bits.
[0087] 5) Define DATA_RT as the angle data after calibration.
[0088] 6) Define i as the serial number of the calibration data, and the initial value of i is 0.
[0089] 7) Define m as the number of loops in the algorithm, and the initial value of m is 0.
[0090] 2. Through the communication interface provided by the magnetic encoding chip, read the current angle and form 16-bit angle data and assign it to the DATA_NOW variable.
[0091] 3. If m ≥ Length, it means that the data in DATA_BD cannot calibrate DATA_NOW. Let the output value be equal to the currently read value and do not perform calibration. If m < Length, then enter step 4 to start the calibration process.
[0092] 4. Compare DATA_NOW with the calibration interval [DATA_BD[i], DATA_BD[i + 1]] of the calibration data set to determine whether the current calibration interval satisfies DATA_BD[i] > 360 - 1.2gap and DATA_BD[i + 1] < DATA_BD[i]. If true, it indicates that the current calibrated interval being compared contains the jump point from 360° to 0° of the sensor;
[0093] 5. If the judgment in step 4 is true, let the intermediate variable DATA_COMP = DATA_BD[i + 1] + 360°, and then determine whether the current angle reading value DATA_NOW is less than the upper limit DATA_BD[i + 1] of the calibration interval. If not true, it means that the current angle value is between DATA_BD[i] and 360°, and the judgment in step 6 is performed next; if true, it means that the current angle value is between 0° and DATA_BD[i + 1]. At this time, let the current angle value DATA_NOW be incremented by 360° and then the judgment in step 6 is performed;
[0094] 6. Determine whether the current angle value DATA_NOW is greater than DATA_BD[i] and DATA_NOW is less than or equal to the intermediate variable DATA_COMP = DATA_BD[i + 1] + 360°. If not true, it means that the current data is not within the calibrated acquisition data range, the data is illegal or there is an error in the calibrated acquisition data. At this time, directly output the reading value; if the judgment is true, execute S4.
[0095] 7. If the judgment in step 4 is not true, it means that the current calibrated interval being compared does not contain the jump point. Then, determine whether the current angle value DATA_NOW is within the current comparison interval [DATA_BD[i], DATA_BD[i + 1]], that is, DATA_NOW > DATA_BD[i] and DATA_NOW ≤ DATA_BD[i + 1]. If not true, it means that the current calibrated interval being compared does not meet the calibration requirements. Let i be incremented by 1 and m be incremented by 1, and then jump to step 3 to continue traversing other calibrated intervals; if the judgment is true, it means that the current calibrated interval being compared meets the judgment requirements, and execute S4.
[0096] S4. Calibrate the current angle value by using the calibration data at both ends of the calibration interval to which the current angle value belongs and the calibration angle interval, and output the calibrated angle value. [[ID=?]] [[ID=?]]
[0097] In an embodiment, the implementation manner of S4 can be: [[ID=?]] [[ID=?]]
[0098] Calibrate the current angle value through the following formula and output the calibrated angle value: [[ID=?]] [[ID=?]]
[0099] It should be noted that the "?" in the tags in the original text might be incorrect or incomplete. I've translated the text as accurately as possible based on the available information.DATA_RT=(i-1+(DATA_NOW-DATA_BD[i]) / (DATA_BD[i+1])-DATA_BD[i]))*gap
[0100] The current angle value DATA_NOW is calibrated and assigned to the calibrated angle value DATA_RT, thus completing the calibration of one angle data point.
[0101] In summary, a software-based method was used to achieve non-contact angular displacement sensor data calibration and verification. This eliminates the need for additional calibration equipment and enables automated calibration, reducing manual intervention. The method is simple to operate and effectively improves the sensor's output accuracy and adaptability to external environments. Furthermore, this method calibrates only the current sensor unit, is insensitive to environmental parameters, and possesses greater versatility.
[0102] Example 2
[0103] Please refer to Figure 5 , Figure 5 The diagram shown is a schematic of a non-contact angular displacement sensor calibration device provided in this embodiment. The device includes:
[0104] The calibration data acquisition module 202 is used to acquire calibration data of the sensor under test at calibration angle intervals;
[0105] The calibration data verification module 204 is used to verify the calibration data of the sensor under test sequentially using preset verification rules, and to obtain the calibration data that has passed the verification to form a calibration data detection sequence containing multiple calibration intervals.
[0106] The calibration interval determination module 206 is used to compare the current angle value of the sensor under test with the calibration data detection sequence to obtain the calibration interval to which the current angle value belongs and the calibration data at both ends of the calibration interval;
[0107] The test data calibration module 208 is used to calibrate the current angle value using the calibration data at both ends of the calibration interval to which the current angle value belongs and the calibration angle interval, and output the calibrated angle value.
[0108] In summary, a software-based method was used to achieve non-contact angular displacement sensor data calibration and verification. This eliminates the need for additional calibration equipment and enables automated calibration, reducing manual intervention. The method is simple to operate and effectively improves the sensor's output accuracy and adaptability to external environments. Furthermore, this method calibrates only the current sensor unit, is insensitive to environmental parameters, and possesses greater versatility.
[0109] Example 3
[0110] In yet another feasible embodiment, this embodiment provides a device for calibrating and standardizing a non-contact angular displacement sensor, the device specifically including:
[0111] A processor; and a memory arranged to store computer-executable instructions, which, when executed, cause the processor to perform the steps as described in any of the above method embodiments.
[0112] Example 4
[0113] In another feasible embodiment, this embodiment provides a storage medium for the calibration of a non-contact angular displacement sensor, the storage medium specifically including:
[0114] The storage medium stores a calibration program for a non-contact angular displacement sensor. When the non-contact angular displacement sensor calibration program is executed by the processor, it implements the steps as described in any of the above method embodiments.
[0115] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of this application should be included within the scope of the claims of this application.
Claims
1. A calibration method for a non-contact angular displacement sensor, characterized in that, include: S1. Collect calibration data of the sensor under test at calibration angle intervals; S2. Using preset verification rules, the calibration data of the sensor under test are verified sequentially to obtain the calibration data that has passed the verification and form a calibration data detection sequence containing multiple calibration intervals. S3. Compare the current angle value of the sensor under test with the calibration data detection sequence to obtain the calibration interval to which the current angle value belongs and the calibration data at both ends of the calibration interval; S4. Using the calibration data at both ends of the calibration interval to which the current angle value belongs and the calibration angle interval, calibrate the current angle value and output the calibrated angle value; S2 includes: S21. Read the current angle calibration data of the sensor under test and determine whether it is the first calibration data; S22. If it is the first data, store the current angle calibration data into the calibration dataset and mark the sequence number as 0; S23. If it is not the first data, determine whether there is a point where the angle data jumps from 360° to 0° between the calibration data corresponding to the largest sequence number in the calibration dataset and the current angle calibration data; S24. If it is included, add 360° to the current angle calibration data as an intermediate variable; otherwise, use the current angle calibration data as an intermediate variable. S25. Determine whether the difference between the intermediate variable and the calibration data corresponding to the maximum sequence number is within a preset angle interval range; S26. If the difference is within the preset angle interval range, the calibration data of the sensor under test will be read again after a certain delay. S27. If the difference between the calibration data of the sensor under test read after delay and the calibration data corresponding to the maximum serial number is still within the preset angle interval, the calibration data of the sensor under test collected after delay is stored in the calibration dataset, and the serial number is incremented by 1. S28. Repeat S23-S27 until the sequence number of the calibration dataset exceeds the preset length.
2. The method according to claim 1, characterized in that, S23 includes: S231. Determine whether the calibration data corresponding to the maximum sequence number is greater than 360-1.2gap, and whether the current angle calibration data is less than the calibration data corresponding to the maximum sequence number, where gap represents the calibration angle interval; S232. If so, then determine that there is a point between the calibration data corresponding to the maximum sequence number and the current angle calibration data where the angle data jumps from 360° to 0°.
3. The method according to claim 1, characterized in that, Following S28, the following is also included: Calculate the difference between two adjacent calibration data in the calibration dataset sequentially, and determine whether the difference is within the preset angle interval range; If all values are within the preset angle interval, the calibration data in the calibration dataset passes the verification, forming a calibration data detection sequence containing multiple calibration intervals.
4. The method according to claim 3, characterized in that, After determining whether all differences are within the preset angle interval range, the method further includes: If any difference exists that is not within the preset angle interval range, an invalid calibration data flag will be returned.
5. The method according to claim 1, characterized in that, S3 includes: S31. The current angle value of the sensor under test is compared with the calibration data at both ends of each calibration interval in turn to determine whether the current angle value of the sensor under test is within a certain calibration interval. S32. If the value is within a certain calibration interval, then the calibration interval is determined to be the calibration interval to which the current angle value belongs, and the calibration data at both ends of the calibration interval is obtained.
6. The method according to claim 5, characterized in that, S31 determines whether the current angle value of the sensor under test is within a certain calibration range, including: S311. Determine whether a certain calibration interval contains a point where the angle data jumps from 360° to 0°; S312. If included, add 360° to the upper limit calibration data of the calibration interval as an intermediate variable, and determine whether the current angle value is less than the upper limit calibration data of the calibration interval. S313. If the current angle value is less than the upper limit calibration data, then add 360° to the current angle value to get the new current angle value. S314. Determine whether the new current angle value is greater than the lower limit of the calibration interval and less than or equal to the intermediate variable; S315. If so, then determine that the current angle value of the sensor under test is within the calibration range.
7. The method according to claim 6, characterized in that, Following S312, the following is also included: S316. If the current angle value is greater than or equal to the upper limit calibration data, then determine whether the current angle value is greater than the lower limit calibration data of the calibration interval and less than or equal to the intermediate variable. S317. If so, then determine that the current angle value of the sensor under test is within the calibration range.
8. The method according to claim 1, characterized in that, S4 includes: The current angle value is calibrated using the following formula, and the calibrated angle value is output: Where i represents the sequence number of the calibration data, DATA_NOW represents the current angle value, DATA_BD[i] represents the calibration data at the lower limit of the calibration interval, DATA_BD[i+1] represents the calibration data at the upper limit of the calibration interval, and gap represents the calibration angle interval.
9. A non-contact angular displacement sensor calibration device, characterized in that, include: The calibration data acquisition module is used to acquire calibration data of the sensor under test at calibration angle intervals; The calibration data verification module is used to verify the calibration data of the sensor under test sequentially using preset verification rules, and to obtain the calibration data that has passed the verification to form a calibration data detection sequence containing multiple calibration intervals. The calibration interval determination module is used to compare the current angle value of the sensor under test with the calibration data detection sequence to obtain the calibration interval to which the current angle value belongs and the calibration data at both ends of the calibration interval; The test data calibration module is used to calibrate the current angle value using the calibration data at both ends of the calibration interval to which the current angle value belongs and the calibration angle interval, and output the calibrated angle value. The calibration data verification module includes: S21. Read the current angle calibration data of the sensor under test and determine whether it is the first calibration data; S22. If it is the first data, store the current angle calibration data into the calibration dataset and mark the sequence number as 0; S23. If it is not the first data, determine whether there is a point where the angle data jumps from 360° to 0° between the calibration data corresponding to the largest sequence number in the calibration dataset and the current angle calibration data; S24. If it is included, add 360° to the current angle calibration data as an intermediate variable; otherwise, use the current angle calibration data as an intermediate variable. S25. Determine whether the difference between the intermediate variable and the calibration data corresponding to the maximum sequence number is within a preset angle interval range; S26. If the difference is within the preset angle interval range, the calibration data of the sensor under test will be read again after a certain delay. S27. If the difference between the calibration data of the sensor under test read after delay and the calibration data corresponding to the maximum serial number is still within the preset angle interval, the calibration data of the sensor under test collected after delay is stored in the calibration dataset, and the serial number is incremented by 1. S28. Repeat S23-S27 until the sequence number of the calibration dataset exceeds the preset length.
Citation Information
Patent Citations
Magnetic coding type noncontact angular displacement sensor
CN108827141A
Non-contact online measuring method for outer diameter of pipe end of steel pipe
CN114252041A