DCCN Chapter 2 Complete Note - PPTX Autosaved
DCCN Chapter 2 Complete Note - PPTX Autosaved
0 time
Digital Signal
Digital signals also carry information like as analog signals,
however digital signal is discontinuous.
So, digital signal is discrete signal where the signal
intensity maintains a constant level for some period of
time and instantly changes to another constant level.
Discrete signals have discrete states (having definite set of
possible values) and take the discrete values.
We can say for example, data stored in 0 and 1 in
computer memory.
So digital signals have only limited number of values.
Digital Signal
Value
time
Value
Periodic and nonperiodic signals
Both analog and digital signals can take one of the two
forms: periodic or non-periodic (also called as aperiodic).
Periodic signal completes a pattern within measurable
time frame called period and repeats that pattern over
subsequent identical periods.
Completion of one full pattern is called a cycle.
Whereas non-periodic signal changes without repeating
the same previous pattern.
Periodic analog signals are mostly in data communication
as they need less bandwidth whereas non-periodic digital
signals are used as they can represent variation in data.
Periodic and non-periodic signals
First cycle In Periodic analog
signal same
pattern of wave is
0 time
repeated over a
period of time.
Fig: Periodic analog Signals
In non-Periodic
0 time analog signal
pattern of signal
changes
frequently over a
Fig: Non-Periodic analog Signals period of time.
Periodic Analog signals
Periodic analog signals are of two types: simple or composite.
A simple periodic analog signal cannot be further split into simple
signals i.e. it contains a sine wave.
Whereas, in composite periodic analog signal it contains multiple
sine waves.
Sine wave
Sine wave is a periodic analog signals. It is also called as sinusoidal
wave.
It can be view as a curve representing periodic oscillations of
constant amplitude given by sine function.
s(t) = A sin(2πft + )
Sine wave can be represented by three parameters: peak
amplitude, frequency and phase.
Sine wave: Period and Frequency:
- Period is the amount of time, in seconds, that a signal need to
complete 1 cycle.
- Frequency is the number of cycle of periods in 1 seconds.
- So, frequency is the rate of repetitions of a signal's waveform in a
second.
- Frequency is expressed in hertz.
- Frequency is the inverse of time. i.e. f=1/t
Crest
Amplitude
Mean position
Amplitude
trough
Peak
Amplitude
Amplitu
de
Sine wave: Phase
Phase refers to the position of waveform relative to time 0.
Phase is measured in degree or radians i.e. 360 degree or 2
rad where 2 is equal to 360 degree.
Phase shift of 3600 corresponds to a shift of a complete
period/cycle, a phase shift of 1800 corresponds to a shift of
one half of the period/cycle and phase shift of 90 0
corresponds to a shift of one quarter of a period/cycle.
00 900 1800 2700 3600 (00) Phase shift
The cycle of a sine wave
begins at zero degrees
3 at the level of zero.
Then the waves rises to
2 its positive maximum at
900 i.e. ¼ of the period.
1 Then it has fallen back
to a level 0 at 1800.
Level
= 10(30/10)
= 103=1000
again, using shannon capacity,
maximum data rate = 2W log2(1+SNR)
= 2×900 × log2(1+1000)
= 1800 × log2 (1001)
= 17946bps.
Synchronous and asynchronous transmission
Synchronous Transmission
Data is sent in the form of blocks or frames so the data unit is frame or
block. Each block may consists of many characters
In synchronous transmission a common clock pulse is shared between
transmitter and receiver in order to permit synchronized communication.
So the data are transmitted and received at the same time. So this is also
called full duplex transmission.
The sender and receiver both have a clock which coordinates the signals
being transmitted and received on both side.
There is no use of start and stop bit so we do not known where the
message gets started and when it stops. We only get the clock pulses
through which we know message has started When we have to transmit
large amount of data continuously then we can use synchronous
transmission.
Synchronous and asynchronous transmission
Asynchronous Transmission
Data is transmitted byte by byte or character by character so the
data unit is byte/character.
There are irregular gaps between characters in this transmission
In asynchronous transmission, both sender and receiver have their
own internal clocks and do not required external common clock
pulse. And the transmission depends on its own synchronization is
slower however it makes transmission cheaper.
In asynchronous transmission, start and stop bits are specified so
there may be mark bit in between data.
Transmission impairment
• When signal what is received is not what is send is called
transmission impairment.
• Transmission impairment cause the quality of analog and
digital signals to deteriorate.
• The quality of received signal may be impaired due to
attenuation, distortion and noise.
Transmission impairment: Attenuation
• Attenuation means loss of energy.
• When signals travels from certain medium, it losses some of its
energy in overcoming the resistance of the medium which in turns
converts the electrical energy into heat and radiation. This will
cause in loss of the signal.
• To regain or to amplify the original strength of the signal, amplifiers
are used.
• To show that the signal has lost or gained strength, engineers use
the unit of decibel. Decibel (dB) is used to measure the relative
strength of two signals or one signal at two different points.
• When the decibel is negative then the signal is attenuated and
positive if signal is amplified.
• Decibel can be calculated as:
Transmission impairment: Attenuation
A
Period
Time
RZ 0
A
Time
NRZ 0
Data Encoding: Digital to Digital Conversion
Polar: RZ and NRZ
• In polar schemes, voltage are on both sides of the time axis. For
example, 1 bit represent positive voltage level and 0 bit represent
negative voltage level.
• We use two level of voltage amplitude other than 0 i.e. positive
voltage and negative voltage.
Data Encoding: Digital to Digital Conversion
Types of Polar:
1. RZ (Return Zero)
• In this, the signal return to zero at the middle of the bit either 0 or 1 bit.
So half of the bit duration remains high or low and then it immediately
returns to zero and shows the zero voltage level for remaining half of the
bit duration.
2. NRZ (Non-Return Zero)
• Traditionally unipolar scheme was designed as NRZ.
• In this, signal does not return to zero at middle of the bit.
• We have two versions of polar NRZ: NRZ-L and NRZ-I.
• In NRZ-L (NRZ-Level), the level of voltage determines the value of the bit.
Bit 1 represent the negative voltage and 0 bit represent the positive
voltage.
• In NRZ-I (NRZ-Invert), the change or lack of change in the level of the
voltage determines the value of bit. If there is no change, the bit is 0 if
there is a change the bit is 1. This will specify that when 1 bit is
encountered each time we change the phase and when 0 bit is
encountered then there is no need to change the phase.
0 1 0 01 1 0 01 1
+A
Period
Time
RZ
–A
+A
NRZ-L Time
–A
+A
NRZ-I Time
–A
Data Encoding: Digital to Digital Conversion
Types of Polar:
3. Biphase: Manchester
Machester is the combination of RZ and NRZ-L.
In this encoding technique, the duration of bit is divided into two halves.
The voltage remains at one level during first half and moves to other level
in the second half.
–A
+A
Time
0
–A
Differential Manchester
Data Encoding: Digital Data to Analog Signal
Converting digital data to a bandpass analog signal is called digital
to analog conversion.
Bandpass signal is the signal generated after modulation.
We have three modulation technique for transforming digital data
into analog signal. They are:
1. ASK (Amplitude Shift Keying)
2. FSK (Frequency Shift Keying)
3. PSK (Phase Shift Keying)
Data Encoding: Digital Data to Analog Signal
Aspect of digital to analog conversion
Data rate vs Signal rate: Data rate is the number of bits per second and
baud rate is the number of signal elements per second. In digital to analog
transmission, the baud rate is less than or equal to the bit rate. The
relationship between data rate and signal rate is:
Where, N is the data rate and r is the number of data element carried in
one signal element
The value of r is r=log2L where L is type of signal element.
Bandwidth: The required bandwidth for analog transmission of digital data
is proportional to the signal rate. But in case of FSK, it may not so since it
have to add difference between carrier signals.
Carrier signal: In analog transmission, the sending device produces a high
frequency signal that acts as a base for information signal. This signal is
called carrier signal or carrier frequency.
Modulation or shift keying is the process of modifying one or more
properties of periodic waveform called carrier signal with a modulating
signal which contains information to be transmitted.
Data Encoding: Digital Data to Analog Signal
ASK (Amplitude Shift Keying)
ASK is a modulation technique where digital signals change the
amplitude of the carrier wave but phase and frequency of the carrier
wave remains constant.
Based on the level ASK can be categorized into two types:
Binary ASK
Multilevel ASK
Although we can have several levels of signal element, each with a
different amplitude, ASK is normally implemented using only two levels.
This is referred to as binary ASK or On-Off keying (OOK).
In ASK, two binary values are represented by two different amplitude of
carrier frequency.
when the data element is 1 then there is presence of signal and when
data element is 0 then there absence of signal.
Then the resulting signal is
On voice grade lines, it is typically used upto 1200 bps but can also
be used for high frequency (3 to 30 MHz) radio transmission. It can
also be used on even more higher frequencies on LAN that uses
coxial cable.
FSK is less susceptible to error than ASK.
Data Encoding: Digital Data to Analog Signal
PSK (Phase Shift Keying)
PSK is a modulation technique where digital signals change the phase of
the carrier wave but frequency and amplitude of the carrier wave
remains constant.
In PSK, the phase of the modulated signal is constant for the duration of
one signal element but changes for next signal element if data element
changes. But amplitude and frequency remains the same for all signal
element.
Based on the level PSK can be categorized into two types:
Binary PSK
Quadrature PSK
PSK is less susceptible to noise. So, it is more common than ASK and FSK.
Data Encoding: Digital Data to Analog Signal
Figure: PSK (Phase Shift Keying)
The simplest PSK is binary PSK, in which we have only two signal element,
one with a phase of 00 and the other with a phase of 1800.
1 0 0 1 1 0
Data Encoding: Digital Data to Analog Signal
QPSK (Quadrature Phase Shift Keying)
The simplicity of BPSK lead designer to use 2 bits at a time in each signal
element which decrease the baud rate and in turn decrease the
bandwidth. So to solve this problem QPSK came into existence.
It allows the signal to carry twice as much information as ordinary PSK
using same bandwidth.
Two bits are modulated at once, selecting one of four possible carrier
phase shifts (0, 90, 180, 270 degrees).
In QPSK, it uses two different BPSK modulation one
is in-phase and the other quadrature out-of phase.
01 11 10 00 10 11
Multiplexing Technique
Multiplexing is the process of transmitting a signal from many
channels over a single channel.
In multiplexing, the signal from 'n' different channels are
combined and the composite signal combination of many signals
is transmitted through a signal transmission channel.
The signal is multiplexed in sender side and demultiplexed at
receiver side.
Multiplexer can be used to multiplexing 'n' signals, whereas
demultiplexer is used to demultiplexing the 'n' signals.
Multiplexing can be broadly categorized into two types: analog
multiplexing and digital multiplexing.
Analog multiplexing is the process of combining multiple analog
signals into one signal.
Multiplexing of analog signal is done according to their frequency or
wavelength.
Digital multiplexing is the process of combining multiple digital
signals into one signal.
Multiplexing Technique
Types of multiplexing
Uses of Multiplexing
- To share bandwidth between
users
- To increase the capacity of
channel
- To make cost efficiency.
- To reduce the number of electrical
connections
FDM (Frequency Division Multiplexing)
It is a analog signal transmission technique in which the signal from
different channels with different frequency are multiplexed and
transmitted over a common transmission channel.
When signals from different channels with different frequency are
multiplexed, then it share a common transmission channel.
FDM can be applied when bandwidth of a link (in hertz) is greater than
the combined bandwidth of the signals to be transmitted.
Then available bandwidth of communication channel first divided into sub
channels of different frequency and each sub channel is allocated to the
users.
In FDM, signals generated by each sending device (user) modulate
different carrier frequencies and these modulated signals then can be
combined into a single composite signal that can be transported over a
single link.
We can say that all signals to be transmitted use the same common
channel at the same time but they are allotted different frequencies to
prevent any kind of signal interference.
Channels can be separated by strips of unused bandwidth guard bands to
prevent signals from overlapping.
FDM (Frequency Division Multiplexing)
Channels can be separated by strips of unused bandwidth guard bands to
prevent signals from overlapping.
So the bandwidth is divided among users not time. But there is possibility
of cross talk in FDM since all signals are transmitted simultaneously.
Channel is allocated for each user even if there is no data.
It is used in broadcasting and cable television.
FDM (Frequency Division Multiplexing)
FDM (Frequency Division Multiplexing)
Advantages:
It transmits multiple signal simultaneously.
It does not need synchronization between transmitter and receiver.
Demodulation process of FDM is easy.
Disadvantages
Communication channel must have large bandwidth
FDM may suffers from problem of crosstalk.
It is more susceptible to the noise.
Intermodulation distortion takes place
Large number of filters and modulators are required.
WDM (Wavelength Division Multiplexing)
WDM is similar to FDM, except that the multiplexing and
demultiplexing involves light signals transmitted over fiber optic
channels.
Like in FDM, we combine different signals with different
frequencies but the frequency are very high in WDM.
Multiple light source are combine into one single light at the
multiplexer and the reverse at demultiplexer.
WDM (WavelengthDivision Multiplexing)
For combining or splitting the light source prism is used.
WDM is use in SONET (Synchronous Optical Network) network in
which multiple optical fiber lines are multiplexed and
demultiplexed.
New method called dense WDM can multiplex a very large number
of channels by spacing channels very close to one another. It also
provide greater efficiency.