SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
CSE 3461/5461: Introduction to Computer
Networking & Internet Technologies

Signal Encoding
Techniques
Presentation C

Study: 5.1, 5.2 (pages 151-155 only),
5.3, 5.4 (Figure 5.24 only)

Gojko Babić

09-04-2012

Signal Encoding Technique

gbabic

Presentation C

2

1
Encoding & Modulation
• Encoding (Modulation) Techniques:
– Digital data  digital signal
– Analog data  digital signal
– Digital data  analog signal
– Analog data  analog signal
• Interpreting signals at receiver needs to know
– Timing of bits - when they start and end
– Signal levels
• Factors affecting successful interpreting of incoming signals:
– Signal to noise ratio: increased SNR decreases error rate
– Data rate: increased data rate increases error rate
– Bandwidth: increased bandwidth allows increasing data rate
– Encoding schema
gbabic

Presentation C

3

Data Encoding/Modulation Evaluation Factors
• Signal Spectrum
– Lack of high frequencies reduces required bandwidth
– Lack of dc component is desirable, i.e. it should be avoided
– Concentrate power in the middle of the bandwidth
• Clocking, i.e. synchronizing transmitter and receiver
– External clock
– Sync mechanism based on signal
• Error detection
– Can be built into signal encoding
• Signal interference and noise immunity
– Some codes are better than others
• Cost and complexity
– Higher signal rate (& thus data rate) lead to higher costs
– Some codes require signal rate greater than data rate
gbabic

Presentation C

4

2
Terminology
• unipolar – all signal elements have the same sign
• polar – one logic state represented by positive voltage and
the other by negative voltage
• data rate – rate of data ( R ) transmission in bits per
second
• duration or length of a bit – time taken for transmitter to
emit the bit (1/R)
• modulation rate – rate at which the signal level changes,
measured in baud = signal elements per second.
gbabic

Presentation C

5

Digital Data  Digital Signal
• Digital signal characteristics:
– Discrete, discontinuous voltage pulses
– Each pulse is a signal element
– Binary data encoded into signal elements
• Encoding schemas:
– Nonreturn to Zero-Level (NRZ-L) NRZ techniques
– Nonreturn to Zero Inverted (NRZI)
– Bipolar -AMI Multilevel binary techniques
– Pseudoternary
– Manchester
Biphase techniques
– Differential Manchester
– B8ZS Scrambling techniques
– HDB3
gbabic

Presentation C

6

3
NRZ Techniques: Illustration

• NRZI Encoding:
– constant voltage for duration of bit
– Data encoded as presence or absence of signal transition
at beginning of bit time
– Transition (low to high or high to low) denotes a binary 1
– No transition denotes binary 0
– This is an example of differential encoding:
• Data represented by changes rather than levels
• More reliable detection of transition rather than level

gbabic

Presentation C

7

Multilevel Binary Techniques: Illustration
• Use more than two levels
0

gbabic

1

0

0

1

Presentation C

1

0

0

0

1

1

8

4
Multilevel Binary Techniques
• Bipolar-AMI Encoding
–
–
–
–

zero represented by no line signal
one represented by positive or negative pulse
one pulses alternate in polarity
No loss of synchronization if a long string of ones
(zeros still a problem)

• Pseudoternary Encoding
– One represented by absence of line signal
– Zero represented by alternating positive and negative
– No loss of sync if a long string of zeros (ones still a
problem)
– No advantage or disadvantage over bipolar-AMI
gbabic

Presentation C

9

Multilevel Binary Techniques: Pros & Cons
• Not as efficient as NRZ:
– Each signal element only represents one bit
– Receiver must distinguish between three levels (+A, -A, 0)
– Requires approximately 3dB more signal power for same
probability of bit error
• Pros:
– No net dc component
– Error detection capabilities
– Synchronization capabilities
– Lower bandwidth required
• First two pros above are cons of NRZ techniques
• NRZ techniques used for magnetic recording and not often
used for signal transmission
gbabic

Presentation C

10

5
Biphase Technique: Manchester Encoding
•
•
•
•
•

Transition in middle of each bit period
Low to high represents one
High to low represents zero
Transition serves as clock and data
Used by IEEE 802.3 (10Mbps Ethernet)

gbabic

Presentation C

11

Biphase Technique: Differential Manchester
•
•
•
•
•

Midbit transition is clocking only
Transition at start of a bit period represents zero
No transition at start of a bit period represents one
Note: this is a differential encoding scheme
Used by IEEE 802.5 (Token ring)

gbabic

Presentation C

12

6
Data Rate and Modulation Rate
• Data rate = 1/T, where T is a bit time, i.e. a bit duration.
• Modulation rate is the rate at which signals are generated.

Figure 5.5
gbabic

Presentation C

13

Biphase Techniques: Pros and Cons
• Con
– At least one transition per bit time and possibly two
– Maximum modulation rate is twice NRZ
– Requires more bandwidth
• Pros
– Synchronization on mid bit transition (self clocking)
– No dc component
– Error detection
• Absence of expected transition

gbabic

Presentation C

14

7
Scrambling Techniques (1)
• Use scrambling to replace sequences that would produce
constant voltage
• These filling sequences must:
o produce enough transitions to sync
o be recognized by receiver & replaced with original
o be same length as original
• Design goals
o have no dc component
o have no long sequences of zero level line signal
o have no reduction in data rate
o give error detection capability

gbabic

Presentation C

15

Scrambling Techniques (2)
• Both B8ZS and HDB3 encoding based on bipolar-AMI
• Replace sequences that would produce constant voltage

Figure 5.6

gbabic

Presentation C

16

8
B8ZS and HDB3 Encoding
• B8ZS: Bipolar With 8 Zeros Substitution
– An octet of all zeros is encoded as 000+-0-+ if the last
voltage pulse preceding was positive
– An octet of all zeros is encoded as 000-+0+- if the last
voltage pulse preceding was negative
– Causes two violations of AMI code
– Unlikely to occur as a result of noise
– Receiver detects and interprets as octet of all zeros
• HDB3: High Density Bipolar 3 Zeros
– String of four zeros replaced according to the following:
Number of Pulses (ones) since Last Substitution
Polarity of preceding pulse

odd

even

–

000-

+00+

+

000+

-00-

gbabic

Presentation C

17

Digital Data  Analog signal

ASK - Amplitude shift keying

FSK - Frequency shift keying

PSK - Phase shift keying

Figure 5.7
gbabic

Presentation C

18

9
Amplitude & Frequency Shift Keying
• Amplitude Shift Keying – ASK
– Values represented by different amplitudes of carrier
– Usually, one amplitude is zero
• i.e. presence and absence of carrier is used
– Susceptible to sudden gain changes
– Relatively inefficient over copper lines
– But efficiently used over optical fiber

• Frequency Shift Keying – FSK
– Most common form is binary FSK or BFSK
– Two binary values represented by two different frequencies
– Less susceptible to error than ASK
– Multi FSK: more than two frequencies used
– each signalling element represents more than one bit
– more bandwidth efficient
– but more prone to error
gbabic

Presentation C

19

Phase Shift Keying
• Phase of carrier signal is shifted to represent data
• Two-level (Binary) PSK
– Two phases represent two binary digits
• Differential PSK
– Phase shifted relative to previous transmission rather than
some reference signal
• Four-level (Quadrature) PSK - QPSK
– More efficient use by each signal element representing
more than one bit
– e.g. shifts of /2 (90o) and each element represents two
bits
• In the presence of noise, bit error rate of PSK and QPSK are
about 3dB superior to ASK and FSK
gbabic

Presentation C

20

10
Differential PSK

Figure 5.10
gbabic

Presentation C

21

Multilevel PSK
• Multilevel PSK
– Can use more phase angles and have more than one
amplitude
– 9600bps modem use 12 angles , four of which have two
amplitudes, for total of 16 different signaling elements
• Quadrature Amplitude Modulation - QAM is combination of
ASK and PSK, and essentially multilevel PSK
• QAM is used in ADSL

gbabic

Presentation C

22

11
Analog Data  Digital Signal
• Digitizing of analog data (e.g. voice) is conversion of analog
data into digital data which can then be transmitted using some
digital encoding (codec) or analog modulation.
• Pulse Code Modulation – PCM used for voice encoding
• PCM is based on “Sampling Theorem”:
– If a signal is sampled at regular intervals at a rate higher
than twice the highest signal frequency, the samples contain
all the information of the original signal
• Those are analog samples (Pulse Amplitude Modulation, PAM)
• Each sample is then assigned digital value by rounding or
truncation
– Quantizing error or noise introduced
• Approximations mean it is impossible to recover original exactly
gbabic

Presentation C

23

PCM Example

Figure 5.17

Figure 5.16
gbabic

Presentation C

24

12
PCM Applications
• Voice over telephone lines:
– Voice data limited to below 4000Hz, thus it require 8000
sample per second
– 128 levels considered sufficient  7 bit per sample
– 8000 x 7 = 56kbps for PCM over telephone lines
• CD - quality audio:
– Standard sampling rate: 44.1k samples per second, since
music is limited to about 20kHz
– 16 bits per sample (i.e. 216 = 64*1024 levels) used in an
attempt to minimize the effect of quantization noise
– the stereophonic music requires 2 separate channels
– Total bit rate = 2 × 16 × 44.1 × 103 = 1.411Mbps
– Capacity for 1 hour = 1.411 × 106 × 3600 sec
= 5079.6Mbits = 634.95Mbytes
– CD disc capacity: about 750Mbytes
gbabic

Presentation C

25

DVD and High Quality Music
• What does DVD acronym stand for?
– Digital Video Disc or
– Digital Versatile Disc
• DVD disc capacity:
– Single side/single layer = 4.37Gbytes
• DVD–A (audio) characteristics (different from DVD–V (video)):
– 6 channels (instead of 2 in stereo music))
– 24 bits per sample (instead of 16)
– 96k samples per sec (instead of 44.1k)
– Max bit rate = 6×24×96×103=13.824Mbps
– DVD specification limits max rate to 9.6Mbps
– MLP (Merdian Lossless Packing) compression used, where
(uncompressed) PCM goes through an additional step
• Super Audio CD (SACD): an alternative to DVD–A
• HD DVD and Blue Ray disk with capacity over 20 Gbytes
gbabic

Presentation C

26

13
Analog Data  Analog Signal
• Why modulate analog signals?
– Higher frequency can give more efficient transmission
– Permits frequency division multiplexing

Figure 5.24
gbabic

Presentation C

27

14

Contenu connexe

Tendances

Speech coding standards2
Speech coding standards2Speech coding standards2
Speech coding standards2elroy25
 
Software Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGASoftware Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGAIRJET Journal
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_Efficiencyaniruddh Tyagi
 
3a. Speech Coders
3a. Speech Coders3a. Speech Coders
3a. Speech Coderser_psolanki
 
3 g huawei ran resource monitoring and management recommended
3 g huawei ran resource monitoring and management recommended3 g huawei ran resource monitoring and management recommended
3 g huawei ran resource monitoring and management recommendedMery Koto
 
Dsp U Lec02 Data Converters
Dsp U   Lec02 Data ConvertersDsp U   Lec02 Data Converters
Dsp U Lec02 Data Converterstaha25
 
Design and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpgaDesign and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpgaTarik Kazaz
 
Intermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_SimpleIntermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_SimpleRobert Kirchhoefer
 
Loudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness WebinarLoudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness WebinarVolicon
 

Tendances (16)

Ln3619761985
Ln3619761985Ln3619761985
Ln3619761985
 
Speech coding standards2
Speech coding standards2Speech coding standards2
Speech coding standards2
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
 
05 b rrm dl PARAMETER
05 b rrm dl PARAMETER05 b rrm dl PARAMETER
05 b rrm dl PARAMETER
 
Software Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGASoftware Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGA
 
H0534248
H0534248H0534248
H0534248
 
Fast Convergence in IP Network
Fast Convergence in IP Network Fast Convergence in IP Network
Fast Convergence in IP Network
 
Transrating_Efficiency
Transrating_EfficiencyTransrating_Efficiency
Transrating_Efficiency
 
3a. Speech Coders
3a. Speech Coders3a. Speech Coders
3a. Speech Coders
 
3 g huawei ran resource monitoring and management recommended
3 g huawei ran resource monitoring and management recommended3 g huawei ran resource monitoring and management recommended
3 g huawei ran resource monitoring and management recommended
 
Vlsics08
Vlsics08Vlsics08
Vlsics08
 
Dsp U Lec02 Data Converters
Dsp U   Lec02 Data ConvertersDsp U   Lec02 Data Converters
Dsp U Lec02 Data Converters
 
Design and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpgaDesign and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpga
 
Intermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_SimpleIntermodulation_Measurements_Made_Simple
Intermodulation_Measurements_Made_Simple
 
Barcelona keynote web
Barcelona keynote webBarcelona keynote web
Barcelona keynote web
 
Loudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness WebinarLoudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness Webinar
 

En vedette

Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principlesmekind
 
Encoding in Data Communication DC8
Encoding in Data Communication DC8Encoding in Data Communication DC8
Encoding in Data Communication DC8koolkampus
 
4 signal encodingtechniques
4 signal encodingtechniques4 signal encodingtechniques
4 signal encodingtechniquesHattori Sidek
 
Comparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelComparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelConferencias FIST
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 

En vedette (7)

Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principles
 
Encoding Techniques
Encoding TechniquesEncoding Techniques
Encoding Techniques
 
Data encoding
Data encodingData encoding
Data encoding
 
Encoding in Data Communication DC8
Encoding in Data Communication DC8Encoding in Data Communication DC8
Encoding in Data Communication DC8
 
4 signal encodingtechniques
4 signal encodingtechniques4 signal encodingtechniques
4 signal encodingtechniques
 
Comparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP ModelComparison and Contrast between OSI and TCP/IP Model
Comparison and Contrast between OSI and TCP/IP Model
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 

Similaire à Cse3461.c.signal encoding.09 04-2012

Similaire à Cse3461.c.signal encoding.09 04-2012 (20)

CS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.pptCS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
 
L8 signal encoding techniques
L8 signal encoding techniquesL8 signal encoding techniques
L8 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
 
Chap4 d t-d conversion
Chap4 d t-d conversionChap4 d t-d conversion
Chap4 d t-d conversion
 
Analog Transmission
Analog TransmissionAnalog Transmission
Analog Transmission
 
Lecture 2 encoding
Lecture 2 encoding Lecture 2 encoding
Lecture 2 encoding
 
Lecture 2 encoding
Lecture 2 encodingLecture 2 encoding
Lecture 2 encoding
 
Digital Communication 2
Digital Communication 2Digital Communication 2
Digital Communication 2
 
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
 
Digital Transmission 1.ppt
Digital Transmission 1.pptDigital Transmission 1.ppt
Digital Transmission 1.ppt
 
05 signal encoding
05 signal encoding05 signal encoding
05 signal encoding
 
komdat5
komdat5komdat5
komdat5
 
Lecture set 2
Lecture set 2Lecture set 2
Lecture set 2
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
Pass band transmission
Pass band transmission Pass band transmission
Pass band transmission
 
Base band transmission
Base band transmissionBase band transmission
Base band transmission
 
Base band transmission
Base band transmissionBase band transmission
Base band transmission
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniques
 
Pulse Code Modulation.pptx
Pulse Code Modulation.pptxPulse Code Modulation.pptx
Pulse Code Modulation.pptx
 

Plus de Praveen Kumar (20)

Summer2014 internship
Summer2014 internshipSummer2014 internship
Summer2014 internship
 
Summer+training 2
Summer+training 2Summer+training 2
Summer+training 2
 
Summer+training
Summer+trainingSummer+training
Summer+training
 
Solutions1.1
Solutions1.1Solutions1.1
Solutions1.1
 
Slides15
Slides15Slides15
Slides15
 
Scribed lec8
Scribed lec8Scribed lec8
Scribed lec8
 
Scholarship sc st
Scholarship sc stScholarship sc st
Scholarship sc st
 
Networks 2
Networks 2Networks 2
Networks 2
 
Mithfh lecturenotes 9
Mithfh lecturenotes 9Mithfh lecturenotes 9
Mithfh lecturenotes 9
 
Mcs student
Mcs studentMcs student
Mcs student
 
Math350 hw2solutions
Math350 hw2solutionsMath350 hw2solutions
Math350 hw2solutions
 
Matching
MatchingMatching
Matching
 
Line circle draw
Line circle drawLine circle draw
Line circle draw
 
Lecture3
Lecture3Lecture3
Lecture3
 
Lec2 state space
Lec2 state spaceLec2 state space
Lec2 state space
 
Graphtheory
GraphtheoryGraphtheory
Graphtheory
 
Graphics display-devicesmod-1
Graphics display-devicesmod-1Graphics display-devicesmod-1
Graphics display-devicesmod-1
 
Games.4
Games.4Games.4
Games.4
 
Dda line-algorithm
Dda line-algorithmDda line-algorithm
Dda line-algorithm
 
Cs344 lect15-robotic-knowledge-inferencing-prolog-11feb08
Cs344 lect15-robotic-knowledge-inferencing-prolog-11feb08Cs344 lect15-robotic-knowledge-inferencing-prolog-11feb08
Cs344 lect15-robotic-knowledge-inferencing-prolog-11feb08
 

Dernier

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 

Dernier (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

Cse3461.c.signal encoding.09 04-2012

  • 1. CSE 3461/5461: Introduction to Computer Networking & Internet Technologies Signal Encoding Techniques Presentation C Study: 5.1, 5.2 (pages 151-155 only), 5.3, 5.4 (Figure 5.24 only) Gojko Babić 09-04-2012 Signal Encoding Technique gbabic Presentation C 2 1
  • 2. Encoding & Modulation • Encoding (Modulation) Techniques: – Digital data  digital signal – Analog data  digital signal – Digital data  analog signal – Analog data  analog signal • Interpreting signals at receiver needs to know – Timing of bits - when they start and end – Signal levels • Factors affecting successful interpreting of incoming signals: – Signal to noise ratio: increased SNR decreases error rate – Data rate: increased data rate increases error rate – Bandwidth: increased bandwidth allows increasing data rate – Encoding schema gbabic Presentation C 3 Data Encoding/Modulation Evaluation Factors • Signal Spectrum – Lack of high frequencies reduces required bandwidth – Lack of dc component is desirable, i.e. it should be avoided – Concentrate power in the middle of the bandwidth • Clocking, i.e. synchronizing transmitter and receiver – External clock – Sync mechanism based on signal • Error detection – Can be built into signal encoding • Signal interference and noise immunity – Some codes are better than others • Cost and complexity – Higher signal rate (& thus data rate) lead to higher costs – Some codes require signal rate greater than data rate gbabic Presentation C 4 2
  • 3. Terminology • unipolar – all signal elements have the same sign • polar – one logic state represented by positive voltage and the other by negative voltage • data rate – rate of data ( R ) transmission in bits per second • duration or length of a bit – time taken for transmitter to emit the bit (1/R) • modulation rate – rate at which the signal level changes, measured in baud = signal elements per second. gbabic Presentation C 5 Digital Data  Digital Signal • Digital signal characteristics: – Discrete, discontinuous voltage pulses – Each pulse is a signal element – Binary data encoded into signal elements • Encoding schemas: – Nonreturn to Zero-Level (NRZ-L) NRZ techniques – Nonreturn to Zero Inverted (NRZI) – Bipolar -AMI Multilevel binary techniques – Pseudoternary – Manchester Biphase techniques – Differential Manchester – B8ZS Scrambling techniques – HDB3 gbabic Presentation C 6 3
  • 4. NRZ Techniques: Illustration • NRZI Encoding: – constant voltage for duration of bit – Data encoded as presence or absence of signal transition at beginning of bit time – Transition (low to high or high to low) denotes a binary 1 – No transition denotes binary 0 – This is an example of differential encoding: • Data represented by changes rather than levels • More reliable detection of transition rather than level gbabic Presentation C 7 Multilevel Binary Techniques: Illustration • Use more than two levels 0 gbabic 1 0 0 1 Presentation C 1 0 0 0 1 1 8 4
  • 5. Multilevel Binary Techniques • Bipolar-AMI Encoding – – – – zero represented by no line signal one represented by positive or negative pulse one pulses alternate in polarity No loss of synchronization if a long string of ones (zeros still a problem) • Pseudoternary Encoding – One represented by absence of line signal – Zero represented by alternating positive and negative – No loss of sync if a long string of zeros (ones still a problem) – No advantage or disadvantage over bipolar-AMI gbabic Presentation C 9 Multilevel Binary Techniques: Pros & Cons • Not as efficient as NRZ: – Each signal element only represents one bit – Receiver must distinguish between three levels (+A, -A, 0) – Requires approximately 3dB more signal power for same probability of bit error • Pros: – No net dc component – Error detection capabilities – Synchronization capabilities – Lower bandwidth required • First two pros above are cons of NRZ techniques • NRZ techniques used for magnetic recording and not often used for signal transmission gbabic Presentation C 10 5
  • 6. Biphase Technique: Manchester Encoding • • • • • Transition in middle of each bit period Low to high represents one High to low represents zero Transition serves as clock and data Used by IEEE 802.3 (10Mbps Ethernet) gbabic Presentation C 11 Biphase Technique: Differential Manchester • • • • • Midbit transition is clocking only Transition at start of a bit period represents zero No transition at start of a bit period represents one Note: this is a differential encoding scheme Used by IEEE 802.5 (Token ring) gbabic Presentation C 12 6
  • 7. Data Rate and Modulation Rate • Data rate = 1/T, where T is a bit time, i.e. a bit duration. • Modulation rate is the rate at which signals are generated. Figure 5.5 gbabic Presentation C 13 Biphase Techniques: Pros and Cons • Con – At least one transition per bit time and possibly two – Maximum modulation rate is twice NRZ – Requires more bandwidth • Pros – Synchronization on mid bit transition (self clocking) – No dc component – Error detection • Absence of expected transition gbabic Presentation C 14 7
  • 8. Scrambling Techniques (1) • Use scrambling to replace sequences that would produce constant voltage • These filling sequences must: o produce enough transitions to sync o be recognized by receiver & replaced with original o be same length as original • Design goals o have no dc component o have no long sequences of zero level line signal o have no reduction in data rate o give error detection capability gbabic Presentation C 15 Scrambling Techniques (2) • Both B8ZS and HDB3 encoding based on bipolar-AMI • Replace sequences that would produce constant voltage Figure 5.6 gbabic Presentation C 16 8
  • 9. B8ZS and HDB3 Encoding • B8ZS: Bipolar With 8 Zeros Substitution – An octet of all zeros is encoded as 000+-0-+ if the last voltage pulse preceding was positive – An octet of all zeros is encoded as 000-+0+- if the last voltage pulse preceding was negative – Causes two violations of AMI code – Unlikely to occur as a result of noise – Receiver detects and interprets as octet of all zeros • HDB3: High Density Bipolar 3 Zeros – String of four zeros replaced according to the following: Number of Pulses (ones) since Last Substitution Polarity of preceding pulse odd even – 000- +00+ + 000+ -00- gbabic Presentation C 17 Digital Data  Analog signal ASK - Amplitude shift keying FSK - Frequency shift keying PSK - Phase shift keying Figure 5.7 gbabic Presentation C 18 9
  • 10. Amplitude & Frequency Shift Keying • Amplitude Shift Keying – ASK – Values represented by different amplitudes of carrier – Usually, one amplitude is zero • i.e. presence and absence of carrier is used – Susceptible to sudden gain changes – Relatively inefficient over copper lines – But efficiently used over optical fiber • Frequency Shift Keying – FSK – Most common form is binary FSK or BFSK – Two binary values represented by two different frequencies – Less susceptible to error than ASK – Multi FSK: more than two frequencies used – each signalling element represents more than one bit – more bandwidth efficient – but more prone to error gbabic Presentation C 19 Phase Shift Keying • Phase of carrier signal is shifted to represent data • Two-level (Binary) PSK – Two phases represent two binary digits • Differential PSK – Phase shifted relative to previous transmission rather than some reference signal • Four-level (Quadrature) PSK - QPSK – More efficient use by each signal element representing more than one bit – e.g. shifts of /2 (90o) and each element represents two bits • In the presence of noise, bit error rate of PSK and QPSK are about 3dB superior to ASK and FSK gbabic Presentation C 20 10
  • 11. Differential PSK Figure 5.10 gbabic Presentation C 21 Multilevel PSK • Multilevel PSK – Can use more phase angles and have more than one amplitude – 9600bps modem use 12 angles , four of which have two amplitudes, for total of 16 different signaling elements • Quadrature Amplitude Modulation - QAM is combination of ASK and PSK, and essentially multilevel PSK • QAM is used in ADSL gbabic Presentation C 22 11
  • 12. Analog Data  Digital Signal • Digitizing of analog data (e.g. voice) is conversion of analog data into digital data which can then be transmitted using some digital encoding (codec) or analog modulation. • Pulse Code Modulation – PCM used for voice encoding • PCM is based on “Sampling Theorem”: – If a signal is sampled at regular intervals at a rate higher than twice the highest signal frequency, the samples contain all the information of the original signal • Those are analog samples (Pulse Amplitude Modulation, PAM) • Each sample is then assigned digital value by rounding or truncation – Quantizing error or noise introduced • Approximations mean it is impossible to recover original exactly gbabic Presentation C 23 PCM Example Figure 5.17 Figure 5.16 gbabic Presentation C 24 12
  • 13. PCM Applications • Voice over telephone lines: – Voice data limited to below 4000Hz, thus it require 8000 sample per second – 128 levels considered sufficient  7 bit per sample – 8000 x 7 = 56kbps for PCM over telephone lines • CD - quality audio: – Standard sampling rate: 44.1k samples per second, since music is limited to about 20kHz – 16 bits per sample (i.e. 216 = 64*1024 levels) used in an attempt to minimize the effect of quantization noise – the stereophonic music requires 2 separate channels – Total bit rate = 2 × 16 × 44.1 × 103 = 1.411Mbps – Capacity for 1 hour = 1.411 × 106 × 3600 sec = 5079.6Mbits = 634.95Mbytes – CD disc capacity: about 750Mbytes gbabic Presentation C 25 DVD and High Quality Music • What does DVD acronym stand for? – Digital Video Disc or – Digital Versatile Disc • DVD disc capacity: – Single side/single layer = 4.37Gbytes • DVD–A (audio) characteristics (different from DVD–V (video)): – 6 channels (instead of 2 in stereo music)) – 24 bits per sample (instead of 16) – 96k samples per sec (instead of 44.1k) – Max bit rate = 6×24×96×103=13.824Mbps – DVD specification limits max rate to 9.6Mbps – MLP (Merdian Lossless Packing) compression used, where (uncompressed) PCM goes through an additional step • Super Audio CD (SACD): an alternative to DVD–A • HD DVD and Blue Ray disk with capacity over 20 Gbytes gbabic Presentation C 26 13
  • 14. Analog Data  Analog Signal • Why modulate analog signals? – Higher frequency can give more efficient transmission – Permits frequency division multiplexing Figure 5.24 gbabic Presentation C 27 14