SlideShare a Scribd company logo
1 of 55
1
Data Communications and
Networking
Chapter 5
Signal Encoding Techniques
References:
Book Chapter 5
Data and Computer Communications, 8th
edition, by William Stallings
2
Outline
• Overview
—Encoding and Modulation
• Digital data, digital signal
• Digital data, analog signal
• Analog data, digital signal
• Analog data, analog signal
3
Encoding and Modulation
4
Encoding/modulation Techniques
• Digital data, digital signal
—The equipment for encoding digital data into a digital
signal is less complex and less expensive than
digital-to-analog modulation equipment.
• Analog data, digital signal
—Conversion of analog data (e.g., voice, video) to
digital form permits the use of modern digital
transmission & switching.
5
(I) Digital Data, Digital Signal
• Digital signal is a sequence of discrete,
discontinuous voltage pulses.
• Each pulse is a signal element.
• Binary data are transmitted by encoding the bit
stream into signal elements.
• In the simplest case, one bit is represented by
one signal element.
—E.g., 1 is represented by a lower voltage level, and 0
is represented by a higher voltage level
6
Terminologies
• Unipolar
— If all signal elements have the same algebraic sign (all positive or all
negative), then the signal is unipolar.
• Polar
— One logic state represented by positive voltage, the other by negative
voltage
• Data rate
— Rate of data transmission measured in bps: bits per second
• Duration or length of a bit
— Time taken for transmitter to emit the bit
• Modulation rate
— Rate at which the signal level changes
— Measured in baud: signal elements per second
• Mark and Space
— Mark: Binary 1
— Space: Binary 0
How are they
related?
7
Interpreting Signals at the Receiver
• The receiver needs to know
— The timing of each signal element, i.e., when a signal element begins and
ends
— signal levels
— These tasks are performed by sampling each element position in the middle of
the interval and comparing the value to a threshold.
• Factors affecting successful interpreting of signals
— Signal-to-noise ratio (SNR)
— Data rate
— Bandwidth
• Some principles:
— An increase in data rate increases bit error rate (BER)
— An increase in SNR decreases BER
— An increase in bandwidth allows an increase in data rate
• Another factor that can improve performance:
— Encoding scheme: the mapping from data bits to signal elements
8
Evaluation of Encoding
Schemes (1)
• Signal Spectrum
— Lack of high frequencies reduces required bandwidth
— Lack of dc component allows ac coupling via transformer,
providing electrical isolation and reducing interference
— Concentrate power in the middle of the bandwidth
• Clocking
— Need to determine the beginning and end of each bit
— Synchronizing transmitter and receiver
1. Use external clock, which is expensive; or
2. Synchronization mechanism based on the transmitted signal
9
Comparison of Encoding
Schemes (2)
• Error detection
—Various error-detection techniques will be covered in Chapter 9
—Some error detection capability can be built into signal encoding
scheme
• Signal interference and noise immunity
—Some codes are better than others in the presence of noise
—Performance is usually expressed in terms of BER
• Cost and complexity
—Higher signal rate (thus data rate) leads to higher cost
—Some codes require a signal rate greater than the actual data
rate
10
Encoding Schemes
• Nonreturn to Zero (NRZ)
—Nonreturn to Zero-Level (NRZ-L)
—Nonreturn to Zero Inverted (NRZI)
• Multilevel Binary
—Bipolar-AMI
—Pseudoternary
• Biphase
—Manchester
—Differential Manchester
11
12
NRZ
13
Nonreturn to Zero-Level (NRZ-L)
• Two different voltages for 0 and 1 bits
• Voltage is constant during a bit interval
—no transition, i.e. no return to zero voltage
• E.g. absence of voltage for zero, constant
positive voltage for one
• More often, negative voltage for one value and
positive for the other
• This is known as NRZ-L
14
Nonreturn to Zero Inverted
• NRZI: Nonreturn to zero, invert on ones
• Constant voltage pulse for duration of bit
• Data are encoded as presence or absence of
signal transition at the beginning of the bit time
• A transition (low to high or high to low) denotes
a binary 1
• No transition denotes binary 0
• NRZI is an example of differential encoding
technique
15
Differential Encoding
• Data are represented in terms of the changes
between successive signal elements, rather
than the signal elements themselves.
• It is more reliable to detect a transition in the
presence of noise than to compare a value to a
threshold.
• With a complex transmission layouts, it is easy
to lose the sense of the polarity of the signal.
16
NRZ pros and cons
• Pros
—Easy to engineer
—Make efficient use of bandwidth
• Cons
—The presence of dc component
—The lack of synchronization capability
• NRZ codes are commonly used for digital
magnetic recording, but not often used for signal
transmission.
17
Multilevel Binary
• Use more than two levels
• Bipolar-AMI: alternate mark inversion
—zero represented by no line signal
—one represented by a positive or negative pulse
—one pulses must alternate in polarity
—Advantages:
• No loss of synchronization if a long string of 1s occurs (0s
still be a problem)
• No net dc component
• Provides a simple means of error detection
18
Pseudoternary
• 1 represented by the absence of line signal
• 0 represented by alternating positive and
negative pulses
• No advantage or disadvantage over bipolar-AMI
19
Bipolar-AMI and Pseudoternary
0 1 0 0 1 1 0 0 0 1 1
20
Trade-off for Multilevel Binary
• Not as efficient as NRZ
—In a 3 level system, each signal element could
represent log23 = 1.58 bits
—However, in biploar-AMI & pseudoternary, each
signal element only represents one bit
—Receiver must distinguish between three levels
(+A, -A, 0)
—Requires approx. 3dB more signal power for same
probability of bit error, or
—The BER for NRZ codes, at a given SNR, is
significantly less than for mulitlevel binary.
21
Biphase
• Manchester
—There is a transition at the middle of each bit period.
—The midbit transition serves as a clock mechanism and also as
data: low to high represents 1, high to low represents 0
—Used by IEEE 802.3 Ethernet LAN
• Differential Manchester
—The midbit transition is used only to provide clocking.
—0 is represented by the presence of a transition at the beginning
of a bit period.
—1 is represented by the absence of a transition at the beginning
of a bit period.
—Note: this is a differential encoding scheme
—Used by IEEE 802.5 token ring LAN
22
Manchester Encoding
23
Differential Manchester
Encoding
24
Biphase Pros and Cons
• Pros
—Self-clocking: Because there is a predictable
transition during each bit time, the receiver can
synchronize on that transition.
—No dc component
—Error detection: the absence of an expected
transition can be used to detect errors
• Con
—Requires at least one transition per bit time and may
have as many as two transitions, thus,
—The maximum modulation rate is twice that for NRZ
—Requires more bandwidth
25
Modulation Rate
26
Scrambling
• Use scrambling to replace sequences that would
produce constant voltage
• Main idea:
—Sequences that would result in a constant voltage are replaced
by filling sequences that will provide sufficient transitions for the
receiver’s clock to maintain synchronization.
—Filling sequences must be recognized by receiver and replaced
with original data sequence.
—Filling sequence is the same length as original sequence.
• Design goals:
—No dc component
—No long sequences of zero-level line signals
—No reduction in data rate
—Error detection capability
27
B8ZS
• Bipolar With 8-Zeros Substitution
• Based on bipolar-AMI, whose drawback is a long string
of zeros may result in loss of synchronization.
• If octet of all zeros occurs and the last voltage pulse
preceding this octet was positive, encode as 000+-0-+
• If octet of all zeros occurs and the last voltage pulse
preceding this octet was negative, encode as 000-+0+-
• Causes two violations of AMI code
• Unlikely to occur as a result of noise
• Receiver recognizes the pattern and interprets the octet
as consisting of all zeros.
28
HDB3
• High-Density Bipolar-3 Zeros
• Based on bipolar-AMI
• String of four zeros is replaced with sequences
containing one or two pulses.
Number of Bipolar Pulses since last
substitution
Polarity of
Preceding Pulse
Odd Even
- 000- +00+
+ 000+ -00-
29
B8ZS and HDB3
30
(II) Digital Data, Analog Signal
• E.g., Public telephone system
—Designed to transmit analog signals in 300Hz to 3400Hz (limited
by the central office, not the twisted pair cable)
—Use modem for digital data (modulator-demodulator)
• Modulation involves operation on one or more of the
three characteristics of a carrier signal
—Amplitude shift keying (ASK)
—Frequency shift keying (FSK)
• Binary FSK (BFSK)
• Multiple FSK (MFSK)
—Phase shift keying (PSK)
• Binary PSK (BPSK)
• Four-level PSK (QPSK)
• Multilevel PSK (MPSK)
• QAM: a combination of ASK and PSK
31
Modulation Techniques
32
Amplitude Shift Keying
• Values are represented by different amplitudes
of the carrier frequency
• Usually, one amplitude is zero
—i.e. presence and absence of carrier is used
• Inefficient: up to 1200bps on voice grade lines
• ASK is used to transmit digital data over optical
fiber.
33
Binary Frequency Shift Keying
• The most common form of FSK is binary FSK
(BFSK)
• Two binary values represented by two different
frequencies (near carrier frequency)
• BFSK is less susceptible to error than ASK.
• Up to 1200bps on voice grade lines
• Also used for high frequency (3 to 30MHz) radio
34
Multiple FSK
• MFSK: More than two frequencies are used
• Each signalling element represents more than
one bit
• More bandwidth efficient
• But more prone to error!
35
FSK on Voice Grade Line
36
Phase Shift Keying
• In PSK, the phase of the carrier signal is shifted
to represent data.
• Binary PSK
—Two phases represent two binary digits
• Differential PSK
—Phase shifted relative to previous transmission rather
than some constant reference signal
37
Differential PSK
38
Multilevel PSK
• More efficient use of bandwidth
• Each signal element represents more than one
bit
• QPSK: quadrature PSK
—shifts of π/2 (90o
), i.e. 4 different phases
—Each signal element represents 2 bits
• Multilevel PSK
—Can use 8 or more phase angles, and each phase
can have more than one amplitude
—9600bps modem use 12 angles, four of which have
two amplitudes, in total 16 different signal elements
39
Quadrature Amplitude
Modulation
• QAM is used in the asymmetric digital
subscriber line (ADSL) and some wireless
standards.
• Combination of ASK and PSK
• A logical extension of QPSK
• Send two different signals simultaneously on the
same carrier frequency
—Use two copies of the carrier, one shifted by 90°
—Each carrier is ASK modulated
—Two independent signals over same medium
—Demodulate and combine for original binary output
40
QAM Levels
• Two level ASK
—Each of two streams in one of two states
—Four state system
—Essentially QPSK
• Four level ASK
—Combined stream in one of 16 states
• 64 and 256 state systems have been
implemented
• Improved data rate for given bandwidth
—Increased potential error rate
41
(III) Analog Data, Digital Signal
• Digitization
—Conversion of analog data into digital data
• Digital data can then be transmitted using NRZ-L
• Digital data can then be transmitted using code other than
NRZ-L
• Digital data can then be converted to analog signal
—Analog to digital conversion done using a codec
(coder-decoder)
—Two principle codec techniques
• Pulse Code Modulation
• Delta modulation
42
Digitizing Analog Data
43
Pulse Code Modulation
• Sampling Theorem: If a signal is sampled at regular
intervals of time and at a rate higher than twice the
highest signal frequency, then the samples contain all
the information of the original signal.
• For example, voice data are limited to below 4000Hz
—8000 samples per second is sufficient to characterize the voice
signal.
• Samples are analog samples, called Pulse Amplitude
Modulation (PAM) samples.
• To convert to digital, each analog sample must be
assigned a binary code.
44
Pulse Code Modulation
• Each sample is quantized into some level
—The original signal is now only approximated and
cannot be recovered exactly
—This effect is called quantizing error or quantizing
noise
• For example, 8 bit sample gives 256 levels
• 8000 samples per second and 8 bits per sample
gives 64kbps, for a single voice signal.
45
PCM Example
46
PCM Block Diagram
47
Nonlinear Encoding
• Typically, PCM scheme is refined using nonlinear
encoding.
• Quantization levels are not equally spaced.
• The problem of equal spacing:
—The mean absolute error for each sample is regardless of signal
level.
—Lower amplitude values are relatively more distorted.
• Nonlinear encoding:
—Use a greater number of quantizing steps for signals of low
amplitude, and a smaller number of quantizing steps for signals
of large amplitude
—Reduces overall signal distortion
48
Effect of Non-Linear Coding
49
Delta Modulation
• Modulation:
—An analog signal is approximated by a staircase
function that moves up or down by quantization level
at each sampling interval.
—If the value of the sampled waveform exceeds that of
the staircase function, 1 is generated, otherwise, 0 is
generated.
• Two important parameters:
—The size of the step.
—The sampling rate.
50
51
Delta Modulation
• Noise
—Slope overload noise (when the analog waveform is
changing rapidly than the staircase can follow)
—Quantizing noise (when the analog waveform is
changing slowly)
• Trade-off
—The quantizing noise increases as the size of the
step increases.
—The slope overload noise increases as the size of the
step decreases.
52
(IV) Analog Data, Analog Signals
• Modulation:
—Combine an input signal m(t) and a carrier frequency
fc to produce a signal s(t) whose bandwidth is usually
centered on fc
• E.g., voice signals are transmitted over
telephone lines at their original spectrum.
• Types of modulation
—Amplitude modulation: AM
—Angle Modulation
• Frequency modulation: FM
• Phase modulation: PM
53
Analog
Modulation
54
KEY POINTS
• Both analog and digital information can be encoded as
either analog or digital signals. The particular encoding
that is chosen depends on the specific requirements to
be met and the media and communications facilities
available.
• Digital data, digital signal: The simplest form of digital
encoding of digital data is to assign one voltage level to
binary one and another to binary zero. More complex
encoding schemes are used to improve performance, by
altering the spectrum of the signal and providing
synchronization capability.
• Digital data, analog signal: A modem converts digital
data to an analog signal so that it can be transmitted
over an analog line. The basic techniques are ASK,
FSK, and PSK.
55
KEY POINTS
• Analog data, digital signals: Analog data, such as voice
and video, are often digitized to be able to use digital
transmission facilities. The simplest technique is PCM
(Pulse Code Modulation), which involve sampling the
analog data periodically and quantizing the samples.
Another technique is Delta Modulation.
• Analog data, analog signals: Analog data are modulated
by a carrier frequency to produce an analog signal in a
different frequency band, which can be utilized on an
analog transmission system. The basic techniques are
AM (Amplitude Modulation), FM (Frequency
Modulation), and PM (Phase Modulation).

More Related Content

What's hot

Adversarial Search
Adversarial SearchAdversarial Search
Adversarial SearchMegha Sharma
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESEzhilya venkat
 
WIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALAWIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALASaikiran Panjala
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformationsYahya Alkhaldi
 
Computer graphics - colour crt and flat-panel displays
Computer graphics - colour crt and flat-panel displaysComputer graphics - colour crt and flat-panel displays
Computer graphics - colour crt and flat-panel displaysVishnupriya T H
 
Arq Protocols
Arq ProtocolsArq Protocols
Arq Protocolsanishgoel
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1Ankit Garg
 
Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)RagavanK6
 
Signals and Antennas in mobile computing
Signals and Antennas in mobile computingSignals and Antennas in mobile computing
Signals and Antennas in mobile computingMadhuri Badgujar
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filterarulraj121
 
Vertical redundancy check in Computer Network
Vertical redundancy check in Computer NetworkVertical redundancy check in Computer Network
Vertical redundancy check in Computer NetworkShivangiTak1
 

What's hot (20)

HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
 
Adversarial Search
Adversarial SearchAdversarial Search
Adversarial Search
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
WIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALAWIRELESS ATM BY SAIKIRAN PANJALA
WIRELESS ATM BY SAIKIRAN PANJALA
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformations
 
Computer graphics - colour crt and flat-panel displays
Computer graphics - colour crt and flat-panel displaysComputer graphics - colour crt and flat-panel displays
Computer graphics - colour crt and flat-panel displays
 
Arq Protocols
Arq ProtocolsArq Protocols
Arq Protocols
 
HSV color model
HSV color modelHSV color model
HSV color model
 
fractals
fractalsfractals
fractals
 
Structured Knowledge Representation
Structured Knowledge RepresentationStructured Knowledge Representation
Structured Knowledge Representation
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
 
Amps
AmpsAmps
Amps
 
Noise Models
Noise ModelsNoise Models
Noise Models
 
Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)Dip unit-i-ppt academic year(2016-17)
Dip unit-i-ppt academic year(2016-17)
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 
Signals and Antennas in mobile computing
Signals and Antennas in mobile computingSignals and Antennas in mobile computing
Signals and Antennas in mobile computing
 
Sharpening using frequency Domain Filter
Sharpening using frequency Domain FilterSharpening using frequency Domain Filter
Sharpening using frequency Domain Filter
 
Vertical redundancy check in Computer Network
Vertical redundancy check in Computer NetworkVertical redundancy check in Computer Network
Vertical redundancy check in Computer Network
 
Clipping
ClippingClipping
Clipping
 

Viewers also liked

Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniquesSyed Zaid Irshad
 
Chapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eChapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eadpeer
 
LiFePO4 VS Lead Acid
LiFePO4 VS Lead AcidLiFePO4 VS Lead Acid
LiFePO4 VS Lead AcidPatrick Ryan
 
Troubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital OscilloscopeTroubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital OscilloscopeRohde & Schwarz North America
 
Electric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic ConceptElectric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic Conceptrahman84
 
Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)Tsuyoshi Horigome
 
Heart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensorHeart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensorVedavyas PBurli
 
ppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchalppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchalharshid panchal
 
Introducing Electricity
Introducing  ElectricityIntroducing  Electricity
Introducing Electricityscotfuture
 
Ohm’s law
Ohm’s lawOhm’s law
Ohm’s lawaichikun
 
Curcite voltage
Curcite voltage  Curcite voltage
Curcite voltage Anis Arafat
 
Heart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontrollerHeart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontrollerSushil Mishra
 
Operational Amplifier Part 1
Operational Amplifier Part 1Operational Amplifier Part 1
Operational Amplifier Part 1Mukesh Tekwani
 
The Copywriter’s Handbook
The Copywriter’s HandbookThe Copywriter’s Handbook
The Copywriter’s HandbookColin Post
 

Viewers also liked (20)

AIR FLOW DETECTOR SYSTEM
AIR FLOW DETECTOR SYSTEMAIR FLOW DETECTOR SYSTEM
AIR FLOW DETECTOR SYSTEM
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniques
 
Chapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eChapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9e
 
LiFePO4 VS Lead Acid
LiFePO4 VS Lead AcidLiFePO4 VS Lead Acid
LiFePO4 VS Lead Acid
 
Troubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital OscilloscopeTroubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
Troubleshooting Switched Mode Power Supplies With A Digital Oscilloscope
 
NS2 5.3 Basic Electricity
NS2 5.3 Basic ElectricityNS2 5.3 Basic Electricity
NS2 5.3 Basic Electricity
 
Electric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic ConceptElectric circuits-chapter-1 Basic Concept
Electric circuits-chapter-1 Basic Concept
 
Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)Simple model of Lithium Ion Battery (PSpice)
Simple model of Lithium Ion Battery (PSpice)
 
Heart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensorHeart rate monitering using 8051 and sensor
Heart rate monitering using 8051 and sensor
 
ppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchalppt on Introduction to basic electrical concept by harshid panchal
ppt on Introduction to basic electrical concept by harshid panchal
 
Dc Power System
Dc Power SystemDc Power System
Dc Power System
 
Introducing Electricity
Introducing  ElectricityIntroducing  Electricity
Introducing Electricity
 
Ohm’s law
Ohm’s lawOhm’s law
Ohm’s law
 
Current and voltage
Current and voltageCurrent and voltage
Current and voltage
 
Curcite voltage
Curcite voltage  Curcite voltage
Curcite voltage
 
Insha Exports Pvt Ltd, Mumbai, Parking Barriers
Insha Exports Pvt Ltd, Mumbai, Parking BarriersInsha Exports Pvt Ltd, Mumbai, Parking Barriers
Insha Exports Pvt Ltd, Mumbai, Parking Barriers
 
Heart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontrollerHeart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontroller
 
Operational Amplifier Part 1
Operational Amplifier Part 1Operational Amplifier Part 1
Operational Amplifier Part 1
 
Electric circuits
Electric circuitsElectric circuits
Electric circuits
 
The Copywriter’s Handbook
The Copywriter’s HandbookThe Copywriter’s Handbook
The Copywriter’s Handbook
 

Similar to Ch05

CS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.pptCS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.pptmshanajoel6
 
Chap4 d t-d conversion
Chap4 d t-d conversionChap4 d t-d conversion
Chap4 d t-d conversionarslan_akbar90
 
Network Components
Network ComponentsNetwork Components
Network Componentszaisahil
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptxTekle12
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptxTekle12
 
Dc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesDc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesSyaiful Ahdan
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingAayush Kumar
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptfaisalahmed441
 
Lecture 2 encoding
Lecture 2 encoding Lecture 2 encoding
Lecture 2 encoding Josh Street
 
Lecture 2 encoding
Lecture 2 encodingLecture 2 encoding
Lecture 2 encodingJosh Street
 
Cse3461.c.signal encoding.09 04-2012
Cse3461.c.signal encoding.09 04-2012Cse3461.c.signal encoding.09 04-2012
Cse3461.c.signal encoding.09 04-2012Praveen Kumar
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptAbyThomas54
 
Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notesathiulla
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Bhupesh Rawat
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniquesOrbay Yeşil
 

Similar to Ch05 (20)

L8 signal encoding techniques
L8 signal encoding techniquesL8 signal encoding techniques
L8 signal encoding techniques
 
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.pptCS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
 
Chap4 d t-d conversion
Chap4 d t-d conversionChap4 d t-d conversion
Chap4 d t-d conversion
 
Network Components
Network ComponentsNetwork Components
Network Components
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
 
Dc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesDc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniques
 
Lecture set 2
Lecture set 2Lecture set 2
Lecture set 2
 
Digital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shapingDigital data transmission,line coding and pulse shaping
Digital data transmission,line coding and pulse shaping
 
05 signal encoding
05 signal encoding05 signal encoding
05 signal encoding
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.ppt
 
Lecture 2 encoding
Lecture 2 encoding Lecture 2 encoding
Lecture 2 encoding
 
Lecture 2 encoding
Lecture 2 encodingLecture 2 encoding
Lecture 2 encoding
 
Cse3461.c.signal encoding.09 04-2012
Cse3461.c.signal encoding.09 04-2012Cse3461.c.signal encoding.09 04-2012
Cse3461.c.signal encoding.09 04-2012
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.ppt
 
Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notes
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Binary to digital encoding tbs 301
Binary to digital encoding tbs 301Binary to digital encoding tbs 301
Binary to digital encoding tbs 301
 
Line Coding.pptx
Line Coding.pptxLine Coding.pptx
Line Coding.pptx
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniques
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 

Recently uploaded (20)

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 

Ch05

  • 1. 1 Data Communications and Networking Chapter 5 Signal Encoding Techniques References: Book Chapter 5 Data and Computer Communications, 8th edition, by William Stallings
  • 2. 2 Outline • Overview —Encoding and Modulation • Digital data, digital signal • Digital data, analog signal • Analog data, digital signal • Analog data, analog signal
  • 4. 4 Encoding/modulation Techniques • Digital data, digital signal —The equipment for encoding digital data into a digital signal is less complex and less expensive than digital-to-analog modulation equipment. • Analog data, digital signal —Conversion of analog data (e.g., voice, video) to digital form permits the use of modern digital transmission & switching.
  • 5. 5 (I) Digital Data, Digital Signal • Digital signal is a sequence of discrete, discontinuous voltage pulses. • Each pulse is a signal element. • Binary data are transmitted by encoding the bit stream into signal elements. • In the simplest case, one bit is represented by one signal element. —E.g., 1 is represented by a lower voltage level, and 0 is represented by a higher voltage level
  • 6. 6 Terminologies • Unipolar — If all signal elements have the same algebraic sign (all positive or all negative), then the signal is unipolar. • Polar — One logic state represented by positive voltage, the other by negative voltage • Data rate — Rate of data transmission measured in bps: bits per second • Duration or length of a bit — Time taken for transmitter to emit the bit • Modulation rate — Rate at which the signal level changes — Measured in baud: signal elements per second • Mark and Space — Mark: Binary 1 — Space: Binary 0 How are they related?
  • 7. 7 Interpreting Signals at the Receiver • The receiver needs to know — The timing of each signal element, i.e., when a signal element begins and ends — signal levels — These tasks are performed by sampling each element position in the middle of the interval and comparing the value to a threshold. • Factors affecting successful interpreting of signals — Signal-to-noise ratio (SNR) — Data rate — Bandwidth • Some principles: — An increase in data rate increases bit error rate (BER) — An increase in SNR decreases BER — An increase in bandwidth allows an increase in data rate • Another factor that can improve performance: — Encoding scheme: the mapping from data bits to signal elements
  • 8. 8 Evaluation of Encoding Schemes (1) • Signal Spectrum — Lack of high frequencies reduces required bandwidth — Lack of dc component allows ac coupling via transformer, providing electrical isolation and reducing interference — Concentrate power in the middle of the bandwidth • Clocking — Need to determine the beginning and end of each bit — Synchronizing transmitter and receiver 1. Use external clock, which is expensive; or 2. Synchronization mechanism based on the transmitted signal
  • 9. 9 Comparison of Encoding Schemes (2) • Error detection —Various error-detection techniques will be covered in Chapter 9 —Some error detection capability can be built into signal encoding scheme • Signal interference and noise immunity —Some codes are better than others in the presence of noise —Performance is usually expressed in terms of BER • Cost and complexity —Higher signal rate (thus data rate) leads to higher cost —Some codes require a signal rate greater than the actual data rate
  • 10. 10 Encoding Schemes • Nonreturn to Zero (NRZ) —Nonreturn to Zero-Level (NRZ-L) —Nonreturn to Zero Inverted (NRZI) • Multilevel Binary —Bipolar-AMI —Pseudoternary • Biphase —Manchester —Differential Manchester
  • 11. 11
  • 13. 13 Nonreturn to Zero-Level (NRZ-L) • Two different voltages for 0 and 1 bits • Voltage is constant during a bit interval —no transition, i.e. no return to zero voltage • E.g. absence of voltage for zero, constant positive voltage for one • More often, negative voltage for one value and positive for the other • This is known as NRZ-L
  • 14. 14 Nonreturn to Zero Inverted • NRZI: Nonreturn to zero, invert on ones • Constant voltage pulse for duration of bit • Data are encoded as presence or absence of signal transition at the beginning of the bit time • A transition (low to high or high to low) denotes a binary 1 • No transition denotes binary 0 • NRZI is an example of differential encoding technique
  • 15. 15 Differential Encoding • Data are represented in terms of the changes between successive signal elements, rather than the signal elements themselves. • It is more reliable to detect a transition in the presence of noise than to compare a value to a threshold. • With a complex transmission layouts, it is easy to lose the sense of the polarity of the signal.
  • 16. 16 NRZ pros and cons • Pros —Easy to engineer —Make efficient use of bandwidth • Cons —The presence of dc component —The lack of synchronization capability • NRZ codes are commonly used for digital magnetic recording, but not often used for signal transmission.
  • 17. 17 Multilevel Binary • Use more than two levels • Bipolar-AMI: alternate mark inversion —zero represented by no line signal —one represented by a positive or negative pulse —one pulses must alternate in polarity —Advantages: • No loss of synchronization if a long string of 1s occurs (0s still be a problem) • No net dc component • Provides a simple means of error detection
  • 18. 18 Pseudoternary • 1 represented by the absence of line signal • 0 represented by alternating positive and negative pulses • No advantage or disadvantage over bipolar-AMI
  • 19. 19 Bipolar-AMI and Pseudoternary 0 1 0 0 1 1 0 0 0 1 1
  • 20. 20 Trade-off for Multilevel Binary • Not as efficient as NRZ —In a 3 level system, each signal element could represent log23 = 1.58 bits —However, in biploar-AMI & pseudoternary, each signal element only represents one bit —Receiver must distinguish between three levels (+A, -A, 0) —Requires approx. 3dB more signal power for same probability of bit error, or —The BER for NRZ codes, at a given SNR, is significantly less than for mulitlevel binary.
  • 21. 21 Biphase • Manchester —There is a transition at the middle of each bit period. —The midbit transition serves as a clock mechanism and also as data: low to high represents 1, high to low represents 0 —Used by IEEE 802.3 Ethernet LAN • Differential Manchester —The midbit transition is used only to provide clocking. —0 is represented by the presence of a transition at the beginning of a bit period. —1 is represented by the absence of a transition at the beginning of a bit period. —Note: this is a differential encoding scheme —Used by IEEE 802.5 token ring LAN
  • 24. 24 Biphase Pros and Cons • Pros —Self-clocking: Because there is a predictable transition during each bit time, the receiver can synchronize on that transition. —No dc component —Error detection: the absence of an expected transition can be used to detect errors • Con —Requires at least one transition per bit time and may have as many as two transitions, thus, —The maximum modulation rate is twice that for NRZ —Requires more bandwidth
  • 26. 26 Scrambling • Use scrambling to replace sequences that would produce constant voltage • Main idea: —Sequences that would result in a constant voltage are replaced by filling sequences that will provide sufficient transitions for the receiver’s clock to maintain synchronization. —Filling sequences must be recognized by receiver and replaced with original data sequence. —Filling sequence is the same length as original sequence. • Design goals: —No dc component —No long sequences of zero-level line signals —No reduction in data rate —Error detection capability
  • 27. 27 B8ZS • Bipolar With 8-Zeros Substitution • Based on bipolar-AMI, whose drawback is a long string of zeros may result in loss of synchronization. • If octet of all zeros occurs and the last voltage pulse preceding this octet was positive, encode as 000+-0-+ • If octet of all zeros occurs and the last voltage pulse preceding this octet was negative, encode as 000-+0+- • Causes two violations of AMI code • Unlikely to occur as a result of noise • Receiver recognizes the pattern and interprets the octet as consisting of all zeros.
  • 28. 28 HDB3 • High-Density Bipolar-3 Zeros • Based on bipolar-AMI • String of four zeros is replaced with sequences containing one or two pulses. Number of Bipolar Pulses since last substitution Polarity of Preceding Pulse Odd Even - 000- +00+ + 000+ -00-
  • 30. 30 (II) Digital Data, Analog Signal • E.g., Public telephone system —Designed to transmit analog signals in 300Hz to 3400Hz (limited by the central office, not the twisted pair cable) —Use modem for digital data (modulator-demodulator) • Modulation involves operation on one or more of the three characteristics of a carrier signal —Amplitude shift keying (ASK) —Frequency shift keying (FSK) • Binary FSK (BFSK) • Multiple FSK (MFSK) —Phase shift keying (PSK) • Binary PSK (BPSK) • Four-level PSK (QPSK) • Multilevel PSK (MPSK) • QAM: a combination of ASK and PSK
  • 32. 32 Amplitude Shift Keying • Values are represented by different amplitudes of the carrier frequency • Usually, one amplitude is zero —i.e. presence and absence of carrier is used • Inefficient: up to 1200bps on voice grade lines • ASK is used to transmit digital data over optical fiber.
  • 33. 33 Binary Frequency Shift Keying • The most common form of FSK is binary FSK (BFSK) • Two binary values represented by two different frequencies (near carrier frequency) • BFSK is less susceptible to error than ASK. • Up to 1200bps on voice grade lines • Also used for high frequency (3 to 30MHz) radio
  • 34. 34 Multiple FSK • MFSK: More than two frequencies are used • Each signalling element represents more than one bit • More bandwidth efficient • But more prone to error!
  • 35. 35 FSK on Voice Grade Line
  • 36. 36 Phase Shift Keying • In PSK, the phase of the carrier signal is shifted to represent data. • Binary PSK —Two phases represent two binary digits • Differential PSK —Phase shifted relative to previous transmission rather than some constant reference signal
  • 38. 38 Multilevel PSK • More efficient use of bandwidth • Each signal element represents more than one bit • QPSK: quadrature PSK —shifts of π/2 (90o ), i.e. 4 different phases —Each signal element represents 2 bits • Multilevel PSK —Can use 8 or more phase angles, and each phase can have more than one amplitude —9600bps modem use 12 angles, four of which have two amplitudes, in total 16 different signal elements
  • 39. 39 Quadrature Amplitude Modulation • QAM is used in the asymmetric digital subscriber line (ADSL) and some wireless standards. • Combination of ASK and PSK • A logical extension of QPSK • Send two different signals simultaneously on the same carrier frequency —Use two copies of the carrier, one shifted by 90° —Each carrier is ASK modulated —Two independent signals over same medium —Demodulate and combine for original binary output
  • 40. 40 QAM Levels • Two level ASK —Each of two streams in one of two states —Four state system —Essentially QPSK • Four level ASK —Combined stream in one of 16 states • 64 and 256 state systems have been implemented • Improved data rate for given bandwidth —Increased potential error rate
  • 41. 41 (III) Analog Data, Digital Signal • Digitization —Conversion of analog data into digital data • Digital data can then be transmitted using NRZ-L • Digital data can then be transmitted using code other than NRZ-L • Digital data can then be converted to analog signal —Analog to digital conversion done using a codec (coder-decoder) —Two principle codec techniques • Pulse Code Modulation • Delta modulation
  • 43. 43 Pulse Code Modulation • Sampling Theorem: If a signal is sampled at regular intervals of time and at a rate higher than twice the highest signal frequency, then the samples contain all the information of the original signal. • For example, voice data are limited to below 4000Hz —8000 samples per second is sufficient to characterize the voice signal. • Samples are analog samples, called Pulse Amplitude Modulation (PAM) samples. • To convert to digital, each analog sample must be assigned a binary code.
  • 44. 44 Pulse Code Modulation • Each sample is quantized into some level —The original signal is now only approximated and cannot be recovered exactly —This effect is called quantizing error or quantizing noise • For example, 8 bit sample gives 256 levels • 8000 samples per second and 8 bits per sample gives 64kbps, for a single voice signal.
  • 47. 47 Nonlinear Encoding • Typically, PCM scheme is refined using nonlinear encoding. • Quantization levels are not equally spaced. • The problem of equal spacing: —The mean absolute error for each sample is regardless of signal level. —Lower amplitude values are relatively more distorted. • Nonlinear encoding: —Use a greater number of quantizing steps for signals of low amplitude, and a smaller number of quantizing steps for signals of large amplitude —Reduces overall signal distortion
  • 49. 49 Delta Modulation • Modulation: —An analog signal is approximated by a staircase function that moves up or down by quantization level at each sampling interval. —If the value of the sampled waveform exceeds that of the staircase function, 1 is generated, otherwise, 0 is generated. • Two important parameters: —The size of the step. —The sampling rate.
  • 50. 50
  • 51. 51 Delta Modulation • Noise —Slope overload noise (when the analog waveform is changing rapidly than the staircase can follow) —Quantizing noise (when the analog waveform is changing slowly) • Trade-off —The quantizing noise increases as the size of the step increases. —The slope overload noise increases as the size of the step decreases.
  • 52. 52 (IV) Analog Data, Analog Signals • Modulation: —Combine an input signal m(t) and a carrier frequency fc to produce a signal s(t) whose bandwidth is usually centered on fc • E.g., voice signals are transmitted over telephone lines at their original spectrum. • Types of modulation —Amplitude modulation: AM —Angle Modulation • Frequency modulation: FM • Phase modulation: PM
  • 54. 54 KEY POINTS • Both analog and digital information can be encoded as either analog or digital signals. The particular encoding that is chosen depends on the specific requirements to be met and the media and communications facilities available. • Digital data, digital signal: The simplest form of digital encoding of digital data is to assign one voltage level to binary one and another to binary zero. More complex encoding schemes are used to improve performance, by altering the spectrum of the signal and providing synchronization capability. • Digital data, analog signal: A modem converts digital data to an analog signal so that it can be transmitted over an analog line. The basic techniques are ASK, FSK, and PSK.
  • 55. 55 KEY POINTS • Analog data, digital signals: Analog data, such as voice and video, are often digitized to be able to use digital transmission facilities. The simplest technique is PCM (Pulse Code Modulation), which involve sampling the analog data periodically and quantizing the samples. Another technique is Delta Modulation. • Analog data, analog signals: Analog data are modulated by a carrier frequency to produce an analog signal in a different frequency band, which can be utilized on an analog transmission system. The basic techniques are AM (Amplitude Modulation), FM (Frequency Modulation), and PM (Phase Modulation).