<< Chapter < Page | Chapter >> Page > |
The processes of modulation and demodulation, which shift the frequencies of a signal,can be accomplished by mixing with a cosine wave that has a frequency equal to the amountof the desired shift, as was demonstrated repeatedly throughout Chapter [link] . But this is not the only way.Since sampling creates a collection of replicas of the spectrum of a waveform, it changes the frequencies ofthe signal.
When the message signal is analog and bandlimited to , sampling can be used as a step in the demodulation process. Suppose that the signal is transmitted with a carrierat frequency . Direct sampling of this signal creates a collection of replicas, one near DC.This procedure is shown in [link] for , though beware: when and are not simply related, the replica may not land exactly at DC.
This demodulation-by-sampling is diagrammed in [link] (with , where is a small positive integer), and can be thought of as an alternative tomixing with a cosine (that must be synchronized in frequency and phase with the transmitter oscillator).The magnitude spectrum of a message is shown in [link] (a), and the spectrum after upconversion isshown in part (b); this is the transmitted signal . At the receiver, is sampled, which can be modelled as a multiplication with a train of delta functions in time
where is the sample period.
Using [link] , this can be transformed into the frequency domain as
where . The magnitude spectrum of is illustrated in [link] (c) for the particular choice (and ) with .
There are three ways that the sampling can proceed:
The first is a direct imitation of the analog situation where no aliasing will occur. This may be expensivebecause of the high sample rates required to achieve Nyquist sampling. The third is the situation depicted in Figures [link] and [link] , which permit downconversion to baseband without an additional oscillator.This may be sensitive to small deviations in frequency (for instance, when is not exactly ). The middle method downconverts part of the wayby sampling and part of the way by mixing with a cosine. The middle method is used inthe receiver project in Chapter [link] .
Create a simulation of a sampling-based modulator
that takes a signal with bandwidth 100 Hzand transforms it into the “same” signal
centered at 5000 Hz. Be careful; there are two“sampling rates” in this problem. One reflects the
assumed sampling rate for the modulation and theother represents the sampling rate that is used
in M
atlab to represent a “continuous time” signal.
You may wish to reuse code from
sine100hzsamp.m
.
What choices have you made for these two sampling rates?
Notification Switch
Would you like to follow the 'Software receiver design' conversation and receive update notifications?