A method and system for detecting the flatness of the welding surface of spot welding

By proposing a method and system for automated detection of spot welding welding profile plane in automotive automation design, the problem of cumbersome and low efficiency of manual inspection is solved, and fast and accurate detection is achieved, which improves work efficiency and reduces design costs.

CN119826768BActive Publication Date: 2025-06-17SHU GE KE JI (TIAN JIN) YOU XIAN GONG SI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510314861.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-06-17
Estimated Expiration
2045-03-18

AI Technical Summary

Technical Problem

In the automotive automation design process, surfaces with small curvature but large height difference will affect welding performance, resulting in cumbersome manual inspection, low efficiency and prone to missed inspection and missed inspection.

Method used

A method and system for detecting the plane degree of spot welding welding model is proposed. Through reading the model, interference processing, overlapping surface segmentation, offset calculation and automatic detection, the detection process is simplified and automated detection is realized.

Benefits of technology

It realizes rapid and accurate detection of welding profile planarity, reduces the workload of designers, improves work efficiency and reduces design costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119826768B_ABST
    Figure CN119826768B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for detecting the flatness of a spot welding surface, including: S1, reading a model and identifying a spot weld file to be detected, and reading all parts under the parent level of the spot weld file to be detected; S2, obtaining parts having an interference relationship with the spot weld to be detected through interference processing; S3, performing interference processing on a connecting piece to obtain an overlapping surface; S4, dividing the overlapping surface; S5, making a cutting plane of the overlapping surface and offsetting it up and down to obtain upper and lower offset surfaces; S6, calculating the flatness according to the distance from the welding surface of the spot weld to be detected to the upper and lower offset surfaces. The present invention simplifies the logic of the detection scheme and realizes automatic detection, and the detection result is faster and more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of automotive automation design, and particularly relates to a method and system for detecting the flatness of a spot welding surface. Background Art

[0002] Currently, during the automotive automation design process, surfaces with small curvatures and large height differences in the body-in-white assembly can affect the welding performance and are not suitable for welding. Therefore, design engineers need to detect the flatness of the welding surface during the structural design to ensure that the welding requirements can be met. The steps of the traditional detection method are as follows:

[0003] Open the digital model of the welding surface to be measured - Screen the solder joints with a curved welding surface - Draw a circle 1 with the solder joint as the center - Uniformly distribute points (even number) on circle 1 - Draw a circle 2 through the opposite points and the center - Determine whether the diameter of circle 2 meets the requirements.

[0004] When using the above detection method to detect the welding surface, it is necessary to detect each solder joint on the curved surface to determine whether the welding surface meets the requirements. For welding surfaces that meet the requirements, they can be not counted, but for welding surfaces that do not meet the requirements, they need to be counted and the data structure needs to be changed. Since there are thousands of solder joints in the body-in-white and the proportion of curved welding surfaces is relatively high, manual detection is prone to risks of missed detection and misdetection; the operation volume is large and cumbersome, and the work efficiency is low. Summary of the Invention

[0005] The present invention provides a method and system for detecting the flatness of a spot welding surface, which simplifies the logic of the detection scheme and realizes automatic detection, and the detection results are faster and more accurate.

[0006] To achieve the above object, the technical solution of the present invention is realized as follows:

[0007] A method for detecting the flatness of a spot welding surface includes:

[0008] S1. Read the model and identify the file of the solder joints to be detected, and read all the parts under the parent of the file of the solder joints to be detected;

[0009] S2. Obtain the parts having an interference relationship with the solder joints to be detected through interference processing;

[0010] S3. Perform interference processing on the connecting piece to obtain an overlapping surface;

[0011] S4. Divide the overlapping surface;

[0012] S5. Make a section plane of the overlapping surface and offset it up and down to obtain upper and lower offset planes;

[0013] S6. Calculate the flatness according to the distance from the welding surface of the solder joints to be detected to the upper and lower offset planes.

[0014] Further, step S2 includes: performing interference detection on the part whose welding surface needs to be detected and the solder joints, with the detection type being "gap + contact + collision", setting the interference gap to 0 mm, and counting the solder joints with a detection gap less than or equal to 0 mm as a group.

[0015] Further, step S4 includes:

[0016] Projecting the solder joints onto the lapping surface to obtain projection points;

[0017] Taking the projection points as the base points, drawing perpendicular lines to the lapping surface with the projection points as the midpoints;

[0018] Making a cylinder with the perpendicular line as the center line;

[0019] Dividing the lapping surface with the cylinder and retaining the inside of the cylinder.

[0020] Even further, step S5 includes:

[0021] Taking the projection points as the reference, making a section plane of the lapping surface;

[0022] Taking the section plane as the reference element and offsetting upward by d1 and downward by d2 along the direction of the center line respectively to obtain an upper offset surface and a lower offset surface;

[0023] Measuring the distance h1 from the welding surface to the upper offset surface and the distance h2 to the lower offset surface.

[0024] Even further, step S6 includes:

[0025] Calculating the flatness h of the welding surface, h = (d1 + d2) - (h1 + h2).

[0026] On the other hand, the present invention also proposes a system for detecting the flatness of a spot welding surface, including:

[0027] Reading module: Reading the model and identifying the file of the solder joints to be detected, and reading all the parts under the parent of the file of the solder joints to be detected;

[0028] Interference processing module: Obtaining the parts having an interference relationship with the solder joints to be detected through interference processing;

[0029] Lapping surface module: Performing interference processing on the connecting piece to obtain the lapping surface;

[0030] Division module: Dividing the lapping surface;

[0031] Offset module: Making a section plane of the lapping surface and offsetting upward and downward to obtain upper and lower offset surfaces;

[0032] Calculation module: Calculating the flatness according to the distances from the welding surface of the solder joints to be detected to the upper and lower offset surfaces.

[0033] Further, the interference processing module includes: performing interference detection on the parts to be welded and the solder joints, with the detection type being "gap + contact + collision", setting the interference gap to 0 mm, and counting the solder joints with a detection gap less than or equal to 0 mm as a group.

[0034] Further, the segmentation module includes:

[0035] Projection unit: projecting the solder joints onto the lapping surface to obtain projection points;

[0036] Perpendicular line unit: taking the projection points as the base points, making perpendicular lines to the lapping surface, with the projection points as the midpoints;

[0037] Cylinder unit: making a cylinder with the perpendicular line as the center line;

[0038] Segmentation unit: dividing the lapping surface with the cylinder and retaining the inside of the cylinder.

[0039] Furthermore, the offset module includes:

[0040] Section plane unit: making a section plane of the lapping surface with the projection points as the reference;

[0041] Offset unit: taking the section plane as the reference element and offsetting upward by d1 and downward by d2 along the direction of the center line to obtain an upper offset surface and a lower offset surface;

[0042] Measurement unit: measuring the distance h1 from the welded surface to the upper offset surface and the distance h2 to the lower offset surface.

[0043] Furthermore, the calculation module includes:

[0044] Calculating the flatness h of the welded surface, h = (d1 + d2) - (h1 + h2).

[0045] Compared with the prior art, the present invention has the following beneficial effects:

[0046] The present invention calls the relevant commands of the design software, then automatically measures the flatness of the welded surface according to the detection standards set by the system, and outputs the detection results, which simplifies the operation steps, highlights the key points, greatly reduces the workload of designers, improves work efficiency, and reduces design costs at the same time. Description of the Drawings

[0047] Figure 1 is the flow schematic diagram of the present invention;

[0048] Figure 2 is the schematic diagram of the detection function interface in Embodiment 1 of the present invention;

[0049] Figure 3It is a schematic diagram of the detection execution logic of Embodiment 1 of the present invention;

[0050] Figure 4 It is a schematic diagram of reading all parts in step (1) of Embodiment 1 of the present invention;

[0051] Figure 5 It is a schematic diagram of interference relationship detection in step (2) of Embodiment 1 of the present invention;

[0052] Figure 6 It is a schematic diagram of the lapping surface in step (3) of Embodiment 1 of the present invention;

[0053] Figure 7 It is a schematic diagram of projection in step (4) of Embodiment 1 of the present invention;

[0054] Figure 8 It is a schematic diagram of the perpendicular line in step (5) of Embodiment 1 of the present invention;

[0055] Figure 9 It is a schematic diagram of the cylinder in step (6) of Embodiment 1 of the present invention;

[0056] Figure 10 It is a schematic diagram of cylinder segmentation in step (7) of Embodiment 1 of the present invention;

[0057] Figure 11 It is a schematic diagram of the section in step (8) of Embodiment 1 of the present invention;

[0058] Figure 12 It is a schematic diagram of offset in step (9) of Embodiment 1 of the present invention;

[0059] Figure 13 It is a schematic diagram of calculation in step (10) of Embodiment 1 of the present invention;

[0060] Figure 14 It is a schematic diagram of the system structure of Embodiment 2 of the present invention. Detailed implementation manners

[0061] It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments can be combined with each other.

[0062] The method for detecting the flatness of the spot welding surface proposed by the present invention, as Figure 1 shown, includes:

[0063] S1. Read the model and identify the file of the solder joints to be detected, and read all the parts under the parent level of the file of the solder joints to be detected;

[0064] S2. Obtain the parts having an interference relationship with the solder joints to be detected through interference processing;

[0065] S3. Perform interference processing on the connecting piece to obtain the lapping surface;

[0066] S4. Divide the lapping surface;

[0067] S5. Make a section plane of the lapping surface and offset it up and down to obtain upper and lower offset planes;

[0068] S6. Calculate the flatness according to the distance from the welding surface of the solder joint to be detected to the upper and lower offset planes.

[0069] Based on the above method, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0070] Embodiment 1:

[0071] In this embodiment, taking Catia as an example for the design software, a functional software for automatically detecting the flatness of the welding surface is designed, and the detection function is completed by calling the Catia interface.

[0072] As Figure 2 shown is the interface schematic diagram of the functional software of this embodiment.

[0073] After opening the interface, click "Select Product Model", connect to CATIA to select the assembly for which the welding surface needs to be measured, and the software reads and fills in the node information.

[0074] After clicking the "Solder Joint Identification" button, the software retrieves one by one in the nodes of the product model selected in CATIA according to the "Solder Joint Identification Mark" in the database, and identifies the solder joint information corresponding to the characters and its center point (for those without a center point or a solder joint model, they can be automatically generated by the software);

[0075] If the solder joint identification mark in the product model node does not exist in the database, the software cannot identify it. The corresponding identification mark can be added through the "New" button and uploaded and added to the database.

[0076] Other process file identification:

[0077] If the process file and the solder joint file are in the same part, in the part of the solder joint file, hide the geometric graphic sets other than the identified solder joint file, which are not within the detection range;

[0078] If the process file is in a separate part, the user sets the "Other Process File Identification Mark" that does not need to be detected in the software interface. The software retrieves one by one in the nodes of the product model selected in CATIA according to the "Process File Identification Mark" in the database, identifies the process file information corresponding to the characters, and hides the identified process file or deactivates the end node.

[0079] If the process file identification in the product model node does not exist in the database, the software cannot recognize it. The corresponding identification can be added through the "New" button and uploaded to the database.

[0080] After the user clicks the [Review] button, the software reviews the welding surface according to the set detection logic.

[0081] When the user clicks on a row of data in the list, the data in CATIA interacts with it, highlighting the product part model drawing "centered" and showing the corresponding solder joint positions.

[0082] The review results can be filtered.

[0083] After the review results are output, the user can manually verify them and change the detection results through the [Result Correction] button. After clicking, the software will pop up a prompt "Do you want to correct the results" as a secondary verification to prevent incorrect modification.

[0084] The review results can be accumulated, the list data can be selected multiple times, and clicking the [Clear Data] function button can perform batch deletion.

[0085] Clicking the [Report Export] button will add the comprehensive information on the detection of the welding surface to an EXCEL file and open the EXCEL file. The user can download it to a custom path.

[0086] The specific execution logic of the functional software is as Figure 3 shown, including:

[0087] (1) When the software recognizes a solder joint file, it identifies the parent of this solder joint file upward and reads all the parts under the parent. As Figure 4 shown, for example, when the software recognizes the solder joints of the 5101310-QC01-WP front floor sub-block reinforcement beam assembly (left), the parent of the solder joint file is the 5101310-QC01 front floor sub-block reinforcement beam assembly (left).

[0088] (2) The software drives CATIA to detect the interference between all the parts in the "detection logic (1)" and the solder joint model, and obtains the parts that have an interference relationship with the solder joint file, which are the parts connected by the solder joint. The software records them as a group with the solder joint.

[0089] The software defaults to selecting the parts that need to detect the welding surface and the solder joint file for interference detection. As Figure 5As shown, the default detection types are "gap + contact + collision" and "between two selections" (selection 1 is the part whose welding surface needs to be detected, and selection 2 is the solder joint file). The interference gap is set to 0 mm. If the detection gap < 0 mm, interference is displayed, for example, the interference amount is -2 mm; if the gap is equal to 0 mm, the detection result shows contact and the interference amount is 0; if the gap is greater than 0 mm (such as 2 mm), the detection result shows that the gap amount is 2 mm. The solder joints showing interference and contact are counted as a group.

[0090] (3)Interference processing is performed on the connecting piece to obtain the overlapping surface, such as Figure 6 As shown, if it is a three-layer weld, pairwise interference processing is carried out, and both overlapping surfaces are detected;

[0091] (4)Project the solder joints onto the overlapping surface, such as Figure 7 As shown;

[0092] (5)Taking the projection point as the base point, draw a perpendicular line to the overlapping surface, such as Figure 8 As shown, with the projection point as the midpoint and the length being 10 mm;

[0093] (6)Taking the perpendicular line as the center line, such as Figure 9 As shown, make a cylinder with a diameter D = 16 mm (16 is the measured diameter D, and the value can be configured);

[0094] (7)Use the cylinder to divide the overlapping surface, such as Figure 10 As shown, keep the inside of the cylinder, which is basically a complete circle or a part of a circle;

[0095] (8)Taking the projection point as the reference, make a cutting plane of the overlapping surface, such as Figure 11 As shown;

[0096] (9)Taking the cutting plane as the reference element, offset 5 mm up and down along the direction of the center line (such as Figure 12 As shown, the value can be configured) to obtain the offset surface 1 and the offset surface 2, and measure the distances h1 and h2 from the welding surface to the offset surfaces;

[0097] (10)Calculate the flatness of the welding surface, such as Figure 13 As shown, the flatness h = (5 + 5) - (h1 + h2).

[0098] In this embodiment, relevant commands of CATIA are called through an algorithm, and then according to the detection standards set by the system, the flatness of the welding surface is automatically measured and the detection result is output, which simplifies the operation steps, highlights the key points, greatly reduces the workload of designers, improves work efficiency at the same time, and reduces the design cost.

[0099] Example 2:

[0100] Embodiment 2 proposes a system for detecting the flatness of the welding surface of spot welding, as Figure 14 shown, including:

[0101] Reading module: Reads the model and identifies the spot weld file to be detected, and reads all parts under the parent of the spot weld file to be detected;

[0102] Interference processing module: Obtains the parts with interference relationship with the spot weld to be detected through interference processing;

[0103] Lap joint surface module: Performs interference processing on the connecting piece to obtain the lap joint surface;

[0104] Segmentation module: Segments the lap joint surface;

[0105] Offset module: Makes a section plane of the lap joint surface and offsets it up and down to obtain upper and lower offset planes;

[0106] Calculation module: Calculates the flatness according to the distance from the welding surface of the spot weld to be detected to the upper and lower offset planes.

[0107] Among them, the interference processing module includes: Performing interference detection on the parts whose welding surface needs to be detected and the spot welds, the detection type is "gap + contact + collision", the interference gap is set to 0 mm, and the spot welds with the detected gap less than or equal to 0 mm are counted as a group.

[0108] The segmentation module includes: Projection unit: Projects the spot weld onto the lap joint surface to obtain projection points; Perpendicular line unit: Taking the projection points as the base points, making perpendicular lines to the lap joint surface, with the projection points as the midpoints; Cylinder unit: Making a cylinder with the perpendicular line as the center line; Segmentation unit: Using the cylinder to segment the lap joint surface and retaining the inside of the cylinder.

[0109] The offset module includes: Section plane unit: Taking the projection points as the reference, making a section plane of the lap joint surface; Offset unit: Taking the section plane as the reference element, offsetting upward by d1 and downward by d2 along the direction of the center line respectively to obtain the upper offset plane and the lower offset plane; Measurement unit: Measuring the distance h1 from the welding surface to the upper offset plane and the distance h2 to the lower offset plane.

[0110] The calculation module includes: Calculating the flatness h of the welding surface, h = (d1 + d2) - (h1 + h2).

[0111] The system proposed in this Embodiment 2 can implement the method for detecting the flatness of the welding surface of spot welding described in Embodiment 1, and has the same technical effects as the method described in Embodiment 1.

[0112] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for detecting the flatness of a spot welding profile, characterized in that: include: S1, read the model and identify the solder joint file to be detected, and read all parts under the parent level of the solder joint file to be detected; S2. Obtaining parts having interference relationship with the solder joint to be inspected through interference processing; S3, performing interference processing on the connecting parts to obtain a lap joint surface; S4, dividing the overlapping surface; S5. Taking the projection point as a reference, make a section of the overlapped surface and offset it up and down to obtain an up and down offset surface; S6. Calculate the flatness according to the distance from the welding profile of the weld to be inspected to the upper and lower offset surfaces; Step S4 includes: Project the welding point onto the overlapping surface to obtain the projection point; Taking the projection point as the base point, draw a perpendicular line of the overlap surface, taking the projection point as the midpoint; Make a cylinder with the vertical line as the center line; Use a cylinder to divide the overlapping surface and keep the inside of the cylinder.

2. The method for detecting the flatness of a spot welding profile according to claim 1, characterized in that: Step S2 includes: performing interference detection on the parts whose welding profiles need to be detected and the welding points, the detection type is "gap+contact+collision", the interference gap is set to 0mm, and the welding points with a detection gap less than or equal to 0mm are counted as a group.

3. The method for detecting the flatness of the spot welding profile according to claim 1, characterized in that: Step S5 includes: Take the projection point as the reference and make a section of the overlap surface; Taking the section as the reference element, the upper offset surface and the lower offset surface are obtained by shifting upward by d1 and downward by d2 respectively along the direction of the center line; Measure the distance h1 from the welding profile to the upper offset surface and the distance h2 to the lower offset surface.

4. The method for detecting the flatness of the spot welding profile according to claim 3, characterized in that: Step S6 includes: The flatness h of the welding surface is calculated as h=(d1+d2)-(h1+h2).

5. A system for detecting the flatness of spot welding profiles, characterized in that: include: Reading module: reads the model and identifies the solder joint file to be detected, and reads all parts under the parent level of the solder joint file to be detected; Interference processing module: obtain the parts that have interference relationship with the welding point to be detected through interference processing; Overlap surface module: perform interference processing on the connector to obtain the overlap surface; Splitting module: splitting the lap joint surface; Offset module: Taking the projection point as the reference, make a section of the overlapped surface and offset it up and down to obtain the upper and lower offset surfaces; Calculation module: calculates the flatness according to the distance from the welding profile of the weld to be inspected to the upper and lower offset surfaces; The segmentation module includes: Projection unit: Project the welding point onto the overlap surface to obtain the projection point; Perpendicular unit: take the projection point as the base point, draw a perpendicular line of the overlap surface, and take the projection point as the midpoint; Cylinder unit: make a cylinder with the vertical line as the center line; Split unit: Split the overlap surface with a cylinder and retain the inside of the cylinder.

6. The system for detecting the flatness of spot welding profile according to claim 5, characterized in that: The interference processing module includes: performing interference detection on the parts that need to detect the welding profile and the welds, the detection type is "gap + contact + collision", the interference gap is set to 0mm, and the welds with a detection gap less than or equal to 0mm are counted as a group.

7. The system for detecting the flatness of spot welding profile according to claim 5, characterized in that: The offset module includes: Section unit: Take the projection point as the reference to make a section of the overlap surface; Offset unit: Taking the section as the reference element, it is offset upward by d1 and downward by d2 along the center line to obtain the upper offset surface and the lower offset surface; Measuring unit: measures the distance h1 from the welding profile to the upper offset surface and the distance h2 to the lower offset surface.

8. The system for detecting the flatness of spot welding profile according to claim 7, characterized in that: The computing module includes: The flatness h of the welding surface is calculated as h=(d1+d2)-(h1+h2).

Citation Information

Patent Citations

  • Method of detecting parallelism between mill rolls

    CN107101565A

  • Helicopter structure assembly quality detection data acquisition method and system

    CN118999684A