Impedance compensation method, system and device of circuit board, equipment and storage medium
By determining the target wiring pattern and adjusting the design parameters, the problem of excessive changes in the impedance value of the differential line on the circuit board was solved, the product defect rate was reduced, the processing quality was improved, and the customer's impedance requirements were met.
Patent Information
- Application Number
- CN202410835233.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-06
AI Technical Summary
Due to the different wiring methods of the differential lines on the existing circuit boards, the impedance value changes too much, resulting in a high product defect rate and unable to effectively meet the customer's impedance requirements for the same line width and line spacing.
By determining the target routing method of the target differential line and adjusting the design parameters according to the preset compensation method library to achieve impedance compensation, including adjusting line width, line spacing, hole size and soldering ring length, to match the customer's impedance Require.
It reduces the product defect rate of the circuit board, improves the processing quality, ensures that the impedance value of the circuit board under different routing methods is consistent, and meets the customer's impedance design requirements.
Smart Images

Figure CN118607458A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit board processing, and in particular to an impedance compensation method, system and device, equipment and storage medium for a circuit board. Background Art
[0002] The circuit board (PCB board for short) includes multiple differential lines. Customers have designed different routing methods for the differential lines. For customers who design the same differential impedance with the same line width and line spacing requirements, it is hoped that the impedance value of the differential line will not change due to different routing methods.
[0003] For example, routing methods include but are not limited to via-through-pad (PAD) design, surface mount device (SMD) design, layer and SMD design, or line spacing bending, etc. Existing customers design the same differential impedance with the same line width and line spacing requirements. When different routing methods are used, the resistance values of the measuring points are too different from those of conventional designs, resulting in too high a product defect rate for PCB boards produced using the same compensation method. Summary of the invention
[0004] The main purpose of the present invention is to provide a circuit board impedance compensation method, system and device, equipment and storage medium, which can solve the problem of high product defect rate of PCB boards in the prior art.
[0005] To achieve the above object, the present invention provides, in a first aspect, a method for impedance compensation of a circuit board, wherein the circuit board includes a plurality of differential lines, and the method includes:
[0006] When a target differential line having an abnormal impedance state exists on the circuit board, a target routing mode of the target differential line is determined;
[0007] According to the target routing mode and the preset compensation mode library, a target compensation mode corresponding to the target routing mode is determined. The compensation mode library stores a number of compensation modes, and the compensation modes correspond to the routing modes one by one. The compensation modes are used to reflect the design parameters required to be adjusted for impedance compensation of the differential lines under the routing modes.
[0008] The design parameters of the impedance compensation of the target differential line are adjusted based on the target compensation method to obtain the target circuit board after impedance compensation.
[0009] In a feasible implementation, according to the target routing mode and a preset compensation mode library, determining a target compensation mode corresponding to the target routing mode includes:
[0010] If the target routing method is that the impedance measurement point of the target differential line does not pass through the via or the pad, determining the target compensation method includes a first compensation method, and the first compensation method is to compensate the target differential line according to the first line width and the first line distance;
[0011] If the target routing method is that the impedance measurement point of the target differential line passes through the surface mount device, then determining the target compensation method includes a second compensation method, the second compensation method is to design the surface mount device according to the first size and add a teardrop at the connection point between the surface mount device and the target differential line and level it to compensate the target differential line;
[0012] If the target routing method is that the impedance measurement point of the target differential line passes through both the surface mount device and the hole, determining the target compensation method includes a third compensation method, and the third compensation method is to design the surface mount device according to the first size, reduce the hole by a first length, and reduce the solder ring by a second length to compensate the target differential line;
[0013] If the target routing method is that the target differential line is a through-layer design and a bending design, then the target compensation method is determined to include a fourth compensation method. The fourth compensation method is to design a surface mount device according to a second size for the target differential line passing through the outer layer of the circuit board, and to reduce the target differential line by a second line width to compensate for the target differential line. The second size is smaller than the first size.
[0014] In a feasible implementation, determining the target compensation method includes a fourth compensation method, and then further includes:
[0015] Obtaining a first standard value of the impedance of a target differential line;
[0016] If the first standard value is higher than the preset impedance threshold value, and the impedance measurement point of the target differential line passes through a hole, determining that the target compensation method also includes a fifth compensation method, the fifth compensation method is to reduce the hole by a first length and reduce the welding ring by a second length to compensate the target differential line;
[0017] If the first standard value is higher than the preset impedance threshold, and the impedance measurement point of the target differential line passes through both the hole and the surface mount device, then determining that the target compensation method also includes a sixth compensation method, the sixth compensation method is to reduce the hole by a first length, reduce the solder ring by a second length, reduce the target differential line by a third line width, and design the surface mount device according to a third size, and the third size is smaller than the first size.
[0018] In one possible implementation, the method further includes:
[0019] If the first size of the surface mount device is greater than or equal to a preset first size threshold, determining the third size to be the second size;
[0020] If the first size of the surface mount device is smaller than the preset first size threshold, determining the third size to be a fourth size, the fourth size being larger than the second size and smaller than the first size;
[0021] If the first size of the surface mount device is greater than or equal to a preset second size threshold, the third size is determined to be a fifth size, the fifth size is smaller than the second size, and the second size threshold is greater than the first size threshold.
[0022] In one possible implementation, the method further includes:
[0023] Obtaining a measured value and a second standard value of the impedance of each differential line of the circuit board;
[0024] Based on the measured value and the second standard value, determining the impedance characteristics of each differential line, the impedance characteristics being used to reflect the difference between the measured value of the differential line and the second standard value;
[0025] The impedance state of each differential line is determined according to the impedance characteristics and the preset impedance state judgment rule. The impedance state is used to reflect whether there is impedance abnormality in the differential line.
[0026] In a feasible implementation, the impedance feature at least includes an impedance difference, the judgment rule at least includes an error threshold, and the impedance state of each differential line is determined according to the impedance feature and a preset impedance state judgment rule, including:
[0027] If the impedance difference of the differential line is greater than the error threshold, it is determined that the impedance state of the differential line is abnormal;
[0028] If the impedance difference of the differential line is less than or equal to the error threshold, it is determined that the impedance state of the differential line is normal.
[0029] To achieve the above object, the second aspect of the present invention provides an impedance compensation system for a circuit board, the impedance compensation system at least comprising an impedance measurement device and an impedance compensation device for the circuit board, the impedance compensation device and the impedance measurement device being communicatively connected;
[0030] The impedance measuring device is used to measure the measured value of the impedance of each differential line of the circuit board, and upload the measured value to the impedance compensation device;
[0031] The impedance compensation device is used to receive the measured value and execute the steps shown in the first aspect and any feasible implementation method.
[0032] To achieve the above object, the third aspect of the present invention provides an impedance compensation device for a circuit board, the circuit board includes a plurality of differential lines, and the device includes:
[0033] A first determination module: used for determining a target routing mode of a target differential line when a target differential line with an abnormal impedance state exists on a circuit board;
[0034] The second determination module is used to determine the target compensation method corresponding to the target routing method according to the target routing method and a preset compensation method library, wherein the compensation method library stores a plurality of compensation methods, and the compensation methods correspond to the routing methods one by one, and the compensation methods are used to reflect the design parameters required to be adjusted for the impedance compensation of the differential line under the routing method;
[0035] Impedance compensation module: used to adjust the design parameters of impedance compensation for the target differential line based on the target compensation method to obtain the target circuit board after impedance compensation.
[0036] To achieve the above-mentioned purpose, the fourth aspect of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps shown in the first aspect and any feasible implementation method.
[0037] To achieve the above-mentioned purpose, the fifth aspect of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps shown in the first aspect and any feasible implementation method.
[0038] The embodiments of the present invention have the following beneficial effects:
[0039] The present invention provides an impedance compensation method for a circuit board, the circuit board includes a plurality of differential lines, and the method includes: when there is a target differential line with an abnormal impedance state on the circuit board, determining a target routing mode of the target differential line; determining a target compensation mode corresponding to the target routing mode according to the target routing mode and a preset compensation mode library, wherein the compensation mode library stores a plurality of compensation modes, and the compensation modes correspond to the routing modes one by one, and the compensation modes are used to reflect the design parameters required to be adjusted for impedance compensation of the differential line under the routing mode; adjusting the design parameters of impedance compensation for the target differential line based on the target compensation mode, and obtaining a target circuit board after impedance compensation. Through the above method, a compensation mode library that stores compensation modes corresponding to the routing modes is pre-set, and the target compensation mode corresponding to the target differential line is determined in combination with the target routing mode of the target differential line, and impedance compensation is adjusted for the target differential line with an abnormal impedance state based on the target compensation mode, so that different routing modes can adopt different compensation modes, thereby reducing the product defect rate of the PCB board and improving the processing quality of the PCB board. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] 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.
[0041] in:
[0042] Figure 1 It is a flow chart of an impedance compensation method of a circuit board in an embodiment of the present invention;
[0043] FIG2(A) is a schematic diagram of a routing method (1) of a differential line of a circuit board according to an embodiment of the present invention;
[0044] FIG2( a ) is a schematic diagram of resistance changes corresponding to a routing method ( 1 ) of a differential line of a circuit board in an embodiment of the present invention;
[0045] FIG2(B) is a schematic diagram of a routing method (2) of a differential line of a circuit board in an embodiment of the present invention;
[0046] FIG2( b ) is a schematic diagram of the change in resistance corresponding to a routing method ( 2 ) of a differential line of a circuit board in an embodiment of the present invention;
[0047] FIG2(C) is a schematic diagram of a routing method (3) of a differential line of a circuit board in an embodiment of the present invention;
[0048] FIG2( c ) is a schematic diagram of the change in resistance corresponding to a routing method ( 3 ) of a differential line of a circuit board in an embodiment of the present invention;
[0049] FIG2(D) is a schematic diagram of a routing method (4) of a differential line of a circuit board in an embodiment of the present invention;
[0050] FIG2(d) is a schematic diagram of the change in resistance corresponding to a routing method (4) of a differential line of a circuit board in an embodiment of the present invention;
[0051] Figure 3 is another flow chart of an impedance compensation method for a circuit board according to an embodiment of the present invention;
[0052] FIG4( a ) is a diagram showing the effect of a circuit board impedance compensation method before use according to an embodiment of the present invention;
[0053] FIG4( b ) is a diagram showing the effect of using a circuit board impedance compensation method according to an embodiment of the present invention;
[0054] Figure 5 It is a structural block diagram of an impedance compensation system of a circuit board in an embodiment of the present invention;
[0055] Figure 6 is a structural block diagram of an impedance compensation device for a circuit board in an embodiment of the present invention;
[0056] Figure 7 4 is a structural block diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] See also Figure 1 , Figure 1 The present invention is a flowchart of a circuit board impedance compensation method in an embodiment of the present invention. The circuit board impedance compensation method shown in the present application is applied to a circuit board impedance compensation system. The impedance compensation system includes a terminal and a server. There is a communication connection between the terminal and the server. The terminal can be a desktop terminal or a mobile terminal. The mobile terminal can be at least one of a mobile phone, a tablet computer, a laptop computer, etc. The server can be implemented as an independent server or a server cluster composed of multiple servers. Among them, Figure 1 The impedance compensation method shown can be applied to both a terminal and a server. This embodiment is described by taking application to a terminal as an example. Figure 1 The impedance compensation method shown includes the following steps:
[0059] 101. When there is a target differential line with an abnormal impedance state on the circuit board, determine a target routing mode of the target differential line;
[0060] It is understandable that the circuit board can be a PCB board. This application takes PCB as an example. Before the PCB board is etched, a working draft suitable for subsequent etching will be drawn based on the customer's original manuscript. The customer's original manuscript is the PCB drawing required by the customer. Correspondingly, the working draft is also a PCB drawing. The impedance of the initial draft of the working draft may not be completely consistent with the customer's original manuscript due to different routing methods. This will cause the etched board to not meet the customer's impedance requirements. Therefore, it is necessary to make corresponding corrections and adjustments to the working draft to achieve impedance compensation.
[0061] Among them, the circuit board referred to in this embodiment can be understood as the above-mentioned preliminary working draft, which may be after preliminary compensation or not. This application only takes the preliminary working draft as an example of compensation, and does not impose specific limitations on this application. Among them, preliminary compensation is understood as compensation for making preliminary line width and line spacing adjustments to the differential lines on the preliminary working draft based on the line width and line spacing requirements on the customer's drawing, that is, the preliminary working draft is actually the second draft of the working draft, and is the "PCB draft" for the compensation method shown in this application.
[0062] Among them, the circuit board includes several differential lines, among which the target differential line is a differential line with an abnormal impedance state. When the impedance state is abnormal, it means that the impedance design requirements of the differential line required by the customer are not met. For example, there is a difference between the measured impedance value of the differential line of the circuit board and the standard value required by the customer, and then impedance compensation is required for the abnormal situation to overcome the abnormality and obtain a differential line that meets the impedance design requirements. Therefore, when there is a target differential line with an abnormal impedance state on the circuit board, the target routing method of the target differential line is determined. Among them, the determination method can be determined by the PCB manuscript information provided by the customer, such as how the target differential line is routed, so as to clarify the target routing method.
[0063] It should be noted that when customers design differential lines, the placement of various electrical components and the size of the PCB board will cause the differential lines to have different routings, that is, the routing methods of the differential lines are diverse. It is necessary to determine the target routing method corresponding to the target differential line in order to make targeted impedance compensation and respond to different routing requirements.
[0064] In order to make the routing method referred to in this application clearer, the following diagrams list several possible routing methods and the resulting resistance changes:
[0065] 1) Please refer to Figure 2(A) and Figure 2(a). Figure 2(A) is a schematic diagram of a routing method (1) of a differential line of a circuit board in an embodiment of the present invention, and Figure 2(a) is a schematic diagram of the resistance change corresponding to the routing method (1) of a differential line of a circuit board in an embodiment of the present invention, wherein the routing method (1) corresponding to Figure 2(A) is the routing method corresponding to the via-through-PAD design, wherein Figure 2(a) shows that the waveform at the hole position has a drop, and the min. value here is about 6ohm lower than the normal measuring point.
[0066] 2) Please refer to Figure 2(B) and Figure 2(b), Figure 2(B) is a schematic diagram of a routing method (2) of a differential line of a circuit board in an embodiment of the present invention; Figure 2(b) is a schematic diagram of the resistance change corresponding to the routing method (2) of a differential line of a circuit board in an embodiment of the present invention, wherein the routing method (2) corresponding to Figure 2(B) is a routing method corresponding to the design of a surface mount device (SMD for short), wherein Figure 2(b) shows that the SMD position interferes with signal transmission and forms an electromagnetic field. This section of the waveform is unstable, and the min. value is about 10ohm lower than the normal measuring point.
[0067] 3) Please refer to Figure 2(C) and Figure 2(c), Figure 2(C) is a schematic diagram of a routing method (3) of a differential line of a circuit board in an embodiment of the present invention; Figure 2(c) is a schematic diagram of the resistance change corresponding to the routing method (3) of a differential line of a circuit board in an embodiment of the present invention; wherein, the routing method (3) corresponding to Figure 2(C) is the routing method corresponding to the over-layer design, wherein, as can be seen from Figure 2(c), the min. value of such a measuring point is more than 10 ohm lower than that of a normal measuring point.
[0068] 4) Please refer to Figure 2(D) and Figure 2(d), Figure 2(D) is a schematic diagram of a routing method (4) of a differential line of a circuit board in an embodiment of the present invention; Figure 2(d) is a schematic diagram of the resistance change corresponding to the routing method (4) of a differential line of a circuit board in an embodiment of the present invention, wherein the routing method (4) corresponding to Figure 2(D) is a routing method corresponding to a line spacing bending design, wherein Figure 2(d) shows that the impedance measurement point waveform of this type of design is also unstable and fluctuates.
[0069] It is understandable that the routing method includes but is not limited to via design, PAD design, SMD design, layer design or line spacing bending and the combination thereof. This application is only used as an example without specific limitation.
[0070] In a feasible implementation, whether the differential line has an abnormal impedance state is determined by using the following steps A01 to A03, that is, the above method may also include steps A01 to A03:
[0071] A01. Obtaining the measured value and the second standard value of the impedance of each differential line of the circuit board;
[0072] A02. Based on the measured value and the second standard value, determine the impedance characteristics of each differential line, where the impedance characteristics are used to reflect the difference between the measured value of the differential line and the second standard value;
[0073] A03. Determine the impedance state of each differential line according to the impedance characteristics and the preset impedance state judgment rule. The impedance state is used to reflect whether there is impedance abnormality in the differential line.
[0074] Among them, the first, second, etc. descriptions in this application are only used to distinguish the same technical features. If there is no special explanation, they do not limit each technical feature. Among them, the first standard value and the second standard value both refer to the impedance value of the differential line corresponding to the customer design requirements, and the measured value refers to the impedance value of the differential line obtained when the circuit board is actually measured. Then, each differential line can be determined whether there is an impedance anomaly in the differential line by the difference between the actual measured value and the standard value. Specifically, the impedance characteristics of each differential line can be determined based on the measured value and the second standard value. The impedance characteristics are used to reflect the difference between the measured value and the second standard value of the differential line. According to the impedance characteristics and the preset impedance state judgment rules, the impedance state of each differential line is determined, wherein the impedance state is used to reflect whether there is an impedance anomaly in the differential line, and the impedance state includes normal and abnormal.
[0075] In a feasible implementation, the impedance feature at least includes an impedance difference, which is a difference between a measured value and a second standard value. The judgment rule at least includes an error threshold, which is used to indicate a maximum allowable error range. Further, step A03 may include the following steps B01 to B02:
[0076] B01. If the impedance difference of the differential line is greater than the error threshold, it is determined that the impedance state of the differential line is abnormal;
[0077] B02. If the impedance difference of the differential line is less than or equal to the error threshold, it is determined that the impedance state of the differential line is normal.
[0078] It can be understood that if the impedance difference of the differential line is greater than the error threshold, it means that the difference is not an allowable error. Therefore, the impedance state of the differential line is determined to be abnormal, the differential line is regarded as a target differential line, and the impedance compensation method shown in this application is used to adjust the design parameters of the corresponding working draft, wherein the number of target differential lines can be one or more, depending on the actual situation. This application only takes one target differential line as an example. On the contrary, if the impedance difference of the differential line is less than or equal to the error threshold, it means that the difference is an allowable error. Therefore, the impedance state of the differential line is determined to be normal, and there is no need to adjust the design parameters of the corresponding working draft.
[0079] 102. Determine a target compensation method corresponding to the target routing method according to the target routing method and a preset compensation method library;
[0080] Further, after determining the target routing mode, the target compensation mode corresponding to the target routing mode can be determined according to the target routing mode and the preset compensation mode library. It should be noted that the present application pre-sets a compensation mode library, and the compensation mode library stores a number of compensation modes, and the compensation modes correspond one to one with the routing modes. The compensation mode is used to reflect the design parameters required to adjust the impedance compensation of the differential line under the routing mode, and can guide the modification of the working draft of the target differential line with abnormal impedance state. Among them, the compensation mode library is obtained in advance by professional and technical personnel based on experience. Exemplarily, professional and technical personnel can design a test board by themselves, simulate and test the via design, PAD design, SMD design, layer design or line spacing bending designed by the customer, and adjust the hole compensation, hole ring, SMD compensation, interlayer compensation and line width compensation according to the different changes in their resistance values, so as to meet the resistance requirements and achieve a unified signal transmission frequency. Finally, the adjustment specifications involved in the adjustment process of the design parameters of each routing mode are recorded, and a one-to-one correspondence is established with the routing mode to obtain the compensation mode library.
[0081] 103. Adjust the design parameters of impedance compensation for the target differential line based on the target compensation method to obtain the target circuit board after impedance compensation.
[0082] Finally, the design parameters of impedance compensation for the target differential line can be adjusted according to the determined target compensation method to obtain the target circuit board after drilling compensation, wherein the target circuit board can be the final working draft after the design parameters are adjusted according to the target compensation method, or it can be a circuit board obtained by etching simulation according to the final working draft, or it can be a circuit board obtained by actual etching, and the present application does not limit this.
[0083] The present invention provides an impedance compensation method for a circuit board, the circuit board includes a plurality of differential lines, and the method includes: when there is a target differential line with an abnormal impedance state on the circuit board, determining a target routing mode of the target differential line; determining a target compensation mode corresponding to the target routing mode according to the target routing mode and a preset compensation mode library, wherein the compensation mode library stores a plurality of compensation modes, and the compensation modes correspond to the routing modes one by one, and the compensation modes are used to reflect the design parameters required to be adjusted for impedance compensation of the differential line under the routing mode; adjusting the design parameters of impedance compensation for the target differential line based on the target compensation mode, and obtaining a target circuit board after impedance compensation. Through the above method, a compensation mode library that stores compensation modes corresponding to the routing modes is pre-set, and the target compensation mode corresponding to the target differential line is determined in combination with the target routing mode of the target differential line, and impedance compensation is adjusted for the target differential line with an abnormal impedance state based on the target compensation mode, so that different routing modes can adopt different compensation modes, thereby reducing the product defect rate of the PCB board and improving the processing quality of the PCB board.
[0084] See also Figure 3 , Figure 3 FIG. 1 is another flow chart of an impedance compensation method for a circuit board according to an embodiment of the present invention. The circuit board includes a plurality of differential lines, such as Figure 3 The impedance compensation method shown includes the following steps:
[0085] 301. When there is a target differential line with an abnormal impedance state on the circuit board, determine a target routing mode of the target differential line;
[0086] It should be noted that step 301 and Figure 1 The content of step 101 is similar, so it will not be described here to avoid repetition. For details, please refer to the aforementioned Figure 1 The content of step 101 is shown.
[0087] 302. If the target routing method is that the impedance measurement point of the target differential line does not pass through a via or a pad, determining that the target compensation method includes a first compensation method;
[0088] It can be understood that the compensation method library stores the first compensation method corresponding to the routing method in which the impedance measurement point of the differential line neither passes through the via nor the pad, and then if the target routing method is that the impedance measurement point of the target differential line neither passes through the via nor the pad, then the target compensation method is determined to include the first compensation method, wherein the first compensation method is to compensate the target differential line according to the first line width and the first line distance. Specifically, the first line width and the first line distance are used to reflect the line width and line distance of the customer's original manuscript. The first compensation method can be understood as normally compensating the target differential line in the working draft according to the customer's line width and line distance.
[0089] 303. If the target routing method is that the impedance measurement point of the target differential line passes through the surface mount device, determining that the target compensation method includes the second compensation method;
[0090] Furthermore, the compensation method library also stores a second compensation method corresponding to a routing method in which the impedance measurement point of the differential line passes through a surface mount device. If the target routing method is that the impedance measurement point of the target differential line passes through a surface mount device, it is determined that the target compensation method includes the second compensation method, wherein the second compensation method is to design the surface mount device according to the first size and add teardrops and align the connection between the surface mount device and the target differential line to compensate for the target differential line, wherein the first size is used to reflect the size of the surface mount device in the customer's original manuscript, that is, the second compensation method can be understood as the SMD is designed according to the first size in the customer's original manuscript, the working draft is not compensated, and teardrops are added to the SMD connection and aligned to compensate for the target differential line in the working draft.
[0091] 304. If the target routing method is that the impedance measurement point of the target differential line passes through both the surface mount device and the via, determining that the target compensation method includes a third compensation method;
[0092] The compensation method library also stores a third compensation method corresponding to a routing method in which the impedance measurement point of the differential line passes through both the surface mount device and the through-hole. If the target routing method is that the impedance measurement point of the target differential line passes through both the surface mount device and the through-hole, it is determined that the target compensation method includes the third compensation method, wherein the third compensation method is to design the surface mount device according to the first size, reduce the hole by a first length, and reduce the solder ring by a second length to compensate for the target differential line. The third compensation method can be understood as the SMD is designed according to the first size in the customer's original manuscript, the working manuscript is not compensated, the hole is compensated by reducing the first length (for example, 1 mil), and the solder ring (ring) is reduced by a second length (0.5 mil), for example, the ring is changed from 5 mil to 4.5 mil, and the target differential line in the working manuscript is compensated, so that the copper area and the internal cross-sectional area of the hole wall are reduced when the through-hole is produced, thereby improving the signal transmission efficiency.
[0093] 305. If the target routing mode is that the target differential line is a through-layer design and a bending design, determining that the target compensation mode includes a fourth compensation mode;
[0094] Furthermore, the compensation method library also stores the fourth compensation method corresponding to the routing method of the differential line with the over-layer design and the bending design. Then, if the target routing method is the target differential line with the over-layer design and the bending design, it is determined that the target compensation method includes the fourth compensation method, wherein the fourth compensation method is for the target differential line passing through the outer layer of the circuit board, the surface mount device is designed according to the second size, and the target differential line is reduced by the second line width to compensate the target differential line, and the second size is smaller than the first size. That is, the fourth compensation method can be understood as the SMD is designed according to the second size (2mil less than the first size of the original), the line width is reduced by the second line width (for example, 0.5mil), and the target differential line is modified when passing through the outer layer, and the inner layer is not modified.
[0095] In a feasible implementation, there is a further compensation method for the layer-through design and the bending design, that is, determining the target compensation method includes a fourth compensation method, and then further includes steps C01 to C02:
[0096] C01. Obtaining a first standard value of the impedance of a target differential line;
[0097] C02. If the first standard value is higher than the preset impedance threshold value, and the impedance measurement point of the target differential line passes through a hole, determining that the target compensation method also includes a fifth compensation method, the fifth compensation method is to reduce the hole by a first length and reduce the welding ring by a second length to compensate the target differential line;
[0098] C03. If the first standard value is higher than the preset impedance threshold, and the impedance measurement point of the target differential line passes through both the hole and the surface mount device, then determining that the target compensation method also includes a sixth compensation method, the sixth compensation method is to reduce the hole by a first length, reduce the solder ring by a second length, reduce the target differential line by a third line width, and design the surface mount device according to a third size, and the third size is smaller than the first size.
[0099] Among them, according to the different designs of the SMD size of the customer's original manuscript, the third size also has different values, and the specific rules are as follows: if the first size of the surface mount device is greater than or equal to the preset first size threshold, the third size is determined to be the second size; if the first size of the surface mount device is less than the preset first size threshold, the third size is determined to be the fourth size, and the fourth size is greater than the second size and less than the first size; if the first size of the surface mount device is greater than or equal to the preset second size threshold, the third size is determined to be the fifth size, the fifth size is less than the second size, and the second size threshold is greater than the first size threshold.
[0100] It should be noted that there are further compensation methods for the over-layer design and the bending design, which need to be further determined by the standard value of the impedance of the target differential line. Specifically, an impedance threshold is pre-set, and the impedance threshold may be 50 ohm.
[0101] Furthermore, if the first standard value is higher than the preset impedance threshold value, and the impedance measurement point of the target differential line passes through a hole, then determining that the target compensation method also includes a fifth compensation method, the fifth compensation method is to reduce the hole by a first length and reduce the welding ring by a second length to compensate the target differential line;
[0102] If the first standard value is higher than the preset impedance threshold, and the impedance measurement point of the target differential line passes through both the hole and the surface mount device, then determining that the target compensation method also includes a sixth compensation method, wherein the sixth compensation method is to reduce the hole by a first length, reduce the solder ring by a second length, reduce the target differential line by a third line width, and design the surface mount device according to a third size, and the third size is smaller than the first size.
[0103] And the value of the third size is further determined according to the first size of the SMD in the customer's original manuscript, wherein the first size threshold and the second size threshold are preset, and the second size threshold is greater than the first size threshold, for example, the first size threshold is 19 mil, and the second size threshold is greater than 19 mil, and then by comparing the size relationship between the first size and the size threshold, the value of the third size is determined. Specifically, if the first size of the surface mount device is greater than or equal to the preset first size threshold, for example, the first size of the SMD is greater than or equal to 19 mil, then the third size is determined to be the second size (that is, SMD is minus 2 mil based on the original manuscript); if the first size of the surface mount device is less than the preset first size threshold, for example, the first size of the SMD is less than 19 mil, then the third size is determined to be the fourth size, the fourth size is greater than the second size and smaller than the first size, for example, the fourth size is 0.4 mil less than the original manuscript minus 2 mil; if the first size of the surface mount device is greater than or equal to the preset second size threshold, that is, larger than 19 mil, it is considered to be a large SMD design, and the third size is determined to be the fifth size (for example, the large SMD is reduced by 5 mil on the basis of not compensating based on the original manuscript), that is, the fifth size is smaller than the second size.
[0104] It is understandable that the design parameters include but are not limited to line width, line spacing, hole size, SMD size, ring size, PAD size, etc. In general, the corresponding relationship between the above-mentioned routing methods and compensation methods can refer to the compensation standards of the following examples:
[0105] 1) Routing method: the measuring point does not pass through the hole or PAD; compensation method: normal compensation based on the customer's line width and line distance;
[0106] 2) Routing method: the measuring point passes through SMD; compensation method: SMD is designed according to the original manuscript, and the working manuscript is not compensated
[0107] 3) Routing method: the measuring point passes through SMD and then through the hole; compensation method: SMD is designed according to the original manuscript, the working manuscript is not compensated, the hole compensation is reduced by 1mil, and the ring is changed from 5mil to 4.5mil;
[0108] 4) Routing method: over-layer design and bending design; compensation method: SMD is designed according to the original manuscript, line width -0.4mil design. Modifications are made for the outer layer, and no modifications are made for the inner layer.
[0109] Other:
[0110] 4.1) 50ohm (not included) and above, no through-hole measurement point: normal compensation.
[0111] 4.2) 50ohm (not included) and above once through the hole measurement point: shrink hole shrink ring.
[0112] 4.3) For the measurement points of 50ohm (not included) or above with one hole and SMD: shrink hole and ring, no compensation for SMD≥19mil, and 0.4mil less compensation for SMD<19mil. The line width also needs to be reduced by 0.4mil. In addition, if there are the following large SMD design measurement points, the large SMD will be reduced by 5mil based on the original without compensation.
[0113] 306. Adjust the design parameters of impedance compensation for the target differential line based on the target compensation method to obtain a target circuit board after impedance compensation.
[0114] It should be noted that the content of step 306 is the same as Figure 1 The contents of step 103 are similar and will not be described here to avoid repetition. Figure 1 The content of step 103 is shown.
[0115] Further, please refer to Figures 4(a) and 4(b), where Figure 4(a) is a diagram of the effect before use of a circuit board impedance compensation method in an embodiment of the present invention; Figure 4(b) is a diagram of the effect after use of a circuit board impedance compensation method in an embodiment of the present invention, wherein Figure (i) in Figure 4(a) is a customer's original manuscript, which belongs to a routing method through SMD, and it can be seen from Figure (i) that the line is flush with the SMD, Figure (ii) in Figure 4(a) is a working draft drawn based on the customer's original manuscript, and it can be seen from Figure (ii) that the line is not flush with the SMD, and the line is partially uneven, Figure (iii) in Figure 4(a) is a schematic diagram of a PCB board etched based on Figure (ii), and it can be seen from Figure (iii) that it is also uneven after etching, and Figure (iv) in Figure 4(a) is a measured impedance change diagram, which shows that the line is not flush with the SMD, and the line is partially uneven.
[0116] After being processed by the second compensation method, that is, "SMD is designed according to the original manuscript, the working manuscript is not compensated, teardrops are added to the SMD wiring and leveled", the working manuscript becomes Figure (i) in Figure 4(b) and then etched according to Figure (i) in Figure 4(b). The obtained etching pattern of the PCB board is Figure (ii) in Figure 4(b). It can be seen that after the change: the etching bite of the conductor connection is smoother.
[0117] The present invention provides an impedance compensation method for a circuit board. A method for testing the difference in resistance value changes of different designs and thus adjusting the different designs of SMD, PAD, holes and lines in a targeted manner is obtained. Through the above method, a compensation method library that stores compensation methods corresponding to routing methods in a one-to-one manner is pre-set, and the target compensation method corresponding to the target differential line is determined in combination with the target routing method of the target differential line. Based on the target compensation method, the impedance compensation of the target differential line with abnormal impedance state is adjusted in a targeted manner, so that different routing methods can adopt different compensation methods, thereby reducing the product defect rate of the PCB board and improving the processing quality of the PCB board. The purpose of not changing the resistance value when designing different routing methods for differential lines is achieved. The product defect rate of the PCB board is reduced, and the customer experience is further improved.
[0118] See also Figure 5 , Figure 5 FIG. 1 is a structural block diagram of an impedance compensation system for a circuit board according to an embodiment of the present invention. Figure 5 The impedance compensation system 500 shown includes at least: an impedance measurement device 501, and an impedance compensation device 502 for a circuit board, and the impedance compensation device 502 is communicatively connected to the impedance measurement device 501;
[0119] The impedance measuring device 501 is used to measure the measured value of the impedance of each differential line of the circuit board and upload the measured value to the impedance compensation device; the impedance compensation device 502 is used to receive the measured value and perform the following steps: Figure 1 or Figure 3 The steps of the method shown.
[0120] The present invention provides an impedance compensation system for a circuit board, the impedance compensation system at least comprising: an impedance measuring device and an impedance compensation device for the circuit board, wherein the impedance compensation device and the impedance measuring device are connected in communication; wherein the impedance measuring device is used to measure the measured value of the impedance of each differential line of the circuit board, and upload the measured value to the impedance compensation device; the impedance compensation device is used to receive the measured value, and perform the following steps: Figure 1 or Figure 3 The steps of the method shown in the figure achieve the purpose of not changing the resistance value while designing different routing methods for differential lines. The product defect rate of PCB boards is reduced, which further improves the customer experience.
[0121] See also Figure 6 , Figure 6 FIG. 1 is a structural block diagram of an impedance compensation device of a circuit board in an embodiment of the present invention. The circuit board includes a plurality of differential lines, such as Figure 6 The device shown comprises:
[0122] The first determination module 601 is used to determine a target routing mode of the target differential line when there is a target differential line with an abnormal impedance state on the circuit board;
[0123] The second determination module 602 is used to determine the target compensation method corresponding to the target routing method according to the target routing method and a preset compensation method library, wherein the compensation method library stores a plurality of compensation methods, and the compensation methods correspond to the routing methods one by one, and the compensation methods are used to reflect the design parameters required to be adjusted for the impedance compensation of the differential line under the routing method;
[0124] Impedance compensation module 603: used to adjust the design parameters of impedance compensation for the target differential line based on the target compensation method to obtain the target circuit board after impedance compensation.
[0125] It should be noted that Figure 6 The functions of each module in the device shown are Figure 1 The contents of each step in the method shown are similar, and are not described here to avoid repetition. For details, please refer to Figure 1 The content of each step in the method shown.
[0126] The present invention provides an impedance compensation device for a circuit board, the circuit board includes a plurality of differential lines, and the device includes: a first determination module: used to determine a target routing mode of the target differential line when there is a target differential line with an abnormal impedance state on the circuit board; a second determination module: used to determine a target compensation mode corresponding to the target routing mode according to the target routing mode and a preset compensation mode library, the compensation mode library stores a plurality of compensation modes, and the compensation modes correspond to the routing modes one by one, and the compensation modes are used to reflect the design parameters required to adjust the impedance compensation of the differential line under the routing mode; an impedance compensation module: used to adjust the design parameters of impedance compensation for the target differential line based on the target compensation mode, and obtain a target circuit board after impedance compensation. Through the above method, a compensation mode library that stores compensation modes corresponding to the routing modes one by one is pre-set, and the target routing mode of the target differential line is combined to determine the target compensation mode corresponding to the target differential line, and impedance compensation is adjusted for the target differential line with an abnormal impedance state based on the target compensation mode, so that different routing modes can adopt different compensation modes, thereby reducing the product defect rate of the PCB board and improving the processing quality of the PCB board.
[0127] Figure 7FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 7 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. Those skilled in the art can understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0128] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes Figure 1 or Figure 3 The steps of the method shown.
[0129] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes Figure 1 or Figure 3 The steps of the method shown.
[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0131] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0132] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A circuit board impedance compensation method, characterized in that: The circuit board includes a plurality of differential lines, and the method includes: When a target differential line having an abnormal impedance state exists on the circuit board, a target routing mode of the target differential line is determined; According to the target routing mode and the preset compensation mode library, a target compensation mode corresponding to the target routing mode is determined. The compensation mode library stores a number of compensation modes, and the compensation modes correspond to the routing modes one by one. The compensation modes are used to reflect the design parameters required to be adjusted for impedance compensation of the differential lines under the routing modes. The design parameters of the impedance compensation of the target differential line are adjusted based on the target compensation method to obtain the target circuit board after impedance compensation.
2. The method according to claim 1, characterized in that According to the target routing method and the preset compensation method library, determine the target compensation method corresponding to the target routing method, including: If the target routing method is that the impedance measurement point of the target differential line does not pass through the via or the pad, determining the target compensation method includes a first compensation method, and the first compensation method is to compensate the target differential line according to the first line width and the first line distance; If the target routing method is that the impedance measurement point of the target differential line passes through the surface mount device, then determining the target compensation method includes a second compensation method, the second compensation method is to design the surface mount device according to the first size and add a teardrop at the connection point between the surface mount device and the target differential line and level it to compensate the target differential line; If the target routing method is that the impedance measurement point of the target differential line passes through both the surface mount device and the hole, determining the target compensation method includes a third compensation method, and the third compensation method is to design the surface mount device according to the first size, reduce the hole by a first length, and reduce the solder ring by a second length to compensate the target differential line; If the target routing method is that the target differential line is a through-layer design and a bending design, then the target compensation method is determined to include a fourth compensation method. The fourth compensation method is to design a surface mount device according to a second size for the target differential line passing through the outer layer of the circuit board, and to reduce the target differential line by a second line width to compensate for the target differential line. The second size is smaller than the first size.
3. The method according to claim 2, characterized in that Determining the target compensation method includes the fourth compensation method, and then further includes: Obtaining a first standard value of the impedance of a target differential line; If the first standard value is higher than the preset impedance threshold value, and the impedance measurement point of the target differential line passes through a hole, determining that the target compensation method also includes a fifth compensation method, the fifth compensation method is to reduce the hole by a first length and reduce the welding ring by a second length to compensate the target differential line; If the first standard value is higher than the preset impedance threshold, and the impedance measurement point of the target differential line passes through both the hole and the surface mount device, then determining that the target compensation method also includes a sixth compensation method, the sixth compensation method is to reduce the hole by a first length, reduce the solder ring by a second length, reduce the target differential line by a third line width, and design the surface mount device according to a third size, and the third size is smaller than the first size.
4. The method according to claim 3, characterized in that The method also includes: If the first size of the surface mount device is greater than or equal to a preset first size threshold, determining the third size to be the second size; If the first size of the surface mount device is smaller than the preset first size threshold, determining the third size to be a fourth size, the fourth size being larger than the second size and smaller than the first size; If the first size of the surface mount device is greater than or equal to a preset second size threshold, the third size is determined to be the fifth size, the fifth size is smaller than the second size, and the second size threshold is greater than the first size threshold.
5. The method according to any one of claims 1 to 4, characterized in that The method also includes: Obtaining a measured value and a second standard value of the impedance of each differential line of the circuit board; Based on the measured value and the second standard value, determining the impedance characteristics of each differential line, the impedance characteristics being used to reflect the difference between the measured value of the differential line and the second standard value; The impedance state of each differential line is determined according to the impedance characteristics and the preset impedance state judgment rule. The impedance state is used to reflect whether there is impedance abnormality in the differential line.
6. The method according to claim 5, characterized in that The impedance characteristic at least includes an impedance difference, and the judgment rule at least includes an error threshold. According to the impedance characteristic and the preset impedance state judgment rule, the impedance state of each differential line is determined, including: If the impedance difference of the differential line is greater than the error threshold, it is determined that the impedance state of the differential line is abnormal; If the impedance difference of the differential line is less than or equal to the error threshold, it is determined that the impedance state of the differential line is normal.
7. An impedance compensation system for a circuit board, characterized in that: The impedance compensation system at least includes an impedance measuring device and an impedance compensation device for a circuit board, and the impedance compensation device and the impedance measuring device are communicatively connected; The impedance measuring device is used to measure the measured value of the impedance of each differential line of the circuit board, and upload the measured value to the impedance compensation device; The impedance compensation device is used to receive the measured value and perform the steps of the method according to any one of claims 1 to 6.
8. An impedance compensation device for a circuit board, characterized in that: The circuit board includes a plurality of differential lines, and the device includes: A first determination module: used for determining a target routing mode of a target differential line when a target differential line with an abnormal impedance state exists on a circuit board; The second determination module is used to determine the target compensation method corresponding to the target routing method according to the target routing method and a preset compensation method library, wherein the compensation method library stores a plurality of compensation methods, and the compensation methods correspond to the routing methods one by one, and the compensation methods are used to reflect the design parameters required to be adjusted for the impedance compensation of the differential line under the routing method; Impedance compensation module: used to adjust the design parameters of impedance compensation for the target differential line based on the target compensation method to obtain the target circuit board after impedance compensation.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.
10. A computer device comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of any one of the methods of claims 1 to 6.
