A method and system for detecting interference of stud welding
By combining pre-interference detection and welding gun simulation rotation detection with the software system, suitable welding guns are screened and studs are inspected one by one, solving the problem of low manual operation efficiency in the existing technology and achieving efficient and accurate stud welding interference detection.
Patent Information
- Application Number
- CN202510819458.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-19
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-06-19
AI Technical Summary
In the existing technology, stud welding interference detection relies on manual operation, which leads to heavy workload, low efficiency and easy errors. It is impossible to efficiently and accurately perform interference detection between the welding gun and parts, fixtures and guide sleeves.
A software system is used to detect stud welding interference. By combining pre-interference detection with welding gun simulation rotation interference detection, suitable welding guns are selected and studs are inspected one by one. Only those that fail the pre-interference detection are further simulated and verified, reducing workload and improving detection efficiency.
It greatly reduces workload, improves the efficiency and accuracy of stud welding interference detection, reduces human errors, and improves overall design efficiency and accuracy.
Smart Images

Figure CN120333806B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile automation design, and in particular to a method and system for detecting stud welding interference. Background Art
[0002] When designing the stud welding process, it is necessary to perform interference detection on whether the welding gun can smoothly reach the welding position to perform the welding operation on the stud. Specific interference detection items include whether the welding gun will collide and interfere with the parts, fixtures and guide sleeves. The welding gun is a pistol-type welding gun, and the fixture is used to accurately position and reliably clamp the parts to ensure the position accuracy and stability of the parts during welding, so that the studs can be accurately welded to the predetermined positions on the parts; the guide sleeve is fixed on the fixture and corresponds one-to-one with the studs on the parts. The guide hole of the guide sleeve is used to guide the welding gun electrode head to ensure the stability of the welding gun during the welding operation.
[0003] When performing interference checks on node designs within a welding digital model environment, if interference is detected between the welding torch and parts within the product node, as well as studs, fixtures, and guide sleeves on the parts, adjustments must be made to the fixture structure, welding torch motion path, guide sleeve position, and part shape until the interference is eliminated. However, manually performing this interference detection process wastes significant time and increases costs. Inexperience can also lead to errors. Summary of the Invention
[0004] In view of this, the object of the present invention is to provide a method and system for stud welding interference detection, which is conducive to reducing workload and improving the efficiency and accuracy of stud welding interference detection.
[0005] In order to achieve the above object, the present invention provides a method for stud welding interference detection, which comprises:
[0006] S1. Identify the parts, fixtures, studs and guide bushings under the selected imported product node;
[0007] S2. Determine a first screening value and a second screening value respectively, and retrieve welding guns from the welding gun database for selection, whose welding gun electrode tip radius is not greater than the first screening value and whose gun body length is not greater than the second screening value;
[0008] S3. Use the welding gun selected in S2 to perform pre-interference detection on all studs on the part one by one;
[0009] S4. Perform welding gun simulation rotation interference detection on the studs whose pre-interference detection results in S3 are unqualified for verification.
[0010] Furthermore, the welding gun is a pistol-type welding gun, which includes a gun body and a handle, and the welding gun electrode head is located at the axial front of the gun body.
[0011] Furthermore, the method for determining the first screening value in S2 is:
[0012] Performing a first operation on each stud on the part, the first operation comprising: drawing an infinite plane perpendicular to the axis of the stud with the center point of the stud axis as the center, obtaining perpendicular distances of interference points of other digital models intersecting the infinite plane with the axis of the stud, and selecting the smallest value among the perpendicular distances as the first distance of the stud;
[0013] After the first operation is performed on all studs on the part, the minimum value of the first distances corresponding to each stud is selected as the first screening value.
[0014] Furthermore, the method for determining the second screening value in S2 is:
[0015] Perform the second operation on all studs on the part one by one. The second operation includes: starting from the center point of the connection surface between the stud and the part, establishing a vector normal perpendicular to the connection surface and extending in the same direction as the protruding direction of the stud. When the vector normal intersects with other surfaces of the part, the intersection surface is extracted multiple times, and then the intersection points of the vector normal and each extracted surface are extracted. The distance from the starting point to each intersection point is measured, and the minimum value L is taken. min , the second distance A corresponding to the stud is obtained by formula 1:
[0016] A=120mm-L min -H Formula 1
[0017] In formula 1, A is the second distance corresponding to each stud, L min is the minimum distance from the starting point to the intersection point of each stud, and H is the axial length of each stud itself;
[0018] After the second operation is performed on all studs on the part, the minimum value of the second distances corresponding to each stud is selected as the second screening value.
[0019] Furthermore, the pre-interference detection includes:
[0020] S31. Position and assemble the center line of the welding gun electrode tip and the center line of the stud;
[0021] S32, sequentially make three detection circular surfaces perpendicular to the axis of the welding gun body and with the center located on the axis of the welding gun body: the first detection circular surface, the second detection circular surface and the third detection circular surface,
[0022] S33, check whether each detection circular surface intersects with other digital models. If each detection circular surface does not intersect with other digital models, the pre-interference detection result corresponding to the stud is determined to be pre-check qualified, and the pre-check qualified is defined as Class A pre-check qualified; if at least one detection circular surface intersects with other digital models, obtain the intersection area on the detection circular surface, and then obtain the non-intersection area angle surface formed by the non-intersection area of each detection circular surface with the center of the detection circular surface as the angle point, project the non-intersection area angle surfaces of the three detection circular surfaces along the center line direction of the welding gun electrode head, and measure the angles of each overlapping area after the superposition, select the maximum overlapping area angle, if the maximum overlapping area angle is greater than the preset interference detection angle, then the pre-interference detection result corresponding to the stud is determined to be pre-check qualified, and the pre-check qualified is defined as Class B pre-check qualified; if the maximum angle is less than the preset interference detection angle, then the pre-interference detection result corresponding to the stud is determined to be unqualified;
[0023] S34: For pre-interference detection results of S33 that are qualified, perform entity interference verification:
[0024] Specifically, a verification entity is first constructed, wherein the verification entity is generated by lofting interference verification fan-shaped areas created on the second detection circular surface, the third detection circular surface, and the first detection circular surface respectively, using the axis of the welding gun body as a guide line;
[0025] Then, the verification entity is checked for intersection with other digital models. If there is no intersection, the final result of the interference detection corresponding to the stud is determined to be qualified; if there is an intersection, the pre-interference detection result corresponding to the stud is determined to be unqualified.
[0026] The rules for creating the interference verification sector area are as follows:
[0027] The center of the interference verification sector area is the center of the corresponding detection circular surface. The included angles of the interference verification sector areas on the three detection circular surfaces are equal and their projections are directly opposite and coincident. The included angle of the interference verification sector areas is equal to the preset interference detection angle.
[0028] Furthermore, if the pre-check is passed for type A, the interference verification sector area is randomly selected at the position of the corresponding detection circular surface; if the pre-check is passed for type B, the interference verification sector area is located within the maximum overlap area described in S33.
[0029] Further, in S32,
[0030] The first detection circle coincides with the point where the vertical distance between the handle of the welding gun and the axis of the gun body is the longest, and the radius of the first detection circle is the maximum vertical distance between the end of the handle of the welding gun and the axis of the gun body;
[0031] The center of the second detection circle is located at the midpoint of the axis of the welding gun electrode tip, and the radius of the second detection circle is the radius of the welding gun electrode tip;
[0032] The center of the third detection circular surface is located at the midpoint of the first detection circular surface and the second detection circular surface, and the radius of the third detection circular surface is equal to the midpoint of the radius of the first detection circular surface and the radius of the second detection circular surface.
[0033] Further, in S4, the welding gun simulated rotation interference detection includes: positioning and assembling the center line of the welding gun electrode head of the welding gun and the center line of the stud, and then rotating the welding gun 360° around the axis of the welding gun electrode head, and detecting whether there is a non-interference continuous rotation angle greater than a preset interference detection angle during the rotation of the welding gun: if so, the interference detection result corresponding to the stud is corrected to be qualified; if not, the interference detection result corresponding to the stud is determined to be unqualified.
[0034] In order to achieve the above object, the present invention also provides a stud welding interference detection system, comprising:
[0035] Import and recognition module, used to import and recognize parts, fixtures, studs and guide bushings under product nodes;
[0036] A welding gun recommendation module is used to retrieve welding guns from the welding gun database for selection, whose electrode tip radius is not greater than a first screening value and whose gun body length is not greater than a second screening value;
[0037] Pre-interference detection module, used to perform pre-interference detection on all studs on the part one by one using the selected welding gun;
[0038] The welding gun simulation rotation interference detection module is used to perform welding gun simulation rotation interference detection to verify the studs whose pre-interference detection results are unqualified.
[0039] In order to achieve the above objectives, the present invention also provides an electronic device, which includes a memory, a processor and a computer program stored in the memory and runnable on the processor, and when the processor executes the program, it implements the above-mentioned method for stud welding interference detection.
[0040] In order to achieve the above object, the present invention further provides a computer storage medium, wherein the computer storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the above-mentioned method for detecting stud welding interference.
[0041] Compared with the existing technology, the present invention provides a method for stud welding interference detection, which performs pre-interference screening through pre-interference detection, and only performs welding gun simulation rotation interference detection for verification if the pre-interference detection fails, which greatly reduces the workload and improves the work efficiency of interference detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings that constitute part of the present invention are used to provide further understanding of the present invention. The schematic embodiments of the present invention and their description are used to explain the present invention and do not constitute improper limitations on the present invention. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without making any creative efforts.
[0043] Figure 1 A flow chart of a stud welding interference detection method provided in one embodiment of the present invention;
[0044] Figure 2 A schematic diagram of the main interface of a software embodiment designed based on the detection method of the present invention;
[0045] Figure 3 This is a schematic diagram of the partial design structure of the product node;
[0046] Figure 4 is a schematic diagram of a welding gun;
[0047] Figure 5 Schematic diagram of three detection circular surfaces;
[0048] Figure 6 This is an example diagram of the overlapping area of the angle surfaces of the non-intersecting areas of the three detection circular surfaces;
[0049] Figure 7 Example diagram for creating a validation entity. DETAILED DESCRIPTION
[0050] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0051] It should be noted that the terms "include" and "have" and any variations thereof in the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or are inherent to these processes, methods, products or apparatuses.
[0052] Existing technology requires manual work within the design model of product nodes, including searching and confirming stud positions, inserting bolts, and performing interference checks such as assembly rotation. This process ultimately results in the export of bolt insertion data. This manual processing is prone to errors, and manually processing massive amounts of vehicle data wastes significant time and effort. Software-based operations significantly increase overall speed and efficiency. By using predefined logic for comparison, output can be produced more quickly and efficiently, significantly reducing the need for specialized technical expertise and allowing professional engineers to handle more specialized tasks. Furthermore, design and review through software improves overall design efficiency and accuracy.
[0053] As shown in the figure, an embodiment of the present invention provides a method for stud welding interference detection, which includes the following steps:
[0054] S1. Identify the parts, fixtures, studs and guide bushings under the selected imported product node;
[0055] Specifically, such as Figure 2 As shown, the user opens the product model in CATIA, clicks the "Node Selection" function, and manually selects the desired product node on the product in the CATIA interface. The software will read the product node number and display it in the corresponding input OR display box; the input product node supports multiple selection operations;
[0056] After selecting a product node, the import process begins. The studs on the part, the fixture that clamps the part, and the guide sleeves that correspond to the studs and are fixed to the fixture are all imported along with the part. The specific import method is prior art and will not be detailed here. The method of the present invention primarily involves performing stud weld interference detection on the aforementioned design elements of the product node.
[0057] The guide sleeve is fixed on the fixture in a one-to-one correspondence with the stud on the part, and the guide hole of the guide sleeve is used to guide the welding gun electrode head to ensure the stability of the welding gun during welding operation. Figure 3 As shown, part 1 is designed with studs 2a and studs 2b, and the fixture 3 is fixed with a guide sleeve 4a corresponding to the stud 2a and a guide sleeve 4b corresponding to the stud 2b. The guide hole 40 of each guide sleeve is used to guide the welding gun electrode head of the welding gun.
[0058] After the product node is imported, the parts, studs, fixtures, and guide sleeves are identified. For example, stud identification primarily determines the stud's characteristic attributes and its position on the part. The specific identification methods are state-of-the-art and will not be detailed here.
[0059] S2. Determine a first screening value and a second screening value respectively, and retrieve welding guns from the welding gun database for selection, whose welding gun electrode tip radius is not greater than the first screening value and whose gun body length is not greater than the second screening value;
[0060] like Figure 4 As shown, the welding gun is a pistol-type welding gun, which includes a gun body 51 and a handle 52. The welding gun electrode head 511 is located at the axial front of the gun body 51. In the figure, a is the length of the gun body and b is the length of the handle.
[0061] Furthermore, the method for determining the first screening value is:
[0062] Perform a first operation on all studs on the part one by one, the first operation comprising: drawing an infinite plane perpendicular to the axis of the stud with the center point of the axis of the stud as the center, obtaining the vertical distances of the interference points of other digital models intersecting with the infinite plane relative to the axis of the stud, and selecting the smallest value among the vertical distances as the first distance of the stud; Figure 3 As shown, the first operation is performed by taking the stud 2a as an example: with the center point of the axis of the stud 2a as the center, make an infinite plane Y perpendicular to the axis of the stud, and obtain the vertical distance of the interference point where other digital models intersect with the infinite plane relative to the axis of the stud. As far as the digital models around the stud 2a are concerned, the minimum value of the vertical distance of the interference point where the infinite plane intersects the wall of the guide hole 40 of the guide sleeve 4a relative to the axis of the stud is the first distance corresponding to the stud.
[0063] After the first operation is performed on all studs on the part, the minimum value of the first distances corresponding to each stud is selected as the first screening value.
[0064] The method for determining the second screening value is:
[0065] Perform the second operation on all studs on the part one by one. The second operation includes: starting from the center point of the connection surface between the stud and the part, establishing a vector normal that is perpendicular to the connection surface and extends in the same direction as the protrusion direction of the stud (coincides with or is parallel to it). When the vector normal intersects with other surfaces of the part, the intersection surface is extracted multiple times, and then the intersection points of the vector normal and each extracted surface are extracted. The distance from the starting point to each intersection point is measured, and the minimum value L is taken. min , the second distance A corresponding to the stud is obtained by formula 1:
[0066] A=120mm-L min -H Formula 1
[0067] In formula 1, A is the second distance corresponding to each stud, L minis the minimum distance from the starting point to the intersection point of each stud, and H is the axial length of each stud. The units of all parameters in Formula 1 are mm. The axial length of the stud can be retrieved from the stud database.
[0068] After the second operation is performed on all studs on the part, the minimum value of the second distances corresponding to each stud is selected as the second screening value.
[0069] S3. Using the welding gun selected in S2, perform pre-interference detection on all studs on the part one by one. The pre-interference detection includes:
[0070] S31. Position and assemble the center line of the welding gun electrode tip and the center line of the stud;
[0071] S32, sequentially make three detection circular surfaces perpendicular to the axis of the welding gun body 51 and with the center located on the axis of the welding gun body 51: the first detection circular surface B1, the second detection circular surface B2 and the third detection circular surface B3 (as shown in FIG. Figure 5 shown), where
[0072] The first detection circular surface B1 coincides with the point where the vertical distance between the handle 52 of the welding gun and the axis of the gun body 51 is the longest, and the radius of the first detection circular surface B1 is the maximum vertical distance between the end of the handle 52 of the welding gun and the axis of the gun body 51;
[0073] The second detection circle B2 (combined Figure 6 The center of the circle is located at the midpoint of the axis of the welding gun electrode tip 511, and the radius of the second detection circle is the radius of the welding gun electrode tip 511; it should be noted that, due to being blocked by the guide sleeve, Figure 5 The second detection circle is not shown in FIG.
[0074] The center of the third detection circular surface B3 is located at the midpoint between the first detection circular surface B1 and the second detection circular surface, and the radius of the third detection circular surface B3 is equal to the midpoint between the radius of the first detection circular surface B1 and the radius of the second detection circular surface;
[0075] S33. Check whether each detection circular surface intersects with other digital models. If each detection circular surface does not intersect with other digital models, the pre-interference detection result corresponding to the stud is determined to be pre-inspection qualified, and the pre-inspection qualified situation is defined as Class A pre-inspection qualified; if at least one detection circular surface intersects with other digital models, obtain the intersection area on the detection circular surface, and then obtain the non-intersection area angle surface formed by the non-intersection area on each detection circular surface with the center of the detection circular surface as the angle point, project and superimpose the non-intersection area angle surfaces of the three detection circular surfaces along the center line direction of the welding gun electrode head, and measure the angles of each overlapping area after superposition, select the maximum overlapping area angle, if the maximum overlapping area angle is greater than the preset interference detection angle, then the pre-interference detection result corresponding to the stud is determined to be pre-inspection qualified, and the pre-inspection qualified situation is defined as Class B pre-inspection qualified; if the maximum overlapping area angle is less than the preset interference detection angle, then the pre-interference detection result corresponding to the stud is determined to be unqualified.
[0076] The situation of passing the Class A pre-inspection is relatively simple and will not be further explained in this article.
[0077] Examples of qualified Class B pre-inspections include Figure 6 As shown, the intersection area B10 of the first detection circular surface B1 corresponding to a certain stud and the intersection area of other digital models (parts, fixtures or guide sleeves) is obtained, and the intersection area B21 of the third detection circular surface B3 and the intersection area of other digital models is obtained. The non-intersecting area angle surface formed by the center of the detection circular surface of the non-intersecting area on each detection circular surface can be obtained. The non-intersecting area angle surfaces of the three detection circular surfaces are projected and superimposed along the center line direction of the welding gun electrode head to obtain two overlapping areas, and the angles of the two overlapping areas are measured to be α1 and α2 respectively. The maximum overlapping area angle α2 is selected. The preset interference detection angle is 20°. Since α2 is greater than 20°, it is judged that the interference detection result corresponding to the stud is qualified for pre-inspection and belongs to Class B pre-inspection qualified.
[0078] S34: For pre-interference detection results of S33 that are qualified, perform entity interference verification:
[0079] Specifically, a verification entity is first constructed. The verification entity is generated by lofting the interference verification sector areas created on the second detection circular surface B2, the third detection circular surface B3, and the first detection circular surface B1, respectively, using the axis of the welding gun body 51 as a guide line.
[0080] Then, the verification entity is checked for intersection with other digital models. If there is no intersection, the final result of the interference detection corresponding to the stud is determined to be qualified; if there is an intersection, the pre-interference detection result corresponding to the stud is determined to be unqualified.
[0081] The rules for creating the interference verification sector area are as follows:
[0082] The center of the interference verification sector area is the center of the corresponding detection circular surface. The included angles of the interference verification sector areas on the three detection circular surfaces are equal and their projections are directly opposite and coincident. The included angle of the interference verification sector areas is equal to the preset interference detection angle.
[0083] Furthermore, if the pre-check is passed for type A, the interference verification sector area is randomly selected at the position of the corresponding detection circular surface; if the pre-check is passed for type B, the interference verification sector area is located within the maximum overlap area described in S33.
[0084] For example: Figure 7 As shown, with the axis of the welding gun body 51 as the guide line Y1, Q2 is the interference verification sector area created on the second detection circular surface B2, Q3 is the interference verification sector area created on the third detection circular surface B3, and Q1 is the interference verification sector area created on the first detection circular surface B1. The angles of Q1, Q3, and Q2 are equal and their projections overlap, and the angle is equal to the preset interference angle of 20°. For cases where the Class A pre-inspection is qualified, the location for creating the interference verification sector area can be randomly selected. For cases where the Class B pre-inspection is qualified, the interference verification sector area should be created within the maximum overlap area described in S33.
[0085] Using Y1 as the guide line, the verification entity is generated by lofting in the order of Q2, Q3, and Q1. This entity is then checked for intersection with other digital models. This not only prevents missed interference between B1 and B3, or between B3 and B2, but also minimizes the size of the verification entity, significantly reducing computational complexity and improving overall work efficiency. While the location of the interference verification sector for Class A pre-checked areas is randomly selected, subsequent S4 verification is performed for unqualified areas, preventing false positives and reducing S4's verification workload.
[0086] S4. Perform welding gun simulation rotation interference detection on the studs whose pre-interference detection results in S3 are unqualified for verification. The welding gun simulation rotation interference detection belongs to the existing technology, which mainly positions and assembles the center line of the welding gun electrode head of the welding gun and the center line of the stud, and then rotates the welding gun 360° around the axis of the welding gun electrode head to detect whether there is a non-interference continuous rotation angle greater than the preset interference detection angle during the rotation process of the welding gun. If so, the interference detection result corresponding to the stud is corrected to be qualified. If not, the interference detection result corresponding to the stud is determined to be unqualified.
[0087] The arrangement and output of interference detection results belong to the existing technology and will not be described in detail in this article.
[0088] Since the welding gun simulation rotation interference detection in S4 requires the welding gun to be inserted and rotated for simulated interference detection, the amount of calculation is large and time-consuming. Therefore, the present invention designs a pre-interference detection, and only performs the welding gun simulation rotation interference detection for verification if the pre-interference detection fails. This can greatly reduce the workload, improve the overall detection efficiency of the system, and also provide a gun insertion angle solution for subsequent gun insertion data.
[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for stud welding interference detection, characterized in that: include: S1. Identify the parts, fixtures, studs and guide bushings under the selected imported product node; S2. Determine a first screening value and a second screening value respectively, and retrieve welding guns from the welding gun database for selection, whose welding gun electrode tip radius is not greater than the first screening value and whose gun body length is not greater than the second screening value; S3. Use the welding gun selected in S2 to perform pre-interference detection on all studs on the part one by one; S4. Perform welding gun simulation rotation interference test on the studs whose pre-interference test result in S3 is unqualified to verify; The method for determining the first screening value in S2 is: Performing a first operation on each stud on the part, the first operation comprising: drawing an infinite plane perpendicular to the axis of the stud with the center point of the stud axis as the center, obtaining perpendicular distances of interference points of other digital models intersecting the infinite plane with the axis of the stud, and selecting the smallest value among the perpendicular distances as the first distance of the stud; After the first operation is performed on all studs on the part, the minimum value of the first distances corresponding to each stud is selected as the first screening value.
2. A method for detecting stud welding interference according to claim 1, characterized in that: The welding gun is a pistol-type welding gun, which comprises a gun body and a handle, and the welding gun electrode head is located at the axial front of the gun body.
3. A method for detecting stud welding interference according to claim 1, characterized in that: The method for determining the second screening value in S2 is: Perform the second operation on all studs on the part one by one. The second operation includes: starting from the center point of the connection surface between the stud and the part, establishing a vector normal perpendicular to the connection surface and extending in the same direction as the protruding direction of the stud. When the vector normal intersects with other surfaces of the part, multiple intersection surfaces are extracted, and then the intersection points of the vector normal and each extracted surface are extracted. The distance from the starting point to each intersection point is measured, and the minimum value L is taken. min , the second distance A corresponding to the stud is obtained by formula 1: A=120mm-L min -H Formula 1 In formula 1, A is the second distance corresponding to each stud, L min is the minimum distance from the starting point to the intersection point of each stud, and H is the axial length of each stud itself; After the second operation is performed on all studs on the part, the minimum value of the second distances corresponding to each stud is selected as the second screening value.
4. A method for detecting stud welding interference according to claim 1, characterized in that: The pre-interference detection includes: S31. Position and assemble the center line of the welding gun electrode tip and the center line of the stud; S32, sequentially make three detection circular surfaces perpendicular to the axis of the welding gun body and with the center located on the axis of the welding gun body: the first detection circular surface, the second detection circular surface and the third detection circular surface, S33, check whether each detection circular surface intersects with other digital models. If each detection circular surface does not intersect with other digital models, the pre-interference detection result corresponding to the stud is determined to be pre-check qualified, and the pre-check qualified situation is defined as Class A pre-check qualified; if at least one detection circular surface intersects with other digital models, obtain the intersection area on the detection circular surface, and then obtain the non-intersection area angle surface formed by the non-intersection area of each detection circular surface with the center of the detection circular surface as the angle point, project the non-intersection area angle surfaces of the three detection circular surfaces along the center line direction of the welding gun electrode head, and measure the angles of each overlapping area after the superposition, select the maximum overlapping area angle, if the maximum overlapping area angle is greater than the preset interference detection angle, then the pre-interference detection result corresponding to the stud is determined to be pre-check qualified, and the pre-check qualified situation is defined as Class B pre-check qualified; if the maximum overlapping area angle is less than the preset interference detection angle, then the pre-interference detection result corresponding to the stud is determined to be unqualified; S34: For pre-interference detection results of S33 that are qualified, perform entity interference verification: Specifically, a verification entity is first constructed, wherein the verification entity is generated by lofting interference verification fan-shaped areas created on the second detection circular surface, the third detection circular surface, and the first detection circular surface respectively, using the axis of the welding gun body as a guide line; Then, the verification entity is checked for intersection with other digital models. If there is no intersection, the final result of the interference detection corresponding to the stud is determined to be qualified; if there is an intersection, the pre-interference detection result corresponding to the stud is determined to be unqualified. The rules for creating the interference verification sector area are as follows: The center of the interference verification sector area is the center of the corresponding detection circular surface. The included angles of the interference verification sector areas on the three detection circular surfaces are equal and their projections are directly opposite and coincident. The included angle of the interference verification sector areas is equal to the preset interference detection angle. Furthermore, if the pre-check is passed for type A, the interference verification sector area is randomly selected at the position of the corresponding detection circular surface; if the pre-check is passed for type B, the interference verification sector area is located within the maximum overlap area described in S33.
5. A method for detecting stud welding interference according to claim 4, characterized in that: In S32, The first detection circle coincides with the point where the vertical distance between the handle of the welding gun and the axis of the gun body is the longest, and the radius of the first detection circle is the maximum vertical distance between the end of the handle of the welding gun and the axis of the gun body; The center of the second detection circle is located at the midpoint of the axis of the welding gun electrode tip, and the radius of the second detection circle is the radius of the welding gun electrode tip; The center of the third detection circular surface is located at the midpoint of the first detection circular surface and the second detection circular surface, and the radius of the third detection circular surface is equal to the midpoint of the radius of the first detection circular surface and the radius of the second detection circular surface.
6. A method for detecting stud welding interference according to claim 1, characterized in that: In S4, the welding gun simulated rotation interference detection includes: positioning and assembling the center line of the welding gun electrode head of the welding gun and the center line of the stud, and then rotating the welding gun 360° around the axis of the welding gun electrode head, and detecting whether there is a non-interference continuous rotation angle greater than a preset interference detection angle during the rotation of the welding gun: if so, the interference detection result corresponding to the stud is corrected to be qualified; if not, the interference detection result corresponding to the stud is determined to be unqualified.
7. A system for detecting interference of stud welding, characterized in that: include: Import and recognition module, used to import and recognize parts, fixtures, studs and guide bushings under product nodes; A welding gun recommendation module is used to retrieve welding guns from the welding gun database for selection, whose electrode tip radius is not greater than a first screening value and whose gun body length is not greater than a second screening value; The first screening value is determined by performing a first operation on each stud on the part, the first operation comprising: drawing an infinite plane perpendicular to the axis of the stud with the center point of the stud axis as the center, obtaining perpendicular distances of interference points where other digital models intersect the infinite plane relative to the axis of the stud, and selecting the smallest value among the perpendicular distances as the first distance of the stud; after performing the first operation on all studs on the part, selecting the smallest value among the first distances corresponding to each stud as the first screening value; Pre-interference detection module, used to perform pre-interference detection on all studs on the part one by one using the selected welding gun; The welding gun simulation rotation interference detection module is used to perform welding gun simulation rotation interference detection to verify the studs whose pre-interference detection results are unqualified.
Citation Information
Patent Citations
Spot welding space inspection method and device
CN110489767A