PCB 설계 서비스 사양은

게시일 : 2020-03-03

PCB 설계 규칙 검사기 (DRC) 시스템 접근 방식. 회로도 생성 도구를 사용하여 PCB 설계를 얻은 후 DRC를 실행하여 PCB 설계 규칙을 위반하는 결함을 찾을 수 있습니다. 이러한 작업은 후속 처리가 시작되기 전에 완료되어야하며 회로 생성 도구 개발자는 대부분의 PCB 설계자가 쉽게 마스터 할 수있는 DPCB 도구를 제공해야합니다.

There are many advantages to writing your own PCB design rule checker. Although the PCB design checker is not so simple, it is not unattainable, because any PCB designer who is familiar with existing programming or scripting languages ​​can fully The benefits of work are incalculable.

However, general purpose marketing tools are often not flexible enough to meet specific PCB design needs. Therefore, customers must reflect the new feature requirements to the DRC tool developers, and this usually takes a certain amount of money and time, especially when the requirements are constantly updated. Fortunately, most tool developers can provide customers with a convenient way to write their own DRC to meet specific needs. However, this powerful tool has not been widely recognized or used. This article provides a practical guide to getting the most out of your DRC tools.

Since the DRC must traverse the entire circuit design of the PCB, including each symbol, each pin, each network, and each attribute, if necessary, an unlimited number of “accessory” files can be created. As described in Section 4.0, DRC can flag any minor deviations that violate PCB design rules. For example, one of the accompanying documents may contain all the decoupling capacitors used in the PCB design. If the number of capacitors is lower or higher than the expected value, a red mark will be marked where the power line dv / dt problem may occur. These ancillary files may be necessary, but not any commercial DRC tool will necessarily create them.

Another advantage of DRC is that it is easy to update to meet the needs of new PCB design characteristics, such as those that may affect PCB design rules. And, once you have sufficient experience in this area, there are many other functions that can be implemented.

For example, if you can write your own DRC, you can write your own bill of materials (BOM) creation tool, which can better handle specific user needs, such as how to obtain “extra hardware” for devices that are not part of the circuit diagram database (such as Socket, heat sink, or screwdriver). Or PCB designers can write their own Verilog netlist analyzer, which has sufficient flexibility in the PCB design environment, such as how to obtain Verilog models or time files suitable for a specific device. In fact, because DRC traverses the entire PCB design circuit diagram, it can collect all valid information to output the simulation and / or BOM required for PCB design Verilog netlist analysis.

It is a bit far-fetched to discuss these topics without providing any program code. For this reason, we will use a circuit diagram acquisition tool as an example. This article uses the ViewDraw tool developed by Mentor Graphics, a subsidiary of the PADS-Designer product line. In addition, we also use the ViewBase tool, which is a simplified C routine library that can be called and accesses the ViewDraw database. With ViewBase tools, PCB designers can easily use C / C language to write complete and efficient DRC tools for ViewDraw [2] [3]. Note that the basic principles discussed here apply equally to any other PCB schematic tool.

Input file

In addition to the circuit diagram database, DRC also needs some input files that can describe specific situations, such as legal power network names that are automatically connected to the power plane. For example, if the power network is named POWER, the power plane will be automatically connected to the power plane using back-end packaging equipment (such as for ViewDrawpcbfwd). A list of input files is given below. These files must be placed in a fixed global location so that DRC can automatically find and read them, and then save this information inside the DRC at runtime.

Some symbols must have external power line pins because these symbols are not connected to the regular power line layer. For example, the ECC device’s VCC pin can either be connected to VCC or GROUND; its VEE pin can be connected to GROUND or -5.0V plane. In addition, the power line pins can be connected to the filter before reaching the power line layer.

The power line pins are usually not externally connected to the device symbol. Instead, an attribute of the symbol (herein referred to as SIGNAL) describes which pin is a power pin or a ground pin and describes that the pin should be connected to a network name.



The DRC can read this attribute and ensure that the network name is stored in the legal_pwr_net_name file. If the legal_pwr_net_name does not contain the network name, the power pin will not be connected to the power plane, and this problem is really serious.

The file legal_pwr_net_name is optional. This file contains all legal network names of the POWER signal, such as VCC, V3_3P, and VDD. In the PCB layout / routing tool, it is necessary to distinguish the case of the name. Generally, VCC is not the same as Vcc or vcc. VCC can be a 5.0V power supply, while V3_3P can be a 3.3V power supply.

The file legal_pwr_net_name is optional because the back-end packaged device configuration file usually must contain a set of legal power cord network names. If you use the Allegro wiring tool from CadencePCB Design System, then the pcbfwd file name is allegro.cfg and has the following entry parameters:


Power: VCC VDD VEE V3_3P V2_5P 5V 12V

If the DRC can directly read the allegro.cfg file instead of legal_pwr_net_name, then it will get better results (that is, the probability of introducing errors is smaller).