A kind of method for reusing based on body PCB design
Technical field
The present invention relates to the technical field of PCB design, concrete is a kind of method for reusing based on body PCB design.
Background technology
The design of printed circuit board (PCB) (PCB) is mainly by electric design automation (Electronic Design Automation at present, EDA) software and the user components and parts of finishing alternately PCB are arranged and wiring operations, and the user need to regulate one by one on the pcb board components and parts placement position and carry out one by one wiring operations.
In the product of a seriation, the layout of all multicomponent devices on each pcb board and cabling are on all four.When adopting traditional PCB method for designing, to often also re-starting design effort fully with a series of product.Yet the design of finishing a PCB needs all multioperations, has in the situation of many same design for its PCB of product of a series, and redesign not only increases the duplication of labour and workload greatly, reduces development efficiency.
By simply copying, paste the integral transplanting that only can realize the PCB elements such as components and parts, wiring, via hole.For in series of products, the different PCB element that the difference between the different versions causes can't design by this method effectively.Specifically, in a series of products, reach the purpose of distinguishing function and class by the components and parts that increase and cut down on the pcb board often.But, be that former similar designs is applied among the current design fully by copying, paste original components and parts only.Because arranging, the connection between the components and parts and relative position can't directly by what copy, paste to design, still need can finishing alternately of people often.
In sum, use simple modularization PCB method for designing, can reuse original PCB design proposal although namely directly call the PCB method for designing of preservation, still have following problem:
(1) in the time of can't mating fully for the file name of demand and storage, namely there is not the PCB designing requirement of clear and definite design requirement, can't find quickly and accurately existing scheme, and then improve the application threshold of this method, can't be adapted to complicated demand environment;
(2) annexation that exists between module and the module can't effectively be reused, and needs the people for carrying out complementary design toward contact in design process.
Summary of the invention
The problem to be solved in the present invention is: in the PCB of series of products design process, can effectively reuse existing design proposal, and the functions such as fuzzy matching are provided, greatly to improve the design efficiency of pcb board.
The present invention is achieved through the following technical solutions:
A kind of method for reusing based on body PCB design, it is characterized in that, comprise the PCB Requirements Analysis Model, based on the PCB reuse model of case, based on PCB design requirement response model and the PCB composite design model of body, realize reusing of PCB method for designing by described PCB design requirement response model based on body; By the logical combination of the existing PCB method for designing of described PCB composite design model realization, and then generate new design proposal.
Further, described PCB Requirements Analysis Model comprises cost demand analysis, design requirement analysis and technical need analysis:
Described cost demand analysis refers to the restrictive condition of the processing cost of designed pcb board, generally by the processing cost of user according to the pcb board of market processing price evaluation made, and makes corresponding cost restrictive condition;
Described design requirement analysis refers to the design constraints such as title, model and concrete numerical value of device required on the pcb board, and described design constraint is to formulate according to the design documents such as schematic diagram of user's design;
Described technical need analysis refers to the technological constraints such as process conditions of processing PCB plate, and in conjunction with process conditions requirement of designed pcb board etc., and determine by reference manual or user experience by the user for described technological constraint.
Further, described PCB reuse model based on case is carried out similarity calculating to demand and the method for designing in the PCB knowledge base of user's input exactly, and this is to judge whether user's request and existing design proposal mate and reusable standard, if have, then return to the user as final plan; If nothing then enters described PCB design requirement respond module based on body.
Further, described PCB design requirement response model based on body comprises the Ontology processing module, and described Ontology processing module comprises PCB ontology model and intelligence deduction decision-making module:
Described PCB ontology model is to use ontology to set up towards the unified model of the designs such as PCB components and parts, wiring, via hole;
Described intelligence based on body infers that decision-making module is to utilize Ontology Query mechanism, utilizes the rule of external inference machine and establishment, and user's potential demand, carries out reasoning, analysis in the integration environment, thereby draws preliminary PCB design proposal.
Further, described PCB composite design model be with existing several by based on the inference machine of body according to user's request, in conjunction with the ontology knowledge storehouse of PCB obtain independently, can make up according to design rule in order to the method for the PCB that forms user's request, and then generate new PCB design proposal.
The present invention's's " based on body " description is an ontological conception of species." ontology " is the theory that generalities are accurately described, and is used for describing the essence of things.In realization, be the detailed description of generalities, a body often is exactly a formal vocabulary, and its central role just is to define specialized vocabulary in a certain field or the field and the relation between them.The foundation stone of this a series of key concept such as same seat Building provides a unified understanding for exchanging each side.Under the support of these a series of concepts, the search of knowledge, accumulation and shared efficient will improve greatly, knowledge reuse truly and the shared possibility that also becomes.
The good effect of a kind of method for reusing based on body PCB design of the present invention is:
(1) based on the PCB design reuse function in ontology knowledge storehouse.So that original PCB method for designing can access effectively and reuses among the tandem product, obtain fast the new PCB design that the user needs based on original work, can greatly improve design efficiency;
(2) PCB based on body designs query function.For the inquiry based on the knowledge base of body, it has the function of reasoning by cases and similarity calculating, design existing in conjunction with the inference machine based on body, according to various constraints and intelligent decision, can effectively filter out the existing cases of design that approaches the most with user's request;
(3) PCB design configurations logical combination function.Based on the inference machine of body according to user's request, in conjunction with the ontology knowledge storehouse of PCB obtain independently, can make up according to design rule in order to the method for the PCB that forms user's request, and then generate new PCB design proposal.
Description of drawings
Accompanying drawing 1 is the FB(flow block) of a kind of method for reusing based on body PCB design of the present invention;
Accompanying drawing 2 is PCB Requirements Analysis Model synoptic diagram;
Accompanying drawing 3 is based on the PCB reuse model FB(flow block) of case;
Accompanying drawing 4 is based on the PCB design requirement response model synoptic diagram of body.
Embodiment
The embodiment of the PCB method for reusing that the present invention is based on body is provided below in conjunction with accompanying drawing.
The contrast between Chinese and English table of the ontology model class of PCB is as follows:
PCB |
Printed circuit board (PCB) |
CPU |
Central processing unit |
A-D |
Analog to digital transforms |
Keyboard |
Keyboard |
Drive |
Drive |
D-A |
Digital-to-analog transforms |
Serial |
Serial ports |
LCD |
Liquid crystal display |
Else |
All the other modules |
The contrast between Chinese and English of the ontology model attribute of PCB is as follows:
URL |
The unified resource location |
Line-width |
Live width |
padDiameter |
Pad diameter |
Cost |
Price |
Unit |
Unit |
Value |
Numerical value |
Name |
Title |
The PCB Requirements Analysis Model: referring to accompanying drawing 1, the user inputs the PCB design requirement, at first by the PCB Requirements Analysis Model user's request is analyzed.
According to demand type, the user is divided into respectively cost demand, design requirement, technical need three major types to the demand of each module (such as CPU module, Keyboard module etc.).Wherein the cost demand can be described by cost numerical value and two attributes of monetary unit again; Design requirement can be described by module title, required numerical value, these three attributes of numerical value unit; Technical need is described by PCB live width and these two attributes of pad diameter.Extraction by to the key word of user's request according to the method described above, is mapped to key word in the above-mentioned attribute, thereby draws detailed user's request, specifically as shown in Figure 2.
PCB reuse model based on case: referring to accompanying drawing 3, to pass through the user profile after the PCB demand model is processed, reuse in the case library at PCB and retrieve.Take key word as the inquiry foundation, if meet key word fully, namely similarity 100%, then can directly call PCB cases of design once, exports as final plan; If partial key meets, then whenever meet a key word, give 2% similarity, last comprehensive accumulation is if similarity greater than given threshold value (such as 60%), is reused after then explanation case in the past can be revised; If be lower than given threshold value, the PCB design requirement response model that then enters based on body carries out subsequent treatment.
PCB design requirement response model based on body: referring to accompanying drawing 4, according to the result of user requirements analysis, demand is mapped to respectively CPU module demand, A/D module demand, Keyboard module demand, Drive module demand, D/A module demand, Serial module demand and LCD module demand.Shown in the CPU module, according to its demand, in conjunction with its attribute, its model attributes sees the following form by body:
Be mapped to corresponding body, and then be mapped to existing CPU module file corresponding in the CPU module knowledge base, the CPU module file is called in eda software.Other modules adopt corresponded manner to call in eda software.
PCB composite design model: by above-mentioned each hardware module of calling in eda software, by manually further connecting carrying out electrical equipment between the module, thereby finish the PCB global design.
Foregoing is to comprehensive explanation of the present invention, and should not be construed as a limitation of the present invention.Should be pointed out that for those skilled in the art without departing from the inventive concept of the premise, can also make some improvements and modifications, these improvements and modifications also should be considered within the scope of protection of the present invention.