Quality test method and apparatus for weldment
Detecting the depth information of welded parts through three-dimensional image technology solves the problem of difficulty in detecting the depth of welding marks in the existing technology and achieves accuracy and stability in quality inspection of welded parts.
Patent Information
- Application Number
- PCT/CN2024/076120
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2024-02-05
- Publication Date
- 2024-09-06
AI Technical Summary
The existing ultrasonic welding mark detection technology uses 2D industrial camera imaging, which cannot effectively detect the depth information of the welding mark, resulting in unstable detection results.
Using three-dimensional image technology, by determining the depth value of each pixel in the effective area of the weldment, a datum plane and a difference plane are formed, and the points with a depth value greater than the set value are obtained as effective solder joints, and the area of the solder joint is calculated, and then the weldment is evaluated. quality.
It effectively reduces the impact of the complex optical environment near the welding parts on imaging, can accurately detect the effective welding area of the welding parts, and improves the accuracy of welding quality inspection.
Smart Images

Figure CN2024076120_06092024_PF_FP
Abstract
Description
Quality inspection method and device for welded parts
[0001] This disclosure claims priority to a Chinese patent application filed with the Patent Office of China on February 27, 2023, with application number 202310174728.5 and entitled “Quality Inspection Method and Device for Welded Parts,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present invention relates to the technical field of quality inspection of welded parts, and more particularly to a quality inspection method and device for welded parts. Background Art
[0003] Existing ultrasonic weld mark detection technologies use different light sources in conjunction with 2D industrial cameras for imaging. Each solution utilizes a different lighting method. However, due to the use of 2D cameras, depth information cannot be detected. Ultrasonic weld marks are small, shallow, and located in a complex optical environment. Without depth information, using only brightness information for detection makes it difficult to achieve reliable detection results.
[0004] Therefore, it is necessary to provide a new technical solution to solve the above technical problems.
[0005] Summary of the Invention
[0006] An object of the present invention is to provide a new technical solution for a quality inspection method of a welded part.
[0007] According to a first aspect of the present invention, a method for inspecting the quality of welds is provided. The method comprises: determining the location of a valid area within an original image of the weld; obtaining a first depth value for each pixel within the valid area to form a reference plane for the valid area; obtaining a second depth value from each pixel in the valid area to the reference plane to form a difference plane; obtaining points within the difference plane where the second depth value is greater than a set value as valid welds, calculating the area of the valid welds; and comparing the area with the set area.
[0008] Optionally, obtaining the first depth value of each pixel point in the effective area to form a reference plane of the effective area includes: dividing the effective area into multiple sub-areas on average; taking the median of the first depth values of each pixel point in the sub-area, using the median to represent a point equivalent to each pixel point in the sub-area to generate a sub-reference plane, and splicing the sub-reference planes to form the reference plane of the effective area.
[0009] Optionally, determining the position of the effective welding point in the effective area of the weld includes: determining a third depth value of all pixels in the effective area, and determining the position of the effective welding point according to the third depth value.
[0010] Optionally, the welding print is ultrasonic welding, and the ultrasonic welding produces a plurality of welding points arranged in an array.
[0011] Optionally, before obtaining the first depth value of each pixel point in the effective area to form the reference plane of the effective area, the method includes: performing filtering preprocessing on the original image of the weldment.
[0012] Optionally, before determining the position of the effective area in the three-dimensional image of the weldment, the method includes: acquiring the three-dimensional image of the weldment using a three-dimensional profilometer.
[0013] Optionally, before determining the position of the effective area in the three-dimensional image of the weld, the method further includes: obtaining the material of the weld, and determining the exposure time and / or noise suppression parameters of the three-dimensional profilometer according to the material of the weld.
[0014] According to a second aspect of the present application, a device for inspecting the quality of a welded part is provided. The device includes a processor configured to determine a position of a valid area within an original image of the welded part;
[0015] Obtaining a first depth value of each pixel in the effective area to form a reference plane of the effective area;
[0016] Obtaining a second depth value from each pixel point in the effective area to the reference plane to form a difference plane;
[0017] Obtaining a point in the difference plane where the second depth value is greater than a set value as a valid welding point, and calculating the area of the valid welding point;
[0018] The area is compared to a set area.
[0019] Optionally, the processor is further configured to determine a third depth value of each pixel point in the effective area, and determine a position of the effective welding point according to the third depth value.
[0020] Optionally, the processor is further configured to evenly divide the effective area into a plurality of sub-areas;
[0021] The median of the first depth values of each pixel point in the sub-area is taken, and the median is used to represent a point equivalent to each pixel point in the sub-area to generate a sub-reference surface, and the sub-reference surfaces are spliced to form the reference surface of the effective area.
[0022] Optionally, the processor is further configured to perform filtering preprocessing on the original image of the weldment.
[0023] Optionally, the device further comprises a three-dimensional profile measuring instrument, which is connected to the processor signal and is used to collect a three-dimensional image of the weldment.
[0024] Optionally, the processor is further configured to obtain a material of the weldment, and determine an exposure time and / or noise suppression parameter of the three-dimensional profilometer according to the material of the weldment.
[0025] One technical benefit of the present invention is that, in embodiments of the present application, the quality inspection method employing 3D images to evaluate weld quality effectively reduces the impact of the complex optical environment near the weld on imaging. The 3D image enables the depth of each pixel to be detected, and by selecting set values, the effective weld area of the weld can be effectively detected, thereby accurately evaluating the weld quality.
[0026] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0028] FIG1 is a flow chart of a method for inspecting quality of welded parts according to an embodiment of the present application.
[0029] FIG2 is a point cloud diagram of ultrasonic welding according to an embodiment of the present application.
[0030] FIG3 is a schematic cross-sectional view of a weld point of a quality inspection method for welded parts according to an embodiment of the present application.
[0031] FIG4 is a schematic cross-sectional view of an effective welding point of a quality inspection method for welded parts according to an embodiment of the present application.
[0032] FIG5 is a schematic diagram of a quality inspection device for welded parts according to an embodiment of the present application.
[0033] FIG6 is a schematic diagram of an effective welding point with a set value of 0.3 mm according to an embodiment of the present application.
[0034] FIG. 7 is a schematic diagram of an effective welding point with a set value of 0.5 mm according to an embodiment of the present application.
[0035] Explanation of the accompanying reference numerals: 10, welding point; 11, effective welding point. DETAILED DESCRIPTION
[0036] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention.
[0037] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0038] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0039] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0040] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0041] According to one embodiment of the present application, a method for inspecting the quality of a welded part is provided. As shown in FIG1 , the method for inspecting the quality of a welded part comprises:
[0042] S1. Determine the location of the effective area in the original drawing of the weldment;
[0043] S2. Acquire a first depth value of each pixel in the effective area to form a reference plane of the effective area;
[0044] S3, obtaining a second depth value from each pixel point in the effective area to the reference plane to form a difference plane;
[0045] S4, obtaining a point in the difference plane where the second depth value is greater than a set value as a valid welding point 11, and calculating the area of the valid welding point 11;
[0046] S5. Compare the area with a set area.
[0047] Specifically, in step S1, the area covered by the original image is roughly positioned. A three-dimensional profilometer is used to scan the weldment to form a three-dimensional image of the weldment, namely the original image. The welding method can be, but is not limited to, ultrasonic welding, resistance welding, laser welding, etc. The original image usually forms a pit relative to the surface where the effective area is located. The position of the reference plane is determined by the position of the pit. After the position of the reference plane is determined, the position is processed and calculated to determine the welding quality of the weldment. The original image of ultrasonic welding is used as an example for explanation. Figure 2 is a point cloud map of the effective area of ultrasonic welding in an embodiment of the present application. As can be seen from Figure 2, a plurality of welds 10 arranged in an array are formed at the position of the effective area. Each weld 10 is a pit.
[0048] Of course, the method of forming the three-dimensional image of the weldment is not limited to the above embodiment, and those skilled in the art can make a selection according to actual needs.
[0049] In step S2, since the surface of the active area after rough positioning is uneven, a reference surface must be determined. This reference surface serves as the basis for measuring the active area and calculating the measurement data. The set area is a sub-area selected from the active area. For example, the active area can be evenly divided into multiple sub-areas. A sub-area with a relatively flat surface is selected as the set area, and areas with larger surface fluctuations are excluded.
[0050] Obtain a first depth value for each pixel in the effective area. The first depth value is the distance from a set point on the effective area to a set surface. If the reference surface of the effective area is very flat, the reference surface can be directly obtained.
[0051] In step S3, a second depth value is obtained from each pixel in the effective area to the reference plane to form a difference plane. That is, as shown in FIG3 , the second depth value is the depth from the obtained reference plane to each pixel in the effective area. The obtained reference plane is subtracted from the original depth image to obtain a difference plane. This difference plane is the set of points from the reference plane to the second depth value.
[0052] In step S4, points within the difference plane where the second depth value is greater than a set value are identified as valid welds 11, and the area of these valid welds 11 is calculated. Specifically, as shown in Figures 3 and 4 , the set of points from the effective area to the reference plane is the difference plane. The portion of the difference plane where the second depth value exceeds the set value is the valid weld 11. The area of these valid welds 11 is calculated, representing the effective weld area of the weld.
[0053] In step S5, the area is compared with a set area. That is, as shown in FIG4 , the calculated effective welding area is compared with the set area to evaluate whether the quality of the welded part is qualified.
[0054] For example, if the area of the effective weld spot 11 is greater than or equal to the set value, the quality of the welded part is qualified. If the area of the effective weld spot 11 is less than the set value, the quality of the welded part is unqualified.
[0055] In the embodiments of this application, the quality inspection method uses 3D images to evaluate welding machine quality, effectively reducing the impact of the complex optical environment near the weld on imaging. By detecting the depth of each pixel in the 3D image and selecting set values, the effective welding area of the weld can be effectively detected, thereby accurately evaluating the quality of the weld.
[0056] In one example, obtaining the first depth value of each pixel point in the effective area to form a reference plane of the effective area includes: dividing the effective area into multiple sub-areas on average, and the reference plane is at least one of the sub-areas; taking the median of the first depth values of each pixel point in the effective area, using the median to represent a point equivalent to each pixel point in the effective area to generate a sub-reference plane, and splicing the sub-reference planes to form the reference plane of the effective area.
[0057] In step S2, since the surface of the effective area after coarse positioning is uneven, a reference surface must be determined. This reference surface serves as the basis for measuring the effective area after coarse positioning and calculating the measurement data. The set area is the effective area selected after coarse positioning. For example, the effective area after coarse positioning can be evenly divided into multiple sub-areas. At least one effective area with a relatively flat surface is selected as the set area, and effective areas with significantly uneven surfaces are excluded.
[0058] Get the first depth value of all pixel points in the effective area. The first depth value is the distance from the set point on the effective area to the set surface. The set surface is the surface where the effective area is located or a surface parallel or substantially parallel to the surface where the effective area is located. Take the median of the first depth values of multiple parts, and use the sub-area where the point of the median is located as the sub-reference plane. Splice the sub-reference planes to form the reference plane of the effective area. It should be noted that the surface where the effective area is located can be a plane or a curved surface, a spherical surface, etc. By splicing the sub-reference planes, the reference plane obtained is parallel to the surface where the effective area is located. This reference plane is used as the reference for measurement. If the reference plane of the effective area is very flat, the reference plane can be obtained directly. If the reference plane of the effective area is not flat, the reference plane needs to be calculated.
[0059] Specifically, a "point cloud surface expansion" operation is performed in the roughly positioned area. First, the area to be detected is subdivided into many valid areas. For example, the size of each valid area is 20pix*20pix (pixels). This size can ensure that the sub-reference surface is representative. Sort the first depth values of all pixels in each valid area and take the median. The median represents a point equivalent to all points in this valid area. The surface where the point is located is the sub-reference surface. After the above equivalent operation, a small image with a size much smaller than the original image is generated, and the size of the generated small image is 1 / 400 of the original image size. Then expand the generated small image into a large image of the size of the original image. The large image is the spliced reference surface.
[0060] As mentioned above, by dividing the effective area into multiple sub-areas, the sub-areas with high flatness outside the solder joints 10 are selected to determine the sub-reference plane. In this way, the reference plane can be selected more accurately, and the effective solder joints 11 can be determined more accurately.
[0061] In one example, determining the position of the effective welding spot 10 in the effective area of the weld includes: determining a third depth value of each pixel point in the effective area, and determining the position of the effective welding spot 10 according to the third depth value.
[0062] As shown in Figures 3 and 4, the third depth value is the distance from a set point in the effective area to the surface of the weld. Weld spot 10 is typically recessed inward from the surface of the weld surface. In this example, the area where the third depth value is greater than the set value represents the location of effective weld spot 11. In this way, the location of weld spot 10 can be effectively determined.
[0063] In one example, the welding method of the welded parts is ultrasonic welding, and the ultrasonic welding produces a plurality of welding points 10 arranged in an array.
[0064] As shown in Figure 1, ultrasonic welding is a welding method that uses high-frequency vibration waves to transmit to the surfaces of two objects to be welded. Under pressure, the two surfaces of the objects are rubbed against each other, forming a fusion between the molecular layers. The ultrasonic welding horn typically includes multiple protrusions arranged in an array. Each protrusion forms a weld spot 10. Therefore, ultrasonic welding produces multiple weld spots 10 distributed in an array. Compared with resistance welding and laser welding, the weld spot shapes formed by ultrasonic welding are more complex. This quality inspection method can effectively evaluate the quality of ultrasonic welded parts.
[0065] In one example, obtaining a portion in the difference plane where the second depth value is greater than a set value as a valid weld point 11 and calculating the area of the valid weld point 11 includes summing the areas of multiple valid weld points 11 .
[0066] In this example, the effective weld area of ultrasonic welding is calculated by calculating the area of each effective weld spot 11 of each weld spot 10 and then summing the areas of these effective weld spots 11. If the effective weld area is greater than or equal to the set area, the weld quality is acceptable. If the effective weld area is less than the set area, the weld quality is unacceptable. This method effectively evaluates the ultrasonic weld quality of the weld.
[0067] In one example, the set value is greater than or equal to 0.3 mm.
[0068] For example, as shown in FIG6 , the set value is 0.3 mm. Then, the portion where the second depth value is greater than 0.3 mm is the effective solder joint 11. The area of the effective solder joint 11 is obtained by calculating the area of the portion.
[0069] For example, as shown in Figure 7, the set value is 0.5 mm. The portion of weld 10 where the second depth is greater than 0.5 mm is considered an effective weld 11. The area of this portion is calculated to obtain the area of effective weld 11. Clearly, the area of the effective weld with a second depth of 0.5 mm is smaller than the area of the effective weld with a second depth of 0.3 mm. This is because the radial dimension of the weld decreases as the set value increases, as shown in Figures 2 to 4.
[0070] For example, if the set value is 0.6 mm, the portion of the weld 10 where the second depth value is greater than 0.6 mm is the effective weld 11. The area of the effective weld 11 is obtained by calculating the area of the portion.
[0071] In one example, before obtaining the first depth value of each pixel point in the effective area to form the reference plane of the effective area, the method includes: performing filtering preprocessing on the original image of the weldment.
[0072] In this example, the noise in the original image can be effectively filtered out through filtering preprocessing, thereby avoiding the adverse effects of the noise in the original image on the selection of the position of the effective area, the determination of the reference plane, and the acquisition of the first depth value, the second depth value, and the third depth value.
[0073] In one example, a 3D profilometer is used to capture a 3D image of a welded component. Prior to determining the location of a valid area within the 3D image of the welded component, the method further includes obtaining the material of the welded component and determining an exposure time and / or noise suppression parameter of the 3D profilometer based on the material of the welded component.
[0074] For example, the welded parts are the positive and negative electrodes of a battery. The positive electrode is typically made of aluminum, while the negative electrode is typically made of copper. Aluminum reflects the blue laser light emitted by a 3D profilometer well and absorbs little, allowing the 3D profilometer to achieve good imaging quality for the positive electrode.
[0075] However, copper strongly absorbs blue laser light, resulting in poor imaging quality of the negative electrode. To ensure this quality, the exposure time of the 3D profilometer needs to be extended and the noise suppression parameters increased when acquiring the 3D image of the negative electrode.
[0076] In this example, the material of the welded part can be obtained by inputting the material of the welded part; alternatively, a metal analyzer can be set up to obtain the material of the welded part through the metal analyzer.
[0077] In this way, a three-dimensional image of the welded part (ie, the original image) can be effectively formed, thereby making the evaluation of the quality of the welded part more accurate.
[0078] According to another embodiment of the present application, a device for inspecting the quality of a welded part is provided. As shown in FIG5 , the device includes a processor configured to determine a location of a valid area within an original image of the welded part;
[0079] Obtaining a first depth value of each pixel in the effective area to form a reference plane of the effective area;
[0080] Obtaining a second depth value from each pixel point in the effective area to the reference plane to form a difference plane;
[0081] Obtaining a point in the difference plane where the second depth value is greater than a set value as a valid welding point 11, and calculating the area of the valid welding point 11;
[0082] The area is compared to a set area.
[0083] For example, the processor may be, but is not limited to, the CPU or PLC of the device.
[0084] The device has the characteristics of high reliability in quality detection of welded parts.
[0085] In one example, the processor is further configured to determine a third depth value of all pixels in the valid area, and determine a position of a valid welding point according to the third depth value.
[0086] As shown in Figures 3 and 4, the third depth value is the distance from a set point in the effective area to the surface of the weld. Weld spot 10 is typically recessed inward from the surface of the weld surface. In this example, the area where the third depth value is greater than the set value represents the location of effective weld spot 11. This method effectively determines the location of effective weld spot 11.
[0087] In one example, the processor is further configured to sum the areas of the plurality of effective solder joints 11 under the condition that the original image includes a plurality of solder joints 10 .
[0088] For example, a welded part is welded using ultrasonic welding. Ultrasonic welding produces a plurality of weld points 10 arranged in an array. The effective weld area of the ultrasonic weld is calculated by calculating the area of each of the effective weld points 11 and then summing the areas of the effective weld points 11. If the effective weld area is greater than or equal to a predetermined area, the weld is considered qualified. If the effective weld area is less than the predetermined area, the weld is considered unqualified. This method effectively evaluates the ultrasonic weld quality of the weld.
[0089] In one example, the processor is further configured to evenly divide the effective area into a plurality of sub-areas;
[0090] The median of the first depth values of each pixel point in the sub-region is taken, and the median is used to represent a point equivalent to each pixel point in the sub-region to generate a sub-reference surface, and the sub-reference surfaces are spliced to form the reference surface of the effective area.
[0091] In this example, the effective area is divided into multiple sub-areas, and the sub-areas with high flatness are selected to determine the sub-reference plane. In this way, the reference plane can be selected more accurately, and the effective solder joints 11 can be determined more accurately.
[0092] In one example, the processor is further configured to perform filtering pre-processing on the original image of the weldment.
[0093] In this example, the noise in the original image can be effectively filtered out through filtering preprocessing, thereby avoiding the adverse effects of the noise in the original image on the selection of the position of the effective area, the determination of the reference plane, and the acquisition of the first depth value, the second depth value, and the third depth value.
[0094] In one example, as shown in Figure 1, the quality inspection device further includes a three-dimensional profile measuring instrument. The three-dimensional profile measuring instrument is connected to the processor signal and is used to collect a three-dimensional image of the weldment.
[0095] In this example, the 3D profilometer can emit a high-energy laser, which can effectively reduce the adverse effects of the complex optical environment near the weld on the original image.
[0096] In one example, the processor is further configured to obtain a material of the weldment, and determine an exposure time and / or noise suppression parameter of the three-dimensional profilometer according to the material of the weldment.
[0097] For example, the welded parts are the positive and negative electrodes of a battery. The positive electrode is typically made of aluminum, while the negative electrode is typically made of copper. Aluminum reflects the blue laser light emitted by a 3D profilometer well and absorbs little, allowing the 3D profilometer to achieve good imaging quality for the positive electrode.
[0098] However, copper strongly absorbs blue laser light, resulting in poor imaging quality of the negative electrode. To ensure this quality, the exposure time of the 3D profilometer needs to be extended and the noise suppression parameters increased when acquiring the 3D image of the negative electrode.
[0099] In this example, the material of the welded part can be obtained by inputting the material of the welded part. Alternatively, the quality inspection device can be provided with a metal analyzer. The metal analyzer is connected to the processor signal, and the material of the welded part is obtained through the metal analyzer.
[0100] In this way, a three-dimensional image of the weld can be effectively formed, thereby making the evaluation of the quality of the weld more accurate and stable.
[0101] According to another embodiment of the present application, the present invention may be a system, method and / or computer program product. The computer program product may include a computer-readable storage medium, wherein the computer instructions are executed by a processor to execute the weldment quality inspection method of the present invention.
[0102] Computer-readable storage medium can be a tangible device that can keep and store the instruction used by the instruction execution device.Computer-readable storage medium can be, for example, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device or any suitable combination thereof.The more specific example (non-exhaustive list) of computer-readable storage medium includes: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove having instructions stored thereon and any suitable combination thereof.Computer-readable storage medium used herein is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves (for example, light pulses by fiber optic cables) propagated by waveguides or other transmission media, or electrical signals transmitted by wires.
[0103] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0104] The computer program instructions for performing the operation of the present invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. The computer readable program instructions can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), is personalized by utilizing the state information of the computer readable program instructions, and the electronic circuit can execute the computer readable program instructions, thereby realizing various aspects of the present invention.
[0105] Various aspects of the present invention are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0106] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0107] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0108] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of an instruction, and the module, program segment or part of the instruction contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
[0109] While various embodiments of the present invention have been described above, the foregoing description is intended to be illustrative, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technical improvements to existing technologies, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for quality inspection of welded parts, characterized in that: include: Determine the location of the effective area in the original drawing of the weldment; Acquire a first depth value of each pixel in the effective area to form a reference plane of the effective area; Acquire a second depth value from each pixel point in the effective area to the reference plane to form a difference plane; Acquire a point in the difference plane whose second depth value is greater than a set value as a valid welding point, and calculate the area of the valid welding point; The area is compared to a set area.
2. The quality inspection method for welded parts according to claim 1, characterized in that: The obtaining of the first depth value of each pixel in the effective area to form a reference plane of the effective area includes: Divide the effective area into multiple sub-areas evenly; The median of the first depth values of each pixel point in the sub-area is taken, and the median is used to represent a point equivalent to each pixel point in the sub-area to generate a sub-reference surface, and the sub-reference surfaces are spliced to form the reference surface of the effective area.
3. The quality inspection method for welded parts according to claim 1, characterized in that: Determining the position of the effective welding point in the effective area of the weldment includes: A third depth value of each pixel point in the effective area is determined, and a position of the effective welding point is determined according to the third depth value.
4. The quality inspection method for welded parts according to claim 1, characterized in that: The welding method of the welded parts is ultrasonic welding, and the ultrasonic welding produces a plurality of welding points arranged in an array.
5. The quality inspection method for welded parts according to claim 1, characterized in that: Before obtaining the first depth value of each pixel point in the effective area to form a reference plane of the effective area, the method includes: The original image of the weldment is subjected to filtering preprocessing.
6. The quality inspection method for welded parts according to claim 1, characterized in that: Before determining the position of the effective area in the three-dimensional image of the weldment, the method includes: A 3D profile measuring instrument is used to obtain a 3D image of the weldment.
7. The quality inspection method for welded parts according to claim 6, characterized in that: Before determining the position of the effective area in the three-dimensional image of the weldment, the method further includes: The material of the weldment is obtained, and the exposure time and / or noise suppression parameters of the three-dimensional profile measuring instrument are determined according to the material of the weldment.
8. A quality inspection device for welded parts, characterized in that: A processor is included, the processor being used to determine the location of the valid area within the original image of the weldment; Acquire a first depth value of each pixel in the effective area to form a reference plane of the effective area; Acquire a second depth value from each pixel point in the effective area to the reference plane to form a difference plane; Acquire a point in the difference plane whose second depth value is greater than a set value as a valid welding point, and calculate the area of the valid welding point; The area is compared to a set area.
9. The quality inspection device for welded parts according to claim 8, characterized in that: The processor is further configured to determine a third depth value of each pixel point in the effective area, and determine a position of an effective welding point according to the third depth value.
10. The quality inspection device for welded parts according to claim 8, characterized in that: The processor is further configured to evenly divide the effective area into a plurality of sub-areas; The median of the first depth values of each pixel point in the sub-area is taken, and the median is used to represent a point equivalent to each pixel point in the sub-area to generate a sub-reference surface, and the sub-reference surfaces are spliced to form the reference surface of the effective area.
11. The quality inspection device for welded parts according to claim 8, characterized in that: The processor is also used to perform filtering preprocessing on the original image of the weldment.
12. The quality inspection device for welded parts according to claim 8, characterized in that: It also includes a three-dimensional profile measuring instrument, which is connected to the processor signal and is used to collect a three-dimensional image of the weldment.
13. The quality inspection device for welded parts according to claim 12, characterized in that: The processor is further used to obtain the material of the weldment, and determine the exposure time and / or noise suppression parameters of the three-dimensional profile measuring instrument according to the material of the weldment.
Citation Information
Patent Citations
Welding joint quality detection method, device and system and electronic equipment
CN111462110A
Battery welding spot defect detection method and device
CN113362326A
Welded part quality detection method and device
CN116168001A
Ultrasonic impact methods for treatment of welded structures
US20020043313A1
