Digital Modulation for Engineers
Digital Modulation for Engineers
Objectives
    After studying this chapter, you should be able to:
    (   Describe the basic types of digital modulation.
    (   Calculate the maximum data rate for a channel with a given modulation
        scheme and signal-to-noise ratio.
    (   Explain the use of eye diagrams and constellation diagrams.
    (   Explain the difference between bit rate and baud rate and calculate both
        for typical digital modulation systems.
    (   Describe and compare FSK, PSK, and QAM and perform simple calculations
        with each.
    (   Explain the concepts of multiplexing and multiple access using frequency
        and time division.
    (   Describe the principles of spread-spectrum communication and distinguish
        between frequency-hopping and direct-sequence systems.
    (   Calculate spreading gain and signal-to-noise ratio for spread-spectrum
        systems.
    (   Describe code-division multiple access and compare with FDMA and TDMA.
112   !   CHAPTER 4
                          I = ktB                                                                  (4.1)
                      where
                           I = amount of information to be transmitted in bits
                           k = a constant that depends on the modulation scheme and the
                               signal-to-noise ratio
                           t = time in seconds
                          B = bandwidth in hertz
C = 2B log 2 M (4.2)
                        where
                             C = information capacity in bits per second
                              B = channel bandwidth in hertz
                             M = number of possible states per symbol
                      where
                              C = information capacity in bits per second
                              B = bandwidth in hertz
                          S/N = signal-to-noise ratio (as a power ratio, not in decibels)
                                DIGITAL MODULATION   !   115
              FIGURE 4.3
              Four-level code
116   !   CHAPTER 4
                             By the way, it is quite easy to find logs to the base 2, even if your calcula-
                        tor lacks this function. Simply find the log to the base 10 (the common log)
                        of the given number and divide by the log of 2, that is:
                                        log 10 N
                            log 2 N =                                                                (4.4)
                                        log 10 2
                            The effect of noise on a signal can be seen in the eye diagram of Fig-
                        ure 4.4. The noise causes successive oscilloscope traces to be at different
                        amplitudes. If the noise is severe enough, the eye closes and data recovery is
                        unreliable.
                              FIGURE 4.4
                              Eye diagram showing
                              inter-symbol interference
                              and noise
          EXAMPLE 4.1                                                                                   Y
                        A radio channel has a bandwith of 10 kHz and a signal-to-noise ratio of
                        15 dB. What is the maximum data rate than can be transmitted:
                        (a) Using any system?
                        (b) Using a code with four possible states?
                      SOLUTION
                        (a) We can find the theoretical maximum data rate for this channel from
                            Equation (4.3). First, though, we need the signal-to-noise ratio as a
                            power ratio. We can convert the given decibel value as follows:
                                 S           15 
                                   = log −1  
                                 N           10 
                                    = 316
                                        .
                                                              DIGITAL MODULATION    !    117
                      C =   B log2(1 + S/N)
                        =   10 × 103 log2(1 + 31.6)
                        =   10 × 103 × 5.03
                        =   50.3 kb/s
              (b) We can use Equation (4.2) to find the maximum possible bit rate given
                  the specified code and bandwidth. We will then have to compare this
                  answer with that of part (a). From Equation (4.2),
                      C =   2B log2 M
                        =   2 × 10 × 103 × log24
                        =   2 × 10 × 103 × 2
                        =   40 kb/s
                  Since this is less than the maximum possible for this channel, it should
              be possible to transmit over this channel, with a four-level scheme, at
              40 kb/s. A more elaborate modulation scheme would be required to attain
              the maximum data rate of 50.3 kb/s for the channel.
              X
                   At this point we should distinguish between bit rate and baud rate. The
              bit rate is simply the number of bits transmitted per second (C in the preced-
              ing two equations), while the baud rate is the number of symbols per second.
              Therefore, if we let the baud rate be S (for symbols, since B is already being
              used for bandwidth), then:
                  C = S log 2 M                                                         (4.5)
              where
                  C = capacity in bits per second
                  S = baud rate in symbols per second
                  M = number of possible states per symbol
EXAMPLE 4.2                                                                               Y
              A modulator transmits symbols, each of which has 64 different possible
              states, 10,000 times per second. Calculate the baud rate and bit rate.
         SOLUTION
              The baud rate is simply the symbol rate, or 10 kbaud. The bit rate is given by
              Equation (4.5):
118   !   CHAPTER 4
                              C = S log2 M
                                = 10 × 103 × log264
                                = 60 kb/s
                           It is possible to build an FSK system with more than two different fre-
                        quencies in order to increase the number of bits per symbol, but it is usually
                        more efficient to move to a system using phase shifts, or a combination of
                        amplitude and phase shifts, when this is required.
                            ƒ m − ƒ s = 0.5 ƒ b                                                  (4.6)
                        where
                            ƒ m = frequency transmitted for mark (binary 1)
                             ƒ s = frequency transmitted for space (binary 0)
                            ƒ b = bit rate
                          If we use the conventional FM terminology from Chapter 2, we see that
                        GMSK has a deviation each way from the center (carrier) frequency, of
                            δ = 0.25 ƒ b
                        which corresponds to a modulation index of
                                     δ
                            mƒ =
                                    ƒm
                                    0.25ƒ b
                                =
                                      ƒb
                                = 0.25
                             The word Gaussian refers to the shape of a filter that is used before the
                        modulator to reduce the transmitted bandwidth of the signal. GMSK uses
                        less bandwidth than conventional FSK, because the filter causes the trans-
                        mitted frequency to move gradually between the mark and space frequen-
                        cies. With conventional FSK the frequency transition is theoretically
                        instantaneous, and in practice as rapid as the hardware allows, producing
                        sidebands far from the carrier frequency.
          EXAMPLE 4.3                                                                              Y
                        The GSM cellular radio system uses GMSK in a 200-kHz channel, with a
                        channel data rate of 270.833 kb/s. Calculate:
                        (a) the frequency shift between mark and space
                                                              DIGITAL MODULATION      !   121
          SOLUTION
            (a) The frequency shift is
            (b) The shift each way from the carrier frequency is half that found in (a) so
                the maximum frequency is
                                   FIGURE 4.7
                                   Delta quadrature
                                   phase-shift keying
           π/4 Delta    The system shown in Figure 4.7 and Table 4.1 requires a 180 degree transi-
          Phase-Shift   tion for the symbol 11. The transmitted signal has to go to zero amplitude
              Keying    momentarily as it makes this transition. Accurate transmission of this signal
                        therefore requires a linear amplifier, unlike the case for FSK. In fact, the am-
                        plifier should be linear all the way down to zero output. This is quite possi-
                        ble, of course, but linear amplifiers are markedly less efficient than
                        nonlinear amplifiers. The need for linearity can be reduced, though not
                        eliminated, by changing to a system called π/4 DQPSK. Here the allowable
                        transitions from the previous phase angle are ±45° and ±135°. Neither of
                        these requires the signal amplitude to go through zero, relaxing the linearity
                        requirements somewhat. A typical π/4 DQPSK system has the state table
                        shown in Table 4.2, and a vector diagram showing the possible transitions
                  can be found in Figure 4.8. This system is used for the North American
                  TDMA cell phone and PCS systems.
                                FIGURE 4.8
                                π/4 DQPSK
    EXAMPLE 4.4                                                                                Y
                  The North American TDMA digital cell phone standard transmits at
                  24.3 kilobaud using DQPSK. What is the channel data rate?
               SOLUTION
                  Since this is a dibit system, the symbol rate, also known as the baud rate, is
                  half the bit rate. Therefore the data rate is 48.6 kb/s.
                  X
                        the oscilloscope, the noise can be seen as a blurring of the points in the con-
                        stellation, as shown in Figure 4.9(b).
                             In fixed terrestrial microwave systems QAM is used with quite a large
                        number of states—up to 1024 in some cases. This requires a very high sig-
                        nal-to-noise ratio however, and portable and mobile systems are much more
                        limited.
                             QAM is more efficient in terms of bandwidth than either FSK or QPSK,
                        but it is also more susceptible to noise. Another disadvantage compared to
                        FSK is that QAM signals, like analog AM signals, vary in amplitude. This
                        means that transmitter amplifiers must be linear.
          EXAMPLE 4.5                                                                               Y
                        A modem uses 16 different phase angles and 4 different amplitudes. How
                        many bits does it transmit for each symbol?
                      SOLUTION
                        The number of possible states per symbol is 16 × 4 = 64
                        The number of bits per symbol is log264 = 6
                        X
Frequency-Division   The simplest multiple access scheme is the one used by radio and television
  Multiplexing and   broadcasting stations. Each signal is assigned a portion of the available fre-
   Multiple Access   quency spectrum on a full-time basis. This is called frequency-division
                     multiplexing (FDM) or frequency-division multiple access (FDMA) de-
                     pending on the situation. For instance, over-the-air broadcasts are FDMA
                     while a cable-television system, where all the signals are assigned slots on
                     the same cable by the headend equipment, is an example of FDM. Frequency
                     division can be and is used with both analog and digital signals.
          TDM in     TDM is used extensively in digital telephony. The simplest North American
       Telephony     standard is known as the DS-1 signal, which consists of 24 PCM voice chan-
                     nels, multiplexed using TDM. Each channel is sampled at 8 kHz, with 8 bits
                     per sample, as previously described. This gives a bit rate of 8 kb/s × 8 = 64 kb/s
                     for each voice channel.
                         The DS-1 signal consists of frames, each of which contains the bits repre-
                     senting one sample from each of the 24 channels. One extra bit, called the
                     framing bit, is added to each frame to help synchronize the transmitter and
                     receiver. Each frame contains 24 × 8 + 1 = 193 bits.
                         The samples must be transmitted at the same rate as they were obtained
                     in order for the signal to be reconstructed at the receiver without delay. This
                     requires the multiplexed signal to be sent at a rate of 8000 frames per second.
126   !   CHAPTER 4
                      Thus the bit rate is 193 × 8000 b/s = 1.544 Mb/s. See Figure 4.10 for an illus-
                      tration of a frame of a DS-1 signal.
                           FIGURE 4.10
                           DS-1 signal
   Time-Division      Time-division multiple access (TDMA) is like TDM except that it involves
  Multiple Access     signals originating at different points. The telephone system observed in the
                      previous section uses TDM because all the signals are combined at one point.
                      An example of TDMA is a digital cellular radio system where several signals
                      from mobile units are combined on one channel by assigning each a time
                      slot. TDMA systems are very similar in principle to TDM, but they tend to be
                      more complex to design. One complicating feature in TDMA radio systems
                      is: the propagation time for the signal from a mobile unit to a base station
                      varies with its distance to the base. We will look at the details later when we
                      discuss specific systems.
but it can cause problems where several widely different services use the
same frequency range. The 49-MHz band, for instance, is currently used by
cordless phones, baby monitors, remote controlled models, and various
other users in an almost completely unregulated way. Similarly, the 2.4-GHz
band is shared by wireless LANs, wireless modems, cordless phones—and
even microwave ovens!
     Another problem with channelized communication, even when tightly
controlled, is that the number of channels is strictly limited. If all available
channels are in use in a given cell of a cellular phone system, the next at-
tempt to complete a call will be blocked, that is, the call will not go through.
Service does not degrade gracefully as traffic increases; rather, it continues as
normal until the traffic density reaches the limits of the system and then
ceases altogether for new calls.
     There is a way to reduce interference that does not require strong central
control. That technique, known as spread-spectrum communication, has
been used for some time in military applications where interference often
consists of deliberate jamming of signals. This interference, of course, is
not under the control of the communicator, nor is it subject to government
regulation.
     Military communication systems need to avoid unauthorized eavesdrop-
ping on confidential transmissions, a problem alleviated by the use of spread-
spectrum techniques. Privacy is also a concern for personal communication
systems, but many current analog systems, such as cordless and cellular tele-
phone systems, have nonexistent or very poor protection of privacy.
     For these reasons, and because the availability of large-scale integrated
circuits has reduced the costs involved, there has recently been a great deal
of interest in the use of spread-spectrum technology in personal communi-
cation systems for both voice and data.
     The basic idea in spread-spectrum systems is, as the name implies, to
spread the signal over a much wider portion of the spectrum than usual. A
simple audio signal that would normally occupy only a few kilohertz of spec-
trum can be expanded to cover many megahertz. Thus only a small portion
of the signal is likely to be masked by any interfering signal. Of course, the
average power density, expressed in watts per hertz of bandwidth, is also re-
duced, and this often results in a signal-to-noise ratio of less than one (that
is, the signal power in any given frequency range is less than the noise power
in the same bandwidth).
     It may seem at first glance that this would make the signal almost impos-
sible to detect, which is true unless special techniques are used to
“de-spread” the signal while at the same time spreading the energy from in-
terfering signals. In fact, the low average power density of spread-spectrum
signals is responsible for their relative immunity from both interference and
eavesdropping.
128   !   CHAPTER 4
          EXAMPLE 4.6                                                                              Y
                        A voice transmission occupies a channel 30 kHz wide. Suppose a
                        spread-spectrum system is used to increase its bandwidth to 10 MHz. If the
                        signal has a total signal power of −110 dBm at the receiver input and the sys-
                        tem noise temperature referred to the same point is 300 K, calculate the
                        signal-to-noise ratio for both systems.
                      SOLUTION
                        Recall from Chapter 1 that thermal noise power is given by
                                 PN = kTB
                        where
                                 PN = noise power in watts
                                  k = Boltzmann’s constant: 1.38 × 10−23 joules/kelvin (J/K)
                                  T = absolute temperature in kelvins
                                  B = noise power bandwidth in hertz
                            In general, the noise power bandwidth for a system will be approxi-
                        mately equal to the receiver bandwidth. For the signal with a bandwidth of
                        30 kHz and a noise temperature of 300 K,
                        With both signal and noise in dBm, we can subtract to get the signal-to-noise
                        ratio.
                            For the 30 kHz bandwidth,
      EXAMPLE 4.7                                                                               Y
                    A frequency-hopping spread-spectrum system hops to each of 100 frequen-
                    cies every ten seconds. How long does it spend on each frequency?
               SOLUTION
                    The amount of time spent on each frequency is
                            t = 10 seconds/100 hops
                              = 0.1 second per hop
                    X
130   !   CHAPTER 4
EXAMPLE 4.8                                                                                 Y
              A digital communication scheme uses DQPSK. It is to transmit a compressed
              PCM audio signal which has a bit rate of 16 kb/s. The chipping rate is 10
              to 1. Calculate the number of signal changes (symbols) which must be trans-
              mitted each second.
         SOLUTION
              The total bit rate, including the chips, is 10 times the data rate, or 160 kb/s.
              Since there are four signal states, each state represents two bits. Therefore
              the symbol rate is
                      160/2 = 80 kilobaud
              X
                  Expanding the bandwidth by a factor of ten while keeping the transmit-
              ted power constant will decrease the received signal-to-noise ratio by
              the same factor. As before, the pseudo-random sequence is known to the re-
              ceiver, which has to separate the information signal from the chips. A pro-
              cessing gain, also called spreading gain, can be defined equal to the
              bandwidth expansion (which, for direct-sequence spread spectrum, is also
              equal to the ratio of chips to information bits):
                         BRF
                  Gp =                                                                    (4.7)
                         BBB
              where
                   G p = processing gain
                   B RF = RF (transmitted) bandwidth
                  B BB = baseband (before spreading) bandwidth
                  The processing gain also describes the amount by which the signal-
              to-noise ratio of the signal is reduced by the spreading process during trans-
              mission. Of course, this reduction is reversed at the receiver. Since
              signal-to-noise ratio is generally given in decibels, it would make sense to ex-
              press the processing gain that way too, that is:
                  G p (dB) = 10 log G p
                  G p (dB) = (S/N) i (dB) − (S/N) o (dB)                                  (4.8)
              where
                      G p (dB) = processing gain in decibels
                  (S/N) i (dB) = signal-to-noise ratio in dB before spreading
                  (S/N) o (dB) = signal-to-noise ratio in dB after spreading
132   !   CHAPTER 4
          EXAMPLE 4.9                                                                                   Y
                        A signal would have a bandwidth of 200 kHz and a signal-to-noise ratio of
                        20 dB if transmitted without spreading. It is spread using a chipping rate
                        of 50:1. Calculate its bandwidth and signal-to-noise ratio after spreading.
                      SOLUTION
                        The bandwidth after spreading can be found from Equation (4.7):
                                        BRF
                                 Gp =
                                        BBB
                                 BRF = G p BBB
                                     = 50 × 200 kHz
                                     = 10 MHz
                                 Gp (dB) = 10 log Gp
                                         = 10 log 50
                                         = 17 dB
    Reception of        The type of receiver required for spread-spectrum reception depends on how
Spread-Spectrum         the signal is generated. For frequency-hopped transmissions, what is needed is
         Signals        a relatively conventional narrowband receiver that hops in the same way as
                        and is synchronized with the transmitter. This requires that the receiver be
                        given the frequency-hopping sequence, and there be some form of synchroniz-
                        ing signal (such as the signal usually sent at the start of a data frame in digital
                        communication) to keep the transmitter and receiver synchronized. Some
                        means must also be provided to allow the receiver to detect the start of a trans-
                        mission, since, if this is left to chance, the transmitter and receiver will most
                        likely be on different frequencies when a transmission begins.
                             One way to synchronize the transmitter and receiver is to have the trans-
                        mitter send a tone on a prearranged channel at the start of each transmis-
                        sion, before it begins hopping. The receiver can synchronize by detecting
                                                                   DIGITAL MODULATION     !   133
                  the end of the tone and then begin hopping according to the prearranged PN
                  sequence. Of course, this method fails if there happens to be an interfering
                  signal on the designated synchronizing channel at the time synchronization
                  is attempted.
                       A more reliable method of synchronizing frequency-hopping systems is
                  for the transmitter to visit several channels in a prearranged order before be-
                  ginning a normal transmission. The receiver can monitor all of these chan-
                  nels sequentially, and once it detects the transmission, it can sample the
                  next channel in the sequence for verification and synchronization.
                       Direct-sequence spread-spectrum transmissions require different recep-
                  tion techniques. Narrowband receivers will not work with these signals,
                  which occupy a wide bandwidth on a continuous basis. A wideband receiver
                  is required, but a conventional wideband receiver would output only noise.
                  In order to distinguish the desired signal from noise and interfering signals,
                  which over the bandwidth of the receiver are much stronger than the desired
                  signal, a technique called autocorrelation is used. Essentially this involves
                  multiplying the received signal by a signal generated at the receiver from the
                  PN code. When the input signal corresponds to the PN code, the output from
                  the autocorrelator will be large; at other times this output will be very small.
                  Of course, once again the transmitter and receiver will probably not be syn-
                  chronized at the start of a transmission, so the transmitter sends a preamble
                  signal, which is a prearranged sequence of ones and zeros, to let the receiver
                  synchronize with the transmitter.
' Summary The main points to remember from this chapter are:
( Equation List
                   I = ktB                                                               (4.1)
C = 2B log2 M (4.2)
C = S log2 M (4.5)
ƒm − ƒs = 0.5 ƒb (4.6)
                          BRF
                   Gp =                                                                  (4.7)
                          BBB
( Key Terms
                  amplitude-shift keying (ASK) data transmission by varying the
                     amplitude of the transmitted signal
                  audio frequency-shift keying (AFSK) use of an audio tone of two or more
                     different frequencies to modulate a conventional analog transmitter
                     for data transmission
                  baud rate speed at which symbols are transmitted in a digital
                     communication system
                  bit rate speed at which data is transmitted in a digital communication
                       system
                  chips extra bits used to spread the signal in a direct-sequence
                      spread-spectrum system
                  code-division multiple access (CDMA) system to allow multiple users to
                     use the same frequency using separate PN codes and a
                     spread-spectrum modulation scheme
136   !   CHAPTER 4
( Questions
               1. What is the meaning of the term modem?
               2. What parameters of a sine-wave carrier can be modulated?
               3. Name the three most common basic types of digital modulation.
               4. Which type of modulation is likely to be used for:
                  (a) low data rates
                  (b) moderate data rates
                  (c) high data rates
               5. What signal parameters are varied with QAM?
               6. What factors limit the maximum data rate for a channel?
               7. What is an eye diagram?
               8. Explain the difference between the terms bit rate and baud rate.
               9. Explain the origin and meaning of the terms mark and space.
              10. What is the difference between FSK, AFSK, and GMSK?
              11. Why is delta phase-shift keying the most common form of PSK?
              12. What is the advantage of π/4 DQPSK?
              13. What is represented by the dots in a constellation diagram for a QAM
                  system?
              14. Compare the modulation schemes studied in this chapter, listing as
                  many advantages and disadvantages for each as you can.
138   !   CHAPTER 4
                      15. List and describe the three multiple-access systems in common use.
                      16. What is a DS-1 signal?
                      17. Compare frequency-hopping and direct-sequence spread-spectrum
                          systems.
                      18. What happens when a call is blocked?
                      19. How do spread-spectrum systems reduce the effect of fading?
                      20. Briefly describe what is meant by orthogonal spread-spectrum signals.
( Problems
                       1. The North American analog cellular radio system uses FM with channels
                          30 kHz wide. Suppose such a channel were used for digital communica-
                          tion. If the available signal-to-noise ratio is 20 dB, calculate the maxi-
                          mum theoretical bit rate and the corresponding baud rate using:
                          (a) a two-level code
                          (b) a four-level code
                       2. How much bandwidth would be required to transmit a DS-1 signal
                          (1.544 Mb/s) using a four-level code:
                          (a) assuming a noiseless channel?
                          (b) with a signal-to-noise ratio of 15 dB?
                       3. The AFSK system described in the text operates at 1200 bits per second
                          using an FM signal modulated by tones at 1200 and 2200 Hz, with a fre-
                          quency deviation of 5 kHz. Calculate the efficiency of this system in
                          bits per second per hertz of bandwidth by using Carson’s rule (see Chap-
                          ter 2) to calculate the approximate radio frequency bandwidth for this
                          system. Is this system bandwidth-efficient?
                       4. A typical HF radioteletype system uses 170 Hz shift between mark and
                          space frequencies and a bit rate of 45 bits per second. What would be the
                          bit rate if GMSK were used for this system?
                       5. Consider a QPSK system that will transmit three bits of information per
                          symbol.
                          (a) How many phase angles are needed?
                          (b) Draw a vector diagram for such a system.
                          (c) Would this system have any advantages compared with the dibit
                              systems described in the text? Any disadvantages?
                                                DIGITAL MODULATION     !   139
                   FIGURE 4.12                  (
                                                (
                                                (
                                                (
                                   ((((             ((((
                                                (
                                                (
                                                (
                                                (
                      12. Suppose that a voice signal normally occupies 30 kHz of bandwidth and
                          has a signal-to-noise ratio of 20 dB. Spread-spectrum techniques are
                          used to increase its bandwidth to 2 MHz.
                          (a) What is the signal-to-noise ratio of the spread signal?
                          (b) What is the processing gain, in decibels?
                      13. Suppose a frequency-hopping system hops among 500 channels. How
                          many orthogonal PN sequences are possible?
                      14. Suppose there is a narrowband analog signal on one of the channels vis-
                          ited by a frequency-hopping system.
                          (a) What is the effect on the narrowband signal of the spread-spectrum
                              signals?
                          (b) What is the effect on the spread-spectrum signals of the narrow-
                              band signal?
                      15. A direct-sequence spread-spectrum system uses FSK with a chipping rate
                          of 20 to 1. The signal-to-noise ratio for the spread signal is −5 dB (that is,
                          the signal is 5 dB weaker than the noise in the same bandwidth). If the
                          data is transmitted at 50 kb/s, calculate:
                          (a) the chipping rate
                          (b) the bandwidth occupied by the spread signal if the modulation
                              scheme used allows 1.5 bits/s/Hz
                          (c) the signal-to-noise ratio for the despread signal at the receiver
                      16. A signal has a bit rate of 20 kb/s. Find the baud rate if the signal is trans-
                          mitted using:
                          (a) FSK with two frequencies
                          (b) QPSK with four phase angles
                          (c) QAM with four phase angles and four amplitudes
                      17. Ten voice signals are to be multiplexed and transmitted. The analog sig-
                          nal occupies 4 kHz of bandwidth and can be digitized using a vocoder at
                          12 kb/s. Calculate the required bandwidth for each of the following pos-
                          sibilities.
                          (a) FDMA using analog FM with 12 kHz deviation (use Carson’s rule to
                               find the bandwidth for one signal). Ignore guard bands between
                               channels.
                          (b) FDMA using SSBSC AM. Ignore guard bands.
                          (c) TDM using GMSK. Assume a noiseless channel.
                          (d) TDMA using QPSK. Assume a noiseless channel.
                          (e) CDMA using frequency-hopping with 10 available channels. Use
                               GMSK and assume a noiseless channel.
                          (f) CDMA using direct-sequence, QPSK with a chipping rate of 10:1.