PCBA soldering defect detection system based on machine vision
By introducing a combination of a rotating device and an imaging device into the solder defect detection system, the problem of insufficient objectivity of detection results caused by only collecting images from one perspective in the existing technology is solved, multi-angle image collection is realized, and the objectivity of detection results is improved. performance and production efficiency.
Patent Information
- Application Number
- CN202420209511.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2034-01-29
AI Technical Summary
Existing solder defect detection methods based on machine vision usually only collect images from one perspective, and there are blind spots where images are not collected, resulting in insufficient objectivity of the detection results.
A PCBA solder defect detection system based on machine vision is designed, which uses a combination of a rotating device and an imaging device. The rotating device drives the PCBA board to rotate. The imaging device collects solder images from multiple angles and identifies defects through the image processing device.
By continuously collecting solder images from multiple angles, the objectivity of the inspection results is improved, which helps to improve the efficiency of the production line and product quality.
Smart Images

Figure CN221725890U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of printed circuit board assembly, in particular to a PCBA solder defect detection system based on machine vision. Background Art
[0002] Printed circuit board assembly involves soldering on PCB boards. After soldering, defects such as tin frying are prone to occur. Currently, machine vision-based methods are commonly used to detect solder defects.
[0003] Machine vision solder defect detection is a method that uses computer vision technology, image processing methods and artificial intelligence algorithms to identify and analyze PCBA solder defects. The current machine vision-based solder defect detection method usually only collects images from one perspective, and there are blind spots where the image is not collected. The objectivity of the detection results needs to be improved. Utility Model Content
[0004] In view of the above situation, the utility model provides a PCBA solder defect detection system based on machine vision, aiming to solve the technical problems that the existing method usually only captures images from one perspective, there are blind spots where the images are not captured, and the objectivity of the detection results needs to be improved.
[0005] In order to achieve the above purpose, the utility model provides the following technical solutions:
[0006] The utility model provides a PCBA solder defect detection system based on machine vision, comprising:
[0007] Rotating device, used to drive the PCBA board to rotate;
[0008] An imaging device, arranged above the rotating device and used for collecting solder images;
[0009] An image processing device for processing images and identifying defects;
[0010] Control devices;
[0011] The output end of the control device is communicatively connected to the control end of the imaging device, and the output end of the imaging device is communicatively connected to the input end of the image processing device.
[0012] In some embodiments of the present invention, a light source used in conjunction with the imaging device is also included.
[0013] In some embodiments of the utility model, a PCBA board detection device is further included; the PCBA board detection device is used to detect whether a PCBA board is placed on the rotating device; the output end of the PCBA board detection device is communicatively connected to the input end of the control device.
[0014] In some embodiments of the present invention, the rotating device comprises:
[0015] Rotating table;
[0016] A bracket, used for supporting the rotating table;
[0017] The driving mechanism is transmission-connected with the rotating table.
[0018] In some embodiments of the utility model, a connecting cylinder is fixed at the center of the lower side of the bracket, and the connecting cylinder is rotatably connected to the bracket; the driving mechanism includes:
[0019] A transmission pin, transversely fixed in the connecting cylinder;
[0020] A connecting column is longitudinally slidably connected to the connecting tube; a plurality of notches matching the driving pins are formed on the upper end of the connecting column;
[0021] The rotating and longitudinal moving assembly is used to make the connecting column move longitudinally or rotate.
[0022] In some embodiments of the present invention, the rotation and longitudinal movement assembly includes:
[0023] A turntable, horizontally fixed at the lower end of the connecting column;
[0024] A compression spring, used for moving the rotating disk downward;
[0025] The arc-shaped side surface of the vertically arranged sector disk can contact the lower side of the rotating disk and drive the rotating disk to rotate.
[0026] In some embodiments of the present invention, the length of the arc edge of the sector disk is equal to half of the circumference of the rotating disk.
[0027] In some embodiments of the present invention, the sector disk is driven by a motor.
[0028] The embodiments of the present invention have at least the following advantages or beneficial effects:
[0029] By setting up the rotating device, solder images can be continuously collected from multiple angles, which improves the objectivity of the detection results and helps to improve the efficiency of the production line and product quality.
[0030] Other features and advantages of the present invention will be set forth in the following description, and in part will become apparent from the description, or may be understood by practicing the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0032] Figure 1 A block diagram of the PCBA solder defect detection system based on machine vision provided in Example 1;
[0033] Figure 2 A schematic diagram of the structure of a PCBA solder defect detection system based on machine vision provided in Example 1;
[0034] Figure 3 A schematic diagram of the structure of a PCBA solder defect detection system based on machine vision provided in Example 2;
[0035] Figure 4 This is a schematic diagram of the structure of the fan-shaped disk provided in Example 2.
[0036] icon:
[0037] 1-light source, 2-imaging device, 3-image processing device,
[0038] 4-rotating device, 41-rotating table, 411-connecting cylinder, 42-bracket, 431-driving pin, 432-connecting column, 433-turntable, 434-compression spring, 435-sector disk,
[0039] 5-PCBA board detection device, 6-control device. DETAILED DESCRIPTION
[0040] In the following, only some exemplary embodiments are briefly described. As those skilled in the art can appreciate, the described embodiments can be modified in various different ways without departing from the spirit or scope of the embodiments of the present invention.
[0041] In the description of the embodiments of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "left", "right", "vertical", "horizontal", "inside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present invention.
[0042] In addition, the term "plurality" means two or more than two, unless clearly and specifically defined otherwise.
[0043] In the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.
[0044] The embodiments of the present utility model are described in detail below with reference to the accompanying drawings.
[0045] Example 1
[0046] See also Figure 1-2 This embodiment provides a PCBA solder defect detection system based on machine vision, including a light source 1, an imaging device 2, an image processing device 3, a rotating device 4, a PCBA board detection device 5 and a control device 6.
[0047] The light source 1 is arranged above the rotating device 4 and is used in conjunction with the imaging device 2 ; the opening and closing of the light source 1 is controlled by the control device 6 .
[0048] The imaging device 2 is arranged above the rotating device 4 and is used to collect solder images; the imaging device 2 includes a CCD camera.
[0049] In a specific implementation scenario, the CCD camera is connected to a display screen (not shown in the figure) to facilitate observation by inspection personnel.
[0050] The image processing device 3 is connected to the imaging device 2 for processing images and identifying defects. Specifically, the image processing device 3 processes images and identifies defects including the following steps:
[0051] Step S1, image preprocessing: the image processing device 3 performs operations such as denoising, graying, and edge detection on the solder image (original image) from the imaging device 2 to improve the image quality;
[0052] Step S2, feature extraction: using local feature extraction methods, such as Sobel operator, HOG (Histogram of Oriented Gradients) and other methods, to extract relevant features of solder defects in the solder image, such as shape, size, texture and other features;
[0053] Step S3, defect identification: Use a machine learning algorithm or a deep learning model to classify and identify the features extracted in step S2, so as to determine whether there are defects in the solder and classify the solder defects.
[0054] The rotating device 4 is used to place the PCBA board and can drive the PCBA board to rotate; the rotating device 4 includes a rotating table 41, a bracket 42 and a driving mechanism.
[0055] The rotating table 41 is used to place the PCBA board.
[0056] The bracket 42 is disposed below the rotating table 41 and is used to support the rotating table 41 .
[0057] The driving mechanism is in driving connection with the rotating platform 41 and is used to drive the rotating platform 41 to rotate. The driving mechanism includes a motor (not marked in the figure).
[0058] The PCBA board detection device 5 is used to detect whether a PCBA board is placed on the rotating device 4 .
[0059] The output end of the PCBA board detection device 5 is communicatively connected to the input end of the control device 6 , the output end of the control device 6 is communicatively connected to the control end of the imaging device 2 , and the output end of the imaging device 2 is communicatively connected to the input end of the image processing device 3 .
[0060] When the sensor of the PCBA board detection device 5 detects that a PCBA board is placed on the rotating device 4, the control device 6 enables the imaging device 2 and the rotating device 4 to work, collect solder images at multiple angles, and transmit them to the image processing device 3 to process the images and identify defects, thereby realizing the detection of PCBA solder defects; when the sensor of the PCBA board detection device 5 detects that no PCBA board is placed on the rotating device 4 (the PCBA board that has completed the inspection is removed), the control device 6 stops the imaging device 2 and the rotating device 4 from working.
[0061] In combination with the above content, this embodiment has at least the following beneficial effects:
[0062] First, by setting the rotating device 4, solder images can be continuously collected at multiple angles, which improves the objectivity of the detection results and helps to improve the efficiency of the production line and product quality.
[0063] Second, the PCBA board detection device 5 detects whether a PCBA board is placed on the rotating device 4 to control the start and stop state of the rotating device 4; when the sensor of the PCBA board detection device 5 detects that no PCBA board is placed on the rotating device 4, the imaging device 2 and the rotating device 4 stop working to achieve the effect of automatic start and stop.
[0064] Example 2
[0065] See also Figure 1 to Figure 4The difference between this embodiment and embodiment 1 is that: this embodiment does not provide a PCBA board detection device 5; an imaging device 2 is provided at the upper left and upper right of the rotating table 41; a connecting tube 411 is fixed to the lower center of the bracket 42, and the connecting tube 411 is rotatably connected to the bracket 42; the above-mentioned driving mechanism includes a transmission pin 431, a connecting column 432 and a rotating longitudinal movement component.
[0066] The driving pin 431 is transversely fixed in the connecting cylinder 411 .
[0067] The connecting column 432 is longitudinally slidably connected to the connecting tube 411; the upper end of the connecting column 432 is provided with a plurality of notches (not marked in the figure) matching the driving pin 431, and the notches are U-shaped; after the connecting column 432 moves upward, the driving pin 431 can enter any notch.
[0068] The rotating and longitudinal moving assembly is used to move or rotate the connecting column 432 longitudinally.
[0069] The working principle of the transmission pin 431, the connecting column 432 and the rotating and longitudinal movement assembly is: when the connecting column 432 moves up, the transmission pin 431 enters the gap. At this time, rotating the connecting column 432 can drive the rotating table 41 to rotate; after the rotating table 41 is rotated 180° (in other embodiments, it can also be other angles), the turntable 433 and the connecting column 432 are moved down to make the transmission pin 431 disengage from the gap, so that the rotating table 41 can be kept in the current position to facilitate the removal and placement of the PCBA board.
[0070] The rotary and longitudinal movement assembly includes a rotating disk 433 , a compression spring 434 and a fan-shaped disk 435 .
[0071] The rotating disk 433 is horizontally fixed at the lower end of the connecting column 432 .
[0072] The compression spring 434 is disposed between the connecting cylinder 411 and the rotating disk 433 and is used to move the rotating disk 433 downward.
[0073] The sector disk 435 is arranged vertically. Under the action of the compression spring 434, when the sector disk 435 rotates, its curved side surface can contact the lower side of the turntable 433 and drive the turntable 433 to rotate; the radius of the sector disk 435 is equal to the radius of the turntable 433, and the length of the curved edge of the sector disk 435 is equal to half the circumference of the turntable 433, so that when the curved side surface of the sector disk 435 contacts the lower side of the turntable 433, it drives the turntable 433 to rotate 180 degrees (in other embodiments, it may not rotate 180 degrees).
[0074] The sector disk 435 may be driven by a motor (not labeled in the figure).
[0075] The working principle of the rotating disk 433, the compression spring 434 and the fan-shaped disk 435 is:
[0076] Under the action of the compression spring 434, when the fan-shaped disk 435 rotates, its arc-shaped side surface can contact the lower side of the rotating disk 433 and drive the rotating disk 433 to rotate (for example, relying on the friction between the fan-shaped disk 435 and the rotating disk 433); and because the radius of the fan-shaped disk 435 is equal to the radius of the rotating disk 433, the length of the arc-shaped edge of the fan-shaped disk 435 is equal to half the circumference of the rotating disk 433, so that when the arc-shaped side surface of the fan-shaped disk 435 contacts the lower side of the rotating disk 433 (at this time, the connecting column 432 moves up to the highest position, and the transmission pin 431 enters the notch of the connecting column 432), the rotating disk 433 can be driven to rotate about 180 degrees, so as to realize the continuous acquisition of solder images from multiple angles;
[0077] After the inspection is completed, the PCBA board that has completed the inspection is taken off the rotating table 41, and the PCBA board to be inspected is placed on the rotating table 41 for the next round of inspection.
[0078] In combination with the above content, this embodiment has at least the following beneficial effects:
[0079] 1. The intermittent rotation of the rotating table 41 is achieved through the intermittent cooperation between the driving pin 431 and the notch on the connecting column 432; when the rotating table 41 stops rotating, the PCBA board can be taken and placed; when the rotating table 41 rotates, the solder image can be continuously collected at multiple angles.
[0080] 2. During use, the motor can work continuously and smoothly without frequent starting and stopping.
[0081] Finally, it should be noted that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may be subject to various modifications and variations. In the absence of conflicts, the embodiments of the present application and the features in the embodiments may be combined with each other at will. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A PCBA solder defect detection system based on machine vision, characterized in that: include: Rotating device, used to drive the PCBA board to rotate; An imaging device, arranged above the rotating device and used for collecting solder images; An image processing device for processing images and identifying defects; Control devices; The output end of the control device is communicatively connected to the control end of the imaging device, and the output end of the imaging device is communicatively connected to the input end of the image processing device.
2. The PCBA solder defect detection system based on machine vision according to claim 1, characterized in that: Also included is a light source for use with the imaging device.
3. The PCBA solder defect detection system based on machine vision according to claim 1, characterized in that: It also includes a PCBA board detection device; the PCBA board detection device is used to detect whether a PCBA board is placed on the rotating device; the output end of the PCBA board detection device is communicatively connected with the input end of the control device.
4. The PCBA solder defect detection system based on machine vision according to claim 1, characterized in that: The rotating device comprises: Rotating table; A bracket, used for supporting the rotating table; The driving mechanism is transmission-connected with the rotating table.
5. The PCBA solder defect detection system based on machine vision according to claim 4, characterized in that: A connecting tube is fixed at the center of the lower side of the bracket, and the connecting tube is rotatably connected to the bracket; the driving mechanism includes: A transmission pin, transversely fixed in the connecting cylinder; A connecting column is longitudinally slidably connected to the connecting tube; a plurality of notches matching the driving pins are formed on the upper end of the connecting column; The rotating and longitudinal moving assembly is used to make the connecting column move longitudinally or rotate.
6. The PCBA solder defect detection system based on machine vision according to claim 5, characterized in that: The rotating and longitudinal shifting assembly comprises: A turntable, horizontally fixed at the lower end of the connecting column; A compression spring, used for moving the rotating disk downward; The arc-shaped side surface of the vertically arranged sector disk can contact the lower side of the rotating disk and drive the rotating disk to rotate.
7. The PCBA solder defect detection system based on machine vision according to claim 6, characterized in that: The length of the arc edge of the sector disk is equal to half of the circumference of the rotating disk.
8. The PCBA solder defect detection system based on machine vision according to claim 6, characterized in that: The sector disk is driven by a motor.
