Method for reducing measurement error of flatness of film material and ranging device
By horizontally installing and rotating the calibration component, and combining it with a compensation algorithm to calibrate and compensate the distance measuring device, the problem of membrane flatness measurement error was solved, and the accuracy of membrane flatness measurement was achieved.
Patent Information
- Application Number
- CN202410127848.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2044-01-30
AI Technical Summary
In the existing technology, the measurement results of membrane flatness are incorrect due to the deviation of the installation position of the ranging equipment and the deviation of the membrane material levelness, and cannot accurately reflect the true flatness of the membrane material.
By horizontally mounting and rotating the calibration component, a compensation algorithm is used to calibrate and compensate the distance measuring device, ensuring the accuracy of the measurement results.
It reduces the measurement error of membrane flatness and ensures the accuracy of measurement results, making it suitable for measuring membrane flatness in the lithium battery manufacturing process.
Smart Images

Figure CN117948870B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of flatness measurement, and more specifically to a method and measuring device for reducing the measurement error of membrane flatness. Background Technology
[0002] The manufacturing process of lithium batteries requires a large number of film materials, such as copper foil, aluminum foil, and separators. The smoothness of these film materials' surfaces is a crucial factor in lithium battery production. Furthermore, with technological advancements, even higher requirements are being placed on the edge collapse and surface flatness of these film materials.
[0003] The current industry standard for measuring membrane flatness primarily involves using a distance sensor to measure the distance from the membrane surface to the sensor under a certain tension. The flatness is then judged based on the difference between the maximum and minimum values of the measurement. However, in practical applications, deviations in the installation position of the measuring equipment and the horizontality deviation of the membrane on the rollers can lead to discrepancies between the measured maximum and minimum values and the actual maximum and minimum values of the measured object when it is horizontal. This discrepancy results in an incorrect judgment of the flatness of the measured object.
[0004] Therefore, there is a need for methods and equipment that can more accurately measure the surface flatness of the object being measured. Summary of the Invention
[0005] To address the above problems, this application provides a method and a distance measuring device for reducing the measurement error of membrane flatness.
[0006] According to a first aspect, one embodiment provides a method for reducing the measurement error of membrane flatness, comprising:
[0007] Step 1: Install the calibration piece horizontally within the measurement stroke of the ranging device, measure the calibration piece through the ranging device to obtain the first set of data, and output the first range. The first range is the range of the first set of data. Compare the first range with the true range of the calibration piece. If the first range is equal to the true range, proceed to Step 2.
[0008] Step 2: Rotate the calibration piece by a certain angle, measure the rotated calibration piece with the ranging device to obtain the second set of data, and output the second range. The second range is the range of the second set of data. Compare the second range with the true range. If the second range is equal to the true range, proceed directly to step 5. If the second range is not equal to the true range, proceed to step 3.
[0009] Step 3: Import the compensation algorithm into the ranging device. The compensation algorithm includes first performing regression analysis on the entire set of data to obtain the regression equation, then compensating each data point according to the regression equation so that the compensated set of data satisfies the regression equation y = b and b is a constant, and finally calculating the range of the compensated set of data.
[0010] Step 4: After importing the compensation algorithm into the ranging device, calculate the range of the second set of data using the compensation algorithm to obtain the third range; if the third range is equal to the true range, proceed to Step 5; and
[0011] Step 5: Use the distance measuring device to measure the surface flatness of the membrane material.
[0012] In some embodiments, the first step further includes:
[0013] If the first range is not equal to the true range, the ranging device is adjusted or replaced; and the operation is restarted from the first step using the adjusted or replaced ranging device.
[0014] In some embodiments, when the calibration member is rotated, a first distance y1 is measured at a first position x1 in the calibration member, and a second distance y2 is measured at a second position x2 in the calibration member;
[0015] The compensation algorithm includes:
[0016] Linear regression was performed on the second set of data to obtain the regression equation y = kx + b, where x represents the measurement location and y represents the measured distance;
[0017] Select the first distance y1 measured at the first position x1 as the reference point, so that the first distance y1 before compensation is equal to the first distance y1' after compensation, and then subtract k*(x2-x1) from the second distance y2 to obtain the second distance y2' after compensation;
[0018] The range is calculated using the compensated distance to obtain the range of the entire set of data after compensation.
[0019] In some embodiments, the fourth step further includes:
[0020] If the third range is not equal to the true range, the compensation fails and a different compensation algorithm is used; and the operation restarts from the fourth step using a ranging device with a different compensation algorithm.
[0021] In some embodiments, the ranging device uses a fixed step size to measure the calibration element or membrane material to obtain sets of data.
[0022] In some embodiments, the calibration element includes a detection plate.
[0023] In some embodiments, the detection plate includes a curved surface.
[0024] In some embodiments, the ranging device includes a distance sensor for scanning the calibration element or membrane material to acquire distance measurement data.
[0025] According to a second aspect, one embodiment provides a ranging device, comprising: a memory for storing a program; and a processor for executing the program stored in the memory to implement the method described in any of the above embodiments.
[0026] According to a third aspect, one embodiment provides a computer-readable storage medium storing a program that can be executed by a processor to implement the methods described in any of the above embodiments.
[0027] According to any embodiment of the method for reducing membrane flatness measurement error, the first step can avoid the situation where even horizontally installed calibration components or membrane materials have significant errors in flatness measurement results due to the limitations of the ranging device itself. The second step can avoid the situation where the flatness measurement results have significant errors due to the object being measured not being installed horizontally and the ranging device not having automatic compensation capabilities. The third step can introduce a compensation algorithm into the ranging device that does not have compensation capabilities. The fourth step can recalibrate the ranging device after the compensation algorithm has been introduced. Finally, the ranging device that has undergone various calibrations is used to measure the surface flatness of the membrane material, thereby ensuring that accurate surface flatness measurement results of the membrane material are obtained. Attached Figure Description
[0028] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0029] Figure 1 A flowchart illustrating a method for reducing membrane flatness measurement error according to an embodiment;
[0030] Figure 2 This is a schematic diagram of the verification component before and after rotation, according to one embodiment.
[0031] Figure 3 A perspective view of a ranging device according to an embodiment; and
[0032] Figure 4 This is a block diagram of a ranging device according to one embodiment.
[0033] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0034] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings. Similar elements in different embodiments are referred to by associated similar element reference numerals. In the following embodiments, many details are described to facilitate a better understanding of this application. However, those skilled in the art will readily recognize that some features may be omitted in different situations, or may be replaced by other elements, materials, or methods. In some cases, certain operations related to this application are not shown or described in the specification. This is to avoid obscuring the core parts of this application with excessive description. For those skilled in the art, detailed description of these related operations is not necessary; they can fully understand the related operations based on the description in the specification and general technical knowledge in the art.
[0035] Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various embodiments. At the same time, the steps or actions in the method description can be rearranged or adjusted in a manner obvious to those skilled in the art. Therefore, the various orders in the specification and drawings are only for the clear description of a particular embodiment and do not imply a necessary order, unless otherwise stated that a particular order must be followed.
[0036] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).
[0037] In existing technologies, when measuring the flatness of the tested object (e.g., the membrane material in the lithium battery manufacturing process), the difference between the maximum and minimum values in the measurement results is inconsistent with the difference between the actual maximum and minimum values of the membrane material when it is in a horizontal state due to the relative installation position deviation between the measuring device and the membrane material, the horizontal deviation of the rollers carrying the membrane material, etc. As a result, the flatness of the membrane material is incorrectly evaluated.
[0038] Some embodiments of this application consider the following reasons that cause errors in the flatness measurement results of the membrane material: (1) The distance measuring device itself is faulty, which causes errors in the distance measurement results even when the membrane material is installed horizontally, thus causing errors in the flatness measurement results. In this case, the distance measuring device itself needs to be adjusted; (2) When measuring the membrane material, the distance measuring device itself is working properly, but the membrane material is not installed horizontally and the distance measuring device does not have automatic compensation capability. This causes the distance data measured by the distance measuring device to be mixed with the distance measurement system deviation caused by the rotation of the membrane material (i.e., non-horizontal state). If the distance measuring device does not have automatic data compensation capability, the final distance measurement result will naturally not reflect the true flatness of the membrane material; (3) When measuring the membrane material, the distance measuring device itself is working properly, but the membrane material is not installed horizontally. Although the compensation algorithm imported in the distance measuring device performs data compensation on the distance measurement data, the final flatness measurement result still cannot reflect the true flatness of the membrane material. In this case, the compensation algorithm of the distance measuring device needs to be adjusted or replaced. This application takes into account the above-mentioned reasons and attempts to provide a method to reduce the measurement error of membrane flatness. First, the measuring device is calibrated using a calibration piece with known flatness to ensure that the measuring device does not have errors caused by the above reasons. Then, the calibrated measuring device is used to measure the membrane material to obtain accurate flatness measurement results.
[0039] The "compensation capability" mentioned above refers to the ability of the ranging device to automatically identify systematic deviations in distance measurement data caused by membrane material rotation (i.e., non-horizontal state), and to use a certain compensation algorithm to compensate for the measurement data, ensuring that the range of the compensated data reflects the true flatness of the membrane material. The range refers to the difference between the maximum and minimum values in the distance measurement data. For those skilled in the art, using range to represent the flatness of the measured object is common knowledge in the field, and will not be elaborated upon further here.
[0040] In response to the above-mentioned reasons, in some embodiments, corresponding verification steps are designed to eliminate the flatness measurement errors caused by the above reasons one by one, to ensure that the flatness measurement results obtained by the ranging device are free from the deviations caused by the above reasons; finally, the accurate flatness measurement results can be obtained by using the verified ranging device.
[0041] Please see Figure 1 A flowchart of a method 100 for reducing membrane flatness measurement error according to an embodiment is shown. The method includes the following steps:
[0042] Step 102: Install the calibration piece horizontally within the measurement stroke of the ranging device, measure the calibration piece through the ranging device to obtain the first set of data, and output the first range. The first range is the range of the first set of data. Compare the first range with the true range of the calibration piece. If the first range is equal to the true range, proceed to step 104.
[0043] Step 104: Rotate the calibration piece by a certain angle, measure the rotated calibration piece with a ranging device to obtain the second set of data, and output the second range. The second range is the range of the second set of data. Compare the second range with the true range. If the second range is equal to the true range, proceed directly to step 110. If the second range is not equal to the true range, proceed to step 106.
[0044] Step 106: Import the compensation algorithm into the ranging device. The compensation algorithm includes first performing regression analysis on the entire set of data to obtain the regression equation, then compensating each data point according to the regression equation so that the compensated set of data satisfies the regression equation y = b and b is a constant, and finally calculating the range of the compensated set of data.
[0045] Step 108: After importing the compensation algorithm into the ranging device, use the compensation algorithm to calculate the range of the second set of data to obtain the third range; if the third range is equal to the true range, proceed to step 110.
[0046] Step 110: Use a distance measuring device to measure the surface flatness of the membrane material.
[0047] Step 102 allows for verification of the range obtained by the ranging device when the verification piece is installed horizontally. Step 104 allows for verification of the range obtained by the ranging device when the verification piece is installed at an angle. Step 106 allows for the import of a compensation algorithm into the ranging device. Step 108 allows for verification of the range obtained by the ranging device with the imported compensation algorithm. Step 110 allows for the use of the ranging device that has passed all verifications to measure the flatness of the membrane material, ultimately reducing the measurement error of the membrane material's flatness.
[0048] In some embodiments, step 102 further includes: if the first range is not equal to the true range, adjusting or replacing the ranging device; and restarting the operation from step 102 using the adjusted or replaced ranging device.
[0049] If the first range is not equal to the true range, it indicates that even if the calibration piece is installed horizontally, the flatness data measured by the ranging device still has errors, and the ranging device needs to be adjusted or replaced before it can be used. If the first range is equal to the true range, it indicates that the ranging device is functioning correctly to measure the flatness of the horizontally installed calibration piece, and its leveling test has passed. This avoids situations where flatness measurement results are unusable due to equipment malfunctions.
[0050] In some embodiments, when the calibration piece is rotated, a first distance y1 is measured at a first position x1 in the calibration piece, and a second distance y2 is measured at a second position x2 in the calibration piece. In this case, the compensation algorithm may include: performing linear regression on the second set of data to obtain the regression equation y = kx + b, where x represents the measurement position and y represents the measured distance; selecting the first distance y1 measured at the first position x1 as a reference point, such that the first distance y1 before compensation is equal to the first distance y1' after compensation, and then subtracting k*(x2-x1) from the second distance y2 to obtain the second distance y2' after compensation; and calculating the range using the compensated distance to obtain the range of the entire set of data after compensation.
[0051] As is known to those skilled in the art, in the linear regression equation y = kx + b above, k represents the slope and b represents the intercept.
[0052] In addition, regarding the selection of the reference point, in principle, the distance measured at any position in the calibration piece can be selected as the reference point without affecting the final calculated range value, but it will affect the compensated distance value at the same position.
[0053] For example, in the second set of data above, assuming that the second distance y2 measured at the second position x2 is chosen as the reference point, the compensated second distance is still y2, which is different from the value of the compensated second distance y2' obtained when the first distance y1 at the first position x1 is chosen as the reference point.
[0054] Furthermore, for example, in the second set of data above, a third distance y3 is also measured at the third position x3. Assuming that the first distance y1 measured at the first position x1 is chosen as the reference point, the second distance at the compensated second position is y2-k*(x2-x1), and the third distance at the compensated third position is y3-k*(x3-x1). At this time, the distance difference between the compensated third distance and the compensated second distance is [y3-k*(x3-x1)]–[y2-k*(x2-x1)]=(y3-y2)-k*(x3-x2). It is easy to see that the distance difference between the compensated distance data is independent of the magnitude of the reference point distance (i.e., y1). Therefore, it can be concluded that the range of the compensated distance data is also independent of the choice of the reference point.
[0055] Please see Figure 2 The diagram illustrates a schematic representation of a calibration piece before and after rotation, according to an embodiment. Reference numeral S1 denotes the surface of the calibration piece before rotation, and reference numeral S2 denotes the surface of the calibration piece after rotation. It is assumed that before and after rotation, the maximum distance y1 is measured at position x1 of the calibration piece, and the minimum distance y2 is measured at position x2. Reference numeral D1 denotes the distance range of surface S1 of the calibration piece before rotation, and reference numeral D2 denotes the distance range of surface S2 of the calibration piece after rotation (i.e., y1-y2).
[0056] It is easy to see that, due to the rotation of the calibration piece, the distance range D2 of the rotated calibration piece surface S2 is greater than the distance range D1 of the unrotated calibration piece surface S1. In this case, it is necessary to compensate for the distance range D2 obtained from the calibration piece surface S2.
[0057] In some embodiments, firstly, linear regression is performed on the distance measurement data of the calibration piece surface S2 to obtain the linear regression equation y = kx + b. Then, the distance range D2 is compensated to obtain the compensated distance range: (y1 - y2) - k*(x1 - x2), that is, the distance range D1 of the calibration piece surface S1 before rotation is obtained. The compensated distance range reflects the true range of the calibration piece.
[0058] Figure 2 The diagram illustrates a specific compensation case where the positions for obtaining the minimum and maximum distance data remain unchanged before and after rotation. However, this is merely an example, and those skilled in the art can readily understand the calculation of compensation distances in other cases.
[0059] The regression method described above for compensating for the distance range after rotation is merely an example. Those skilled in the art can readily conceive of other compensation methods. For instance, the tilt angle of the measured surface can be measured using an instrument (e.g., a level), and the distance measurement data can be compensated based on the tilt angle to obtain the compensated distance range.
[0060] In some embodiments, step 108 further includes: if the third range is not equal to the true range, the compensation fails and a different compensation algorithm is used; and the ranging device with the changed compensation algorithm is used to restart the operation from step 108.
[0061] If the third range is not equal to the true range, it means that even after data compensation using the compensation algorithm, the range of the second set of data still cannot accurately represent the flatness of the verification piece. Therefore, the compensation algorithm of the ranging device needs to be changed. This can prevent the ranging device from failing to accurately measure the flatness of the tilted membrane material due to an unsuitable compensation algorithm.
[0062] If the third range equals the true range, this indicates that after compensation by the imported compensation algorithm, the range obtained by the ranging device can accurately represent the flatness of the verification piece. The ranging device with the imported compensation algorithm can then be used to measure the flatness of membrane materials.
[0063] In some embodiments, the ranging device measures the calibration piece or membrane material using a fixed step size to obtain distance measurement data. For example, the fixed step size during measurement by the ranging device can be 0.1 mm. It is readily apparent to those skilled in the art that an appropriate step size can be selected according to actual needs.
[0064] Furthermore, those skilled in the art can select different step sizes for different areas of the test piece or membrane material. For example, a larger step size can be selected for areas on the test object where the flatness does not change much, while a finer step size can be selected for areas where the flatness changes much, in order to obtain precise distance measurement data on the test object.
[0065] In some embodiments, a ranging device can be used to measure the flatness measurement error of the membrane material, such as membrane materials used in the manufacturing process of lithium batteries, including copper foil, aluminum foil, and separators. However, those skilled in the art will readily recognize that the test objects in the embodiments of this application are not limited to membrane materials used in the manufacturing process of lithium batteries, nor are they limited to membrane materials in general.
[0066] In some embodiments, the calibration element may include a test plate having a known height range. In some embodiments, the test plate may include a curved surface.
[0067] In some embodiments, the ranging device may include a distance sensor that can be used to scan the calibration piece or membrane to acquire distance measurement data.
[0068] Please refer to Figure 3 A ranging device 10 according to one embodiment is shown. The ranging device 10 includes a distance sensor 11 and a drive mechanism 12. In this embodiment, the calibration element is a detection plate 20, and the height range of the detection plate 20 in a horizontal state is known. The detection plate 20 is mounted within the scanning stroke of the ranging device 10, such that the detection plate 20 is opposite to the distance sensor 11 on the ranging device 10. The detection plate 20 may include a working surface 21 for performing flatness measurement. In some embodiments, the working surface 21 may include a curved surface. The working surface 21 of the detection plate 20 is scanned using the distance sensor 11 on the ranging device 10 to collect distance data and calculate the data range. When collecting distance data, the scanning step size in the lateral direction can be, for example, 0.1 mm. However, it will be readily apparent to those skilled in the art that the specific value of the step size can be selected according to actual needs.
[0069] The ranging device 10 can collect distance data and may include a computing device for calculating the range of the collected distance data. The computing device may be a microcomputer, processor, microcontroller, etc. These are merely examples; other implementations of the computing device will be readily apparent to those skilled in the art.
[0070] The above are merely examples of ranging devices; those skilled in the art will readily recognize other constructions or configurations of ranging devices.
[0071] Please see Figure 4 A block diagram of a ranging device 400 according to an embodiment is shown. The ranging device 400 includes a processor 402 and a memory 404. The memory 404 can store programs. The processor 402 can implement the method for reducing membrane flatness measurement error according to any embodiment by executing the program stored in the memory 404, the method including:
[0072] Step 1: Install the calibration piece horizontally within the measuring stroke of the ranging device, measure the calibration piece with the ranging device to obtain the first set of data, and output the first range. The first range is the range of the first set of data. Compare the first range with the true range of the calibration piece. If the first range is equal to the true range, proceed to step 2.
[0073] Step 2: Rotate the calibration piece by a certain angle, measure the rotated calibration piece with a ranging device to obtain the second set of data, and output the second range. The second range is the range of the second set of data. Compare the second range with the true range. If the second range is equal to the true range, proceed directly to step 5. If the second range is not equal to the true range, proceed to step 3.
[0074] Step 3: Import the compensation algorithm into the ranging device. The compensation algorithm includes first performing regression analysis on the entire set of data to obtain the regression equation, then compensating each data point according to the regression equation so that the compensated set of data satisfies the regression equation y = b and b is a constant, and finally calculating the range of the compensated set of data.
[0075] Step 4: After importing the compensation algorithm into the ranging device, use the compensation algorithm to calculate the range of the second set of data to obtain the third range; if the third range equals the true range, proceed to step 5; and
[0076] Step 5: Use a distance measuring device to measure the surface flatness of the membrane material.
[0077] Those skilled in the art will understand that all or part of the functions of the various methods in the above embodiments can also be implemented by a computer program. When all or part of the functions in the above embodiments are implemented by a computer program, the program can be stored in a computer-readable storage medium, which may include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the above functions are implemented by executing the program by a computer. For example, the program can be stored in the memory of a device, and when the program in the memory is executed by the processor, all or part of the above functions can be implemented. In addition, when all or part of the functions in the above embodiments are implemented by a computer program, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash drive, or portable hard drive, and can be downloaded or copied to the memory of a local device, or the system of the local device can be updated. When the program in the memory is executed by the processor, all or part of the functions in the above embodiments can be implemented.
[0078] In some embodiments, a computer-readable storage medium is provided, the medium storing a program executable by a processor to implement the method for reducing membrane flatness measurement error according to any embodiment, the method comprising:
[0079] Step 1: Install the calibration piece horizontally within the measuring stroke of the ranging device, measure the calibration piece with the ranging device to obtain the first set of data, and output the first range. The first range is the range of the first set of data. Compare the first range with the true range of the calibration piece. If the first range is equal to the true range, proceed to step 2.
[0080] Step 2: Rotate the calibration piece by a certain angle, measure the rotated calibration piece with a ranging device to obtain the second set of data, and output the second range. The second range is the range of the second set of data. Compare the second range with the true range. If the second range is equal to the true range, proceed directly to step 5. If the second range is not equal to the true range, proceed to step 3.
[0081] Step 3: Import the compensation algorithm into the ranging device. The compensation algorithm includes first performing regression analysis on the entire set of data to obtain the regression equation, then compensating each data point according to the regression equation so that the compensated set of data satisfies the regression equation y = b and b is a constant, and finally calculating the range of the compensated set of data.
[0082] Step 4: After importing the compensation algorithm into the ranging device, use the compensation algorithm to calculate the range of the second set of data to obtain the third range; if the third range equals the true range, proceed to step 5; and
[0083] Step 5: Use a distance measuring device to measure the surface flatness of the membrane material.
[0084] The above examples illustrate the present invention only to aid in understanding it and are not intended to limit the scope of the invention. Those skilled in the art can make various simple deductions, modifications, or substitutions based on the principles of this invention.
Claims
1. A method for reducing the measurement error of membrane material flatness, characterized in that, include: Step 1: Install the calibration piece horizontally within the measurement stroke of the ranging device, measure the calibration piece through the ranging device to obtain the first set of data, and output the first range. The first range is the range of the first set of data. Compare the first range with the true range of the calibration piece. If the first range is equal to the true range, proceed to Step 2. Step 2: Rotate the calibration piece by a certain angle, measure the rotated calibration piece through the ranging device to obtain the second set of data, and output the second range. The second range is the range of the second set of data. Compare the second range with the true range. If the second range is equal to the true range, proceed directly to step five; if the second range is not equal to the true range, proceed to step three. Step 3: Import the compensation algorithm into the ranging device. The compensation algorithm includes first performing regression analysis on the entire set of data to obtain the regression equation, then compensating each data point according to the regression equation so that the compensated set of data satisfies the regression equation y = b and b is a constant, and finally calculating the range of the compensated set of data. Step 4: After importing the compensation algorithm into the ranging device, calculate the range of the second set of data using the compensation algorithm to obtain the third range; if the third range is equal to the true range, proceed to Step 5; and Step 5: Use the distance measuring device to measure the surface flatness of the membrane material.
2. The method according to claim 1, characterized in that, The first step also includes: If the first range is not equal to the true range, the ranging device is adjusted or replaced; and the operation is restarted from the first step using the adjusted or replaced ranging device.
3. The method according to claim 1, characterized in that, When the calibration piece is rotated, a first distance y1 is measured at a first position x1 in the calibration piece, and a second distance y2 is measured at a second position x2 in the calibration piece; The compensation algorithm includes: Linear regression was performed on the second set of data to obtain the regression equation y = kx + b, where x represents the measurement location and y represents the measured distance; Select the first distance y1 measured at the first position x1 as the reference point, so that the first distance y1 before compensation is equal to the first distance y1' after compensation, and then subtract k*(x2-x1) from the second distance y2 to obtain the second distance y2' after compensation; The range is calculated using the compensated distance to obtain the range of the entire set of data after compensation.
4. The method according to claim 1, characterized in that, The fourth step also includes: If the third range is not equal to the true range, the compensation fails and a different compensation algorithm is used; and the operation restarts from the fourth step using a ranging device with a different compensation algorithm.
5. The method according to claim 1, characterized in that, The ranging device uses a fixed step size to measure the calibration piece or membrane material to obtain various sets of data.
6. The method according to claim 1, characterized in that, The calibration component includes a detection board.
7. The method according to claim 6, characterized in that, The detection plate includes a curved surface.
8. The method according to claim 1, characterized in that, The ranging device includes a distance sensor, which is used to scan the calibration piece or membrane material to collect distance measurement data.
9. A ranging device, characterized in that, include: Memory, used to store programs; A processor for implementing the method according to any one of claims 1-8 by executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that, The medium stores a program that can be executed by a processor to implement the method according to any one of claims 1-8.
Citation Information
Patent Citations
Method for compensating laser flatness measurement error
CN103245309A
Device and method for detecting flatness of metal bipolar plate
CN116697939A
