Transmission line impedance management and control method, system and device and storage medium
By establishing a transmission line stacked structure model and setting the error range, the degree of influence of each parameter on the transmission line impedance is determined, and the problem of difficult control of the transmission line impedance error on the printed circuit board is solved, and lower impedance error and higher Signal integrity.
Patent Information
- Application Number
- CN202411165176.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-15
AI Technical Summary
The prior art is difficult to effectively control the transmission line impedance error on printed circuit boards (PCBs), especially at high-speed signal rates, and the conventional impedance error capability is difficult to reach ±5% or even ±3%.
By establishing a transmission line stack structure model, setting the error range of specified parameters, generating multiple test cases, and conducting simulation tests to determine the degree of impact of each specified parameter on the transmission line impedance, thereby performing targeted parameter error control.
Accurate control of transmission line impedance errors is achieved, impedance errors are reduced, and signal integrity is improved.
Smart Images

Figure CN118966119A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit technology, and in particular to a method, system, device and storage medium for controlling transmission line impedance. Background Art
[0002] With the rapid development of high-speed signals, signal integrity has become increasingly important. In the field of signal integrity, impedance is a key parameter. If you get the impedance and propagation delay of the interconnect, you will know almost all of its electrical characteristics. For example, problems that affect signal integrity, such as reflection, crosstalk, and power rail collapse, can all be described using impedance.
[0003] In PCB (Printed Circuit Board) design, transmission line impedance control is particularly important, especially as high-speed signal rates have reached PCIe (Peripheral Component Interconnectexpress, high-speed serial computer expansion bus standard) 5.0 and PCIE6.0. PCB processing manufacturers are working hard to control impedance errors more strictly. At present, the impedance error that PCB manufacturers can control is usually ±10%, and some can reach ±8%. It is difficult to achieve ±5% or even ±3% for transmission line impedance control.
[0004] In summary, how to effectively control the transmission line impedance to reduce the impedance error is a technical problem that technicians in this field urgently need to solve. Summary of the invention
[0005] The object of the present invention is to provide a transmission line impedance control method, system, device and storage medium to effectively control the transmission line impedance and reduce impedance error.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] In a first aspect, the present invention provides a method for controlling transmission line impedance, comprising:
[0008] Establishing a transmission line stacking structure model according to the received building instruction, and establishing a transmission line model on the transmission line stacking structure model;
[0009] According to the received parameter configuration instruction, setting respective parameter error ranges for respective designated parameters in the transmission line model;
[0010] Generate multiple test cases based on the parameter error range of each specified parameter;
[0011] Wherein, for each of the test cases, the test case includes each of the specified parameters, and the value of each of the specified parameters in the test case conforms to the corresponding parameter error range;
[0012] Based on the transmission line model, simulation tests of each test case are performed in sequence to obtain the transmission line impedance of the transmission line model under each test case;
[0013] Based on the obtained transmission line impedances, the transmission line impedance error range of the transmission line model is determined, and the influence degree of each of the specified parameters on the transmission line impedance is determined.
[0014] On the other hand, for each of the specified parameters, at least in one of the test cases, the value of the specified parameter is equal to the maximum value in the parameter error range of the specified parameter, and, at least in one of the test cases, the value of the specified parameter is equal to the minimum value in the parameter error range of the specified parameter, and, at least in one of the test cases, the value of the specified parameter is equal to the typical value in the parameter error range of the specified parameter.
[0015] On the other hand, based on the obtained transmission line impedances, determining the transmission line impedance error range of the transmission line model includes:
[0016] Discarding, among the obtained transmission line impedances, the transmission line impedances that are beyond a preset first range;
[0017] The maximum value of the remaining transmission line impedances after discarding is used as the maximum value of the transmission line impedance error range of the determined transmission line model;
[0018] The minimum value of the remaining transmission line impedances after discarding is used as the minimum value of the transmission line impedance error range of the determined transmission line model.
[0019] On the other hand, according to the received parameter configuration instruction, setting respective parameter error ranges for respective specified parameters in the transmission line model includes:
[0020] When the transmission line model represents a transmission line located at the top layer of a circuit board, according to the received parameter configuration instruction, the respective parameter error ranges are set for the line width, the lower layer dielectric thickness, the routing thickness, and the board dielectric constant in the transmission line model;
[0021] When the transmission line model represents a transmission line located at the bottom layer of a circuit board, according to the received parameter configuration instruction, the respective parameter error ranges are set for the line width, upper layer dielectric thickness, routing thickness, and board dielectric constant in the transmission line model;
[0022] When the transmission line model represents a transmission line located in the middle layer of a circuit board, according to the received parameter configuration instructions, the respective parameter error ranges are set for the line width, upper dielectric thickness, lower dielectric thickness, routing thickness, and board dielectric constant in the transmission line model.
[0023] On the other hand, based on the parameter error range of each specified parameter, multiple test cases are generated, including:
[0024] For any specified parameter, K values are selected within the parameter error range of the specified parameter as K set values of the specified parameter; wherein K is a positive integer;
[0025] Based on the K set values of each specified parameter, all combinations are obtained, and each combination is used as a generated test case.
[0026] On the other hand, based on the transmission line model, simulation tests of various test cases are performed in sequence, including:
[0027] Based on the transmission line model, the frequency domain simulator is set in a specified simulation frequency band to perform simulation tests of various test cases in sequence in the simulation frequency band.
[0028] On the other hand, based on the obtained transmission line impedances, determining the transmission line impedance error range of the transmission line model, and determining the influence of each of the specified parameters on the transmission line impedance, including:
[0029] Based on the obtained transmission line impedances, determining a transmission line impedance error range of the transmission line model;
[0030] Set i to the initial value 1;
[0031] Determine every combination of all the specified parameters except the i-th specified parameter;
[0032] For each determined combination, select each test case that matches the combination from all test cases, and determine the variance of each transmission line impedance corresponding to each selected test case as the variance corresponding to the combination;
[0033] Determine the average value of the variance corresponding to each combination as the influence weight value of the i-th specified parameter;
[0034] Determine whether i reaches the total number of specified parameters;
[0035] If not, then i is incremented by 1, and the operation of determining each combination of all the specified parameters except the i-th specified parameter is returned;
[0036] If yes, then for any specified parameter, the proportion of the influence weight value of the specified parameter in the total influence weight value is used as the influence degree of the specified parameter on the transmission line impedance;
[0037] Wherein, i is a positive integer.
[0038] In a second aspect, the present invention provides a transmission line impedance management and control system, comprising:
[0039] A transmission line model building module, used to build a transmission line stacking structure model according to the received building instruction, and build a transmission line model on the transmission line stacking structure model;
[0040] A parameter error range setting module, used to set respective parameter error ranges for respective specified parameters in the transmission line model according to received parameter configuration instructions;
[0041] A test case generation module, used for generating multiple test cases based on the parameter error range of each specified parameter;
[0042] Wherein, for each of the test cases, the test case includes each of the specified parameters, and the value of each of the specified parameters in the test case conforms to the corresponding parameter error range;
[0043] A transmission line impedance determination module, used to perform simulation tests of various test cases in sequence based on the transmission line model to obtain the transmission line impedance of the transmission line model under each test case;
[0044] The influence degree determination module is used to determine the transmission line impedance error range of the transmission line model based on the obtained transmission line impedances, and to determine the influence degree of each of the specified parameters on the transmission line impedance.
[0045] In a third aspect, the present invention provides a transmission line impedance control device, comprising:
[0046] Memory for storing computer programs;
[0047] A processor is used to execute the computer program to implement the steps of the transmission line impedance control method as described above.
[0048] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the transmission line impedance control method as described above are implemented.
[0049] Applying the technical solution provided by the embodiment of the present invention, considering that the conventional impedance error capability of the current transmission line impedance is ±10%, it is difficult to reach ±5% or even ±3% because the error of the transmission line impedance will be affected by the PCB structure. For example, the line width, line spacing, upper and lower dielectric thickness and other parameters of the transmission line will affect the impedance of the transmission line, and for different transmission lines, the degree of influence of each of these parameters is different. In this regard, in the present application scheme, for a specific transmission line, by determining the degree of influence of each specified parameter on the transmission line impedance, the PCB board factory can clearly understand the importance of each specified parameter for the transmission line, so that the error of the corresponding parameter can be controlled in a targeted manner, which is conducive to ensuring that the impedance error of the transmission line reaches a lower value.
[0050] Specifically, in order to determine the influence of each specified parameter on the transmission line impedance, it is necessary to first establish a transmission line stacking structure model, and then establish a transmission line model on the transmission line stacking structure model. After that, set the parameter error range for each specified parameter in the transmission line model, and then generate multiple test cases based on the parameter error range of each specified parameter; wherein, for each test case, the test case includes each specified parameter, and the value of each specified parameter in the test case conforms to the corresponding parameter error range. Since multiple test cases are generated, different test cases reflect different parameter conditions. Based on the transmission line model, simulation tests of each test case are performed in turn, and the transmission line impedance of the transmission line model under each test case can be obtained. Finally, based on the obtained transmission line impedances, the transmission line impedance error range of the transmission line model is determined, and the influence of each specified parameter on the transmission line impedance is determined.
[0051] In summary, the present application solution helps to achieve control of transmission line impedance by determining the degree of influence of each specified parameter on the transmission line impedance, so as to reduce impedance error. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A flowchart of a method for controlling transmission line impedance provided by a specific embodiment of the present invention;
[0054] Figure 2 A schematic diagram of establishing a differential transmission line model on a transmission line stacked structure model according to a specific embodiment of the present invention;
[0055] Figure 3 A schematic diagram of the effect of each specified parameter on the transmission line impedance obtained in a specific implementation manner of the present invention;
[0056] Figure 4 A schematic diagram of the structure of a transmission line impedance control system provided by a specific embodiment of the present invention;
[0057] Figure 5 A schematic diagram of the structure of a transmission line impedance control device provided in a specific embodiment of the present invention;
[0058] Figure 6 The present invention is a schematic diagram of the structure of a computer-readable storage medium. DETAILED DESCRIPTION
[0059] The core of the present invention is to provide a method for controlling transmission line impedance, which helps to achieve transmission line impedance control by determining the degree of influence of each specified parameter on the transmission line impedance, so as to reduce impedance error.
[0060] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0061] Please refer to Figure 1 , Figure 1 This is a flowchart of a method for controlling transmission line impedance provided by a specific embodiment of the present invention. The method for controlling transmission line impedance may include the following steps:
[0062] Step S101: establishing a transmission line stacking structure model according to the received building instruction, and establishing a transmission line model on the transmission line stacking structure model.
[0063] Specifically, for different transmission lines, the stacked structures may be different, so it is necessary to first establish a transmission line stacked structure model. For example, if a transmission line is an 85 ohm transmission line located in the L3 layer, it is necessary to establish a transmission line stacked structure model of the L3 layer. After the transmission line stacked structure model is established, a transmission line model can be established on the transmission line stacked structure model.
[0064] The process of establishing the transmission line stacking structure model and the transmission line model can be realized based on the received construction instructions. For example, the user can operate on the front-end interface, and the front-end can automatically generate corresponding construction instructions based on the user's operation and send them to the transmission line impedance control system, so that the transmission line impedance control system can realize the establishment of the transmission line stacking structure model and the transmission line model based on the received construction instructions. And it can be understood that in the process of establishing the transmission line stacking structure model and the transmission line model, the currently established model structure can be displayed in real time on the front-end interface to facilitate the user's operation.
[0065] It should also be noted that the transmission line model established can be a single transmission line on a PCB or a differential transmission line, which does not affect the implementation of the present invention. Figure 2 FIG. 1 is a schematic diagram of establishing a differential transmission line model on a transmission line stacked structure model in a specific implementation manner. Figure 2 In the differential transmission line model, four grounded termination resistors are set to avoid reflections.
[0066] When establishing a transmission line stack-up structure model, the transmission line stack-up structure model can usually be established based on the transmission line stack-up structure.
[0067] For example, in a specific embodiment of the present invention, when establishing a transmission line stacking structure model according to the received construction instructions, taking the L3 layer as an example, the L3 layer as the inner layer transmission line requires the L2 layer and the L4 layer as reference layers. Specifically, the parameters that need to be input include Er[1]: dielectric constant of the dielectric material between the L2 and L3 layers. H[1]: dielectric thickness between the L2 and L3 layers. TanD[1]: dielectric loss angle parameter of the dielectric material between the L2 and L3 layers. T[1]: copper thickness of the L2 layer. Cond[1]: copper conductivity of the L2 layer. Er[2]: dielectric constant of the dielectric material between the L3 and L4 layers. H[2]: dielectric thickness between the L3 and L4 layers. TanD[2]: dielectric loss angle parameter of the dielectric material between the L3 and L4 layers. T[2]: copper thickness of the L3 signal layer. Cond[2]: copper conductivity of the L3 layer. T[3]: copper thickness of the L4 reference layer. Cond[3]: copper conductivity of the L4 reference layer.
[0068] It should be noted that the above introduction is about the establishment of the transmission line stacked structure model of the inner layer. If it is the outer layer, since there is only one adjacent layer, the corresponding parameters will be reduced. In actual application, the corresponding design can be carried out according to the stacked structure.
[0069] Step S102: according to the received parameter configuration instruction, set respective parameter error ranges for respective designated parameters in the transmission line model.
[0070] The parameter error range of each specified parameter setting can be set by the user according to the actual situation. Therefore, the parameter error range of each specified parameter in the transmission line model can be set according to the received parameter configuration instruction. And the present application takes into account that there are many factors that affect the impedance of the transmission line, but the main ones are line width, adjacent medium thickness, routing thickness, and plate dielectric constant. And if it is a differential transmission line, the spacing will also affect the transmission line impedance, but in actual applications, the sum of the line width + spacing of the differential transmission line can be regarded as unchanged during design, so in a specific embodiment of the present invention, step S102 can specifically include:
[0071] When the transmission line model represents a transmission line located at the top layer of the circuit board, the respective parameter error ranges are set for the line width, the lower layer dielectric thickness, the routing thickness, and the board dielectric constant in the transmission line model according to the received parameter configuration instructions;
[0072] When the transmission line model represents a transmission line located at the bottom layer of the circuit board, the respective parameter error ranges are set for the line width, upper layer dielectric thickness, routing thickness, and board dielectric constant in the transmission line model according to the received parameter configuration instructions;
[0073] When the transmission line model represents a transmission line located in a middle layer of a circuit board, the respective parameter error ranges are set for the line width, upper layer dielectric thickness, lower layer dielectric thickness, routing thickness, and board dielectric constant in the transmission line model according to the received parameter configuration instructions.
[0074] In this implementation, the corresponding parameters are set according to whether the transmission line is located in the top layer, the bottom layer or the middle layer. When the transmission line model represents the transmission line located in the top layer of the circuit board, the parameter error range of the parameter of the lower layer medium thickness needs to be set. Correspondingly, when the transmission line model represents the transmission line located in the bottom layer of the circuit board, the parameter error range of the parameter of the upper layer medium thickness needs to be set. When the transmission line model represents the transmission line located in the middle layer of the circuit board, the parameter error range needs to be set for both the upper layer medium thickness and the lower layer medium thickness.
[0075] And as described above, the sum of the line width + spacing of the differential transmission line can be considered to remain unchanged during design, and for a single transmission line, the surrounding wiring usually does not affect the impedance of the transmission line. Therefore, in this implementation, the parameter error range of the line width parameter is set, and there is no need to set the parameter error range of the spacing parameter.
[0076] In addition, for each specified parameter, when setting the parameter error range, it can be set according to the actual process. For example, in the embodiment of the present application, for each specified parameter, the parameter error range set is ±10% of its typical value.
[0077] Step S103: generating a plurality of test cases based on the parameter error range of each specified parameter;
[0078] Still taking the L3 layer as an example, after setting the respective parameter error ranges for the line width, upper dielectric thickness, lower dielectric thickness, trace thickness, and board dielectric constant in the transmission line model, multiple test cases can be generated accordingly.
[0079] For each test case, the test case needs to include each specified parameter, and the value of each specified parameter in the test case must conform to the corresponding parameter error range.
[0080] That is to say, for this example, a single test case will include five specified parameters: line width, upper dielectric thickness, lower dielectric thickness, trace thickness, and board dielectric constant, and the values of these five specified parameters in the test case need to conform to the corresponding parameter error range.
[0081] For example, in a specific implementation, for each designated parameter, the value of the designated parameter can be randomly set within the corresponding parameter error range, so that a number of test cases can be generated.
[0082] In a specific embodiment of the present invention, for each specified parameter, at least in one test case, the value of the specified parameter is equal to the maximum value in the parameter error range of the specified parameter, and, at least in one test case, the value of the specified parameter is equal to the minimum value in the parameter error range of the specified parameter, and, at least in one test case, the value of the specified parameter is equal to the typical value in the parameter error range of the specified parameter.
[0083] This implementation method takes into account that for each specified parameter, multiple values within the parameter error range of the specified parameter can be selected for generating test cases, and in order to ensure that a more reliable transmission line impedance error range of the transmission line model can be obtained later, as set in this implementation method, the maximum value, minimum value and point typical value of the specified parameter in the parameter error range should all be used in the corresponding test cases. In addition, it should be noted that the typical value refers to the target value set for the specified parameter during design, that is, its ideal value.
[0084] In a specific implementation of the present invention, step S103 may specifically include:
[0085] For any specified parameter, K values are selected within the parameter error range of the specified parameter as K set values of the specified parameter; wherein K is a positive integer;
[0086] Based on the K set values of each specified parameter, all combinations are obtained, and each combination is used as a generated test case.
[0087] In this implementation, the test cases corresponding to each combination are obtained in a combined manner through the K set values of each specified parameter, which is easy to implement, and by reasonably selecting the numerical values of the K set values of each specified parameter, it is beneficial to make the generated test cases cover most situations.
[0088] The value of K can be set as needed. The larger the value, the more reliable the results in the subsequent steps. However, due to the large number of test cases generated, the simulation time will increase and the calculation complexity in the subsequent steps will increase.
[0089] Therefore, in practical applications, K is usually set to 3, and in combination with the above implementation, the maximum value, minimum value, and typical value in the parameter error range of the specified parameter are specifically selected.
[0090] Still taking the L3 layer as an example, after setting the respective parameter error ranges for the line width, upper dielectric thickness, lower dielectric thickness, routing thickness, and board dielectric constant in the transmission line model. For example, the parameter error range of the line width is 5.4mm±10%, and 5.4 is the typical value of the specified parameter of the line width of the transmission line in this example. Then, 5.4mm, 5.4mm+10%, and 5.4mm-10% can be selected as the K set values of the specified parameter of the line width.
[0091] Since there are a total of 5 specified parameters in this implementation mode, 3 values are selected from the parameter error range of each specified parameter, so a total of 3 5It can be understood that in a single test case, a single specified parameter has and only has one value among the K set values of the specified parameter set into the test case.
[0092] Step S104: Based on the transmission line model, simulation tests of each test case are performed in sequence to obtain the transmission line impedance of the transmission line model under each test case.
[0093] Since the values of the specified parameters carried in different test cases are different, the transmission line impedance of the transmission line model obtained in different test cases is different. After performing simulation tests on each test case in turn, the transmission line impedance of the transmission line model in each test case can be obtained.
[0094] In a specific implementation of the present invention, the simulation test of each test case is performed in sequence based on the transmission line model described in step S104, which may specifically include:
[0095] Based on the transmission line model, the frequency domain simulator is set in a specified simulation frequency band to perform simulation tests of various test cases in sequence in the simulation frequency band.
[0096] This application takes into account that for the same test case, the transmission line impedance of the transmission line model obtained in different frequency bands is different. In some implementations, full-band simulation can be selected. This implementation takes into account that the transmission line of this application is usually a high-speed signal line with a specific simulation frequency band. Therefore, the frequency domain simulator can be set in the specified simulation frequency band, which effectively improves the simulation execution efficiency.
[0097] Step S105: Based on the obtained transmission line impedances, determine the transmission line impedance error range of the transmission line model, and determine the influence of each specified parameter on the transmission line impedance.
[0098] After obtaining the impedances of each transmission line, the transmission line impedance error range of the transmission line model can be determined. For example, a simple way is to determine the maximum and minimum values of the obtained transmission line impedances as the transmission line impedance error range of the determined transmission line model.
[0099] In a specific implementation of the present invention, the step S105 described in which the transmission line impedance error range of the transmission line model is determined based on the obtained impedances of each transmission line may specifically include:
[0100] Discarding the transmission line impedances that are beyond a preset first range among the obtained transmission line impedances;
[0101] The maximum value of the remaining transmission line impedances after discarding is used as the maximum value of the transmission line impedance error range of the determined transmission line model;
[0102] The minimum value of the remaining transmission line impedances after discarding is used as the minimum value of the transmission line impedance error range of the determined transmission line model.
[0103] This implementation method takes into account that there is usually a reasonable range for transmission line impedance, which is the first range described in this implementation method. Since the test cases of this application usually include various extreme cases, for example, the values of each specified parameter have reached a larger value within the parameter error range, the obtained transmission line impedances may exceed the preset first range. However, the probability of such a situation occurring in actual applications is very low. Therefore, the obtained transmission line impedances that exceed the preset first range can be discarded. For the remaining transmission line impedances after discarding, the maximum value and the minimum value can be used as the maximum value and the minimum value of the transmission line impedance error range of the determined transmission line model, respectively. The transmission line impedance error range of the transmission line model obtained by such an implementation method is more instructive for practical applications.
[0104] Based on the obtained transmission line impedances, in addition to determining the transmission line impedance error range of the transmission line model, it is also necessary to determine the influence of each specified parameter on the transmission line impedance. There are many specific implementation methods for this operation, which can effectively measure the influence of each specified parameter on the transmission line impedance.
[0105] For example, in a specific implementation of the present invention, the variance can be used for measurement, which has high reliability and is not too complicated to calculate. Specifically, in a specific implementation of the present invention, step S105 describes determining the influence of each specified parameter on the transmission line impedance, which can specifically include:
[0106] Step 1: Based on the obtained impedances of each transmission line, determine the transmission line impedance error range of the transmission line model;
[0107] Step 2: Set i to an initial value of 1; where i is a positive integer.
[0108] Step 3: Determine every combination of all the specified parameters except the i-th specified parameter;
[0109] Step 4: For each determined combination, select each test case that matches the combination from all test cases, and determine the variance of each transmission line impedance corresponding to each selected test case as the variance corresponding to the combination;
[0110] Step 5: Determine the average value of the variance corresponding to each combination as the influence weight value of the i-th specified parameter;
[0111] Step 6: Determine whether i reaches the total number of specified parameters;
[0112] If not, then add 1 to i and return to execute the above step 3;
[0113] If yes, execute step 7: for any specified parameter, the proportion of the influence weight value of the specified parameter in the total influence weight value is used as the influence degree of the specified parameter on the transmission line impedance;
[0114] For ease of understanding, a single test case containing only two specified parameters is used as an example for explanation: for example, the specific parameters include line width W and board dielectric constant DK, and other structural parameters such as line spacing, upper dielectric thickness, lower dielectric thickness, copper thickness, etc. are fixed to typical values, so as to determine the degree of influence of W and DK on the transmission line impedance.
[0115] For example, W and DK both adopt the implementation described above where K is set to 3, that is, the maximum value, minimum value, and typical value in the parameter error range of the specified parameter are specifically selected. Therefore, in this example, according to the combination relationship, a total of 9 test cases can be generated.
[0116] Please refer to Table 1, which is a schematic table of transmission line impedances obtained under corresponding test cases in a specific implementation manner.
[0117] Table 1:
[0118]
[0119] It should be noted that 0, 1 and -1 in the above Table 1 respectively represent that the numerical value of the corresponding specified parameter is the typical value, maximum value and minimum value within the parameter error range.
[0120] First, set i to the initial value 1. For example, if the first specified parameter is the line width W, then it is necessary to determine each combination of the other specified parameters except the first specified parameter. In this example, except the first specified parameter, the other specified parameters are the dielectric constant DK of the plate. Therefore, it is only necessary to determine each combination of the dielectric constant DK of the plate, which specifically includes the three combinations of DK=0, DK=1 and DK=-1.
[0121] First, for the combination of DK=0, each test case that matches this combination can be selected from all test cases, that is, test case 2 (DK=0, W=0), test case 5 (DK=0, W=1), and test case 8 (DK=0, W=-1) in Table 1 can be selected, and then the variance of each transmission line impedance corresponding to the selected three test cases can be determined. When calculating the variance, the average value of each transmission line impedance corresponding to the three test cases can be determined first, that is, (92.6+85+78) / 3=85.2, and then the variance of the transmission line impedance is obtained:
[0122] This is equivalent to obtaining the variance of the combination of DK=0.
[0123] Similarly, the average value of the transmission line impedance when DK=1, W=-1, 0, 1 is determined, that is, 92.1+85.5+77.3) / 3=85. Then, the variance of the transmission line impedance is obtained as:
[0124] . This is equivalent to obtaining the variance of the combination of DK=1.
[0125] Then, the average value of the transmission line impedance when DK=-1, W=-1, 0, 1 is determined, that is, (93+86+78.5) / 3=85.8. Then, the variance of the transmission line impedance is obtained as:
[0126] This is equivalent to obtaining the variance of the combination of DK=-1.
[0127] Taking the average of the above three variances, we get 35.7, which is the influence weight value of the first specified parameter line width W.
[0128] Similarly, the average value of the transmission line impedance when W=0, DK=-1, 0, 1 can be determined, that is, (86+85+85.5) / 3=85.5. Then, the variance of the transmission line impedance is obtained as:
[0129] . This is equivalent to obtaining the variance of the combination of W=0.
[0130] Then, the average value of the transmission line impedance when W=1, DK=-1, 0, 1 is determined, that is, (78.5+78+77.3) / 3=77.9. Then, the variance of the transmission line impedance is obtained as:
[0131] . This is equivalent to obtaining the variance of the combination of W=1.
[0132] Then, the average value of the transmission line impedance when W=-1, DK=-1, 0, 1 is determined, that is, (93+92.6+92.1) / 3=92.6. Then, the variance of the transmission line impedance is obtained as:
[0133] . This is equivalent to obtaining the variance of the combination of W=-1.
[0134] The average value of these three variances is 0.2, which is the influence weight value of the second specified parameter, the dielectric constant DK of the plate.
[0135] After that, the proportion of the influence weight value of each specified parameter in the total influence weight value can be calculated. In the above example, the proportion of line width W is: 35.7 / (35.7+0.2)=99.4%, which is the influence of line width W on transmission line impedance. The proportion of plate dielectric constant DK is: 0.2 / (35.7+0.2)=0.6%, which is the influence of plate dielectric constant DK on transmission line impedance.
[0136] It can be seen that in this example, the line width W has a great influence on the transmission line impedance. And it should be noted that for different transmission lines in actual applications, the influence of each specified parameter on the transmission line impedance is different, which guides the PCB processing factory to focus on the control of the corresponding parameters of different transmission lines.
[0137] See also Figure 3 , is a schematic diagram of the effect of each specified parameter on the transmission line impedance obtained in a specific implementation method, E represents the line width W, B represents the upper dielectric thickness H1, C represents the lower dielectric thickness H2, D represents the routing thickness T, that is, the copper thickness T, A represents the dielectric constant DK of the plate, and in addition, Figure 3 For example, BD and BDC refer to the influence of the interaction of multiple parameters on the transmission line impedance, and it can be seen that the influence is relatively small, so that in most cases, there is no need to consider the influence of the interaction of multiple parameters on the transmission line impedance. Figure 3In the example, the line width W has the greatest impact on the impedance of the transmission line, specifically 39.761%.
[0138] Applying the technical solution provided by the embodiment of the present invention, considering that the conventional impedance error capability of the current transmission line impedance is ±10%, it is difficult to reach ±5% or even ±3% because the error of the transmission line impedance will be affected by the PCB structure. For example, the line width, line spacing, upper and lower dielectric thickness and other parameters of the transmission line will affect the impedance of the transmission line, and for different transmission lines, the degree of influence of each of these parameters is different. In this regard, in the present application scheme, for a specific transmission line, by determining the degree of influence of each specified parameter on the transmission line impedance, the PCB board factory can clearly understand the importance of each specified parameter for the transmission line, so that the error of the corresponding parameter can be controlled in a targeted manner, which is conducive to ensuring that the impedance error of the transmission line reaches a lower value.
[0139] Specifically, in order to determine the influence of each specified parameter on the transmission line impedance, it is necessary to first establish a transmission line stacking structure model, and then establish a transmission line model on the transmission line stacking structure model. After that, set the parameter error range for each specified parameter in the transmission line model, and then generate multiple test cases based on the parameter error range of each specified parameter; wherein, for each test case, the test case includes each specified parameter, and the value of each specified parameter in the test case conforms to the corresponding parameter error range. Since multiple test cases are generated, different test cases reflect different parameter conditions. Based on the transmission line model, simulation tests of each test case are performed in turn, and the transmission line impedance of the transmission line model under each test case can be obtained. Finally, based on the obtained transmission line impedances, the transmission line impedance error range of the transmission line model is determined, and the influence of each specified parameter on the transmission line impedance is determined.
[0140] In summary, the present application solution helps to achieve control of transmission line impedance by determining the degree of influence of each specified parameter on the transmission line impedance, so as to reduce impedance error.
[0141] Corresponding to the above method embodiment, an embodiment of the present invention further provides a transmission line impedance control system, which can be referred to in correspondence with the above.
[0142] See also Figure 4 FIG. 1 is a schematic diagram of a transmission line impedance control system according to the present invention, comprising:
[0143] The transmission line model building module 401 is used to build a transmission line stacking structure model according to the received building instruction, and build a transmission line model on the transmission line stacking structure model;
[0144] The parameter error range setting module 402 is used to set the respective parameter error range for each designated parameter in the transmission line model according to the received parameter configuration instruction;
[0145] A test case generation module 403, for generating a plurality of test cases based on the parameter error range of each specified parameter;
[0146] Wherein, for each test case, the test case includes various specified parameters, and the values of various specified parameters in the test case are in accordance with the corresponding parameter error range;
[0147] The transmission line impedance determination module 404 is used to perform simulation tests of each test case in turn based on the transmission line model to obtain the transmission line impedance of the transmission line model under each test case;
[0148] The influence degree determination module 405 is used to determine the transmission line impedance error range of the transmission line model based on the obtained transmission line impedances, and to determine the influence degree of each specified parameter on the transmission line impedance.
[0149] In a specific embodiment of the present invention, for each specified parameter, at least in one test case, the value of the specified parameter is equal to the maximum value in the parameter error range of the specified parameter, and, at least in one test case, the value of the specified parameter is equal to the minimum value in the parameter error range of the specified parameter, and, at least in one test case, the value of the specified parameter is equal to the typical value in the parameter error range of the specified parameter.
[0150] In a specific implementation of the present invention, the influence degree determination module 405 determines the transmission line impedance error range of the transmission line model based on the obtained transmission line impedances, specifically for:
[0151] Discarding the transmission line impedances that are beyond a preset first range among the obtained transmission line impedances;
[0152] The maximum value of the remaining transmission line impedances after discarding is used as the maximum value of the transmission line impedance error range of the determined transmission line model;
[0153] The minimum value of the remaining transmission line impedances after discarding is used as the minimum value of the transmission line impedance error range of the determined transmission line model.
[0154] In a specific implementation of the present invention, the parameter error range setting module 402 is specifically used to:
[0155] When the transmission line model represents a transmission line located at the top layer of the circuit board, the respective parameter error ranges are set for the line width, the lower layer dielectric thickness, the routing thickness, and the board dielectric constant in the transmission line model according to the received parameter configuration instructions;
[0156] When the transmission line model represents a transmission line located at the bottom layer of the circuit board, the respective parameter error ranges are set for the line width, upper layer dielectric thickness, routing thickness, and board dielectric constant in the transmission line model according to the received parameter configuration instructions;
[0157] When the transmission line model represents a transmission line located in a middle layer of a circuit board, the respective parameter error ranges are set for the line width, upper layer dielectric thickness, lower layer dielectric thickness, routing thickness, and board dielectric constant in the transmission line model according to the received parameter configuration instructions.
[0158] In a specific implementation of the present invention, the test case generation module 403 is specifically used to:
[0159] For any specified parameter, K values are selected within the parameter error range of the specified parameter as K set values of the specified parameter; wherein K is a positive integer;
[0160] Based on the K set values of each specified parameter, all combinations are obtained, and each combination is used as a generated test case.
[0161] In a specific implementation of the present invention, the transmission line impedance determination module 404 is used to perform simulation tests of each test case in sequence based on the transmission line model, specifically for:
[0162] Based on the transmission line model, the frequency domain simulator is set in a specified simulation frequency band to perform simulation tests of each test case in turn under the simulation frequency band.
[0163] In a specific implementation of the present invention, the impact degree determination module 405 is specifically used to:
[0164] Based on the obtained impedances of each transmission line, a transmission line impedance error range of the transmission line model is determined;
[0165] Set i to the initial value 1;
[0166] Determine every combination of all the specified parameters except the i-th specified parameter;
[0167] For each determined combination, select each test case that matches the combination from all test cases, and determine the variance of each transmission line impedance corresponding to each selected test case as the variance corresponding to the combination;
[0168] Determine the average value of the variance corresponding to each combination as the influence weight value of the i-th specified parameter;
[0169] Determine whether i reaches the total number of specified parameters;
[0170] If not, then i is incremented by 1, and the operation of determining each combination of all the specified parameters except the i-th specified parameter is returned;
[0171] If yes, then for any specified parameter, the proportion of the influence weight value of the specified parameter in the total influence weight value is used as the influence degree of the specified parameter on the transmission line impedance;
[0172] Wherein, i is a positive integer.
[0173] Corresponding to the above method and system embodiments, embodiments of the present invention further provide a transmission line impedance control device, a computer-readable storage medium, and a computer program product, which can be referred to in correspondence with the above.
[0174] See also Figure 5 As shown, the device may include:
[0175] Memory 501, used for storing computer programs;
[0176] The processor 502 is used to execute a computer program to implement the steps of the transmission line impedance control method in any of the above embodiments.
[0177] The computer program product includes a computer program / instruction, and when the computer program / instruction is executed by a processor, the steps of the method for controlling the transmission line impedance in any of the above embodiments are implemented.
[0178] See also Figure 6The computer readable storage medium 60 stores a computer program 61, and when the computer program 61 is executed by the processor, the steps of the transmission line impedance control method in any of the above embodiments are implemented. The computer readable storage medium 60 mentioned here includes RAM (Random Access Memory), memory, ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), register, hard disk, removable disk, or any other form of storage medium known in the technical field.
[0179] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0180] Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention, and the description of the above embodiments is only used to help understand the technical solution and its core idea of the present invention. It should be pointed out that for ordinary technicians in the technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.
Claims
1. A method for controlling transmission line impedance. It is characterized in that include: Establishing a transmission line stacking structure model according to the received building instruction, and establishing a transmission line model on the transmission line stacking structure model; According to the received parameter configuration instruction, setting respective parameter error ranges for respective designated parameters in the transmission line model; Generate multiple test cases based on the parameter error range of each specified parameter; Wherein, for each of the test cases, the test case includes each of the specified parameters, and the value of each of the specified parameters in the test case conforms to the corresponding parameter error range; Based on the transmission line model, simulation tests of each test case are performed in sequence to obtain the transmission line impedance of the transmission line model under each test case; Based on the obtained transmission line impedances, the transmission line impedance error range of the transmission line model is determined, and the influence degree of each of the specified parameters on the transmission line impedance is determined.
2. The method for controlling transmission line impedance according to claim 1, It is characterized in that For each of the specified parameters, in at least one of the test cases, the value of the specified parameter is equal to the maximum value in the parameter error range of the specified parameter, and, in at least one of the test cases, the value of the specified parameter is equal to the minimum value in the parameter error range of the specified parameter, and, in at least one of the test cases, the value of the specified parameter is equal to the typical value in the parameter error range of the specified parameter.
3. The method for controlling transmission line impedance according to claim 1, It is characterized in that Determining a transmission line impedance error range of the transmission line model based on the obtained transmission line impedances includes: Discarding, among the obtained transmission line impedances, the transmission line impedances that are beyond a preset first range; The maximum value of the remaining transmission line impedances after discarding is used as the maximum value of the transmission line impedance error range of the determined transmission line model; The minimum value of the remaining transmission line impedances after discarding is used as the minimum value of the transmission line impedance error range of the determined transmission line model.
4. The method for controlling transmission line impedance according to claim 1, It is characterized in that According to the received parameter configuration instruction, respective parameter error ranges are set for respective specified parameters in the transmission line model, including: When the transmission line model represents a transmission line located at the top layer of a circuit board, according to the received parameter configuration instruction, the respective parameter error ranges are set for the line width, the lower layer dielectric thickness, the routing thickness, and the board dielectric constant in the transmission line model; When the transmission line model represents a transmission line located at the bottom layer of a circuit board, according to the received parameter configuration instruction, the respective parameter error ranges are set for the line width, upper layer dielectric thickness, routing thickness, and board dielectric constant in the transmission line model; When the transmission line model represents a transmission line located in the middle layer of a circuit board, according to the received parameter configuration instructions, the respective parameter error ranges are set for the line width, upper dielectric thickness, lower dielectric thickness, routing thickness, and board dielectric constant in the transmission line model.
5. The method for controlling transmission line impedance according to claim 1, It is characterized in that Generate multiple test cases based on the parameter error range of each specified parameter, including: For any specified parameter, K values are selected within the parameter error range of the specified parameter as K set values of the specified parameter; wherein K is a positive integer; Based on the K set values of each specified parameter, all combinations are obtained, and each combination is used as a generated test case.
6. The method for controlling transmission line impedance according to claim 1, It is characterized in that Based on the transmission line model, simulation tests of various test cases are performed in sequence, including: Based on the transmission line model, the frequency domain simulator is set in a specified simulation frequency band to perform simulation tests of various test cases in sequence in the simulation frequency band.
7. The method for controlling transmission line impedance according to any one of claims 1 to 6, It is characterized in that Based on the obtained transmission line impedances, determining the transmission line impedance error range of the transmission line model, and determining the influence of each of the specified parameters on the transmission line impedance, including: Based on the obtained transmission line impedances, determining a transmission line impedance error range of the transmission line model; Set i to the initial value 1; Determine every combination of all the specified parameters except the i-th specified parameter; For each determined combination, select each test case that matches the combination from all test cases, and determine the variance of each transmission line impedance corresponding to each selected test case as the variance corresponding to the combination; Determine the average value of the variance corresponding to each combination as the influence weight value of the i-th specified parameter; Determine whether i reaches the total number of specified parameters; If not, then i is incremented by 1, and the operation of determining each combination of all the specified parameters except the i-th specified parameter is returned; If yes, then for any specified parameter, the proportion of the influence weight value of the specified parameter in the total influence weight value is used as the influence degree of the specified parameter on the transmission line impedance; Wherein, i is a positive integer.
8. A transmission line impedance control system, It is characterized in that include: A transmission line model building module, used to build a transmission line stacking structure model according to the received building instruction, and build a transmission line model on the transmission line stacking structure model; A parameter error range setting module, used to set respective parameter error ranges for respective specified parameters in the transmission line model according to received parameter configuration instructions; A test case generation module, used for generating multiple test cases based on the parameter error range of each specified parameter; Wherein, for each of the test cases, the test case includes each of the specified parameters, and the value of each of the specified parameters in the test case conforms to the corresponding parameter error range; A transmission line impedance determination module, used to perform simulation tests of various test cases in sequence based on the transmission line model to obtain the transmission line impedance of the transmission line model under each test case; The influence degree determination module is used to determine the transmission line impedance error range of the transmission line model based on the obtained transmission line impedances, and to determine the influence degree of each of the specified parameters on the transmission line impedance.
9. A transmission line impedance control device, It is characterized in that include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the steps of the transmission line impedance control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the transmission line impedance control method according to any one of claims 1 to 7 are implemented.
