SlideShare a Scribd company logo
William Stallings
Data and Computer
Communications
7th Edition
Chapter 6
Digital Data Communications
Techniques
Asynchronous and Synchronous
Transmission
• Timing problems require a mechanism to
synchronize the transmitter and receiver
• Two solutions
—Asynchronous
—Synchronous
Asynchronous
• Data transmitted on character at a time
—5 to 8 bits
• Timing only needs maintaining within each
character
• Resynchronize with each character
Asynchronous (diagram)
Asynchronous - Behavior
• In a steady stream, interval between characters
is uniform (length of stop element)
• In idle state, receiver looks for transition 1 to 0
• Then samples next seven intervals (char length)
• Then looks for next 1 to 0 for next char
• Simple
• Cheap
• Overhead of 2 or 3 bits per char (~20%)
• Good for data with large gaps (keyboard)
Synchronous - Bit Level
• Block of data transmitted without start or stop
bits
• Clocks must be synchronized
• Can use separate clock line
—Good over short distances
—Subject to impairments
• Embed clock signal in data
—Manchester encoding
—Carrier frequency (analog)
Synchronous - Block Level
• Need to indicate start and end of block
• Use preamble and postamble
—e.g. series of SYN (hex 16) characters
—e.g. block of 11111111 patterns ending in 11111110
• More efficient (lower overhead) than async
Synchronous (diagram)
Types of Error
• An error occurs when a bit is altered between
transmission and reception
• Single bit errors
— One bit altered
— Adjacent bits not affected
— White noise
• Burst errors
— Length B
— Contiguous sequence of B bits in which first last and any
number of intermediate bits in error
— Impulse noise
— Fading in wireless
— Effect greater at higher data rates
Error Detection Process
Error Detection
• Additional bits added by transmitter for error
detection code
• Parity
—Value of parity bit is such that character has even
(even parity) or odd (odd parity) number of ones
—Even number of bit errors goes undetected
Cyclic Redundancy Check
• For a block of k bits transmitter generates n bit
sequence
• Transmit k+n bits which is exactly divisible by
some number
• Receive divides frame by that number
—If no remainder, assume no error
—For math, see Stallings chapter 6
Error Correction
• Correction of detected errors usually requires
data block to be retransmitted (see chapter 7)
• Not appropriate for wireless applications
—Bit error rate is high
• Lots of retransmissions
—Propagation delay can be long (satellite) compared
with frame transmission time
• Would result in retransmission of frame in error plus many
subsequent frames
• Need to correct errors on basis of bits received
Error Correction Process
Diagram
Error Correction Process
• Each k bit block mapped to an n bit block (n>k)
— Codeword
— Forward error correction (FEC) encoder
• Codeword sent
• Received bit string similar to transmitted but may
contain errors
• Received code word passed to FEC decoder
— If no errors, original data block output
— Some error patterns can be detected and corrected
— Some error patterns can be detected but not corrected
— Some (rare) error patterns are not detected
• Results in incorrect data output from FEC
Working of Error Correction
• Add redundancy to transmitted message
• Can deduce original in face of certain level of
error rate
• E.g. block error correction code
—In general, add (n – k ) bits to end of block
• Gives n bit block (codeword)
• All of original k bits included in codeword
—Some FEC map k bit input onto n bit codeword such
that original k bits do not appear
• Again, for math, see chapter 6
Line Configuration
• Topology
— Physical arrangement of stations on medium
— Point to point
— Multi point
• Computer and terminals, local area network
• Half duplex
— Only one station may transmit at a time
— Requires one data path
• Full duplex
— Simultaneous transmission and reception between two stations
— Requires two data paths (or echo canceling)
Traditional Configurations
Interfacing
• Data processing devices (or data terminal
equipment, DTE) do not (usually) include data
transmission facilities
• Need an interface called data circuit terminating
equipment (DCE)
—e.g. modem, NIC
• DCE transmits bits on medium
• DCE communicates data and control info with
DTE
—Done over interchange circuits
—Clear interface standards required
Data Communications
Interfacing
Characteristics of Interface
• Mechanical
—Connection plugs
• Electrical
—Voltage, timing, encoding
• Functional
—Data, control, timing, grounding
• Procedural
—Sequence of events
V.24/EIA-232-F
• ITU-T v.24
• Only specifies functional and procedural
—References other standards for electrical and
mechanical
• EIA-232-F (USA)
—RS-232
—Mechanical ISO 2110
—Electrical v.28
—Functional v.24
—Procedural v.24
Mechanical Specification
Electrical Specification
• Digital signals
• Values interpreted as data or control, depending
on circuit
• More than -3v is binary 1, more than +3v is
binary 0 (NRZ-L)
• Signal rate < 20kbps
• Distance <15m
• For control, more than-3v is off, +3v is on
Functional Specification
• Circuits grouped in categories
—Data
—Control
—Timing
—Ground
• One circuit in each direction
—Full duplex
• Two secondary data circuits
—Allow halt or flow control in half duplex operation
• (See table in Stallings chapter 6)
Local and Remote Loopback
Procedural Specification
• E.g. Asynchronous private line modem
• When turned on and ready, modem (DCE) asserts DCE
ready
• When DTE ready to send data, it asserts Request to
Send
— Also inhibits receive mode in half duplex
• Modem responds when ready by asserting Clear to send
• DTE sends data
• When data arrives, local modem asserts Receive Line
Signal Detector and delivers data
Dial Up Operation (1)
Dial Up Operation (2)
Dial Up Operation (3)
Null Modem
ISDN Physical Interface Diagram
ISDN Physical Interface
• Connection between terminal equipment (c.f.
DTE) and network terminating equipment (c.f.
DCE)
• ISO 8877
• Cables terminate in matching connectors with 8
contacts
• Transmit/receive carry both data and control
ISDN Electrical Specification
• Balanced transmission
— Carried on two lines, e.g. twisted pair
— Signals as currents down one conductor and up the other
— Differential signaling
— Value depends on direction of voltage
— Tolerates more noise and generates less
— (Unbalanced, e.g. RS-232 uses single signal line and ground)
— Data encoding depends on data rate
— Basic rate 192kbps uses pseudoternary
— Primary rate uses alternative mark inversion (AMI) and B8ZS or
HDB3
Foreground Reading
• Stallings chapter 6
• Web pages from ITU-T on v. specification
• Web pages on ISDN

More Related Content

Similar to CS553_ST7_Ch06-DigitalDataComm.ppt

COMPLETE COMPUTER NETWORK
COMPLETE COMPUTER NETWORK COMPLETE COMPUTER NETWORK
COMPLETE COMPUTER NETWORK
Amar Panchal
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf
Tabrezahmed39
 
Ethernet Data link layer Local area network
Ethernet Data link layer Local area networkEthernet Data link layer Local area network
Ethernet Data link layer Local area network
RiteshKumar630578
 
Microcontroller.pptx
Microcontroller.pptxMicrocontroller.pptx
Microcontroller.pptx
Saba651353
 
Switching concepts Data communication and networks
Switching concepts Data communication and networksSwitching concepts Data communication and networks
Switching concepts Data communication and networks
Nt Arvind
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATM
Madhumita Tamhane
 
A427 nic card
A427 nic cardA427 nic card
A427 nic card
surajbhai
 
Osi model
Osi model Osi model
Osi model
maha tce
 
Lec_11_Switching Techniques and GPRS_16_7_20.pptx
Lec_11_Switching Techniques and GPRS_16_7_20.pptxLec_11_Switching Techniques and GPRS_16_7_20.pptx
Lec_11_Switching Techniques and GPRS_16_7_20.pptx
Muhammad Ishfaq
 
ITFT_Transmission modes
ITFT_Transmission modesITFT_Transmission modes
ITFT_Transmission modes
Swati Aggarwal
 
Chapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9eChapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9e
adpeer
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
Sudhanshu Janwadkar
 
Packet Switching Technique in Computer Network
Packet Switching Technique in Computer NetworkPacket Switching Technique in Computer Network
Packet Switching Technique in Computer Network
NiharikaDubey17
 
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
Pondinesh2
 
Dc ch07 : error control and data link control
Dc ch07 : error control and data link controlDc ch07 : error control and data link control
Dc ch07 : error control and data link control
Syaiful Ahdan
 
High level data link control and point to point protocol
High level data link control and point to point protocolHigh level data link control and point to point protocol
High level data link control and point to point protocol
sandhyakiran10
 
Ppp
PppPpp
CAN.ppt
CAN.pptCAN.ppt
CAN.ppt
DhiebYoussef
 
Digital Data Comm.ppt
Digital Data Comm.pptDigital Data Comm.ppt
Digital Data Comm.ppt
RobeelShaukat
 
Data link layer
Data link layerData link layer
Data link layer
Monu Chaudhary
 

Similar to CS553_ST7_Ch06-DigitalDataComm.ppt (20)

COMPLETE COMPUTER NETWORK
COMPLETE COMPUTER NETWORK COMPLETE COMPUTER NETWORK
COMPLETE COMPUTER NETWORK
 
8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf8. TDM Mux_Demux.pdf
8. TDM Mux_Demux.pdf
 
Ethernet Data link layer Local area network
Ethernet Data link layer Local area networkEthernet Data link layer Local area network
Ethernet Data link layer Local area network
 
Microcontroller.pptx
Microcontroller.pptxMicrocontroller.pptx
Microcontroller.pptx
 
Switching concepts Data communication and networks
Switching concepts Data communication and networksSwitching concepts Data communication and networks
Switching concepts Data communication and networks
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATM
 
A427 nic card
A427 nic cardA427 nic card
A427 nic card
 
Osi model
Osi model Osi model
Osi model
 
Lec_11_Switching Techniques and GPRS_16_7_20.pptx
Lec_11_Switching Techniques and GPRS_16_7_20.pptxLec_11_Switching Techniques and GPRS_16_7_20.pptx
Lec_11_Switching Techniques and GPRS_16_7_20.pptx
 
ITFT_Transmission modes
ITFT_Transmission modesITFT_Transmission modes
ITFT_Transmission modes
 
Chapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9eChapter 6 - Digital Data Communication Techniques 9e
Chapter 6 - Digital Data Communication Techniques 9e
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
Packet Switching Technique in Computer Network
Packet Switching Technique in Computer NetworkPacket Switching Technique in Computer Network
Packet Switching Technique in Computer Network
 
CN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptxCN Unit 2 - cs8591.pptx
CN Unit 2 - cs8591.pptx
 
Dc ch07 : error control and data link control
Dc ch07 : error control and data link controlDc ch07 : error control and data link control
Dc ch07 : error control and data link control
 
High level data link control and point to point protocol
High level data link control and point to point protocolHigh level data link control and point to point protocol
High level data link control and point to point protocol
 
Ppp
PppPpp
Ppp
 
CAN.ppt
CAN.pptCAN.ppt
CAN.ppt
 
Digital Data Comm.ppt
Digital Data Comm.pptDigital Data Comm.ppt
Digital Data Comm.ppt
 
Data link layer
Data link layerData link layer
Data link layer
 

Recently uploaded

学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 

Recently uploaded (20)

学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 

CS553_ST7_Ch06-DigitalDataComm.ppt

  • 1. William Stallings Data and Computer Communications 7th Edition Chapter 6 Digital Data Communications Techniques
  • 2. Asynchronous and Synchronous Transmission • Timing problems require a mechanism to synchronize the transmitter and receiver • Two solutions —Asynchronous —Synchronous
  • 3. Asynchronous • Data transmitted on character at a time —5 to 8 bits • Timing only needs maintaining within each character • Resynchronize with each character
  • 5. Asynchronous - Behavior • In a steady stream, interval between characters is uniform (length of stop element) • In idle state, receiver looks for transition 1 to 0 • Then samples next seven intervals (char length) • Then looks for next 1 to 0 for next char • Simple • Cheap • Overhead of 2 or 3 bits per char (~20%) • Good for data with large gaps (keyboard)
  • 6. Synchronous - Bit Level • Block of data transmitted without start or stop bits • Clocks must be synchronized • Can use separate clock line —Good over short distances —Subject to impairments • Embed clock signal in data —Manchester encoding —Carrier frequency (analog)
  • 7. Synchronous - Block Level • Need to indicate start and end of block • Use preamble and postamble —e.g. series of SYN (hex 16) characters —e.g. block of 11111111 patterns ending in 11111110 • More efficient (lower overhead) than async
  • 9. Types of Error • An error occurs when a bit is altered between transmission and reception • Single bit errors — One bit altered — Adjacent bits not affected — White noise • Burst errors — Length B — Contiguous sequence of B bits in which first last and any number of intermediate bits in error — Impulse noise — Fading in wireless — Effect greater at higher data rates
  • 11. Error Detection • Additional bits added by transmitter for error detection code • Parity —Value of parity bit is such that character has even (even parity) or odd (odd parity) number of ones —Even number of bit errors goes undetected
  • 12. Cyclic Redundancy Check • For a block of k bits transmitter generates n bit sequence • Transmit k+n bits which is exactly divisible by some number • Receive divides frame by that number —If no remainder, assume no error —For math, see Stallings chapter 6
  • 13. Error Correction • Correction of detected errors usually requires data block to be retransmitted (see chapter 7) • Not appropriate for wireless applications —Bit error rate is high • Lots of retransmissions —Propagation delay can be long (satellite) compared with frame transmission time • Would result in retransmission of frame in error plus many subsequent frames • Need to correct errors on basis of bits received
  • 15. Error Correction Process • Each k bit block mapped to an n bit block (n>k) — Codeword — Forward error correction (FEC) encoder • Codeword sent • Received bit string similar to transmitted but may contain errors • Received code word passed to FEC decoder — If no errors, original data block output — Some error patterns can be detected and corrected — Some error patterns can be detected but not corrected — Some (rare) error patterns are not detected • Results in incorrect data output from FEC
  • 16. Working of Error Correction • Add redundancy to transmitted message • Can deduce original in face of certain level of error rate • E.g. block error correction code —In general, add (n – k ) bits to end of block • Gives n bit block (codeword) • All of original k bits included in codeword —Some FEC map k bit input onto n bit codeword such that original k bits do not appear • Again, for math, see chapter 6
  • 17. Line Configuration • Topology — Physical arrangement of stations on medium — Point to point — Multi point • Computer and terminals, local area network • Half duplex — Only one station may transmit at a time — Requires one data path • Full duplex — Simultaneous transmission and reception between two stations — Requires two data paths (or echo canceling)
  • 19. Interfacing • Data processing devices (or data terminal equipment, DTE) do not (usually) include data transmission facilities • Need an interface called data circuit terminating equipment (DCE) —e.g. modem, NIC • DCE transmits bits on medium • DCE communicates data and control info with DTE —Done over interchange circuits —Clear interface standards required
  • 21. Characteristics of Interface • Mechanical —Connection plugs • Electrical —Voltage, timing, encoding • Functional —Data, control, timing, grounding • Procedural —Sequence of events
  • 22. V.24/EIA-232-F • ITU-T v.24 • Only specifies functional and procedural —References other standards for electrical and mechanical • EIA-232-F (USA) —RS-232 —Mechanical ISO 2110 —Electrical v.28 —Functional v.24 —Procedural v.24
  • 24. Electrical Specification • Digital signals • Values interpreted as data or control, depending on circuit • More than -3v is binary 1, more than +3v is binary 0 (NRZ-L) • Signal rate < 20kbps • Distance <15m • For control, more than-3v is off, +3v is on
  • 25. Functional Specification • Circuits grouped in categories —Data —Control —Timing —Ground • One circuit in each direction —Full duplex • Two secondary data circuits —Allow halt or flow control in half duplex operation • (See table in Stallings chapter 6)
  • 26. Local and Remote Loopback
  • 27. Procedural Specification • E.g. Asynchronous private line modem • When turned on and ready, modem (DCE) asserts DCE ready • When DTE ready to send data, it asserts Request to Send — Also inhibits receive mode in half duplex • Modem responds when ready by asserting Clear to send • DTE sends data • When data arrives, local modem asserts Receive Line Signal Detector and delivers data
  • 33. ISDN Physical Interface • Connection between terminal equipment (c.f. DTE) and network terminating equipment (c.f. DCE) • ISO 8877 • Cables terminate in matching connectors with 8 contacts • Transmit/receive carry both data and control
  • 34. ISDN Electrical Specification • Balanced transmission — Carried on two lines, e.g. twisted pair — Signals as currents down one conductor and up the other — Differential signaling — Value depends on direction of voltage — Tolerates more noise and generates less — (Unbalanced, e.g. RS-232 uses single signal line and ground) — Data encoding depends on data rate — Basic rate 192kbps uses pseudoternary — Primary rate uses alternative mark inversion (AMI) and B8ZS or HDB3
  • 35. Foreground Reading • Stallings chapter 6 • Web pages from ITU-T on v. specification • Web pages on ISDN