[go: up one dir, main page]

TW202426944A - Automatic inspection method for through hole vias and connector pins of pcb - Google Patents

Automatic inspection method for through hole vias and connector pins of pcb Download PDF

Info

Publication number
TW202426944A
TW202426944A TW111150835A TW111150835A TW202426944A TW 202426944 A TW202426944 A TW 202426944A TW 111150835 A TW111150835 A TW 111150835A TW 111150835 A TW111150835 A TW 111150835A TW 202426944 A TW202426944 A TW 202426944A
Authority
TW
Taiwan
Prior art keywords
circuit board
design data
layer
board design
hole group
Prior art date
Application number
TW111150835A
Other languages
Chinese (zh)
Other versions
TWI830565B (en
Inventor
梁晉晧
楊譓澤
Original Assignee
神雲科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW111150835A priority Critical patent/TWI830565B/en
Application granted granted Critical
Publication of TWI830565B publication Critical patent/TWI830565B/en
Publication of TW202426944A publication Critical patent/TW202426944A/en

Links

Images

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

An automatic inspection method for through hole vias and connector pins of PCB, implemented by a computer device, comprising the following steps: (A) the computer device obtains at least one target circuit board design data from a plurality of circuit board design data according to an inspection and screening data; (B) the computer device determines that the at least one target circuit board design data corresponds to a via group type or a connector pin type; (C) when the computer device determines that it corresponds to the via group type, for each target circuit board design data, the computer device generates at least one via group inspection result information according to the target circuit board design data and at least one via group inspection rule; and (D) when the computer device determines that it corresponds to the connector pin type, for each target circuit board design data, the computer device generates a connector pin inspection result information based on the target circuit board design data and a connector pin inspection rule.

Description

印刷電路板的通孔及連接器引腳自動檢查方法Automatic inspection method for through holes and connector pins of printed circuit boards

本發明是有關於一種檢查方法,特別是指一種印刷電路板的通孔及連接器引腳自動檢查方法。The present invention relates to an inspection method, in particular to an automatic inspection method for through holes and connector pins of a printed circuit board.

一般印刷電路板(Printed circuit board, PCB)佈局(layout)時,碰到通孔(via)及連接器引腳(connector pin)常會產生阻抗不連續的問題,故在PCB設計完成後,SI工程師需要針對通孔及連接器引腳以目視圖的方式進行檢查,以確保通孔及連接器引腳的設計是正確的。Generally, when laying out a printed circuit board (PCB), impedance discontinuity often occurs at vias and connector pins. Therefore, after the PCB design is completed, SI engineers need to visually inspect the vias and connector pins to ensure that the design of the vias and connector pins is correct.

然而,PCB上的通孔及連接器引腳數量非常多,人工檢查曠日廢時,且難免會出現遺漏的情況。However, there are a large number of through holes and connector pins on a PCB, and manual inspection is often outdated, and it is inevitable that some of them will be missed.

因此,本發明的目的,即在提供一種印刷電路板的通孔及連接器引腳自動檢查方法。Therefore, the object of the present invention is to provide a method for automatically inspecting through holes and connector pins of a printed circuit board.

於是,本發明印刷電路板的通孔及連接器引腳自動檢查方法,由一電腦裝置來實施,該儲存有多筆分別對應於多個通孔組與多個連接器引腳的電路板設計資料、一檢查篩選資料、至少一通孔組檢查規則,及一連接器引腳檢查規則,每一電路板設計資料對應於一差分對線路電連接的一通孔組或一連接器引腳,該檢查篩選資料包括一指定類型,該指定類型為一通孔組類型或一連接器引腳類型,該方法包含一步驟(A)、一步驟(B)、一步驟(C),及一步驟(D)。Therefore, the method for automatically checking through holes and connector pins of a printed circuit board of the present invention is implemented by a computer device, which stores a plurality of circuit board design data corresponding to a plurality of through hole groups and a plurality of connector pins, a check and screening data, at least one through hole group check rule, and a connector pin check rule. Each circuit board design data corresponds to a through hole group or a connector pin of a differential pair line electrical connection. The check and screening data includes a specified type, which is a through hole group type or a connector pin type. The method includes step (A), step (B), step (C), and step (D).

在該步驟(A)中,該電腦裝置根據該檢查篩選資料,從該等電路板設計資料中獲得至少一符合該檢查篩選資料的多筆目標電路板設計資料。In the step (A), the computer device obtains at least one target circuit board design data that meets the inspection and screening data from the circuit board design data according to the inspection and screening data.

在該步驟(B)中,該電腦裝置判定該至少一目標電路板設計資料對應於該通孔組類型或該連接器引腳類型。In the step (B), the computer device determines that the at least one target circuit board design data corresponds to the through hole group type or the connector pin type.

在該步驟(C)中,當判定出該至少一目標電路板設計資料對應於該通孔組類型時,對於每一目標電路板設計資料,該電腦裝置根據該目標電路板設計資料及該至少一通孔組檢查規則,產生至少一對應該目標電路板設計資料的通孔組檢查結果資訊,且該至少一通孔組檢查結果資訊分別對應該至少一通孔組檢查規則。In the step (C), when it is determined that the at least one target circuit board design data corresponds to the through hole group type, for each target circuit board design data, the computer device generates at least one through hole group inspection result information corresponding to the target circuit board design data based on the target circuit board design data and the at least one through hole group inspection rule, and the at least one through hole group inspection result information corresponds to the at least one through hole group inspection rule respectively.

在該步驟(D)中,當判定出該至少一目標電路板設計資料對應於該連接器引腳類型時,對於每一目標電路板設計資料,該電腦裝置根據該目標電路板設計資料及該連接器引腳檢查規則,產生一對應該目標電路板設計資料的連接器引腳檢查結果資訊。In the step (D), when it is determined that the at least one target circuit board design data corresponds to the connector pin type, for each target circuit board design data, the computer device generates connector pin check result information corresponding to the target circuit board design data based on the target circuit board design data and the connector pin check rule.

本發明的功效在於:藉由該電腦裝置判定該至少一目標電路板設計資料對應於該通孔組類型或該連接器引腳類型,藉此,對於每一目標電路板設計資料,自動產生該至少一通孔組檢查結果資訊或該連接器引腳檢查結果資訊,以大量節省人工檢查的時間,並降低發生錯誤的機率。The effect of the present invention is that: by using the computer device to determine whether the at least one target circuit board design data corresponds to the through hole group type or the connector pin type, the at least one through hole group inspection result information or the connector pin inspection result information is automatically generated for each target circuit board design data, thereby greatly saving the time of manual inspection and reducing the probability of error.

在本發明被詳細描述的前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that similar components are represented by the same reference numerals in the following description.

參閱圖1,說明用來實施本發明印刷電路板的通孔及連接器引腳自動檢查方法的一實施例的一電腦系統,該電腦系統包括一儲存單元11,及一電連接該儲存單元11的處理單元12。該電腦系統例如為桌上型電腦、平板電腦、筆記型電腦、伺服器、智慧型手機,但不以此為限,其中,該通孔(via)為盲孔(Blind Via)、埋孔(Buried Via)、以上兩者之組合(於同一座標處)或貫穿孔(Through Hole Via)等,但不以此為限。Referring to FIG. 1 , a computer system for implementing an embodiment of the method for automatically inspecting through holes and connector pins of a printed circuit board of the present invention is described. The computer system includes a storage unit 11 and a processing unit 12 electrically connected to the storage unit 11. The computer system is, for example, a desktop computer, a tablet computer, a notebook computer, a server, or a smart phone, but is not limited thereto. The through hole (via) is a blind via, a buried via, a combination of the above two (at the same coordinate), or a through hole (through hole via), but is not limited thereto.

該儲存單元11儲存有多筆分別對應於多個通孔組與多個連接器引腳的電路板設計資料、多筆分別對應該等通孔組的通孔組檢查預設資料、一檢查篩選資料、一第一通孔組檢查規則、一第二通孔組檢查規則,及一連接器引腳檢查規則。The storage unit 11 stores a plurality of circuit board design data respectively corresponding to a plurality of through hole groups and a plurality of connector pins, a plurality of through hole group inspection preset data respectively corresponding to the through hole groups, an inspection screening data, a first through hole group inspection rule, a second through hole group inspection rule, and a connector pin inspection rule.

每一電路板設計資料對應於一差分對線路電連接的一通孔組或一連接器引腳。每一電路板設計資料包括一線路名稱、一阻抗值、一相關於該通孔組或該連接器引腳在該印刷電路板的座標資訊、至少一相關於該差分對線路所通過層數的通過層數代碼、多個相關於該印刷電路板所有層數的所有層數代碼,及多個淨空區域所在層數代碼。其中,該至少一通過層數代碼具有一相關於該差分對線路預設的一檢查起始點層數的起始點層數代碼,其中該檢查起始點層數為該差分對線路與該通孔組或該連接器引腳的電連接處。Each circuit board design data corresponds to a through hole group or a connector pin electrically connected to a differential pair line. Each circuit board design data includes a line name, an impedance value, coordinate information related to the through hole group or the connector pin on the printed circuit board, at least one passing layer code related to the number of layers passed by the differential pair line, multiple all layer codes related to all layers of the printed circuit board, and multiple layer codes where the clear area is located. Among them, the at least one passing layer code has a starting point layer code related to a preset check starting point layer of the differential pair line, wherein the check starting point layer is the electrical connection between the differential pair line and the through hole group or the connector pin.

值得一提的是,由於該差分對線路為兩條平行的且大略等長的信號線,其中一條信號線傳輸正信號,另一條信號線傳輸負信號,故每一通孔組具有分別讓該等信號線通過的二通孔。It is worth mentioning that since the differential pair circuit is two parallel signal lines of approximately equal length, one signal line transmits a positive signal and the other signal line transmits a negative signal, each through hole group has two through holes for allowing the signal lines to pass through respectively.

值得注意的是,在本實施例中,該印刷電路板共有12層,該等所有層數代碼例如為Top、L2、L3、L4、L5、L6、L7、L8、L9、L11、Bottom,每一所有層數代碼對應一板層類型,該板層類型例如為接地層類型、電源層類型,或走線層類型,其中L2對應接地層類型,L4對應電源層類型,Top、L3、L5~L11及Bottom層均對應走線層類型,在其他實施方式中,印刷電路板的總層數,以及每一層數代碼對應的板層類層,會根據各家廠商的板層配置,而略有不同,不以此為限。It is worth noting that in the present embodiment, the printed circuit board has a total of 12 layers, and the layer number codes are, for example, Top, L2, L3, L4, L5, L6, L7, L8, L9, L11, and Bottom. Each layer number code corresponds to a board layer type, and the board layer type is, for example, a ground layer type, a power layer type, or a routing layer type, where L2 corresponds to the ground layer type, L4 corresponds to the power layer type, and the Top, L3, L5~L11 and Bottom layers all correspond to the routing layer type. In other embodiments, the total number of layers of the printed circuit board and the board layer type layer corresponding to each layer number code may be slightly different according to the board layer configuration of each manufacturer, but is not limited to this.

若一電路板設計資料對應於一差分對線路電連接的一通孔組,則該電路板設計資料還包括至少一分別對應該至少一通過層數代碼的避讓區域大小參數,及至少一分別對應該至少一通過層數代碼的通孔中心距離。If a circuit board design data corresponds to a through hole group of a differential pair line electrical connection, the circuit board design data further includes at least one avoidance area size parameter corresponding to the at least one through hole layer number code, and at least one through hole center distance corresponding to the at least one through hole layer number code.

該等通孔組檢查預設資料分別對應該等通孔組,每一通孔組檢查預設資料包括一理想避讓區域大小參數,及一理想通孔中心距離。The through hole group inspection preset data respectively correspond to the through hole groups, and each through hole group inspection preset data includes an ideal avoidance area size parameter and an ideal through hole center distance.

值得注意的是,在本實施例中,避讓區域為膠囊形狀,該等電路板設計資料的避讓區域大小參數及該等通孔組檢查預設資料的理想避讓區域大小參數為避讓區域短軸,但不以此為限。It should be noted that in the present embodiment, the avoidance area is in the shape of a capsule, and the avoidance area size parameters of the circuit board design data and the ideal avoidance area size parameters of the through hole group inspection preset data are the short axis of the avoidance area, but are not limited thereto.

該檢查篩選資料包括一指定線路名稱、一指定類型,及一指定阻抗值。The inspection and screening data includes a specified line name, a specified type, and a specified impedance value.

該第一通孔組檢查規則為一電路板設計資料的至少一避讓區域大小參數及至少一通孔中心距離是否符合一目標通孔組檢查預設資料。該第二通孔組檢查規則為一電路板設計資料的多個所有層數代碼中,除該電路板設計資料的至少一通過層數代碼以外,對應多個通孔組檢查板層類型的層數代碼是否包含於該電路板設計資料的多個淨空區域所在層數代碼,其中該等通孔組檢查板層類型為根據對應的差分對線路的阻抗值選擇該走線層類型、電源層類型及接地層類型其中至少二者。在本實施例中,該差分對線路的該指定阻抗值為85歐姆,則對應的該等通孔組檢查板層類型包括該電源層類型及該接地層類型;在另一實施例中,該差分對線路所對應的阻抗值為100歐姆,則該差分對線路所對應的該等通孔組檢查板層類型包括所有板層類型,也就是說,該等通孔組檢查板層類型包括走線層類型、電源層類型及接地層類型。該連接器引腳檢查規則為一電路板設計資料的多個所有層數代碼中,相鄰於該電路板設計資料的一起始點層數代碼且符合一連接器引腳檢查板層類型的目標所有層數代碼是否包含於該電路板設計資料的多個淨空區域所在層數代碼,其中該連接器引腳檢查板層類型為接地層。The first through-hole group inspection rule is whether at least one avoidance area size parameter and at least one through-hole center distance of a circuit board design data meet a target through-hole group inspection preset data. The second through-hole group inspection rule is whether, among all the multiple layer codes of the circuit board design data, except for at least one through layer code of the circuit board design data, the layer codes corresponding to the multiple through-hole group inspection board layer types are included in the layer codes where the multiple clear areas of the circuit board design data are located, wherein the through-hole group inspection board layer types are selected according to the impedance value of the corresponding differential pair line. At least two of the routing layer type, the power layer type and the ground layer type. In the present embodiment, the specified impedance value of the differential pair is 85 ohms, and the corresponding through-hole group inspection board layer types include the power layer type and the ground layer type; in another embodiment, the impedance value corresponding to the differential pair is 100 ohms, and the through-hole group inspection board layer types corresponding to the differential pair include all board layer types, that is, the through-hole group inspection board layer types include routing layer types, power layer types and ground layer types. The connector pin check rule is whether all target layer codes adjacent to a starting point layer code of the circuit board design data and meeting a connector pin check layer type are included in layer codes of multiple clear areas of the circuit board design data among multiple layer codes of a circuit board design data, wherein the connector pin check layer type is a ground layer.

值得注意的是,在本實施例中,該等電路板設計資料是由電路板佈線圖檔(PCB layout BRD file)所獲得,該檢查篩選資料為使用者所設置,使用者藉由設定一指定線路名稱、一指定類型,及一指定阻抗值其中至少一者來指示出欲進行檢查的差分對線路,該指定類型為一通孔組類型或一連接器引腳類型,淨空區域為位於差分對線路所通過層數以外的層數且用於隔離通孔組或連接器引腳的位置所對應的不設置導電材質的淨空區域,避讓區域為位於差分對線路所通過層數且用於隔離通孔組的焊盤與其他具有導電材質的導線或區塊的不設置導電材質的隔離區域,淨空區域及避讓區域例如反焊盤(antipad),在其他實施方式中,該儲存單元11還儲存不同於該等電路板設計資料且相關於除該等差分對線路以外的多個其他線路的其他電路板設計資料,但不以此為限。It is worth noting that in this embodiment, the circuit board design data is obtained from a circuit board layout drawing file (PCB layout BRD file), and the inspection filter data is set by the user. The user indicates the differential pair line to be inspected by setting at least one of a specified line name, a specified type, and a specified impedance value. The specified type is a through hole group type or a connector pin type. The clear area is a clear area where no conductive material is set and is located in a layer other than the layer through which the differential pair line passes and is used to isolate the position of the through hole group or the connector pin. , the avoidance area is an isolation area without conductive material, which is located on the layer through which the differential pair lines pass and is used to isolate the pads of the through-hole group from other conductive wires or blocks with conductive materials, a clear area and an avoidance area such as an anti-pad. In other embodiments, the storage unit 11 also stores other circuit board design data that is different from the circuit board design data and is related to multiple other circuits other than the differential pair lines, but is not limited to this.

參閱圖1、2,本發明印刷電路板的通孔及連接器引腳自動檢查方法的該實施例,以下將說明該實施例所包含之步驟。1 and 2, the embodiment of the method for automatically inspecting through holes and connector pins of a printed circuit board of the present invention is described below. The steps included in the embodiment are described below.

在步驟21中,該處理單元12根據該檢查篩選資料,從該等電路板設計資料中獲得至少一符合該檢查篩選資料的目標電路板設計資料。In step 21, the processing unit 12 obtains at least one target circuit board design data that meets the inspection and screening data from the circuit board design data according to the inspection and screening data.

在步驟22中,該處理單元12判定該至少一目標電路板設計資料對應於該通孔組類型或該連接器引腳類型。當判定出該至少一目標電路板設計資料對應於該通孔組類型時,流程進行步驟23、25;而當判定出該至少一目標電路板設計資料對應於該連接器引腳類型時,則流程進行步驟26。In step 22, the processing unit 12 determines whether the at least one target circuit board design data corresponds to the through hole group type or the connector pin type. When it is determined that the at least one target circuit board design data corresponds to the through hole group type, the process proceeds to steps 23 and 25; and when it is determined that the at least one target circuit board design data corresponds to the connector pin type, the process proceeds to step 26.

在步驟23中,該處理單元12從該等通孔組檢查預設資料中獲得至少一分別對應該至少一目標電路板設計資料的目標通孔組檢查預設資料。In step 23, the processing unit 12 obtains at least one target via group inspection preset data respectively corresponding to the at least one target circuit board design data from the via group inspection preset data.

在步驟24中,對於每一目標電路板設計資料,該處理單元12根據該目標電路板設計資料、該目標電路板設計資料對應的一目標通孔檢查預設資料,及該第一通孔組檢查規則,產生一對應該目標電路板設計資料的第一通孔組檢查結果資訊。In step 24, for each target circuit board design data, the processing unit 12 generates first via group inspection result information corresponding to the target circuit board design data according to the target circuit board design data, a target via group inspection preset data corresponding to the target circuit board design data, and the first via group inspection rule.

詳細而言,對於每一目標電路板設計資料,該處理單元12比對該目標電路板設計資料的至少一避讓區域大小參數是否皆與該目標通孔檢查預設資料的一理想避讓區域大小參數一致,以及比對該目標電路板設計資料的至少一通孔中心距離是否皆與該目標通孔檢查預設資料的一理想通孔中心距離一致,以產生該第一通孔組檢查結果資訊。其中,若該至少一避讓區域大小參數與該理想避讓區域大小參數一致,且該至少一通孔中心距離與該理想通孔中心距離一致,則該第一通孔組檢查結果資訊指示出通過。若該至少一避讓區域大小參數之其中一者與該理想避讓區域大小參數不一致,或該至少一通孔中心距離之其中一者與該理想通孔中心距離不一致,則該第一通孔組檢查結果資訊指示出錯誤,在檢查比對時,當兩者之間的差異小於誤差容許範圍,則仍視為兩者一致,例如:存在1mils以下的差異,則仍判定兩者一致,誤差容許範圍也可以是2mils或是0.5mils,不以此為限。Specifically, for each target circuit board design data, the processing unit 12 compares whether at least one avoidance area size parameter of the target circuit board design data is consistent with an ideal avoidance area size parameter of the target through-hole inspection preset data, and compares whether at least one through-hole center distance of the target circuit board design data is consistent with an ideal through-hole center distance of the target through-hole inspection preset data, so as to generate the first through-hole group inspection result information. If the at least one avoidance area size parameter is consistent with the ideal avoidance area size parameter, and the at least one through-hole center distance is consistent with the ideal through-hole center distance, the first through-hole group inspection result information indicates a pass. If one of the at least one avoidance area size parameters is inconsistent with the ideal avoidance area size parameter, or one of the at least one through-hole center distance is inconsistent with the ideal through-hole center distance, then the first through-hole group inspection result information indicates an error. During the inspection and comparison, when the difference between the two is less than the allowable error range, the two are still considered to be consistent. For example: if there is a difference of less than 1 mil, the two are still determined to be consistent. The allowable error range can also be 2 mils or 0.5 mils, but is not limited to this.

值得一提的是,在步驟24中,對於每一目標電路板設計資料,該目標電路板設計資料的至少一通過層數代碼即為第一檢查層數代碼。It is worth mentioning that in step 24, for each target circuit board design data, at least one passing layer code of the target circuit board design data is the first checking layer code.

在步驟25中,對於每一目標通孔檢查預設資料,該處理單元12根據該目標電路板設計資料,及該第二通孔組檢查規則,產生一對應該目標電路板設計資料的第二通孔組檢查結果資訊。In step 25, for each target via inspection preset data, the processing unit 12 generates second via group inspection result information corresponding to the target circuit board design data according to the target circuit board design data and the second via group inspection rule.

搭配參閱圖3,步驟25包括以下子步驟。With reference to FIG. 3 , step 25 includes the following sub-steps.

在子步驟251中,對於每一目標電路板設計資料,該處理單元12從該目標電路板設計資料的該等所在層數代碼中,扣除該至少一通過層數代碼,以獲得多個候選檢查層數代碼,再由該等候選檢查層數篩選出多個對應該等通孔組檢查板層類型的第二檢查層數代碼。In sub-step 251, for each target circuit board design data, the processing unit 12 deducts the at least one passing layer code from the layer codes of the target circuit board design data to obtain multiple candidate inspection layer codes, and then screens out multiple second inspection layer codes corresponding to the through-hole group inspection layer types from the candidate inspection layer codes.

在子步驟252中,對於每一目標電路板設計資料,該處理單元12判定該等第二檢查層數代碼是否包含於該目標電路板設計資料的多個淨空區域所在層數代碼,以產生該第二通孔組檢查結果資訊。其中,若該等第二檢查層數代碼包含於該等淨空區域所在層數代碼,代表該等第二檢查層數代碼對應的層數有對應設置淨空區域,則該第二通孔組檢查結果資訊指示出通過,若該等第二檢查層數代碼不包含於該等淨空區域所在層數代碼,代表該等第二檢查層數代碼對應的層數沒有對應設置淨空區域,則該第二通孔組檢查結果資訊指示出錯誤。In sub-step 252, for each target circuit board design data, the processing unit 12 determines whether the second inspection layer number codes are included in the layer number codes where the plurality of clear areas of the target circuit board design data are located, so as to generate the second through hole group inspection result information. Among them, if the second inspection layer number codes are included in the layer number codes where the clear space areas are located, it means that the layers corresponding to the second inspection layer number codes have corresponding clear space areas, and the second through-hole group inspection result information indicates a pass; if the second inspection layer number codes are not included in the layer number codes where the clear space areas are located, it means that the layers corresponding to the second inspection layer number codes do not have corresponding clear space areas, and the second through-hole group inspection result information indicates an error.

值得注意的是,在其他實施方式中,該儲存單元11可僅儲存該第一通孔組檢查規則或該第二通孔組檢查規則,亦即,在步驟22中,當判定出該至少一目標電路板設計資料對應於該通孔組類型時,流程僅進行步驟23、24,僅產生該第一通孔組檢查結果資訊,或是僅進行步驟25,僅產生該第二通孔組檢查結果資訊。It is worth noting that in other embodiments, the storage unit 11 may only store the first through hole group inspection rule or the second through hole group inspection rule, that is, in step 22, when it is determined that the at least one target circuit board design data corresponds to the through hole group type, the process only performs steps 23 and 24 and only generates the first through hole group inspection result information, or only performs step 25 and only generates the second through hole group inspection result information.

在步驟26中,對於每一目標電路板設計資料,該處理單元12根據該目標電路板設計資料及該連接器引腳檢查規則,產生一對應該目標電路板設計資料的連接器引腳檢查結果資訊。In step 26, for each target circuit board design data, the processing unit 12 generates connector pin check result information corresponding to the target circuit board design data according to the target circuit board design data and the connector pin check rule.

搭配參閱圖4,步驟26包括以下子步驟。With reference to FIG. 4 , step 26 includes the following sub-steps.

在子步驟261中,對於每一目標電路板設計資料,該處理單元12根據該目標電路板設計資料的該起始點層數代碼,獲得相鄰該起始點層數代碼且對應該連接器引腳檢查板層類型的一第三檢查層數代碼。In sub-step 261, for each target circuit board design data, the processing unit 12 obtains a third inspection layer code adjacent to the start point layer code and corresponding to the connector pin inspection layer type according to the start point layer code of the target circuit board design data.

在子步驟262中,對於每一目標電路板設計資料,該處理單元12判定該第三檢查層數代碼是否包含於該目標電路板設計資料的多個淨空區域所在層數代碼,以產生該連接器引腳檢查結果資訊。其中,若該第三檢查層數代碼所包含於該等淨空區域所在層數代碼,代表該等第三檢查層數代碼對應的層數有對應設置淨空區域,則該連接器引腳檢查結果資訊指示出通過,若該第三檢查層數代碼不包含於該等淨空區域所在層數代碼,代表該等第三檢查層數代碼對應的層數沒有對應設置淨空區域,則該連接器引腳檢查結果資訊指示出錯誤。In sub-step 262, for each target circuit board design data, the processing unit 12 determines whether the third check layer number code is included in the layer number codes where multiple clear areas of the target circuit board design data are located, so as to generate the connector pin check result information. Among them, if the third check layer number code is included in the layer number code where the clear space area is located, it means that the layer number corresponding to the third check layer number code has a corresponding clear space area, and the connector pin inspection result information indicates a pass; if the third check layer number code is not included in the layer number code where the clear space area is located, it means that the layer number corresponding to the third check layer number code has no corresponding clear space area, and the connector pin inspection result information indicates an error.

值得注意的是,在本實施例中,每一檢查結果資訊包括該檢查結果資訊對應的電路板設計資料的座標資訊、該檢查結果資訊對應的電路板設計資料的線路名稱、該檢查結果資訊對應的電路板設計資料的起始點層數代碼、至少一檢查層數代碼,及一指示出通過或錯誤的檢查結果,但不以此為限。It is noteworthy that in the present embodiment, each inspection result information includes coordinate information of the circuit board design data corresponding to the inspection result information, the line name of the circuit board design data corresponding to the inspection result information, the starting point layer code of the circuit board design data corresponding to the inspection result information, at least one inspection layer code, and an inspection result indicating a pass or error, but is not limited to this.

舉例來說,該檢查篩選資料的該指定線路名稱例如為P5E_SSD,該指定類型例如為通孔組、該指定阻抗值例如為85歐姆(差分對線佈線時常用的指定阻抗值)。在步驟21中,該處理單元12獲得符合該檢查篩選資料的一第一目標電路板設計資料,及一第二目標電路板設計資料。該第一目標電路板設計資料的線路名稱為P5E_SSD0_RX_D(N/P<2>),座標資訊為(1037.35 38.01)及(1058.57 59.23),通過層數代碼為Bottom及L11,也就是說第一檢查層數代碼為Bottom及L11,其中起始點板層代碼為Bottom,淨空區域所在層數代碼為Top,L2-10,位於第一檢查層數代碼Bottom及L11的避讓區域大小參數皆為40mils,通孔中心距離皆為40mils。該第二目標電路板設計資料的線路名稱為P5E_SSD0_RX_D(N/P<2>),座標資訊為(15243.74 37.74),及(15264.96 58.96),通過層數代碼組為Bottom,L6-7,9,11,也就是說第一檢查層數代碼為Bottom,L6-7,9,11,其中起始點板層代碼為Bottom,淨空區域所在層數代碼為Top,L2-5,L8,L10,位於第一檢查層數代碼Bottom,L6-7,9,11的避讓區域大小參數皆為40mils,通孔中心距離皆為40mils。在步驟22中,該處理單元12判定出該第一目標電路板設計資料及該第二目標電路板設計資料對應於該通孔組類型。在步驟23中,該處理單元12從該等通孔組檢查預設資料中獲得分別對應該第一目標電路板設計資料,及該第二目標電路板設計資料的第一目標通孔組檢查預設資料,第二目標通孔組檢查預設資料,該第一、二目標通孔組檢查預設資料包括相同的理想阻抗為85歐姆,理想通孔中心距離為40mils,理想淨空區域大小參數為40mils(以下以85/40/40表示)。在步驟24中,對於該第一目標電路板設計資料,該處理單元12比對對應該等通過層數代碼Bottom及L11避讓的區域大小參數是否皆為40mils,以及比對對應該等通過層數代碼Bottom及L11的通孔中心距離是否皆為40mils,以產生一第一通孔組檢查結果資訊(如下表1的第2列)。同樣地,在步驟24中,對於該第二目標電路板設計資料,該處理單元12比對對應該等通過層數代碼Bottom,L6-7,9,11的避讓區域大小參數是否皆為40mils,以及比對對應該等通過層數代碼Bottom,L6-7,9,11的通孔中心距離是否皆為40mils,以產生另一第一通孔組檢查結果資訊(如下表1的第3列)。其中,All Layers Pass表示檢查的所有層數皆通過。在步驟25中,對於該第一目標電路板設計資料,該處理單元12從該等所有層數代碼Top、L2-11、Bottom中,扣除該等通過層數代碼L11及Bottom,以獲得候選檢查層數代碼Top、L2-10,再由該等候選檢查層數Top、L2-10篩選出對應該等通孔組檢查板層類型(該指定阻抗值為85歐姆所對應的通孔組檢查類型為接地層類型及電源層類型)的第二檢查層數代碼為L2、L4,再判定該等第二檢查層數代碼L2、L4是否包含於該等淨空區域所在層數代碼為Top,L2-10,以產生一第二通孔組檢查結果資訊(如下表1的第4列)。同樣地,在步驟25中,對於該第二目標電路板設計資料,該處理單元12從該等所有層數代碼Top、L2-11、Bottom中,扣除該等通過層數代碼L6-7,9,11及Bottom,以獲得候選檢查層數代碼Top、L2-5、8,再由該等候選檢查層數Top、L2-5、8篩選出對應該等通孔組檢查板層類型(該指定阻抗值為85歐姆所對應的通孔組檢查類型為接地層類型及電源層類型)的第二檢查層數代碼為L2、L4,再判定該等第二檢查層數代碼L2、L4是否包含於該等淨空區域所在層數代碼為Top,L2-10,以產生另一第二通孔組檢查結果資訊(如下表1的第5列)。 表1 線路名稱 起始點層數代碼 座標資訊 檢查層數代碼 檢查結果 P5E_SSD0_RX_D(N/P<2>) Bottom (1037.35 38.01);(1058.57 59.23) Bottom, L11 85/40/40/All Layers Pass P5E_SSD0_RX_D(N/P<2>) Bottom (15243.74 37.74);(15264.96 58.96) Bottom, L6-7,9,11 85/40/40/All Layers Pass P5E_SSD0_RX_D(N/P<2>) Bottom (1037.35 38.01);(1058.57 59.23) L2, 4 Via Void Pass P5E_SSD0_RX_D(N/P<2>) Bottom (15243.74 37.74);(15264.96 58.96) L2, 4 Via without Void For example, the designated line name of the inspection and screening data is, for example, P5E_SSD, the designated type is, for example, a through-hole group, and the designated impedance value is, for example, 85 ohms (a designated impedance value commonly used in differential pair wiring). In step 21, the processing unit 12 obtains a first target circuit board design data that meets the inspection and screening data, and a second target circuit board design data. The line name of the first target circuit board design data is P5E_SSD0_RX_D (N/P<2>), the coordinate information is (1037.35 38.01) and (1058.57 59.23), the passed layer code is Bottom and L11, that is, the first check layer code is Bottom and L11, where the starting point layer code is Bottom, the layer code of the clear area is Top, L2-10, the avoidance area size parameters located at the first check layer code Bottom and L11 are both 40mils, and the through hole center distance is 40mils. The line name of the second target circuit board design data is P5E_SSD0_RX_D (N/P<2>), the coordinate information is (15243.74 37.74), and (15264.96 58.96), and the through layer code group is Bottom, L6-7, 9, 11, that is, the first check layer code is Bottom, L6-7, 9, 11, where the starting point board layer code is Bottom, the layer code of the clear area is Top, L2-5, L8, L10, the avoidance area size parameters located at the first check layer code Bottom, L6-7, 9, 11 are all 40mils, and the through hole center distance is all 40mils. In step 22, the processing unit 12 determines that the first target circuit board design data and the second target circuit board design data correspond to the through hole group type. In step 23, the processing unit 12 obtains the first target through hole group inspection preset data and the second target through hole group inspection preset data corresponding to the first target circuit board design data and the second target circuit board design data, respectively, from the through hole group inspection preset data, and the first and second target through hole group inspection preset data include the same ideal impedance of 85 ohms, the ideal through hole center distance of 40 mils, and the ideal clear area size parameter of 40 mils (hereinafter represented as 85/40/40). In step 24, for the first target circuit board design data, the processing unit 12 compares whether the area size parameters corresponding to the pass layer codes Bottom and L11 are all 40 mils, and compares whether the through hole center distances corresponding to the pass layer codes Bottom and L11 are all 40 mils, so as to generate a first through hole group inspection result information (as shown in the second row of Table 1 below). Similarly, in step 24, for the second target circuit board design data, the processing unit 12 compares whether the avoidance area size parameters corresponding to the pass layer codes Bottom, L6-7, 9, 11 are all 40 mils, and compares whether the through hole center distances corresponding to the pass layer codes Bottom, L6-7, 9, 11 are all 40 mils, to generate another first through hole group inspection result information (as shown in the third row of Table 1 below). Among them, All Layers Pass means that all layers of the inspection have passed. In step 25, for the first target circuit board design data, the processing unit 12 deducts the passing layer codes L11 and Bottom from all the layer codes Top, L2-11, and Bottom to obtain candidate inspection layer codes Top and L2-10, and then selects the inspection layers corresponding to the through hole groups from the candidate inspection layer codes Top and L2-10. Check the board layer type (the specified impedance value is 85 ohms and the corresponding through hole group inspection type is the ground layer type and the power layer type) and the second inspection layer number codes are L2 and L4, and then determine whether the second inspection layer number codes L2 and L4 are included in the layer number codes of the clear space areas, which are Top, L2-10, to generate a second through hole group inspection result information (as shown in the 4th column of Table 1 below). Similarly, in step 25, for the second target circuit board design data, the processing unit 12 deducts the passing layer codes L6-7, 9, 11 and Bottom from all the layer codes Top, L2-11, Bottom to obtain candidate inspection layer codes Top, L2-5, 8, and then selects the corresponding layer codes from the candidate inspection layer codes Top, L2-5, 8. The second inspection layer codes of the through hole group inspection board layer type (the through hole group inspection type corresponding to the specified impedance value of 85 ohms is the ground layer type and the power layer type) are L2 and L4, and then it is determined whether the second inspection layer codes L2 and L4 are included in the layer code of the clear area, Top, L2-10, to generate another second through hole group inspection result information (as shown in the 5th column of Table 1 below). Table 1 Line Name Starting point layer code Coordinate information Check layer code Examination results P5E_SSD0_RX_D(N/P<2>) Bottom (1037.35 38.01);(1058.57 59.23) Bottom, L11 85/40/40/All Layers Pass P5E_SSD0_RX_D(N/P<2>) Bottom (15243.74 37.74);(15264.96 58.96) Bottom, L6-7,9,11 85/40/40/All Layers Pass P5E_SSD0_RX_D(N/P<2>) Bottom (1037.35 38.01);(1058.57 59.23) L2, 4 Via Void Pass P5E_SSD0_RX_D(N/P<2>) Bottom (15243.74 37.74);(15264.96 58.96) L2, 4 Via without Void

再舉例來說,該檢查篩選資料的該指定線路名稱例如為P5E_SSD11,該指定類型例如為連接器引腳、該指定阻抗值例如為85歐姆,在步驟21中獲得符合該檢查篩選資料的一第三目標電路板設計資料,及一第四目標電路板設計資料。該第三目標電路板設計資料的線路名稱為P5E_SSD11_C_TX_DN<2>,座標資訊為(15644.41 626.62),通過層數代碼及起始點板層代碼為Top,淨空區域所在層數代碼為L2-11及Bottom。該第四目標電路板設計資料的線路名稱為P5E_SSD11_C_TX_DP<2>,座標資訊為(15644.41 626.62),通過層數代碼及起始點板層代碼為Top,淨空區域所在層數代碼為L2-11及Bottom。在步驟22中,該處理單元12判定出該第三目標電路板設計資料及該第四目標電路板設計資料對應於該連接器引腳類型。在步驟26中,對於該第三目標電路板設計資料,該處理單元12獲得相鄰該起始點層數代碼Top且對應接地層類型的一第三檢查層數代碼L2,再判定第三檢查層數代碼L2是否包含於該等淨空區域所在層數代碼L2-11及Bottom,以產生一連接器引腳檢查結果資訊(如下表2的第2列)。同樣地,在步驟26中,對於第四目標電路板設計資料,該處理單元12獲得相鄰該起始點層數代碼Top且對應接地層類型的一第三檢查層數代碼L2,再判定第三檢查層數代碼L2是否包含於該等淨空區域所在層數代碼L2-11及Bottom,以產生另一連接器引腳檢查結果資訊(如下表2的第3列)。 表2 線路名稱 起始點層數代碼 座標資訊 檢查層數代碼 檢查結果 P5E_SSD11_C_TX_DN<2> TOP (15612.91 626.62) L2 SMD Pin without Void P5E_SSD11_C_TX_DP<2> TOP (15644.41 626.62) L2 SMD Pin without Void For another example, the designated line name of the inspection and screening data is, for example, P5E_SSD11, the designated type is, for example, a connector pin, and the designated impedance value is, for example, 85 ohms. In step 21, a third target circuit board design data and a fourth target circuit board design data that meet the inspection and screening data are obtained. The line name of the third target circuit board design data is P5E_SSD11_C_TX_DN<2>, the coordinate information is (15644.41 626.62), the passing layer code and the starting point board layer code are Top, and the layer codes of the clear area are L2-11 and Bottom. The line name of the fourth target circuit board design data is P5E_SSD11_C_TX_DP<2>, the coordinate information is (15644.41 626.62), the layer code and the starting point layer code are Top, and the layer codes of the clear area are L2-11 and Bottom. In step 22, the processing unit 12 determines that the third target circuit board design data and the fourth target circuit board design data correspond to the connector pin type. In step 26, for the third target circuit board design data, the processing unit 12 obtains a third check layer code L2 adjacent to the starting point layer code Top and corresponding to the ground layer type, and then determines whether the third check layer code L2 is included in the layer codes L2-11 and Bottom where the clear areas are located to generate a connector pin check result information (as shown in the second row of Table 2 below). Similarly, in step 26, for the fourth target circuit board design data, the processing unit 12 obtains a third check layer code L2 adjacent to the starting point layer code Top and corresponding to the ground layer type, and then determines whether the third check layer code L2 is included in the layer codes L2-11 and Bottom where the clear areas are located, so as to generate another connector pin check result information (as shown in the third row of Table 2 below). Table 2 Line Name Starting point layer code Coordinate information Check layer code Examination results P5E_SSD11_C_TX_DN<2> TOP (15612.91 626.62) L2 SMD Pin without Void P5E_SSD11_C_TX_DP<2> TOP (15644.41 626.62) L2 SMD Pin without Void

綜上所述,本發明印刷電路板的通孔及連接器引腳自動檢查方法,藉由該處理單元12判定該至少一目標電路板設計資料對應於該通孔組類型或該連接器引腳類型。當該至少一目標電路板設計資料對應於該通孔組類型時,該處理單元12獲得該至少一目標通孔組檢查預設資料,以根據該至少一目標電路板設計資料、該至少一目標電路板設計資料對應的目標通孔檢查預設資料,及該第一通孔組檢查規則,產生至少一第一通孔組檢查結果資訊,再根據該至少一目標電路板設計資料,及該第二通孔組檢查規則,產生至少一第二通孔組檢查結果資訊。當該至少一目標電路板設計資料對應於該連接器引腳類型時,根據該至少一目標電路板設計資料及該連接器引腳檢查規則,產生至少一連接器引腳檢查結果資訊。藉此,以該處理單元12自動產生檢查結果,以大量節省人工檢查的時間,並降低發生錯誤的機率,故確實能達成本發明的目的。In summary, the method for automatically inspecting through-holes and connector pins of a printed circuit board of the present invention determines whether the at least one target circuit board design data corresponds to the through-hole group type or the connector pin type by the processing unit 12. When the at least one target circuit board design data corresponds to the through-hole group type, the processing unit 12 obtains the at least one target through-hole group inspection preset data, and generates at least one first through-hole group inspection result information according to the at least one target circuit board design data, the target through-hole inspection preset data corresponding to the at least one target circuit board design data, and the first through-hole group inspection rule, and then generates at least one second through-hole group inspection result information according to the at least one target circuit board design data and the second through-hole group inspection rule. When the at least one target circuit board design data corresponds to the connector pin type, at least one connector pin inspection result information is generated according to the at least one target circuit board design data and the connector pin inspection rule. Thus, the processing unit 12 automatically generates the inspection result, which greatly saves the time of manual inspection and reduces the probability of error, so the purpose of the present invention can be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above is only an embodiment of the present invention and should not be used to limit the scope of implementation of the present invention. All simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the content of the patent specification are still within the scope of the present patent.

11:儲存單元 12:處理單元 21~26:步驟 251、252:子步驟 261、262:子步驟 11: Storage unit 12: Processing unit 21~26: Steps 251, 252: Sub-steps 261, 262: Sub-steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明用來實施本發明印刷電路板的通孔及連接器引腳自動檢查方法的一實施例的電腦系統; 圖2是一流程圖,說明本發明印刷電路板的通孔及連接器引腳自動檢查方法的該實施例; 圖3是一流程圖,輔助說明圖2的步驟25的子步驟;及 圖4是一流程圖,輔助說明圖2的步驟26的子步驟。 Other features and effects of the present invention will be clearly presented in the implementation method with reference to the drawings, in which: FIG. 1 is a block diagram illustrating a computer system for implementing an embodiment of the method for automatically inspecting through holes and connector pins of a printed circuit board of the present invention; FIG. 2 is a flow chart illustrating the embodiment of the method for automatically inspecting through holes and connector pins of a printed circuit board of the present invention; FIG. 3 is a flow chart to assist in illustrating the sub-steps of step 25 of FIG. 2; and FIG. 4 is a flow chart to assist in illustrating the sub-steps of step 26 of FIG. 2.

21~26:步驟 21~26: Steps

Claims (9)

一種印刷電路板的通孔及連接器引腳自動檢查方法,由一電腦裝置來實施,該儲存有多筆分別對應於多個通孔組與多個連接器引腳的電路板設計資料、一檢查篩選資料、至少一通孔組檢查規則,及一連接器引腳檢查規則,每一電路板設計資料對應於一差分對線路電連接的一通孔組或一連接器引腳,該檢查篩選資料包括一指定類型,該指定類型為一通孔組類型或一連接器引腳類型,該方法包含以下步驟: (A)根據該檢查篩選資料,從該等電路板設計資料中獲得至少一符合該檢查篩選資料的多筆目標電路板設計資料; (B)判定該至少一目標電路板設計資料對應於該通孔組類型或該連接器引腳類型; (C)當判定出該至少一目標電路板設計資料對應於該通孔組類型時,對於每一目標電路板設計資料,根據該目標電路板設計資料及該至少一通孔組檢查規則,產生至少一對應該目標電路板設計資料的通孔組檢查結果資訊,且該至少一通孔組檢查結果資訊分別對應該至少一通孔組檢查規則;及 (D)當判定出該至少一目標電路板設計資料對應於該連接器引腳類型時,對於每一目標電路板設計資料,根據該目標電路板設計資料及該連接器引腳檢查規則,產生一對應該目標電路板設計資料的連接器引腳檢查結果資訊。 A method for automatically checking through-holes and connector pins of a printed circuit board is implemented by a computer device, which stores a plurality of circuit board design data corresponding to a plurality of through-hole groups and a plurality of connector pins, a check filter data, at least one through-hole group check rule, and a connector pin check rule. Each circuit board design data corresponds to a through-hole group or a connector pin electrically connected to a differential pair of lines. The check filter data includes a specified type, which is a through-hole group type or a connector pin type. The method comprises the following steps: (A) obtaining at least one target circuit board design data that meets the check filter data from the circuit board design data according to the check filter data; (B) determining that the at least one target circuit board design data corresponds to the through hole group type or the connector pin type; (C) when it is determined that the at least one target circuit board design data corresponds to the through hole group type, for each target circuit board design data, generating at least one through hole group inspection result information corresponding to the target circuit board design data according to the target circuit board design data and the at least one through hole group inspection rule, and the at least one through hole group inspection result information respectively corresponds to the at least one through hole group inspection rule; and (D) When it is determined that the at least one target circuit board design data corresponds to the connector pin type, for each target circuit board design data, a connector pin check result information corresponding to the target circuit board design data is generated according to the target circuit board design data and the connector pin check rule. 如請求項1所述的印刷電路板的通孔及連接器引腳自動檢查方法,每一電路板設計資料還包括一阻抗值,該檢查篩選資料還包括一指定線路名稱及一指定阻抗值,其中,在步驟(A)中,該至少一目標電路板設計資料的該線路名稱包括該指定線路名稱,該至少一目標電路板設計資料的阻抗值與該指定阻抗值相同。As described in claim 1, the method for automatically inspecting through holes and connector pins of a printed circuit board, each circuit board design data also includes an impedance value, and the inspection screening data also includes a specified circuit name and a specified impedance value, wherein, in step (A), the circuit name of the at least one target circuit board design data includes the specified circuit name, and the impedance value of the at least one target circuit board design data is the same as the specified impedance value. 如請求項1所述的印刷電路板的通孔及連接器引腳自動檢查方法,該電腦裝置還儲存多筆分別對應該等通孔組的通孔組檢查預設資料,該電腦裝置儲存一通孔組檢查規則,該通孔組檢查規則為一電路板設計資料的至少一避讓區域大小參數及至少一通孔中心距離是否符合一目標通孔組檢查預設資料,每一對應於該等通孔組的電路板設計資料包括至少一相關於該差分對線路所通過層數的通過層數代碼、至少一分別對應該至少一通過層數代碼的避讓區域大小參數,及至少一分別對應該至少一通過層數代碼的通孔中心距離,每一通孔組檢查預設資料包括一理想避讓區域大小參數,及一理想通孔中心距離,其中,步驟(C)包括以下子步驟: (C-1)從該等通孔組檢查預設資料中獲得至少一分別對應該至少一目標電路板設計資料的目標通孔組檢查預設資料;及 (C-2)對於每一目標電路板設計資料,比對該目標電路板設計資料的至少一避讓區域大小參數是否皆與該目標通孔檢查預設資料的一理想避讓區域大小參數一致,以及比對該目標電路板設計資料的至少一通孔中心距離是否皆與該目標通孔檢查預設資料的一理想通孔中心距離一致,以產生一通孔組檢查結果資訊。 The method for automatically inspecting through holes and connector pins of a printed circuit board as described in claim 1, wherein the computer device further stores a plurality of through hole group inspection preset data corresponding to the through hole groups, and the computer device stores a through hole group inspection rule, wherein the through hole group inspection rule is whether at least one avoidance area size parameter and at least one through hole center distance of a circuit board design data meet a target through hole group inspection preset data, each corresponding to the through hole groups The circuit board design data includes at least one passing layer code related to the number of layers passed by the differential pair line, at least one avoidance area size parameter corresponding to the at least one passing layer code, and at least one through-hole center distance corresponding to the at least one passing layer code, and each through-hole group inspection preset data includes an ideal avoidance area size parameter and an ideal through-hole center distance, wherein step (C) includes the following sub-steps: (C-1) obtaining at least one target through-hole group inspection preset data corresponding to the at least one target circuit board design data from the through-hole group inspection preset data; and (C-2) for each target circuit board design data, comparing whether at least one avoidance area size parameter of the target circuit board design data is consistent with an ideal avoidance area size parameter of the target through-hole inspection preset data, and comparing whether at least one through-hole center distance of the target circuit board design data is consistent with an ideal through-hole center distance of the target through-hole inspection preset data, so as to generate a through-hole group inspection result information. 如請求項3所述的印刷電路板的通孔及連接器引腳自動檢查方法,其中,在子步驟(C-2)中,若該至少一避讓區域大小參數與該理想避讓區域大小參數一致,且該至少一通孔中心距離與該理想通孔中心距離一致,則該通孔組檢查結果資訊指示出通過;若該至少一避讓區域大小參數之其中一者與該理想避讓區域大小參數不一致,或該至少一通孔中心距離之其中一者與該理想通孔中心距離不一致,則該通孔組檢查結果資訊指示出錯誤。A method for automatically inspecting through holes and connector pins of a printed circuit board as described in claim 3, wherein, in sub-step (C-2), if the at least one avoidance area size parameter is consistent with the ideal avoidance area size parameter, and the at least one through-hole center distance is consistent with the ideal through-hole center distance, then the through-hole group inspection result information indicates a pass; if one of the at least one avoidance area size parameter is inconsistent with the ideal avoidance area size parameter, or one of the at least one through-hole center distances is inconsistent with the ideal through-hole center distance, then the through-hole group inspection result information indicates an error. 如請求項1所述的印刷電路板的通孔及連接器引腳自動檢查方法,該電腦裝置儲存一通孔組檢查規則,每一電路板設計資料包括至少一相關於該差分對線路所通過層數的通過層數代碼、多個相關於該印刷電路板所有層數的所有層數代碼,及多個淨空區域所在層數代碼,每一所有層數代碼對應一板層類型,該通孔組檢查規則為一電路板設計資料的多個所有層數代碼中,除該電路板設計資料的至少一通過層數代碼以外,對應多個通孔組檢查板層類型的層數代碼是否包含於該電路板設計資料的多個淨空區域所在層數代碼,其中,步驟(C)包括以下子步驟: (C-1)對於每一目標電路板設計資料,從該目標電路板設計資料的該等所在層數代碼中,扣除該至少一通過層數代碼,以獲得多個候選檢查層數代碼,再由該等候選檢查層數篩選出多個對應該等通孔組檢查板層類型的檢查層數代碼;及 (C-2)對於每一目標電路板設計資料,判定該等檢查層數代碼是否包含於該目標電路板設計資料的多個淨空區域所在層數代碼,以產生一通孔組檢查結果資訊。 The method for automatically checking through holes and connector pins of a printed circuit board as described in claim 1, wherein the computer device stores a through hole group checking rule, and each circuit board design data includes at least one through layer code related to the layer through which the differential pair line passes, a plurality of all layer codes related to all layers of the printed circuit board, and a plurality of layer codes where the clear area is located, and each all layer code The through hole group inspection rule is that among all the multiple layer codes of a circuit board design data, except for at least one through layer code of the circuit board design data, the layer codes corresponding to the multiple through hole groups are checked to see whether they are included in the layer codes of the multiple clear areas of the circuit board design data, wherein step (C) includes the following sub-steps: (C-1) For each target circuit board design data, deduct the at least one pass layer code from the layer codes of the target circuit board design data to obtain multiple candidate inspection layer codes, and then screen multiple inspection layer codes corresponding to the through hole group inspection layer types from the candidate inspection layers; and (C-2) For each target circuit board design data, determine whether the inspection layer codes are included in the layer codes of the multiple clear areas of the target circuit board design data to generate a through hole group inspection result information. 如請求項5所述的印刷電路板的通孔及連接器引腳自動檢查方法,其中,在子步驟(C-2)中,若該等檢查層數代碼包含於該等淨空區域所在層數代碼,則該通孔組檢查結果資訊指示出通過,若該等檢查層數代碼不包含於該等淨空區域所在層數代碼,則該通孔組檢查結果資訊指示出錯誤。A method for automatically inspecting through holes and connector pins of a printed circuit board as described in claim 5, wherein, in sub-step (C-2), if the inspection layer number codes are included in the layer number codes where the clear space areas are located, then the through hole group inspection result information indicates a pass; if the inspection layer number codes are not included in the layer number codes where the clear space areas are located, then the through hole group inspection result information indicates an error. 如請求項1所述的印刷電路板的通孔及連接器引腳自動檢查方法,該電腦裝置還儲存多筆分別對應該等通孔組的通孔組檢查預設資料,該電腦裝置儲存一第一通孔組檢查規則,及一第二通孔組檢查規則,每一電路板設計資料包括至少一相關於該差分對線路所通過層數的通過層數代碼、多個相關於該印刷電路板所有層數的所有層數代碼,及多個淨空區域所在層數代碼,每一所有層數代碼對應一板層類型,該第一通孔組檢查規則為一電路板設計資料的至少一避讓區域大小參數及至少一通孔中心距離是否符合一目標通孔組檢查預設資料,每一對應於該等通孔組的電路板設計資料包括至少一相關於該差分對線路所通過層數的通過層數代碼、至少一分別對應該至少一通過層數代碼的避讓區域大小參數,及至少一分別對應該至少一通過層數代碼的通孔中心距離,每一通孔組檢查預設資料包括一理想避讓區域大小參數,及一理想通孔中心距離,該第二通孔組檢查規則為一電路板設計資料的多個所有層數代碼中,除該電路板設計資料的至少一通過層數代碼以外,對應多個通孔組檢查板層類型的層數代碼是否包含於該電路板設計資料的多個淨空區域所在層數代碼,其中,步驟(C)包括以下子步驟: (C-1)從該等通孔組檢查預設資料中獲得至少一分別對應該至少一目標電路板設計資料的目標通孔組檢查預設資料; (C-2)對於每一目標電路板設計資料,根據該目標電路板設計資料、該目標電路板設計資料對應的一目標通孔檢查預設資料,及該第一通孔組檢查規則,產生一對應該目標電路板設計資料的第一通孔組檢查結果資訊;及 (C-3)對於每一目標通孔檢查預設資料,根據該目標電路板設計資料,及該第二通孔組檢查規則,產生一對應該目標電路板設計資料的第二通孔組檢查結果資訊。 The method for automatically inspecting through holes and connector pins of a printed circuit board as described in claim 1, the computer device also stores a plurality of through hole group inspection preset data corresponding to the through hole groups, the computer device stores a first through hole group inspection rule, and a second through hole group inspection rule, each circuit board design data includes at least one through layer code related to the layer through which the differential pair line passes, a plurality of all layer codes related to all layers of the printed circuit board, and a plurality of layer codes where the clear area is located, each all layer code corresponds to a board layer type, the first through hole group inspection rule is whether at least one avoidance area size parameter and at least one through hole center distance of a circuit board design data meet a target through hole group inspection preset data, each corresponding to the The circuit board design data of the through hole group includes at least one passing layer code related to the layer passed by the differential pair line, at least one avoidance area size parameter corresponding to the at least one passing layer code, and at least one through hole center distance corresponding to the at least one passing layer code. Each through hole group inspection preset data includes an ideal avoidance area size parameter and an ideal through hole center distance. The second through hole group inspection rule is that among all the multiple layer codes of a circuit board design data, except for at least one passing layer code of the circuit board design data, the layer codes corresponding to the multiple through hole group inspection board layer types are included in the layer codes of the multiple clear areas of the circuit board design data. Step (C) includes the following sub-steps: (C-1) obtaining at least one target through-hole group inspection preset data respectively corresponding to the at least one target circuit board design data from the through-hole group inspection preset data; (C-2) for each target circuit board design data, generating a first through-hole group inspection result information corresponding to the target circuit board design data according to the target circuit board design data, a target through-hole inspection preset data corresponding to the target circuit board design data, and the first through-hole group inspection rule; and (C-3) for each target through-hole inspection preset data, generating a second through-hole group inspection result information corresponding to the target circuit board design data according to the target circuit board design data and the second through-hole group inspection rule. 如請求項1所述的印刷電路板的通孔及連接器引腳自動檢查方法,每一電路板設計資料包括至少一相關於該差分對線路所通過層數的通過層數代碼、多個相關於該印刷電路板所有層數的所有層數代碼,及多個淨空區域所在層數代碼,每一所有層數代碼對應一板層類型,該至少一通過層數代碼具有一相關於該差分對線路預設的一檢查起始點層數的起始點層數代碼,該連接器引腳檢查規則為一電路板設計資料的多個所有層數代碼中,相鄰於該電路板設計資料的一起始點層數代碼且符合一連接器引腳檢查板層類型的目標所有層數代碼是否包含於該電路板設計資料的多個淨空區域所在層數代碼,其中,步驟(D)包括以下子步驟: (D-1)對於每一目標電路板設計資料,根據該目標電路板設計資料的該起始點層數代碼,獲得相鄰該起始點層數代碼且對應該連接器引腳檢查板層類型的一檢查層數代碼;及 (D-2)對於每一目標電路板設計資料,判定該檢查層數代碼是否包含於該目標電路板設計資料的多個淨空區域所在層數代碼,以產生該連接器引腳檢查結果資訊。 As described in claim 1, the through-hole and connector pin automatic inspection method of the printed circuit board, each circuit board design data includes at least one through-layer code related to the layer through which the differential pair line passes, a plurality of all-layer codes related to all layers of the printed circuit board, and a plurality of layer codes where the clear area is located, each all-layer code corresponds to a board layer type, and the at least one through-layer code has a layer code related to the differential pair line. The connector pin check rule is to check whether all target layer codes adjacent to a starting point layer code of the circuit board design data and conforming to a connector pin check board layer type are included in the layer codes of multiple clear areas of the circuit board design data, wherein step (D) includes the following sub-steps: (D-1) For each target circuit board design data, according to the starting point layer code of the target circuit board design data, obtain a check layer code adjacent to the starting point layer code and corresponding to the connector pin check layer type; and (D-2) For each target circuit board design data, determine whether the check layer code is included in the layer codes of multiple clear areas of the target circuit board design data to generate the connector pin check result information. 如請求項8所述的印刷電路板的通孔及連接器引腳自動檢查方法,其中,在子步驟(D-2)中,若該檢查層數代碼所包含於該等淨空區域所在層數代碼,則該連接器引腳檢查結果資訊指示出通過,若該檢查層數代碼不包含於該等淨空區域所在層數代碼,則該連接器引腳檢查結果資訊指示出錯誤。A method for automatically inspecting through holes and connector pins of a printed circuit board as described in claim 8, wherein, in sub-step (D-2), if the inspection layer code is included in the layer code where the clear space areas are located, then the connector pin inspection result information indicates a pass; if the inspection layer code is not included in the layer code where the clear space areas are located, then the connector pin inspection result information indicates an error.
TW111150835A 2022-12-30 2022-12-30 Automatic inspection method for through hole vias and connector pins of pcb TWI830565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111150835A TWI830565B (en) 2022-12-30 2022-12-30 Automatic inspection method for through hole vias and connector pins of pcb

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111150835A TWI830565B (en) 2022-12-30 2022-12-30 Automatic inspection method for through hole vias and connector pins of pcb

Publications (2)

Publication Number Publication Date
TWI830565B TWI830565B (en) 2024-01-21
TW202426944A true TW202426944A (en) 2024-07-01

Family

ID=90459270

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111150835A TWI830565B (en) 2022-12-30 2022-12-30 Automatic inspection method for through hole vias and connector pins of pcb

Country Status (1)

Country Link
TW (1) TWI830565B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4056773A (en) * 1976-08-25 1977-11-01 Sullivan Donald F Printed circuit board open circuit tester
US8248816B2 (en) * 2006-10-31 2012-08-21 Hewlett-Packard Development Company, L.P. Methods of designing multilayer circuitry, multilayer circuit design apparatuses, and computer-usable media
US7855567B2 (en) * 2008-04-01 2010-12-21 Test Research, Inc. Electronic device testing system and method
CN203965580U (en) * 2013-12-23 2014-11-26 苏州路之遥科技股份有限公司 A kind of ICT measurement jig for detection of circuit board plug connector

Also Published As

Publication number Publication date
TWI830565B (en) 2024-01-21

Similar Documents

Publication Publication Date Title
CN109241681B (en) Reflow soldering simulation optimization method and system, computer storage medium and equipment
US9147034B1 (en) Circuit layout verification method
KR102657751B1 (en) Board inspection method using a learning model
TW201426367A (en) System and method for checking wiring diagrams
KR20130100688A (en) Area classifying device, substrate detecting device and method for classifying area
CN107908873B (en) A method and device for inspecting a high-speed line across a reference plane
US10176288B1 (en) System and method for placing components in an electronic circuit design
TW202426944A (en) Automatic inspection method for through hole vias and connector pins of pcb
CN105975698B (en) A layout method of differential vias and PCB
TWI468965B (en) System and method for checking wiring diagrams
US10470308B1 (en) Printed circuit board assembly and electronic device using the same
JPWO2010052783A1 (en) Multilayer printed wiring board, multilayer printed wiring board inspection method, multilayer printed wiring board inspection system, and multilayer printed wiring board manufacturing method
CN102331527A (en) A method for automatic detection of impedance characteristics in printed circuit boards
CN118446171A (en) Automatic inspection method for through hole and connector pin of printed circuit board
JPH11143917A (en) Check device and method for printed board
CN101303703A (en) System and method for forming threading through hole
CN114254583B (en) Method, device, equipment and storage medium for checking pin connection of device
TW202120945A (en) Method for automatic checking pins and vias of differential signal lines
CN106211636A (en) The determination method of PCB Aligning degree and PCB
JP6699215B2 (en) Printed wiring board
TWI409654B (en) System and method for checking distance between capacitance and via
JP2008028213A (en) Circuit board and inspection method therefor
CN108932376A (en) Modeling method, device and the electronic equipment of pcb board via hole stub
CN111225507A (en) Method for solving problem of stub affecting signal transmission and PCB adopting same
CN113051853B (en) Damaged component carrier determination method, computer program, computer readable medium, and detection system