Eeg 82912
Eeg 82912
Information Technology
Course outline
• Data communication: Data transmission- transmission media,
encoding communication interface, link control, multiplexing
local/wide area network circuit switching, packet switching, frame
relay and asynchronous transfer mode, LAN technology, LAN systems,
bridges communication architectures, internetworking, transport
protocol, network security, distributed applications
Recommended texts
• DATA AND COMPUTER COMMUNICATIONS by William Stallings
Signal Encoding and Modulation
• Digital signalling is the process of encoding a data source g(t), which may be
either digital or analog, into a digital signal x(t).The actual form of x(t) depends
on the encoding technique and is chosen to optimize use of the transmission
medium.
• The basis for analog signalling is a continuous constant-frequency signal
known as the carrier signal. The frequency of the carrier signal is chosen to be
compatible with the transmission medium being used.
• Data may be transmitted using a carrier signal by modulation. Modulation is
the process of encoding source data onto a carrier signal with frequency fc. All
modulation techniques involve operation on one or more of the three
fundamental frequency domain parameters: amplitude, frequency, and phase.
• The input signal m(t) may be analog or digital and is called the modulating
signal or baseband signal. The result of modulating the carrier signal is called
the modulated signal s(t).
• There are four possible combinations:
• Digital data, digital signal: encoding digital data into a digital signal is less
complex and less expensive than digital-to analog modulation equipment.
• Analog data, digital signal: Conversion of analog data to digital form permits
the use of modern digital transmission and switching equipment.
• Digital data, analog signal: Some transmission media, such as optical fiber
and unguided media, will only propagate analog signals.
• Analog data, analog signal: Analog data in electrical form can be transmitted
as baseband signals easily and cheaply. This is done with voice transmission
over voice-grade lines. One common use of modulation is to shift the
bandwidth of a baseband signal to another portion of the spectrum.
Digital data to digital signal:
• Digital data: binary data – bits 0, 1
• Digital signal: a sequence of discrete, discontinuous voltage pulses.
• Methods: NRZ, Multi-level binary, biphase
Nonreturn to Zero (NRZ)-
• use two different voltage levels for the two binary digits. Other variants of this
include Nonreturn to Zero-Level (NRZ-L)- a negative voltage represents one
binary value and a positive voltage represents the other, NRZI (Nonreturn to
Zero, invert on ones)- maintains a constant voltage pulse for the duration of
a bit time.The data themselves are encoded as the presence or absence
of a signal transition at the beginning of the bit time. A transition (low to
high or high to low) at the beginning of a bit time denotes a binary 1 for
that bit time; no transition indicates a binary 0.
• The NRZ codes are the easiest to engineer and, in addition, make efficient use of
bandwidth.
• The main limitations of NRZ signals are the presence of a dc component and the
lack of synchronization capability
• Because of their simplicity and relatively low frequency response characteristics,
NRZ codes are commonly used for digital magnetic recording. However, their
limitations make these codes unattractive for signal transmission applications
Multi level Binary
• use more than two signal levels to represent bits using bipolar-AMI (alternate
mark inversion) and pseudoternary methods.
• bipolar-AMI scheme, a binary 0 is represented by no line signal, and a binary
1 is represented by a positive or negative pulse with the binary 1 pulses
alternating in polarity.
• pseudoternary methods is an inverse of bipolar-AMI
• There are several advantages to this approach
• there will be no loss of synchronization if a long string of 1s occurs because 1 introduces
a transition, and the receiver can resynchronize on that transition though a long string
of 0s would still be a problem.
• because the 1 signals alternate in voltage from positive to negative, there is no net dc
component. Also, the bandwidth of the resulting signal is considerably less than the
bandwidth for NRZ
• the pulse alternation property provides a simple means of error detection. Any isolated
error, whether it deletes a pulse or adds a pulse, causes a violation of this property.
biphase
• Manchester code has is a transition at the middle of each bit period. This midbit
transition serves as a clocking mechanism and also as data: a low-to-high transition
represents a 1, and a high-to-low transition represents a 0.
• In differential Manchester, the midbit transition is used only to provide clocking. The
encoding of a 0 is represented by the presence of a transition at the beginning of a
bit period, and a 1 is represented by the absence of a transition at the beginning of a
bit period. Differential Manchester has the added advantage of employing
differential encoding.
• All of the biphase techniques require at least one transition per bit time and may
have as many as two transitions. Thus, the maximum modulation rate is twice that
for NRZ; this means that the bandwidth required is correspondingly greater.
• Advantages of biphase schemes include:
Synchronization: Because there is a predictable transition during each bit time,
the receiver can synchronize on that transition. For this reason, the biphase
codes are known as self-clocking codes.
No dc component: Biphase codes have no dc component
Error detection: The absence of an expected transition can be used to detect
errors.
Modulation rate (baud)
• rate at which signal elements are generated rep by D
𝑅 𝑅
•𝐷= =
𝐿 log2 𝑀
• L = number of bits per signal element
• M = number of different signal elements = 2𝐿
• R = data rate, bps
• D = modulation rate, baud
Digital data to analog signal
• Three methods are used toconver bits to analog signal- amplitude
shift keying (ASK), frequency shift keying (FSK), and phase shift keying
(PSK).
ASK
• In ASK, the two binary values are represented by two different amplitudes of
the carrier frequency. Commonly, one of the amplitudes is zero; that is, one
binary digit is represented by the presence, at constant amplitude, of the
carrier, the other by the absence of the carrier
𝐴 cos 2𝜋𝑓𝑐 𝑡 𝑏𝑖𝑛𝑎𝑟𝑦 1
• 𝑠 𝑡 =ቊ where the carrier frequency is 𝐴 cos 2𝜋𝑓𝑐 𝑡
0 𝑏𝑖𝑛𝑎𝑟𝑦 0
• To match the data rate of the input bit stream, each output signal element is
held for a period of 𝑇𝑠 = 𝐿𝑇seconds, where T is the bit period (data ). Thus,
one signal element, which is a constant-frequency tone, encodes L bits.
total bandwidth required is 2𝑀𝑓𝑑
1
minimum frequency separation 2𝑓𝑑 =
𝑇𝑠
𝑀
∴the modulator requires a bandwidth of 𝑊𝑑 = 2𝑀𝑓𝑑 =
𝑇𝑠
Phase Shift Keying
• In PSK, the phase of the carrier signal is shifted to represent data.
• Two-Level PSK (BPSK)- The simplest scheme uses two phases to represent the two
binary digits and is known as binary phase shift keying. The resulting transmitted
signal for one bit time is
𝐴 cos 2𝜋𝑓𝑐 𝑡 𝐴 cos 2𝜋𝑓𝑐 𝑡 𝑏𝑖𝑛𝑎𝑟𝑦 1
• 𝑠 𝑡 =ቊ =ቊ
𝐴 cos 2𝜋𝑓𝑐 𝑡 + 𝜋 −𝐴 cos 2𝜋𝑓𝑐 𝑡 𝑏𝑖𝑛𝑎𝑟𝑦 0
• An alternative form of two-level PSK is differential PSK (DPSK) in which a binary 0 is
represented by sending a signal burst of the same phase as the previous signal burst
sent. A binary 1 is represented by sending a signal burst of opposite phase to the
preceding one. This differential refers to the fact that the phase shift is with
reference to the previous bit transmitted rather than to some constant reference
signal. In differential encoding, the information to be transmitted is represented in
terms of the changes between successive data symbols rather than the signal
elements themselves. DPSK avoids the requirement for an accurate local oscillator
phase at the receiver that is matched with the transmitter. As long as the preceding
phase is received correctly, the phase reference is accurate.
Four-Level PSK
• More efficient use of bandwidth can be achieved if each signalling element
represents more than one bit. For example, instead of a phase shift of 180°, as
allowed in BPSK, a common encoding technique, known as quadrature phase shift
𝜋
keying (QPSK), uses phase shifts separated by multiples of with each signal element
2
represents two bits rather than one
𝜋
𝐴 cos 2𝜋𝑓𝑐 𝑡 + 4 11
3𝜋
𝐴 cos 2𝜋𝑓𝑐 𝑡 + 4
01
• 𝑠 𝑡 = 3𝜋
𝐴 cos 2𝜋𝑓𝑐 𝑡 − 4 00
𝜋
𝐴 cos 2𝜋𝑓𝑐 𝑡 − 10
4