Chapter 02 Periodic Sampling
2.1
Suppose you have a mechanical clock that has a minute hand, but no hour hand. Next, suppose you took a photograph of the clock when the minute hand was pointed at 12:00 noon and then took additional photos every 55 minutes. Upon showing those photos, in time order, to someone:
(a) What would that person think about the direction of motion of the minute hand as time advances?
Solution: He or she will think it is going counter-clock wise
(b) With the idea of lowpass sampling in mind, how often would you need to take photos, measured in photos/hour, so that the successive photos show proper (true) clockwise minute-hand rotation?
Solution: He or she just needs to take photos > photos/hour. Since we need to have .
2.2
Assume we sampled a continuous signal and obtained 100 time- domain samples. What important information (parameter that we need to know in order to analyze ) is missing from the sequence?
Solution: The frequency of is missing.
2.3
National Instruments Corporation produces an analog-to-digital (A/D) converter (Model #NI-5154) that can sample (digitize) an analog signal at a sample rate of fs=2.0 GHz (gigahertz).
(a) What is the period of the output samples of such a device?
Solution: The .
(b) Each A/D output sample is an 8-bit binary word (one byte), and the converter is able to store 256 million samples. What is the maximum time interval over which the converter can continuously sample an analog signal?
Solution: It can sample samples per second. Then it can only sample for
2.4
Consider a continuous time-domain sinewave, whose cyclic frequency is 500 Hz, defined by
Write the equation for the discrete sinewave sequence that results from sampling at an sample rate of 4000 Hz.
Solution:
, so .
Then
2.5
If we sampled a single continuous sinewave whose frequency is Hz, over what range must (the time between digital samples) be to satisfy the Nyquist criterion? Express that range in terms of .
Solution:
We need to have , i.e. . So
2.6
Suppose we used the following statement to describe the Nyquist criterion for lowpass sampling: “When sampling a single continuous sinusoid (a single analog tone), we must obtain no fewer than discrete samples per continu- ous sinewave cycle.” What is the value of this integer ?
Solution .
2.7
The Nyquist criterion, regarding the sampling of lowpass signals, is sometimes stated as “The sampling rate fs must be equal to, or greater than, twice the highest spectral component of the continuous signal being sampled.” Can you think of how a continuous sinusoidal signal can be sampled in accordance with that Nyquist criterion definition to yield all zero-valued discrete samples?
Solution: Consider
Then
2.8
Stock market analysts study time-domain charts (plots) of the closing price of stock shares. A typical plot takes the form of that in Figure P2–8, where in- stead of plotting discrete closing price sample values as dots, they draw straight lines connecting the closing price value samples. What is the period for such stock market charts?
Solution:
The is one day, 24 hours.
2.9
Consider a continuous time-domain sinewave defined by
that was sampled to produce the discrete sinewave sequence defined by
What is the sample rate, measured in Hz, that would result in sequence ?
Solution:
, so Hz. Then
So
2.10
Consider the two continuous signals defined by
whose product yields the signal shown in Figure P2–10. What is the minimum sample rate, measured in Hz, that would result in a sequence with no aliasing errors (no spectral replication overlap)?
Solution:
Use the trigonometric identities
So
So the max frequency component is Hz. Then we need to have Hz.
2.11
Consider a discrete time-domain sinewave sequence defined by
that was obtained by sampling an analog sinewave signal whose frequency is Hz. If the sample rate of is Hz, what are three possible positive frequency values, measured in Hz, for that would result in sequence ?
Solution:
Let we can get Hz.
2.12
In the text we discussed the notion of spectral folding that can take place when an analog signal is sampled to produce a discrete sequence. We also stated that all of the analog spectral energy contained in will reside within the frequency range of of the spectrum of the sampled sequence.
Given those concepts, consider the spectrum of an analog signal shown in Figure P2–12(a) whose spectrum is divided into the six segments marked as 1 to 6. Fill in the following table showing which of the A-to-F spectral segments of , shown in Figure P2–12(b), are aliases of the 1-to-6 spectral segments of .
Solution:
2.13
Consider the simple analog signal defined by shown in Figure P2–13. Draw the spectrum of showing all spectral components, labeling their frequency locations, in the frequency range
Solution: We have alias for at and alias for Hz at .
2.14
The Nançay Observatory, in France, uses a radio astronomy receiver that generates a wideband analog signal whose spectral magnitude is represented in Figure P2–14. The Nançay scientists bandpass sample the analog signal, using an analog-to-digital (A/D) converter to produce an discrete sequence, at a sample rate of MHz.
(a) Draw the spectrum of the sequence, , showing its spectral energy over the frequency range –70 MHz to 70 MHz.
Solution:
We have alias for at . We have alias for at .
(b) What is the center frequency of the first positive-frequency spectral replication in ?
Solution: It's 14 MHz.
(c) How is your solution to Part (b) related to the sample rate?
Solution:
MHz, then it's .
2.15
Think about the continuous (analog) signal that has the spectral magnitude shown in Figure P2–15. What is the minimum sample rate for lowpass sampling such that no spectral overlap occurs in the frequency range of 2 to 9 kHz in the spectrum of the discrete samples?
Solution:
If kHz, then there will be no overlap at all. Since we can tolerate the overlap in the range of 9 to 10, we can reduce further to kHz. Then there is overlap for , but no overlap between .
2.16
If a person wants to be classified as a soprano in classical opera, she must be able to sing notes in the frequency range of 247 Hz to 1175 Hz. What is the minimum sampling rate allowable for bandpass sampling of the full audio spectrum of a singing soprano?
Solution:
In this case,
So
2.17
This problem requires the student to have some knowledge of electronics and how a mixer operates inside a radio. (The definition of a bandpass filter is given in Appendix F.) Consider the simplified version of what is called a su- perheterodyne digital radio depicted in Figure P2–17.
(a) For what local oscillator frequency, , would an image (a copy, or duplication) of the signal’s spectrum be centered at 15 MHz (megahertz) in signal ?
Solution: Since the analog bandpass filter #1's Center frequency = 50 MHz and bandwidth = 10 MHz, then we can assume
Then since , then
So if , we can have an image of the signal’s spectrum be centered at 15 MHz in signal .
(b) What is the purpose of the analog bandpass filter #2?
Solution: filter out all the signals beyond MHz.
(c) Fill in the following table showing all ranges of acceptable fs bandpass sampling rates to avoid aliasing errors in the discrete sequence. Also list, in the rightmost column, for which values of the sampled spectrum, centered at 15 MHz, will be inverted.
Solution:
Since
Note here, when , , then it's not valid.
(d) In digital receivers, to simplify AM and FM demodulation, it is advantageous to have the spectrum of the discrete sequence be centered at one-quarter of the sample rate. The text’s Eq. 2–11 describes how to achieve this situation. If we were constrained to have equal to 12 MHz, what would be the maximum local oscillator frequency such that the spectra of , , and are centered at ? (Note: In this scenario, the center frequency of analog bandpass filter #2 will no longer be 15 MHz.)
Solution:
The cannot be , since then bandwidth is . is fine. In this case, the MHz.
2.18
Think about the analog anti-aliasing filter given in Figure P2–18(a), having a one-sided bandwidth of Hz. A wideband analog signal passed through that filter, and then sampled, would have an spectrum as shown in Figure P2–18(b), where the dashed curves represent spectral replications.
Suppose we desired that all aliased spectral components in over our Hz bandwidth of interest must be attenuated by at least dB. Determine the equation, in terms of and the sampling rate, for the frequency at which the anti-aliasing filter must have an attenuation value of –60 dB. The solution to this problem gives us a useful rule of thumb we can use in specifying the desired performance of analog anti-aliasing filters.
Solution: let the width of small area be , then we have , so
So the anti-aliasing filter needs to have an attenuation value of –60 dB at Hz.
2.19
This problem demonstrates a popular way of performing frequency down-conversion (converting a bandpass signal into a lowpass signal) by way of bandpass sampling. Consider the continuous 250-Hz-wide bandpass signal whose spectral magnitude is shown in Figure P2–19. Draw the spectrum, over the frequency range of –1.3 to +1.3, of the sampled sequence obtained when is sampled at samples/second.
Solution:
The results is exactly like the following 2-9 (c).
2.20
Here’s a problem to test your understanding of bandpass sampling. Think about the continuous (analog) signal that has the spectral magnitude shown in Figure P2–20.
(a) What is the minimum center frequency, in terms of ’s bandwidth , that enables bandpass sampling of ? Show your work.
Solution: To be able to do the bandpass sampling, use the figure 2-9 (a) (b) you need at least to have
(b) Given your results in Part (a) above, determine if it is possible to perform bandpass sampling of the full spectrum of the commercial AM (amplitude modulation) broadcast radio band in North America. Explain your solution.
Solution:
According to the wiki, the commercial AM broadcast radio band in North America occupies the frequency range 535 to 1705 kHz.
Then , so .
It is not possible.
2.21
Suppose we want to perform bandpass sampling of a continuous 5 kHz-wide bandpass signal whose spectral magnitude is shown in Figure P2–21.
Fill in the following table showing the various ranges of acceptable band-pass sampling rates, similar to the text’s Table 2–1, to avoid aliasing errors. Also list, in the rightmost column, for which values of m the sampled spectrum in the vicinity of zero Hz is inverted.
Solution:
2.22
I recently encountered an Internet website that allegedly gave an algorithm for the minimum fs bandpass sampling rate for an analog bandpass signal centered at Hz, whose bandwidth is Hz. The algorithm is
where
Here’s the problem: Is the above algorithm correct in computing the absolute minimum possible nonaliasing bandpass sampling rate for an analog bandpass signal centered at Hz, whose bandwidth is Hz? Verify your answer with an example.
Solution:
In ex 2.21, , then
So this algorithm is not correct.