CN113919279B - Efficient PCB layout method, device, equipment and computer readable storage medium - Google Patents

Efficient PCB layout method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113919279B
CN113919279B CN202111496981.XA CN202111496981A CN113919279B CN 113919279 B CN113919279 B CN 113919279B CN 202111496981 A CN202111496981 A CN 202111496981A CN 113919279 B CN113919279 B CN 113919279B
Authority
CN
China
Prior art keywords
pcb
schematic diagram
circuit
circuit module
module
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.)
Active
Application number
CN202111496981.XA
Other languages
Chinese (zh)
Other versions
CN113919279A (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 Youjia Innovation Technology Co.,Ltd.
Original Assignee
Shenzhen Minieye Innovation 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 Shenzhen Minieye Innovation Technology Co Ltd filed Critical Shenzhen Minieye Innovation Technology Co Ltd
Priority to CN202111496981.XA priority Critical patent/CN113919279B/en
Publication of CN113919279A publication Critical patent/CN113919279A/en
Application granted granted Critical
Publication of CN113919279B publication Critical patent/CN113919279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/392Floor-planning or layout, e.g. partitioning or placement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2115/00Details relating to the type of the circuit
    • G06F2115/12Printed circuit boards [PCB] or multi-chip modules [MCM]

Abstract

The present application relates to the field of PCB layout technology, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for efficient PCB layout. The method comprises the following steps: setting a unique number for a PCB circuit module in a standard circuit library; importing a schematic diagram; identifying the serial numbers of the circuit modules in the schematic diagram, and extracting the PCB circuit modules in the standard circuit library according to the serial numbers; and acquiring the connection sequence of the PCB circuit modules, and automatically arranging the elements in the PCB frame according to the connection sequence. The technical problems that the existing PCB layout is troublesome and low in efficiency are solved.

Description

Efficient PCB layout method, device, equipment and computer readable storage medium
Technical Field
The present application relates to the field of PCB layout technology, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for efficient PCB layout.
Background
At present, when a normal PCB is arranged, a schematic diagram and a PCB packaging library are required to be relied on, when a designer conducts arrangement design, the network connection relation of the schematic diagram is manually led into a PCB file, and the PCB packages which correspond one to one from the PCB packaging library are matched by packaging names, so that the work of calling a schematic diagram netlist into the PCB file is completed, at the moment, the placing positions of all the PCB packages are different from the logic relation of the schematic diagram, the elements need to be manually placed one by one according to the logic relation of the schematic diagram, each circuit is subjected to module arrangement, the arrangement effect is possibly different, and therefore the standard circuit does not have standard and uniform PCB arrangement.
Disclosure of Invention
Therefore, embodiments of the present application provide a method, an apparatus, a device and a computer-readable storage medium for efficient PCB layout, which can solve the technical problems of troublesome layout and low efficiency of the existing PCB layout, and the specific technical solution content is as follows:
in a first aspect, an embodiment of the present application provides an efficient PCB layout method, including:
setting a unique number for a PCB circuit module in a standard circuit library;
importing a schematic diagram;
identifying the serial numbers of the circuit modules in the schematic diagram, and extracting the PCB circuit modules in the standard circuit library according to the serial numbers;
and acquiring the connection sequence of the PCB circuit modules, and automatically arranging the elements in the PCB frame according to the connection sequence.
By adopting the technical scheme, the standard circuit library is preset, the PCB circuit modules in the standard circuit library are associated and numbered, the standard circuit in the standard circuit library can be called by the serial numbers of the circuit modules when the schematic diagram is led in, and the standard circuit can be automatically arranged by acquiring the connection sequence among the PCB circuit modules, so that the PCB arrangement is convenient and the efficiency is improved.
Preferably, the method further comprises: checking the numbered circuit modules extracted from the schematic diagram and the PCB circuit modules with the same number in the standard circuit library;
if the circuit module of the schematic diagram is verified to be different from the PCB circuit module, the position and logic relation of the schematic diagram package is obtained, and therefore corresponding elements are added or reduced on the PCB circuit module according to the logic relation of the schematic diagram.
By adopting the technical scheme, the circuit modules in the schematic diagram and the PCB circuit modules with the same serial numbers in the standard circuit library are verified, the design range of the schematic diagram is opened, so that when the schematic diagram is designed, part of elements in the schematic diagram can be modified according to requirements, and adaptive modification can be performed during layout.
Preferably, if the circuit module which verifies the schematic diagram is different from the PCB circuit module, the position and the logic relationship of the schematic diagram package are obtained, so that increasing or decreasing the corresponding elements according to the logic relationship of the schematic diagram includes:
obtaining the same elements in the circuit module and the PCB circuit module in the schematic diagram, extending the connection sequence of all the elements by the elements, and checking one by one according to the connection sequence;
different elements are added or subtracted in the PCB circuit module according to positions different from the circuit module of the schematic diagram.
By adopting the technical scheme, the same element is used as the reference point, and other elements are extended from the reference point to be connected, so that the layout is orderly and quickly carried out, and the elements can be visually added and deleted at the corresponding positions during verification.
Preferably, the method further comprises: and acquiring a circuit module without a serial number in a schematic diagram, acquiring the connection sequence of each element of the circuit module, and automatically arranging the circuit module in the PCB frame according to the connection sequence.
By adopting the technical scheme, the circuit modules stored in the standard circuit library are not stored, and the circuit modules can be automatically distributed in the PCB frame through the connection sequence, so that the distribution efficiency is improved, and the application range of automatic distribution is also improved.
Preferably, the automatic layout includes:
and grabbing the element with the most pins, then capturing the element connected with the element pins, and spreading in a tree shape according to the connection sequence until capturing all the elements of the circuit module.
By adopting the technical scheme, the elements with the most pins can spread the most parallel branches, so that the layout speed is improved, and the multiple branches perform element layout in parallel.
Preferably, the method further comprises:
after the circuit module is placed in the PCB frame, a layout area is divided in the PCB frame, and the name of the circuit module is marked in the layout area.
By adopting the technical scheme, the layout area is arranged, the circuit module is convenient to place, the circuit module is convenient to block, the name of the circuit module is marked in the local area, and later retrieval and maintenance are convenient.
Preferably, the automatic layout of the components is performed according to preset rules.
When the layout is carried out, the layout is carried out according to the preset rules, the rationality of the layout is improved, the standardization and the uniformity of the layout are improved, and the industrial production is facilitated.
In a second aspect, embodiments of the present application provide an efficient PCB layout apparatus, the apparatus comprising:
the numbering module is used for setting a unique number for the PCB circuit module in the standard circuit library;
the import module is used for importing the schematic diagram;
the identification judgment module is used for identifying the serial number of the circuit module in the schematic diagram and extracting the PCB circuit module in the standard circuit library according to the serial number;
and the layout module is used for acquiring the connection sequence of the PCB circuit module and automatically laying out the elements in the PCB frame according to the connection sequence.
In a third aspect, embodiments of the present application provide a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor, when executing the computer program, implements the steps of the efficient PCB layout method according to any one of the preceding claims.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the efficient PCB layout method of any of the preceding claims.
In summary, compared with the prior art, the beneficial effects brought by the technical scheme provided by the embodiment of the present application at least include:
1. the standard circuit library is preset, PCB circuit modules in the standard circuit library are numbered in an associated mode, when a schematic diagram is led in, the standard circuit in the standard circuit library can be called through the serial numbers of the circuit modules, the standard circuit can be automatically arranged by obtaining the connection sequence among the PCB circuit modules, the PCB arrangement is convenient, and the efficiency is improved;
2. the circuit modules in the schematic diagram and the PCB circuit modules with the same serial numbers in the standard circuit library are verified, the design range of the schematic diagram is opened, so that when the schematic diagram is designed, part of elements in the schematic diagram can be modified according to requirements, and adaptive modification can be performed during layout;
3. the same element is used as a reference point, and other elements are extended from the reference point to be connected, so that the layout is orderly and quickly performed, and the elements can be visually added and deleted at the corresponding positions during verification;
4. the circuit modules which are not stored in the standard circuit library can be automatically arranged in the PCB frame through the connection sequence, so that the arrangement efficiency is improved, and the application range of automatic arrangement is also improved;
5. the parallel branch circuits with the most spread pins can be formed by the elements with the most spread pins, so that the layout speed is increased, and the elements are arranged in parallel by the multiple branch circuits;
6. the layout area is arranged, the circuit module is convenient to place, the circuit module is convenient to block, the name of the circuit module is marked in the local area, and later retrieval and maintenance are convenient.
Drawings
Fig. 1 is a schematic flow chart of an efficient PCB layout method according to an embodiment of the present application.
Fig. 2 is a schematic flow chart diagram of an efficient PCB layout method according to another embodiment of the present application.
Fig. 3 is a second flowchart of an efficient PCB layout method according to another embodiment of the present application.
Fig. 4 is a third schematic flowchart of an efficient PCB layout method according to another embodiment of the present application.
Fig. 5 is a fourth flowchart illustrating an efficient PCB layout method according to another embodiment of the present application.
Detailed Description
The present embodiment is only for explaining the present application, and it is not limited to the present application, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, the term "and/or" in the present application is only one kind of association relationship describing the associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the present application, the character "/" indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
Referring to fig. 1, in one embodiment of the present application, an efficient PCB layout method is provided, the main steps of which are described as follows:
s1: setting a unique number for a PCB circuit module in a standard circuit library;
s2: importing a schematic diagram;
s3: identifying the serial numbers of the circuit modules in the schematic diagram, and extracting the PCB circuit modules in the standard circuit library according to the serial numbers;
s4: and acquiring the connection sequence of the PCB circuit modules, and automatically arranging the elements in the PCB frame according to the connection sequence.
Specifically, in this embodiment, a standard circuit library is preset, PCB circuit modules are stored in the standard circuit library, each PCB circuit module is provided with a unique number, and the corresponding PCB circuit module can be called out by the number.
The specific implementation mode of the application is software adopting the method, a designer can import the schematic diagram into the software by one key after editing the schematic diagram, the designer can extract a required PCB circuit module template from a standard circuit library through numbering for reference when editing the schematic diagram, and the standard circuit library is associated with a PCB packaging library and a PCB module library. After designing the schematic diagram, marking the serial number of the PCB circuit module on the circuit module corresponding to the PCB circuit module; specifically, in this embodiment, an identification frame is set on the circuit module in advance when the schematic diagram is designed, the designer imports the schematic diagram into the software of the present application, and the software recognizes the identification frame to use the identification frame as a reference for dividing the circuit module and a reference for checking the serial number. In other embodiments, an identifier may also be set on a node where the circuit module is connected to other modules to divide the circuit module, and other implementation manners are not described herein again.
After the schematic diagram is imported, the serial numbers of the circuit modules in the schematic diagram are identified, the PCB circuit modules with the same serial numbers are extracted from the standard circuit library according to the serial numbers of the circuit modules in the schematic diagram, and then the codes of the PCB circuit modules with the same serial numbers are extracted, so that the PCB circuit modules can be extracted into the PCB frame.
Optionally, in this embodiment, the automatic layout includes: and automatically laying the PCB circuit modules according to the corresponding relation between the schematic diagram and the PCB frame. The corresponding relation between the schematic diagram and the PCB frame is the format setting of the schematic diagram and the PCB frame, that is, after the schematic diagram is identified, the circuit module in the schematic diagram is correspondingly placed in the PCB frame, in this embodiment, the implementation means is to limit the size of the schematic diagram, preset coordinates in the schematic diagram and the PCB frame, set a mapping table of the coordinates of the schematic diagram and the coordinates of the PCB, and place the circuit module according to the mapping table; in other embodiments, the corresponding alignment reference points may be set in the PCB frame and the schematic diagram, and determined by the relative position relationship between the circuit module and the alignment reference points; the PCB circuit modules with the same circuit module numbers in the schematic diagram may also be arranged in the PCB frame in the same relative position relationship according to the relative position relationship of the circuit modules in the schematic diagram, and in another embodiment, there may be other ways of establishing the corresponding relationship, which are not described herein again.
In this embodiment, there may be a plurality of groups of circuit modules in the schematic diagram, and therefore after identifying the circuit modules, the connection order of the circuit modules in the schematic diagram is obtained according to the wiring relationship between the circuit modules to generate the connection order of the PCB circuit modules extracted according to the schematic diagram circuit module numbers, so as to automatically connect the PCB circuit modules in the PCB frame according to the connection order.
Referring to fig. 2, optionally, in another embodiment, the method further includes S5, S6:
s5: checking the numbered circuit modules extracted from the schematic diagram and the PCB circuit modules with the same number in the standard circuit library;
s6: if the circuit module of the schematic diagram is verified to be different from the PCB circuit module, the position and logic relation of the schematic diagram package is obtained, and therefore corresponding elements are added or reduced on the PCB circuit module according to the logic relation of the schematic diagram.
Referring to fig. 3, alternatively, in another embodiment, the step S6 includes:
s61: obtaining the same elements in the circuit module and the PCB circuit module in the schematic diagram, extending the connection sequence of all the elements by the elements, and checking one by one according to the connection sequence;
s62: different elements are added or subtracted in the PCB circuit module according to positions different from the circuit module of the schematic diagram.
Specifically, in this embodiment, after a circuit module in a schematic diagram is acquired, the elements in the circuit module and the connection relationship between the elements are acquired, one element that is the same as that in a PCB circuit module with the same number is searched for as a reference point, all the elements in the circuit module are traversed by the connection relationship between other elements connected to the element, and are collated with the elements on the same traversal path in the PCB circuit module, if a different element is found to be added at a connection point of the circuit module in the schematic diagram, the same element is added at the same position of the PCB circuit module or a corresponding position is left empty, and the element is added at the connection point of the PCB circuit module until the element that is the same as the next element connected to the connection point of the PCB circuit module is detected according to the traversal path. For example, in the PCB circuit module, the connection point a of the component a is connected to the connection point B of the component B, while in the schematic circuit module, the components C and D are added between the components a and B, when performing the traversal calibration, the component C and D are added C, D after the connection point a of the component a in the PCB circuit module, until detecting the next connection component B at the connection point a of the schematic circuit module, the component C and D are stopped being added, and the traversal calibration is continued.
If the circuit module in the traversal schematic diagram lacks an element in the checking process, the element is deleted from the numbered PCB circuit module extracted from the PCB circuit module, for example: in the PCB circuit module, the connection point a of the element A is connected with the connection point B of the element B, the connection point C of the element B is connected with the connection point d of the element C, and in the electronic module of the schematic diagram, the connection point a of the element A is directly connected with the connection point d of the element C, so that the element B in the PCB circuit module is deleted.
Referring to fig. 4, optionally, in another embodiment, the efficient PCB layout method further includes step S7:
s7: and acquiring a circuit module without a serial number in a schematic diagram, acquiring the connection sequence of each element of the circuit module, and automatically arranging the circuit module in the PCB frame according to the connection sequence.
Specifically, in this embodiment, there are circuit modules not shown in the schematic diagram, and when the circuit module is identified, the circuit module is automatically laid out in the PCB frame by using a certain component in the circuit module as an identification reference point and identifying the connection order of the circuit module and the surrounding circuit modules, and the unidentified circuit module can position the circuit module relative to other circuit modules according to the connection order of the unidentified circuit module, thereby realizing rapid layout.
Optionally, in another embodiment, the automatic layout further includes: and grabbing the element with the most pins, then capturing the element connected with the element pins, and spreading in a tree shape according to the connection sequence until capturing all the elements of the circuit module.
When automatic layout is realized according to the connection relation, the element with the maximum pin number in the circuit module (including the PCB circuit module and/or the circuit module which is not matched with the serial number) is captured, each pin of the element outwards spreads to arrange the element with the connection relation in the PCB frame, and the element is spread in a tree shape, so that the effect of concurrently placing the elements is realized.
Optionally, when the circuit module of the schematic diagram is collated with the PCB circuit module and the circuit module not matched with the serial number in the schematic diagram is identified, the element with the largest pin number in the circuit module (including the PCB circuit module and/or the circuit module not matched with the serial number) is used as a reference point, and is identified or collated in a tree-like spreading manner, so that the tasks are performed in a standard, regular and concurrent manner, and the layout efficiency is improved.
Referring to fig. 5, optionally, in another embodiment, the efficient PCB layout method further includes step S8:
s8: after the circuit module is placed in the PCB frame, a layout area is divided in the PCB frame, and the name of the circuit module is marked in the layout area.
The circuit modules (including the PCB circuit modules and/or the circuit modules which are not matched with the serial numbers) are automatically arranged in the PCB frame according to the arrangement area, the arrangement area refers to the corresponding area of the schematic diagram and the PCB frame, namely, the identification used for identifying the circuit modules is preset on the schematic diagram, and after the schematic diagram is led in, the circuit modules are placed in the corresponding area according to the identification.
Alternatively, in other embodiments, the automatic layout may be:
1, preprocessing schematic diagram information, and acquiring the encapsulation position, connection relation and name of a circuit module corresponding to a page in the schematic diagram;
2, sequentially and uniformly placing components on the TOP surface of the PCB according to the preprocessed related information;
and 3, placing the components of each PCB circuit module one by one, selecting the first one with the largest pin number from all the PCB packages of one PCB circuit module for placing, and then placing each component one by one in a tree-shaped divergence mode according to the pin correspondence.
And 4, automatically drawing a layout area according to the area occupied by the placed components, and marking the name of the circuit module corresponding to the page.
Optionally, in another embodiment, the automatic layout of the components is performed according to a preset rule, and when the automatic layout is performed, the rule is preset, so that the effect of reducing errors can be achieved by performing the quick layout when the automatic layout is performed.
The preset rule may be that the distance between the PCB package and the edge of the pad of the PCB package is 0.1-1mm, and the like, which is not described herein again.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment of the present application, an efficient PCB layout apparatus is provided, and the efficient PCB layout apparatus corresponds to the efficient PCB layout method in the above embodiments one to one. This high-efficient PCB overall arrangement device includes:
the numbering module is used for setting a unique number for the PCB circuit module in the standard circuit library;
the import module is used for importing the schematic diagram;
the identification judgment module is used for identifying the serial number of the circuit module in the schematic diagram and extracting the PCB circuit module in the standard circuit library according to the serial number;
and the layout module is used for acquiring the connection sequence of the PCB circuit module and automatically laying out the elements in the PCB frame according to the connection sequence.
Optionally, in another embodiment, the system further includes a verification module and an add/delete module.
The verification module is used for verifying the PCB circuit modules which are extracted from the schematic diagram and have the same serial numbers in the standard circuit library;
and the adding and deleting module is used for acquiring the position and the logic relation of the schematic diagram package if the circuit module which verifies the schematic diagram is different from the PCB circuit module, so that corresponding elements are added and deleted in the PCB circuit module according to the logic relation of the schematic diagram.
Optionally, in another embodiment, the add/delete module is configured to obtain the same components in the schematic diagram and the PCB circuit module, extend the connection sequence of all the components from the components, and check the components one by one according to the connection sequence; different elements are added or subtracted in the PCB circuit module according to positions different from the circuit module of the schematic diagram.
Optionally, in another embodiment, the identification and judgment module is further configured to obtain a circuit module without a serial number in the schematic diagram, obtain a connection sequence of each component of the circuit module, and automatically arrange the circuit module in the PCB frame according to the connection sequence.
Optionally, in another embodiment, the automatic layout includes: and grabbing the element with the most pins, then capturing the element connected with the element pins, and spreading in a tree shape according to the connection sequence until capturing all the elements of the circuit module.
Optionally, in another embodiment, the layout module is further configured to, after the circuit module is placed in the PCB frame, divide a layout area in the PCB frame, and mark the name of the circuit module in the layout area.
Optionally, in another embodiment, the components are automatically laid out according to a preset rule.
The modules of the efficient PCB layout device can be completely or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment of the embodiments of the present application, a computer device is provided, which may be a server. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device may be implemented by any type of volatile or non-volatile storage devices, including but not limited to: magnetic disk, optical disk, EEPROM (Electrically-Erasable Programmable Read Only Memory), EPROM (Erasable Programmable Read Only Memory), SRAM (Static Random Access Memory), ROM (Read-Only Memory), magnetic Memory, flash Memory, PROM (Programmable Read-Only Memory). The memory of the computer device provides an environment for the running of an operating system and computer programs stored within it. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements the efficient PCB layout method steps described in the above embodiments.
In one embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the efficient PCB layout method steps described in the above embodiments. The computer-readable storage medium includes a ROM (Read-only memory), a RAM (Random-access memory), a CD-ROM (compact disc-Read-only memory), a magnetic disk, a floppy disk, and the like.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of each functional unit or module is illustrated, and in practical applications, the above-mentioned function may be distributed as different functional units or modules as required, that is, the internal structure of the apparatus described in this application may be divided into different functional units or modules to implement all or part of the above-mentioned functions.

Claims (8)

1. An efficient PCB layout method, the method comprising:
setting a unique number for a PCB circuit module in a standard circuit library;
importing a schematic diagram;
identifying the serial numbers of the circuit modules in the schematic diagram, and extracting the PCB circuit modules in the standard circuit library according to the serial numbers;
acquiring the connection sequence of the PCB circuit modules, and automatically arranging elements in the PCB frame according to the connection sequence;
the method further comprises the following steps: checking the numbered circuit modules extracted from the schematic diagram and the PCB circuit modules with the same number in the standard circuit library;
if the circuit module of the schematic diagram is verified to be different from the PCB circuit module, acquiring the position and logic relation of the schematic diagram package, and increasing or decreasing corresponding elements in the PCB circuit module according to the logic relation of the schematic diagram;
if the circuit module which verifies the schematic diagram is different from the PCB circuit module, the position and the logic relation of the schematic diagram package are obtained, so that the increase and decrease of the corresponding elements according to the logic relation of the schematic diagram comprise the following steps:
obtaining the same elements in the circuit module and the PCB circuit module in the schematic diagram, extending the connection sequence of all the elements by the elements, and checking one by one according to the connection sequence;
adding or subtracting different elements in the PCB circuit module according to different positions of the PCB circuit module and the schematic diagram circuit module;
the identifying of the serial numbers of the circuit modules in the schematic diagram and the extracting of the PCB circuit modules in the standard circuit library according to the serial numbers comprise:
identifying the number of the circuit module in the schematic diagram;
extracting PCB circuit modules with the same number from a standard circuit library according to the numbers of the circuit modules in the schematic diagram, and extracting the PCB circuit modules into a PCB frame;
the acquiring the connection sequence of the PCB circuit modules and automatically arranging the elements in the PCB frame according to the connection sequence comprises the following steps:
and acquiring the connection sequence of the circuit modules in the schematic diagram according to the wiring relation among the circuit modules to generate the connection sequence of the PCB circuit modules extracted according to the serial numbers of the circuit modules in the schematic diagram, and automatically connecting the PCB circuit modules in the PCB frame according to the connection sequence.
2. An efficient PCB layout method as recited in claim 1, further comprising: and acquiring a circuit module without a serial number in a schematic diagram, acquiring the connection sequence of each element of the circuit module, and automatically arranging the circuit module in the PCB frame according to the connection sequence.
3. An efficient PCB layout method as recited in claim 2, wherein the automatically laying out comprises:
and grabbing the element with the most pins, then capturing the element connected with the element pins, and spreading in a tree shape according to the connection sequence until capturing all the elements of the circuit module.
4. An efficient PCB layout method as recited in claim 3, further comprising:
after the circuit module is placed in the PCB frame, a layout area is divided in the PCB frame, and the name of the circuit module is marked in the layout area.
5. An efficient PCB layout method as defined in claim 1 wherein the automatic layout of components is performed according to preset rules.
6. An efficient PCB placement apparatus, the apparatus comprising:
the numbering module is used for setting a unique number for the PCB circuit module in the standard circuit library;
the import module is used for importing the schematic diagram;
the identification judgment module is used for identifying the serial number of the circuit module in the schematic diagram and extracting the PCB circuit module in the standard circuit library according to the serial number;
the layout module is used for acquiring the connection sequence of the PCB circuit module and automatically laying out the elements in the PCB frame according to the connection sequence;
the verification module is used for verifying the PCB circuit modules which are extracted from the schematic diagram and have the same serial numbers in the standard circuit library;
the system comprises an adding and deleting module, a PCB circuit module and a packaging module, wherein the adding and deleting module is used for acquiring the position and logic relation of the schematic diagram packaging if the circuit module of the schematic diagram is verified to be different from the PCB circuit module, so that corresponding elements are added and deleted in the PCB circuit module according to the logic relation of the schematic diagram;
the add-delete module is also used for acquiring the same elements in the circuit module and the PCB circuit module in the schematic diagram, extending the connection sequence of all the elements from the elements and checking one by one according to the connection sequence; adding or subtracting different elements in the PCB circuit module according to different positions of the PCB circuit module and the schematic diagram circuit module;
the identification judgment module is also used for identifying the serial number of the circuit module in the schematic diagram; extracting PCB circuit modules with the same number from a standard circuit library according to the numbers of the circuit modules in the schematic diagram, and extracting the PCB circuit modules into a PCB frame;
the layout module is also used for acquiring the connection sequence of the circuit modules in the schematic diagram according to the wiring relation among the circuit modules to generate the connection sequence of the PCB circuit modules extracted according to the serial numbers of the circuit modules in the schematic diagram, and automatically connecting the PCB circuit modules in the PCB frame according to the connection sequence.
7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executed on the processor, the processor implementing the steps of the efficient PCB layout method of any of claims 1-5 when executing the computer program.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the efficient PCB layout method of any of claims 1-5.
CN202111496981.XA 2021-12-09 2021-12-09 Efficient PCB layout method, device, equipment and computer readable storage medium Active CN113919279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111496981.XA CN113919279B (en) 2021-12-09 2021-12-09 Efficient PCB layout method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111496981.XA CN113919279B (en) 2021-12-09 2021-12-09 Efficient PCB layout method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113919279A CN113919279A (en) 2022-01-11
CN113919279B true CN113919279B (en) 2022-04-26

Family

ID=79248854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111496981.XA Active CN113919279B (en) 2021-12-09 2021-12-09 Efficient PCB layout method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113919279B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116205198B (en) * 2023-01-11 2024-02-27 上海合见工业软件集团有限公司 Circuit schematic diagram module column ordering method, equipment and medium based on dynamic programming
CN116542188B (en) * 2023-07-06 2024-04-05 深圳市鑫迅维科技有限公司 PCB schematic diagram generation method, electronic equipment and storage medium
CN117612176A (en) * 2023-10-26 2024-02-27 粤港澳大湾区(广东)国创中心 Two-side pin diagram identification and extraction method, device, storage medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550714A (en) * 1988-09-09 1996-08-27 Matsushita Electric Industrial Co. Ltd. Schematic generator and schematic generating method
CN101567028A (en) * 2009-06-01 2009-10-28 杭州电子科技大学 Modularized hardware elementary diagram automatic generating method
CN102024074A (en) * 2009-09-15 2011-04-20 株式会社理光 System and method of assisting circuit design
CN107025362A (en) * 2017-04-28 2017-08-08 无锡市同步电子科技有限公司 A kind of method for verifying schematic diagram and PCB creation data uniformity

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100361130C (en) * 2004-03-11 2008-01-09 华为技术有限公司 Method and apparatus for improving PCB design efficiency
CN101201864A (en) * 2006-12-14 2008-06-18 英业达股份有限公司 System and method for laying element
CN103699706A (en) * 2012-09-27 2014-04-02 鸿富锦精密工业(深圳)有限公司 Power supply PCB (printed circuit board) wiring modularization system and method
CN103164570A (en) * 2013-02-20 2013-06-19 曙光信息产业(北京)有限公司 Circuit component lead-in method and device in circuit design
CN104797084B (en) * 2015-04-09 2018-01-23 广东威创视讯科技股份有限公司 The method and device of printed circuit board layout
CN106777723A (en) * 2016-12-25 2017-05-31 张帆 A kind of method of automatic drawing principle figure

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5550714A (en) * 1988-09-09 1996-08-27 Matsushita Electric Industrial Co. Ltd. Schematic generator and schematic generating method
CN101567028A (en) * 2009-06-01 2009-10-28 杭州电子科技大学 Modularized hardware elementary diagram automatic generating method
CN102024074A (en) * 2009-09-15 2011-04-20 株式会社理光 System and method of assisting circuit design
CN107025362A (en) * 2017-04-28 2017-08-08 无锡市同步电子科技有限公司 A kind of method for verifying schematic diagram and PCB creation data uniformity

Also Published As

Publication number Publication date
CN113919279A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN113919279B (en) Efficient PCB layout method, device, equipment and computer readable storage medium
CN110309125B (en) Data verification method, electronic device and storage medium
CN111506498A (en) Automatic generation method and device of test case, computer equipment and storage medium
US20180341741A1 (en) Method for performing netlist comparison based on pin connection relationship of components
US20030182643A1 (en) Method for comprehensively verifying design rule checking runsets
CN106021257A (en) Method, device, and system for crawler to capture data supporting online programming
CN110287696B (en) Detection method, device and equipment for rebound shell process
CN110069827B (en) Layout and wiring method and device for FPGA (field programmable Gate array) online logic analyzer
CN102750301A (en) Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description
JPS63245940A (en) Block disposition processing system
CN102855337A (en) Automated wiring inspection system and automated wiring inspection method
US7120889B2 (en) Integrated circuit schematics and layouts
CN113138929A (en) Distributed interface testing method and device, electronic equipment and storage medium
CN106599001A (en) Webpage content acquisition method and system
CN108021621A (en) Database data acquisition method, application server and computer-readable recording medium
CN105391587A (en) Samba configuration management method and system for network device
CN109814896A (en) Server updating method, apparatus, computer system and readable storage system
CN110889257B (en) Method for generating netlist through FPGA circuit verification and circuit logic verification platform
WO2009108607A1 (en) Automatic bus routing
US20100058277A1 (en) Method and system for organizing data generated by electronic design automation tools
WO2014196889A1 (en) Method of generating a target layout on the basis of a source layout
CN111931746B (en) Vehicle loss judgment method and device, computer equipment and readable storage medium
CN112347723B (en) Layout-based ROM code extraction verification method and device
CN111199133B (en) Automatic wiring and winding method
CN114912401A (en) Method for improving PCB design efficiency, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Floor 25, Block A, Zhongzhou Binhai Commercial Center Phase II, No. 9285, Binhe Boulevard, Shangsha Community, Shatou Street, Futian District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen Youjia Innovation Technology Co.,Ltd.

Address before: 518051 401, building 1, Shenzhen new generation industrial park, No. 136, Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen, Guangdong Province

Patentee before: SHENZHEN MINIEYE INNOVATION TECHNOLOGY Co.,Ltd.