Method and system for detecting flatness of spot welding molded surface

By proposing a method and system for automatically detecting the plane of spot welding welding profiles in automotive automation design, the problem of cumbersome and low efficiency of manual inspection is solved, and efficient and accurate automated detection is achieved.

CN119826768AActive Publication Date: 2025-04-15SHU GE KE JI (TIAN JIN) YOU XIAN GONG SI

Patent Information

Application Number
CN202510314861.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-04-15
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 planeness of spot welding welding profiles is proposed. Through the steps of reading the model, interference processing, overlapping surface segmentation, offset calculation, etc., the planeness of the welding profile is automatically detected, simplifying the detection process and improving the detection accuracy.

Benefits of technology

Automatic inspection is realized, which significantly improves inspection efficiency and accuracy, reduces the workload of designers and reduces design costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119826768A_ABST
    Figure CN119826768A_ABST
Patent Text Reader

Abstract

The invention provides a method and system for detecting the flatness of a spot welding molded surface, and the method comprises the steps: S1, reading a model, recognizing a to-be-detected welding spot file, and reading all parts under a parent level of the to-be-detected welding spot file; s2, performing interference treatment to obtain a part having an interference relationship with the to-be-detected welding spot; s3, the connecting piece is subjected to interference treatment, and a lap joint face is obtained; s4, segmenting the lap joint surface; s5, making a tangent plane of the lap joint surface and shifting up and down to obtain an up-and-down shifting surface; and S6, calculating the flatness according to the distance from the welding molded surface of the to-be-detected welding spot to the up-down offset surface. The logic of the detection scheme is simplified, automatic detection is realized, 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 invention belongs to the field of automobile automation design, and in particular relates to a method and a system for detecting the flatness of a spot welding profile. Background Art

[0002] At present, in the process of automobile automation design, the curvature of the body-in-white assembly is small, and the surface with large height difference will affect the welding performance and cannot be welded. Therefore, design engineers need to test the flatness of the welding surface when designing the structure to ensure that it can meet the welding requirements. The steps of the traditional detection method are as follows: Open the digital model of the welding surface to be measured - select the welding points with curved surfaces - draw circle 1 with the welding point as the center - evenly distribute points on circle 1 (even number) - draw circle 2 with the relative point and the three points of the center - determine whether the diameter of circle 2 meets the requirements.

[0003] When using the above detection method to detect welding surfaces, it is necessary to detect each welding point on the curved surface to determine whether the welding surface meets the requirements. Welding surfaces that meet the requirements can be ignored, but welding surfaces that do not meet the requirements need to be counted and the data structure changed. Since the body-in-white has thousands of welding points and the proportion of welding surfaces that are curved is relatively high, manual inspection is prone to the risk of missed inspections and wrong inspections; the operation is large and cumbersome, and the work efficiency is low. Summary of the invention

[0004] The present invention provides a method and system for detecting the flatness of a spot welding profile, which simplifies the logic of a detection scheme and realizes automatic detection, and the detection result is faster and more accurate.

[0005] To achieve the above object, the technical solution of the present invention is achieved as follows: A method for detecting the flatness of a spot welding profile, comprising: 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, making a section of the overlapped surface and offsetting 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.

[0006] Further, step S2 includes: performing interference detection on the parts whose welding profiles need to be detected 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.

[0007] Further, 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.

[0008] Furthermore, 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.

[0009] Furthermore, step S6 includes: The flatness h of the welding surface is calculated as h=(d1+d2)-(h1+h2).

[0010] Another aspect of the present invention also provides a system for detecting the flatness of a spot welding profile, comprising: 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: make a section of the overlapped surface and offset it up and down to obtain the upper and lower offset surfaces; Calculation module: Calculate the flatness based on the distance from the welding profile of the weld to be inspected to the upper and lower offset surfaces.

[0011] Furthermore, the interference processing module includes: performing interference detection on the parts whose welding profiles need to be detected 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.

[0012] Furthermore, 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.

[0013] Furthermore, 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.

[0014] Furthermore, the calculation module includes: The flatness h of the welding surface is calculated as h=(d1+d2)-(h1+h2).

[0015] Compared with the prior art, the present invention has the following beneficial effects: The present invention calls relevant commands of the design software, and then automatically measures the flatness of the welding surface according to the detection standard set by the system, and outputs the detection result, which simplifies the operation steps, highlights the key points, greatly reduces the workload of designers, and at the same time improves work efficiency and reduces design costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the process of the present invention; Figure 2 is a schematic diagram of the detection function interface of Example 1 of the present invention; Figure 3 is a schematic diagram of the detection execution logic of Example 1 of the present invention; Figure 4 is a schematic diagram of reading all parts in step (1) of embodiment 1 of the present invention; Figure 5 is a schematic diagram of interference relationship detection in step (2) of embodiment 1 of the present invention; Figure 6 is a schematic diagram of the overlapping surface of step (3) of Example 1 of the present invention; Figure 7 is a projection diagram of step (4) of Example 1 of the present invention; Figure 8 is a vertical line schematic diagram of step (5) of Example 1 of the present invention; Fig. 9 is a schematic diagram of a cylinder in step (6) of Example 1 of the present invention; Fig.10 is a schematic diagram of cylinder segmentation in step (7) of Example 1 of the present invention; Fig.11 is a schematic cross-sectional view of step (8) of Example 1 of the present invention; Fig.12 is a schematic diagram of the offset of step (9) of Example 1 of the present invention; Fig.13 is a calculation diagram of step (10) of Example 1 of the present invention; Fig.14 It is a schematic diagram of the system structure of Example 2 of the present invention. DETAILED DESCRIPTION

[0017] 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.

[0018] The method for detecting the flatness of the spot welding profile proposed by the present invention is as follows: Figure 1 As shown, including: 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, making a section of the overlapped surface and offsetting 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.

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

[0020] Embodiment 1: In this embodiment, the design software takes Catia as an example, designs a functional software for automatically detecting the flatness of the welding surface, and calls the Catia interface to complete the detection function.

[0021] like Figure 2 Shown is a schematic diagram of the interface of the functional software of this embodiment.

[0022] After opening the interface, click "Select Product Model", connect to CATIA and select the assembly whose welding surface needs to be measured. The software will read the node information and fill it in.

[0023] After clicking the "Solder Point Identification" button, the software searches the "Solder Point Identification Identification" in the selected product model nodes in CATIA one by one according to the database, and identifies the solder point information and the center point of the corresponding characters (the model without center point or solder point can be automatically generated by the software); If the weld identification mark in the product model node does not exist in the database, the software cannot recognize it. You can add the corresponding identification mark through the "Add" button and upload it to the database.

[0024] Other process file identification: If the process file and the solder joint file are located in the same part, in the solder joint file part, the geometrical set outside the identified solder joint file is hidden and is not included in the detection range; If the process file is located in a separate part, the user sets the "other process file identification marks" that do not need to be detected in the software interface. The software searches one by one in the product model nodes selected by CATIA according to the "process file identification marks" in the database, identifies the process file information of the corresponding characters, and hides the identified process files or deactivates the end nodes.

[0025] If the process file identification mark in the product model node does not exist in the database, the software cannot recognize it. You can add the corresponding identification mark through the "Add" button and upload it to the database.

[0026] After the user clicks the [Review] button, the software reviews the welding profile according to the set detection logic; When the user clicks on a row of data in the list, the data in CATIA interacts with it, and the product component model diagram is highlighted in the "center" and the corresponding welding point position is displayed; The review results can be filtered; After the review results are output, users can manually verify and change the test results through the [Modify Results] button. After clicking, the software pops up a window to prompt "Do you want to modify the results?" as a secondary verification to prevent accidental modifications; The review results can be accumulated, the list data can be checked, and batch deletion can be performed by clicking the [Clear Data] function button.

[0027] Click the [Export Report] button to add the comprehensive information of the welding surface inspection to the EXCEL file, and open the EXCEL file. Users can download it to a custom path.

[0028] The specific execution logic of the functional software is as follows: Figure 3 As shown, including: (1) The software recognizes the solder joint file, identifies the parent of the solder joint file, and reads all the parts under the parent, such as Figure 4 As shown, for example, the software identifies the 5101310-QC01-WP front floor block reinforcement beam assembly (left) welding point, and the parent of the welding point file is 5101310-QC01 front floor block reinforcement beam assembly (left); (2) The software drives CATIA to detect all parts in the "detection logic (1)" and perform interference processing with the weld model, and obtains the parts that have an interference relationship with the weld file, that is, the parts connected by the weld. The software records them and the weld as a group; The software selects the welding profile parts and welding point files that need to be detected for interference detection by default, such as Figure 5 As shown in the figure, the default detection type is "gap + contact + collision" and "between two selections" (select 1 for the parts that need to detect the welding surface, select 2 for the weld point file), the interference gap is set to 0mm, and the detection gap <0mm will display interference, such as the interference amount is -2mm; if the gap is equal to 0mm, the detection result will display contact and the interference amount is 0; if the gap is greater than 0mm (such as 2mm), the detection result will display the gap amount as 2mm. The weld points that display interference and contact are counted as one group.

[0029] (3) The connector is subjected to interference processing to obtain the lap joint surface, such as Figure 6 As shown, if three layers are welded, two-by-two interference treatments are performed, and both overlap surfaces are tested; (4) Project the weld point onto the lap surface, such as Figure 7 As shown; (5) Using the projection point as the base point, draw a perpendicular line to the overlap surface, such as Figure 8 As shown, the projection point is taken as the midpoint and the length is 10 mm; (6) Taking the vertical line as the center line, Fig. 9 As shown, make a cylinder with a diameter of D = 16mm (16 is the measured diameter D, the value is configurable); (7) Use a cylinder to divide the lap joint, such as Fig.10 As shown, the interior of the cylinder is retained, which is basically a full circle or a part of a circle; (8) Take the projection point as the reference and make a section of the overlapped surface, such as Fig.11 As shown; (9) Take the section as the reference element and deviate 5 mm up and down along the center line (e.g. Fig.12 As shown, the value can be configured) to obtain offset surface 1 and offset surface 2, and measure the distances h1 and h2 from the welding profile to the offset surface; (10) The flatness of the welding surface is calculated, such as Fig.13 As shown, the flatness h=(5+5)-(h1+h2).

[0030] This embodiment calls the relevant commands of CATIA through an algorithm, and then automatically measures the flatness of the welding 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, and at the same time improves work efficiency and reduces design costs.

[0031] Embodiment 2: Embodiment 2 proposes a system for detecting the flatness of a spot welding profile, such as Fig.14 As shown, including: 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: make a section of the overlapped surface and offset it up and down to obtain the upper and lower offset surfaces; Calculation module: Calculate the flatness based on the distance from the welding profile of the weld to be inspected to the upper and lower offset surfaces.

[0032] The interference processing module includes: performing interference detection on the parts whose welding profile needs to be detected 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.

[0033] The segmentation module includes: a projection unit: projecting the welding point onto the overlap surface to obtain a projection point; a vertical line unit: taking the projection point as the base point, making a vertical line of the overlap surface, and taking the projection point as the midpoint; a cylinder unit: making a cylinder with the vertical line as the center line; a segmentation unit: using the cylinder to segment the overlap surface and retaining the inside of the cylinder.

[0034] The offset module includes: a section unit: taking the projection point as the reference, making a section of the overlap surface; an offset unit: taking the section as the reference element, 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; a measuring unit: measuring the distance h1 from the welding profile to the upper offset surface and the distance h2 to the lower offset surface.

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

[0036] The system proposed in this embodiment 2 can implement the method for detecting the flatness of the spot welding profile described in embodiment 1, and has the same technical effect as the method described in embodiment 1.

[0037] 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 principle of the present invention should be included in 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, making a section of the overlapped surface and offsetting 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.

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 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.

4. The method for detecting the flatness of the spot welding profile according to claim 3, 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.

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

6. A system for detecting the flatness of a spot welding profile, 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: make a section of the overlapped surface and offset it up and down to obtain the upper and lower offset surfaces; Calculation module: Calculate the flatness based on the distance from the welding profile of the weld to be inspected to the upper and lower offset surfaces.

7. The system for detecting the flatness of spot welding profile according to claim 6, 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.

8. The system for detecting the flatness of spot welding profile according to claim 6, characterized in that: 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.

9. The system for detecting the flatness of spot welding profile according to claim 8, 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.

10. The system for detecting the flatness of spot welding profile according to claim 9, 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

  • CATIA-based synchronous engineering automatic inspection method and system

    CN113761610A

  • Process method for fixing mosaic block

    CN113857673A

  • Welding spot numbering method, device, equipment and medium

    CN115757514A

  • Thickness measurement and width verification method, device and equipment for spot-welded plate and medium

    CN115930804A

Cited By

  • Spacing detection method and system for welding standard parts

    CN120027751A

  • Product model detection method and system based on welding spots

    CN120493411A

  • SPR riveting point position detection method and system

    CN120781464A