CN111368499B - Part pin routing direction checking method, device, equipment and storage medium - Google Patents

Part pin routing direction checking method, device, equipment and storage medium Download PDF

Info

Publication number
CN111368499B
CN111368499B CN202010134000.6A CN202010134000A CN111368499B CN 111368499 B CN111368499 B CN 111368499B CN 202010134000 A CN202010134000 A CN 202010134000A CN 111368499 B CN111368499 B CN 111368499B
Authority
CN
China
Prior art keywords
coordinate
pin
coordinates
pins
value
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
CN202010134000.6A
Other languages
Chinese (zh)
Other versions
CN111368499A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010134000.6A priority Critical patent/CN111368499B/en
Publication of CN111368499A publication Critical patent/CN111368499A/en
Application granted granted Critical
Publication of CN111368499B publication Critical patent/CN111368499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for checking the wiring direction of a pin of a part, wherein the method comprises the following steps: obtaining the coordinates of the central points of all pins of the part; calculating the coordinate of a part center point O according to the coordinate of the pin center point; acquiring coordinates of two end points of a wiring line segment connected with a pin, wherein the end point overlapped with the central point of the pin is marked as A, and the other end point is marked as B; comparing the lengths of OA and OB, if OA < OB, the routing direction conforms to the design requirement; if OA > OB, the trace direction does not meet the design requirement. The device comprises: the device comprises a pin coordinate acquisition unit, a part coordinate calculation unit, a wiring end point judgment unit and a wiring direction judgment unit. The method, the device, the equipment and the storage medium for checking the wiring direction of the pin of the part, disclosed by the invention, can overcome the blind spot of manual wire pulling of an engineer, improve the correctness of the wiring direction and further improve the quality of signal transmission.

Description

Part pin routing direction checking method, device, equipment and storage medium
Technical Field
The invention relates to the field of design, in particular to a method, a device, equipment and a storage medium for checking the wiring direction of a pin of a part.
Background
The Printed Circuit Board (PCB) was the first to use a paper-based copper-clad printed board. Since the advent of semiconductor transistors in the 50's of the 20 th century, the demand for PCBs has risen dramatically. Particularly, due to rapid development and wide application of integrated circuits, electronic devices are smaller and smaller, and the circuit wiring density and difficulty are higher and higher, which requires that PCBs are continuously updated. At present, the variety of the PCB is developed from a single-sided board to a double-sided board, a multilayer board and a flexible board; the structure and quality have also been developed to ultra-high density, miniaturization, and high reliability; new design methods, design articles, board making materials and board making processes are emerging continuously.
In recent years, a plurality of types of application software of computer aided design PCBs are available in the market, wherein Cadence is the most widely applied PCB design software in the industry, the Cadence has strong functions and a plurality of types of related software as support, an open secondary development interface and a more perfect development language library are provided, and users can carry out secondary development according to own needs. The Cadence software is internally provided with the still language based on the C language and the LISP language, provides rich interactive functions for the still language, can be used for compiling a design application tool, and can greatly improve the working efficiency.
When the PCB is wired (Layout), the wiring direction of a line segment connected with each part pin can influence the signal transmission quality, and if the wiring direction is wrong, the problems of stub (stub) and line reflection can be caused. For inexperienced PCB routing engineers, a problem of wrong routing direction may occur in routing.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method, a device, equipment and a storage medium for checking the wiring direction of a pin of a part, which can overcome the blind spot of manual wire pulling of an engineer, improve the correctness of the wiring direction and further improve the quality of signal transmission.
In order to achieve the purpose, the invention adopts the following technical scheme:
a part pin routing direction checking method comprises the following steps:
obtaining the coordinates of the central points of all pins of the part;
calculating the coordinate of the center point O of the part according to the coordinate of the center point of the pin;
acquiring coordinates of two end points of a wiring line segment connected with a pin, wherein the end point overlapped with the central point of the pin is marked as A, and the other end point is marked as B;
comparing the lengths of OA and OB, if OA < OB, the routing direction conforms to the design requirement;
if OA > OB, the trace direction does not meet the design requirement.
Further, the obtaining of the coordinates of the center points of all the pins of the part includes:
obtaining DBID of the part and storing the DBID in a digit sequence symbol;
traverse the array symbol and store the coordinates of the center point of all the pins in the array listA.
Further, the calculating the coordinate of the part center point O according to the pin center point coordinate includes:
traversing elements in the list listA, storing a coordinate X value in the list listX, and storing a coordinate Y value in the list listY;
sequencing elements in the array listX, and searching a maximum value Xmax and a minimum value Xmin;
sorting elements in the array listY, and searching a maximum value Ymax and a minimum value Ymin;
the coordinate X value of the central point O of the part is (Xmax + Xmin)/2, and the coordinate Y value is (Ymax + Ymin)/2.
Further, the obtaining coordinates of two end points of the wire segment connected to the pin includes:
and obtaining a close segment connected with the pin through a function axlDBGetConnect.
Further, for the routing line segment whose routing direction does not meet the design requirement, the routing line segment is lightened.
The invention provides a part pin routing direction checking device, which comprises:
the pin coordinate acquisition unit is used for acquiring the coordinates of the central points of all pins of the part;
the part coordinate calculation unit is used for calculating the coordinate of a part central point O according to the coordinate of the pin central point;
the wiring end point judging unit is used for judging the end point of the connection between the wiring line segment and the central point of the pin;
and the routing direction judging unit is used for judging whether the routing direction meets the design requirement.
The invention provides a part pin routing direction checking device, which is characterized by comprising:
a memory for storing a computer program;
and the processor is used for realizing the steps of the part pin routing direction checking method when the computer program is executed.
The storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the method for checking the wiring direction of the pins of the component.
The invention has the beneficial effects that:
the invention provides a method, a device, equipment and a storage medium for checking the wiring direction of a pin of a part, and solves the problem that the wiring direction of the pin is wrong due to insufficient experience of a PCB Layout engineer in the PCB wiring design process, so that the signal transmission quality is influenced. The wiring direction of the pins of the part is automatically checked through the kill program, wrong wiring of the wiring direction towards the part can be quickly and accurately found, the checking working efficiency is greatly improved for the main boards with numerous parts, and the quality of signal transmission is ensured.
Drawings
FIG. 1 is a flow chart of a method for inspecting the wiring direction of pins of a component according to the present invention;
FIG. 2 is a schematic view of the construction of the components of the present invention;
FIG. 3 is a schematic view of the device for inspecting the lead routing direction of the component according to the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the present invention will be explained in detail by the following embodiments and the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
As shown in fig. 1, an embodiment of the present invention discloses a method for checking a trace direction of a pin of a component, including:
obtaining the coordinates of the central points of all pins of the part;
calculating the coordinate of the center point O of the part according to the coordinate of the center point of the pin;
acquiring coordinates of two end points of a wiring line segment connected with a pin, wherein the end point overlapped with the central point of the pin is marked as A, and the other end point is marked as B;
comparing the lengths of OA and OB, if OA < OB, the routing direction conforms to the design requirement;
if OA > OB, the trace direction does not meet the design requirement.
Specifically, the obtaining of the coordinates of the center points of all pins of the part includes:
obtaining DBIDs of all parts and storing the DBIDs in a digit array symbol;
traversing the array symbol, acquiring the coordinates of the central points of all the pins, and storing the coordinates in the array listA.
The calculating the coordinate of the part center point O according to the pin center point coordinate comprises the following steps:
traversing elements in the list listA, storing a coordinate X value in the list listX, and storing a coordinate Y value in the list listY;
sequencing elements in the array listX, and finding out a maximum value Xmax and a minimum value Xmin;
sequencing elements in the array listY, and finding out a maximum value Ymax and a minimum value Ymin;
and (3) obtaining the coordinate of the central point O of the part, wherein the value of the coordinate X is (Xmax + Xmin)/2, and the value of the coordinate Y is (Ymax + Ymin)/2.
The obtaining of coordinates of two end points of the wiring line segment connected with the pin comprises the following steps:
and obtaining a close segment connected with the pin through a function axlDBGetConnect.
And lighting the line segment for the line segment with the line direction not meeting the design requirement.
Taking fig. 2 as an example, the central point of the part is marked as O, the end point of the overlapping end point of the line segment connected to one pin of the part and the central coordinate point of the pin is a, the end point of the overlapping end point is B, the lengths of OA and OB are calculated and compared according to coordinates of point O, A and point B, OA < OB, the routing direction of the pin is far away from the part, and the design requirement is met.
The end point of the other connected segment of the part overlapped with the central coordinate point of the pin is A1The other end point is B1According to O, A1And B1Point coordinate calculation and comparison OA1And OB1Length of (A), OA1>OB1The direction of the pin routing faces to the part and does not meet the design requirement.
As shown in fig. 3, an embodiment of the present invention further discloses a device for checking a trace direction of a pin of a component, including:
the pin coordinate acquisition unit is used for acquiring the coordinates of the central points of all pins of the part;
the part coordinate calculation unit is used for calculating the coordinate of a part central point O according to the coordinate of the pin central point;
the wiring end point judging unit is used for judging the end point of the connection between the wiring line segment and the central point of the pin;
and the routing direction judging unit is used for judging whether the routing direction meets the design requirement.
The embodiment of the invention also discloses a part pin routing direction checking device, which comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of the part pin routing direction checking method when the computer program is executed.
The embodiment of the invention also discloses a storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the part pin wiring direction checking method are realized.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, the scope of the present invention is not limited thereto. Various modifications and alterations will occur to those skilled in the art based on the foregoing description. And are neither required nor exhaustive of all embodiments. On the basis of the technical scheme of the invention, various modifications or changes which can be made by a person skilled in the art without creative efforts are still within the protection scope of the invention.

Claims (6)

1. A method for checking the wiring direction of a pin of a part is characterized by comprising the following steps:
obtaining the coordinates of the central points of all pins of the part;
the obtaining of the coordinates of the center points of all pins of the part includes:
obtaining DBID of the part and storing the DBID in a series symbol;
traversing the array symbol and storing the coordinates of the central points of all the pins in an array listA;
calculating the coordinate of a part center point O according to the coordinate of the pin center point;
the step of calculating the coordinate of the part center point O according to the pin center point coordinate comprises the following steps:
traversing elements in the list listA, storing a coordinate X value in the list listX, and storing a coordinate Y value in the list listY;
sequencing elements in the array listX, and searching a maximum value Xmax and a minimum value Xmin;
sorting elements in the array listY, and searching a maximum value Ymax and a minimum value Ymin;
the coordinate X value of the central point O of the part is (Xmax + Xmin)/2, and the coordinate Y value is (Ymax + Ymin)/2;
acquiring coordinates of two end points of a wiring line segment connected with a pin, wherein the end point overlapped with the central point of the pin is marked as A, and the other end point is marked as B;
comparing the lengths of OA and OB, if OA < OB, the routing direction accords with the design requirement;
if OA > OB, the trace direction does not meet the design requirement.
2. The method for inspecting the wiring direction of the component pins according to claim 1, wherein the obtaining coordinates of two end points of a wiring line segment connected to the pins comprises:
and obtaining a close segment connected with the pin through a function axlDBGetConnect.
3. The method for inspecting the trace direction of the pins of a component according to claim 1, wherein the trace line segment is lighted for the trace line segment whose trace direction does not meet the design requirement.
4. The utility model provides a line direction inspection device is walked to part pin which characterized in that includes:
the pin coordinate acquisition unit is used for acquiring central point coordinates of all pins of the part;
the obtaining of the coordinates of the central points of all the pins of the part includes:
obtaining DBID of the part and storing the DBID in a digit sequence symbol;
traversing the array symbol and storing the coordinates of the central points of all the pins in an array listA;
the part coordinate calculation unit is used for calculating the coordinate of a part central point O according to the coordinate of the pin central point;
the calculating the coordinate of the part center point O according to the pin center point coordinate comprises the following steps:
traversing elements in the list listA, storing a coordinate X value in the list listX, and storing a coordinate Y value in the list listY;
sequencing elements in the array listX, and searching a maximum value Xmax and a minimum value Xmin;
sorting elements in the array listY, and searching a maximum value Ymax and a minimum value Ymin;
the coordinate X value of the central point O of the part is (Xmax + Xmin)/2, and the coordinate Y value is (Ymax + Ymin)/2;
the wiring end point judging unit is used for judging the end point of the connection between the wiring line segment and the central point of the pin;
and the routing direction judging unit is used for judging whether the routing direction meets the design requirement.
5. The utility model provides a line direction check out test set is walked to part pin which characterized in that includes:
a memory for storing a computer program;
a processor for implementing the steps of the method for inspecting pin routing direction of parts according to any of claims 1 to 3 when executing the computer program.
6. A storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 3.
CN202010134000.6A 2020-02-29 2020-02-29 Part pin routing direction checking method, device, equipment and storage medium Active CN111368499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010134000.6A CN111368499B (en) 2020-02-29 2020-02-29 Part pin routing direction checking method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010134000.6A CN111368499B (en) 2020-02-29 2020-02-29 Part pin routing direction checking method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111368499A CN111368499A (en) 2020-07-03
CN111368499B true CN111368499B (en) 2022-07-08

Family

ID=71206488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010134000.6A Active CN111368499B (en) 2020-02-29 2020-02-29 Part pin routing direction checking method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111368499B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114423156B (en) * 2021-11-19 2024-02-13 研祥智慧物联科技有限公司 Wiring algorithm between IC pins and resistor pins on PCB
CN114254583B (en) * 2021-11-26 2023-11-03 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for checking pin connection of device
CN115859905B (en) * 2023-03-01 2023-04-28 上海合见工业软件集团有限公司 Pin matching method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751484A (en) * 2008-12-16 2010-06-23 英业达股份有限公司 Checking device and method of circuit wiring
CN102855337A (en) * 2011-06-27 2013-01-02 鸿富锦精密工业(深圳)有限公司 Automated wiring inspection system and automated wiring inspection method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751484A (en) * 2008-12-16 2010-06-23 英业达股份有限公司 Checking device and method of circuit wiring
CN102855337A (en) * 2011-06-27 2013-01-02 鸿富锦精密工业(深圳)有限公司 Automated wiring inspection system and automated wiring inspection method

Also Published As

Publication number Publication date
CN111368499A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111368499B (en) Part pin routing direction checking method, device, equipment and storage medium
CN109543307B (en) Open and short circuit checking method and detection system for PCB design layout and electronic equipment
CN109033528B (en) Generation method, device, equipment and medium for differential pair pad routing avoidance area
US7559045B2 (en) Database-aided circuit design system and method therefor
CN111123065B (en) Method and device for inspecting printed circuit board wiring
CN109241681B (en) Reflow soldering simulation optimization method and system, computer storage medium and equipment
WO2017088540A1 (en) Method for performing netlist comparison based on pin connection relationship of component
CN109492310B (en) Line inspection method and inspection device
CN111880076A (en) Signal test point detection method, system and related assembly
CN109451663A (en) The parameters analysis method and analysis system connect applied to Through-hole reflow
CN112597737A (en) Method, system and readable storage medium for creating PCB test point identification
JP2010107265A (en) Device and method for generating data
CN113673199B (en) Design self-checking method, system and device for controllable depth drilling and storage medium
CN111291527B (en) Differential line spacing checking method, device, equipment and storage medium
WO2020073857A1 (en) Method for determining shape of anti-pad and printed circuit board
CN111814421B (en) Surface-mount connector pin inspection tool, method, equipment and medium
CN112446182A (en) Method and equipment for optimizing signal integrity
CN111967218A (en) Method and system for checking routing length
CN115081389B (en) Printed circuit board wiring inspection method, device, equipment and storage medium
CN112685992A (en) Skill-based method and system for quickly searching cross-plane routing
CN113673198A (en) Method, system, equipment and medium for checking routing in PCB
CN112946365A (en) Method for automatically making impedance test file, electronic equipment and storage medium
CN114254583B (en) Method, device, equipment and storage medium for checking pin connection of device
CN114004193B (en) Identification method and related device for tin-plating risk of PCB
CN112528587B (en) Method, system, terminal and storage medium for judging hole plugging requirement of PCB back drilling hole

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