CN116538904A - Detection method and system for differential line routing of PCB and electronic equipment - Google Patents
Detection method and system for differential line routing of PCB and electronic equipment Download PDFInfo
- Publication number
- CN116538904A CN116538904A CN202310389064.4A CN202310389064A CN116538904A CN 116538904 A CN116538904 A CN 116538904A CN 202310389064 A CN202310389064 A CN 202310389064A CN 116538904 A CN116538904 A CN 116538904A
- Authority
- CN
- China
- Prior art keywords
- differential line
- line segment
- target
- determining
- differential
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title abstract description 16
- 230000007704 transition Effects 0.000 claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 11
- 238000007689 inspection Methods 0.000 abstract description 5
- 230000007547 defect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 16
- 238000010168 coupling process Methods 0.000 description 13
- 238000005859 coupling reaction Methods 0.000 description 13
- 230000008878 coupling Effects 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000013461 design Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 239000003365 glass fiber Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/14—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring distance or clearance between spaced objects or spaced apertures
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/004—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring coordinates of points
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/02—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/30—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
Abstract
The invention provides a detection method, a system and electronic equipment for PCB differential line routing, wherein the method comprises the following steps: dividing the differential line through inflection points on the differential line to obtain a plurality of differential line segments; determining a target differential line segment, in which two signal lines are not parallel, from a plurality of differential line segments; determining whether the target differential line segment belongs to a transition type differential line segment based on the target differential line segment and a first differential line segment and a second differential line segment which are adjacent to two ends of the target differential line segment; and detecting whether the differential line segment to be detected is qualified or not for the target differential line segment belonging to the transition type, and determining the differential line segment to be detected as a disqualified target differential line segment for the target differential line segment which is not qualified for the transition type and/or the target differential line segment which is disqualified for the differential line segment to be detected. The method provided by the invention can solve the defects of low manual inspection efficiency and insufficient inspection results.
Description
Technical Field
The invention belongs to the field of PCB wiring, and particularly relates to a detection method, a detection system and electronic equipment for PCB differential line routing.
Background
In the design of a PCB, in order to reduce the glass fiber effect, a 10-degree wire is used for replacing a 45-degree wire for a differential pair of a high-speed signal, so that the differential pair of the high-speed wire is more gentle, the influence of uneven dielectric constants of a substrate caused by glass fibers of a plate can be effectively reduced, the consistency of effective dielectric constants on a high-speed path is effectively ensured, the 10-degree wire is easy to deform in the wire pushing process, the coupling is obviously lost in some places, the coupling is slightly lost in other places, the local part of the PCB is amplified and can be carefully inspected to be seen, and the tiny part is difficult to inspect for the PCB with dense high-speed wires, but the transmission of the high-speed signal is influenced by the part losing the coupling, and the integrity of the signal is influenced, so that the deformation of the differential wire generated in the wire pushing process is detected to be an urgent problem to be solved.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a method, a system, and an electronic device for detecting differential wires of a PCB board, so as to overcome or at least partially solve the above problems.
In a first aspect of the embodiment of the present application, a method for detecting differential pair routing of a PCB board is provided, where the method includes:
dividing the differential line through inflection points on the differential line to obtain a plurality of differential line segments;
determining a target differential line segment, in which two signal lines are not parallel, from a plurality of differential line segments;
determining whether the target differential line segment belongs to a transition type differential line segment based on the target differential line segment and a first differential line segment and a second differential line segment which are adjacent to two ends of the target differential line segment;
detecting whether the differential line segment to be detected is qualified or not for a target differential line segment belonging to the transition type, wherein the differential line segment to be detected comprises the first differential line segment and the second differential line segment; and determining the target differential line segment which does not belong to the transition type and/or the target differential line segment which is unqualified by the differential line segment to be detected and belongs to the transition type as an unqualified target differential line segment.
Optionally, before determining a target differential line segment, which is not parallel to two signal lines, from the differential line segments, the method includes:
determining an end differential line segment with one end connected with a via hole or a device pin from a plurality of differential line segments;
the determining, from the plurality of differential line segments, a target differential line segment in which two signal lines are not parallel, includes:
and determining a target differential line segment, of which two signal lines are not parallel, from a plurality of differential line segments except for the end differential line segment.
Optionally, the determining a target differential line segment that two signal lines are not parallel in the differential line segment includes:
respectively obtaining a first slope and a second slope corresponding to the two signal lines in the differential line segment;
and determining the target differential line segment with the two signal lines not parallel based on the first slope and the second slope.
Optionally, the determining whether the target differential line segment belongs to a differential line segment of a transition type based on the target differential line segment and a first differential line segment and a second differential line segment adjacent to two ends of the target differential line segment includes:
determining whether the first differential line segment is parallel to the second differential line segment;
and under the condition that the first differential line segment is parallel to the second differential line segment, determining that the target differential line segment belongs to the transition type.
Optionally, the detecting whether the differential line segment to be detected is qualified includes:
determining the distance between two signal lines in the differential line segment to be tested;
and determining whether the differential line segment to be detected is qualified or not based on the distance.
Optionally, the determining whether the differential line segment to be tested is qualified based on the distance includes:
acquiring the impedance of the differential line segment to be detected;
acquiring the first preset distance based on the impedance;
when the distance meets the first preset distance, determining that the differential line segment to be detected is qualified;
and when the distance does not meet the first preset distance, determining the differential line segment to be detected as a secondary differential line segment to be detected. Optionally, under the condition that the differential line segment to be tested is determined to be the secondary differential line segment to be tested, determining whether the differential line segment to be tested is qualified includes:
acquiring the line width of any signal line in the secondary differential line segment to be detected;
acquiring a second preset distance and a preset line length based on the line width;
and when the distance meets a second preset distance and the line length meets a preset line length, determining that the differential line segment to be tested is qualified.
Optionally, in the case that the target differential line segment is determined to belong to a failed target differential line segment, the method further includes:
and highlighting the target differential line segment, acquiring the coordinate position of the target differential line segment, and generating a coordinate file.
In a second aspect of the embodiments of the present application, a detection system for differential line pair routing of a PCB board is provided, the system includes:
the acquisition module is used for dividing the differential line through inflection points on the differential line to acquire a plurality of differential line segments;
the first determining module is used for determining a target differential line segment, of which two signal lines are not parallel, from a plurality of differential line segments;
the second determining module is used for determining whether the target differential line segment belongs to a transition type differential line segment or not based on the target differential line segment and a first differential line segment and a second differential line segment which are adjacent to two ends of the target differential line segment;
the third determining module is used for detecting whether the differential line segment to be detected is qualified or not for the target differential line segment belonging to the transition type, wherein the differential line segment to be detected comprises the first differential line segment and the second differential line segment;
and the fourth determining module is used for determining the target differential line segment which does not belong to the transition type and/or the target differential line segment which is unqualified by the differential line segment to be detected and belongs to the transition type as an unqualified target differential line segment.
In a third aspect of the embodiment of the present invention, an electronic device is provided, where the electronic device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the method for detecting a differential wire trace of a PCB board provided in the first aspect of the embodiment of the present invention is implemented.
The detection method of the differential wiring on the PCB provided by the application is applied to the detection of the differential wiring on the PCB, and comprises the following steps: dividing the differential line through inflection points on the differential line to obtain a plurality of differential line segments; determining a target differential line segment, in which two signal lines are not parallel, from a plurality of differential line segments; determining whether the target differential line segment belongs to a transition type differential line segment based on the target differential line segment and a first differential line segment and a second differential line segment which are adjacent to two ends of the target differential line segment; detecting whether the differential line segment to be detected is qualified or not for a target differential line segment belonging to the transition type, wherein the differential line segment to be detected comprises the first differential line segment and the second differential line segment; and determining the target differential line segment which does not belong to the transition type and/or the target differential line segment which is unqualified by the differential line segment to be detected as an unqualified target differential line segment.
The method provided by the invention has the advantages that whether the differential wiring has an unparallel part or not can be automatically detected, the time for checking the high-speed wiring can be reduced, the condition of discontinuous signal impedance is avoided, the signal integrity of the high-speed signal is enhanced, and the anti-interference capability of the high-speed signal is improved; the defects of low manual inspection efficiency and insufficient inspection results are overcome, the quick positioning is realized for a designer, the design time is shortened, and the working efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a differential wiring of a PCB board provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a local amplified differential line trace of a PCB according to an embodiment of the present disclosure;
fig. 3 is a step flowchart of a method for detecting differential line traces of a PCB according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an inflection point dividing differential line according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a detection system for differential line routing of a PCB according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings in the embodiments of the present application. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Routing of many different signals may be involved in PCB design, where routing of high speed signals is particularly important. The high speed signals are transmitted in a differential transmission manner in the PCB design, and the pair of transmission lines is also called a differential pair. With the increase of signal rate, differential transmission is increasingly widely used, and in fact, a differential pair is a transmission line with coupling, and when two or more circuits form a network, if a current or voltage in one circuit changes, other circuits can be affected, and the network is called a coupling circuit. The coupling serves to transfer (or convert) the energy of one circuit to another.
Referring to fig. 1, fig. 1 is a schematic diagram of a differential wiring of a PCB board according to an embodiment of the present disclosure; the difference line which is out of coupling can be obviously seen in the rectangular frame in fig. 1, but only the out-of-coupling places which can be seen by naked eyes of people are out of coupling, and some tiny out-of-coupling places cannot be directly seen, and referring to fig. 2, fig. 2 is a schematic diagram of the local amplified difference line wiring of the PCB provided by the embodiment of the application; in the figure, the differential line pair in the black rectangular frame cannot be directly observed by naked eyes, and the PCB is possibly observed by amplifying, but the manual identification has a large error and randomness, so the invention provides a detection method for the differential line routing of the PCB to detect the uncoupling differential line which is not easy to observe, thereby reducing the manual workload, improving the efficiency and improving the detection precision.
3W2S principle: the 3 times line width and 2 times distance of the differential pair are used for equal length matching between the two differential lines.
Example 1
Referring to fig. 3, fig. 3 is a step flowchart of a method for detecting differential line routing of a PCB according to an embodiment of the present application, where steps in the step flowchart include:
step S101: and dividing the differential line through inflection points on the differential line to obtain a plurality of differential line segments.
In this embodiment, before specific division is performed, connection of the differential pair flying lines needs to be completed, meanwhile, errors occurring in DRC (Design Rules Check, design rule checking) are cleared, 10-degree line routing of the differential pair needing to be routed is completed, equal lengths of the differential lines needing to be made by the differential pair are matched according to rules; checking that the bonding pad of the differential line passes through the hollowing of the areas such as the holes; checking the reference condition of the corresponding reference layer of the differential pair, basically completing all the operation of the differential lines, generally not modifying the wiring of the high-speed lines, and detecting the wiring of the differential lines of the PCB after the operation is completed.
Firstly, setting a coordinate origin according to a PCB, then identifying a differential line on the PCB, dividing a group of complete differential lines according to inflection points on the differential line, and referring to FIG. 4, FIG. 4 is a schematic diagram of inflection point division differential lines provided by the embodiment of the application; in the figure, the differential line is two signal transmission lines, two signals are respectively recorded as DP and DN, the amplitudes of the two signals are the same, the phases and the polarities are opposite, the inflection point is a point where turning occurs in the wiring process of the two signal transmission lines in the differential line pair, namely A, B, c..etc. on the DN in the figure, coordinates of the inflection point can be identified through software, and the differential line can be divided along the X axis in sequence according to the abscissa of the inflection point, as shown by a dashed line in the figure, the inflection point on the differential line extends along the Y axis on the DN transmission line through the dashed line and is connected with another signal line DP, so that the division of the differential line is completed, and a plurality of differential line segments are obtained, for example: the signal line segment AB and the signal line segment AB are a differential line segment.
By dividing the differential lines existing on the PCB in this way, the PCB is provided with differential lines of various impedance types, the embodiment uses differential lines of one impedance type for illustration, the differential lines of other types of impedance are divided in this way, after the division is completed, a plurality of differential line segments can be obtained, and the position coordinates of each differential line segment can be known, wherein the position coordinates comprise the start coordinates and the end coordinates of the transmission line segments in each differential line segment.
Step S102: and determining a target differential line segment, in which two signal lines are not parallel, from the plurality of differential line segments.
In this embodiment, referring to fig. 4, a target differential line segment, in which two signals are not parallel, is determined from a plurality of differential line segments, for example, a signal line segment AB and a signal line segment AB, a signal line segment BC and a signal line segment BC, and a signal line segment DE in fig. 4.
Step S103: and determining whether the target differential line segment belongs to a transition type differential line segment or not based on the target differential line segment and a first differential line segment and a second differential line segment which are adjacent to two ends of the target differential line segment.
In this embodiment, according to the target differential line segment, and the first differential line segment and the second differential line segment adjacent to the two ends of the target differential line segment, it may be determined whether the target differential line segment belongs to a transition type differential line segment, and since in the process of pushing the actual differential line, there are two pushing manners, the first pushing manner: pushing wires according to the fact that the two signal wires are parallel and the distance between the two signal wires is fixed, wherein the second wire pushing mode is as follows: the two signal lines are pushed according to the 3W2S principle, the 3W2S principle is that the equal length matching between the two differential lines is carried out on the 3 times line width and the 2 times distance of the differential pair, so that on the actual differential line, unnecessary target differential line segments which affect coupling due to other reasons and necessary target differential line segments which affect coupling due to pushing according to the first mode or the second mode are present, the necessary target differential line segments are unavoidable, the unnecessary target differential line segments can be avoided, therefore, unnecessary differential line segments in the target differential line segments need to be screened out, and whether the target differential line segments are differential line segments belonging to the transition type or not can be judged by acquiring a first differential line segment and a second differential line segment which are connected adjacently to the target differential line segments.
Because the necessary target differential line segment needs to meet the condition that the differential line segments are not parallel due to the switching of the first line pushing mode and the second line pushing mode, one of the two first differential line segments and the second differential line segments adjacent to the necessary target differential line segment necessarily meets the first line pushing mode, the other one meets the second line pushing mode, and whether the target differential line is qualified can be verified through the result of line pushing in two modes. The first push line mode and the second push line mode can generate parallel differential lines, and if the differential lines at two ends of a target differential line segment are parallel lines, the target differential line is a transition type differential line.
Step S104: determining whether the differential line segments to be detected in two adjacent target differential line segments are qualified or not according to the target differential line segments belonging to the transition type, wherein the differential line segments to be detected comprise the first differential line segment and the second differential line segment;
in this embodiment, for the target differential line belonging to the transition type, it is further required to detect whether the first differential line segment and the second differential line segment are differential line segments arranged in accordance with the first push line mode or the second push line mode, and only when the first differential line segment satisfies the first push line mode, the second differential line segment satisfies the second push line mode, or the first differential line segment satisfies the second push line mode, the target differential line segment is the necessary differential line segment. Here, it should be noted that when the first differential line segment and the second differential line segment pass through a push line mode, there is no inflection point, and there is no problem, so that no judgment is needed.
Step S105: and determining the target differential line segment which does not belong to the transition type and/or the target differential line segment which is unqualified by the differential line segment to be detected and belongs to the transition type as an unqualified target differential line segment.
In this embodiment, in connection with the target differential line segment not belonging to the transition type, in fig. 4, it is assumed that the signal line segments EF and EF are differential line segments arranged in accordance with the second push line mode, that is, in accordance with the 3W2S principle, the signal line segments CD and CD are differential line segments arranged in accordance with the first push line mode, and it can be known through the foregoing steps 1 to 4 that the signal line segments AB and AB, the signal line segments BC and BC in the target differential line segment are disqualified target differential line segments, and the signal line segments DE and DE are qualified target differential line segments.
In one embodiment, before determining a target differential line segment, in which two signal lines are not parallel, from among the plurality of differential line segments, the method includes: determining an end differential line segment with one end connected with a via hole or a device pin from a plurality of differential line segments; the determining, from the plurality of differential line segments, a target differential line segment in which two signal lines are not parallel, includes: and determining a target differential line segment, of which two signal lines are not parallel, from a plurality of differential line segments except for the end differential line segment.
In this embodiment, since the end of the differential line or the end of the differential line is connected to the via or the device pin, it is ensured that the differential line number can be input into the differential line, and since some features of the via or the device pin may cause the differential line segment connected to the via or the device pin to be unparallel, the phenomenon that the differential line segment is unparallel cannot be avoided, and therefore, before determining the target differential line segment in which two signal lines are unparallel, the influence of the via or the device pin needs to be identified, so that it is required to determine that there is an end differential line segment of the signal line segment, where one end of the signal line segment is connected to the via or the device pin; and determining a target differential line segment with non-parallel two signal lines in the differential line segments from the plurality of differential line segments, and determining the target differential line segment with non-parallel two signal lines in the differential line segments from the plurality of differential line segments after the end differential line segments are eliminated.
In one embodiment, the determining a target differential line segment in which two signal lines are not parallel in the differential line segment includes: respectively obtaining a first slope and a second slope corresponding to the two signal lines in the differential line segment; and determining the target differential line segment with the two signal lines not parallel based on the first slope and the second slope.
In this embodiment, since the coordinate system is established in the PCB board, the coordinate positions of the two ends of the two signal lines may be determined respectively, and the first slope and the second slope corresponding to the two ends may be calculated according to the coordinate positions of the two ends, and when the first slope and the second slope are not equal, the differential line segment where the two signal lines are located is determined to be the target differential line segment.
In one embodiment, the determining whether the target differential line segment belongs to a differential line segment of a transition type based on the target differential line segment and a first differential line segment and a second differential line segment adjacent to two ends of the target differential line segment includes: determining whether the first differential line segment is parallel to the second differential line segment; and under the condition that the first differential line segment is parallel to the second differential line segment, determining that the target differential line segment belongs to the transition type.
In this embodiment, by detecting whether two signals in the first differential line segment and the second differential line segment are parallel, it can be determined whether there is a possibility that the differential line segments are not parallel due to the switching between the first push line mode and the second push line mode, and the two signal lines in the differential line segment obtained by the differential line segment arranged in any mode are parallel, so that a transition type is introduced to screen the parallel differential line segments which do not satisfy the first push line mode or the second push line mode.
In one embodiment, the detecting whether the differential line segment to be tested is qualified includes: determining the distance between two signal lines in the differential line segment to be tested; and determining whether the differential line segment to be detected is qualified or not based on the distance.
In this embodiment, there may be a line segment that fails to meet the target differential line segment of the transition type, and although the line segment meets the characteristics of the parallel differential line segments, it is uncertain whether the first differential line segment or the second differential line segment of the differential line segment arranged in the first push line mode or the second push line mode meets the standard, so that specific detection is performed on the line length or the line distance between the first differential line segment and the second differential line segment to determine whether the differential line arranged in the first push line mode or the second push line mode meets the standard under the condition that some values are set.
In one embodiment, the determining whether the differential line segment to be tested is qualified based on the distance includes: acquiring the impedance of the differential line segment to be detected; acquiring the first preset distance based on the impedance; when the distance meets the first preset distance, determining that the differential line segment to be detected is qualified; and when the distance does not meet the first preset distance, determining the differential line segment to be detected as a secondary differential line segment to be detected.
In this embodiment, it is first determined whether the differential line segment to be tested meets a first line pushing mode, where the first line pushing mode is that the line distance is determined under the condition of determining the impedance, then the impedance of the differential line segment to be tested can be obtained first, the first preset distance can be known by looking up the wiring table to know the line distance corresponding to the impedance, if the line distance of the differential line segment to be tested meets the first preset distance, the differential line segment to be tested is correct and meets the standard, if the differential line segment to be tested does not meet the first preset distance, the second line pushing mode is likely to be met, the differential line segment to be tested is regarded as a second differential line segment to be tested, and the next step of detection is performed to determine whether the differential line segment to be tested is qualified.
In one embodiment, in the case of determining that the differential line segment to be measured is a secondary differential line segment to be measured, determining whether the differential line segment to be measured is qualified includes: acquiring the line width of any signal line in the secondary differential line segment to be detected; acquiring a second preset distance and a preset line length based on the line width; and when the distance meets a second preset distance and the line length meets a preset line length, determining that the differential line segment to be tested is qualified.
In this embodiment, when it is determined that the differential line segment to be measured is the second differential line segment to be measured, it is indicated that it does not conform to the first line pushing mode, then it is required to verify whether the second line pushing mode is satisfied, then according to the rule of the second line pushing mode, it is required to know the line width of any signal line in the second differential line segment to be measured, therefore, the line widths of two signal lines in the differential line are consistent, only the line width of any signal line is obtained, according to the principle of the second line pushing, a second preset distance and a preset line length are obtained, and by identifying the coordinates of two signal lines in the second differential line segment to be measured, it is required to determine that the line distance and the line length of the second differential line segment to be measured are qualified, and when the distance satisfies the second preset distance and the line length satisfies the preset line length, it is required to simultaneously satisfy the line width of any signal line in the differential line segment to be measured, and then it is required to determine that the differential line segment to be measured is qualified.
In one embodiment, in a case where it is determined that the target differential line segment belongs to a failed target differential line segment, the method further includes: and highlighting the target differential line segment, acquiring the coordinate position of the target differential line segment, and generating a coordinate file.
In this embodiment, in order to facilitate the designer to observe, under the condition that it is determined that the target differential line segment belongs to the unqualified target differential line segment, the target differential line segment is automatically highlighted, the coordinate position of the target differential line segment is extracted, a coordinate file is generated, and the designer can lock and position the coordinate of the target differential line by clicking the coordinate position in the coordinate file, so that the designer can conveniently adjust the target differential line segment next to each other.
Example two
Referring to fig. 5, fig. 5 is a schematic diagram of a detection system for differential line routing of a PCB according to an embodiment of the present disclosure; the system comprises: the device comprises an acquisition module 501, a first determination module 502, a second determination module 503, a third determination module 504 and a fourth determination module.
The obtaining module 501 is configured to divide the differential line through an inflection point on the differential line, and obtain a plurality of differential line segments.
The first determining module 502 is configured to determine, from the plurality of differential line segments, a target differential line segment in which two signal lines are not parallel.
The second determining module 503 is configured to determine whether the target differential line segment belongs to a differential line segment of a transition type, based on the target differential line segment, and a first differential line segment and a second differential line segment that are adjacent to two ends of the target differential line segment.
And a third determining module 504, configured to detect, for a target differential line segment belonging to the transition type, whether the differential line segment to be detected is qualified, where the differential line segment to be detected includes the first differential line segment and the second differential line segment.
A fourth determining module 505, configured to determine the target differential line segment that does not belong to the transition type and/or the target differential line segment that is not qualified by the differential line segment to be tested and belongs to the transition type as a non-qualified target differential line segment.
Through the detecting system of PCB board differential line that this application embodiment provided, high-speed signal difference in the inspection PCB board can discern the deformation part at the little differential line of unaware of artifical naked eye, detects the differential line that loses the coupling that is difficult to observe, reduces manual work load, when improving efficiency, also can improve detection precision, guarantees differential line transmission signal's integrality.
Example III
In a third aspect of the embodiment of the present invention, an electronic device is provided, where the electronic device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the method for detecting a differential wire trace of a PCB board provided in the first aspect of the embodiment of the present invention is implemented.
In this embodiment, referring to fig. 6, fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention; as shown in fig. 6, the electronic device 100 includes: the memory 110 and the processor 120 are connected through bus communication, and a computer program is stored in the memory 110 and can run on the processor 120, so that the method for detecting the differential wiring of the PCB board according to the first aspect of the embodiment of the application is realized.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The detection method, the detection system and the electronic equipment for the PCB differential line routing provided by the invention are described in detail, and specific examples are applied to the explanation of the principle and the implementation mode of the invention, and the explanation of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.
Claims (10)
1. The method for detecting the differential line pair wiring of the PCB is characterized by comprising the following steps of:
dividing the differential line through inflection points on the differential line to obtain a plurality of differential line segments;
determining a target differential line segment, in which two signal lines are not parallel, from a plurality of differential line segments;
determining whether the target differential line segment belongs to a transition type differential line segment based on the target differential line segment and a first differential line segment and a second differential line segment which are adjacent to two ends of the target differential line segment;
detecting whether the differential line segment to be detected is qualified or not for a target differential line segment belonging to the transition type, wherein the differential line segment to be detected comprises the first differential line segment and the second differential line segment;
and determining the target differential line segment which does not belong to the transition type and/or the target differential line segment which is unqualified by the differential line segment to be detected as an unqualified target differential line segment.
2. The method of claim 1, wherein the method comprises, prior to determining a target differential line segment from the plurality of differential line segments, the two signal lines of the differential line segments being non-parallel to each other:
determining an end differential line segment with one end connected with a via hole or a device pin from a plurality of differential line segments;
the determining, from the plurality of differential line segments, a target differential line segment in which two signal lines are not parallel, includes:
and determining a target differential line segment, of which two signal lines are not parallel, from a plurality of differential line segments except for the end differential line segment.
3. The method of claim 1, wherein determining a target differential line segment in which two signal lines are not parallel comprises:
respectively obtaining a first slope and a second slope corresponding to the two signal lines in the differential line segment;
and determining the target differential line segment with the two signal lines not parallel based on the first slope and the second slope.
4. The method of claim 1, wherein the determining whether the target differential line segment belongs to a transition type differential line segment based on the target differential line segment and a first differential line segment and a second differential line segment adjacent to both ends of the target differential line segment comprises:
determining whether the first differential line segment is parallel to the second differential line segment;
and under the condition that the first differential line segment is parallel to the second differential line segment, determining that the target differential line segment belongs to the transition type.
5. The method of claim 1, wherein the detecting whether the differential line segment under test is acceptable comprises:
determining the distance between two signal lines in the differential line segment to be tested;
and determining whether the differential line segment to be detected is qualified or not based on the distance.
6. The method of claim 5, wherein determining whether the differential line segment under test is acceptable based on the distance comprises:
acquiring the impedance of the differential line segment to be detected;
acquiring the first preset distance based on the impedance;
when the distance meets the first preset distance, determining that the differential line segment to be detected is qualified;
and when the distance does not meet the first preset distance, determining the differential line segment to be detected as a secondary differential line segment to be detected.
7. The method of claim 6, wherein, in the case of determining that the differential line segment to be measured is a secondary differential line segment to be measured, determining whether the differential line segment to be measured is acceptable comprises:
acquiring the line width of any signal line in the secondary differential line segment to be detected;
acquiring a second preset distance and a preset line length based on the line width;
and when the distance meets a second preset distance and the line length meets a preset line length, determining that the differential line segment to be tested is qualified.
8. The method of claim 1, wherein in the event that the target differential line segment is determined to belong to a failed target differential line segment, further comprising:
and highlighting the target differential line segment, acquiring the coordinate position of the target differential line segment, and generating a coordinate file.
9. A system for detecting differential line pair routing of a PCB board, the system comprising:
the acquisition module is used for dividing the differential line through inflection points on the differential line to acquire a plurality of differential line segments;
the first determining module is used for determining a target differential line segment, of which two signal lines are not parallel, from a plurality of differential line segments;
the second determining module is used for determining whether the target differential line segment belongs to a transition type differential line segment or not based on the target differential line segment and a first differential line segment and a second differential line segment which are adjacent to two ends of the target differential line segment;
the third determining module is used for detecting whether the differential line segment to be detected is qualified or not for the target differential line segment belonging to the transition type, wherein the differential line segment to be detected comprises the first differential line segment and the second differential line segment;
and the fourth determining module is used for determining the target differential line segment which does not belong to the transition type and/or the target differential line segment which is unqualified by the differential line segment to be detected and belongs to the transition type as an unqualified target differential line segment.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method for detecting differential routing of a PCB board according to any one of claims 1-8 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310389064.4A CN116538904A (en) | 2023-04-12 | 2023-04-12 | Detection method and system for differential line routing of PCB and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310389064.4A CN116538904A (en) | 2023-04-12 | 2023-04-12 | Detection method and system for differential line routing of PCB and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116538904A true CN116538904A (en) | 2023-08-04 |
Family
ID=87449720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310389064.4A Pending CN116538904A (en) | 2023-04-12 | 2023-04-12 | Detection method and system for differential line routing of PCB and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116538904A (en) |
-
2023
- 2023-04-12 CN CN202310389064.4A patent/CN116538904A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7559045B2 (en) | Database-aided circuit design system and method therefor | |
US20110215828A1 (en) | Test method for passive device embedded printed circuit board | |
KR100740178B1 (en) | Disorder checking method and layout method of semiconductor assembly circuit | |
CN109815570B (en) | Method for checking whether wiring exists between differential signal via holes | |
CN111257723B (en) | Back drilling inspection method, system, equipment and medium | |
KR20080001624A (en) | Design verification apparatus, design verification method, and computer aided design apparatus | |
CN106872790B (en) | Method and system for detecting via hole loss | |
US10393790B2 (en) | Method for testing connectivity | |
CN107908873B (en) | Method and device for checking high-speed line across reference planes | |
CN116538904A (en) | Detection method and system for differential line routing of PCB and electronic equipment | |
CN109061435A (en) | A kind of detection device and method of back drill working ability | |
CN110417461B (en) | Optical cable positioning method and device for multiple fault points and terminal equipment | |
JP3192278B2 (en) | Printed circuit board wiring test processing method | |
CN1982843A (en) | System and method for inspecting differential signal line deviation | |
US7076747B2 (en) | Analytical simulator and analytical simulation method and program | |
CN108333496B (en) | Rapid test method for precision capability of flying probe machine capacitance method | |
CN101751483B (en) | Layout method capable of automatically executing layout rule detection for line pair of differential signal | |
KR100795691B1 (en) | Probe sheet for testing flexible printed circuit board and method using which | |
CN109618486A (en) | Adding method, system and the relevant apparatus of test point in a kind of high-speed line | |
CN114184933B (en) | Method, system, device and computer readable storage medium for detecting backflow ground hole | |
CN107657123A (en) | A kind of return path via inspection method and system | |
CN108169664A (en) | Board failure detection method and device, computer equipment and storage medium | |
CN110470978B (en) | Test method and test device for PCB (printed Circuit Board) anti-bonding pad | |
CN116202420A (en) | HDI printed circuit board blind hole deviation detection plate and detection method | |
CN115828487A (en) | Method and device for checking hard disk wiring design, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |