notes-data-communication-unit-01
notes-data-communication-unit-01
UNIT–01
UNIT-01/LECTURE-01
DATA COMMUNICATIONS
DATA COMMUNICATIONS
Transmission of signals in a reliable and efficient matter.
COMMUNICATION MODEL
The purpose of a communications system is to exchange data between two entities.
Source:
Entity that generates data.For example a person who speaks into the phone, or a
computer sending data to the modem.
Transmitter:
A device to transform/encode the signal generated by the source.The transformed
signal is actually sent over the transmission system.For example a modem transforms
digital data to analog signal that can be handled by the telephone network.
Transmission System (Channel):
Medium that allows the transfer of a signal from one point to another. For example a
telephone network for a computer/modem.
Receiver:
A device to decode the received signal for handling by destination device. For example
a modem converts the received analog data back to digital for the use by the
computer.
Destination:
Entity that finally uses the data. For example Computer on other end of a receiving
modem.
Data Communications:
Data communications is the transfer of information that is in digital form, before it
enters the communication system.
Basic Elements of a Communication System
Signal s(t) Channel r(t) Output transducer Information source & input transducer
Transmitter Receiver n(t) Noise
Information:
Information generated by the source may be in the form of voice, a picture or a plain
text. An essential feature of any source that generates information is that its output is
described in probabilistic terms; that is, the output is not deterministic. A transducer
is usually required to convert the output of a source in an electrical signal that is
suitable for transmission.
Transmitter:
A transmitter converts the electrical signal into a form that is suitable for transmission
through the physical channel or transmission medium. In general, a transmitter
performs the matching of the message signal to the channel by a process called
modulation.
The choice of the type of modulation is based on several factors, such as:
- the amount of bandwidth allocated,
- the type of noise and interference that the signal encounters in transmission
over the channel,
- and the electronic devices that are available for signal amplification prior to
transmission.
Channel:
The communication channel is the physical medium that connects the transmitter to
the receiver. The physical channel may be a pair of wires that carry the electrical
signals, or an optical fibre that carries the information on a modulated light beam or
free space at which the information-bearing signal are electromagnetic waves.
Receiver:
The function of a receiver is to recover the message signal contained in the received
signal. The main operations performed by a receiver are demodulation, filtering and
decoding.
UNIT-01/LECTURE-02
Analog And Digital Signals
Time Domain:
Time domain is the analysis of mathematical functions, physical signals or time series with
respect to time. In the time domain, the signal or function's value is known for all real
numbers, for the case of continuous time, or at various separate instants in the case of
discrete time.
Frequency Domain :
The frequency domain refers to the analysis of mathematical functions or signals with
respect to frequency. In other words a frequency-domain graph shows how much of the signal
lies within each given frequency band over a range of frequencies. A frequency-
domain representation can also include information on the phase shift that must be applied
to each sinusoid in order to be able to recombine the frequency components to recover the
original time signal.
Composite Signal:
Composite Signal
Bit Rate:
The bit rate is the number of bit intervals per second. This means that the bit rate is the
number of bits sent in one second, usually expressed in bits per second (bps).
Bit length:
Bit length is the number of binary digits, called bits, necessary to represent an integer
Bandwidth:
A type of digital data transmission in which each medium (wire) carries only one signal, or
channel, at a time. Data transmitted may be digital messages originating from a data source,
for example a computer or a keyboard. It may also be an analog signal such as a phone call or
a video signal, digitized into a bit-stream for example using pulse-code modulation (PCM) or
more advanced source coding schemes. This source coding and decoding is carried out by
codec equipment. The passband modulation and corresponding demodulation (also known as
detection) is carried out by modem equipment. According to the most common definition of
digital signal, both baseband and passband signals representing bit-streams are considered as
digital transmission, while an alternative definition only considers the baseband signal as
digital, and passband transmission of digital data as a form of digital-to-analog conversion.
UNIT-01/LECTURE-03
Broadband Transmission
Broadband transmission enables a single wire to carry multiple signals at the same
time. When we enter data into the computer via keyboard, each keyed element is
encoded by the electronics within the keyboard into an equivalent binary coded
pattern, using one of the standard coding schemes that are used for the interchange
of information. To represent all characters of the keyboard, a unique pattern of 7 or 8
bits in size is used. The use of 7 bits means that 128 different elements can be
represented, while 8 bits can represent 256 elements. A similar procedure is followed
at the receiver that decodes every received binary pattern into the corresponding
character.
Distortion (or warping) is the alteration of the original shape (or other characteristic) of
something, such as an object, image, sound or waveform. Distortion is usually unwanted, and
so engineers strive to eliminate distortion, or minimize it. In some situations, however,
distortion may be desirable. The important signal processing operation of heterodyning is
based on nonlinear mixing of signals to cause intermodulation.
Noise :
is picked up from appliances in the vicinity, from electrical transformers, from the
atmosphere, and even from outer space. Normally this noise is of little or no
consequence. However, during severe thunderstorms, or in locations were many
electrical appliances are in use, external noise can affect communications. In an
Internet hookup it slows down the data transfer rate, because the system must adjust
its speed to match conditions on the line. In a voice telephone conversation, noise
rarely sounds like anything other than a faint hissing or rushing
In signal processing, the Nyquist rate, named after Harry Nyquist, is twice the bandwidth of a
bandlimited function or a bandlimited channel. This term means two different things under
two different circumstances:
1. as a lower bound for the sample rate for alias-free signal sampling
1. as an upper bound for the symbol rate across a bandwidth-limited baseband channel
such as a telegraph line or passband channel such as a limited radio frequency band or
a frequency division multiplex channel.
The Nyquist bit rate formula is use to calculate the theoretical maximum bit rate.
Bit rate=2*bandwidth*log L
2
Where bandwidth is the bandwidth of the channel, L is the signal level used to
represent data.
Fig 2: The top 2 graphs depict Fourier transforms of 2 different functions that produce the
same results when sampled at a particular rate. The baseband function is sampled faster than
its Nyquist rate, and the bandpass function is undersampled, effectively converting it to
baseband (the high frequency shadows can be removed by a linear filter). The lower graphs
indicate how identical spectral results are created by the aliases of the sampling process.
Intentional aliasing
To determine the theoretical highest data rate for a noisy channel, we can use
Shannon capacity.
When SNR is very high, we can use the following formula for calculate highest data
Rate then
UNIT-01/LECTURE-04
Question : 1
A network with bandwidth of 10 Mbps can pass only an average of 12,000 frames per minute
with each frame carrying an average of 10,000 bits. What is the throughput of this network?
Solution:
DELEY:
Propagation speed - speed at which a bit travels though the medium from
source to destination.
Transmission speed - the speed at which all the bits in a message arrive at
the destination. (difference in arrival time of first and last bit)
Propagation Delay = Distance/Propagation speed
Transmission Delay = Message size/bandwidth bps
Latency = Propagation delay + Transmission delay + Queueing time +
Processing time
Diagram :
What is the propagation time if the distance between the two points is 12,000 km? Assume the
propagation speed to be 2.4 × 108 m/s in cable.
Solution:
The example shows that a bit can go over the Atlantic Ocean in only 50 ms if there is a
direct cable between the source and the destination.
Question : 3
What are the propagation time and the transmission time for a 2.5-kbyte message (an e-mail) if
the bandwidth of the network is 1 Gbps? Assume that the distance between the sender and the
receiver is 12,000 km and that light travels at 2.4 × 108 m/s.
Solution:
Note that in this case, because the message is short and the bandwidth is high, the
dominant factor is the propagation time, not the transmission time. The transmission
time can be ignored.
Question : 4
What are the propagation time and the transmission time for a 5-Mbyte message (an image) if
the bandwidth of the network is 1 Mbps? Assume that the distance between the sender and
the receiver is 12,000 km and that light travels at 2.4 × 108 m/s.
Solution:
Note that in this case, because the message is very long and the bandwidth is not very high,
the dominant factor is the transmission time, not the propagation time. The propagation time
can be ignored.
UNIT-01/LECTURE-05
The bandwidth-delay product defines the number of bits that can fill the link.
Concept of bandwidth-delay product
QUESTION:
𝑆
C = BW × (1+ )
= (4 × )× (1 + 0)
=0
UNIT-01/LECTURE-06
1. Jitter is the undesired deviation from true periodicity of an assumed periodic signal in
electronics and telecommunications, often in relation to a reference clock source.
Jitter may be observed in characteristics such as the frequency of successive pulses,
the signal amplitude, or phase of periodic signals. Jitter is a significant, and usually
undesired, factor in the design of almost all communications links.In clock recovery
applications it is called timing jitter.
2. Jitter can be quantified in the same terms as all time-varying signals, e.g., RMS, or
peak-to-peak displacement. Also like other time-varying signals, jitter can be
expressed in terms of spectral density.
3. Jitter period is the interval between two times of maximum effect (or minimum
effect) of a signal characteristic that varies regularly with time. Jitter frequency, the
more commonly quoted figure, is its inverse classifies jitter frequencies below 10 Hz
as wander and frequencies at or above 10 Hz as jitter.
4. Jitter may be caused by electromagnetic interference and crosstalk with carriers of
other signals. Jitter can cause a display monitor to flicker, affect the performance of
processors in personal computers, introduce clicks or other undesired effects in audio
signals, and loss of transmitted data between network devices. The amount of
tolerable jitter depends on the affected application.
Jitter metrics
For clock jitter, there are three commonly used metrics: absolute jitter, period jitter, and
cycle to cycle jitter.Absolute jitter is the absolute difference in the position of a clock's edge
from where it would ideally be.Period jitter is the difference between any one clock period
and the ideal/average clock period. Accordingly, it can be thought of as the discrete-time
derivative of absolute jitter. Period jitter tends to be important in synchronous circuitry like
digital state machines where the error-free operation of the circuitry is limited by the
shortest possible clock period, and the performance of the circuitry is limited by the average
clock period. Hence, synchronous circuitry benefits from minimizing period jitter, so that the
shortest clock period approaches the average clock period.Cycle-to-cycle jitter is the
difference in length/duration of any two adjacent clock periods. Accordingly, it can be
thought of as the discrete-time derivative of period jitter. It can be important for some types
of clock generation circuitry used in microprocessors and RAM interfaces.Since they have
different generation mechanisms, different circuit effects, and different measurement
methodology, it is useful to quantify them separately.In telecommunications, the unit used
for the above types of jitter is usually the Unit Interval which quantifies the jitter in terms of a
fraction of the ideal period of a bit. This unit is useful because it scales with clock frequency
and thus allows relatively slow interconnects such as T1 to be compared to higher-speed
internet backbone links such as OC-192. Absolute units such as picoseconds are more
common in microprocessor applications. Units of degrees and radians are also used.
In the normal distribution one standard deviation from the mean (dark blue) accounts for
about 68% of the set, while two standard deviations from the mean (medium and dark blue)
account for about 95% and three standard deviations (light, medium, and dark blue) account
for about 99.7%.
If jitter has a Gaussian distribution, it is usually quantified using the standard deviation of this
distribution Often, jitter distribution is significantly non-Gaussian. This can occur if the jitter is
caused by external sources such as power supply noise. In these cases, peak-to-peak
measurements are more useful. Many efforts have been made to meaningfully quantify
distributions that are neither Gaussian nor have meaningful peaks (which is the case in all
real jitter). All have shortcomings but most tend to be good enough for the purposes of
engineering work. Note that typically, the reference point for jitter is defined such that the
mean jitter is 0.In networking, in particular IP networks such as the Internet, jitter can refer
to the variation (statistical dispersion) in the delay of the packets.
Types
Random jitter
Random Jitter, also called Gaussian jitter, is unpredictable electronic timing noise. Random
jitter typically follows a Gaussian distribution or Normal distribution. It is believed to follow
this pattern because most noise or jitter in an electrical circuit is caused by thermal noise,
which has a Gaussian distribution. Another reason for random jitter to have a distribution like
this is due to the central limit theorem. The central limit theorem states that composite
effect of many uncorrelated noise sources, regardless of the distributions, approaches a
Gaussian distribution. One of the main differences between random and deterministic jitter is
that deterministic jitter is bounded and random jitter is unbounded.
Deterministic jitter
Deterministic jitter is a type of clock timing jitter or data signal jitter that is predictable and
reproducible. The peak-to-peak value of this jitter is bounded, and the bounds can easily be
observed and predicted. Deterministic jitter can either be correlated to the data stream
(data-dependent jitter) or uncorrelated to the data stream (bounded uncorrelated jitter).
Examples of data-dependent jitter are duty-cycle dependent jitter (also known as duty-cycle
distortion) and intersymbol interference. Deterministic jitter has a known non-Gaussian
probability distribution.
Q : A system sends a signal that can assume 8 different voltage levels. It sends 400 of these
signals per second. What is baud rate ?
Sol : Baud rate is defined as the number of signals transmitted per second. Since 400 symbols
are transmitted per second.
Baud rate = 400 symbols / sec
UNIT-01/LECTURE-07
UNIT-01/LECTURE-08
UNIT-01/LECTURE-09
UNIT-02/LECTURE-10
An FM wave consists of infinite number of side bands so that the bandwidth is theoretically
infinite. But, in practice, the FM wave is effectively limited to a finite number of side band
frequencies compatible with a small amount of distortion.
Carson’s Rule:-
An empirical formula for the bandwidth of a single tone wideband FM is given by carson s
rule. According to this rule, the Fm bandwidth is given by
= ∆𝜔 + 𝑚
𝑚
= ∆𝜔 +
∆𝜔
∆𝜔
Since 𝑤𝑚
= 𝑓
𝑤𝑚
So ∆𝜔
= 𝑚𝑓
= ∆𝜔 + 𝑚𝑓
radians
Or
= ∆ + Hz
𝑚𝑓
(i) When
∆𝜔 𝑚 (narrowband FM) i.e. 𝑓
Then
= 𝑚
Which is equivalent to AM
(ii) When
Then
= ∆𝜔
DEVIATION RATIO:-
𝑃 𝑖 𝑖 𝑖 ℎ 𝑖 𝑖 𝑖
=
ℎ 𝑖 𝑖 ℎ 𝑖 𝑖
∆
=
𝑚
Example:-
A carrier Acoswct is modulated by a signal f(t)= 2cos 10 4 πt + cos 3 πt + cos 4 πt
Find the bandwidth of the fm signal by using Carson s rule. Assume Kf=15 x 10 3 Hz per volt.
Also find modulation index mf.
Solution:-
The maximum frequency component in f (t) is 20 kHz.
The second term in f(t) has the maximum amplitude i.e. Em= 5 volts
Therefore the frequency deviation ∆ is given by,
And devation ratio is given by
∆ ∆
𝑓 = =
𝑓 =
.
𝑓 =
And the bandwidth is given as
= ∆ +
𝑓
= ( + )
.
= 𝐻
********
SOME REMARKS ABOUT PHASE MODULATION:-
𝛹𝑖 =𝜔 +𝐾
the maximum departure in the phase is 𝐾 𝑚 . This is known as phase deviation denoted by
𝜃 . thus 𝜃 = 𝐾 𝑚 and the expression for the PM wave is
Ф𝑃 = cos 𝛹 𝑖 = [𝜔 +𝜃 𝑤𝑚 ]
𝛹
𝜔𝑖= = 𝜔 −𝐾 𝑚 𝜔𝑚 𝑖 𝑤𝑚
∆ 𝑃 = 𝐾 𝑚 𝑚
Which is independent on the modulating frequency 𝑚.
The frequency deviation in FM is,
∆ 𝐹 = 𝐾 𝑚.
There fore,for an equivalent bandwidth in PM and FM
𝐾 𝑚 = 𝐾 𝑚 𝑚
𝐾 = 𝐾 𝑚
BANDWIDTH OF PM:-
The phase modulatin index 𝑝 is the same as the deviation 𝜃 and is given by
𝑝 = 𝐾 𝑚 =𝜃
Example:-
A odulati g sig al cos π15x103t,angle modulates carrier A coswct:
(i) Find the modulation index and the bandwidth for fm and pm system.
(ii) Determine the change in the bandwidth and the modulation index for both fm and pm ,if
fm is reduced to 5 kHz.
Solution:-
Given Am =5 , fm = 15 kHz
I)
FM system
Frequency deviation
∆ =
Assume = = 15 kHz/volt
So
∆ =
∆ = 𝐻
∆
=
=
=
𝑖 ℎ= +
𝑖 ℎ= +
𝑖 ℎ=
𝑖 ℎ= 𝐻
PM system
Frequency deviation
∆ =
∆ =
∆ = 𝑀𝐻
modulation index
=
=
=
Corresponding band width
𝑖 ℎ = ∆ since ∆ is so much greater than fm
𝑖 ℎ= 𝑀𝐻
𝑖 ℎ= 𝑀𝐻
The band width is quite large as compared to FM.this is because the Modulation index in PM
is quite large
𝑖 ℎ= +
𝑖 ℎ= +
𝑖 ℎ=
𝑖 ℎ= 𝐻
Thus in FM the modulation index changes considerably with a change in the modulating
frequency, but the bandwidth changes only slightly.
For PM:
Deviation ∆ is dependent on fm and is given by
∆ =
∆ =
∆ = 𝑀𝐻
Hence
𝑖 ℎ= ∆ since ∆ is so much greater than fm 𝑖 ℎ= 𝑀𝐻
𝑖 ℎ= 𝑀𝐻
The modulation index is independent of fm,so
=
=
=
= 𝐻
*******