热度 14
2012-3-30 19:07
1551 次阅读|
0 个评论
In my previous article , I gave a mostly theoretical overview of the effect probes—like scope and logic analyser probes—have on the nodes being tested. The most important effects stem from the capacitance of the probe tip. To reiterate, the reactance, or resistance to AC, at the tip is: This reactance loads the node and can alter a device's operation—or worse. To explore this, I built a circuit on a printed circuit board with ground and power planes, keeping all wires very short. A 50MHz oscillator drives two AND gates. The 74AUC08 is spec'd with a propagation delay between 0.2 and 1.6 nsec at the 2.5V I used for the experiment. The second gate is a slower 74LVC08 whose propagation delay is 0.7 to 4.4 nsec. Still speedy, but slower than the first gate. I was not able to find rise-time specifications but assumed the faster AUC would switch with more alacrity and thought it would be interesting to compare effects with differing rise times. Alas, it was not to be; the LVC wasn't much slower than the AUC. So I'll generally report on the slower gate's results. These parts are in miniscule SOT-23 packages, which keeps inductances very low but means one solders under a microscope, sans coffee. I wanted to see the effect that probes have on nodes, but that posed a meta-problem: if probing causes distortion, how can one see the undistorted signal? Thankfully there's a simple solution. I made a pair of metre-long probes from RG-58/U coax cable. A BNC connector on one end goes to the scope. A short bit of braid is exposed and soldered to the ground plane very close to the node being probed, and a ¼-watt 1K resistor goes from the inner conductor to the node. I used an Agilent MSO-X-3054A scope with selectable input impedance, set to 50Ω. This is critical for the shop-made probe; the normal 1 MΩ simply will not work. If your scope doesn't have a 50-Ω mode, use a series attenuator such as the 120082 from Test Products International (this part doesn't seem to be on their web page, but Digikey resells them). Agilent's N5442A is a more expensive but better-quality alternative. RG/58U is 50-Ω cable; add the resistor and the total is 1,050Ω. The scope's 50-Ω input forms a 21:1 divider, but the resistor's very low capacitance (remember, a ¼-watt resistor runs only 0.5 pf) means the probe's tip looks extremely resistive, with little reactance. The scope thinks a 1X probe is installed, so to accommodate the oddball 21:1 ratio one multiplies the displayed readings by 21. The first experiment showed Fourier at work. The blue trace in Figure 1 shows the output of the fastest gate using a 21X probe. Note that it's far from perfect since the circuit had its own reactive properties. The rise time (measured with a faster sweep rate than shown) is about 690 psec (picoseconds). "About" is the operative word, as the scope has a 500MHz bandwidth (though samples at 4 GS/sec). I found that having the instrument average readings over 128 samples gave very consistent results. The pink trace is the Fourier Transform of the gate's output. Unlike the blue trace, this one is not in the time domain (e.g., time across the horizontal axis) but is in the frequency domain. From left to right spans 2GHz, with 500MHz at the centre. The vertical axis is dBm, so is a log scale. Each peak corresponds to a term in the Fourier series. Point "A" is exactly 50MHz, the frequency of the oscillator. Most of the energy is concentrated there. Peak "B" is 48 dBm down from "A." That's on the order of 100,000 times lower than "A." "B" is at 900MHz. Remembering that little energy remains in frequencies above with F=900MHz the rise time is 555ÿpsec, close enough to the 690 measured. The same experiment using the slower 74LVC08 gate yielded 48ÿdBm down at 450MHz, or a rise time of 1.1ÿnsec. That's close to the 0.95ÿnsec reported by the scope. Next, I connected a decent-quality $200 Agilent N2890A 500MHz probe (11-pf tip capacitance) on the 74LVC08's output. The 21X probe saw an additional third of a nanosecond in rise time due to the N2890A's capacitance. In other words, connect a probe and the circuit's behaviour changes. In Figure 2 the orange trace is the gate's output measured, as usual, with the 21X probe, although now there's 10ÿinch of wire dangling from it. That trace is stored as a reference, and the green one is the same point, with the same probe, but the N2890A is connected to the end of that 10 inch of wire. Note that the waveform has changed—even though that other probe is almost a foot away—and the signal is slightly delayed. This is probably not going to cause much trouble. Gates typically have a very low output impedance, so it's unsurprising there's so little effect. Often, though, we're sensing signals that go to more than one place. For instance, the "read" control line probably goes from the CPU to quite a few spots on the board. To explore this situation, I put the 21X probe five inches down that wire, captured the waveform into the reference (orange in the figure above ), and then connected the same N2890A at the end of the 10 inch of wire. The signal (green) at the 5-inch point shifted right and was distorted. Consider the clock signal: On a typical board, it runs all over the place. The impedance at the driver is very low, but the long PCB track will have a varying reactance. Probe it and the distortion can be enough to cause the system to fail. The ringing is caused by an impedance mismatch. The N2890A has changed the node's impedance, so it no longer matches that of the driver. Part of the signal is reflected back to the driver, and this reflection is the bounciness on the top and bottom of the pulses.