






















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of data communications, covering concepts such as data transmission, transmission media, signal encoding, interfacing, data link control, multiplexing, transmission media types (guided and unguided), transmission types (simplex, half-duplex, and full-duplex), data encoding (analog and digital), transmission synchronization (synchronous and asynchronous), and time-domain and frequency-domain representation of signals.
Typology: Lecture notes
1 / 62
This page cannot be seen from the preview
Don't miss anything!























































foundations
Consists of:
and destination
destination
Transmission media :
Direct link - path between two devices with no intermediate devices
Guided transmission :
the same medium
Transmission type :
Signal representation: periodic signals
If and only if s t^ ^ T ^ s (^ t ), t ^ ,^
s ( t ) A sin 2 ft e.g. sine wave:
v – velocity of the signal (usually we used light speed) vT
4
( ) sin 2
( ) sin 2 2
( ) 0. 5 sin 2
( ) sin 2
4
3
2
1
s t t
s t t
s t t
s t t
0.5 1 1.5 2
-0.
1
0.5 1 1.5 2
-0.
-0.
0.5 1 1.5 2
-0.
1
0.5 1 1.5 2
-0.
1
0.5 1 1.5 2
-0.
1
Remark : in computer networks and computer science bandwidth (digital
bandwidth) is defined as the capacity for a given system to transfer data
over a connection; and measured as a bit rate expressed in bits per
seconds, e.g. Kb/s Mb/s etc (this is actually the data rate). The previous
definition of bandwidth is often used in signal processing
Spectrum – the range of the frequencies in a signal
Absolute bandwidth – the width of the spectrum
Effective bandwidth (or just bandwidth) – the band of frequencies that
contain most of the energy in the signal
DC component – components that have a zero frequency
Baseband signals – signals whose range of frequencies is measured
from 0, for baseband signals bandwidth is equal to the upper cutoff
frequency
Data rate - in data communication and computing is the quantity of data
that is conveyed or processed per unit of time,
Bandwidth and data rate
Suppose we are transmitting a square wave with f=2 MHz which
corresponds to an alternating sequence of 0’s and 1’s
For the given f we have a data rate of 4Mbps since 2 bits are sent in each
period
6
s t ft sin 2 3 ft
( )sin 2
Now suppose we are approximating the square wave with the sum of the
first 2 terms of the Fourier transform, i.e.
0.5 1 1.5 2
-0.
-0.
-0.
f B P
2
2B (B- bandwidth) is also called Nyquist rate
Hartley stated that the number of distinct pulses that can be transmitted is
limited by the signal amplitude and precision to distinguish between
different levels of amplitude, i.e.
R f M R B M P 2 2
log 2 log
From this, the maximum data rate can be computed as follows (Hartley’s
law)
N
S C B log 1 2
S/N is also called signal to noise ratio
By comparing Hartley’s law and Shannon's channel capacity, we can
compute the maximum number of distinguishable levels as:
Example : Consider a 3000 MHz channel bandwidth with 30db signal to
noise ratio, what is the channel capacity? How many distinguishable levels
can be transmitted?
Digital signal encoding Characteristics
Nonreturn to Zero-Level (NRZ-L) 0 – high, 1 – low
Nonreturn to Zero Inverted (NRZI) 0 – no transition at the beginning of interval, 1 – transition at the beginning o
interval
Bipolar-AMI 0 – no line signal, 1 – positive or negative level (alternating for successive 1)
Pseudoternary 0 – positive or negative level (alternating for successive 0), 1 – no line signal
Manchester 0 – transition from high to low in the middle of interval, 1 – transition from low
to high in the middle of interval
Differential Manchester Always a transition in middle of interval. 0 – transition at the beginning of
interval, 1 – no transition at the beginning of interval
B8ZS Same as bipolar AMI, except that any string of eight zeros is replaced by a string
with two code violations
HDB3 Same as bipolar AMI, except that any string of four zeros is replaced by a string
with one code violation
Remark: NRZI is a case of differential encoding (the signal is decoded by
comparing two consecutive signal elements)
For more details and variants see http://en.wikipedia.org/wiki/Non-return-to-
zero
Main limitations: lack of synchronization, presence of a dc component
Polarity of
preceding pulse
Odd number of ones since
previous substitution
Even number of ones since
previous substitution
19
Bipolar with 8 zeros substitution (B8ZS)
Intended to overcome the lack of synchronization when 0’s are transmitted:
High-density bipolar 3 zeros (HDB3)
Used in Japan, Europe, Australia
Remark : In order to distinguish real sequences from scrambled sequences,
code violations are forced.
Show what are the code violations for B 8 ZS and HDB 3