Guide rail straightness detection method and device, electronic equipment and storage medium
By setting multiple detection points on the guide rail, the transmitter and fitting algorithm are used to achieve the efficient measurement of the straight line of the guide rail, solve the problem of large measurement times and low efficiency in existing technologies, improve the accuracy and efficiency of measurement. Essence
Patent Information
- Application Number
- CN202411533210.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-21
AI Technical Summary
In the prior art, the linearity measurement of the guide rail requires multiple measurements, resulting in large workloads and long time, and environmental changes may affect the accuracy of the measurement results. How to improve measurement efficiency and accuracy is an urgent issue.
By setting multiple detection points on the guide rail, use the transmitter data from the first detection point from the first detection point, obtain the receiving data of the second detection point, and use the prefabricated alignment algorithm Straight degree.
During a measuring process, multiple receiving data can be obtained. Through multiple data fitting, the efficiency and accuracy of the straight line measurement of the guide rail can be improved, and the number of measurement times is reduced.
Smart Images

Figure CN119334275A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a guide rail straightness detection method, device, electronic equipment and storage medium. Background Art
[0002] The main function of the guide rail in the machine tool is to support the moving parts and guide them. It is a key component that affects the machining accuracy of the machine tool. Therefore, in the process of machine tool assembly, the straightness measurement of the guide rail is very important.
[0003] For the straightness measurement of machine tool guide rails, generally the more data is measured, the higher the accuracy of the measurement results. However, too many measurements will not only increase the workload of the measurement personnel, but also the measurement time is too long, the detection environment may change, and the accuracy of the measurement results may become lower. How to improve the efficiency and accuracy of the straightness measurement of guide rails is an urgent problem to be solved. Summary of the invention
[0004] Some embodiments of the present application aim to provide a guide rail straightness detection method, device, electronic device and storage medium. Through the technical solution of the embodiments of the present application, transmission data is sent from a first detection point on the guide rail to be detected based on a transmitter to obtain received data of a second detection point on the guide rail to be detected; the first detection point and the second detection point are different detection points on the guide rail to be detected; according to a preset fitting algorithm, data fitting is performed on the received data to obtain the straightness of the guide rail to be detected. In the embodiments of the present application, multiple received data can be obtained in one measurement process, and data fitting is performed using the multiple received data to obtain the straightness to be detected, thereby improving detection efficiency and accuracy.
[0005] In a first aspect, some embodiments of the present application provide a guide rail straightness detection method, comprising:
[0006] Based on the transmission data sent by the transmitter from the first detection point on the guide rail to be detected, the reception data of the second detection point on the guide rail to be detected is obtained; the first detection point and the second detection point are different detection points on the guide rail to be detected;
[0007] According to a preset fitting algorithm, data fitting is performed on the received data to obtain the straightness of the guide rail to be detected.
[0008] Some embodiments of the present application can obtain multiple received data in one measurement process, use the multiple received data to perform data fitting, obtain the straightness to be detected, and improve the detection efficiency and accuracy.
[0009] Optionally, the acquiring received data from a second detection point on the guide rail to be detected based on the transmitter sending transmitted data from a first detection point on the guide rail to be detected comprises:
[0010] Based on the transmission data sent by the transmitter at any first detection point, respectively obtain the reception data of multiple second detection points;
[0011] According to the received data, the height difference between two adjacent detection points is abnormally calculated.
[0012] Some embodiments of the present application obtain a large amount of received data through one measurement, which can greatly reduce the number of measurements and improve the measurement efficiency.
[0013] Optionally, performing data fitting on the received data according to a preset fitting algorithm to obtain the straightness of the guide rail to be detected includes:
[0014] The least square method is used to perform data fitting on the height difference between the two adjacent detection points to obtain the straightness of the guide rail to be detected.
[0015] Some embodiments of the present application use a preset fitting algorithm to perform data fitting on the height difference between two adjacent detection points to obtain the straightness of the guide rail to be detected, thereby improving detection efficiency and accuracy.
[0016] Optionally, the received data of the second detection point at least includes a height difference from a transmitter to a receiver.
[0017] Optionally, the first detection points and the second detection points are evenly distributed on the guide rail to be detected.
[0018] Some embodiments of the present application improve the accuracy of data detection by evenly arranging detection points on the guide rail.
[0019] In a second aspect, some embodiments of the present application provide a guide rail straightness detection device, comprising:
[0020] an acquisition module, configured to acquire received data of a second detection point on the guide rail to be detected based on transmission data sent by a transmitter from a first detection point on the guide rail to be detected; the first detection point and the second detection point are different detection points on the guide rail to be detected;
[0021] The processing module is used to perform data fitting on the received data according to a preset fitting algorithm to obtain the straightness of the guide rail to be detected.
[0022] Some embodiments of the present application can obtain multiple received data in one measurement process, use the multiple received data to perform data fitting, obtain the straightness to be detected, and improve the detection efficiency and accuracy.
[0023] Optionally, the acquisition module is used to:
[0024] Based on the transmission data sent by the transmitter at any first detection point, respectively obtain the reception data of multiple second detection points;
[0025] According to the received data, the height difference between two adjacent detection points is abnormally calculated.
[0026] Some embodiments of the present application obtain a large amount of received data through one measurement, which can greatly reduce the number of measurements and improve the measurement efficiency.
[0027] Optionally, the processing module is used to:
[0028] The least square method is used to perform data fitting on the height difference between the two adjacent detection points to obtain the straightness of the guide rail to be detected.
[0029] Some embodiments of the present application use a preset fitting algorithm to perform data fitting on the height difference between two adjacent detection points to obtain the straightness of the guide rail to be detected, thereby improving detection efficiency and accuracy.
[0030] Optionally, the received data of the second detection point at least includes a height difference from a transmitter to a receiver.
[0031] Optionally, the first detection points and the second detection points are evenly distributed on the guide rail to be detected.
[0032] Some embodiments of the present application improve the accuracy of data detection by evenly arranging detection points on the guide rail.
[0033] In a third aspect, some embodiments of the present application provide an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the guide rail straightness detection method as described in any embodiment of the first aspect can be implemented.
[0034] In a fourth aspect, some embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the guide rail straightness detection method as described in any embodiment of the first aspect.
[0035] In a fifth aspect, some embodiments of the present application provide a computer program product, comprising a computer program, wherein the computer program, when executed by a processor, can implement the guide rail straightness detection method as described in any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of some embodiments of the present application, the drawings required for use in some embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A schematic diagram of a flow chart of a guide rail straightness detection method provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of the guide rail detection points provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of the structure of a guide rail straightness detection device provided in an embodiment of the present application;
[0040] Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The technical solutions in some embodiments of the present application will be described below in conjunction with the drawings in some embodiments of the present application.
[0042] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0043] The main function of the guide rail in the machine tool is to support the moving parts and guide them. It is a key component that affects the machining accuracy of the machine tool. Therefore, in the process of machine tool assembly, the straightness measurement of the guide rail is very important.
[0044] For the straightness measurement of machine tool guide rails, generally, the more measured data, the higher the accuracy of the measurement results. However, too many measurements will not only increase the workload of the measurement personnel, but also the measurement time is too long, the detection environment may change, and the accuracy of the measurement results may become lower. How to improve the efficiency and accuracy of the straightness measurement of the guide rail is a problem that needs to be solved urgently. In view of this, some embodiments of the present application provide a guide rail straightness detection method, which includes sending transmission data from a first detection point on the guide rail to be detected based on a transmitter, and obtaining received data of a second detection point on the guide rail to be detected; the first detection point and the second detection point are different detection points on the guide rail to be detected; according to a preset fitting algorithm, the received data is fitted to obtain the straightness of the guide rail to be detected. In the embodiment of the present application, multiple received data can be obtained in one measurement process, and multiple received data are used for data fitting to obtain the straightness to be detected, thereby improving the detection efficiency and accuracy.
[0045] like Figure 1 As shown, an embodiment of the present application provides a guide rail straightness detection method, the method comprising:
[0046] S101, based on the transmitter sending transmission data from the first detection point on the guide rail to be detected, obtaining reception data from the second detection point on the guide rail to be detected; the first detection point and the second detection point are different detection points on the guide rail to be detected;
[0047] Specifically, different detection points are set on the guide rail, and the number of detection points can be one or more. A transmitter and a receiver of a laser detector are set at each detection point. If a transmitter is set at one detection point to send out transmission data, the receivers at other detection points receive reception data corresponding to the transmission data.
[0048] Exemplarily, if five detection points are set on the guide rail, transmission data is sent out at the first detection point, and data is received at the other second, third, fourth and fifth detection points.
[0049] S102. Perform data fitting on the received data according to a preset fitting algorithm to obtain the straightness of the guide rail to be tested.
[0050] Specifically, the terminal device uses a preset fitting algorithm to perform data fitting on the received data to obtain the straightness of the guide rail to be detected.
[0051] Exemplarily, the least square method is used to fit the data, as follows:
[0052] The least squares method is used to solve the problem of curve fitting. Its basic idea is:
[0053]
[0054] in, is a set of linearly independent functions selected in advance, a k is the unknown coefficient, k=1, 2,…, m, and the fitting criterion is to minimize the sum of the squares of the distances between yi and f(x).
[0055] Some embodiments of the present application can obtain multiple received data in one measurement process, use the multiple received data to perform data fitting, obtain the straightness to be detected, and improve the detection efficiency and accuracy.
[0056] Another embodiment of the present application further supplements the guide rail straightness detection method provided in the above embodiment.
[0057] Optionally, based on the transmitter sending transmission data from the first detection point on the guide rail to be detected, obtaining reception data from the second detection point on the guide rail to be detected includes:
[0058] Based on the transmission data sent by the transmitter at any first detection point, respectively obtain the reception data of multiple second detection points;
[0059] Based on the received data, the height difference between two adjacent detection points is calculated abnormally.
[0060] Some embodiments of the present application obtain a large amount of received data through one measurement, which can greatly reduce the number of measurements and improve the measurement efficiency.
[0061] Optionally, data fitting is performed on the received data according to a preset fitting algorithm to obtain the straightness of the guide rail to be detected, including:
[0062] The least square method is used to fit the height difference between two adjacent detection points to obtain the straightness of the guide rail to be detected.
[0063] Some embodiments of the present application use a preset fitting algorithm to perform data fitting on the height difference between two adjacent detection points to obtain the straightness of the guide rail to be detected, thereby improving detection efficiency and accuracy.
[0064] Optionally, the received data at the second detection point includes at least a height difference from the transmitter to the receiver.
[0065] Optionally, the first detection point and the second detection point are evenly distributed on the guide rail to be detected.
[0066] like Figure 2 As shown, the guide rail installation surface length tested this time is 1300mm. The guide rail length is divided into 5 points as measurement points, and the measurement span is 325mm.
[0067] First, use a level to adjust the machine tool's feet to level the machine tool as a whole, and adjust the transmitter to a level using the precision scale bubble level of the laser calibrator transmitter to ensure that the light emitted by the transmitter remains horizontal. This ensures that the laser emitted by the transmitter is parallel to the ground, and uses this as a reference line to measure each point on the guide rail mounting surface. Place the laser transmitter of the laser calibrator at points A, B, C, D, and E in turn (make sure the precision scale bubble level is level), and place the receiver at the remaining points for measurement.
[0068] Assume that the relative height (i.e. straightness) between point A and point B is h1, the relative height between point B and point C is h2, the relative height between point C and point D is h3, and the relative height between point D and point E is h4.
[0069] When the transmitter is placed at point A, the value displayed by the receiver is the height of points B, C, D, and E relative to point A. When the transmitter is placed at point B, the value displayed by the receiver is: the height of points A, C, D, and E relative to point B. The same applies when the reflector is placed at points C, D, and E.
[0070] The difference between the indicated values of each point can be considered as the height difference of each point, and the difference between each height difference and the straight line fitted by the least squares method is the straightness of each point.
[0071] That is, when the transmitter is placed at point A, the differences between the values displayed by the receiver are h2, h3, and h4; when the transmitter is placed at point B, the differences between the values displayed by the receiver are h1+h2, h3, and h4; when the transmitter is placed at point C, the differences between the values displayed by the receiver are h1, h4, and h1+h2+h3; when the transmitter is placed at point D, the differences between the values displayed by the receiver are h1, h2, and h1+h2+h3+h4; when the transmitter is placed at point E, the differences between the values displayed by the receiver are h1, h2, and h3.
[0072] The terminal device performs data fitting using the least square method using the height difference between two adjacent detection points, i.e., h2, h3, h4 or h1+h2, h3, h4.
[0073] The embodiments of the present application can detect both the measured quantity and the measured quantity having a functional relationship with the measured quantity through the above detection. By directly measuring some measurement values having a functional relationship with the measured quantity and determining the best estimated value of each measured quantity, that is, combined measurement, the least squares method can be used to obtain the best estimated value and the straightness of the guide rail.
[0074] The advantage of using the combined measurement method is that it can greatly reduce the number of measurements and improve the measurement efficiency.
[0075] Some embodiments of the present application improve the accuracy of data detection by evenly arranging detection points on the guide rail.
[0076] It should be noted that each implementable method in this embodiment may be implemented separately, or may be implemented in combination in any combination without conflict, and this application is not limited thereto.
[0077] Another embodiment of the present application provides a guide rail straightness detection device, which is used to execute the guide rail straightness detection method provided in the above embodiment.
[0078] like Figure 3 , which is a schematic diagram of the structure of a guide rail straightness detection device provided in an embodiment of the present application. The guide rail straightness detection device includes an acquisition module 301 and a processing module 302, wherein:
[0079] The acquisition module 301 is used to acquire the received data of the second detection point on the guide rail to be detected based on the transmission data sent by the transmitter from the first detection point on the guide rail to be detected; the first detection point and the second detection point are different detection points on the guide rail to be detected;
[0080] The processing module 302 is used to perform data fitting on the received data according to a preset fitting algorithm to obtain the straightness of the guide rail to be detected.
[0081] Regarding the device in this embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0082] Some embodiments of the present application can obtain multiple received data in one measurement process, use the multiple received data to perform data fitting, obtain the straightness to be detected, and improve the detection efficiency and accuracy.
[0083] Another embodiment of the present application further supplements the guide rail straightness detection device provided in the above embodiment.
[0084] Optionally, the acquisition module is used to:
[0085] Based on the transmission data sent by the transmitter at any first detection point, respectively obtain the reception data of multiple second detection points;
[0086] Based on the received data, the height difference between two adjacent detection points is calculated abnormally.
[0087] Some embodiments of the present application obtain a large amount of received data through one measurement, which can greatly reduce the number of measurements and improve the measurement efficiency.
[0088] Optionally, the processing module is used to:
[0089] The least square method is used to fit the height difference between two adjacent detection points to obtain the straightness of the guide rail to be detected.
[0090] Some embodiments of the present application use a preset fitting algorithm to perform data fitting on the height difference between two adjacent detection points to obtain the straightness of the guide rail to be detected, thereby improving detection efficiency and accuracy.
[0091] Optionally, the received data of the second detection point includes at least the distance from the receiver to the ground and the height difference from the transmitter to the receiver.
[0092] Optionally, the first detection point and the second detection point are evenly distributed on the guide rail to be detected.
[0093] Some embodiments of the present application improve the accuracy of data detection by evenly arranging detection points on the guide rail.
[0094] Regarding the device in this embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0095] It should be noted that each implementable method in this embodiment may be implemented separately, or may be implemented in combination in any combination without conflict, and this application is not limited thereto.
[0096] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the operation of the method corresponding to any embodiment of the guide rail straightness detection method provided in the above embodiments can be implemented.
[0097] An embodiment of the present application further provides a computer program product, wherein the computer program product includes a computer program, wherein when the computer program is executed by a processor, it can implement the operations corresponding to the method of any embodiment of the guide rail straightness detection method provided in the above embodiments.
[0098] like Figure 4 As shown, some embodiments of the present application provide an electronic device 400, which includes: a memory 410, a processor 420, and a computer program stored in the memory 410 and executable on the processor 420, wherein the processor 420 can implement a method of any embodiment of the guide rail straightness detection method as included in the above-mentioned method when reading the program from the memory 410 through a bus 430 and executing the program.
[0099] Processor 420 can process digital signals and can include various computing structures, such as complex instruction set computer structure, reduced instruction set computer structure, or a structure that implements a combination of multiple instruction sets. In some examples, processor 420 can be a microprocessor.
[0100] The memory 410 may be used to store instructions executed by the processor 420 or data related to the execution of instructions. These instructions and / or data may include codes for implementing some or all functions of one or more modules described in the embodiments of the present application. The processor 420 of the disclosed embodiment may be used to execute instructions in the memory 410 to implement the method shown above. The memory 410 includes a dynamic random access memory, a static random access memory, a flash memory, an optical memory, or other memory known to those skilled in the art.
[0101] The above are only embodiments of the present application and are not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0102] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0103] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A guide rail straightness detection method, characterized in that: The method comprises: Based on the transmission data sent by the transmitter from the first detection point on the guide rail to be detected, the reception data of the second detection point on the guide rail to be detected is obtained; the first detection point and the second detection point are different detection points on the guide rail to be detected; According to a preset fitting algorithm, data fitting is performed on the received data to obtain the straightness of the guide rail to be detected.
2. The guide rail straightness detection method according to claim 1, characterized in that: The step of acquiring received data from a second detection point on the guide rail to be detected based on the transmitter sending transmitted data from a first detection point on the guide rail to be detected comprises: Based on the transmission data sent by the transmitter at any first detection point, respectively obtain the reception data of multiple second detection points; The height difference between two adjacent detection points is calculated according to the received data.
3. The guide rail straightness detection method according to claim 2, characterized in that: The step of performing data fitting on the received data according to a preset fitting algorithm to obtain the straightness of the guide rail to be detected includes: The least square method is used to perform data fitting on the height difference between the two adjacent detection points to obtain the straightness of the guide rail to be detected.
4. The guide rail straightness detection method according to claim 2, characterized in that: The received data of the second detection point at least includes a height difference from a transmitter to a receiver.
5. The guide rail straightness detection method according to claim 1, characterized in that: The first detection points and the second detection points are evenly distributed on the guide rail to be detected.
6. A guide rail straightness detection device, characterized in that: The device comprises: an acquisition module, configured to acquire received data of a second detection point on the guide rail to be detected based on transmission data sent by a transmitter from a first detection point on the guide rail to be detected; the first detection point and the second detection point are different detection points on the guide rail to be detected; The processing module is used to perform data fitting on the received data according to a preset fitting algorithm to obtain the straightness of the guide rail to be detected.
7. The guide rail straightness detection device according to claim 6, characterized in that: The acquisition module is used for: Based on the transmission data sent by the transmitter at any first detection point, respectively obtain the reception data of multiple second detection points; According to the received data, the height difference between two adjacent detection points is abnormally calculated.
8. The guide rail straightness detection device according to claim 7, characterized in that: The processing module is used for: The least square method is used to perform data fitting on the height difference between the two adjacent detection points to obtain the straightness of the guide rail to be detected.
9. An electronic device, characterized in that: It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor can implement the guide rail straightness detection method as described in any one of claims 1 to 5 when executing the program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the program, when executed by a processor, can implement the guide rail straightness detection method described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method for measuring straightness of super-long guide rail
CN103017690A
Installation detection and error analysis method for guide rail
CN110849298A
Height difference detection method and device, storage medium and electronic equipment
CN111637838A
Laser straightness measuring instrument and measuring method thereof
CN118293829A
Steel rail deformation static measurement system and method
CN118746253A