Top Banner
CHAPTER 4 INTRODUCTION TO DIGITAL MODULATION
53

Comm Chptr4

May 02, 2017

Download

Documents

Muhamad Fuad
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Comm Chptr4

CHAPTER 4INTRODUCTION

TO DIGITAL MODULATION

Page 2: Comm Chptr4

• The purpose of analog modulation is to impress an

• information-bearing analog waveform onto a carrier for transmission.

• The purpose of digital modulation is to convert an• information-bearing discrete-time symbol

sequence into a continuous-time waveform (perhaps impressed on a carrier).

• Key concerns : bandwidth efficiency and implementation complexity.

Page 3: Comm Chptr4
Page 4: Comm Chptr4

• Digital Modulation is defined as the transmission of digitally modulated analog signals (carriers) between 2 or more points.

• If the information signal is digital and the carrier has the following expression:

• v(t) = V sin(2ft + )

• Ac(t): amplitude modulation AM ASK• fc(t) : frequency modulation FM FSK (t) : phase modulation PM PSK

• Ac(t) and (t) QAM (Digital)

DigitalAnalog

Page 5: Comm Chptr4

Application of Digital Modulation : 1. Modem in personal computer 2. Digital Subscriber Lines (DSL) 3. Digital Microwave 4. Satellite Communication system 5. Cellular telephone Personal Communication Systems (PCS)

Digital Modulation involves the Digital Signal Processing because it is much simpler to store digital signals than analog signal.

There are 2 type of Digital Modulation: 1. Pulse Modulation – PAM, PWM, PPM 2. Binary Modulation – ASK, FSK, PSK, PCM

Page 6: Comm Chptr4

Model of Digital Comm.

The model of Digital System is shown below:

Input Signal

TRANSMITTER

Output Signal

RECEIVER

Source Encoder

Digital Demodulation

Trans. Medium or Channel

Channel Encoder

DigitalModulation

Source Decoder

ChannelDecoder

Page 7: Comm Chptr4

Block diagram of a digital radio system

Page 8: Comm Chptr4

Signal Processing

Page 9: Comm Chptr4

Advantages & disadv. of Digital Transmission

Advantages•Noise immunity•(Time domain) Multiplexing•Regeneration•Simple to evaluate and measure

Disadvantages•More bandwidth•Additional encoding (A/D) and decoding (D/A) circuitry

Page 10: Comm Chptr4

The information capacity of a communication system represents the number of independent symbols that can be carried through the system in a given unit of time.

By using Shannon limit for information capacity, the relationship between Information capacity to the signal bandwidth and SNR is defined below:

I = information capacity (bit/second)

B = system bandwidth (Hertz)

S/N =signal-to-noise power ratio (dimensionless)

2 10log 1 3.32 log 1S SI B BN N

Bandwidth and information capacity

Page 11: Comm Chptr4

M-ary Encoding

2logN M 2N MN = number of bits necessary

M = number of conditions, levels, or combinations possible with N bits

For binary M = 2 N = 1

Page 12: Comm Chptr4

1baud ss

ft

baud = fs = symbol rate (baud per second)ts = time of one signaling element (second)

symbol = one signaling element

What is the difference between baud and bits per second (bps)?

Baud and Minimum Bandwidth

Page 13: Comm Chptr4

Baud is rate of change of a signal on the transmission medium after encoding and modulation have occurred (symbols per seconds), rate of change at output of the Modulator.

Bit is rate of change at the input to the Modulator (bits per second, bps).

Binary signals; logic 1 => High, logic 0 => Low

Page 14: Comm Chptr4

Baud and Minimum Bandwidth

22 2 logb sf f N BN B M fb = bitrate (bps)fs = baud (symbols per second)B = minimum Nyquist bandwidth (hertz)M = number of discrete signals or voltage levelsN = number of bits encoded into each symbol

22log 2b bf fB

M N

Page 15: Comm Chptr4

EXAMPLE 1A standard voice-band communication channels have a SNR power of 1000 (30 dB) and signal Bandwidth of 2.7 kHz. Determine the information capacity.

Solution : By using Shannon’s Limit, information capacity is defined as: I = (2.7 kHz)(3.32)log10 (1 + 1000) = 26.9

kbps

Page 16: Comm Chptr4

Pulse ModulationPulse Modulation is a process of sampling

analog signal and then converting them into discrete pulses and transporting the pulses from a source to a destination over a transmission medium. A device to perform this is called ADC (Analog-to-Digital Converter) & DAC (Digital-to-Analog Converter).

Page 17: Comm Chptr4

PAM (Pulse Amplitude Modulation)It is used to describe the conversion of analog

signal to pulse-type signal in which the amplitude of the pulse denotes the analog information. In addition, it is a series of pulses in which the amplitude of each pulse represents the amplitude of the information signal at a given time.

Page 18: Comm Chptr4

Pulse Modulation • PWM (Pulse Width Modulation) It is a pulse duration modulation (PDM) or

pulse length modulation. The width of pulse is varied proportional to the Amplitude of the analog signal at the time signal is sampled.

• PPM (Pulse Position Modulation) It is a series of pulses in which the timing of

each pulse represents the amplitude of the information signal at a given time.

Page 19: Comm Chptr4

PCM (Pulse Code Modulation)• It is a series of pulse in which the amplitude of

the information signal at a given time is coded as a binary number. The pulses are of fixed length and fixed amplitude. Refer to Figure 10-1 in the textbook for PWM, PPM, PAM & PCM.

• PCM is generated by 3 processes; Sampling, Quantization & Encoding.

• An Integrated circuit that perform PCM encoding and decoding function is called CODER OR DECODER.

Page 20: Comm Chptr4

Pulse ModulationAnalog signal

Sample pulse

Pulse width modulationPulse position modulation

Pulse amplitude modulationPulse code modulation

8 bit

ts

Page 21: Comm Chptr4

PCM system Block Diagram

Page 22: Comm Chptr4

Signal Sampling• A process of periodically sampling the continually

changing analog input voltage and convert it to a series of constant amplitude pulses, so that it is easier to convert to binary PCM code

• 2 types of sampling:1. Natural Sampling

tops of the sample pulses retain their natural shape, making it difficult for ADC to convert to PCM codes

2. Flat-top Samplinginput voltage is sampled with narrow pulses and then held relatively constant until next sampling

Page 23: Comm Chptr4

Natural Sampling

Input analog signal

Sampling pulse

Sampled output

Page 24: Comm Chptr4

Sample-and-hold circuit

Flat-top sampling

Page 25: Comm Chptr4

Sample-and-hold waveforms

Page 26: Comm Chptr4

Sampling Rate•Sample & Hold circuit is a vital component in ADC to convert the analog signal to digital signal at certain sampling period, Ts.

•The analog signal should be sampled at the Nyquist rate Sampling Frequency,

2s af f

fs = minimum Nyquist sample rate (Hz)fa = maximum analog input frequancy (Hz)

Page 27: Comm Chptr4

Number of LevelThe number of level depends on the number of bits

used to express the sample value. It is defined as :

N = 2n

EXAMPLE :Calculate the number of level if the number of bit per sample is 8-bit.

Solution :1. N = 28 = 256

Page 28: Comm Chptr4

Output spectrum of a S&H circuitS&H circuit is non’linear which results in harmonics

Ideal

Aliasing

2s af f

2s af f

http://www.mustagh.com/alias/Alias.html

Page 29: Comm Chptr4

Quantization• Quantization is a process of rounding off the amplitude of

flat-top samples to a manageable number of levels

• Assigning PCM codes to absolute magnitude is called quantizing

• Total range is sub-divided into a smaller number of sub ranges.

• Magnitude difference between adjacent steps is called the quantization interval or quantum

• The magnitude of a quantum is called the resolution: equal to the voltage of the minimum step size = voltage of the least significant bit. minimum voltage other than 0 that can be decoded by ADC.

Page 30: Comm Chptr4

The binary codes used for PCM are n-bit codes (sign-magnitude code) where the MSB bit is the sign bit. If PCM is 3-bit codes, then the sign and magnitude are shown below:

In terms of Voltage, the maximum signal voltages are 3 V or -3 V and the minimum signal voltages are 1 V or -1 V.

Sign Magnitude Decimal value

Quantization range (V)

1 1 1 +3 +2.5 to +3.51 10 +2 +1.5 to +2.51 01 +1 +0.5 to 1.51 00 +0 0 to +0.50 00 -0 0 to -0.50 01 -1 -0.5 to -1.50 10 -2 -1.5 to -2.50 11 -3 -2.5 to -3.5

Folded binary code

Page 31: Comm Chptr4

Input analog signal

Sampling pulse

PCM code

Quantization

PAM signal

What is the PCM code for 2.6 V??

Page 32: Comm Chptr4

Quantization Error•Folded PCM code = sample voltage

resolution•For input at 2.6 V, the PCM code is therefore: 2.6/1 = 2.6 But since there is no code for +2.6, the magnitude is rounded off to the nearest valid code, which is 111 (+3V)•Thus there is difference of 0.4QUANTIZATION ERROR (Qe)•or also known as quantization noise (Qn)•Maximum magnitude Qe is equal to one-half a quantum resolution

2eQ

Page 33: Comm Chptr4

Linear input-output transfer curve

Linear

Quantization

Error

Page 34: Comm Chptr4

Input analog signal

Sampling pulse

PCM code

PAM signal

Question: What is the quantized voltage, quantization error and PCM code for 1.75 V??

Page 35: Comm Chptr4

Dynamic Range

max max

min

2 1resolution

nV VDRV

DR = dynamic range (unitless)Vmin = the quantum valueVmax = the maximum voltage magnitude of the DACsn = number of bits in a PCM code (excl. sign bit)

20log 2 1ndBDR

• Ratio of the largest possible magnitude to the smallest (other than 0) magnitude that can be decoded by the digital-to-analog converter (DAC) in the receiver

Page 36: Comm Chptr4

DR = 2n -1

Thus 2n = DR + 1

And therefore, The minimum number of bit used:n = log ( DR + 1 )

log 2

2 1 2n nDR For n > 4

20log 2 1 20 log 2 6ndBDR n n

Page 37: Comm Chptr4

No of Bits No of Levels DR (dB)1 2 6.022 4 123 6 18.14 16 24.15 32 30.16 62 36.17 128 42.18 256 48.29 512 54.2

10 1024 60.211 2048 66.212 4096 72.213 8192 78.314 16348 84.315 32768 90.316 65536 96.3

Dynamic Range

Page 38: Comm Chptr4

Coding Efficiency

minimum number of bitscoding efficiency= 100actual number of bits

Coding efficiency is a numerical indication of how efficiently a PCM code is utilized

Page 39: Comm Chptr4

EXAMPLEA PCM systems has the following specification:Maximum Analog Input Frequency = 4 kHzMaximum decoded voltage at the receiver = 2.55 VThe dynamic range = 46 dB Determine the following : (a) Minimum Sampling Rate (b) Minimum number of bits used in PCM code (c) Resolution (d) Quantization Error

Page 40: Comm Chptr4

Solution (a) The minimum sampling rate: fs = 2fa = 2(4 kHz) = 8 kHz

(b) Calculate the Dynamic range : 46 = 20log(Vmax / Vmin) Vmax / Vmin = antilog (46/20) = 199.5 Thus, the minimum number of bit used: n = log (199.5 + 1) / Log 2 = 7.63

(c) Resolution is defined as: Vmax / 2n - 1 = 0.01 V

(d) Quantization Error : Q = resolution / 2 = 0.01 V / 2 = 0.005 V

Page 41: Comm Chptr4

Signal-to-Quantization Noise Efficiency

min

minresolution 2

e e

VSQRQ Q

resolution2eQ

V 2e

SQRQ

max

maxe

VSQR

Q

SQR is not constant

Page 42: Comm Chptr4

Linear vs. Nonlinear coding

Linear Nonlinear

What is the advantage of Nonlinear coding???

Page 43: Comm Chptr4

Idle channel noise

Page 44: Comm Chptr4

Companding

Higher amplitude analog signals are compressed

Dynamic range is improved

Page 45: Comm Chptr4

PCM system with analog companding

Page 46: Comm Chptr4

-law compression

max

maxln 1

ln 1

in

out

VV VV

Page 47: Comm Chptr4

The 12-bit PCM can be compressed to 8-bit PCM. The 8-bit compressed code consists of a sign bit,

3 segment identifier and 10-bit magnitude code that specifies the quantization level

a) Sign Bit => 1 = + => 0 = - b) No. of leading 0s, subtract from 7:-Bit Segment

Identifier 000 111 c) 4-Bit Quantization Interval A B C D 0000 to 1111

Digital Companding

Page 48: Comm Chptr4

Refer to Figure 10-18(a), (b), (c) for the conversion of 12-bit PCM to 8-bit compressed code (Encoded PCM) and vise versa (Decoded PCM).

EXAMPLE : Convert the 12-bit PCM below to an 8-bit compressed

code 100110100100

Solution : 1. From Figure 10-18 (b), use segment 5, ABCD will be 1010. 2. From segment 5, the 8-bit compressed code is s101ABCD where s is a sign bit either 1 or 0. 3. Thus the 8-bit compressed code will be

Sign bit

Leading zeros

ABCD

11011010

Page 49: Comm Chptr4

Example(i) Determine the 12-bit code for analog signal of

+0.32V using a PCM system with 0.01V resolution. Then convert the 12 bit code to 8-bit compressed code

(ii) Repeat the question with -0.072V analog input

ANSWER:

(i) 10100000

(ii)00000111

Page 50: Comm Chptr4

Delta Modulation PCM Delta Modulation use a single-bit PCM code to achieve

digital transmission of analog signal.

Refer to Figure 10-20 in the textbook for Delta Modulation Transmitter and Figure 10-22 for Receiver.

When the analog signal is sampled by Sample & Hold circuit, it will create PAM (Pulse Amplitude Modulation) and compared with initial condition (zero volts => up-down converter is zeroed).

The output of Comparator is logic ‘1’. On the next clock pulse, up-down counter is incremented to a count of 1.

Each time up-down converter is incremented, logic ‘1’ is transmitted. Each time up-down converter is decremented, logic ‘0’ is transmitted.

Page 51: Comm Chptr4

It is a delta modulation system where the step size of the DAC is automatically varied according to previous values (refer to Figure 10-25 in the textbook)

An Adaptive Delta Modulation can transmit voice at about ½ bit rate of the PCM system.

The advantage of using Adaptive Delta Modulation:

Reduce Slope Overload The slope of the analog is greater than the delta modulator can maintain

Reduce Granular Noise The variation of the constructed signal compared to original signal.

Adaptive Delta Modulation PCM

Page 52: Comm Chptr4

PCM Advantages PCM systems allow the regeneration of the

signal.

PCM systems allow the analog information to be stored digitally (digital storage).

PCM systems allow the source and channel coding.

PCM systems allow successive time multiplexing of lower-rate digital streams

Page 53: Comm Chptr4