A method for analyzing the accessibility of the lower rivet head of an automatic drilling and riveting machine
By using secondary development technology in CATIA software to extract and convert point coordinates and line direction information, the automatic lower rivet head is placed in place and rotates, solving the problem of low programming efficiency in the design of the lower rivet head of automatic drilling and riveting machines, and improving It provides reachability analysis and coverage assessment, saving labor costs.
Patent Information
- Application Number
- CN202110811878.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-07-19
AI Technical Summary
In the design and processing of lower rivet heads of automatic drilling and riveting machines, it is difficult to achieve system rationality with existing technology. Especially in products with small space, manual setting of equipment motion parameters and coordinates results in low programming efficiency and prone to errors, and requires multiple times. Repeated settings lead to long manual time.
Using the basic operation functions of CATIA software, through secondary development software, the point coordinates and line direction information are extracted and converted into a 4×4 orthogonal matrix to realize the automatic positioning and rotation movement of the lower rivet head, perform accessibility judgment, and reduce offline Use of programming.
It realizes rapid accessibility analysis and coverage evaluation of the lower rivet head, reduces the time spent on setting motion events, saves labor costs, and improves programming efficiency.
Smart Images

Figure CN113569397B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of design and application of automatic drilling and riveting lower rivet heads, and specifically relates to a method for analyzing the accessibility of lower rivet heads suitable for automatic drilling and riveting machines, which can analyze the accessibility of lower rivet head processing and is used for the evaluation of the design and processing of automatic drilling and riveting lower rivet heads. Background Art
[0002] There are many points for each product in automatic drilling and riveting. It is difficult to achieve system rationality by manually performing statistical analysis to select and design the rivet head, especially for products with small spaces such as hatches, which need to consider many factors to avoid. Currently, the programming process requires offline programming software, which requires manual setting of equipment motion parameters and coordinates, manual setting of analysis functions, and manual statistics of product accessibility coverage. The manual time is extremely long, and there are errors in manually setting coordinates and statistical accessibility. In addition, there are repeated work of setting coordinates multiple times during the programming process, and the programming efficiency is low. Summary of the invention
[0003] In order to overcome the above-mentioned technical defects of the prior art, the present invention provides a reachability analysis method for the lower rivet head of an automatic drilling and riveting machine. The present invention aims at the original method of manually setting equipment parameters and coordinates using offline programming software, gets rid of the use of offline programming, directly applies the basic operating functions of CATIA software, and realizes the rotational movement and reachability judgment of the lower rivet head after the lower rivet head automatically reaches the processing point through secondary development software.
[0004] The technical solution of the present invention is:
[0005] A method for analyzing the accessibility of a lower rivet head of an automatic drilling and riveting machine comprises the following steps:
[0006] 1) Determine and set the product digital model, part digital model and lower rivet head digital model containing automatic drilling and riveting processing information;
[0007] 2) Extract point coordinate information and line direction information in CATIA software, and convert the 6-DOF parameters into a 4×4 orthogonal matrix containing 12 parameters of the CATIA coordinate system;
[0008] Specifically, use the GetCoordinates method in CATIA software to extract the point coordinates A of the point elements in the part. T , use the GetDirection method in CATIA software to extract the line vector B of the line element inside the part T , then A T and B T Convert to 4×4 orthogonal coordinate matrix value M T .
[0009] Furthermore, the specific conversion method is as follows:
[0010] The initial coordinate matrix values are:
[0011]
[0012] The lower rivet head is analyzed by rotating around the Z axis, so the Z direction vector value of the lower rivet head needs to be coaxial with the line direction vector, and the point element needs to coincide with the processing point of the lower rivet head;
[0013] The coordinate matrix value after rotating around the X-axis by an angle of α is as follows:
[0014]
[0015] The coordinate matrix value after rotating around the Y axis by angle β is as follows:
[0016]
[0017] After matching the Z-axis vector, the coordinate matrix value is:
[0018]
[0019] The point coordinates obtained are: A T =(X t ,Y t ,Z t ), the obtained line vector is: B T =(L t ,M t ,N t );
[0020] According to CATIA coordinate logic: (L t ,M t ,N t )=(cosα×sinβ,sinα,cosα×cosβ)
[0021] Solution:
[0022] α=arcsin(M t )
[0023] β=arctan(L t / N t )
[0024] Then match point coordinates A T After that, the coordinate matrix value of the point and line information conversion component of the part coordinate system is:
[0025]
[0026] 3) Extract the component coordinate information of each layer in CATIA software and convert it into a 4×4 orthogonal matrix
[0027] Use the GetComponents method in CATIA to extract the component coordinate values of each layer, and then import the component coordinate matrix values. The specific method is as follows:
[0028] Use the GetComponents method to read a 12-dimensional vector:
[0029] (U x , U y , U z , V x , V y , V z , W x , W y , W z , T x , T y , T z );
[0030] Then read in the coordinate matrix values in the following format bit by bit:
[0031]
[0032] 4) Apply the orthogonal matrix layer-by-layer algorithm to solve the coordinate matrix value M of the rivet head moving to the processing point G , the specific method is as follows:
[0033] ①First set M G =M T ;
[0034] ②According to the method in step 3), read the component A coordinates of the extracted point coordinates and line coordinates, and obtain the component coordinate matrix value M A ;
[0035] ③Then set M G =M G ×M A
[0036] ④ Determine whether the upper component of component A is consistent with the upper component of the lower rivet head component. If not, repeat steps ② and ③ until they are consistent;
[0037] ⑤Finally solve the coordinate matrix value M G .
[0038] 5) Use the rotation matrix around the Z axis to calculate the coordinate matrix value of the lower rivet head rotation
[0039] Use the rotation matrix around the Z axis to solve the coordinate matrix value after the rivet head is rotated. The specific method is as follows;
[0040] The component coordinate matrix value after rotating around the Z axis by an angle of γ is as follows:
[0041]
[0042] Calculate the coordinate matrix value of the rivet head after rotation: M rotZ ×M G ;
[0043] 6) Set the coordinate value of the lower rivet head in CATIA software so that the lower rivet head moves into place and rotates
[0044] M rotZ ×M G The matrix value is taken as a 12-dimensional vector according to the coordinate matrix format of step 3, and then the coordinate value of the lower rivet head is set using the SetComponents method in the CATIA software so that the lower rivet head moves to the processing point.
[0045] 7) Real-time 360-degree rotation and interference analysis are used to determine whether the point is reachable, and then the display properties of the point elements are automatically changed to record the reachability results.
[0046] Use the clash method in the CATIA software to perform interference analysis and judgment. If there is interference, re-execute steps 5 to 6 until there is no interference. Then use the SetRealColor method in the CATIA software to change the reachable color attribute of the point element. If interference still exists after rotating 360 degrees, use the SetRealColor method in the CATIA software to change the unreachable color attribute of the point element.
[0047] 8) Repeat steps 2 to 7 for the next point until all processing points are processed and the method is implemented.
[0048] The effects and benefits of the present invention are: changing the lower rivet head accessibility analysis working mode of the original off-line programming software, redeveloping the software of CATIA basic functions, quickly realizing the accessibility analysis of the lower rivet head after design and the evaluation of the accessibility coverage when the lower rivet head is selected, and at the same time reducing the time for setting the lower rivet head movement event in the off-line programming process, saving the human cost of programmers. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A method for analyzing the accessibility of a lower rivet head of an automatic drilling and riveting machine is provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and technical solutions.
[0051] like Figure 1 As shown, a flow chart of a method for analyzing the reachability of a rivet head of an automatic drilling and riveting machine includes the following implementation steps:
[0052] 1) Determine and set the product digital model, part digital model and lower rivet head digital model containing automatic drilling and riveting processing information.
[0053] 2) Extract the point coordinate information and line direction information in CATIA software, and then convert the 6-DOF parameters into a 4×4 orthogonal matrix containing 12 parameters of the CATIA coordinate system.
[0054] Use the GetCoordinates method in CATIA software to extract the point coordinates of the point element in the part A T , use the GetDirection method in CATIA software to extract the line vector B of the line element inside the part T , then A T and B T Convert to 4×4 orthogonal coordinate matrix value M T , the specific conversion method (method A) is as follows:
[0055] The initial coordinate matrix value is
[0056]
[0057] The lower rivet head is analyzed by rotating around the Z axis, so the Z direction vector value of the lower rivet head needs to be coaxial with the line direction vector, and the point element needs to coincide with the processing point of the lower rivet head.
[0058] The coordinate matrix value after rotating around the X-axis by an angle of α is as follows:
[0059]
[0060] The coordinate matrix value after rotating around the Y axis by angle β is as follows:
[0061]
[0062] After matching the Z-axis vector, the coordinate matrix value is:
[0063]
[0064] The point coordinates obtained are: A T =(X t ,Y t ,Z t ), the obtained line vector is: B T =(L t ,M t ,N t );
[0065] According to CATIA coordinate logic: (L t ,M t ,N t)=(cosα×sinβ,sinα,cosα×cosβ)
[0066] Solution:
[0067] α=arcsin(M t )
[0068] β=arctan(L t / N t )
[0069] Then match point coordinates A T After that, the coordinate matrix value of the point and line information conversion component of the part coordinate system is:
[0070]
[0071] 3) Extract the component coordinate information of each layer in CATIA software and then convert it into a 4×4 orthogonal matrix.
[0072] Use the GetComponents method in CATIA to extract the component coordinate values of each layer, and then import the component coordinate matrix values (method B). The specific method is as follows:
[0073] Use the GetComponents method to read a 12-dimensional vector as
[0074] (U x , U y , U z , V x , V y , V z , W x , W y , W z , T x , T y , T z )
[0075] Then read in the coordinate matrix values in the following format bit by bit:
[0076]
[0077] 4) Apply the orthogonal matrix layer-by-layer algorithm to calculate the coordinate matrix value of the position of the lower rivet head arrival point.
[0078] Apply the orthogonal matrix hierarchical algorithm (method C) to solve the coordinate matrix value M of the rivet head moving to the processing point G , the specific method is as follows:
[0079] ①First set M G =M T ;
[0080] ② Read the component A coordinates of the extracted point coordinates and line coordinates according to the method in step 3, and obtain the component coordinate matrix value M A ;
[0081] ③Then set M G =M G ×M A
[0082] ④ Determine whether the upper component of component A is consistent with the upper component of the lower rivet head component. If not, repeat steps ② and ③ until they are consistent;
[0083] ⑤Finally solve the coordinate matrix value M G
[0084] 5) Use the rotation matrix around the Z axis to calculate the coordinate matrix value of the rotation of the lower rivet head.
[0085] Use the rotation matrix around the Z axis to solve the coordinate matrix value after the rivet head is rotated (method D). The specific method is as follows;
[0086] The component coordinate matrix value after rotating around the Z axis by an angle of γ is as follows:
[0087]
[0088] Calculate the coordinate matrix value of the rivet head after rotation: M rotZ ×M G ;
[0089] 6) Set the coordinate value of the lower rivet head in the CATIA software so that the lower rivet head moves into place and rotates.
[0090] M rotZ ×M G The matrix value is taken as a 12-dimensional vector according to the coordinate matrix format of step 3, and then the coordinate value of the lower rivet head is set using the SetComponents method in the CATIA software so that the lower rivet head moves to the processing point.
[0091] 7) Real-time 360-degree rotation and interference analysis are used to determine whether the point is reachable, and then the display properties of the point elements are automatically changed to record the reachability results.
[0092] Use the clash method in the CATIA software to perform interference analysis and judgment (method E). If there is interference, re-execute steps 5 to 6 until there is no interference. Then use the SetRealColor method in the CATIA software to change the reachable color attribute of the point element. If interference still exists after rotating 360 degrees, use the SetRealColor method in the CATIA software to change the unreachable color attribute of the point element.
[0093] 8) Repeat steps 2 to 7 for the next point until all processing points are processed and the method is implemented.
[0094] The description presented in the above exemplary embodiments is only used to illustrate the technical solution of the present invention, and is not intended to be exhaustive, nor is it intended to limit the present invention to the precise form described. Obviously, it is possible for a person of ordinary skill in the art to make many changes and variations based on the above teachings. The exemplary embodiments are selected and described to explain the specific principles of the present invention and its practical application, so that other technicians in the field can easily understand, implement and use the various exemplary embodiments of the present invention and its various selected forms and modified forms. The scope of protection of the present invention is intended to be defined by the attached claims and their equivalent forms.
Claims
1. A method for analyzing the accessibility of the lower rivet head of an automatic drilling and riveting machine, characterized in that: The method for analyzing the accessibility of the lower rivet head of an automatic drilling and riveting machine comprises the following steps: 1) Determine and set the product digital model, part digital model and lower rivet head digital model containing automatic drilling and riveting processing information; 2) Extract point coordinate information and line direction information in CATIA software, and convert the 6-DOF parameters into a 4×4 orthogonal matrix containing 12 parameters of the CATIA coordinate system; Use the GetCoordinates method in CATIA software to extract the point coordinates of the point element in the part A T , use the GetDirection method in CATIA software to extract the line vector B of the line element inside the part T , then A T and B T Convert to 4×4 orthogonal coordinate matrix value M T ; The conversion method is as follows: The initial coordinate matrix values are: The lower rivet head is rotated around the Z axis for analysis, so the Z direction vector value of the lower rivet head needs to be coaxial with the line direction vector, and the point element needs to coincide with the processing point of the lower rivet head; The coordinate matrix value after rotating around the X-axis by an angle of α is as follows: The coordinate matrix value after rotating around the Y axis by angle β is as follows: After matching the Z-axis vector, the coordinate matrix value is: The point coordinates obtained are: A T =(X t ,Y t ,Z t ), the obtained line vector is: B T =(L t ,M t ,N t ); According to CATIA coordinate logic: (L t ,M t ,N t )=(cosα×sinβ,sinα,cosα×cosβ), solve: α=arcsin(M t ) β=arctan(L t / N t ); Then match point coordinates A T After that, the coordinate matrix value of the point and line information conversion component of the part coordinate system is: 3) Extract the component coordinate information of each layer in CATIA software and convert it into a 4×4 orthogonal matrix; Use the GetComponents method in CATIA to extract the component coordinate values of each layer, and then import the component coordinate matrix values. The specific method is as follows: Use the GetComponents method to read a 12-dimensional vector: (U x ,U y ,U z ,V x ,V y ,V z ,W x ,W y ,W z ,T x ,T y ,T z ); Then read in the coordinate matrix values in the following format bit by bit: 4) Apply the orthogonal matrix layer-by-layer algorithm to solve the coordinate matrix value M of the rivet head moving to the processing point G , the specific method is as follows: ①First set M G =M T ; ②According to the method in step 3), read the component A coordinates of the extracted point coordinates and line coordinates, and obtain the component coordinate matrix value M A ; ③Then set M G =M G ×M A ④ Determine whether the upper component of component A is consistent with the upper component of the lower rivet head component. If not, repeat steps ② and ③ until they are consistent; ⑤Finally solve the coordinate matrix value M G ; 5) Use the rotation matrix around the Z axis to calculate the coordinate matrix value of the rotation of the lower rivet head; Use the rotation matrix around the Z axis to solve the coordinate matrix value after the rivet head is rotated. The specific method is as follows; The component coordinate matrix value after rotating around the Z axis by an angle of γ is as follows: Calculate the coordinate matrix value of the rivet head after rotation: M rotZ ×M G ; 6) Set the coordinate value of the lower rivet head in CATIA software so that the lower rivet head moves into place and rotates; M rotZ ×M G The matrix value is taken as a 12-dimensional vector according to the coordinate matrix format of step 3), and then the coordinate value of the lower rivet head is set using the SetComponents method in the CATIA software, so that the lower rivet head moves to the processing point; 7) Real-time 360-degree rotation; and interference analysis to determine whether it is reachable, and then automatically change the display properties of the point element to record the reachability results; Use the clash method in CATIA software to analyze and judge interference. If there is interference, re-execute steps 5) to 6) until there is no interference. Then use the SetRealColor method in CATIA software to change the accessible color attribute of the point element. If there is still interference after rotating 360 degrees, use the SetRealColor method in CATIA software to change the unreachable color attribute of the point element. 8) proceed to the next processing point, and repeat steps 2) to 7) until all processing points are processed, and the method is implemented.
Citation Information
Patent Citations
Programming method for airplane thin-wall curved surface skin automatic drilling and riveting
CN105182799A
Website establishing method for work fixture coordinate system of horizontal automatic drilling and riveting machine for aircraft wallplate
CN106624816A
Automatic boring and riveting rapid programming method for aircraft panel
CN107220455A
A human motion description method based on an inertial sensor
CN109741371A
Hole site correction method applied to automatic drilling and riveting of curved surface products
CN111469125A
