CN113011125A - Printed circuit board checking method, device, equipment and computer storage medium - Google Patents

Printed circuit board checking method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN113011125A
CN113011125A CN201911312927.8A CN201911312927A CN113011125A CN 113011125 A CN113011125 A CN 113011125A CN 201911312927 A CN201911312927 A CN 201911312927A CN 113011125 A CN113011125 A CN 113011125A
Authority
CN
China
Prior art keywords
screw hole
printed circuit
circuit board
standard structure
checked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911312927.8A
Other languages
Chinese (zh)
Other versions
CN113011125B (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201911312927.8A priority Critical patent/CN113011125B/en
Publication of CN113011125A publication Critical patent/CN113011125A/en
Application granted granted Critical
Publication of CN113011125B publication Critical patent/CN113011125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a printed circuit board checking method, a printed circuit board checking device, printed circuit board checking equipment and a computer storage medium, and belongs to the technical field of electronic equipment. The method comprises the following steps: acquiring a standard structure layout list corresponding to the printed circuit board to be checked; acquiring matching parameters of each screw hole and a reference screw hole in a standard structure layout list, wherein the reference screw hole is a screw hole on the printed circuit board to be checked; determining the screw hole with the maximum matching parameter in the standard structure layout list as a target screw hole; moving each structural element in the standard structure layout list according to the movement parameter of the target screw hole to the reference screw hole; and comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list to obtain a comparison result. The problems that in the related art, a printed circuit board lacks self-checking in the design process, manual checking efficiency is low, and risks such as missing detection and error detection exist are solved.

Description

Printed circuit board checking method, device, equipment and computer storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method, an apparatus, a device and a computer storage medium for checking a printed circuit board.
Background
Printed Circuit Boards (PCBs) are important electronic components, a standard-structure PCB includes each structure in PCBs of a plurality of products, a designed PCB to be checked includes at least one structure in the standard PCB, and the PCB to be checked and the standard PCB corresponding thereto need to be checked in a comparison manner to check whether the structure in the PCB to be checked meets the requirements of the standard PCB corresponding thereto.
In a PCB verification method in the related art, after a designer completes the design of a PCB according to a standard PCB, an auditor verifies whether a structure in the PCB to be verified meets the requirements of the standard PCB corresponding to the structure.
However, the PCB checking method lacks self-checking in the PCB design process, and has low manual checking efficiency and risks of missing detection, error detection and the like.
Disclosure of Invention
The embodiment of the application provides a printed circuit board checking method, a printed circuit board checking device, printed circuit board checking equipment and a computer storage medium, and can solve the problems that in the related art, a PCB checking method lacks self-checking in a PCB design process, manual checking efficiency is low, and risks such as missing checking, error checking and the like exist. The technical scheme is as follows:
according to a first aspect of the present application, there is provided a printed circuit board inspection method including:
acquiring a standard structure layout list corresponding to a printed circuit board to be checked, wherein the standard structure layout list comprises parameters of a plurality of structural elements, and the plurality of structural elements comprise at least one screw hole;
acquiring matching parameters of each screw hole and a reference screw hole in the standard structure layout list, wherein the reference screw hole is a screw hole on the printed circuit board to be checked;
determining the screw hole with the maximum matching parameter in the standard structure layout list as a target screw hole;
moving each structural element in the standard structure layout list according to the moving parameter of the target screw hole moving to the reference screw hole;
and comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list to obtain a comparison result.
Optionally, the process of obtaining matching parameters of any screw hole in the standard structure layout list and the reference screw hole includes:
moving each structural element in the standard structure layout list according to the moving parameter of any screw hole moving to the reference screw hole;
acquiring the number of coincidences of the structural elements on the printed circuit board to be checked and the structural elements in the standard structure layout list, wherein the coincidence of the structural elements means that the structural elements in the printed circuit board to be checked and the structural elements in the standard structure layout list are located at the same positions and are the same structural elements;
and determining the coincidence quantity as a matching parameter of any screw hole and the reference screw hole.
Optionally, determining a standard structure name corresponding to the printed circuit board to be checked;
and acquiring a standard structure layout list corresponding to the standard structure name.
Optionally, the determining a standard structure name corresponding to the printed circuit board to be checked includes:
judging whether the printed circuit board to be checked records annotation characters;
and when the annotation character is recorded on the printed circuit board to be checked, determining the standard structure name corresponding to the printed circuit board to be checked according to the annotation character.
Optionally, the comparing each structural element in the printed circuit board to be checked with the structural element in the standard structure layout list to obtain a comparison result includes:
and comparing each structural element in the printed circuit board to be checked with the structural elements belonging to the same class in the standard structure layout list, and acquiring a comparison result.
Optionally, the types of the structural elements in the printed circuit board to be checked include screw holes, positioning holes, and vertical terminals.
In another aspect, there is provided a printed circuit board inspection apparatus including:
the system comprises a first acquisition module, a second acquisition module and a verification module, wherein the first acquisition module is used for acquiring a standard structure layout list corresponding to a printed circuit board to be checked, the standard structure layout list comprises parameters of a plurality of structural elements, and the plurality of structural elements comprise at least one screw hole;
the second acquisition module is used for acquiring matching parameters of each screw hole in the standard structure layout list and a reference screw hole, wherein the reference screw hole is a screw hole in the printed circuit board to be checked;
the determining module is used for determining the screw hole with the largest matching parameter in the standard structure layout list as a target screw hole;
the moving module is used for moving each structural element in the standard structure layout list according to the moving parameter of the target screw hole moving to the reference screw hole;
the comparison module is used for comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list to obtain a comparison result;
wherein the second obtaining module is further configured to:
moving each structural element in the standard structure layout list according to the moving parameter of any screw hole in the standard structure layout list moving to the reference screw hole;
acquiring the number of coincidences of the structural elements on the printed circuit board to be checked and the structural elements in the standard structure layout list, wherein the coincidence of the structural elements means that the structural elements in the printed circuit board to be checked and the structural elements in the standard structure layout list are located at the same positions and are the same structural elements;
and determining the coincidence quantity as a matching parameter of any screw hole and the reference screw hole.
Optionally, the first obtaining module includes:
the determining submodule is used for determining a standard structure name corresponding to the printed circuit board to be checked;
and the obtaining submodule is used for obtaining a standard structure layout list corresponding to the standard structure name.
Optionally, the determining sub-module includes:
the judging unit is used for judging whether the printed circuit board to be checked records annotation characters;
and the determining unit is used for determining the standard structure name corresponding to the printed circuit board to be checked according to the annotation character when the annotation character is recorded on the printed circuit board to be checked.
In yet another aspect, there is provided a printed circuit board checking apparatus, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the printed circuit board checking method according to the first aspect.
In yet another aspect, a computer storage medium is provided, wherein at least one instruction, at least one program, a code set, or a set of instructions is stored in the computer storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the printed circuit board checking method according to the first aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the method comprises the steps of obtaining a standard structure layout list corresponding to a printed circuit board to be checked, wherein the standard structure layout list comprises parameters of a plurality of structural elements, the structural elements comprise at least one screw hole, obtaining matching parameters of each screw hole and a reference screw hole in the standard structure layout list, determining the screw hole with the largest matching parameter in the standard structure layout list as a target screw hole, moving each structural element in the standard structure layout list according to the moving parameter of the target screw hole moving to the reference screw hole, comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list, obtaining a comparison result, comparing the structural elements when the matching parameters are the largest, and enabling the comparison result to be accurate.
The problems that in the related art, a printed circuit board lacks self-checking in the design process, manual checking efficiency is low, and risks such as missing detection and error detection exist are solved. The effects of improving the auditing efficiency and reducing the risks of missing detection, false detection and the like are achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a printed circuit board inspection method according to an embodiment of the present application;
FIG. 2 is a flow chart of another printed circuit board inspection method provided by the embodiments of the present application;
FIG. 3 is a flow chart of a process for obtaining matching parameters of any screw hole in a standard structural layout list and a reference screw hole;
FIG. 4 is a schematic diagram of the substeps of obtaining movement parameters shown in FIG. 3;
FIG. 5 is a schematic diagram of a printed circuit board to be inspected and a standard structure layout list in a rectangular plane coordinate system;
FIG. 6 is a schematic diagram of each structural element in the standard layout list of FIG. 5 being moved to a PCB to be inspected according to the movement parameter of the screw hole A to the reference screw hole;
fig. 7 is a flowchart of a printed circuit board checking method implemented by a program of a terminal according to an embodiment of the present application;
FIG. 8 is a flowchart of the matching of screw holes in the standard structural layout list to reference screw holes shown in FIG. 7;
FIG. 9 is a block diagram of a printed circuit board inspection apparatus according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of the first acquisition module shown in FIG. 9;
FIG. 11 is a schematic diagram of the determination submodule of FIG. 10;
fig. 12 is a schematic structural diagram of a printed circuit board checking apparatus according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In a conventional PCB verification method, after a designer designs a PCB according to a standard structure, an auditor checks whether a structure in the PCB to be verified meets a requirement of a standard structure PCB corresponding to the structure.
However, the PCB checking method lacks self-checking in the PCB design process, and has low manual checking efficiency and risks of missing detection, error detection and the like.
The embodiment of the application provides a printed circuit board checking method, a printed circuit board checking device, printed circuit board checking equipment and a computer storage medium.
Fig. 1 is a flowchart of a printed circuit board checking method according to an embodiment of the present application. The printed circuit board checking method may include:
step 101, a standard structure layout list corresponding to a printed circuit board to be checked is obtained, wherein the standard structure layout list comprises parameters of a plurality of structural elements, and the plurality of structural elements comprise at least one screw hole.
102, acquiring matching parameters of each screw hole in a standard structure layout list and a reference screw hole, wherein the reference screw hole is a screw hole on the printed circuit board to be checked.
And 103, determining the screw hole with the maximum matching parameter in the standard structure layout list as a target screw hole.
And 104, moving each structural element in the standard structure layout list according to the moving parameters of the target screw hole moving to the reference screw hole.
And 105, comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list to obtain a comparison result.
In some embodiments, the obtaining of the matching parameters of any screw hole in the standard structural layout list and the reference screw hole includes:
moving each structural element in the standard structure layout list according to the moving parameter of any screw hole moving to the reference screw hole;
acquiring the number of coincidences of structural elements on the printed circuit board to be checked and structural elements in the standard structure layout list, wherein the coincidence of the structural elements means that the structural elements in the printed circuit board to be checked and the structural elements in the standard structure layout list are located at the same positions and are the same structural elements;
and determining the coincidence quantity as a matching parameter of any screw hole and the reference screw hole.
In summary, the embodiment of the present application provides a method for checking a printed circuit board, the method includes obtaining a standard structure layout list corresponding to the printed circuit board to be checked, where the standard structure layout list includes parameters of a plurality of structural elements, the plurality of structural elements includes at least one screw hole, obtaining a matching parameter between each screw hole in the standard structure layout list and a reference screw hole, determining a screw hole with a largest matching parameter in the standard structure layout list as a target screw hole, moving each structural element in the standard structure layout list according to a moving parameter of the target screw hole moving to the reference screw hole, comparing each structural element in the printed circuit board to be checked with a structural element in the standard structure layout list, obtaining a comparison result, comparing the structural elements when the matching parameter is largest, and obtaining the comparison result accurately.
The problems that in the related art, a printed circuit board lacks self-checking in the design process, manual checking efficiency is low, and risks such as missing detection and error detection exist are solved. The effects of improving the auditing efficiency and reducing the risks of missing detection, false detection and the like are achieved.
Fig. 2 is a flowchart of another printed circuit board checking method according to an embodiment of the present disclosure. The printed circuit board checking method provided by the embodiment of the application can be realized in Cadence software by using a twist language, the twist language is an interactive high-level programming language based on a List Processing (LISP), the Cadence software is large Electronic Design Automation (EDA) software, and various requirements of electronic Design can be realized. As can be seen with reference to fig. 2, the printed circuit board checking method may include:
step 201, judging whether the printed circuit board to be checked records the annotation character. The types of the structural elements in the printed circuit board to be checked comprise screw holes, positioning holes and vertical terminals. When the printed circuit board to be checked does not record the annotation character, prompt information can be generated to prompt a designer to add the annotation character in the printed circuit board to be checked. The layout of the structural elements in the printed circuit board to be checked is substantially the same as the layout of the corresponding structural elements in the standard structural layout list.
The screw hole class can be fixed the printed circuit board who designs on the screen backplate with screw cooperation, the locating hole class need not with screw cooperation, can be with the printed circuit board location that designs on the screen backplate, vertical terminal class can be for the external terminal (exemplarily, vertical terminal class can include High Definition Multimedia Interface (HDMI) and Local Area Network (LAN)) that opening direction and display screen are back to back, the screen backplate can support interconnect between the printed circuit board to provide power and data signal for the printed circuit board that supports.
A plurality of printed circuit boards to be checked in the same series correspond to a standard structure layout list, and the annotation characters can be used for determining the standard structure names corresponding to the printed circuit boards to be checked.
Illustratively, the annotation characters may be placed on a Dimension layer (Dimension layer) of the printed circuit board to be checked, which may be used to set the physical dimensions of the printed circuit board to be checked.
Step 202, when the printed circuit board to be checked records the annotation character, determining the standard structure name corresponding to the printed circuit board to be checked according to the annotation character.
When the printed circuit board to be checked records the annotation character, the standard structure name corresponding to the printed circuit board to be checked can be determined according to the annotation character.
For example, the comment character may be set to SS _ CB0, and the standard structure name corresponding to the pcb to be checked may be SS _ CB01.
Step 203, a standard structure layout list corresponding to the standard structure name is obtained, and the standard structure layout list comprises parameters of a plurality of structural elements.
The parameters of the structural elements may include information such as a name, coordinates, and angle of each structural element. The types of the structural elements in the standard structure layout list comprise a screw hole type, a positioning hole type and a vertical terminal type.
Illustratively, the standard structure layout list may be set to SS _ cb01. txt.
And 204, classifying a plurality of structural elements according to the positioning and packaging list, wherein the plurality of structural elements comprise at least one screw hole of a screw hole class.
And classifying the plurality of structural elements in the standard structure layout list and the plurality of structural elements in the printed circuit board to be checked according to the positioning packaging list. The standard structure layout list comprises at least one screw hole, and the printed circuit board to be checked comprises at least one screw hole. The positioning packaging list can be in a text format and is stored in a fixed path, reading is facilitated, and the category of each structural element can be remarked in the positioning packaging list.
A certain vertical terminal in the standard structure layout list can be stacked in various combinations, that is, the position of the vertical terminal a in the standard structure layout list can include a vertical terminal a1, a vertical terminal a2 and a vertical terminal a3, and the position of the vertical terminal a in the printed circuit board to be checked can include at least one of a vertical terminal a1, a vertical terminal a2 and a vertical terminal a 3.
Step 205, determining one screw hole in the printed circuit board screw hole class to be checked as a reference screw hole.
Because a plurality of circuit boards to be checked in the same series correspond to a standard structure layout list, each printed circuit board to be checked may have screw hole deletion compared with the standard structure layout list, and one screw hole in the screw holes of the printed circuit boards to be checked is determined as a reference screw hole, so that a target screw hole can be conveniently determined in the standard structure layout list.
And step 206, acquiring the matching parameters of each screw hole and the reference screw hole in the standard structure layout list.
Referring to fig. 3, it can be seen that the process of obtaining matching parameters of any screw hole in the standard structure layout list and the reference screw hole may include the following sub-steps:
substep 2061, moving each structural element in the standard structure layout list according to the moving parameter of any screw hole in the standard structure layout list to the reference screw hole.
When any screw hole in the standard structure layout list moves to the reference screw hole, a moving parameter is corresponding to the screw hole, and each structural element in the standard structure layout list is moved according to the moving parameter, namely, each structural element in the standard structure layout list is moved once according to any moving parameter.
As can be seen with reference to fig. 4, the step of obtaining the movement parameter in step 2061 may include the following sub-steps:
step 2061a, a rectangular plane coordinate system is established.
And d, establishing a plane rectangular coordinate system, and conveniently calculating the moving parameters of any screw hole in the standard structure layout list to move to the reference screw hole in the step b.
Step 2061b, obtaining the offset on the horizontal axis and the offset on the vertical axis when any screw hole in the standard structure layout list moves to the reference screw hole.
The plurality of structural elements in the standard structural layout list include at least one screw hole, and the movement parameter of each screw hole when moving to the reference screw hole is calculated, namely, the offset of each screw hole when moving to the reference screw hole is calculated on the horizontal axis and the offset of each screw hole on the vertical axis.
And respectively moving each structural element in the standard structure layout list according to the movement parameter of the screw hole in each standard structure layout list to the reference screw hole, namely moving each structural element in the standard structure layout list according to the movement parameter of the screw hole when any screw hole in the standard structure layout list moves to the reference screw hole.
For example, referring to fig. 5, it is a schematic diagram of a printed circuit board to be checked and a standard structure layout list in a rectangular plane coordinate system, where the standard structure layout list may include a screw hole a, a screw hole B, a screw hole C, a screw hole D and a screw hole E, the printed circuit board to be checked may include a screw hole F, a screw hole G and a screw hole H, the screw hole F is determined as a reference screw hole, when the screw hole a moves to the screw hole F, an offset on a horizontal axis is a1, and an offset on a vertical axis is a2, each structural element in the standard structure layout list moves a1 units in a direction of the horizontal axis, and moves a2 units in a direction of the vertical axis.
As shown in fig. 6, it is a schematic diagram that each structural element in the standard structural layout list shown in fig. 5 moves to the printed circuit board to be checked according to the movement parameter of the screw hole a moving to the reference screw hole, where the screw hole a is located at the same position as the reference screw hole (screw hole F), the position of the screw hole B is deviated from the position of the screw hole H, the screw hole E is located at the same position as the screw hole G, and there is no screw hole corresponding to the screw hole C and the screw hole D in the printed circuit board to be checked. When the screw hole B is shifted to the reference screw hole by an amount of B1 in the horizontal axis and B2 in the vertical axis, each structural element in the standard structural layout list is shifted by B1 units in the horizontal axis direction and B2 units in the vertical axis direction, and the screw hole C can be similarly processed.
The standard structure layout list and the screw holes in the printed circuit board to be checked can be the same in size, the coordinates of the reference screw holes can be selected from the coordinates (2 and 3) of the centers of the reference screw holes, the coordinates of the center of one screw hole in the standard structure layout list are (0 and 0), when the screw holes in the standard structure layout list move to the reference screw holes, the offset on the horizontal axis is 2, and the offset on the vertical axis is 3.
Substep 2062, obtaining the number of coincidences between the structural elements on the circuit board to be checked and the structural elements in the standard structural layout list.
The superposition of the structural elements means that the structural elements in the printed circuit board to be checked and the structural elements in the standard structural layout list are located at the same positions and are the same structural elements.
After each structural element in the standard structural layout list is moved according to each movement parameter, the structural element in the standard structural layout list can be overlapped with the structural element on the printed circuit board to be checked, namely the structural element which is correct in position, consistent in size and belongs to the same class as the structural element in the standard structural layout list.
Illustratively, after each structural element in the standard structural layout list is moved by a1 units in the direction of the horizontal axis and a2 units in the direction of the vertical axis, the number of coincidences of the structural elements in the standard structural layout list and the structural elements on the printed circuit board to be checked is a1, that is, the number of coincidences of the structural elements corresponding to the screw holes a is obtained as a1, and then the numbers of coincidences of the structural elements corresponding to the screw holes B and the screw holes C are obtained as B1 and C1.
Sub-step 2063, determining the number of coincidences as the matching parameter of any screw hole and the reference screw hole.
And taking the superposition number of the structural elements after each structural element in the standard structural layout list moves according to the movement parameters as matching parameters.
Illustratively, the number of coincidences a1 is taken as a matching parameter of the screw hole a and the reference screw hole, the number of coincidences B1 is taken as a matching parameter of the screw hole B and the reference screw hole, and the number of coincidences C1 is taken as a matching parameter of the screw hole C and the reference screw hole.
And step 207, determining the screw hole with the maximum matching parameter in the standard structure layout list as a target screw hole.
And when the number of the coincidences is the maximum, determining the screw holes in the corresponding standard structure layout list as target screw holes and matching the target screw holes with the reference screw holes.
Illustratively, if the matching parameter a1 of the screw hole a and the reference screw hole is maximum, the screw hole a is determined as the target screw hole.
And step 208, moving each structural element in the standard structure layout list according to the moving parameters of the target screw hole to the reference screw hole.
And moving each structural element in the standard structure layout list according to the movement parameters corresponding to the target screw holes.
Illustratively, each structural element in the standard structural layout list is moved according to the movement parameters a1 and a2 corresponding to the screw hole A.
And step 209, comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list to obtain a comparison result.
Comparing each structural element in the printed circuit board to be checked with the structural element at the corresponding position of the standard structure layout list, checking whether the structural element in the printed circuit board to be checked is correct (including the comparison of whether the angle of each vertical terminal in the vertical terminal class is correct), then comparing each structural element in the standard structure layout list with the structural element in the printed circuit board to be checked, checking whether the structural element in the printed circuit board to be checked is missing, wherein the comparison result can include whether the structural element on the printed circuit board to be checked is correct and whether the structural element is missing.
When the printed circuit board to be checked is large in size, the screw holes in the middle positions (positions corresponding to four corners of the printed circuit board to be checked) can be changed into positioning holes, namely the screw holes in the middle positions correspond to the positioning holes in the same positions on the standard structure layout list, the comparison result can be output incorrectly, and an operator can judge the incorrect comparison result according to the comparison result.
The obtained comparison result may be in a text format (i.e., txt format), and the comparison result may include: the position or angle of a certain vertical terminal in the vertical terminal class is incorrect, the position of a screw hole is incorrect, a screw hole or a positioning hole is lacked, and the position of each structural element is correct.
By using the printed circuit board checking method provided by the embodiment of the application, the checking of the printed circuit board can be controlled by a designer, the checking is more convenient, the designer can realize self-checking in the design process, and the designer can design the printed circuit board conveniently.
In summary, the embodiment of the present application provides a method for checking a printed circuit board, the method includes obtaining a standard structure layout list corresponding to the printed circuit board to be checked, where the standard structure layout list includes parameters of a plurality of structural elements, the plurality of structural elements includes at least one screw hole, obtaining a matching parameter between each screw hole in the standard structure layout list and a reference screw hole, determining a screw hole with a largest matching parameter in the standard structure layout list as a target screw hole, moving each structural element in the standard structure layout list according to a moving parameter of the target screw hole moving to the reference screw hole, comparing each structural element in the printed circuit board to be checked with a structural element in the standard structure layout list, obtaining a comparison result, comparing the structural elements when the matching parameter is largest, and obtaining the comparison result accurately.
The problems that in the related art, a printed circuit board lacks self-checking in the design process, manual checking efficiency is low, and risks such as missing detection and error detection exist are solved. The effects of improving the auditing efficiency and reducing the risks of missing detection, false detection and the like are achieved.
In an exemplary embodiment, the printed circuit board checking method provided by the embodiment of the present application is implemented by a program of a terminal, please refer to fig. 7, which is a flowchart of the printed circuit board checking method provided by the embodiment of the present application implemented by the program of the terminal. The method comprises the steps of starting a program, initializing the program, judging whether an annotation character is recorded in a printed circuit board to be checked or not, determining a standard structure name corresponding to the printed circuit board to be checked according to the annotation character when the printed circuit board is subjected to annotation character routing, acquiring a standard structure layout list corresponding to the standard structure name, classifying each structural element in the standard structure layout list according to a positioning packaging list, classifying each structural element in the printed circuit board to be checked according to the positioning packaging list, wherein the classes can comprise screw holes, positioning holes and vertical terminal classes, matching the screw holes in the standard structure layout list with reference screw holes, comparing each structural element in the printed circuit board to be checked with the structural element at the corresponding position of the standard structure layout list, and comparing each structural element in the standard structure layout list with the structural element in the printed circuit board to be checked, and outputting a comparison result, and finishing the program.
Please refer to fig. 8, which is a flowchart illustrating matching of screw holes in the standard layout list with reference screw holes shown in fig. 7.
Selecting a screw hole as a reference screw hole in a printed circuit board to be checked, selecting a screw hole in a standard structure layout list, obtaining the offset on a horizontal axis and the offset on a vertical axis when the screw hole moves to the reference screw hole, moving each structural element in the standard structure layout list according to the offset of the screw hole on the horizontal axis and the offset on the vertical axis, recording the number of coincidences of the structural elements in the printed circuit board to be checked and the standard structure layout list, repeating the steps of selecting the screw hole in the standard structure layout list and recording the number of coincidences of the structural elements until each screw hole in the standard structure layout list has the number of coincidences of the corresponding structural elements, selecting the screw hole with the maximum number of coincidences of the structural elements to be matched with the reference screw hole, and selecting the offset on the horizontal axis and the offset on the vertical axis when the screw hole moves to the reference screw hole, each structural element in the standard structural layout list is moved.
Fig. 9 is a block diagram of a printed circuit board checking apparatus according to an embodiment of the present application. Referring to fig. 9, the printed circuit board checking apparatus 900 may include:
the first obtaining module 901 is configured to obtain a standard structure layout list corresponding to a printed circuit board to be checked, where the standard structure layout list includes parameters of a plurality of structural elements, and the plurality of structural elements include at least one screw hole.
A second obtaining module 902, configured to obtain matching parameters of each screw hole in the standard structure layout list and a reference screw hole, where the reference screw hole is a screw hole on the printed circuit board to be checked.
Optionally, the second obtaining module 902 may further be configured to:
moving each structural element in the standard structure layout list according to the moving parameter of any screw hole in the standard structure layout list to move to the reference screw hole;
acquiring the number of coincidences of structural elements on the printed circuit board to be checked and structural elements in the standard structure layout list, wherein the coincidence of the structural elements means that the structural elements in the printed circuit board to be checked and the structural elements in the standard structure layout list are located at the same positions and are the same structural elements;
and determining the coincidence quantity as a matching parameter of any screw hole and the reference screw hole.
A determining module 903, configured to determine a screw hole with the largest matching parameter in the standard structure layout list as a target screw hole.
And a moving module 904, configured to move each structural element in the standard structural layout list according to the moving parameter of the target screw hole moving to the reference screw hole.
The comparison module 905 is configured to compare each structural element in the printed circuit board to be checked with a structural element in the standard structure layout list, and obtain a comparison result.
Optionally, fig. 10 is a schematic diagram of the first obtaining module 901 shown in fig. 9, and as can be seen with reference to fig. 10, the first obtaining module 901 may include:
and the determining submodule 9011 is used for determining a standard structure name corresponding to the printed circuit board to be checked.
The obtaining sub-module 9012 is configured to obtain a standard structure layout list corresponding to the standard structure name.
Optionally, fig. 11 is a schematic diagram of the determination submodule 9011 shown in fig. 10, and as can be seen with reference to fig. 11, the determination submodule 9011 may include:
and the judging unit 9011a is configured to judge whether the printed circuit board to be checked records an annotation character.
The determining unit 9011b is configured to determine, when the comment character is recorded in the printed circuit board to be checked, a standard structure name corresponding to the printed circuit board to be checked according to the comment character.
To sum up, the embodiment of the present application provides a printed circuit board inspection device, the device acquires a standard structure layout list corresponding to a printed circuit board to be inspected, the standard structure layout list includes parameters of a plurality of structural elements, the plurality of structural elements include at least one screw hole, acquires a matching parameter between each screw hole in the standard structure layout list and a reference screw hole, determines a screw hole with a largest matching parameter in the standard structure layout list as a target screw hole, moves each structural element in the standard structure layout list according to a moving parameter of the target screw hole moving to the reference screw hole, compares each structural element in the printed circuit board to be inspected with the structural element in the standard structure layout list, acquires a comparison result, compares the structural elements when the matching parameter is largest, and the comparison result is accurate. The problems that in the related art, a printed circuit board lacks self-checking in the design process, manual checking efficiency is low, and risks such as missing detection and error detection exist are solved. The effects of improving the auditing efficiency and reducing the risks of missing detection, false detection and the like are achieved.
Referring to fig. 12, a schematic structural diagram of a printed circuit board checking apparatus 1200 according to an embodiment of the present application is shown, where the printed circuit board checking apparatus 1200 may be a server. Illustratively, as shown in FIG. 12, the apparatus 1200 includes a Central Processing Unit (CPU)1201, a system memory 1204 including a Random Access Memory (RAM)1202 and a Read Only Memory (ROM)1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The apparatus 1200 also includes a basic input/output system (I/O system) 1206 for facilitating information transfer between various devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for user input of information. Wherein a display 1208 and an input device 1209 are connected to the central processing unit 1201 through an input-output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input/output controller 1210 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the apparatus 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, computer-readable storage media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.
According to various embodiments of the present application, the apparatus 1200 may also operate as a remote computer connected to a network via a network, such as the Internet. That is, the apparatus 1200 may be connected to the network 1212 through a network interface unit 1211 connected to the system bus 1205, or may be connected to another type of network or remote computer system (not shown) using the network interface unit 1211.
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU to implement the method provided by the embodiment of the present application.
The embodiment of the application further provides printed circuit board checking equipment, which comprises a processor and a memory, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to realize the printed circuit board checking method provided by the method embodiment.
The embodiment of the present application further provides a computer storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the computer storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the printed circuit board checking method provided in the above method embodiment.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for printed circuit board inspection, the method comprising:
acquiring a standard structure layout list corresponding to a printed circuit board to be checked, wherein the standard structure layout list comprises parameters of a plurality of structural elements, and the plurality of structural elements comprise at least one screw hole;
acquiring matching parameters of each screw hole and a reference screw hole in the standard structure layout list, wherein the reference screw hole is a screw hole on the printed circuit board to be checked;
determining the screw hole with the maximum matching parameter in the standard structure layout list as a target screw hole;
moving each structural element in the standard structure layout list according to the moving parameter of the target screw hole moving to the reference screw hole;
and comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list to obtain a comparison result.
2. The method according to claim 1, wherein the obtaining of the matching parameters of any screw hole in the standard structural layout list and the reference screw hole comprises:
moving each structural element in the standard structure layout list according to the moving parameter of any screw hole moving to the reference screw hole;
acquiring the number of coincidences of the structural elements on the printed circuit board to be checked and the structural elements in the standard structure layout list, wherein the coincidence of the structural elements means that the structural elements in the printed circuit board to be checked and the structural elements in the standard structure layout list are located at the same positions and are the same structural elements;
and determining the coincidence quantity as a matching parameter of any screw hole and the reference screw hole.
3. The method of claim 1, wherein obtaining the standard structure layout list corresponding to the printed circuit board to be checked comprises
Determining a standard structure name corresponding to the printed circuit board to be checked;
and acquiring a standard structure layout list corresponding to the standard structure name.
4. The method of claim 3, wherein the determining of the standard structure name corresponding to the printed circuit board to be checked comprises:
judging whether the printed circuit board to be checked records annotation characters;
and when the annotation character is recorded on the printed circuit board to be checked, determining the standard structure name corresponding to the printed circuit board to be checked according to the annotation character.
5. The method according to claim 1, wherein the comparing each structural element in the printed circuit board to be checked with the structural element in the standard structural layout list to obtain a comparison result comprises:
and comparing each structural element in the printed circuit board to be checked with the structural elements belonging to the same class in the standard structure layout list, and acquiring a comparison result.
6. The method according to claim 5, wherein the classes of the structural elements in the printed circuit board to be checked comprise a screw hole class, a positioning hole class and a vertical terminal class.
7. A printed circuit board inspection apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a verification module, wherein the first acquisition module is used for acquiring a standard structure layout list corresponding to a printed circuit board to be checked, the standard structure layout list comprises parameters of a plurality of structural elements, and the plurality of structural elements comprise at least one screw hole;
the second acquisition module is used for acquiring matching parameters of each screw hole in the standard structure layout list and a reference screw hole, wherein the reference screw hole is a screw hole in the printed circuit board to be checked;
the determining module is used for determining the screw hole with the largest matching parameter in the standard structure layout list as a target screw hole;
the moving module is used for moving each structural element in the standard structure layout list according to the moving parameter of the target screw hole moving to the reference screw hole;
and the comparison module is used for comparing each structural element in the printed circuit board to be checked with the structural elements in the standard structure layout list to obtain a comparison result.
8. The apparatus of claim 7, wherein the first obtaining module comprises:
the determining submodule is used for determining a standard structure name corresponding to the printed circuit board to be checked;
and the obtaining submodule is used for obtaining a standard structure layout list corresponding to the standard structure name.
9. A printed circuit board inspection apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the printed circuit board inspection method according to any one of claims 1 to 6.
10. A computer storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the printed circuit board inspection method according to any one of claims 1 to 6.
CN201911312927.8A 2019-12-18 2019-12-18 Printed circuit board checking method, device, equipment and computer storage medium Active CN113011125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911312927.8A CN113011125B (en) 2019-12-18 2019-12-18 Printed circuit board checking method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911312927.8A CN113011125B (en) 2019-12-18 2019-12-18 Printed circuit board checking method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN113011125A true CN113011125A (en) 2021-06-22
CN113011125B CN113011125B (en) 2023-01-10

Family

ID=76382497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911312927.8A Active CN113011125B (en) 2019-12-18 2019-12-18 Printed circuit board checking method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113011125B (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250440A (en) * 1992-03-04 1993-09-28 Nec Commun Syst Ltd Marking drawing preparation processing system
CN1549670A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method and apparatus for examining uniformity
US20050259874A1 (en) * 2004-05-20 2005-11-24 Dainippon Screen Mfg. Co., Ltd. Apparatus, method, and program for assisting in selection of pattern element for pattern matching
CN1744091A (en) * 2004-09-03 2006-03-08 华为技术有限公司 Standardized analyzing method and device for circuit basic diagram
US20100308853A1 (en) * 2009-06-05 2010-12-09 Hubbell Incorporated Method and apparatus for the prevention of untested or improperly tested printed circuit boards from being used in a fire pump control system
US20140192381A1 (en) * 2013-01-09 2014-07-10 Beijing Founder Electronics Co., Ltd. Layout information calibrating method and apparatus
CN105510348A (en) * 2015-12-31 2016-04-20 南京协辰电子科技有限公司 Flaw detection method and device of printed circuit board and detection equipment
CN107367682A (en) * 2017-06-26 2017-11-21 王俊 Printed circuit board repair method and system
CN107533577A (en) * 2016-02-25 2018-01-02 美商新思科技有限公司 Use the IC design of generation and the instantiation of master die
CN107563386A (en) * 2017-09-04 2018-01-09 广州视源电子科技股份有限公司 Component verification method, device, equipment and computer-readable recording medium
CN108140059A (en) * 2015-05-19 2018-06-08 明导公司 For the visualization of the analytic process parameter of the inspection based on layout
CN108198218A (en) * 2018-01-16 2018-06-22 深圳市亿图视觉自动化技术有限公司 Flexible circuit board positioning method, device and computer readable storage medium
CN108228785A (en) * 2017-12-28 2018-06-29 中国神华能源股份有限公司 The check method and check device of device parameter
CN109429473A (en) * 2017-08-28 2019-03-05 株洲中车时代电气股份有限公司 Automatic check method and device with polarity electronic component in circuit board
CN109743195A (en) * 2018-12-11 2019-05-10 中国联合网络通信集团有限公司 A kind of check method and device of security baseline
CN109858092A (en) * 2018-12-27 2019-06-07 遵义市水世界科技有限公司 Method, apparatus, computer equipment and the storage medium of PCB component placement
CN109963451A (en) * 2017-12-14 2019-07-02 中国科学院长春光学精密机械与物理研究所 A kind of localization method of printed circuit board component
CN110458441A (en) * 2019-08-06 2019-11-15 北京七鑫易维信息技术有限公司 Checking method, device, system and the storage medium of quality inspection
CN110508852A (en) * 2019-09-24 2019-11-29 太原理工大学 A kind of processing of structural member, assembly and detection Trinity hole location determine method
CN110516333A (en) * 2019-08-16 2019-11-29 苏州浪潮智能科技有限公司 Device layout methods, device, equipment and readable storage medium storing program for executing in a kind of PCB
CN110532578A (en) * 2018-05-24 2019-12-03 珠海格力电器股份有限公司 A kind of intelligent integral design method and platform
CN110530896A (en) * 2019-09-05 2019-12-03 珠海格力智能装备有限公司 Detection method and device, storage medium, processor

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05250440A (en) * 1992-03-04 1993-09-28 Nec Commun Syst Ltd Marking drawing preparation processing system
CN1549670A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Method and apparatus for examining uniformity
US20050259874A1 (en) * 2004-05-20 2005-11-24 Dainippon Screen Mfg. Co., Ltd. Apparatus, method, and program for assisting in selection of pattern element for pattern matching
CN1744091A (en) * 2004-09-03 2006-03-08 华为技术有限公司 Standardized analyzing method and device for circuit basic diagram
US20100308853A1 (en) * 2009-06-05 2010-12-09 Hubbell Incorporated Method and apparatus for the prevention of untested or improperly tested printed circuit boards from being used in a fire pump control system
US20140192381A1 (en) * 2013-01-09 2014-07-10 Beijing Founder Electronics Co., Ltd. Layout information calibrating method and apparatus
CN108140059A (en) * 2015-05-19 2018-06-08 明导公司 For the visualization of the analytic process parameter of the inspection based on layout
CN105510348A (en) * 2015-12-31 2016-04-20 南京协辰电子科技有限公司 Flaw detection method and device of printed circuit board and detection equipment
CN107533577A (en) * 2016-02-25 2018-01-02 美商新思科技有限公司 Use the IC design of generation and the instantiation of master die
CN107367682A (en) * 2017-06-26 2017-11-21 王俊 Printed circuit board repair method and system
CN109429473A (en) * 2017-08-28 2019-03-05 株洲中车时代电气股份有限公司 Automatic check method and device with polarity electronic component in circuit board
CN107563386A (en) * 2017-09-04 2018-01-09 广州视源电子科技股份有限公司 Component verification method, device, equipment and computer-readable recording medium
CN109963451A (en) * 2017-12-14 2019-07-02 中国科学院长春光学精密机械与物理研究所 A kind of localization method of printed circuit board component
CN108228785A (en) * 2017-12-28 2018-06-29 中国神华能源股份有限公司 The check method and check device of device parameter
CN108198218A (en) * 2018-01-16 2018-06-22 深圳市亿图视觉自动化技术有限公司 Flexible circuit board positioning method, device and computer readable storage medium
CN110532578A (en) * 2018-05-24 2019-12-03 珠海格力电器股份有限公司 A kind of intelligent integral design method and platform
CN109743195A (en) * 2018-12-11 2019-05-10 中国联合网络通信集团有限公司 A kind of check method and device of security baseline
CN109858092A (en) * 2018-12-27 2019-06-07 遵义市水世界科技有限公司 Method, apparatus, computer equipment and the storage medium of PCB component placement
CN110458441A (en) * 2019-08-06 2019-11-15 北京七鑫易维信息技术有限公司 Checking method, device, system and the storage medium of quality inspection
CN110516333A (en) * 2019-08-16 2019-11-29 苏州浪潮智能科技有限公司 Device layout methods, device, equipment and readable storage medium storing program for executing in a kind of PCB
CN110530896A (en) * 2019-09-05 2019-12-03 珠海格力智能装备有限公司 Detection method and device, storage medium, processor
CN110508852A (en) * 2019-09-24 2019-11-29 太原理工大学 A kind of processing of structural member, assembly and detection Trinity hole location determine method

Also Published As

Publication number Publication date
CN113011125B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
US11604916B2 (en) Method, system, and electronic device for detecting open/short circuit of PCB design layout
US7293204B2 (en) Computer peripheral connecting interface system configuration debugging method and system
US20120185819A1 (en) System and method for verifying pcb layout
CN110222381B (en) Method, system, medium and terminal for generating dynamic installation guide file for PCB assembly
CN110688111A (en) Configuration method, device, server and storage medium of business process
CN109189688B (en) Test case script generation method and device and electronic equipment
CN110795464A (en) Method, device, terminal and storage medium for checking field of object marker data
CN113011125B (en) Printed circuit board checking method, device, equipment and computer storage medium
CN116820193A (en) Cable connection correctness recognition system, method, device, equipment and storage medium
US20100269080A1 (en) Computer-aided design system and method for simulating pcb specifications
CN111078529B (en) Client writing module testing method and device and electronic equipment
CN109388685B (en) Method and device for warehousing spatial data used by planning industry
CN115658692A (en) Proof-reading analysis method and device suitable for schematic diagram netlist and electronic equipment
CN115761778A (en) Document reconstruction method, device, equipment and storage medium
CN113378502B (en) Test method, device, medium and equipment for verifying signal trend code matching
CN111080209B (en) BOM verification method, system, device and storage medium
CN112631852B (en) Macro checking method, macro checking device, electronic equipment and computer readable storage medium
CN113360402A (en) Test method, electronic device, chip and storage medium
CN112966671A (en) Contract detection method and device, electronic equipment and storage medium
CN113238940A (en) Interface test result comparison method, device, equipment and storage medium
US7496873B2 (en) Method and system for determining required quantity of testing points on a circuit layout diagram
CN115481596A (en) Method, apparatus, device and medium for correcting offset of assembled printed circuit board model
CN111542175B (en) Component packaging comparison method and related device
CN112580291B (en) Method and equipment for carrying out integrated circuit experiment
CN115659882A (en) Circuit diagram checking method, circuit diagram checking device, computer 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