Differential line pair compensation method and device
By compensating at specific positions of differential line pairs, combining bulge and line width compensation, the problem of inconsistent length of differential line pairs in the prior art is solved, and the accuracy of compensation and the performance of the circuit board are improved.
Patent Information
- Application Number
- CN202510116534.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-07-04
AI Technical Summary
When the prior art automatically compensates multiple differential line pairs in batches, the compensation position cannot be controlled, resulting in the inconsistent length of the differential line pair, which cannot effectively solve the problem of inconsistent lengths of the differential line pairs, affecting the performance and reliability of the circuit board.
Compensation is performed at a position where the distance between the differential line pair and the transmitter or receiving end is less than the second threshold, and combining the pack compensation and line width compensation, the accuracy and efficiency of the compensation position are improved.
The accuracy and efficiency of the differential line compensation for length is improved, the possibility that the compensation position appears in areas where compensation cannot be performed is improved, and the design and manufacturing efficiency of the circuit board is improved.
Smart Images

Figure CN120257924A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of circuits, and in particular, to a differential pair compensation method and device. Background Art
[0002] In the field of circuit board design, differential pairs play an important role. Differential pairs are usually required to have the characteristics of equal length, equal width, being closely adjacent, and being on the same layer. This is because during the transmission of circuit signals, these characteristics of differential pairs are crucial for ensuring signal integrity, reducing interference, and improving transmission quality. However, during the actual circuit board design process, due to reasons such as the winding position, the lengths of the two differential lines in a differential pair often differ. This length difference has an adverse impact on signal transmission. For example, it may cause signal phase deviation, distortion, etc., thereby affecting the performance and reliability of the entire circuit board. Therefore, when the lengths of the two differential lines in a differential pair are different, it is necessary to perform length compensation on the differential pair to make the lengths of the two differential lines the same.
[0003] In the existing technology, when performing batch automatic compensation for multiple differential pairs, the compensation positions determined by the electronic device may appear in areas where compensation cannot be performed, such as prohibited compensation areas. This makes the batch automatic compensation measures unable to effectively play their roles and cannot truly solve the problem of inconsistent differential pair lengths. Therefore, a new technical solution is needed to solve this problem. Summary of the Invention
[0004] An embodiment of this application provides a differential pair compensation method and device. The electronic device compensates multiple differential pairs at positions where the distance from the sending end of the multiple differential pairs to be compensated is less than a second threshold or the distance from the receiving end is less than the second threshold, improving the accuracy and efficiency of automatic compensation.
[0005] In a first aspect, an embodiment of this application provides a differential pair compensation method. This method can be applied to an electronic device. The method includes: The electronic device first receives a selection operation from the user, and this selection operation is used to select the differential pair to be processed; then it determines the differential pair to be compensated among the differential pairs to be processed. The differential pair to be compensated includes a first differential line and a second differential line. The length of the first differential line is less than the length of the second differential line, and the length difference between the first differential line and the second differential line is greater than a preset first threshold. Then the electronic device determines the compensation position for compensating the differential line to be compensated, and the compensation position is less than a preset second threshold from the receiving end or the sending end of the differential pair to be compensated; finally, it compensates the differential pair to be compensated at the compensation position, and the length difference between the first differential line and the second differential line in the compensated differential pair is less than or equal to the first threshold.
[0006] Based on the above technical solution, the electronic device compensates the differential pair at a position where the distance from the differential pair to the transmitting end is less than the second threshold or the distance from the differential pair to the receiving end is less than the second threshold. Since the line utilization rate of the PCB circuit board is relatively low at the position where the distance from the differential pair to the transmitting end is less than the second threshold and the position where the distance from the differential pair to the receiving end is less than the second threshold, there is a relatively large unused space. Therefore, it is determined to compensate the differential line length at the position where the distance from the transmitting end is less than the second threshold or the distance from the receiving end is less than the second threshold. The compensation position can be located in the unused space where the compensation operation can be performed, reducing the possibility that the compensation position appears in the area where compensation cannot be performed, and improving the accuracy of the compensation position for automatic compensation.
[0007] In a possible implementation manner, before compensating the differential pair to be compensated at the compensation position, the method further includes: setting corresponding compensation parameters according to the length difference between the first differential line and the second differential line; correspondingly, compensating the differential pair to be compensated at the compensation position includes: compensating the differential pair to be compensated at the compensation position according to the compensation parameters.
[0008] In this possible implementation manner, the electronic device can set corresponding compensation parameters for multiple differential pairs to be compensated, thereby realizing precise control of the compensation, improving the accuracy of the automatic compensation, and enhancing the efficiency of the electronic device in compensating the differential pair.
[0009] In a possible implementation manner, compensating the differential pair to be compensated at the compensation position according to the compensation parameters includes: compensating the first differential line at the compensation position according to the compensation parameters.
[0010] In a possible implementation manner, determining the compensation position includes: determining the length difference position in the differential pair to be compensated that causes the lengths of the first differential line and the second differential line to be different; determining the position that is closer to the length difference position among the positions where the distance from the transmitting end is less than or equal to the second threshold and the position where the distance from the receiving end is less than or equal to the second threshold as the compensation position.
[0011] In this possible implementation manner, by determining the length difference position, a method for determining the compensation position is specifically provided. The compensation position is the one closer to the position where the distance from the transmitting end is less than or equal to the second threshold and the position where the distance from the receiving end is less than or equal to the second threshold. The compensation position can be located in the unused space where the compensation operation can be performed, reducing the possibility that the compensation position appears in the area where compensation cannot be performed, and improving the accuracy of the compensation position for automatic compensation.
[0012] In a possible implementation, the compensation positions include a first position and a second position. The first position is one of the positions where the distance from the transmitting end is less than or equal to a second threshold and the distance from the receiving end is less than or equal to the second threshold. The second position is the other of the positions where the distance from the transmitting end is less than the second threshold and the distance from the receiving end is less than the second threshold. Compensating the first differential line at the compensation positions according to the compensation parameters includes: initially compensating the first differential line at the first position of the first differential line according to the compensation parameters, and the length difference between the first differential line after the initial compensation and the length of the second differential line is greater than a first threshold; resetting the compensation parameters according to the length difference between the first differential line after the initial compensation and the length of the second differential line; and compensating the first differential line at the second position of the first differential line according to the reset compensation parameters.
[0013] In this possible implementation, when the electronic device performs compensation, it can perform compensation twice at different positions respectively, which improves the flexibility of compensation in this application. It can perform compensation at the first position and the second position respectively, avoiding the situation of insufficient compensation space at the first position or the second position, and improving the feasibility of the embodiments of this application.
[0014] In a possible implementation, compensating the first differential line in the differential pair at the compensation positions according to the compensation parameters includes: compensating the first differential line at the compensation positions according to the compensation parameters, and the line width of the first differential line after compensation at the compensation position is greater than the line width before compensation.
[0015] In this possible implementation, while compensating the length, the width is also compensated, thus avoiding the problem of impedance discontinuity caused by bulge compensation.
[0016] In a possible implementation, determining the differential pair to be compensated in the differential pair to be processed includes: obtaining the length of each differential line in the differential pair to be processed; and determining the differential pair to be compensated in the differential pair to be processed, and the length difference between the first differential line and the second differential line in the differential pair to be compensated is greater than the first threshold.
[0017] In a possible implementation, the compensation is bulge compensation, and the compensation parameters include at least one of bulge length, bulge height, minimum gap length, minimum gap height, line width, compensation length, and compensation tolerance.
[0018] In this possible implementation, various types of compensation parameters are specifically provided, including not only parameters related to bulges, but also parameters such as gaps, line widths, and compensation tolerances, which improves the control granularity of the electronic device for compensation and improves the feasibility of the embodiments of this application.
[0019] In a second aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory. The processor is coupled to the memory; the memory is configured to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the electronic device to implement any one of the methods provided in the first aspect.
[0020] In a third aspect, an embodiment of the present application provides a chip, which includes: a processor and an interface circuit; the interface circuit is configured to receive code instructions and transmit them to the processor; the processor is configured to run the code instructions to execute any one of the methods provided in the first aspect.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which at least one computer program instruction is stored, and the computer program instruction is loaded and executed by the processor to implement any one of the methods provided in the first aspect as described above.
[0022] In a fifth aspect, an embodiment of the present application provides a computer program product, including computer execution instructions, and when the computer execution instructions run on a computer, the computer is enabled to execute any one of the methods provided in the first aspect.
[0023] For each possible implementation of the second aspect to the fifth aspect, the effects are similar to those in the first aspect and the possible designs of the first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of a scenario for a differential line compensation method;
[0025] Figure 2 It is a schematic diagram of an interface for a differential line manual compensation method;
[0026] Figure 3 It is a schematic flowchart of a differential pair compensation method provided by an embodiment of the present application;
[0027] Figure 4 It is a schematic flowchart of another differential pair compensation method provided by an embodiment of the present application;
[0028] Figure 5 It is a schematic diagram of a scenario for another differential pair compensation method provided by an embodiment of the present application;
[0029] Figure 6 It is a schematic diagram of a scenario for another differential pair compensation method provided by an embodiment of the present application;
[0030] Figure 7 It is a schematic diagram of a scenario for another differential pair compensation method provided by an embodiment of the present application;
[0031] Figure 8Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0032] Figure 9 Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0033] Figure 10 Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0034] Figure 11 Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0035] Figure 12 Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0036] Figure 13 Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0037] Figure 14 Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0038] Figure 15 Scenario schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0039] Figure 16 Flow schematic diagram of another differential pair compensation method provided by an embodiment of the present application;
[0040] Figure 17 Structural schematic diagram of a differential pair fusion device provided by an embodiment of the present application;
[0041] Figure 18 Structural schematic diagram of another electronic device provided by an embodiment of the present application. Detailed implementation manners
[0042] The following describes the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
[0043] In the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship. For example, A / B may represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. Among them, A and B may be singular or plural.
[0044] In the description of the present application, unless otherwise specified, "a plurality of" means two or more than two. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single item or plural items. For example, at least one of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, c can be single or plural.
[0045] In addition, for the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and roles. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different.
[0046] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner for easy understanding.
[0047] It can be understood that the "embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It can be understood that in the various embodiments of the present application, the magnitude of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0048] It can be understood that some optional features in the embodiments of the present application, in some scenarios, can be implemented independently without relying on other features, such as the current solution it is based on, to solve the corresponding technical problems and achieve the corresponding effects. In some scenarios, they can also be combined with other features according to requirements. Correspondingly, the devices given in the embodiments of the present application can also implement these features or functions accordingly, which will not be elaborated here.
[0049] In this application, unless otherwise specified, the same or similar parts between various embodiments can be referred to each other. In this application, if there is no special specification and logical conflict in various embodiments, the terms and / or descriptions between different embodiments are consistent and can be cited mutually. Different embodiments can be combined to form new embodiments according to their internal logical relationships. The following embodiments of this application do not constitute a limitation on the protection scope of this application.
[0050] The related technologies of the embodiments of this application are described as follows:
[0051] 1. Differential transmission.
[0052] Differential transmission is a signal transmission technology. Different from the traditional method of one signal line and one ground line, differential transmission transmits signals on both of these two lines. The amplitudes of these two signals are the same, and the phases are opposite. The signals transmitted on these two lines are differential signals. The signal receiving end judges the logical state sent by the sending end by comparing the voltage difference between these two voltages. On the circuit board, differential traces must be of equal length, equal width, closely spaced, and two lines on the same layer.
[0053] In differential transmission, it is necessary to transmit signals through two differential lines. These two lines can include a differential line for carrying a positive (P) signal and a differential line for carrying a negative (N) signal. These two differential lines together form a differential line pair.
[0054] Specifically, at the sending end, the original signal can be converted into a differential signal through a differential driver. The differential driver can convert a single-ended input signal into two complementary differential signals for output. For example, if the differential line pair includes a positive-level line and a negative-level line, a logic "1" can be represented as the positive signal line being at a high level and the negative signal line being at a low level; while a logic "0" is represented as the positive signal line being at a low level and the negative signal line being at a high level.
[0055] During the transmission process, the differential signal is transmitted through two signal lines in a transmission medium (such as a cable, a printed circuit board trace, etc.). During the transmission process, the interference received by the two signal lines is usually similar because they are in a similar physical environment.
[0056] At the receiving end, a differential receiver is used to detect and recover the differential signal. The differential receiver compares the voltage difference between the two signal lines and converts it back to the original single-ended signal. If the voltage difference between the two signal lines meets the predetermined logic level standard, the receiving end will identify it as the corresponding logic value.
[0057] 2. Differential line pair delay difference.
[0058] Inter-pair skew refers to the difference in the single-end delay times calculated for each of the two differential lines in differential transmission. The difference between the two single-end delay times corresponding to the two differential lines is the inter-pair skew. By setting the Differential signal through time domain reflectometry (TDR), the inter-pair skew of a differential pair can be measured.
[0059] In the field of printed circuit board (PCB) design, differential pairs play an important role. Differential pairs are usually required to have the characteristics of equal length, equal width, being closely adjacent, and being on the same layer. This is because during the transmission of circuit signals, these characteristics of differential pairs are crucial for ensuring signal integrity, reducing interference, and improving transmission quality. However, during the actual circuit board design process, due to reasons such as the routing location, the lengths of the two differential lines in a differential pair often differ. This length difference can have an adverse impact on signal transmission, such as causing signal phase deviation, distortion, etc., which in turn affects the performance and reliability of the entire circuit board. Therefore, when the lengths of the two differential lines in a differential pair are different, length compensation needs to be performed on this differential pair to make the lengths of the two differential lines the same.
[0060] As Figure 1 shown, in the existing technology, when performing batch automatic compensation for multiple differential pairs, there is a defect that the compensation position cannot be controlled. Specifically, when performing automatic length compensation for differential pairs, the compensation position may appear in an area where compensation cannot be performed, such as a prohibited compensation area. This makes the batch automatic compensation measure unable to effectively function and cannot truly solve the problem of inconsistent lengths of differential pairs. Therefore, a new technical solution is needed to solve this problem.
[0061] For example Figure 1 as shown in (a) below, when performing batch automatic compensation for multiple differential pairs, it may occur that Figure 1 as shown in (a) below, the bulge of the compensation for differential pair 2 overlaps with the position of the differential line of differential pair 1, resulting in the inability to perform compensation. For example Figure 1 as shown in (b) below, when performing batch automatic compensation for multiple differential pairs, it may occur that Figure 1 as shown in (b) below, the bulge of the compensation for differential pair 1 overlaps with the position of the processor, resulting in the inability to perform compensation.
[0062] For example Figure 2As shown, since the prior art cannot solve the defect that the compensation position cannot be controlled, the manual compensation method is usually used to process unequal-length differential line pairs, such as Figure 2 As shown, the manual compensation tool may include the following parameters and options, and the user can perform compensation processing through the following parameters and options:
[0063] "Active etch subclass" means that the following options are active etch subclasses;
[0064] "Bottom" means that the bottom is selected as the current active etch subclass.
[0065] "Net: Null Net" means an empty network; "Gap in use" means the gap in use.
[0066] "Style" means that different etch style options can be selected. The user can select "Accordion" (accordion-style layout (trace)), "Trombone" (trombone-style layout), or "Sawtooth" (sawtooth-style layout), such as Figure 2 As shown, the user has selected the "Accordion" option.
[0067] The parameter selected for "Gap" is 3x width, which means that the size of the gap selected by the user is 3 times;
[0068] The parameter selected for "Corners" is 45, which means that the corner angle of the etch selected by the user is 45 degrees;
[0069] The parameter selected for "Miter size" is 1x width, which means that the miter size selected by the user is 1 time.
[0070] However, the manual compensation method can only select one differential line pair, and the efficiency of compensating the differential line pair is low, which reduces and improves the design and manufacturing efficiency of the PCB circuit.
[0071] Based on this, such as Figure 3As shown in the figure, an embodiment of the present application provides a differential pair compensation method, which can be applied to an electronic device. The method includes: the electronic device first receives a selection operation of the user, and the selection operation is used to select a differential pair to be processed; determine a differential pair to be compensated in the differential pair to be processed. The differential pair to be compensated includes a first differential line and a second differential line. The length of the first differential line is less than the length of the second differential line, and the length difference between the first differential line and the second differential line is greater than a first threshold. Then the electronic device determines a compensation position for compensating the differential line to be compensated. The compensation position is less than a second threshold away from the receiving end or the sending end of the differential pair to be compensated; finally, compensate the differential pair to be compensated at the compensation position, and the length difference between the first differential line and the second differential line in the compensated differential pair is less than or equal to the first threshold.
[0072] Based on the above technical solution, the electronic device compensates the differential pair at a position less than the second threshold away from the sending end or a position less than the second threshold away from the receiving end of the differential pair to be compensated. Since the line utilization rate of the PCB board is relatively low at the position less than the second threshold away from the sending end and the position less than the second threshold away from the receiving end of the differential pair, there is a large unused space. Therefore, it is determined to compensate the differential line length at a position less than the second threshold away from the sending end or a position less than the second threshold away from the receiving end. The compensation position can be located in the unused space where compensation operations can be performed, reducing the possibility that the compensation position appears in an area where compensation cannot be performed, and improving the accuracy of the compensation position for automatic compensation.
[0073] It can be understood that in the embodiment of the present application, the execution subject may execute some or all of the steps in the embodiment of the present application. These steps or operations are only examples. The embodiment of the present application may also execute other operations or various deformations of the operations. In addition, each step may be executed in a different order presented in the embodiment of the present application, and it is possible that not all of the operations in the embodiment of the present application need to be executed.
[0074] It should be noted that the message names between various devices or the names of each parameter in the message in the following embodiments of the present application are only examples. In specific implementations, other names may also be used, and the embodiments of the present application do not make specific limitations in this regard.
[0075] The following combines Figures 4 to 17 , and details the technical solution of the present application with specific method embodiments. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0076] Exemplarily, Figure 4 is a flowchart of a differential pair compensation method provided by an embodiment of the present application. Refer to Figure 4As shown, the differential pair compensation method may specifically include the following steps:
[0077] 401. Start the differential line compensation plug-in.
[0078] In the embodiments of the present application, when a user needs to perform differential line compensation, the user can start the differential line compensation plug-in provided by the embodiments of the present application on an electronic device. Through this plug-in, the differential pair compensation method provided by the embodiments of the present application can be implemented, and this plug-in can be applied to PCB development software.
[0079] As Figure 5 shown, when a user needs to perform differential line compensation, the user can open the PCB development software, and the plug-in "Bump diffPair Auto" can be found in the toolbar of this software, and this plug-in can be used to implement the differential pair compensation method provided by the embodiments of the present application.
[0080] As Figure 6 shown, after starting this differential line compensation plug-in, an interface as shown in Figure 6 can be displayed. The following adjustable parameters or options are included in this interface:
[0081] "Bump Style[Unit: mils], line or Arc". It indicates that the current design unit is mils, and the type of bump can be selected as a straight line or an arc. As shown in Figure 6 , the type of bump is selected as a straight line.
[0082] "Bump length(L)=10.00" indicates that the length of the bump is 10, and this parameter is an adjustable parameter.
[0083] "min gap(L)=0.01" indicates that the minimum gap length is 0.01.
[0084] "Bump height(H)=10.00" indicates that the height of the bump is 10, and this parameter is an adjustable parameter.
[0085] "min gap(H)=0.01" indicates that the minimum height of the gap is 0.01, and this parameter is an adjustable parameter.
[0086] "Bump trace width" indicates the bump trace width.
[0087] "Diffpair Length Tol=1.00" indicates the default tolerance of the differential pair, that is, the value that the length difference between the two differential lines in the differential pair should be less than or equal to after compensation. This parameter is an adjustable parameter, Figure 6 and the default value is 1 in
[0088] "Length added per bump = 8.284" indicates the length added to the signal line caused by each bump. This value is only related to the Bump height (H). When the value of Bump height (H) changes, the corresponding Length added per bump will also change accordingly.
[0089] The above are the parameters related to the bumps. Specifically, as Figure 7 shown, the above-described parameters related to the bumps correspond to the Bump length L and the Bump height H of the bumps in Figure 7 .
[0090] "Showing Diffpair Bump Length" indicates whether to automatically display the length of the differential line bumps. As Figure 6 shown, it can be unchecked, and can be checked when it is necessary to automatically display the length of the differential line bumps.
[0091] "Specify length to bump" indicates whether to set the length to the bump.
[0092] "Specify length Value" indicates the set length value, which indicates the length that can be used to compensate for the line length. When this option is checked, the user can customize and fill in the compensation length, and no further compensation will be made if the length value is exceeded. This option is mainly used for manual compensation. As Figure 6 shown, it is not checked.
[0093] "Full cline in diffpair to bump" indicates the entire connection from the differential line pair to the bump, and automatic compensation can be performed when it is in the checked state.
[0094] "Height average to bump" indicates the average height to the bump.
[0095] "Ignore Fixed Property" indicates whether to ignore the fixed property.
[0096] This interface can also include the Report diff Length option and the Run option. When the user clicks the Report diffLength option, this differential line compensation plugin can report to the user and display the length of each conductor line in the differential line pair, so as to obtain the length difference of the differential line. After the user clicks the Run option, the differential line compensation plugin can display the subsequent step interface.
[0097] 402. Determine multiple differential line pairs to be compensated.
[0098] After enabling the differential line compensation plug-in, the electronic device can receive a selection operation from the user. This selection operation is used for the differential line pairs to be processed in the noise, and then determine the differential line pairs that need to be compensated among the differential line pairs to be processed.
[0099] As Figure 8 shown. The user can select multiple differential line pairs to be compensated by box selection. These differential line pairs include a first differential line and a second differential line. The length of the first differential line is less than the length of the second differential line, and the length difference between the first differential line and the second differential line is greater than a first threshold. In Figure 8 , it includes differential line pair 1, differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5. If the user selects differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5 by box selection, then differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5 are the differential line pairs to be compensated.
[0100] In the embodiments of the present application, the first threshold can be a preset fixed value. When the length difference between the first differential line and the second differential line is greater than the first threshold, this length difference will have an adverse impact on signal transmission. For example, it may cause problems such as signal phase deviation and distortion, thereby affecting the performance and reliability of the entire circuit board. Therefore, when the length difference between the first differential line and the second differential line is greater than the first threshold, this differential line pair is a differential line pair to be compensated. It can be understood that the first threshold can be set by the user, and specific details are not limited here.
[0101] In a possible implementation, the user can select multiple differential line pairs by box selection. After selection, the differential line compensation plug-in can obtain the length of each differential line in the multiple differential line pairs, and then compare whether the length difference between the two differential lines in each differential line pair is greater than the first threshold. If it is greater than the first threshold, then this differential line pair is a differential line pair that needs to be compensated; if it is less than or equal to the first threshold, then this differential line pair is a differential line pair that does not need to be compensated.
[0102] In a possible implementation, after the differential line compensation plug-in determines multiple differential line pairs that need to be compensated, the user can determine multiple differential line pairs to be compensated among these multiple differential line pairs that need to be compensated.
[0103] In a possible implementation, as Figure 9 shown, after the user selects multiple differential line pairs, the differential line compensation plug-in can determine the differential line pairs to be compensated among them, and prominently display the differential line pairs to be compensated or prominently display the first differential line in the differential line pairs to be compensated on the display interface. The length of the first differential line is less than the length of the second differential line (i.e., the first differential line is the differential line that needs to be compensated). As Figure 9As shown, the first differential lines of differential line pairs 2, 3, 4, and 5 are highlighted in the interface.
[0104] As Figure 9 shown, after the user selects multiple differential line pairs by box selection, the differential line compensation plug-in can calculate whether these differential line pairs need compensation and highlight the differential line pairs that are determined to need compensation.
[0105] 403. Set differential compensation parameters.
[0106] After determining multiple differential line pairs to be compensated, the differential line compensation plug-in can display a parameter setting interface as Figure 6 shown in the display interface, and the user can set differential compensation parameters for compensating the differential line pairs to be compensated through this interface.
[0107] For example Figure 6 shown, the differential line compensation plug-in interface includes the following configurable parameters or options:
[0108] “Bump Style[Unit: mils], line or Arc”. Indicates that the current design unit is mils, and the type of bump can be selected as a straight line or an arc. As Figure 6 shown, the type of bump is selected as a straight line.
[0109] “Bump length(L)=10.00” indicates that the bump length set by the user is 10.
[0110] “min gap(L)=0.01” indicates that the minimum gap length set by the user is 0.01.
[0111] “Bump height(H)=10.00” indicates that the height of the bump set by the user is 10.
[0112] “min gap(H)=0.01” indicates that the minimum height of the gap set by the user is 0.01.
[0113] “Bump trace width” indicates that the bump trace width set by the user is 5.0.
[0114] “Diffpair Length Tol=1.00” indicates the default tolerance of the differential pair, that is, the value that the length difference between the two differential lines in the differential line pair should be less than after compensation. This parameter is set by the user to 1.
[0115] "Length added per bump = 8.284" indicates the length added to the signal line caused by each bump. This value is only related to the Bump height (H). If the value of Bump height (H) changes, the corresponding Length added per bump will also change accordingly.
[0116] "Showing Diffpair Bump Length" indicates whether to automatically display the length of the differential line bumps. As Figure 6 shown, it can be unchecked and checked when it is necessary to automatically display the length of the differential line bumps.
[0117] "Specify length to bump" indicates whether to set the length to the bump.
[0118] "Specify length Value" indicates the set length value, which indicates the length that can be used to compensate for the line length. When this option is checked, the user can customize and fill in the compensation length. If it exceeds this length value, no further compensation will be made. This option is mainly used for manual compensation. As Figure 6 shown, it is not checked.
[0119] "Full cline in diffpair to bump" indicates the entire connection line from the differential line pair to the bump. When it is in the checked state, automatic compensation can be performed.
[0120] "Height average to bump" indicates the average height to the bump.
[0121] This interface may also include the Report diff Length option and the Run option. When the user clicks the Report diffLength option, the differential line compensation plugin can report and display the length of each conductor line in the differential line pair to the user, so as to obtain the length difference of the differential line. After the user clicks the Run option, the differential line compensation plugin can start to perform the length compensation of the differential line.
[0122] In a possible implementation, the differential line length compensation method adopted in the embodiments of the present application is bump compensation. The compensating parameters that can be set include at least one of the bump length, bump height, minimum gap length, minimum gap height, line width, compensation length, and compensation tolerance. Among them, as Figure 7 shown, the bump length and bump height are parameters related to the bump. The compensation length is the length of the compensation for the first differential line, and the compensation tolerance is the length difference between the first differential line and the second differential line after compensation.
[0123] 404. Determine the compensation position.
[0124] The electronic device determines the compensation position of the differential pair to be compensated, and the distance between the compensation position and the receiving end or the transmitting end of the differential pair to be compensated is less than a second threshold.
[0125] In a possible implementation, the electronic device may receive an operation instruction from the user, and the operation instruction determines the receiving end or the transmitting end. Then, the electronic device may determine the compensation position of the differential pair. The compensation position of the differential pair determined by the electronic device corresponds to the operation instruction of the user. If the operation instruction of the user of the electronic device corresponds to the transmitting end, the distance between the compensation position of the differential pair determined by the electronic device and the transmitting end is less than the second threshold; if the operation instruction of the user of the electronic device corresponds to the receiving end, the distance between the compensation position of the differential pair determined by the electronic device and the receiving end is less than the second threshold.
[0126] For example Figure 10 As shown, the user selects the transmitting end pin of the differential pair to be compensated by box selection on the interface displayed by the PCB development software. After receiving this operation, the electronic device determines that the compensation position should be closer to the transmitting end according to this operation. Therefore, it can be determined that the distance between the compensation position of the differential pair to be compensated and the transmitting end is less than the second threshold.
[0127] In the embodiments of the present application, in order to ensure that the position for compensation is close to the receiving end or the transmitting end of the differential pair, the distance between the determined compensation position and the receiving end or the transmitting end of the differential pair to be compensated needs to be less than the second threshold. The second threshold may be set by the user or may be fixed, and specific details are not limited here.
[0128] In the embodiments of the present application, when the user selects the compensation position of the differential pair to be compensated, the compensation position can be determined to be a position where the distance from the transmitting end is less than the second threshold by selecting the transmitting end pin or the transmitting end via, or the compensation position can be determined to be a position where the distance from the receiving end is less than the second threshold by selecting the receiving end pin or the receiving end via, or other methods can be used for selection, and specific details are not limited here.
[0129] In a possible implementation manner, in the embodiments of the present application, when determining the compensation position, the electronic device can directly determine the compensation position according to the differential pair to be compensated without the instruction of the user. For example, if the electronic device determines that the position for compensating the differential pair to be compensated is a position where the distance from the sending end is less than a second threshold or a position where the distance from the receiving end is less than a second threshold, it can first determine the position of the length difference of the differential pair to be compensated, and the position of the length difference is the area where the lengths of the first differential line and the second differential line of the differential pair to be compensated are different. Then, the compensation position is determined according to the position of the length difference, and the compensation position is the one closer to the position of the length difference among the positions where the distance from the sending end is less than the second threshold or the positions where the distance from the receiving end is less than the second threshold. That is, if the position where the length difference occurs is closer to the sending end, the compensation position is determined to be the position where the distance from the sending end is less than the second threshold; if the position where the length difference occurs is closer to the receiving end, the compensation position is determined to be the position where the distance from the receiving end is less than the second threshold.
[0130] As Figure 11 shown, in the embodiments of the present application, the position for compensating the differential pair to be compensated can be one position or multiple positions. Specifically, when compensating at one position, it can be a continuous section of compensation or multiple separate sections of compensation, and specific details are not limited here. For example Figure 11 in (a), the compensation position of the differential line is the position where the distance from the sending end is less than the second threshold; as Figure 11 in (b), the compensation positions of the differential line are the positions where the distance from the sending end is less than the second threshold and the positions where the distance from the receiving end is less than the second threshold; as Figure 11 in (c), the compensation position is the position where the distance from the sending end is less than the second threshold, but there are two compensation positions. In the embodiments of the present application, the compensation position can be the position where the distance from the receiving end is less than the second threshold or the position where the distance from the receiving end is less than the second threshold. In any compensation, there can be one compensation position or multiple compensation positions, and specific details are not limited here.
[0131] In a possible implementation manner, there can also be multiple compensation positions in the embodiments of the present application. For example, when the length to be compensated is relatively long, a part can be compensated at the receiving end and another part can be compensated at the sending end. For example Figure 11 as shown in (b), when the length to be compensated is 100 mils, 40 mils can be compensated at the position where the distance from the sending end is less than the second threshold, and then 60 mils can be compensated at the position where the distance from the receiving end is less than the second threshold. There can also be other compensation methods, and specific details are not limited here.
[0132] In the embodiments of the present application, the execution order of step 404 and step 403 is not limited. That is, the electronic device may first set the compensation parameters and then determine the compensation position; the electronic device may also first set the compensation parameters and then determine the compensation position, and specifically, it is not limited here.
[0133] 405. Compensate multiple differential line pairs to be compensated.
[0134] According to the set compensation parameters, the electronic device compensates multiple differential line pairs to be compensated at the determined compensation position, and the length difference between the first differential line and the second differential line in the compensated differential line pair is less than or equal to the first threshold.
[0135] In the embodiments of the present application, the electronic device can simultaneously perform automatic compensation on multiple differential line pairs to be compensated, which has higher efficiency compared to the manual method that can only process one by one, and improves the design and manufacturing efficiency of the PCB circuit.
[0136] For example Figure 12 As shown, the electronic device can compensate differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5 according to the set compensation parameters. In the embodiments of the present application, the compensation for the differential line pair is always for the length of the first differential line in the differential line pair. Therefore, the compensation for differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5 is also for the lengths of multiple first differential lines therein.
[0137] For example, the first differential line of differential line pair 2 is differential line 2A, and the second differential line is differential line 2B. The electronic device can perform length compensation on differential line 2A of differential line pair 2, and the length difference between the compensated differential line 2A and differential line 2B is less than the first threshold. The electronic device can also perform the same compensation operation on the first differential line 3A of differential line pair 3, the first differential line 4A of differential line pair 4, and the first differential line 5A of differential line pair 5. Specifically, it will not be elaborated here.
[0138] In a possible implementation manner, when compensating the differential line pair, compensation can be performed at a position where the distance from the sending end is less than the second threshold and at a position where the distance from the receiving end is less than the second threshold. Specifically, the electronic device can first perform the first length compensation on the first differential line at a position where the distance from the sending end is less than the second threshold according to the set compensation parameters. After the initial compensation, the length difference between the first differential line and the second differential line is greater than the first threshold. Therefore, after the first compensation (initial compensation) is completed, the electronic device can re-set the compensation parameters according to the length of the first differential line after the first compensation, and then perform the second compensation on the first differential line at a position where the distance from the receiving end is less than the second threshold according to the re-set compensation parameters. After the second compensation, the length difference between the first differential line and the second differential line is less than or equal to the first threshold.
[0139] In the embodiments of the present application, there may be multiple determined compensation positions. For example, it may include a first position and a second position. The first position is one of the positions where the distance from the sending end is less than a second threshold or the distance from the receiving end is less than the second threshold, and the second position is the other of the positions where the distance from the sending end is less than the second threshold or the distance from the receiving end is less than the second threshold. For example Figure 13 As shown, the compensation positions determined in step 404 include a first position and a second position. The first position is located at a position where the distance from the sending end is less than the second threshold, and the second position is located at a position where the distance from the receiving end is less than the second threshold. Then, when compensating the first differential line, the following compensation steps can be performed:
[0140] 1301. Compensate at the first position according to the compensation parameters.
[0141] Compensate the first differential line at the first position according to the first set compensation parameters.
[0142] For example, when the total length that the first differential line needs to be compensated is 100 mils, 40 mils can be compensated at a position where the distance from the sending end is less than the second threshold, and then 60 mils can be compensated at a position where the distance from the receiving end is less than the second threshold. At this time, the compensation tolerance can be set to 61 for the first compensation. For example, it can be set Figure 6 The default tolerance of the differential pair of the parameter "Diffpair LengthTol" in is 61 for the first compensation.
[0143] 1302. Reset the compensation parameters.
[0144] Reset the compensation parameters according to the compensated first differential line.
[0145] For example, when the total length that the first differential line needs to be compensated is 100 mils, the compensation tolerance can be first set to 61, and 40 mils can be compensated at the first position where the distance from the sending end is less than the second threshold. After compensating 40 mils at the position where the distance from the sending end is less than the second threshold, the compensation tolerance can be set to 1. For example, it can be set Figure 6 The default tolerance of the differential pair of the parameter "DiffpairLength Tol" in is 1.
[0146] 1303. Compensate at the second position according to the reset compensation parameters.
[0147] Perform a second compensation on the first differential line at the second position according to the reset compensation parameters.
[0148] For example, when the total length that the first differential line needs to be compensated is 100 mils, the compensation tolerance can be set to 61 first, and 40 mils are compensated at the first position where the distance from the transmitting end is less than the second threshold. After compensating 40 mils at the position where the distance from the transmitting end is less than the second threshold, the re - set compensation tolerance is 1. Then, the first differential line is compensated for the second time according to the re - set compensation tolerance of 1, so that 40 mils are compensated at the position where the distance from the transmitting end is less than the second threshold, and then 60 mils are compensated at the position where the distance from the receiving end is less than the second threshold.
[0149] In summary, the electronic device performs the first compensation according to the compensation parameter Diffpair Length Tol = 61, compensates the target first differential line at the first position of the target first differential line, and the compensated length is the first length; then, the compensation parameter Diffpair Length Tol = 1 is re - set according to the compensated target first differential line; and then, according to the re - set compensation parameter, the target first differential line is compensated at the second position of the target first differential line, and the compensated length is the second length. The sum of the first length of 40 mils and the second length of 60 mils is the length difference of 100 mils between the target first differential line and the target second differential line in the target differential pair to be compensated.
[0150] In a possible implementation, as Figure 14 shown, since impedance discontinuity may occur at the compensation position when compensating the first differential line by the bump compensation method, when the electronic device compensates the first differential line, it can not only perform length compensation on the first differential line, but also perform line - width compensation.
[0151] For example, when performing compensation, the user can also set the bump trace width parameter "Bump trace width" to 6.8 to perform width compensation while performing length compensation, so as to avoid the impedance discontinuity problem caused by bump compensation.
[0152] In a possible implementation, the electronic device can first determine the part with impedance discontinuity in the first differential line, and then when compensating the first differential line at the compensation position, it can simultaneously compensate the part with impedance discontinuity and the line - width at the compensation position, and the compensated line - width is greater than the line - width before compensation.
[0153] 406. Output the compensation result.
[0154] After the user compensates the multiple differential line pairs to be compensated through the differential line compensation plug-in, a compensation result can be output. The compensation result can include the number of differential line pairs compensated, the identification of the differential line pairs compensated, and the compensation length. The compensation number indicates the number of differential lines compensated, the differential line identification indicates the corresponding differential line, and the compensation length includes the length compensated for each pair of differential lines and the length compensated for all differential lines.
[0155] As Figure 15 shown, after compensating differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5, the differential line compensation plug-in can output a compensation result. The compensation result can include information such as the corresponding identification of differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5, the compensation length, and the length of the differential lines after compensation. In addition, other information can also be included, which is not specifically limited here.
[0156] In another possible implementation, the user can also view the lengths of the two conductor lines of the differential lines after compensation through the Report diff Length option. For example, after the user selects a differential line and then clicks the Report diff Length option, the differential line compensation plug-in can report to the user and display the length of each differential line in the differential line pair, output the compensation result, and the electronic device displays the compensation result through a display device, so that the user can know the compensation result.
[0157] Exemplarily, Figure 16 is a schematic flowchart of another differential line pair compensation method provided by an embodiment of the present application. Referring to Figure 16 shown, the differential line pair compensation method can specifically include the following steps:
[0158] 1601. Determine the differential line pairs to be compensated.
[0159] The electronic device determines the differential line pairs to be compensated.
[0160] In a possible implementation, the electronic device can automatically detect, through the differential line compensation plug-in, the differential line pairs that need to be compensated among the multiple differential line pairs to be processed.
[0161] Specifically, the electronic device can detect whether the length difference between the two differential lines of the multiple differential line pairs to be processed is greater than a first threshold. If the length difference between the two differential lines of a certain differential line pair is greater than the first threshold, it can be determined that the differential line pair is a differential line pair that needs to be compensated. If the length difference between the two differential lines of a certain differential line pair is less than or equal to the first threshold, it can be determined that the differential line pair is a differential line pair that does not need to be compensated.
[0162] In another possible implementation, the multiple differential line pairs to be compensated can also be selected by the user. AsFigure 8 As shown. The user can select multiple differential line pairs to be compensated by box selection. These differential line pairs include a first differential line and a second differential line. The length of the first differential line is less than the length of the second differential line, and the length difference between the first differential line and the second differential line is greater than a first threshold. In Figure 8 , it includes differential line pair 1, differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5. If the user selects differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5 by box selection, then differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5 are the differential line pairs to be compensated.
[0163] In the embodiments of the present application, the first threshold can be a fixed value. When the length difference between the first differential line and the second differential line is greater than the first threshold, this length difference will have an adverse impact on signal transmission. For example, it may cause problems such as signal phase deviation and distortion, thereby affecting the performance and reliability of the entire circuit board. Therefore, when the length difference between the first differential line and the second differential line is greater than the first threshold, this differential line pair is a differential line pair to be compensated.
[0164] In a possible implementation, the user can select multiple differential line pairs by box selection. After selection, the differential line compensation plug-in can obtain the length of each differential line in the multiple differential line pairs, and then compare whether the length difference between the two differential lines in each differential line pair is greater than the first threshold. If it is greater than the first threshold, then this differential line pair is a differential line pair that needs to be compensated; if it is less than or equal to the first threshold, then this differential line pair is a differential line pair that does not need to be compensated.
[0165] In a possible implementation, after the differential line compensation plug-in determines multiple differential line pairs that need to be compensated, the user can determine multiple differential line pairs to be compensated from these multiple differential line pairs that need to be compensated.
[0166] In a possible implementation, as Figure 9 shown, after the user selects multiple differential line pairs, the differential line compensation plug-in can determine the differential line pairs to be compensated among them, and prominently display the differential line pairs to be compensated or prominently display the first differential line in the differential line pairs to be compensated on the display interface. The length of the first differential line is less than the length of the second differential line (that is, the first differential line is the differential line that needs to be compensated). As Figure 9 shown, the first differential lines of differential line pair 2, differential line pair 3, differential line pair 4, and differential line pair 5 are prominently displayed in the interface.
[0167] As Figure 9 shown, after the user boxes and selects multiple differential line pairs, the differential line compensation plug-in can calculate whether these differential line pairs need to be compensated, and prominently display the differential line pairs determined to need compensation.
[0168] 1602. Set compensation parameters.
[0169] The electronic device sets corresponding compensation parameters according to the length difference between the first differential line and the second differential line.
[0170] In a possible implementation, the electronic device sets corresponding compensation parameters according to multiple differential line pairs to be compensated, and the compensation parameters can be applied to compensate the multiple differential line pairs to be compensated.
[0171] In a possible implementation, the differential line length compensation method adopted in the embodiments of the present application is bulge compensation. The compensable parameters that can be set include at least one of bulge length, bulge height, minimum gap length, minimum gap height, line width, compensation length, and compensation tolerance. Among them, as Figure 7 shown, the bulge length and bulge height are parameters related to the bulge. The compensation length is the length of the compensation for the first differential line, and the compensation tolerance is the length difference between the first differential line and the second differential line after compensation.
[0172] After determining multiple differential line pairs to be compensated, the differential line compensation plug-in can display a parameter setting interface as shown in Figure 6 on the display interface, and the user can set differential compensation parameters through this interface.
[0173] For example Figure 6 shown, the differential line compensation plug-in interface includes the following configurable parameters or options:
[0174] “Bump Style[Unit: mils], line or Arc”. It indicates that the current design unit is mils, and the type of the bump can be selected as a straight line or an arc. As shown in Figure 6 , the type of the bump is selected as a straight line.
[0175] “Bump length(L)=10.00” indicates that the user sets the bump length to 10.
[0176] “min gap(L)=0.01” indicates that the user sets the minimum gap length to 0.01.
[0177] “Bump height(H)=10.00” indicates that the user sets the height of the bump to 10.
[0178] “min gap(H)=0.01” indicates that the user sets the minimum height of the gap to 0.01.
[0179] “Bump trace width” indicates that the user sets the bump trace width to 5.0.
[0180] "Diffpair Length Tol = 1.00" indicates the default tolerance of the differential pair, that is, the value that the length difference between the two differential lines in the differential line pair should be less than after compensation. This parameter is set to 1 by the user.
[0181] "Length added per bump = 8.284" indicates the length added to the signal line caused by each bump. This value is only related to the Bump height (H). If the value of Bump height (H) changes, the corresponding Length added per bump will also change accordingly.
[0182] "Showing Diffpair Bump Length" indicates whether to automatically display the length of the differential line bump. As Figure 6 shown, it can be unchecked, and can be checked when it is necessary to automatically display the length of the differential line bump.
[0183] "Specify length to bump" indicates whether to set the length to the bump.
[0184] "Specify length Value" indicates the set length value, which indicates the length that can be used to compensate for the line length. When this option is checked, the user can customize and fill in the compensation length. If it exceeds this length value, no further compensation will be made. This option is mainly used for manual compensation. As Figure 6 shown, it is not checked.
[0185] "Full cline in diffpair to bump" indicates the entire connection line from the differential line pair to the bump. When it is in the checked state, automatic compensation can be performed.
[0186] "Height average to bump" indicates the average height to the bump.
[0187] This interface can also include the Report diff Length option and the Run option. When the user clicks the Report diffLength option, this differential line compensation plugin can report to the user and display the length of each conductor line in the differential line pair, so as to obtain the length difference of the differential line. After the user clicks the Run option, the differential line compensation plugin can start to perform the length compensation of the differential line.
[0188] 1603. Determine the compensation position.
[0189] The electronic device determines the compensation position, and the distance between this compensation position and the receiving end or the sending end of the differential line pair to be compensated is less than the second threshold.
[0190] In the embodiments of the present application, the compensation position determined by the electronic device may be a single position. For example, it may be the first position, and the distance between the first position and the transmitting end of the differential pair to be compensated is less than a second threshold; or it may be the second position, and the distance between the second position and the receiving end of the differential pair to be compensated is less than the second threshold. It may also be multiple positions. For example, the compensation positions determined by the electronic device include the first position and the second position. The distance between the first position and the transmitting end of the differential pair to be compensated is less than the second threshold, and the distance between the second position and the receiving end of the differential pair to be compensated is less than the second threshold.
[0191] In a possible implementation, the electronic device may receive an operation instruction from the user on the interface displayed by the PCB development software and determine the compensation position according to the operation instruction. For example Figure 10 As shown, the user selects the transmitting end pin of the differential pair to be compensated by means of box selection on the interface displayed by the PCB development software. After receiving this operation, the electronic device determines the compensation position according to this operation as the position whose distance from the transmitting end is less than the second threshold.
[0192] In the embodiments of the present application, in order to ensure that the position for compensation is close to the receiving end or the transmitting end of the differential pair, the distance between the determined compensation position and the receiving end or the transmitting end of the differential pair to be compensated needs to be less than the second threshold. The second threshold can be set by the user or can be fixed, and specific details are not limited here.
[0193] For example Figure 10 As shown, the compensation position of the differential pair selected by the user through box selection is the position whose distance from the transmitting end is less than the second threshold. Specifically, when determining the compensation position, the user selects the transmitting end pin of the differential pair to be compensated by means of box selection, and the electronic device can accordingly determine that the compensation position of the differential pair to be compensated is the position whose distance from the transmitting end is less than the second threshold.
[0194] In the embodiments of the present application, when the user selects the compensation position of the differential pair to be compensated, the compensation position can be determined as the position whose distance from the transmitting end is less than the second threshold by selecting the transmitting end pin or the transmitting end via, or the compensation position can be determined as the position whose distance from the receiving end is less than the second threshold by selecting the receiving end pin or the receiving end via, or other methods can be used for selection, and specific details are not limited here.
[0195] In a possible implementation, in the embodiments of the present application, when determining the compensation position, the electronic device can directly determine the compensation position according to the differential pair to be compensated without the instruction of the user. For example, when determining that the position for compensating the differential pair to be compensated is a position where the distance from the sending end is less than the second threshold or the distance from the receiving end is less than the second threshold, the length difference position of the differential pair to be compensated can be first determined, and the length difference position is the area where the lengths of the first differential line and the second differential line of the differential pair to be compensated are different. Then, the compensation position is determined according to the length difference position, and the compensation position is the one closer to the length difference position among the positions where the distance from the sending end is less than the second threshold or the distance from the receiving end is less than the second threshold. That is, if the position where the length difference occurs is closer to the sending end, the compensation position is determined to be the position where the distance from the sending end is less than the second threshold; that is, if the position where the length difference occurs is closer to the receiving end, the compensation position is determined to be the position where the distance from the receiving end is less than the second threshold.
[0196] As Figure 11 shown, in the embodiments of the present application, the position for compensating the differential pair to be compensated can be on one side or on multiple sides. Specifically, when compensating on one side, it can be a continuous section of compensation or multiple separate sections of compensation, and specific details are not limited here. For example Figure 11 in (a), the compensation position of the differential line is at a position where the distance from the sending end is less than the second threshold; as Figure 11 in (b), the compensation position of the differential line is at a position where the distance from the sending end is less than the second threshold and at a position where the distance from the receiving end is less than the second threshold; as Figure 11 in (c), the compensation position is at a position where the distance from the sending end is less than the second threshold, but there are two compensation positions. In the embodiments of the present application, the compensation position can be at a position where the distance from the receiving end is less than the second threshold or at a position where the distance from the receiving end is less than the second threshold. In any compensation, there can be one compensation position or multiple compensation positions, and specific details are not limited here.
[0197] In a possible implementation, there can also be multiple compensation positions in the embodiments of the present application. For example, when the length to be compensated is relatively long, a part can be compensated at the receiving end and another part can be compensated at the sending end. For example Figure 11 as shown in (b), when the length to be compensated is 100 mils, 40 mils can be compensated at a position where the distance from the sending end is less than the second threshold, and 60 mils can be compensated at a position where the distance from the receiving end is less than the second threshold. There can also be other compensation methods, and specific details are not limited here.
[0198] 1604. Compensate the differential pair to be compensated.
[0199] The electronic device compensates the differential pair to be compensated at the determined compensation position according to the set compensation parameters, and the length difference between the first differential line and the second differential line in the compensated differential pair is less than or equal to the first threshold.
[0200] For example Figure 12 As shown, the electronic device can compensate differential pair 2, differential pair 3, differential pair 4, and differential pair 5 according to the set compensation parameters. In the embodiments of the present application, the compensation for the differential pair is for the length of the first differential line in the differential pair. Therefore, the compensation for differential pair 2, differential pair 3, differential pair 4, and differential pair 5 is also for the lengths of multiple first differential lines among them.
[0201] For example, the first differential line of differential pair 2 is differential line 2A, and the second differential line is differential line 2B. The electronic device can perform length compensation on differential line 2A of differential pair 2, and the length difference between the compensated differential line 2A and differential line 2B is less than the first threshold. The electronic device can also perform the same compensation operation on the first differential line 3A of differential pair 3, the first differential line 4A of differential pair 4, and the first differential line 5A of differential pair 5. Details are not described here.
[0202] In a possible implementation manner, when compensating the differential pair, compensation can be performed at a position where the distance from the sending end is less than the second threshold and at a position where the distance from the receiving end is less than the second threshold. Specifically, the electronic device can first perform the first length compensation on the first differential line at a position where the distance from the sending end is less than the second threshold according to the set compensation parameters. After the first compensation is completed, the electronic device can reset the compensation parameters according to the first differential line after the first compensation, and then perform the second compensation on the first differential line at a position where the distance from the receiving end is less than the second threshold according to the reset compensation parameters. After the second compensation, the length difference between the first differential line and the second differential line is less than or equal to the first threshold, and the sum of the length of the first compensation and the length of the second compensation is the length difference between the first differential line and the second differential line before compensation.
[0203] In the embodiments of the present application, there can be multiple determined compensation positions. For example, it can include a first position and a second position. The first position is one of the position where the distance from the sending end is less than the second threshold or the position where the distance from the receiving end is less than the second threshold, and the second position is the other of the position where the distance from the sending end is less than the second threshold or the position where the distance from the receiving end is less than the second threshold. For example Figure 13As shown, the determined compensation positions include a first position and a second position. The first position is located at a position where the distance from the transmitting end is less than a second threshold, and the second position is located at a position where the distance from the receiving end is less than the second threshold. Then, when compensating the first differential line, the following compensation steps can be performed:
[0204] 1301. Compensate at the first position according to the compensation parameters.
[0205] Compensate the first differential line at the first position according to the initially set compensation parameters.
[0206] For example, when the total length that the first differential line needs to be compensated is 100 mils, 40 mils can be compensated at a position where the distance from the transmitting end is less than the second threshold, and then 60 mils can be compensated at a position where the distance from the receiving end is less than the second threshold. At this time, the compensation tolerance can be set to 61 for the first compensation. For example, it can be set that Figure 6 the default tolerance of the "Diffpair LengthTol" differential pair in [parameters] is 61 for the first compensation.
[0207] 1302. Reset the compensation parameters.
[0208] Reset the compensation parameters according to the compensated first differential line.
[0209] For example, when the total length that the first differential line needs to be compensated is 100 mils, the compensation tolerance can be initially set to 61, and 40 mils can be compensated at the first position where the distance from the transmitting end is less than the second threshold. After compensating 40 mils at the position where the distance from the transmitting end is less than the second threshold, the compensation tolerance can be set to 1. For example, it can be set that Figure 6 the default tolerance of the "DiffpairLength Tol" differential pair in [parameters] is 1.
[0210] 1303. Compensate at the second position according to the reset compensation parameters.
[0211] Perform a second compensation on the first differential line at the second position according to the reset compensation parameters.
[0212] For example, when the total length that the first differential line needs to be compensated is 100 mils, the compensation tolerance can be initially set to 61, and 40 mils can be compensated at the first position where the distance from the transmitting end is less than the second threshold. After compensating 40 mils at the position where the distance from the transmitting end is less than the second threshold, the reset compensation tolerance is 1. Then, perform a second compensation on the first differential line according to the reset compensation tolerance of 1, so as to achieve compensating 40 mils at a position where the distance from the transmitting end is less than the second threshold, and then compensating 60 mils at a position where the distance from the receiving end is less than the second threshold.
[0213] In summary, the electronic device performs the first compensation according to the compensation parameter Diffpair Length Tol = 61, compensates the target first differential line at the first position of the target first differential line, and the compensated length is the first length; then re - sets the compensation parameter Diffpair Length Tol = 1 according to the compensated target first differential line; and then, according to the re - set compensation parameter, compensates the target first differential line at the second position of the target first differential line, and the compensated length is the second length. The sum of the first length of 40 mils and the second length of 60 mils is the length difference of 100 mils between the target first differential line and the target second differential line in the target differential pair to be compensated.
[0214] In a possible implementation, as Figure 14 shown, when compensating the first differential line by means of bump compensation, impedance discontinuity may occur at the compensation position. Therefore, when the electronic device compensates the first differential line, it can not only perform length compensation on the first differential line, but also perform line - width compensation.
[0215] For example, when performing compensation, the user can also set the bump trace width parameter "Bump trace width" to 6.8 to perform width compensation while performing length compensation, so as to avoid impedance discontinuity problems caused by bump compensation.
[0216] In a possible implementation, the electronic device can first determine the impedance - discontinuous part of the first differential line, and then when compensating the first differential line at the compensation position, it can simultaneously compensate the impedance - discontinuous part and the line width at the compensation position, and the compensated line width is greater than the line width before compensation.
[0217] In the embodiments of the present application, after the user compensates the multiple differential pairs to be compensated through the differential - line compensation plug - in, the compensation result can be output. The compensation result can include the number of differential pairs compensated, the identification of the differential pairs compensated, and the compensation length. The compensation number indicates the number of differential lines compensated, the differential - line identification indicates the corresponding differential line, and the compensation length includes the length compensated for each pair of differential lines and the length compensated for all differential lines.
[0218] As Figure 15 shown, after compensating differential pairs 2, 3, 4, and 5, the differential - line compensation plug - in can output the compensation result, which can include information such as the corresponding identification, compensation length, and length of the compensated differential line for differential pairs 2, 3, 4, and 5. In addition, other information can also be included, which is not specifically limited here.
[0219] In another possible implementation, the user can also view the lengths of the two conductor lines of the compensated differential line through the Report diff Length option. For example, after the user selects the differential line and then clicks the Report diff Length option, the differential line compensation plug-in can report to the user and display the lengths of each differential line in the differential pair, output the compensation result, and the electronic device displays the compensation result through the display device, so that the user can know the compensation result.
[0220] The above Figures 4 to 16 illustrates the differential line pair fusion method provided by the embodiments of the present application. Next, the device for executing the above method provided by the embodiments of the present application will be described.
[0221] Figure 17 is a schematic structural diagram of a differential line pair fusion device provided by an embodiment of the present application. The differential line pair fusion device may be the electronic device in the embodiment of the present application, or a chip or a chip system in the electronic device.
[0222] As Figure 17 shown, the differential line pair fusion device 1700 may include a processing unit 1701. Among them, the processing unit 1701 is used to support the differential line pair fusion device 1700 to execute the above processing steps.
[0223] Specifically, the processing unit 1701 is used to determine the differential line pair to be compensated. The differential line pair to be compensated includes a first differential line and a second differential line. The length of the first differential line is less than the length of the second differential line, and the length difference between the first differential line and the second differential line is greater than the first threshold. The processing unit 1701 is used to determine the compensation position. The distance between the compensation position and the receiving end or the sending end of the differential line pair to be compensated is less than the second threshold. The processing unit 1701 is used to compensate the differential line pair to be compensated at the compensation position. The length difference between the first differential line and the second differential line in the compensated differential line pair is less than or equal to the first threshold.
[0224] In a possible implementation, the processing unit 1701 is further used to set corresponding compensation parameters according to multiple differential line pairs to be compensated.
[0225] In a possible implementation, the differential line pair fusion device 1700 further includes a display unit 1702. The display unit 1702 is connected to the processing unit 1701 through a line. The display unit is used to display information interfaces such as compensation parameters and compensation results to the user.
[0226] Figure 18 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 18As shown, the electronic device 1800 includes one or more (including two) processors 1801, a communication line 1802, and a communication interface 1803. Optionally, the electronic device 1800 further includes a memory 1804.
[0227] In some embodiments, the memory 1804 stores the following elements: executable modules or data structures, or subsets thereof, or extended sets thereof.
[0228] The methods described in the embodiments of the present application above can be applied to the processor 1801 or implemented by the processor 1801. The processor 1801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above methods can be completed by the integrated logic circuit in the hardware of the processor 1801 or instructions in software form. The above-mentioned processor 1801 may be a general-purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate, transistor logic devices, or discrete hardware components. The processor 1801 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
[0229] The steps of the methods disclosed in combination with the embodiments of the present application can be directly implemented by the execution of a hardware decoding processor or implemented by the combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a mature storage medium in the art such as a random access memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable read-only memory (EEPROM). This storage medium is located in the memory 1804, and the processor 1801 reads the information in the memory 1804 and combines its hardware to complete the steps of the above methods.
[0230] Communication can occur between the processor 1801, the memory 1804, and the communication interface 1803 through the communication line 1802.
[0231] In the above embodiments, the instructions stored in the memory for the processor to execute can be implemented in the form of a computer program product. Among them, the computer program product can be pre-written in the memory or downloaded and installed in the memory in software form.
[0232] The embodiments of the present application also provide a computer program product, which includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, they wholly or partly generate the processes or functions executed by the electronic device or the electronic device in the embodiments of the present application. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website satellite constellation, computer, server, or data center to another website satellite constellation, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center that includes one or more available media integrated. For example, the available medium may include magnetic media (such as floppy disks, hard disks, or magnetic tapes), optical media (such as digital versatile discs (DVDs)), or semiconductor media (such as solid state disks (SSDs)), etc.
[0233] The embodiments of the present application provide an electronic device, which includes a processor and a memory. The memory is used to store a computer program, and the processor is used to execute the computer program to perform the differential pair compensation method described above.
[0234] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program or instructions. When the computer program or instructions are executed by a processor, they implement the methods executed by the base station or the electronic device described above. The methods described in the above embodiments may be wholly or partly implemented by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. The computer-readable medium may include a computer storage medium and a communication medium, and may also include any medium that can transmit a computer program from one place to another. The storage medium may be any target medium accessible by a computer.
[0235] As a possible design, a computer-readable medium may include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disc storage; the computer-readable medium may include disk storage or other disk storage devices. Moreover, any connecting wire may also be properly referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of the medium. As used herein, disk and optical disc include optical disc (CD), laser disc, optical disc, DVD, floppy disk, and Blu-ray disc, where disks typically reproduce data magnetically, while optical discs use lasers to optically reproduce data. Combinations of the above should also be included within the scope of computer-readable media.
[0236] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the processing unit of the computer or other programmable data processing device generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0237] The above specific implementation manners further elaborate on the purpose, technical solution, and beneficial effects of the present application. It should be understood that the above are only specific implementation manners of the present application and are not used to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solution of the present application should be included within the protection scope of the present application.
Claims
1. A differential pair compensation method, applied to an electronic device, characterized in that The method includes: Receiving a selection operation of a user, where the selection operation is used to select a differential pair to be processed; Determining a differential pair to be compensated in the differential pair to be processed, where the differential pair to be compensated includes a first differential line and a second differential line, the length of the first differential line is less than the length of the second differential line, and the length difference between the first differential line and the second differential line is greater than a preset first threshold; Determining a compensation position, where the distance between the compensation position and the receiving end or the sending end of the differential pair to be compensated is less than a preset second threshold; Compensating the differential pair to be compensated at the compensation position, and the length difference between the first differential line and the second differential line in the compensated differential pair is less than or equal to the first threshold.
2. The method according to claim 1, before compensating the differential pair to be compensated at the compensation position, characterized in that The method further includes: Setting corresponding compensation parameters according to the length difference between the first differential line and the second differential line; Correspondingly, the compensating the differential pair to be compensated at the compensation position includes: Compensating the differential pair to be compensated at the compensation position according to the compensation parameters.
3. The method according to claim 2, wherein The compensating the differential pair to be compensated at the compensation position according to the compensation parameters includes: Compensating the first differential line at the compensation position according to the compensation parameters.
4. The method according to claim 3, wherein The determining the compensation position includes: Determining the length difference position in the differential pair to be compensated that causes the lengths of the first differential line and the second differential line to be different; Determining that among the positions whose distances from the sending end are less than or equal to the second threshold and the positions whose distances from the receiving end are less than or equal to the second threshold, the one closer to the length difference position is the compensation position.
5. The method according to claim 3, wherein The compensation position includes a first position and a second position. The first position is one of the positions whose distances from the sending end are less than or equal to the second threshold and the positions whose distances from the receiving end are less than or equal to the second threshold, and the second position is the other of the positions whose distances from the sending end are less than the second threshold and the positions whose distances from the receiving end are less than the second threshold. The compensating the first differential line at the compensation position according to the compensation parameters includes: Compensating the first differential line for the first time at the first position of the first differential line according to the compensation parameters, and the length difference between the length of the first differential line after the first compensation and the length of the second differential line is greater than the first threshold; Resetting the compensation parameters according to the length difference between the length of the first differential line after the first compensation and the length of the second differential line; Compensating the first differential line at the second position of the first differential line according to the reset compensation parameters.
6. The method according to claim 4 or 5, characterized in that, The compensating the first differential line in the differential pair at the compensation position according to the compensation parameters includes: Compensating the first differential line at the compensation position according to the compensation parameters, and the line width of the compensation position of the first differential line after compensation is greater than the line width before compensation.
7. The method according to claim 6, characterized in that, The determining the differential pair to be compensated in the differential pair to be processed includes: Obtaining the length of each differential line in the differential pair to be processed; Determine a differential pair to be compensated in the differential pair to be processed, where the length difference between the first differential line and the second differential line in the differential pair to be compensated is greater than the first threshold.
8. The method according to claim 7, wherein The compensation is bulge compensation, and the compensation parameters include at least one of bulge length, bulge height, minimum gap length, minimum gap height, line width, compensation length, and compensation tolerance.
9. An electronic device, characterized in that, It includes a memory and a processor. The memory is used to store a computer program, and the processor is used to call the computer program to execute the differential pair compensation method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, A computer program or instruction is stored in the computer-readable storage medium. When the computer program or instruction is run, the differential pair compensation method according to any one of claims 1 to 8 is implemented.
11. A computer program product, characterized in that, It includes a computer program. When the computer program is run, the computer is made to execute the differential pair compensation method according to any one of claims 1 to 8.