Docsity

Modulation, Lecture notes of Analog Communication

Toggle sidebar
bg1
Consider a bandlimited baseband signal fBB(t) with bandwidth ∆ω.1A good
example to have in mind is music: think of fBB (t) as the time-dependent voltage
V(t) output from your MP3 player to your headphones or speakers. In this case,
fBB(t) is a bandlimited baseband signal with a bandwidth ∆ω≈2π·20 kHz.
(The superscript “BB” stands for “baseband.”)
For various reasons, it may be desirable to convert the signal fBB(t) into
a new signal fM(t) whose frequency spectrum has the same bandwidth as the
original signal fBB(t), but is centered around a nonzero frequency called the
carrier frequency,ωcarrier.The process of translating frequencies in this way is
called modulation. (The “M” superscript stands for “modulated.” In some cases
we will also refer to fMas ftransmitted to indicate that it is the signal that is
eventually transmitted over a wired or wireless communication channel.)
Modulation is ubiquitous throughout all fields of science and engineering
and forms the essential cornerstone of modern communications technologies. It
also furnishes an example of a highly practical and relevant real-world problem
which would be essentially impossible to tackle without the ideas and techniques
of Fourier analysis.
The purpose of these short notes is to introduce some of the basic techniques
of modulation and compare their spectral efficiencies. We will focus primarily
on communication technologies, but we will also briefly discuss lock-in detection
as an important application of modulation techniques in experimental science.
Overview
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Modulation and more Lecture notes Analog Communication in PDF only on Docsity!

Consider a bandlimited baseband signal f BB(t) with bandwidth ∆ω.^1 A good example to have in mind is music: think of f BB(t) as the time-dependent voltage V (t) output from your MP3 player to your headphones or speakers. In this case, f BB(t) is a bandlimited baseband signal with a bandwidth ∆ω ≈ 2 π · 20 kHz. (The superscript “BB” stands for “baseband.”) For various reasons, it may be desirable to convert the signal f BB(t) into a new signal f M(t) whose frequency spectrum has the same bandwidth as the original signal f BB(t), but is centered around a nonzero frequency called the carrier frequency, ωcarrier. The process of translating frequencies in this way is called modulation. (The “M” superscript stands for “modulated.” In some cases we will also refer to f M^ as f transmitted^ to indicate that it is the signal that is eventually transmitted over a wired or wireless communication channel.) Modulation is ubiquitous throughout all fields of science and engineering and forms the essential cornerstone of modern communications technologies. It also furnishes an example of a highly practical and relevant real-world problem which would be essentially impossible to tackle without the ideas and techniques of Fourier analysis. The purpose of these short notes is to introduce some of the basic techniques of modulation and compare their spectral efficiencies. We will focus primarily on communication technologies, but we will also briefly discuss lock-in detection as an important application of modulation techniques in experimental science.

Overview

The simplest way to modulate a signal is just to translate the entire frequency spectrum of f (t) so that it is centered around the carrier frequency. This process is called amplitude modulation (AM). Historically, AM was the first modulation scheme used for wireless communications in the early 20th century, and it re- mains in use to this day in AM radio. It was used in the first widely available cellular telephone system, the AMPS system, in the 1980s. It was also used for terrestrial television transmission until 2009. However, in the mid-20th cen- tury it was superseded by FM, and in the late 20th century analog modulation was essentially replaced altogether (for communications applications, anyway) by digital modulation. On the other hand, amplitude modulation remains in widespread use for the purposes of lock-in detection, discussed later.

Implementation of AM transmitters

The simplest way to do AM is just to multiply the carrier signal f carrier^ = cos ωct by the baseband signal f BB(t):

f AM(t) = f BB(t) cos ωct (1)

In other words, the modulated signal is just a sinusoid at the carrier frequency, but with a time-varying amplitude defined by f BB(t). The baseband signal modulates the amplitude of the carrier; this is the origin of the name amplitude modulation.

Spectrum of AM signals

It’s easy to determine the frequency spectrum of an AM signal. As a first step, suppose the baseband signal consists of just a single tone with frequency ωBB and amplitude A: f BB(t) = A cos ωBBt. (2)

The modulated signal is

f AM(t) = A cos ωBB(t) cos ωct

To compute the frequency spectrum of this signal, we could now apply Fourier analysis techniques, but as it turns out we don’t need to, because we can just appeal to the trigonometric identity

cos a cos b =

[

cos(a + b) + cos(a − b)

]

to write

f AM(t) =

A

[

cos

ωc + ωBB)t + cos

ωc − ωBB)t

]

Analog modulation

Amplitude modulation (AM)

-0.

0

1

0 0.5 1 1.5 2 -0.

0

1

y

t

-1.

-0.

0

1

0 0.5 1 1.5 2 -1.

-0.

0

1

y

t

-1.

-0.

0

1

0 0.5 1 1.5 2 -1.

-0.

0

1

y

t

Figure 1: Amplitude modulation in the time domain.

1

y

t

1

y

t

1

y

t

Figure 2: Amplitude modulation in the frequency domain. The baseband signal has some frequency spectrum that is nonzero up to a maximum frequency ωmax. The carrier signal has a frequency spectrum that is concentrated at a single point. The modulated signal has a frequency spectrum consisting of two copies (two “sidebands”) of the baseband frequency spectrum mirrored about the car- rier frequency. The modulated signal has bandwidth 2ωmax. Single-sideband modulation would produce a similar signal but with only one of the two side- bands present.

take the form

f PM^ = cos

[

ωct + αf BB(t)

]

f FM^ = cos

[

ωct + α

∫ (^) t

0

f BB(t′) dt

]

where α is a parameter known as the modulation index that determines the fractional extent to which we allow the carrier phase and frequency to be tweaked by the baseband signal.

-1.

-0.

0

1

0 0.5 1 1.5 2 -1.

-0.

0

1

y

t

Figure 3: An example of a FM signal in the time domain. Note that the amplitude is fixed, but the instantaneous frequency varies.

Angle modulation techniques have the advantage that all the information is contained in the zero crossings of the signal, which make them less sensitive to noise contamination. However, this advantage comes at a cost: for the same baseband signal, PM and FM signals occupy significantly more bandwidth than AM signals. A real-world demonstration of this fact may be found in the spacing of AM and FM radio stations: AM stations are typically spaced about 10 kHz apart from one another, while FM stations are typically spaced around 500 kHz from each other, even though they are nominally transmitting baseband signals of the same bandwidth (music and talk, which occupies up to around 20 kHz).

3 Digital modulation

AM and FM are techniques for transmitting analog signals. We may also want to transmit a digital signal – that is, a sequence of 0s and 1s. There are many ways to do this, of which we will consider just a few.

3.1 OOK

The simplest form of digital modulation is known as on-off keying (OOK). In this scheme, the carrier is turned on for the duration of each 1 bit in the bitstream, and turned off for the duration of each 0 bit.

0 1 2 3 4 5 t

Figure 4: OOK transmit signal.

3.2 BPSK, QPSK, MPSK

The next most complicated thing we could do would be to tweak the phase or frequency of the carrier during each bit period with the tweak depending on the binary data to be transmitted during that period. For example, we might give the carrier a 0-degree phase shift during bit periods in which the transmit bit is 1, and a π-phase shift during bit periods in which the transmit bit is 0. This is binary phase-shift keying (BPSK). Of course, a π-phase shift to a sinusoid amounts to a sign flip, so BPSK is similar

As an example, let’s compute the spectral efficiency of QPSK. We will assume a bitrate of 2 megabit/s and a carrier frequency of ω = 2π·100 MHz. Suppose, for the sake of simplicity, that the data to be transmitted consist of a bitstream that repeats over and over again the following 8 bits:

... 00011011 ...

In a QPSK scheme with a bitrate of 2megabit /s, we transmit 2 bits in each 1 μs interval, so the period of our 8-bit sequence is 4 μs. If we imagine the bitstream to repeat this 8-bit sequence over and over again, then the baseband signal is periodic with period T = 4 μs. Since the carrier frequency is a multiple of (^42) μsπ , the entire transmit signal is periodic with period T = 4 μs and we can characterize its frequency spectrum by computing its Fourier series coefficients, which will be defined for frequencies that are integer multiples of ω 0 = (^42) μπs. The

carrier frequency is one such frequency: ωc = N ω 0 , where N = 4 · 104. In a QPSK scheme, the above 8-bit pattern would lead to a transmit signal of the form

f QPSK(t) =

cos ωct, 0 < t < 1 μ s sin ωct, 1 < t < 2 μ s − cos ωct, 2 < t < 3 μ s − sin ωct, 3 < t < 4 μ s

The Fourier series coefficients are

˜f QPSK n =^1 T

∫ T

0

f QPSK(t)e−inω^0 t^ dt

T

[ ∫ T / 4

0

cos(ωct)e−inω^0 t^ dt

∫ T / 2

T / 4

sin(ωct)e−inω^0 t^ dt

∫ 3 T / 2

T / 2

cos(ωct)e−inω^0 t^ dt

∫ T

3 T / 2

cos(ωct)e−inω^0 t^ dt

]

This spectrum is plotted in Figure 6. If we define the bandwidth of the signal to be the width of the frequency range within which the Fourier coefficients are within a factor of 10 of their peak amplitude, then the signal has a bandwidth of roughly 10ω 0 = 2.5 MHz, and the bit rate is 2 megabit/s, so we have a spectral efficiency of (^22). 5 ≈ 0 .8 bit/s/Hz.

1

10

39800 39850 39900 39950 40000 40050 40100 40150 40200

|f_n|

n

Figure 6: Fourier spectrum of QPSK signal. The x axis labels n, the index of the frequency nω 0 ; the carrier frequency is at ωc = 4 · 104 ω 0.

trickier to design than TDMA receivers, but still relatively straightforward. Ba- sically, the receiver applies a filter to exclude incoming signals at all frequencies other than the frequency of interest, then downconverts (demodulates) from the carrier frequency to baseband. CDMA is a relatively recent addition to the fold of multiplex techniques. In CDMA, each message is coded using a certain simple code in a way that allows it to be distinguished from other simultaeously-received messages. CDMA re- ceivers are much more difficult to design than TDMA or FDMA receivers, and their implementation involves a lot of interesting mathematics.

4.1 The cocktail party

A good way to understand the various different multiplex techniques is to think of a cocktail party in which multiple pairs of people are all trying to talk to each other in the same small crowded space. Consider two pairs of conversationalists: Akiko is trying to say something to Bob, while Chen is trying to say something to Dinara. How can Bob receive the message from Akiko without confusing it with the message from Chen? The relevant implementations of the protocols discussed above would look something like this:

  1. TDMA: Akiko gets to talk to Bob for 1 minute while Chen and Dinara wait silently. Then Akiko and Bob have to shut up for 1 minute while Chen and Dinara converse, etc. The message reception protocol is easy: Bob just knows to listen when it’s his partner’s turn to be talking.
  2. FDMA: Akiko sings to Bob in a soprano voice, while at the same time Chen sings to Dinara in a bass voice. Again the message reception protocol is easy: Bob just tries to tune out the lower-pitched sounds he is hearing and focuses on the higher-pitched song.
  3. CDMA: Akiko talks to Bob in Japanese, while Chen talks to Dinara in Chinese. Now the message reception protocol is more subtle: Bob is receiving information at the same time and at the same pitch, so his brain must piece together only the sounds that make sense in Japanese while filtering out the sounds that are only meaningful in Chinese.

4.2 How CDMA works

5 Lock-in amplifiers

Most of the preceding discussion pertained to communications technology, which is the primary application of modulation theory in engineering. The lock-in amplifier is an application of modulation techniques to an entirely different field of endeavor: experimental science and measurement. The basic idea of lock-in amplifiers is this: Suppose we are trying to mea- sure a DC signal. (DC stands for “direct current,” as opposed to “alternating current” (AC), and just means the signal is constant in time.) For example, in a solid-state physics experiment, we may be trying to measure the resistance of a piece of material, which is certainly a time-independent quantity, and we may do this by connecting the material to a fixed time-independent voltage source (such as an AAA battery) and using a current meter to measure the DC current that flows through the sample. The difficulty with this kind of setup is that our measurement apparatus (the current meter in this case) will typically be contaminated by noise, an un- avoidable presence in all real-world equipment despite the best efforts of device manufacturers to mitigate its impact. This noise spectrum will typically be peaked at DC [(DC-peaked noise in measurement equipment is often known as 1 /f noise (“one-over-f noise”]), which makes DC about the worst frequency at which we could possibly try to measure our signal. But if the signal we are trying to measure really is a DC signal, then we’re out of luck, right? We must measure at DC, right? Wrong! We can modulate our signal at some nonzero frequency, then detect at that frequency. In the case of the resistance measurement described above, we would simply drive the sample with an AC voltage at some frequency (typically tens to hundreds of Hz) instead of a DC signal. Now we have a time-dependent current signal, which we measure and then filter to extract just the Fourier component we want – namely, the component corresponding to the frequency at which we modulated the signal, with all other frequencies present in the measured signal understood to be spurious noise contributions. This technique allows experimentalists to achieve sensitivity levels far below what would be achievable with the bare noise floors available on real-world measurement equipment.

5.1 How lock-in amplifiers work