Method and system for judging boss according to welding spot spacing of welding edge
Through software, the welding joint spacing and boss characteristics of the welding edges are automatically detected, which solves the problem of cumbersome and error-prone manual measurement, and achieves efficient and accurate boss detection.
Patent Information
- Application Number
- CN202510142800.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2045-02-10
AI Technical Summary
In the prior art, the spacing between welding edges and welding points is manually measured to determine that there are problems with the boss, which can easily lead to missed inspection and missed inspection, which has a large and cumbersome operation volume and low efficiency.
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 are divided into the curve to judge the characteristics of the boss.
The detection of welding edge bosses is automated, the inspection accuracy and efficiency are improved, and the operation volume and cost of designers are reduced.
Smart Images

Figure CN119566648A_ABST
Abstract
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 judging a boss according to the spacing between welding edges and welding points. Background Art
[0002] Currently in the field of automobile design, when arranging welds on the welding edge, it is necessary to consider whether to add boss features to increase the strength of the welding edge and reduce process issues such as part springback. Therefore, it is necessary to check the weld point spacing on the welding edge to determine whether a boss feature is needed between the two points, and to measure whether the existing boss features meet the requirements. Therefore, design engineers need to measure the weld point spacing on the welding edge and determine the rationality of the boss. The operating steps in the prior art are as follows: manually open the digital model that needs to measure the weld point spacing to determine the boss - select two welds to measure the spacing - determine whether a boss is needed - determine whether the boss meets the requirements.
[0003] The above operation requires manual measurement of all welds on each welding edge in pairs, and the existing bosses need to be inspected. The spacing or bosses that meet the requirements can be ignored, but the welds or bosses that do not meet the requirements need to be counted for subsequent modification.
[0004] However, manual boss inspection is prone to the risk of missed detection and false detection; the operation is large, repetitive, and cumbersome, resulting in low work efficiency. Summary of the invention
[0005] The present invention proposes a method and system for judging bosses according to the spacing between welding edges and welding points, which can automatically realize the detection and judgment of bosses, make the detection more accurate, reduce risks and improve efficiency.
[0006] To achieve the above object, the technical solution of the present invention is achieved as follows: A method for determining a boss according to a welding edge welding point spacing, comprising: S1. Detect the welding points in the digital model that have an interference relationship with the boss parts to be detected by software, and record them as welding point groups; detect the parts that have an interference relationship with each welding point in the welding point group, and record the parts that have an interference relationship with each welding point as part groups respectively; S2, selecting a boss part to be detected and extracting the outer surface; extracting all boundary curves of the outer surface; measuring the lengths of all boundary curves and sorting them, and selecting the boundary curve with the largest length as the outer contour line of the boss part to be detected; 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 segments onto the parts in the same group as the part 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 two welding points 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, it is judged that the boss between the two welds 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 welds 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.
[0007] Furthermore, 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 it 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.
[0008] Furthermore, 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.
[0009] Furthermore, 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.
[0010] Furthermore, 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.
[0011] The present invention also proposes a system for determining bosses according to the distance between welding edges and welding points, comprising: Grouping module: detect the welding points in the digital model that have an interference relationship with the boss parts to be detected through the software, and record them as welding point groups; detect the parts that have an interference relationship with each welding point in the welding point group, and record the parts with interference relationships with each welding point as parts groups; Outer contour line module: select the boss part to be detected to extract the outer surface; 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 the parts in the same group as the part 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: detects 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 solder joints 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 judged that the boss between the two welds 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 welds 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.
[0012] Furthermore, the grouping module also includes: selecting the digital model of the distance between the weld points of the welding edge to be tested and reading the nodes through the software; selecting the boss part to be tested; identifying it according to the weld point identification mark, and automatically retrieving and identifying the corresponding weld point information and its center point in the nodes of the digital model.
[0013] Furthermore, the grouping module is provided with an interference relationship detection unit, and the interference relationship detection unit 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.
[0014] Furthermore, the boss detection module is provided 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.
[0015] Furthermore, 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.
[0016] Compared with the prior art, the present invention has the following beneficial effects: The present invention can automatically extract the outer contour line of the target part from the digital model of the vehicle body, identify the weld point model and process it, count the weld points within the specified range and project them onto the outer contour line, segment the contour line, reflect the endpoints (projection points) of each curve to the original weld point, measure the weld point spacing, and detect the boss features. The present invention simplifies the operation steps, highlights the key points, and greatly reduces the amount of operation for designers. Designers only need to select the target part and set the weld point identification mark to easily achieve weld point spacing measurement and boss judgment. It avoids a large amount of manual repetitive work, and the results obtained are faster and more accurate, while improving work efficiency and reducing design costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of the process of the method for determining a boss according to the present invention; Figure 2 It is a schematic diagram of the overall process of Example 1 of the present invention; Figure 3 is a schematic diagram of the software interface of Example 1 of the present invention; Figure 4 Schematic diagram of the review process of Example 1 of the present invention; Figure 5 It is a schematic diagram of the description of various parameters of the evaluation conditions in Example 1 of the present invention; Where AA represents the cross section; Figure 6 is a schematic diagram of step (1) of Example 1 of the present invention; Figure 7 is a schematic diagram of step (7) of Example 1 of the present invention; Figure 8 is a schematic diagram of the projection points and dispersion curves of step (8) of Example 1 of the present invention; Fig. 9 is a schematic diagram of the distance L between solder joints 1 and 2 in step (10) of embodiment 1 of the present invention; Fig.10 is a schematic diagram of the maximum gap value h in step (11) of embodiment 1 of the present invention; Fig.11 is a schematic diagram of the d value of step (12) of Example 1 of the present invention; Fig.12 It is a schematic diagram of the system structure of Example 2 of the present invention. DETAILED DESCRIPTION
[0018] 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.
[0019] The design concept of the present invention is to realize the automatic judgment of boss features through the software system, realize the operation logic through the code, and automatically realize the content that originally required a large number of repetitive operations to be performed manually. After setting the corresponding parameters, the results can be output with one click.
[0020] Based on the above design concept, the method for judging the boss proposed by the present invention is as follows: Figure 1 As shown, including: S1. Detect the welding points in the digital model that have an interference relationship with the boss parts to be detected by software, and record them as welding point groups; detect the parts that have an interference relationship with each welding point in the welding point group, and record the parts that have an interference relationship with each welding point as part groups respectively; S2, selecting a boss part to be detected and extracting the outer surface; extracting all boundary curves of the outer surface; measuring the lengths of all boundary curves and sorting them, and selecting the boundary curve with the largest length as the outer contour line of the boss part to be detected; 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 segments onto the parts in the same group as the part 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 two welding points 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, it is judged that the boss between the two welds 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 welds 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.
[0021] Based on the above method, the present invention is further described below in conjunction with the accompanying drawings and specific embodiments.
[0022] Embodiment 1: The overall method of this embodiment is as follows Figure 2 As shown, including: 1. Open the model to be tested: In this embodiment, the software interface of solder joint spacing detection is as follows: Figure 3 As shown, click Figure 3 Click "Select Product Model" in the navigation bar, open the model file list under the model storage path, and then select the model for which the welding length needs to be measured. The software reads the node information and fills it in.
[0023] 2. Select product model: Select the digital model of the assembly that needs to measure the spacing between solder joints and determine the boss features 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 the user clicks to select. After selection, the software system reads the node information of the selected product model and displays it.
[0024] 3. Select the test parts: After selecting the product model, open the part model file list of the product model, and click to select the part that needs to determine the boss based on the weld point distance.
[0025] 4. Identify solder joints: According to the "weld point identification mark" filled in or selected, search one by one in the nodes of the selected product model to identify the weld point information and the center point of the corresponding characters.
[0026] 5. Evaluation: Review is the core content of the present invention, and the specific logic is as follows Figure 4 As shown, it should be noted that the measurement, detection and other functions performed in the review process can be implemented through code, or by using API functions to call the functions of the 3D design software. In this embodiment, CATIA API is used to call or drive CATIA software to perform operations.
[0027] The review program includes the following: 1. Read the selected target parts and welding spot identification marks; 2. The evaluation criteria are as follows: Figure 5 As shown, L represents the distance between solder joints, h represents the height of the boss, and d represents the length from the boss to the solder joint; the review conditions are set as follows: 24≤L<50mm, h=0, no boss design; 50≤L<80mm, h≥2, d≥11; L≥80mm, h≥3, d≥11.
[0028] 3. Solder joint spacing and boss measurement: (1) The software system drives CATIA to detect whether there is an interference relationship between the parts of the boss to be detected and all the weld files, and records the welds that have an interference relationship with the detected parts as a weld group; like Figure 6 As shown in the schematic diagram, the interference relationship detection method between parts and welds is as follows: the software system selects the parts and weld files that need to detect bosses by default for interference detection, and the default detection types are "gap + contact + collision" and "between two selections" (selection 1 is the part that needs to detect bosses, and selection 2 is the weld file). 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 welds with collision and contact relationship detection results are counted as weld groups.
[0029] (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.
[0030] 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.
[0031] (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".
[0032] (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. (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.
[0033] (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".
[0034] (7) Project the solder joints of the second solder joint 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.
[0035] (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 as Figure 8Shown is a schematic diagram of the projection points and dispersion curves.
[0036] (9) Select one of all the dispersion curves. In this embodiment, random selection is adopted to identify the two endpoints of the selected dispersion curve, namely, projection point 1 and projection point 2. According to the projection reaction to the original solder joint model, they correspond to solder joint 1 and solder joint 2. This step can be achieved by driving the function of CATIA.
[0037] (10) Connect the centroids of solder joints 1 and 2 to form a line segment and measure the dimensions, such as Fig. 9 As shown, the distance L between solder point 1 and solder point 2; the selection of the center of gravity, the connection line and the measurement function can be achieved by driving the function of CATIA.
[0038] (11) The line segments are projected onto other parts of the same part group, and the maximum gap between the projections is measured, such as Fig.10 As shown, recorded as "h'"; this step can be achieved by driving the CATIA function, and checking the "proximal solution" when projecting.
[0039] (12) The projected curves are intersected and then decomposed to obtain two curves. The dimension d values are measured separately, as follows: Fig.11 As shown, it is recorded as "d1, d2". This step can be achieved by driving the function of CATIA.
[0040] (13) Detect each dispersion curve in turn until all curves have been detected.
[0041] (14) According to the set review conditions, if the distance between two welds needs to be a boss, as long as any h' value meets the h value set in the review conditions, the two welds meet the requirements, and as long as there is an h value, the d value needs to be tested at the same time (d1, d2 are compared with the d value in the review conditions).
[0042] If h' between all the dispersion curves is smaller than the h value set in the evaluation condition, and h' is smaller than a first threshold value (in this embodiment, the first threshold value is set to 1 mm), the output result is unqualified; If h' between all the scattered curves is less than the h value set in the review condition, but h' is greater than or equal to the first threshold value of 1mm, then measure whether the maximum gap value of the two scattered 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 output; if there is no arc after the measurement, extract the two curves at the maximum gap value of the two scattered curves corresponding to h', make the midpoint of the curve, draw a circle with the two end points of the curve and the midpoint, and measure the radius of the circle. As long as there is a curve with a radius less than or equal to the second threshold value (the second threshold value is set to 25mm in this embodiment), output the radius to the "Review Result" column of the software system interface as the review result output; if the radii of the two curves are both greater than 25mm, the output result is unqualified.
[0043] After the review results are output, users can verify and modify the test results. 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 screened; Review results can be accumulated, list data can be checked, and batch deletion can be performed.
[0044] A report export function is also set up, which will add the comprehensive information of welding point spacing detection and boss judgment to the EXCEL file, and open the EXCEL file, and the user can download it to a custom path.
[0045] (15) Loop through steps (3) to (14) to complete solder joint spacing detection and bump detection for all component groups.
[0046] 4. The design values in the above review scheme can be made into configuration files, and customers can modify them as needed.
[0047] The solution of this embodiment calls the relevant commands of CATIA through an algorithm, and then automatically measures the distance between the welding points and the boss parameters 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.
[0048] Embodiment 2: In this embodiment 2, a system for determining a boss according to the distance between welding edges and welding points is proposed. Fig.12 As shown, including: Grouping module: detect the welding points in the digital model that have an interference relationship with the boss parts to be detected through software, and record them as welding point groups; detect the parts that have an interference relationship with each welding point in the welding point group, and record the parts with interference relationships with each welding point as part groups; the grouping module is provided with an interference relationship detection unit, and the interference relationship detection unit includes: selecting the parts and welding points with interference relationship to be detected, and detecting the gap value between the two; if the gap value <0mm, the two are in a collision relationship; if the gap value =0mm, the two are in a contact relationship; both the collision relationship and the contact relationship are classified as interference relationships. In addition, the grouping module also includes: selecting the digital model of the welding point spacing of the welding edge to be tested and reading the nodes through software; selecting the boss parts 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.
[0049] Outer contour line module: randomly select a part from a part group to extract the outer surface; 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.
[0050] Segmentation curve module: detect the distance from the solder joints of the solder joint group to the outer contour line one by one, and 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; and segment the outer contour line at the projection of the solder joints to form a dispersion curve.
[0051] 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 centroid points of the two solder joints as a line segment, and measure the size as the solder joint spacing.
[0052] Measuring module: project the line segments onto the parts in the same group as the part 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 dimensions d1 and d2 respectively.
[0053] Boss detection module: detects 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 solder joints 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 judged that the boss between the two welds 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 radius is greater than the second threshold, it is determined that the boss between the two welds does not meet the requirements; wherein, the boss detection module is provided with a circle radius measurement unit, which is used to measure the circle radius of the projection curve, including: making the midpoint of the projection curve, drawing a circle with the two end points of the projection curve and the midpoint, and measuring the circle radius. In addition, after the arc radius is output as the review result and the circle radius is output as the review result in the boss detection module, the user performs verification and result correction according to the review result.
[0054] 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.
[0055] The system proposed in this embodiment 2 can implement the method of judging the boss according to the distance between the welding edges and the welding points described in embodiment 1, and has the same technical effect as the method described in embodiment 1.
[0056] 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 determining a boss according to the distance between welding points on a welding edge, characterized in that: include: S1. Detect the welding points in the digital model that have an interference relationship with the boss parts to be detected by software, and record them as welding point groups; detect the parts that have an interference relationship with each welding point in the welding point group, and record the parts that have an interference relationship with each welding point as part groups respectively; S2, selecting a boss part to be detected and extracting the outer surface; extracting all boundary curves of the outer surface; measuring the lengths of all boundary curves and sorting them, and selecting the boundary curve with the largest length as the outer contour line of the boss part to be detected; 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 segments onto the parts in the same group as the part 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 two welding points 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, it is judged that the boss between the two welds 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 welds 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: detects the welding points in the digital model that have interference relationship with the boss parts to be detected through software, and records them as welding point groups; Detecting parts that have interference relationships with each solder joint of the solder joint group, and recording the parts that have interference relationships with each solder joint as part groups; Outer contour line module: select the boss part to be detected to extract the outer surface; 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 the parts in the same group as the part 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: detects 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 solder joints 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 judged that the boss between the two welds 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 welds 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 according to 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
Welding method of vapor chamber and middle frame, laser processing equipment and heat dissipation structure
CN114918537A
Welding quality detection method and device and storage medium
CN118455827A
Repair method and repair device for welded part of steel plate deck
JP2023038567A
Cited By
Product model detection method and system based on welding spots
CN120493411A