Thursday, October 15, 2009

Series Resistor Analysis

It may not be widely recognized but hardware design engineers have encounters with signal integrity or SI issues practically on a daily basis.
On one of recent projects I have encountered a line termination application that is slightly different from usual techniques. The usual ones, like pull-ups and Thevenin equivalent circuits at the end of interface line or series resistors next to driver, are well understood. But the Micron Technology Application Note TN-46-14 has the following line termination recommendation for DDR memory data line termination: "For bidirectional I/O signals, such as DQ (Data line – M.G.), minimize ringing, overshoot, and undershoots by placing the RS halfway between source and sink devices." That configuration is shown in Figure 1.

Figure 1. Resistor in the middle of the line


So… let us look why and how this approach works. The purpose of the series termination resistor is to reduce the value of the signal amplitude and rely upon reflection from the end of the line to bring the signal back into the range appropriate for receiver. The lower amplitude is beneficial for limiting reflections, crosstalk and emissions. The series resistor in the middle of the line is supposed to imitate the performance of a typical application when series resistor is placed close to the driver and, therefore, we should compare these two cases.

Figure 2. The typical case of series resistor is very close to the driver



The series resistor immediately after the driver, as shown in Figure 2, increases the driver's output resistance value and thus reduces the signal amplitude at point A calculated from the voltage divider generated by resistances Rout+Rs and Z:
VA = V · Z/( Z + Rout + Rs) (1)
In the case of the resistor in the middle of the line, as shown in Figure 1, the point C is in the same position (in front of transmission line segment before receiver) as the point A in Figure 2. Therefore, we should compare the signal amplitudes at these points.
Let us consider the middle of the line case. The circuit configuration as seen from the point A is similar to one in the Figure 2 but without the series resistor Rs. Therefore:
VA = V · Z/(Z + Rout) (2)
After the point A the signal with amplitude VA traverses the transmission line to the point B (see Figure 3). It reflects from the point B, where Reflection Coefficient is:
r = [(Z+Rs)-Z]/[(Z+Rs)+Z]
Therefore, the signal amplitude at point B is:
VB = VA · [1 + r] = VA · {1 + [(Z+Rs)-Z]/[(Z+Rs)+Z]} = VA · 2(Z+Rs)/(2Z+Rs) (3)

Figure 3. Transmission line discontinuity

The signal amplitude at point C may be calculated from the divider as it is shown in Figure 4:
VC = VB · Z/(Z + Rs) (4)

Figure 4. Voltage divider created by series resistance and transmission line impedance


Combining the expressions for VA, VB and VC we obtain the expression for VC as a function of the input value V:
VC = V · Z/( Z + Rout + Rs/2 + RoutRs/2Z) (5)
As it could be seen comparing the expressions (5) and (1) the Rs
member of denominator in expression (1) is replaced by the (Rs/2 + RoutRs/2Z ) in (5). That difference may show us the effect of moving the series resistor from the position near the driver to the middle of the transmission line.
The effect of the change clearly depends on the value of driver's output impedance. Consider that Rout of a high-speed transmitter circuit is relatively low. As a rule it is much lower than the value of line characteristic impedance that typically ranges between 45 Ohms and 65 Ohms. Therefore, depending on the value of Rout in respect to Z the range of the signal amplitude at point C varies between: VC = V · Z/( Z + Rout + Rs/2) for Rout
approaching 0, which is slightly larger than VA in (1), and VC = V · Z/( Z + Rout + Rs) for Rout = Z, which is the same as VA in (1).
The analysis shown above is beneficial in several ways:
  • it shows that the series resistor placed in the middle of the transmission line does perform its duty of signal amplitude reduction
  • it provides engineer with methodology to calculate the series resistor value
  • it also shows the generic approach toward analysis of the high-speed interfaces with series termination resistors

No comments:

Post a Comment