Circuit board detection method, system, equipment and medium

By obtaining the cutting audio and video of the circuit board, using recurrent neural network and graph neural network models to build a cutting comparison chart structure, the problem of fast and accurate circuit board cutting quality detection is solved, and efficient detection of the circuit board is achieved, ensuring Board performance and reliability.

CN118817698AInactive Publication Date: 2024-10-22SHANGHAI XINMIAO NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411048308.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult to quickly and accurately detect the cutting quality of circuit boards with existing technology, which may lead to problems such as cracks, burrs, and cutting deviations, affecting the performance and reliability of circuit boards.

Method used

By obtaining the cutting audio and video of the circuit board, using the recurrent neural network model and the graph neural network model, the cutting comparison chart structure is constructed, the similarity of the abnormal circuit board is determined, and the cutting quality of the circuit board is quickly and accurately detected.

Benefits of technology

It achieves rapid and accurate detection of circuit board cutting quality, improves detection efficiency and accuracy, can effectively identify abnormal circuit boards, and ensures the performance and reliability of circuit boards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118817698A_ABST
    Figure CN118817698A_ABST
Patent Text Reader

Abstract

The invention provides a circuit board detection method, system and device and a medium, and relates to the technical field of circuit boards, and the method comprises the steps: determining a plurality of first abnormal circuit boards based on the cutting audios of a plurality of circuit boards; based on the cut videos of the plurality of first abnormal circuit boards and the cut video of the normal circuit board, using a cut video processing model to determine the cut videos of a plurality of second abnormal circuit boards and the similarity between the cut video of each second abnormal circuit board and the cut video of the normal circuit board; constructing a plurality of cutting comparison graph structures based on the cutting videos of the plurality of second abnormal circuit boards and the cutting videos of the normal circuit boards; and processing the plurality of cutting comparison graph structures based on the graph neural network model to determine the target abnormal cutting circuit board. The method can quickly and accurately detect the cutting quality of the circuit board.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of circuit boards, and in particular to a circuit board detection method, system, equipment and medium. Background Art

[0002] Printed Circuit Board (PCB) is an indispensable part of modern electronic devices. It is responsible for carrying electronic components and circuit connections, realizing signal transmission and power distribution. With the continuous advancement of electronic technology, the complexity and precision requirements of circuit boards are increasing, which brings huge challenges to the manufacturing and quality control of circuit boards. In the production process of circuit boards, cutting is a crucial step, which is used to divide large-area substrates into individual circuit boards. The quality of cutting directly affects the performance and reliability of the circuit board. Any cutting problems, such as cracks, burrs, cutting deviations, etc., may cause the circuit board to fail or performance degradation.

[0003] Therefore, how to quickly and accurately detect the cutting quality of circuit boards is a problem that needs to be solved urgently. Summary of the invention

[0004] The main technical problem solved by the present invention is how to quickly and accurately detect the cutting quality of a circuit board.

[0005] According to a first aspect, the present invention provides a circuit board detection method, including: obtaining cutting audios of multiple circuit boards; determining multiple first abnormal circuit boards based on the cutting audios of the multiple circuit boards; obtaining cutting videos of multiple first abnormal circuit boards and cutting videos of normal circuit boards; determining the cutting videos of multiple second abnormal circuit boards and the similarity of each second abnormal circuit board cutting video with the cutting video of a normal circuit board using a cutting video processing model based on the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards; constructing multiple cutting comparison graph structures based on the cutting videos of the multiple second abnormal circuit boards and the cutting videos of the normal circuit boards; and processing the multiple cutting comparison graph structures based on a graph neural network model to determine a target abnormal cutting circuit board.

[0006] In a possible implementation, each of the multiple cutting comparison graph structures includes a normal cutting node and an abnormal cutting node, the node feature of the normal cutting node includes a cutting video of a normal circuit board, the node feature of the abnormal cutting node includes a cutting video of a second abnormal circuit board, and the feature of the edge between the normal cutting node and the abnormal cutting node is the similarity between the cutting video of each second abnormal circuit board and the cutting video of the normal circuit board.

[0007] In one possible implementation, obtaining the cutting audio of multiple circuit boards includes: using an audio sensor to collect sound wave signals of the multiple circuit boards during the cutting process; preprocessing the sound wave signals of the multiple circuit boards during the cutting process to obtain multiple preprocessed sound wave signals; and using the multiple preprocessed sound wave signals as the cutting audio of the multiple circuit boards.

[0008] In one possible implementation, the cutting video processing model is a recurrent neural network model, the input of the cutting video processing model is the cutting videos of the multiple first abnormal circuit boards and the cutting video of the normal circuit board, and the output of the cutting video processing model is the cutting videos of the multiple second abnormal circuit boards and the similarity between each cutting video of the second abnormal circuit board and the cutting video of the normal circuit board.

[0009] According to a second aspect, the present invention provides a circuit board detection system, comprising: A first acquisition module is used to acquire cutting audio of multiple circuit boards; A first abnormal circuit board determining module, configured to determine a plurality of first abnormal circuit boards based on the cutting audios of the plurality of circuit boards; A second acquisition module is used to acquire cutting videos of a plurality of first abnormal circuit boards and cutting videos of normal circuit boards; A video processing module, configured to determine the similarity between the cutting videos of the plurality of second abnormal circuit boards and each of the cutting videos of the second abnormal circuit boards and the cutting video of the normal circuit board using a cutting video processing model based on the cutting videos of the plurality of first abnormal circuit boards and the cutting video of the normal circuit board; A construction module, used to construct a plurality of cutting comparison diagram structures based on the cutting videos of the plurality of second abnormal circuit boards and the cutting videos of the normal circuit boards; A target determination module is used to process the multiple cutting comparison graph structures based on a graph neural network model to determine the target abnormally cut circuit board.

[0010] In a possible implementation, each of the multiple cutting comparison graph structures includes a normal cutting node and an abnormal cutting node, the node feature of the normal cutting node includes a cutting video of a normal circuit board, the node feature of the abnormal cutting node includes a cutting video of a second abnormal circuit board, and the feature of the edge between the normal cutting node and the abnormal cutting node is the similarity between the cutting video of each second abnormal circuit board and the cutting video of the normal circuit board.

[0011] In a possible implementation manner, the first acquisition module is further configured to: Use audio sensors to collect sound wave signals of multiple circuit boards during the cutting process; Preprocessing the acoustic wave signals of the plurality of circuit boards during the cutting process to obtain a plurality of preprocessed acoustic wave signals; The plurality of preprocessed sound wave signals are used as cutting audio of the plurality of circuit boards.

[0012] In one possible implementation, the cutting video processing model is a recurrent neural network model, the input of the cutting video processing model is the cutting videos of the multiple first abnormal circuit boards and the cutting video of the normal circuit board, and the output of the cutting video processing model is the cutting videos of the multiple second abnormal circuit boards and the similarity between each cutting video of the second abnormal circuit board and the cutting video of the normal circuit board.

[0013] According to a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor; a memory; and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor to implement a method as described above, the method comprising: obtaining cutting audios of multiple circuit boards; determining multiple first abnormal circuit boards based on the cutting audios of the multiple circuit boards; obtaining cutting videos of multiple first abnormal circuit boards and cutting videos of normal circuit boards; determining the similarity between the cutting videos of multiple second abnormal circuit boards and the cutting videos of each second abnormal circuit board and the cutting video of a normal circuit board using a cutting video processing model based on the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards; constructing multiple cutting comparison graph structures based on the cutting videos of the multiple second abnormal circuit boards and the cutting videos of the normal circuit boards; and processing the multiple cutting comparison graph structures based on a graph neural network model to determine a target abnormal cutting circuit board.

[0014] According to the fourth aspect, the present embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the circuit board detection method provided above, the method comprising: obtaining cutting audios of multiple circuit boards; determining multiple first abnormal circuit boards based on the cutting audios of the multiple circuit boards; obtaining cutting videos of multiple first abnormal circuit boards and cutting videos of normal circuit boards; determining the similarity between the cutting videos of multiple second abnormal circuit boards and the cutting videos of each second abnormal circuit board and the cutting video of a normal circuit board using a cutting video processing model based on the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards; constructing multiple cutting comparison graph structures based on the cutting videos of the multiple second abnormal circuit boards and the cutting videos of the normal circuit boards; and processing the multiple cutting comparison graph structures based on a graph neural network model to determine a target abnormal cutting circuit board.

[0015] The present invention provides a circuit board detection method and system, the method comprising obtaining cutting audios of multiple circuit boards; determining multiple first abnormal circuit boards based on the cutting audios of the multiple circuit boards; obtaining cutting videos of multiple first abnormal circuit boards and cutting videos of normal circuit boards; using a cutting video processing model to determine the cutting videos of multiple second abnormal circuit boards and the similarity between the cutting videos of each second abnormal circuit board and the cutting video of a normal circuit board; constructing multiple cutting comparison graph structures based on the cutting videos of the multiple second abnormal circuit boards and the cutting videos of the normal circuit board; processing the multiple cutting comparison graph structures based on a graph neural network model to determine a target abnormal cutting circuit board. The method can quickly and accurately detect the cutting quality of the circuit board. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of an application scenario of a circuit board detection method provided by an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of a circuit board detection method provided by an embodiment of the present invention; Figure 3 A schematic diagram of a process for obtaining cutting audio of multiple circuit boards provided by an embodiment of the present invention; Figure 4 A schematic diagram of a cutting comparison diagram structure provided by an embodiment of the present invention; Figure 5 A schematic diagram of a circuit board detection system provided by an embodiment of the present invention; Figure 6 A schematic diagram of an electronic device provided by an embodiment of the present invention; Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present invention better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present invention are not shown or described in the specification, this is to avoid the core part of the present invention being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0018] Figure 1 A schematic diagram of an application scenario of a circuit board detection method provided by an embodiment of the present invention. Figure 1 The application scenario of the circuit board detection method may include a server 11 , a network 12 , a terminal 13 and a storage device 14 .

[0019] In some embodiments, the server 11 may be a single server or a server group. The server 11 may access information and / or data stored in the terminal 13 or the storage device 14 through the network 12. In some embodiments, the server 11 may be used to execute Figure 2 The detection method of the circuit board shown in .

[0020] The network 12 may facilitate the exchange of information and / or data. In some embodiments, the network 12 may be any form of wired or wireless network, or any combination thereof.

[0021] Terminal 13 may refer to one or more terminal devices used by a user. In some embodiments, terminal 13 may include one or more combinations of a mobile device, a tablet computer, a laptop computer, and the like.

[0022] The storage device 14 may store data and / or instructions. For example, the storage device 14 may store data instructions of a circuit board detection method.

[0023] In an embodiment of the present invention, there is provided Figure 2 A circuit board detection method is shown, and the circuit board detection method includes steps S1 to S6: Step S1, obtaining cutting audio of multiple circuit boards.

[0024] The cutting audio of a circuit board is the sound signal generated during the circuit board cutting process. These signals contain the acoustic characteristics of the interaction between the cutting tool and the circuit board, and can be used to analyze the stability of the cutting process and the quality of the circuit board.

[0025] In some embodiments, Figure 3 A schematic diagram of a process for obtaining cutting audio of multiple circuit boards provided by an embodiment of the present invention, wherein the process for obtaining cutting audio of multiple circuit boards includes steps S21 to S23: Step S21, using an audio sensor to collect sound wave signals of multiple circuit boards during the cutting process.

[0026] An audio sensor is a device used to capture sound wave signals, such as microphones, which can convert sound waves into electrical signals or digital signals. During the circuit board cutting process, the audio sensor is placed close to the cutting area to capture the sound wave signals generated during the cutting process.

[0027] Step S22, preprocessing the acoustic wave signals of the plurality of circuit boards during the cutting process to obtain a plurality of preprocessed acoustic wave signals.

[0028] Preprocessing is a series of processing of the original signal, the purpose of which is to remove noise, enhance the signal, standardize the signal, etc., in order to improve the accuracy and efficiency of subsequent analysis. Preprocessing includes filtering, noise reduction, signal enhancement, etc.

[0029] Step S23, using the plurality of preprocessed sound wave signals as cutting audio of the plurality of circuit boards.

[0030] The pre-processed acoustic wave signal represents the sound characteristics of the circuit board cutting process and can be used to further analyze and detect the cutting quality of the circuit board.

[0031] Step S2, determining a plurality of first abnormal circuit boards based on the cutting audios of the plurality of circuit boards.

[0032] The first abnormal circuit board is the circuit board that may have cutting quality problems, which can be preliminarily screened out by analyzing the cutting audio. The cutting audio of these circuit boards may contain sound patterns that are different from normal circuit boards, suggesting that there may be abnormalities in the cutting process, such as damaged cutting tools, inconsistent circuit board materials, improper cutting parameters, etc.

[0033] In some embodiments, a deep neural network model can be used to process the cutting audio of the multiple circuit boards to determine multiple first abnormal circuit boards. The deep neural network model includes a deep neural network (DNN). The deep neural network may include multiple processing layers, each processing layer is composed of multiple neurons, and each neuron performs a matrix transformation on the data.

[0034] In some embodiments, the determining of multiple first abnormal circuit boards based on the cutting audio of the multiple circuit boards includes: obtaining the cutting audio of the normal circuit board, determining the similarity between the cutting audio of each circuit board and the cutting audio of the normal circuit board based on the dynamic time warping algorithm; and taking the circuit board corresponding to the similarity less than the similarity threshold as the first abnormal circuit board. The similarity threshold can be set manually in advance. The dynamic time warping algorithm can process audio sequences of different lengths, find the best alignment of two sequences through dynamic programming, and accurately calculate the similarity even if the sequence lengths are different. This is particularly important for the analysis of circuit board cutting audio, because the cutting process of different circuit boards may have different time lengths, but the dynamic time warping algorithm can effectively compare their similarities. During the circuit board cutting process, even if the cutting speed changes slightly, it may cause the length and time point of the audio sequence to differ. The dynamic time warping algorithm can tolerate and correct this time distortion, ensuring that the accuracy of the similarity calculation is not affected by time offset.

[0035] Step S3, obtaining cutting videos of a plurality of first abnormal circuit boards and cutting videos of normal circuit boards.

[0036] The cutting video of the first abnormal circuit board recorded the movement trajectory of the cutting tool on the circuit board, as well as the sparks, smoke and other phenomena generated during the cutting process.

[0037] The normal circuit board cutting video records a circuit board in a normal cutting process, such as the cutting tool moving smoothly, the cutting track is straight, and there are no obvious abnormalities.

[0038] Step S4, based on the cutting videos of the multiple first abnormal circuit boards and the cutting video of the normal circuit board, using a cutting video processing model to determine the similarity between the cutting videos of the multiple second abnormal circuit boards and the cutting video of each second abnormal circuit board and the cutting video of the normal circuit board.

[0039] The cutting video processing model is a recurrent neural network model, the input of the cutting video processing model is the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards, and the output of the cutting video processing model is the cutting videos of the multiple second abnormal circuit boards and the similarity between each cutting video of the second abnormal circuit board and the cutting video of the normal circuit board.

[0040] The recurrent neural network model includes the recurrent neural network (RNN). The recurrent neural network model can process sequence data, capture sequence information, and output results based on the correlation between the previous and next data in the sequence.

[0041] The second abnormal circuit board is a circuit board that is further confirmed to have cutting quality problems through video analysis using a cutting video processing model.

[0042] The similarity between each cutting video of the second abnormal circuit board and the cutting video of the normal circuit board is measured by comparing the video contents to measure the similarity between the two videos in visual features, and is usually expressed in numerical form.

[0043] In some embodiments, the cutting video processing model includes a cutting information determination layer, a cutting evaluation layer, and a second abnormal circuit board determination layer. The cutting information determination layer, the cutting evaluation layer, and the second abnormal circuit board determination layer all include a recurrent neural network. The input of the cutting information determination layer is the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards, the output of the cutting information determination layer is the cutting information of the multiple first abnormal circuit boards and the cutting information of the normal circuit boards, the input of the cutting evaluation layer is the cutting information of the multiple first abnormal circuit boards and the cutting information of the normal circuit boards, the output of the cutting evaluation layer is the cutting scores of the multiple first abnormal circuit boards, the similarity between the cutting videos of each second abnormal circuit board and the cutting videos of the normal circuit boards, the input of the second abnormal circuit board determination layer is the cutting scores of the multiple first abnormal circuit boards, and the output of the second abnormal circuit board determination layer is the cutting videos of the multiple second abnormal circuit boards.

[0044] The cutting information includes cutting trajectory, cutting speed, cutting tool posture, cutting force, cutting quality, cutting quality, cutting area characteristics, etc.

[0045] The cutting trajectory represents the movement path of the cutting tool on the circuit board.

[0046] Cutting speed refers to the speed at which the cutting tool moves.

[0047] The cutting tool posture represents the posture and angle change of the cutting tool.

[0048] Cutting force refers to the pressure change during the cutting process.

[0049] Cutting quality refers to the straightness of the cut edge, whether there are burrs, the uniformity of the cutting marks, etc.

[0050] The cut region features represent the visual features of the cut region, such as color and texture.

[0051] Each layer focuses on processing a specific task, such as the cutting information determination layer focuses on extracting cutting information from the video, the cutting evaluation layer focuses on evaluating the cutting quality, and the second abnormal circuit board determination layer focuses on determining the final abnormal circuit board. This ensures that each layer can perform its tasks efficiently and improve the performance of the entire system. From low-level feature detection to high-level conceptual understanding, the hierarchical model allows for gradual abstraction, helping the model learn more complex data representations. For example, the cutting information determination layer extracts basic visual features from video frames, while the cutting evaluation layer evaluates the cutting quality based on these features.

[0052] Step S5, constructing a plurality of cutting comparison graph structures based on the cutting videos of the plurality of second abnormal circuit boards and the cutting videos of the normal circuit boards.

[0053] In some embodiments, each of the multiple cutting comparison graph structures includes a normal cutting node and an abnormal cutting node, the node feature of the normal cutting node includes a cutting video of a normal circuit board, the node feature of the abnormal cutting node includes a cutting video of a second abnormal circuit board, and the feature of the edge between the normal cutting node and the abnormal cutting node is the similarity between the cutting video of each second abnormal circuit board and the cutting video of the normal circuit board.

[0054] In some embodiments, Figure 4 A schematic diagram of a cutting comparison diagram structure provided by an embodiment of the present invention is shown in the figure. Figure 4 It includes a normal cutting node and an abnormal cutting node, and the feature of the edge between the normal cutting node and the abnormal cutting node is the similarity between the cutting video of each second abnormal circuit board and the cutting video of the normal circuit board.

[0055] The cutting comparison graph structure is a graph data structure, including normal cutting nodes and abnormal cutting nodes, and edges representing similarity. The node features of the normal cutting nodes include the cutting video of the normal circuit board, and the node features of the abnormal cutting nodes include the cutting video of the second abnormal circuit board.

[0056] The cut comparison graph structure can intuitively represent the relationship between normal and abnormal circuit boards, and express the correlation between the two through the edge similarity feature. This representation method can capture complex relationship patterns and help the graph neural network model better understand the characteristics of abnormal circuit boards.

[0057] Step S6: Process the multiple cutting comparison graph structures based on the graph neural network model to determine the target abnormally cut circuit board.

[0058] The target abnormally cut circuit boards are those identified through graph neural network model analysis and ultimately confirmed to have cutting quality issues.

[0059] The graph neural network model includes a graph neural network (GNN) and a fully connected layer. The graph neural network is a neural network that directly acts on graph structure data. The input of the graph neural network model is the multiple cutting comparison graph structures, and the output of the graph neural network model is the target abnormal cutting circuit board.

[0060] By building a graph structure, the information in the cut video can be converted into a graph, allowing the graph neural network model to analyze the information more effectively. The node and edge features in the graph structure can provide richer contextual information, which helps to improve the accuracy and robustness of anomaly detection.

[0061] Building a graph structure can integrate multiple types of data (such as visual information and similarity scores of cut videos) into a unified representation that is easy to process by the graph neural network model.

[0062] The graph neural network model is able to capture complex relationships in the graph structure, such as common patterns between different abnormal boards or significant differences from normal boards. These patterns are crucial to determining which boards actually have cutting problems.

[0063] Based on the same inventive concept, Figure 5 A schematic diagram of a circuit board detection system provided by an embodiment of the present invention, the circuit board detection system comprising: A first acquisition module 51 is used to acquire cutting audio of multiple circuit boards; A first abnormal circuit board determining module 52, configured to determine a plurality of first abnormal circuit boards based on the cutting audios of the plurality of circuit boards; A second acquisition module 53 is used to acquire cutting videos of a plurality of first abnormal circuit boards and cutting videos of normal circuit boards; A video processing module 54 is used to determine the similarity between the cutting videos of the plurality of second abnormal circuit boards and each of the cutting videos of the second abnormal circuit boards and the cutting video of the normal circuit board using a cutting video processing model based on the cutting videos of the plurality of first abnormal circuit boards and the cutting video of the normal circuit board; A construction module 55 is used to construct a plurality of cutting comparison diagram structures based on the cutting videos of the plurality of second abnormal circuit boards and the cutting videos of the normal circuit boards; The target determination module 56 is used to process the multiple cutting comparison graph structures based on the graph neural network model to determine the target abnormal cutting circuit board.

[0064] Based on the same inventive concept, an embodiment of the present invention provides an electronic device, such as Figure 6 As shown, including: It includes: a processor 61; a memory 62; and a computer program; wherein the computer program is stored in the memory 62 and is configured to be executed by the processor 61 to implement the circuit board detection method provided above, the method including: obtaining cutting audios of multiple circuit boards; determining multiple first abnormal circuit boards based on the cutting audios of the multiple circuit boards; obtaining cutting videos of multiple first abnormal circuit boards and cutting videos of normal circuit boards; determining the cutting videos of multiple second abnormal circuit boards and the similarity of each cutting video of the second abnormal circuit board with the cutting video of the normal circuit board using a cutting video processing model based on the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards; constructing multiple cutting comparison graph structures based on the cutting videos of the multiple second abnormal circuit boards and the cutting videos of the normal circuit boards; and processing the multiple cutting comparison graph structures based on a graph neural network model to determine the target abnormal cutting circuit board.

[0065] Based on the same inventive concept, this embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by the processor 61, implements the circuit board detection method provided above, the method comprising: obtaining cutting audios of multiple circuit boards; determining multiple first abnormal circuit boards based on the cutting audios of the multiple circuit boards; obtaining cutting videos of multiple first abnormal circuit boards and cutting videos of normal circuit boards; determining the cutting videos of multiple second abnormal circuit boards and the similarity of each cutting video of the second abnormal circuit board to the cutting video of the normal circuit board using a cutting video processing model based on the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards; constructing multiple cutting comparison graph structures based on the cutting videos of the multiple second abnormal circuit boards and the cutting videos of the normal circuit boards; and processing the multiple cutting comparison graph structures based on a graph neural network model to determine the target abnormal cutting circuit board.

[0066] The circuit board detection method provided in the embodiment of the present application can be applied to terminal devices (such as mobile phones), tablet computers, laptops, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), wearable devices (such as smart watches, smart glasses or smart helmets, etc.), augmented reality (AR) and virtual reality (VR) devices, smart home devices, car computers and other electronic devices, and the embodiment of the present application does not impose any restrictions on this.

[0067] Taking the mobile phone 100 as an example of the electronic device, Figure 7 A schematic structural diagram of the mobile phone 100 is shown.

[0068] like Figure 7 As shown, the mobile phone 100 may include a processing module 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0069] The processing module 110 may include one or more processing units, for example, the processing module 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0070] The processing module 110 can be used to: obtain cutting audios of multiple circuit boards; determine multiple first abnormal circuit boards based on the cutting audios of the multiple circuit boards; obtain cutting videos of multiple first abnormal circuit boards and cutting videos of normal circuit boards; determine the cutting videos of multiple second abnormal circuit boards and the similarity of each second abnormal circuit board cutting video with the cutting video of a normal circuit board using a cutting video processing model based on the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards; construct multiple cutting comparison graph structures based on the cutting videos of the multiple second abnormal circuit boards and the cutting videos of the normal circuit boards; and process the multiple cutting comparison graph structures based on a graph neural network model to determine a target abnormal cutting circuit board.

[0071] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.

[0072] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.

[0073] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.

[0074] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

[0075] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. A circuit board detection method, characterized in that: include: Get cutting audio of multiple circuit boards; determining a plurality of first abnormal circuit boards based on the cutting audios of the plurality of circuit boards; Acquire cutting videos of a plurality of first abnormal circuit boards and cutting videos of normal circuit boards; Determine the similarity between the cutting videos of the plurality of second abnormal circuit boards and each of the cutting videos of the second abnormal circuit boards and the cutting video of the normal circuit board using a cutting video processing model based on the cutting videos of the plurality of first abnormal circuit boards and the cutting video of the normal circuit board; Constructing a plurality of cutting comparison graph structures based on the cutting videos of the plurality of second abnormal circuit boards and the cutting videos of the normal circuit boards; The multiple cutting comparison graph structures are processed based on the graph neural network model to determine the target abnormally cut circuit board.

2. The circuit board detection method according to claim 1, characterized in that: Each of the multiple cutting comparison graph structures includes a normal cutting node and an abnormal cutting node, the node feature of the normal cutting node includes a cutting video of a normal circuit board, the node feature of the abnormal cutting node includes a cutting video of a second abnormal circuit board, and the feature of the edge between the normal cutting node and the abnormal cutting node is the similarity between the cutting video of each second abnormal circuit board and the cutting video of the normal circuit board.

3. The circuit board detection method according to claim 1, characterized in that: The obtaining of cutting audio of a plurality of circuit boards comprises: Use audio sensors to collect sound wave signals of multiple circuit boards during the cutting process; Preprocessing the acoustic wave signals of the plurality of circuit boards during the cutting process to obtain a plurality of preprocessed acoustic wave signals; The plurality of preprocessed sound wave signals are used as cutting audio of the plurality of circuit boards.

4. The circuit board detection method according to claim 1, characterized in that: The cutting video processing model is a recurrent neural network model, the input of the cutting video processing model is the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards, and the output of the cutting video processing model is the cutting videos of the multiple second abnormal circuit boards and the similarity between each cutting video of the second abnormal circuit board and the cutting video of the normal circuit board.

5. A circuit board detection system, characterized in that: include: A first acquisition module is used to acquire cutting audio of multiple circuit boards; A first abnormal circuit board determining module, configured to determine a plurality of first abnormal circuit boards based on the cutting audios of the plurality of circuit boards; A second acquisition module is used to acquire cutting videos of a plurality of first abnormal circuit boards and cutting videos of normal circuit boards; A video processing module, configured to determine the similarity between the cutting videos of the plurality of second abnormal circuit boards and each of the cutting videos of the second abnormal circuit boards and the cutting video of the normal circuit board using a cutting video processing model based on the cutting videos of the plurality of first abnormal circuit boards and the cutting video of the normal circuit board; A construction module, used to construct a plurality of cutting comparison diagram structures based on the cutting videos of the plurality of second abnormal circuit boards and the cutting videos of the normal circuit boards; A target determination module is used to process the multiple cutting comparison graph structures based on a graph neural network model to determine the target abnormally cut circuit board.

6. The circuit board detection system as claimed in claim 5, characterized in that: Each of the multiple cutting comparison graph structures includes a normal cutting node and an abnormal cutting node, the node feature of the normal cutting node includes a cutting video of a normal circuit board, the node feature of the abnormal cutting node includes a cutting video of a second abnormal circuit board, and the feature of the edge between the normal cutting node and the abnormal cutting node is the similarity between the cutting video of each second abnormal circuit board and the cutting video of the normal circuit board.

7. The circuit board detection system according to claim 5, characterized in that: The first acquisition module is also used for: Use audio sensors to collect sound wave signals of multiple circuit boards during the cutting process; Preprocessing the acoustic wave signals of the plurality of circuit boards during the cutting process to obtain a plurality of preprocessed acoustic wave signals; The plurality of preprocessed sound wave signals are used as cutting audio of the plurality of circuit boards.

8. The circuit board detection system according to claim 5, characterized in that: The cutting video processing model is a recurrent neural network model, the input of the cutting video processing model is the cutting videos of the multiple first abnormal circuit boards and the cutting videos of the normal circuit boards, and the output of the cutting video processing model is the cutting videos of the multiple second abnormal circuit boards and the similarity between each cutting video of the second abnormal circuit board and the cutting video of the normal circuit board.

9. An electronic device, characterized in that: include: processor; Memory; And a computer program; wherein the computer program is stored in the memory and is configured to be executed by the processor to implement the circuit board detection method according to any one of claims 1 to 4.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the circuit board detection method according to any one of claims 1 to 4 is implemented.