[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110610052A - PCB automatic wiring system and method - Google Patents

PCB automatic wiring system and method Download PDF

Info

Publication number
CN110610052A
CN110610052A CN201910892545.0A CN201910892545A CN110610052A CN 110610052 A CN110610052 A CN 110610052A CN 201910892545 A CN201910892545 A CN 201910892545A CN 110610052 A CN110610052 A CN 110610052A
Authority
CN
China
Prior art keywords
module
wiring
information
evaluation
rule
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201910892545.0A
Other languages
Chinese (zh)
Other versions
CN110610052B (en
Inventor
赵军锁
魏秀意
吴凤鸽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Software of CAS
Original Assignee
Institute of Software of CAS
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 Institute of Software of CAS filed Critical Institute of Software of CAS
Priority to CN201910892545.0A priority Critical patent/CN110610052B/en
Publication of CN110610052A publication Critical patent/CN110610052A/en
Application granted granted Critical
Publication of CN110610052B publication Critical patent/CN110610052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

本申请提供了一种PCB自动布线系统及方法,系统包括:原理图模块、复用处理模块、自动规则模块和AI布线模块;原理图模块用于生成电路原理图对应的网表;复用处理模块用于从网表中提取电路原理图中各个功能模块对应的模块信息;模块信息包括:模块的布局信息、走线信息及器件参数;自动规则模块用于根据网表及用户预设规则,生成各个功能模块对应的布线规则;自动规则模块中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;AI布线模块用于根据各个功能模块对应的模块信息和布线规则,进行自动布线;AI布线模块中包括对多个功能模块和布线规则进行深度学习后得到的布线模型。本申请可以提高自动布线的准确度及布线效率。

The application provides a PCB automatic wiring system and method. The system includes: a schematic diagram module, a multiplexing processing module, an automatic rule module and an AI wiring module; the schematic diagram module is used to generate a netlist corresponding to a circuit schematic diagram; multiplexing processing The module is used to extract the module information corresponding to each functional module in the circuit schematic diagram from the netlist; the module information includes: module layout information, routing information and device parameters; the automatic rule module is used to according to the netlist and user preset rules, Generate the wiring rules corresponding to each functional module; the automatic rule module includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams; the AI wiring module is used to according to the module information and wiring rules corresponding to each functional module, Perform automatic wiring; the AI wiring module includes a wiring model obtained after deep learning of multiple functional modules and wiring rules. The application can improve the accuracy and efficiency of automatic wiring.

Description

PCB自动布线系统及方法PCB automatic wiring system and method

技术领域technical field

本申请涉及集成电路技术领域,尤其是涉及一种PCB自动布线系统及方法。The present application relates to the technical field of integrated circuits, in particular to a PCB automatic wiring system and method.

背景技术Background technique

布线是在PCB(Printed Circuit Board,印制电路板)设计中一个关键的步骤,其功能是将元器件之间通过导线连接起来,实现特定的功能。传统的PCB设计流程,在原理图设计、PCB布局等过程中需要花费大量时间,在自动布线过程后,还需要进行手工调整,整个过程自动化程度不高,大部分工作由人工完成,效率低下。对于结构复杂,层数多,元器件种类多的PCB,自动布线结果往往很难满足电气性能的要求。Wiring is a key step in PCB (Printed Circuit Board, printed circuit board) design, and its function is to connect components through wires to achieve specific functions. The traditional PCB design process takes a lot of time in the process of schematic design, PCB layout, etc. After the automatic wiring process, manual adjustments are required. The entire process is not highly automated, and most of the work is done manually, which is inefficient. For PCBs with complex structures, many layers, and many types of components, the results of automatic wiring are often difficult to meet the requirements of electrical performance.

现有的PCB设计软件主要由三部分构成,即原理图部分、PCB部分、仿真部分,这三个部分通过网络表连接。PCB自动布线部分一般采用传统的布线算法如迷宫算法、线探索法等,这些算法运行时占用的存储空间大,且运算量大,效率低下,在处理结构复杂的PCB时很难达到满意的效果。The existing PCB design software is mainly composed of three parts, namely the schematic diagram part, the PCB part, and the simulation part, and these three parts are connected through a netlist. The PCB automatic routing part generally adopts traditional routing algorithms such as maze algorithm, line exploration method, etc. These algorithms occupy a large storage space when running, and have a large amount of calculation and low efficiency. It is difficult to achieve satisfactory results when processing PCBs with complex structures. .

发明内容Contents of the invention

本申请的目的在于提供一种PCB自动布线系统及方法,以缓解现有技术中布线效率低、布线效果差的技术问题。The purpose of the present application is to provide a PCB automatic routing system and method to alleviate the technical problems of low routing efficiency and poor routing effect in the prior art.

本申请实施例提供一种PCB自动布线系统,系统包括:原理图模块、复用处理模块、自动规则模块和AI布线模块;The embodiment of the present application provides a PCB automatic wiring system, the system includes: a schematic diagram module, a multiplexing processing module, an automatic rule module and an AI wiring module;

原理图模块,用于生成电路原理图对应的网表;网表包括:器件参数、电气连接关系、布局和规则信息;The schematic diagram module is used to generate the netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relations, layout and rule information;

复用处理模块,用于从网表中提取电路原理图中各个功能模块对应的模块信息;模块信息包括:模块的布局信息、走线信息及器件参数;The multiplexing processing module is used to extract the module information corresponding to each functional module in the circuit schematic diagram from the netlist; the module information includes: module layout information, routing information and device parameters;

自动规则模块,用于根据网表及用户预设规则,生成各个功能模块对应的布线规则;自动规则模块中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;The automatic rule module is used to generate the wiring rules corresponding to each functional module according to the netlist and user preset rules; the automatic rule module includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams;

AI布线模块,用于根据各个功能模块对应的模块信息和布线规则,进行自动布线;AI布线模块中包括对多个功能模块和布线规则进行深度学习后得到的布线模型。The AI wiring module is used to perform automatic wiring according to the module information and wiring rules corresponding to each functional module; the AI wiring module includes a wiring model obtained after deep learning of multiple functional modules and wiring rules.

进一步的,自动规则模块还用于,从网表中提取规则信息,将规则信息和用户预设规则输入规则生成模型中,以使规则生成模型输出各个功能模块对应的布线规则。Further, the automatic rule module is also used to extract rule information from the netlist, and input rule information and user preset rules into the rule generation model, so that the rule generation model outputs wiring rules corresponding to each functional module.

进一步的,AI布线模块包括:布线模型生成模块、布线模块和后处理模块;Further, the AI wiring module includes: a wiring model generation module, a wiring module and a post-processing module;

AI布线模块,还用于通过布线模型生成模块,对各个功能模块对应的模块信息进行布局匹配,及对各个功能模块对应的布线规则进行规则匹配,生成各个功能模块分别对应的目标布线模型,并调用与每个目标布线模型对应的布线模块进行布线操作,通过后处理模块输出布线结果。The AI wiring module is also used to generate the module through the wiring model, perform layout matching on the module information corresponding to each functional module, and perform rule matching on the wiring rules corresponding to each functional module, generate target wiring models corresponding to each functional module, and Call the routing module corresponding to each target routing model to perform routing operations, and output the routing results through the post-processing module.

进一步的,系统还包括:评价模块;评价模块中包括对多个电路布线规则和布局信息进行深度学习而生成的评价模型;Further, the system also includes: an evaluation module; the evaluation module includes an evaluation model generated by deep learning of multiple circuit wiring rules and layout information;

AI布线模块,还用于通过后处理模块,实时将当前布线信息发送至评价模块;The AI wiring module is also used to send the current wiring information to the evaluation module in real time through the post-processing module;

评价模块,用于通过评价模型对当前布线信息进行评价,并将评价信息返回至AI布线模块,以使AI布线模块基于评价信息对布线模型进行修改,并重新进行布线操作,直到评价信息满足预设评价要求。The evaluation module is used to evaluate the current wiring information through the evaluation model, and return the evaluation information to the AI routing module, so that the AI routing module can modify the wiring model based on the evaluation information, and perform the wiring operation again until the evaluation information meets the predetermined requirements. set evaluation requirements.

进一步的,系统还包括:仿真模块;Further, the system also includes: a simulation module;

复用处理模块,还用于从网表中提取各个功能模块对应的仿真模型和仿真参数,并将各个功能模块对应的仿真模型和仿真参数发送至仿真模块;The multiplexing processing module is also used to extract the simulation model and simulation parameters corresponding to each functional module from the netlist, and send the simulation model and simulation parameters corresponding to each functional module to the simulation module;

AI布线模块,还用于在自动布线完成后,将布线信息发送至仿真模块;布线信息包括:线宽、线长、位置、过孔;The AI routing module is also used to send the routing information to the simulation module after the automatic routing is completed; the routing information includes: line width, line length, position, via;

仿真模块,基于各个功能模块对应的仿真模型、仿真参数及布线信息,对布线完成后的PCB进行仿真,得到仿真结果。The simulation module, based on the simulation model, simulation parameters and wiring information corresponding to each functional module, simulates the PCB after the wiring is completed, and obtains the simulation result.

进一步的,AI布线模块,还用于将当前布线信息发送至评价模块;Further, the AI wiring module is also used to send the current wiring information to the evaluation module;

自动规则模块,还用于将布线规则发送至评价模块;an automatic rule module, also used to send wiring rules to the evaluation module;

仿真模块,还用于将仿真结果发送至评价模块;The simulation module is also used to send the simulation results to the evaluation module;

评价模块,还用于通过评价模型对当前布线信息、布线规则及仿真结果进行评价,并将评价信息返回至AI布线模块,以使AI布线模块基于评价信息对布线模型进行修改,并重新进行布线操作,直到评价信息满足预设评价要求。The evaluation module is also used to evaluate the current wiring information, wiring rules and simulation results through the evaluation model, and return the evaluation information to the AI wiring module, so that the AI wiring module can modify the wiring model based on the evaluation information and re-wire Operate until the evaluation information meets the preset evaluation requirements.

进一步的,仿真模块包括:信息处理模块、电路分析模块和显示模块;Further, the simulation module includes: an information processing module, a circuit analysis module and a display module;

信息处理模块,用于根据仿真模型、仿真参数及布线结果进行综合处理,生成PCB的全局模型,并将全局模型发送至电路分析模块;The information processing module is used to perform comprehensive processing according to the simulation model, simulation parameters and wiring results, generate a global model of the PCB, and send the global model to the circuit analysis module;

电路分析模块,用于对全局模型进行电路分析,并将电路分析结果发送至显示模块;The circuit analysis module is used to perform circuit analysis on the global model, and send the circuit analysis results to the display module;

显示模块,用于对电路分析结果进行显示并输出仿真结果。The display module is used for displaying the circuit analysis results and outputting the simulation results.

进一步的,电路分析模块包括:电路动态分析模块和电路暂态分析模块。Further, the circuit analysis module includes: a circuit dynamic analysis module and a circuit transient analysis module.

本申请实施例还提供一种PCB自动布线方法,方法应用于PCB自动布线系统中,PCB自动布线系统包括:原理图模块、复用处理模块、自动规则模块和AI布线模块;方法包括:The embodiment of the present application also provides a PCB automatic wiring method, the method is applied in the PCB automatic wiring system, the PCB automatic wiring system includes: a schematic diagram module, a multiplexing processing module, an automatic rule module and an AI wiring module; the method includes:

原理图模块,用于生成电路原理图对应的网表;网表包括:器件参数、电气连接关系、布局和规则信息;The schematic diagram module is used to generate the netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relations, layout and rule information;

复用处理模块,用于从网表中提取电路原理图中各个功能模块对应的模块信息;模块信息包括:模块的布局信息、走线信息及器件参数;The multiplexing processing module is used to extract the module information corresponding to each functional module in the circuit schematic diagram from the netlist; the module information includes: module layout information, routing information and device parameters;

自动规则模块,用于根据网表及用户预设规则,生成各个功能模块对应的布线规则;自动规则模块中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;The automatic rule module is used to generate the wiring rules corresponding to each functional module according to the netlist and user preset rules; the automatic rule module includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams;

AI布线模块,用于根据各个功能模块对应的模块信息和布线规则,进行自动布线;AI布线模块中包括对多个功能模块和布线规则进行深度学习后得到的布线模型。The AI wiring module is used to perform automatic wiring according to the module information and wiring rules corresponding to each functional module; the AI wiring module includes a wiring model obtained after deep learning of multiple functional modules and wiring rules.

进一步的,PCB自动布线系统还包括:评价模块;评价模块中包括对多个电路布线规则和布局信息进行深度学习而生成的评价模型;方法还包括:Further, the PCB automatic routing system also includes: an evaluation module; the evaluation module includes an evaluation model generated by deep learning of multiple circuit routing rules and layout information; the method also includes:

AI布线模块,还用于实时将当前布线信息发送至评价模块;The AI wiring module is also used to send the current wiring information to the evaluation module in real time;

评价模块,用于通过评价模型对当前布线信息进行评价,并将评价信息返回至AI布线模块,以使AI布线模块基于评价信息对布线模型进行修改,并重新进行布线操作,直到评价信息满足预设评价要求。The evaluation module is used to evaluate the current wiring information through the evaluation model, and return the evaluation information to the AI routing module, so that the AI routing module can modify the wiring model based on the evaluation information, and perform the wiring operation again until the evaluation information meets the predetermined requirements. set evaluation requirements.

本申请实施例提供的PCB自动布线系统及方法,均可以通过系统中的原理图模块、复用处理模块、自动规则模块和AI布线模块的共同作用,实现一种高效率的自动布线过程。其中,原理图模块用于生成电路原理图对应的网表;网表包括:器件参数、电气连接关系、布局和规则信息;复用处理模块用于从网表中提取电路原理图中各个功能模块对应的模块信息;模块信息包括:模块的布局信息、走线信息及器件参数;自动规则模块用于根据网表及用户预设规则,生成各个功能模块对应的布线规则;AI布线模块用于根据各个功能模块对应的模块信息和布线规则,进行自动布线;其中,自动规则模块中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;AI布线模块中包括对多个功能模块和布线规则进行深度学习后得到的布线模型,由于自动规则模块和AI布线模块中均包括通过深度学习后得到的模型,因此,可以提高自动布线的准确度及布线效率。The PCB automatic wiring system and method provided in the embodiments of the present application can realize a high-efficiency automatic wiring process through the joint action of the schematic diagram module, multiplexing processing module, automatic rule module and AI wiring module in the system. Among them, the schematic diagram module is used to generate the netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relations, layout and rule information; the multiplexing processing module is used to extract each functional module in the circuit schematic diagram from the netlist Corresponding module information; module information includes: module layout information, routing information and device parameters; automatic rule module is used to generate wiring rules corresponding to each functional module according to netlist and user preset rules; AI wiring module is used to The module information and wiring rules corresponding to each functional module are used for automatic wiring; among them, the automatic rule module includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams; the AI wiring module includes multiple functions The wiring model obtained after deep learning of modules and wiring rules, since both the automatic rule module and the AI wiring module include models obtained through deep learning, the accuracy and efficiency of automatic wiring can be improved.

附图说明Description of drawings

为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the specific embodiments or prior art. Obviously, the accompanying drawings in the following description The drawings are some implementations of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

图1为现有技术中的一种传统PCB设计的流程图;Fig. 1 is the flowchart of a kind of traditional PCB design in the prior art;

图2为现有技术中的一种PCB设计软件框图;Fig. 2 is a kind of PCB design software block diagram in the prior art;

图3为本申请实施例提供的一种PCB自动布线系统的框图;Fig. 3 is the block diagram of a kind of PCB automatic wiring system that the embodiment of the present application provides;

图4为本申请实施例提供的另一种PCB自动布线系统的框图;Fig. 4 is the block diagram of another kind of PCB automatic wiring system that the embodiment of the present application provides;

图5为本申请实施例提供的一种PCB自动布线系统中自动规则模块的工作原理图;Fig. 5 is the working principle diagram of the automatic rule module in a kind of PCB automatic wiring system that the embodiment of the present application provides;

图6为本申请实施例提供的一种PCB自动布线系统中AI布线模块的工作原理图;FIG. 6 is a working principle diagram of an AI wiring module in a PCB automatic wiring system provided in an embodiment of the present application;

图7为本申请实施例提供的一种PCB自动布线系统中复用处理模块的工作原理图;FIG. 7 is a working principle diagram of a multiplexing processing module in a PCB automatic wiring system provided by an embodiment of the present application;

图8为本申请实施例提供的一种PCB自动布线系统中仿真模块的工作原理图;Fig. 8 is the working principle diagram of the simulation module in a kind of PCB automatic wiring system provided by the embodiment of the present application;

图9为本申请实施例提供的一种PCB自动布线系统中评价模块的工作原理图;FIG. 9 is a working principle diagram of an evaluation module in a PCB automatic wiring system provided in an embodiment of the present application;

图10为现有技术中的一种PCB元器件布局图;FIG. 10 is a layout diagram of PCB components in the prior art;

图11为本申请实施例提供的一种PCB元器件布局图;Figure 11 is a PCB component layout diagram provided by the embodiment of the present application;

图12为本申请实施例提供的一种PCB功能模块图;Figure 12 is a functional block diagram of a PCB provided by the embodiment of the present application;

图13为本申请实施例提供的一种PCB自动布线方法的流程图。FIG. 13 is a flow chart of a PCB automatic wiring method provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合实施例对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described below in conjunction with the embodiments. Apparently, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

布线是在PCB设计中一个关键的步骤,其功能是将元器件之间通过导线连接起来,实现特定的功能。在PCB设计中,往往希望使用自动布线以提高效率,节省时间。图1是传统PCB设计的流程。Wiring is a key step in PCB design, and its function is to connect components through wires to achieve specific functions. In PCB design, it is often desirable to use automatic routing to improve efficiency and save time. Figure 1 is the flow of traditional PCB design.

传统的PCB设计流程,在原理图设计、PCB布局等过程中需要花费大量时间,在自动布线过程后,还需要根据需要进行手工调整,整个过程自动化程度不高,大部分工作由人工完成,效率低下。对于结构复杂,层数多,元器件种类多的PCB,自动布线结果往往很难满足要求。同时,布线过程中没有对电气性能(如频率、电磁兼容等)进行充分的考虑,这可能导致完成后的PCB难以满足要求。The traditional PCB design process takes a lot of time in the process of schematic design, PCB layout, etc. After the automatic wiring process, it needs to be adjusted manually according to the needs. The whole process is not highly automated, and most of the work is done manually. The efficiency low. For PCBs with complex structures, many layers, and many types of components, the results of automatic routing are often difficult to meet the requirements. At the same time, the electrical performance (such as frequency, electromagnetic compatibility, etc.) is not fully considered during the wiring process, which may make it difficult for the completed PCB to meet the requirements.

现有的PCB设计软件框图如图2所示,主要由三部分构成,即原理图部分、PCB部分、仿真部分,这三个部分通过网络表连接。PCB自动布线部分一般采用传统的布线算法如迷宫算法、线探索法等,这些算法运行时占用的存储空间大,且运算量大,效率低下,在处理结构复杂的PCB时很难达到满意的效果。The block diagram of the existing PCB design software is shown in Figure 2. It is mainly composed of three parts, namely, the schematic part, the PCB part, and the simulation part. These three parts are connected through a netlist. The PCB automatic routing part generally adopts traditional routing algorithms such as maze algorithm, line exploration method, etc. These algorithms occupy a large storage space when running, and have a large amount of calculation and low efficiency. It is difficult to achieve satisfactory results when processing PCBs with complex structures. .

基于此,本申请实施例提供一种PCB自动布线系统及方法,以缓解现有技术中布线效率低、布线效果差的技术问题。Based on this, an embodiment of the present application provides a PCB automatic routing system and method to alleviate the technical problems of low routing efficiency and poor routing effect in the prior art.

为便于对本实施例进行理解,首先对本申请实施例所公开的一种PCB自动布线系统进行详细介绍。In order to facilitate the understanding of this embodiment, a PCB automatic routing system disclosed in this embodiment of the application is firstly introduced in detail.

图3为本申请实施例提供的一种PCB自动布线系统的框图,该系统包括:原理图模块31、复用处理模块32、自动规则模块33和AI(Artificial Intelligence,人工智能)布线模块34。FIG. 3 is a block diagram of a PCB automatic routing system provided by an embodiment of the present application. The system includes: a schematic diagram module 31, a multiplexing processing module 32, an automatic rule module 33 and an AI (Artificial Intelligence, artificial intelligence) routing module 34.

其中,原理图模块31分别与复用处理模块32和自动规则模块33连接,复用处理模块32和自动规则模块33又分别与AI布线模块34连接。Wherein, the schematic diagram module 31 is respectively connected to the multiplexing processing module 32 and the automatic rule module 33 , and the multiplexing processing module 32 and the automatic rule module 33 are respectively connected to the AI wiring module 34 .

原理图模块31,用于生成电路原理图对应的网表;网表包括:器件参数、电气连接关系、布局和规则信息;复用处理模块32,用于从网表中提取电路原理图中各个功能模块对应的模块信息;模块信息包括:模块的布局信息、走线信息及器件参数;自动规则模块33,用于根据网表及用户预设规则,生成各个功能模块对应的布线规则;自动规则模块中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;AI布线模块34,用于根据各个功能模块对应的模块信息和布线规则,进行自动布线;AI布线模块中包括对多个功能模块和布线规则进行深度学习后得到的布线模型。The schematic diagram module 31 is used to generate a netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relations, layout and rule information; the multiplexing processing module 32 is used to extract each element in the circuit schematic diagram from the netlist. The module information corresponding to the functional modules; the module information includes: module layout information, routing information and device parameters; the automatic rule module 33 is used to generate wiring rules corresponding to each functional module according to the netlist and user preset rules; the automatic rule The module includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams; the AI wiring module 34 is used to perform automatic wiring according to the module information and wiring rules corresponding to each functional module; the AI wiring module includes The wiring model obtained after deep learning of multiple functional modules and wiring rules.

具体实施时,上述原理图模块31的主要功能是绘制电路原理图,并生成该电路原理图对应的网表,与传统的网表不同的是,除了包括元器件属性信息和电气连接关系外,网表还包含了原理图中各功能模块的布局和规则信息。在本实施例中,复用处理模块32的功能为从网表中提取电路原理图中各个功能模块对应的模块信息,比如:模块的布局信息、走线信息及器件参数。During specific implementation, the main function of the above-mentioned schematic diagram module 31 is to draw a schematic circuit diagram and generate a netlist corresponding to the schematic diagram of the circuit. Unlike traditional netlists, in addition to including component attribute information and electrical connection relationships, The netlist also contains the layout and rule information of each functional module in the schematic diagram. In this embodiment, the function of the multiplexing processing module 32 is to extract module information corresponding to each functional module in the circuit schematic diagram from the netlist, such as: module layout information, routing information and device parameters.

上述自动规则模块33和AI布线模块34中均包括通过对样本的深度学习而得到的模型,如,自动规则模块33中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;具体的,规则生成模型的产生是深度学习的结果,其数据源是大量的电路板图,采用无监督学习的方式,对不同的电路规则进行学习和分类,最终生成可以针对每一类电路生成相应规则的模型。AI布线模块34中包括对多个功能模块和布线规则进行深度学习后得到的布线模型。该布线模型也是深度学习的结果,训练的主要流程与规则生成模型类似,其学习过程主要是根据输入的模块和规则,训练出最佳的布线模型,通过该布线模型可以达到最优的布线结果。进而可以实现规则的自动生成和自动布线过程,如,自动规则模块33根据网表及用户预设规则,生成各个功能模块对应的布线规则;AI布线模块34根据各个功能模块对应的模块信息和布线规则,进行自动布线。Both the above-mentioned automatic rule module 33 and the AI wiring module 34 include models obtained through deep learning of samples, for example, the automatic rule module 33 includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams ; Specifically, the generation of the rule generation model is the result of deep learning, and its data source is a large number of circuit board diagrams. It uses unsupervised learning to learn and classify different circuit rules, and finally generates a model that can target each type of circuit. Generate a model of the corresponding rules. The AI wiring module 34 includes a wiring model obtained after deep learning of multiple functional modules and wiring rules. This wiring model is also the result of deep learning. The main process of training is similar to the rule generation model. The learning process is mainly based on the input modules and rules to train the best wiring model, through which the best wiring results can be achieved. . Furthermore, the automatic generation of rules and the automatic wiring process can be realized. For example, the automatic rule module 33 generates wiring rules corresponding to each functional module according to the netlist and user preset rules; the AI wiring module 34 generates wiring rules corresponding to each functional module according to the module information and wiring rules for automatic routing.

本申请实施例提供PCB自动布线系统中,由于自动规则模块和AI布线模块中均包括通过深度学习后得到的模型,因此,可以提高自动布线的准确度及布线效率。In the PCB automatic routing system provided by the embodiment of the present application, since both the automatic rule module and the AI routing module include models obtained through deep learning, the accuracy and routing efficiency of automatic routing can be improved.

在另一种优选的实施方式中,提供了另一种PCB自动布线系统的框图,如图4所示,除了包括与上一实施例类似的原理图模块41、复用处理模块42、自动规则模块43和AI布线模块44外,还包括:评价模块45和仿真模块46。In another preferred embodiment, a block diagram of another PCB automatic wiring system is provided, as shown in FIG. In addition to the module 43 and the AI wiring module 44 , it also includes: an evaluation module 45 and a simulation module 46 .

其中,原理图模块41分别与复用处理模块42和自动规则模块43连接,复用处理模块42和自动规则模块43又分别与AI布线模块44连接,复用处理模块42还与仿真模块46连接,自动规则模块43还与评价模块45连接,仿真模块46还与评价模块45连接,仿真模块46和评价模块45分别与AI布线模块44连接。该评价模块45中包括对多个电路布线规则和布局信息进行深度学习而生成的评价模型。评价模型的产生同样是深度学习的结果,在训练过程中,通过分析大量的电路规则及布局信息,提取出相应的评价模型,通过测试及修正改进以达到最优。Wherein, the schematic diagram module 41 is respectively connected with the multiplexing processing module 42 and the automatic rule module 43, the multiplexing processing module 42 and the automatic rule module 43 are respectively connected with the AI wiring module 44, and the multiplexing processing module 42 is also connected with the simulation module 46 , the automatic rule module 43 is also connected to the evaluation module 45, the simulation module 46 is also connected to the evaluation module 45, and the simulation module 46 and the evaluation module 45 are respectively connected to the AI wiring module 44. The evaluation module 45 includes an evaluation model generated by performing deep learning on a plurality of circuit wiring rules and layout information. The generation of the evaluation model is also the result of deep learning. In the training process, a large number of circuit rules and layout information are analyzed to extract the corresponding evaluation model, which is optimized through testing and modification.

本实施例中,自动规则模块43还用于从网表中提取规则信息,将规则信息和用户预设规则输入规则生成模型中,以使规则生成模型输出各个功能模块对应的布线规则。In this embodiment, the automatic rule module 43 is also used to extract rule information from the netlist, and input rule information and user preset rules into the rule generation model, so that the rule generation model outputs wiring rules corresponding to each functional module.

具体的,参见图5所示,自动规则模块43的功能是对用户输入的网表、布局和一些人为设定的必要规则,即上述用户预设规则进行解读以后,解算出针对此特定输入的特定的布线规则。除了从网表中提取规则以外,用户也可以加入针对特定模块的自定义规则,所有的规则经过自动规则模块43处理后,生成量化的布线规则,以提供给AI布线模块44处理。Specifically, as shown in FIG. 5 , the function of the automatic rule module 43 is to interpret the netlist, layout and some artificially set necessary rules input by the user, that is, after the above-mentioned user preset rules are interpreted, the specific input for this particular input is solved. Specific wiring rules. In addition to extracting rules from the netlist, users can also add custom rules for specific modules. After all the rules are processed by the automatic rule module 43, quantified routing rules are generated to provide to the AI routing module 44 for processing.

进一步的,AI布线模块44还可以具体包括:布线模型生成模块、布线模块和后处理模块。其中,AI布线模块44,还用于通过布线模型生成模块,对各个功能模块对应的模块信息进行布局匹配,及对各个功能模块对应的布线规则进行规则匹配,生成各个功能模块分别对应的目标布线模型,并调用与每个目标布线模型对应的布线模块进行布线操作,通过后处理模块输出布线结果。Further, the AI routing module 44 may specifically include: a routing model generation module, a routing module and a post-processing module. Among them, the AI wiring module 44 is also used to perform layout matching on the module information corresponding to each functional module through the wiring model generation module, and perform rule matching on the wiring rules corresponding to each functional module to generate target wiring corresponding to each functional module. model, and call the routing module corresponding to each target routing model to perform routing operations, and output the routing results through the post-processing module.

上述AI布线模块44,还可以用于通过后处理模块,实时将当前布线信息发送至评价模块45;评价模块45,用于通过评价模型对当前布线信息进行评价,并将评价信息返回至AI布线模块44,以使AI布线模块44基于评价信息对布线模型进行修改,并重新进行布线操作,直到评价信息满足预设评价要求。The above-mentioned AI wiring module 44 can also be used to send the current wiring information to the evaluation module 45 in real time through the post-processing module; the evaluation module 45 is used to evaluate the current wiring information through the evaluation model, and return the evaluation information to the AI wiring Module 44, so that the AI routing module 44 modifies the routing model based on the evaluation information, and re-performs the routing operation until the evaluation information meets the preset evaluation requirements.

上述AI布线模块44,还可以在自动布线完成后,将布线信息发送至仿真模块46;布线信息包括:线宽、线长、位置、过孔;上述仿真模块46,可以基于各个功能模块对应的仿真模型和仿真参数及布线信息,对布线完成后的PCB进行仿真,得到仿真结果。The above-mentioned AI wiring module 44 can also send the wiring information to the simulation module 46 after the automatic wiring is completed; the wiring information includes: line width, line length, position, and via; the above-mentioned simulation module 46 can be based on each function module. The simulation model, simulation parameters and wiring information are used to simulate the PCB after the wiring is completed, and the simulation results are obtained.

在另一种优选实施方式中,AI布线模块44,还可以将当前布线信息发送至评价模块45;自动规则模块43,还用于将布线规则发送至评价模块45;仿真模块46,还用于将仿真结果发送至评价模块45;评价模块45,还用于通过评价模型对当前布线信息、布线规则及仿真结果进行评价,并将评价信息返回至AI布线模块44,以使AI布线模块44基于评价信息对布线模型进行修改,并重新进行布线操作,直到评价信息满足预设评价要求。In another preferred embodiment, the AI wiring module 44 can also send the current wiring information to the evaluation module 45; the automatic rule module 43 is also used to send the wiring rules to the evaluation module 45; the simulation module 46 is also used to The simulation result is sent to the evaluation module 45; the evaluation module 45 is also used to evaluate the current wiring information, wiring rules and simulation results through the evaluation model, and returns the evaluation information to the AI wiring module 44, so that the AI wiring module 44 is based on The evaluation information modifies the wiring model, and the wiring operation is performed again until the evaluation information meets the preset evaluation requirements.

在本实施例的优选方式中,上述仿真模块46包括:信息处理模块、电路分析模块和显示模块。In a preferred manner of this embodiment, the simulation module 46 includes: an information processing module, a circuit analysis module and a display module.

其中,信息处理模块,用于根据仿真模型、仿真参数及布线结果进行综合处理,生成PCB的全局模型,并将全局模型发送至电路分析模块;电路分析模块,用于对全局模型进行电路分析,并将电路分析结果发送至显示模块;显示模块,用于对电路分析结果进行显示并输出仿真结果。上述电路分析模块包括:电路动态分析模块和电路暂态分析模块。Among them, the information processing module is used to perform comprehensive processing according to the simulation model, simulation parameters and wiring results, generate a global model of the PCB, and send the global model to the circuit analysis module; the circuit analysis module is used to perform circuit analysis on the global model, And sending the circuit analysis result to the display module; the display module is used to display the circuit analysis result and output the simulation result. The above-mentioned circuit analysis module includes: a circuit dynamic analysis module and a circuit transient analysis module.

具体的,图6示出了本申请实施例提供的AI布线模块44的工作原理图。AI布线模块44就是使用迭代的方法对PCB进行布线,此时的布线单位是模块而不是元器件。AI布线模块44的输入源有三个,分别来自复用处理模块42、自动规则模块43和评价模块45。AI布线模块44对输入源的信息进行布局匹配和规则匹配后,生成布线模型,调用布线模块进行布线,每进行一步或几步,后处理模块会输出信息到评价模块45,评价模块45对当前布线进行评价,得出反馈信息,再送回到AI布线模块44,对布线模型进行修正,如此循环往复,直到全部布线完成。Specifically, FIG. 6 shows a working principle diagram of the AI routing module 44 provided by the embodiment of the present application. The AI routing module 44 uses an iterative method to route the PCB, and the unit of routing at this time is a module rather than a component. There are three input sources of the AI routing module 44 , which are respectively from the multiplex processing module 42 , the automatic rule module 43 and the evaluation module 45 . After the AI wiring module 44 performs layout matching and rule matching on the information of the input source, a wiring model is generated, and the wiring module is called to perform wiring. After each step or several steps, the post-processing module will output information to the evaluation module 45, and the evaluation module 45 will evaluate the current The wiring is evaluated, feedback information is obtained, and then sent back to the AI wiring module 44 to correct the wiring model, and so on, until all the wiring is completed.

在系统中包括仿真模块46的情况下,上述复用处理模块42,还可以包括另一种功能,从网表中提取各个功能模块对应的仿真模型和仿真参数,并将各个功能模块对应的仿真模型和仿真参数发送至仿真模块46。In the case that the simulation module 46 is included in the system, the above-mentioned multiplexing processing module 42 may also include another function, which extracts simulation models and simulation parameters corresponding to each functional module from the netlist, and simulates the corresponding simulation parameters of each functional module. The model and simulation parameters are sent to the simulation module 46 .

如图7所示,复用处理模块42的主要功能是从网表中提取全部功能模块的信息,并将这些信息进行整体处理,分别得到PCB的整体信息和仿真模型信息。PCB整体信息包括模块的布局、模块内部的走线、模块内器件的参数等等,这些信息中的一部分将传递给后面的AI布线模块44作为信息输入。仿真模型信息包含每个独立模块的仿真模型和仿真参数,这些参数通常包含了模块在复杂环境中仿真和测试的各项记录结果,这些参数对于仿真模块46是必须的。As shown in FIG. 7 , the main function of the multiplexing processing module 42 is to extract the information of all functional modules from the netlist, and process the information as a whole to obtain the overall information of the PCB and the information of the simulation model. The overall PCB information includes the layout of the module, the wiring inside the module, the parameters of the components in the module, etc., and part of this information will be passed to the subsequent AI wiring module 44 as information input. The simulation model information includes the simulation model and simulation parameters of each independent module. These parameters usually contain various record results of the simulation and testing of the module in a complex environment. These parameters are necessary for the simulation module 46 .

参见图8所示,上述仿真模块46的主要功能是对布线完成后的PCB进行仿真,以检验是否满足设计要求。仿真模块46的输入信息分别来自复用处理模块42和AI布线模块44。复用处理模块42提供了模块内部的仿真模型及仿真参数,AI布线模块44提供了布线的相关信息如线宽、线长、位置、过孔等,这些信息经信息处理模块综合后生成PCB的全局模型,传递给电路分析部分。电路分析部分包含暂态分析和稳态分析,分析结果经处理后进行可视化显示,通过仿真,可以对整个电路的运行状态进行全面的了解,对于没有达到设计要求的部分,可以反馈到评价函数中,通过评价函数传递到布线模块,对当前布线进行修改,若仿真结果符合要求,则整个布线过程结束。As shown in FIG. 8 , the main function of the above-mentioned simulation module 46 is to simulate the PCB after wiring to check whether the design requirements are met. The input information of the simulation module 46 comes from the multiplex processing module 42 and the AI wiring module 44 respectively. The multiplexing processing module 42 provides the simulation model and simulation parameters inside the module, and the AI wiring module 44 provides wiring-related information such as line width, line length, position, vias, etc., and these information are synthesized by the information processing module to generate the layout of the PCB. The global model, passed to the circuit analysis section. The circuit analysis part includes transient analysis and steady state analysis. The analysis results are processed and displayed visually. Through simulation, the operating state of the entire circuit can be fully understood. For the parts that do not meet the design requirements, they can be fed back to the evaluation function. , pass the evaluation function to the wiring module to modify the current wiring, if the simulation result meets the requirements, the whole wiring process ends.

参见图9所示,上述评价模块45的主要功能是建立评价模型,对当前布线结果进行全局评价,输出评价信息到AI布线模块44,以改进AI布线模块44的布线结果,直到满足设计要求。输入源有三个,分别是来自自动规则模块43的额规则输入,来自仿真模块46的仿真结果和来自AI布线模块44的布线信息。As shown in FIG. 9, the main function of the evaluation module 45 is to establish an evaluation model, perform global evaluation on the current wiring results, and output evaluation information to the AI wiring module 44, so as to improve the wiring results of the AI wiring module 44 until the design requirements are met. There are three input sources, namely, the input of the rules from the automatic rule module 43 , the simulation results from the simulation module 46 and the wiring information from the AI wiring module 44 .

本申请实施例提供的PCB自动布线系统,同现有的PCB布线系统相比,有以下优点:Compared with the existing PCB wiring system, the PCB automatic wiring system provided by the embodiment of the present application has the following advantages:

1.复用性高。在设计新的PCB板时可以大量使用已有的模块进行新的PCB设计;1. High reusability. When designing a new PCB board, a large number of existing modules can be used for new PCB design;

2.布线效率高。布线模块的布线对象不是一个个元器件,而是一个个模块,大大减少了计算规模和计算时间;2. High wiring efficiency. The wiring object of the wiring module is not a component, but a module, which greatly reduces the calculation scale and calculation time;

3.可靠性高。可以对构成模块的各元件进行详细研究,确认最优的组合,在提高效率的同时也能具有较高的可靠性。3. High reliability. It is possible to conduct a detailed study of each component constituting the module to confirm the optimal combination, which can improve efficiency and have high reliability at the same time.

上述自动规则模块、AI布线模块和评价模块采用了深度学习的思路,通过大量数据的训练来实现相应的功能,在布线过程中能够确保在布通的同时具有很好的电气性能。The above-mentioned automatic rule module, AI wiring module and evaluation module adopt the idea of deep learning, realize the corresponding functions through training with a large amount of data, and ensure good electrical performance while wiring in the wiring process.

此外,本申请实施例还采用了模块化PCB设计思想,主要体现在以下两个方面:In addition, the embodiment of the present application also adopts the idea of modular PCB design, which is mainly reflected in the following two aspects:

1.布线系统软件的模块化1. Modularization of wiring system software

如上所述,将布线系统设计为6个模块,每个模块完成特定的功能,模块与模块之间通过数据流进行信息交换。As mentioned above, the wiring system is designed as 6 modules, each module completes a specific function, and information is exchanged between modules through data flow.

2.PCB布局的模块化2. Modularization of PCB layout

传统的PCB布局以元器件为单位,如图10所示,如果把具有特定功能的一组元器件划分为一个模块,那么PCB板可以看作是由许许多多的模块构成的,这样将大大降低布局的难度,如图11所示。The traditional PCB layout takes components as the unit, as shown in Figure 10, if a group of components with specific functions is divided into a module, then the PCB board can be regarded as composed of many modules, which will greatly improve the Reduce the difficulty of layout, as shown in Figure 11.

对于每一个功能模块,需要对其进行合理的设计,使其能够满足模块化PCB设计的要求,如图12所示:PCB功能模块主要由四部分构成,分别是原理图部分、PCB部分、仿真模型部分和规则部分。原理图部分包含了构成模块的所有元器件的原理图及连接关系,以及输入输出接口;PCB部分包含了构成模块的所元器件的封装及电气连接;仿真模型包含了模块内部走线及电气特性的仿真模型及数据;规则部分包含了该模块在与其他模块进行连接时应当遵循的原则。For each functional module, it needs to be designed reasonably so that it can meet the requirements of modular PCB design, as shown in Figure 12: The PCB functional module is mainly composed of four parts, namely the schematic part, the PCB part, and the simulation part. Model section and rules section. The schematic part includes the schematic diagram and connection relationship of all components that make up the module, as well as the input and output interfaces; the PCB part includes the packaging and electrical connections of all the components that make up the module; the simulation model includes the internal wiring and electrical characteristics of the module The simulation model and data; the rule part contains the principles that the module should follow when connecting with other modules.

基于上述PCB自动布线系统,本申请实施例还提供一种PCB自动布线方法,该方法应用于PCB自动布线系统中,PCB自动布线系统包括:原理图模块、复用处理模块、自动规则模块和AI布线模块;方法包括以下步骤,参见图13所示:Based on the above-mentioned PCB automatic wiring system, the embodiment of the present application also provides a PCB automatic wiring method, which is applied to the PCB automatic wiring system. The PCB automatic wiring system includes: schematic diagram module, multiplex processing module, automatic rule module and AI Wiring module; The method comprises the following steps, as shown in Figure 13:

步骤S101,原理图模块,用于生成电路原理图对应的网表;网表包括:器件参数、电气连接关系、布局和规则信息;Step S101, the schematic diagram module is used to generate a netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relationships, layout and rule information;

步骤S102,复用处理模块,用于从网表中提取电路原理图中各个功能模块对应的模块信息;模块信息包括:模块的布局信息、走线信息及器件参数;Step S102, a multiplexing processing module, used to extract module information corresponding to each functional module in the circuit schematic diagram from the netlist; the module information includes: module layout information, routing information and device parameters;

步骤S103,自动规则模块,用于根据网表及用户预设规则,生成各个功能模块对应的布线规则;自动规则模块中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;Step S103, the automatic rule module is used to generate wiring rules corresponding to each functional module according to the netlist and user preset rules; the automatic rule module includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams ;

步骤S104,AI布线模块,用于根据各个功能模块对应的模块信息和布线规则,进行自动布线;AI布线模块中包括对多个功能模块和布线规则进行深度学习后得到的布线模型。Step S104, the AI wiring module is used to perform automatic wiring according to the module information and wiring rules corresponding to each functional module; the AI wiring module includes a wiring model obtained after deep learning of multiple functional modules and wiring rules.

进一步的,PCB自动布线系统还包括:评价模块;评价模块中包括对多个电路布线规则和布局信息进行深度学习而生成的评价模型;上述方法还包括以下步骤:Further, the PCB automatic routing system also includes: an evaluation module; the evaluation module includes an evaluation model generated by deep learning of multiple circuit wiring rules and layout information; the above method also includes the following steps:

AI布线模块,用于实时将当前布线信息发送至评价模块;AI wiring module, used to send the current wiring information to the evaluation module in real time;

评价模块,用于通过评价模型对当前布线信息进行评价,并将评价信息返回至AI布线模块,以使AI布线模块基于评价信息对布线模型进行修改,并重新进行布线操作,直到评价信息满足预设评价要求。The evaluation module is used to evaluate the current wiring information through the evaluation model, and return the evaluation information to the AI routing module, so that the AI routing module can modify the wiring model based on the evaluation information, and perform the wiring operation again until the evaluation information meets the predetermined requirements. set evaluation requirements.

在另一种实施方式中,上述系统还包括:仿真模块;上述方法还包括以下步骤:In another embodiment, the above-mentioned system also includes: a simulation module; the above-mentioned method also includes the following steps:

复用处理模块,用于从网表中提取各个功能模块对应的仿真模型和仿真参数,并将各个功能模块对应的仿真模型和仿真参数发送至仿真模块;The multiplex processing module is used to extract the simulation model and simulation parameters corresponding to each functional module from the netlist, and send the simulation model and simulation parameters corresponding to each functional module to the simulation module;

AI布线模块,用于在自动布线完成后,将布线信息发送至仿真模块;布线信息包括:线宽、线长、位置、过孔;The AI wiring module is used to send the wiring information to the simulation module after the automatic wiring is completed; the wiring information includes: line width, line length, position, via;

仿真模块,用于基于各个功能模块对应的仿真模型和仿真参数及布线信息,对布线完成后的PCB进行仿真,得到仿真结果。The simulation module is used to simulate the PCB after wiring based on the simulation model, simulation parameters and wiring information corresponding to each functional module, and obtain a simulation result.

在一种优选方式中,上述自动规则模块还用于,从网表中提取规则信息,将规则信息和用户预设规则输入规则生成模型中,以使规则生成模型输出各个功能模块对应的布线规则。In a preferred manner, the above-mentioned automatic rule module is also used to extract rule information from the netlist, and input the rule information and user preset rules into the rule generation model, so that the rule generation model outputs the wiring rules corresponding to each functional module .

上述AI布线模块包括:布线模型生成模块、布线模块和后处理模块;AI布线模块,还用于通过布线模型生成模块,对各个功能模块对应的模块信息进行布局匹配,及对各个功能模块对应的布线规则进行规则匹配,生成各个功能模块分别对应的目标布线模型,并调用与每个目标布线模型对应的布线模块进行布线操作,通过后处理模块输出布线结果。The above-mentioned AI wiring module includes: a wiring model generation module, a wiring module and a post-processing module; the AI wiring module is also used to generate a module through the wiring model, perform layout matching on the module information corresponding to each functional module, and perform layout matching on each functional module. The wiring rules are matched according to the rules, and the target wiring models corresponding to each functional module are generated, and the wiring modules corresponding to each target wiring model are called to perform wiring operations, and the wiring results are output through the post-processing module.

上述方法还包括:The above method also includes:

AI布线模块,还用于将当前布线信息发送至评价模块;The AI wiring module is also used to send the current wiring information to the evaluation module;

自动规则模块,还用于将布线规则发送至评价模块;an automatic rule module, also used to send wiring rules to the evaluation module;

仿真模块,还用于将仿真结果发送至评价模块;The simulation module is also used to send the simulation results to the evaluation module;

评价模块,还用于通过评价模型对当前布线信息、布线规则及仿真结果进行评价,并将评价信息返回至AI布线模块,以使AI布线模块基于评价信息对布线模型进行修改,并重新进行布线操作,直到评价信息满足预设评价要求。The evaluation module is also used to evaluate the current wiring information, wiring rules and simulation results through the evaluation model, and return the evaluation information to the AI wiring module, so that the AI wiring module can modify the wiring model based on the evaluation information and re-wire Operate until the evaluation information meets the preset evaluation requirements.

上述仿真模块包括:信息处理模块、电路分析模块和显示模块;信息处理模块,用于根据仿真模型、仿真参数及布线结果进行综合处理,生成PCB的全局模型,并将全局模型发送至电路分析模块;电路分析模块,用于对全局模型进行电路分析,并将电路分析结果发送至显示模块;显示模块,用于对电路分析结果进行显示并输出仿真结果。其中,电路分析模块包括:电路动态分析模块和电路暂态分析模块。The above simulation module includes: an information processing module, a circuit analysis module and a display module; the information processing module is used to perform comprehensive processing according to the simulation model, simulation parameters and wiring results, generate a global model of the PCB, and send the global model to the circuit analysis module The circuit analysis module is used for circuit analysis on the global model, and the circuit analysis result is sent to the display module; the display module is used for displaying the circuit analysis result and outputting the simulation result. Wherein, the circuit analysis module includes: a circuit dynamic analysis module and a circuit transient analysis module.

本申请实施例所提供的方法的实现过程可以参考上述系统实施例,以此不再赘述。For the implementation process of the method provided in the embodiment of the present application, reference may be made to the above-mentioned system embodiment, so details are not repeated here.

本申请实施例提供的PCB自动布线方法,可以通过系统中的原理图模块、复用处理模块、自动规则模块和AI布线模块的共同作用,实现一种高效率的自动布线过程。其中,原理图模块用于生成电路原理图对应的网表;网表包括:器件参数、电气连接关系、布局和规则信息;复用处理模块用于从网表中提取电路原理图中各个功能模块对应的模块信息;模块信息包括:模块的布局信息、走线信息及器件参数;自动规则模块用于根据网表及用户预设规则,生成各个功能模块对应的布线规则;AI布线模块用于根据各个功能模块对应的模块信息和布线规则,进行自动布线;其中,自动规则模块中包括对多个电路板图的布线规则进行深度学习后得到的规则生成模型;AI布线模块中包括对多个功能模块和布线规则进行深度学习后得到的布线模型,由于自动规则模块和AI布线模块中均包括通过深度学习后得到的模型,因此,可以提高自动布线的准确度及布线效率。The PCB automatic wiring method provided by the embodiment of the present application can realize a high-efficiency automatic wiring process through the joint action of the schematic diagram module, the multiplexing processing module, the automatic rule module and the AI wiring module in the system. Among them, the schematic diagram module is used to generate the netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relations, layout and rule information; the multiplexing processing module is used to extract each functional module in the circuit schematic diagram from the netlist Corresponding module information; module information includes: module layout information, routing information and device parameters; automatic rule module is used to generate wiring rules corresponding to each functional module according to netlist and user preset rules; AI wiring module is used to The module information and wiring rules corresponding to each functional module are used for automatic wiring; among them, the automatic rule module includes a rule generation model obtained after deep learning of the wiring rules of multiple circuit board diagrams; the AI wiring module includes multiple functions The wiring model obtained after deep learning of modules and wiring rules, since both the automatic rule module and the AI wiring module include models obtained through deep learning, the accuracy and efficiency of automatic wiring can be improved.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit it; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the application. scope.

Claims (10)

1. An automatic routing system for a PCB, the system comprising: the device comprises a schematic diagram module, a multiplexing processing module, an automatic rule module and an AI wiring module;
the schematic diagram module is used for generating a netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relationships, layout and rule information;
the multiplexing processing module is used for extracting module information corresponding to each functional module in the circuit schematic diagram from the netlist; the module information includes: layout information, routing information and device parameters of the module;
the automatic rule module is used for generating a wiring rule corresponding to each functional module according to the netlist and a user preset rule; the automatic rule module comprises a rule generation model obtained by deep learning of wiring rules of a plurality of circuit board diagrams;
the AI wiring module is used for automatically wiring according to the module information and the wiring rule corresponding to each functional module; the AI wiring module comprises a wiring model obtained by deep learning of a plurality of functional modules and wiring rules.
2. The system of claim 1, wherein the automatic rule module is further configured to extract rule information from the netlist, and input the rule information and the user preset rule into the rule generation model, so that the rule generation model outputs a routing rule corresponding to each functional module.
3. The system of claim 1, wherein the AI routing module comprises: the system comprises a wiring model generation module, a wiring module and a post-processing module;
the AI wiring module is further configured to perform layout matching on the module information corresponding to each function module and perform rule matching on the wiring rules corresponding to each function module through the wiring model generation module to generate target wiring models corresponding to each function module, call the wiring module corresponding to each target wiring model to perform wiring operation, and output a wiring result through the post-processing module.
4. The system of claim 3, further comprising: an evaluation module; the evaluation module comprises an evaluation model generated by deep learning of a plurality of circuit wiring rules and layout information;
the AI wiring module is also used for sending the current wiring information to the evaluation module in real time through the post-processing module;
and the evaluation module is used for evaluating the current wiring information through the evaluation model and returning the evaluation information to the AI wiring module so that the AI wiring module modifies the wiring model based on the evaluation information and performs wiring operation again until the evaluation information meets the preset evaluation requirement.
5. The system of claim 4, further comprising: a simulation module;
the multiplexing processing module is further configured to extract a simulation model and a simulation parameter corresponding to each functional module from the netlist, and send the simulation model and the simulation parameter corresponding to each functional module to the simulation module;
the AI wiring module is also used for sending wiring information to the simulation module after the automatic wiring is finished; the wiring information includes: line width, line length, position, via hole;
and the simulation module is used for simulating the PCB after wiring is finished based on the simulation model and the simulation parameters corresponding to each functional module and the wiring information to obtain a simulation result.
6. The system of claim 5,
the AI wiring module is also used for sending the current wiring information to the evaluation module;
the automatic rule module is also used for sending the wiring rule to the evaluation module;
the simulation module is also used for sending a simulation result to the evaluation module;
the evaluation module is further configured to evaluate the current wiring information, the wiring rule, and the simulation result through the evaluation model, and return evaluation information to the AI wiring module, so that the AI wiring module modifies the wiring model based on the evaluation information and performs wiring operation again until the evaluation information meets a preset evaluation requirement.
7. The system of claim 5, wherein the simulation module comprises: the circuit comprises an information processing module, a circuit analysis module and a display module;
the information processing module is used for carrying out comprehensive processing according to the simulation model, the simulation parameters and the wiring result to generate a global model of the PCB and sending the global model to the circuit analysis module;
the circuit analysis module is used for carrying out circuit analysis on the global model and sending a circuit analysis result to the display module;
and the display module is used for displaying the circuit analysis result and outputting a simulation result.
8. The system of claim 7, wherein the circuit analysis module comprises: the circuit dynamic analysis module and the circuit transient analysis module.
9. A PCB automatic wiring method is characterized in that the method is applied to a PCB automatic wiring system, and the PCB automatic wiring system comprises: the device comprises a schematic diagram module, a multiplexing processing module, an automatic rule module and an AI wiring module; the method comprises the following steps:
the schematic diagram module is used for generating a netlist corresponding to the circuit schematic diagram; the netlist includes: device parameters, electrical connection relationships, layout and rule information;
the multiplexing processing module is used for extracting module information corresponding to each functional module in the circuit schematic diagram from the netlist; the module information includes: layout information, routing information and device parameters of the module;
the automatic rule module is used for generating a wiring rule corresponding to each functional module according to the netlist and a user preset rule; the automatic rule module comprises a rule generation model obtained by deep learning of wiring rules of a plurality of circuit board diagrams;
the AI wiring module is used for automatically wiring according to the module information and the wiring rule corresponding to each functional module; the AI wiring module comprises a wiring model obtained by deep learning of a plurality of functional modules and wiring rules.
10. The method of claim 9, wherein the PCB automated routing system further comprises: an evaluation module; the evaluation module comprises an evaluation model generated by deep learning of a plurality of circuit wiring rules and layout information; the method further comprises the following steps:
the AI wiring module is also used for sending the current wiring information to the evaluation module in real time;
and the evaluation module is used for evaluating the current wiring information through the evaluation model and returning the evaluation information to the AI wiring module so that the AI wiring module modifies the wiring model based on the evaluation information and performs wiring operation again until the evaluation information meets the preset evaluation requirement.
CN201910892545.0A 2019-09-20 2019-09-20 PCB automatic wiring system and method Active CN110610052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910892545.0A CN110610052B (en) 2019-09-20 2019-09-20 PCB automatic wiring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910892545.0A CN110610052B (en) 2019-09-20 2019-09-20 PCB automatic wiring system and method

Publications (2)

Publication Number Publication Date
CN110610052A true CN110610052A (en) 2019-12-24
CN110610052B CN110610052B (en) 2021-04-30

Family

ID=68891626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910892545.0A Active CN110610052B (en) 2019-09-20 2019-09-20 PCB automatic wiring system and method

Country Status (1)

Country Link
CN (1) CN110610052B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112233115A (en) * 2020-12-11 2021-01-15 西安国微半导体有限公司 Deep learning-based wiring violation prediction method after placement and readable storage medium
CN112270158A (en) * 2020-09-15 2021-01-26 海宁利伊电子科技有限公司 Method for optimizing perforation distribution of through holes in packaging ground based on deep reinforcement learning
CN112464611A (en) * 2020-12-11 2021-03-09 电子科技大学 Automatic PCB wiring system based on cloud-end collaborative intelligent processing
CN112528591A (en) * 2020-12-11 2021-03-19 电子科技大学 Automatic PCB wiring method based on joint Monte Carlo tree search
CN113177385A (en) * 2021-04-20 2021-07-27 深圳市一博科技股份有限公司 PCB design method for automatically generating MeshLine
CN113705143A (en) * 2020-05-22 2021-11-26 华为技术有限公司 Automatic simulation system and automatic simulation method
CN114218887A (en) * 2022-02-14 2022-03-22 西安芯瞳半导体技术有限公司 A chip configuration design method, device and medium based on deep learning
CN114417717A (en) * 2022-01-17 2022-04-29 上海季丰电子股份有限公司 Simulation method and device of printed circuit board
CN114972576A (en) * 2022-05-25 2022-08-30 大陆汽车研发(重庆)有限公司 Method, apparatus and storage medium for generating LTT schematic diagram

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7124387B2 (en) * 2004-07-29 2006-10-17 International Business Machines Corporation Integrated circuit macro placing system and method
CN101089858A (en) * 2006-06-12 2007-12-19 英业达股份有限公司 System and method for assisting in laying serpentine lines
CN201185461Y (en) * 2008-02-22 2009-01-21 中国科学院软件研究所 A wireless sensor network node device for image acquisition and transmission
CN201698495U (en) * 2010-05-11 2011-01-05 中国科学院软件研究所 High-resolution image automatic production system
WO2011019496A1 (en) * 2009-08-10 2011-02-17 Apple Inc. Mechanisms for detecting tampering of an electronic device
CN103593527A (en) * 2013-11-15 2014-02-19 浪潮电子信息产业股份有限公司 Design method for one-click setting of different types of routing rule BGAs in PCB
CN106021684A (en) * 2016-05-16 2016-10-12 北京航天发射技术研究所 Module power supply standard design system, and design method and application thereof
CN106777723A (en) * 2016-12-25 2017-05-31 张帆 A kind of method of automatic drawing principle figure
CN206813938U (en) * 2017-03-20 2017-12-29 江西景旺精密电路有限公司 A kind of PCB upper plates automate Wiring device
CN109241594A (en) * 2018-08-23 2019-01-18 郑州云海信息技术有限公司 T-type topological structure wire length inspection method, device, equipment and readable storage medium storing program for executing
CN109284578A (en) * 2018-02-27 2019-01-29 上海安路信息科技有限公司 Logic circuit layout wiring method, graphic software platform method and its system
CN109858098A (en) * 2018-12-29 2019-06-07 遵义市水世界科技有限公司 Method, apparatus, computer equipment and the storage medium of PCB layout

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7124387B2 (en) * 2004-07-29 2006-10-17 International Business Machines Corporation Integrated circuit macro placing system and method
CN101089858A (en) * 2006-06-12 2007-12-19 英业达股份有限公司 System and method for assisting in laying serpentine lines
CN201185461Y (en) * 2008-02-22 2009-01-21 中国科学院软件研究所 A wireless sensor network node device for image acquisition and transmission
WO2011019496A1 (en) * 2009-08-10 2011-02-17 Apple Inc. Mechanisms for detecting tampering of an electronic device
CN201698495U (en) * 2010-05-11 2011-01-05 中国科学院软件研究所 High-resolution image automatic production system
CN103593527A (en) * 2013-11-15 2014-02-19 浪潮电子信息产业股份有限公司 Design method for one-click setting of different types of routing rule BGAs in PCB
CN106021684A (en) * 2016-05-16 2016-10-12 北京航天发射技术研究所 Module power supply standard design system, and design method and application thereof
CN106777723A (en) * 2016-12-25 2017-05-31 张帆 A kind of method of automatic drawing principle figure
CN206813938U (en) * 2017-03-20 2017-12-29 江西景旺精密电路有限公司 A kind of PCB upper plates automate Wiring device
CN109284578A (en) * 2018-02-27 2019-01-29 上海安路信息科技有限公司 Logic circuit layout wiring method, graphic software platform method and its system
CN109241594A (en) * 2018-08-23 2019-01-18 郑州云海信息技术有限公司 T-type topological structure wire length inspection method, device, equipment and readable storage medium storing program for executing
CN109858098A (en) * 2018-12-29 2019-06-07 遵义市水世界科技有限公司 Method, apparatus, computer equipment and the storage medium of PCB layout

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIN LIN ET AL: ""EDA technology and its implementation in modern electronic technology"", 《IEEE》 *
张哲: ""辊磨机和定向仪控制系统设计及峰形评估方法研究"", 《中国优秀硕士学位论文全文数据库 工程科技I辑》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705143A (en) * 2020-05-22 2021-11-26 华为技术有限公司 Automatic simulation system and automatic simulation method
CN113705143B (en) * 2020-05-22 2024-03-26 华为技术有限公司 Automatic simulation system and automatic simulation method
CN112270158A (en) * 2020-09-15 2021-01-26 海宁利伊电子科技有限公司 Method for optimizing perforation distribution of through holes in packaging ground based on deep reinforcement learning
CN112270158B (en) * 2020-09-15 2022-11-18 海宁利伊电子科技有限公司 Method for optimizing perforation distribution of through holes in packaging ground based on deep reinforcement learning
CN112464611B (en) * 2020-12-11 2022-09-20 电子科技大学 Automatic PCB wiring system based on cloud-end collaborative intelligent processing
CN112233115A (en) * 2020-12-11 2021-01-15 西安国微半导体有限公司 Deep learning-based wiring violation prediction method after placement and readable storage medium
CN112528591A (en) * 2020-12-11 2021-03-19 电子科技大学 Automatic PCB wiring method based on joint Monte Carlo tree search
CN112464611A (en) * 2020-12-11 2021-03-09 电子科技大学 Automatic PCB wiring system based on cloud-end collaborative intelligent processing
CN113177385A (en) * 2021-04-20 2021-07-27 深圳市一博科技股份有限公司 PCB design method for automatically generating MeshLine
CN113177385B (en) * 2021-04-20 2024-02-02 深圳市一博科技股份有限公司 PCB design method for automatically generating Meshline
CN114417717A (en) * 2022-01-17 2022-04-29 上海季丰电子股份有限公司 Simulation method and device of printed circuit board
CN114417717B (en) * 2022-01-17 2022-12-09 上海季丰电子股份有限公司 Simulation method and device of printed circuit board
CN114218887A (en) * 2022-02-14 2022-03-22 西安芯瞳半导体技术有限公司 A chip configuration design method, device and medium based on deep learning
CN114972576A (en) * 2022-05-25 2022-08-30 大陆汽车研发(重庆)有限公司 Method, apparatus and storage medium for generating LTT schematic diagram
CN114972576B (en) * 2022-05-25 2024-11-29 大陆汽车研发(重庆)有限公司 Method, apparatus and storage medium for generating LTT schematic

Also Published As

Publication number Publication date
CN110610052B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN110610052B (en) PCB automatic wiring system and method
US9449130B1 (en) Methods, systems, and articles of manufacture for back annotating and visualizing parasitic models of electronic designs
KR100459731B1 (en) Device and method for generating selective netlist having interconnection influence for the simulation of semiconductor integrated circuit
CN104765822B (en) Electronic device three-dimensional database system and its application
US20030028630A1 (en) Method and system for processing topology data and geometry data of networks
US8196075B1 (en) Generation of input/output models
JPH05143674A (en) Automatic logic-model forming method based on circuit graphic database
US20110010157A1 (en) Process for automatic creation of wiring simulation
JP2009238209A (en) Circuit verification apparatus, circuit verification program and method of circuit verification
US8301422B2 (en) Process for creating a library of algorithmic representations of electronic equipment
CN112668264A (en) Power supply network verification method of 3D chip and related equipment
US10467366B2 (en) Methods and systems for simulating high-speed link designs
KR20020079320A (en) Method, apparatus and program for preparing a simulation model for semiconductor integrated circuit at power supply terminal for simulation electromagnatic interference
US9317638B1 (en) Polymorphic circuit simulation system
CN113705143A (en) Automatic simulation system and automatic simulation method
CN106126799B (en) A kind of passive emulation link building system and method
McCormick et al. Waveform moment methods for improved interconnection analysis
US6230115B1 (en) Simulator, simulation method, and medium having simulation program recorded, taking account of timing in electronic component and signal transmission through transmission line on printed-circuit board
CN117892665B (en) Modeling simulation method, device, medium and equipment based on circuit system level model
CN117807948B (en) Method and device for generating top-level netlist file, computer equipment and storage medium
John et al. Ai workbench-conceptual workflow to develop ai models for si/pi-applications in pcb development
JP5035030B2 (en) Electronic circuit analysis system, electronic circuit analysis method, and electronic circuit analysis program
US6912473B2 (en) Method for verifying cross-sections
JP4355930B2 (en) Semiconductor integrated circuit power supply model creation method, program, and information processing apparatus
CN113221504B (en) Efficient Via simulation data acquisition method, system and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant