Inductive sensor multi-distance sensing calibration method, system and related equipment

Through the automated multi-distance induction calibration method of inductive sensors, the motor moves the target to adjust the distance and collects signal data, the traditional calibration efficiency and high cost are solved, and efficient and accurate calibration results are achieved to adapt to complex environments.

CN118623748BActive Publication Date: 2024-11-08SHENZHEN CHEVEN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411090977.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-08
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

The multi-distance induction calibration process of traditional inductive sensors is inefficient and cost-effective, and the stability and consistency of calibration results are not high.

Method used

Provide a multi-distance induction calibration method for inductor sensors. By obtaining the preset proximity distance of the target inductor sensor, using a motor to move the target to adjust the distance, collect output signal data, generate and store key-value pair data, automate the calibration results, and If necessary, exception handling and alarms are carried out to reduce manual operations.

Benefits of technology

The automation of multi-distance sensing calibration of inductive sensors is realized, which reduces labor costs, improves calibration efficiency and accuracy, adapts to complex environments, and improves the versatility and flexibility of automated calibration systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118623748B_ABST
    Figure CN118623748B_ABST
Patent Text Reader

Abstract

This application relates to the field of sensor technology and discloses a method, system, electronic device, and storage medium for multi-distance sensing calibration of inductive sensors. The method includes: obtaining a target inductive sensor from a queue of inductive sensors to be calibrated and fixing the target inductive sensor to a sensor fixing device; obtaining a preset approach distance of the target inductive sensor; traversing the preset approach distance, using a motor to move the corresponding target, controlling the distance between the target and the probe of the target inductive sensor to be equal to the currently traversed preset approach distance; when the target has completed distance adjustment, acquiring the output signal data of the target inductive sensor; generating key-value pair data between the output signal data and the currently traversed preset approach distance, and storing the key-value pair data in a calibration result set corresponding to the target inductive sensor; when the traversal process of the preset approach distance ends, setting the data in the calibration result set as the calibration result of the target inductive sensor, thereby improving calibration efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensor technology, and in particular to a multi-distance sensing calibration method, system, electronic device and storage medium for an inductive sensor. Background Art

[0002] With the development of industrial automation and intelligence, the application of inductive sensors in various fields is becoming more and more extensive. For example, in the industrial production process, inductive sensors can be used to detect the position, distance and movement of objects. Specifically, in the mechanical assembly line, inductive sensors can be used to detect the position and positioning of parts to ensure the correct assembly sequence and position accuracy, so the accuracy and stability of inductive sensors are very important. However, the traditional factory calibration method of inductive sensors relies on manual operation and experience judgment, which is inefficient and costly. Especially when the inductor in an inductive sensor supports multiple distance switch configurations, the labor cost of factory calibration will increase, and the accuracy and consistency of the calibration results produced by manual calibration are also difficult to guarantee. Summary of the invention

[0003] The main technical problem solved by the implementation method of the present application is that the multi-distance sensing calibration process of traditional inductive sensors is inefficient and costly, and the stability and consistency of the calibration results are not high.

[0004] To solve the above technical problems, the first technical solution adopted in the implementation mode of the present application is: to provide a multi-distance sensing calibration method for an inductive sensor, including: obtaining a target inductive sensor from a queue of inductive sensors to be calibrated, and fixing the target inductive sensor to a preset sensor fixing device; obtaining at least one preset proximity distance of the target inductive sensor; traversing the preset proximity distance, using a preset motor to move the corresponding target, and controlling the distance between the target and the probe of the target inductive sensor to be equal to the preset proximity distance currently traversed; when the target completes the distance adjustment, collecting the output signal data of the target inductive sensor; generating key-value pair data of the output signal data and the preset proximity distance currently traversed, and storing the key-value pair data to a calibration result set corresponding to the target inductive sensor; when the traversal process of the preset proximity distance is completed, setting the data in the calibration result set to the calibration result of the target inductive sensor.

[0005] Optionally, the step of using a preset motor to move the corresponding target and controlling the distance between the target and the probe of the target inductive sensor to be equal to the preset proximity distance currently traversed includes: obtaining the current distance between the target and the probe of the target inductive sensor through a first macro measurement system; calculating a first distance difference between the current distance and the preset proximity distance currently traversed; determining whether the first distance difference is within a preset first distance difference threshold range, and if not within the first distance difference threshold range, moving the target according to the first distance difference using the preset motor; and repeating the steps from obtaining the current distance between the target and the probe of the target inductive sensor through the first macro measurement system to moving the target according to the first distance difference using the preset motor, until the first distance difference is within the first distance difference threshold range.

[0006] Optionally, when the target completes the distance adjustment, after the step of collecting the output signal data of the target inductance sensor, the method further includes: calculating the corresponding output voltage data according to a preset voltage calculation formula, and the voltage calculation formula is as follows:

[0007] ;

[0008] in, V Indicates the output voltage data, represents the calibration coefficient, represents the reference voltage, ADC represents the sampled value of the analog-to-digital converter connected to the target inductance sensor, n is the number of bits of the analog-to-digital converter; sorting the output voltage data of the target inductance sensor obtained after multiple samplings, removing the maximum output voltage data and the minimum data voltage data after sorting, and obtaining a set of output voltage data to be processed; calculating the output voltage average value of the output voltage data in the set of output voltage data to be processed, and setting the output voltage average value as the output signal data of the target inductance sensor.

[0009] Optionally, when the target completes the distance adjustment, after the step of collecting the output signal data of the target inductive sensor, it also includes: traversing the collected output signal data of the target inductive sensor; detecting whether the collected output signal data is within the preset calibration signal data range, if not within the range, setting the corresponding output signal data as abnormal signal data; re-adjusting the distance between the target and the probe of the target inductive sensor, and re-collecting the corresponding output signal data to update the abnormal signal data; repeating the steps from detecting whether the collected output signal data is within the preset calibration signal data range to re-collecting the corresponding output signal data to update the abnormal signal data, until the output signal data is within the preset calibration signal data range, or the number of repetitions is greater than a preset repetition threshold.

[0010] Optionally, after the step of until the output signal data is within the preset calibration signal data range, or the number of repetitions is greater than the preset repetition threshold, it also includes: if the number of repetitions is greater than the preset repetition threshold, transferring the corresponding target inductance sensor to a preset calibration abnormality inductance sensor queue; after all the inductance sensors in the to-be-calibrated inductance sensor queue have completed the first calibration, checking the number of abnormalities of the inductance sensors in the calibration abnormality inductance sensor queue; if the number of abnormalities is less than or equal to the preset first abnormality number threshold, setting the calibration abnormality inductance sensor queue as the to-be-calibrated inductance sensor queue to perform a second calibration on the inductance sensor with the calibration abnormality, or transferring the calibration abnormality inductance sensor to a manual calibration inspection queue, and receiving the calibration result of the manual calibration as the calibration result of the target inductance sensor; if the number of abnormalities is greater than the preset first abnormality number threshold, sending a batch calibration alarm message to a preset alarm message receiver.

[0011] Optionally, after the step of storing the key-value pair data in the calibration result set corresponding to the target inductive sensor, it also includes: obtaining a preset proximity distance corresponding to the key-value pair as the target proximity distance, and an inductive sensor model as the target model; when the cumulative number of key-value pairs with the same target model and the same target proximity distance is greater than a preset first cumulative number threshold, generating an output signal data variation range based on the output signal data in the accumulated key-value pairs; and using the output signal data variation range as the output signal data variation threshold range of the inductive sensor with the target model at the target proximity distance.

[0012] Optionally, after the step of setting the data in the calibration result set as the calibration result of the target inductive sensor, it also includes: calculating the output signal change curve of the same model of inductive sensor at the same proximity distance; and displaying the calibration result and the output signal change curve through a preset graphical display method.

[0013] In order to solve the above technical problems, the second technical solution adopted by the embodiment of the present application is: to provide an inductive sensor multi-distance inductive calibration system, including: a calibration initialization module, used to obtain a target inductive sensor from a queue of inductive sensors to be calibrated, and fix the target inductive sensor to a preset sensor fixing device; a proximity distance acquisition module, used to obtain at least one preset proximity distance of the target inductive sensor; a target movement control module, used to traverse the preset proximity distance, use a preset motor to move the corresponding target, and control the distance between the target and the probe of the target inductive sensor to be equal to the preset proximity distance currently traversed; a signal data acquisition module, used to collect the output signal data of the target inductive sensor when the target completes the distance adjustment; a key-value pair data module, used to generate key-value pair data of the output signal data and the preset proximity distance currently traversed, and store the key-value pair data to the calibration result set corresponding to the target inductive sensor; a calibration result data module, used to set the data in the calibration result set as the calibration result of the target inductive sensor when the traversal process of the preset proximity distance is completed.

[0014] To solve the above technical problems, the third technical solution adopted in the implementation manner of the present application is: to provide an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the multi-distance sensing calibration method for the inductive sensor as described above.

[0015] In order to solve the above-mentioned technical problems, the fourth technical solution adopted in the implementation mode of the present application is: providing a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by an electronic device, the electronic device executes the multi-distance sensing calibration method of the inductive sensor as described above.

[0016] Different from the related technologies, the present application not only realizes the automation of multi-distance sensing calibration of inductive sensors, reduces manual operations on the basis of traditional calibration schemes, reduces labor costs and improves calibration efficiency and accuracy, is more adaptable to the complex environment of multi-distance sensing calibration, improves the versatility and flexibility of the automated calibration system, and the accuracy of the calibration results. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0018] Figure 1 It is a schematic diagram of the application environment of the multi-distance sensing calibration method of the inductive sensor provided in the embodiment of the present application.

[0019] Figure 2 It is a schematic diagram of the execution flow of the multi-distance sensing calibration method of the inductive sensor provided in an embodiment of the present application.

[0020] Figure 3 It is a schematic diagram of the execution flow of adjusting the target in the multi-distance sensing calibration method of the inductive sensor provided in an embodiment of the present application.

[0021] Figure 4 It is a schematic diagram of the execution flow of verifying output signal data in the multi-distance sensing calibration method of the inductive sensor in the embodiment of the present application.

[0022] Figure 5 It is a schematic diagram of the process of handling calibration anomalies in the multi-distance sensing calibration method of the inductive sensor according to the embodiment of the present application.

[0023] Figure 6 It is a schematic diagram of the execution flow of calculating the output signal data change threshold range in the inductive sensor multi-distance sensing calibration method provided in an embodiment of the present application.

[0024] Figure 7 It is a schematic diagram of the system structure of the inductive sensor multi-distance sensing calibration system provided in an embodiment of the present application.

[0025] Figure 8 A schematic diagram of the hardware structure of an electronic device for executing a multi-distance sensing method using an inductive sensor provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0027] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order than the module division in the system schematic diagram or the order in the flow chart.

[0028] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0029] To facilitate understanding of this embodiment, a multi-distance sensing calibration method for an inductive sensor disclosed in an embodiment of the present application is first introduced in detail. The executor of the multi-distance sensing calibration method for an inductive sensor provided in an embodiment of the present application is generally an electronic device with certain computing capabilities, such as a computer device. In some possible implementation methods, the multi-distance sensing calibration method for an inductive sensor can be implemented by a processor calling computer-readable instructions stored in a memory.

[0030] The multi-distance sensing calibration method of the inductive sensor provided in the embodiment of the present application is described below by taking a computer device as an example of the execution subject.

[0031] See also Figure 1 , Figure 1 1 is a schematic diagram of the application environment of the multi-distance induction calibration method of the inductance sensor provided by the embodiment of the present application. As shown in the figure, in addition to the execution main host computer 101, it also includes the inductance sensor 102 to be calibrated, the macro measurement system 103, the motor 104 and the target 105. After the host computer 101 receives the multi-distance induction calibration command of the inductance sensor, the inductance sensor 102 to be calibrated is obtained through the control device, and the inductance sensor to be calibrated is fixed on the corresponding fixing device, and the approach distance of the inductance sensor 102 to be calibrated is obtained, and then the calibration start command is issued to the inductance sensor 102 to be calibrated, and the motor 104 is controlled to move the target 105, so that the distance between the target 105 and the probe of the inductance sensor 102 to be calibrated is the corresponding approach distance, and it is confirmed by the macro measurement system 103, and finally the output signal data of the inductance sensor 102 at the corresponding approach distance is collected, and the data signal data is set as the calibration result data at the corresponding approach distance.

[0032] Please continue reading Figure 2 , Figure 2FIG. 1 is a schematic diagram of an execution flow of a multi-distance sensing calibration method for an inductive sensor provided in an embodiment of the present application. As shown in the figure, the method includes the following steps:

[0033] S10: Obtain a target inductive sensor from a queue of inductive sensors to be calibrated, and fix the target inductive sensor to a preset sensor fixing device.

[0034] Among them, the inductive sensor products need to be calibrated before leaving the factory, and the inductive sensors of the same model produced in the same batch can be used as the above-mentioned queue of inductive sensors to be calibrated. In the automated calibration process of the present application, uncalibrated inductive sensors are sequentially obtained from the queue of inductive sensors to be calibrated as the above-mentioned target inductive sensors to perform subsequent calibration steps. Furthermore, the inductive sensor to be calibrated is taken out by an intelligent production device such as a robotic arm and fixed in a corresponding sensor fixing device. In addition to the fixing function, the sensor fixing device also includes other calibration devices that are adapted to the inductive sensor, so that the target inductive sensor to be calibrated can generate corresponding output signal data during the calibration process.

[0035] S20: Acquire at least one preset proximity distance of a target inductive sensor.

[0036] Among them, the inductive sensor is usually composed of a coil and an inductance measurement circuit. When current passes through the coil, the generated magnetic field will interact with the object (target) close to the sensor. The approach of the object will change the distribution of the magnetic field, thereby causing the induced electromotive force in the coil to change. By measuring the change in the induced electromotive force, the distance between the object and the inductive sensor can be inferred.

[0037] S30, traversing the preset proximity distance, using the preset motor to move the corresponding target, and controlling the distance between the target and the probe of the target inductive sensor to be equal to the currently traversed preset proximity distance.

[0038] As an optional implementation, please continue to refer to Figure 3 , Figure 3 1 is a schematic diagram of the execution flow of adjusting the target in the multi-distance sensing calibration method of the inductive sensor provided in the embodiment of the present application, which specifically includes the following steps:

[0039] S301 . Acquire a current distance between a target and a probe of a target inductive sensor through a first macro measurement system.

[0040] Among them, the macro measurement system is a system for measuring tiny sizes, tiny displacements or tiny deformations, and is usually composed of a sensor, a signal processing unit, and a display / recording unit. The macro measurement systems that can be used in the embodiments of the present application include, but are not limited to: optical measurement systems, capacitive measurement systems, piezoresistive measurement systems, magnetic measurement systems, etc. The optical measurement system uses optical sensors and optical principles to perform macro measurements, including laser interferometry, laser triangulation, white light interferometry, etc. The capacitive measurement system uses a capacitive sensor for macro measurement, and detects tiny displacements or deformations by measuring changes in capacitance. The piezoresistive measurement system uses a piezoresistive sensor for macro measurement, and detects tiny displacements or deformations by measuring changes in resistance values. The magnetic measurement system uses a magnetic sensor for macro measurement, and detects tiny displacements or deformations by measuring changes in magnetic fields. In addition, laser ranging sensors, micrometers (micrometers), and atomic force microscopes (AFMs) based on the FMCW (Frequency Modulated Continuous Wave) principle can also be used.

[0041] S302: Calculate a first distance difference between the current distance and the currently traversed preset proximity distance.

[0042] S303, determining whether the first distance difference is within a preset first distance difference threshold range; if not, using a preset motor to move the target according to the first distance difference.

[0043] If the first distance difference is within a preset first distance difference threshold range, a subsequent inductive sensor calibration step, such as step S40, is performed.

[0044] S304, repeating the steps of obtaining the current distance between the target and the probe of the target inductive sensor by the first macro measurement system and moving the target according to the first distance difference by using a preset motor, until the first distance difference is within a first distance difference threshold range.

[0045] Among them, if the number of repeated adjustments of the target is greater than the preset repeated adjustment number threshold, and the current distance between the target and the probe of the target inductive sensor still does not meet the preset calibration conditions, then there may be a control problem with the function of the motor, and the moving distance of the target cannot be accurately controlled. In this case, you can consider pausing the current calibration execution steps and re-executing the aforementioned steps of moving the target after replacing a new motor.

[0046] S40: When the target has completed the distance adjustment, the output signal data of the target inductance sensor is collected.

[0047] As an optional implementation, after the above step S40, the corresponding output voltage data may also be calculated according to a preset voltage calculation formula, and the voltage calculation formula is as follows:

[0048] ;

[0049] in, V Indicates the output voltage data, represents the calibration coefficient, represents the reference voltage, ADC represents the sampled value of the analog-to-digital converter connected to the target inductance sensor, n is the number of bits of the analog-to-digital converter. For example, in a multi-distance induction calibration process of an inductance sensor, the reference voltage is set to 5.0 volts and the calibration coefficient is set to 1000. Then, the output voltage data of the target inductance sensor obtained after multiple samplings are sorted, and the maximum output voltage data and the minimum data voltage data after sorting are removed to obtain a set of output voltage data to be processed. Finally, the output voltage average value of the output voltage data in the aforementioned set of output voltage data to be processed is calculated, and the obtained output voltage average value is set as the output signal data of the target inductance sensor.

[0050] As a preferred implementation, please continue to refer to Figure 4 , Figure 4 This is a schematic diagram of the execution flow of verifying output signal data in the multi-distance sensing calibration method of the inductive sensor according to the embodiment of the present application, as shown in the figure, including the following steps:

[0051] S401, traverse the collected output signal data of the target inductive sensor.

[0052] S402, detecting whether the collected output signal data is within a preset calibration signal data range, and if not, setting the corresponding output signal data as abnormal signal data.

[0053] Among them, in the multi-distance sensing calibration process of the inductive sensor, the corresponding output signal data of each type of inductive sensor should fluctuate within a range under different proximity distance settings. For example, for the inductive sensors of the same model and the same production batch, the induced electromotive force at a proximity distance of 3mm should be within a certain fluctuation range. If the induced electromotive force of a certain inductive sensor at a proximity distance of 3mm exceeds the fluctuation range, then the calibration process of the electric sensor at a proximity distance of 3mm will obtain an abnormal calibration result.

[0054] S403, readjusting the distance between the target and the probe of the target inductive sensor, and recollecting the corresponding output signal data to update the abnormal signal data.

[0055] S404, repeating the steps of detecting whether the collected output signal data is within the preset calibration signal data range and recollecting the corresponding output signal data to update the abnormal signal data, until the output signal data is within the preset calibration signal data range, or the number of repetitions is greater than the preset repetition threshold.

[0056] Among them, if there is always an abnormality in the calibration process of the inductive sensor at a certain proximity distance, a corresponding repetition limit must be set to avoid the calibration process of the inductive sensor falling into a permanent loop, making subsequent calibration steps unable to be executed.

[0057] As another preferred embodiment, please continue to refer to Figure 5 , Figure 5 This is a schematic diagram of a process for handling calibration anomalies in the multi-distance sensing calibration method of an inductive sensor according to an embodiment of the present application. As shown in the figure, after step S404, the following steps are also included:

[0058] S405: If the number of repetitions is greater than a preset repetition threshold, the corresponding target inductive sensor is transferred to a preset calibrated abnormal inductive sensor queue.

[0059] S406: After all the inductive sensors in the queue of inductive sensors to be calibrated have completed the first calibration, check the number of abnormal inductive sensors in the queue of abnormally calibrated inductive sensors.

[0060] Among them, different subsequent inspection rules can be set according to the number of abnormalities in the calibration abnormal inductive sensor queue. On the one hand, there is a possibility that some abnormal inductive sensors are caused by other factors (non-inductive sensor equipment's own defects) during the first calibration process, which leads to abnormal calibration process. Therefore, a second automatic calibration is performed on the abnormal inductive sensors of the first aspect to try to eliminate the calibration abnormality. On the second aspect, there are some abnormal inductive sensors whose calibration abnormality is caused by the defects of the inductive sensors themselves generated in the production process. Therefore, the abnormal inductive sensors of the second aspect will always be identified as calibration abnormalities during the automatic calibration process. At this time, manual access is required to further verify that the inductive sensors with calibration abnormalities are defective inductive sensors.

[0061] S407. If the number of abnormalities is less than or equal to the preset first abnormality number threshold, the calibration abnormal inductive sensor queue is set as the inductive sensor queue to be calibrated, so as to perform a second calibration on the inductive sensor with calibration abnormality, or transfer the calibration abnormal inductive sensor to the manual calibration inspection queue, and receive the calibration result of the manual calibration as the calibration result of the target inductive sensor.

[0062] S408: If the number of abnormalities is greater than the preset first abnormality number threshold, a batch calibration alarm message is sent to a preset alarm message receiver. That is, when a large number of calibration abnormalities occur during the execution of the automated calibration, it indicates that the current batch of inductive sensors may have production defects, or the current equipment or device for multi-distance sensing calibration of inductive sensors has defects or assembly problems, resulting in a large number of automatic calibration abnormalities, requiring manual intervention to solve the problem, and a batch calibration alarm message is sent to the preset alarm message receiver.

[0063] S50: Generate key-value pair data of the output signal data and the currently traversed preset proximity distance, and store the key-value pair data in a calibration result set corresponding to the target inductive sensor.

[0064] Among them, the multi-distance sensing calibration method of the inductive sensor provided in the embodiment of the present application can automatically calibrate the inductive sensor with multiple proximity distances, so when the calibration result corresponding to a proximity distance is completed, a corresponding key-value pair is generated for the completed calibration result and the proximity distance, so that the calibration results under different proximity distances can be distinguished.

[0065] S60: When the traversal process of the preset proximity distance is completed, the data in the calibration result set is set as the calibration result of the target inductive sensor.

[0066] As a preferred implementation, after obtaining the calibration result of the target inductive sensor, the possible variation range of the calibration result can also be optimized to improve the subsequent calibration accuracy of the inductive sensor. Figure 6 , Figure 6 1 is a schematic diagram of an execution flow of calculating the output signal data change threshold range in the inductive sensor multi-distance sensing calibration method provided in an embodiment of the present application, which specifically includes the following steps:

[0067] S601: Acquire a preset proximity distance corresponding to the key-value pair as a target proximity distance, and an inductive sensor model as a target model.

[0068] Among them, the calibration results of the inductive sensors of the same model can be centrally visualized, because the inductive sensors of the same model are generally set with the same approach distance.

[0069] S602: When the cumulative number of key-value pairs with the same target model and the same target proximity distance is greater than a preset first cumulative number threshold, generate an output signal data variation range according to the accumulated output signal data in the key-value pairs.

[0070] Among them, when the number of accumulated calibration result data (i.e., the corresponding key-value pairs) reaches a certain level, the constructed statistical results will be more useful. Therefore, in the actual implementation process, it can be flexibly adjusted according to the calibration needs to achieve different statistical goals.

[0071] S603: Use the output signal data variation range as the output signal data variation threshold range of the inductive sensor of the target model when the target approaches the distance.

[0072] As another preferred embodiment, after obtaining the calibration result of the target inductive sensor, the calibration result can also be visualized, and the following steps can be performed: first, the output signal change curve of the same model inductive sensor at the same proximity distance is calculated. Then, the calibration result and the output signal change curve are displayed in a preset graphical display method. In addition to the curve display method, a pie chart, a bar chart, a bar chart, a scatter plot and other visual statistical methods can also be used for display.

[0073] The multi-distance sensing calibration method for an inductive sensor provided in the embodiment of the present application not only realizes the automation of the multi-distance sensing calibration of the inductive sensor, reduces manual operations on the basis of the traditional calibration scheme, reduces labor costs and improves calibration efficiency and calibration accuracy, is more adaptable to the complex environment of multi-distance sensing calibration, improves the versatility and flexibility of the automated calibration system, and the accuracy of the calibration results.

[0074] Please continue reading Figure 7 , Figure 7 It is a system structure diagram of the inductive sensor multi-distance sensing calibration system provided in an embodiment of the present application, specifically including: a calibration initialization module 81, a proximity distance acquisition module 82, a target movement control module 83, a signal data acquisition module 84, a key-value pair data module 85 and a calibration result data module 86.

[0075] The calibration initialization module 81 is used to obtain a target inductive sensor from a queue of inductive sensors to be calibrated, and fix the target inductive sensor to a preset sensor fixing device.

[0076] The proximity distance acquisition module 82 is used to acquire at least one preset proximity distance of the target inductive sensor.

[0077] The target movement control module 83 is used to traverse the preset proximity distance, use a preset motor to move the corresponding target, and control the distance between the target and the probe of the target inductive sensor to be equal to the preset proximity distance currently traversed.

[0078] The signal data acquisition module 84 is used to collect the output signal data of the target inductance sensor when the target completes the distance adjustment.

[0079] The key-value pair data module 85 is used to generate key-value pair data of the output signal data and the preset proximity distance currently traversed, and store the key-value pair data in the calibration result set corresponding to the target inductive sensor.

[0080] The calibration result data module 86 is used to set the data in the calibration result set as the calibration result of the target inductive sensor when the traversal process of the preset proximity distance is completed.

[0081] As an optional implementation, the proximity distance acquisition module 82 is specifically used to acquire the current distance between the target and the probe of the target inductive sensor through the first macro measurement system; calculate the first distance difference between the current distance and the preset proximity distance currently traversed; determine whether the first distance difference is within a preset first distance difference threshold range, and if not, use the preset motor to move the target according to the first distance difference; repeat the steps from acquiring the current distance between the target and the probe of the target inductive sensor through the first macro measurement system to moving the target according to the first distance difference using the preset motor, until the first distance difference is within the first distance difference threshold range.

[0082] As an optional method, the signal data acquisition module 84 is further used to calculate the corresponding output voltage data according to a preset voltage calculation formula, and the voltage calculation formula is as follows:

[0083] ;

[0084] in, V Indicates the output voltage data, represents the calibration coefficient, represents the reference voltage, ADC represents the sampled value of the analog-to-digital converter connected to the target inductance sensor, n is the number of bits of the analog-to-digital converter; sorting the output voltage data of the target inductance sensor obtained after multiple samplings, removing the maximum output voltage data and the minimum data voltage data after sorting, and obtaining a set of output voltage data to be processed; calculating the output voltage average value of the output voltage data in the set of output voltage data to be processed, and setting the output voltage average value as the output signal data of the target inductance sensor.

[0085] As an optional implementation, the signal data acquisition module 84 is also used to traverse the collected output signal data of the target inductive sensor; detect whether the collected output signal data is within a preset calibration signal data range, and if not, set the corresponding output signal data as abnormal signal data; readjust the distance between the target and the probe of the target inductive sensor, and re-collect the corresponding output signal data to update the abnormal signal data; repeat the steps of detecting whether the collected output signal data is within the preset calibration signal data range to re-collecting the corresponding output signal data to update the abnormal signal data, until the output signal data is within the preset calibration signal data range, or the number of repetitions is greater than a preset repetition threshold.

[0086] As an optional implementation, the signal data acquisition module 84 is also used to transfer the corresponding target inductance sensor to a preset calibration abnormal inductance sensor queue if the number of repetitions is greater than a preset repetition number threshold; after all the inductance sensors in the to-be-calibrated inductance sensor queue have completed the first calibration, check the number of abnormalities of the inductance sensors in the calibration abnormal inductance sensor queue; if the number of abnormalities is less than or equal to a preset first abnormality number threshold, set the calibration abnormality inductance sensor queue as the to-be-calibrated inductance sensor queue to perform a second calibration on the inductance sensor with the calibration abnormality, or transfer the calibration abnormality inductance sensor to a manual calibration inspection queue, and receive the calibration result of the manual calibration as the calibration result of the target inductance sensor; if the number of abnormalities is greater than the preset first abnormality number threshold, send a batch calibration alarm message to a preset alarm message receiver.

[0087] As an optional implementation, the calibration result data module 86 is also used to obtain the preset proximity distance corresponding to the key-value pair as the target proximity distance, and the inductive sensor model as the target model; when the cumulative number of key-value pairs with the same target model and the same target proximity distance is greater than a preset first cumulative number threshold, an output signal data variation range is generated based on the output signal data in the accumulated key-value pairs; and the output signal data variation range is used as the output signal data variation threshold range of the inductive sensor with the target model at the target proximity distance.

[0088] As an optional implementation, the calibration result data module 86 is also used to calculate the output signal change curve of the same model of inductive sensor at the same proximity distance; and display the calibration result and the output signal change curve in a preset graphical display method.

[0089] It should be noted that the above-mentioned inductive sensor multi-distance sensing calibration system can execute the inductive sensor multi-distance sensing calibration method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in the embodiment of the inductive sensor multi-distance sensing calibration system, please refer to the inductive sensor multi-distance sensing calibration method provided in the embodiment of the present application.

[0090] Figure 8 The hardware structure diagram of the electronic device 900 for executing the multi-distance sensing method of the inductive sensor provided in the embodiment of the present application is as follows: Figure 8 The electronic device 900 includes:

[0091] One or more processors 910 and memory 920, Figure 8 Take a processor 910 as an example.

[0092] The processor 910 and the memory 920 may be connected via a bus or other means. Figure 8 Take the example of connecting via a bus.

[0093] The memory 920, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the inductive sensor multi-distance sensing calibration method in the embodiment of the present application. The processor 910 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 920, that is, the inductive sensor multi-distance sensing calibration method in the above method embodiment is implemented.

[0094] The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the inductive sensor multi-distance induction calibration system, etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 920 may optionally include a memory remotely arranged relative to the processor 910, and these remote memories may be connected to the inductive sensor multi-distance induction calibration system via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0095] The one or more modules are stored in the memory 920, and when executed by the one or more processors 910, the inductive sensor multi-distance sensing calibration method in any of the above method embodiments is executed, for example, the above described Figure 2 The method of steps S10 to S60, Figure 3 Steps S301 to S304 of the method, Figure 5 Steps S401 to S408 of the method, Figure 6 Steps S601 to S603 of the method are implemented Figure 7 The functions of modules 81-86 in.

[0096] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

[0097] The embodiment of the present application provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, such as Figure 8 A processor 910 can enable the one or more processors to execute the inductive sensor multi-distance sensing calibration method in any of the above method embodiments, for example, to execute the above described Figure 2 The method of steps S10 to S60, Figure 3 Steps S301 to S304 of the method, Figure 5 Steps S401 to S408 of the method, Figure 6 Steps S601 to S603 of the method are implemented Figure 7 The functions of modules 81-86 in.

[0098] The present application provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by the electronic device, the electronic device executes the inductive sensor multi-distance sensing calibration method in any of the above method embodiments, for example, executing the above described Figure 2 The method of steps S10 to S60, Figure 3 Steps S301 to S304 of the method, Figure 5 Steps S401 to S408 of the method, Figure 6 Steps S601 to S603 of the method are implemented Figure 7 The functions of modules 81-86 in.

[0099] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0100] Through the description of the above embodiments, it can be clearly understood by those skilled in the art that each embodiment can be implemented by means of software plus a general hardware platform, or by hardware. It can be understood by those skilled in the art that all or part of the processes in the above embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A multi-distance sensing calibration method for an inductive sensor, characterized in that: include: Acquire a target inductive sensor from a queue of inductive sensors to be calibrated, and fix the target inductive sensor to a preset sensor fixing device; Acquiring at least one preset proximity distance of the target inductive sensor; Traversing the preset approach distance, using a preset motor to move the corresponding target, and controlling the distance between the target and the probe of the target inductive sensor to be equal to the preset approach distance currently traversed; When the target completes the distance adjustment, collecting the output signal data of the target inductive sensor; Generate key-value pair data of the output signal data and the preset proximity distance currently traversed, and store the key-value pair data in a calibration result set corresponding to the target inductive sensor; When the traversal process of the preset proximity distance is completed, setting the data in the calibration result set as the calibration result of the target inductive sensor; Among them, the step of using a preset motor to move the corresponding target and controlling the distance between the target and the probe of the target inductive sensor to be equal to the preset proximity distance currently traversed includes: obtaining the current distance between the target and the probe of the target inductive sensor through a first macro measurement system; calculating a first distance difference between the current distance and the preset proximity distance currently traversed; judging whether the first distance difference is within a preset first distance difference threshold range, and if not within the first distance difference threshold range, using the preset motor to move the target according to the first distance difference; repeating the steps from obtaining the current distance between the target and the probe of the target inductive sensor through the first macro measurement system to moving the target according to the first distance difference using the preset motor, until the first distance difference is within the first distance difference threshold range.

2. The multi-distance induction calibration method of an inductive sensor according to claim 1, characterized in that: After the step of collecting the output signal data of the target inductive sensor when the target completes the distance adjustment, the method further includes: The corresponding output voltage data is calculated according to a preset voltage calculation formula, and the voltage calculation formula is as follows: ; in, V Indicates the output voltage data, represents the calibration coefficient, represents the reference voltage, ADC represents the sampled value of the analog-to-digital converter connected to the target inductance sensor, n is the number of bits of the analog-to-digital converter; Sorting the output voltage data of the target inductance sensor obtained after multiple samplings, removing the maximum output voltage data and the minimum output voltage data after sorting, and obtaining a set of output voltage data to be processed; An output voltage average value of the output voltage data in the output voltage data set to be processed is calculated, and the output voltage average value is set as the output signal data of the target inductance sensor.

3. The multi-distance induction calibration method of an inductive sensor according to claim 1, characterized in that: After the step of collecting the output signal data of the target inductive sensor when the target completes the distance adjustment, the method further includes: Traversing the collected output signal data of the target inductive sensor; Detecting whether the collected output signal data is within a preset calibration signal data range, and if not, setting the corresponding output signal data as abnormal signal data; Re-adjusting the distance between the target and the probe of the target inductive sensor, and re-collecting the corresponding output signal data to update the abnormal signal data; Repeat the steps of detecting whether the collected output signal data is within the preset calibration signal data range and recollecting the corresponding output signal data to update the abnormal signal data until the output signal data is within the preset calibration signal data range, or the number of repetitions is greater than a preset repetition threshold.

4. The multi-distance induction calibration method of an inductive sensor according to claim 3, characterized in that: After the step of until the output signal data is within the preset calibration signal data range, or the number of repetitions is greater than a preset repetition number threshold, the step further includes: If the number of repetitions is greater than a preset repetition threshold, the corresponding target inductance sensor is transferred to a preset calibrated abnormal inductance sensor queue; After all the inductive sensors in the queue of inductive sensors to be calibrated have completed the first calibration, checking the number of abnormal inductive sensors in the queue of abnormally calibrated inductive sensors; If the number of abnormalities is less than or equal to a preset first abnormality number threshold, the calibration abnormal inductive sensor queue is set as the inductive sensor queue to be calibrated, so as to perform a second calibration on the inductive sensor with calibration abnormality. or transferring the calibration abnormal inductance sensor to a manual calibration inspection queue, and receiving the calibration result of the manual calibration as the calibration result of the target inductance sensor; If the abnormal quantity is greater than the preset first abnormal quantity threshold, a batch calibration alarm message is sent to a preset alarm message recipient.

5. The multi-distance induction calibration method of an inductive sensor according to claim 1, characterized in that: After the step of storing the key-value pair data in the calibration result set corresponding to the target inductive sensor, the method further includes: Obtaining a preset proximity distance corresponding to the key-value pair as a target proximity distance, and an inductive sensor model as a target model; When the cumulative number of key-value pairs with the same target model and the same target proximity distance is greater than a preset first cumulative number threshold, generating an output signal data variation range according to the output signal data in the accumulated key-value pairs; The output signal data variation range is used as the output signal data variation threshold range of the inductive sensor having the target model when the target approaches the distance.

6. The multi-distance induction calibration method of an inductive sensor according to claim 1, characterized in that: After the step of setting the data in the calibration result set as the calibration result of the target inductive sensor, the method further includes: Calculate the output signal change curve of the same model of inductive sensor at the same approach distance; The calibration result and the output signal change curve are displayed through a preset graphical display method.

7. An inductive sensor multi-distance sensing calibration system, characterized in that: include: A calibration initialization module, used to obtain a target inductive sensor from a queue of inductive sensors to be calibrated, and fix the target inductive sensor to a preset sensor fixing device; A proximity distance acquisition module, used to acquire at least one preset proximity distance of the target inductive sensor; A target movement control module, used to traverse the preset approach distance, use a preset motor to move the corresponding target, and control the distance between the target and the probe of the target inductive sensor to be equal to the preset approach distance currently traversed; A signal data acquisition module, used for acquiring output signal data of the target inductance sensor when the target completes the distance adjustment; A key-value pair data module, used to generate key-value pair data of the output signal data and the preset proximity distance currently traversed, and store the key-value pair data in a calibration result set corresponding to the target inductive sensor; A calibration result data module, used for setting the data in the calibration result set as the calibration result of the target inductive sensor when the traversal process of the preset proximity distance is completed; The approach distance acquisition module is specifically used to acquire the current distance between the target and the probe of the target inductive sensor through the first macro measurement system; calculate the first distance difference between the current distance and the preset approach distance currently traversed; Determine whether the first distance difference is within a preset first distance difference threshold range; if not, use the preset motor to move the target according to the first distance difference; repeat the steps from obtaining the current distance between the target and the probe of the target inductance sensor through the first macro measurement system to moving the target according to the first distance difference using the preset motor until the first distance difference is within the first distance difference threshold range.

8. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the multi-distance sensing calibration method for an inductive sensor as described in any one of claims 1-6.

9. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by an electronic device, the electronic device executes the inductive sensor multi-distance sensing calibration method according to any one of claims 1 to 6.