A CNC machine tool turntable precision detection tool and its use method
By designing a CNC machine tool rotary table accuracy inspection fixture, and utilizing automatic detection by the machine tool probe combined with circle fitting and polynomial fitting, the problem of low efficiency in the existing technology is solved, realizing fast and accurate rotary table accuracy inspection and compensation, and improving inspection efficiency and automation.
Patent Information
- Application Number
- CN202411000994.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Existing methods for measuring the accuracy of CNC machine tool rotary tables are inefficient, rely on manual operation, and result in long testing times and insufficient accuracy, failing to meet the rapid testing needs of smart workshops.
Design a CNC machine tool rotary table accuracy inspection fixture, including a circular fixture body with multiple inspection points. Automatic inspection is achieved through the machine tool probe, and automatic inspection and compensation are realized by combining least squares method fitting of circles and polynomial fitting. The program automatically judges the error level and outputs corresponding actions.
This reduces the turntable accuracy testing time from 1 hour to 5 minutes, completely eliminating manual intervention, improving testing efficiency and accuracy, reducing errors caused by manual operation, and enhancing the automation level of machine tool accuracy testing.
Smart Images

Figure CN118528071B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of numerical control machine tool processing, and in particular to a numerical control machine tool turntable precision detection tool and a use method thereof. Background Art
[0002] At present, the accuracy of CNC machine tool turntables is generally detected using laser interferometers and supporting tools. The tool adjustment and laser light source debugging during the detection process are completely dependent on manual work, which has the disadvantages of low detection efficiency, time-consuming and labor-intensive. It takes about 1 hour to complete the accuracy detection of a CNC machine tool turntable using this method.
[0003] Existing technologies include a Chinese invention patent with publication number CN102566286A, entitled "A method for improving the accuracy of a turntable", in which a plurality of marks are arranged on the turntable, corresponding to different angles, and the marks are aligned each time the turntable rotates an angle; the patented method is similar to the traditional laser interferometer detection method, and has low detection efficiency, and cannot meet the needs of rapid accuracy detection of CNC machine tools in smart workshops; another example is a Chinese invention patent with publication number CN109822238A, entitled "A method, device, system and storage medium for calibrating the accuracy of a machining turntable", in which a plurality of workstations are installed on the turntable, and the actual rotation angle and the motor rotation angle are obtained; the patent calibrates the turntable accuracy by modifying the drive motor parameters.
[0004] Another example is the Chinese invention patent with publication number CN103831665A, entitled A method for detecting and correcting the positioning accuracy of the rotating axis of a five-axis machine tool. It first detects and compensates the RTCP accuracy through a straight rod, and then uses the relationship between the corresponding angle RTCP accuracy and the rotating axis positioning accuracy to correct the rotating axis positioning accuracy. The patented method relies on the RTCP accuracy to detect and compensate for the positioning accuracy. The resulting positioning accuracy will bring about the RTCP accuracy error, and the positioning accuracy error will also affect the RTCP accuracy. The two affect each other, resulting in inaccurate positioning accuracy error detection results. In addition, the patented method uses traditional manual detection methods, which are inefficient and cannot guarantee the accuracy of the detection data. Summary of the invention
[0005] The present application aims to solve the above-mentioned problems existing in the prior art, and now proposes a CNC machine tool turntable precision detection tooling and a method of using the same.
[0006] In order to achieve the above object, the technical solution of the present invention is as follows:
[0007] A CNC machine tool turntable precision detection tool includes a tool body that is generally circular. The middle part of the tool body includes two layers of upper and lower distribution structures. The first layer structure is a regular polygon and the second layer structure is a circular ring. The upper surface of the tool body has four mounting holes of the same size, which are evenly distributed at 90 degrees. Multiple detection points are arranged on the upper surfaces of the first layer structure and the second layer structure.
[0008] Furthermore, the flatness of each side of the regular polygon is consistent.
[0009] Furthermore, the circular ring is concentric with the regular polygon of the first layer structure.
[0010] Furthermore, the upper surface and the bottom surface of the tooling body are both high-precision surfaces, both of which are ground, with a flatness error of ≤0.005mm and a parallelism error of the two planes of ≤0.01mm.
[0011] A method for using a CNC machine tool turntable accuracy detection tool comprises the following steps:
[0012] Step S1. Install the inspection tool: install the tool in the center groove of the turntable, adjust the upper surface of the tool to be parallel to the workbench, and adjust the second-layer structural ring of the tool to be concentric with the turntable; the tool and the turntable are fixed as one, and the tool accuracy is equal to the accuracy of the reaction turntable;
[0013] Step S2. Detect the X and Y coordinates of the three-dimensional coordinates of the center of the circle: call the CNC machine tool probe to detect four detection points on the ring of the second layer structure of the tooling, and the four detection points are distributed at 90° intervals; the horizontal and vertical coordinates of the four detection points are marked as [ ]; The coordinates of the four detected points are calculated by the least square method to fit the circle, and the calculated two-dimensional center coordinates of the circle are marked as (X, Y);
[0014] Step S3. Detect the Z coordinate of the three-dimensional coordinate of the center of the circle: Move the machine tool probe to the two-dimensional coordinate of the center of the circle calculated in step S2, and move along the X-axis / Y-axis with the center of the circle as the reference to detect the Z coordinates of the four detection points on the upper surface of the tooling; the Z coordinates of the four detection points are marked as ( ), take the average value to calculate the Z coordinate of the ring;
[0015] Step S4. Execute the first level judgment: compare the calculated three-dimensional coordinates (X, Y, Z) of the center of the ring with the three-dimensional coordinates of the center of the ring detected in history, and the difference is the change in the center position of the turntable;
[0016] Step S5. Detect rotation error: The first layer structure of the detection tool is a regular polygon with n sides, and two measuring points are set on each side of the regular polygon; when the turntable is moved to 0°, the two detection points of the first side are recorded as [ ]; Based on the first edge, the turntable is controlled to move incrementally to Angle, the horizontal and vertical coordinates of the two detection points on the second edge are marked as [ ]; Use the four detection points on the first and second sides to confirm the two lines, and the intersection of the two lines will give the angle. Therefore, the angle can be calculated using the four detection points on the two sides. ; If the turntable moves There is no rotation error at this angle. Turntable movement The rotation error at the angle is controlled by this principle to control the incremental feed movement of the turntable ( ) angle, the horizontal and vertical coordinates of the two detection points from the third edge to the nth edge are marked as [ ], calculate the rotation error from the third edge to the nth edge ;
[0017] Step S6. Fit the detected rotation error with a polynomial: According to the number of points k stored in the CNC system turntable positioning error compensation list and the number of sides n of the regular polygon of the first layer of the detection tooling, if k=n, the rotation error calculated in step S5 can be directly fitted. Substitute into the compensation list. If k≠n, a polynomial fitting is required for the detected rotation angle and the corresponding rotation error to output compensation values for more detected angles.
[0018] Step S7. Execute the second level judgment: judge the error level of the rotation error λ, and output the corresponding action accordingly. If the rotation error λ is greater than the preset upper threshold, the program ends and a red alarm is output; if the rotation error λ is between the preset upper threshold and the preset lower threshold, the adjustment compensation program is executed and the test is performed again; if the rotation error λ is less than the preset lower threshold, the test process ends.
[0019] Furthermore, in step S2, the detected horizontal and vertical coordinates of the four points are [ ] Perform the least squares fitting circle calculation, the calculation formula is as follows:
[0020]
[0021] In the circle expression obtained by least squares fitting, for The coefficient of the first term, for The coefficient of the first term, is the constant term coefficient, which is calculated as follows:
[0022] ;
[0023] ;
[0024] ;
[0025] Where N is the total number of detection points, For the The detection coordinates of the detection points, To solve the coefficients of the least squares fitting circle The parameters required in the calculation process are calculated as follows:
[0026] ;
[0027] ;
[0028] ;
[0029] ;
[0030] ;
[0031] ;
[0032] Then the two-dimensional coordinates of the center of the ring are .
[0033] Furthermore, in step S3, the four detection points on the upper surface of the detection tooling must be located on the four quadrants of the ring; the Z-direction coordinates of the four detection points ( ) Take the average value and calculate the Z coordinate of the ring, that is,
[0034] Furthermore, in step S4, the calculated three-dimensional coordinates (X, Y, Z) of the center of the ring are compared with the three-dimensional coordinates ( ) to compare and calculate the change of the turntable center , where △X is the change in the X-axis direction, △Y is the change in the Y-axis direction, and △Z is the change in the Z-axis direction.
[0035] Furthermore, in step S5, the horizontal coordinates and vertical coordinates of the four detection points on the two edges are [ ], combined with the trigonometric function relationship, the turntable movement is calculated Rotation error at angle
[0036]
[0037] Calculate the incremental feed movement of the rotary table to The rotation error :
[0038] .
[0039] Furthermore, in step S6, a polynomial fitting is performed on the detected rotation angle μ and the corresponding rotation error λ, and the polynomial fitting expression is: , the fitting coefficient will be calculated using the rotation angle and rotation error obtained by the detection fixture. The calculation formula is as follows:
[0040]
[0041] in is the polynomial constant term, is a first-order polynomial, is the quadratic term of the polynomial, N is the total number of detection points, The detected The rotation angles and their corresponding rotation errors.
[0042] Furthermore, in step S7, the numerical control program will automatically determine the error level of the three-dimensional coordinate change of the center of the ring and the rotation error λ, and output the corresponding action:
[0043] (1) First-level judgment: If the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z is less than D, D is the preset threshold, no alarm is output, and the program automatically jumps to the next detection target; if the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z is greater than or equal to D, the program automatically pauses, the machine panel outputs a red alarm message, and the system automatically outputs the center accuracy in text form for maintenance personnel to check;
[0044] (2) Second level judgment:
[0045] If the turntable rotation error λ is less than the preset lower threshold λ E , the program automatically jumps to the next detection target until the last detection target is completed, at which time a prompt message is output;
[0046] If the upper threshold λ is preset F ≥λ of the turntable rotation error ≥ preset lower threshold λ E When the program is completed, it will automatically jump to the next detection target. After the last detection target is completed, the program will jump again, and by judging the number of compensation points and the number of edges of the tooling polygon, it will execute the compensation list program after the compensation value is updated; and output the prompt information;
[0047] If the turntable rotation error λ> the preset upper threshold λ F When the program automatically jumps to the next detection target, it will output a red alarm message until the last detection target is completed. At the same time, the system automatically outputs various rotation errors in text form for maintenance personnel to check.
[0048] The advantages of this application are:
[0049] 1. The detection tooling of the present invention installs the rapid detection tooling on the rotation center of the turntable, forming an integral body with the turntable. The detection surface on the tooling is automatically detected by the probe loaded on the machine tool, so as to achieve the purpose of rapid detection and evaluation of the turntable accuracy. The detection time only takes 5 minutes, which greatly improves the detection efficiency.
[0050] 2. The method of using the present invention completely gets rid of human intervention in the detection and compensation process, can make the operation process accurate and effective, and effectively improve the operation efficiency.
[0051] 3. The use method of the present invention can automatically detect and compensate for the turntable precision deviation, effectively avoiding the influence of errors caused by manual operation.
[0052] 4. The use method of the present invention improves the degree of automation of machine tool precision detection, reasonably increases the frequency of precision detection, and effectively avoids the scrapping of parts due to precision deviation.
[0053] 5. The method of using the present invention calculates the change in the three-dimensional coordinates of the center of the turntable and the rotation error of the turntable. The program automatically determines the error level and performs corresponding actions. The tooling is installed in the groove at the center of the turntable and fixed to the turntable as a whole. Once installed, it can be used permanently. By running the pre-compiled detection program, the machine tool probe is automatically called to quickly detect the detection surface of the tooling. After the detection is completed, the turntable accuracy change is automatically evaluated. The entire detection process completely relies on the automatic operation of the program without manual intervention, and has the advantages of low personnel requirements and efficient detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a front schematic diagram of the detection tooling of the present invention.
[0055] Figure 2 It is a schematic diagram of the back side of the detection tooling of the present invention.
[0056] Figure 3 It is a front view of the detection tooling of the present invention.
[0057] Figure 4 It is a distribution diagram of measuring points on the upper surface of the detection tooling of the present invention.
[0058] Figure 5 It is a distribution diagram of measuring points of the detection tool ring of the present invention.
[0059] Figure 6 It is a regular polygon measurement point distribution diagram of the detection tooling of the present invention.
[0060] Figure 7 It is a flow chart of the method for using the detection tooling of the present invention.
[0061] In the figure: 1-first side, 2-second side, 3-third side, 4-fourth side, 5-fifth side, 6-sixth side, 7-upper surface, 8-circular ring, 9-mounting hole, 10-bottom surface, 11-first measuring point of upper surface, 12-second measuring point of upper surface, 13-third measuring point of upper surface, 14-fourth measuring point of upper surface, 15-first measuring point of circular ring, 16-second measuring point of circular ring, 17-third measuring point of circular ring, 18-fourth measuring point of circular ring, 19-first side detection point, 20-second side detection point, 21-third side detection point, 22-fourth side detection point, 23-fifth side detection point, 24-sixth side detection point. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solutions and advantages of the embodiments of the invention clearer, the technical solutions in the embodiments of the invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the invention. Obviously, the described embodiments are part of the embodiments of the invention, not all of the embodiments. Generally, the components of the embodiments of the invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0063] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0065] In the description of the present invention, it should be noted that the terms "upper", "vertical", "inner", "outer", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, or the orientation or positional relationship commonly understood by those skilled in the art, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0066] The aircraft surface feature segmentation method based on contour constraint optimization of the present invention completes the segmentation task of the target in the image based on the deep learning network. The feature information in the image is learned through the feature extraction backbone network, and then the outer contour constraint of the target is fitted based on the feature information, and the target to be segmented in the image is preliminarily segmented. Finally, the target contour constraint is used to optimize the segmentation result, so as to achieve high-precision segmentation of each target instance in the image.
[0067] Example 1
[0068] like Figure 1-Figure 6 As shown, a CNC machine tool turntable precision detection tool includes a tool body that is generally circular, and the middle part of the tool body includes two layers of upper and lower distribution structures, the first layer structure is a regular polygon, and the second layer structure is a ring 8. The upper surface 7 of the tool body has four mounting holes 9 of the same size, which are evenly distributed at 90 degrees. The upper surface 7 and the bottom surface 10 of the tool have precision requirements. Multiple detection points are set on the upper surface 7 of the first layer structure and the second layer structure.
[0069] Furthermore, the flatness of each side of the regular polygon is consistent, which can reduce the detection error of the machine tool probe.
[0070] Furthermore, the circular ring 8 is concentric with the regular polygon of the first layer structure, and the circular ring 8 is used to adjust the concentricity with the turntable during the installation of the tooling.
[0071] Furthermore, the upper surface 7 and the bottom surface 10 of the tool body are both high-precision surfaces, both of which are made by grinding, with a flatness error of ≤0.005mm and a parallelism error of the two planes of ≤0.01mm.
[0072] Example 2
[0073] like Figure 7 As shown, a method for using a CNC machine tool turntable precision detection tooling comprises the following steps:
[0074] Step S1. Install the inspection tool: install the tool in the center groove of the turntable, adjust the upper surface of the tool to be parallel to the workbench, and adjust the second-layer structural ring of the tool to be concentric with the turntable; the tool and the turntable are fixed as one, and the tool accuracy is equal to the accuracy of the reaction turntable;
[0075] Step S2. Detect the X and Y coordinates of the three-dimensional coordinates of the center of the circle: call the CNC machine tool probe to detect four detection points on the ring of the second layer structure of the tooling, and the four detection points are distributed at 90° intervals; the horizontal and vertical coordinates of the four detection points are marked as [ ]; The coordinates of the four detected points are calculated by the least square method to fit the circle, and the calculated two-dimensional center coordinates of the circle are marked as (X, Y);
[0076] Step S3. Detect the Z coordinate of the three-dimensional coordinate of the center of the circle: Move the machine tool probe to the two-dimensional coordinate of the center of the circle calculated in step S2, and move along the X-axis / Y-axis with the center of the circle as the reference to detect the Z coordinates of the four detection points on the upper surface of the tooling; the Z coordinates of the four detection points are marked as ( ), take the average value to calculate the Z coordinate of the ring;
[0077] Step S4. Execute the first level judgment: compare the calculated three-dimensional coordinates (X, Y, Z) of the center of the ring with the three-dimensional coordinates of the center of the ring detected in history. The three-dimensional coordinates of the center of the ring detected in history refer to the first three-dimensional coordinates detected by this program when other geometric precisions of the machine tool meet the requirements. This coordinate is used as the reference coordinate. Each subsequent execution of this program uses this three-dimensional coordinate as the judgment reference. The difference is the change in the center position of the turntable.
[0078] Step S5. Detection of rotation error: The first layer structure of the detection tool is a regular polygon with n sides. Two measuring points are set on each side of the regular polygon. The two measuring points on the same side are detected as far as possible without being detected at the extreme position, and also as far as possible without being too close to each other. For example, they can be distributed at ¼ and ¾ of the length of the corresponding side. When the turntable is moved to 0°, the two detection points of the first side are recorded as [ ]; Based on the first edge, the rotary table is controlled to move incrementally to Angle, the horizontal and vertical coordinates of the two detection points on the second edge are marked as [ ]; Use the four detection points on the first and second sides to confirm the two lines, and the intersection of the two lines will give the angle. Therefore, the angle can be calculated using the four detection points on the two sides. ; If the turntable moves There is no rotation error when the angle is Infinitely close to 0, this Turntable movement The rotation error at the angle is controlled by this principle to control the incremental feed movement of the turntable ( ) angle, the horizontal and vertical coordinates of the two detection points from the third edge to the nth edge are marked as [ ], calculate the rotation error from the third edge to the nth edge ;
[0079] Step S6. Fit the detected rotation error with a polynomial: According to the number of points k stored in the CNC system turntable positioning error compensation list and the number of sides n of the regular polygon of the first layer of the detection tooling, if k=n, the rotation error calculated in step S5 can be directly fitted. Substitute into the compensation list. If k≠n, a polynomial fitting is required for the detected rotation angle and the corresponding rotation error to output compensation values for more detected angles. Step S6 is an extension of step S5. If K=n, this step is not required. If K≠n, this step is required.
[0080] Step S7. Execute the second level judgment: the program automatically judges the error level of the rotation error λ, and outputs the corresponding action. If the rotation error λ is greater than the preset upper threshold, the program ends and a red alarm is output; if the rotation error λ is between the preset upper threshold and the preset lower threshold, the adjustment compensation program is executed and the test is performed again; if the rotation error λ is less than the preset lower threshold, the test process ends. The preset upper threshold and preset lower threshold of the rotation error can be set in the program, and the program automatically calls the rotation error λ to compare with the preset threshold.
[0081] Furthermore, in step S2, the detected horizontal and vertical coordinates of the four points are [ ] Perform the least squares fitting circle calculation, the calculation formula is as follows:
[0082]
[0083] In the circle expression obtained by least squares fitting, for The coefficient of the first term, for The coefficient of the first term, is the constant term coefficient, which is calculated as follows:
[0084] ;
[0085] ;
[0086] ;
[0087] Where N is the total number of detection points, For the The detection coordinates of the detection points, To solve the coefficients of the least squares fitting circle The parameters required in the calculation process are calculated as follows:
[0088] ;
[0089] ;
[0090] ;
[0091] ;
[0092] ;
[0093] ;
[0094] Then the two-dimensional coordinates of the center of the ring are .
[0095] In step S3, the four detection points on the upper surface of the detection tooling must be located on the four quadrants of the ring, which can effectively reflect the overall horizontal state of the ring; the Z coordinates of the four detection points ( ) Take the average value and calculate the Z coordinate of the ring, that is,
[0096] In step S4, the calculated three-dimensional coordinates (X, Y, Z) of the center of the ring are compared with the three-dimensional coordinates ( ) to compare and calculate the change of the turntable center: , where △X is the change in the X-axis direction, △Y is the change in the Y-axis direction, and △Z is the change in the Z-axis direction.
[0097] In step S5, the horizontal and vertical coordinates of the four detection points on the two edges are [ ], combined with the trigonometric function relationship, the included angle is calculated, that is, the turntable moves Rotation error at angle
[0098]
[0099] By analogy, the incremental feed movement of the rotary table can be calculated. The rotation error :
[0100] .
[0101] In step S6, a polynomial fitting is performed on the detected rotation angle μ and the corresponding rotation error λ. The polynomial fitting expression is: , the fitting coefficient will be calculated using the rotation angle and rotation error obtained by the detection fixture. The calculation formula is as follows:
[0102]
[0103] in is the polynomial constant term, is a first-order polynomial, is the quadratic term of the polynomial, N is the total number of detection points, The detected rotation angles and their corresponding rotation errors; according to the storage point requirements of the compensation list, more angles to be compensated μ are brought into the above formula to calculate the error compensation values at other angles to be compensated .
[0104] In step S7, the numerical control program will automatically determine the error level of the three-dimensional coordinate change of the center of the ring and the rotation error λ, and output the corresponding action:
[0105] (1) First-level judgment: If the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z is less than D, D is the preset threshold, no alarm is output, and the program automatically jumps to the next detection target; if the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z is greater than or equal to D, the program automatically pauses, and the machine panel outputs a red alarm message: "The center accuracy is out of tolerance, please check and confirm with maintenance personnel". At the same time, the system automatically outputs the center accuracy in text form for maintenance personnel to check;
[0106] (2) Second level judgment:
[0107] If the turntable rotation error λ is less than the preset lower threshold λ E When the program automatically jumps to the next detection target, it will continue until the last detection target is completed. At this time, the prompt message is output: "Detection completed, accuracy is normal, processing tasks can be carried out";
[0108] If the upper threshold λ is preset F ≥λ of the turntable rotation error ≥ preset lower threshold λ E When the program is completed, it will automatically jump to the next detection target. After the last detection target is completed, the program will jump again, and by judging the number of compensation points and the number of edges of the tooling polygon, it will execute the compensation list program after the compensation value is updated; and output the prompt message: "Compensation completed, please re-execute the detection program";
[0109] If the turntable rotation error λ> the preset upper threshold λ F The program automatically jumps to the next detection target until the last detection target is completed. At this time, a red alarm message is output: "Rotation accuracy exceeds tolerance, please check and confirm by maintenance personnel". At the same time, the system automatically outputs various rotation errors in text form for maintenance personnel to check.
[0110] Example 3
[0111] A CNC machine tool turntable precision rapid detection tool, such as Figure 1 and Figure 2As shown, the tooling is circular as a whole, and the middle part contains two layers of shapes distributed up and down. The first layer is a regular hexagon, including the first side 1, the second side 2, the third side 3, the fourth side 4, the fifth side 5 and the sixth side 6. The flatness of each side is consistent, which can reduce the detection error of the machine tool probe; the second layer is a circular ring 8, which is concentric with the regular hexagon of the first layer. The circular ring 8 is used to adjust the concentricity with the turntable during the installation of the tooling. There are four mounting holes 9 of the same size on the upper surface 7 of the tooling, which are evenly distributed at 90° and are used to fix the tooling to the center of the turntable. The upper surface 7 and the bottom surface 10 of the tooling are both high-precision surfaces, which are ground, with a flatness error of ≤0.005mm and a parallelism error of ≤0.01mm between the two planes.
[0112] A CNC machine tool turntable precision rapid detection tool, the installation steps are as follows:
[0113] 1. Clean and wipe the center groove of the turntable, install the tooling in the groove, and pre-tighten it according to 30% of the rated pre-tightening force of the fastening screws.
[0114] 2. Attach the dial indicator to the spindle, align the needle along the Z direction, move the Y and Z axes so that the dial indicator needle touches the upper surface of the tooling, move the X and Y axes respectively, and quickly check the flatness of the tooling along the X and Y directions respectively. If the flatness is ≥0.01mm, place a gasket of corresponding thickness on the bottom surface of the tooling to ensure that the flatness of the tooling is <0.01mm.
[0115] 3. Re-adjust the dial indicator so that the needle is set along the Y direction. Move the Y and Z axes so that the dial indicator needle touches the second layer of the ring. Move the turntable to 0°, 90°, 180°, 270°, and 360° respectively, and record the dial indicator readings at each angle. Tap the outer side of the ring along the Y direction with a copper rod to keep the dial indicator reading at the middle value between 0° and 180°. Tap the outer side of the ring along the X direction with a copper rod to keep the dial indicator reading at the middle value between 90° and 270°. Repeat this adjustment step to make the concentricity of the tooling and the turntable <0.01mm.
[0116] 4. Pre-tighten the pre-tightening screws at 50%, 75% and 100% of the rated pre-tightening force respectively. The pre-tightening sequence of the screws should be diagonal. After the pre-tightening is completed, quickly check the flatness of the tooling and the concentricity with the turntable again.
[0117] like Figure 7 As shown, the method of using a CNC machine tool turntable precision rapid detection tool is as follows:
[0118] 1. Run the pre-compiled measurement program, call the CNC machine tool probe, and detect four detection points on the ring 8 of the second layer of the tooling. The four detection points are the first measurement point 15 of the ring, the second measurement point 16 of the ring, the third measurement point 17 of the ring, and the fourth measurement point 18 of the ring. Figure 5 As shown, the four points are spaced 90° apart; the coordinates of the four detection points are marked as [ ]; the coordinates of the four detected points are calculated by the least square method to fit the circle, and the calculated two-dimensional center coordinates of the circle are marked as (X, Y); the calculation formula is as follows:
[0119]
[0120] In the circle expression obtained by least squares fitting, for The coefficient of the first term, for The coefficient of the first term, is the constant term coefficient, which is calculated as follows:
[0121] ;
[0122] ;
[0123] ;
[0124] Where N is the total number of detection points, For the The detection coordinates of the detection points, To solve the coefficients of the least squares fitting circle The parameters required in the calculation process are calculated as follows:
[0125] ;
[0126] ;
[0127] ;
[0128] ;
[0129] ;
[0130] ;
[0131] Then the two-dimensional coordinates of the center of the ring are .
[0132] 2. Move the machine tool probe to the center coordinates calculated in step S2, and move along the X-axis / Y-axis with the center as the reference to detect the Z-axis coordinates of four detection points on the upper surface 7 of the tooling. The four detection points are the first measurement point 11 on the upper surface, the second measurement point 12 on the upper surface, the third measurement point 13 on the upper surface, and the fourth measurement point 14 on the upper surface. Figure 4 As shown, the coordinates of the four detection points are marked as ( ), take the average value to calculate the Z coordinate of the ring, that is .
[0133] 3. Compare the calculated three-dimensional coordinates (X, Y, Z) of the center of the ring with the three-dimensional coordinates ( ) to compare and calculate the change of the turntable center: .
[0134] 4. Execute the first level judgment: If the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z < D (preset threshold), there is no alarm output and the program automatically jumps to the next detection target; if the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z ≥ D (preset threshold), the program automatically pauses, and the machine tool panel outputs a red alarm message: "The center accuracy is out of tolerance, please check and confirm by maintenance personnel", and the system automatically outputs the center accuracy in text form for maintenance personnel to check.
[0135] 5. Test the first layer of regular polygons in the tooling. Test two points on each side, namely two first side test points 19, two second side test points 20, two third side test points 21, two fourth side test points 22, two fifth side test points 23 and two sixth side test points 24. The two test points on the same side are distributed at ¼ and ¾ of the side length, such as Figure 6 As shown; when the turntable is moved to 0°, the two detection points of the first edge are recorded as [ ]; Based on the first edge, the rotary table is controlled to move incrementally to Angle, detect the two detection points on the second edge and record them as [ ]; Use the four detection points on the first and second sides to confirm the two lines, and the intersection of the two lines will give the angle. Therefore, the angle can be calculated using the four detection points on the two sides. ; If the turntable moves There is no rotation error when the angle is Infinitely close to 0, this Turntable movement The rotation error at the angle, such as Figure 3 As shown; Based on this principle, the incremental feed movement of the turntable is controlled ( ) angle, detect the two detection points on each edge and record them as [ ], calculate the rotation error ; then the turntable moves to Rotation error at angle:
[0136]
[0137] By analogy, the incremental feed movement of the rotary table can be calculated. The rotation error at :
[0138]
[0139] 6. According to the number of points k stored in the CNC system turntable positioning error compensation list and the regular polygon n of the first layer of the detection tooling, if k=n, the rotation error calculated in step S5 can be directly used. Substitute into the compensation list. If k≠n, a polynomial fitting is required for the detected rotation angle and the corresponding rotation error to output compensation values for more detection angles. The fitting coefficient is calculated using the rotation angle and rotation error obtained by the detection tooling. The calculation formula is as follows:
[0140]
[0141] in is the polynomial constant term, is a first-order polynomial, is the quadratic term of the polynomial, N is the total number of detection points, The detected rotation angles and their corresponding rotation errors; the polynomial fitting expression is obtained: ; According to the requirement of the number of points stored in the compensation list, more angles to be compensated μ are brought into the above formula to calculate the error compensation values at other angles to be compensated ; If the angle Substitute into the formula to calculate the corresponding compensation value .
[0142] 7. Execute the second level judgment: If the turntable rotation error λ<λ E (preset lower threshold), the program automatically jumps to the next detection target until the last detection target is completed, at which time the prompt message is output: "Detection completed, accuracy is normal, processing tasks can be carried out";
[0143] If the turntable rotation error λ F (Preset upper threshold) ≥λ≥λ E (preset lower threshold), the program automatically jumps to the next detection target until the last detection target is completed, the program jumps again, and executes the compensation list program after the compensation value is updated by judging the number of compensation points and the number of edges of the tooling polygon; and outputs a prompt message: "Compensation completed, please re-execute the detection program";
[0144] If the turntable rotation error λ>λ F (preset upper threshold), the program automatically jumps to the next detection target until the last detection target is completed, at which time a red alarm message is output: "Rotation accuracy exceeds tolerance, please ask maintenance personnel to check and confirm", and the system automatically outputs various rotation errors in text form for maintenance personnel to check;
[0145] The CNC system compensation list template program is as follows:
[0146]
[0147] In the formula, a represents the reference coordinate axis (input axis), b represents the coordinate axis to be compensated (output axis), M represents the axis number corresponding to the axis to be compensated, and k represents that the motion range on the reference coordinate axis is divided into k parts. It represents the k error values at the motion position, It is a special symbol for the compensation module of the CNC system. Respectively represent the minimum and maximum values of the running stroke.
Claims
1. A method for using a CNC machine tool turntable accuracy detection tool, characterized in that: The CNC machine tool turntable precision detection tool comprises a tool body which is generally circular, the middle part of the tool body comprises two layers of upper and lower distribution structures, the first layer structure is a regular polygon, the second layer structure is a circular ring (8), the upper surface (7) of the tool body has four mounting holes (9) of the same size, which are evenly distributed at 90 degrees, and multiple detection points are arranged on the upper surfaces (7) of the first layer structure and the second layer structure; The following steps are involved: Step S1. Install the inspection tool: install the tool in the center groove of the turntable, adjust the upper surface of the tool to be parallel to the workbench, and adjust the second-layer structural ring of the tool to be concentric with the turntable; the tool and the turntable are fixed as one, and the tool accuracy is equal to the accuracy of the reaction turntable; Step S2. Detect the X and Y coordinates of the three-dimensional coordinates of the center of the circle: call the CNC machine tool probe to detect four detection points on the ring of the second layer structure of the tooling, and the four detection points are distributed at 90° intervals; the horizontal and vertical coordinates of the four detection points are marked as [ ]; The coordinates of the four detected points are calculated by the least square method to fit the circle, and the calculated two-dimensional center coordinates of the circle are marked as (X, Y); Step S3. Detect the Z coordinate of the three-dimensional coordinate of the center of the circle: Move the machine tool probe to the two-dimensional coordinate of the center of the circle calculated in step S2, and move along the X-axis / Y-axis with the center of the circle as the reference to detect the Z coordinates of the four detection points on the upper surface of the tooling; the Z coordinates of the four detection points are marked as ( ), take the average value to calculate the Z coordinate of the ring; Step S4. Execute the first level judgment: compare the calculated three-dimensional coordinates (X, Y, Z) of the center of the ring with the three-dimensional coordinates of the center of the ring detected in history, and the difference is the change in the center position of the turntable; Step S5. Detect rotation error: The first layer structure of the detection tool is a regular polygon with n sides, and two measuring points are set on each side of the regular polygon; when the turntable is moved to 0°, the two detection points of the first side are recorded as [ ]; Based on the first edge, the rotary table is controlled to move incrementally to Angle, the horizontal and vertical coordinates of the two detection points on the second edge are marked as [ ]; Use the four detection points on the first and second sides to confirm the two lines, and the intersection of the two lines will give the angle. Therefore, the angle can be calculated using the four detection points on the two sides. ; If the turntable moves There is no rotation error at this angle. Turntable movement Rotation error at angle; Based on this principle, the incremental feed movement of the turntable is controlled ( ) angle, the horizontal and vertical coordinates of the two detection points from the third edge to the nth edge are marked as [ ], calculate the rotation error from the third edge to the nth edge ; Step S6. Fit the detected rotation error with a polynomial: According to the number of points k stored in the CNC system turntable positioning error compensation list and the number of sides n of the regular polygon of the first layer of the detection tooling, if k=n, the rotation error calculated in step S5 can be directly fitted. Substitute into the compensation list. If k≠n, a polynomial fitting is required for the detected rotation angle and the corresponding rotation error to output compensation values for more detected angles. Step S7. Execute the second level judgment: judge the error level of the rotation error λ, and output the corresponding action accordingly. If the rotation error λ is greater than the preset upper threshold, the program ends and a red alarm is output; if the rotation error λ is between the preset upper threshold and the preset lower threshold, the adjustment compensation program is executed and the test is performed again; if the rotation error λ is less than the preset lower threshold, the test process ends.
2. The method for using the CNC machine tool turntable precision detection tool according to claim 1, characterized in that: The flatness of each side of the regular polygon is consistent.
3. The method for using the CNC machine tool turntable precision detection tool according to claim 1, characterized in that: The circular ring (8) is concentric with the regular polygon of the first layer structure.
4. The method for using the CNC machine tool turntable accuracy detection tool according to claim 1, characterized in that: The flatness error of the upper surface (7) and the bottom surface (10) of the tool body is ≤0.005 mm, and the parallelism error of the two planes is ≤0.01 mm.
5. The method for using the CNC machine tool turntable accuracy detection tool according to claim 1, characterized in that: In step S2, the detected horizontal and vertical coordinates of the four points are [ ] Perform the least squares fitting circle calculation, the calculation formula is as follows: ; In the circle expression obtained by least squares fitting, a is the coefficient of the first-order term of x, b is the coefficient of the first-order term of y, and c is the coefficient of the constant term, which is calculated as follows: ; ; ; Where N is the total number of detection points, is the detection coordinate of the i-th detection point, To solve the coefficients of the least squares fitting circle The parameters required in the calculation process are calculated as follows: ; ; ; ; ; ; Then the two-dimensional coordinates of the center of the ring are .
6. The method for using the CNC machine tool turntable accuracy detection tool according to claim 5, characterized in that: In step S3, the four detection points on the upper surface of the detection tooling must be located on the four quadrants of the ring; the Z-direction coordinates of the four detection points ( ) Take the average value and calculate the Z coordinate of the ring, that is, .
7. The method for using the CNC machine tool turntable precision detection tool according to claim 6, characterized in that: In step S4, the calculated three-dimensional coordinates (X, Y, Z) of the center of the ring are compared with the three-dimensional coordinates ( ) to compare and calculate the change of the turntable center: , , , where △X is the change in the X-axis direction, △Y is the change in the Y-axis direction, and △Z is the change in the Z-axis direction.
8. The method for using the CNC machine tool turntable accuracy detection tool according to claim 7, characterized in that: In step S5, the horizontal coordinates and vertical coordinates of the four detection points on the two edges are [ ], combined with the trigonometric function relationship, the turntable movement is calculated Rotation error at angle ; Calculate the incremental feed movement of the rotary table to The rotation error : 。 9. The method for using the CNC machine tool turntable accuracy detection tool according to claim 8, characterized in that: In step S6, a polynomial fitting is performed on the detected rotation angle μ and the corresponding rotation error λ, and the polynomial fitting expression is: , the fitting coefficient will be calculated using the rotation angle and rotation error obtained by the detection fixture. The calculation formula is as follows: ; in is the polynomial constant term, is a first-order polynomial, is the quadratic term of the polynomial, N is the total number of detection points, are the detected i-th rotation angle and its corresponding rotation error respectively.
10. The method for using the CNC machine tool turntable accuracy detection tool according to claim 1, characterized in that: In step S7, the numerical control program will automatically determine the error level of the three-dimensional coordinate change of the center of the ring and the rotation error λ, and output the corresponding action: (1) First-level judgment: If the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z is less than D, D is the preset threshold, no alarm is output, and the program automatically jumps to the next detection target; if the change in the three-dimensional coordinates of the center of the ring △X / △Y / △Z is greater than or equal to D, the program automatically pauses, the machine panel outputs a red alarm message, and the system automatically outputs the center accuracy in text form for maintenance personnel to check; (2) Second level judgment: If the turntable rotation error λ is less than the preset lower threshold λ E , the program automatically jumps to the next detection target until the last detection target is completed, at which time a prompt message is output; If the upper threshold λ is preset F ≥λ of the turntable rotation error ≥ preset lower threshold λ E When the program automatically jumps to the next detection target, the program will automatically jump to the next detection target until the last detection target is completed. Then the program will jump again and execute the compensation list program after the compensation value is updated by judging the number of compensation points and the number of edges of the tooling polygon. And output prompt information; If the turntable rotation error λ> the preset upper threshold λ F When the program automatically jumps to the next detection target, it will output a red alarm message until the last detection target is completed. At the same time, the system automatically outputs various rotation errors in text form for maintenance personnel to check.
