CN114636669A - Circuit board detection method, detection system and device with storage function - Google Patents

Circuit board detection method, detection system and device with storage function Download PDF

Info

Publication number
CN114636669A
CN114636669A CN202011484022.1A CN202011484022A CN114636669A CN 114636669 A CN114636669 A CN 114636669A CN 202011484022 A CN202011484022 A CN 202011484022A CN 114636669 A CN114636669 A CN 114636669A
Authority
CN
China
Prior art keywords
image
circuit board
obtaining
local
detection method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011484022.1A
Other languages
Chinese (zh)
Inventor
徐臻哲
朱林楠
刘三军
梁伟彬
黄健东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Guangdong Midea White Goods Technology Innovation Center Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea White Goods Technology Innovation Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Guangdong Midea White Goods Technology Innovation Center Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202011484022.1A priority Critical patent/CN114636669A/en
Publication of CN114636669A publication Critical patent/CN114636669A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • G01N21/95607Inspecting patterns on the surface of objects using a comparative method

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Image Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The application provides a circuit board detection method, a detection system and a device with a storage function, wherein the circuit board detection method comprises the following steps: obtaining a local image of the circuit board on the transmission line; identifying or matching the local images; and responding to the successful identification or matching, and performing preset operation on the circuit board. Through the design mode, the image triggering mode can be utilized to solve the problem of triggering of mutual contact of a plurality of circuit boards on the transmission line, the condition of missed triggering cannot occur, and the triggering accuracy is high.

Description

Circuit board detection method, detection system and device with storage function
Technical Field
The application belongs to the technical field of circuit boards, and particularly relates to a circuit board detection method, a circuit board detection system and a device with a storage function.
Background
In order to detect each circuit board transmitted on the transmission line, a trigger signal needs to be given when the circuit board passes through a specific position, so as to start a related detection process. Currently, common triggering methods include infrared sensor triggering or photoelectric sensor triggering. The principle is as follows: when the circuit board passes through the specific position, the infrared sensor or the photoelectric sensor outputs opposite signals.
However, referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of a plurality of circuit boards on a transmission line. The conventional triggering method may fail to recognize when adjacent circuit boards 20 on the transmission line are in contact with each other. For example, in fig. 1, three adjacent and contacting circuit boards 20, the conventional triggering method only gives one trigger signal, and obviously, the number of the given trigger signals is less than that of the circuit boards 20 passing through a specific position.
Disclosure of Invention
The application provides a circuit board detection method, a circuit board detection system and a device with a storage function, which aim to solve the technical problem that a plurality of circuit boards which are contacted with each other on a transmission line are accurately triggered in the existing triggering mode.
In order to solve the technical problem, the application adopts a technical scheme that: provided is a circuit board detection method, comprising: obtaining a local image of the circuit board on the transmission line; identifying or matching the local images; and responding to the successful identification or matching, and performing preset operation on the circuit board.
Wherein the step of obtaining a partial image of the circuit board on the transmission line comprises: the method comprises the steps of obtaining a local image which is obtained by a first image collecting device through real-time collection from one side of the back face of a circuit board, wherein the circuit board comprises a front face and a back face which are arranged in a back-to-back mode, and at least one component is inserted into the front face.
Wherein the step of matching the local images comprises: obtaining a comparison image corresponding to a template image from the local image, wherein the template image comprises an image of a specific area on a standard circuit board; obtaining the similarity between the comparison image and the template image; the step of responding to the matching success comprises: in response to the similarity exceeding a threshold, the matching is successful.
Wherein the step of obtaining a comparison image corresponding to the template image from the local image comprises: and obtaining the comparison image from the local image according to the position information of the specific area on the standard circuit board.
Wherein the step of performing a predetermined operation on the circuit board in response to the successful recognition or matching comprises: responding to the identification or the matching success, sending a trigger instruction to a second image acquisition device so that the second image acquisition device acquires and obtains an original image of the back of the circuit board corresponding to the trigger instruction; and determining whether the components on the circuit board are correctly inserted according to the original image.
Wherein the original image is a depth image.
Wherein, the step of determining whether the components on the circuit board are correctly inserted according to the original image comprises the following steps: dividing the depth image into a plurality of sub-depth images; determining the actual position of the pin of the component according to the depth information in each sub-depth image; and determining whether the components on the current circuit board are correctly inserted according to the actual positions of the pins and the standard image of the standard circuit board.
Wherein the step of dividing the depth image into a plurality of sub-depth images comprises: and dividing the depth image into a plurality of sub-depth images according to the arrangement position of each component on the standard circuit board, wherein the position of each sub-depth image corresponds to at most one component on the standard circuit board.
Wherein, still include: and responding to the pin on the circuit board with the plugging error, obtaining a component corresponding to the pin with the plugging error, and/or sending an alarm instruction.
Wherein the step of identifying the local image comprises: and inputting the local images into a pre-trained network model to identify comparison images.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a circuit board inspection system comprising: the transmission line comprises a hollow area and is used for bearing and transmitting a plurality of circuit boards; at least one image acquisition device which is arranged corresponding to the hollow area and is used for acquiring and obtaining the local image; and the processor is coupled with the at least one image acquisition device and is used for executing the detection method in any embodiment.
Wherein the detection system comprises: the first image acquisition device is used for acquiring the obtained local image from one side of the back surface of the circuit board in real time and transmitting the local image to the processor; the circuit board comprises a front side and a back side which are arranged in a reverse manner, and at least one component is inserted into the front side; and the second image acquisition device is used for acquiring and obtaining an original image of the back surface of the circuit board corresponding to the trigger instruction after receiving the trigger instruction sent by the processor, and transmitting the original image to the processor.
The second image acquisition device comprises any one of a laser line scan camera, a 3D structured light camera and a TOF camera.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a device having a storage function, storing program data executable by a processor to implement the steps of the detection method described in any of the above embodiments.
Being different from the prior art situation, the beneficial effect of this application is: according to the circuit board detection method, the local image of the circuit board on the transmission line can be obtained firstly, then the local image is identified or matched, and then when the identification or the matching is successful, the circuit board is subjected to preset operation. This application provides an image trigger mode promptly, can solve the trigger problem of polylith circuit board mutual contact on the transmission line, the condition that the hourglass triggered can not appear, triggers the accuracy higher. In the corresponding structure aspect, only an image acquisition device needs to be introduced into the transmission line, the mechanical structure is simpler, the original transmission line does not need to be greatly changed, and the hardware cost is lower.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a schematic diagram of an embodiment of a plurality of circuit boards on a transmission line;
FIG. 2 is a schematic flow chart illustrating an embodiment of a circuit board inspection method according to the present application;
FIG. 3 is a schematic diagram of a backside of an embodiment of a circuit board;
FIG. 4 is a flowchart illustrating an embodiment corresponding to step S103 in FIG. 1;
FIG. 5 is a flowchart illustrating an embodiment corresponding to step S202 in FIG. 4;
FIG. 6 is a schematic structural diagram of an embodiment of a circuit board inspection system according to the present application;
fig. 7 is a schematic diagram of a framework of an embodiment of the apparatus with storage function according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of a circuit board inspection method according to the present application, the inspection method including:
s101: a partial image of the circuit board on the transmission line is obtained.
Specifically, as shown in fig. 1, a plurality of circuit boards 20 may be generally disposed on the transmission line, and the plurality of circuit boards 20 may move in the same traveling direction X under the action of the transmission line; when the circuit board 20 is a regular rectangular board, the traveling direction X may be parallel to the length direction or the width direction of the circuit board 20. The circuit board 20 generally includes opposing front and back surfaces, and the front surface of the circuit board 20 may have at least one component (e.g., resistor, capacitor, etc.) plugged therein. In the case of a properly plugged component, the pins on the component may extend from the front side to the back side of the circuit board 20. The plurality of components mounted on the same circuit board 20 may be the same type of components or different types of components, and the mounting directions of the plurality of components may be different from each other.
In this embodiment, the back surface of the circuit board 20 has a specific area, which is a unique area with specificity on the back surface of the circuit board 20, and when the specific area is detected to be included in the current partial image, it indicates that the circuit board 20 has moved to the preset position, and the subsequent predetermined operation can be performed on the circuit board 20; the specific area may be determined by a human by observing the back or schematic of a standard circuit board corresponding to the circuit board 20 in a manner that does not require a change in the original design of the circuit board 20. Of course, in other embodiments, the specific area may be artificially added when designing the circuit board 20.
The size of the specific area may be small in consideration of the performance index of real-time. For example, as shown in fig. 3, fig. 3 is a schematic structural diagram of an embodiment of the back side of the standard circuit board. It is observed that a specific circle exists on the back surface of the standard circuit board, as shown by the area indicated by the solid line box in fig. 3, and only one specific circle exists on the standard circuit board at the position in the direction marked as Y in fig. 3, and the specific circle can be used as the specific area. In the above embodiments, the specific region is selected by the specificity of the position. In other embodiments, the specific region can be selected by the shape specificity, which is not limited in the present application.
The specific implementation process of step S101 may be: and acquiring a local image acquired by the first image acquisition device from the back side of the circuit board in real time, wherein the local image can be a gray image. In general, the computation process is time consuming if the entire back side of the circuit board is used as input for a subsequent recognition or matching process. Therefore, the effective acquisition area of the first image acquisition device can be smaller than the size of the back of the circuit board, and the first image acquisition device only acquires local images on the circuit board, so that time consumption is reduced, and real-time performance is improved. As shown in fig. 3, the area of the partial image may be an area indicated by a dashed box in fig. 3, the partial image has a first dimension in the circuit board traveling direction X and a second dimension in a second direction Y perpendicular to the traveling direction X, the second dimension may be equal to the circuit board in the second direction Y, and the specific first dimension may be set according to actual conditions.
Of course, in other embodiments, if the front surface of the circuit board also has a specific area, the first image capturing device may capture the obtained partial image from the front surface side of the circuit board in real time.
S102: the local images are identified or matched.
Specifically, in one embodiment, the step of matching the local images is preceded by the steps of: and obtaining a template image containing a specific area on a standard circuit board, wherein the standard circuit board can be a circuit board which passes detection and has the same structure type as the current transmission line, and can also be a principle circuit board which has the same structure type as the current transmission line. The template image may be a rectangle, and the template image includes the specific region and a partially adjacent region at the periphery of the specific region. For example, as shown in fig. 3, a region corresponding to the solid-line box in fig. 3 may be used as the template image. The step of matching the local images includes: obtaining a comparison image corresponding to the template image from the local image; the similarity between the comparison image and the template image is obtained, and the similarity may be a structural similarity measure SSIM or cosine similarity, and the similarity may be greater than or equal to 0 and less than or equal to 1.
The method for judging whether the specific area is included by adopting template matching has the advantages of small calculation amount and high real-time property. In addition, the template matching algorithm mainly comprises a pixel-based template matching algorithm and a feature-based template matching algorithm, the pixel-based template matching algorithm is high in precision and can be well represented in some complex scenes, but the pixel-based template matching algorithm has the defect of high actual complexity and is sensitive to the image size. Because the image feature points in the image are much less than the pixel points, the calculation amount in the template matching process is reduced to a great extent, and considering that the back image structure of the circuit board is relatively simple, and the scheme has a very high requirement on real-time performance, the template matching algorithm preferably selects a feature-based template matching algorithm, such as a gray scale template matching algorithm, a Sift scale invariant feature transformation algorithm and the like.
In addition, in order to further improve the real-time performance, before the step of matching the local images, the method further includes: obtaining the position information of the specific area on the standard circuit board; the step of obtaining the comparison image corresponding to the template image from the local image includes: and obtaining a comparison image from the local image according to the position information. For example, taking fig. 3 as an example, a first distance between some feature points (e.g., circle centers, etc.) on a specific circle on the standard circuit board and the upper edge or the lower edge of the standard circuit board in the second direction Y may be obtained first. Then, a search is performed at a first distance position from the upper edge or the lower edge of the local image to obtain a comparison image.
In another embodiment, the local image may also be identified, for example, the local image may be input into a pre-trained network model to output a comparison image; and then obtaining the similarity between the comparison image and the template image. For another example, the local image may be input to a network model trained in advance, and the result of recognizing or not recognizing the specific region may be directly output.
S103: and responding to the successful identification or matching, and performing preset operation on the circuit board.
Specifically, when the matching manner is adopted in step S102, the step of responding to the success of the matching includes: in response to the similarity exceeding a threshold, the matching is successful. The threshold may be set artificially, for example, the threshold may be between 0.7-0.8 (e.g., 0.75, etc.). When the identification mode is adopted in step S102, the step of responding to the successful identification includes: in response to identifying the particular region.
Further, in the present embodiment, please refer to fig. 4, wherein fig. 4 is a flowchart illustrating an embodiment corresponding to step S103 in fig. 1. The step S103 specifically includes:
s201: and responding to the identification or the matching success, sending a trigger instruction to the second image acquisition device so that the second image acquisition device acquires and obtains an original image of the back surface of the circuit board corresponding to the trigger instruction.
Specifically, the original image may be a complete image of the back surface of the circuit board, the original image is a depth image, and the second image capturing device may be a depth image capturing device, such as a laser line scan camera or a 3D structured light camera or a TOF camera. The mode of utilizing the depth image to carry out follow-up component plugging detection has low calculated amount and is convenient.
S202: and determining whether the components on the circuit board are correctly inserted according to the original image.
Specifically, referring to fig. 5, fig. 5 is a schematic flowchart illustrating an embodiment corresponding to step S202 in fig. 4, where the step S202 includes:
s301: the depth image is divided into a plurality of sub-depth images.
Specifically, the dividing manner in step S301 may be: the arrangement positions of all components on the standard circuit board are obtained, then the depth image is divided into a plurality of sub-depth images according to the arrangement positions, the position of each sub-depth image corresponds to at most one component on the standard circuit board, and each sub-depth image can contain 0 or 1 component. The mode of dividing the arrangement modes of the components on the standard circuit board can enable names and positions of the components with wrong plugging to be determined quickly in the follow-up process. Of course, in other embodiments, other division manners may be adopted, and the present application does not limit this.
S302: and determining the actual positions of the pins of the components according to the depth information in each sub-depth image.
Specifically, if the pins of the component are correctly plugged, the pins have portions protruding from the back surface of the circuit board, and the depth values in the sub-depth image are higher. The actual positions of the pins on the current circuit board can be quickly determined through the depth information.
S303: and determining whether the components on the current circuit board are correctly inserted according to the actual positions of the pins and the standard image of the standard circuit board.
Specifically, in this embodiment, the actual position of each pin may be marked in the depth image, and the theoretical position of each pin may be marked in the standard image of the standard circuit board, and whether the component on the current circuit board is correctly plugged may be determined by comparing the actual position with the theoretical position.
In addition, when a component is plugged incorrectly, the name and/or the position of the component corresponding to the pin with the plugging error can be obtained together. The plugging error includes that no pin is located at a position theoretically having a pin (i.e., no component is located at a position theoretically having a component), and a pin is located at a position theoretically having no pin (i.e., a component is located at a position theoretically having no component).
In addition, when the pins on the circuit board have plugging errors, namely the components are plugged incorrectly, an alarm instruction can be sent to the alarm, and the alarm can give alarms such as sound and light after receiving the alarm instruction. This design can make the detection personnel know the detection condition of circuit board on the transmission line immediately, and the ageing is higher.
In the above embodiment, the preset operation performed on the circuit board is to determine whether the component has a plugging error according to the depth image on the back surface of the circuit board. In other embodiments, other preset operations may be performed on the circuit board.
For example, in response to the identification or the matching success, a trigger instruction is sent to the second image acquisition device, so that the second image acquisition device acquires and obtains an original image of the front surface of the circuit board corresponding to the trigger instruction; inputting the original image into a pre-trained recognition model to obtain a prediction result of the installation direction of each component on the circuit board; and comparing the installation direction predicted by the recognition model with a preset standard installation direction to determine whether the components on the circuit board are installed correctly.
The following describes a circuit board inspection system for implementing the above inspection method in terms of structure. Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a circuit board inspection system according to the present application, which specifically includes a transmission line 10, at least one image capturing device 12, and a processor 14.
Specifically, the transmission line 10 is used to carry and convey a plurality of circuit boards; the at least one image acquisition device 12 is used for acquiring and obtaining a local image of the circuit board; alternatively, one of the image capturing devices 12 may be located on the back side of the circuit board for capturing and obtaining a partial image of the back side of the circuit board. The processor 14 is coupled to the at least one image capturing device 12, and is configured to receive the partial images, identify or match the partial images, and when the identification or matching is successful, send a trigger instruction to another device to perform a preset operation on the circuit board. In the present embodiment, the processor 14 may also be referred to as a CPU (Central Processing Unit). The processor 14 may be an integrated circuit chip having signal processing capabilities. Processor 14 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, processor 14 may be commonly implemented by a plurality of integrated circuit chips. In the above design, only the image acquisition device 12 needs to be introduced into the transmission line 10, the mechanical structure is simple, the original transmission line does not need to be greatly changed, and the hardware cost is low.
In this embodiment, the conveying line 10 provided by the present application specifically includes a conveyor belt 100 and a driving mechanism, and the driving mechanism can drive the conveyor belt 100 to run at a constant speed. The conveyor belt 100 may include a hollowed-out area from which the back surface of the circuit board may be exposed.
The above-mentioned inspection system may further include a memory coupled to the processor 14, and configured to store a front standard image, a back standard image, a template image including a specific area obtained from the back standard image, position information of the specific area on the standard circuit board, arrangement position information of each component on the standard circuit board, and the like of the standard circuit board passing inspection, which are the same in structure type as the current transmission line. The subsequent processor 14 can directly call and obtain the required information from the memory during the processing process, so as to reduce the processing time and improve the real-time performance.
The above-mentioned at least one image pickup device may include a first image pickup device 12a and a second image pickup device 12 b.
The first image acquisition device 12a is disposed corresponding to the hollow area of the conveyor belt 100, and is configured to acquire an obtained local image from the back side of the circuit board in real time, and transmit the local image to the processor 14, where the processor 14 is specifically configured to obtain a template image from the memory, obtain a comparison image corresponding to the template image from the local image, obtain a similarity between the comparison image and the template image by using a correlation similarity algorithm, and give a trigger instruction when the similarity exceeds a threshold. The local image acquired by the first image acquisition device 12a may be a grayscale image, and the corresponding first image acquisition device 12a is a grayscale camera with high real-time performance. Generally, the back surface of the circuit board is disposed toward the conveyor belt 100, and the front surface of the circuit board is disposed away from the conveyor belt 100, and correspondingly, the first image capturing device 12a may be located below the conveyor belt 100, and in order to reduce the difference of the viewing angles when the first image capturing device 12a captures the image, the optical axis of the first image capturing device 12a may be perpendicular to the plane where the conveyor belt 100 is located.
The second image capturing device 12b is disposed corresponding to the hollow area of the conveyor belt 100, is located at the downstream of the first image capturing device 12a in the running direction of the circuit board, and is configured to capture and obtain an original image of the back of the circuit board corresponding to the trigger instruction after receiving the trigger instruction sent by the processor 14, and transmit the original image to the processor 14. The original image acquired by the second image acquisition device 12b is a depth image, and the corresponding second image acquisition device 12b includes any one of a laser line scan camera, a 3D structured light camera, and a TOF camera. Generally, the back surface of the circuit board is disposed toward the conveyor belt 100, and the front surface of the circuit board is disposed away from the conveyor belt 100, and correspondingly, the second image capturing device 12b may be located below the conveyor belt 100, and in order to reduce the difference of the viewing angle when the second image capturing device 12b captures the image, the optical axis of the second image capturing device 12b may be perpendicular to the plane where the conveyor belt 100 is located. At this time, the processor 14 is specifically configured to obtain arrangement position information of each component on the standard circuit board from the memory, divide the depth image into a plurality of sub-depth images by using the arrangement position information, and then determine, for each sub-depth image, an actual position of the pin according to the depth information corresponding to the sub-depth image; and finally, determining whether the components on the current circuit board are correctly inserted according to the actual positions of the pins and the back standard image of the standard circuit board.
In the above embodiment, the image capturing devices 12 that obtain the partial image and the original image are two different devices; in other embodiments, if the hardware cost is not considered, the first image capturing device 12a and the second image capturing device 12b may be combined into the same image capturing device 12; at this time, the image capturing device 12 may capture a local image first, and then capture an original image after receiving a trigger instruction from the processor 14, where the local image and the original image are depth images.
In addition, in order to make the local image acquired by the first image acquisition device 12a clearer, the detection system provided by the present application may further include a light source 16 disposed on the same side and close to the first image acquisition device 12 a. Alternatively, as shown in fig. 6, the light source 16 is a ring light source, and the first image capturing device 12a is located at the center of the ring light source.
In addition, the detection system provided by the present application may further include an alarm, which may be an audible alarm, a light alarm, an audible and visual alarm, etc., and is coupled to the processor 14. And sending an alarm instruction to an alarm device in response to the processor 14 determining that the components on the current circuit board have the plugging errors, and sending an alarm by the alarm device.
Of course, in other embodiments, the alarm mode may be other, for example, the processor 14 and the above-mentioned memory may be integrated into a terminal (e.g., a computer, etc.), and the terminal may be provided with a display screen. And in response to the processor 14 determining that the components on the current circuit board have the plugging errors, sending a pop frame display instruction to the display screen, and displaying the pop frame on the display screen.
Referring to fig. 7, fig. 7 is a schematic diagram of a frame of an embodiment of a device with a storage function according to the present application. The storage means 30 stores program instructions 300 that can be executed by the processor, the program instructions 300 being adapted to implement the detection method mentioned in any of the embodiments above. The program instructions 300 may be stored in the storage device in the form of a software product, and include several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. The aforementioned storage device includes: various media capable of storing program codes, such as a usb disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or terminal devices, such as a computer, a server, a mobile phone, and a tablet.
In summary, in the circuit board detection method provided by the present application, a local image of a circuit board on a transmission line is obtained first, and then the local image is identified or matched, and then a preset operation is performed on the circuit board when the identification or matching is successful. This application provides an image trigger mode promptly, can solve the trigger problem of polylith circuit board mutual contact on the transmission line, the condition that the hourglass triggered can not appear, triggers the accuracy higher. In the corresponding structure aspect, only an image acquisition device needs to be introduced into the transmission line, the mechanical structure is simpler, the original transmission line does not need to be greatly changed, and the hardware cost is lower.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (13)

1. A circuit board detection method is characterized by comprising the following steps:
obtaining a local image of the circuit board on the transmission line;
identifying or matching the local images;
and responding to the successful identification or matching, and performing preset operation on the circuit board.
2. The inspection method of claim 1, wherein the step of obtaining a partial image of the circuit board on the transmission line comprises:
the method comprises the steps of obtaining a local image which is obtained by a first image collecting device through real-time collection from one side of the back face of a circuit board, wherein the circuit board comprises a front face and a back face which are arranged in a back-to-back mode, and at least one component is inserted into the front face.
3. The detection method according to claim 1 or 2,
the step of matching the partial images comprises: obtaining a comparison image corresponding to a template image from the local image, wherein the template image comprises an image of a specific area on a standard circuit board; obtaining the similarity between the comparison image and the template image;
the step of responding to the matching success comprises: in response to the similarity exceeding a threshold, the matching is successful.
4. The detection method according to claim 3,
the step of obtaining a comparison image corresponding to the template image from the local image includes: and obtaining the comparison image from the local image according to the position information of the specific area on the standard circuit board.
5. The method of claim 1, wherein said step of performing a predetermined operation on said circuit board in response to said identification or matching being successful comprises:
responding to the identification or the matching success, sending a trigger instruction to a second image acquisition device so that the second image acquisition device acquires and obtains an original image of the back of the circuit board corresponding to the trigger instruction;
and determining whether the components on the circuit board are correctly inserted according to the original image.
6. The detection method according to claim 5,
the original image is a depth image.
7. The inspection method of claim 6, wherein the step of determining whether the component on the circuit board is properly plugged according to the original image comprises:
dividing the depth image into a plurality of sub-depth images;
determining the actual position of the pin of the component according to the depth information in each sub-depth image;
and determining whether the components on the current circuit board are correctly inserted according to the actual positions of the pins and the standard image of the standard circuit board.
8. The detection method according to claim 7, wherein the step of dividing the depth image into a plurality of sub-depth images comprises:
and dividing the depth image into a plurality of sub-depth images according to the arrangement position of each component on the standard circuit board, wherein the position of each sub-depth image corresponds to at most one component on the standard circuit board.
9. The detection method according to claim 7, further comprising:
and responding to the pin on the circuit board with the plugging error, obtaining a component corresponding to the pin with the plugging error, and/or sending an alarm instruction.
10. The detection method according to claim 1, wherein the step of identifying the partial image comprises:
and inputting the local image into a pre-trained network model to identify a comparison image.
11. A circuit board inspection system, comprising:
the transmission line is used for carrying and transmitting a plurality of circuit boards;
the at least one image acquisition device is used for acquiring and obtaining a local image of the circuit board;
a processor, coupled to the at least one image acquisition device, for performing the detection method of any one of claims 1-10.
12. The inspection system of claim 11, wherein the transmission line comprises a conveyor belt including a hollowed-out region, the at least one image capture device comprising:
the first image acquisition device is arranged corresponding to the hollow area and used for acquiring the obtained local image from one side of the back surface of the circuit board in real time and transmitting the local image to the processor; the circuit board comprises a front side and a back side which are arranged in a reverse manner, and at least one component is inserted into the front side;
and the second image acquisition device is arranged corresponding to the hollow area and used for acquiring and obtaining an original image of the back surface of the circuit board corresponding to the trigger instruction after receiving the trigger instruction sent by the processor and transmitting the original image to the processor.
13. An apparatus having a memory function, characterized in that program data are stored, which program data can be executed by a processor to carry out the steps in the detection method according to any one of claims 1-10.
CN202011484022.1A 2020-12-15 2020-12-15 Circuit board detection method, detection system and device with storage function Pending CN114636669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011484022.1A CN114636669A (en) 2020-12-15 2020-12-15 Circuit board detection method, detection system and device with storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011484022.1A CN114636669A (en) 2020-12-15 2020-12-15 Circuit board detection method, detection system and device with storage function

Publications (1)

Publication Number Publication Date
CN114636669A true CN114636669A (en) 2022-06-17

Family

ID=81944543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011484022.1A Pending CN114636669A (en) 2020-12-15 2020-12-15 Circuit board detection method, detection system and device with storage function

Country Status (1)

Country Link
CN (1) CN114636669A (en)

Similar Documents

Publication Publication Date Title
CN100465985C (en) Human ege detecting method, apparatus, system and storage medium
CN109727275B (en) Object detection method, device, system and computer readable storage medium
US20160314368A1 (en) System and a method for the detection of multiple number-plates of moving cars in a series of 2-d images
WO2013112746A1 (en) Detecting and correcting skew in regions of text in natural images
CN110335313B (en) Audio acquisition equipment positioning method and device and speaker identification method and system
JP2011513809A (en) Method and apparatus for reading information contained in bar code
CN103839255A (en) Method and device for detecting video image matting tampering
EP3561464B1 (en) Unobtrusive and automated detection of frequencies of spatially located distinct parts of a machine
US20160125253A1 (en) Method and apparatus for image matching
JP5111055B2 (en) Image processing apparatus, image processing method, and computer program
EP3376438A1 (en) A system and method for detecting change using ontology based saliency
US10997734B2 (en) Gas detection-use image processing device, gas detection-use image processing method, and gas detection-use image processing program
CN112287905A (en) Vehicle damage identification method, device, equipment and storage medium
KR20170010753A (en) Method for the optical detection of symbols
CN115546219B (en) Detection plate type generation method, plate card defect detection method, device and product
CN114636669A (en) Circuit board detection method, detection system and device with storage function
US20220122341A1 (en) Target detection method and apparatus, electronic device, and computer storage medium
CN113191202B (en) Image processing method and device and electronic equipment
CN112819953B (en) Three-dimensional reconstruction method, network model training method, device and electronic equipment
CN115829911A (en) Method, apparatus and computer storage medium for detecting imaging consistency of a system
US20230073167A1 (en) Registration checking apparatus, control method, and non-transitory storage medium
US20190378389A1 (en) System and Method of Detecting a Potential Cashier Fraud
CN116046791B (en) Method and device for detecting defect of adhesive dispensing
CN114356739B (en) Vehicle-mounted mobile phone interconnection system performance test method, device, equipment and storage medium
CN117571721B (en) Method and device for detecting surface defects of circuit board bonding pad and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination