A method for checking whether the wiring crosses the segmentation in PCB design

By developing an automatic inspection program in Allegro software, the problem of wiring span segmentation caused by power and ground plane segmentation in PCB design is solved, inspection efficiency and accuracy are improved, and production costs are reduced.

CN111832246BActive Publication Date: 2024-08-27SHANDONG INSPUR SCI RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010472796.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-29
Publication Date
2024-08-27
Estimated Expiration
2040-05-29

AI Technical Summary

Technical Problem

In PCB design, due to the division of power and ground planes, wiring often crosses divisions. Manual inspection is cumbersome and easy to miss, affecting signal integrity and EMI/EMC characteristics, and increasing production costs.

Method used

By developing a Skill program in Allegro software, we can automatically check the coordinate matching of each ETCH layer and its adjacent PLANE layer, determine and highlight the cross-divided parts, and reduce the process of manually finding problems.

Benefits of technology

It improves inspection efficiency and accuracy, avoids omission errors in manual inspection, reduces production costs, and improves wiring optimization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111832246B
    Figure CN111832246B
Patent Text Reader

Abstract

The purpose of the present invention is to provide a method for checking whether the wiring is cross-split in PCB design, comprising the following steps: classifying all routing lines according to ETCH layers according to the PCB stacking; detecting whether the adjacent layer of each ETCH layer is a PLANE layer; the user selects the ETCH layer to be checked, and calculates whether the coordinates of a complete cline section are all within the coordinate point area of ​​the PLANE; if not, it is determined to be cross-split and marked; the same method is used to process all ETCH layers to be checked. The present invention can free layout engineers from the complicated work of manual inspection and achieve the purpose of high efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of PCB design, and more particularly to a method for checking whether wiring is cross-segmented in PCB design. Background Art

[0002] At present, there are many PCB design software in the electronics industry. Allegro software is one of them, which has very rich and powerful functions. This software uses a unique data form to store design files, and each design file has a corresponding independent database support. There are mainly two types of information in the database: physical information and logical information. All the functional operations of Allegro software are editing and operating this database. In the same situation, using the extended Skill interface provided by the software, you can also edit this database, so as to realize some functions that are not provided by the program and improve the efficiency of Layout work.

[0003] When designing a circuit board, there will be multiple power supplies (such as 12V, 3.3V, 1.8V, etc.) and multiple grounds (digital ground, analog ground, protection ground, etc.) crisscrossing the power plane or ground plane, and the required power and ground planes will be hollowed out. We cannot assign each power supply and ground to a layer to ensure that these power supplies and grounds have high reliability. This will inevitably increase the stacking of PCB boards and significantly increase the cost of circuit board production. In order to save costs and ensure the reliability of circuit boards, when designing PCBs, we will design the power supplies or grounds of multiple PCBs on the same plane according to the characteristics of the circuit boards, resulting in incomplete power and ground planes, that is, power (ground) layer segmentation. When the PCB wiring on the circuit passes through the power (ground) layer segmentation, the integrity of the signal will be greatly affected, and the EMI and EMC characteristics of the circuit will also change. When designing and wiring PCBs, due to the large and complex wiring volume, cross-segmentation is inevitable. To solve this problem, after the PCB design completes the wiring and high-speed line, the layout engineer needs to open a certain ETCH layer and its adjacent power (ground) layer to manually check whether the wiring has any cross-segmentation. However, manual inspection is not only a waste of time but also prone to omissions. Summary of the invention

[0004] The purpose of the present invention is to provide a method for automatically checking whether cross-segmentation occurs in PCB design wiring in Allegro software, so that layout engineers can get rid of the complicated work of manual inspection and achieve the purpose of high efficiency and accuracy.

[0005] In order to achieve the above-mentioned purpose, the present invention is implemented through the following technical solutions.

[0006] A method for checking whether wiring crosses segmentation in PCB design includes the following steps:

[0007] Classify all traces according to the ETCH layer based on the PCB stack;

[0008] Check whether the adjacent layer of each ETCH layer is a PLANE layer;

[0009] The user selects the ETCH layer to be checked and calculates whether the coordinates of a complete cline segment are all within the coordinate point area of ​​PLANE;

[0010] If not, it is considered as cross-segmentation and marked;

[0011] The same method is used for all ETCH layers that need to be checked.

[0012] Preferably, the method further comprises the following steps before the above steps:

[0013] Modify the configuration file of the computer software to directly modify the background database of the Layout design.

[0014] The advantage of the present invention is that a method for checking whether PCB wiring is cross-split is written into a Skill program. By using this Skill program, it is possible to directly check whether a certain layer of wiring and its adjacent layer are cross-split. If so, the cross-split is highlighted. Engineers can directly check the highlighted ETCH for optimization, reducing the process of manually finding problems, thereby improving work efficiency and avoiding omission errors caused by manual inspection. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 Schematic diagram of PCB stacking in Example 1. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0017] A method for checking whether wiring crosses segmentation in PCB design, comprising the steps of:

[0018] S1 Modify the configuration file of Allegro software,

[0019] Place the configuration file allegro.men in the \Cadence\SPB_16.6\share\pcb\text\cuimenus directory under the Allegro installation path (this directory stores the menu configuration files of the Allegro software. The menu interface of the software can be modified by modifying the code).

[0020] S2 Add skill initialization file to automatically load the skill program when Allegro software starts.

[0021] S3 starts the program, classifies all traces according to the ETCH layer based on the PCB stack, and names them as their subclass names:

[0022] PCB stackup is composed of ETCH layer and PLANE layer stacked in a specific order. ETCH layer is the wiring layer, where the signal line is located, and PLANE layer is the plane layer; Subclass is a subclass, and things with different properties of PCB are classified under different subclasses, and different layers of routing are classified by different names.

[0023] S4 detects whether the adjacent layer of each ETCH layer is a PLANE layer, and when the user selects the ETCH layer to be checked in the interactive interface, displays the name of the adjacent PLANE layer;

[0024] PLANE layer is a plane layer, which is divided into VCC layer (power layer) and GND layer (ground layer), and further subdivided into (GND1, GND2, GND3, GND4, GND5, GND6, GND7, GND8...) (VCC1, VCC2). After selecting the ETCH layer to be detected, the program can automatically identify whether its adjacent layers are PLANE layers, and if so, which ones they are, and display them.

[0025] S5 After the user clicks "check", the program will calculate whether the coordinates of a complete cline in the selected ETCH layer are all within the coordinate point area of ​​PLANE. If not, it can be determined as cross-segmentation and the cline segment will be highlighted;

[0026] A complete cline is a complete small individual of the object being detected. If all the complete clines in the entire ETCH layer have no cross-segmentation, there is no cross-segmentation in this layer. The position of a complete cline is located by the coordinate value of the corner of this cline. The position of the entire cline is obtained by connecting the positioning coordinates. Because there are copper areas of different shapes and properties inside the adjacent PLANE layer, there are gaps between different copper areas. If the cline crosses this gap, it is a cross-segmentation. By detecting whether the coordinates of all the corners on a complete cline are all on a copper area of ​​the adjacent layer PLANE, it can be determined whether this cline has a cross-segmentation.

[0027] S6 The wiring of other ETCH layers adopts the same processing method.

[0028] like Figure 1 In the PCB stack shown, the ETCH layer and the PLANE layer are alternately stacked. When checking whether the traces of the SIG2 layer are cross-split, use its adjacent layers GND2 and GND3 as reference layers to check whether all the complete cline corner coordinates in the SIG2 layer are all on the vertically corresponding copper foils in GND2 and GND3. If all are, it means that there is no cross-split.

[0029] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for checking whether wiring crosses segmentation in PCB design, characterized in that: The following steps are involved: S1 Modify the configuration file of Allegro software, put the configuration file allegro.men in the directory \Cadence\SPB_16.6\share\pcb\text\cuimenus under the Allegro installation path, which stores the menu configuration file of Allegro software. Modify the menu interface of the software by modifying the code; S2 adds skill initialization file to automatically load skill program when Allegro software starts; S3 launcher; S4 Classify all traces according to the ETCH layer based on the PCB stack; S5 detects whether the adjacent layer of each ETCH layer is a PLANE layer; S6 The user selects the ETCH layer to be checked and calculates whether the coordinates of a complete cline segment are all within the coordinate point area of ​​PLANE: The complete cline is a complete small individual of the detected object. If all the complete clines in the entire ETCH layer have no cross-segmentation, there is no cross-segmentation in this layer. The position of a complete cline is located by the coordinate value of the corner of the cline, and the position of the entire cline is obtained by connecting the positioning coordinate line; There are copper areas of different shapes and properties inside the adjacent PLANE layers of a complete cline. There are gaps between different copper areas. If the cline crosses this gap, it is a cross-segmentation. By checking whether the coordinates of all corners on a complete cline are all on the copper area of ​​the adjacent layer PLANE, it is determined whether this cline has a cross-segmentation situation; If S7 is not present, it is considered as cross-segmentation and marked; S8 uses the same method to process all ETCH layers that need to be checked.

2. The method for checking whether wiring is across segmentation in PCB design according to claim 1, characterized in that: The method also includes the following steps before the above steps: Modify the configuration file of the computer software to directly modify the background database of the Layout design.