CN115408977A - Method for automatically equidistant PCB wiring and electronic equipment - Google Patents
Method for automatically equidistant PCB wiring and electronic equipment Download PDFInfo
- Publication number
- CN115408977A CN115408977A CN202211006069.6A CN202211006069A CN115408977A CN 115408977 A CN115408977 A CN 115408977A CN 202211006069 A CN202211006069 A CN 202211006069A CN 115408977 A CN115408977 A CN 115408977A
- Authority
- CN
- China
- Prior art keywords
- line segment
- wiring
- pcb
- module
- automatically
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
- G06F30/394—Routing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/39—Circuit design at the physical level
- G06F30/394—Routing
- G06F30/3947—Routing global
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2115/00—Details relating to the type of the circuit
- G06F2115/12—Printed circuit boards [PCB] or multi-chip modules [MCM]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The invention discloses a method for automatically equidistant PCB routing, which comprises the following steps: the method comprises the following steps: opening Allegro software and calling a kill program; step two: setting a reference wiring distance, and calculating an average value of the wiring distances; step three: all the wires in the area are grabbed, and the coordinates of the end points of the pcb design wires are determined; step four: and identifying and calculating the specific position of the routing. The PCB routing automatic equal-spacing method and the electronic equipment comprise the following steps: the wiring distance and the average distance in the pcb design are automatically calculated through the benchmark setting module, all wiring in the pcb design is selected according to the grabbing module, the coordinate position of the original wiring is determined through the identification module, the layout endpoint coordinate of a new line segment can be accurately calculated through the calculation module, the wiring precision of the pcb design is improved, meanwhile, the new wiring can be automatically wired through the adjustment module, the new wiring is checked, the precision is improved, the wiring accuracy is ensured, and the workload of designers is reduced.
Description
Technical Field
The invention relates to the technical field of circuit design, in particular to a method for automatically equidistant PCB routing and electronic equipment.
Background
The PCB board, the name of which is printed circuit board, is also called printed circuit board, is an important electronic component, is a support body of the electronic component, is a carrier for electrical connection of the electronic component, is called printed circuit board because it is manufactured by adopting electronic printing technology, and the PCB board is one of important components in the electronic industry; almost every kind of electronic equipment, as small as electronic watches, calculators, as large as computers, communication electronic equipment and military weapon systems, as long as there are electronic components such as integrated circuits, etc., printed boards are used for electrical interconnection between them, and in the process of research on larger electronic products, the most basic success factor is the design, documentation and manufacture of the printed boards of the products, and the design and manufacture quality of the printed boards directly affects the quality and cost of the whole products, even leading to success or failure of commercial competition.
The method comprises the following steps that original parts and the like required by pcb design need to be laid out and wired through software before the pcb is printed and manufactured, the finished pcb design is exported to be a photo-drawing file, and the board is manufactured through the photo-drawing file, wherein in the pcb design, certain requirements are required for the spacing between wires, and common disordered wires are required by common designers to adjust the spacing between the wires for attractiveness;
the conventional pcb design software can not automatically adjust the wiring distance at equal intervals, a designer needs to manually adjust the distance between wiring lines, the distance between the wiring lines is different due to the fact that the distances between the wiring lines are different, the designer needs to calculate the numerical values between the wiring lines, and the numerical values are corrected for multiple times through instructions, so that the working efficiency is low, the workload of the designer is improved, the accuracy is low, the designer needs to perform multiple correction operations, and the working efficiency of pcb design is seriously influenced.
Therefore, there is a need for a method and an electronic device for automatically equidistant PCB traces to solve the above problems.
Disclosure of Invention
The invention aims to provide a method for automatically equidistant PCB (printed circuit board) routing and electronic equipment, which are used for solving the problems that the conventional PCB design software cannot automatically adjust the routing distance and needs manual adjustment, so that the workload of a designer is increased, and the working efficiency of PCB design is reduced.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for automatically and equidistantly spacing PCB wires comprises the following steps: the method comprises the following steps:
the method comprises the following steps: opening Allegro software and calling a skill program;
step two: setting a reference wiring distance, and calculating an average value of the wiring distances;
step three: grabbing all the wires in the area, and determining the coordinates of the end points of the design wires of the pcb;
step four: identifying and calculating the specific positions of the wires, and re-arranging the coordinates of the positions of the wires according to the average distance calculated in the second step;
step five: and (4) automatically and equidistantly adjusting the wiring distance, automatically wiring and inspecting the wiring.
Preferably, the step one is specifically to input a call command in a command line after loading a kill program in Allegro software.
Preferably, in the second step, the peripheral line segments are selected as the reference line segments of all the wires, the distance between the selected reference line segments is calculated, and the average distance is obtained.
Preferably, the filter is set to be a pin, and the object needing to be adjusted is selected completely;
b. traversing the routing in the pin, acquiring the starting point and the end point of the routing, and acquiring the specific coordinate of the selected routing.
Preferably, the fourth step is to judge the type of each line segment according to the line coordinate obtained in the third step, if the abscissa of two end points of the line segment is the same, the line segment is designed transversely, and if the abscissa of two end points is the same, the line segment is designed longitudinally; if the abscissa and the ordinate of the two groups of end points are different, the two groups of end points are oblique lines, and the angles of the oblique lines are calculated through the end points and the left original places.
Preferably, the step five specifically comprises:
a. calculating and obtaining the endpoint coordinates of the selected middle line segment after the middle line segment is rearranged according to the average distance obtained in the step one, and displaying the endpoint coordinates in the frame selection area;
b. and regenerating new line segments with the same space according to the left side of the end point after the rearrangement, connecting the regenerated new line segments according to the original circuit diagram, and deleting the original line segments after checking data such as the communication of the line.
Preferably, the electronic device with PCB traces automatically equidistant includes:
a reference setting module: judging and calculating the number of line segments between the reference lines and the average distance of the line segments after selecting the reference lines;
a grabbing module: selecting a line segment needing to be adjusted in the pcb design, and acquiring all pins in the design;
an identification module; identifying the accurate coordinate position of the end point of the line segment in the design through the pin obtained by the grabbing module;
a calculation module: calculating the coordinates of the end points of the active design original line segment of the identification module, and judging the layout direction of the line segment according to the coordinates of the two end points of the line segment;
an adjusting module: calculating the end point coordinates of the new line segments through the moving average distance of the routing lines of the reference module, displaying the end point coordinates in pcb design, and performing corresponding connection according to the relationship between the original line segments by regenerating the new line segments; a new pcb design after the equidistant routing layout is obtained.
Preferably, the adjusting module includes:
a. a generation module: automatically generating the calculated coordinate position of the new line segment and displaying the coordinate position in pcb design;
b. a wiring module: automatically wiring the parameters for setting the generated new line segment coordinates;
c. a checking module: judging whether the design of the newly generated line segment has a difference error or not by identifying the connection relation of the original line segment, and if the new line segment has an error, highlighting the error line segment;
d. a deletion module: and if the verification module does not recognize that the design of the new line segment has errors, deleting the original line segment.
Preferably, the apparatus further comprises: memory, processor, cache unit
Compared with the prior art, the invention has the beneficial effects that: the PCB routing automatic equal-spacing method and the electronic equipment comprise the following steps: the wiring distance and the average distance in the pcb design are automatically calculated through the benchmark setting module, all wiring in the pcb design is selected according to the grabbing module, the coordinate position of the original wiring is determined through the identification module, the layout endpoint coordinate of a new line segment can be accurately calculated through the calculation module, the wiring precision of the pcb design is improved, meanwhile, the new wiring can be automatically wired through the adjustment module, the new wiring is checked, the precision is improved, the wiring accuracy is ensured, and the workload of designers is reduced.
1. The overall distance of all the wires is checked and the specific average distance is calculated through the benchmark setting module, the wiring direction of the original wire section is obtained through the specific coordinate of the original wire section, the accurate coordinate point of the new wire section is obtained through calculation, the wires are re-wired, the conduction and connection conditions of the new wire section are checked, the connection relation with the original wires is ensured to be the same, the accuracy and the precision of the adjustment of the wiring distance can be improved, and the working efficiency of a user is improved.
Drawings
FIG. 1 is a schematic structural diagram of an automatic equidistant device for PCB routing according to the present invention;
FIG. 2 is a schematic diagram of the operation flow of the adjustment module according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The invention provides a technical scheme that:
a method for automatically equidistant spacing of PCB wires comprises the following steps:
the method comprises the following steps: opening Allegro software and calling a kill program; after loading the skip program in the Allegro software, inputting a calling command in a command line, writing the skip program, and calling the skip program.
Step two: setting a reference wiring distance, and calculating an average value of the wiring distances; and selecting the peripheral line segments as the reference line segments of all the wires, calculating the distance between the selected reference line segments and obtaining the average distance so as to facilitate the subsequent layout and the point distribution of the new wires with equal distance.
Step three: all the wires in the area are grabbed, and the end point coordinates of the original design wires of the pcb are determined; a. setting a filter as a pin, and fully selecting an object to be adjusted;
b. traversing the routing in the pin, acquiring the starting point and the end point of the routing, and acquiring the specific coordinate of the selected routing.
Step four: identifying and calculating the specific positions of the wires, and re-arranging the coordinates of the positions of the wires according to the average distance calculated in the second step; judging the type of each line segment according to the line coordinate obtained in the third step, if the horizontal coordinates of two end points of the line segment are the same, designing the line segment in the transverse direction, and if the coordinates of the two end points are the same, designing the line segment in the longitudinal direction; if the horizontal coordinates and the vertical coordinates of the two groups of end points are different, the two groups of end points are oblique lines, and the angles of the oblique lines are calculated in situ through the end points and the left side;
according to the recognition of the layout of the original pcb design, the position of the end point of the same original line segment is determined, so that the position of the new wiring is determined at equal intervals.
Step five: automatically and equidistantly adjusting the wiring distance, automatically wiring and checking the wiring distance; a. calculating and obtaining endpoint coordinates of the selected middle line segment after the middle line segment is rearranged according to the average distance obtained in the first step, and displaying the endpoint coordinates in the framing area;
b. regenerating new line segments with the same space according to the left side of the end point after the rearrangement, connecting the regenerated new line segments according to the original circuit diagram, and deleting the original line segments after checking the data of the communication and the like of the line;
if errors occur in the newly generated equal-spacing wiring structure, one or more errors are highlighted, the newly generated equal-spacing wiring structure can be changed manually, and the newly generated equal-spacing wiring layout is checked after the change is completed, so that the connection relation between the new wiring layout and the original line segment is ensured to be the same.
Referring to fig. 1-2, an electronic device with PCB traces automatically equidistant includes:
a reference setting module: judging and calculating the number of line segments between the reference lines and the average distance of the line segments after the reference lines are selected;
a grabbing module: selecting a line segment needing to be adjusted in the pcb design, and acquiring all pins in the design;
an identification module; identifying the accurate coordinate position of the end point of the line segment in the design through the pin obtained by the grabbing module;
a calculation module: calculating the end point coordinates of the active design original line segment of the identification module, and judging the layout direction of the line segment according to the coordinates of two end points of the line segment;
an adjustment module: calculating the end point coordinates of the new line segments through the moving average distance of the routing lines of the reference module, displaying the end point coordinates in pcb design, and performing corresponding connection according to the relationship between the original line segments by regenerating the new line segments; obtaining a new pcb design after the layout of the equidistant routing;
the adjustment module includes:
a. a generation module: automatically generating the coordinate position of the calculated new line segment and displaying the coordinate position in pcb design;
b. a wiring module: automatically wiring the parameters for setting the generated new line segment coordinates;
c. a checking module: judging whether the design of the newly generated line segment has a difference error or not by identifying the connection relation of the original line segment, and if the new line segment has an error, highlighting the error line segment;
d. a deletion module: and if the verification module does not recognize that the design of the new line segment has errors, deleting the original line segment.
The apparatus further comprises: memory, processor, cache unit
Those not described in detail in this specification are well within the skill of the art.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (9)
1. A method for automatically and equidistantly arranging PCB wiring is characterized in that: the method comprises the following steps:
the method comprises the following steps: opening Allegro software and calling a kill program;
step two: setting a reference wiring distance, and calculating an average value of the wiring distances;
step three: all the wires in the area are grabbed, and the coordinates of the end points of the pcb design wires are determined;
step four: identifying and calculating the specific positions of the wires, and re-arranging the coordinates of the positions of the wires according to the average distance calculated in the second step;
step five: and (4) automatically and equidistantly adjusting the wiring distance, automatically wiring and inspecting the wiring.
2. The method for automatically equidistant spacing of PCB traces according to claim 1, wherein the step one is to input a call command in a command line after a kill program is loaded in Allegro software.
3. The method for automatically equidistant spacing of PCB traces according to claim 1, wherein in the second step, the peripheral line segments are selected as the reference line segments of all traces, the spacing between the selected reference line segments is calculated and the average spacing is obtained.
4. The method for automatically equidistant spacing of PCB traces according to claim 1, wherein said step three a. Setting the filter to be pin and fully selecting the object to be adjusted;
b. traversing the routing in the pin, acquiring the starting point and the end point of the routing, and acquiring the specific coordinate of the selected routing.
5. The method according to claim 1, wherein the fourth step is to determine the type of each line segment by the coordinates of the selected trace obtained in the third step, and if the coordinates of two end points of the line segment are the same, the line segment is designed horizontally, and if the coordinates of two end points are the same, the line segment is designed vertically; if the abscissa and the ordinate of the two groups of end points are different, the two groups of end points are oblique lines, and the angles of the oblique lines are calculated through the end points and the left in situ.
6. The method for automatically equidistant spacing of PCB traces and the electronic device according to claim 1, wherein the step five is specifically:
a. calculating and obtaining the endpoint coordinates of the selected middle line segment after the middle line segment is rearranged according to the average distance obtained in the step one, and displaying the endpoint coordinates in the frame selection area;
b. and regenerating new line segments with the same distance according to the left side of the end point after the rearrangement, connecting the regenerated new line segments according to the original circuit diagram, and deleting the original line segments after checking the data such as the communication of the line.
7. An electronic device with automatically equidistant PCB traces according to any of claims 1-6, comprising:
a benchmark setting module: judging and calculating the number of line segments between the reference lines and the average distance of the line segments after selecting the reference lines;
a grabbing module: selecting a line segment which needs to be adjusted in the pcb design, and acquiring all pins in the design;
an identification module; identifying the accurate coordinate position of the end point of the line segment in the design through the pin obtained by the grabbing module;
a calculation module: calculating the end point coordinates of the active design original line segment of the identification module, and judging the layout direction of the line segment according to the coordinates of two end points of the line segment;
an adjusting module: calculating the endpoint coordinates of the new line segments through the moving average distance of the routing of the reference module, displaying the endpoint coordinates in pcb design, and performing corresponding connection according to the relationship between the original line segments by regenerating the new line segments; a new pcb design after the equidistant routing layout is obtained.
8. The electronic device of claim 7, wherein the PCB trace is automatically equidistant between the PCB trace and the PCB trace, and the PCB trace comprises: the adjustment module comprises:
a. a generation module: automatically generating the calculated coordinate position of the new line segment and displaying the coordinate position in pcb design;
b. a wiring module: automatically wiring the parameters for setting the generated new line segment coordinates;
c. a checking module: judging whether the design of the newly generated line segment has a difference error or not by identifying the connection relation of the original line segment, and if the new line segment has an error, highlighting the error line segment;
d. a deletion module: and if the verification module does not recognize that the design of the new line segment has errors, deleting the original line segment.
9. The electronic device of claim 7, wherein the PCB trace is automatically equidistant between the PCB trace and the PCB trace, and the PCB trace comprises: the apparatus further comprises: memory, processor, cache unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211006069.6A CN115408977A (en) | 2022-08-22 | 2022-08-22 | Method for automatically equidistant PCB wiring and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211006069.6A CN115408977A (en) | 2022-08-22 | 2022-08-22 | Method for automatically equidistant PCB wiring and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115408977A true CN115408977A (en) | 2022-11-29 |
Family
ID=84162674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211006069.6A Withdrawn CN115408977A (en) | 2022-08-22 | 2022-08-22 | Method for automatically equidistant PCB wiring and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115408977A (en) |
-
2022
- 2022-08-22 CN CN202211006069.6A patent/CN115408977A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109241681B (en) | Reflow soldering simulation optimization method and system, computer storage medium and equipment | |
US6629307B2 (en) | Method for ensuring correct pin assignments between system board connections using common mapping files | |
CN111475355A (en) | High-speed link signal integrity evaluation method, system, terminal and storage medium | |
CN109492310A (en) | A kind of method and check device of the inspection of line | |
CN111191408A (en) | PCB element layout verification method and device, server and storage medium | |
CN112800716B (en) | Method for detecting open circuit of wire net in wiring of integrated circuit layout | |
CN115408977A (en) | Method for automatically equidistant PCB wiring and electronic equipment | |
US7926013B2 (en) | Validating continuous signal phase matching in high-speed nets routed as differential pairs | |
CN112560388A (en) | Symmetrical layout wiring method in layout design | |
CN113673198B (en) | Method, system, equipment and medium for checking wiring in PCB | |
CN114444431A (en) | Differential impedance line automatic selection method, device and storage medium | |
US20230306178A1 (en) | Routing method of printed circuit board and electronic device | |
US20120042297A1 (en) | Computer aided design system and method | |
CN114118003A (en) | Method and device for detecting tin on wave-soldering part | |
CN106980715A (en) | A kind of method for not having to add ICT measuring point networks in quick inspection PCB | |
CN112685992A (en) | Skill-based method and system for quickly searching cross-plane routing | |
CN111929495B (en) | Memory power consumption testing device, system and application method thereof | |
CN116522857B (en) | Method and system for selecting optimal power supply network scheme | |
CN115952761A (en) | Method and device for performing resistance compensation on wiring among multiple groups of parallel ports and storage medium | |
CN111324999B (en) | Method and system for automatically creating via hole in PCB design | |
TW202338659A (en) | Routing method of printed circuit board and electronic device | |
CN113486624B (en) | Method and device for realizing automatic equidistant PCB wiring and electronic equipment | |
JP3165991B2 (en) | Placement / wiring design method and wiring quality evaluation device | |
CN117574848A (en) | Inspection method and inspection device for high-speed signal wires in PCB and electronic equipment | |
CN115422875A (en) | Method, device, terminal and medium for detecting centralized placement of schematic diagram devices |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20221129 |