Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Modern Data Comms: Analog & Digital Signals, Compression, Integrity & Powerline Comms, Exams of Communication

An overview of modern data communications, focusing on analog and digital signals, compression techniques, data integrity methods, and powerline communications. various historical codes such as Morse and Baudot, the concept of bit rate, and the importance of error detection and correction. The document also discusses different types of noise and the significance of powerline communications.

Typology: Exams

2021/2022

Uploaded on 09/12/2022

myohmy
myohmy 🇬🇧

4.8

(10)

300 documents

1 / 175

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Data Transmission Codes Analog and Digital Signals Compression Data integrity Powerline communications
Modern Data Communications:
Analog and Digital Signals, Compression, Data
Integrity
Cristian S. Calude
July-August 2012
Modern Data Communications 1 / 177
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Modern Data Comms: Analog & Digital Signals, Compression, Integrity & Powerline Comms and more Exams Communication in PDF only on Docsity!

Modern Data Communications:

Analog and Digital Signals, Compression, Data

Integrity

Cristian S. Calude

July-August 2012

C. Calude thanks to

Nevil Brownlee, Ulrich Speidel and Clark Thomborson for stimulating discussions and critical comments.

References

(^1) B. A. Forouzan. Data Communications and Networking, McGraw Hill, 4th edition, New York, 2007. (^2) W. A. Shay. Understanding Data Communications and Networks, 3rd edition, Brooks/Cole, Pacific Grove, CA, 2004.

Pictures

All pictures included and not explicitly attributed have

been taken from the instructor’s documents accompanying

Forouzan and Shay textbooks.

Analog and digital signals

Connected devices have to “understand” each other to be able to communicate. Communication standards assure that communicating devices represent and send information in a “compatible way”. There are two types of ways to transmit data: via digital signals, which can be represented either electronically (by sequences of specified voltage levels) or optically, via analog signals, which are formed by continuously varying voltage levels.

Digital signals 1

Digital signals are graphically represented as a square wave: the horizontal axis represents time and the vertical axis represents the voltage level.

Analog signals

PCs often communicate via modems over telephone lines using analog signals which are formed by continuously varying voltage levels:

How signals travel?

There are three types of transmission media, each with many variations: conductive metal, like copper or iron, that carries both digital and analog signals; coaxial cable and twisted wire pairs are examples, transparent glass strand or optical fibre that transmits data using light waves, no physical connection that transmits data using electromagnetic waves (as those used in TV or radio broadcast).

Bits

Regardless of implementation, all switches are in one of two states: open or closed, symbolically, 0 and 1. Bits can store only two distinct pieces of information. Grouping them, allows for many combinations: two bits allow 2^2 = 4 unique combinations: 00, 01 , 10 , 11 three bits allow for 2^3 = 8 combinations, ten bits allow for 2^10 = 1, 024 combinations, fifty bits allow for 2^50 = 1, 125 , 899 , 906 , 842 , 624 combinations, n bits allow for 2n^ combinations.

From bits to codes

Grouping bits allows one to associate certain combinations with specific items such as characters, numbers, pictures. Loosely speaking, this association is called a code. Not every association is a code as we shall soon learn. A difficult problem in communications is to establish communications between devices that operate with different codes. There are standards, but not all standards are compatible! The nice thing about standards is that you have so many to choose from.

  • Tanenbaum, Computer Networks (2nd Ed.), 1988

Early codes: Morse 3

Morse code is a variable-length code: letter codes have different lengths; the letter E code is a single dot (1000), the letter H code has four dots (1010101000); the code (0000000) for an inter-word gap (the ‘space’ character) is of length 7; Reason: more frequent letters are assigned shorter codes, so messages can be sent quickly.

  • Early codes: Morse
  • Early codes: Baudot code

Early codes: Baudot code 3

Do you think we have got a problem? More precisely, how can we tell a digit from a letter? Answer: using the same principle that allows a keyboard key to represent two different characters. On the keyboard we use the Shift key; the Baudot code uses the extra information 11111 (shift down) and 11011 (shift up) to determine how to interpret a 5-bit code. Upon receiving a shift down, the receiver decodes all codes as letters till a shift up is received, and so on.