Sampling Rate and Aliasing On A Virtual Laboratory
Sampling Rate and Aliasing On A Virtual Laboratory
net/publication/40422576
CITATIONS READS
7 174
1 author:
Bogdan Mihai
Lucian Blaga University of Sibiu
18 PUBLICATIONS 25 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Bogdan Mihai on 03 March 2015.
Abstract – The sampling frequency determines the low sampling rate. The dotted line illustrates the
quality of the analog signal that is converted. Higher apparent frequency of the sampled waveform,
sampling frequency achieves better conversion of the completing about two cycles in the period that the
analog signals. The minimum sampling frequency original signal completed 20 cycles.
required to represent the signal should at least be twice
the maximum frequency of the analog signal under
test (this is called the Nyquist rate). In the following
virtual instrument, an example of sampling is shown.
If the sampling frequency is equal or less then twice
the frequency of the input signal, a signal of lower
frequency is generated from such a process (this is
called aliasing).
The goal of this paper is to teach students basic
concepts of sampling rate and aliasing, to become
familiar with this concepts.
121
As seen in Figure 3, when the sampling frequency is
less than the Nyquist rate, the signal is aliased to a
frequency less than the original frequency. Perfect
reconstruction is observed in Figure 4 where the Nyquist
criterion is met. But when sampling frequency is exactly
equal to the Nyquist rate the reconstructed waveform
appears as an alias at DC.
122
to pass only signals with frequencies < f1, the signals in simply connecting the sample points. However, the
the transition band could still cause aliasing. samples actually correspond to only one analog signal
Therefore, in practice, you should use a sampling since no other sinusoid or combination of sinusoids will
frequency greater than two times the highest frequency produce this pattern. Therefore, the signal in Figure 10
in the transition band. Because this sampling frequency can be said to have proper sampling. In Figure 11, the
turns out to be more than two times the maximum input sampling frequency is 1,25 times the analog frequency.
frequency (f1), you might see that the sampling rate is In this example, not only do we have difficulty
more than twice the maximum input frequency. reconstructing the analog signal, but we have also
constructed a different sine wave from the original
II. THE VIRTUAL INSTRUMENT analog signal. This phenomenon of signals changing
frequency after sampling is called aliasing. This signal
This section presents the virtual instrument has most certainly been improperly sampled.
programs that were developed to help students for
demonstrate the concept of proper and improper
sampling, as discussed above.
Figure 7 and 8 present the Front Panel and the
Block Diagram of the VI.
123
If data is taken at a certain sampling rate and the
continuous signal frequency is below the Nyquist
frequency, the signal can be properly reconstructed from
the samples and the frequency of the digitized signal
will match the frequency of the continuous signal.
However, when the continuous signal frequency is
above the Nyquist rate, aliasing changes the frequency
into something that can be represented in the sampled
data.
Whenever you are sampling, always make sure that:
•The sampling frequency is high enough so that the
sampled signal in the computer will be sufficiently true
to the original.
•Frequencies at least above theNyquist frequency will be
eliminate before sampling, in order to avoid aliasing.
REFERENCES
124