Weld-based product model detection method and system
By automatically identifying solder joint files and using the intersection method to determine the width of the welding surface, the problems of strong subjectivity, low efficiency, and easy omission in solder joint detection in the existing technology are solved, realizing efficient and accurate solder joint detection and simplifying the operation process.
Patent Information
- Application Number
- CN202510992081.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-18
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2045-07-18
AI Technical Summary
In existing technologies, weld point detection mainly relies on manual observation and estimation, which leads to high subjectivity, low efficiency, easy omissions, and poor accuracy, making it difficult to meet the needs of large-scale, high-precision, and rapid detection of vehicle body weld points.
By acquiring solder joint identification marks, identifying matching solder joint files and eliminating interfering data, identifying part models with interference relationships, determining the width of the welding surface using the intersection method, automatically detecting the shortest edge distance from the solder joint projection position to the welding surface, and combining preset standards to determine whether the product model is qualified.
It has achieved automation and improved accuracy in weld joint inspection, reduced human error, increased inspection efficiency, simplified operation steps, reduced the burden on designers, and ensured the consistency and accuracy of inspection results.
Smart Images

Figure CN120493411B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive design, and more specifically, to a product model inspection method and system based on weld points. Background Technology
[0002] After the design of the body welding points is completed, there are usually tens of thousands of welding points involved. Designers need to ensure that each welding point meets the relevant design specifications, especially the width of the welding surface, which must meet the specified requirements. In the existing technology, the detection of the welding surface width at the welding point mainly relies on the manual observation and estimation of the design engineer based on the three-dimensional model. The detection steps generally include: the designer observes the spatial distance between the welding point and the surrounding welding surface boundary, subjectively judges the position of the welding point projected onto the welding surface, and estimates the distance from the welding point to a relatively close boundary. If the estimation result shows that the welding surface may be too narrow, the designer usually selects the two closest boundaries of the welding surface and directly measures the distance between these two boundaries to estimate the width of the welding surface.
[0003] The aforementioned measurement method has certain limitations in practical engineering. On the one hand, the process relies heavily on human experience and visual judgment, making it highly subjective and prone to measurement deviations due to individual differences. On the other hand, given the large number of weld points, manual inspection is labor-intensive, has poor repeatability, and carries a high risk of missed detections, making it impossible to guarantee stability and accuracy. Furthermore, this method requires a high level of professional skill from the operator, resulting in low efficiency and long processing time, making it difficult to meet the actual needs of large-scale, high-precision, and rapid inspection of vehicle body weld points.
[0004] Therefore, how to improve the efficiency and automation of weld point inspection while ensuring accuracy has become a key technical issue in welding process design and quality control. Summary of the Invention
[0005] This invention provides a product model inspection method and system based on solder joints, which at least solves the technical problems in the prior art where solder joint inspection mainly relies on manual observation and estimation, resulting in high subjectivity, low efficiency, easy omissions, and poor accuracy.
[0006] According to one aspect of the present invention, a product model inspection method based on solder joints is provided, comprising: acquiring a solder joint identification identifier; identifying solder joint files matching the solder joint identification identifier from the product model; and excluding interfering data files that do not match the solder joint identification identifier from the product model, wherein the solder joint files are data files including solder joint models; identifying part models that have an interference relationship with the solder joint models based on the positional relationship of the solder joint files in the product model; using the intersection surface obtained by intersecting the part models as the welding surface of the part models, and projecting the solder joint models onto the welding surface to obtain the solder joint projection position; detecting the shortest point distance from the solder joint projection position to the boundary of the welding surface; determining the width of the welding surface based on the shortest point distance using an auxiliary surface intersection method; and detecting whether the product model is qualified based on the shortest point distance and / or the width of the welding surface.
[0007] According to another aspect of the present invention, a product model inspection system based on solder joints is also provided, comprising: a file recognition module configured to acquire solder joint identification identifiers, identify solder joint files matching the solder joint identification identifiers from the product model, and exclude interfering data files that do not match the solder joint identification identifiers from the product model, wherein the solder joint files are data files including solder joint models; an interference recognition module configured to identify part models that have an interference relationship with the solder joint models based on the positional relationship of the solder joint files in the product model; a point-edge distance detection module configured to use the intersection surface obtained by intersecting the part models as the welding surface of the part models, project the solder joint models onto the welding surface to obtain the solder joint projection position, and detect the shortest point-edge distance from the solder joint projection position to the boundary of the welding surface; a width determination module configured to determine the width of the welding surface based on the shortest point-edge distance using an auxiliary surface intersection method; and a product inspection module configured to detect whether the product model is qualified based on the shortest point-edge distance and / or the width of the welding surface.
[0008] In this embodiment of the invention, a solder joint identification identifier is obtained; solder joint files matching the identification identifier are identified from the product model; and interfering data files that do not match the identification identifier are excluded from the product model. The solder joint file is a data file including a solder joint model. Based on the positional relationship of the solder joint file in the product model, part models that have an interference relationship with the solder joint model are identified. The intersection surface obtained by intersecting the part models is used as the welding surface of the part models, and the solder joint model is projected onto the welding surface to obtain the solder joint projection position. The shortest point distance from the solder joint projection position to the boundary of the welding surface is detected. Based on the shortest point distance, the width of the welding surface is determined using an auxiliary surface intersection method. Based on the shortest point distance and / or the width of the welding surface, the product model is tested for qualification. This solution solves the technical problems in the prior art where solder joint detection mainly relies on manual observation and estimation, leading to high subjectivity, low efficiency, easy omissions, and poor accuracy. Attached Figure Description
[0009] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0010] Figure 1 This is a flowchart of a product model inspection method based on solder joints according to an embodiment of the present invention;
[0011] Figure 2 This is a logic flowchart of a product model inspection system based on solder joints according to an embodiment of the present invention;
[0012] Figure 3 This is an interface diagram of a product model inspection system based on solder joints according to an embodiment of the present invention;
[0013] Figure 4 This is a flowchart of another product model inspection method based on solder joints according to an embodiment of the present invention;
[0014] Figure 5 This is an interface diagram of an optional product model selection according to an embodiment of the present invention;
[0015] Figure 6 This is an interface diagram of an optional setting of detection standards and solder joint identification marks according to an embodiment of the present invention;
[0016] Figure 7 This is an interface diagram of an optional identified solder joint file according to an embodiment of the present invention;
[0017] Figure 8This is an interface diagram showing the positional relationship of solder joint files according to an embodiment of the present invention;
[0018] Figure 9 In this diagram, (a) is an interface diagram of an optional intersection definition according to an embodiment of the present invention, and (b) is an interface diagram of multiple result management.
[0019] Figure 10 This is an interface diagram of setting a distance threshold for point edge distance according to an embodiment of the present invention;
[0020] Figure 11 This is an interface diagram of the setting selection mode according to an embodiment of the present invention;
[0021] Figure 12 This is an interface diagram showing the result corresponding to the selection mode according to an embodiment of the present invention;
[0022] Figure 13 This is a schematic diagram illustrating that the shortest point distance is greater than a distance threshold according to an embodiment of the present invention;
[0023] Figure 14 This is a schematic diagram illustrating that the shortest point distance is less than a distance threshold according to an embodiment of the present invention;
[0024] Figure 15 (a), (b), and (c) in the figure are schematic diagrams of the weld point projection position and the point closest to different curves according to embodiments of the present invention;
[0025] Figure 16 This is a schematic diagram of the line connecting the projected position of the solder joint and the nearest point of the outline according to an embodiment of the present invention.
[0026] Figure 17 This is a schematic diagram of a perpendicular line drawn from the weld point projection position to the weld surface according to an embodiment of the present invention.
[0027] Figure 18 This is a schematic diagram of a plane defined by perpendicular lines and connecting lines according to an embodiment of the present invention;
[0028] Figure 19 (a) is a schematic diagram of the width of the welded surface according to an embodiment of the present invention, and (b) is a schematic diagram of the width of the welded surface with a measured value according to an embodiment of the present invention;
[0029] Figure 20 This is a schematic diagram of the product model determination result according to an embodiment of the present invention;
[0030] Figure 21 (a) and (b) are an overall and a partial view of the review results according to an embodiment of the present invention;
[0031] Figure 22These are detailed images of the review results according to embodiments of the present invention;
[0032] Figure 23 This is a schematic diagram of the structure of a product model detection system based on solder joints according to an embodiment of the present invention;
[0033] Figure 24 A schematic diagram of the structure of an electronic device suitable for implementing embodiments of the present disclosure is shown. Detailed Implementation
[0034] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0035] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0036] According to an embodiment of the present invention, a method embodiment for product model inspection based on solder joints is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0037] Figure 1 This is a product model inspection method based on solder joints according to an embodiment of the present invention, such as... Figure 1 As shown, the method includes the following steps:
[0038] Step S102: Obtain solder joint identification identifier, identify solder joint files that match the solder joint identification identifier from the product model, and exclude interference data files that do not match the solder joint identification identifier from the product model, wherein the solder joint file is a data file that includes a solder joint model.
[0039] Step S104: Based on the positional relationship of the solder joint file in the product model, identify the part model that has an interference relationship with the solder joint model.
[0040] In the product model, the parent node to which the solder joint file belongs is identified, and all part models under the parent node are read. Interference detection is then performed on the solder joint model and each of the part models to identify the part models that interfere with the solder joint model. This method enables automatic interference detection between the solder joint model and its associated parts, improving detection accuracy and efficiency, and reducing human error.
[0041] Step S106: The intersecting surface obtained by intersecting the part models is used as the welding surface of the part models, and the weld point model is projected onto the welding surface to obtain the weld point projection position. The shortest point distance from the weld point projection position to the boundary of the welding surface is detected.
[0042] The intersecting surfaces obtained by intersecting the part models are used as the welding surfaces of the part models. The weld point model is then projected onto the welding surface to obtain the weld point projection position. Next, the boundary of the welding surface is extracted as the intersecting contour line. This contour line is then decomposed to obtain multiple scattered curves, forming a set of boundary curves for the welding surface boundary. The distance between the weld point projection position and each curve in the boundary curve set is measured sequentially, and the shortest distance among the measured distances is taken as the shortest point distance. This method accurately determines the spatial position of the weld point on the welding surface, effectively improving boundary recognition accuracy and the accuracy of the shortest point distance calculation.
[0043] Step S108: Based on the shortest point distance, determine the width of the welding surface using the auxiliary surface intersection method.
[0044] A line is generated connecting the projected position of the weld point to the nearest point on the curve corresponding to the shortest point distance. Using the projected position of the weld point as a reference, a perpendicular line is constructed to the welding surface. Based on the two intersecting lines containing the connecting line and the perpendicular line, the auxiliary surface is determined. The intersection line of the auxiliary surface and the welding surface is determined, and the length of this intersection line is taken as the width of the welding surface. Through this method, a local auxiliary surface at the location of the weld point can be accurately constructed, enabling automatic measurement of the welding surface width and improving the objectivity and consistency of the measurement results.
[0045] Step S110: Detect whether the product model is qualified based on the shortest point-to-edge distance and / or the width of the welding surface.
[0046] When the shortest point-to-edge distance is greater than or equal to a preset distance threshold and the width of the welding surface is greater than a preset multiple of the distance threshold, the product model is determined to be qualified; when the shortest point-to-edge distance is less than the distance threshold and the width of the welding surface is greater than the preset multiple of the distance threshold, the point-to-edge distance of the product model is determined to be unqualified, but the width of the welding surface is qualified; when the shortest point-to-edge distance is less than the distance threshold and the width of the welding surface is less than the preset multiple of the distance threshold, the product model is determined to be unqualified. Through the above method, automatic determination of the solder joint quality of the product model can be achieved, with clear classification, improved detection efficiency and consistency of judgment criteria, and avoidance of human misjudgment.
[0047] In the case where the product model is determined to be unqualified or the point-to-edge distance of the product model is determined to be unqualified, but the width of the welding surface is qualified, the solder joint model and / or the part model is corrected. Through the above method, model correction can be automatically performed after identifying abnormalities, improving the design closed-loop efficiency, reducing subsequent rework, and ensuring the rationality of the solder joint layout and the structural reliability.
[0048] The embodiment of the present application also provides a product model detection system, which is developed based on the industrial design tool CATIA. As Figure 2 shown, the system can identify the solder joint file that matches the identifier set by the user from the product model, and at the same time exclude the interference data file that does not match the identifier. After identifying the solder joint file, the system identifies the part models that have an interference relationship with it based on the positional relationship of the solder joint model in the product model, and forms a connection group with these part models and the solder joint model. Then, through intersection processing, the welding surface between the connected parts is obtained. Subsequently, the system projects the solder joint model onto the welding surface, obtains the projection position of the solder joint, and measures the shortest point-to-edge distance from the projection position of the solder joint to the boundary of the welding surface. On this basis, the width of the welding surface is calculated using the auxiliary surface intersection method. Finally, according to whether the shortest point-to-edge distance and the width of the welding surface meet the preset detection criteria, the product model is determined for qualification, and a detection report is output for designers to view and download.
[0049] Compared with the prior art, the present invention greatly reduces the operation burden of designers. Using this system, designers only need to set the solder joint identification identifier and detection criteria, and the software can automatically analyze and detect all solder joint models and output the solder joint detection results and a complete report. The specific interface diagram is as Figure 3 shown.
[0050] The operation process of the product model detection system will be described in detail below. Figure 4This application provides a product model inspection method according to an embodiment of the present application. This method is applied to the aforementioned product model inspection system, such as... Figure 4 As shown, the method includes the following steps:
[0051] Step S402: Select product model.
[0052] like Figure 5 As shown, the user clicks the "Select Product Model" button on the human-computer interaction interface of the product model inspection system to select the product model node to be inspected. The software system automatically reads the number information of the selected node and fills this information into the interaction interface as the basis for subsequent solder joint identification and processing.
[0053] Step S404: Identify solder joint files.
[0054] Users can set inspection standards and solder joint identification marks in the user interface, such as Figure 6 As shown, data files marked with "Other Process Document Identification Marker" are identified as interference data outside the detection range, and the system automatically excludes them. The detection range can be selected as "All Solder Joints under the Product Model" or "Solder Joints at the Next Level under the Product Model" as needed. Based on the set solder joint identification marks and the above detection standards, the system searches for matching solder joint files in the product model as the objects for subsequent processing. Figure 7 The system displays the solder joint files that meet the requirements.
[0055] Step S406: Identify the shortest point distance.
[0056] 1) Identify the positional relationships and interference of the solder joint files in the part model.
[0057] After identifying the solder joint file, the system traces upwards to the parent node to which the solder joint file belongs. For example, ... Figure 8 As shown, when the solder joint file "5401510-HD Left Side Inner Panel Rear Section Sub-Assembly Solder Joint" is identified, the system can determine its parent node as "5401510 Left Side Inner Panel Rear Section Sub-Assembly". The system then reads all part model information under this parent node to prepare for subsequent interference detection.
[0058] The system invokes CATIA's interference detection function to perform interference analysis on all part models and weld point models under the aforementioned parent node. Part models exhibiting geometric interference with the weld point models in the detection results are considered to be connected to the weld point models. The system records these part models and their corresponding weld point models as a group, serving as input data for subsequent weld surface extraction and analysis.
[0059] 2) Extract intersecting contour lines.
[0060] For the parts in the same group connected by the aforementioned weld points, the system performs an "intersection" operation in CATIA to extract the intersecting contour lines, such as... Figure 9 As shown, during operation, the "Keep All Sub-elements" option is selected to retain all valid boundary lines. The extracted intersecting contour lines represent the geometric boundary lines between two connected (interfering) part models, i.e., the boundaries (contours) of the welding surface. The system further decomposes the intersecting contour lines to obtain several scattered curves, which form a set of boundary curves for the welding surface, used for subsequent distance measurement.
[0061] 3) Detect the shortest point distance.
[0062] like Figure 10 As shown, the system defaults to displaying the initial preset distance threshold for the shortest point edge distance as, for example, 8mm. Users can modify this distance threshold as needed. The system defaults to the welding surface width being twice the distance threshold.
[0063] After the user clicks the "Distance Detection" button, the system automatically executes the following point-edge distance detection logic:
[0064] First, the weld point model is projected onto the welding surface to obtain the weld point projection position. Then, the distance between the weld point projection position and each curve in the boundary curve set is calculated sequentially, and the shortest distance is selected as the shortest point edge distance. To ensure measurement accuracy, the system limits intersecting contour lines to "edge line only" mode, such as... Figure 11 As shown, the measurement results are as follows Figure 12 As shown. If the shortest point distance is greater than the preset distance threshold (e.g., ... Figure 13 As shown), the system records the shortest point distance and simultaneously saves the corresponding weld point information, information of parts in the same group, and information of the intersecting contour lines corresponding to the shortest point distance. If there is a case where the shortest point distance is less than the distance threshold (e.g.) Figure 14 As shown in the figure, the system outputs all intersecting contour lines, weld point information and corresponding connecting part information that meet the condition together, for subsequent weld surface width detection and quality judgment.
[0065] Step S408: Identify the width of the welding surface.
[0066] After the edge distance detection, the system further performs welding surface width detection on the weld joint. The specific processing flow is as follows:
[0067] 1) Select target solder joints and intersecting contour lines.
[0068] The system selects the weld point models that need to be tested for weld width from the test results, extracts the intersecting contour lines corresponding to their connection relationship, and divides the intersecting contour lines into multiple short curves as a set of boundary curves.
[0069] 2) Calculate the closest point between the projected position of the weld point and each curve in the boundary curve set.
[0070] For each curve, find the closest point to the projected location of the solder joint, such as... Figure 15 As shown.
[0071] 3) Generate connections.
[0072] The system generates spatial lines connecting the projected locations of solder joints to the nearest points on each curve, such as... Figure 16 As shown.
[0073] 4) Construct a perpendicular line.
[0074] Using the weld point projection position as a reference point, the system constructs a perpendicular line to the weld surface in the normal direction of the weld surface, which serves as an auxiliary surface reference, such as... Figure 17 As shown.
[0075] 5) Determine the auxiliary measurement plane.
[0076] Based on the two straight lines corresponding to the connecting line and the perpendicular line mentioned above, the system determines a unique spatial plane as an auxiliary plane for subsequent cutting of the welding surface width, such as... Figure 18 As shown.
[0077] 6) Determine the width of the welding surface.
[0078] The system determines the intersection line between the auxiliary surface and the welding surface, and uses the length of this intersection line as the width of the welding surface at the weld point. Figure 19 As shown.
[0079] The above method ensures that the construction of the reference surface during the width measurement process has a clear geometric basis and unified logic, thereby improving the stability, repeatability and accuracy of the weld surface width calculation.
[0080] Step S410: Determine whether the product model is qualified.
[0081] Based on the detected shortest point distance and / or weld surface width, combined with a preset distance threshold, the system classifies each weld point as follows:
[0082] 1) When the shortest point distance is greater than or equal to the preset distance threshold, and the width of the weld surface is greater than or equal to twice the distance threshold, the product model corresponding to the weld point is determined to be qualified, and the test result is output as "qualified".
[0083] 2) When the shortest point distance is less than the preset distance threshold, and the width of the welded surface is still greater than or equal to twice the distance threshold, it is judged as "point distance is unqualified, welded surface width is qualified", the test result is output as to be rectified, and the reason for non-compliance is marked in the remarks.
[0084] 3) When the shortest point distance is less than the preset distance threshold and the width of the welded surface is also less than twice the distance threshold, the product model corresponding to the weld point is determined to be unqualified, and the test result is output as "unqualified".
[0085] 4) When the detection data is abnormal or does not meet the above judgment logic, the detection result will be output as pending review, and the specific reason for the need for review will be explained in the remarks.
[0086] The example classification results can be as follows: Figure 20 As shown.
[0087] After the system completes the inspection, it records information such as each weld point, its corresponding connecting parts, and intersecting contour lines, and outputs the inspection results to a results list. This list displays weld point records that are "unqualified," "need rectification," and "need review" by default, and the checkboxes in front of them are selected by default for easy batch processing.
[0088] Users can click on any row of data in the list, and the system will work in conjunction with CATIA to automatically center and highlight the corresponding weld point in the 3D view. Simultaneously, the shortest distance from the weld point to the weld surface boundary and the width of the weld surface will be displayed in real time in the CATIA interface, allowing users to intuitively view the inspection indicators.
[0089] When a user double-clicks on a list item, the "Clear Data" button on the interface becomes editable, allowing the user to manually manipulate that item.
[0090] The test results list supports filtering by conditions, including multiple dimensions such as distance range and review status; the review status can also be filtered independently to help users focus on problematic solder joints.
[0091] For solder joints that are deemed "unacceptable" during the review process, the system automatically takes screenshots, including one overall view and one enlarged view of the affected area. Figure 21 As shown in (a) and (b), the solder joints and critical curves are highlighted in the figures, along with accurate measurement length annotations. Users can click the "Details" button to view screenshot details of the solder joint, such as... Figure 22 As shown.
[0092] After the review results are output, users can manually review and verify the test results according to the actual situation. By clicking the "Result Correction" button, users can enter the modification interface. The system will pop up a prompt window to confirm whether to perform the result correction operation, as a secondary confirmation mechanism to avoid accidental operation.
[0093] In automobile manufacturing, the car body typically contains approximately 5,000 weld points. Traditional weld point inspection processes are labor-intensive, time-consuming, and prone to missed inspections, severely impacting inspection efficiency and quality control. This invention provides an intelligent weld surface width detection solution that significantly optimizes the weld point inspection process. The software system, based on multi-source weld point data fusion and feature extraction technology, performs geometric feature analysis and spatial modeling of the connecting parts, thereby constructing a three-dimensional representation model of the weld joint surface. This model covers the entire weld point area, effectively avoiding missed and duplicate inspections. Furthermore, the system automatically calculates the shortest distance from the weld point projection position to the weld surface boundary based on the spatial relationship between the weld point coordinates and the weld surface boundary, and performs precise evaluation in conjunction with preset welding process standards (such as the minimum overlap distance threshold). Simultaneously, an auxiliary surface intersection method is used to determine the weld surface width and assess whether it meets quality requirements. Finally, the system outputs quantitative inspection results and classification judgments, and provides automatic report generation and traceability.
[0094] This invention possesses core advantages such as strong anti-interference capability, wide adaptability, high detection accuracy, and traceable results, providing efficient, intelligent, and standardized technical support for automotive weld joint quality control. Compared with existing technologies, this solution simplifies operation steps, highlights key detection points, significantly reduces the workload of designers, improves detection efficiency and accuracy, and effectively reduces design and quality control costs.
[0095] This application also provides another inspection system based on a product model of solder joints, such as... Figure 23 As shown, the system includes: a file recognition module 232, configured to acquire a solder joint identification identifier, identify solder joint files matching the identification identifier from the product model, and exclude interfering data files that do not match the identification identifier from the product model, wherein the solder joint file is a data file including a solder joint model; an interference recognition module 234, configured to identify part models that have an interference relationship with the solder joint model based on the positional relationship of the solder joint file in the product model; a point-edge distance detection module 236, configured to use the intersection surface obtained by intersecting the part models as the welding surface of the part models, project the solder joint model onto the welding surface to obtain the solder joint projection position, and detect the shortest point-edge distance from the solder joint projection position to the boundary of the welding surface; a width determination module 238, configured to determine the width of the welding surface based on the shortest point-edge distance using an auxiliary surface intersection method; and a product detection module 239, configured to detect whether the product model is qualified based on the shortest point-edge distance and / or the width of the welding surface.
[0096] It should be noted that the solder joint-based product model inspection system provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the equipment can be divided into different functional modules to complete all or part of the functions described above. In addition, the solder joint-based product model inspection system and the solder joint-based product model inspection method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0097] Figure 24 A schematic diagram of an electronic device suitable for implementing embodiments of the present disclosure is shown. It should be noted that... Figure 24 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein. Figure 24 As shown, the electronic device includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage section 1008 into a random access memory (RAM) 1003. The RAM 1003 also stores various programs and data required for system operation. The CPU 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0098] The following components are connected to I / O interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to I / O interface 1005 as needed. A removable medium 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 1010 as needed so that computer programs read from it can be installed into storage section 1008 as needed.
[0099] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A product model inspection method based on solder joints, characterized in that, Including: Obtain a solder joint recognition identifier, and identify a solder joint file that matches the solder joint recognition identifier from a product model, where the solder joint file is a data file including a solder joint model; Based on the positional relationship of the solder joint file in the product model, identify a part model that has an interference relationship with the solder joint model; Take the intersection surface obtained by intersecting the part model as the welding surface of the part model, project the solder joint model onto the welding surface to obtain a solder joint projection position, and detect the shortest point-edge distance from the solder joint projection position to the boundary of the welding surface; Based on the shortest point-edge distance, use the auxiliary surface intersection method to determine the width of the welding surface; Based on the shortest point-edge distance and / or the width of the welding surface, detect whether the product model is qualified; Among them, based on the shortest point-edge distance, using the auxiliary surface intersection method to obtain the width of the welding surface includes: generating a connection line between the solder joint projection position and the nearest point on the curve corresponding to the shortest point-edge distance; taking the solder joint projection position as a reference, constructing a perpendicular line perpendicular to the welding surface, and determining the auxiliary surface according to the two intersecting straight lines where the connection line and the perpendicular line are located respectively; determining the intersection line of the auxiliary surface and the welding surface, and taking the length of this intersection line as the width of the welding surface.
2. The method according to claim 1, characterized in that, Based on the positional relationship of the solder joint file in the product model, identifying a part model that has an interference relationship with the solder joint model includes: Identify the parent node to which the solder joint file belongs in the product model, and read all part models under the parent node; Perform interference detection on the solder joint model and all the part models one by one, and identify the part models that have an interference relationship with the solder joint model.
3. The method according to claim 2, characterized in that, Detecting the shortest point-edge distance from the solder joint projection position to the boundary of the welding surface includes: Extract the boundary of the welding surface as an intersection contour line, perform disassembly processing on the intersection contour line to obtain multiple scattered curves as the boundary curve set of the boundary of the welding surface; Measure the distance between the solder joint projection position and each curve in the boundary curve set in turn, and take the shortest distance among the measured distances as the shortest point-edge distance.
4. The method according to claim 1, characterized in that, Based on the shortest point-edge distance and / or the width of the welding surface, detecting whether the product model is qualified includes: When the shortest point-edge distance is greater than or equal to a preset distance threshold and the width of the welding surface is greater than a preset multiple of the distance threshold, determine that the product model is qualified; When the shortest point-edge distance is less than the distance threshold and the width of the welding surface is greater than the preset multiple of the distance threshold, determine that the point-edge distance of the product model is unqualified but the width of the welding surface is qualified; When the shortest point-edge distance is less than the distance threshold and the width of the welding surface is less than the preset multiple of the distance threshold, determine that the product model is unqualified.
5. The method according to claim 4, characterized in that, The method further includes: when determining that the product model is unqualified or determining that the point-edge distance of the product model is unqualified but the width of the welding surface is qualified, correcting the solder joint model and / or the part model.
6. A product model inspection system based on solder joints, characterized in that, Including: The file recognition module is configured to acquire solder joint identification identifiers and identify solder joint files that match the solder joint identification identifiers from the product model, wherein the solder joint file is a data file including a solder joint model; The interference recognition module is configured to identify part models that have an interference relationship with the solder joint model based on the positional relationship of the solder joint file in the product model; The point edge distance detection module is configured to take the intersection surface obtained by intersecting the part models as the welding surface of the part models, project the welding point model onto the welding surface to obtain the welding point projection position, and detect the shortest point edge distance from the welding point projection position to the boundary of the welding surface. The width determination module is configured to determine the width of the welding surface based on the shortest point edge distance using an auxiliary surface intersection method; The product inspection module is configured to detect whether the product model is qualified based on the shortest point edge distance and / or the width of the welding surface; The width determination module is further configured to: generate a line connecting the weld point projection position and the nearest point on the curve corresponding to the shortest point distance; construct a perpendicular line to the welding surface based on the weld point projection position, and determine the auxiliary surface based on the two intersecting straight lines where the connecting line and the perpendicular line are respectively located; determine the intersection line between the auxiliary surface and the welding surface, and take the length of the intersection line as the width of the welding surface.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 5.
8. A computer device, characterized in that, include: Memory and processor The memory stores computer programs; The processor is configured to execute a computer program stored in the memory, wherein the computer program, when executed, causes the processor to perform the method described in any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Welding spot rationality verification method and storage medium
CN114218628A
Thickness measurement and width verification method, device and equipment for spot-welded plate and medium
CN115930804A
Method and system for detecting distance from welding spot center to R angle
CN119845121A