Series terminating method and structure of bidirectional signal receiving and transmitting link
By calculating the average internal resistance value and impedance matching formula to determine the termination resistance position, the signal reflection problem in the bidirectional signal link is solved, the design efficiency is improved and the signal quality is improved, especially suitable for scenarios where the internal resistance of the chip is not equal.
Patent Information
- Application Number
- CN202411060478.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-11-26
AI Technical Summary
In bidirectional signal transmission and reception links, the prior art is difficult to effectively eliminate signal reflection, resulting in poor signal transmission quality and lack of efficient design methods to quickly determine the optimal series termination structure.
By calculating the average internal resistance values of the transceiver chips at both ends of the transmission line, determining the value and position of the termination resistor according to the impedance matching formula, and establishing a simulation model to verify the signal quality, ensuring that the termination resistor is set at the appropriate position to match the transmission line impedance.
It realizes the rapid design of the best series termination structure, improves circuit design efficiency, and improves the signal quality of the bidirectional signal link, especially when the internal resistance of the chip is not equal.
Smart Images

Figure CN119030563A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit design, and in particular to a serial termination method and structure for a bidirectional transceiver signal link. Background Art
[0002] Source-end series termination (termination for short) is a technique for eliminating reflected signals on transmission lines. Specifically, in a transmission line, when there is an impedance mismatch, reflection will occur. The method to reduce and eliminate reflection is to connect a resistor in series at the source end (transmitting end or receiving end) of the transmission line according to the characteristic impedance of the transmission line to perform impedance matching, thereby reducing the source reflection coefficient or the load reflection coefficient, or even zero. If one side of the transmission line is a transmitting chip and the other side is a load receiving the signal, if the source impedance needs to match the transmission line impedance, the source end is terminated; if the load impedance needs to match the transmission line impedance, the terminal end is terminated.
[0003] However, for a bidirectional transceiver signal link structure that uses the same PCB link for time-sharing signal transmission and reception, such as the transmission structure of localbus signals, where both chips at both ends of the transmission line are transceiver chips (i.e., chips that can both send and receive signals), if only one-sided elimination of reflection is considered, for example, considering the direction from the left transceiver chip to the right transceiver chip, the termination resistor is set at one end close to the left transceiver chip to eliminate the signal reflection at this end, then from the right transceiver chip to the left transceiver chip, the termination resistor will not have any effect on the right transceiver chip, and the signal overshoot is still very serious. In actual applications, it is found that the signal transmission quality of the overall link is still very poor. It can be seen that in a bidirectional transceiver signal link structure, as long as there is a serious signal overshoot in one direction, no matter how good the signal quality of the other transmission direction is, the signal transmission quality cannot be improved.
[0004] Therefore, designers can only try to change the value of the termination resistor and the location of the termination resistor on the transmission line, and finally simulate and calculate the signal results in order to find a better value and location of the termination resistor. This method is time-consuming and labor-intensive. Therefore, the industry lacks an efficient theoretical guidance method to assist designers in quickly designing the best series termination structure for a bidirectional transceiver signal link.
[0005] The above problems are worth solving. Summary of the invention
[0006] In order to overcome the deficiencies of the prior art, the present invention provides a serial termination method and structure for a bidirectional transceiver signal link.
[0007] The technical solution of the present invention is as follows:
[0008] A serial termination method based on a bidirectional transceiver signal link comprises the following steps:
[0009] Step 1, determine the termination resistance value according to the internal resistance value of the transceiver chip at both ends of the transmission line;
[0010] Calculate the average internal resistance of the first transceiver chip and the second transceiver chip, and equate the average internal resistance to the internal resistance of the chips at both ends of the transmission line; calculate the resistance of the termination resistor according to the impedance matching formula;
[0011] Step 2, determining the setting position of the termination resistor according to the ratio of the internal resistance values of the chip at both ends of the transmission line;
[0012] The distance from the termination resistor to the transceiver chip on one side of the transmission line is equal to the ratio of the internal resistance of the transceiver chip on that side to the sum of the internal resistances of the transceiver chips on both sides multiplied by the length of the transmission line.
[0013] The present invention according to the above scheme is characterized in that the impedance matching formula is: the sum of the termination resistance value and the internal resistance value of the chip is equal to the transmission line impedance value, and the termination resistance value is equal to the transmission line impedance value minus the internal resistance value of the chip.
[0014] Furthermore, when the transmission line impedance value is equal to 50 ohms, the termination resistance value is equal to the difference between 50Ω and the average internal resistance value.
[0015] The present invention according to the above scheme is characterized in that it also includes step 3, establishing a simulation model to verify the signal quality of the bidirectional signal transmission link.
[0016] Furthermore, the step 3 comprises:
[0017] Step 301: Establish a model including the first transceiver chip, the second transceiver chip and the termination resistor;
[0018] Step 302: first measure the signal from the first transceiver chip to the second transceiver chip to obtain the maximum first overshoot voltage;
[0019] Step 303: Measure the signal from the second transceiver chip to the first transceiver chip again to obtain the maximum second overshoot voltage;
[0020] Step 304: Determine the signal improvement status according to the first overshoot voltage and the second overshoot voltage.
[0021] The present invention also provides a series termination structure based on a bidirectional transceiver signal link, comprising a first transceiver chip, a second transceiver chip, and a transmission line connecting the first transceiver chip and the second transceiver chip, and a termination resistor arranged on the transmission line, the resistance value of the termination resistor being equal to the average value of the internal resistance value of the first transceiver chip and the internal resistance value of the second transceiver chip, and the distance from the termination resistor to the transceiver chip on one side of the transmission line being equal to the product of the ratio of the internal resistance value of the transceiver chip on that side to the sum of the internal resistances of the transceiver chips on both sides and the length of the transmission line.
[0022] The present invention according to the above scheme is characterized in that the internal resistance values of the first transceiver chip and the second transceiver chip at both ends of the transmission line are not equal, and the termination resistor on the transmission line is set close to one end of the transceiver chip with a smaller internal resistance value.
[0023] Furthermore, the internal resistance of the first transceiver chip is greater than the internal resistance of the second transceiver chip, and the distance from the termination resistor to the first transceiver chip is greater than the distance from the termination resistor to the second transceiver chip; the internal resistance of the first transceiver chip is less than the internal resistance of the second transceiver chip, and the distance from the termination resistor to the first transceiver chip is less than the distance from the termination resistor to the second transceiver chip.
[0024] The present invention according to the above scheme is characterized in that the internal resistance of the first transceiver chip is equal to the internal resistance of the second transceiver chip, and the termination resistor is arranged in the middle position of the transmission line.
[0025] The present invention according to the above scheme has the following beneficial effects:
[0026] The present invention provides a method for setting a termination resistor on a bidirectional transceiver signal link. Designers can quickly calculate the resistance value of the termination resistor that needs to be added and the position of the termination resistor on the transmission line through the internal resistance values of the transceiver chips on both sides of the transmission line, without using a time-consuming and labor-intensive exhaustive method, thereby assisting designers in improving circuit design efficiency.
[0027] Furthermore, the method of the present invention can also solve the signal quality problem in a scenario where the chips in a bidirectional transceiver signal link are different, resulting in different driving internal resistances on both sides. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a flow chart of the method of the present invention;
[0029] Figure 2 It is a structural schematic diagram of the present invention;
[0030] Figure 3 It is a structural diagram of a simulation model of the present invention;
[0031] Figure 4This is a waveform diagram of the receiving end when the first transceiver chip sends a signal in the second application example;
[0032] Figure 5 It is a waveform diagram of the receiving end when the second transceiver chip sends a signal in the second application example;
[0033] Figure 6 This is the waveform diagram of the receiving end of the transceiver chip on either side when the termination resistor is set in the middle of the transmission line in the second application example.
[0034] In the figure,
[0035] 1. The first transceiver chip; 2. The second transceiver chip; 3. The termination resistor; 4. The transmission line. DETAILED DESCRIPTION
[0036] In order to better understand the purpose, technical scheme and technical effect of the present invention, the present invention is further explained in conjunction with the accompanying drawings and embodiments. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, it is stated that the embodiments described below are only used to explain the present invention and are not used to limit the present invention.
[0037] It should be noted that the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features.
[0038] like Figure 1 As shown, a serial termination method based on a bidirectional transceiver signal link comprises the following steps:
[0039] Step 1, determine the termination resistance value according to the internal resistance value of the transceiver chip at both ends of the transmission line;
[0040] The internal resistance value of the first transceiver chip is obtained as r1, and the internal resistance value of the second transceiver chip is obtained as r2. The average internal resistance value r of the first transceiver chip and the second transceiver chip is calculated: r = (r1 + r2) / 2, and the average internal resistance value is equivalent to the internal resistance value of the chips at both ends of the transmission line, that is, the internal resistance of the chips at both ends of the transmission line is r.
[0041] The resistance of the termination resistor is calculated according to the impedance matching formula. Specifically, the impedance matching formula is: the sum of the termination resistance value R and the internal resistance value r of the chip is equal to the transmission line impedance value Z, then the termination resistance value R is equal to the transmission line impedance value Z minus the internal resistance value r of the chip, R=Zr.
[0042] In a specific embodiment, the transmission line impedance is equal to 50 ohms, then the termination resistance R is equal to the difference between 50 ohms and the chip internal resistance r, that is, the difference between 50 ohms and the average internal resistance, R = 50Ω-r = 50Ω-(r1+r2) / 2.
[0043] Step 2, determining the setting position of the termination resistor according to the ratio of the chip internal resistance values at both ends of the transmission line;
[0044] The distance from the termination resistor to the transceiver chip on one side of the transmission line is equal to the ratio of the internal resistance of the transceiver chip on that side to the sum of the internal resistances of the transceiver chips on both sides multiplied by the length of the transmission line, that is:
[0045] The distance s1 from the termination resistor to the first transceiver chip is equal to the ratio of the internal resistance r1 of the first transceiver chip to the sum of the internal resistances of the transceiver chips on both sides (r1+r2) multiplied by the length of the transmission line L, s1=L×[r1 / (r1+r2)];
[0046] The distance s2 from the termination resistor to the second transceiver chip is equal to the ratio of the internal resistance r2 of the second transceiver chip to the sum of the internal resistances of the transceiver chips on both sides (r1+r2) multiplied by the length of the transmission line L, s2=L×[r2 / (r1+r2)].
[0047] By adopting the above method, as long as the designers know the internal resistance values of the transceiver chips on both sides of the transmission line, they can quickly calculate the resistance values of the termination resistors that need to be added and the positions of the termination resistors on the transmission line, without the need to adopt time-consuming and labor-intensive exhaustive methods, thereby assisting designers in improving circuit design efficiency; and the present invention provides a theoretical guidance method, which solves the problem of how to set the termination resistors to improve signal reflection phenomena when the driving internal resistances of the transceiver chips on both sides of the transmission line are unequal.
[0048] In the first application example, the length of the transmission line is 5000mil, the internal resistance of the first transceiver chip and the second transceiver chip are both 35Ω, and the transmission line impedance is 50Ω. The resistance value of the termination resistor and the setting position on the transmission line can be quickly derived:
[0049] R=50-35=15Ω, s1=s2=2500mil; it can be seen that the termination resistor is set in the middle position of the 5000mil transmission line.
[0050] In the second application example, the length of the transmission line is 6000mil, the internal resistance of the first transceiver chip is 37Ω, the internal resistance of the second transceiver chip is 25Ω, and the transmission line impedance is 50Ω. The resistance value of the termination resistor and the setting position on the transmission line can be quickly derived:
[0051] R = 50-(37+25) / 2 = 19Ω;
[0052] s1=6000×[37 / (37+25)]=6000×0.597≈3580mil;
[0053] s2=6000×[25 / (37+25)]=6000×0.403≈2420mil.
[0054] It can be seen that the termination resistor is set at a position 3580 mil away from the first transceiver chip on the 6000 mil transmission line, that is, it is set at a position 2420 mil away from the second transceiver chip; designers can use the position of the first transceiver chip as a reference, and can also use the position of the second transceiver chip as a reference. Therefore, designers can choose an easily measurable line segment on the transmission line to measure and determine the setting position of the termination resistor according to actual conditions.
[0055] In the third application example, the length of the transmission line is 7000mil, the internal resistance of the first transceiver chip is 28Ω, the internal resistance of the second transceiver chip is 32Ω, and the transmission line impedance is 50Ω. The resistance value of the termination resistor and the setting position on the transmission line can be quickly derived:
[0056] R = 50-(28+32) / 2 = 20Ω;
[0057] s1=7000×[28 / (28+32)]=7000×0.467≈3267mil;
[0058] s2=7000×[32 / (28+32)]=7000×0.533≈3733mil.
[0059] It can be seen that the termination resistor is set at a position 3267 mil away from the first transceiver chip on the 7000 mil transmission line, that is, it is set at a position 3733 mil away from the second transceiver chip.
[0060] In order to demonstrate the feasibility of the method of the present invention, step 3 is also included, verifying the signal quality of the bidirectional signal transmission link. Specifically, the verification is performed by establishing a simulation model, including:
[0061] Step 301, establishing a model including a first transceiver chip, a second transceiver chip and a termination resistor;
[0062] Step 302: first measure the signal from the first transceiver chip to the second transceiver chip to obtain the maximum first overshoot voltage;
[0063] Step 303: Measure the signal from the second transceiver chip to the first transceiver chip again to obtain the maximum second overshoot voltage;
[0064] Step 304: Determine the signal improvement status according to the first overshoot voltage and the second overshoot voltage.
[0065] like Figures 3 to 5 As shown, the verification process is illustrated by the second application example. The model structure diagram includes a first transceiver chip 1, a second transceiver chip 2, a termination resistor 3 and a transmission line 4. The impedance of the transmission line 4 is 50 ohms. The length of the transmission line between the first transceiver chip 1 and the termination resistor 3 is 2420 mil, and the length of the transmission line between the second transceiver chip 2 and the termination resistor 3 is 3580 mil.
[0066] like Figure 4 As shown in the figure, the waveform of the receiving end when the first transceiver chip with an internal resistance of 37 ohms sends a signal is measured, and it is known that the maximum signal overshoot is m1 = 2.146V. Figure 5 As shown in FIG. 1 , the waveform of the receiving end when the second transceiver chip with an internal resistance of 25 ohms is sent is measured, and it is known that the maximum signal overshoot is m2 = 2.252 V. The signal overshoot on both sides is improved compared with the case where no termination resistor is set.
[0067] like Figure 6 As shown in the figure, if the termination resistor in the second application example is set in the middle of the transmission line, the signal overshoot on both sides is measured to be m3 = 2.425V, which is greater than both m1 = 2.146V and m2 = 2.252V. Therefore, when the internal resistance of the first transceiver chip and the second transceiver chip are not equal, setting the termination resistor in the middle of the transmission line is not the optimal solution.
[0068] like Figure 2 As shown, the present invention also provides a series termination structure based on a bidirectional transceiver signal link, comprising a first transceiver chip 1, a second transceiver chip 2, and a transmission line 4 connecting the first transceiver chip 1 and the second transceiver chip 2, and a termination resistor 3 arranged on the transmission line 4. The resistance value of the termination resistor 3 is equal to the average value of the internal resistance value of the first transceiver chip 1 and the internal resistance value of the second transceiver chip 2, and the distance from the termination resistor 3 to the transceiver chip on one side of the transmission line 4 is equal to the product value of the ratio of the internal resistance value of the transceiver chip on the side to the sum of the internal resistances of the transceiver chips on both sides and the length of the transmission line.
[0069] In a specific embodiment, the internal resistance values of the first transceiver chip and the second transceiver chip at both ends of the transmission line are not equal, and the termination resistor on the transmission line is set close to one end of the transceiver chip with a smaller internal resistance value:
[0070] When the internal resistance of the first transceiver chip is greater than the internal resistance of the second transceiver chip, the distance from the termination resistor to the first transceiver chip is greater than the distance from the termination resistor to the second transceiver chip; when the internal resistance of the first transceiver chip is less than the internal resistance of the second transceiver chip, the distance from the termination resistor to the first transceiver chip is less than the distance from the termination resistor to the second transceiver chip.
[0071] In a specific embodiment, the internal resistance values of the first transceiver chip and the second transceiver chip at both ends of the transmission line are equal, and the termination resistor is set in the middle of the transmission line.
[0072] In summary, the present invention first determines the specific value of the series resistance according to the reflection theory, and then uses the reflection and length distribution principle to solve the problem of large overshoot of the transceiver link signal by accurately dividing the position of the series resistance. This has a more obvious improvement on the signal quality than simply placing the termination resistor in the middle of the link.
[0073] 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.
[0074] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A serial termination method based on a bidirectional transceiver signal link, characterized in that: The following steps are involved: Step 1, determine the termination resistance value according to the internal resistance value of the transceiver chip at both ends of the transmission line; Calculate the average internal resistance of the first transceiver chip and the second transceiver chip, and equate the average internal resistance to the internal resistance of the chips at both ends of the transmission line; calculate the resistance of the termination resistor according to the impedance matching formula; Step 2, determining the setting position of the termination resistor according to the ratio of the internal resistance values of the chip at both ends of the transmission line; The distance from the termination resistor to the transceiver chip on one side of the transmission line is equal to the ratio of the internal resistance of the transceiver chip on that side to the sum of the internal resistances of the transceiver chips on both sides multiplied by the length of the transmission line.
2. The serial termination method based on a bidirectional signal transmission and reception link according to claim 1 is characterized in that: The impedance matching formula is: the sum of the termination resistance value and the internal resistance value of the chip is equal to the transmission line impedance value, and the termination resistance value is equal to the transmission line impedance value minus the internal resistance value of the chip.
3. The serial termination method based on a bidirectional signal transmission and reception link according to claim 2 is characterized in that: When the transmission line impedance is equal to 50 ohms, the termination resistance is equal to the difference between 50Ω and the average internal resistance.
4. The serial termination method based on a bidirectional signal transmission and reception link according to claim 1 is characterized in that: The method also includes step 3 of establishing a simulation model to verify the signal quality of a bidirectional signal transmission link.
5. The serial termination method based on a bidirectional signal transmission and reception link according to claim 4 is characterized in that: The step 3 comprises: Step 301: Establish a model including the first transceiver chip, the second transceiver chip and the termination resistor; Step 302: first measure the signal from the first transceiver chip to the second transceiver chip to obtain the maximum first overshoot voltage; Step 303: Measure the signal from the second transceiver chip to the first transceiver chip again to obtain the maximum second overshoot voltage; Step 304: Determine the signal improvement status according to the first overshoot voltage and the second overshoot voltage.
6. A series termination structure based on a bidirectional transceiver signal link, comprising a first transceiver chip, a second transceiver chip, a transmission line connecting the first transceiver chip and the second transceiver chip, and a termination resistor arranged on the transmission line, characterized in that: The resistance value of the termination resistor is equal to the average value of the internal resistance value of the first transceiver chip and the internal resistance value of the second transceiver chip, and the distance from the termination resistor to the transceiver chip on one side of the transmission line is equal to the product of the ratio of the internal resistance value of the transceiver chip on that side to the sum of the internal resistances of the transceiver chips on both sides and the length of the transmission line.
7. The serial termination structure based on a bidirectional signal transmission and reception link according to claim 6, characterized in that: The internal resistance values of the first transceiver chip and the second transceiver chip at both ends of the transmission line are not equal, and the termination resistor on the transmission line is arranged close to one end of the transceiver chip with a smaller internal resistance value.
8. The serial termination structure based on a bidirectional signal transmission and reception link according to claim 7 is characterized in that: The internal resistance of the first transceiver chip is greater than the internal resistance of the second transceiver chip, and the distance from the termination resistor to the first transceiver chip is greater than the distance from the termination resistor to the second transceiver chip.
9. The serial termination structure based on a bidirectional signal transmission and reception link according to claim 7, characterized in that: The internal resistance of the first transceiver chip is smaller than the internal resistance of the second transceiver chip, and the distance from the termination resistor to the first transceiver chip is smaller than the distance from the termination resistor to the second transceiver chip.
10. The serial termination structure based on a bidirectional signal transmission and reception link according to claim 6, characterized in that: The internal resistance values of the first transceiver chip and the second transceiver chip at both ends of the transmission line are equal, and the termination resistor is set in the middle position of the transmission line.
