|
It is physically impossible to turn any signal conductor into a completely leakproof waveguide. The best that can be hoped for is to design it so that enough of the signal (i.e., the propagating wave) ends up in the intended loads to achieve adequate signal integrity, while not enough leaks off to cause EMC problems. When this is achieved, the conductor will not be a good antenna, which means it will also tend not to pick up interference. Lending itself particularly well to this sort of electromagnetic wave analysis is cross talk, which occurs when a wave propagating along one conductor leaks off and is picked up by another conductor. At low frequencies, the conductors are in each other's near field and can be analyzed simply through the use of electric and magnetic fields (i.e., as capacitive and magnetic coupling), rather than requiring full-fledged electromagnetic fields. Signals in Both Time and Frequency Domains Let's turn now to an example and a few figures that I hope will elucidate the relationship between signal integrity and EMC. The example cited below is a digital clock signal, but the concepts developed will hold true for any type of analog or digital signal. (Bear in mind that the situation described is a highly simplified version of what is likely to be encountered in real life. The sketches are intended only to suggest a qualitative relationship and are not printouts of actual measurements.) This example manifests just one signal-integrity issue: a short-rise-time clock signal is sent down a PCB trace, but the trace itself is so long (at 4 in.) that it really ought to have been implemented as a transmission line instead. Because all other signal-integrity issues are so closely tied to EMC phenomena, the adoption of comprehensive EMC design techniques from the start of a project (in an effort to optimize hardware in terms of cost and time to market) will automatically address the problem of signal integrity.
Figure 2 shows our signal-integrity example as it might appear on a high-bandwidth oscilloscope. The clock driver has a nice square output waveform, but its load IC sees a clock input waveform distorted by both overshoot and ringing. There are a number of possible reasons for this, including the following:
Figure 3 shows part of the waveform of an ideal 166-MHz squarewave with 0.6-ns rise and fall times. (The sketches here are idealizedfew people ever see a waveform this good.)
Figure 4 shows the corresponding (again, idealized) frequency spectrum for the waveform in Figure 3. A number of narrow vertical spectral lines may be seen, starting with the fundamental frequency at 166 MHz and continuing through all of its odd-numbered harmonics. (It should be noted that perfectly square waveforms display no even-numbered harmonics.) The harmonics of the clock signal extend to very high frequencies. A dotted line (which would not appear on a real spectrum analyzer) traces the envelope of the signal and its harmonics. The declining slope of the envelope of the harmonics is 20 dB/decade up to a frequency of 530 MHz, at which point the slope increases to 40 dB/decade. The slope change from 20 to 40 dB/decade is caused by the rise and fall times of the clock's waveform, designated tr and tf. For an ideal waveform as shown in Figure 3, and with tr=tf, the "corner" frequency at which the slope change occurs can be calculated as 1/1tr. Thus, when tr=tf=0.6 ns, we obtain a corner frequency of 530 MHz. Similarly, a waveform with tr = tf = 2 ns would yield a corner frequency of 159 MHz. Textbook wisdom generally holds that the signal-integrity or EMC designer need not be concerned with the frequency content of signals above this break point, but here, as elsewhere, real life can provide some surprises. Real digital waveforms are not perfectly trapezoidal (especially when created by saturating logic such as normal transistor-transistor logic [TTL] or complementary metal oxide semiconductor [CMOS]), so the envelope of their harmonics may not fall away as smoothly as implied in Figure 4. Then, too, data-sheet rise and fall times are maximum values, not minimum ones, and the chips used will typically have faster edges than the data sheets specify. Significant emissions at up to 1 GHz have been seen, for example, from circuits using F-series TTL, despite their rise and fall times being specified at 2 ns. Now let's consider the antenna effect
of an ideal 4-in.-long straight PCB trace
on a typical FR4 glass-fiber PCB (see Figure
5). This PCB trace is assumed to be entirely
isolated, with no other traces anywhere near,
driven by a perfect 0-( Adapting any of these sketched graphs to other situations is merely a matter of scaling. For a 1-ns rise/fall-time waveform, the corner frequency should simply be moved five times lower. For a 16.6-MHz clock, the frequency axis for the clock harmonic spectra should be multiplied by 0.1. For a 10-in.-long PCB trace, the frequency axis of the antenna effect graph will need to be multiplied by 0.4. These graphs can be very useful in the earliest design stages of a projectfor instance, in deciding which nets are most critical for signal integrity and EMC.
Figure 5 shows us that the PCB trace becomes a better antenna (i.e., it leaks more) as frequency increases, smoothly reaching its first peak when its electrical length equals one-quarter of a wavelength. Because the trace is on FR4, which has a relative dielectric constant of around 4.0 at high frequencies, the velocity of propagation is around one-half what it would be in free space, meaning that the electrical length of the trace is almost twice its actual length. When the voltage in the trace experiences voltage maximum at a resonant point like this, the current in the trace experiences a minimum. At frequencies higher than the first resonance, the antenna effect of the trace varies regularly between deep troughs and increasingly higher peaks. At frequencies for which the electrical length of the trace equals an even-numbered multiple of quarter wavelengths (i.e., half or full wavelengths), there are deep troughs in the "antenna effect"or voltage minimathat correspond to current maxima. At frequencies for which the electrical length equals an odd-numbered multiple of quarter wavelengths, there are new peaksor voltage maximathat correspond to current minima. The corresponding graph of antenna effect for a trace implemented as a properly terminated transmission line would be a fairly straight line never exceeding about 40 dB and having no resonant peaks or troughs, no matter how long it was. Now let's see what happens when we measure the spectrum at the load end of the ideal 4-in. trace (with its antenna effects) when it is sourced from the ideal 166-MHz waveform. Figure 6 shows that the load end is lacking some spectral content. Notice that the peaks and troughs of Figure 5 correspond to those in the harmonic content of the signal voltage at the load (see Figure 6).
Figure 7 shows the spectrum of the radiated emissions from the ideal 4-in. trace, revealing peaks at the frequencies where Figures 5 and 6 display either peaks or troughs. At the peaks in Figures 5 and 6, the trace is emitting (i.e., leaking) wholly electric fields, whereas at the troughs the trace is emitting wholly magnetic fields. Notice that the third and fifth harmonics of the clock signal do not coincide with their nearby peaks in the trace's antenna effect. If the trace were just a little shorter, the antenna peaks would be a little higher in frequency and could tune in these harmonics, which might then have emissions about 10 dB worse. The seventh harmonic is already almost exactly on a peak, so a slightly shorter trace that increased the emissions of the third and fifth harmonics would probably reduce the emission levels of the seventh. The foregoing demonstrates how a simple modification to a PCB can strongly affect its EMC and signal integrity, and, by extension, how it might easily cause a product to become noncompliant or unreliable or both. PCBs that benefit from properly designed-in EMC are much more forgiving of small design changes, so as well as being more competitive at its launch, a product that uses such PCBs will carry a lower risk of unforeseen dips in profitability over its lifetime. EMC emissions measurements are made with an electric-field antenna in the far field, where the electromagnetic waves from the product are fully developed. No matter whether an emission starts out as an electric field or as a magnetic field, it will always become electromagnetic in the far field, where a proper EMC emissions test will detect it. To complete the picture, Figure 8 graphs all the waveforms for the example circuit: the clock source, the load, and the radiated emissions. The signal at the load shows a slowed rate of rise and fall as well as significant overshoots and undershoots. The slow edges worsen the skew, and the over- and undershoots can cause false triggering if they cross logic thresholds. Even where the ringing does not cross such thresholds, however, it reduces noise margins, making the circuit more vulnerable to both internal noise and external interference.
Most people will be unfamiliar with the waveform of the radiated emissions shown in Figure 8. If a spectrum analyzer used in a proper EMC emissions test was to be replaced by an oscilloscope, this waveform would still not be visible because the antenna used would pick up too many other signals from the product, in addition to ambient interference. A close-field magnetic-loop or electric-field probe connected to an oscilloscope, though, might be able to describe the different contributions to this waveform fairly well, as such probes respond only to nearby emissions. When an insulated close-field probe is held directly against a trace, it will pick up the currents or voltages in the trace itself, which can also provide some useful information. Close-field probes can be very powerful tools when used during the development of hardware, and can pinpoint EMC and signal-integrity problems even on a first-prototype PCB. Using Oscilloscope Measurements to Gauge EMC Performance When we measured a signal with a voltage probe and an oscilloscope and discovered that the waveform became degraded as it traveled from source to load, it was clear that we might have some signal-integrity issues. Figure 8 demonstrates that the same measurement can also reveal EMC and cross-talk problems. The main ringing frequencies on the scope picture are often the worst frequencies for EMC emissions, as well as probably the worst for immunity. High-speed oscilloscope measurements can, in contrast, indicate that signal integrity is very good and that EMC compliance is going to be a breeze, where the results show that the source and load waveforms
It is not terribly difficult, therefore, to predict the radiated emissions and immunity performance of a digital circuit merely by using an oscilloscope (though this method cannot result in quantitative accuracy or account for the effects of filtering, for example at I/O ports). Still, some caveats are in order here. When used for high-speed or EMC measurements, an oscilloscope must have sufficient bandwidth and must employ the proper high-bandwidth probes. Correct high-speed probing techniques, which may be found in the application notes provided free by oscilloscope manufacturers, are also essential. Poor techniqueas exemplified by long-probe ground leads or inappropriate test-bench setupscan produce overshoots, ringing, and noise. And most important: Never disconnect an oscilloscope's protective ground lead. Conclusion Because, as we have seen, EMC and signal integrity are really just two different aspects of the same electronic phenomenon, using good EMC design and PCB layout practices from the start of a new project can help
The graphs presented in this article may be easily adapted to a wide variety of signals and PCB trace lengths, even in the earliest design stages. Keith Armstrong is a founding
partner of Cherry Clough Consultants (Denshaw,
Oldham, UK), an independent firm specializing
in EMC and safety. He can be contacted by e-mail
at karmstrong@iee.org.
|