PCB layout open circuit and short circuit positioning method
By comparing the Gerber file, drill file, and IPC netlist file of the PCB layout with the original CAD data, and using the continuity of image pixels to find the difference locations, the problem of low efficiency in PCB layout open and short circuit inspection is solved, achieving efficient and accurate open and short circuit location, and reducing losses and costs in the PCB manufacturing process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2026-03-10
AI Technical Summary
In the existing technology, the efficiency of PCB layout open and short circuit inspection is low. Manual inspection is time-consuming and inaccurate, while software cannot accurately locate the specific location of open and short circuits, resulting in increased rework and losses during PCB manufacturing.
By acquiring the Gerber file, drill file, and IPC netlist file of the PCB layout to be inspected, comparing them with the original CAD data, and using the continuity of image pixels to find the difference locations, the open circuit and short circuit locations are determined, providing a method and device for PCB layout open circuit location, as well as a method and device for short circuit location.
It improves the accuracy and efficiency of open and short circuit detection, reduces rework and waste in the PCB manufacturing process, lowers the scrap rate of finished products, improves production efficiency and reduces costs.
Smart Images

Figure CN121633768A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of printed circuit board, and particularly relates to a PCB layout open circuit and short circuit positioning method. BACKGROUND
[0002] With the continuous development of technology and the continuous improvement of process level, electronic products tend to develop in the trend of being lighter, thinner and smaller, and PCB (Printed Circuit Board) tends to develop in the direction of high density, small components, fine pitch and more layers, which makes the quality inspection work of PCB more and more challenging. Before the manufacture of PCB, the customer needs to provide the PCB design file or Gerber file for production; however, when the PCB design file is converted into Gerber file of different formats, or the Gerber file is processed by the plate making factory to meet the design function, the converted Gerber file or the processed Gerber file is prone to error, resulting in open circuit and short circuit problems in the PCB circuit. In view of this phenomenon, the current manual inspection method is still used to compare the original PCB design file to check whether the Gerber file has open circuit and short circuit, and when the number of components in the PCB board is large, the open circuit and short circuit position is more complex and tedious, and the manual inspection takes a long time and has low inspection efficiency and accuracy. At present, some software on the market can find the network unit with open circuit and short circuit in the Gerber file through network connection, but cannot accurately find the specific position of the open circuit and short circuit, and still needs manual participation for finding. Therefore, how to quickly and accurately find and position the open circuit and short circuit position in the PCB engineering data is very important for PCB manufacturing. SUMMARY
[0003] In order to solve the above problems in the prior art, the application provides a PCB layout open circuit and short circuit positioning method. The technical problem to be solved by the application is solved through the following technical scheme:
[0004] The embodiment of the application provides a PCB layout open circuit positioning method, which comprises the following steps:
[0005] Obtain the Gerber file, drill file and IPC netlist file of the PCB layout to be checked as the PCB layout file to be checked, and obtain the original CAD data of the PCB layout to be checked as the comparison PCB layout file;
[0006] Obtain the signal network group with open circuit in the PCB layout file to be checked as the target signal network group to be checked, and obtain the signal network corresponding to the same position in the comparison PCB layout file as the comparison target signal network;
[0007] acquire a target signal network group image to be checked and a contrast target signal network image, and obtain a difference position of the target signal network group image to be checked and the contrast target signal network image according to pixel continuity of the images;
[0008] determine an open circuit position in the PCB layout to be checked based on the difference position.
[0009] In an embodiment of the present application, determining the open circuit position in the PCB layout to be checked based on the difference position comprises:
[0010] for any difference position, removing the image of the difference position in the contrast target signal network image, and when the difference position is connected with two or more target signal networks, determining the open circuit position in the PCB layout to be checked by judging signal connectivity between the target signal networks obtained.
[0011] In an embodiment of the present application, for any difference position, removing the image of the difference position in the contrast target signal network image, and when the difference position is connected with two or more target signal networks, determining the open circuit position in the PCB layout to be checked by judging signal connectivity between the target signal networks obtained, comprises:
[0012] determining the PCB layer where the difference position is located in the contrast PCB layout file, removing the image of the difference position in the contrast target signal network image in the PCB layer where the difference position is located, and obtaining the image of each target signal network originally connected with the difference position;
[0013] taking the PCB layer where the difference position is located to the last PCB layer of the signal network where the difference position is located as a current layer in sequence to perform the judging step, and the judging step comprises judging whether each target signal network satisfies having signal connection in the current layer based on pixel continuity of the image of each target signal network.
[0014] if yes, determining that the difference position is not an open circuit position of the PCB layout to be checked;
[0015] if no, determining that two target signal networks without signal connection in the current layer as a target signal network pair, and determining the open circuit position of the PCB layout to be checked based on the difference position between the target signal network pair.
[0016] In an embodiment of the present application, when the image of the difference position is removed in the contrast target signal network image, and the difference position is connected with only two target signal networks, determining the open circuit position in the PCB layout to be checked based on the difference position comprises:
[0017] finding a to-be-determined open circuit position in the to-be-searched PCB layout file in a difference position;
[0018] measuring distances between any end point of the to-be-determined open circuit position and other end points in an open circuit signal network group of the layer where the to-be-determined open circuit position is located;
[0019] determining a minimum value in all distances, and determining two end points corresponding to the minimum value as the open circuit position.
[0020] The embodiment of the present application also provides a PCB layout open circuit positioning device, which comprises:
[0021] a file acquisition module, which is used for acquiring a Gerber file, a drill file and an IPC netlist file of a to-be-inspected PCB layout as a to-be-searched PCB layout file, and acquiring original CAD data of the to-be-inspected PCB layout as a comparison PCB layout file;
[0022] a to-be-searched target signal network group and a comparison target signal network acquisition module, which is used for acquiring a signal network group with an open circuit in the to-be-searched PCB layout file as a to-be-searched target signal network group, and acquiring a signal network corresponding to the to-be-searched target signal network group in the same position in the comparison PCB layout file as a comparison target signal network;
[0023] a difference position acquisition module, which is used for acquiring a to-be-searched target signal network group image and a comparison target signal network image, and obtaining a difference position of the to-be-searched target signal network group image and the comparison target signal network image according to image pixel continuity;
[0024] an open circuit position positioning module, which is used for determining an open circuit position in the to-be-inspected PCB layout based on the difference position.
[0025] The embodiment of the present application also provides a PCB layout short circuit positioning method, which comprises:
[0026] acquiring a Gerber file, a drill file and an IPC netlist file of a to-be-inspected PCB layout as a to-be-searched PCB layout file, and acquiring original CAD data of the to-be-inspected PCB layout as a comparison PCB layout file;
[0027] acquiring a signal network with a short circuit in the to-be-searched PCB layout file as a to-be-searched target signal network, and acquiring a signal network group corresponding to the to-be-searched target signal network in the same position in the comparison PCB layout file as a comparison target signal network group;
[0028] Acquire the target signal network image to be investigated and the comparison target signal network group image, and obtain the difference positions between the target signal network image to be investigated and the comparison target signal network group image based on the continuity of image pixels;
[0029] The location of the short circuit in the PCB layout to be inspected is determined based on the location of the difference.
[0030] In one embodiment of the present invention, determining the short circuit location in the PCB layout to be inspected based on the difference location includes:
[0031] For any discrepancy location, the image at that discrepancy location is removed from the image of the target signal network to be inspected. When the discrepancy location is connected to two or more target signal networks, the short circuit location in the PCB layout to be inspected is determined by judging the signal connectivity between the obtained target signal networks.
[0032] In one embodiment of the present invention, for any discrepancy location, the image at that discrepancy location is removed from the image of the target signal network to be inspected. When the discrepancy location is connected to two or more target signal networks, the short circuit location in the PCB layout to be inspected is determined by judging the signal connectivity between the obtained target signal networks, including:
[0033] In the PCB layout file to be checked, determine the PCB layer where the difference is located. In the PCB layer where the difference is located, remove the image of the difference location from the image of the target signal network to be checked to obtain the images of each target signal network originally connected to the difference location.
[0034] The PCB layer from the location of the difference to the last PCB layer of the signal network where the difference is located are sequentially used as the current layer for the judgment step. The judgment step includes determining whether each target signal network satisfies the requirement of having signal connection in the current layer based on the pixel continuity of the image of each target signal network.
[0035] If the condition is met, it is determined that the location of the difference is not a short circuit location in the PCB layout to be inspected;
[0036] If the condition is not met, two target signal networks that do not have signal connections in the current layer are identified as target signal network pairs. Based on the difference in position between the target signal network pairs, the short circuit location of the PCB layout to be inspected is determined.
[0037] This invention also provides a PCB layout short-circuit locating device, the PCB layout short-circuit locating device comprising:
[0038] The file acquisition module is used to acquire the Gerber file, drill file, and IPC netlist file of the PCB layout to be inspected, as the PCB layout file to be inspected; and to acquire the original CAD data of the PCB layout to be inspected, as the comparison PCB layout file.
[0039] The module for acquiring the target signal network to be checked and the comparison target signal network group is used to acquire the signal network with a short circuit in the PCB layout file to be checked as the target signal network to be checked; and to acquire the signal network group at the same position in the comparison PCB layout file corresponding to the target signal network to be checked as the comparison target signal network group.
[0040] The difference location acquisition module is used to acquire the target signal network image to be investigated and the comparison target signal network group image, and to obtain the difference location between the target signal network image to be investigated and the comparison target signal network group image based on the continuity of image pixels;
[0041] A short-circuit location module is used to determine the short-circuit location in the PCB layout to be inspected based on the difference location.
[0042] This invention also provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0043] The memory is used to store computer programs;
[0044] When the processor executes the program stored in the memory, it implements the steps of the PCB layout open circuit positioning method or the PCB layout short circuit positioning method provided in the embodiments of the present invention.
[0045] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps of the PCB layout open circuit positioning method or the PCB layout short circuit positioning method provided in this invention.
[0046] The beneficial effects of this invention are:
[0047] In the solution provided by the embodiments of the present invention, the Gerber file, drill file and IPC netlist file of the PCB layout to be inspected are first obtained as the PCB layout file to be inspected; the original CAD data of the PCB layout to be inspected is obtained as the comparison PCB layout file.
[0048] For open circuit location, the signal network group containing an open circuit in the PCB layout file to be inspected is obtained as the target signal network group to be inspected; the signal network at the same position in the comparison PCB layout file corresponding to the target signal network group to be inspected is obtained as the comparison target signal network; then, the image of the target signal network group to be inspected and the image of the comparison target signal network are obtained, and the difference position between the image of the target signal network group to be inspected and the image of the comparison target signal network are obtained according to the continuity of the image pixels; finally, the open circuit position in the PCB layout to be inspected is determined based on the difference position.
[0049] For short circuit location, the signal network with a short circuit in the PCB layout file to be inspected is obtained as the target signal network to be inspected; the signal network group at the same position in the comparison PCB layout file corresponding to the target signal network to be inspected is obtained as the comparison target signal network group; then, the image of the target signal network to be inspected and the image of the comparison target signal network group are obtained, and the difference position between the image of the target signal network to be inspected and the image of the comparison target signal network group are obtained according to the continuity of the image pixels; finally, the short circuit position in the PCB layout to be inspected is determined based on the difference position.
[0050] This invention compares a PCB layout file to be inspected with a comparison PCB layout file, using the continuity of image pixels to find differences, and then determines the locations of open and short circuits in the PCB layout to be inspected based on these differences. This invention can use the images at the differences to determine the location of open circuits by judging image continuity in the comparison PCB layout file, and to determine the location of short circuits by judging image continuity in the PCB layout file to be inspected, thus accurately determining the specific locations of open and short circuits.
[0051] Gerber files can be effectively checked before PCB manufacturing. Compared with manual inspection, the solution proposed in this application can greatly improve the accuracy, shorten the inspection time, improve the inspection efficiency, avoid unnecessary rework and loss in the PCB manufacturing process, effectively reduce the workload of PCB quality inspection and analysis, greatly reduce the scrap rate of PCB finished products, improve production efficiency, and reduce cost input. Attached Figure Description
[0052] Figure 1 This is a flowchart illustrating a PCB layout open-circuit positioning method provided in an embodiment of the present invention;
[0053] Figure 2a and Figure 2b This is a schematic diagram illustrating the connection between the different locations and two or more target signal networks in the open-circuit positioning of an embodiment of the present invention.
[0054] Figure 3This is a schematic diagram showing the continuity of the images in the current layer of the first target signal network image and the second target signal network image in the open-circuit localization of an embodiment of the present invention;
[0055] Figure 4 This is a schematic diagram showing the continuity of the next layer image when there are vias at both ends of the first target signal network image and the second target signal network image in the open-circuit positioning of an embodiment of the present invention.
[0056] Figure 5 This is a schematic diagram of the difference location and its image when the difference location is connected to more than two target signal networks in the open-circuit positioning of this embodiment of the invention.
[0057] Figure 6 This is a schematic diagram illustrating open-circuit positioning achieved by measuring distance in an embodiment of the present invention;
[0058] Figure 7 This is a schematic diagram illustrating how open-circuit localization is achieved by placing images of different locations in the target signal network image into the undetermined open-circuit location, as described in an embodiment of the present invention.
[0059] Figure 8 This is a flowchart illustrating a PCB layout short-circuit location method provided in an embodiment of the present invention.
[0060] Figure 9 This is a schematic diagram showing the continuity of the images in the current layer of the third target signal network image and the fourth target signal network image during short-circuit localization in an embodiment of the present invention.
[0061] Figure 10 This is a schematic diagram illustrating the continuity of the next layer image when both ends of the third target signal network image and the fourth target signal network image exist in the short-circuit localization of this invention.
[0062] Figure 11 This is a schematic diagram of the difference location and its image when the difference location is connected to more than two target signal networks in the short-circuit localization of this invention. Detailed Implementation
[0063] The present invention will be further described in detail below with reference to specific embodiments, but the implementation of the present invention is not limited thereto.
[0064] To quickly and accurately locate open and short circuits in a PCB layout and improve inspection efficiency, this invention provides a PCB layout open circuit location method, a PCB layout open circuit location device, a PCB layout short circuit location method, a PCB layout short circuit location device, as well as an electronic device and a computer-readable storage medium for implementing the PCB layout open circuit location method or the PCB layout short circuit location method.
[0065] In a first aspect, embodiments of the present invention provide a PCB layout open-circuit positioning method, such as... Figure 1 As shown, the method may include the following steps:
[0066] S1. Obtain the Gerber file, drill file, and IPC netlist file of the PCB layout to be inspected, as the PCB layout file to be inspected; obtain the original CAD data of the PCB layout to be inspected, as the comparison PCB layout file.
[0067] As will be understood by those skilled in the art, a Gerber file, or photoplotting file, is the output of the circuit design process, including the physical properties of the PCB layers and the PCB layers themselves. A drill file, or drill hole file, contains drill hole information on the PCB, used to identify the size and location of drill holes. An IPC (Institute of Printed Circuits) netlist file is a collection of nets that records the logical relationships between various parts of the design file. It can be used to display individual signal nets and to check for open circuits, short circuits, and issues with trace spacing on the PCB.
[0068] In this embodiment of the invention, the PCB layout file to be compared is the original design data of the PCB layout file to be checked, i.e., the original design CAD file, which is usually provided by the PCB designer. The PCB layout file to be checked is a file of a different format than the PCB layout file to be compared. Due to the different file formats, some errors may occur in the PCB design data output from the PCB routing software, resulting in the designed layout being different from the original netlist connectivity, forming open circuits or short circuits. Moreover, based on the manufacturing process of bare PCBs, bare PCB manufacturers will make appropriate modifications to the PCB design data (e.g., Gerber files) before bare PCB manufacturing so that the actual manufactured bare PCB can meet the design functions. However, the modification process may cause open circuits or short circuits. Therefore, before using the PCB layout file to be checked for board fabrication, it is necessary to use the PCB layout file to be compared as a reference for inspection.
[0069] To ensure the accuracy and consistency of the obtained PCB layout files for comparison, the number of PCB layers can be used for verification. If the number of layers is the same as that of the PCB layout file to be checked, it indicates that the obtained comparison PCB layout file is consistent with the PCB file to be checked, meaning that the exported file of the comparison PCB layout file is the PCB file to be checked. Of course, file identification information can also be used for auxiliary verification, such as file name, number, etc.
[0070] S2, obtain the signal network group with open circuits in the PCB layout file to be checked, as the target signal network group to be checked; obtain the signal network in the same position in the comparison PCB layout file corresponding to the target signal network group to be checked, as the comparison target signal network;
[0071] This invention can employ existing PCB layout open-circuit checking methods to obtain all signal network groups with open circuits in the PCB layout file to be checked, which are denoted as the target signal network groups to be checked. One optional method can be implemented with reference to patent CN201811407159.X, where the netlist network groups with open circuit problems identified by that patent are the target signal network groups to be checked in this invention. Each target signal network group to be checked contains at least two signal networks due to the presence of open circuits. In this invention, a signal network refers to a network where the signal transmission line has connectivity and does not contain any components.
[0072] For each target signal network group to be investigated, the signal network at the same position in the comparison PCB layout file corresponding to the target signal network group to be investigated can be obtained through location information. This network is then used as the comparison target signal network for that target signal network group. Since the comparison target signal network does not have any open circuits, it is a complete signal network. In this embodiment of the invention, each target signal network group to be investigated is processed separately. S2 to S4 are described using any one target signal network group to be investigated.
[0073] S3, acquire the image of the target signal network group to be investigated and the image of the target signal network to be compared, and obtain the difference position between the image of the target signal network group to be investigated and the image of the target signal network to be compared based on the continuity of image pixels;
[0074] The image of the target signal network group to be investigated refers to the image corresponding to the target signal network group to be investigated. The image of the target signal network to be compared refers to the image corresponding to the target signal network to be compared. The difference location is the suspected location of an open circuit in the same layer of the PCB conductor.
[0075] Among them, the image of the target signal network group to be investigated and the image of the target signal network to be compared may have multiple differences, and the differences are determined by the coordinates of each endpoint and the PCB layer in which they are located.
[0076] In this embodiment of the invention, the difference location is only found in the case of an open circuit in the middle of the same layer of conductors, and does not involve an open circuit between the endpoint and the next layer.
[0077] S4, determine the open circuit location in the PCB layout to be inspected based on the difference location.
[0078] In one optional implementation, S4 may include the following steps:
[0079] S41, for any difference location, remove the image of the difference location from the comparison target signal network image. When the difference location is connected to two or more target signal networks, determine the open circuit location in the PCB layout to be inspected by judging the signal connectivity between the obtained target signal networks.
[0080] In this embodiment of the invention, for any discrepancy location, the image at that discrepancy location is first removed from the comparison target signal network image. This results in the original signal network in the comparison target signal network image being split into several target signal networks after the image at the discrepancy location is removed. When the discrepancy location is connected to two or more target signal networks, the open circuit location in the PCB layout to be inspected is determined by judging the signal connectivity between the obtained target signal networks. For details regarding the connection of the discrepancy location to two or more target signal networks, please refer to [link to relevant documentation]. Figure 2a and Figure 2b understand, Figure 2a and Figure 2b The signal wiring in the signal network is represented by long rectangular bars, and the components are not shown. Figure 2a This indicates that the location of the difference is connected to two target signal networks (the long rectangular bars on the left and right sides each represent a target signal network). Figure 2b This indicates that the location of the difference is connected to more than two target signal networks. Figure 2b Taking the location of this difference as an example, it is connected to three target signal networks (the long rectangles on the left, right and bottom sides each represent a target signal network).
[0081] In this embodiment of the invention, the image of the difference location is a wire or a via with an electrical connection, and S4 is executed sequentially for each difference location.
[0082] In one optional implementation, S41 may include the following steps:
[0083] S411, determine the PCB layer where the difference location is located in the comparison PCB layout file, and remove the image of the difference location in the comparison target signal network image in the PCB layer where the difference location is located, to obtain the images of each target signal network originally connected to the difference location;
[0084] In this embodiment of the invention, steps S411 to S414 are performed in the comparison PCB layout file. Regarding S411, it can be understood that after removing the difference location, the original comparison target signal network is split into two or more target signal networks, and images of each target signal network can be obtained.
[0085] In S411, based on the endpoint coordinates and the PCB layer in which they are located, the PCB layer in which the difference is located can be determined in the comparison PCB layout file.
[0086] S412, the PCB layer where the difference location is located to the last PCB layer of the signal network where the difference location is located are sequentially used as the current layer for the judgment step. The judgment step includes determining whether each target signal network satisfies the requirement of having signal connection in the current layer based on the pixel continuity of the image of each target signal network.
[0087] Since signal networks can be connected on different PCB layers, the judgment steps need to be performed layer by layer.
[0088] Each target signal network satisfies the requirement of having signal connections at the current layer, including:
[0089] In the images of each target signal network, the images in the current layer are all consecutive.
[0090] Specifically, in the images of each target signal network, the fact that the images in the current layer are consecutive in pairs is used as a direct condition to determine that the current layer has signal connections.
[0091] If there are only two target signal networks, the above condition is that the images of these two target signal networks in the current layer are continuous; if there are more than two target signal networks, the above condition is that the images of every two target signal networks in the current layer are continuous.
[0092] In the above conditions, the continuity of two images in the current layer is determined by the continuity of image pixels. When they belong to the same signal network, the colors of the signal wiring are the same. If the two images to be judged are in the current layer and are connected by other signal lines except for the difference position, then it can be directly determined that the two images to be judged are continuous in the current layer.
[0093] If the above conditions are not met, it is necessary to further use the vias in the image to determine whether each target signal network may have a signal connection in the next layer. If it is possible that there is a signal connection in the next layer, the next layer is used as the current layer and the judgment step is executed again until the last PCB layer of the signal network where the difference is located is judged.
[0094] S413, if satisfied, determine that the difference location is not an open circuit location of the PCB layout to be inspected;
[0095] If the above conditions are met, it can be directly determined that each target signal network has a signal connection in the current layer, and the difference location is not an open circuit location of the PCB layout to be inspected.
[0096] S414, if not satisfied, determine the two target signal networks that do not have signal connections in the current layer as target signal network pairs, and determine the open circuit position of the PCB layout to be inspected based on the difference position between the target signal network pairs.
[0097] Specifically, S414 may include the following steps:
[0098] Step 1), identify two target signal networks that do not have signal connections in the current layer as target signal network pairs;
[0099] In the images of each target signal network, if there are two discontinuous target signal networks in the current layer, they are identified as a target signal network pair.
[0100] Step 2), determine whether there are vias at both ends of the image in the current layer of the target signal network;
[0101] Here, the via refers to a via that has an electrical connection;
[0102] Step 3): If the target signal network pair has no vias at either end of the image in the current layer, or has a via at only one end of any image, the difference position between the target signal network pairs is determined as the open circuit position.
[0103] If the target signal network pair has no vias at either end of the image in the current layer, or has a via at only one end of the image, it indicates that the target signal network pair definitely does not have a signal connection, and the difference position between the target signal network pairs is determined as the open circuit position.
[0104] Step 4): If the target signal network has vias at both ends of the image in the current layer, the next layer after the current layer is recorded as the current layer, and the process returns to the judgment step.
[0105] If the target signal network pair has vias at both ends of the image in the current layer, it indicates that the target signal network pair may have signal connections in the next layer, so it needs to be judged again.
[0106] After the judgment is completed, the open circuit positions of the PCB layout file to be checked are determined by the difference positions between all target signal network pairs.
[0107] For ease of understanding, the process of S41 will be described below with the difference location connected to only two target signal networks. This process may include the following steps:
[0108] Step a1: Determine the PCB layer where the difference is located in the compared PCB layout file, and use it as the current layer;
[0109] Step a2: Remove the image at the difference position in the comparison target signal network image to obtain the images of the first target signal network and the second target signal network that were originally connected to the difference position, and use them as the first target signal network image and the second target signal network image, respectively.
[0110] Step a3: Determine whether the images in the current layer of the first target signal network image and the second target signal network image are continuous based on the continuity of image pixels;
[0111] The images at the current layer in the first target signal network image and the second target signal network image are continuous, which can be referenced. Figure 3 understand, Figure 3 PCB1 is the PCB layout file to be checked, and PCB2 is the PCB layout file to be compared. Figure 3 The images displayed are all signal networks and do not contain components. It can be seen that PCB1 has an open circuit; this open circuit location is the difference location in PCB2. After removing this difference location from the target signal network image of PCB2, the target signal network images on both the left and right sides can still pass through. Figure 3 A signal line located above the difference position is used to connect the two target signal network images, which are still continuous in the current layer, so the two target signal networks have a signal connection in the current layer.
[0112] Step a4: If the images of the first target signal network image and the second target signal network image are continuous in the current layer, it indicates that the first target signal network and the second target signal network have signal connection in the current layer. Then, it is determined that the difference position is not the open circuit position of the PCB layout to be inspected.
[0113] Step a5: If the images in the current layer of the first target signal network image and the second target signal network image are discontinuous, determine whether there are vias at both ends of the first target signal network image and the second target signal network image;
[0114] Step a6: If neither the first target signal network image nor the second target signal network image has a via, or if only one end of either the first target signal network image or the second target signal network image has a unique via, determine the difference location as the open circuit location of the PCB layout to be inspected.
[0115] Step a7: If there are vias at both ends of the first target signal network image and the second target signal network image, take the next layer of the current layer as the current layer, return to step a3, and continue until the last PCB layer of the signal network where the difference is located is determined.
[0116] Where vias exist at both ends of the first target signal network image and the second target signal network image, please refer to the next layer image for continuity. Figure 4 Understanding. From Figure 4 As can be seen, PCB2 achieves image continuity in the (n-1)th layer.
[0117] When the location of the difference is connected to more than two target signal networks, the process in S41 is similar to the process described above, and this process may include the following steps:
[0118] Step b1: Determine the PCB layer where the difference is located in the comparison PCB layout file, and use it as the current layer;
[0119] Step b2: Remove the image at the difference location from the image of the target signal network to obtain the images of the multiple target signal networks that were originally connected to the difference location.
[0120] Please see Figure 5 Understand the difference locations and the images of the difference locations. Figure 5 Take the connection between this difference location and the three target signal networks as an example.
[0121] Step b3: Based on the continuity of image pixels, determine whether the images in the current layer of each of the multiple target signal networks are all consecutive in pairs;
[0122] Pairwise continuity means that the images of each pair of target signal networks are continuous in the current layer.
[0123] Step b4: If the images of the multiple target signal networks in the current layer are all consecutive in pairs, it means that the multiple target signal networks have signal connections in the current layer. Then, it is determined that the difference position is not the open circuit position of the PCB layout to be inspected.
[0124] Step b5: If there are two discontinuous target signal networks in the current layer of the image of each of the multiple target signal networks, the two discontinuous target signal networks are taken as a target signal network pair, and it is determined whether there are vias at both ends of the target signal network pair in the current layer image;
[0125] Step b6: If there are no vias at either end of the image of the target signal network pair, or only one via exists at one end of any image, determine the difference location as the open circuit location of the PCB layout to be inspected.
[0126] Step b7: If there are vias at both ends of the image of the target signal network pair, take the next layer of the current layer as the current layer, return to step b3, and continue until the last PCB of the signal network where the difference is located is determined.
[0127] In the above embodiments, for any discrepancy location, processing is performed in the comparison PCB layout file. The image of the discrepancy location is removed from the comparison target signal network image. When the discrepancy location is connected to two or more target signal networks, the open circuit location in the PCB layout to be inspected is determined by judging the signal connectivity between the obtained target signal networks. This embodiment compares the PCB layout file to be inspected with the comparison PCB layout file, which serves as the original CAD data, to find discrepancies. The open circuit location is obtained by judging the image continuity in the comparison PCB layout file. This can accurately obtain the specific location of open and short circuits. Compared with manual inspection, there are no errors or omissions that exist in manual inspection. The accuracy rate is high and the time is short, which improves the efficiency of inspection, avoids unnecessary rework and losses in the PCB manufacturing process, greatly shortens the PCB manufacturing time, reduces cost investment, and effectively realizes the automated detection of open circuit locations.
[0128] In one optional implementation, for S4, when, after removing the image at the difference location from the comparison target signal network image, the difference location is connected to only two target signal networks, determining the open circuit location in the PCB layout to be inspected based on the difference location may include:
[0129] S421, Locate the undetermined open circuit location in the PCB layout file to be checked in the difference location;
[0130] The principles for determining the locations of potential openings can be established by designers based on their experience. Generally speaking, when faced with multiple differing locations, designers, combining their own experience, can identify some of the more likely opening locations as potential locations.
[0131] S422, Measure the distance between any endpoint of the undetermined open-circuit position and other endpoints in the open-circuit signal network group of the layer in which it is located;
[0132] S423, determine the minimum value among all distances, and identify the two endpoints corresponding to the minimum value as open-path positions.
[0133] Please see Figure 6 understand, Figure 6 This is a schematic diagram illustrating open-circuit positioning achieved by measuring distance in an embodiment of the present invention; Figure 6The area between A and B represents the undetermined open-circuit location, with A and B being its two endpoints. The lines containing C and D represent the remaining signal networks in the open-circuit signal network group of the layer where the undetermined open-circuit location is located. For ease of understanding, the diagram uses a diode as an example to illustrate the device's position, with CD representing the endpoints at both ends of the device. In this embodiment, the distance between any endpoint of the undetermined open-circuit location and other endpoints in the open-circuit signal network group of the layer is measured. These other endpoints are the two endpoints of the device on the signal wiring in the open-circuit signal network group of the layer where the undetermined open-circuit location is located, such as the endpoints C and D mentioned above. Taking A as an example, this embodiment can calculate the distances between A and B, A and C, and A and D. Generally, the open-circuit location is very short. Therefore, the shortest of the three calculated distances should be the open-circuit location. The endpoints AB corresponding to the minimum distance are determined as the open-circuit location.
[0134] This implementation method can also accurately achieve automated detection of open-circuit locations by calculating distances.
[0135] In one alternative implementation, S4 may include the following steps:
[0136] S431, Locate the undetermined open circuit location in the PCB layout file to be checked in the difference location;
[0137] S432, the image of the difference position in the comparison target signal network image is placed at the undetermined open circuit position. If the image of the difference position is connected to the surrounding signal network of the undetermined open circuit position, and the image of the difference position and the surrounding signal network of the undetermined open circuit position form the same signal network as the comparison target signal network image in the PCB layout file to be checked, then the undetermined open circuit position is determined to be an open circuit position.
[0138] This implementation method achieves open-circuit localization by placing the image of the difference location in the comparison target signal network image at the undetermined open-circuit location. (See also...) Figure 7 Understanding this, if the image of the difference location in PCB2 is placed at the undetermined open circuit location in PCB1, and the signal network around the undetermined open circuit location on PCB1 can be connected by the image of the difference location, and the signal network formed after the connection is the same as the signal network in PCB2, then it indicates that the undetermined open circuit location is indeed an open circuit location.
[0139] Similarly, in an alternative implementation, S4 may include the following steps:
[0140] S441, Locate the undetermined open circuit location in the PCB layout file to be checked in the difference location;
[0141] S442, connect the two endpoints of the undetermined open circuit position to connect the different signal networks around the undetermined open circuit position. If the connection forms the same signal network in the PCB layout file to be checked as in the comparison PCB layout file, then the undetermined open circuit position is determined to be an open circuit position.
[0142] This implementation method is similar to the previous one. It connects the two endpoints of the undetermined open circuit position on PCB1, so that different signal networks around the undetermined open circuit position are connected. It is then determined whether the connected signal network is the same as the signal network in PCB2. If they are the same, it means that the undetermined open circuit position is indeed an open circuit position.
[0143] Compared to the previous implementation methods, the two implementation methods are similar and can also accurately achieve automated detection of open circuit locations.
[0144] Secondly, embodiments of the present invention also provide a PCB layout short-circuit location method, such as... Figure 8 As shown, the method includes steps s1 to s4. To distinguish it from the PCB layout open-circuit positioning method, the step numbers in the PCB layout short-circuit positioning method are in lowercase. Specifically:
[0145] s1. Obtain the Gerber file, drill file, and IPC netlist file of the PCB layout to be inspected, as the PCB layout file to be inspected; Obtain the original CAD data of the PCB layout to be inspected, as the comparison PCB layout file.
[0146] Please refer to step S1 in the first aspect for a better understanding of this step, which will not be repeated here.
[0147] s2, obtain the signal network with short circuit in the PCB layout file to be checked, as the target signal network to be checked; obtain the signal network group at the same position in the comparison PCB layout file corresponding to the target signal network to be checked, as the comparison target signal network group;
[0148] This invention can employ existing PCB layout short-circuit checking methods to obtain all signal networks with short circuits in the PCB layout file to be checked, which are all recorded as the target signal networks to be checked. One optional method can be implemented with reference to patent CN201811407159.X, in which the netlist networks with short-circuit problems identified by this patent are the target signal networks to be checked in this invention. The short circuit in the target signal network is caused by short-circuiting two or more target signal networks that should not be connected.
[0149] For each target signal network to be investigated, the signal network group corresponding to the same position in the comparison PCB layout file can be obtained through location information, and this group is used as the comparison target signal network group for that target signal network. Since there is no short circuit in the comparison target signal network group, it contains two or more signal networks. In this embodiment of the invention, each target signal network to be investigated is processed separately, and s2 to s4 are described using any one of the target signal networks to be investigated.
[0150] s3, acquire the target signal network image to be investigated and the comparison target signal network group image, and obtain the difference position between the target signal network image to be investigated and the comparison target signal network group image based on the continuity of image pixels. The difference position is the suspected location of short circuit in the conductor of the same layer of PCB.
[0151] The image of the target signal network to be investigated refers to the image corresponding to the target signal network to be investigated. The image of the comparison target signal network group refers to the image corresponding to the comparison target signal network group.
[0152] Among them, the target signal network image to be investigated and the comparison target signal network group image may have multiple differences, and the differences are determined by the coordinates of each endpoint and the PCB layer in which they are located.
[0153] The difference location is the suspected location of a short circuit in the same layer of the PCB conductor; in this embodiment of the invention, the difference location is only the case of a short circuit in the middle of the same layer conductor.
[0154] s4, determine the short circuit location in the PCB layout to be inspected based on the difference location.
[0155] In one alternative implementation, s4 may include the following steps:
[0156] s41, for any difference location, remove the image of the difference location from the image of the target signal network to be inspected. When the difference location is connected to two or more target signal networks, determine the short circuit location in the PCB layout to be inspected by judging the signal connectivity between the obtained target signal networks.
[0157] In this embodiment of the invention, the image of the difference location is a wire or a via with an electrical connection, and s4 is executed sequentially for each difference location.
[0158] In one optional implementation, s41 may include the following steps:
[0159] s411, determine the PCB layer where the difference location is located in the PCB layout file to be checked, and remove the image of the difference location in the image of the target signal network to be checked in the PCB layer where the difference location is located, to obtain the images of each target signal network originally connected to the difference location;
[0160] In this embodiment of the invention, steps s411 to s414 are performed in the PCB layout file to be inspected. Regarding s411, it can be understood that after removing the difference location, the original target signal network to be inspected is split into two or more target signal networks, and images of each target signal network can be obtained.
[0161] In s411, based on the endpoint coordinates and the PCB layer they are located on, the PCB layer where the difference is located can be determined in the PCB layout file to be checked.
[0162] s412, the PCB layer where the difference location is located to the last PCB layer of the signal network where the difference location is located are sequentially used as the current layer to perform the judgment step. The judgment step includes determining whether each target signal network satisfies the requirement of having signal connection in the current layer based on the pixel continuity of the image of each target signal network.
[0163] Since signal networks can be connected on different PCB layers, the judgment steps need to be performed layer by layer.
[0164] Each target signal network satisfies the requirement of having signal connections at the current layer, including:
[0165] In the images of each target signal network, the images in the current layer are all consecutive.
[0166] Specifically, in the images of each target signal network, the fact that the images in the current layer are consecutive in pairs is used as a direct condition to determine that the current layer has signal connections.
[0167] If there are only two target signal networks, the above condition is that the images of these two target signal networks in the current layer are continuous; if there are more than two target signal networks, the above condition is that the images of every two target signal networks in the current layer are continuous.
[0168] In the above conditions, the continuity of two images in the current layer is determined by the continuity of image pixels. When they belong to the same signal network, the colors of the signal wiring are the same. If the two images to be judged are in the current layer and are connected by other signal lines except for the difference position, then it can be directly determined that the two images to be judged are continuous in the current layer.
[0169] If the above conditions are not met, it is necessary to further use the vias in the image to determine whether each target signal network may have a signal connection in the next layer. If it is possible that there is a signal connection in the next layer, the next layer is used as the current layer and the judgment step is executed again until the last PCB layer of the signal network where the difference is located is judged.
[0170] If s413 is satisfied, it is determined that the difference location is not a short circuit location of the PCB layout to be inspected;
[0171] If the above conditions are met, it can be directly determined that each target signal network has a signal connection in the current layer, and the difference location is not the short circuit location of the PCB layout to be inspected.
[0172] If s414 is not satisfied, determine the two target signal networks that do not have signal connections in the current layer as target signal network pairs, and determine the short circuit location of the PCB layout to be inspected based on the difference position between the target signal network pairs.
[0173] Specifically, s414 may include the following steps:
[0174] Step 1), identify two target signal networks that do not have signal connections in the current layer as target signal network pairs;
[0175] In the images of each target signal network, if there are two discontinuous target signal networks in the current layer, they are identified as a target signal network pair.
[0176] Step 2), determine whether there are vias at both ends of the image in the current layer of the target signal network;
[0177] Here, the via refers to a via that has an electrical connection;
[0178] Step 3): If the target signal network pair has no vias at either end of the image in the current layer, or has a via at only one end of any image, the difference position between the target signal network pairs is determined as the short-circuit position.
[0179] If the target signal network pair has no vias at either end of the image in the current layer, or has a via at only one end of the image, it indicates that the target signal network pair definitely does not have a signal connection, and the difference position between the target signal network pairs is determined as a short circuit position.
[0180] Step 4): If the target signal network has vias at both ends of the image in the current layer, the next layer after the current layer is recorded as the current layer, and the process returns to the judgment step.
[0181] If the target signal network pair has vias at both ends of the image in the current layer, it indicates that the target signal network pair may have signal connections in the next layer, so it needs to be judged again.
[0182] After the judgment is completed, the difference positions between all target signal network pairs constitute the short circuit positions of the PCB layout file to be checked.
[0183] For ease of understanding, the process of s41 will be described below with the difference location connected to only two target signal networks. This process may include the following steps:
[0184] Step c1: Determine the PCB layer where the difference is located in the PCB layout file to be checked, and use it as the current layer;
[0185] Step c2: Remove the image at the difference position in the target signal network image to be investigated, and obtain the images of the third target signal network and the fourth target signal network that were originally connected to the difference position, respectively, as the third target signal network image and the fourth target signal network image;
[0186] Step c3: Determine whether the images in the current layer of the third target signal network image and the fourth target signal network image are continuous based on the continuity of image pixels;
[0187] The images in the current layer of the third target signal network image and the fourth target signal network image are continuous and can be referenced. Figure 9 understand, Figure 9 PCB1 is the PCB layout file to be checked, and PCB2 is the PCB layout file to be compared. Figure 9 The images displayed are all signal networks and do not contain any components. It can be seen that PCB1 has a short circuit; this short open circuit location is the difference location within PCB1. After removing this difference location from the target signal network image of PCB1, the target signal network images on both the left and right sides can still be viewed. Figure 9 A signal line located above the difference position is used to connect the two target signal network images, which are still continuous in the current layer, so the two target signal networks have a signal connection in the current layer.
[0188] Step c4: If the images of the third target signal network image and the fourth target signal network image are continuous in the current layer, it indicates that the third target signal network and the fourth target signal network have signal connection in the current layer. Then, it is determined that the difference position is not the short circuit position of the PCB layout to be inspected.
[0189] Step c5: If the images in the current layer of the third target signal network image and the fourth target signal network image are discontinuous, determine whether there are vias at both ends of the third target signal network image and the fourth target signal network image;
[0190] Step c6: If neither the third target signal network image nor the fourth target signal network image has a via, or if only one end of either the third target signal network image or the fourth target signal network image has a unique via, then the difference location is determined to be the short circuit location of the PCB layout to be inspected.
[0191] Step c7: If both ends of the third target signal network image and the fourth target signal network image have vias, take the next layer of the current layer as the current layer, return to step c3, and continue until the last PCB layer of the signal network where the difference is located is determined.
[0192] When both ends of the third target signal network image and the fourth target signal network image have vias, please refer to the following for the next layer image continuity. Figure 10 Understanding. From Figure 10 As can be seen, PCB1 achieves image continuity in the (n-1)th layer.
[0193] When the location of the difference is connected to more than two target signal networks, the process of s41 is similar to the process described above, and this process may include the following steps:
[0194] Step d1: Determine the PCB layer where the difference is located in the PCB layout file to be checked, and use it as the current layer;
[0195] Step d2: Remove the image at the difference location from the image of the target signal network to be investigated, and obtain the images of the multiple target signal networks that were originally connected to the difference location.
[0196] Please see Figure 11 Understanding the differences in location and the images of those differences. Figure 11 Take the connection between this difference location and the three target signal networks as an example.
[0197] Step d3: Based on the continuity of image pixels, determine whether the images in the current layer of each of the multiple target signal networks are all consecutive in pairs;
[0198] Pairwise continuity means that the images of each pair of target signal networks are continuous in the current layer.
[0199] Step d4: If the images of the multiple target signal networks in the current layer are all consecutive in pairs, it means that the multiple target signal networks have signal connections in the current layer. Then, it is determined that the difference position is not the short circuit position of the PCB layout to be inspected.
[0200] Step d5: If there are two discontinuous target signal networks in the current layer of the image of each of the multiple target signal networks, the two discontinuous target signal networks are taken as a target signal network pair, and it is determined whether there are vias at both ends of the target signal network pair in the current layer image.
[0201] Step d6: If there are no vias at either end of the image of the target signal network pair, or only one via exists at one end of any image, the difference location is determined to be the short circuit location of the PCB layout to be inspected.
[0202] Step d7: If there are vias at both ends of the image of the target signal network pair, take the next layer of the current layer as the current layer, return to step d3, and continue until the last PCB of the signal network where the difference is located is determined.
[0203] In the above embodiments, for any discrepancy location, processing is performed on the PCB layout file to be inspected. The image of the discrepancy location is removed from the image of the target signal network to be inspected. When the discrepancy location is connected to two or more target signal networks, the short circuit location in the PCB layout to be inspected is determined by judging the signal connectivity between the obtained target signal networks. This embodiment compares the PCB layout file to be inspected with a comparison PCB layout file that serves as the original CAD data to find discrepancies. The short circuit location is obtained by judging the image continuity on the PCB layout file to be inspected. This can accurately obtain the specific location of the short circuit. Compared with manual inspection, there are no errors or omissions that exist in manual inspection. It has a high accuracy rate and is quick, improving inspection efficiency, avoiding unnecessary rework and losses in the PCB manufacturing process, greatly shortening PCB manufacturing time, reducing cost investment, and effectively realizing automated detection of short circuit locations.
[0204] It should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0205] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.
[0206] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A method for open circuit location of a PCB layout, characterized in that, The application relates to a method for checking open circuit position of PCB, comprising the following steps: obtaining Gerber file, drill file and IPC netlist file of a PCB to be checked as PCB to be checked file; obtaining original CAD data of the PCB to be checked as comparison PCB file; obtaining signal network group with open circuit in the PCB to be checked as target signal network group to be checked; obtaining signal network corresponding to the same position in the comparison PCB file as target signal network to be compared; obtaining target signal network group image and target signal network to be compared image, and obtaining difference position of the target signal network group image and the target signal network to be compared image according to image pixel continuity; determining open circuit position in the PCB to be checked based on the difference position.
2. The method of claim 1, wherein, The method for checking open circuit position of PCB, comprising the following steps: for any difference position, removing the image of the difference position in the target signal network to be compared image, and when the difference position is connected with two or more target signal networks, determining the open circuit position in the PCB to be checked by judging signal connectivity between the target signal networks.
3. The method of claim 2, wherein, The method for checking open circuit position of PCB, comprising the following steps: determining the PCB layer where the difference position is located in the comparison PCB file, removing the image of the difference position in the target signal network to be compared image in the PCB layer where the difference position is located, and obtaining the image of each target signal network connected with the difference position; taking the PCB layer where the difference position is located and the last PCB layer of the signal network where the difference position is located as current layer in sequence to execute the judging step, and the judging step comprises judging whether each target signal network satisfies signal connection in the current layer based on pixel continuity of the image of each target signal network; if yes, determining that the difference position is not the open circuit position of the PCB to be checked; if no, determining two target signal networks without signal connection in the current layer as target signal network pair, and determining the open circuit position of the PCB to be checked based on the difference position between the target signal network pair.
4. The method of claim 1, wherein, When the image of the difference position is removed in the target signal network to be compared image, and the difference position is connected with only two target signal networks, the method for determining the open circuit position in the PCB to be checked based on the difference position comprises the following steps: finding the pending open circuit position in the PCB to be checked in the difference position; measuring the distance between any end point of the pending open circuit position and other end points of the open circuit signal network group in the layer where the pending open circuit position is located; judging the minimum value in all distances, and determining the two end points corresponding to the minimum value as the open circuit position.
5. A PCB open circuit location device, characterized by, The application further relates to a device for checking open circuit position of PCB, comprising the following steps: a processor; a memory connected with the processor and storing a program; the processor is configured to execute the program to realize the method for checking open circuit position of PCB. The file acquisition module is configured to acquire a Gerber file, a drill file and an IPC netlist file of a PCB layout to be checked as a PCB layout file to be checked; The CAD data acquisition module is configured to acquire original CAD data of the PCB layout to be checked as a comparison PCB layout file; The target signal network group acquisition module is configured to acquire a signal network group with an open circuit in the PCB layout file to be checked as a target signal network group to be checked, and acquire a signal network corresponding to the target signal network group to be checked at the same position in the comparison PCB layout file as a comparison target signal network. The difference position acquisition module is configured to acquire a target signal network group image and a comparison target signal network image, and acquire a difference position of the target signal network group image and the comparison target signal network image based on image pixel continuity. The open circuit position positioning module is configured to determine an open circuit position in the PCB layout to be checked based on the difference position.
6. A method of locating a short on a PCB layout, the method comprising: The file acquisition module is configured to acquire a Gerber file, a drill file and an IPC netlist file of a PCB layout to be checked as a PCB layout file to be checked; The CAD data acquisition module is configured to acquire original CAD data of the PCB layout to be checked as a comparison PCB layout file; The target signal network acquisition module is configured to acquire a signal network with a short circuit in the PCB layout file to be checked as a target signal network to be checked, and acquire a signal network group corresponding to the target signal network to be checked at the same position in the comparison PCB layout file as a comparison target signal network group. The difference position acquisition module is configured to acquire a target signal network group image and a comparison target signal network group image, and acquire a difference position of the target signal network group image and the comparison target signal network group image based on image pixel continuity. The short circuit position positioning module is configured to determine a short circuit position in the PCB layout to be checked based on the difference position. The short circuit position positioning module is configured to determine a short circuit position in the PCB layout to be checked based on the difference position, including:
7. The method of claim 6, wherein, For any difference position, the image of the difference position is removed in the target signal network image to be checked, and when the difference position is connected to two or more target signal networks, the signal connectivity between the obtained target signal networks is determined to determine the short circuit position in the PCB layout to be checked. The short circuit position positioning module is configured to determine a short circuit position in the PCB layout to be checked based on the difference position, including:
8. The method of claim 7, wherein, In the PCB layout file to be checked, the PCB layer where the difference position is located is determined, and in the PCB layer where the difference position is located, the image of the difference position in the target signal network image to be checked is removed to obtain the images of the target signal networks connected to the difference position originally; The PCB layer where the difference position is located to the last PCB layer of the signal network where the difference position is located is sequentially taken as a current layer to perform a judgment step, the judgment step comprising judging whether each target signal network satisfies having signal connection in the current layer based on pixel continuity of images of each target signal network; If satisfied, it is determined that the difference position is not a short circuit position of the PCB layout to be checked; If not satisfied, it is determined that two target signal networks without signal connection in the current layer are taken as a target signal network pair, and a short circuit position of the PCB layout to be checked is determined based on the difference position between the target signal network pair.
9. A PCB shorted trace location device, comprising: Comprise: A file acquisition module is configured to acquire a Gerber file, a drill file and an IPC netlist file of a PCB layout to be checked as a PCB layout file to be checked; Acquire the original CAD data of the PCB layout to be checked as the comparison PCB layout file; A target signal network and a comparison target signal network group acquisition module is configured to acquire a signal network with a short circuit in the PCB layout to be checked as a target signal network to be checked, and acquire a signal network group corresponding to the same position in the comparison PCB layout file as a comparison target signal network group corresponding to the target signal network to be checked; A difference position acquisition module is configured to acquire an image of the target signal network to be checked and an image of the comparison target signal network group, and obtain a difference position of the image of the target signal network to be checked and the image of the comparison target signal network group according to pixel continuity of the images; A short circuit position positioning module is configured to determine a short circuit position in the PCB layout to be checked based on the difference position.
10. An electronic device, comprising: Comprise a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface, the memory complete mutual communication through the communication bus; The memory is used to store a computer program; The processor is used to execute the program stored in the memory, and realize the steps of the PCB layout open circuit positioning method of any one of claims 1-4, or realize the steps of the PCB layout short circuit positioning method of any one of claims 6-8. 11.A computer readable storage medium, comprising: The computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the steps of the PCB layout open circuit positioning method of any one of claims 1-4, or realize the steps of the PCB layout short circuit positioning method of any one of claims 6-8.
Citation Information
Patent Citations
Open-short circuit inspection method, detection system and electronic equipment for PCB design layout
CN109543307A