Given a circuit like this:
simulate this circuit – Schematic created using CircuitLab
What's the importance of R1? One can guess that it's to make the output impedance of BUF1 equal to the impedance of the transmission line, but why is this important? What happens if R1 is omitted? How does what's on the other end affect this? Maybe it's a matched load, open, or short. Maybe it's a transmission line with discontinuities in it.
Answer
The idea is that signals propagate at a finite speed, that is to say a certain signal takes t
time to get from one end of the transmission line to the other line. The cable also has some intrinsic capacitance/inductance per unit length, which can be approximated with a characteristic impedance (assuming loss-less):
\begin{equation} Z_0 = \sqrt{\frac{L}{C}} \end{equation}
This is the impedance initially experienced by the source when the signal changes, with the signal level acting like a voltage divider circuit between R1 and Z0: \begin{equation} V_s = V_{in} \frac{Z_0}{R_1 + Z_0} \end{equation}
When the signal propogates to the end of the cable, it will realize that there's nothing to dump the signal energy into. The signal must go somewhere, so it bounces off the far end and returns to the source. When it reaches the source, the source voltage will be twice the original \$V_s\$, which will flow back through R1 to the source.
If \$R_1\$ = \$Z_0\$, \$V_S = V_{in}\$ and the entire transmission line has reached steady state because no more energy can be injected into or absorbed from the line. This is ideal because the line has reached steady state in ~2t
(one t to get to the target, and one t to get back to the source).
If \$R_1\$ is too large, \$V_S\$ will still be larger than \$V_{in}\$ so the source will continue to dump energy into the transmission line, and the transmission line's voltage will slowly step up as the signal bounces back/forth.
If \$R_1\$ is too small, \$V_S\$ will overshoot when the signal gets back. In this case, a falling edge wave will propagate down the line because the source is trying to absorb the excess energy pumped into the line, and again the voltage will bounce back/forth till steady state is reached.
In the latter 2 cases the target voltage could bounce above/below a certain digital logic level multiple times so the receiver could get false data bits as a result. This could also be potentially damaging to the source because the reflected signal may rise induce excess stress on the source.
Now what happens if we attach something to the other side, like a resistor \$R_2\$?
Now the target can absorb energy, and only a fraction of the original signal is reflected. If \$R_2 = Z_0\$, we again have matched impedances and no signal is reflected.
If \$R_2\$ is too small/too big, we'll end up with similar reflection signals as above, except the signal is inverted.
Using \$R_1 = Z_0\$ can still be used to prevent repeated bouncing, but the steady state signal voltage will be the result of the voltage divider between R1 and R2. If \$R_2 = Z_0\$, there is no reflection so the value of R1 doesn't matter. We might as well pick R1 = 0 so the target voltage is the same as the source voltage. As supercat pointed out, you could also have the source drive a signal twice the magnitude the target is expecting and still use \$R_1 = R_2 = Z_0\$
I wrote an online transmission line simulator to play around with which demonstrates source termination. I found it useful for visualizing these signal propagation waves along the transmission line. Pick a large enough R2 and you can approximate an open, like the case you have. This only models loss-less transmission lines, but is usually accurate enough.
No comments:
Post a Comment