A method and system for detecting differential line routing of a PCB board and electronic equipment

By dividing differential line segments on the PCB board and detecting their parallelism and transition type, the problem of difficult inspection of deformation of 10-degree differential pairs during the push-out process is solved, realizing efficient and accurate differential line detection and improving signal integrity and detection efficiency.

CN116538904BActive Publication Date: 2026-02-03INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310389064.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2026-02-03
Estimated Expiration
2043-04-12

AI Technical Summary

Technical Problem

In PCB design, 10-degree differential pairs are prone to deformation during the push-out process, making it difficult to inspect tiny areas of decoupling. This affects the transmission and integrity of high-speed signals, and existing detection methods are inefficient and not comprehensive enough.

Method used

Differential segments are divided by inflection points on the differential lines. Non-parallel target differential segments are identified, and their transition type is determined based on the pushing method. Their qualification is checked, including impedance and line width detection, and a coordinate file is generated to highlight the unqualified parts.

Benefits of technology

Automatic detection of non-parallel sections in differential lines reduces inspection time, avoids signal impedance discontinuities, enhances signal integrity, improves anti-interference capabilities, and increases detection accuracy and work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116538904B_ABST
    Figure CN116538904B_ABST
Patent Text Reader

Abstract

The application provides a PCB differential line wiring detection method and system and electronic equipment. The method comprises the following steps: dividing the differential line through the inflection point on the differential line, obtaining a plurality of differential line segments; determining a target differential line segment in which two signal lines in the differential line segment are not parallel from the 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 first and second differential line segments adjacent to both ends of the target differential line segment; detecting whether the target differential line segment belongs to the transition type and whether the target differential line segment is qualified; and determining the target differential line segment that does not belong to the transition type and / or the target differential line segment in which the target differential line segment is unqualified as an unqualified target differential line segment. The method provided by the application can solve the problems of low efficiency and incomplete inspection results in manual inspection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of PCB board routing, and specifically relates to a method, system and electronic equipment for detecting differential traces on PCB boards. Background Technology

[0002] In PCB design, to reduce the glass fiber effect, 10-degree lines are used instead of 45-degree lines for differential pairs of high-speed signals. This makes the differential pair traces of high-speed lines smoother and can effectively reduce the impact of uneven dielectric constant of the substrate caused by the glass fiber in the board, thereby effectively ensuring the consistency of the effective dielectric constant on the high-speed path. However, during the push-through process, 10-degree lines are prone to deformation. In some places, there is obvious loss of coupling, while in others, it is a slight loss of coupling that can only be seen by magnifying a local area of ​​the PCB board and inspecting it very carefully. For PCB boards with dense high-speed lines, these small parts are difficult to inspect. However, these areas of loss of coupling will affect the transmission of high-speed signals and affect the integrity of the signals. Therefore, detecting the deformation of differential lines during the push-through process is an urgent problem to be solved. Summary of the Invention

[0003] In view of the above problems, embodiments of this application provide a method, system and electronic device for detecting differential traces on a PCB board, so as to overcome the above problems or at least partially solve the above problems.

[0004] A first aspect of this application provides a method for detecting differential line pair traces on a PCB board, the method comprising:

[0005] The differential line is divided by the inflection points on the differential line to obtain multiple differential line segments;

[0006] From the plurality of differential segments, identify the target differential segment in which the two signal lines are not parallel;

[0007] Based on the target differential line segment, and the first differential line segment and the second differential line segment adjacent to both ends of the target differential line segment, determine whether the target differential line segment belongs to the transition type of differential line segment;

[0008] For target differential line segments belonging to the transition type, the test differential line segment is checked for qualification, wherein the test differential line segment includes the first differential line segment and the second differential line segment; for target differential line segments that do not belong to the transition type, and / or for target differential line segments that are unqualified but belong to the transition type, they are determined to be unqualified target differential line segments.

[0009] Optionally, before determining the target differential segment from the plurality of differential segments in which two signal lines are not parallel, the method includes:

[0010] From the plurality of differential segments, identify the terminal differential segment where one end of the signal segment is connected to a via or a device pin;

[0011] The step of determining, from the plurality of differential segments, a target differential segment in which two signal lines are not parallel includes:

[0012] From the plurality of differential segments excluding the end differential segments, identify the target differential segment in which the two signal lines are not parallel.

[0013] Optionally, determining the target differential segment in which two signal lines are not parallel includes:

[0014] Obtain the first slope and the second slope corresponding to each of the two signal lines in the differential segment;

[0015] Based on the first slope and the second slope, the target differential line segment where the two signal lines are not parallel is determined.

[0016] Optionally, determining whether the target differential segment belongs to a transitional type of differential segment based on the target differential segment and the first and second differential segments adjacent to both ends of the target differential segment includes:

[0017] Determine whether the first difference segment and the second difference segment are parallel;

[0018] When the first differential line segment is parallel to the second differential line segment, the target differential line segment is determined to belong to the transition type.

[0019] Optionally, detecting whether the differential line segment to be tested is qualified includes:

[0020] Determine the distance between two signal lines in the differential line segment to be measured;

[0021] Based on the distance, determine whether the differential line segment to be tested is qualified.

[0022] Optionally, determining whether the measured differential line segment is qualified based on the distance includes:

[0023] Obtain the impedance of the differential line segment to be measured;

[0024] Based on the impedance, the first preset distance is obtained;

[0025] When the distance meets the first preset distance, the differential line segment to be tested is determined to be qualified;

[0026] If the distance does not meet the first preset distance, the differential line segment to be tested is determined to be a secondary differential line segment to be tested. Optionally, if the differential line segment to be tested is determined to be a secondary differential line segment to be tested, determining whether the differential line segment to be tested is qualified includes:

[0027] Obtain the line width of any one of the signal lines in the secondary differential line segment to be tested;

[0028] Based on the line width, obtain the second preset distance and the preset line length;

[0029] When the distance meets the second preset distance and the line length meets the preset line length, the differential line segment to be tested is determined to be qualified.

[0030] Optionally, if it is determined that the target difference segment is an unqualified target difference segment, the method further includes:

[0031] Highlight the target differential line segment, obtain the coordinate position of the target differential line segment, and generate a coordinate file.

[0032] A second aspect of this application provides a detection system for differential line pairs on a PCB board, the system comprising:

[0033] The acquisition module is used to divide the differential line by the inflection points on the differential line and acquire multiple differential line segments;

[0034] The first determining module is used to determine, from the plurality of differential segments, a target differential segment in which two signal lines are not parallel;

[0035] The second determining module is used to determine whether the target differential line segment belongs to the transition type of differential line segment based on the target differential line segment and the first differential line segment and the second differential line segment adjacent to both ends of the target differential line segment;

[0036] The third determining module is used to detect whether the target differential line segment to be tested is qualified for the target differential line segment belonging to the transition type, wherein the differential line segment to be tested includes the first differential line segment and the second differential line segment;

[0037] The fourth determining module is used to determine the target differential line segment that does not belong to the transition type, and / or the target differential line segment that is unqualified but belongs to the transition type, as an unqualified target differential line segment.

[0038] In a third aspect of the present invention, an electronic device is provided, the electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the PCB differential line routing detection method provided in the first aspect of the present invention.

[0039] The method for detecting differential traces on a PCB board provided in this application is applied to the detection of differential lines on a PCB board. The method includes: dividing the differential line by inflection points to obtain multiple differential line segments; identifying target differential line segments from the multiple differential line segments where two signal lines are not parallel; determining whether the target differential line segment belongs to a transition type 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; detecting whether the target differential line segment to be tested is qualified for the target differential line segment belonging to the transition type, wherein the target differential line segment to be tested includes the first differential line segment and the second differential line segment; and determining the target differential line segment that does not belong to the transition type and / or the target differential line segment to be tested that is unqualified as an unqualified target differential line segment.

[0040] The method provided by this invention has the advantages of automatically detecting whether there are non-parallel parts in differential traces. This not only reduces the inspection time of high-speed lines and avoids signal impedance discontinuities, but also enhances the signal integrity of high-speed signals and improves their anti-interference ability. It also solves the drawbacks of low efficiency and incomplete inspection results of manual inspection, allowing designers to quickly locate problems, reducing design time and improving work efficiency. Attached Figure Description

[0041] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a schematic diagram of a differential line routing on a PCB board provided in an embodiment of this application;

[0043] Figure 2 This is a schematic diagram of a partially magnified differential line routing on a PCB board provided in an embodiment of this application;

[0044] Figure 3 This is a flowchart illustrating the steps of a method for detecting differential traces on a PCB board, as provided in an embodiment of this application.

[0045] Figure 4 This is a schematic diagram of an inflection point dividing differential line provided in an embodiment of this application;

[0046] Figure 5 This is a schematic diagram of a PCB differential line routing detection system provided in an embodiment of this application;

[0047] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0048] Exemplary embodiments of this application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of this application are shown in the drawings, it should be understood that this application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of this application and to fully convey the scope of this application to those skilled in the art.

[0049] PCB design involves routing many different signals, with high-speed signal routing being particularly important. High-speed signals are transmitted using differential transmission in PCB design; these transmission lines are called differential pairs. As signal speeds increase, the application of differential transmission becomes more widespread. In fact, differential pairs are coupled transmission lines. Coupling occurs when two or more circuits form a network; if a change in current or voltage in one circuit affects other circuits, a similar change will occur. The purpose of coupling is to transfer (or convert) energy from one circuit to other circuits.

[0050] Reference Figure 1 , Figure 1 This is a schematic diagram of a differential line routing on a PCB board provided in an embodiment of this application; it can be used... Figure 1 Within the rectangular frame, a decoupled difference line is clearly visible. However, this only refers to the decoupling visible to the naked eye. There are also some minute decouplings that are not directly visible. (Refer to...) Figure 2 , Figure 2 This is a schematic diagram of a partially magnified differential line trace on a PCB board provided in an embodiment of this application. The differential line pairs within the black rectangle in the figure cannot be directly observed with the naked eye and require magnification of the PCB board to be visible. However, manual identification still involves significant errors and randomness. Therefore, this invention provides a method for detecting differential line traces on a PCB board to detect differential lines that are difficult to observe and have lost coupling, thereby reducing manual workload, improving efficiency, and enhancing detection accuracy.

[0051] The 3W2S principle: The differential pair is matched with equal lengths between the two differential lines using 3 times the line width and 2 times the spacing.

[0052] Example 1

[0053] Reference Figure 3 , Figure 3 This is a flowchart illustrating the steps of a method for detecting differential traces on a PCB board, as provided in an embodiment of this application. The steps in the flowchart include:

[0054] Step S101: Divide the differential line by the inflection points on the differential line to obtain multiple differential line segments.

[0055] In this embodiment, before making specific divisions, it is necessary to complete the connection of differential pair flying leads, clear errors in DRC (Design Rules Check), complete the 10-degree line routing for differential pairs that require 10-degree lines, and then ensure that the differential lines required for the differential pairs are of equal length, matching the lengths of the differential lines according to the rules; check the pads and vias of the differential lines; check the reference status of the corresponding reference layers of the differential pairs. All the necessary operations for the differential lines are basically completed. The routing of high-speed lines generally does not need to be modified. After the above operations are completed, the differential line routing on the PCB board is then inspected.

[0056] First, set the coordinate origin based on the PCB board. Then, identify the differential lines on the PCB. Divide a complete set of differential lines based on the inflection points on the differential lines, referring to... Figure 4 , Figure 4 This is a schematic diagram of a differential line segmentation method provided in an embodiment of this application. In the diagram, the differential lines are two signal transmission lines, both transmitting signals, denoted as DP and DN respectively. These two signals have the same amplitude but opposite phase and polarity. The inflection point is the point where the two signal transmission lines in the differential line pair turn during their routing, i.e., points A, B, C, etc. on DN in the diagram. The coordinates of the inflection points can be identified by software, and the differential lines can be segmented sequentially along the X-axis according to the x-coordinate of the inflection points, as shown by the dashed lines in the diagram. Through the dashed lines, the inflection points on the differential lines are extended along the Y-axis on the DN transmission line and connected to another signal line DP, thus completing the segmentation of the differential lines and obtaining multiple differential line segments. For example, signal line segment AB and signal line segment ab are one differential line segment.

[0057] This method divides the differential lines on the PCB board. There are differential lines of various impedance types on the PCB board. This embodiment uses a differential line of one impedance type as an example. Differential lines of other impedance types are divided in the same way. After the division is completed, multiple differential line segments can be obtained, and the position coordinates of each differential line segment can be known. The position coordinates include the start coordinates and end coordinates of the transmission line segment in each differential line segment.

[0058] Step S102: From the plurality of differential segments, determine the target differential segment in which the two signal lines are not parallel.

[0059] In this embodiment, reference Figure 4 From multiple differential segments, identify the target differential segment where two signals are not parallel, for example... Figure 4 Signal segments AB and ab, BC and bc, and DE and de are given.

[0060] Step S103: Based on the target differential line segment, and the first differential line segment and the second differential line segment adjacent to both ends of the target differential line segment, determine whether the target differential line segment belongs to the transition type of differential line segment.

[0061] In this embodiment, based on the target differential line segment and the first and second differential line segments adjacent to both ends of the target differential line segment, it can be determined whether the target differential line segment belongs to the transition type of differential line segment. Since there are two methods for actual differential line pushing: the first method involves pushing the two signal lines parallel with a fixed spacing; the second method involves pushing the two signal lines according to the 3W2S principle, where the differential pair is matched to equal lengths at 3 times the line width and 2 times the spacing. Therefore, on the actual differential line, there are unnecessary target differential line segments that affect coupling due to other reasons, and necessary target differential line segments that affect coupling due to the pushing of the line according to the first or second method. Necessary target differential line segments are unavoidable, while unnecessary target differential line segments are avoidable. Therefore, we need to filter out the unnecessary differential line segments in the target differential line segments. We can determine whether the target differential line segment belongs to the transition type by obtaining the first differential line segment and the second differential line segment that are adjacent to the target differential line segment.

[0062] The necessary target difference line segment must satisfy the condition that, due to the switching between the first and second line-pushing methods, the difference line segments are not parallel. Therefore, among the two first and second difference line segments adjacent to the necessary target difference line segment, one must satisfy the first line-pushing method, and the other must satisfy the second line-pushing method. By analyzing the results of the two line-pushing methods, we can verify whether the target difference line is qualified. Both the first and second line-pushing methods will generate parallel difference lines. If the difference lines at both ends of the target difference line segment are parallel, then the target difference line is a transitional type difference line.

[0063] Step S104: For the target differential line segment belonging to the transition type, determine whether the differential line segment to be tested located in two adjacent target differential line segments is qualified, wherein the differential line segment to be tested includes the first differential line segment and the second differential line segment;

[0064] In this embodiment, for target differential lines belonging to the transition type, it is also necessary to detect whether the first differential line segment and the second differential line segment are differential line segments arranged according to the first or second line pushing method. Only when the first differential line segment satisfies the first line pushing method and the second differential line segment satisfies the second line pushing method, or the first differential line segment satisfies the second line pushing method and the second differential line segment satisfies the first line pushing method, is the target differential line segment a necessary differential line segment. It should be noted here that when the first differential line segment and the second differential line segment satisfy one line pushing method, there is no inflection point, and there is no problem in itself, so no judgment is needed.

[0065] Step S105: For the target differential line segment that does not belong to the transition type, and / or the target differential line segment that is unqualified but belongs to the transition type, it is determined as an unqualified target differential line segment.

[0066] In this embodiment, for target differential line segments that do not belong to the transition type, combined with Figure 4 Assuming that signal segments EF and ef are differential segments arranged in accordance with the second push-wire method, i.e., in accordance with the 3W2S principle, and signal segments CD and cd are differential segments arranged in accordance with the first push-wire method, we can know from the previous steps 1 to 4 that among the target differential segments, signal segments AB and ab, and BC and bc are unqualified target differential segments, while signal segments DE and de are qualified target differential segments.

[0067] In one embodiment, before determining the target differential segment from the plurality of differential segments where two signal lines are not parallel, the method includes: determining, from the plurality of differential segments, an end differential segment where one end of a signal line is connected to a via or a device pin; determining, from the plurality of differential segments, the target differential segment where two signal lines are not parallel includes: determining, from the plurality of differential segments excluding the end differential segment, the target differential segment where two signal lines are not parallel.

[0068] In this embodiment, since vias or device pins are connected at the beginning or end of the differential lines to ensure that differential line numbers can be input, the characteristics of the vias or device pins themselves can cause the differential line segments connected to the vias or device pins to be non-parallel. This non-parallelism is unavoidable. Therefore, before determining the target differential line segment in which the two signal lines are not parallel, it is necessary to identify the influence of the vias or device pins. Thus, it is necessary to determine the end differential line segment where one end of the signal line segment is connected to the via or device pin. From the multiple differential line segments, the target differential line segment in which the two signal lines are not parallel is determined. After excluding the end differential line segments, the target differential line segment in which the two signal lines are not parallel is determined from the multiple differential line segments.

[0069] In one embodiment, determining the target differential segment in which two signal lines are not parallel includes: acquiring a first slope and a second slope corresponding to each of the two signal lines in the differential segment; and determining the target differential segment in which the two signal lines are not parallel based on the first slope and the second slope.

[0070] In this embodiment, since a coordinate system is established in the PCB board, the coordinate positions of the two ends of the two signal lines can be determined respectively. The first slope and the second slope corresponding to each end can be calculated based on the coordinate positions of the two ends. When the first slope and the second slope are not equal, the differential line segment where the two signal lines are located is determined as the target differential line segment.

[0071] In one embodiment, determining whether the target differential line segment belongs to a transition type based on the target differential line segment and the first differential line segment and the second differential line segment adjacent to both ends of the target differential line segment includes: determining whether the first differential line segment and the second differential line segment are parallel; and determining that the target differential line segment belongs to the transition type when the first differential line segment and the second differential line segment are parallel.

[0072] In this embodiment, by detecting whether the two signals in the first differential segment and the second differential segment are parallel, it can be determined whether the differential segments are not parallel due to the switching between the first and second push-line methods. Furthermore, regardless of which method the differential segments are arranged, the two signal lines in the resulting differential segments are parallel. Therefore, a transition type is introduced to filter out parallel differential segments that do not meet the requirements of the first or second push-line method.

[0073] In one embodiment, 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 tested is qualified based on the distance.

[0074] In this embodiment, there may be unqualified target differential line segments that conform to the transition type. Although they meet the characteristics of parallel differential line segments, it is uncertain whether the first differential line segment or the second differential line segment arranged by the first or second pushing line method meets the standard. Therefore, it is necessary to specifically detect the line length or line spacing of the first and second differential line segments to determine whether the first and second differential line segments meet the standard under certain set values.

[0075] In one embodiment, determining whether the differential segment to be tested is qualified based on the distance includes: obtaining the impedance of the differential segment to be tested; obtaining a first preset distance based on the impedance; determining that the differential segment to be tested is qualified when the distance meets the first preset distance; and determining that the differential segment to be tested is a secondary differential segment to be tested when the distance does not meet the first preset distance.

[0076] In this embodiment, it is first determined whether the differential segment to be tested meets the first push-wire method. The first push-wire method determines the wire spacing when the impedance is known. Therefore, the impedance of the differential segment to be tested can be obtained first. The wire spacing corresponding to the impedance can be found by looking up the wiring table, and the first preset distance can be determined. If the wire spacing of the differential segment to be tested meets the first preset distance, it means that the differential segment to be tested is correct and meets the standard. If the differential segment to be tested does not meet the first preset distance, it may meet the second push-wire method. In this case, the differential segment to be tested will be identified as a secondary differential segment to be tested and further testing will be carried out to determine whether the differential segment to be tested is qualified.

[0077] In one embodiment, when it is determined that the differential line segment to be tested is a secondary differential line segment to be tested, determining whether the differential line segment to be tested is qualified includes: obtaining the line width of any one of the signal lines in the secondary differential line segment to be tested; obtaining a second preset distance and a preset line length based on the line width; and determining that the differential line segment to be tested is qualified when the distance meets the second preset distance and the line length meets the preset line length.

[0078] In this embodiment, if it is determined that the differential segment to be tested is a secondary differential segment to be tested, it indicates that it no longer meets the first push-wire method. Therefore, it is necessary to verify whether it meets the second push-wire method. According to the rules of the second push-wire method, it is necessary to know the line width of any signal line in the secondary differential segment to be tested. Since the line widths of the two signal lines in the differential line are the same, it is only necessary to obtain the line width of any one signal line. According to the principle of the second push-wire method, the second preset distance and the preset line length are obtained. By identifying the coordinates of the two signal lines in the secondary differential segment to be tested, the line spacing and line length of the secondary differential segment to be tested can be known. When the distance meets the second preset distance and the line length meets the preset line length, the differential segment to be tested is determined to be qualified. Both must be met simultaneously. Therefore, the differential segment to be tested can be determined to be qualified.

[0079] In one embodiment, if it is determined that the target differential line segment is an unqualified target differential line segment, the method further includes: highlighting the target differential line segment, obtaining the coordinate position of the target differential line segment, and generating a coordinate file.

[0080] In this embodiment, to facilitate observation by designers, when it is determined that the target differential line segment is an unqualified target differential line segment, the target differential line segment is automatically highlighted, and the coordinate position of the target differential line segment is extracted to generate a coordinate file. Designers can click on the coordinate position in the coordinate file to lock and locate the coordinates of the target differential line, which is convenient for individual adjustment.

[0081] Example 2

[0082] Reference Figure 5 , Figure 5 This is a schematic diagram of a PCB differential trace detection system provided in an embodiment of this application; the system includes: an acquisition module 501, a first determination module 502, a second determination module 503, a third determination module 504, and a fourth determination module.

[0083] The acquisition module 501 is used to divide the differential line by the inflection points on the differential line and acquire multiple differential line segments.

[0084] The first determining module 502 is used to determine, from the plurality of differential segments, a target differential segment in which two signal lines are not parallel.

[0085] The second determining module 503 is used to determine whether the target differential line segment belongs to the transition type of differential line segment based on the target differential line segment and the first differential line segment and the second differential line segment adjacent to both ends of the target differential line segment.

[0086] The third determining module 504 is used to detect whether the target differential line segment to be tested is qualified for the target differential line segment belonging to the transition type, wherein the differential line segment to be tested includes the first differential line segment and the second differential line segment.

[0087] The fourth determining module 505 is used to determine the target differential line segment that does not belong to the transition type, and / or the target differential line segment that is unqualified but belongs to the transition type, as an unqualified target differential line segment.

[0088] The PCB differential line detection system provided in this application can inspect high-speed signal differential lines on a PCB board. It can identify deformed parts of tiny differential lines that are not easily visible to the naked eye, and detect differential lines that have lost coupling, which are not easy to observe. This reduces manual workload, improves efficiency, and also improves detection accuracy, ensuring the integrity of the differential line signal transmission.

[0089] Example 3

[0090] In a third aspect of the present invention, an electronic device is provided, the electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the PCB differential line routing detection method provided in the first aspect of the present invention.

[0091] In this embodiment, refer to Figure 6 , Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of the present invention; as shown. Figure 6 As shown, the electronic device 100 includes a memory 110 and a processor 120. The memory 110 and the processor 120 are connected via a bus for communication. The memory 110 stores a computer program that can run on the processor 120, thereby realizing the PCB board differential line routing detection method described in the first aspect of the embodiments of this application.

[0092] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0093] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods and apparatus according to embodiments of the present invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0094] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0096] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0097] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0098] The above provides a detailed description of the detection method, system, and electronic device for differential traces on a PCB board provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for detecting differential line pairs on a PCB board, characterized in that, The method includes: The differential line is divided by the inflection points on the differential line to obtain multiple differential line segments; From the plurality of differential segments, identify the target differential segment in which the two signal lines are not parallel; Based on the target differential line segment, and the first differential line segment and the second differential line segment adjacent to both ends of the target differential line segment, determine whether the target differential line segment belongs to the transition type of differential line segment; For target differential line segments belonging to the transition type, the test differential line segment is checked to see if it is qualified, wherein the test differential line segment includes the first differential line segment and the second differential line segment; For target differential segments that do not belong to the transition type, and / or for target differential segments that are unqualified by the test differential segment, they are determined to be unqualified target differential segments; The step of determining whether the target differential line segment belongs to a transition type based on the target differential line segment and the first and second differential line segments adjacent to both ends of the target differential line segment includes: Determine whether the first difference segment and the second difference segment are parallel; When the first differential line segment is parallel to the second differential line segment, the target differential line segment is determined to belong to the transition type.

2. The method according to claim 1, characterized in that, Before determining the target differential segment from the plurality of differential segments in which two signal lines are not parallel, the method includes: From the plurality of differential segments, identify the terminal differential segment where one end of the signal segment is connected to a via or a device pin; The step of determining, from the plurality of differential segments, a target differential segment in which two signal lines are not parallel includes: From the plurality of differential segments excluding the end differential segments, identify the target differential segment in which the two signal lines are not parallel.

3. The method according to claim 1, characterized in that, The determination of the target differential segment in which two signal lines are not parallel includes: Obtain the first slope and the second slope corresponding to each of the two signal lines in the differential segment; Based on the first slope and the second slope, the target differential line segment where the two signal lines are not parallel is determined.

4. The method according to claim 1, characterized in that, The detection of whether the differential line segment to be tested is qualified includes: Determine the distance between two signal lines in the differential line segment to be measured; Based on the distance, determine whether the differential line segment to be tested is qualified.

5. The method according to claim 4, characterized in that, The process of determining whether the differential line segment to be tested is qualified based on the distance includes: Obtain the impedance of the differential line segment to be measured; Based on the impedance, the first preset distance is obtained; When the distance meets the first preset distance, the differential line segment to be tested is determined to be qualified; If the distance does not meet the first preset distance, the differential line segment to be measured is determined to be a secondary differential line segment to be measured.

6. The method according to claim 5, characterized in that, If the differential line segment to be tested is determined to be a quadratic differential line segment, determining whether the differential line segment to be tested is qualified includes: Obtain the line width of any one of the signal lines in the secondary differential line segment to be tested; Based on the line width, obtain the second preset distance and the preset line length; When the distance meets the second preset distance and the line length meets the preset line length, the differential line segment to be tested is determined to be qualified.

7. The method according to claim 1, characterized in that, If it is determined that the target difference segment is an unqualified target difference segment, the method further includes: Highlight the target differential line segment, obtain the coordinate position of the target differential line segment, and generate a coordinate file.

8. A detection system for differential line pairs on a PCB board, characterized in that, The system includes: The acquisition module is used to divide the differential line by the inflection points on the differential line and acquire multiple differential line segments; The first determining module is used to determine, from the plurality of differential segments, a target differential segment in which two signal lines are not parallel; The second determining module is used to determine whether the target differential line segment belongs to the transition type of differential line segment based on the target differential line segment and the first differential line segment and the second differential line segment adjacent to both ends of the target differential line segment; The third determining module is used to detect whether the target differential line segment to be tested is qualified for the target differential line segment belonging to the transition type, wherein the differential line segment to be tested includes the first differential line segment and the second differential line segment; The fourth determining module is used to determine the target differential line segment that does not belong to the transition type, and / or the target differential line segment that is unqualified but belongs to the transition type as an unqualified target differential line segment; This module is used to determine whether the first differential segment and the second differential segment are parallel, and to determine that the target differential segment belongs to the transition type when the first differential segment and the second differential segment are parallel.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for detecting differential traces on a PCB board as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Wiring method for improving signal quality

    CN101925252A

  • System and method for arranging differential signal wire

    CN102339332A