Docsity

Introduction to Digital Communication Systems: Lecture Notes, Lecture notes of Electronics

Partial preview of the text

Download Introduction to Digital Communication Systems: Lecture Notes and more Lecture notes Electronics in PDF only on Docsity!

BRAC UNIVERSITY

Department of Electrical and Electronic Engineering

School of Engineering

INTRODUCTION TO COMMUNICATION ENGINEERING

Lecture 01: Introduction

Instructor: Dr. Rony Kumer Saha (^) [Date] EEE

1.1 COMMUNICATION SYSTEMS

Figure 1. 1 presents three typical communication systems:

  • a wire-line telephone-cellular phone connection,
  • a TV broadcasting system, and
  • a wireless computer network. Figure 1 .1. Some examples of communications systems. The most efficient and effective way to learn about communication is by studying the major functional blocks common to practically all communication systems. A typical communication system model is shown in Fig. 1.2. The key components of a communication system are as follows. Figure 1 .2. Communication system.

1.2 ANALOG AND DIGITAL MESSAGES

Messages are digital or analog. Digital messages are ordered combinations of finite symbols or codewords.

  • For example, printed English consists of 26 letters, 10 numbers, a space, and several punctuation marks. Thus, a text document written in English is a digital message constructed from the ASCII keyboard of 128 ( 27 >> 7 bits long codeword) symbols.
  • Similarly, a Morse-coded telegraph message is a digital message constructed from a set of only two symbols-dash and dot. It is therefore a binary message, implying only two symbols.
  • A digital message constructed with M symbols is called an M - ary message. Analog messages , on the other hand, are characterized by data whose values vary over a continuous range and are defined for a continuous range of time.
  • For example, a particular speech waveform has amplitudes that vary over a continuous range. Over a given time interval, an infinite number of possible different speech waveforms exist, in contrast to only a finite number of possible digital messages. Fig. ASCII table [ 3 ]. Fig. A speech waveform [ 4 ].

1.2.1 Why are digital technologies better? The answer has to do with both economics and quality.

  • The case for economics is made by noting the ease of adopting versatile, powerful, and inexpensive high-speed digital microprocessors.
  • At the quality level , a prominent feature of digital communications is the enhanced immunity of digital signals to noise and interference. ❖ Digital messages are transmitted as a finite set of electrical waveforms. For digital systems
  • A digital message is generated from a finite alphabet, while each character in the alphabet can be represented by one waveform or a sequential combination of such waveforms. For example, in sending messages via Morse code , ▪ a dash can be transmitted by an electrical pulse of amplitude A/2 and ▪ a dot can be transmitted by a pulse of negative amplitude - A/2 ( Fig 1.3a ). In an M - ary case , M distinct electrical pulses (or waveforms) are used; each of the M pulses represents one of the M possible symbols. Figure 1.3. (a) Transmitted signal. (b) Received distorted signal (without noise). (c) Received distorted signal (with noise). (d) Regenerated signal (delayed).
  • Once transmitted, the receiver must extract the message from a distorted and noisy signal at the channel output. Message extraction is often easier from digital signals than from analog signals because the digital decision must belong to the finite-sized alphabet. ▪ Consider a binary case: two symbols are encoded as rectangular pulses of amplitudes A/2 and - A/2. ▪ The only decision at the receiver is to select between two possible pulses received; the fine details of the pulse shape are not an issue. ▪ A finite alphabet leads to noise and interference immunity.
  • The receiver's decision can be made with reasonable certainty even if the pulses have suffered modest distortion and noise (Fig. 1.3). ▪ The digital message in Fig. 1.3a is distorted by the channel, as shown in Fig. 1.3b. ▪ Yet, if the distortion is not too large, we can recover the data without error because we need to make only a simple binary decision : Is the received pulse positive or negative? ▪ Figure 1.3c shows the same data with channel distortion and noise. Here again, the data can be recovered correctly as long as the distortion and the noise are within limits. In contrast, for analog systems,

1.2.3 Analog-to-Digital (A/D) Conversion Despite the differences between analog and digital signals, a meeting ground exists between them : the conversion of analog signals to digital signals (A/D conversion). A key device in electronics , the analog-to-digital (A/D) converter , enables digital communication systems to convey analog source signals such as audio and video.

  • Generally, analog signals are continuous in time and in range ; that is, o they have values at every time instant , and o their values can be anything within the range.
  • On the other hand, digital signals exist o only at discrete points of time , and o they can take on only finite values. A/D conversion can never be 100% accurate. Since, however, human perception does not require infinite accuracy , A/D conversion can effectively capture necessary information from the analog source for digital signal transmission. Two steps take place in A/D conversion :
  1. a continuous-time signal is first sampled into a discrete-time signal, whose
  2. continuous amplitude (signal level) is then quantized i nto a discrete-level signal. Sampling First, the frequency spectrum of a signal indicates the relative magnitudes of various frequency components. The sampling theorem states that if the highest frequency in the signal spectrum is B (in hertz), the signal can be reconstructed from its discrete samples, taken uniformly at a rate not less than 2B samples per second. Figure 1.4. Analog-to-digital conversion of a signal. This means that to preserve the information from a continuous-time signal , we need to transmit only its samples (Fig. 1.4). However, the sample values are still not digital because they lie in a continuous dynamic range.

Quantization Here, the second step of quantization comes to rescue. Through quantization , each sample is approximated, or ''rounded off," to the nearest quantized level , as shown in Fig. 1.4.

  • If amplitudes of the message signal m(t) lie in the range (-m p , mp) , the quantizer partitions the signal range into L intervals.
  • Each sample amplitude is approximated by the midpoint of the interval in which the sample value falls.
  • Each sample is now represented by one of the L numbers.
  • The information is thus digitized. Hence, after the two steps of sampling and quantizing , the analog-to-digital (A/D) conversion is completed. Note that the price for all these benefits of digital communication is paid in terms of increased ▪ processing complexity and ▪ bandwidth of transmission. 1.2.4 Pulse-Coded Modulation - A Digital Representation Once the A/D conversion is over , the original analog message is represented by a sequence of samples , each of which takes on one of the L preset quantization levels.
  • The transmission of this quantized sequence is the task of digital communication systems.
  • For this reason, signal waveforms must be used to represent the quantized sample sequence in the transmission process.
  • Pulse-coded modulation (PCM) is a very simple and yet common mechanism for this purpose. Note that, one information bit refers to one binary digit of 1 or 0. The idea of PCM is to represent each quantized sample by an ordered combination of two basic pulses : ▪ Pl(t) representing 1 and ▪ P 0 (t) representing 0.
  • Because each of the L possible sample values can be written as a bit string of length log 2 L , each sample can therefore also be mapped into a short pulse sequence that represents the binary sequence of bits.
  • For example, if L = 16 , then, each quantized level can be described uniquely by 4 bits. If we use two basic pulses, Pl (t) = A/2 and P 0 (t) = - A/2. A sequence of four such pulses gives 2× 2 × 2 × 2 = 16 distinct patterns , as shown in Fig.1..
  • We can assign one pattern to each of the 16 quantized values to be transmitted.
  • Each quantized sample is now coded into a sequence of four binary pulses. This is the principle of PCM transmission , where signaling is carried out by means of only two basic pulses (or symbols). The binary case is of great practical importance because of its simplicity and ease of detection. Much of today's digital communication is binary.

Likewise , each signal also has a bandwidth that measures the maximum range of its frequency components.

  • The faster a signal changes , the higher its maximum frequency is, and the larger its bandwidth is.
  • Signals rich in content that changes quickly (such as those for battle scenes in a video ) have larger bandwidth than signals that are dull and vary slowly (such as those for a daytime soap opera or a video of sleeping animals ). A signal can be successfully sent over a channel if the channel bandwidth exceeds the signal bandwidth. The rate of information transmission that a channel can successfully carry is directly proportional to B. ▪ More generally, if a channel of bandwidth B can transmit N pulses per second, then to transmit KN pulses per second by means of the same technology, we need a channel of bandwidth KB. ▪ To repeat, the number of pulses per second that can be transmitted over a channel is directly proportional to its bandwidth B. The signal power Ps plays a dual role in information transmission. First, Ps is related to the quality of transmission. Increasing Ps strengthens the signal pulse and diminishes the effect of channel noise and interference. In fact, the quality of either analog or digital communication systems varies with the signal-to-noise ratio (SNR). In any event, a certain minimum SNR at the receiver is necessary for successful communication. Thus, a larger signal power Ps allows the system to maintain a minimum SNR over a longer distance, thereby enabling successful communication over a longer span. The second role of the signal power is less obvious, although equally important. From the information theory point of view, the channel bandwidth B and the signal power P s are, to some extent, exchangeable; that is, to maintain a given rate and accuracy of information transmission , we can trade Ps for B , and vice versa. Thus, ▪ one may use less B if one is willing to increase Ps, ▪ or one may reduce Ps if one is given a bigger B. In short, the two primary communication resources are bandwidth and transmit power.
  • In a given communication channel, one resource may be more valuable than the other, and the communication scheme should be designed accordingly.
  • A typical telephone channel , for example, has limited bandwidth (3 kHz), but the power is less restrictive.
  • On the other hand, in space vehicles , huge bandwidth is available but the power is severely limited.
  • Hence, the communication solutions in the two cases are radically different. 1.3.2 Channel Capacity and Data Rate Channel bandwidth limits the bandwidth of signals that can successfully pass through, whereas signal SNR at the receiver determines the recoverability of the transmitted signals.
  • Higher SNR means that the transmitted signal pulse can use more signal levels , thereby carrying more bits with each pulse transmission.
  • Higher bandwidth B also means that one can transmit more pulses (faster variation) over the channel.
  • Hence, SNR and bandwidth B can both affect the underlying channel “throughput.” The peak throughput that can be reliably carried by a channel is defined as the channel capacity.

One of the most commonly encountered channels is known as the additive white Gaussian noise (AWGN) channel. ▪ The AWGN channel model assumes no channel distortions except for the additive white Gaussian noise and its finite bandwidth B. ▪ This ideal model captures application cases with distortionless channels and ▪ provides a performance upper bound for more general distortive channels. The band-limited AWGN channel capacity was dramatically highlighted by Shannon's equation , C = B log 2 (1 + SNR) bit/s (1. 1) Here channel capacity C is the upper bound of the rate of information transmission per second. In other words, C is the maximum number of bits that can be transmitted per second with a probability of error arbitrarily close to zero; that is, the transmission is as accurate as one desires. The capacity only points out this possibility , however; it does not specify how it is to be realized. Moreover, it is impossible to transmit at a rate higher than this without incurring errors. Shannon's equation clearly brings out the limitation on the rate of communication imposed by B and SNR. Practical systems operate at rates below the Shannon rate. In conclusion, Shannon's capacity equation demonstrates qualitatively the basic role played by B and SNR in limiting the performance of a communication system. These two parameters then represent the ultimate limitation on the rate of communication. The possibility of resource exchange between these two basic parameters is also demonstrated by the Shannon equation. As a practical example of trading SNR for bandwidth B , note, however, that this is not a one-to-one trade. Doubling the speaker’s volume allows the speaker to talk a little faster , but not twice as fast. This unequal trade effect is fully captured by Shannon's equation [Eq. (1.1)], where doubling the SNR cannot always compensate for the loss of B by 50%. 1.4 MODULATION AND DETECTION Analog signals generated by the message sources or digital signals generated through A/D conversion of analog signals are often referred to as baseband signals because they typically are low pass in nature. Baseband signals may be directly transmitted over a suitable channel (e.g., telephone, fax). However, depending on the channel and signal frequency domain characteristics , baseband signals produced by various information sources are not always suitable for direct transmission over a given channel.

  • When signal and channel frequency bands do not match exactly , channels cannot be moved.
  • Hence, messages must be moved to the right channel frequency bandwidth.
  • Message signals must therefore be further modified to facilitate transmission.
  • In this conversion process , known as modulation, the baseband signal is used to modify (i.e., modulate ), some parameters of a radio-frequency (RF) carrier signal. o A carrier is a sinusoid of high frequency. Through modulation , one of the carrier sinusoidal parameters-such as amplitude, frequency, or phase-is varied in proportion to the baseband signal m(t).

For efficient radiation of electromagnetic energy, the radiating antenna should be on the order of a fraction or more of the wavelength of the driving signal. For many baseband signals , the wavelengths are too large for reasonable antenna dimensions. For example,

  • the power in a speech signal is concentrated at frequencies in the range of 100 to 3000 Hz.
  • The corresponding wavelength is 100 to 3000 km.
  • This long wavelength would necessitate an impractically large antenna. Instead, by modulating a high-frequency carrier , we effectively translate the signal spectrum to the neighborhood of the carrier frequency that corresponds to a much smaller wavelength. For example, a 10 MHz carrier has a wavelength of only 30 m, and its transmission can be achieved with an antenna size on the order of 3 m. In this respect, modulation is like letting the baseband signal hitch a ride on a high-frequency sinusoid (carrier). The carrier and the baseband signal may also be compared to a stone and a piece of paper. If we wish to throw a piece of paper , it cannot go too far by itself. But if it is wrapped around a stone (a carrier), it can be thrown over a longer distance. 1.4.2 Simultaneous Transmission of Multiple Signals- Multiplexing Modulation also allows multiple signals to be transmitted at the same time in the same geographical area without direct mutual interference. This case in point is simply demonstrated by considering the output of multiple television stations carried by the same cable (or over the air) to people's television receivers. Without modulation , multiple video signals will all be interfering with one another because all baseband video signals effectively have the same bandwidth. Thus, cable TV or broadcast TV without modulation would be limited to one station at a time in a given location-a highly wasteful protocol because the channel bandwidth is many times larger than that of the signal. One way to solve this problem is to use modulation.
  • We can use various TV stations to modulate different carrier frequencies , thus translating each signal to a different frequency range.
  • If the various carriers are chosen sufficiently far apart in frequency , the spectra of the modulated signals (known as TV channels) will not overlap and thus will not interfere with each other.
  • At the receiver (TV set), a tunable bandpass filter can select the desired station or TV channel for viewing.
  • This method of transmitting several signals simultaneously , over nonoverlapping frequency bands, is known as frequency division multiplexing (FDM). Another method of multiplexing several signals is known as time division multiplexing (TDM).
  • This method is suitable when a signal is in the form of a pulse train (as in PCM).
  • When the pulses are made narrower, the spaces left between pulses of one user signal are used for pulses from other signals.
  • Thus, in effect, the transmission time is shared by a number of signals by interleaving the pulse trains of various signals in a specified order.
  • At the receiver, the pulse trains corresponding to various signals are separated. 1.4.3 Demodulation

Once multiple modulated signals have arrived at the receiver, the desired signal must be detected and recovered into its original baseband form.

  • Note that because of FDM , the first stage of a demodulator typically requires a tunable bandpass filter so that the receiver can select the modulated signal at a predetermined frequency band specified by the transmission station or channel.
  • Once a particular modulated signal has been isolated , the demodulator will then need to convert the carrier variation of amplitude, frequency, or phase, back into the baseband signal voltage.
  • For the three basic modulation schemes of AM, FM, and PM , the corresponding demodulators must be designed such that the detector output voltage varies in proportion to the input modulated signal's amplitude, frequency, and phase, respectively.
  • Once circuits with such response characteristics have been implemented, the demodulators can downconvert the modulated (RF) signals back into the baseband signals that represent the original source message, be it audio, video, or data.