Machine tool guide rail surface curve machining control method, system, equipment and medium

The depth image of the guide rail is obtained through machine vision technology, the differences between the curved trajectory and the standard trajectory are identified, and the finishing data is corrected, which solves the problem of low machining accuracy of guide rail surfaces in the existing technology, and realizes high-precision guide rail surface processing.

CN119644908AInactive Publication Date: 2025-03-18NINGJIANG MASCH TOOL GRP CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510186661.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-03-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing machine tool guide surface processing methods have low accuracy, and manual measurements are prone to errors, resulting in low machining accuracy.

Method used

Using a machine vision-based method, the depth image of the target rail in the semi-processed state is obtained through the first viewing angle, the curve trajectory of the corresponding half-processed rail groove is obtained, and compared with the preset standard trajectory, the processing exceeds the amount and finishing starting point are obtained, and the finishing data is corrected, and the high-precision machining of the guide rail groove is finally realized.

Benefits of technology

The accuracy of guide rail surface processing is improved, the error of manual measurement is reduced, the processing efficiency is improved, and the high-precision processing of guide rail grooves is achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119644908A_ABST
    Figure CN119644908A_ABST
Patent Text Reader

Abstract

The invention discloses a machine tool guide rail surface curve machining control method, system and device and a medium, and relates to the technical field of precision machining control, and the method comprises the following steps: obtaining a depth image of a target guide rail in a semi-machining state based on a first visual angle; wherein the first visual angle is a visual angle directly facing the guide rail surface of the target guide rail, and the semi-machining state is a state that a half guide rail groove is machined in the guide rail surface of the target guide rail; according to the depth image, obtaining a curve track corresponding to half of the guide rail groove; comparing the curve track with a preset standard track to obtain a machining out-of-tolerance amount and a finish machining starting point; wherein the standard track is a track line corresponding to the standard guide rail groove; correcting the finish machining data according to the machining out-of-tolerance; according to the corrected finish machining data and the finish machining starting point, finish machining of one half of the guide rail groove is controlled to be completed, finish machining of the other half of the guide rail groove is controlled to be continuously completed, and the machining method has the beneficial effects that the machining precision is improved, and the machining efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of precision machining control technology, and in particular to a machine tool guide surface curve machining control method, system, equipment and medium. Background Art

[0002] Precision machine tools are the working machines of the manufacturing industry, and the manufacturing accuracy of the guide surface is the core indicator of the motion unit. In actual production, due to the influence of the accuracy of the processing equipment, ambient temperature, and the constraints of the part's own structure, the guide surface processing accuracy cannot fully meet the machine tool's own characteristic requirements.

[0003] At present, machine tool guides are generally divided into straight and curved types. Curved guides are more difficult to process and require precise machining of the guide surface curvature. The existing machining method is to use measuring tools to measure the curvature of the guide after grinding or milling to obtain error data, and then use the error data as compensation data to perform secondary finishing on the guide. This machining method is not only inefficient, but also prone to large human errors in manual measurement, resulting in large errors in the final machined guide and low machining accuracy. Summary of the invention

[0004] The main purpose of the present application is to provide a machine tool guide surface curve processing control method, system, equipment and medium, aiming to solve the technical problem of low precision of existing guide surface processing methods.

[0005] To achieve the above object, the present application provides a machine tool guide rail surface curve processing control method, comprising the following steps: A depth image of the target guide rail in a semi-processed state is acquired based on a first perspective; wherein the first perspective is a perspective facing the guide rail surface of the target guide rail, and the semi-processed state is a state in which half of the guide rail groove is processed on the guide rail surface of the target guide rail; According to the depth image, a curve trajectory corresponding to half of the guide rail groove is obtained; Compare the curve trajectory with the preset standard trajectory to obtain the machining tolerance and the finishing starting point; wherein the standard trajectory is the trajectory line corresponding to the standard guide groove; According to the machining tolerance, the finishing data is corrected; According to the corrected finishing data and the finishing starting point, the finishing of one half of the guideway groove is controlled to be completed, and the finishing of the other half of the guideway groove is controlled to be continued to be completed.

[0006] Optionally, the curve trajectory is compared with a preset standard trajectory to obtain the machining tolerance and the finishing starting point, including: The curve trajectory is overlapped with the preset standard trajectory based on the initial processing starting point to obtain a trajectory image; wherein one end of the curve trajectory is the initial processing starting point, and the other end of the curve trajectory is the processing end point; According to the trajectory image, the type of machining error is identified; wherein the machining error types include insufficient groove depth machining, excessive groove depth machining and mixed machining error, and the mixed machining error includes both insufficient groove depth machining and excessive groove depth machining; If the identified machining error type is insufficient groove depth machining, the first machining excess tolerance is obtained, and the initial machining starting point is used as the finishing starting point; If the identified machining error type is excessive groove depth machining, the second machining excess tolerance is obtained, and the machining end point is used as the starting point of fine machining; If it is identified as a mixed type machining error, the third machining excess tolerance is obtained, and the initial machining starting point and the machining end point are respectively used as the finishing starting point.

[0007] Optionally, obtaining the first machining tolerance includes: Connect the curve track in the track image with the other end point of the standard track that does not overlap, so as to obtain a first closed figure; According to the first closed figure, a first machining excess tolerance is obtained.

[0008] Optionally, obtaining the second machining tolerance includes: The standard track in the track image is translated so that the standard track coincides with the other end point of the curve track that does not coincide with the standard track; Connecting the initial processing starting point corresponding to the curve trajectory with the starting point of the standard trajectory to obtain a second closed figure; According to the second closed figure, the second machining tolerance is obtained.

[0009] Optionally, obtaining the third machining excess tolerance and taking the initial machining starting point and the machining end point as the finishing starting point respectively includes: Extracting a third closed figure and obtaining a fourth machining deviation; wherein the third closed figure is a closed figure formed by the intersection of the curved track and the standard track; The initial processing starting point is used as the finishing starting point of the first processing; wherein the first processing is processed from the initial processing starting point to the intersection of the curve track and the standard track; Extract the remaining trajectory line; wherein the remaining trajectory line is the trajectory line from the intersection position in the curve trajectory to the processing end point; The standard trajectory is translated so that the standard trajectory coincides with the other end point of the remaining trajectory line that does not coincide with the standard trajectory; Connect the remaining trajectory line and the position points of the corresponding intersections of the standard trajectory to obtain a fourth closed figure; According to the fourth closed figure, a fifth machining excess amount is obtained; wherein the sum of the fifth machining excess amount and the fourth machining excess amount is the third machining excess amount; The machining end point is used as the finishing starting point of the second stage of machining; wherein, the second stage of machining is from the machining end point to the intersection point corresponding to the standard trajectory.

[0010] Optionally, before acquiring the depth image of the target guide rail in the semi-processed state based on the first perspective, the method further includes: Acquire an arc image of the target guide rail based on a second viewing angle; wherein the second viewing angle is a viewing angle facing the top surface or the bottom surface of the target guide rail; According to the arc image, determine whether the arc degree of the target guide rail is qualified; If qualified, proceed to the next step; if unqualified, control enters the bending correction process and returns to the arc image of the target guide rail based on the second viewing angle.

[0011] Optionally, judging whether the curvature of the target guide rail is qualified according to the curvature image includes: Extracting a target arc line of the target guide rail corresponding to the guide rail surface; Overlap the target arc with the preset standard arc based on the midpoint position; Connect the endpoints of the target arc and the standard arc adjacent to each other to obtain a fifth closed figure; Obtaining the measured area of ​​the fifth closed figure; It is determined whether the measured area is smaller than a preset error area threshold value. If so, it is determined that the curvature of the target guide rail is qualified; if not, it is determined that the curvature of the target guide rail is unqualified.

[0012] To achieve the above purpose, the present application also provides a machine tool guideway surface curve processing control system, comprising: A graphics acquisition module, used to acquire a depth image of the target guide rail in a semi-processed state based on a first viewing angle; wherein the first viewing angle is a viewing angle facing the guide rail surface of the target guide rail, and the semi-processed state is a state in which the guide rail surface of the target guide rail is processed with half of the guide rail groove; A trajectory acquisition module, used to acquire a curve trajectory corresponding to half of the guide rail groove according to the depth image; A data processing module is used to compare the curve trajectory with a preset standard trajectory to obtain the machining tolerance and the finishing starting point; wherein the standard trajectory is the trajectory line corresponding to the standard guide groove; The data correction module is used to correct the finishing data according to the machining tolerance; The execution module is used for controlling the finishing of one half of the guideway groove according to the corrected finishing data and the finishing starting point, and controlling the finishing of the other half of the guideway groove.

[0013] To achieve the above objectives, the present application also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above method.

[0014] To achieve the above objectives, the present application also provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the above method.

[0015] The beneficial effects that this application can achieve are as follows: The present application first obtains a depth image of the target guide rail in a semi-processed state based on the first perspective. The depth image may contain the depth information of each pixel point corresponding to the half-processed guide rail groove, so that a curve trajectory corresponding to half of the guide rail groove can be constructed, and then the curve trajectory is compared with the preset standard trajectory to obtain the processing deviation and the finishing starting point, and the finishing data is corrected. According to the corrected finishing data and the finishing starting point, half of the guide rail groove is then subjected to secondary finishing. Since half of the guide rail groove and the other half of the guide rail groove are symmetrical structures, the finishing of the other half of the guide rail groove can be directly completed based on the corrected finishing data and the finishing starting point. In summary, the present application can realize non-contact measurement of guide rail groove processing errors based on machine vision recognition technology, and has higher accuracy and measurement efficiency than manual measurement, thereby improving processing accuracy, and based on the measurement and processing of half of the guide rail groove, the finishing data is corrected before processing the other half of the guide rail groove, without the need to process all the guide rail grooves and then perform error measurement and finishing, thereby improving processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the prior art description. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0017] Figure 1 A schematic flow chart of a machine tool guide rail surface curve machining control method in an embodiment of the present application; Figure 2 This is a schematic diagram of the finished product structure of the target guide rail in the embodiment of the present application; Figure 3 It is a schematic diagram of collecting a depth image of a target guide rail in a semi-processed state based on a depth camera in an embodiment of the present application; Figure 4 This is a schematic diagram of the principle of calculating the first machining excess tolerance when the machining error type is insufficient groove depth machining in the embodiment of the present application; Figure 5 This is a schematic diagram of the principle of calculating the second machining excess tolerance when the machining error type is excessive groove depth machining in the embodiment of the present application; Figure 6 It is a schematic diagram of trajectory comparison when the machining error type is a mixed machining error in the embodiment of the present application; Figure 7 It is a schematic diagram of the principle of calculating the third machining excess tolerance when the machining error type is a mixed machining error in the embodiment of the present application; Figure 8 It is a schematic diagram of the principle of constructing a fifth closed figure based on an arc image in an embodiment of the present application.

[0018] Reference numerals: 110-target guide rail, 120-guide rail groove, 130-depth camera, 140-curved track, 141-remaining track line, 150-standard track, 160-initial processing starting point, 170-processing end point, 180-first closed figure, 190-second closed figure, 210-third closed figure, 220-fourth closed figure, 230-target arc, 240-standard arc, 250-fifth closed figure.

[0019] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0021] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.

[0022] In this application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0023] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "and / or" appearing in the full text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0024] Example 1 Reference Figure 1-Figure 8 This embodiment provides a machine tool guide rail surface curve processing control method, comprising the following steps: A depth image of the target guide rail 110 in a semi-processed state is acquired based on a first perspective; wherein the first perspective is a perspective facing the guide rail surface of the target guide rail 110, and the semi-processed state is a state in which the guide rail surface of the target guide rail 110 is processed into half of the guide rail groove 120; According to the depth image, a curved track 140 corresponding to the half guide groove 120 is obtained; Compare the curved trajectory 140 with the preset standard trajectory 150 to obtain the machining tolerance and the finishing starting point; wherein the standard trajectory 150 is the trajectory line corresponding to the standard guide groove 120; According to the machining tolerance, the finishing data is corrected; According to the corrected finishing data and the finishing starting point, the finishing of one half of the guide rail groove 120 is controlled to be completed, and the finishing of the other half of the guide rail groove 120 is controlled to be continued to be completed.

[0025] In this embodiment, a depth image of the target guide rail 110 in a semi-processed state is first acquired based on the first perspective. The depth image may include depth information of each pixel point corresponding to the half-processed guide rail groove 120, so that a curved trajectory 140 corresponding to the half guide rail groove 120 can be constructed, and then the curved trajectory 140 is compared with the preset standard trajectory 150 to obtain the machining tolerance and the finishing starting point, and the finishing data is corrected. According to the corrected finishing data and the finishing starting point, half of the guide rail groove 120 is then finished for the second time. Since one half of the guide rail groove 120 and the other half of the guide rail groove 120 are symmetrical structures, the finishing of the other half of the guide rail groove 120 can be directly completed based on the corrected finishing data and the finishing starting point. In summary, this embodiment can realize non-contact measurement of the machining error of the guide rail groove 120 based on machine vision recognition technology, and has higher accuracy and measurement efficiency than manual measurement, thereby improving the machining accuracy. Moreover, based on the measurement and machining of half of the guide rail groove 120, the fine machining data is corrected before machining the other half of the guide rail groove 120. There is no need to machine the entire guide rail groove 120 and then perform error measurement and fine machining, thereby improving the machining efficiency.

[0026] It should be noted that the corresponding depth image can be collected based on the depth camera 130, and the depth camera 130 should be located in the middle of the half guide groove 120 to facilitate the full collection of image information. The two curved sides of the target guide rail 110 are guide rail surfaces, so the guide rail grooves 120 need to be processed on both sides of the guide rail surface. After the processing of the guide rail groove 120 on one side is completed based on the above method, the processing of the guide rail groove 120 on the other side can also be guided based on the above method.

[0027] As an optional implementation, the curved trajectory 140 is compared with the preset standard trajectory 150 to obtain the machining tolerance and the finishing starting point, including: The curved track 140 is overlapped with the preset standard track 150 based on the initial processing starting point 160 to obtain a track image; wherein one end of the curved track 140 is the initial processing starting point 160, and the other end of the curved track 140 is the processing end point 170; According to the trajectory image, the type of machining error is identified; wherein the machining error types include insufficient groove depth machining, excessive groove depth machining and mixed machining error, and the mixed machining error includes both insufficient groove depth machining and excessive groove depth machining; If the identified machining error type is insufficient groove depth machining, the first machining excess tolerance is obtained, and the initial machining starting point 160 is used as the finishing starting point; If the machining error type is identified as excessive groove depth machining, the second machining excess tolerance is obtained, and the machining end point 170 is used as the finishing starting point; If it is identified as a mixed type machining error, the third machining excess tolerance is obtained, and the initial machining starting point 160 and the machining end point 170 are respectively used as the finishing starting points.

[0028] In this embodiment, after the first rough machining of half of the guide rail groove 120 and the corresponding curved trajectory 140, since the starting positions of the curved trajectory 140 and the standard trajectory 150 are the same, that is, there is no position offset, the curved trajectory 140 and the standard trajectory 150 are overlapped based on the initial machining starting point 160, so that a trajectory image showing the trajectory direction information of the curved trajectory 140 and the standard trajectory 150 can be obtained. The machining error type can be identified based on the trajectory image, which is generally divided into three types. The first type is insufficient groove depth machining, that is, except for the initial machining starting point 160, the overall machining depth of the guide rail groove 120 does not reach the theoretical machining depth. At this time, the first machining excess tolerance can be calculated based on the relative position of the curved trajectory 140 and the standard trajectory 150, and secondary finishing can be performed with the initial machining starting point 160 as the finishing starting point; the second type is groove depth Over-processing, that is, except for the initial processing starting point 160, the overall processing depth of the guide groove 120 exceeds the theoretical processing depth. At this time, the corresponding second processing excess tolerance can be obtained, and the processing end point 170 is the position with the largest processing depth. Taking into account the processing allowance and processing positioning problems, the processing end point 170 is used as the new finishing starting point for the secondary finishing here, and is processed to the starting position of the standard trajectory 150 according to the standard trajectory 150, which is convenient for quickly positioning the processing position; the third type is a mixed processing error. Generally, the front section processing is insufficient groove depth processing, and the rear section processing is excessive groove depth processing. The third processing excess tolerance can be calculated. Since the path of the curved trajectory 140 is relatively complex, it is necessary to use the initial processing starting point 160 and the processing end point 170 as the finishing starting points for finishing in two sections, so as to ensure the accuracy of the secondary processing position positioning and will not exceed the processing allowance.

[0029] It should be noted that the width of the target guide rail 110 should have a certain machining allowance to ensure that the machining allowance is sufficient during subsequent fine machining.

[0030] As an optional implementation, obtaining the first machining excess tolerance includes: Connect the curved track 140 in the track image with the other end point of the standard track 150 that does not overlap, so as to obtain a first closed figure 180; According to the first closed figure 180, the first machining excess tolerance is obtained.

[0031] In this embodiment, when calculating the first machining deviation, a line can be connected based on the other end point of the curved trajectory 140 that does not overlap with the standard trajectory 150 to obtain a first closed figure 180. The first closed figure 180 can be converted into point cloud data to obtain the offset coordinate position of each trajectory point, and the first machining deviation can be quickly calculated.

[0032] As an optional implementation, obtaining the second machining tolerance includes: The standard track 150 in the track image is translated so that the standard track 150 coincides with another end point of the curved track 140 that does not coincide with the standard track 150; Connecting the initial processing starting point 160 corresponding to the curved track 140 with the starting point of the standard track 150 to obtain a second closed figure 190; According to the second closed figure 190, the second machining excess tolerance is obtained.

[0033] In this embodiment, when calculating the second machining deviation, since the machining end point 170 is used as the new finishing starting point, the standard trajectory 150 is translated to make it coincide with the other end point that does not overlap with the curved trajectory 140, thereby forming a new trajectory image. The initial machining starting point 160 corresponding to the curved trajectory 140 is connected with the starting point of the standard trajectory 150 to obtain a second closed figure 190. Based on the second closed figure 190, the second machining deviation can be calculated by point cloud coordinate transformation.

[0034] As an optional implementation, obtaining the third machining excess tolerance and taking the initial machining starting point 160 and the machining end point 170 as the finishing starting point respectively include: Extract the third closed figure 210 and obtain the fourth machining tolerance; wherein the third closed figure 210 is a closed figure formed by the intersection of the curved track 140 and the standard track 150; The initial processing starting point 160 is used as the finishing starting point of the first processing; wherein the first processing is processed from the initial processing starting point 160 to the intersection of the curved track 140 and the standard track 150; Extract the remaining trajectory line 141; wherein the remaining trajectory line 141 is the trajectory line from the intersection position in the curved trajectory 140 to the processing end point 170; The standard trajectory 150 is translated so that the standard trajectory 150 coincides with another end point of the remaining trajectory line 141 that does not coincide with the standard trajectory 150; Connect the remaining trajectory line 141 and the position points corresponding to the intersections of the standard trajectory 150 to obtain a fourth closed figure 220; According to the fourth closed figure 220, a fifth machining excess amount is obtained; wherein the sum of the fifth machining excess amount and the fourth machining excess amount is the third machining excess amount; The processing end point 170 is used as the finishing starting point of the second processing; wherein, the second processing is processed from the processing end point 170 to the intersection point corresponding to the standard trajectory 150.

[0035] In this embodiment, when calculating the third machining excess tolerance, since the curved trajectory 140 at this time is a trajectory line formed by a mixed machining error, it must have an intersection with the standard trajectory 150, and the front segment trajectory curve (i.e., the curve segment corresponding to the initial machining starting point 160 to the intersection position) and the standard trajectory 150 have formed a third closed figure 210, so the corresponding fourth machining excess tolerance is calculated first, and the initial machining starting point 160 is used as the finishing starting point of the first segment machining. After completing the first segment machining, the front segment trajectory curve can be hidden to obtain the remaining trajectory line 141. At this time, the remaining trajectory Line 141 is a curve formed by excessive groove processing. Therefore, based on the same principle, the standard trajectory 150 is translated to the other end point that does not overlap with the remaining trajectory line 141 to overlap, and the corresponding intersection points of the remaining trajectory line 141 and the standard trajectory 150 are connected to obtain the fourth closed figure 220, and the corresponding fifth processing excess tolerance can be calculated, and the processing end point 170 is used as the finishing starting point of the second stage of processing. Therefore, this embodiment is based on two stages of finishing and two different finishing starting points, which can ensure the processing accuracy while completing the finishing with less processing allowance.

[0036] As an optional implementation manner, before acquiring the depth image of the target guide rail 110 in the semi-processed state based on the first perspective, the method further includes: Acquire an arc image of the target guide rail 110 based on a second viewing angle; wherein the second viewing angle is a viewing angle facing the top surface or the bottom surface of the target guide rail 110; According to the arc image, judging whether the arc degree of the target guide rail 110 is qualified; If qualified, the process proceeds to the next step; if unqualified, the process enters the bending correction process and returns to the step of acquiring the arc image of the target guide rail 110 based on the second viewing angle.

[0037] In this embodiment, before the target guide rail 110 is processed on the guide rail surface, it is necessary to ensure that the curvature of the target guide rail 110 meets the qualified standards, otherwise it will affect the subsequent processing accuracy. Therefore, the curvature image of the target guide rail 110 can be obtained based on the second perspective, and combined with machine vision recognition technology, it can be quickly and accurately determined whether the curvature of the target guide rail 110 is qualified. If it is unqualified, correction (such as grinding or pressure adjustment) is required until it meets the qualified standards.

[0038] As an optional implementation, judging whether the curvature of the target guide rail 110 is qualified according to the curvature image includes: Extracting a target arc line 230 corresponding to the guide surface of the target guide 110; Overlapping the target arc with the preset standard arc 240 based on the midpoint position; Connect the endpoints of the target arc and the standard arc 240 adjacent to each other to obtain a fifth closed figure 250; Obtaining the measured area of ​​the fifth closed figure 250; It is determined whether the measured area is smaller than a preset error area threshold. If so, it is determined that the curvature of the target guide rail 110 is qualified. If not, it is determined that the curvature of the target guide rail 110 is unqualified.

[0039] In this embodiment, when judging whether the curvature of the target guide rail 110 is qualified, the target arc 230 of the guide surface corresponding to the target guide rail 110 in the arc image can be extracted, and then the target arc and the standard arc 240 are overlapped based on the midpoint position, and the adjacent endpoints of the target arc and the standard arc 240 are connected to obtain the fifth closed figure 250. The degree of deviation of the curvature of the target guide rail 110 is indirectly characterized by calculating the measurement area of ​​the fifth closed figure 250, and taking into account some measurement errors and allowable errors, an error area threshold can be set here. If the measurement area is less than the error area threshold, it can be judged that the curvature of the target guide rail 110 is qualified. Otherwise, it is unqualified. A quantitative assessment can be performed, and the judgment result is more accurate and reliable.

[0040] Example 2 Based on the same inventive idea as the above embodiment, Figure 1-Figure 8 This embodiment also provides a machine tool guide rail surface curve processing control system, including: A graphics acquisition module, used to acquire a depth image of the target guide rail 110 in a semi-processed state based on a first perspective; wherein the first perspective is a perspective facing the guide rail surface of the target guide rail 110, and the semi-processed state is a state in which the guide rail surface of the target guide rail 110 is processed with half of the guide rail groove 120; A trajectory acquisition module, used to acquire a curved trajectory 140 corresponding to a half of the guide groove 120 according to the depth image; A data processing module is used to compare the curved trajectory 140 with a preset standard trajectory 150 to obtain a machining tolerance and a finishing starting point; wherein the standard trajectory 150 is a trajectory line corresponding to the standard guide groove 120; The data correction module is used to correct the finishing data according to the machining tolerance; The execution module is used to control the finishing of one half of the guideway groove 120 according to the corrected finishing data and the finishing starting point, and to control the finishing of the other half of the guideway groove 120 . The relevant explanations and examples of each module in the device of this embodiment can refer to the method of the aforementioned embodiment, and will not be repeated here.

[0041] Example 3 Based on the same inventive concept as the above-mentioned embodiment, this embodiment provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the above-mentioned method.

[0042] Example 4 Based on the same inventive concept as the aforementioned embodiment, this embodiment provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the aforementioned method.

[0043] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A machine tool guide surface curve processing control method, characterized in that: The following steps are involved: A depth image of the target guide rail in a semi-processed state is acquired based on a first perspective; wherein the first perspective is a perspective facing the guide rail surface of the target guide rail, and the semi-processed state is a state in which half of the guide rail groove is processed on the guide rail surface of the target guide rail; According to the depth image, a curve trajectory corresponding to half of the guide rail groove is obtained; Compare the curve trajectory with the preset standard trajectory to obtain the machining tolerance and the finishing starting point; wherein the standard trajectory is the trajectory line corresponding to the standard guide groove; According to the machining tolerance, the finishing data is corrected; According to the corrected finishing data and the finishing starting point, the finishing of one half of the guideway groove is controlled to be completed, and the finishing of the other half of the guideway groove is controlled to be continued to be completed.

2. A machine tool guideway surface curve machining control method as claimed in claim 1, characterized in that: Compare the curve trajectory with the preset standard trajectory to obtain the machining tolerance and finishing starting point, including: The curve trajectory is overlapped with the preset standard trajectory based on the initial processing starting point to obtain a trajectory image; wherein one end of the curve trajectory is the initial processing starting point, and the other end of the curve trajectory is the processing end point; According to the trajectory image, the type of machining error is identified; wherein the machining error types include insufficient groove depth machining, excessive groove depth machining and mixed machining error, and the mixed machining error includes both insufficient groove depth machining and excessive groove depth machining; If the identified machining error type is insufficient groove depth machining, the first machining excess tolerance is obtained, and the initial machining starting point is used as the finishing starting point; If the identified machining error type is excessive groove depth machining, the second machining excess tolerance is obtained, and the machining end point is used as the starting point of fine machining; If it is identified as a mixed type machining error, the third machining excess tolerance is obtained, and the initial machining starting point and the machining end point are respectively used as the finishing starting point.

3. A machine tool guideway surface curve machining control method as claimed in claim 2, characterized in that: Get the first processing tolerance, including: Connect the curve track in the track image with the other end point of the standard track that does not overlap, so as to obtain a first closed figure; According to the first closed figure, a first machining excess tolerance is obtained.

4. A machine tool guideway surface curve machining control method as claimed in claim 2, characterized in that: Get the second processing tolerance, including: The standard track in the track image is translated so that the standard track coincides with the other end point of the curve track that does not coincide with the standard track; Connecting the initial processing starting point corresponding to the curve trajectory with the starting point of the standard trajectory to obtain a second closed figure; According to the second closed figure, the second machining tolerance is obtained.

5. A machine tool guideway surface curve machining control method as claimed in claim 2, characterized in that: Obtain the third machining excess, and use the initial machining start point and machining end point as the finishing start point, including: Extracting a third closed figure and obtaining a fourth machining deviation; wherein the third closed figure is a closed figure formed by the intersection of the curved track and the standard track; The initial processing starting point is used as the finishing starting point of the first processing; wherein the first processing is processed from the initial processing starting point to the intersection of the curve track and the standard track; Extract the remaining trajectory line; wherein the remaining trajectory line is the trajectory line from the intersection position in the curve trajectory to the processing end point; The standard trajectory is translated so that the standard trajectory coincides with the other end point of the remaining trajectory line that does not coincide with the standard trajectory; Connect the remaining trajectory line and the position points of the corresponding intersections of the standard trajectory to obtain a fourth closed figure; According to the fourth closed figure, a fifth machining excess amount is obtained; wherein the sum of the fifth machining excess amount and the fourth machining excess amount is the third machining excess amount; The machining end point is used as the finishing starting point of the second stage of machining; wherein, the second stage of machining is from the machining end point to the intersection point corresponding to the standard trajectory.

6. A machine tool guideway surface curve machining control method as claimed in claim 1, characterized in that: Before acquiring the depth image of the target guide rail in the semi-processed state based on the first perspective, the method further includes: Acquire an arc image of the target guide rail based on a second viewing angle; wherein the second viewing angle is a viewing angle facing the top surface or the bottom surface of the target guide rail; According to the arc image, determine whether the arc degree of the target guide rail is qualified; If qualified, proceed to the next step; if unqualified, control enters the bending correction process and returns to the arc image of the target guide rail based on the second viewing angle.

7. A machine tool guideway surface curve machining control method as claimed in claim 6, characterized in that: According to the arc image, determine whether the arc degree of the target guide rail is qualified, including: Extracting a target arc line of the target guide rail corresponding to the guide rail surface; Overlap the target arc with the preset standard arc based on the midpoint position; Connect the endpoints of the target arc and the standard arc adjacent to each other to obtain a fifth closed figure; Obtaining the measured area of ​​the fifth closed figure; It is determined whether the measured area is smaller than a preset error area threshold value. If so, it is determined that the curvature of the target guide rail is qualified; if not, it is determined that the curvature of the target guide rail is unqualified.

8. A machine tool guide surface curve processing control system, characterized in that: include: A graphics acquisition module, used to acquire a depth image of the target guide rail in a semi-processed state based on a first viewing angle; wherein the first viewing angle is a viewing angle facing the guide rail surface of the target guide rail, and the semi-processed state is a state in which the guide rail surface of the target guide rail is processed with half of the guide rail groove; A trajectory acquisition module, used to acquire a curve trajectory corresponding to half of the guide rail groove according to the depth image; A data processing module is used to compare the curve trajectory with a preset standard trajectory to obtain the machining tolerance and the finishing starting point; wherein the standard trajectory is the trajectory line corresponding to the standard guide groove; The data correction module is used to correct the finishing data according to the machining tolerance; The execution module is used for controlling the finishing of one half of the guideway groove according to the corrected finishing data and the finishing starting point, and controlling the finishing of the other half of the guideway groove.

9. A computer device, characterized in that: The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a machine tool guide surface curve processing control method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement a machine tool guide surface curve processing control method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Contour registration method used in train guide rail contour measurement based on machine vision

    CN104296682A

  • Complicated curved face milling, grinding and measuring integrated machining machine tool and forming method

    CN110076577A

  • Curve control method based on numerical control machine tool machining guide rail surface

    CN115562151A

  • Workpiece machining track control method based on machine vision and related device

    CN115586749A

  • Honeycomb material processing surface profile precision measuring equipment and measuring method thereof

    CN116765936A