Examining the Signal Examine the signal using a very high-speed system, for example, a 50 MHz digital oscilloscope.
Setting the Sampling Conditions In most circumstances, as when using computers, sampling is DIGITAL.
The Number of Samples The number of required samples depends upon what information is needed → there is not one specific formula for N.. For example, consider two different signals Solid: ‘normal’ (random) population with mean =3 and standard deviation = 0.5 Dotted: same as solid but with 0.001/s additional amplitude decrease
Digital Sampling Figure 12.1 The analog signal, y(t), is sampled every t seconds, N times for a period of T seconds, yielding the digital signal y(r t), where r = 1, 2, …, N. For this situation:
Digital Sampling Errors When is signal is digitally sampled, erroneous results occur if either one of the following occur:
Digital Sampling Errors The least common multiple or lowest common multiple or smallest common multiple of two integers a and b is the smallest positive integer that is a multiple of both a and b. Since it is a multiple, a and b divide it without remainder. For example, the least common multiple of the numbers 4 and 6 is 12. (Ref: Wikipedia)integersdivideremainder To avoid amplitude ambiguity, set the sample period equal to the least common (integer) multiple of all of the signal’s contributory periods.
Illustration of Correct Sampling y(t) = 5sin(2 t) → f = 1 Hz with f s = 8 Hz Figure 12.7
y(t) = sin(20 t) >> f = 10 Hz with f s = 12 Hz Illustration of Aliasing
Figures 12.8 and 12.9 The Folding Diagram Example: f = 10 Hz; f s = 12 Hz To determine the aliased frequency, f a :
y(t) = sin(20 t) → f = 10 Hz with f s = 12 Hz Aliasing of sin(20 t)
y(t) = 5sin(2 t) → f = 1 Hz f s = 1.33 Hz Figure 12.13
In-Class Example At what cyclic frequency will y(t) = 3sin(4 t) appear if f s = 6 Hz? f s = 4 Hz ? f s = 2 Hz ? f s = 1.5 Hz ?
Correct Sample Time Period y(t) = 3.61sin(4 t+0.59) + 5sin(8 t) Figure 12.16
Sampling with Aliasing y(t) = 5sin(2 t) → f = 1 Hz f s = 1.33 Hz Figure 12.13
Sampling with Amplitude Ambiguity y(t) = 5sin(2 t) → f = 1 Hz f s = 3.33 Hz Figure 12.12
y(t) = 6 + 2sin( t/2) + 3cos( t/5) +4sin( t/5 + ) – 7sin( t/12) Smallest sample period that contains all integer multiples of the T i ’s: f i (Hz): T i (s): Smallest sampling to avoid aliasing (Hz): In-Class Example