ข้อกำหนดของบริการออกแบบ PCB มีดังนี้

โพสต์เมื่อ 2020-03-03

แนวทางของระบบตัวตรวจสอบกฎการออกแบบ PCB (DRC) หลังจากใช้เครื่องมือสร้างแผนภาพวงจรเพื่อรับการออกแบบ PCB คุณสามารถเรียกใช้ DRC เพื่อค้นหาข้อบกพร่องใด ๆ ที่ละเมิดกฎการออกแบบ PCB การดำเนินการเหล่านี้ต้องเสร็จสิ้นก่อนที่จะเริ่มการประมวลผลในภายหลังได้และผู้พัฒนาเครื่องมือสร้างวงจรจะต้องจัดหาเครื่องมือ DPCB ที่นักออกแบบ PCB ส่วนใหญ่สามารถเชี่ยวชาญ

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

นอกจากฐานข้อมูลแผนภาพวงจรแล้ว DRC ยังต้องการไฟล์อินพุตบางอย่างที่สามารถอธิบายสถานการณ์เฉพาะเช่นชื่อเครือข่ายไฟฟ้าตามกฎหมายที่เชื่อมต่อกับระนาบกำลังโดยอัตโนมัติ ตัวอย่างเช่นถ้าเครือข่ายพลังงานมีชื่อว่า POWER ระนาบพลังงานจะเชื่อมต่อกับระนาบกำลังโดยอัตโนมัติโดยใช้อุปกรณ์บรรจุภัณฑ์แบบแบ็คเอนด์ (เช่น ViewDrawpcbfwd) รายการไฟล์อินพุตมีให้ด้านล่าง ไฟล์เหล่านี้ต้องวางไว้ในตำแหน่งส่วนกลางที่แน่นอนเพื่อให้ DRC สามารถค้นหาและอ่านได้โดยอัตโนมัติจากนั้นบันทึกข้อมูลนี้ไว้ใน DRC ขณะรันไทม์

สัญลักษณ์บางตัวต้องมีหมุดสายไฟภายนอกเนื่องจากสัญลักษณ์เหล่านี้ไม่ได้เชื่อมต่อกับเลเยอร์สายไฟปกติ ตัวอย่างเช่นพิน VCC ของอุปกรณ์ ECC สามารถเชื่อมต่อกับ VCC หรือ GROUND ขา VEE สามารถเชื่อมต่อกับเครื่องบิน GROUND หรือ -5.0V นอกจากนี้ยังสามารถเชื่อมต่อหมุดสายไฟเข้ากับตัวกรองก่อนถึงชั้นสายไฟ

โดยปกติหมุดสายไฟจะไม่เชื่อมต่อภายนอกกับสัญลักษณ์อุปกรณ์ แต่แอตทริบิวต์ของสัญลักษณ์ (ในที่นี้เรียกว่า SIGNAL) จะอธิบายว่าพินใดเป็นพินเพาเวอร์หรือพินกราวด์และอธิบายว่าพินควรเชื่อมต่อกับชื่อเครือข่าย

สัญญาณ = VCC: 10

สัญญาณ = พื้น: 20

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:

Ground: VSS CGND GND GROUND

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).