A numerical control machine precision automatic control method
By automatically inserting a precision inspection requirement assessment program and setting tolerance values on CNC machine tools, the precision inspection and compensation are automated, solving the problem of low efficiency in existing technologies, improving the consistency of precision inspection and compensation efficiency, and enhancing machining accuracy and efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHENGDU AIRCRAFT INDUSTRY GROUP
- Filing Date
- 2023-10-12
- Publication Date
- 2026-04-10
AI Technical Summary
The existing CNC machine tool precision testing and compensation is inefficient, unable to guarantee consistency and stability, and relies on manual testing, resulting in low efficiency and large errors.
By automatically inserting a precision detection requirement assessment program upon receiving a start signal, setting tolerance values and cyclic detection compensation, the precision detection and compensation are automated, avoiding manual intervention and ensuring that the detection results are within the tolerance values.
It improves the efficiency and consistency of precision detection and compensation, reduces reliance on professional personnel, significantly enhances the machining accuracy and production efficiency of CNC machine tools, avoids human error, and ensures smooth machining quality and cycle time.
Smart Images

Figure CN117359389B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of automation, in particular to a numerical control machine precision automatic control method. BACKGROUND
[0002] With the development of intelligent manufacturing, the machining industry tends to be more and more automated and intelligent, especially in the field of machining of large and complex aeronautical structures. With the construction and application of intelligent workshops, batch automatic production of aeronautical structures has been realized. As an important carrier of intelligent manufacturing, the reliability of the precision of numerical control machine directly affects the output quality of products. Currently, the detection of numerical control equipment mostly relies on manual detection by professional personnel, and the numerical control machine is detected by a dedicated person according to a preset detection period or product quality. In actual work, multiple numerical control machines are often used to produce the same batch of products, and multiple professional personnel are required to be responsible respectively. Due to the different understanding and frequency of each person for precision detection, this results in low efficiency of precision detection and precision compensation. SUMMARY
[0003] The main purpose of the present application is to provide a numerical control machine precision automatic control method, which aims to solve the technical problem of low efficiency of precision detection and precision compensation.
[0004] To achieve the above purpose, the present application provides a numerical control machine precision automatic control method, comprising the following steps: when a start signal is received, performing precision detection demand evaluation on the numerical control machine; when the precision detection demand evaluation is that precision detection is needed, generating a precision detection result; determining whether the precision detection result exceeds a preset precision tolerance value, and when the precision detection result exceeds the preset precision tolerance value, performing precision compensation; after the precision compensation is completed, restarting the precision detection to update the precision detection result, and returning to the step of determining whether the precision detection result exceeds the preset precision tolerance value after updating the precision detection result, and circulating until the precision detection result is within the preset tolerance value.
[0005] Optionally, when the precision detection result still exceeds the preset tolerance value after N times of precision compensation, an error message is generated and an alarm signal is sent.
[0006] Optionally, when the start signal is received, the precision detection demand evaluation on the numerical control machine comprises: determining whether the current precision detection demand evaluation time and the last recorded precision detection time exceed a preset time period, and evaluating as needing precision detection when the preset time period is exceeded; and / or; determining whether the number of times of receiving the start signal between the current precision detection demand evaluation and the last recorded precision detection exceeds a preset number of times, and evaluating as needing precision detection when the preset number of times is exceeded.
[0007] Optionally, when the precision detection requirement evaluation is evaluated as needing precision detection, a precision detection result is generated, including: using the precision detection method of the CA type five-axis linkage numerical control machine tool or the precision detection method of the BA type five-axis linkage numerical control machine tool to generate the precision detection result.
[0008] Optionally, the precision detection method of the CA type five-axis linkage numerical control machine tool is used to generate the precision detection result, including: using a wireless radio probe to respectively measure the spherical center coordinates L1 (X1, Y1, Z1) of the ball head detection rod when the machine tool swing angle is at position P1 (A0 C0), the spherical center coordinates L2 (X2, Y2, Z2) of the ball head detection rod when the machine tool swing angle is at position P2 (A90 C0), and the spherical center coordinates L3 (X3, Y3, Z3) of the ball head detection rod when the machine tool swing angle is at position P3 (A-90 C0); according to the spherical center coordinates L1, L2 and L3 and the known ball head detection rod length, the distance from the A-axis axis to the positioning end face of the machine tool main shaft is obtained as:
[0009]
[0010] wherein L is the length of the ball head detection rod, and R is the radius of the ball head detection rod; according to the spherical center coordinates L1, L2 and L3 and the known ball head detection rod length, the vector difference between the machine tool main shaft axis and the A-axis axis in the Y direction is obtained as:
[0011]
[0012] Optionally, the precision compensation step includes: obtaining the compensation value of the parameter 24550【2】 according to the distance M1 from the A-axis axis to the positioning end face of the machine tool main shaft and the numerical value of the parameter 24550【2】; and obtaining the compensation value of the parameter 24550【1】 according to the vector difference M2 between the machine tool main shaft axis and the A-axis axis in the Y direction and the numerical value of the parameter 24550【1】.
[0013] Optionally, the precision detection method of the CA type five-axis linkage numerical control machine tool is used to generate the precision detection result, including: using a wireless radio probe to respectively measure the spherical center coordinates L4 (X4, Y4, Z4) of the ball head detection rod when the machine tool swing angle is at the (A0 C0) quadrant under the TRAORI instruction, the spherical center coordinates L5 (X5, Y5, Z5) of the ball head detection rod when the machine tool swing angle is at the (A0 C90) quadrant, the spherical center coordinates L6 (X6, Y6, Z6) of the ball head detection rod when the machine tool swing angle is at the (A0 C180) quadrant, and the spherical center coordinates L7 (X7, Y7, Z7) of the ball head detection rod when the machine tool swing angle is at the (A0 C270) quadrant; according to the spherical center coordinates L4, L5, L6 and L7, the deviation of the C-axis axis from the machine tool main shaft axis in the X direction is obtained as:
[0014]
[0015] According to the spherical center coordinates L4, L5, L6 and L7, the deviation of the C-axis axis from the machine tool spindle axis in the Y direction is obtained as:
[0016]
[0017] Optionally, the step of precision compensation comprises: according to the deviation M4 of the C-axis axis from the machine tool spindle axis in the X direction and the numerical assignment of the parameter 24560【0】, the compensation value of the parameter 24560【0】 is obtained; according to the deviation M5 of the C-axis axis from the machine tool spindle axis in the Y direction and the numerical assignment of the parameter 24560【1】, the compensation value of the parameter 24560【1】 is obtained.
[0018] Optionally, the precision detection method suitable for BA type five-axis linkage numerical control machine tool comprises: using a wireless probe to measure the spherical center coordinates L8 (X8, Y8, Z8) of the ball head detection rod when the machine tool swing angle is at position P4 (A0 B0), the spherical center coordinates L9 (X9, Y9, Z9) of the ball head detection rod when the machine tool swing angle is at position P5 (A30 B0) and the spherical center coordinates L10 (X10, Y10, Z10) of the ball head detection rod when the machine tool swing angle is at position P6 (A-30 B0); according to the spherical center coordinates L8, L9 and L10 and the known ball head detection rod length, the distance from the A-axis axis to the positioning end face of the machine tool spindle is obtained as:
[0019] M6 = |Y9-Y10|-L+R,
[0020] Wherein, L is the length of the ball head detection rod, and R is the radius of the ball head detection rod.
[0021] Optionally, the precision compensation comprises: according to the distance M6 from the A-axis axis to the positioning end face of the machine tool spindle and the numerical value of the parameter 24550【2】, the compensation value of the precision compensation of the parameter 24550【2】 is obtained.
[0022] Optionally, the precision detection method suitable for the BA type five-axis linkage numerical control machine tool comprises: respectively measuring the spherical center coordinates L11 (X11, Y11, Z11) of the ball head detection rod when the machine tool swing angle is (A0 B30) under the opening of the TRAORI instruction, the spherical center coordinates L12 (X12, Y12, Z12) of the ball head detection rod when the machine tool swing angle is (A0 B-30), the spherical center coordinates L13 (X13, Y13, Z13) of the ball head detection rod when the machine tool swing angle is (A30B0), the spherical center coordinates L14 (X14, Y14, Z14) of the ball head detection rod when the machine tool swing angle is (A-30B0), the spherical center coordinates L15 (X15, Y15, Z15) of the ball head detection rod when the machine tool swing angle is (A0 B30), and the spherical center coordinates L16 (X16, Y16, Z16) of the ball head detection rod when the machine tool swing angle is (A0 B-30) by using a wireless probe; according to the spherical center coordinates L13, L14, L15 and L16, the vector difference of the machine tool main shaft axis and the A-axis axis in the Y direction is obtained as follows:
[0023] M8 = Z13 - Z14;
[0024] According to the spherical center coordinates L13, L14, L15 and L16, the distance of the B-axis axis to the machine tool main shaft positioning end face is obtained as follows:
[0025] M9 = |Y11 - Y12| - L + R,
[0026] wherein L is the length of the ball head detection rod, and R is the radius of the ball head detection rod; according to the vector difference M8 of the machine tool main shaft axis and the A-axis axis in the Y direction and the distance M9 of the B-axis axis to the machine tool main shaft positioning end face, the distance of the B-axis axis to the A-axis axis is obtained as follows:
[0027] M10 = M9 - M8;
[0028] According to the spherical center coordinates L13, L14, L15 and L16, the vector difference of the machine tool main shaft axis and the B-axis axis in the X direction is obtained as follows:
[0029] M12 = Z15 - Z16.
[0030] Optionally, the precision compensation step comprises: according to the vector difference M8 of the machine tool main shaft axis and the A-axis axis in the Y direction and the numerical value assignment of the parameter 24550【1】, the compensation value of the parameter 24550【1】 is obtained; according to the distance of the B-axis axis to the A-axis axis and the numerical value of the parameter 24560【2】, the compensation value of the precision compensation of the parameter 24560【2】 is obtained; according to the vector difference of the machine tool main shaft axis and the B-axis axis in the X direction and the numerical value assignment of the parameter 24560【0】, the compensation value of the parameter 24560【0】 is obtained.
[0031] The beneficial effects that can be achieved by the present application are: the present application inserts an accuracy detection requirement evaluation program automatically when the start signal is received, which can set a cycle for accuracy detection, and when the evaluation exceeds the cycle, accuracy detection is performed, and when the cycle is not exceeded, the machining task is started, thereby restricting the timing of accuracy detection to ensure the consistency of accuracy detection. By inserting the evaluation program, the accuracy detection program can be automatically entered, thereby improving the efficiency of accuracy detection. When performing accuracy detection, a tolerance value is set, and when the accuracy detection result exceeds the tolerance value, compensation is performed, and after compensation, accuracy detection is performed again, and this is repeated until the accuracy detection result is within the tolerance value. The tolerance value and the accuracy detection result are used to constrain the accuracy compensation value to ensure the consistency of accuracy compensation. By automatically implementing repeated compensation and detection to achieve a detection result within the tolerance value, the dependence on professional personnel is greatly reduced, thereby improving the efficiency of accuracy compensation. In this process, automatic execution can be performed by calling the program to avoid manual intervention, eliminate human error, and completely automatically run the accuracy control link (accuracy detection-accuracy compensation), significantly improve the machining accuracy of the numerical control machine tool, ensure the machining quality of the parts, and make the production rhythm more smooth, thereby significantly improving the machining efficiency and avoiding waiting for maintenance due to personnel allocation and other reasons. BRIEF DESCRIPTION OF DRAWINGS
[0032] Figure 1 A flowchart of a numerical control machine tool accuracy automatic control method disclosed by the present application;
[0033] Figure 2 A CA-type five-axis linkage numerical control machine tool accuracy detection schematic diagram of the present application;
[0034] Figure 3 A BA-type five-axis linkage numerical control machine tool accuracy detection schematic diagram of the present application;
[0035] Among them, 1-workbench, 2-ball head detection rod, 3-wireless radio probe, 4-machine tool spindle. DETAILED DESCRIPTION
[0036] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0037] The main solution of the embodiment of the present application is: a numerical control machine precision automatic control method, comprising the following steps: when a start signal is received, the precision of the numerical control machine is detected and the demand is evaluated; when the precision detection demand evaluation is needed for precision detection, the precision detection result is generated; it is judged whether the precision detection result exceeds the preset precision tolerance value, and when the precision detection result exceeds the preset precision tolerance value, the precision compensation is carried out; after the precision compensation is completed, the precision detection is restarted to update the precision detection result, and after the precision detection result is updated, the step of judging whether the precision detection result exceeds the preset precision tolerance value is returned, and the cycle is continued until the precision detection result is within the preset tolerance value.
[0038] Since the prior art mostly relies on manual detection by professionals, the numerical control machine is detected by a dedicated person according to a preset detection period or product quality. In actual work, multiple numerical control machines often produce the same batch of products, and multiple professionals are needed to be responsible respectively. Since the understanding degree and frequency of each person for precision detection are different, this causes not only low efficiency of precision detection and precision compensation, but also inconsistency and instability of precision detection and precision compensation. The present application inserts a precision detection demand evaluation program when a start signal is received, so that the timing of precision detection is constrained, a standard for entering the precision detection program is provided, and the consistency of the precision detection timing is ensured by automatic program, thereby ensuring the consistency of the precision detection to a certain extent, and reducing the dependence on professionals to improve the efficiency of manual work. The tolerance value and the precision detection result are used to constrain the precision compensation value to ensure the consistency of the precision compensation, and the repeated compensation and detection are automatically implemented to achieve the detection result within the tolerance value, thereby greatly reducing the dependence on professionals to improve the efficiency of precision compensation. In this process, the program can be automatically executed by calling, manual intervention is avoided, human error is eliminated, the precision control link (precision detection-precision compensation) is completely automatically operated, the machining precision of the numerical control machine is significantly improved, the part machining quality is ensured, the production rhythm is smoother, and the machining efficiency is significantly improved. There will be no waiting for maintenance due to personnel allocation. At the same time, by implementing the automatic program, the dependence on professionals is reduced, the human error factor is reduced, and the manual efficiency is improved (in the prior art, one professional can watch N numerical control machines, using the method disclosed in the present application, one professional can watch 5N-10N numerical control machines).
[0039] Reference Figure 1 The first embodiment of the present application provides a numerical control machine precision automatic control method, comprising:
[0040] Step 1, when receiving a start signal, the numerical control machine tool is evaluated for precision detection requirement. Specifically, the numerical control machine tool has a tolerance value of precision during the working process, that is, a lower limit of guaranteeing precision, such as the error of a certain position must be controlled within 0.1 mm. The numerical control machine tool cannot perfectly implement processing during the working process due to the influence of the equipment itself and the external environment, and errors will accumulate continuously, so even slight errors will exceed the tolerance value, so the precision of the numerical control needs to be detected from time to time. The timing of starting precision detection plays a key role in whether the numerical control machine tool can better perform the processing task, too late can lead to poor processing task of the numerical control machine tool, too early can waste the processing efficiency of the numerical control machine tool. Therefore, when receiving a start processing task signal, precision detection requirement evaluation is performed before processing task, a simple evaluation of whether precision detection is needed is performed every time the processing task is started, and it is judged in real time whether precision detection is needed.
[0041] Step 2, when the precision detection requirement evaluation is that precision detection is needed, the precision detection result is generated. Specifically, a simple evaluation of whether precision detection is needed is performed every time the processing task is started, and it is judged in real time whether precision detection is needed, when it is judged that precision detection is not needed, the numerical control machine tool starts the processing task and normally produces. When it is judged that precision detection is needed, the precision detection program of the numerical control machine tool is started to perform precision detection, so as to complete the automatic control of the starting time of precision detection, guarantee consistency and improve the processing efficiency of the numerical control machine tool.
[0042] Step 3, judge whether the precision detection result exceeds the preset precision tolerance value, when the precision detection result exceeds the preset precision tolerance value, perform precision compensation. Specifically, after obtaining the precision detection result, it is judged whether it is within the tolerance value, for example: the control instruction controls a part of the numerical control machine tool to move to a certain position, whether the error of the position of the part after moving from the theoretical position can be controlled within the preset precision tolerance value. When the precision detection result can be controlled within the tolerance value, the numerical control machine tool starts the processing task and records the precision detection time, when it is difficult to control within the tolerance value, precision compensation is performed.
[0043] Step 4, after the precision compensation is completed, the precision detection is restarted to update the precision detection result, and after updating the precision detection result, return to the step of judging whether the precision detection result exceeds the preset precision tolerance value, and cycle until the precision detection result is within the preset tolerance value. Specifically, after completing the precision compensation, the precision detection is restarted, and after the precision detection is restarted, it is judged whether the precision detection result is within the tolerance value, if it still exceeds the tolerance value, the precision compensation is continued until the precision detection result meets the tolerance value requirement.
[0044] In the embodiment, the precision detection is set a cycle by automatically inserting the precision detection requirement evaluation program upon receiving the start signal. When the evaluation exceeds the cycle, the precision detection is performed. When the evaluation does not exceed the cycle, the machining task is started. In this way, the timing of the precision detection is restricted to ensure the consistency of the precision detection. The evaluation program is inserted to enable the automatic entry into the precision detection program, thereby improving the efficiency of the precision detection. The tolerance value is set when the precision detection is performed. When the precision detection result exceeds the tolerance value, the compensation is performed. After the compensation, the precision detection is performed again. The process is repeated until the precision detection result is within the tolerance value. The precision compensation value is restricted by the tolerance value and the precision detection result to ensure the consistency of the precision compensation. The repeated compensation and detection are automatically implemented until the precision detection result is within the tolerance value, thereby greatly reducing the dependence on the professional personnel and improving the efficiency of the precision compensation. In the process, the program is automatically executed to avoid the manual intervention, eliminate the human error, and completely automatically operate the precision control link (precision detection-precision compensation), thereby significantly improving the machining precision of the numerical control machine tool, ensuring the machining quality of the parts, making the production rhythm more smooth, and significantly improving the machining efficiency. The waiting for maintenance due to the personnel arrangement and the like is avoided.
[0045] As an optional embodiment, an abnormal mechanism of the precision compensation is provided, which includes: when the precision detection result still exceeds the preset tolerance value after the precision compensation is performed for N times, error information is generated and an alarm signal is sent. Preferably, the value of N is 3-5. Specifically, when the precision detection result obtained after the multiple precision compensations cannot meet the tolerance value requirement, it is necessary to consider whether there is a device failure or an abnormal result, and the like. At this time, the error information is generated and recorded, the information is sent to the relevant professional personnel or an alarm signal is sent to inform the on-site personnel, and timely processing is performed to avoid the delay of the machining progress.
[0046] As an optional implementation, a precision detection demand evaluation method is provided, comprising: judging whether the current precision detection demand evaluation time and the last recorded precision detection time exceed a preset time period, and evaluating that precision detection is needed when the preset time period is exceeded; and / or judging whether the number of received start signals between the current precision detection demand evaluation and the last recorded precision detection exceeds a preset number period, and evaluating that precision detection is needed when the preset number period is exceeded. Specifically, the precision detection demand evaluation mainly includes two modes, precision detection after the numerical control machine tool runs for a certain time and precision detection after the numerical control machine tool processes a certain number. When the precision detection after the numerical control machine tool runs for a certain time is adopted, a time period is set, for example, every 8 hours, and when the precision detection demand evaluation is performed, it is judged whether the current time and the update time of the last precision detection result meeting the tolerance value requirement are within 8 hours, and if the current time and the update time of the last precision detection result meeting the tolerance value requirement are within 8 hours, the numerical control machine tool starts a machining task, and if the current time and the update time of the last precision detection result meeting the tolerance value requirement exceed 8 hours, the numerical control machine tool performs precision detection. When the precision detection after the numerical control machine tool processes a certain number is adopted, a machining number period is set, for example, every 100 times of machining, and when the precision detection demand evaluation is performed, it is judged whether the machining number between the current machining task and the last precision detection result meeting the tolerance value requirement is within 100 times, and if the machining number between the current machining task and the last precision detection result meeting the tolerance value requirement is within 100 times, the numerical control machine tool starts a machining task, and if the machining number between the current machining task and the last precision detection result meeting the tolerance value requirement exceeds 100 times, the numerical control machine tool performs precision detection. The two modes can also be used in combination to further grasp the timing of precision detection. Assuming that the normal machining speed is 8 hours of machining for 100 times, and under high-intensity machining, more than 50 times of machining are performed in 2 hours, the precision detection is started.
[0047] As an optional implementation, a precision detection method is provided, comprising: using the precision detection method of the CA-type five-axis linkage numerical control machine tool or the precision detection method of the BA-type five-axis linkage numerical control machine tool to generate a precision detection result. Specifically, when precision detection is performed, a detection method more suitable for the specific type of numerical control machine tool can be selected according to the specific type of numerical control machine tool.
[0048] As an optional implementation, a precision detection method of a CA-type five-axis linkage numerical control machine tool and a corresponding precision compensation method are provided, comprising: using a wireless probe 3 to respectively measure the spherical center coordinates L1 (X1, Y1, Z1) of a spherical head detection rod 2 when the machine tool swing angle is at position P1 (A0 C0), the spherical center coordinates L2 (X2, Y2, Z2) of the spherical head detection rod 2 when the machine tool swing angle is at position P2 (A90 C0), and the spherical center coordinates L3 (X3, Y3, Z3) of the spherical head detection rod 2 when the machine tool swing angle is at position P3 (A-90 C0); and according to the spherical center coordinates L1, L2 and L3 and the known length of the spherical head detection rod 2, the distance from the A-axis axis to the positioning end face of the machine tool main shaft 4 is obtained as:
[0049]
[0050] Wherein, L is the length of the ball probe 2, R is the radius of the ball probe 2; according to the ball center coordinates L1, L2 and L3 and the known length of the ball probe 2, the vector difference of the machine tool main shaft 4 axis and the A-axis axis in the Y direction is obtained as follows:
[0051]
[0052] Specifically, taking the workbench 1 as a reference, the radio probe 3 is called to measure the ball center coordinates L1 (X1, Y1, Z1) of the ball probe 2 when the machine tool swing angle is at position P1 (A0C0), the ball center coordinates L2 (X2, Y2, Z2) of the ball probe 2 when the machine tool swing angle is at position P2 (A90C0) and the ball center coordinates L3 (X3, Y3, Z3) of the ball probe 2 when the machine tool swing angle is at position P3 (A-90C0). Then according to the ball center coordinates L1, L2 and L3 and the known length of the ball probe 2, the distance from the A-axis axis to the positioning end face of the machine tool main shaft 4 is obtained. And according to the ball center coordinates L1, L2 and L3 and the known length of the ball probe 2, the vector difference of the machine tool main shaft 4 axis and the A-axis axis in the Y direction is obtained. After obtaining the accuracy detection result, when accuracy compensation is needed, the compensation value of the parameter 24550【2】 is obtained according to the distance M1 from the A-axis axis to the positioning end face of the machine tool main shaft 4 and the value of the parameter 24550【2】; the compensation value of the parameter 24550【1】 is obtained according to the vector difference M2 of the machine tool main shaft 4 axis and the A-axis axis in the Y direction and the value of the parameter 24550【1】.
[0053] As an optional embodiment, a precision detection method and its corresponding precision compensation method suitable for CA type five-axis linkage numerical control machine tool are provided, which comprises: using a radio probe 3 to measure the ball center coordinates L4 (X4, Y4, Z4) of the ball probe 2 when the machine tool swing angle is at (A0C0) quadrant under the opening TRAORI instruction, the ball center coordinates L5 (X5, Y5, Z5) of the ball probe 2 when the machine tool swing angle is at (A0C90) quadrant, the ball center coordinates L6 (X6, Y6, Z6) of the ball probe 2 when the machine tool swing angle is at (A0C180) quadrant and the ball center coordinates L7 (X7, Y7, Z7) of the ball probe 2 when the machine tool swing angle is at (A0C270) quadrant; according to the ball center coordinates L4, L5, L6 and L7, the deviation of the C-axis axis and the machine tool main shaft 4 axis in the X direction is obtained as follows:
[0054]
[0055] According to the ball center coordinates L4, L5, L6 and L7, the deviation of the C-axis axis and the machine tool main shaft 4 axis in the Y direction is obtained as follows:
[0056]
[0057] Specifically, the radio probe 3 is called to measure the spherical center coordinates L4 (X4, Y4, Z4) of the ball probe 2 when the machine tool swing angle is in the (A0 C0) quadrant under the opening TRA ORI instruction, the spherical center coordinates L5 (X5, Y5, Z5) of the ball probe 2 when the machine tool swing angle is in the (A0 C90) quadrant, the spherical center coordinates L6 (X6, Y6, Z6) of the ball probe 2 when the machine tool swing angle is in the (A0 C180) quadrant, and the spherical center coordinates L7 (X7, Y7, Z7) of the ball probe 2 when the machine tool swing angle is in the (A0 C270) quadrant. Then, according to the spherical center coordinates L4, L5, L6 and L7, the deviation of the C-axis axis from the X-direction of the machine tool spindle 4 axis is obtained. And according to the spherical center coordinates L4, L5, L6 and L7, the deviation of the C-axis axis from the Y-direction of the machine tool spindle 4 axis is obtained. After obtaining the accuracy detection result, when accuracy compensation is needed, the compensation value of the parameter 24560【0】 is obtained according to the deviation M4 of the C-axis axis from the X-direction of the machine tool spindle 4 axis and the numerical value of the parameter 24560【0】, and the accuracy compensation is performed; the compensation value of the parameter 24560【1】 is obtained according to the deviation M5 of the C-axis axis from the Y-direction of the machine tool spindle 4 axis and the numerical value of the parameter 24560【1】, and the accuracy compensation is performed.
[0058] As an optional embodiment, a precision detection method and its corresponding precision compensation method suitable for a BA type five-axis linkage numerical control machine tool are provided, which comprises: using a radio probe 3 to measure the spherical center coordinates L8 (X8, Y8, Z8) of the ball probe 2 when the machine tool swing angle is in the position P4 (A0 B0), the spherical center coordinates L9 (X9, Y9, Z9) of the ball probe 2 when the machine tool swing angle is in the position P5 (A30 B0), and the spherical center coordinates L10 (X10, Y10, Z10) of the ball probe 2 when the machine tool swing angle is in the position P6 (A-30B0); according to the spherical center coordinates L8, L9 and L10 and the known length of the ball probe 2, the distance from the A-axis axis to the positioning end face of the machine tool spindle 4 is obtained as:
[0059] M6 = |Y9-Y10|-L+R,
[0060] Wherein, L is the length of the ball probe 2, and R is the radius of the ball probe 2. Specifically, taking the workbench 1 as a reference, the radio probe 3 is called to measure the ball center coordinates L8 (X8, Y8, Z8) of the ball probe 2 when the machine tool swing angle is at the position P4 (A0 B0), the ball center coordinates L9 (X9, Y9, Z9) of the ball probe 2 when the machine tool swing angle is at the position P5 (A30 B0), and the ball center coordinates L10 (X10, Y10, Z10) of the ball probe 2 when the machine tool swing angle is at the position P6 (A-30 B0). According to the ball center coordinates L8, L9 and L10 and the known length of the ball probe 2, the distance from the A-axis to the positioning end face of the machine tool main shaft 4 is obtained. After obtaining the accuracy detection result, when accuracy compensation is needed, the compensation value of the parameter 24550【2】 is obtained according to the distance M6 from the A-axis to the positioning end face of the machine tool main shaft 4 and the numerical value of the parameter 24550【2】 to perform accuracy compensation.
[0061] As an optional embodiment, a precision detection method and a corresponding precision compensation method suitable for a BA type five-axis linkage numerical control machine tool are provided, which comprises: using a radio probe 3 to measure the ball center coordinates L11 (X11, Y11, Z11) of the ball probe 2 when the machine tool swing angle is at (A0 B30) under the TRAORI instruction, the ball center coordinates L12 (X12, Y12, Z12) of the ball probe 2 when the machine tool swing angle is at (A0 B-30), the ball center coordinates L13 (X13, Y13, Z13) of the ball probe 2 when the machine tool swing angle is at (A30 B0), the ball center coordinates L14 (X14, Y14, Z14) of the ball probe 2 when the machine tool swing angle is at (A-30 B0), the ball center coordinates L15 (X15, Y15, Z15) of the ball probe 2 when the machine tool swing angle is at (A0 B30), and the ball center coordinates L16 (X16, Y16, Z16) of the ball probe 2 when the machine tool swing angle is at (A0 B-30); according to the ball center coordinates L13, L14, L15 and L16, the vector difference between the machine tool main shaft 4 axis and the A-axis in the Y direction is obtained as:
[0062] M8 = Z13-Z14;
[0063] According to the ball center coordinates L13, L14, L15 and L16, the distance from the B-axis to the positioning end face of the machine tool main shaft 4 is obtained as:
[0064] M9 = |Y11-Y12|-L+R,
[0065] Wherein, L is the length of the ball probe 2, and R is the radius of the ball probe 2. According to the vector difference M8 between the machine tool main shaft 4 axis and the A-axis in the Y direction and the distance M9 from the B-axis to the positioning end face of the machine tool main shaft 4, the distance from the B-axis to the A-axis is obtained as:
[0066] M10 = M9-M8;
[0067] According to the spherical center coordinates L13, L14, L15 and L16, the vector difference between the spindle 4 axis and the B-axis axis in the X direction is obtained as follows:
[0068] M12=Z15-Z16.
[0069] Specifically, the radio probe 3 is called to measure the spherical center coordinates L11 (X11, Y11, Z11) of the ball head probe 2 when the machine tool swing angle is at (A0B30) under the opening TRAORI instruction, the spherical center coordinates L12 (X12, Y12, Z12) of the ball head probe 2 when the machine tool swing angle is at (A0B-30), the spherical center coordinates L13 (X13, Y13, Z13) of the ball head probe 2 when the machine tool swing angle is at (A30B0), the spherical center coordinates L14 (X14, Y14, Z14) of the ball head probe 2 when the machine tool swing angle is at (A-30B0), the spherical center coordinates L15 (X15, Y15, Z15) of the ball head probe 2 when the machine tool swing angle is at (A0B30), and the spherical center coordinates L16 (X16, Y16, Z16) of the ball head probe 2 when the machine tool swing angle is at (A0B-30). Then, according to the spherical center coordinates L13, L14, L15 and L16, the vector difference between the spindle 4 axis and the A-axis axis in the Y direction is obtained. And according to the spherical center coordinates L13, L14, L15 and L16, the distance from the B-axis axis to the positioning end face of the spindle 4 is obtained. And according to the spherical center coordinates L13, L14, L15 and L16, the vector difference between the spindle 4 axis and the B-axis axis in the X direction is obtained. After obtaining the accuracy detection result, when accuracy compensation is needed, according to the vector difference M8 between the spindle 4 axis and the A-axis axis in the Y direction and the numerical value of the parameter 24550【1】, the compensation value of the parameter 24550【1】 is obtained to perform accuracy compensation; according to the distance from the B-axis axis to the A-axis axis and the numerical value of the parameter 24560【2】, the compensation value of the accuracy compensation of the parameter 24560【2】 is obtained to perform accuracy compensation; according to the vector difference between the spindle 4 axis and the B-axis axis in the X direction and the numerical value of the parameter 24560【0】, the compensation value of the parameter 24560【0】 is obtained to perform accuracy compensation.
[0070] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent flow transformation using the content of the specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for automatic precision control of CNC machine tools, characterized in that, Includes the following steps: Upon receiving a start signal, a precision testing requirement assessment is performed on the CNC machine tool; it is determined whether the time of the current precision testing requirement assessment exceeds a preset time period compared to the time of the last recorded precision testing; if the time exceeds the preset time period, a precision testing is deemed necessary; and / or, it is determined whether the number of start signals received between the current precision testing requirement assessment and the last recorded precision testing exceeds a preset number of periods; if the number exceeds the preset number of periods, a precision testing is deemed necessary. When the accuracy testing requirement assessment indicates that accuracy testing is required, the accuracy testing method of the CA type five-axis linkage CNC machine tool or the accuracy testing method of the BA type five-axis linkage CNC machine tool is used to generate accuracy testing results; Determine whether the accuracy detection result exceeds the preset accuracy tolerance value. If the accuracy detection result exceeds the preset accuracy tolerance value, perform accuracy compensation. If the accuracy detection result still exceeds the preset accuracy tolerance value after N accuracy compensations, generate an error message and issue an alarm signal. After the accuracy compensation is completed, the accuracy detection is restarted to update the accuracy detection result. After updating the accuracy detection result, the step of determining whether the accuracy detection result exceeds the preset accuracy tolerance value is returned. The process is repeated until the accuracy detection result is within the preset accuracy tolerance value.
2. The automatic precision control method for CNC machine tools as described in claim 1, characterized in that, The accuracy testing method using a CA-type five-axis linkage CNC machine tool generates accuracy testing results, including: The ball center coordinates L1(X1, Y1, Z1) of the ball head probe were measured when the machine tool swing angle was at position P1 (A0 C0), L2(X2, Y2, Z2) of the ball head probe when the machine tool swing angle was at position P2 (A90 C0), and L3(X3, Y3, Z3) of the ball head probe when the machine tool swing angle was at position P3 (A-90 C0). Based on the coordinates of the ball center L1, L2, and L3, and the known length of the ball head gauge bar, the distance from the A-axis to the positioning end face of the machine tool spindle is: M1 = (Z1 - (Z2 + Z3) / 2) - L + R, Where L is the length of the ball-head detector and R is the radius of the ball-head detector; Based on the coordinates of the ball center L1, L2, and L3, and the known length of the ball head gauge bar, the vector difference between the machine tool spindle axis and the A-axis axis in the Y direction is: M2=(Z2-Z3) / 2.
3. The automatic control method for CNC machine tool accuracy as described in claim 2, characterized in that, The accuracy compensation step includes: The compensation value of parameter 24550-2 is obtained based on the distance M1 from the A-axis to the positioning end face of the machine tool spindle and the value of parameter 24550-2. The compensation value of parameter 24550-1 is obtained based on the vector difference M2 between the machine tool spindle axis and the A-axis axis in the Y direction and the value of parameter 24550-1.
4. The automatic precision control method for CNC machine tools as described in claim 1, characterized in that, The accuracy testing method using a CA-type five-axis linkage CNC machine tool generates accuracy testing results, including: The ball center coordinates of the ball head probe were measured using a radio probe when the machine tool tilt angle was in the (A0 C0) quadrant, L4 (X4, Y4, Z4), L5 (X5, Y5, Z5), L6 (X6, Y6, Z6), and L7 (X7, Y7, Z7) when the machine tool tilt angle was in the (A0 C90) quadrant, L6 (X6, Y6, Z6), and L7 (X7, Y7, Z7) when the machine tool tilt angle was in the (A0 C180) quadrant, respectively, under the TRAORI command. Based on the coordinates of the sphere's center L4, L5, L6, and L7, the deviation between the C-axis and the machine tool spindle axis in the X direction is: M4 = (X4 - X6) / 2; Based on the coordinates of the sphere's center L4, L5, L6, and L7, the deviation between the C-axis and the machine tool spindle axis in the Y direction is: M5 = (X5 - X7) / 2.
5. The automatic precision control method for CNC machine tools as described in claim 4, characterized in that, The accuracy compensation step includes: The compensation value of parameter 24560-0 is obtained by assigning a value to the deviation M4 between the C-axis axis and the machine tool spindle axis in the X direction and the value of parameter 24560-0. The compensation value of parameter 24560-1 is obtained by assigning the value of the deviation M5 between the C-axis axis and the machine tool spindle axis in the Y direction to 24560-1.
6. The automatic precision control method for CNC machine tools as described in claim 1, characterized in that, The accuracy testing method used on the BA type five-axis linkage CNC machine tool includes: The ball center coordinates L8 (X8, Y8, Z8) of the ball head probe were measured when the machine tool swing angle was at position P4 (A0 B0), L9 (X9, Y9, Z9) of the ball head probe when the machine tool swing angle was at position P5 (A30 B0), and L10 (X10, Y10, Z10) of the ball head probe when the machine tool swing angle was at position P6 (A-30 B0). Based on the ball center coordinates L8, L9, and L10, and the known length of the ball head gauge bar, the distance from the A-axis to the machine tool spindle positioning end face is: M6 = |Y9-Y10|-L+R, Where L is the length of the ball-head detector and R is the radius of the ball-head detector.
7. The automatic precision control method for CNC machine tools as described in claim 6, characterized in that, The accuracy compensation includes: The compensation value of parameter 24550-2 is obtained based on the distance M6 from the A-axis to the positioning end face of the machine tool spindle and the value of parameter 24550-2.
8. The automatic control method for CNC machine tool accuracy as described in claim 1, characterized in that, The accuracy testing method used on the BA type five-axis linkage CNC machine tool includes: The ball center coordinates of the ball head probe were measured using a radio probe when the machine tool tilt angle was (A0 B30), L11 (X11, Y11, Z11), L12 (X12, Y12, Z12), L13 (X13, Y13, Z13), L14 (X14, Y14, Z14), L15 (X15, Y15, Z15), and L16 (X16, Y16, Z16) when the machine tool tilt angle was (A0 B30) and (A0 B-30) respectively, respectively, under the TRAORI command. Based on the coordinates of the sphere's center L13, L14, L15, and L16, the vector difference between the machine tool spindle axis and the A-axis axis in the Y direction is: M8 = Z13 - Z14; Based on the coordinates of the sphere's center L13, L14, L15, and L16, the distance from the B-axis to the machine tool spindle positioning end face is: M9 = |Y11-Y12|-L+R, Where L is the length of the ball-head detector and R is the radius of the ball-head detector; Based on the vector difference M8 between the machine tool spindle axis and the A-axis axis in the Y direction and the distance M9 from the B-axis axis to the machine tool spindle positioning end face, the distance from the B-axis axis to the A-axis axis is obtained as follows: M10 = M9 - M8; Based on the coordinates of the sphere's center L13, L14, L15, and L16, the vector difference between the machine tool spindle axis and the B-axis axis in the X direction is: M12 = Z15 - Z16.
9. The automatic precision control method for CNC machine tools as described in claim 8, characterized in that, The accuracy compensation step includes: The compensation value of parameter 24550-1 is obtained by assigning values based on the vector difference M8 between the machine tool spindle axis and the A-axis axis in the Y direction and the value of parameter 24550-1. Based on the distance from the B-axis to the A-axis and the value of parameter 24560-2, the compensation value of the accuracy compensation for parameter 24560-2 is obtained; The compensation value of parameter 24560-0 is obtained by assigning a value to the vector difference between the machine tool spindle axis and the B-axis axis in the X direction and the value of parameter 24560-0.
Citation Information
Patent Citations
Numerical control machine tool precision index data feature mining method based on big data
CN111580469A
Measuring ability evaluation method of machine tool, and program
JP2019190941A