PCB independent network checking method and device, computer device and storage medium
By automatically determining the connection information of PCB footprint and pins, the problem of low pin connection inspection efficiency in PCB design is solved, and efficient and accurate independent network inspection is achieved.
Patent Information
- Application Number
- CN202110528110.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-14
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2041-05-14
AI Technical Summary
In existing technologies, it is difficult to automatically check whether the pin connections are correct during PCB design, resulting in low efficiency and easy omissions in manual inspection, and making it impossible to ensure that the schematic diagram is consistent with the actual requirements.
By determining the PCB footprint and pins, the system obtains connection information, automatically identifies the pin network type, records information about individual networks, and generates an inspection result report.
It enables efficient and accurate independent network inspection of PCBs, reduces manual intervention, and improves inspection efficiency and accuracy.
Smart Images

Figure CN113221502B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronic automation, and in particular, relates to a PCB independent network checking method and device, computer equipment and a storage medium. BACKGROUND
[0002] With the increasing complexity of PCB (Printed Circuit Board) design, more and more devices are on the PCB, and the volume of components is getting smaller. For PCB design, the PCB schematic diagram is generally designed first, and then the PCB schematic diagram is synchronized to the PCB design file.
[0003] In the PCB schematic diagram making, when connecting the device pins with lines, it is difficult to avoid not connecting due to the schematic diagram connection points or other lines blocking, etc. For example, as shown in FIG. 1, in the design, it is hoped that the pin 1 and the pin 2 are connected with the pins of another device at the same time, and the actual made schematic diagram is as shown in FIG. 2. Figure 1 In the making diagram, line 1 is connected with line 2, and line 1 and line 2 are not connected with line 3, which obviously does not meet the design requirements, but it is difficult to see that line 3 is not connected with line 1 and line 2 by naked eyes. Figure 1
[0004] In addition, since the pin 1 and the pin 2 in the making diagram have formed a network connection and have connectivity, the design process will not report an error. When the PCB schematic diagram is synchronized to the PCB design file, since the PCB package diagram itself has network connectivity, the error will not be checked in the PCB design file process, and there is a certain checking omission.
[0005] In order to ensure the accuracy of the schematic diagram, the existing technology generally adopts the way of manually moving the schematic diagram connection line by manual work to check whether the connection line is disconnected to ensure that the made schematic diagram is consistent with the actual requirements. Specifically, line 3 is moved, since line 3 is not connected with line 1 and line 2, the result shown in the checking diagram in FIG. 3 is obtained, and the problem is found. Figure 1
[0006] In the existing technology, the way of manually checking the schematic diagram connection line by manual work is needed to determine whether the line connection is correct, which has a large workload, low efficiency, and is easy to cause missed detection due to manual negligence. SUMMARY
[0007] In view of the above problems, the present application is proposed to provide a PCB independent network checking method, device, computer equipment and storage medium to overcome the above problems or at least partially solve the above problems.
[0008] To solve the above problems, the embodiment of the application discloses a PCB independent network checking method, the method comprises:
[0009] determining a PCB package diagram contained in the to-be-checked PCB;
[0010] determining a pin corresponding to each of the PCB package diagrams;
[0011] obtaining connection information of each pin; the connection information comprises a PCB package diagram connected with a pin line;
[0012] when the PCB package diagram in the connection information only comprises a PCB package diagram to which the pin belongs, determining that a network corresponding to the pin is an independent network;
[0013] recording information of the independent network.
[0014] In one embodiment, the obtaining of the connection information of each pin comprises:
[0015] for each pin, determining a line connected with the pin;
[0016] obtaining a PCB package diagram connected with the line;
[0017] determining a set of the PCB package diagrams connected with the line as the connection information of the pin.
[0018] In one embodiment, the recording of the information of the independent network comprises:
[0019] recording, according to a preset specification, a pin identifier of the pin connected with the independent network and a package identifier of the PCB package diagram to which the pin belongs into a checking result report.
[0020] In one embodiment, the recording of the information of the independent network further comprises:
[0021] recording, in the checking report, a coordinate position of the pin connected with the independent network in the PCB.
[0022] In one embodiment, the method further comprises:
[0023] displaying the checking result report.
[0024] In one embodiment, the method further comprises:
[0025] receiving a display instruction; the display instruction comprises a target PCB identifier;
[0026] obtaining, from a plurality of checking result reports, a target checking result report corresponding to the target PCB;
[0027] display the target inspection result report.
[0028] In one embodiment, the method further comprises:
[0029] receiving a trigger operation for a coordinate position of a pin in the inspection result report;
[0030] marking the pin displaying the coordinate position in the PCB corresponding to the inspection result report.
[0031] Embodiments of the present application provide a PCB independent network inspection device, the device comprising:
[0032] a first determination module configured to determine PCB package diagrams contained in a to-be-inspected PCB;
[0033] a second determination module configured to determine pins corresponding to each of the PCB package diagrams;
[0034] a connection information acquisition module configured to acquire connection information of each pin; the connection information comprising PCB package diagrams connected with a pin line;
[0035] an independent network determination module configured to determine a network corresponding to the pin as an independent network when the PCB package diagrams in the connection information only comprise the PCB package diagram to which the pin belongs;
[0036] an information recording module configured to record information of the independent network.
[0037] In one embodiment, the connection information acquisition module comprises:
[0038] a line determination module configured to determine a line connected with the pin for each pin;
[0039] a line connection acquisition module configured to acquire a PCB package diagram connected with the line;
[0040] a connection information determination module configured to determine a set of the PCB package diagrams connected with the line as the connection information of the pin.
[0041] In one embodiment, the information recording module is specifically configured to:
[0042] record a pin identifier of the pin connected with the independent network and a package identifier of the PCB package diagram to which the pin belongs into an inspection result report according to a preset specification.
[0043] In one embodiment, the information recording module is further configured to:
[0044] record a coordinate position of the pin connected with the independent network in the PCB in the inspection report.
[0045] In an embodiment, the apparatus further includes:
[0046] a display module configured to display the inspection result report.
[0047] In an embodiment, the apparatus further includes:
[0048] an instruction receiving module configured to receive a display instruction; the display instruction includes a target PCB identifier;
[0049] a target report determining module configured to obtain a target inspection result report corresponding to the target PCB from a plurality of inspection result reports;
[0050] a target report display module configured to display the target inspection result report.
[0051] In an embodiment, the apparatus further includes:
[0052] a trigger operation receiving module configured to receive a trigger operation for a coordinate position of the pin in the inspection result report;
[0053] a pin marking module configured to mark the pin displaying the coordinate position in a PCB corresponding to the inspection result report.
[0054] Embodiments of the present application provide a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements steps of a PCB independent network inspection method provided by any of embodiments of the present application when executing the computer program.
[0055] Embodiments of the present application provide a computer readable storage medium, which stores a computer program, and the computer program implements steps of a PCB independent network inspection method provided by any of embodiments of the present application when executed by a processor.
[0056] Compared with the background art, embodiments of the present application have the following advantages:
[0057] In embodiments of the present application, a PCB package diagram contained in a to-be-inspected PCB is determined; pins corresponding to each PCB package diagram are determined; connection information of each pin is obtained; the connection information includes a PCB package diagram connected with a pin line; when the PCB package diagram in the connection information only includes a PCB package diagram to which the pin belongs, a network corresponding to the pin is determined as an independent network; and information of the independent network is recorded. The embodiments can realize automatic inspection of a PCB independent network, and automatically record relevant information of the independent network, with high accuracy and high efficiency. BRIEF DESCRIPTION OF DRAWINGS
[0058] Figure 1Fig. 1 is a schematic diagram of a prior art PCB independent network checking method;
[0059] Figure 2 Fig. 2 is a schematic diagram of a step flow of a PCB independent network checking method in one embodiment;
[0060] Figure 3 Fig. 3 is a schematic diagram of a PCB to be checked in one embodiment;
[0061] Figure 4 Fig. 4 is a schematic diagram of a step flow of a PCB independent network checking method in one embodiment;
[0062] Figure 5 Fig. 5 is a structural block diagram of a PCB independent network checking device in one embodiment;
[0063] Figure 6 Fig. 6 is an internal structural diagram of a computer device in one embodiment. DETAILED DESCRIPTION
[0064] In order to make the above objectives, features and advantages of the present application more apparent, further specific embodiments of the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.
[0065] First, the terms are defined and explained:
[0066] PCB: Printed Circuit Board, printed circuit board; is an important electronic component, is the support of electronic components, is the carrier of electrical connection between electronic components.
[0067] PCB package diagram: PCB-Package, indicating the parameters of components (such as length and width, size of pads, spacing, etc.) diagram, used to call when drawing PCB.
[0068] PCB network: PCBNet, the network formed by the mutual connection of component pins, determines a connection relationship.
[0069] Network name: give the name of this connection relationship, that is, the network name, the default with the same network name has a connection relationship.
[0070] Independent network: IndependentNet, abbreviated as INDNet, refers to the connection of two or more pins on a single PCB package diagram to form a network, and the network is not connected to other PCB package diagram pins, that is, the network of only the pins of the PCB package diagram are interconnected.
[0071] Script: is an extension of batch files, is a kind of program saved in pure text.
[0072] In one embodiment, as shown in Figure 2 A PCB independent network checking method is provided. The method can be applied to the PCB design stage to check the PCB independent network to find the specific location of the pin connected by the independent network. The method can be executed by a PCB independent network checking device, which can be implemented in software and / or hardware and integrated into a PCB design device or a third-party electronic device.
[0073] In this embodiment, the method can include the following steps:
[0074] Step 101, determine the PCB package diagram contained in the to-be-inspected PCB.
[0075] Step 102, determine the pins corresponding to each PCB package diagram.
[0076] Wherein, the to-be-inspected PCB refers to the PCB to be checked for the PCB independent network. The PCB contains multiple PCB package diagrams, and each PCB package diagram includes multiple pins.
[0077] It should be noted that in the PCB design, multiple PCB package diagrams in the same PCB have a unique corresponding package identifier; the pins in the same PCB package diagram have a unique corresponding pin identifier. However, different PCB package diagrams can contain pins with the same pin identifier. Wherein, the package identifier can be the name or serial number of the PCB package diagram, which can serve as a unique identifier; the pin identifier can be the serial number of the pin in the corresponding PCB package diagram, which can serve as a unique identifier within the corresponding PCB package diagram.
[0078] In this embodiment, by determining the PCB package diagram contained in the to-be-inspected PCB and recording the package identifier of each PCB package diagram, for each PCB package diagram, further determine the pins corresponding to the PCB package diagram, i.e. the pins contained in the PCB package diagram, record the pin identifier of each pin, and at the same time, establish the corresponding relationship between the pin identifier and the package identifier, so that in the subsequent process of checking the PCB independent network, the corresponding PCB package diagram of the pin of the independent network can be determined according to the above-mentioned corresponding relationship, and then the specific location of the pin can be quickly located when the independent network is processed subsequently, facilitating subsequent processing and improving the efficiency of subsequent processing.
[0079] Step 103, obtain the connection information of each pin; the connection information includes the PCB package diagram connected to the pin line.
[0080] Step 104, when the PCB package graph in the connection information only contains the PCB package graph to which the pin belongs, it is determined that the network corresponding to the pin is an independent network.
[0081] In this embodiment, for each PCB package graph, each pin in the PCB package graph is sequentially traversed, for each pin, the line connected by the pin is determined, and then the PCB package graph connected by the line is acquired, and the set of all PCB package graphs connected by the line connected by the pin is taken as the connection information of the pin.
[0082] In a specific implementation, when a pin has no connected line, it can be considered that the PCB package graph in the connection information of the pin is empty, and it is determined that the network corresponding to the pin is a single-ended network.
[0083] Exemplarily, as shown in Figure 3 , Figure 3 a schematic diagram of a to-be-inspected PCB provided in this embodiment; the to-be-inspected PCB includes a PCB package graph U1 and a PCB package graph U2; the PCB package graph U1 includes eight pins, and the corresponding pin identifiers are Pin1-Pin8 respectively; the PCB package graph U2 includes four pins, and the corresponding pin identifiers are Pin1-Pin4 respectively.
[0084] Taking the pin Pin1 of the PCB package graph U1 as an example, the pin Pin1 has no connected line, and therefore, it is determined that the network corresponding to the pin Pin1 is a single-ended network.
[0085] Alternatively, when the other end of the line connected by a pin is not connected to a pin of any PCB package graph, it can also be considered that the PCB package graph in the connection information of the pin is empty, and it is determined that the network corresponding to the pin is a single-ended network.
[0086] Exemplarily, taking the pin Pin2 of the PCB package graph U1 in Figure 3 as an example, the pin Pin2 is connected to a line, but the other end of the line is not connected to a pin of any PCB package graph, and therefore, it is determined that the network corresponding to the pin Pin2 is a single-ended network.
[0087] It can be understood that a single-ended network, also known as a single-point network, refers to a network in which only one pin of one package is connected, and the network is not connected to the pin of the same package and other pins of other packages.
[0088] When the other end of the line connected by a pin is connected to a pin of a PCB package graph other than the PCB package graph to which the pin belongs, it is considered that the PCB package graph in the connection information of the pin is the other PCB package graph, and it is determined that the network corresponding to the pin is a non-independent network.
[0089] Exemplarily, taking the pin Pin3 of the PCB package graph U1 in Figure 3For example, the pin Pin5 of the PCB package U1 in the figure is taken as an example. The other end of the line of the pin Pin5 is connected to the pin Pin2 of the PCB package U2. Therefore, the network corresponding to the pin Pin5 is a non-independent network.
[0090] Alternatively, when the other end of the line connected by a pin is connected to other pins of the PCB package to which the pin belongs and to pins of other PCB packages outside the PCB package to which the pin belongs, the PCB package in the connection information of the pin is considered to be the set of the PCB package to which the pin belongs and the other PCB packages, and it is determined that the network corresponding to the pin is a non-independent network.
[0091] For example, the pin Pin6 of the PCB package U1 in the figure is taken as an example. The other end of the line of the pin Pin6 is connected to the pin Pin1 of the PCB package U2 and to the pin Pin7 of the PCB package U1. Therefore, the network corresponding to the pin Pin6 is a non-independent network. Figure 3 It can be understood that the non-independent network refers to a PCB network in which the pins of two or more packages are connected.
[0092] When the other end of the line connected by a pin is connected to only other pins of the PCB package to which the pin belongs, the PCB package in the connection information of the pin is considered to be the PCB package to which the pin belongs, and it is determined that the network corresponding to the pin is an independent network.
[0093] For example, the pin Pin3 of the PCB package U1 in the figure is taken as an example. The other end of the line of the pin Pin3 is connected to the pin Pin4 of the PCB package U1. Therefore, the network corresponding to the pin Pin3 is an independent network.
[0094] Figure 3 It can be understood that the independent network refers to a PCB network in which two or more pins of one package are connected.
[0095] It can be understood that the independent network refers to a PCB network in which two or more pins of one package are connected.
[0096] According to the connection information of each pin in each PCB package, the network type corresponding to each pin can be determined, and the pin can be marked according to the network type. The network type includes an independent network, a non-independent network, and a single-ended network.
[0097] It should be noted that in an optional embodiment, when the actual requirement is to check the independent network, when determining the network type corresponding to the pin according to the connection information of the pin, only the independent network type can be determined and marked.
[0098] In step 105, the information of the independent network is recorded.
[0099] In the embodiment, information of the independent network needs to be recorded so as to determine whether the independent network meets the actual design requirement.
[0100] Specifically, the information of the independent network can include:
[0101] The pin identification of the pin connected to the independent network and the package identification of the PCB package to which the pin belongs are recorded in the inspection result report according to a preset specification.
[0102] In actual application, the preset specification can be represented by an inspection result report template. When it is determined that the network corresponding to the pin is an independent network, the pin identification of each pin connected to the independent network and the package identification of the PCB package to which the pin belongs are filled in the corresponding position of the inspection result report template to obtain the inspection result report. Moreover, when the network corresponding to the pin is an independent network in subsequent inspection, it can be determined whether the independent network has been recorded in the inspection result report. If the information of the independent network has been recorded in the inspection result report, the subsequent inspection is skipped. If the information of the independent network has not been recorded in the inspection result report, the pin identification of each pin connected to the independent network and the package identification of the PCB package to which the pin belongs are filled in the obtained inspection result report.
[0103] Generally, one PCB corresponds to one inspection result report, that is, the information of the independent network in one PCB is recorded in one inspection result report. Alternatively, one PCB package corresponds to one inspection result report, that is, the information of the independent network in one PCB package is recorded in one inspection result report.
[0104] Optionally, the recording of the pin identification of the pin connected to the independent network and the package identification of the PCB package to which the pin belongs in the inspection result report according to the preset specification can further include:
[0105] The coordinate position of the pin connected to the independent network in the PCB is recorded in the inspection report.
[0106] In the embodiment, the coordinate position of each pin in the PCB can be recorded in the inspection result report in addition to the pin identification of the pin connected to the independent network, so that the pins connected to the independent network can be quickly located in subsequent processing.
[0107] Specifically, during the PCB design process, the PCB design diagram thereof can be placed in a plane rectangular coordinate system. When the independent network is determined, the coordinate position of the pin can be determined according to the position of the pin connected to the independent network in the PCB, and the coordinate position information is recorded in the corresponding area of the inspection result report.
[0108] Further, the method can further include:
[0109] The inspection result report is displayed.
[0110] In this embodiment, when the inspection result report is generated or new information about the independent network is added in the inspection result report, the inspection result report is displayed on the corresponding display interface. Alternatively, when all the pins of the PCB or the PCB package diagram corresponding to the inspection result report are checked, the inspection result report is displayed on the corresponding display interface.
[0111] Further, the above method can further include:
[0112] receiving a display instruction; the display instruction includes a target PCB identifier;
[0113] obtaining a target inspection result report corresponding to the target PCB from a plurality of inspection result reports;
[0114] displaying the target inspection result report.
[0115] In this embodiment, when all the pins of the PCB or the PCB package diagram corresponding to the inspection result report are checked, the inspection result report can be saved. Therefore, a plurality of inspection result reports that have been checked can be stored. When a user needs to check the independent network inspection result of a certain PCB or the independent network inspection result of a certain PCB package diagram, a related display instruction can be sent, and when the display instruction is received, a target inspection result report can be determined according to the target PCB identifier or the target package identifier of the target PCB package diagram in the display instruction, and the target inspection result report is displayed on the display interface.
[0116] Further, the above method can further include:
[0117] receiving a trigger operation on a coordinate position of a pin in the inspection result report;
[0118] marking the pin at the coordinate position in the PCB corresponding to the inspection result report.
[0119] In this embodiment, the coordinate position of the pin of the independent network is recorded in the inspection result report, and the coordinate position can be linked to the actual position of the pin in the PCB. When a trigger operation on the coordinate position of any pin in the inspection result report is received, the pin at the coordinate position can be marked in the PCB corresponding to the inspection result report. The trigger operation can be a click operation, such as a single click or a double click.
[0120] For example, when a user clicks the coordinate position of any pin in the inspection result report, the interface can jump to the PCB design diagram corresponding to the inspection result report and locate the pin at the coordinate position clicked by the user, thereby facilitating the user to perform troubleshooting and correction and the like.
[0121] In the embodiment of the application, the PCB package diagram contained in the to-be-inspected PCB is determined; the pins corresponding to each PCB package diagram are determined; the connection information of each pin is obtained; the connection information includes the PCB package diagram connected with the pin line; when the PCB package diagram in the connection information only includes the PCB package diagram to which the pin belongs, it is determined that the network corresponding to the pin is an independent network; and the information of the independent network is recorded. The independent network of the PCB can be automatically inspected, and the related information of the independent network can be automatically recorded, which is high in accuracy and efficiency.
[0122] In order to facilitate the understanding of those skilled in the art, the PCB independent network inspection method provided by the embodiment of the application will be described in detail below in combination with specific examples.
[0123] The PCB independent network inspection method provided by the embodiment of the application can be written in SKILL language, created into a script file, loaded in the software of electronic design automation (EDA), and simultaneously generate corresponding inspection controls, for example, loaded in the Allegro PCB Editor module toolbar of the Cadence software. When used, the user can automatically load and run the script file corresponding to the PCB independent network inspection method by triggering the inspection control, and the PCB package diagram in the PCB is checked one by one by running the script file, and the inspection process shown in the following figure is performed. Figure 4
[0124] Step 401, determining the PCB package diagram of the PCB; specifically, each PCB package diagram can be determined according to the package name of the PCB package diagram contained in the PCB;
[0125] Step 402, determining the pin of the PCB package diagram; specifically, each pin can be determined according to the pin serial number of the pin contained in each PCB package diagram;
[0126] Step 403, obtaining the connection information of the pin;
[0127] Step 404, determining whether the network corresponding to the pin is an independent network according to the connection information; if yes, step 405 is performed; if no, step 406 is performed;
[0128] Step 405, recording the related information of the independent network, if the related information has been recorded, ignoring and continuing to perform step 307;
[0129] Step 406, not recording and continuing to perform step 407;
[0130] Step 407, checking the next pin and returning to step 403;
[0131] Step 408, checking the next PCB package diagram and returning to step 402;
[0132] Step 409, check ends, output check results.
[0133] By checking the PCB package diagram in the PCB one by one, for each PCB package diagram, the pins in the PCB package diagram are checked one by one, after a PCB package diagram is checked, the next PCB package diagram is checked, until all PCB package diagrams of the PCB are checked. After checking, the check result report is output in the corresponding interface, which can be a log file.
[0134] It should be understood that, although Figure 2 The steps in the flowchart are displayed in sequence according to the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of these steps has no strict order limitation, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps in the flowchart can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be alternately executed with other steps or sub-steps or stages of other steps.
[0135] In one embodiment, as shown in Figure 5 A PCB independent network checking device is provided, which can specifically include the following modules:
[0136] The first determination module 501 is configured to determine the PCB package diagram contained in the to-be-checked PCB.
[0137] The second determination module 502 is configured to determine the pins corresponding to each PCB package diagram.
[0138] The connection information acquisition module 503 is configured to acquire the connection information of each pin; the connection information includes the PCB package diagram connected with the pin line.
[0139] The independent network judgment module 504 is configured to determine that the network corresponding to the pin is an independent network when the PCB package diagram in the connection information only includes the PCB package diagram to which the pin belongs.
[0140] The information recording module 505 is configured to record the information of the independent network.
[0141] In one embodiment, the connection information acquisition module 503 includes:
[0142] The line determination module is configured to determine the line connected with the pin for each pin.
[0143] The line connection acquisition module is configured to acquire a PCB package diagram of the line connection.
[0144] The connection information determination module is configured to determine the set of the PCB package diagram of the line connection as the connection information of the pin.
[0145] In one embodiment, the information recording module 505 is specifically configured to:
[0146] record the pin identification of the pin of the independent network connection and the package identification of the PCB package diagram to which the pin belongs into the inspection result report according to a preset specification.
[0147] In one embodiment, the information recording module 505 is further configured to:
[0148] record the coordinate position of the pin of the independent network connection in the PCB in the inspection report.
[0149] In one embodiment, the apparatus further includes:
[0150] The display module is configured to display the inspection result report.
[0151] In one embodiment, the apparatus further includes:
[0152] The instruction receiving module is configured to receive a display instruction; the display instruction includes a target PCB identification.
[0153] The target report determination module is configured to acquire a target inspection result report corresponding to the target PCB from a plurality of inspection result reports.
[0154] The target report display module is configured to display the target inspection result report.
[0155] In one embodiment, the apparatus further includes:
[0156] The trigger operation receiving module is configured to receive a trigger operation for the coordinate position of the pin in the inspection result report.
[0157] The pin marking module is configured to mark and display the pin of the coordinate position in the PCB corresponding to the inspection result report.
[0158] The specific limitations of the PCB independent network inspection apparatus can refer to the limitations of the PCB independent network inspection method described above, which will not be repeated here. The various modules in the above PCB independent network inspection apparatus can be realized by software, hardware and combinations thereof, in whole or in part. The above various modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to call and execute the operations corresponding to the above various modules by the processor.
[0159] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, Near Field Communication (NFC), or other technologies. When executed by the processor, the computer program implements a PCB independent network inspection method. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0160] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0161] In one embodiment, the PCB stand-alone network inspection device provided in this application can be implemented as a computer program, which can be implemented in, for example... Figure 6 The computer device shown runs on this device. The computer device's memory can store the various program modules that make up this PCB independent network inspection device, for example... Figure 5 The first determining module 501, the second determining module 502, the connection information acquisition module 503, the independent network judgment module 504, and the information recording module 505 are shown. The computer program, composed of these modules, causes the processor to execute the steps in the PCB independent network inspection methods of the various embodiments of this application described in this specification.
[0162] In one embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, the computer device being connected to an auxiliary device, and the processor executing the computer program to perform the following steps:
[0163] Determine the PCB footprint of the PCB to be inspected;
[0164] Determine the pins corresponding to each PCB package diagram;
[0165] obtaining connection information of each pin; the connection information comprises a PCB package diagram connected with a pin line;
[0166] when the PCB package diagram in the connection information only contains a PCB package diagram to which the pin belongs, determining that a network corresponding to the pin is an independent network;
[0167] recording information of the independent network.
[0168] In an embodiment, the connection information of each pin is obtained, comprising:
[0169] for each pin, determining a line connected with the pin;
[0170] obtaining a PCB package diagram connected with the line;
[0171] determining a set of the PCB package diagrams connected with the line as the connection information of the pin.
[0172] In an embodiment, the information of the independent network is recorded, comprising:
[0173] pin identification of the pin connected with the independent network and package identification of a PCB package diagram to which the pin belongs are recorded into the inspection result report according to a preset specification.
[0174] In an embodiment, the information of the independent network is recorded, further comprising:
[0175] coordinates of the pin connected with the independent network in the PCB are recorded in the inspection report.
[0176] In an embodiment, the method further comprises:
[0177] displaying the inspection result report.
[0178] In an embodiment, the method further comprises:
[0179] receiving a display instruction; the display instruction comprises target PCB identification;
[0180] obtaining a target inspection result report corresponding to the target PCB from a plurality of inspection result reports;
[0181] displaying the target inspection result report.
[0182] In an embodiment, the method further comprises:
[0183] receiving a trigger operation for a coordinate position of a pin in the inspection result report;
[0184] marking and displaying the pin with the coordinate position in a PCB corresponding to the inspection result report.
[0185] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the computer readable storage medium is connected to an auxiliary device, and the computer program is executed by a processor to implement the following steps:
[0186] determining a PCB package diagram contained in the to-be-inspected PCB;
[0187] determining a pin corresponding to each PCB package diagram;
[0188] obtaining connection information of each pin; the connection information includes a PCB package diagram connected to a pin line;
[0189] when the PCB package diagram in the connection information only includes a PCB package diagram to which the pin belongs, determining that a network corresponding to the pin is an independent network;
[0190] recording information of the independent network.
[0191] In one embodiment, the connection information of each pin includes:
[0192] for each pin, determining a line connected to the pin;
[0193] obtaining a PCB package diagram connected to the line;
[0194] determining a set of the PCB package diagrams connected to the line as the connection information of the pin.
[0195] In one embodiment, the information of the independent network includes:
[0196] pin identification of the pin connected to the independent network and package identification of the PCB package diagram to which the pin belongs are recorded into an inspection result report according to a preset specification.
[0197] In one embodiment, the information of the independent network further includes:
[0198] coordinates of the pin connected to the independent network in the PCB are recorded in the inspection report.
[0199] In one embodiment, the method further includes:
[0200] displaying the inspection result report.
[0201] In one embodiment, the method further includes:
[0202] receiving a display instruction; the display instruction includes target PCB identification;
[0203] obtaining a target inspection result report corresponding to the target PCB from a plurality of inspection result reports;
[0204] displaying the target inspection result report.
[0205] In one embodiment, the method further comprises:
[0206] receiving a trigger operation for the coordinate position of the pin in the inspection result report;
[0207] marking the pin displaying the coordinate position in the PCB corresponding to the inspection result report.
[0208] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiments. Any reference to memory, database or other medium used in the embodiments provided by the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).
[0209] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0210] The above embodiments only express several implementation manners of the present application, and the description is specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the scope of the present application. Therefore, the scope of the patent protection of the present application should be subject to the appended claims.
Claims
1. A method for inspecting a PCB independent network, characterized by, The method comprises: determining PCB package diagrams contained in a to-be-inspected PCB; determining pins corresponding to each of the PCB package diagrams; obtaining connection information of each pin; the connection information comprises PCB package diagrams connected to a line of the pin; when the PCB package diagrams in the connection information only comprise a PCB package diagram to which the pin belongs, determining that a network corresponding to the pin is an independent network; recording information of the independent network; the obtaining of the connection information of each pin comprises: for each pin, determining a line connected to the pin; obtaining PCB package diagrams connected to the line; determining a set of the PCB package diagrams connected to the line as the connection information of the pin.
2. The method of claim 1, wherein, the recording of the information of the independent network comprises: pin identifiers of pins connected to the independent network and package identifiers of PCB package diagrams to which the pins belong are recorded into an inspection result report according to a preset specification.
3. The method of claim 2, wherein, the recording of the information of the independent network further comprises: coordinates of the pins connected to the independent network in the PCB are recorded in the inspection report.
4. The method of claim 3, wherein, The method further comprises: displaying the inspection result report.
5. The method of claim 3, wherein, The method further comprises: receiving a display instruction; the display instruction comprises a target PCB identifier; obtaining a target inspection result report corresponding to the target PCB from a plurality of inspection result reports; displaying the target inspection result report.
6. The method according to claim 4 or 5, characterized in that, The method further comprises: receiving a trigger operation for a coordinate position of the pin in the inspection result report; marking and displaying the pin at the coordinate position in the PCB corresponding to the inspection result report.
7. A PCB standalone network inspection device, characterized by, The apparatus comprises: a first determining module configured to determine PCB package diagrams contained in a to-be-inspected PCB; a second determining module configured to determine pins corresponding to each of the PCB package diagrams; a connection information obtaining module configured to obtain connection information of each pin; the connection information comprises PCB package diagrams connected to a line of the pin; the connection information obtaining module comprises: a line determining sub-module configured to determine, for each pin, a line connected to the pin; a PCB package diagram obtaining sub-module configured to obtain PCB package diagrams connected to the line; and a set determining sub-module configured to determine a set of the PCB package diagrams connected to the line as the connection information of the pin; an independent network judging module configured to, when the PCB package diagrams in the connection information only comprise a PCB package diagram to which the pin belongs, determine that a network corresponding to the pin is an independent network; an information recording module configured to record information of the independent network.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement steps of the PCB independent network inspection method in any one of claims 1-6.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement steps of the PCB independent network inspection method in any one of claims 1-6.
Citation Information
Patent Citations
PCB design layout audit system
CN104573242A
Surface-mounted connector pin inspection tool and method, equipment and medium
CN111814421A