A linear displacement sensor calibration and analysis system
Through the linear displacement sensor calibration analysis system, using the comprehensive analysis of the transmission equipment, controller module and data analysis module, the problem of inaccurate analysis of the linear displacement sensor calibration effect in the existing technology is solved, and a more accurate calibration effect evaluation is achieved.
Patent Information
- Application Number
- CN202510595990.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-05-09
AI Technical Summary
In the prior art, the analysis method of the calibration effect of linear displacement sensors is too one-sided and cannot fully reflect the performance of the sensor in the actual working environment, resulting in poor accuracy of the calibration results.
A linear displacement sensor calibration and analysis system is used, including a transmission device, a controller module, a data acquisition module, and a data analysis module. By precisely controlling the moving speed and stop position of the transmission device and combining comprehensive analysis with the data acquisition and analysis modules, the reference data is updated in real time to adapt to different calibration situations, collect a large amount of actual movement data, and evaluate sensor performance.
The analysis accuracy of the linear displacement sensor calibration effect is improved, which can better reflect the performance of the sensor under different working conditions and provide more comprehensive and reliable calibration results.
Smart Images

Figure CN120385283B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sensors, and in particular to a linear displacement sensor calibration and analysis system. Background Art
[0002] As a core measurement device in industrial testing and public welfare projects, linear displacement sensors are widely used in fields such as instrument static and dynamic characteristic testing, building structure acceptance monitoring, and road, bridge, and building settlement analysis. They precisely measure displacement, distance, position, velocity, and strain. In equipment such as material testing machines, the quantitative measurement of beam displacement and velocity has become a key indicator for evaluating the mechanical properties of materials. Therefore, linear displacement sensors are crucial for ensuring measurement accuracy.
[0003] Currently, most methods for analyzing and evaluating the calibration effectiveness of linear displacement sensors rely on a single calibration parameter or simple data comparison. For example, the calibration effect is judged solely based on the deviation between the sensor's measured value and the theoretical value. However, in practical applications, linear displacement sensors are subject to interference from various factors such as mechanical vibration, electromagnetic interference, and temperature changes, which can affect the sensor's measurement accuracy. This single deviation comparison analysis method is too one-sided and cannot fully reflect the performance of linear displacement sensors in actual working environments. This makes it impossible to accurately assess the impact of various interference factors on the calibration effect, resulting in poor accuracy in the analysis of the linear displacement sensor's calibration results.
[0004] Therefore, how to improve the analysis accuracy of the linear displacement sensor calibration effect has become an urgent problem to be solved. Summary of the Invention
[0005] In response to the above technical problems, the technical solution adopted by the present invention is a linear displacement sensor calibration and analysis system, which includes: a linear displacement sensor, a transmission device, a controller module, a data acquisition module and a data analysis module.
[0006] A reading head corresponding to the grating ruler and a telescopic end of the linear displacement sensor are fixed on the transmission device.
[0007] During the i-th data acquisition cycle, the controller module is used to receive the i-th group of reference data corresponding to the i-th data acquisition cycle, and control the moving speed and stop position of the transmission equipment according to the i-th group of reference data, where i = 1, 2, ..., M, and M is the preset number of cycles.
[0008] The data acquisition module is used to collect the i-th group of actual movement data corresponding to each time the transmission device stops moving according to the reading head.
[0009] The data analysis module is used to receive the i-th group of reference data and the i-th group of actual movement data, and analyze to obtain the i-th calibration degree corresponding to the linear displacement sensor, and when the i-th calibration degree does not meet the preset conditions, update the i-th group of reference data to obtain the i+1-th group of reference data, so that within the i+1-th data acquisition cycle, the controller module controls the transmission equipment according to the i+1-th group of reference data until the preset conditions are met, and obtains the calibration results of the linear displacement sensor according to all the calibration degrees.
[0010] Compared with the prior art, the present invention has obvious beneficial effects. Through the above technical solution, the optical isolator adjustment system provided by the present invention can achieve considerable technical advancement and practicality, and has wide industrial utilization value. It has at least the following beneficial effects: the moving speed and stop position of the transmission equipment are accurately controlled by the controller module, and the detailed actual movement data of the transmission module are collected by the data acquisition module. Combined with the comprehensive analysis of the data analysis module, the performance of the linear displacement sensor is more accurately evaluated, thereby improving the calibration accuracy; the data analysis module updates the reference data in real time according to the calibration degree, realizes dynamic adjustment of the calibration strategy, adapts to different calibration situations, collects a large amount of actual movement data in multiple data acquisition cycles, makes the calibration result more comprehensive and reliable, can better reflect the performance of the linear displacement sensor under different working conditions, and improves the analysis accuracy of the calibration effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0012] Figure 1 A top view of a linear displacement sensor calibration and analysis system provided by an embodiment of the present invention;
[0013] Figure 2 A front view of a linear displacement sensor calibration and analysis system provided by an embodiment of the present invention;
[0014] Figure 3 A flowchart of a computer program execution of a linear displacement sensor calibration and analysis system provided by an embodiment of the present invention;
[0015] Description of the drawings: 1 is a linear displacement sensor; 2 is a transmission device; 3 is a controller module; 4 is a data acquisition module; 5 is a data analysis module; 6 is a workbench; 7 is a data transmission line; 21 is a grating ruler; 22 is a reading head; 23 is a slider; 24 is a first fixed end; 25 is a second fixed end; 26 is a guide rail; 27 is a screw rod; 31 is an upper controller; 32 is a drive motor; 33 is a reducer. DETAILED DESCRIPTION
[0016] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0017] It should be understood that the present invention can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to make the disclosure thorough and complete and to fully convey the scope of the invention to those skilled in the art. In the drawings, the dimensions and relative dimensions of layers and regions may be exaggerated for clarity. Like reference numerals denote like elements throughout.
[0018] It should be understood that when an element or layer is referred to as being "on," "adjacent to," "connected to," or "coupled to" another element or layer, it may be directly on, adjacent to, connected to, or coupled to the other element or layer, or there may be intervening elements or layers. Conversely, when an element is referred to as being "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" another element or layer, there may be no intervening elements or layers. It should be understood that although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers, and / or parts, these elements, components, regions, layers, and / or parts should not be limited by these terms. These terms are merely used to distinguish one element, component, region, layer, or part from another element, component, region, layer, or part. Thus, a first element, component, region, layer, or part discussed below may be represented as a second element, component, region, layer, or part without departing from the teachings of the present invention.
[0019] Spatially relative terms such as "under," "beneath," "below," "under," "above," "above," etc., may be used herein for convenience of description to describe the relationship of one element or feature shown in the figures to other elements or features. It should be understood that the spatially relative terms are intended to include different orientations of the device in use and operation in addition to the orientations shown in the figures. For example, if the device in the drawings is flipped, then the elements or features described as "under" or "beneath" or "beneath" the other elements will be oriented as "over" the other elements or features. Thus, the exemplary terms "under" and "under" may include both the upper and lower orientations. The device may be oriented otherwise (rotated 90 degrees or in other orientations) and the spatial descriptors used herein are interpreted accordingly.
[0020] The purpose of the terms used herein is only to describe specific embodiments and is not intended to limit the present invention. When used herein, the singular forms "a", "an" and " / the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "comprising" and / or "comprising", when used in this specification, identify the presence of features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.
[0021] In order to fully understand the present invention, detailed structures and steps will be provided in the following description to illustrate the technical solutions proposed by the present invention. Preferred embodiments of the present invention are described in detail below. However, in addition to these detailed descriptions, the present invention may also have other implementations.
[0022] This embodiment provides a linear displacement sensor calibration and analysis system, such as Figure 1 As shown in the figure, it is a top view of the linear displacement sensor calibration and analysis system. Figure 2 , which is a front view of a linear displacement sensor calibration and analysis system, including: a linear displacement sensor 1, a transmission device 2, a controller module 3, a data acquisition module 4 and a data analysis module 5.
[0023] The transmission device 2 is fixed with a reading head 22 corresponding to the grating scale 21 and the telescopic end of the linear displacement sensor 1 .
[0024] In the i-th data acquisition cycle, the controller module 3 is used to receive the i-th group of reference data corresponding to the i-th data acquisition cycle, and control the moving speed and stop position of the transmission device 2 according to the i-th group of reference data, where i = 1, 2, ..., M, M is the preset number of cycles.
[0025] The data acquisition module 4 is configured to acquire the i-th set of actual movement data corresponding to each time the transmission device 2 stops moving, based on the reading head 22. In one specific embodiment, the data acquisition module 4 includes an image acquisition device and an image analysis unit, wherein the image acquisition device can be a camera configured to capture images corresponding to the reading head 22 and the grating scale 21 when the transmission device stops, and the image analysis unit configured to analyze the images captured by the image acquisition device and output the reading indicated by the reading head 22 on the grating scale 21, thereby acquiring the displacement data corresponding to when the transmission device stops. The data analysis module 5 is configured to receive the i-th set of reference data and the i-th set of actual movement data, analyze and obtain the i-th calibration level corresponding to the linear displacement sensor 1, and update the i-th set of reference data to obtain the i+1-th set of reference data when the i-th calibration level does not meet the preset conditions, so that within the i+1-th data acquisition cycle, the controller module 3 controls the transmission device 2 based on the i+1-th set of reference data until the preset conditions are met, and obtains the calibration results of the linear displacement sensor 1 based on all calibration levels.
[0026] The telescopic end of the linear displacement sensor 1 is fixed on the transmission device 2. The movement of the transmission device 2 drives the telescopic end of the linear displacement sensor 1 to move, so that the linear displacement sensor 1 can sense the corresponding displacement change.
[0027] The reading head 22 corresponding to the grating ruler 21 is fixed on the transmission device 2 , and generates corresponding reading changes as the transmission device 2 moves, which is used to reflect the position information of the transmission device 2 .
[0028] The controller module 3, data acquisition module 4, and data analysis module 5 are interconnected via a data transmission line 7, such as a data cable or communication bus, to facilitate data transmission and command delivery. The specific locations of the data acquisition module 4 and data analysis module 5 can be adjusted and determined by the implementer based on the actual operating space to facilitate data collection and analysis according to actual conditions.
[0029] The linear displacement sensor 1 is an object that needs to be analyzed for calibration effect. It senses displacement through the displacement change of the telescopic end and converts the displacement information into an electrical signal as the basis for analyzing the calibration effect.
[0030] The transmission device 2 acts as a motion carrier and moves according to the set moving speed and stop position under the control of the controller module 3. During the movement, it drives the reading head 22 corresponding to the grating scale 21 and the telescopic end of the linear displacement sensor 1 to move together, simulating different measurement scenarios and facilitating the collection of displacement and time-related data at the stop position.
[0031] The controller module 3 accurately controls the moving speed and stopping position of the transmission device 2 according to the received reference data, ensuring that the transmission device 2 can move based on the target moving speed in each data collection cycle and i The machine stops at the reference stop coordinates one by one.
[0032] The reading head 22 corresponding to the grating scale 21 can move with the transmission device 2, thereby representing the position information of the transmission device 2 in real time according to the grating scale value indicated by the reading head 22 of the grating scale 21. The data acquisition module 4 collects the corresponding actual movement data according to the grating scale value when the transmission device 2 stops moving each time, thereby converting the mechanical displacement into a digital signal or an electrical signal, providing accurate position readings for data acquisition.
[0033] The data analysis module 5 receives reference data and actual movement data, and obtains the calibration degree of the linear displacement sensor 1 by analyzing the reference data and the actual movement data. When the calibration degree does not meet the preset conditions, the reference data is updated to guide the subsequent data acquisition and calibration process, and finally the calibration result of the linear displacement sensor 1 is obtained based on all the calibration degrees.
[0034] As described above, the controller module 3 is used to accurately control the moving speed and stop position of the transmission device 2, and the data acquisition module 4 is used to collect detailed actual movement data of the transmission module. Combined with the comprehensive analysis of the data analysis module 5, the performance of the linear displacement sensor 1 is more accurately evaluated, thereby improving the calibration accuracy; the data analysis module 5 updates the reference data in real time according to the calibration degree, realizes dynamic adjustment of the calibration strategy, adapts to different calibration situations, and collects a large amount of actual movement data within multiple data acquisition cycles, making the calibration results more comprehensive and reliable, and can better reflect the performance of the linear displacement sensor 1 under different working conditions, thereby improving the analysis accuracy of the calibration effect.
[0035] In a specific embodiment, the transmission device 2 further includes a slider 23 , a first fixed end 24 , a second fixed end 25 , a guide rail 26 and a screw rod 27 .
[0036] The guide rail 26 and the screw rod 27 are arranged in parallel between the first fixed end 24 and the second fixed end 25, wherein one end of the guide rail 26 is connected to the first fixed end 24, and the other end of the guide rail 26 is connected to the second fixed end 25, and one end of the screw rod 27 is connected to the first fixed end 24, and the other end of the screw rod 27 is connected to the second fixed end 25.
[0037] The telescopic end of the linear displacement sensor 1 is fixed on the slider 23 , and the slider 23 can slide on the guide rail 26 and the screw rod 27 under the control of the controller module 3 .
[0038] The guide rail 26 is arranged in parallel with the screw rod 27 , and both ends are connected to the first fixed end 24 and the second fixed end 25 respectively, forming a stable support and motion guiding structure.
[0039] The slider 23 serves as the supporting component of the linear displacement sensor 1. It slides linearly on the guide rail 26 and the screw rod 27 in a set manner through the control signal sent by the controller module 3, thereby driving the telescopic end of the linear displacement sensor 1 to move, and triggering the data acquisition module 4 to collect the corresponding actual movement data at each stop within the i-th data acquisition cycle.
[0040] The transmission device 2 may include two guide rails 26 , both of which are arranged parallel to the screw rod 27 and between the first fixed end 24 and the second fixed end 25 .
[0041] As described above, the guide rail 26 provides precise guidance for the slider 23, and the screw rod 27 can accurately control the movement into linear motion. The combination of the two makes the movement of the slider 23 more precise, thereby improving the accuracy of the collection of actual movement data.
[0042] In a specific embodiment, the controller module 3 includes a host controller 31 , a drive motor 32 and a reducer 33 .
[0043] The upper controller 31 is used to receive the i-th group of reference data corresponding to the i-th data collection cycle in the i-th data collection cycle, and control the moving speed and stop position of the transmission device 2 through the drive motor 32 and the reducer 33.
[0044] Among them, the upper controller 31 calculates parameters such as the speed and rotation angle of the drive motor 32 based on the i-th group of reference data corresponding to the i-th data acquisition cycle received, and then generates control instructions to control the operation of the drive motor 32 and the reducer 33, thereby accurately controlling the moving speed and stop position of the transmission equipment 2.
[0045] The drive motor 32 provides power for the movement of the transmission device 2 , receives the control signal from the upper controller 31 , rotates at a specified speed and direction, converts electrical energy into mechanical energy, and drives the reducer 33 to work.
[0046] The reducer 33 receives the power transmitted by the drive motor 32, reduces the high speed of the drive motor 32 to a suitable speed through internal gear transmission and other mechanisms, and increases the torque before transmitting it to the screw rod 27, so that the screw rod 27 drives the slider 23 to move at a suitable speed and precision.
[0047] In a specific embodiment, the linear displacement sensor calibration and analysis system further includes a workbench 6 , which is connected to the first fixed end 24 and the second fixed end 25 , and the body of the linear displacement sensor 1 is fixed on the workbench 6 .
[0048] Among them, the workbench 6 provides fixed support for the body of the linear displacement sensor 1, ensuring the stability of the linear displacement sensor 1 during the measurement process. At the same time, through the connection with the first fixed end 24 and the second fixed end 25, the linear displacement sensor 1 and the transmission equipment 2 form a relatively stable measurement system.
[0049] In a specific embodiment, the i-th group of reference data includes the target moving speed and N i Reference stop coordinates, the i-th group of actual movement data includes N i The actual stop coordinates and N i Actual stop time, N i is an integer greater than 1;
[0050] The linear displacement sensor calibration and analysis system also includes an interactive module, which is used to receive the target moving speed and K target stop coordinates input by the user, where K>N i .
[0051] N i The reference stop coordinates are N obtained by screening from the K target stop coordinates. i The target stop coordinates.
[0052] Among them, the interactive module provides an interactive interface between the user and the linear displacement sensor calibration and analysis system, receives the target moving speed and K target stop coordinates input by the user, and provides initial parameter settings for the calibration process.
[0053] Each target stop coordinate corresponds to a specific position on the guide rail 26 , thereby controlling the movement and stop position of the slider 23 on the guide rail 26 based on the reference data, facilitating the collection of actual movement data.
[0054] The specific value of the target stop coordinate K input by the user can be set by the user according to the actual length of the guide rail 26. For example, K can be set to 11.
[0055] In a specific embodiment, satisfying the preset condition means that the calibration degree corresponding to the linear displacement sensor 1 is greater than or equal to a preset degree threshold, or satisfying the preset condition means i=M.
[0056] When the i-th calibration degree calculated by the data analysis module 5 is greater than or equal to the preset degree threshold, it is considered that the calibration effect of the linear displacement sensor 1 meets the requirements. Conversely, if the i-th calibration degree calculated by the data analysis module 5 is less than the preset degree threshold, the reference data needs to be updated and the calibration process continues until the updated calibration degree is greater than or equal to the preset degree threshold, or until the preset number of cycles M is reached.
[0057] The specific value of the preset number of cycles M can be set by the implementer according to actual conditions. For example, M can be set to 6.
[0058] In a specific embodiment, the data analysis module 5 includes a processor and a memory storing a computer program. When the computer program is executed by the processor, Figure 3 As shown, implement the following steps:
[0059] S1. Obtain a first interference degree of the linear displacement sensor 1 corresponding to the i-th data acquisition period according to K preset relationship functions, the i-th group of reference data, and the i-th group of actual movement data, where K is an integer greater than 0.
[0060] S2, according to N i The actual stop coordinates and N i A reference stop coordinate is obtained to obtain the second interference degree of the linear displacement sensor 1 corresponding to the i-th data acquisition cycle.
[0061] S3. According to the first interference degree and the second interference degree of the linear displacement sensor 1 corresponding to the i-th data acquisition cycle, the i-th calibration degree of the linear displacement sensor 1 corresponding to the i-th data acquisition cycle is obtained, wherein the calibration degree is negatively correlated with the first interference degree and the second interference degree.
[0062] S4: If the i-th calibration level does not meet the preset conditions, then update the target number N corresponding to the reference stop coordinate in the i-th set of reference data. i The updated target number is used as the target number N corresponding to the reference stop coordinate in the i+1th set of reference data. i+1 .
[0063] S5, select N from K target stop coordinates i+1 The target stop coordinates are used as N in the i+1th group of reference data i+1 reference stop coordinates.
[0064] Among them, the preset relationship function is a pre-set mathematical function used to describe the relationship between relevant parameters of the linear displacement sensor 1 under different working conditions. It can be derived by the implementer based on theoretical models, experimental data or experience summary. For example, K preset relationship functions can include primary, secondary, cubic... relationship functions, which are used to reflect the interference conditions of the linear displacement sensor 1.
[0065] The i-th set of reference data is a set of data used to guide the movement of the transmission device 2 in the i-th data collection cycle, including the target moving speed and N iThe target moving speed specifies the moving speed that the transmission device 2 should reach during the cycle, while the reference stop coordinates determine the position where the transmission device 2 needs to stop. The i-th set of reference data is the ideal set value, which serves as the reference standard for the calibration process.
[0066] The i-th group of actual movement data is the actual movement data of the transmission device 2 collected by the data collection module 4 during the i-th data collection cycle, including N i The actual stop coordinates and N i The actual stop coordinates reflect the actual stop position of the transmission device 2, the actual stop time records the time of each stop, and the i-th group of actual movement data reflects the actual situation of the transmission device 2 during the actual operation process.
[0067] The first interference degree is a quantitative indicator calculated based on K preset relationship functions, the i-th group of reference data and the i-th group of actual movement data. It reflects the deviation between the actual movement situation and the ideal movement situation. It is used to measure the comprehensive interference degree of the calibration effect of the linear displacement sensor 1 during the i-th data acquisition cycle due to various factors such as mechanical vibration, electromagnetic interference, etc. in addition to the speed setting.
[0068] The second interference level is calculated by comparing N i The actual stop coordinates and N in the i-th set of reference data i The quantitative index obtained by using the reference stop coordinates mainly measures the degree of interference with the calibration effect of the linear displacement sensor 1 in terms of position accuracy, that is, the deviation between the actual stop position and the reference stop position.
[0069] The i-th calibration degree is a quantitative indicator obtained by comprehensively considering the first interference degree and the second interference degree, and is used to evaluate the calibration effect of the linear displacement sensor 1 during the i-th data acquisition cycle. Specifically, the calibration degree is negatively correlated with both the first interference degree and the second interference degree, that is, the greater the interference degree, the lower the calibration degree.
[0070] Target number N i It is the number of reference stop coordinates in the i-th set of reference data, which determines the number of times the transmission device 2 needs to stop in the i-th data acquisition cycle. By adjusting the target number, the density of data acquisition and the accuracy of calibration can be changed.
[0071] As described above, by measuring the first interference degree and the second interference degree, the interference to the linear displacement sensor 1 in a complex working environment can be captured more comprehensively and accurately from the speed angle and the position angle, avoiding omissions that may be caused by evaluating the interference from only a single angle, and providing richer information for the subsequent accurate evaluation of the calibration degree. By adjusting the target number of the reference stop coordinate when the i-th calibration degree does not meet the preset conditions, the density and range of data acquisition are changed, and an attempt is made to find a more suitable combination of calibration parameters, so that the analysis process of the calibration effect is more flexible and effective, and the analysis accuracy of the calibration effect is improved.
[0072] In one embodiment, S1 includes the following steps:
[0073] S11, according to N i The actual stop coordinates and N i The actual stop time is obtained by obtaining the Nth time of the transmission device 2 in the i-th data collection cycle. i The average moving speed.
[0074] S12, according to N i The actual stop coordinates and N i Reference stop coordinates, get the N corresponding to the linear displacement sensor 1 i A displacement error.
[0075] S13, according to the target moving speed, N i The average moving speed and N i displacement errors, and the coefficients of each preset relationship function are fitted and optimized respectively to obtain the i-th reference relationship function corresponding to each preset relationship function, wherein each reference relationship function takes the target moving speed and the average moving speed as independent variables and the displacement error as the dependent variable.
[0076] S14, according to the target moving speed, N i Average moving speed, N i The first interference degree of the linear displacement sensor 1 corresponding to the i-th data acquisition cycle is obtained by combining the displacement errors and the i-th reference relationship function corresponding to each preset relationship function.
[0077] Among them, in the i-th data collection cycle, according to N i The actual stop coordinates and N i The actual stopping time is used to calculate the distance and time spent by the transmission device 2 at each stop, thereby obtaining the average speed of the transmission device 2 during the movement process, which is used to reflect the actual speed of the transmission device 2 in different movement stages.
[0078] The displacement error corresponding to the linear displacement sensor 1 refers to the difference between the actual stop coordinate and the corresponding reference stop coordinate, reflecting the difference between the actual displacement and the ideal displacement of the transmission equipment 2 during actual operation, and providing key data for analyzing the impact of interference factors on displacement calibration.
[0079] The reference relationship function is derived by fitting and optimizing the coefficients of a preset relationship function. It uses target speed and average speed as independent variables and displacement error as the dependent variable. It reflects the actual relationship between target speed, average speed, and displacement error during the i-th data acquisition cycle. This further fitting improves the reference relationship function's accuracy with the actual situation, more effectively capturing the impact of interference factors on linear displacement sensor 1 and making analysis and evaluation based on the reference relationship function more accurate and reliable.
[0080] In one embodiment, S14 includes the following steps:
[0081] S141, for the i-th reference relationship function corresponding to any preset relationship function, substitute each speed binary consisting of the average moving speed and the target moving speed into the current i-th reference relationship function respectively, and obtain the fitting displacement corresponding to the current i-th reference relationship function under each speed binary.
[0082] S142, according to the current i-th reference relationship function in N i The corresponding N under the speed binary i The fitted displacement and N i The sum of the differences between the displacement errors is used to obtain the fitting accuracy corresponding to the linear displacement sensor 1 under the current i-th reference relationship function, wherein the fitting accuracy is negatively correlated with the sum of the differences.
[0083] S143 , traverse the i-th reference relationship functions corresponding to all preset relationship functions, and obtain the fitting accuracy corresponding to the linear displacement sensor 1 under each i-th reference relationship function.
[0084] S144, based on the maximum fitting accuracy corresponding to the linear displacement sensor 1 under all i-th reference relationship functions, obtain the first interference degree corresponding to the linear displacement sensor 1 in the i-th data acquisition cycle, wherein the first interference degree is negatively correlated with the maximum fitting accuracy.
[0085] The fitted displacement is the displacement value calculated by substituting the velocity binary into the i-th reference relationship function. It is the displacement predicted by the reference relationship function under specific velocity conditions. Therefore, the difference between the fitted displacement and the corresponding displacement error can be used to measure how well the reference relationship function fits the actual displacement error. The smaller the sum of the differences, the higher the fitting accuracy. Therefore, the fitting accuracy is negatively correlated with the sum of the differences.
[0086] Based on the maximum fitting accuracy corresponding to all i-th reference relationship functions, the first interference degree of the linear displacement sensor 1 corresponding to the i-th data acquisition cycle is obtained. The interference of the linear displacement sensor 1 can be evaluated with the optimal fitting function, making the evaluation result more reasonable and accurate, and providing a more reliable basis for subsequent judgment of the calibration degree.
[0087] In the above, the fitting accuracy of the reference relationship function is quantified by calculating the sum of the differences between the fitting displacement and the displacement error, and the maximum fitting accuracy is selected to determine the first interference degree. This fully considers the characteristics of different reference relationship functions, avoids the one-sidedness of single function evaluation, and uses the optimal fitting function to evaluate the interference of the linear displacement sensor 1, thereby improving the reliability of the evaluation of the calibration effect of the linear displacement sensor 1.
[0088] In one embodiment, S2 includes the following steps:
[0089] S21, according to N i The actual stop coordinates and N i Reference stop coordinates, get the N corresponding to the linear displacement sensor 1 i A displacement error.
[0090] S22, according to the N corresponding to the linear displacement sensor 1 i The difference between the displacement errors is used to obtain the second interference degree of the linear displacement sensor 1 corresponding to the i-th data collection cycle.
[0091] Among them, by calculating N i The variance corresponding to the displacement error is used to characterize N i The difference and fluctuation between the displacement errors are used to characterize the second interference degree of the linear displacement sensor 1 corresponding to the i-th data acquisition cycle.
[0092] As described above, by separately calculating the displacement errors and determining the second interference degree based on the error difference, a detailed evaluation of the interference condition of the linear displacement sensor 1 is achieved, which can more accurately reflect the stability of the linear displacement sensor 1 in position measurement, thereby improving the accuracy of the evaluation of the calibration effect of the linear displacement sensor 1.
[0093] In a specific embodiment, S5 includes the following steps:
[0094] Randomly select N from the K target stop coordinates i+1 The target stop coordinates are used as N in the i+1th group of reference data i+1 reference stop coordinates.
[0095] Among them, by screening the reference stop coordinates by random selection, each target stop coordinate has the same probability of being selected, which can avoid human bias or the selection of a specific pattern and make the selected samples more representative.
[0096] In a specific embodiment, S5 includes the following steps:
[0097] S51, according to the target number N corresponding to the reference stop coordinate in the i+1th group of reference data, i+1 and the basic moving step length, obtain the N corresponding to the i+1th group of reference data i+1 -1 target moving step length, wherein the αth target moving step length corresponding to the i+1th group of reference data is used to represent the distance between the αth reference stop coordinate and the α+1th reference stop coordinate, α=1, 2, ..., N i+1 -1, the moving step length of the αth target is greater than the moving step length of the α-1th target, where the moving step length value of the 0th target is 0;
[0098] S52, taking the first target stop coordinate among the K target stop coordinates as the first reference stop coordinate in the (i+1)th set of reference data;
[0099] S53, based on the first target moving step length, the first reference stop coordinate, and the other target stop coordinates corresponding to the (i+1)th group of reference data, filtering out the second reference stop coordinate in the (i+1)th group of reference data from the other target stop coordinates;
[0100] S54 , based on the αth target moving step, the αth reference stop coordinate and other target stop coordinates corresponding to the i+1th group of reference data, filter out the α+1th reference stop coordinate in the i+1th group of reference data from other target stop coordinates.
[0101] The basic moving step length may be the distance between adjacent target stop coordinates set when the implementer inputs K target stop coordinates.
[0102] N i+1 The sum of the -1 target moving steps is less than the distance between the 1st target stop coordinate and the Kth target stop coordinate in the K target stop coordinates. Through continuous iteration, each reference stop coordinate in the i+1th group of reference data is determined in turn until the construction of the entire i+1th group of reference data is completed.
[0103] The target movement step size is the key basis for the subsequent screening of the reference stop coordinates. The requirement of increasing the step size can ensure that the distance between the reference stop coordinates gradually increases, which is convenient for collecting data at different scales and measuring the calibration effect of the linear displacement sensor at different scales, thereby improving the analysis accuracy of the calibration effect.
[0104] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any form. Although the present invention has been disclosed as above in terms of preferred embodiments, they are not intended to limit the present invention. Any technician familiar with this profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A linear displacement sensor calibration and analysis system, characterized in that: The linear displacement sensor calibration and analysis system includes: a linear displacement sensor, a transmission device, a controller module, a data acquisition module, an interaction module and a data analysis module; The transmission device is fixed with a reading head corresponding to the grating ruler and a telescopic end of the linear displacement sensor; During the i-th data acquisition cycle, the controller module is used to receive the i-th group of reference data corresponding to the i-th data acquisition cycle, and control the moving speed and stop position of the transmission device according to the i-th group of reference data, wherein i=1, 2, ..., M, M is the number of preset cycles, and the i-th group of reference data includes the target moving speed and N i Reference stop coordinates, N i is an integer greater than 1; The data acquisition module is used to collect the i-th group of actual movement data corresponding to each time the transmission device stops moving according to the reading head, wherein the i-th group of actual movement data includes N i The actual stop coordinates and N i Actual stop time; The interaction module is used to receive the target moving speed and K target stopping coordinates input by the user, where K>N i , the N i The reference stop coordinates are N obtained by screening from the K target stop coordinates. i target stop coordinates; The data analysis module is configured to receive the i-th group of reference data and the i-th group of actual movement data, and analyze and obtain an i-th calibration level corresponding to the linear displacement sensor. When the i-th calibration level does not satisfy a preset condition, the i-th group of reference data is updated to obtain an i+1-th group of reference data, so that during an i+1-th data acquisition cycle, the controller module controls the transmission device according to the i+1-th group of reference data until the preset condition is satisfied, and obtains calibration results of the linear displacement sensor according to all calibration levels. The data analysis module includes a processor and a memory storing a computer program. When the computer program is executed by the processor, the following steps are implemented: S1, obtaining a first interference degree of the linear displacement sensor corresponding to the i-th data acquisition period according to K preset relationship functions, the i-th group of reference data, and the i-th group of actual movement data; S2, according to the N i The actual stop coordinates and N i A reference stop coordinate is used to obtain a second interference degree of the linear displacement sensor corresponding to the i-th data acquisition cycle; S3. According to the first interference degree and the second interference degree corresponding to the linear displacement sensor in the i-th data acquisition cycle, the i-th calibration degree corresponding to the linear displacement sensor in the i-th data acquisition cycle is obtained, wherein the calibration degree is negatively correlated with the first interference degree and the second interference degree.
2. The linear displacement sensor calibration and analysis system according to claim 1, characterized in that: The transmission device further includes a slider, a first fixed end, a second fixed end, a guide rail and a screw rod; The guide rail and the screw rod are arranged in parallel between the first fixed end and the second fixed end, wherein one end of the guide rail is connected to the first fixed end, and the other end of the guide rail is connected to the second fixed end, and one end of the screw rod is connected to the first fixed end, and the other end of the screw rod is connected to the second fixed end; The telescopic end of the linear displacement sensor is fixed on the slider, and the slider can slide on the guide rail and the lead screw under the control of the controller module.
3. The linear displacement sensor calibration and analysis system according to claim 2, characterized in that: The controller module includes a host controller, a drive motor and a reducer; The upper controller is used to receive the i-th group of reference data corresponding to the i-th data acquisition cycle within the i-th data acquisition cycle, and control the moving speed and stop position of the transmission device through the drive motor and the reducer.
4. The linear displacement sensor calibration and analysis system according to claim 3, characterized in that: The linear displacement sensor calibration and analysis system further includes a workbench, the workbench is connected to the first fixed end and the second fixed end, and the body of the linear displacement sensor is fixed on the workbench.
5. The linear displacement sensor calibration and analysis system according to claim 1, characterized in that: Meeting the preset condition means that the calibration degree corresponding to the linear displacement sensor is greater than or equal to a preset degree threshold, or meeting the preset condition means that i=M.
6. The linear displacement sensor calibration and analysis system according to claim 1, characterized in that: When the computer program is executed by a processor, the following steps are also implemented: S4, if the i-th calibration level does not meet the preset conditions, then update the target number N corresponding to the reference stop coordinate in the i-th set of reference data i The updated target number is used as the target number N corresponding to the reference stop coordinate in the i+1th set of reference data. i+1 ; S5, select N from the K target stop coordinates. i+1 The target stop coordinates are used as N in the i+1th group of reference data i+1 reference stop coordinates.
7. The linear displacement sensor calibration and analysis system according to claim 1, characterized in that: S1 includes the following steps: S11, according to the N i The actual stop coordinates and N i The actual stop time of the transmission equipment in the i-th data collection cycle is obtained. i Average moving speed; S12, according to the N i The actual stop coordinates and N i Reference stop coordinates are obtained to obtain the N corresponding to the linear displacement sensor. i displacement error; S13, according to the target moving speed, the N i The average moving speed and the N i displacement errors, respectively fitting and optimizing the coefficients of each preset relationship function, and obtaining the i-th reference relationship function corresponding to each preset relationship function, wherein each reference relationship function takes the target moving speed and the average moving speed as independent variables and the displacement error as the dependent variable; S14, according to the target moving speed, the N i The average moving speed, the N i The first interference degree of the linear displacement sensor corresponding to the i-th data acquisition cycle is obtained by comparing the displacement errors with the i-th reference relationship function corresponding to each preset relationship function.
8. The linear displacement sensor calibration and analysis system according to claim 7, characterized in that: S14 includes the following steps: S141: For the i-th reference relationship function corresponding to any preset relationship function, each speed binary consisting of the average moving speed and the target moving speed is substituted into the current i-th reference relationship function to obtain the fitting displacement corresponding to each speed binary of the current i-th reference relationship function; S142, according to the current i-th reference relationship function in N i The corresponding N under the speed binary i The fitted displacement and N i The sum of the differences between the displacement errors is used to obtain the fitting accuracy of the linear displacement sensor under the current i-th reference relationship function, wherein the fitting accuracy is negatively correlated with the sum of the differences; S143, traversing the i-th reference relationship functions corresponding to all preset relationship functions, and obtaining the fitting accuracy of the linear displacement sensor corresponding to each i-th reference relationship function; S144. According to the maximum fitting accuracy corresponding to the linear displacement sensor under all i-th reference relationship functions, obtain the first interference degree corresponding to the linear displacement sensor in the i-th data acquisition cycle, wherein the first interference degree is negatively correlated with the maximum fitting accuracy.
9. The linear displacement sensor calibration and analysis system according to claim 1, characterized in that: S2 includes the following steps: S21, according to the N i The actual stop coordinates and N i Reference stop coordinates are obtained to obtain the N corresponding to the linear displacement sensor. i displacement error; S22, according to the N corresponding to the linear displacement sensor i The difference between the displacement errors is used to obtain the second interference degree of the linear displacement sensor corresponding to the i-th data collection cycle.
Citation Information
Patent Citations
Wooden box steel belt transmission high-precision displacement correction method and device
CN118877445A
Pull rod type linear displacement sensor automatic calibrating device
CN203908526U