Sampling Signals: Bustec Production LTD
Sampling Signals: Bustec Production LTD
Contents
1 Sampling Signals (Analog and Digital) . . . 1.1 Sampling Theorem . . . . . . . . . . . . 1.2 Signal Aliasing . . . . . . . . . . . . . . 1.3 Signal Aliasing and Wide-band Noise 1.4 Filtering Aliased Signals . . . . . . . . 1.5 Sample Time Jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 2 3 4 4
50 ms
100 ms
Sampled Point
Figure 1: Signal alias example of 90 Hz sine wave sampled at 100 Hz 1.2. Signal Aliasing Signal aliasing is a phenomena that occurs when one samples a signal that contains frequency components above the Nyquist frequency as given by the sampling theorem i.e. above half the sampling rate. The eect can be easily understood from Figure 1. In this example a 90 Hz sine wave signal is sampled at 100 Hz. The aliased signal inferred from the samples is a 10 Hz sine wave (100 ms period). In a real data system it is the samples that one observes. It is worth noting here that had the original 90 Hz signal been a discrete set of 100 samples acquired at a sample rate of 1KHz and that only every 10th sample was kept, the resulting signal aliasing would have been the same as the analog case above. It doesnt matter whether the sample is an analog value or a digitized value. When down-sampling (decimating) digital data it is important to rst limit the digital signal bandwidth prior to down-sampling to a value consistent with the Nyquist frequency of the new (down-sampled) sampling rate. In a real data system the eects of signal aliasing can be quite important. If there are frequency components, including noise, present in the original signal with frequencies above the Nyquist frequency fn (one half the sampling rate) then these frequencies will alias into the observed frequency band from 0 to fn . The net eect is to distort the inferred time dependence of the signal based on the observed data samples as well as the signal frequency components inferred from the sampled data. In the example illustrated in Figure 1 one would infer a strong 10 Hz frequency component in the sampled data when in-fact it is an aliased 90 Hz signal. For example consider a situation where one is sampling a signal at 100 Hz which 2
Figure 2: 10Hz Sine wave with wide-band (10KHz) noise contains a small amount of 60 Hz power line pickup. The 60 Hz pickup would appear as 40 Hz noise in the sampled signal. 1.3. Signal Aliasing and Wide-band Noise Most instrumentation today is designed to handle a wide range of sample rates and signal bandwidths. Typical instrumentation ampliers have bandwidths extending well above 10 to 100 KHz. While signals of interest may have considerably lower bandwidths and sampling rate requirements, noise up to the full bandwidth can be present. In such cases wide-band noise can alias into the passband resulting in poor signal-to-noise in the digitized data. Consider the situation where a low-level signal is sampled at 200 Hz in the presence of low-level wide-band white noise up to 10 KHz. The white noise between 100200, 200300,, 990010,000 Hz is aliased into the 0100 Hz region signicantly increasing the noise level in the observed sampled data. Figure 2 illustrates this eect. The top trace (a) is the result of sampling a channel with approximately 3
Figure 3: Filtering of signal after down-sampling equal amounts of a 10Hz sine wave and white noise extending from 0 to 10KHz. The middle trace in Figure 2(b) results when the raw 10KHz bandwidth signal is rst passed through a lowpass lter prior to sampling. The lter has a cuto frequency of fc = 200Hz that eectively eliminates noise with frequency components above 800Hz. Note that this does not eliminate aliasing of noise below 800Hz. The bottom trace in Figure 2(c) results when the lter cuto is reduced to fc = 25Hz and a stopband edge at 100Hz. This eliminates aliasing and we are left with the 10Hz sine wave and the noise below 100Hz a huge improvement over no ltering. 1.4. Filtering Aliased Signals It is important to note here that it is not possible to undo the eects of aliasing once a signal with frequency components above the Nyquist frequency has been sampled. Figure 3 illustrates the result of ltering after the signal is aliased. It is the result of ltering the down-sampled signal illustrated in Figure 2(a). The observed improvement is due to the partial attenuation of frequency components between the lter cuto at 25Hz and 100Hz. Low-pass lters to limit signal bandwidth to below the Nyquist frequency must be located prior to the point where the signal is eectively sampled. In analog-todigital converters where multiple signals are sequentially multiplexed and digitized the signal is eectively sampled at the multiplexer. In this case antialias and noise ltering needs to occur ahead of the multiplexer to be eective. 1.5. Sample Time Jitter Another important phenomena is the eect of jitter in the sample time interval. Almost all data analysis techniques are predicated on a series of equally spaced samples in time. One way to look at sample interval jitter t is to compute the worst case measurement error V that results from sampling a full system bandwidth sine wave V0 sin(t). 4
dV /dt = V0 cos(t) dV /dt = V0 (worst case) V /V0 = 2 f t or (V /V0 ) = 6.28(t/T ) Where T is the period From this it should be clear that a jitter in the sampling interval translates directly into a measurement error that is proportional to the frequency of the signal times the amount of jitter.
An important feature of any data system that samples analog data is the requirement for a stable noise-free sample clock at the point that data is sampled.
Figure 4: Time domain eects of random sample interval jitter on a sine wave signal.
The time domain eects of sample interval jitter are illustrated in Figure 4. The graph illustrates the eects of a 10% random sample interval jitter on the sampling of a pure sine wave in the time domain. Figure 5 illustrates the eects of sample interval jitter on the noise oor in the frequency domain for both a 10% and 0.1% sample interval jitters.
0 20 40 60 80 100 120
Frequency
Figure 5: Frequency domain eects of random sample interval jitter on a sine wave signal.
Corporate Headquarters:
Bustec Production Ltd. World Aviation Park Shannon, Co. Clare Ireland Tel: +353 61 707 100 Fax: +353 61 707 106 Bustec, Inc. 17820 Englewood Dr. #14 Middleburg Hts. OH 44130 Tel: (440) 826 4156 Fax: (440) 826 4184
/doc/Sampling_Data/main