CN107194094A - A kind of quick method that Color scheme is set in PCB design - Google Patents

A kind of quick method that Color scheme is set in PCB design Download PDF

Info

Publication number
CN107194094A
CN107194094A CN201710390557.4A CN201710390557A CN107194094A CN 107194094 A CN107194094 A CN 107194094A CN 201710390557 A CN201710390557 A CN 201710390557A CN 107194094 A CN107194094 A CN 107194094A
Authority
CN
China
Prior art keywords
color
layer
pcb design
color scheme
negative film
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.)
Pending
Application number
CN201710390557.4A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710390557.4A priority Critical patent/CN107194094A/en
Publication of CN107194094A publication Critical patent/CN107194094A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/392Floor-planning or layout, e.g. partitioning or placement

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Architecture (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention is more particularly directed to a kind of quick method for setting Color scheme in PCB design.The quick method for setting Color scheme, travels through structure at all levels one by one by the way of bidirectional circulating in the PCB design, obtains the RGS allocative decisions of each color in structure at all levels;Whether in ergodic process, it is negative film layer to judge current aspect;If current aspect is negative film layer, the color on bus plane and stratum is set respectively;If current aspect is not negative film layer, color, and setting signal layer color are taken successively;Finally, addition sets Color scheme function button in PCB design wiring tool Allegro.The quick method that Color scheme is set in the PCB design, Color scheme can not only be quickly set, it can also ensure that the color of every aspect in design is relatively fixed, color is deeper closer to top layer, the more shallow then more internal layer of color, the complex process set manually in design is simplified, while efficiency is improved, is also beneficial to ensure Design consistency.

Description

A kind of quick method that Color scheme is set in PCB design
Technical field
The present invention relates to PCB design technical field, the side of Color scheme is quickly set in more particularly to a kind of PCB design Method.
Background technology
In PCB(Printed Circuit Board, printed circuit board (PCB))In design, intuitively check, distinguish for convenience Different aspects and object, engineer need to define Color scheme to distinguish different aspect and object, therefore design is carried out It is inevitable that Color scheme, which is set,.Existing technical scheme is manual setting, in the color setting interface of software one by one It is configured after click aspect and object, selection color.
Existing method to set up speed is slow, and the more design setting up procedure of aspect are more cumbersome;And the design of different engineers Without Design consistency, in design modification or renewal, the inconsistent of different engineer's Color schemes may also bring understanding On mistaken ideas.
Based on this, the present invention devises a kind of quick method for setting Color scheme in PCB design.
Commercially there are many money PCB design softwares at present, Cadence is used as the most widely used software of industry.Not only because Possess powerful function for it and many money related softwares supported, also as it provide open second development interface and compared with For perfect development language storehouse, user can develop according to the need for itself.
Skill language is a kind of high-level programming language based on C language and list processing language built in Cadence softwares, Cadence provides abundant interactive function for skill language, studies skill language then authoring tool, input application can To greatly improve operating efficiency.
Allegro is a kind of advanced PCB design wiring tool, and there is provided good and interaction working interface and powerful complete Kind function, and its front-end product Cadence, OrCAD, Capture combination, be that current high speed, high density, multilayer are answered Miscellaneous PCB design wiring provides most perfect solution.
The content of the invention
The present invention sets face to make up the defect of prior art there is provided quick in a kind of simple efficient PCB design The method of color scheme.
The present invention is achieved through the following technical solutions:
A kind of quick method that Color scheme is set in PCB design, it is characterised in that:Traveled through one by one by the way of bidirectional circulating Structure at all levels, obtains the RGS allocative decisions of each color in structure at all levels;In ergodic process, judge current aspect whether be Negative film layer;If current aspect is negative film layer, the color on bus plane and stratum is set respectively;If current aspect is not negative film layer, Color, and setting signal layer color are then taken successively;Finally, by writing the skill programs of quick setting Color scheme, and in PCB Addition sets Color scheme function button in designing wiring instrument Allegro, you can realize that a key sets Color scheme.
Colors list is set in the skill programs, is just using axlIsLayerNegative function judgement aspects Lamella or negative film layer;When being judged as negative film layer, current aspect is bus plane or stratum;When being judged as positive lamella, currently Aspect is signals layer;The stratum and bus plane are fixed color, and the color of each signals layer is obtained from colors list successively It is configured after RGB schemes of colour.
Being achieved in that for the bidirectional circulating obtains color from TOP layers and BOTTOM layers of both direction respectively, often obtains One color, corresponding aspect is given by the color assignment of acquisition, after the completion of aspect variable add a continuation to obtain, until traversal is all Aspect.
The bidirectional circulating is achieved in that since TOP layers, TOP layers take in colors list first, BOTTOM Layer takes last in colors list, and second signals layer takes second in colors list, and penultimate signals layer takes Penultimate in colors list, by that analogy.
Described TOP layers is set to bottle green, and BOTTOM layers are set to red, and stratum is set to light green color, and bus plane is set For lightpink;Meanwhile, TOP layers of next layer signal layer is set to blueness, and BOTTOM layers of last layer signals layer is set to purple, By that analogy, the color close to top layer is relatively fixed, and color is more deep then closer to top layer;The more boards of the number of plies, internal layer selection New color it is more.
The beneficial effects of the invention are as follows:The quick method for setting Color scheme, can not only quickly be set in the PCB design Color scheme, additionally it is possible to ensure that the color of every aspect is relatively fixed in design, color is deeper closer to top layer, color more it is shallow then More internal layer, simplifies the complex process set manually in design, while efficiency is improved, and is also beneficial to ensure that design is consistent Property.
Embodiment
In order that technical problems, technical solutions and advantages to be solved are more clearly understood, tie below Embodiment is closed, the present invention will be described in detail.It should be noted that specific embodiment described herein is only to explain The present invention, is not intended to limit the present invention.
The quick method for setting Color scheme, travels through structure at all levels one by one by the way of bidirectional circulating in the PCB design, Obtain the RGS allocative decisions of each color in structure at all levels;Whether in ergodic process, it is negative film layer to judge current aspect;If Current aspect is negative film layer, then sets the color on bus plane and stratum respectively;If current aspect is not negative film layer, take successively Color, and setting signal layer color;Finally, by writing the skill programs of quick setting Color scheme, and in PCB design wiring Addition sets Color scheme function button in instrument Allegro, you can realize that a key sets Color scheme.
Colors list is set in the skill programs, is just using axlIsLayerNegative function judgement aspects Lamella or negative film layer;When being judged as negative film layer, current aspect is bus plane or stratum;When being judged as positive lamella, currently Aspect is signals layer;The stratum and bus plane are fixed color, and the color of each signals layer is obtained from colors list successively It is configured after RGB schemes of colour.
The expression that has in itself for each color of RGB color matchings three of RGB allocation proportion between 0 to 255 integer. Being achieved in that for the bidirectional circulating obtains color from TOP layers and BOTTOM layers of both direction respectively, often obtains a color, By the color assignment of acquisition give corresponding aspect, after the completion of aspect variable add a continuation obtain, until traversal structure at all levels.
The bidirectional circulating is achieved in that since TOP layers, TOP layers take in colors list first, BOTTOM Layer takes last in colors list, and second signals layer takes second in colors list, and penultimate signals layer takes Penultimate in colors list, by that analogy.
Described TOP layers is set to bottle green, and BOTTOM layers are set to red, and stratum is set to light green color, and bus plane is set For lightpink;Meanwhile, TOP layers of next layer signal layer is set to blueness, and BOTTOM layers of last layer signals layer is set to purple, By that analogy, the color close to top layer is relatively fixed, and color is more deep then closer to top layer;The more boards of the number of plies, internal layer selection New color it is more.
The quick method for setting Color scheme, takes color to use the mesh of bidirectional circulating from colors list in the PCB design Be to allow engineer to form concept substantially, bluish-green colour system belongs to top half, the latter half in board of purple colour system, Color is more deep then closer to top layer.In many PCB designs of the number of plies, remember that the color of structure at all levels is relatively difficult, and pass through The present invention has impression substantially to the position of aspect after being provided with, this is for being designed with help.
The configuration of the PCB design wiring tool Allegro is as follows with operating process:
(1)The modification of software configuration file and shortcut is carried out, first, load is added in allegro.ilinit files (“color_set.il”), wherein, color_set.il is source files of program, and this is ordered for loading procedure;Secondly, in env Shortcut is added in file, by taking button F3 as an example, funckey F3 color_set, wherein, color_set is fixed in a program The order of justice, is performed and the signified program of the present invention is run after this order, now, and this order is replaced with shortcut F3;
(2)Allegro softwares are opened, shortcut F3 is pressed, clicking on color_set can operation program;
(3)Operation opens color after finishing and sets window, and user can check the whether correct of addition.
By above step, you can complete to set a key of color template in PCB design.

Claims (5)

1. a kind of quick method that Color scheme is set in PCB design, it is characterised in that:By the way of bidirectional circulating one by one time Structure at all levels is gone through, the RGS allocative decisions of each color in structure at all levels are obtained;In ergodic process, whether current aspect is judged For negative film layer;If current aspect is negative film layer, the color on bus plane and stratum is set respectively;If current aspect is not negative film Layer, then take color, and setting signal layer color successively;Finally, by writing the quick skill programs for setting Color scheme, and Addition sets Color scheme function button in PCB design wiring tool Allegro, you can realize that a key sets Color scheme.
2. the quick method that Color scheme is set in PCB design according to claim 1, it is characterised in that:Described Colors list is set in skill programs, is positive lamella or negative film layer using axlIsLayerNegative function judgement aspects; When being judged as negative film layer, current aspect is bus plane or stratum;When being judged as positive lamella, current aspect is signals layer;Institute It is fixed color to state stratum and bus plane, and acquisition RGB schemes of colour are laggard from colors list successively for the color of each signals layer Row is set.
3. the quick method that Color scheme is set in PCB design according to claim 1, it is characterised in that:It is described two-way Being achieved in that for circulation obtains color from TOP layers and BOTTOM layers of both direction respectively, a color is often obtained, by acquisition Color assignment give corresponding aspect, after the completion of aspect variable add a continuation obtain, until traversal structure at all levels.
4. the quick method that Color scheme is set in PCB design according to claim 4, it is characterised in that:It is described two-way Circulation is achieved in that since TOP layers TOP layers take in colors list first, BOTTOM layers take in colors list Last, second signals layer takes second in colors list, and penultimate signals layer takes the inverse in colors list Second, by that analogy.
5. the quick method that Color scheme is set in the PCB design according to claim 2 or 4, it is characterised in that:TOP layers Bottle green is set to, BOTTOM layers are set to red, and stratum is set to light green color, and bus plane is set to lightpink;Meanwhile, TOP Next layer signal layer of layer is set to blueness, and BOTTOM layers of last layer signals layer is set to purple, by that analogy, close to top layer Color be relatively fixed, color is more deep then closer to top layer;The more boards of the number of plies, the new color of internal layer selection is more.
CN201710390557.4A 2017-05-27 2017-05-27 A kind of quick method that Color scheme is set in PCB design Pending CN107194094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710390557.4A CN107194094A (en) 2017-05-27 2017-05-27 A kind of quick method that Color scheme is set in PCB design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710390557.4A CN107194094A (en) 2017-05-27 2017-05-27 A kind of quick method that Color scheme is set in PCB design

Publications (1)

Publication Number Publication Date
CN107194094A true CN107194094A (en) 2017-09-22

Family

ID=59875910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710390557.4A Pending CN107194094A (en) 2017-05-27 2017-05-27 A kind of quick method that Color scheme is set in PCB design

Country Status (1)

Country Link
CN (1) CN107194094A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862118A (en) * 2017-10-30 2018-03-30 北方电子研究院安徽有限公司 The domain level of selected figure is quickly modified as to the method for metallograph figure layer time
CN108932386A (en) * 2018-07-06 2018-12-04 漳州高新区远见产业技术研究有限公司 Change the method and apparatus of pcb layer color by Allegro software
CN114818589A (en) * 2022-05-18 2022-07-29 山东浪潮科学研究院有限公司 Method, equipment and medium for setting colors of same network and different parameters of PCB (printed circuit board)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1308487A (en) * 2000-12-20 2001-08-15 周宝星 Wiring technique for multiplayer printed circuit board
US7299444B1 (en) * 2005-03-31 2007-11-20 Altera Corporation Interface for pin swap information
CN104053306A (en) * 2014-06-17 2014-09-17 浪潮集团有限公司 PCB device bit number design and wrongly marked position inspection method
CN204014257U (en) * 2014-07-04 2014-12-10 定颖电子(昆山)有限公司 Pcb board with Anti-dislocation sign
CN105095597A (en) * 2015-08-27 2015-11-25 浪潮集团有限公司 Method for building Skill program of PCB design layers and films
CN105404745A (en) * 2015-11-30 2016-03-16 惠州市金百泽电路科技有限公司 Method for fast setting PCB template layer color

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1308487A (en) * 2000-12-20 2001-08-15 周宝星 Wiring technique for multiplayer printed circuit board
US7299444B1 (en) * 2005-03-31 2007-11-20 Altera Corporation Interface for pin swap information
CN104053306A (en) * 2014-06-17 2014-09-17 浪潮集团有限公司 PCB device bit number design and wrongly marked position inspection method
CN204014257U (en) * 2014-07-04 2014-12-10 定颖电子(昆山)有限公司 Pcb board with Anti-dislocation sign
CN105095597A (en) * 2015-08-27 2015-11-25 浪潮集团有限公司 Method for building Skill program of PCB design layers and films
CN105404745A (en) * 2015-11-30 2016-03-16 惠州市金百泽电路科技有限公司 Method for fast setting PCB template layer color

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冯剑锋: ""基于ARM与ZigBee技术的智能家居系统设计"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862118A (en) * 2017-10-30 2018-03-30 北方电子研究院安徽有限公司 The domain level of selected figure is quickly modified as to the method for metallograph figure layer time
CN108932386A (en) * 2018-07-06 2018-12-04 漳州高新区远见产业技术研究有限公司 Change the method and apparatus of pcb layer color by Allegro software
CN114818589A (en) * 2022-05-18 2022-07-29 山东浪潮科学研究院有限公司 Method, equipment and medium for setting colors of same network and different parameters of PCB (printed circuit board)

Similar Documents

Publication Publication Date Title
CN107194094A (en) A kind of quick method that Color scheme is set in PCB design
CN104898456B (en) The method of material objectization programming and its application in robot field
CN104991863B (en) A kind of method that test case is automatically generated based on FBD test model
CN106844888A (en) A kind of quick method that artwork is set in PCB design
CN106991243A (en) A kind of quick inspection silk-screen layer method overlapping with solder mask
CN103207903B (en) A kind of visualized graphs program topological sorting method
CN105184385B (en) A kind of distributed control method of automated manufacturing system
CN103793140B (en) A kind of application icon aligning method and mobile terminal
CN103440760A (en) Multi-control infrared remote controller and remote control method thereof
CN105447240A (en) Implementation method for automatically establishing PCB design layer and back sheet
CN104502715B (en) The impedance detecting method of impedance plate
CN106681160A (en) Method and device for controlling intelligent equipment
CN110019135A (en) It is a kind of to migrate relational data to the method and device of HBase database
CN107391376A (en) A kind of regression testing method
CN104298419A (en) Mobile terminal and method for arranging icons of mobile terminal
WO2019011342A1 (en) Cloth identification method and device, electronic device and storage medium
CN106951613A (en) It is a kind of to switch the method and device for showing PCB figure layers
CN105488278A (en) Method for automatically generating Gerber file in PCB design
CN107302622A (en) intelligent switch visual configuration method and system
CN103941627B (en) Conversion methods of the SFC to ladder diagram in a kind of programming based on PLC
CN104239212A (en) Query method and device of test case and establishment method and device of test case
CN108959751B (en) Intelligent design method for clothing craft template
CN103076946B (en) terminal and input prompting method
CN107220439A (en) A kind of method for moving assembling layer word in PCB design in batches
CN106648794A (en) Component loading method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922