Method, system and equipment for improving precision of positioning sensor and medium

By dividing the range of the positioning sensor into multiple position points and controlling the motor with the upper computer, recording and verifying the position information, forming a corresponding table for calibration, the problem of positioning sensor accuracy deviation is solved and measurement accuracy and accuracy are improved.

CN119123948APending Publication Date: 2024-12-13广东兴颂科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411106083.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Due to the differences between the inductor coil and components, the output position information of the existing position has a large deviation from the actual position, and the output information of each sensor at the same position also has a large difference, affecting the accuracy.

Method used

By dividing the range of the sensor into multiple position points, using the upper computer control motor to drive the object to be measured to move to each position point, recording and verifying the position information measured by the sensor, forming a corresponding table, and using this to perform a distance value of the sensor Calibrate to obtain the distance value after accuracy compensation.

Benefits of technology

The error of a single measurement point is reduced, the overall measurement accuracy is improved, automated measurement is realized, human operation error is reduced, sensor errors are systematically identified and compensated, and measurement accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119123948A_ABST
    Figure CN119123948A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to a method, a system, equipment and a medium for improving the precision of a positioning sensor, and the method comprises the steps: obtaining the range of the sensor, and dividing the range into a plurality of position points; wherein the sensor is an inductance type positioning sensor; the control sensor sends a displacement command containing the position points to the upper computer, so that the upper computer controls the motor to drive the measured object to move to each position point; acquiring position information measured by the sensor at each position point, and recording the position points and the measured position information after one-to-one correspondence to obtain a corresponding table; calibrating a distance value measured by the sensor in the measuring range based on the corresponding table to obtain a distance value after precision compensation; the precision of the sensor can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, system, device and medium for improving the accuracy of a positioning sensor. Background Art

[0002] In the related art, the internal circuit of the sensor is composed of multiple groups of independent inductor coil circuits. However, due to the differences between the inductor coils and components in each group of circuits, there may be a large deviation between the position information output by the sensor and the actual position in actual applications, and the position information output by each sensor at the same position may also have a large deviation. Summary of the invention

[0003] In view of this, the purpose of the embodiments of the present invention is to provide a method, system, device and medium for improving the accuracy of positioning sensors, so as to solve one or more technical problems existing in the prior art and provide at least one beneficial option or create conditions.

[0004] In one aspect, an embodiment of the present invention provides a method for improving the accuracy of a positioning sensor, the method comprising the following steps: Acquire the range of the sensor, and divide the range into a plurality of position points; wherein the sensor is an inductive positioning sensor; The control sensor sends a displacement command containing a position point to the host computer, so that the host computer controls the motor to drive the object to be measured to move to each position point; Obtaining the position information measured by the sensor at each position point, and recording the position points and the measured position information in a one-to-one correspondence to obtain a correspondence table; The distance value measured by the sensor within the measuring range is calibrated based on the corresponding table to obtain the distance value after accuracy compensation.

[0005] Optionally, the obtaining of the range of the sensor, dividing the range into a plurality of position points, includes: Get the range and resolution of the sensor; A position interval is determined based on the resolution and the range, and a plurality of position points are set within the range according to the position interval.

[0006] Optionally, the control sensor sends a displacement command containing a position point to a host computer, so that the host computer controls a motor to drive the object to be measured to move to each position point, including: A communication connection is established between the sensor and the host computer, and the sensor sends a displacement command to the host computer through the established communication connection; wherein the displacement command includes the distance, direction and speed of the displacement; The host computer generates a corresponding motor control signal according to the received displacement command, and controls the motor operation based on the motor control signal to drive the measured object to move; During the movement of the object under test, the host computer monitors the operating status of the motor and the position of the object under test in real time, and controls the motor to drive each position point reached by the object under normal operating conditions.

[0007] Optionally, the acquiring of the position information measured by the sensor at each position point, and recording the position points and the measured position information in a one-to-one correspondence to obtain a correspondence table, includes: When the object reaches each position point, the sensor measures and records the current position information; Verify the recorded location information, and store the verified location information in a data structure; Associate each location point with its corresponding location information to form a correspondence table.

[0008] Optionally, the verifying the recorded location information includes: For each location point recorded in the corresponding table, obtain location information obtained by multiple measurements of the location point; Determine the measurement deviation of multiple pieces of position information measured at the position point. If it is determined that the measurement deviation is within the measurement deviation range, take the average value of the multiple pieces of position information as the position information that has passed the verification.

[0009] Optionally, the method further comprises: Determine whether the deviation value of each position point in the corresponding table exceeds a predetermined range, and remeasure the position points that exceed the predetermined range until the deviation values ​​of each position point in the corresponding table are within the predetermined range; wherein the deviation value is the difference between the position information measured at the position point and the actual position.

[0010] Optionally, calibrating the distance value measured by the sensor within the measuring range based on the corresponding table to obtain the distance value after accuracy compensation includes: Get the distance value measured by the sensor within the measuring range; Determine the position information corresponding to the distance value in the corresponding table, and use the position information as the distance value after accuracy compensation.

[0011] On the other hand, an embodiment of the present invention provides a system for improving the accuracy of a positioning sensor, the system comprising: The first module is used to obtain the range of the sensor and divide the range into a plurality of position points; wherein the sensor is an inductive positioning sensor; The second module is used to control the sensor to send a displacement command containing a position point to the host computer, so that the host computer controls the motor to drive the object to be measured to move to each position point; The third module is used to obtain the position information measured by the sensor at each position point, and record the position points and the measured position information one by one to obtain a correspondence table; The fourth module is used to calibrate the distance value measured by the sensor within the measuring range based on the corresponding table to obtain the distance value after accuracy compensation.

[0012] In another aspect, an embodiment of the present invention provides an electronic device, including: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0013] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to perform the above method.

[0014] The embodiments of the present invention include the following beneficial effects: In this embodiment, according to the characteristics of the inductive positioning sensor, by dividing the range into multiple position points and performing accurate measurement at each position point, the error of a single measurement point can be reduced, thereby improving the overall measurement accuracy. The upper computer controls the motor to drive the object to be measured to move to each position point, thereby realizing automated measurement and reducing the error of human operation. By recording the measurement information of each position point and forming a corresponding table, basic data is provided for subsequent data analysis and calibration. By calibrating the distance value measured by the sensor using the corresponding table, the error of the sensor can be systematically identified and compensated, thereby improving the accuracy of the measurement. The distance value after accuracy compensation can more accurately reflect the actual position of the object to be measured, providing support for precision manufacturing and quality control. The present invention can be applied to inductive positioning sensors with different ranges and accuracy requirements. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 It is a schematic diagram of the steps of a method for improving the accuracy of a positioning sensor provided by an embodiment of the present invention; Figure 2 is a structural block diagram of a system for improving the accuracy of a positioning sensor provided by an embodiment of the present invention; Figure 3 It is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] 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.

[0018] It should be noted that, although the device schematic diagram is divided into modules and the flow chart shows a logical order, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0020] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0021] The block diagrams shown in the accompanying drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware charging modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0022] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0023] As a representative of logistics handling vehicles, forklifts play an important role in the logistics system of enterprises. In the process of fast and accurate delivery of goods, safety and efficiency are key factors throughout the entire process. When the aisles in the logistics warehouse are narrow and the forklift is large, it is difficult to adjust the position during the transportation of goods. Therefore, the lateral movement function of the smart electric forklift provides greater convenience for forklift operation. However, it also poses challenges to the "flexibility" of the fork and its displacement positioning control - due to the limitations of the sensor installation space and the sensing distance of the target object, it is necessary to consider a sensor with a suitable shape and reliably detect the displacement, and choose a position with a low vibration amplitude for the equipment for installation. The use of sensors can accurately control the lateral displacement of the fork, with a displacement control accuracy of 1mm, without adjusting the position of the entire vehicle.

[0024] In the related art, the internal circuit of the sensor is composed of multiple groups of independent inductor coil circuits. However, due to the differences between the inductor coils and components in each group of circuits, there may be a large deviation between the position information output by the sensor and the actual position in actual applications, and the position information output by each sensor at the same position may also have a large deviation.

[0025] To this end, the present invention provides a method, system, device and medium for improving the accuracy of a positioning sensor, and a method for performing compensation processing through the coordinated operation of a sensor, a host computer and a motor, thereby improving the accuracy of the sensor.

[0026] like Figure 1 As shown, Figure 1 A method for improving the accuracy of a positioning sensor provided by an embodiment of the present invention comprises the following steps: S100, obtaining a measuring range of a sensor, and dividing the measuring range into a plurality of position points; wherein the sensor is an inductive positioning sensor; S200, controlling the sensor to send a displacement command containing a position point to a host computer, so that the host computer controls the motor to drive the object to be measured to move to each position point; S300, obtaining position information measured by the sensor at each position point, and recording the position points and the measured position information in a one-to-one correspondence to obtain a correspondence table; S400, calibrating the distance value measured by the sensor within the measuring range based on the corresponding table to obtain the distance value after accuracy compensation.

[0027] In the embodiment provided by the present invention, the range of the sensor is first determined, and the range is divided into a plurality of position points. This helps to perform detailed testing and calibration of the accuracy of the sensor in subsequent steps. By sending a displacement command to the host computer, the motor is controlled to move the object to be measured to these preset position points. The host computer is respectively connected to the sensor and the motor for communication, and is responsible for receiving the instructions of the sensor and driving the motor. At each position point, the sensor measures and records the position information. This information will correspond to the corresponding position points one by one, and form a corresponding table, which is the basis for subsequent calibration work. In some embodiments, the sensor includes a single-chip microcomputer, and the established corresponding table is recorded in the flash of the single-chip microcomputer. Using the corresponding table, the distance value measured by the sensor within the range is calibrated. In this way, the reading of the sensor can be adjusted to compensate for possible errors, thereby improving the accuracy of the measurement. The present invention can significantly improve the measurement accuracy of the inductive positioning sensor through precise control and calibration.

[0028] In some embodiments, in S100, the obtaining of the range of the sensor and dividing the range into a plurality of position points includes: S110, obtaining the range and resolution of the sensor; Specifically, the maximum and minimum measurement values ​​of the sensor are determined according to its specifications to obtain the working range of the sensor. According to the specific needs of the application, the required measurement accuracy and resolution are determined, so as to determine the number and distribution of the position points in the subsequent steps.

[0029] S120, determining a position interval based on the resolution and the range, and setting a plurality of position points within the range according to the position interval.

[0030] Specifically, the position intervals may be equidistant, or more densely spaced points may be set in certain areas as required, and each position point corresponds to a specific value within the sensor range.

[0031] In some embodiments, in S200, the control sensor sends a displacement command containing a position point to a host computer, so that the host computer controls a motor to drive the object to be measured to move to each position point, including: S210, a communication connection is established between the sensor and the host computer, and the sensor sends a displacement command to the host computer through the established communication connection; wherein the displacement command includes a distance, direction and speed of the displacement; Specifically, the sensor formats the position point into a command format that can be recognized by the host computer, and the command format includes the distance, direction and speed of the displacement; before sending the command, the sensor performs internal verification to ensure that all parameters are within the predetermined range. A stable communication connection is established between the sensor and the host computer to ensure the reliability of data transmission. The sensor sends the displacement command to the host computer through the established communication connection.

[0032] S220, the host computer generates a corresponding motor control signal according to the received displacement command, and controls the motor to operate based on the motor control signal to drive the object to be measured to move; Specifically, after receiving the command, the host computer returns a confirmation signal to the sensor, indicating that the command has been successfully received. The host computer generates a corresponding motor control signal based on the received displacement command to control the motor to move the object under test.

[0033] S230, during the movement of the object to be measured, the host computer monitors the operating status of the motor and the position of the object to be measured in real time, and controls the motor to drive each position point reached by the object to be measured under normal operating conditions.

[0034] Specifically, during the movement of the object under test, the host computer monitors the running status of the motor and the position of the object under test in real time, and makes dynamic adjustments when necessary to ensure that the target position is reached accurately. The host computer records each position point reached by the object under test and the corresponding timestamp.

[0035] In some embodiments, in S300, the acquiring of the position information measured by the sensor at each position point, and recording the position points and the measured position information in a one-to-one correspondence to obtain a correspondence table include: S310, when the object to be measured reaches each position point, the sensor measures and records the current position information; Specifically, the position information measured at each position point reached by the measured object is recorded; the position information includes the position coordinates and the measurement timestamp.

[0036] S320, verifying the recorded location information, and storing the verified location information in a data structure; Specifically, the recorded position information is verified to ensure the accuracy and completeness of the data and exclude possible outliers or errors. The measured position information is stored in an appropriate data structure, such as an array, list, or database, for subsequent processing and analysis.

[0037] S330, associating each location point with its corresponding location information to form a correspondence table.

[0038] In some embodiments, in S320, verifying the recorded location information includes: S321, for each location point recorded in the corresponding table, obtaining location information obtained by multiple measurements of the location point; S322, determining the measurement deviation of multiple pieces of position information measured at the position point, and if it is determined that the measurement deviation is within the measurement deviation range, taking the average value of the multiple pieces of position information as the position information that has passed the verification.

[0039] In this embodiment, the recorded location information is verified in order to ensure the accuracy and reliability of the location information. Specifically, multiple independent measurements are performed for each location point recorded in the database or the corresponding table, thereby collecting sufficient data to evaluate the consistency and accuracy of the location information. For each location point, the deviation between the location information obtained by multiple measurements is calculated. An acceptable measurement deviation range is determined, and the measurement deviation range is based on the accuracy of the equipment, the measurement environment, and the application requirements. If the measurement deviation is within the acceptable measurement deviation range, it means that the multiple measurement results are consistent, and the measurement of the location point can be considered to be reliable. The average value of these reliable measurement values ​​is calculated as the location information that has passed the verification. This ensures the accuracy and reliability of the location information.

[0040] In some embodiments, the method further comprises: Determine whether the deviation value of each position point in the corresponding table exceeds a predetermined range, and remeasure the position points that exceed the predetermined range until the deviation values ​​of each position point in the corresponding table are within the predetermined range; wherein the deviation value is the difference between the position information measured at the position point and the actual position.

[0041] Specifically, the data in the corresponding table is analyzed to detect any possible anomalies or deviations, such as position deviations exceeding a predetermined range. If anomalies or deviations are detected, the position information measured at each position point is verified to improve data quality, providing a solid foundation for subsequent data analysis and calibration.

[0042] In some embodiments, in S400, calibrating the distance value measured by the sensor within the measuring range based on the corresponding table to obtain the distance value after accuracy compensation includes: S410, obtaining a distance value measured by the sensor within a measuring range; S420, determining the position information corresponding to the distance value in the corresponding table, and using the position information as the distance value after accuracy compensation.

[0043] In the embodiment provided by the present invention, the measuring range of the sensor is divided into a plurality of small position points, and then the sensor is connected to a host computer to send a series of commands to the host computer. After the host computer controls the motor to drive the object to be measured to move to each position point one by one, the sensor records the measured position information and the corresponding position points. At this time, the sensor can obtain a comparison table of the measured position information and the corresponding position points, and write the comparison table into the flash of the microcontroller inside the sensor. Thereafter, the sensor can find the precise value corresponding to the measured position information according to the comparison table in the flash of the microcontroller and output it, thereby improving the positioning accuracy of the sensor.

[0044] See also Figure 2, an embodiment of the present invention provides a system for improving the accuracy of a positioning sensor, the system comprising: The first module is used to obtain the range of the sensor and divide the range into a plurality of position points; wherein the sensor is an inductive positioning sensor; The second module is used to control the sensor to send a displacement command containing a position point to the host computer, so that the host computer controls the motor to drive the object to be measured to move to each position point; The third module is used to obtain the position information measured by the sensor at each position point, and record the position points and the measured position information one by one to obtain a correspondence table; The fourth module is used to calibrate the distance value measured by the sensor within the measuring range based on the corresponding table to obtain the distance value after accuracy compensation.

[0045] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0046] See also Figure 3 , an embodiment of the present invention provides an electronic device, including: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0047] It can be seen that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0048] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.

[0049] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the charging modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0050] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional charging modules / units in the systems and devices may be implemented as software, firmware, hardware, or appropriate combinations thereof.

[0051] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example: a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0052] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0053] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0054] 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0055] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0056] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0057] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for improving the accuracy of a positioning sensor, characterized in that: The method comprises the following steps: Acquire the range of the sensor, and divide the range into a plurality of position points; wherein the sensor is an inductive positioning sensor; The control sensor sends a displacement command containing a position point to the host computer, so that the host computer controls the motor to drive the object to be measured to move to each position point; Obtaining the position information measured by the sensor at each position point, and recording the position points and the measured position information in a one-to-one correspondence to obtain a correspondence table; The distance value measured by the sensor within the measuring range is calibrated based on the corresponding table to obtain the distance value after accuracy compensation.

2. The method according to claim 1, characterized in that The step of obtaining the range of the sensor and dividing the range into a plurality of position points includes: Get the range and resolution of the sensor; A position interval is determined based on the resolution and the range, and a plurality of position points are set within the range according to the position interval.

3. The method according to claim 1, characterized in that The control sensor sends a displacement command containing a position point to the host computer, so that the host computer controls the motor to drive the object to be measured to move to each position point, including: A communication connection is established between the sensor and the host computer, and the sensor sends a displacement command to the host computer through the established communication connection; wherein the displacement command includes the distance, direction and speed of the displacement; The host computer generates a corresponding motor control signal according to the received displacement command, and controls the motor operation based on the motor control signal to drive the measured object to move; During the movement of the object under test, the host computer monitors the operating status of the motor and the position of the object under test in real time, and controls the motor to drive each position point reached by the object under normal operating conditions.

4. The method according to claim 1, characterized in that: The obtaining of the position information measured by the sensor at each position point, and recording the position points and the measured position information in a one-to-one correspondence to obtain a correspondence table, including: When the object reaches each position point, the sensor measures and records the current position information; Verify the recorded location information, and store the verified location information in a data structure; Associate each location point with its corresponding location information to form a correspondence table.

5. The method according to claim 4, characterized in that The verifying of the recorded location information includes: For each location point recorded in the corresponding table, obtain location information obtained by multiple measurements of the location point; Determine the measurement deviation of multiple pieces of position information measured at the position point. If it is determined that the measurement deviation is within the measurement deviation range, take the average value of the multiple pieces of position information as the position information that has passed the verification.

6. The method according to claim 1 or 5, characterized in that: The method further comprises: Determine whether the deviation value of each position point in the corresponding table exceeds a predetermined range, and remeasure the position points that exceed the predetermined range until the deviation values ​​of each position point in the corresponding table are within the predetermined range; wherein the deviation value is the difference between the position information measured at the position point and the actual position.

7. The method according to claim 1, characterized in that The step of calibrating the distance value measured by the sensor within the measuring range based on the corresponding table to obtain the distance value after accuracy compensation includes: Get the distance value measured by the sensor within the measuring range; Determine the position information corresponding to the distance value in the corresponding table, and use the position information as the distance value after accuracy compensation.

8. A system for improving the accuracy of a positioning sensor, characterized in that: The system comprises: The first module is used to obtain the range of the sensor and divide the range into a plurality of position points; wherein the sensor is an inductive positioning sensor; The second module is used to control the sensor to send a displacement command containing a position point to the host computer, so that the host computer controls the motor to drive the object to be measured to move to each position point; The third module is used to obtain the position information measured by the sensor at each position point, and record the position points and the measured position information one by one to obtain a correspondence table; The fourth module is used to calibrate the distance value measured by the sensor within the measuring range based on the corresponding table to obtain the distance value after accuracy compensation.

9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.