Sampling of sinusoidal signals
In many practical situations signals are available as a continuous-time (or analog) signal . An example of such a continuous-time signal is the recording of an audio signal with a microphone. Manipulating such an continuous-time signal is, in most cases, done in the discrete-time (or digital) domain. For example equalizing an audio signal can easiest be performed in the discrete-time domain. So it is important to understand the sampling process, which is performed by a Continuous- to Discrete-time (C-to-D) convertor which converts the continuous-time signal to the discrete-time domain signal samples . The continuous-time character of a signal is indicated by using round brackets around the (continuous) variable , while the discrete-time character of a signal is indicated by using square brackets around the (integer) variable .
In order to simplify the mathematical description of the sampling process we will assume the following sinusoidal continuous-time signal:
In this equation represents the absolute frequency in [rad/sec], or in [Hz], while denotes the amplitude and , in [rad], the phase of . The result of the sampling process, by an C-to-D convertor, is a set of numbers, denoted by . In the above case of a sinusoidal signal these numbers can be obtained by evaluating at regular time instances , in which the variable is an integer and is the inter-sample time, typically denoted in seconds [sec]. The sampling frequency of the C-to-D convertor equals , typically denoted in samples per second [samples/sec] or Hertz [Hz]. Thus the relation between the discrete-time signal samples and the continuous-time signal can be described as follows:
Example
The left hand side of Fig. 1 shows two periods of the continuous-time signal . This continuous-time signal is sampled with an ideal C-to-D convertor, which runs at a sampling frequency of [samples/sec]. Evaluate and plot the samples is the discrete-time domain.
Absolute and relative frequency
When sampling the general signal at a sampling frequency we obtain which can be rewritten as
In this equation we used the relative frequency symbol , which is a dimensionless quantity [-]. Thus the relation between relative and absolute frequency is and the frequency variables have the following dimensions:
Frequency | Symbol | Unit |
---|---|---|
Absolute frequency | [Hz] | |
Absolute radial frequency | [rad/sec] | |
Relative frequency | [-] |
For a continuous-time sinusoidal signal we have seen before that a representation of the spectral content of such a signal can be found easily by using Euler, that is by rewriting in terms of phasors. The weights of these phasors represent the spectral content of .
In a similar way we can use Euler to find a representation of the spectral content of a discrete-time sinusoidal signal . Such a description is only valid if the sequence of samples is periodic. This is true if there exists an integer number for which , leading to: or equivalently: , which is similar to , or in other words the fraction must be a rational number.
The spectral content of can be determined by rewriting as From this equation it follows that the spectral representation of the discrete-time sinusoidal signal contains two frequency components: One with the complex value for the relative frequency and another one with the complex value for relative frequency .
Example
In this example we convert the 200 [Hz] continuous-time signal to the discrete-time domain signal samples with an ideal C-to-D convertor which runs at a sample rate of [samples/sec].
Make a plot of the frequency content of both the continuous-time signal and the discrete-time signal samples .
By using , the output signal samples of the C-to-D convertor can mathematically be described as: In a similar way as with the absolute frequency plot, we can derive the relative frequency plot form this Euler equation, which results in the plot as depicted in the lower part of the figure below.
Uniqueness issue
In this section we will show that the C-to-D conversion will lead to an uniqueness issue in the discrete-time domain.
Uniqueness issue viewed in relative frequency domain
In this subsection we will show there is no unique spectral representation of the discrete-time signal samples . In order to show this let us start with the mathematical description of a sinusoidal signal as By using the fact that the number can be written as a complex exponent as we can change the mathematical representation of the sequence of samples as From this equation it follows that the spectral representation of consists again of the same two bars, but now at the relative frequencies and . So we have found two different ways to represent the spectral information of the same sequence of samples . Moreover we can find an infinite amount of different spectral representations, just by adding or subtraction an integer times to the relative frequency . Thus the same relative spectral content is repeated every .
Example
Plot the spectral representation of the sequence of samples which are represented by in the range .
Uniqueness issue viewed in discrete-time domains
In this subsection we will show by an example that different continuous-time signals can convert via an C-to-D convertor into the same sequence of samples.
Example
In this example we convert two different continuous-time signals and with a C-to-D convertor, which runs at a sample rate of [samples/sec], to the discrete-time domain. Calculate the sequence of samples and for two periods and make a plot which shows and the samples of and .
The Figure below shows a plot with two periods of the two different continuous-time (in black) and (in red) and the resulting discrete-time signal samples (in blue).
The Fundamental Interval (FI)
We have seen that the relative frequency representation of a discrete-time signal is periodic with period . So in general only one interval of width is of importance. In most cases we will use the interval of relative frequencies . This interval is called the Fundamental Interval (FI). Furthermore from the definition of the relative frequency , the boundaries of relative frequencies of the FI are related to the absolute frequencies .
Frequency | Symbol | Fundamental Interval |
---|---|---|
Relative frequency | ||
Absolute frequency | ||
Absolute radial frequency |
Example
In this example we convert the continuous-time signal , which consists of frequencies 200 [Hz] and 500 [Hz] with to the discrete-time domain samples , by an ideal C-to-D convertor which runs at a sample rate of [samples/sec]. Give a plot of the frequency representation of the continuous-time signal and give also a plot of the frequency representation of the discrete-time signal in the Fundamental Interval (FI).