Verification method of automatic drilling and riveting numerical control program file

By conducting closed-loop inspections in the CAITA software environment, checking and comparing the CNC program files and delivery requirements of automatic drilling and rivet equipment, the problem of process information operation errors during the programming process is solved, and programming quality and equipment reliability are improved.

CN119536140APending Publication Date: 2025-02-28AVIC SAC COMML AIRCRAFT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411607585.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

During the programming process, automatic drilling and riveting equipment is prone to errors in extracting process information, resulting in errors in processing position, repeated processing or fastener errors, which in turn causes product quality problems and equipment failures.

Method used

The closed-loop inspection method is adopted to read the processing information of the required digital-analog files and CNC program files in the CAITA software environment, and conduct verbosity checks and comparisons to ensure the uniqueness and consistency of the processing content.

Benefits of technology

It effectively avoids repeated processing errors and errors in which the processing content does not match the delivery content, improves programming quality and equipment reliability, and ensures the stability of product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536140A_ABST
    Figure CN119536140A_ABST
Patent Text Reader

Abstract

The invention discloses a checking method for an automatic drilling and riveting numerical control program file, and belongs to the technical field of numerical control machining. Firstly, machining information is read for repeated machining inspection; secondly, if a duplicate checking result has a repeated processing error, modifying a delivery requirement digital-analog file, and establishing a correct delivery requirement information data combination; and thirdly, the numerical control program file is matched according to the fastener code table, information in the numerical control program file is read, and repeated machining inspection is carried out. Fourthly, if repeated machining errors exist in the duplicate checking result, the numerical control program file is modified, and establishment of a correct numerical control program information data combination is completed; fifthly, obtaining point coordinate values according to equipment coordinates in the numerical control program, and performing matching conformity check on the point coordinate values and information of a delivery requirement digital model; and finally, if error information exists in the error report information list, modifying the numerical control program file or delivering the required digital-analog file to finish verification. According to the method, the accuracy of delivery demand information can be guaranteed, duplicate checking is completed, the working efficiency of automatic drilling and riveting programming is improved, and the accuracy of process information is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of numerical control machining and relates to a verification method for an automatic drilling and riveting numerical control program file. Background Art

[0002] The NC program of the automatic drilling and riveting machine is the instruction file for the production and operation of the equipment. It plays a vital role in the operation of the automatic drilling and riveting equipment. Therefore, the NC program must be checked before the equipment is produced. The programming workflow of automatic drilling and riveting is as follows: ① Extract MBD model process information → ② Plan the processing route and add events → ③ Simulation verification → ④ Dry run check → ⑤ Generate NC program file. The above simulation verification and dry run verification only check the motion path, which ensures the correctness of the equipment motion path, but cannot avoid errors in the operation of extracting process information, resulting in errors in the processing content and delivery requirements.

[0003] The processing mode of automatic drilling and riveting is point-to-position processing. The process information extracted during the programming process includes coordinate values, fastener information, processing type information, interlayer thickness information, etc. There are several typical errors in extracting process information: deviation in extraction position information leads to processing position error; processing position is in place but not processed or the wrong fastener is processed; repeated processing at the processing position. The above errors can lead to product quality problems or even serious failures such as equipment collision. Summary of the invention

[0004] In order to solve the above-mentioned problem, the present invention provides a closed-loop inspection method, which verifies the consistency of the automatic drilling and riveting program file with the digital model file required for delivery, and can realize three aspects of verification: (1) checking the digital model file required for delivery for duplicates to ensure that the processing content is unique; (2) checking the numerical control program file for duplicates to ensure that the processing content is unique; (3) comparing the processing information in the digital model file required for delivery with the processing information in the numerical control program file to ensure that the processing contents match each other.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is:

[0006] A method for verifying an automatic drilling and riveting numerical control program file comprises the following steps:

[0007] Step 1) In the CAITA software environment, read the processing information of the digital model file required for delivery, including the fastener name, processing content, point coordinate value, and create a data group (method A). The specific method is as follows:

[0008] ① Select the structure tree of the digital model file required for delivery, read the structure tree name layer by layer, and then identify the fastener name information and processing content information;

[0009] ② Extract point elements in each structure tree of the required digital model file, and then measure their point coordinate values;

[0010] ③ Establish data combination A of digital model files required for delivery, including fastener name, processing content, and point coordinates, to provide a data basis for subsequent inspections.

[0011] Step 2) Use the coordinate values ​​of the point elements to check for repeatability and record the results (method B). The specific method is as follows:

[0012] ① Select A1 in combination A and read its internal coordinate values, including the X coordinate X 1 , Y coordinate Y 1 , Z coordinate Z 1 ;

[0013] ②Select another A2 in combination A except A1, and read its internal coordinate values, including the X coordinate X 2 , Y coordinate Y 2 , Z coordinate Z 2 ;

[0014] ③Calculate (X 1 -X 2 ) 2 +(Y 1 -Y 2 ) 2 +(Z 1 -Z 2 ) 2 Difference;

[0015] ④ If the difference is less than 0.1, it is judged that there is a duplicate processing error and the duplicate error information is recorded;

[0016] ⑤If the distance value is not less than 0.1, repeat steps ② to ④ until the duplicate check of A1 is completed;

[0017] ⑥ Repeat steps ① to ⑤ until all processing requirement information is checked for duplicates.

[0018] Step 3) If the above duplication check results show duplicate processing errors, the delivery requirement digital model file needs to be modified, and steps 1) to 2) are repeated to finally complete the establishment of the correct delivery requirement information data combination.

[0019] Step 4) Match the NC program file according to the fastener code table, read the information in the NC program file, including the fastener name, processing content, and equipment coordinates, and establish a data group (method C). The specific method is as follows:

[0020] ① Read the equipment coordinate information, processing content information, and fastener code information in the CNC program file;

[0021] ② Match the fastener code table and modify the fastener code information to the fastener name information;

[0022] ③ Establish the data combination N of CNC program files, including fastener name, processing content, and equipment coordinates, to provide a data basis for subsequent inspections.

[0023] Step 5) Use the equipment coordinates to perform repeatability checks and record the repeatability results (method D). The specific method is as follows:

[0024] ① Select N1 in combination N and read its internal coordinate values, including the X coordinate X 1 , Y coordinate Y 1 , Z coordinate Z 1 、W coordinate W 1 , A coordinate A 1 ;

[0025] ②Select another N2 in combination N except N1, and read its internal coordinate values, including the X coordinate X 2 , Y coordinate Y 2 , Z coordinate Z 2 、W coordinate W 2 , A coordinate A 2 ;

[0026] ③Calculate (X 1 -X 2 ) 2 +(Y 1 -Y 2 ) 2 +(Z 1 -Z 2 ) 2 +(W 1 -W 2 ) 2 +(A 1 -A 2 ) 2 Difference;

[0027] ④ If the difference is less than 0.1, it is judged that there is a duplicate processing error and the duplicate error information is recorded;

[0028] ⑤If the distance value is not less than 0.1, repeat steps ② to ④ until the duplicate check of N1 is completed;

[0029] ⑥ Repeat steps ① to ⑤ until the duplicate check of the CNC program file is completed.

[0030] Step 6) If the above duplication check results show duplicate processing errors, the NC program file needs to be modified, and steps 4) to 5) are repeated to finally complete the establishment of the correct NC program information data combination.

[0031] Step 7) Use the device coordinate inverse solution method to obtain the point coordinate value of the device coordinate in the NC program, and then check the match with the information of the delivery required digital model, including the inspection of the processing coordinates and the inspection of the processing content, and record the error information (method E). The specific method is as follows:

[0032] ① Select A1 in combination A and read the coordinate values ​​of its inner points, including the X coordinate X 1 , Y coordinate Y 1 , Z coordinate Z 1 ;

[0033] ②Select N1 in combination N and read the device coordinate values ​​in it, including the X coordinate X 2 , Y coordinate Y 2 , Z coordinate Z 2 、W coordinate W 2 , A coordinate A 2 ;

[0034] ③ X 2 , Y 2 , Z 2 , W 2 , A 2 Reverse solution to obtain the coordinate value X in the digital model coordinate system required for delivery 3 , Y 3 , Z 3 ;

[0035] ④Calculate (X 1 -X 3 ) 2 +(Y 1 -Y 3 ) 2 +(Z 1 -Z 3 ) 2 Difference;

[0036] ⑤ If the difference is less than 0.1, it is determined that A1 matches N1, and the fastener information and processing content information in A1 are checked again to see if they are consistent with N1. If they are inconsistent, an error message is recorded, and the error type is "processing content error";

[0037] ⑥If the difference is not less than 0.1, repeat steps ② to ⑤. If all device coordinates within N cannot match the coordinates of point A1, an error message is recorded, and the error type is "processing position error".

[0038] ⑦ Repeat steps ① to ⑥ until all matching checks are completed.

[0039] Step 8) If there is an error message in the above error message list, the NC program file or the delivery requirement digital model file needs to be modified, and steps 1) to 7) are repeated as needed to finally complete the verification of the automatic drilling and riveting NC program.

[0040] The guarantee key points of the present invention are:

[0041] 1) Automatically check the repeated processing of the digital model files required for automatic drilling and riveting delivery in the CATIA environment;

[0042] 2) Automatically check the repeated processing of automatic drilling and riveting CNC program files in text state;

[0043] 3) Match the automatic drilling and riveting delivery requirement information with the NC program processing information, and automatically check the consistency between the NC program processing content and the delivery requirement content.

[0044] The beneficial effects of the present invention are:

[0045] 1) Efficiently and automatically check the digital model files required for automatic drilling and riveting delivery to ensure the accuracy of the delivery requirement information, and compare it with the program files for secondary inspection;

[0046] 2) Efficiently and automatically check the CNC program files of automatic drilling and riveting, complete the duplicate check, and conduct a closed-loop check with the handover status information;

[0047] 3) Improve the work efficiency of automatic drilling and riveting programming, ensure the accuracy of process information, and improve the reliability of equipment application. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0049] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and technical solutions.

[0050] like Figure 1 As shown, a flowchart of a method for checking a CNC program of automatic drilling and riveting includes the following implementation steps:

[0051] Step 1) In the CAITA software environment, read the processing information of the digital model file required for delivery, including the fastener name, processing content, point coordinate value, and create a data group (method A). The specific method is as follows:

[0052] ① Select the structure tree of the digital model file required for delivery, read the structure tree name layer by layer, and then identify the fastener name information and processing content information;

[0053] ② Extract point elements in each structure tree of the required digital model file, and then measure their point coordinate values;

[0054] ③ Establish data combination A of digital model files required for delivery, including fastener name, processing content, and point coordinates, to provide a data basis for subsequent inspections.

[0055] Step 2) Use the coordinate values ​​of the point elements to check for repeatability and record the results (method B). The specific method is as follows:

[0056] ① Select A1 in combination A and read its internal coordinate values, including the X coordinate X 1 , Y coordinate Y 1 , Z coordinate Z 1 ;

[0057] ②Select another A2 in combination A except A1, and read its internal coordinate values, including the X coordinate X 2 , Y coordinate Y 2 , Z coordinate Z 2 ;

[0058] ③Calculate (X 1 -X 2 ) 2 +(Y 1 -Y 2 ) 2 +(Z 1 -Z 2 ) 2 Difference;

[0059] ④ If the difference is less than 0.1, it is judged that there is a duplicate processing error and the duplicate error information is recorded;

[0060] ⑤If the distance value is not less than 0.1, repeat steps ② to ④ until the duplicate check of A1 is completed;

[0061] ⑥ Repeat steps ① to ⑤ until all processing requirement information is checked for duplicates.

[0062] Step 3) If the above duplication check results show duplicate processing errors, the delivery requirement digital model file needs to be modified, and steps 1) to 2) are repeated to finally complete the establishment of the correct delivery requirement information data combination.

[0063] Step 4) Match the NC program file according to the fastener code table, read the information in the NC program file, including the fastener name, processing content, and equipment coordinates, and establish a data group (method C). The specific method is as follows:

[0064] ① Read the equipment coordinate information, processing content information, and fastener code information in the CNC program file;

[0065] ② Match the fastener code table and modify the fastener code information to the fastener name information;

[0066] ③ Establish the data combination N of CNC program files, including fastener name, processing content, and equipment coordinates, to provide a data basis for subsequent inspections.

[0067] Step 5) Use the equipment coordinates to perform repeatability checks and record the repeatability results (method D). The specific method is as follows:

[0068] ① Select N1 in combination N and read its internal coordinate values, including the X coordinate X 1 , Y coordinate Y 1 , Z coordinate Z 1 、W coordinate W 1 , A coordinate A 1 ;

[0069] ②Select another N2 in combination N except N1, and read its internal coordinate values, including the X coordinate X 2 , Y coordinate Y 2 , Z coordinate Z 2 、W coordinate W 2 , A coordinate A 2 ;

[0070] ③Calculate (X 1 -X 2 ) 2 +(Y 1 -Y 2 ) 2 +(Z 1 -Z 2 ) 2 +(W 1 -W 2 ) 2 +(A 1 -A 2 ) 2 Difference;

[0071] ④ If the difference is less than 0.1, it is judged that there is a duplicate processing error and the duplicate error information is recorded;

[0072] ⑤If the distance value is not less than 0.1, repeat steps ② to ④ until the duplicate check of N1 is completed;

[0073] ⑥ Repeat steps ① to ⑤ until the duplicate check of the CNC program file is completed.

[0074] Step 6) If the above duplication check results show duplicate processing errors, the NC program file needs to be modified, and steps 4) to 5) are repeated to finally complete the establishment of the correct NC program information data combination.

[0075] Step 7) Use the device coordinate inverse solution method to obtain the point coordinate value of the device coordinate in the NC program, and then check the match with the information of the delivery required digital model, including the inspection of the processing coordinates and the inspection of the processing content, and record the error information (method E). The specific method is as follows:

[0076] ① Select A1 in combination A and read the coordinate values ​​of its inner points, including the X coordinate X 1 , Y coordinate Y 1 , Z coordinate Z 1 ;

[0077] ②Select N1 in combination N and read the device coordinate values ​​in it, including the X coordinate X 2 , Y coordinate Y 2 , Z coordinate Z 2 、W coordinate W 2 , A coordinate A 2 ;

[0078] ③ X 2 , Y 2 , Z 2 , W 2 , A 2 Reverse solution to obtain the coordinate value X in the digital model coordinate system required for delivery 3 , Y 3 , Z 3 ;

[0079] ④Calculate (X 1 -X 3 ) 2 +(Y 1 -Y 3 ) 2 +(Z 1 -Z 3 ) 2 Difference;

[0080] ⑤ If the difference is less than 0.1, it is determined that A1 matches N1, and the fastener information and processing content information in A1 are checked again to see if they are consistent with N1. If they are inconsistent, an error message is recorded, and the error type is "processing content error";

[0081] ⑥If the difference is not less than 0.1, repeat steps ② to ⑤. If all device coordinates within N cannot match the coordinates of point A1, an error message is recorded, and the error type is "processing position error".

[0082] ⑦ Repeat steps ① to ⑥ until all matching checks are completed.

[0083] Step 8) If there is an error message in the above error message list, the NC program file or the delivery requirement digital model file needs to be modified, and steps 1) to 7) are repeated as needed to finally complete the verification of the automatic drilling and riveting NC program.

[0084] The technical effect of this embodiment case is: using the automatic drilling and riveting automatic drilling and riveting CNC program verification method, three aspects of automatic inspection can be completed in a short time, errors in repeated processing and errors in which the processing content does not match the delivery content can be avoided, programming quality can be effectively guaranteed, and it has good engineering application value.

[0085] The above-described embodiments merely express the implementation methods of the present invention, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A method for checking a CNC program file for automatic drilling and riveting, characterized in that: The method comprises the following steps: Step 1) In the CAITA software environment, read the processing information of the digital model file required for delivery, including the fastener name, processing content, point coordinate value, and create a data group; Step 2) Use the coordinate values ​​of the point elements to perform a repeatability check and record the duplicate checking results; Step 3) If the above duplication check result shows duplicate processing errors, the delivery requirement digital model file needs to be modified, and steps 1) to 2) are repeated to finally complete the establishment of the correct delivery requirement information data combination; Step 4) matching the NC program file according to the fastener code table, reading the information in the NC program file, including the fastener name, processing content, equipment coordinates, and establishing a data group; Step 5) Use the equipment coordinates to perform repeatability checks and record the repeatability results; Step 6) If the above duplication check result shows duplicate processing errors, the NC program file needs to be modified, and steps 4) to 5) are repeated to finally complete the establishment of the correct NC program information data combination; Step 7) Use the device coordinate inverse solution method to obtain the point coordinate value of the device coordinate in the NC program, and then check the match with the information of the delivery required digital model, including the inspection of the processing coordinates and the inspection of the processing content, and record the error information; Step 8) If there is an error message in the above error message list, the NC program file or the delivery requirement digital model file needs to be modified, and steps 1) to 7) are repeated as needed to finally complete the verification of the automatic drilling and riveting NC program.

2. The method for verifying an automatic drilling and riveting numerical control program file according to claim 1, characterized in that: The specific method of step 1) is as follows: ① Select the structure tree of the digital model file required for delivery, read the structure tree name layer by layer, and identify the fastener name information and processing content information; ②Extract point elements from each structure tree of the required digital model file and measure their point coordinate values; ③ Establish data combination A of digital model files required for delivery, including fastener name, processing content, and point coordinates.

3. The method for verifying an automatic drilling and riveting numerical control program file according to claim 2, characterized in that: The specific method of step 2) is as follows: ①Select A1 in combination A and read its internal coordinate values, including X coordinate X1, Y coordinate Y1, and Z coordinate Z1; ②Select another line A2 in combination A except A1, and read its internal coordinate values, including X coordinate X2, Y coordinate Y2, and Z coordinate Z2; ③Calculate (X1-X2) 2 +(Y1-Y2) 2 +(Z1-Z2) 2 Difference; ④ If the difference is less than 0.1, it is judged that there is a duplicate processing error and the duplicate error information is recorded; ⑤If the distance value is not less than 0.1, repeat steps ② to ④ until the duplicate check of A1 is completed; ⑥ Repeat steps ① to ⑤ until all processing requirement information is checked for duplicates.

4. The method for verifying an automatic drilling and riveting numerical control program file according to claim 3 is characterized in that: The specific method of step 4) is as follows: ① Read the equipment coordinate information, processing content information, and fastener code information in the CNC program file; ② Match the fastener code table and modify the fastener code information to the fastener name information; ③ Establish the data combination N of CNC program files, including fastener name, processing content, and equipment coordinates.

5. The method for verifying the automatic drilling and riveting numerical control program file according to claim 4 is characterized in that: The specific method of step 5) is as follows: ① Select N1 in combination N and read its internal coordinate values, including X coordinate X1, Y coordinate Y1, Z coordinate Z1, W coordinate W1, and A coordinate A1; ② Select another N2 in combination N except N1, and read its internal coordinate values, including X coordinate X2, Y coordinate Y2, Z coordinate Z2, W coordinate W2, and A coordinate A2; ③Calculate (X1-X2) 2 +(Y1-Y2) 2 +(Z1-Z2) 2 +(W1-W2) 2 +(A1-A2) 2 Difference; ④ If the difference is less than 0.1, it is judged that there is a duplicate processing error and the duplicate error information is recorded; ⑤If the distance value is not less than 0.1, repeat steps ② to ④ until the duplicate check of N1 is completed; ⑥ Repeat steps ① to ⑤ until the duplicate check of the CNC program file is completed.

6. The method for verifying an automatic drilling and riveting numerical control program file according to claim 5, characterized in that: The specific method of step 7) is as follows: ①Select line A1 in combination A and read the coordinate values ​​of its inner points, including X coordinate X1, Y coordinate Y1, and Z coordinate Z1; ② Select N1 in combination N and read the device coordinate values ​​in it, including X coordinate X2, Y coordinate Y2, Z coordinate Z2, W coordinate W2, and A coordinate A2; ③ Reverse solve X2, Y2, Z2, W2, and A2 to obtain the coordinate values ​​X3, Y3, and Z3 in the digital model coordinate system required for delivery; ④Calculate (X1-X3) 2 +(Y1-Y3) 2 +(Z1-Z3) 2 Difference; ⑤ If the difference is less than 0.1, it is determined that A1 matches N1, and the fastener information and processing content information in A1 are checked again to see if they are consistent with N1. If they are inconsistent, an error message is recorded, and the error type is "processing content error"; ⑥If the difference is not less than 0.1, repeat steps ② to ⑤. If all device coordinates within N cannot match the coordinates of point A1, an error message is recorded, and the error type is "processing position error"; ⑦ Repeat steps ① to ⑥ until all matching checks are completed.

7. A method for verifying an automatic drilling and riveting numerical control program file according to any one of claims 1 to 6, characterized in that: The verification method can achieve the following verification: (1) Check the delivery requirements for the digital model file for duplicates to ensure that the processing content is unique; (2) Check the numerical control program file for duplicates to ensure that the processing content is unique; (3) Compare the processing information in the delivery requirements for the digital model file and the processing information in the numerical control program file to ensure that the processing content matches.