CN109858092A - Method, apparatus, computer equipment and the storage medium of PCB component placement - Google Patents

Method, apparatus, computer equipment and the storage medium of PCB component placement Download PDF

Info

Publication number
CN109858092A
CN109858092A CN201811613599.0A CN201811613599A CN109858092A CN 109858092 A CN109858092 A CN 109858092A CN 201811613599 A CN201811613599 A CN 201811613599A CN 109858092 A CN109858092 A CN 109858092A
Authority
CN
China
Prior art keywords
parameter
circuit diagram
pcb
distance
net list
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
CN201811613599.0A
Other languages
Chinese (zh)
Other versions
CN109858092B (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.)
Shenzhen Waterward Information Co Ltd
Original Assignee
Zunyi Water World 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 Zunyi Water World Technology Co Ltd filed Critical Zunyi Water World Technology Co Ltd
Priority to CN201811613599.0A priority Critical patent/CN109858092B/en
Publication of CN109858092A publication Critical patent/CN109858092A/en
Application granted granted Critical
Publication of CN109858092B publication Critical patent/CN109858092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Present invention discloses method, apparatus, computer equipment and the storage mediums of a kind of PCB component placement, the described method includes: the net list of configuration circuit figure, the corresponding parameter information of each element in the circuit diagram is arranged, the parameter information includes location parameter;The net list of the circuit diagram is imported PCB design software and carries out PCB component placement by the net list for exporting the circuit diagram.By increasing location parameter in the net list of circuit diagram, and according to conventional design rule and the corresponding position constraint rule of location parameter, realize each element in circuit diagram in PCB design software auto arrangement in designated position, to realize the layout of PCB element, user time and energy are saved, user experience is increased.

Description

Method, apparatus, computer equipment and the storage medium of PCB component placement
Technical field
The present invention relates to printed-board technology fields, especially relate to method, apparatus, the meter of PCB component placement Calculate machine equipment and storage medium.
Background technique
Currently, PCB (printed circuit board, the Printed Circuit Board) design of electronic product is usually first in electricity Circuit diagram is designed in the G- Design software of road, net list is generated according to circuit diagram, then net list is imported into progress PCB cloth in PCB Office and cabling design are led to since the design rule that existing PCB design software carries is not enough to realize PCB element autoplacement It often needs user to manually complete PCB component placement, wastes very much time and the energy of user in this way, and complicated for circuit Printed circuit board, manual layout are even more that user is allowed to feel collapse, and user experience is very poor.
Summary of the invention
The main object of the present invention is that the method, apparatus for providing a kind of PCB component placement, computer equipment and storage are situated between Matter realizes the arrangement for being automatically performed each element in PCB, saves user time.
A kind of method that the present invention proposes PCB component placement, comprising:
The net list of configuration circuit figure, the corresponding parameter information of element in circuit diagram is arranged, parameter information includes position Parameter;
The net list of derived circuit figure;
The net list of circuit diagram is imported into PCB design software;
According to location parameter, element is arranged in PCB design software.
Further, location parameter includes first position parameter, second position parameter and/or modularization parameter, and first Setting parameter includes the first element information at a distance from element within the scope of the first pre-determined distance, and second position parameter includes and member Second element information of the distance of part within the scope of the second pre-determined distance, the first pre-determined distance range is less than the second pre-determined distance model It encloses, modularization parameter includes the zone number where element, wherein the first element and the second element are the electricity The element that position determines in the figure of road;The net list of configuration circuit figure, the corresponding parameter information of element in circuit diagram is arranged The step of, comprising:
The first instruction of user's input is received, the first instruction includes first position ginseng corresponding with element in setting circuit diagram The instruction of number, second position parameter and/or modularization parameter;
It is instructed according to first, the corresponding first position parameter of element, second position parameter and/or module in configuration circuit figure Change parameter.
Further, first element information includes the number and number of pins of first element, and second element information includes second The number and number of pins of element, zone number include mask frame number or circuit region number;According to the first instruction, configuration circuit In figure the step of the corresponding first position parameter of element, second position parameter and/or modularization parameter, comprising:
It is instructed according to first, the first element in configuration circuit figure at a distance from element within the scope of the first pre-determined distance Number and number of pins;First element is the element in circuit diagram;
And/or the second element in configuration circuit figure at a distance from element within the scope of the second pre-determined distance number and Number of pins;Second element is the element different from first element in circuit diagram;
And/or mask frame number or circuit region number in configuration circuit figure where element.
Further, above-mentioned first element information includes the first distance of element and first element, and above-mentioned first distance exists Within the scope of first pre-determined distance, above-mentioned second element information includes the second distance of element and second element, above-mentioned second distance Within the scope of sub second pre-determined distance;It is instructed according to first, the corresponding first position parameter of element, the second position in configuration circuit figure The step of parameter and/or modularization parameter, comprising:
It is instructed according to first, the first distance of element and first element in configuration circuit figure;
And/or in configuration circuit figure element and second element second distance.
Further, before the step of net list of circuit diagram being imported PCB design software, comprising:
In PCB design software, pcb board frame is drawn;
Receive the second instruction for arranging the specified element in circuit diagram of user's input;
According to the second instruction, by specified element arrangements in designated position corresponding on pcb board frame.
Further, according to location parameter, in PCB design software the step of arrangement element, comprising:
Obtain net list in element location parameter, location parameter include first position parameter, second position parameter and/or Modularization parameter;
According to preset design rule and location parameter, element is arranged on pcb board frame.
Further, according to location parameter, after the step of element is arranged in PCB design software, comprising:
According to default inspection rule, check whether the layout of element is reasonable;
If unreasonable, the information for being laid out unreasonable reason is shown.
The present invention also proposes a kind of device of PCB component placement, comprising:
Configuration module, for the net list of configuration circuit figure, the corresponding parameter information of element in circuit diagram, parameter is arranged Information includes location parameter;
Export module, the net list for derived circuit figure;
Import modul, for the net list of circuit diagram to be imported PCB design software;
First order module, for arranging element in PCB design software according to location parameter.
The present invention also proposes that a kind of terminal, including memory and processor, memory are stored with computer program, processor The step of realizing the method for above-mentioned PCB component placement when executing computer program.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, computer program quilt The step of processor realizes the method for above-mentioned PCB component placement when executing.
The present invention in the net list of circuit diagram by increasing location parameter, and according to conventional design rule and location parameter Corresponding position constraint rule, realize each element in circuit diagram in PCB design software auto arrangement in designated position, thus real The autoplacement of existing PCB element, saves user time and energy, increases user experience.
Detailed description of the invention
Fig. 1 is the step schematic diagram of the method for PCB component placement in one embodiment of the invention;
Fig. 2 is the structural schematic diagram of the device of PCB component placement in one embodiment of the invention;
Fig. 3 is the structural schematic diagram of configuration module in the device of PCB component placement in one embodiment of the invention;
Fig. 4 is the structural schematic diagram of configuration unit in the device of PCB component placement in one embodiment of the invention;
Fig. 5 is the structural schematic diagram of configuration unit in the device of PCB component placement in another embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the device of PCB component placement in another embodiment of the present invention;
Fig. 7 is that the structure of first order module in the device of PCB element autoplacement layout in one embodiment of the invention is shown It is intended to;
Fig. 8 is the structural schematic diagram of the device of PCB component placement in further embodiment of this invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, in one embodiment of the invention PCB component placement method, comprising:
S1, the net list of configuration circuit figure, the corresponding parameter information of element in the circuit diagram, the parameter letter is arranged Breath includes location parameter;
S2 exports the net list of the circuit diagram;
The net list of the circuit diagram is imported PCB design software by S3;
S4 arranges the element in the PCB design software according to the location parameter.
In above-mentioned steps S1, above-mentioned net list is the tables of data for recording a component information in foregoing circuit figure, above-mentioned net The information of network table record include: element title, element number, element connected using parameter, network name, network it is all The pin name of element, PCB encapsulation name, pcb board layer defines, conventional design is regular and the position constraint comprising position of components parameter Regular (PLACEMENT RULES);Above-mentioned conventional design rule includes the constraint of the safe spacing of element, wiring and high speed, point At the constraint of default, classification and specified network and condition design rule and differential pair.Above-mentioned parameter information includes position Parameter, location parameter include that first position parameter (and can be described as close to parameter, close to), second position parameter (and can claim For far from parameter, keep away from) and modularization parameter (modularization), above-mentioned first position parameter is and mesh Component information of the distance of element within the scope of the first pre-determined distance is marked, said second position parameter is at a distance from object component Component information within the scope of the second pre-determined distance, modularization parameter include the zone number where object component, above-mentioned target Element is the element for needing to configure location parameter.Said elements include the multiple element in net list;In one embodiment, in electricity Circuit diagram is designed in the G- Design software of road, is first designed element in circuit according to the conventional design rule of electric circuit diagram design software Connection relationship, then need to configure the parameter information of all elements (or subelement) in circuit, such as element names Title, attribute of element itself etc., meanwhile, in order to realize that the circuit diagram is laid out in PCB design software, then also need to configure element Location parameter, to provide the information of clear position of components in circuit diagram, to read the information by machine to identify element Position, and the element arrangements that position is determined are in corresponding position, and then realize and configure the net that can be realized PCB autoplacement Network table.
In above-mentioned steps S2 and step S3, above-mentioned PCB design software is the software of designing printed circuit board schematic diagram, packet Altium Designer, PADS, Cadence Allegro etc. are included, the electric circuit diagram design software of foregoing circuit figure is designed and is carried out The above-mentioned PCB design software design rule having the same of PCB layout, wherein design rule includes at least position constraint rule (PLACEMENT RULES) and conventional design rule.In one embodiment, the electricity completed design by electric circuit diagram design software Road figure generates net list, and net list is exported as the file format that above-mentioned PCB design software can be run, and contains in the net list There is the parameter information (including location parameter) of element in circuit diagram, the net list is for importing PCB design software and according to above-mentioned The parameter information of each element carries out PCB component placement in circuit diagram.
In above-mentioned steps S4, after above-mentioned net list imports circuit diagram, the element names in PCB design software scans net list After the data such as title, element number, the element in circuit diagram is all deposited on the pcb board frame in PCB design software, further according to net The location parameter of element in network table, by the designated position of element auto arrangement corresponding position parameter on pcb board frame;Realize PCB The autoplacement of element saves user time and energy, increases user experience.
In an embodiment of the present invention, above-mentioned location parameter includes first position parameter, second position parameter and/or module Change parameter, the first position parameter includes the first element letter at a distance from the element within the scope of the first pre-determined distance Breath, the second position parameter includes the second element information at a distance from the element within the scope of the second pre-determined distance, institute The first pre-determined distance range is stated less than the second pre-determined distance range, the modularization parameter includes the area where the element Field Number, wherein the first element and the second element are the element that position determines in the circuit diagram;It is above-mentioned The net list of configuration circuit figure, the step S1 of the corresponding parameter information of element described in the circuit diagram is arranged, comprising:
S11, receives the first instruction of user's input, and first instruction includes corresponding with the element in setting circuit diagram First position parameter, second position parameter and/or modularization parameter instruction;
S12 configures the corresponding first position parameter of element described in the circuit diagram, second according to first instruction Location parameter and/or modularization parameter.
In above-mentioned steps S11 and step S12, above-mentioned first instruction is the instruction of user's operation electric circuit diagram design software, Specifically, the instruction is for being arranged the corresponding first position parameter of element in circuit diagram, second position parameter and/or modularization ginseng Number;Above-mentioned first element information may include the number and pin of first element, and above-mentioned second element information may include second element Number and number of pins, wherein different elements corresponds to different first element or second element, such as element A1 corresponding One component information be number be B1, the first element that number of pins is G1, the corresponding first element information of element A2 be number be B2, Number of pins is the first element of G2;Above-mentioned first element and second element are the element that position is specifically determined in circuit diagram, example Such as, antenna, switch etc.;Above-mentioned first pre-determined distance range is said elements close to the distance range of first element, can be according to this The position of said elements is adaptively adjusted in distance range, preferably close to the minimum range model of first element when being adaptively adjusted It encloses;Above-mentioned second pre-determined distance range is distance range of the said elements far from second element, range can be adapted to according to this distance Property adjustment said elements position, when being adaptively adjusted preferably far from second element maximum distance range;Above-mentioned zone is compiled It number may include circuit region number and mask frame number, such as digital circuitry regions number, analog circuit zone number, high-frequency electrical Road zone number etc.;In one embodiment, the first position parameter, second position parameter and/or module of each element are configured Change parameter, guarantees that each element has determining location information, to guarantee that PCB software can be according to the position of each element Counter element is arranged in corresponding position by information;In another embodiment, (subelement can be to need to arrange to configuration section element In the element of specific position) first position parameter, second position parameter and/or modularization parameter, and other do not have configuration bit The element for setting parameter is then arranged according to the conventional design rule of PCB design software, for example, according to element A and element B it Between safe spacing arranged;In the net list of configuration circuit figure, the location parameter of setting member realizes the circuit diagram energy The autoplacement in PCB design software, finally obtains pcb board.
In an embodiment of the present invention, above-mentioned first element information includes the number and number of pins of first element, and described Two element information includes the number and number of pins of second element, and above-mentioned zone number includes that mask frame number or circuit region are compiled Number;It is above-mentioned according to first instruction, configure the corresponding first position parameter of each element in the circuit diagram, the second position The step S12 of parameter and/or modularization parameter, comprising:
S121a is configured default described first at a distance from the element in the circuit diagram according to first instruction The number and number of pins of first element in distance range;The first element is the element in the circuit diagram;
S121b, and/or, it configures in the circuit diagram at a distance from the element within the scope of second pre-determined distance Second element number and number of pins;The second element is the member different from the first element in the circuit diagram Part;
S121c, and/or, configure the mask frame number or circuit region number in the circuit diagram where element.
In above-mentioned steps S121a, user selects to need to be arranged the member of first position parameter in electric circuit diagram design software Part, the mode selected can be " close to (close to) " icon of element number and the element number in click element list (icon of the title being not limited to, as long as function is the same), is also possible to the element clicked choose on circuit diagram and selection should " close to (close to) " in the shortcut menu of element;Then it is inputted in the parameter input frame under " close to (close to) " The number and number of pins of first element, first element be at a distance from the element will in the element within the scope of the first pre-determined distance, For example, number be " A1 " element close to (" close " in the present invention can be regarded as the distances of two elements first it is default away from From in range) number be " A2 " element " G1 " pin, then in above-mentioned parameter input frame input (A2, G1);Due to existing The constraint rules such as safe spacing, wiring and constraint of high speed of element in conventional design rule, so " A1 " element is close to " A2 " The distance of the G1 pin of element is adaptively adjusted in the safe spacing range (including first pre-determined distance range), therefore is arranged the One location parameter can determine the positional relationship between element and element, it is preferable that determine unknown bits according to the element of known location The position for the element set, so that PCB design software is according to the position of location parameter automatic identification element and realizes layout.
It is above-mentioned far from (" separate " of the invention can be regarded as the distance of two elements second in above-mentioned steps S121b Within the scope of pre-determined distance) second element number and number of pins be second position parameter, be arranged second position parameter mode It is identical that mode is obtained with above-mentioned setting first position parameter, this is repeated no more;Due in circuit diagram element there are disturbance factor, So the second position parameter of setting member, while determining the position of element;In one embodiment, it is being provided with the first of element On the basis of location parameter, the second position parameter of the element is also set up, to further determine that the position range of element, to make It is more accurate to be laid out.
In above-mentioned steps S121c, above-mentioned mask frame number or circuit region number are modularization parameter;Above-mentioned mask frame Number or circuit region number have been defined position when designing circuit diagram;Such as: it can be by total electricity when designing circuit diagram Road figure is divided into multiple small circuit diagrams, then a small circuit diagram is a region, such as the zone number of the resistance-capacitance circuit in circuit diagram For Q1, the zone number of control circuit is Q2;When PCB design software carries out PCB component placement, first by each mask frame or area Domain is laid out, then is laid out to each element in each mask frame or region, so that PCB be made to be laid out clearer, beautiful, conjunction Reason.
In an embodiment of the present invention, above-mentioned first element information includes the first distance of the element and first element, For above-mentioned first distance within the scope of first pre-determined distance, above-mentioned second element information includes the element and second element Second distance, within the scope of above-mentioned second distance second pre-determined distance;It is above-mentioned to be instructed according to described first, configure the electricity The step S12 of the corresponding first position parameter of each element, second position parameter and/or modularization parameter in the figure of road, comprising:
S122a configures the first distance of element and the first element in the circuit diagram according to first instruction;
S122b, and/or the second distance of element and the second element described in the configuration circuit diagram.
In above-mentioned steps S122a and S122b, although the safe spacing in conventional design rule can guarantee in PCB cloth It will not intersect between element and element when office, but the position that element and element may also occur is being laid out the possibility being exchanged, By taking the parameter of first position as an example, user needs for element P1, P2, P3 to be arranged successively from left to right using element P0 as starting point, therefore Provided with element P1, P2, P3 respectively with the close relationship of element P0, but as safe spacing, it may occur that first The case where part P1, P3, P2 are arranged successively using element P0 as starting point from left to right, in order to avoid such case, so being provided with member The first distance of part P1, P2, P3 close to element P0;Above-mentioned example is equally applicable to second position parameter;Above-mentioned first distance and Second distance is distance value or distance range.
In an embodiment of the present invention, the above-mentioned net list by the circuit diagram import PCB design software step S3 it Before, comprising:
S301 draws pcb board frame in the PCB design software;
S302 receives the second instruction for arranging the specified element in the circuit diagram of user's input;
S303, according to second instruction, by the specified element arrangements in corresponding specific bit on the pcb board frame It sets.
In above-mentioned steps S301, above-mentioned drafting pcb board frame is to draw PCB on the PCB design figure in PCB design software Switch, location hole, pilot hole and fluting of plate etc. and definition mask frame number position corresponding with zone number;Due to After completing layout on PCB design software, final purpose is that pcb board is made, so the design drawing of PCB is needed to applied to peace The hole of dress etc. or slot;Pcb board frame is first finished before importing net list, is conducive to avoid pilot hole etc. when PCB component placement, or Be conducive to for PCB element being placed in fluting.
In above-mentioned steps S302 and step S303, above-mentioned specified element is the element for needing precise positioning, such as is connected Device, antenna, mask frame etc.;Above-mentioned specified element can be used as above-mentioned first element and/or second element;The above-mentioned finger in circuit diagram Determine the element that element is known location and does not need the position for being laid out above-mentioned specified element when carrying out PCB component placement;Pendulum manually Put the accuracy for needing the element of precise positioning to be conducive to component placement and advantageous as known location element determine it is unknown The position of the element of position is to realize the layout of element;In one embodiment, element of the above-mentioned specified element as known location Determine the position of the element of unknown position, i.e., the element of setting unknown position is using the element of known location as the first position of target Parameter or second position parameter.
In an embodiment of the present invention, above-mentioned according to the location parameter, the member is arranged in the PCB design software The step S4 of part, comprising:
S41, obtains the location parameter of element in the net list, and the location parameter includes first position parameter, second Location parameter and/or modularization parameter;
S42 arranges the element on the pcb board frame according to preset design rule and the location parameter.
In above-mentioned steps S41, PCB design software reads the parameter information of each element in net list, the member that will be read Part is loaded on pcb board frame, and element all in circuit diagram is shown on pcb board frame at this time, but at this time element not yet into There is various fly lines (not being connected to) prompting, so user can click the layout (Auto on PCB design software in row layout Placement after) function menu selects key layout, PCB design software to receive the instruction of above-mentioned key layout, network is obtained All location parameters of each element in table, wherein first position parameter include close to first element number and number of pins and its Close first distance, second position parameter include number and number of pins and its separate second distance far from second element, Modularization parameter includes the number of mask frame locating for element and circuit region number.
It is each in PCB software auto arrangement foregoing circuit figure after the location parameter for obtaining element in above-mentioned steps S42 A element, while in order to avoid fly line (being as connected to) occurs in element, also for keeping PCB component placement more reasonable, so PCB Design software is adaptively adjusted the direction of element and the connecting line between element and element according to preset design rule, Above-mentioned preset design rule includes at least conventional design rule identical with electric circuit diagram design software and position constraint rule;One In embodiment, after tentatively obtaining PCB design figure by PCB layout, it is also necessary to the element wiring of PCB design figure is optimized, Obtain more reasonable PCB design figure.
In an embodiment of the present invention, above-mentioned according to the location parameter, the member is arranged in the PCB design software After the step S4 of part, comprising:
S401 checks whether the layout of the element is reasonable according to default inspection rule;
S402 shows the information for being laid out unreasonable reason if unreasonable.
In above-mentioned steps S401, above-mentioned preset design review (check) (DR) rule is the design review (check) (DR) rule containing position constraint rule Then (DRC), in order to avoid unreasonable mistake occurs in the PCB design figure after layout, then the layout for checking each element by DRC is It is no reasonable;Specifically, DRC includes at least whether the design of Grounding Connections checked in PCB design figure meets design rule, checks that electromagnetism is simultaneous Whether capacitive, i.e., there is the equality cabling of long range, check decoupling capacitor whether the side of functional component locating for it, check Whether each element intersects, and checks that the safe spacing of each element whether in the range of conventional design rule requires, checks each Whether the wiring of element there is the case where fly line (being as connected to), checks first position parameter, the second position parameter of each element And/or whether modularization parameter meets the data in net list;In one embodiment, user is to the PCB design figure after layout Wiring is optimized, the PCB in order to avoid artificially designing the situation for ignoring some rules, after Wiring optimization is checked by DRC Whether design drawing is reasonable, to obtain optimal PCB design figure.
In above-mentioned steps S402, the unreasonable reason of component placement is told to user, being conducive to user will not conform to manually The place of reason is adjusted to reasonably to be laid out, and improves the efficiency of corrigendum layout errors.
Referring to Fig. 2, the device of PCB component placement in one embodiment of the invention, comprising:
Configuration module 1, for the net list of configuration circuit figure, the corresponding parameter letter of element in the circuit diagram is arranged Breath, the parameter information includes location parameter;
Export module 2, for exporting the net list of the circuit diagram, with for PCB design software by the circuit diagram Net list, which imports, carries out PCB component placement in PCB design software;
Import modul 3, for the net list of the circuit diagram to be imported PCB design software;
First order module 4, for arranging the element in the PCB design software according to the location parameter.
In above-mentioned apparatus, the corresponding parameter information of circuit diagram element in the net list of 1 configuration circuit figure of configuration module, with After the completion of realizing that PCB auto arrangement, configuration module 1 configure according to the parameter information of element for PCB design software, export module 2 export as the configured net list of configuration module 1 file format that PCB design software can be run, then are connect by import modul 3 After the importing instruction for receiving user, the net list of circuit diagram is imported into PCB design software, first order module 4 is according to importing mould The location parameter of each element in the net list of importing described in block 3, so that net list can realize PCB element in PCB design software Layout.Step in above-mentioned apparatus explains the explanation that can refer in corresponding method embodiment, and details are not described herein.
Referring to Fig. 3, in an embodiment of the present invention, above-mentioned location parameter includes first position parameter, second position parameter And/or modularization parameter, above-mentioned first position parameter include within the scope of the first pre-determined distance at a distance from the element One component information, said second position parameter include the second element at a distance from the element within the scope of the second pre-determined distance Information, above-mentioned first pre-determined distance range are less than the second pre-determined distance range, and above-mentioned modularization parameter includes the element The zone number at place, wherein the first element and the second element are the member that position determines in the circuit diagram Part;The configuration module 1, comprising:
Receiving unit 11, for receive user input first instruction, it is described first instruction include setting circuit diagram in The instruction of the element corresponding first position parameter, second position parameter and/or modularization parameter;
Configuration unit 12, for it is first corresponding to configure element described in the circuit diagram according to first instruction Set parameter, second position parameter and/or modularization parameter.
In above-mentioned configuration module 1, configuration module 1 includes receiving unit 11 and configuration unit 12, and receiving unit 11 receives User's input is used to that the corresponding first position parameter of element in circuit diagram, second position parameter and/or modularization parameter to be arranged The first instruction, configuration unit 12 responds receiving unit 11 and receives the first instruction, and then element is corresponding in configuration circuit figure First position parameter, second position parameter and/or modularization parameter.Step explanation in above-mentioned apparatus can refer to corresponding method reality The explanation in example is applied, details are not described herein.
Referring to Fig. 4, in an embodiment of the present invention, above-mentioned first element information includes the number and pin of first element Number, above-mentioned second element information includes the number and number of pins of second element, and above-mentioned zone number includes mask frame number or electricity Road zone number;Above-mentioned configuration unit 12, comprising:
First configuration subelement 121a, for according to it is described first instruction, configure in the circuit diagram with the element The number and number of pins of the first element of the distance within the scope of first pre-determined distance;The first element is the electricity Element in the figure of road;
And/or the second configuration subelement 121b, for configuring in the circuit diagram at a distance from the element described the The number and number of pins of the second element within the scope of two pre-determined distances;The second element is the difference in the circuit diagram In the element of the first element;
And/or third configures subelement 121c, numbers for the mask frame where configuring element described in the circuit diagram Or circuit region number.
In above-mentioned configuration unit 12, configuration unit 12 includes the first configuration subelement 121a, the second configuration subelement 121b and/or third configure subelement 121c;When the first instruction is single instruction, the first configuration subelement 121a or second matches Set the first instruction that subelement 121b or third configuration subelement 121c response receiving unit 11 receive;When the first instruction is more When secondary instruction, first configuration subelement 121a and second configuration subelement 121b and third configuration subelement 121c in two with The first instruction that upper configuration subelement response receiving unit 11 receives;Further, when the first configuration subelement 121a response When the above-mentioned first instruction, the number and number of pins of the close first element of element in configuration circuit figure, when the second configuration subelement When 121b the above-mentioned first instruction of response, the number and number of pins of the separate second element of element in configuration circuit figure, when third is matched When setting subelement 121c the above-mentioned first instruction of response, mask frame number or zone number locating for element in configuration circuit figure.On It states the step in device and explains the explanation that can refer in corresponding method embodiment, details are not described herein.
Referring to Fig. 5, in an embodiment of the present invention, above-mentioned first element information includes the of the element and first element One distance, for above-mentioned first distance within the scope of first pre-determined distance, above-mentioned second element information includes the element and The second distance of two element, within the scope of above-mentioned second distance second pre-determined distance;Above-mentioned configuration unit 12, comprising:
4th configuration subelement 122a, for according to first instruction, configuring in the circuit diagram element and described the The first distance of one element;
And/or the 5th configuration subelement 122b, for configuring element described in the circuit diagram and the second element Second distance.
In above-mentioned configuration unit 12, configuration unit 12 includes that the 4th configuration subelement 122a and/or the 5th configuration are single First 122b;When above-mentioned first instruction is single instruction, the 4th configuration subelement 122a or the 5th configuration subelement 122b response Above-mentioned first instruction, when above-mentioned first instruction is repeatedly instructs, the 4th configuration subelement 122a and the 5th configuration subelement Above-mentioned first instruction of 122b response;Further, when the 4th configuration subelement 122a the above-mentioned first instruction of response, configuration circuit First distance in figure between the number or number of pins and element and second element of the close first element of element, when the 5th configuration When subelement 122b the above-mentioned first instruction of response, in configuration circuit figure the number of the separate second element of element or number of pins and Second distance between element and second element.Step in above-mentioned apparatus explains the explanation that can refer in corresponding method embodiment, Details are not described herein.
Referring to Fig. 6, in an embodiment of the present invention, above-mentioned apparatus further include:
Drafting module 301, for drawing pcb board frame in the PCB design software;
Receiving module 302, second for arranging the specified element in the circuit diagram for receiving user's input refer to It enables;
Second order module 303, for being instructed according to described second, by the specified element arrangements in the pcb board frame Upper corresponding designated position.
In above-mentioned drafting module 301, receiving module 302 and second order module 303, import modul 3 imports net list Before, drafting module 301 is first drawn pcb board frame in PCB design software and has been drawn so that the layout of PCB element is more reasonable After pcb board frame, second for arranging the specified element in circuit diagram that receiving module 302 receives user's input is instructed, and second Arrangement module 303 responds above-mentioned second instruction, will formulate element arrangements in the designated position on pcb board frame, to complete to need essence The certainly positioning of the element of position.Step in above-mentioned apparatus explains the explanation that can refer in corresponding method embodiment, herein no longer It repeats.
Referring to Fig. 7, in an embodiment of the present invention, above-mentioned first order module 4, comprising:
Acquiring unit 41, for obtaining the location parameter of element in the net list, the location parameter includes first Set parameter, second position parameter and/or modularization parameter;
Arrangement units 42, described in being arranged on the pcb board frame according to preset design rule and the location parameter Element in circuit diagram.
In above-mentioned first order module 4, first order module 4 includes acquiring unit 41 and arrangement module 42;Import mould After above-mentioned net list is imported PCB design software by block 3, acquiring unit 41 obtains the location parameter of each element in net list, will Above-mentioned location parameter is supplied to arrangement units 42 and carries out auto arrangement, and arrangement units 42 are joined according to preset design rule and position Number, each element on pcb board frame in auto arrangement circuit diagram, to realize the layout of PCB element, wherein preset design Rule includes at least conventional design rule identical with electric circuit diagram design software and position constraint rule.Step in above-mentioned apparatus Explain the explanation that can refer in corresponding method embodiment, details are not described herein.
Referring to Fig. 8, in an embodiment of the present invention, above-mentioned apparatus further include:
It checks module 401, for checking rule according to default, checks whether the layout of the element is reasonable;
Display module 402, if showing the information for being laid out unreasonable reason for unreasonable.
In above-mentioned inspection module 401 and display module 402, first order module 4 connects after the completion of PCB component placement It receives user to select to check the instruction of rationally distributed property, checks that module 401 checks each element according to preset design review (check) (DR) rule Be laid out it is whether reasonable, according to check module 401 check result be it is unreasonable, then display module 402 display layout it is unreasonable Element and its unreasonable reason of layout, to improve the efficiency of optimization wiring.Step explanation in above-mentioned apparatus can refer to correspondence Explanation in embodiment of the method, details are not described herein.
The present invention also proposes that a kind of computer equipment, including memory and processor, memory are stored with computer program, The step of processor realizes the method for above-mentioned PCB component placement when executing computer program.
Above-mentioned terminal is equipped with design software, and above-mentioned design software may include that electric circuit diagram design software and/or PCB design are soft Part may also comprise the design software for being provided simultaneously with the function of foregoing circuit G- Design software and PCB design software;Above-mentioned terminal It may include that mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), vehicle-mounted computer etc. are appointed Meaning terminal device.
Computer readable storage medium in one embodiment of the invention is stored thereon with computer program, the computer journey The step of method of above-mentioned PCB component placement is realized when sequence is executed by processor.
The above method is joined by increasing location parameter in the net list of circuit diagram, and according to conventional design rule and position Number corresponding position constraints rule, realize each element in circuit diagram in PCB design software auto arrangement in designated position, thus It realizes the layout of PCB element, saves user time and energy, increase user experience.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, Any reference used in provided herein and embodiment to memory, storage, database or other media, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, device of element, article or method.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (10)

1. a kind of method of PCB component placement characterized by comprising
The net list of configuration circuit figure, the corresponding parameter information of element in the circuit diagram is arranged, the parameter information includes Location parameter;
Export the net list of the circuit diagram;
The net list of the circuit diagram is imported into PCB design software;
According to the location parameter, the element is arranged in the PCB design software.
2. the method for PCB component placement according to claim 1, which is characterized in that the location parameter includes first Parameter, second position parameter and/or modularization parameter are set, the first position parameter includes at a distance from the element first First element information within the scope of pre-determined distance, the second position parameter include at a distance from the element second it is default away from From the second element information in range, the first pre-determined distance range is less than the second pre-determined distance range, the module Changing parameter includes the zone number where the element, wherein the first element and the second element are the circuit diagram The element that middle position determines;The net list of the configuration circuit figure, it is corresponding element described in the circuit diagram is arranged The step of parameter information, comprising:
The first instruction of user's input is received, first instruction includes first corresponding with the element in setting circuit diagram Set the instruction of parameter, second position parameter and/or modularization parameter;
According to first instruction, the corresponding first position parameter of element described in the circuit diagram, second position parameter are configured And/or modularization parameter.
3. the method for PCB component placement according to claim 2, which is characterized in that the first element information includes the The number and number of pins of one element, the second element information include the number and number of pins of second element, the zone number Including mask frame number or circuit region number;It is described to be instructed according to described first, configure element pair described in the circuit diagram The step of first position parameter, second position parameter and/or modularization parameter for answering, comprising:
According to first instruction, configure in the circuit diagram at a distance from the element within the scope of first pre-determined distance The first element number and number of pins;The first element is the element in the circuit diagram;
And/or configure in the circuit diagram at a distance from the element within the scope of second pre-determined distance described second The number and number of pins of element;The second element is the element different from the first element in the circuit diagram;
And/or the mask frame where configuring element described in the circuit diagram is numbered or circuit region number.
4. the method for PCB component placement according to claim 2, which is characterized in that the first element information includes institute The first distance of element and first element is stated, the first distance is within the scope of first pre-determined distance, the second element Information includes the second distance of the element and second element, within the scope of second distance second pre-determined distance;Institute State according to it is described first instruction, configure the corresponding first position parameter of element described in the circuit diagram, second position parameter and/ Or the step of modularization parameter, comprising:
According to first instruction, the first distance of element described in the circuit diagram Yu the first element is configured;
And/or the second distance of element and the second element described in the configuration circuit diagram.
5. the method for PCB component placement according to claim 1, which is characterized in that the network by the circuit diagram Table imported before the step of PCB design software, comprising:
In the PCB design software, pcb board frame is drawn;
Receive the second instruction for arranging the specified element in the circuit diagram of user's input;
According to second instruction, by the specified element arrangements in corresponding designated position on the pcb board frame.
6. the method for PCB element autoplacement layout according to claim 1, which is characterized in that described according to institute's rheme The step of setting parameter, arranging the element in the PCB design software, comprising:
The location parameter of element in the net list is obtained, the location parameter includes first position parameter, second position parameter And/or modularization parameter;
According to preset design rule and the location parameter, the element is arranged on the pcb board frame.
7. the method for PCB component placement according to claim 1, which is characterized in that it is described according to the location parameter, After the step of arranging the element in the PCB design software, comprising:
According to default inspection rule, check whether the layout of the element is reasonable;
If unreasonable, the information for being laid out unreasonable reason is shown.
8. a kind of device of PCB component placement characterized by comprising
Configuration module, it is described the corresponding parameter information of element in the circuit diagram is arranged for the net list of configuration circuit figure Parameter information includes location parameter, and the element includes each element in net list;
Export module, for exporting the net list of the circuit diagram;
Import modul, for the net list of the circuit diagram to be imported PCB design software;
First order module, for arranging the element in the PCB design software according to the location parameter.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the processor realizes the side of PCB component placement described in any one of claims 1 to 7 when executing the computer program The step of method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method of PCB component placement described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811613599.0A 2018-12-27 2018-12-27 Method and device for PCB element layout, computer equipment and storage medium Active CN109858092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811613599.0A CN109858092B (en) 2018-12-27 2018-12-27 Method and device for PCB element layout, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811613599.0A CN109858092B (en) 2018-12-27 2018-12-27 Method and device for PCB element layout, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109858092A true CN109858092A (en) 2019-06-07
CN109858092B CN109858092B (en) 2024-01-30

Family

ID=66892699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811613599.0A Active CN109858092B (en) 2018-12-27 2018-12-27 Method and device for PCB element layout, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109858092B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110991140A (en) * 2019-12-02 2020-04-10 南京九芯电子科技有限公司 Method for automatically adjusting space between elements
CN111191408A (en) * 2019-12-26 2020-05-22 深圳市元征科技股份有限公司 PCB element layout verification method and device, server and storage medium
CN111274759A (en) * 2020-02-24 2020-06-12 Oppo广东移动通信有限公司 Electromagnetic field solving method and device and storage medium
CN111507057A (en) * 2020-04-22 2020-08-07 深圳市亚派光电器件有限公司 Method and device for outputting PADS drawing and computer readable storage medium
CN113011125A (en) * 2019-12-18 2021-06-22 海信视像科技股份有限公司 Printed circuit board checking method, device, equipment and computer storage medium
CN114462347A (en) * 2022-01-21 2022-05-10 深圳市亿道电子科技有限公司 Auxiliary drawing system and method based on altium circuit design software

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667620A (en) * 2004-03-11 2005-09-14 华为技术有限公司 Method and apparatus for improving PCB design efficiency
CN101281548A (en) * 2007-04-06 2008-10-08 英业达股份有限公司 System and method for laying elements
CN101739480A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Element marking method
TW201101075A (en) * 2009-06-25 2011-01-01 Univ Nat Chiao Tung Method for chip pins assignment design applicable for common design of chip package and circuit board and program product thereof
CN102081681A (en) * 2009-11-26 2011-06-01 英业达股份有限公司 Circuit layout system and method with layout confining region planning function
US20150128102A1 (en) * 2013-11-06 2015-05-07 Texas Instruments Incorporated Circuit design synthesis tool with export to a computer-aided design format
CN104797084A (en) * 2015-04-09 2015-07-22 广东威创视讯科技股份有限公司 Layout method and layout device for printed circuit boards
CN107484344A (en) * 2017-08-30 2017-12-15 中国航空无线电电子研究所 PCB layout methods based on acp chip PIN

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667620A (en) * 2004-03-11 2005-09-14 华为技术有限公司 Method and apparatus for improving PCB design efficiency
CN101281548A (en) * 2007-04-06 2008-10-08 英业达股份有限公司 System and method for laying elements
CN101739480A (en) * 2008-11-27 2010-06-16 英业达股份有限公司 Element marking method
TW201101075A (en) * 2009-06-25 2011-01-01 Univ Nat Chiao Tung Method for chip pins assignment design applicable for common design of chip package and circuit board and program product thereof
CN102081681A (en) * 2009-11-26 2011-06-01 英业达股份有限公司 Circuit layout system and method with layout confining region planning function
US20150128102A1 (en) * 2013-11-06 2015-05-07 Texas Instruments Incorporated Circuit design synthesis tool with export to a computer-aided design format
CN104797084A (en) * 2015-04-09 2015-07-22 广东威创视讯科技股份有限公司 Layout method and layout device for printed circuit boards
CN107484344A (en) * 2017-08-30 2017-12-15 中国航空无线电电子研究所 PCB layout methods based on acp chip PIN

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110991140A (en) * 2019-12-02 2020-04-10 南京九芯电子科技有限公司 Method for automatically adjusting space between elements
CN113011125A (en) * 2019-12-18 2021-06-22 海信视像科技股份有限公司 Printed circuit board checking method, device, equipment and computer storage medium
CN111191408A (en) * 2019-12-26 2020-05-22 深圳市元征科技股份有限公司 PCB element layout verification method and device, server and storage medium
CN111274759A (en) * 2020-02-24 2020-06-12 Oppo广东移动通信有限公司 Electromagnetic field solving method and device and storage medium
CN111274759B (en) * 2020-02-24 2023-08-04 Oppo广东移动通信有限公司 Electromagnetic field solving method and device and storage medium
CN111507057A (en) * 2020-04-22 2020-08-07 深圳市亚派光电器件有限公司 Method and device for outputting PADS drawing and computer readable storage medium
CN111507057B (en) * 2020-04-22 2023-10-03 深圳市亚派光电器件有限公司 PADS drawing output method and device and computer readable storage medium
CN114462347A (en) * 2022-01-21 2022-05-10 深圳市亿道电子科技有限公司 Auxiliary drawing system and method based on altium circuit design software
CN114462347B (en) * 2022-01-21 2023-02-24 深圳市亿道电子科技有限公司 Auxiliary drawing system and method for circuit design software based on altium

Also Published As

Publication number Publication date
CN109858092B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN109858092A (en) Method, apparatus, computer equipment and the storage medium of PCB component placement
WO2022266906A1 (en) Method and apparatus for generating layout of integrated circuit
CN100541502C (en) A kind of PCB analogue system and its implementation with error detection function
US7430729B2 (en) Design rule report utility
CN1667814B (en) Interference analysis method and interference analysis device
US20080109780A1 (en) Method of and apparatus for optimal placement and validation of i/o blocks within an asic
US20060259891A1 (en) System and method of generating an auto-wiring script
US7590963B2 (en) Integrating multiple electronic design applications
US8521483B1 (en) Method and apparatus for concurrent design of modules across different design entry tools targeted to single simulation
US20190042684A1 (en) Schematic Driven Analog Circuit Layout Automation
CN104573243B (en) PCB design layout auditing device
US7003749B2 (en) Constraint data management for electronic design automation
US6584606B1 (en) Fast method of I/O circuit placement and electrical rule checking
CN108133069A (en) Integrated circuit back-end design system and method
US20120066032A1 (en) Methods and apparatus for integrating electoral data and electoral interfaces
CN110032539B (en) Chip pin information processing method and device, computer equipment and storage medium
US7380233B2 (en) Method of facilitating integrated circuit design using manufactured property values
US6587989B2 (en) PCB/complex electronic subsystem model
US20090319974A1 (en) User Selected Grid for Logically Representing an Electronic Circuit
CN104462631B (en) Circuit diagram generating device and circuit diagram generating method
JP4648194B2 (en) Printed circuit board design instruction support method and apparatus
CN100547750C (en) The package design method of semiconductor device and manufacture method and layout design tool
CN101770527A (en) Method for modifying data of circuit components
CN109858155A (en) Emulation mode and relevant apparatus
JP3824203B2 (en) Electrical and electronic circuit diagram creation 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
TA01 Transfer of patent application right

Effective date of registration: 20200710

Address after: 518000 B, block 1079, garden city digital garden, Nanhai Road, Shekou, Shenzhen, Guangdong, 503, Nanshan District 602, China

Applicant after: SHENZHEN WATER WORLD Co.,Ltd.

Address before: 563000 First Floor of No.4 High-tech Industrial Park, Xinpu New Economic Development Zone, Zunyi City, Guizhou Province

Applicant before: ZUNYI SHUISHIJIE TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240102

Address after: 518000 floor 1, building 3, Dexin Chang wisdom Park, No. 23 Heping Road, Qinghua community, Longhua street, Longhua District, Shenzhen, Guangdong

Applicant after: Shenzhen waterward Information Co.,Ltd.

Address before: 518000 B, 503, 602, digital city building, garden city, 1079 Shekou Road, Shekou, Nanshan District, Shenzhen, Guangdong.

Applicant before: SHENZHEN WATER WORLD Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant