Lecture3 signal encoding_in_wireless

22
NETW4004 LECTURE 3 SOURCE: STALLINGS CHAPTER 6 Signal Encoding

Transcript of Lecture3 signal encoding_in_wireless

Page 1: Lecture3  signal encoding_in_wireless

NETW4004 LECTURE 3

SOURCE: STALLINGS CHAPTER 6

Signal Encoding

Page 2: Lecture3  signal encoding_in_wireless

Encoding Techniques in Wireless2

Digital-to-analog Digital data and digital signals must be converted to

analog signals for wireless transmission

Analog-to-analog Baseband signals must be modulated onto a higher-

frequency carrier for transmission.

Analog-to-digital Digitising analog signals for digital transmission so as to

improve quality and take advantage of TDM schemes.

Digital-to-digital

Page 3: Lecture3  signal encoding_in_wireless

Signal Encoding Criteria3

What determines how successful a receiver will be in interpreting an incoming signal? Signal-to-noise ratio Data rate Bandwidth

An increase in data rate increases bit error rateAn increase in SNR decreases bit error rateAn increase in bandwidth allows an increase in data

rate

Page 4: Lecture3  signal encoding_in_wireless

Comparison of Encoding Schemes4

Signal spectrum With lack of high-frequency components, less bandwidth

required (discuss) No DC component: AC coupling via transformer possible

Clocking Ease of determining beginning and end of each bit

positionSignal interference and noise immunity

Performance in the presence of noiseCost and complexity

The higher the signal rate to achieve a given data rate, the greater the cost

Page 5: Lecture3  signal encoding_in_wireless

Basic Encoding Techniques I5

Digital data to analog signal

Amplitude-shift keying (ASK)

Amplitude difference of carrier

frequency

Frequency-shift keying (FSK)

Frequency difference near carrier

frequency

Phase-shift keying (PSK)

Phase of carrier signal shifted

Fig. 6.2 Modulation of Analog Signals for Digital Data

Page 6: Lecture3  signal encoding_in_wireless

Amplitude-Shift Keying (ASK)6

One binary digit represented by presence of carrier, at constant amplitude (1)

Other binary digit represented by absence of carrier (0)

where the carrier signal is Acos(2πfct)

Used to transmit digital data over optical fiberSusceptible to sudden gain changesInefficient modulation technique

( )

=ts( )tfA cπ2cos

0

1binary

0binary

Page 7: Lecture3  signal encoding_in_wireless

Binary Frequency-Shift Keying (BFSK)7

Two binary digits represented by two different frequencies near the carrier frequency

where f1 and f2 are offset from carrier frequency fc by equal but opposite amounts

Less susceptible to error than ASKUsed for high-frequency (3 to 30 MHz) radio

transmission

( )

=ts( )tfA 12cos π( )tfA 22cos π

1binary

0binary

Page 8: Lecture3  signal encoding_in_wireless

Using Multiple Frequencies (MFSK)8

More than two frequencies are used in FSKMore bandwidth efficientUsed for frequency hopping in spread spectrum

( ) tfAts ii π2cos=Mi≤≤1

element signalper bits ofnumber L2elements signaldifferent ofnumber M

)12(

===

−−+=L

i fdMifcf

Page 9: Lecture3  signal encoding_in_wireless

Using Multiple Frequencies (MFSK)

Example (6.1-P143):

With fc=250 kHz, fd=25 kHz and M=8 (L=3 bits), we have the following frequency assignments for each of the 8 possible 3-bits data combinations:

f1= 75 kHz 000 f2=125 kHz 001 f3=175 kHz 010

f4=225 kHz 011 f5=275 kHz 100 f6=325kHz 101

f7=375 kHz 110 f8=425 kHz 111

9

fdMifcfi )12( −−+=

Page 10: Lecture3  signal encoding_in_wireless

Phase-Shift Keying (PSK)10

Two-level PSK (BPSK):Uses two phases to represent binary digits

Differential PSK (DPSK): Phase shift with reference to previous bit Binary 0 – signal burst of same phase as previous signal burst Binary 1 – signal burst of opposite phase to previous signal burst

( )

=ts( )tfA cπ2cos

( )tfA cπ2cos−

1binary

0binary

Page 11: Lecture3  signal encoding_in_wireless

Phase-Shift Keying (PSK)11

Four-level PSK (QPSK) Each element represents two bits Phase shift in multiples of π/4

OQPSK: Introducing a time-delay Phase change less than π/2 Therefore less interference

( )

=ts

+

42cos

ππ tfA c 11

+

4

32cos

ππ tfA c

4

32cos

ππ tfA c

42cos

ππ tfA c

01

00

10

Page 12: Lecture3  signal encoding_in_wireless

QPSK & OQPSK Diagram

Fig. 6.6

12

Page 13: Lecture3  signal encoding_in_wireless

Quadrature Amplitude Modulation13

QAM is a combination of ASK and PSK Two different signals sent simultaneously on the same

carrier frequency( ) ( ) ( ) tftdtftdts cc ππ 2sin2cos 21 +=

Page 14: Lecture3  signal encoding_in_wireless

Demodulation of QAM14

Page 15: Lecture3  signal encoding_in_wireless

Reasons for Analog Modulation15

Modulation of digital signals When only analog transmission facilities are

available, digital to analog conversion required

Modulation of analog signals A higher frequency may be needed for effective

transmission Modulation permits frequency division

multiplexing

Page 16: Lecture3  signal encoding_in_wireless

Analog Modulation16

Page 17: Lecture3  signal encoding_in_wireless

Basic Encoding Techniques II17

Analog data to digital signalPulse code modulation (PCM)Delta modulation (DM)

Once analog data have been converted to digital signals, the digital datacan be transmitted using NRZ-Lcan be encoded as a digital signal using a

code other than NRZ-Lcan be converted to an analog signal

Page 18: Lecture3  signal encoding_in_wireless

Pulse Code Modulation18

Based on the sampling theorem

Each analog sample is assigned a binary code Analog samples are referred to

as pulse amplitude modulation (PAM) samples

The digital signal consists of block of n bits, where each n-bit number is the amplitude of a PCM pulse

Page 19: Lecture3  signal encoding_in_wireless

Pulse Code Modulation19

By quantizing the PAM pulse, original signal is only approximated Leads to quantizing noise

Signal-to-noise ratio for quantizing noise Each additional bit typically increases SNR by 6 dB, or a

factor of 4.

SNR ratio can be improved by nonlinear encoding such as non-uniform quantization.

Page 20: Lecture3  signal encoding_in_wireless

Delta Modulation (DM)20

In DM, analog input is approximated by staircase function Moves up or down by one quantization level (δ) at each

sampling intervalThe bit stream approximates derivative of analog

signal (rather than amplitude) 1 is generated if function goes up 0 otherwise

Two important parameters Size of step assigned to each binary digit (δ) Sampling rate

Accuracy improved by increasing sampling rate However, this increases the data rate

Page 21: Lecture3  signal encoding_in_wireless

DM21

Advantage of DM over PCM is the simplicity of its implementation. Used for audio signal encoding in Bluetooth. PCM exhibits better SNR at the same data rate.

Page 22: Lecture3  signal encoding_in_wireless

Recap22

Signal encodingBasic encoding techniques

Digital to analog Analog to analog Analog to digital

Problems 6.1, 6.10, 6.16