CN104615830A - Component attaching method and device based on PCB design - Google Patents

Component attaching method and device based on PCB design Download PDF

Info

Publication number
CN104615830A
CN104615830A CN201510069986.2A CN201510069986A CN104615830A CN 104615830 A CN104615830 A CN 104615830A CN 201510069986 A CN201510069986 A CN 201510069986A CN 104615830 A CN104615830 A CN 104615830A
Authority
CN
China
Prior art keywords
components
parts
item
edge shape
pcb
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
CN201510069986.2A
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.)
Inspur Group Co Ltd
Original Assignee
Inspur Group 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 Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510069986.2A priority Critical patent/CN104615830A/en
Publication of CN104615830A publication Critical patent/CN104615830A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a component attaching method and device based on PCB design. According to the method, a PCB drawing is made and includes multiple components, and the position number of each component is set. The method comprises the steps of acquiring a layer from PCB design layers to serve as a silk screen layer, drawing the edge shape and position number of each component at the corresponding position according to the pre-made PCB drawing, and attaching each component to the area with the edge shape corresponding to the position number of the component according to the preset position numbers of the components. By the adoption of the scheme, the components are attached to the right positions, and the accuracy of PCB design is guaranteed.

Description

A kind of components and parts chart pasting method based on PCB design and device
Technical field
The present invention relates to EDA technical field, particularly a kind of components and parts chart pasting method based on PCB design and device.
Background technology
Along with PCB (Printed Circuit Board, printed circuit board) is towards high-accuracy future development, the device of the upper welding of PCB is more and more less, and the design space of PCB is also more and more less, but the required function realized of PCB but gets more and more.
In the design process of carrying out PCB, first need to carry out PCB drawing, secondly carry out the pinup picture of components and parts according to PCB drawing.
Because the components and parts in PCB drawing are of a great variety, therefore, in pinup picture process, are easy to cause the incorrect of pinup picture, thus cause the design mistake of PCB.
Summary of the invention
In view of this, the invention provides a kind of components and parts chart pasting method based on PCB design and device, to solve the problem that prior art causes PCB design mistake.
The invention provides a kind of components and parts chart pasting method based on PCB design, draw PCB drawing, wherein, PCB drawing comprises multiple components and parts; The device item that each components and parts are corresponding is set; Comprise:
A layer is obtained as silk-screen layer in PCB design layer;
On silk-screen layer, chart according to pre-rendered PCB, the position of each components and parts is drawn edge shape and the device item of corresponding components and parts;
The device item corresponding according to each components and parts pre-set, is pasted into corresponding components and parts in the edge shape that this device item is corresponding.
Preferably, before the edge shape drawing corresponding components and parts described on the position of each components and parts and device item, be pasted into corresponding components and parts in the described edge shape corresponding at this device item before, comprise further:
Obtain the corresponding relation of each components and parts edge shape and corresponding device item;
According to the described corresponding relation obtained, when detecting that target devices item does not mate with corresponding object edge shape, the relation between described target devices item and corresponding described object edge shape is adjusted.
Preferably, describedly detect that target devices item does not mate with corresponding object edge shape, comprising: detect target devices item not in described object edge shape, detect target devices item direction change or detect target devices item position change in one or more.
Preferably, comprise further: the width that the description line for stating edge shape and/or device item is set.
Preferably, the width arranging the description line for stating edge shape is that width equals 1; And/or the width arranging the description line for stating device item is that width equals 4.
Present invention also offers a kind of components and parts pinup picture device based on PCB design, comprising:
First drawing unit, for drawing PCB drawing; Wherein, PCB drawing comprises multiple components and parts;
Storage unit, for storing device item corresponding to each components and parts;
Acquiring unit, for obtaining a layer as silk-screen layer in PCB design layer;
Second drawing unit, at silk-screen layer, charts according to pre-rendered PCB, and the position of each components and parts is drawn edge shape and the device item of corresponding components and parts;
Be pasted into unit, for the device item corresponding according to each components and parts pre-set, in the edge shape that this device item is corresponding, be pasted into corresponding components and parts.
Preferably,
Described acquiring unit, for obtaining the corresponding relation of each components and parts edge shape and corresponding device item;
Comprising further: adjustment unit, for according to the described corresponding relation obtained, when detecting that target devices item does not mate with corresponding object edge shape, the relation between described target devices item and corresponding described object edge shape being adjusted.
Preferably, described adjustment unit, for the described corresponding relation according to acquisition, detect target devices item not in described object edge shape, detect target devices item direction change or detect target devices item position change in one or more time, the relation between described target devices item and corresponding described object edge shape is adjusted.
Preferably, described storage unit, for storing the width of the description line for stating edge shape and/or device item.
Preferably, described storage unit is that width equals 1 for storing the width of the description line for stating edge shape; And/or the width arranging the description line for stating device item is that width equals 4.
Embodiments provide a kind of components and parts chart pasting method based on PCB design and device, by obtaining a layer as silk-screen layer in PCB design layer, thus on this silk-screen layer, chart according to pre-rendered PCB, the position of each components and parts is drawn edge shape and the device item of corresponding components and parts, and according to edge shape corresponding to each components and parts and device item, the position of each components and parts is pasted into corresponding components and parts, thus ensure that correct components and parts pinup picture, ensure that the accuracy rate of PCB design.
Accompanying drawing explanation
Fig. 1 is the method flow diagram that the embodiment of the present invention provides;
Fig. 2 is the method flow diagram that another embodiment of the present invention provides;
Fig. 3 is the relation schematic diagram of the device item that provides of the embodiment of the present invention and edge shape;
Fig. 4 is the relation schematic diagram of device item and edge shape after the adjustment that provides of the embodiment of the present invention;
Fig. 5 is the hardware structure figure of the device place equipment that the embodiment of the present invention provides;
Fig. 6 is the apparatus structure schematic diagram that the embodiment of the present invention provides;
Fig. 7 is the apparatus structure schematic diagram that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, embodiments provide a kind of components and parts chart pasting method based on PCB design, draw PCB drawing, wherein, PCB drawing comprises multiple components and parts; The device item that each components and parts are corresponding is set; The method can comprise the following steps:
Step 101: obtain a layer as silk-screen layer in PCB design layer.
Step 102: on silk-screen layer, charts according to pre-rendered PCB, and the position of each components and parts is drawn edge shape and the device item of corresponding components and parts.
Step 103: the device item corresponding according to each components and parts pre-set, is pasted into corresponding components and parts in the edge shape that this device item is corresponding.
According to this programme, by obtaining a layer as silk-screen layer in PCB design layer, thus on this silk-screen layer, chart according to pre-rendered PCB, the position of each components and parts is drawn edge shape and the device item of corresponding components and parts, and according to edge shape corresponding to each components and parts and device item, the position of each components and parts is pasted into corresponding components and parts, thus ensure that correct components and parts pinup picture, ensure that the accuracy rate of PCB design.
In order to ensure in pinup picture process, when components and parts being imported PCB design interface, device item mates with the correct of edge shape, the corresponding relation of each components and parts edge shape and corresponding device item can be pre-set, and after components and parts are imported PCB design interface, according to the described corresponding relation obtained, when detecting that target devices item does not mate with corresponding object edge shape, described target devices item is adjusted in corresponding described object edge shape, thus ensure that the correct relation of device item and respective edges shape, ensure that the correctness of PCB design.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As shown in Figure 2, embodiments provide a kind of components and parts chart pasting method based on PCB design, the method can comprise the following steps:
Step 201: draw PCB drawing, wherein, PCB drawing comprises multiple components and parts; The device item that each components and parts are corresponding is set.
In the present embodiment, first PCB design needs to draw PCB drawing, and wherein, this PCB can comprise multiple components and parts in charting, such as, and the components and parts such as resistance, electric capacity, chip and/or power supply.
In the present embodiment, in order in subsequent process, different components and parts can be distinguished, the device item that each components and parts are corresponding can be set.Such as, the device item of resistance 1 is R428, and the device item of resistance 2 is R450, and the device item of electric capacity 1 is C354 etc.
Step 202: obtain a layer as silk-screen layer in PCB design layer.
In the present embodiment, in PCB design process, multiple PCB design layer can be comprised, such as, top layer, bottom, double exposure once, silk-screen layer etc., wherein, above-mentioned PCB drawing is arranged on wherein one deck of PCB design layer equally.Order between PCB design layer is not fixed, and only need, after PCB design terminates, corresponding PCB design layer be marked upper.
Wherein, silk-screen layer is generally used for the annotation to each components and parts in PCB drawing.
Step 203: on silk-screen layer, charts according to pre-rendered PCB, and the position of each components and parts is drawn edge shape and the device item of corresponding components and parts.
In the present embodiment, edge shape, for drawing out the edge block diagram of components and parts, indicates position for the pinup picture for components and parts.
In the present embodiment, according to presetting rule, device item can be positioned within the shape of corresponding edge, also can be positioned at the adjacent locations of edge shape.
Be positioned within the shape of corresponding edge to set rule for device item, the position relationship of the device item in the present embodiment and edge shape is described.
As shown in Figure 3, be the edge shape of each components and parts and the schematic diagram of device item of drafting.The position relationship of each components and parts in PCB drawing can be learnt according to Fig. 3.
Because device item has overflowed edge shape limited range in figure 3, therefore, in the present embodiment, the font size of device item can be set and the width of the description line for stating device item and/or edge shape is set.
Such as, the width arranging the description line for stating edge shape is that width equals 1; The width arranged for the description line of stating device item is that width equals 4.
In the present embodiment, in order to the one_to_one corresponding of the edge shape and device item that ensure each components and parts, arrange and store the corresponding relation of each components and parts edge shape and corresponding device item.
Step 204: according to PCB drawing, the components and parts related in being charted by PCB import in PCB design interface.
Step 205: according to the corresponding relation of each components and parts edge shape pre-set and corresponding device item, whether the device item detecting each components and parts mates with corresponding object edge shape, if do not mate, performs step 206, otherwise, perform step 207.
Because when components and parts being imported PCB design interface, the position, direction etc. of device item may change, if and manually the device item changed is adjusted, adjustment mistake may be caused and efficiency is lower, thus cause in follow-up pinup picture process, the pinup picture mistake of components and parts.Therefore, after being imported to by components and parts in PCB design interface, before the pinup picture of components and parts, whether the device item detecting each components and parts mates with corresponding edge shape.
In the present embodiment, to detect in following three kinds of phenomenons wherein one or more time, show that the device item of components and parts does not mate with corresponding edge shape: 1, detect the device item of each components and parts not in corresponding edge shape; 2, detect that target devices item direction changes; 3, detect that target devices item position changes.
Step 206: according to the rule of setting, the relation between device item and corresponding edge shape is adjusted, and performs step 207.
In the present embodiment, if the device item that setting rule is components and parts is positioned at edge shape, so there occurs in three kinds of phenomenons in step 205 when the device item of certain components and parts one or more time, the device item of these components and parts is adjusted in corresponding edge shape, thus ensure that the accuracy rate of follow-up pinup picture, and automatically carry out detection adjustment by device, improve regulated efficiency.
As shown in Figure 4, for the present embodiment provide the relation between device item and edge shape is adjusted after schematic diagram.According to Fig. 4, after adjustment, device item is positioned within edge shape, and device item does not overflow edge shape limited range.
Step 207: the device item corresponding according to each components and parts pre-set, is pasted into corresponding components and parts in the edge shape that this device item is corresponding.
According to such scheme, by obtaining a layer as silk-screen layer in PCB design layer, thus on this silk-screen layer, chart according to pre-rendered PCB, the position of each components and parts is drawn edge shape and the device item of corresponding components and parts, and according to edge shape corresponding to each components and parts and device item, the position of each components and parts is pasted into corresponding components and parts, thus ensure that correct components and parts pinup picture, ensure that the accuracy rate of PCB design.
As shown in Figure 5, Figure 6, a kind of components and parts pinup picture device based on PCB design is embodiments provided.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.Say from hardware view; as shown in Figure 5; for the embodiment of the present invention is based on a kind of hardware structure diagram of the components and parts pinup picture device place equipment of PCB design; except the processor shown in Fig. 5, internal memory, network interface and nonvolatile memory; in embodiment, the equipment at device place can also comprise other hardware usually, as the forwarding chip etc. of responsible process message.For software simulating, as shown in Figure 6, as the device on a logical meaning, be by the CPU of its place equipment, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.The components and parts pinup picture device 60 based on PCB design that the present embodiment provides comprises:
First drawing unit 601, for drawing PCB drawing; Wherein, PCB drawing comprises multiple components and parts;
Storage unit 602, for storing device item corresponding to each components and parts;
Acquiring unit 603, for obtaining a layer as silk-screen layer in PCB design layer;
Second drawing unit 604, at silk-screen layer, charts according to pre-rendered PCB, and the position of each components and parts is drawn edge shape and the device item of corresponding components and parts;
Be pasted into unit 605, for the device item corresponding according to each components and parts pre-set, in the edge shape that this device item is corresponding, be pasted into corresponding components and parts.
Further,
Described acquiring unit 603, for obtaining the corresponding relation of each components and parts edge shape and corresponding device item;
In an embodiment of the invention, as shown in Figure 7, the described components and parts pinup picture device based on PCB design may further include:
Adjustment unit 701, for according to the described corresponding relation obtained, when detecting that target devices item does not mate with corresponding object edge shape, adjusts the relation between described target devices item and corresponding described object edge shape.
Further, described adjustment unit 701, for the described corresponding relation according to acquisition, detect target devices item not in described object edge shape, detect target devices item direction change or detect target devices item position change in one or more time, the relation between described target devices item and corresponding described object edge shape is adjusted.
Further, described storage unit 602, for storing the width of the description line for stating edge shape and/or device item.
Further, described storage unit 602 is that width equals 1 for stating the width of the description line of edge shape; And/or the width arranging the description line for stating device item is that width equals 4.
The content such as information interaction, implementation between each unit in the said equipment, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in the storage medium of embodied on computer readable, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium in.
Finally it should be noted that: the foregoing is only preferred embodiment of the present invention, only for illustration of technical scheme of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. based on a components and parts chart pasting method for PCB design, it is characterized in that, draw PCB drawing, wherein, PCB drawing comprises multiple components and parts; The device item that each components and parts are corresponding is set; Comprise:
A layer is obtained as silk-screen layer in PCB design layer;
On silk-screen layer, chart according to pre-rendered PCB, the position of each components and parts is drawn edge shape and the device item of corresponding components and parts;
The device item corresponding according to each components and parts pre-set, is pasted into corresponding components and parts in the edge shape that this device item is corresponding.
2. method according to claim 1, it is characterized in that, before the edge shape drawing corresponding components and parts described on the position of each components and parts and device item, be pasted into corresponding components and parts in the described edge shape corresponding at this device item before, comprise further:
Obtain the corresponding relation of each components and parts edge shape and corresponding device item;
According to the described corresponding relation obtained, when detecting that target devices item does not mate with corresponding object edge shape, the relation between described target devices item and corresponding described object edge shape is adjusted.
3. method according to claim 2, it is characterized in that, describedly detect that target devices item does not mate with corresponding object edge shape, comprising: detect target devices item not in described object edge shape, detect target devices item direction change or detect target devices item position change in one or more.
4., according to described method arbitrary in claims 1 to 3, it is characterized in that, comprise further: the width that the description line for stating edge shape and/or device item is set.
5. method according to claim 4, is characterized in that, the width arranging the description line for stating edge shape is that width equals 1; And/or the width arranging the description line for stating device item is that width equals 4.
6., based on a components and parts pinup picture device for PCB design, it is characterized in that, comprising:
First drawing unit, for drawing PCB drawing; Wherein, PCB drawing comprises multiple components and parts;
Storage unit, for storing device item corresponding to each components and parts;
Acquiring unit, for obtaining a layer as silk-screen layer in PCB design layer;
Second drawing unit, at silk-screen layer, charts according to pre-rendered PCB, and the position of each components and parts is drawn edge shape and the device item of corresponding components and parts;
Be pasted into unit, for the device item corresponding according to each components and parts pre-set, in the edge shape that this device item is corresponding, be pasted into corresponding components and parts.
7. the components and parts pinup picture device based on PCB design according to claim 6, is characterized in that,
Described acquiring unit, for obtaining the corresponding relation of each components and parts edge shape and corresponding device item;
Comprising further: adjustment unit, for according to the described corresponding relation obtained, when detecting that target devices item does not mate with corresponding object edge shape, the relation between described target devices item and corresponding described object edge shape being adjusted.
8. the components and parts pinup picture device based on PCB design according to claim 7, it is characterized in that, described adjustment unit, for the described corresponding relation according to acquisition, detect target devices item not in described object edge shape, detect target devices item direction change or detect target devices item position change in one or more time, the relation between described target devices item and corresponding described object edge shape is adjusted.
9., according to the described components and parts pinup picture device based on PCB design arbitrary in claim 6 to 8, it is characterized in that, described storage unit, for storing the width of the description line for stating edge shape and/or device item.
10. the components and parts pinup picture device based on PCB design according to claim 9, is characterized in that, described storage unit, is that width equals 1 for storing the width of the description line for stating edge shape; And/or the width arranging the description line for stating device item is that width equals 4.
CN201510069986.2A 2015-02-10 2015-02-10 Component attaching method and device based on PCB design Pending CN104615830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510069986.2A CN104615830A (en) 2015-02-10 2015-02-10 Component attaching method and device based on PCB design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510069986.2A CN104615830A (en) 2015-02-10 2015-02-10 Component attaching method and device based on PCB design

Publications (1)

Publication Number Publication Date
CN104615830A true CN104615830A (en) 2015-05-13

Family

ID=53150271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510069986.2A Pending CN104615830A (en) 2015-02-10 2015-02-10 Component attaching method and device based on PCB design

Country Status (1)

Country Link
CN (1) CN104615830A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110126458A (en) * 2019-04-01 2019-08-16 桂林市朗谷科技有限公司 A kind of PCB silk-screen automatic adjusting method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549671A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method for automatic generating device mark in printed circuit board design
US20080019103A1 (en) * 2006-07-19 2008-01-24 Alti-Electronics Co., Ltd. Cooling Device for Light Emitting Diode (LED) Module and Method for Fabricating the Same
CN101959370A (en) * 2010-10-12 2011-01-26 浪潮电子信息产业股份有限公司 Method for preventing marking position numbers of devices in wrong positions in PCB
CN104053306A (en) * 2014-06-17 2014-09-17 浪潮集团有限公司 PCB device bit number design and wrongly marked position inspection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549671A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method for automatic generating device mark in printed circuit board design
US20080019103A1 (en) * 2006-07-19 2008-01-24 Alti-Electronics Co., Ltd. Cooling Device for Light Emitting Diode (LED) Module and Method for Fabricating the Same
CN101959370A (en) * 2010-10-12 2011-01-26 浪潮电子信息产业股份有限公司 Method for preventing marking position numbers of devices in wrong positions in PCB
CN104053306A (en) * 2014-06-17 2014-09-17 浪潮集团有限公司 PCB device bit number design and wrongly marked position inspection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110126458A (en) * 2019-04-01 2019-08-16 桂林市朗谷科技有限公司 A kind of PCB silk-screen automatic adjusting method, device and storage medium
CN110126458B (en) * 2019-04-01 2021-01-05 桂林市朗谷科技有限公司 Automatic PCB screen printing adjusting method and device and storage medium

Similar Documents

Publication Publication Date Title
US9141746B1 (en) System and method to drag instance master physical shell
CN105335445B (en) It is laid out display methods and device
CN110222381B (en) Method, system, medium and terminal for generating dynamic installation guide file for PCB assembly
CN105631393A (en) Information recognition method and device
WO2018192251A1 (en) Method and system for correcting imported production data of surface-mount device
CN103729713A (en) Audit result display configuration method and device
CN104572647A (en) Labeling device and labeling method
US20130055190A1 (en) Computing device and method for checking design of printed circuit board layout file
CN112597737B (en) Method, system and readable storage medium for creating PCB test point identification
CN110609912A (en) Component information recording method, device, equipment and readable storage medium
CN104915466A (en) Design method for achieving automatic page layout according to schematic diagram
CN109656652B (en) Webpage chart drawing method, device, computer equipment and storage medium
CN114816410A (en) Interface generation method, device and storage medium
CN114297739A (en) Identification processing method and device for layout verification, server and storage medium
CN104615830A (en) Component attaching method and device based on PCB design
US11880910B2 (en) Method for extracting information from a display panel, device, and electronic device
CN109191379B (en) Panorama splicing semantic annotation method, system, terminal and storage medium
CN105760155A (en) Method and device for web interface layout
US8510705B2 (en) Computing device and method for checking via stub
CN103116662B (en) Cloth line automation check system and method
CN103856967A (en) Visualized configuration method for equipment panel in NIS system
CN113011125B (en) Printed circuit board checking method, device, equipment and computer storage medium
US8468489B2 (en) Computer aided design system and method
CN113642281A (en) PCB design drawing detection method, device, equipment and medium
US11900033B2 (en) Methods and systems for printed circuit board component placement and approval

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150513

WD01 Invention patent application deemed withdrawn after publication