Data Encoding and Transmission
Data Encoding and Transmission
1
Simplified Data Communications Model
2
S(t) = A sin(2ft + Φ)
3
Terminology
Transmitter
Receiver
Medium
Guided medium
E.g., twisted pair, optical fiber
Unguided medium
E.g., air, water, vacuum
4
Terminology
Direct link
No intermediate devices
Point-to-point
Direct link
Only 2 devices share link
Multi-point
More than two devices share the link
5
Terminology
Simplex
One direction
e.g., television
Half duplex
Either direction, but only one way at
a time
e.g. police radio
Full duplex
Both directions at the same time
6
Analog and Digital Data Transmission
Data
Entities that convey meaning
Signals
Electric or electromagnetic representations of
data
Transmission
Communication of data by propagation and
processing of signals
7
Data
Analog
Continuous values within some interval
e.g., sound, video
Digital
Discrete values
e.g., text, integers
8
Signals
Digital
Use two DC components
9
Data and Signals
10
Analog Transmission
11
Digital Transmission
12
Advantages/Disadvantages of Digital
Cheaper
Less susceptible to noise
Greater attenuation
Pulses become rounded and smaller
Leads to loss of information
13
Attenuation of Digital Signals
14
Interpreting Signals
Need to know
Timing of bits - when they start and end
Signal levels
Factors affecting successful interpreting of
signals
Signal to noise ratio
Data rate
Bandwidth
15
Encoding Schemes
16
Non-Return to Zero-Level (NRZ-L)
18
NRZ
19
Differential Encoding
20
Summary of Encodings
21
NRZs Pros and Cons
Pros
Easy to engineer
Make good use of bandwidth
Cons
DC component
Lack of synchronization capability
Used for magnetic recording
Not often used for signal transmission
22
Biphase
Manchester
Transition in middle of each bit period
Transition serves as clock and data
Low to high represents one
High to low represents zero
Used by IEEE 802.3
Differential Manchester
Mid-bit 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 23
Biphase 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
24
Asynchronous/Synchronous Transmission
25
Asynchronous
26
Asynchronous (Diagram)
27
Asynchronous - Behavior
28
Synchronous – Bit Level
29
Synchronous – Block Level
31