A method and system for judging a boss according to the solder joint spacing of a welding edge

Through software automatically detecting the welding joint spacing and boss characteristics of the welding edge, the problems of missed inspection, missed inspection and low efficiency of manual inspection are solved, and a more accurate and efficient inspection process is achieved.

CN119566648BActive 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
CN202510142800.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-06-17
Estimated Expiration
2045-02-10

AI Technical Summary

Technical Problem

In the prior art, manual welding edge welding points spacing measurement and boss detection have risks of missed inspection and error inspection, large operation volume, cumbersome repetition and cumbersome work efficiency.

Method used

Through software, the welding points in the digital model that have an interference relationship with the boss parts to be detected are detected, the outer contour lines are extracted, the welding points are measured, and the welding points are projected to the outer contour lines through the proximity solution method, the curve is divided, the end points are identified, and the boss characteristics are measured.

Benefits of technology

Automatic inspection is realized, which improves inspection accuracy, reduces risks, reduces designers' operation volume, improves work efficiency, and reduces design costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119566648B_ABST
    Figure CN119566648B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for judging a boss according to the solder joint spacing of a welding edge, which detects the solder joints interfering with the boss part to be detected in the digital model, extracts all the boundary curves of the outer surface of the part; selects the outer contour line; the outer contour line is segmented at the projection of the solder joint into scattered curves; selects a pair of solder joints corresponding to the model; measures the gap value h' at the maximum gap between the projection curves; intersects the projection curves and then disassembles them to obtain two curves, and measures their dimensions d1 and d2 respectively; and completes the boss detection. The present invention can automatically realize the detection and judgment of the boss, with more accurate detection, reduced risks and improved efficiency.
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 judging a boss based on the solder joint spacing of a welding edge. Background Art

[0002] In the current automotive design field, when arranging solder joints on a welding edge, it is necessary to consider whether to add a boss feature to increase the strength of the welding edge and reduce process problems such as part springback. Therefore, it is necessary to check the solder joint spacing of the welding edge to judge whether a boss feature needs to be made between two points, and it is necessary to measure whether the existing boss feature meets the requirements. Therefore, design engineers need to measure the solder joint spacing of the welding edge and judge the rationality of the boss. The operation steps in the prior art are as follows: manually open the digital model that needs to measure the solder joint spacing to judge the boss - select two solder joints to measure the spacing - judge whether a boss is needed - judge whether the boss meets the requirements.

[0003] The above operation requires manual pairwise measurement of all solder joints of each welding edge, and it is necessary to detect the existing bosses. For the spacing or bosses that meet the requirements, they can be not counted, but the solder joints or bosses that do not meet the requirements need to be counted for subsequent modification.

[0004] However, manual boss detection is prone to risks of missed detection and misdetection; the operation volume is large, repetitive, and cumbersome, and the work efficiency is low. Summary of the Invention

[0005] The present invention provides a method and system for judging a boss based on the solder joint spacing of a welding edge, which can automatically realize the detection and judgment of the boss, with more accurate detection, reduced risks, and improved efficiency.

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

[0007] A method for judging a boss based on the solder joint spacing of a welding edge includes:

[0008] S1. Detect the solder joints in the digital model that have an interference relationship with the boss part to be detected through software, and record them as a solder joint group; detect the parts that have an interference relationship with each solder joint of the solder joint group, and record the parts that have an interference relationship with each solder joint as a part group respectively;

[0009] S2. Select the outer surface of the boss part to be detected for extraction; extract all the boundary curves of the outer surface; measure the lengths of all the boundary curves and perform sorting processing, and select the boundary curve with the largest length as the outer contour line of the boss part to be detected;

[0010] S3. Detect the distance from each solder joint in the solder joint group to the outer contour line one by one, and count the solder joints with the distance within the threshold as the second solder joint group; project the solder joints in the second solder joint group onto the outer contour line by the proximity method; the outer contour line is segmented at the solder joint projection points and segmented into scattered curves;

[0011] S4. Select one of all the scattered curves, identify the two endpoints of this scattered curve, and correspond them to two solder joints in the model; connect the centroid points of the two solder joints as a line segment and measure the size as the solder joint spacing;

[0012] S5. Project the line segment onto the parts in the same group as this part by the proximity method to obtain a projection curve, and measure the clearance value h' at the maximum clearance between the projection curves; intersect the projection curves and then disassemble them to obtain two curves, and measure their sizes d1 and d2 respectively;

[0013] S6. Detect all the scattered curves according to steps S4 and S5. As long as any h' value meets the review conditions, it is judged that the boss between the two solder joints meets the requirements;

[0014] If all h' values are less than the set value of the review conditions and all h' values are less than the first threshold, it is judged that the boss between the two solder joints does not meet the requirements;

[0015] If all h' values are less than the set value of the review conditions, when there is an h' value greater than or equal to the first threshold, it is judged whether the two projection curves corresponding to the h' value are arcs. If they are arcs, the arc radius is output as the review result; if they are not arcs, measure the circular radii of the two projection curves corresponding to the h' value. As long as the circular radius of one of them is less than or equal to the second threshold, the circular radius is output as the review result; if the circular radii are all greater than the second threshold, it is judged that the boss between the two solder joints does not meet the requirements;

[0016] S7. Loop through steps S2 - S6 to complete the boss detection for each part group corresponding to the solder joints in the solder joint group.

[0017] Furthermore, step S1 also includes: selecting the digital model of the solder joint spacing of the welding edge to be measured through software and reading the nodes; selecting the boss part to be detected; identifying according to the solder joint identification mark, and automatically retrieving and identifying the corresponding solder joint information and its center point among the nodes of the digital model.

[0018] Furthermore, in step S1, the detection method of the interference relationship includes:

[0019] Select the part and the solder joint for which the interference relationship is to be detected, and detect the clearance value between the two; if the clearance value < 0mm, the two are in a collision relationship; if the clearance value = 0mm, the two are in a contact relationship; classify both the collision relationship and the contact relationship as interference relationships.

[0020] Further, in step S6, the method for measuring the radius of the circle of the projection curve includes:

[0021] Take the midpoint of the projection curve, and draw a circle with the two endpoints of the projection curve and the midpoint, and measure the radius of the circle.

[0022] Further, in step S6, after the arc radius is output as the review result and the circle radius is output as the review result, the user performs verification and result correction according to the review result.

[0023] The present invention also proposes a system for judging a boss according to the solder joint spacing of a welding edge, including:

[0024] Grouping module: Detect the solder joints in the digital model that have an interference relationship with the boss part to be detected through software, and record them as a solder joint group; Detect the parts that have an interference relationship with each solder joint of the solder joint group, and record the parts that have an interference relationship with each solder joint as part groups respectively;

[0025] Outer contour line module: Select the boss part to be detected and extract its outer surface; Extract all the boundary curves of the outer surface; Measure the lengths of all the boundary curves and perform sorting processing, and select the boundary curve with the largest length as the outer contour line of the boss part to be detected;

[0026] Split curve module: Detect the distance from each solder joint of the solder joint group to the outer contour line one by one, and count the solder joints with the distance within the threshold as the second solder joint group; Project the solder joints of the second solder joint group onto the outer contour line by the proximity method; The outer contour line is split at the solder joint projection, and split into scattered curves;

[0027] Connection module: Select one of all the scattered curves, identify the two endpoints of this scattered curve, and correspond them to two solder joints in the model; Connect the centroid points of the two solder joints as a line segment, and measure the size as the solder joint spacing;

[0028] Measurement module: Project the line segment onto the parts in the same group as this part by the proximity method to obtain a projection curve, and measure the gap value h' at the maximum gap between the projection curves; Intersect the projection curves and then disassemble them to obtain two curves, and measure their sizes d1 and d2 respectively;

[0029] Boss detection module: Detect all the scattered curves through the connection module and the measurement module. As long as any h' value meets the review conditions, it is judged that the boss between the two solder joints meets the requirements;

[0030] If all h' values are less than the set value of the review conditions and all h' values are less than the first threshold, it is judged that the boss between the two solder joints does not meet the requirements;

[0031] If all the h' values are less than the set value of the review condition, and when there is an h' value greater than or equal to the first threshold, it is determined whether the two projection curves corresponding to the h' value are circular arcs. If they are circular arcs, the circular arc radius is output as the review result; if they are not circular arcs, the circular radii of the two projection curves corresponding to the h' value are measured. As long as the circular radius of one of them is less than or equal to the second threshold, the circular radius is output as the review result; if the circular radii are all greater than the second threshold, it is determined that the boss between the two solder joints does not meet the requirements.

[0032] Circulation module: Through the circular execution of the outer contour line module, the curve segmentation module, the connection module, the measurement module, and the boss detection module, the boss detection of each part group corresponding to the solder joints in the solder joint group is completed.

[0033] Furthermore, the grouping module further includes: selecting the digital model of the solder joint spacing of the welding edge to be measured through software and reading the nodes; selecting the boss parts to be detected; identifying according to the solder joint identification mark, and automatically retrieving and identifying the corresponding solder joint information and its center point among the nodes of the digital model.

[0034] Furthermore, the grouping module is provided with an interference relationship detection unit, and the interference relationship detection unit includes:

[0035] Select the parts and solder joints for which the interference relationship is to be detected, and detect the clearance value between the two; if the clearance value < 0mm, the two are in a collision relationship; if the clearance value = 0mm, the two are in a contact relationship; both the collision relationship and the contact relationship are classified as interference relationships.

[0036] Furthermore, the boss detection module is provided with a circular radius measurement unit for measuring the circular radius of the projection curve, including:

[0037] Make the midpoint of the projection curve, and draw a circle with the two end points of the projection curve and the midpoint, and measure the circular radius.

[0038] Furthermore, after the circular arc radius is output as the review result and the circular radius is output as the review result in the boss detection module, the user performs verification and result correction according to the review result.

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

[0040] The present invention can automatically extract the outer contour line of the target part from the vehicle body digital model, identify the solder joint model and process it, count the solder joints within the specified range and project them onto the outer contour line, perform segmentation processing on the contour line, reflect the endpoints (projection points) of each curve to the original solder joints, measure the solder joint spacing, and detect the boss features. The present invention simplifies the operation steps, highlights the key points, greatly reduces the operation amount of designers. Designers only need to select the target part and set the solder joint identification mark, then they can easily measure the solder joint spacing and judge the boss. It avoids a large amount of manual repetitive work, and the obtained results are faster and more accurate. At the same time, it improves the work efficiency and reduces the design cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a schematic flow chart of the method for judging the boss of the present invention;

[0042] Figure 2 is a schematic overall flow chart of Embodiment 1 of the present invention;

[0043] Figure 3 is a schematic software interface diagram of Embodiment 1 of the present invention;

[0044] Figure 4 is a schematic review process diagram of Embodiment 1 of the present invention;

[0045] Figure 5 is a schematic diagram of the description of each parameter of the review conditions in Embodiment 1 of the present invention;

[0046] where A - A represents the cross section;

[0047] Figure 6 is a schematic diagram of step (1) in Embodiment 1 of the present invention;

[0048] Figure 7 is a schematic diagram of step (7) in Embodiment 1 of the present invention;

[0049] Figure 8 is a schematic diagram of the projection points and the scattered curves of step (8) in Embodiment 1 of the present invention;

[0050] Figure 9 is a schematic diagram of the spacing L between solder joint 1 and solder joint 2 in step (10) of Embodiment 1 of the present invention;

[0051] Figure 10 is a schematic diagram of the maximum gap value h in step (11) of Embodiment 1 of the present invention;

[0052] Figure 11 is a schematic diagram of the d value in step (12) of Embodiment 1 of the present invention;

[0053] Figure 12 is a schematic system structure diagram of Embodiment 2 of the present invention. Detailed implementation mode

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

[0055] The design concept of the present invention is to realize the automatic judgment of the boss feature through a software system, and through code, realize the operation logic, and automatically realize the content that originally required a large amount of repetitive manual work. After setting the corresponding parameters, the result can be output with one key.

[0056] Based on the above design concept, the method for judging the boss proposed by the present invention is as Figure 1 shown, including:

[0057] S1. Detect the solder joints in the digital model that have an interference relationship with the boss part to be detected through software, and record them as the solder joint group; detect the parts that have an interference relationship with each solder joint in the solder joint group, and record the parts that have an interference relationship with each solder joint as the part group respectively;

[0058] S2. Select the outer surface of the boss part to be detected for extraction; extract all the boundary curves of the outer surface; measure the lengths of all the boundary curves and perform sorting processing, and select the boundary curve with the largest length as the outer contour line of the boss part to be detected;

[0059] S3. Detect the distance from each solder joint in the solder joint group to the outer contour line one by one, and count the solder joints with the distance within the threshold as the second solder joint group; project the solder joints in the second solder joint group onto the outer contour line by the proximity method; the outer contour line is segmented at the solder joint projection, and segmented into scattered curves;

[0060] S4. Select one from all the scattered curves, identify the two end points of this scattered curve, and correspond them to two solder joints in the model; connect the center points of the two solder joints as a line segment, and measure the size as the solder joint spacing;

[0061] S5. Project the line segment onto the parts in the same group as this part by the proximity method to obtain projection curves, and measure the gap value h' at the maximum gap between the projection curves; make the projection curves intersect and then disassemble them to obtain two curves, and measure their sizes d1 and d2 respectively;

[0062] S6. Detect all the scattered curves according to steps S4 and S5. As long as any h' value meets the review conditions, it is judged that the boss between the two solder joints meets the requirements;

[0063] If all h' values are less than the set value of the review conditions and all h' values are less than the first threshold, it is judged that the boss between the two solder joints does not meet the requirements;

[0064] If all the h' values are less than the set value of the review condition, and if there is an h' value greater than or equal to the first threshold, then it is determined whether the two projection curves corresponding to the h' value are circular arcs. If they are circular arcs, the radius of the circular arc is output as the review result; if they are not circular arcs, the radius of the circle of the two projection curves corresponding to the h' value is measured. As long as the radius of the circle of one of them is less than or equal to the second threshold, the radius of the circle is output as the review result; if the radii of the circles are all greater than the second threshold, it is determined that the boss between the two solder joints does not meet the requirements.

[0065] S7. Loop and execute steps S2 - S6 to complete the boss detection for each part group corresponding to the solder joints in the solder joint group.

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

[0067] Embodiment 1:

[0068] The overall method of this embodiment is as Figure 2 shown, including:

[0069] I. Open the model to be detected:

[0070] In this embodiment, the software interface for solder joint spacing detection is as Figure 3 shown. Click on Figure 3 "Select Product Model" in it, open the model file list under the model storage path, and you can select the model for which the welding length needs to be measured. The software reads the node information and fills it in.

[0071] II. Select the product model:

[0072] Select the digital model of the assembly for which the solder joint spacing needs to be measured and the boss characteristics need to be judged in the above list. In this embodiment, the function of the three - dimensional design software CATIA is called through the API function to read the model under the SM node, and then it is provided for the user to click and select. After selection, the software system reads the node information of the selected product model and displays it.

[0073] III. Select the parts to be detected:

[0074] After selecting the product model, open the part model file list of the product model and click to select the part for which the boss needs to be judged according to the solder joint distance.

[0075] IV. Identify the solder joints:

[0076] According to the filled or selected "solder joint identification mark", search one by one in the nodes of the selected product model to identify the solder joint information and its center point corresponding to the character.

[0077] V. Review:

[0078] The review is the core content of the present invention, and the specific logic is asFigure 4 As shown, it should be noted that the functions such as measurement and detection performed during the review process can be implemented through code or by using API functions to call the functions of 3D design software. In this embodiment, the CATIA API is used to call or drive the CATIA software to perform operations.

[0079] The review plan includes the following contents:

[0080] 1. Read the selected target parts and solder joint identification marks;

[0081] 2. The review conditions are set as follows: As Figure 5 shown, where L represents the solder joint spacing, h represents the boss height, and d represents the length from the boss to the solder joint; the review conditions are set as:

[0082] 24 ≤ L < 50mm, h = 0, no boss design is made;

[0083] 50 ≤ L < 80mm, h ≥ 2, d ≥ 11;

[0084] L ≥ 80mm, h ≥ 3, d ≥ 11.

[0085] 3. Solder joint spacing and boss measurement:

[0086] (1) The software system drives CATIA to detect whether there is an interference relationship between the parts that need to be detected for bosses and all solder joint files, and records the solder joints with an interference relationship with the detected parts as the solder joint group;

[0087] As Figure 6 shown in the schematic diagram, the method for detecting the interference relationship between the part and the solder joint is: The software system defaults to select the part that needs to be detected for the boss and the solder joint file for interference detection. The default detection type is "clearance + contact + collision" and "between two selections" (selection 1 is the part that needs to be detected for the boss, and selection 2 is the solder joint file). If the clearance between selection 1 and selection 2 < 0mm, the detection result is classified as a collision relationship, for example, the clearance is -2mm; if the clearance between selection 1 and selection 2 is equal to 0mm, the detection result is classified as a contact relationship; if the clearance between selection 1 and selection 2 is greater than 0mm (such as 2mm), the detection result is not counted. Finally, the solder joints with detection results of collision relationship and contact relationship are counted as the solder joint group.

[0088] (2) The software system drives CATIA to detect parts (part models) that have an interference relationship with the welds (weld files) of the weld group, and the parts that have an interference relationship with each weld are recorded as a part group respectively; for example, if the weld group has three welds, namely welds 01, 02, and 03, the parts that have an interference relationship with weld 01 are recorded as part group 1, the parts that have an interference relationship with weld 02 are recorded as part group 2, and the parts that have an interference relationship with weld 03 are recorded as part group 3.

[0089] The interference relationship detection method between solder joints and parts is as follows: the software selects the solder joints and parts selected above for interference detection by default, and the default detection type is "gap + contact + collision" and "between two selections" (selection 1 is the solder joint file, and selection 2 is the part model). If the gap between selection 1 and selection 2 is less than 0mm, the detection result is classified as a collision relationship, for example, the gap is -2mm; if the gap between selection 1 and selection 2 is equal to 0mm, the detection result is classified as a contact relationship; if the gap between selection 1 and selection 2 is greater than 0mm (such as 2mm), the detection result is not counted. Finally, the parts with collision and contact relationship detection results are counted into the corresponding part group.

[0090] (3) Extract the outer surface of the boss part to be inspected. This step can be achieved by driving the CATIA function. The default "extension type" during extraction is "tangent continuity".

[0091] (4) Extract the boundaries of the outer surface of the part. This step can be achieved by driving the CATIA function. When extracting, select "Keep all elements" to extract all boundaries.

[0092] (5) Measure the length of all curves and sort them, and select the curve with the longest length as the outer contour line. This step can be achieved by driving the function of CATIA.

[0093] (6) The software detects the distance from the welds in the weld group to the outer contour of the detected part one by one. In this embodiment, the welds within 10 mm from the contour are counted as the second weld group, and the welds beyond 10 mm are ignored due to their long distance. This step can be achieved by driving the function of CATIA, and in the measurement spacing, "Selection Mode 1" is "Pick Point" and "Selection Mode 2" is "Only Edge".

[0094] (7) Project the welds of the second weld group onto the outer contour line. This step can be achieved by driving the function of CATIA, such as Figure 7 As shown in the diagram, the approximate solution can be selected when projecting.

[0095] (8) After all the welds in the second weld group are projected, the outer contour is segmented into scattered curves at the projection points; the segmentation function is realized by driving the function of CATIA, such asFigure 8 The figure shows a schematic diagram of projection points and dispersion curves.

[0096] (9) Select one from all the dispersion curves. In this embodiment, random selection is adopted. Identify the two endpoints of the selected dispersion curve, namely projection point 1 and projection point 2. According to the projection, it is reflected to the original solder joint model, corresponding to solder joint 1 and solder joint 2. This step can be achieved by driving the functions of CATIA.

[0097] (10) Connect the centroid points of the solder joint 1 and the solder joint 2 as a line segment, and measure the dimension. As Figure 9 shown, it is used as the spacing L between the solder joint 1 and the solder joint 2. The functions of selecting the centroid point, connecting line, and measurement can be achieved by driving the functions of CATIA.

[0098] (11) The line segment is respectively "projected" to other parts of the same part group, and the maximum clearance value between the projections is measured. As Figure 10 shown, it is denoted as "h'". This step can be achieved by driving the functions of CATIA. When projecting, check the "proximity solution method".

[0099] (12) The projected curves are "intersected" and then "disassembled" to obtain two curves, and the dimension d values are respectively measured. As Figure 11 shown, they are denoted as "d1, d2". This step can be achieved by driving the functions of CATIA.

[0100] (13) Detect each dispersion curve in turn until all curves are detected.

[0101] (14) According to the set review conditions, if a boss needs to be made between two solder joints, as long as any h' value meets the setting of the h value in the review conditions, that is, the two solder joints meet the requirements, and as long as there is an h value, the d value needs to be detected simultaneously (compare d1, d2 with the d value in the review conditions).

[0102] If all h' values between the dispersion curves are less than the setting of the h value in the review conditions, and h' is less than a first threshold value (the first threshold value is set to 1 mm in this embodiment), the output result is unqualified;

[0103] If all h' values between the scatter curves are less than the set value of h in the review condition, but there is an h' greater than or equal to the first threshold of 1 mm, then measure whether the maximum gap between the two scatter curves corresponding to h' is an arc. If it is an arc, output the radius of the arc to the "Review Result" column of the software system interface as the review result; if no arc is found after the measurement, extract the two curves at the maximum gap between the two scatter curves corresponding to h', find the midpoints of the curves, and draw a circle with the two endpoints of the curves and the midpoint. Measure the radius of the circle. As long as the radius of the circle of one curve is less than or equal to the second threshold (the second threshold is set to 25 mm in this embodiment), output the radius to the "Review Result" column of the software system interface as the review result; if the radii of both curves are greater than 25 mm, the output result is unqualified.

[0104] After the review result is output, the user can perform a verification to correct and change the detection result. After clicking, a software pop-up window will prompt "Do you want to correct the result" as a secondary verification to prevent incorrect modification;

[0105] The review results can be filtered;

[0106] The review results can be accumulated, the list data can be selected multiple times, and batch deletion can be performed.

[0107] A report export function is also set up, which will add the comprehensive information on the detection of solder joint spacing and boss judgment to the EXCEL file and open the EXCEL file. The user can download it to the custom path.

[0108] (15) Loop and execute steps (3) - (14) to complete the detection of solder joint spacing and the detection and judgment of convex points for all part groups.

[0109] 4. The design values in the above review plan can all be made into a configuration file, and the customer can modify them according to needs.

[0110] The solution of this embodiment calls relevant commands of CATIA through an algorithm, and then automatically measures the distance between solder joints, measures the boss parameters, and outputs the detection results according to the detection standards set by the system, which simplifies the operation steps, highlights the key points, greatly reduces the workload of designers, improves work efficiency, and reduces design costs.

[0111] Embodiment 2:

[0112] In this Embodiment 2, a system for judging bosses according to the solder joint spacing of welding edges is proposed, as Figure 12 shown, including:

[0113] Grouping Module: Detect the solder joints in the digital model that have an interference relationship with the boss part to be detected through software, and record them as solder joint groups; Detect the parts that have an interference relationship with each solder joint in the solder joint group, and record the parts that have an interference relationship with each solder joint as part groups respectively; The grouping module is provided with an interference relationship detection unit, and the interference relationship detection unit includes: Select the part and the solder joint whose interference relationship is to be detected, and detect the clearance value between the two; If the clearance value < 0mm, then the two have a collision relationship; If the clearance value = 0mm, then the two have a contact relationship; Both the collision relationship and the contact relationship are classified as interference relationships. In addition, the grouping module also includes: Select the digital model of the solder joint spacing of the welding edge to be measured through software and read the nodes; Select the boss part to be detected; Identify according to the solder joint identification mark, and automatically retrieve and identify the corresponding solder joint information and its center point among the nodes of the digital model.

[0114] Outer Contour Line Module: Randomly select a part from a part group and extract its outer surface; Extract all the boundary curves of the outer surface; Measure the lengths of all the boundary curves and perform sorting processing, and select the boundary curve with the largest length as the outer contour line of the boss part to be detected.

[0115] Split Curve Module: Detect the distance from each solder joint in the solder joint group to the outer contour line one by one, and count the solder joints with the distance within the threshold as the second solder joint group; Project the solder joints in the second solder joint group onto the outer contour line by the proximity method; The outer contour line is split at the solder joint projection, and split into scattered curves.

[0116] Connection Module: Select one of all the scattered curves, identify the two endpoints of this scattered curve, and correspond to two solder joints in the model; Connect the center points of the two solder joints into a line segment, and measure the size, which is used as the solder joint spacing.

[0117] Measurement Module: Project the line segment onto the parts in the same group as this part by the proximity method to obtain projection curves, and measure the clearance value h' at the maximum clearance between the projection curves; Intersect the projection curves and then disassemble them to obtain two curves, and measure their sizes d1 and d2 respectively.

[0118] Boss Detection Module: Detect all the scattered curves through the connection module and the measurement module. As long as any h' value meets the review conditions, it is judged that the boss between the two solder joints meets the requirements;

[0119] If all h' values are less than the set value of the review conditions and all h' values are less than the first threshold, it is judged that the boss between the two solder joints does not meet the requirements;

[0120] If all the h' values are less than the set value of the review condition, and there is an h' value greater than or equal to the first threshold, then it is determined whether the two projection curves corresponding to the h' value are circular arcs. If they are circular arcs, the radius of the circular arc is output as the review result; if they are not circular arcs, the radius of the circle of the two projection curves corresponding to the h' value is measured. As long as the radius of the circle of one of them is less than or equal to the second threshold, the radius of the circle is output as the review result; if the radii of the circles are all greater than the second threshold, it is determined that the boss between the two solder joints does not meet the requirements. Among them, the boss detection module is provided with a circle radius measurement unit for measuring the radius of the circle of the projection curve, including: making the midpoint of the projection curve, and drawing a circle with the two end points of the projection curve and the midpoint to measure the radius of the circle. In addition, after the radius of the circular arc is output as the review result and the radius of the circle is output as the review result in the boss detection module, the user performs verification and result correction according to the review result.

[0121] Circulation module: By circulating and executing the outer contour line module, the segmentation curve module, the connection module, the measurement module, and the boss detection module, the boss detection of each part group corresponding to each solder joint in the solder joint group is completed.

[0122] The system proposed in this Embodiment 2 can implement the method for judging the boss according to the solder joint spacing of the welding edge described in Embodiment 1, and has the same technical effect as the method described in Embodiment 1.

[0123] 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 principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for determining a boss according to the distance between welding points on a welding edge, characterized in that: include: S1. Detect the solder joints in the digital model that have an interference relationship with the parts that need to be inspected for bosses through software, and record them as solder joint groups; Detect all parts that have an interference relationship with each welding point of the welding point group, and record the detected parts that have an interference relationship with a certain welding point as the part group of the welding point; S2, select a part group, extract the outer surface of the part that needs to be inspected for bosses; extract all boundary curves of the outer surface; measure the lengths of all boundary curves, sort them, and select the boundary curve with the largest length as the outer contour line of the boss part to be inspected; S3, detecting the distance between the solder joints of the solder joint group and the outer contour line one by one, and counting the solder joints whose distance is within the threshold as a second solder joint group; projecting the solder joints of the second solder joint group onto the outer contour line by using a proximity solution; segmenting the outer contour line at the solder joint projections to form a dispersion curve; S4. Select one of all the scatter curves, identify the two endpoints of the scatter curve, and correspond to the two solder joints in the model; connect the centroids of the two solder joints into a line segment, and measure the size as the solder joint spacing; S5, projecting the line segment onto other parts in the part group selected in step S2 by using the proximity solution method to obtain projection curves, and calculating the gap value h' at the maximum gap between the projection curves; intersecting the projection curves, and then disassembling them to obtain two curves, and measuring their sizes d1 and d2 respectively; S6, detecting all dispersion curves according to steps S4 and S5, and judging that the boss between the two welding points in step S4 meets the requirements as long as any h' value meets the evaluation conditions; If the h' values ​​are all smaller than the set values ​​of the evaluation conditions, and the h' values ​​are all smaller than the first threshold value, then it is determined that the boss between the two welding points in step S4 does not meet the requirements; If the h' values ​​are all less than the set value of the review condition, when there is an h' value greater than or equal to the first threshold, it is determined whether the two projection curves corresponding to the h' value are arcs. If they are arcs, the arc radius is output as the review result; if they are not arcs, the circle radius of the two projection curves corresponding to the h' value is measured, and as long as the circle radius of one of them is less than or equal to the second threshold, the circle radius is output as the review result; if the circle radii are all greater than the second threshold, it is determined that the boss between the two welding points in step S4 does not meet the requirements; S7, looping through steps S2-S6, completing boss detection for all parts groups corresponding to each welding point in the welding point group.

2. The method for determining a boss according to the distance between welding points of welding edges according to claim 1, characterized in that: Step S1 also includes: selecting the digital model of the welding point spacing of the welding edge to be tested and reading the nodes through the software; selecting the boss part to be tested; identifying according to the welding point identification mark, and automatically retrieving and identifying the corresponding welding point information and its center point in the nodes of the digital model.

3. The method for determining bosses according to the distance between welding edges and welding points according to claim 1, characterized in that: In step S1, the interference relationship detection method includes: Select the parts and welds whose interference relationship is to be detected, and detect the gap value between the two; if the gap value is <0mm, the two are in a collision relationship; if the gap value =0mm, the two are in a contact relationship; both collision and contact relationships are classified as interference relationships.

4. The method for determining a boss according to the distance between welding edges and welding points according to claim 1, characterized in that: In step S6, the method for measuring the circle radius of the projection curve includes: Make the midpoint of the projection curve, draw a circle with the two endpoints of the projection curve and the midpoint, and measure the radius of the circle.

5. The method for determining bosses according to the distance between welding points of welding edges according to claim 1, characterized in that: In step S6, after the arc radius is output as the review result and the circle radius is output as the review result, the user performs verification and result correction according to the review result.

6. A system for determining bosses based on the distance between welded edges and welded points, characterized in that: include: Grouping module: The software detects the solder joints in the digital model that have interference with the parts that need to be inspected for bosses, and records them as solder joint groups; Detect all parts that have an interference relationship with each welding point of the welding point group, and record the detected parts that have an interference relationship with a certain welding point as the part group of the welding point; Outer contour line module: select a part group, extract the outer surface of the part that needs to be detected by boss; extract all boundary curves of the outer surface; measure the length of all boundary curves and sort them, and select the boundary curve with the largest length as the outer contour line of the boss part to be detected; Segmentation curve module: detect the distance between the solder joints of the solder joint group and the outer contour line one by one, count the solder joints whose distance is within the threshold as the second solder joint group; project the solder joints of the second solder joint group onto the outer contour line by using the proximity solution; segment the outer contour line at the projection of the solder joints to form a dispersion curve; Connection module: select one of all the scatter curves, identify the two endpoints of this scatter curve, and correspond to the two solder joints in the model; connect the centroids of the two solder joints into a line segment, and measure the size as the solder joint spacing; Measuring module: project the line segments onto other parts in the part group selected by the outer contour module using the proximity solution to obtain projection curves, and measure the gap value h' at the maximum gap between the projection curves; intersect the projection curves and then disassemble them to obtain two curves, and measure their sizes d1 and d2 respectively; Boss detection module: detect all dispersion curves through the connection module and the measurement module. As long as any h' value meets the review conditions, it is judged that the boss between the two welding points of the connection module meets the requirements; If the h' values ​​are all smaller than the set values ​​of the evaluation conditions, and the h' values ​​are all smaller than the first threshold value, it is determined that the boss between the two welding points of the connection module does not meet the requirements; If the h' values ​​are all less than the set value of the review condition, when there is an h' value greater than or equal to the first threshold, it is determined whether the two projection curves corresponding to the h' value are arcs. If they are arcs, the arc radius is output as the review result; if they are not arcs, the circle radius of the two projection curves corresponding to the h' value is measured. As long as the circle radius of one of them is less than or equal to the second threshold, the circle radius is output as the review result; if the circle radii are all greater than the second threshold, it is determined that the boss between the two welding points of the connection module does not meet the requirements; Loop module: Through the loop execution of the outer contour module, the segmentation curve module, the connection module, the measurement module, and the boss detection module, the boss detection is completed for the parts group corresponding to each weld in the weld group.

7. The system for determining bosses based on the distance between welding edges and welding points according to claim 6, characterized in that: The grouping module also includes: selecting the digital model of the welding spot spacing of the welding edge to be tested and reading the nodes through software; selecting the boss part to be tested; identifying according to the welding spot identification mark, and automatically retrieving and identifying the corresponding welding spot information and its center point in the nodes of the digital model.

8. The system for determining bosses based on the distance between welding points of welding edges according to claim 6, characterized in that: The grouping module is provided with an interference relationship detection unit, and the interference relationship detection unit comprises: Select the parts and welds whose interference relationship is to be detected, and detect the gap value between the two; if the gap value is <0mm, the two are in a collision relationship; if the gap value =0mm, the two are in a contact relationship; both collision and contact relationships are classified as interference relationships.

9. The system for determining bosses based on the distance between welding edges and welding points according to claim 6, characterized in that: The boss detection module is equipped with a circle radius measurement unit for measuring the circle radius of the projection curve, including: Make the midpoint of the projection curve, draw a circle with the two endpoints of the projection curve and the midpoint, and measure the radius of the circle.

10. The system for determining bosses based on the distance between welding edges and welding points according to claim 6, characterized in that: After the arc radius in the boss detection module is output as a review result and the circle radius is output as a review result, the user performs verification and result correction according to the review result.

Citation Information

Patent Citations

  • Electric-arc welding machine

    CN105934309A

  • Three-dimensional curve electron beam welding method

    CN110788468A