PCB plate hole automatic identification method, device, equipment and storage medium

By automatically identifying the hole in the PCB disk, the positional relationship between the VIA hole and the SMD pad is judged based on the PCB processing data, which solves the problems of low identification efficiency and poor accuracy in the existing technology, and achieves a more efficient and accurate disk centering. Hole identification.

CN112632900BActive Publication Date: 2024-09-24SHENZHEN PARTNER INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011615581.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-09-24
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

In the existing technology, the identification of holes in PCB disks mainly relies on manual or semi-automatic methods, which are inefficient, high-cost and poor in accuracy, which can easily lead to the risk of missed reports. There is a lack of automated identification methods to reduce costs and improve efficiency.

Method used

By automatically identifying the drilling type and pad type based on the PCB processing data, it is judged whether the positional relationship between the VIA hole and the SMD pad meets the preset intersection conditions. If so, the VIA hole is determined to be a hole in the plate, realizing automatic identification.

Benefits of technology

There is no need for manual identification and additional preparation of stencil files, which improves processing efficiency, reduces costs, improves accuracy, and avoids missed judgments due to manual identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112632900B
    Figure CN112632900B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device, equipment and storage medium for automatically identifying holes in a PCB disk. The method includes: identifying the drilling type according to PCB processing data, and determining the VIA hole according to the drilling type; identifying the pad type according to the PCB processing data, and determining the SMD pad corresponding to the VIA hole according to the pad type; judging whether the positional relationship between the VIA hole and the corresponding SMD pad meets the preset intersection condition, and if so, determining that the VIA hole is a hole in the disk. The embodiment of the present invention avoids the time-consuming and labor-intensive manual identification based on pictures, data, etc., and does not need to prepare steel mesh files to identify holes in PCB disks, which effectively improves processing efficiency and reduces costs, and the accuracy of automatic identification is higher, avoiding the situation of missed judgments in manual identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of printed circuit board engineering CAM, and in particular to a method, device, equipment and storage medium for automatically identifying holes in a PCB plate. Background Art

[0002] PCB (Printed Circuit Board) vias refer to the conductive holes contained in the pads on the PCB surface. PCB vias have many advantages: they can increase the surface pad area, and when the line width and line spacing are small, the PCB wiring and PAD area are small, the area can be reduced well while completing the conductivity, thus reducing the size of the PCB. The production process and cost of PCB vias are relatively high. If resin plugging is combined with electroplating to fill POFV, the production process cost will increase by 300 to 800 RMB / square meter. This requires identifying whether PCB vias are needed in the PCB file and confirming with the customer to meet the customer's needs.

[0003] The traditional method mainly relies on manual identification of PCB vias, which is costly, inefficient, and inaccurate, and can easily cause losses; or semi-automatic methods rely on steel mesh files for identification, which may cause the risk of missing PCB vias if there is no steel mesh file or the steel mesh file is wrong. Therefore, it is urgent to adopt an automatic PCB via identification method and tool. Summary of the invention

[0004] In view of this, the present invention provides a method, device, equipment and storage medium for automatically identifying holes in PCB disks, which can automatically identify whether there are holes in disks in a designed PCB, so as to facilitate subsequent processing and other operations on the holes in disks. No manual identification is required, and no additional preparation of steel mesh files is required, which is lower in cost and higher in efficiency.

[0005] In order to solve the above technical problems, in a first aspect, the present invention provides a method for automatically identifying holes in a PCB plate, comprising:

[0006] Identify the drilling type according to the PCB processing data, and determine the VIA hole according to the drilling type;

[0007] Identify the pad type according to the PCB processing data, and determine the SMD pad corresponding to the VIA hole according to the pad type;

[0008] It is determined whether the positional relationship between the VIA hole and the corresponding SMD pad meets a preset intersection condition, and if so, it is determined that the VIA hole is a via in a pad.

[0009] In a second aspect, the present invention provides a device for automatically identifying holes in a PCB plate, comprising:

[0010] The drilling identification module is used to identify the drilling type according to the PCB processing data and determine the VIA hole according to the drilling type;

[0011] A pad identification module, used to identify the pad type according to the PCB processing data, and determine the SMD pad corresponding to the VIA hole according to the pad type;

[0012] The via-in-disk identification module is used to determine whether the positional relationship between the VIA hole and the corresponding SMD pad meets a preset intersection condition, and if so, determine that the VIA hole is a via-in-disk.

[0013] In a third aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the computer program, it implements the method for automatically identifying holes in a PCB plate as provided in any embodiment of the present invention.

[0014] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions, when executed, implement a method for automatically identifying holes in a PCB plate as provided in any embodiment of the present invention.

[0015] The method for automatically identifying holes in a PCB pad provided by the present invention can automatically identify the drilling type and the pad type according to the PCB processing data to determine the VIA hole and the SMD pad, and further judge whether the VIA hole and the SMD pad meet the preset intersection condition according to the positional relationship between the two to judge whether the VIA hole is a hole in the PCB pad. The method realizes automatic identification of holes in the PCB pad according to the PCB processing data, avoids the time-consuming and labor-intensive manual identification according to pictures, data and the like, and does not need to prepare steel mesh files to identify holes in the PCB pad, effectively improves the processing efficiency and reduces the cost, and the automatic identification has a higher accuracy rate, avoiding the situation of missed judgment in manual identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0017] Figure 1 This is a flow chart of a method for automatically identifying holes in a PCB provided in Embodiment 1 of the present invention;

[0018] Figure 2 It is a sub-flow chart of a method for automatically identifying holes in a PCB plate provided in the second embodiment of the present invention;

[0019] Figure 3 It is a sub-flow chart of a method for automatically identifying holes in a PCB plate provided in the second embodiment of the present invention;

[0020] Figure 4 It is a structural schematic diagram of a device for automatically identifying holes in a PCB plate provided by Embodiment 3 of the present invention;

[0021] Figure 5 It is a structural diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0022] The following is a clear and complete description of the technical solutions in the implementation of this application in conjunction with the drawings in the embodiments of the present application. It is understandable that the specific embodiments described herein are only part of the embodiments of the present application, rather than all of the embodiments, and are only used to explain the present application, rather than to limit the present application. It should also be noted that all other embodiments obtained by ordinary technicians in this field without creative work based on the embodiments in the present application belong to the scope of protection of this application.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0024] In addition, the terms "first", "second", etc. can be used in this article to describe various directions, actions, steps or elements, but these directions, actions, steps or elements are not limited by these terms. These terms are only used to distinguish the first direction, action, step or element from another direction, action, step or element. The terms "first", "second", etc. cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" can explicitly or implicitly include a combination of one or more features. In the description of the present invention, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. It should be noted that when a part is referred to as "fixed to" another part, it can be directly on the other part or there can be a centered part. When a part is considered to be "connected" to another part, it can be directly connected to another part or there may be a centered part at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are only for illustrative purposes and do not represent the only implementation method.

[0025] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0026] Embodiment 1

[0027] See also Figure 1 This embodiment provides a method for automatically identifying holes in a PCB plate. The method can be executed by a terminal or a computer device, or can be completed through the interaction between a computer device and a terminal. In this embodiment, the terminal is used as an example for explanation. Specifically, the method includes the following steps:

[0028] S110, identifying the drilling type according to the PCB processing data, and determining the VIA hole according to the drilling type.

[0029] The PCB pad hole is a type of VIA hole (through hole) contained in the PCB surface mount pad. In fact, it is a VIA hole located in the middle of the pad. Therefore, if you need to identify the PCB pad hole, you need to identify the VIA hole first, so as to further identify the PCB pad hole among all VIA holes.

[0030] Generally, there are holes of different sizes on PCB. These holes can be roughly divided into PTH (Plating Through Hole) holes and NPTH (Non Plating Through Hole). VIA holes are a type of PTH holes. Generally, PTH holes on PCB have two uses: one is used to solder the traditional DIP parts feet. The hole diameter of these holes must be larger than the diameter of the soldering feet of the parts so that the parts can be inserted into the holes; the other is used to connect and conduct the copper foil lines between two or more layers of the circuit board (PCB). This is the VIA hole. The processing technology of the two is different during the production process. Therefore, in this embodiment, the drilling type on the PCB is identified based on the PCB processing data to first identify the VIA holes that meet the size requirements.

[0031] Specifically, in this embodiment, a software program for identifying holes in a PCB plate is preset on the terminal. The terminal reads PCB processing data from the Gerber file through the software program, identifies the drilling type according to the drilling-related information in the PCB processing data, and determines the VIA hole in the drilling.

[0032] S120, identifying a pad type according to the PCB processing data, and determining an SMD pad corresponding to the VIA hole according to the pad type.

[0033] As mentioned above, the hole in the PCB plate refers to the VIA hole in the pad, so after the VIA hole is identified, it is necessary to further identify the hole in the PCB plate in the VIA hole in combination with the pad. There are also different types of pads on the PCB, and not all pads are suitable for matching the hole in the PCB plate. Therefore, in this embodiment, the pads are further screened to determine the pads that may have holes in the PCB plate, that is, SMD pads (SMD refers to the resistance layer opening is smaller than the metal pad welding process), and then determine the corresponding relationship between the VIA hole and the SMD pad: match the VIA hole and the SMD pad according to the principle of closest position (the hole in the PCB plate refers to the VIA hole opened in the pad).

[0034] Specifically, after identifying the VIA hole, the software program in the terminal further distinguishes the pads on the PCB according to the PCB processing data to determine the SMD pads, and further determines the corresponding position between the VIA hole and the SMD pad to facilitate the subsequent determination of whether the VIA hole is a hole in the PCB pad.

[0035] S130, determining whether the positional relationship between the VIA hole and the corresponding SMD pad meets a preset intersection condition, and if so, determining that the VIA hole is a via-in-pad.

[0036] In this embodiment, the preset intersection condition is that the VIA hole and the SMD pad intersect, and the intersection area is greater than a preset ratio (for example, fifty percent of the SMD pad, ninety percent of the VIA hole, etc., the specific standard can be set according to the actual situation), that is, whether the VIA hole and the SMD pad intersect is judged according to the corresponding relationship between the VIA hole and the SMD pad. If they intersect and the intersection area is greater than the preset ratio, the preset intersection condition is met, and the corresponding VIA hole is determined to be a hole in the PCB pad.

[0037] The VIA hole and SMD pad are located on different board layers on the PCB. The VIA hole is located on the drilling layer, and the SMD pad is located on the circuit layer. For the PCB plate hole, there are SMD pads that intersect at the junction of the board layers. Based on this, the PCB plate hole in the VIA hole can be identified.

[0038] Specifically, in this embodiment, after determining the VIA hole and SMD pad that are closest to each other, the software program in the terminal further determines whether the VIA hole is used as a hole in the PCB pad according to the specific position relationship to identify the hole in the PCB pad.

[0039] The present embodiment provides a method for automatically identifying holes in a PCB pad, which can automatically identify drilling types and pad types according to PCB processing data to determine VIA holes and SMD pads, and further determine whether the VIA holes and SMD pads meet a preset intersection condition according to their positional relationship to determine whether the VIA holes are holes in the PCB pad. This method realizes automatic identification of holes in the PCB pad according to PCB processing data, avoids time-consuming and labor-intensive manual identification based on pictures, data, etc., and does not require the preparation of steel mesh files to identify holes in the PCB pad, effectively improving processing efficiency and reducing costs. In addition, the accuracy of automatic identification is higher, avoiding missed judgments in manual identification.

[0040] Embodiment 2

[0041] Embodiment 2 provides a method for automatically identifying holes in a PCB plate, which differs from Embodiment 1 in that some contents in Embodiment 1 are further explained and supplemented, specifically including:

[0042] like Figure 2 As shown, step S110 specifically includes steps S111-112:

[0043] S111. Determine the diameter of the drilled hole in the drilling layer and the window opening state corresponding to the drilled hole in the assembly welding layer according to the PCB processing data.

[0044] As mentioned above, there are two types of PTH holes, and VIA holes are one of them. Non-VIA holes and VIA holes have different specifications and standards. The specific specifications of the holes can be determined based on the hole diameter and window opening status.

[0045] S112, identifying the VIA hole according to the aperture and the corresponding window opening state according to a preset rule.

[0046] In this embodiment, the window opening state includes window opening, oil covering and electroplating. If there is a solder mask pattern covering, the corresponding drill hole is a window opening, otherwise the corresponding drill hole is oil covering. The preset rules include drilling attribute definition parameters, and the drilling attribute definition parameters include the maximum value of double-sided oil covering VIA, the maximum value of oil covering aperture VIA, the minimum value of double-sided window PTH and the minimum value of PTH hole ring. According to the aperture and window opening state, it is determined that it is a VIA hole, which specifically includes three situations:

[0047] The first type is that if the window attribute of the drill hole is oil cover, and the hole diameter of the drill hole is greater than or equal to the minimum hole diameter of the double-sided window opening PTH and less than or equal to the maximum hole diameter of the oil cover VIA, then the corresponding drill hole is determined to be a VIA hole;

[0048] The second type is that if the window attribute of the drill hole is window opening, and the hole diameter of the drill hole is greater than or equal to the minimum hole diameter of the double-sided window opening PTH and less than or equal to the maximum hole diameter of the cover oil VIA, then the corresponding drill hole is determined to be a VIA hole;

[0049] The third type is that if the window attribute of the drilled hole is electroplating, and the hole diameter of the drilled hole is greater than or equal to 0 and less than or equal to the minimum hole diameter of the double-sided window PTH, the drilled hole is determined to be a VIA hole.

[0050] Drill holes other than the above three cases are identified as non-VIA holes.

[0051] Specifically, in some embodiments, Figure 3 As shown, identifying the pad type in step S120 includes steps S121-122:

[0052] S121. Identify non-circular pads according to the PCB processing data.

[0053] Specifically, when identifying non-circular pads, it is necessary to first determine the PAD pads according to the PCB processing data, and then further determine the non-circular pads in the PAD pads. When determining the PAD pads, it is necessary to use the pre-set pad attribute definition rule parameters, including the error value parameters between the solder mask layer and the circuit pads. When the circuit pads satisfy the correspondence with the solder mask opening and the unilateral difference value is within the range defined by the error value parameters (it is necessary to satisfy that the unilateral difference value on any side is within the range defined by the error value parameters), define the circuit pads as PAD pads. After determining the PAD pads, it is necessary to further identify the non-circular pads in the PAD pads in order to identify the SMD pads in the non-circular pads. Here, the distinction can be made based on the shape of the pads.

[0054] S122. Identify the SMD pad according to the solder mask window type based on the non-circular pad and the PCB processing data.

[0055] S123, determining the SMD pad corresponding to the VIA hole according to the positional relationship between the drilling layer and the circuit layer.

[0056] The distance between the VIA hole and the SMD pad is determined at the interface between the circuit layer and the drilling layer, and the VIA hole and the SMD pad are matched based on the shortest distance to obtain a corresponding relationship.

[0057] Optionally, in one embodiment, before step S110, step S210 (not shown) is further included:

[0058] S210, setting preset parameters, wherein the preset parameters include drilling attribute definition rule parameters, pad attribute definition rule parameters and hole-in-disk attribute definition rule parameters, wherein the hole attribute definition rule parameters are used to identify VIA holes, the pad attribute definition rule parameters are used to identify SMD pads, and the hole-in-disk attribute definition rule parameters are used to identify holes-in-disk.

[0059] Step S210 is used to pre-set drilling attribute definition rule parameters for identifying VIA holes, pad attribute definition rule parameters for identifying SMD pads, and plate-in-hole attribute definition rule parameters for identifying plate-in-hole. The drilling attribute definition parameters include the maximum value of double-sided cover oil VIA, the maximum value of cover oil aperture VIA, the minimum value of double-sided window PTH, and the minimum value of PTH hole ring; the pad attribute definition rule parameters include the error value parameters between the solder mask layer and the circuit pad; the plate-in-hole attribute definition rule parameters include the preset ratio of the intersection area of ​​the VIA hole and the corresponding SMD pad.

[0060] The present embodiment provides a method for automatically identifying holes in a PCB pad, further providing a specific method for identifying VIA holes and a specific method for identifying SMD pads, so as to conveniently and quickly determine the two factors that determine whether it is a hole in the PCB pad based on the PCB processing data, so as to quickly and automatically identify the holes in the pad on the PCB, which is convenient and quick.

[0061] Embodiment 3

[0062] Figure 4 A schematic diagram of a structure of a PCB plate hole automatic identification device 300 provided in Embodiment 3 of the present invention, the device comprises:

[0063] A drilling identification module 310 is used to identify the drilling type according to the PCB processing data and determine the VIA hole according to the drilling type;

[0064] A pad identification module 320, configured to identify a pad type according to the PCB processing data, and determine an SMD pad corresponding to the VIA hole according to the pad type;

[0065] The via-in-disk identification module 330 is used to determine whether the positional relationship between the VIA hole and the corresponding SMD pad meets a preset intersection condition, and if so, determine that the VIA hole is a via-in-disk.

[0066] Optionally, in some embodiments, the drilling identification module 310 includes:

[0067] A hole diameter and window opening state determination unit, used to determine the hole diameter of the drilled hole in the drilling layer and the window opening state corresponding to the drilled hole in the assembly welding layer according to the PCB processing data;

[0068] The VIA hole recognition unit is used to recognize the VIA hole according to the aperture and the corresponding window opening state according to a preset rule.

[0069] Optionally, in some embodiments, the window opening state includes window opening, oil covering and electroplating, and the VIA hole identification unit is specifically used to: if the window opening attribute of the drilled hole is oil covering, and the hole diameter of the drilled hole is greater than or equal to the minimum hole diameter of the double-sided window opening PTH and less than or equal to the maximum hole diameter of the oil covering VIA, then determine that the corresponding drilled hole is a VIA hole;

[0070] If the window attribute of the drill hole is window opening, and the hole diameter of the drill hole is greater than or equal to the minimum hole diameter of the double-sided window opening PTH and less than or equal to the maximum hole diameter of the cover oil VIA, then the corresponding drill hole is determined to be a VIA hole;

[0071] If the window attribute of the drilled hole is electroplating, and the hole diameter of the drilled hole is greater than or equal to 0 and less than or equal to the minimum hole diameter of the double-sided window PTH, the drilled hole is determined to be a VIA hole.

[0072] Optionally, in some embodiments, the pad identification module 320 includes:

[0073] A non-circular pad identification unit, used for identifying a non-circular pad according to the PCB processing data;

[0074] An SMD pad identification unit, configured to identify the SMD pad according to the solder mask window type based on the non-circular pad in combination with the PCB processing data;

[0075] The relationship corresponding unit is used to determine the SMD pad corresponding to the VIA hole according to the position relationship between the drilling layer and the circuit layer.

[0076] Optionally, in some embodiments, the non-circular pad identification unit is specifically used to: determine the PAD pad according to an error value parameter between the solder mask layer and the circuit pad, and determine the non-circular pad according to the shape of the PAD pad.

[0077] Optionally, in some embodiments, the via identification module 330 is specifically used to determine whether the VIA hole intersects with the corresponding SMD pad; if they intersect and the intersection area is greater than a preset ratio, a preset intersection condition is satisfied.

[0078] Optionally, in some embodiments, it also includes: a parameter preset module, used to set preset parameters, the preset parameters including drilling attribute definition rule parameters, pad attribute definition rule parameters and hole-in-disk attribute definition rule parameters, the hole attribute definition rule parameters are used to identify VIA holes, the pad attribute definition rule parameters are used to identify SMD pads, and the hole-in-disk attribute definition rule parameters are used to identify holes-in-disk.

[0079] The present embodiment provides a device for automatically identifying holes in PCB pads, which can automatically identify drilling types and pad types according to PCB processing data to determine VIA holes and SMD pads, and further judge whether the VIA holes and SMD pads meet preset intersection conditions according to their positional relationship to judge whether the VIA holes are holes in the PCB pad. This realizes automatic identification of holes in PCB pads according to PCB processing data, avoids time-consuming and labor-intensive manual identification based on pictures, data, etc., and does not require the preparation of steel mesh files to identify holes in PCB pads, effectively improves processing efficiency and reduces costs, and has a higher accuracy rate in automatic identification, avoiding missed judgments in manual identification.

[0080] Embodiment 4

[0081] Figure 5 A schematic diagram of the structure of a computer device 400 provided in Embodiment 6 of the present invention is shown in FIG. Figure 5 As shown, the computer device includes a memory 410 and a processor 420. The number of the processor 420 in the computer device may be one or more. Figure 5 A processor 420 is taken as an example; the memory 410 and the processor 420 in the computer device can be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0082] The memory 410, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the method for automatically identifying holes in a PCB plate in the embodiment of the present invention (for example, the behavioral drilling identification module 310, the pad identification module 320, and the plate hole identification module 330 in the device for automatically identifying holes in a PCB plate). The processor 420 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 410, that is, realizing the above-mentioned method for automatically identifying holes in a PCB plate.

[0083] Among them, the processor 420 is used to run the computer executable program stored in the memory 410 to implement the following steps: step S110, identify the drilling type according to the PCB processing data, and determine the VIA hole according to the drilling type; step S120, identify the pad type according to the PCB processing data, and determine the SMD pad corresponding to the VIA hole according to the pad type; step S130, determine whether the positional relationship between the VIA hole and the corresponding SMD pad meets the preset intersection condition, and if so, determine that the VIA hole is a hole in the disk.

[0084] Of course, a computer device provided in an embodiment of the present invention is not limited to the method operation described above, and can also perform related operations in the method for automatically identifying holes in a PCB plate provided in any embodiment of the present invention.

[0085] The memory 410 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 410 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 410 may further include a memory remotely arranged relative to the processor 420, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0086] The present embodiment provides a computer device, which can automatically identify the drilling type and the pad type according to the PCB processing data to determine the VIA hole and the SMD pad, and further judge whether the VIA hole and the SMD pad meet the preset intersection condition according to the positional relationship between the two to judge whether the VIA hole is a hole in the PCB plate. It realizes the automatic identification of the hole in the PCB plate according to the PCB processing data, avoids the time-consuming and labor-intensive manual identification based on pictures, data, etc., and does not need to prepare steel mesh files to identify the hole in the PCB plate, which effectively improves the processing efficiency and reduces the cost. The accuracy of automatic identification is higher, and the situation of missed judgment by manual identification is avoided.

[0087] Embodiment 5

[0088] Embodiment 5 of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a method for automatically identifying holes in a PCB plate when executed by a computer processor. The method for automatically identifying holes in a PCB plate includes:

[0089] Identify the drilling type according to the PCB processing data, and determine the VIA hole according to the drilling type;

[0090] Identify the pad type according to the PCB processing data, and determine the SMD pad corresponding to the VIA hole according to the pad type;

[0091] It is determined whether the positional relationship between the VIA hole and the corresponding SMD pad meets a preset intersection condition, and if so, it is determined that the VIA hole is a via in a pad.

[0092] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the method operations described above, and can also execute related operations in the method for automatically identifying holes in a PCB plate provided in any embodiment of the present invention.

[0093] Through the above description of the implementation methods, the technicians in the field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a device, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0094] It is worth noting that in the embodiment of the above-mentioned PCB plate hole automatic identification device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0095] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for automatically identifying holes in a PCB plate, characterized in that: include: Identifying the drilling type according to the PCB processing data, and determining the VIA hole according to the drilling type, including: determining the aperture of the drilling hole in the drilling layer and the window state corresponding to the drilling hole in the welding layer according to the PCB processing data; Identify the VIA hole according to the aperture and the corresponding window opening state according to a preset rule; Identify a non-circular pad according to the PCB processing data; Identify the SMD pad according to the solder mask window type based on the non-circular pad combined with the PCB processing data; Determine the SMD pad corresponding to the VIA hole according to the positional relationship between the drilling layer and the circuit layer; It is determined whether the VIA hole intersects with the corresponding SMD pad. If they intersect and the intersection area is greater than a preset ratio, the preset intersection condition is met and the VIA hole is determined to be a via in the pad.

2. The method for automatically identifying holes in a PCB according to claim 1, characterized in that: The window opening state includes window opening, oil covering and electroplating, and the identifying of the VIA hole according to the aperture and the corresponding window opening state according to the preset rules includes: If the window attribute of the drill hole is oil cover, and the hole diameter of the drill hole is greater than or equal to the minimum hole diameter of the double-sided window opening PTH and less than or equal to the maximum hole diameter of the oil cover VIA, then the corresponding drill hole is determined to be a VIA hole; If the window attribute of the drill hole is window opening, and the hole diameter of the drill hole is greater than or equal to the minimum hole diameter of the double-sided window opening PTH and less than or equal to the maximum hole diameter of the cover oil VIA, then the corresponding drill hole is determined to be a VIA hole; If the window attribute of the drilled hole is electroplating, and the hole diameter of the drilled hole is greater than or equal to 0 and less than or equal to the minimum hole diameter of the double-sided window PTH, the drilled hole is determined to be a VIA hole.

3. The method for automatically identifying holes in a PCB according to claim 1, characterized in that: The identifying the non-circular pad according to the PCB processing data includes: The PAD pad is determined according to an error value parameter between the solder resist layer and the circuit pad, and the non-circular pad is determined according to the shape of the PAD pad.

4. The method for automatically identifying holes in a PCB according to claim 1, characterized in that: Before identifying the drilling type according to the PCB processing data and determining the VIA hole according to the drilling type, it also includes: Set preset parameters, which include drilling attribute definition rule parameters, pad attribute definition rule parameters and plate-hole attribute definition rule parameters. The hole attribute definition rule parameters are used to identify VIA holes, the pad attribute definition rule parameters are used to identify SMD pads, and the plate-hole attribute definition rule parameters are used to identify plate-holes.

5. A PCB plate hole automatic identification device, characterized in that: include: A drilling identification module, used to identify the drilling type according to the PCB processing data, and determine the VIA hole according to the drilling type, including: an aperture and window state determination unit, used to determine the aperture of the drilling hole in the drilling layer and the window state corresponding to the drilling hole in the welding layer according to the PCB processing data; a VIA hole identification unit, used to identify the VIA hole according to the aperture and the corresponding window state according to a preset rule; The pad recognition module includes: a non-circular pad recognition unit, used to recognize the non-circular pad according to the PCB processing data; an SMD pad recognition unit, used to recognize the SMD pad according to the solder mask window type based on the non-circular pad combined with the PCB processing data; a relationship corresponding unit, used to determine the SMD pad corresponding to the VIA hole according to the positional relationship between the drilling layer and the circuit layer; The via-in-disk identification module is used to determine whether the VIA hole intersects with the corresponding SMD pad. If they intersect and the intersection area is greater than a preset ratio, the preset intersection condition is met and the VIA hole is determined to be a via-in-disk.

6. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the method for automatically identifying holes in a PCB plate as described in any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, which includes program instructions. When the program instructions are executed, the method for automatically identifying holes in a PCB plate as described in any one of claims 1 to 4 is implemented.