CS601 Midterm Notes 2020
CS601 Midterm Notes 2020
CS601 Midterm Notes 2020
123 Topics:
CS601 Data Communication
ALI RAZA Virtual University
Of Pakistan
Data Communication
Topic # 01
Introduction the course: Data communication course basically about communication.
Data: Data can take different forms but it is need for communication.
Communication as always been a human need just like food water, shirt, from the very begging of time. We cannot survive without
communication. Communication in initial times took different forms.
Trends and advancements: Today the trends and advancements given us means and ways of Communication which are much
better than actually use and what we use in initial time. We don't have those fires, anymore. We have got laptop, we have got
smartphones, we have got ability to communicate to send text, to send audios, videos from point
A to point B in split second today.
What is taught in this course?
In this course we will cover only those topics which are related to communication That What happened, if we want to send anything
from point A to point B. We will go behind the scenes and we will understand and try to understand what happens.
What is not taught in this course?
we will not cover this course, we will not look at things like software applications, things like what happens when the information
leaves your local machine or phone or sending device.
Tips and tricks to do well:
Text books and if u have text book so only read Data communication topic and Skip all those topics which are related to networking
Text and References:
Data Communication is a reference book if you want to buy you can easily buy.
Data Communication is a very interesting Subject you will enjoy.
Topic # 02
Introduction to Data
Communication:
It's all about Sharing of information between two parties. It can be remote or local.
Telecommunications:
Tele means distance, communication is the Sharing information.
Communication at a distance includes telephony, telegraph and television etc.
Data communication:
Topic # 03
Effectiveness of a Communication
We have already read about data Communication. Today we discuss some Characteristics of data communication.
There are your characteristics:
Delivery Accuracy Timeliness. Jitter
Delivery:
Delivery is the basic characteristics for any digital system. Delivery of information basically characterized that now well data
communication is performing.
Accuracy: The system must deliver the data accurately. Data that have been altered in a transmission and left uncorrected are
unusable. So only accurate and efficient data should be sent to others.
Timeliness:
The system must deliver data in a timely manner. Data delivered late is useless. In the case of video and audio, timely delivery
means delivering data as they are produced, In the same order that they are produced, and without significant delay.
Jitter: Jitter refers to the variation in the packet arrival time. It is the uneven delay in the delivery of audio or video packets.
Topic # 04
In lecture no # 4 we just explore more about characteristics of data Communication, with the help of diagrams.
Topic # 05
Components of a Data Communication system
Topic # 06
As we know about data that data can be Text. Numbers. images. Audio, video.
Data Representations: Data Representation refers to the form in which data is stored, processed and transmitted. Such as text
Images into digital data that can be manipulated by electronic devices.
Data flow: How data flows from point A to B.
There are 3 modes that we are going to talk about
simplex mode, Half-Duplex, full Duplex.
Simplex: It's mean if we send data from one device to another is unidirectional, as in a one-way. Street, only one of the two
devices on a link can transmit, the other can only receive. The simplex made is used to send data in one direction.
Hall-Duplex: In half duplex mode, each station can both transmit and receive, but not at the same time. When one device is
sending the other can only receive.
full-duplex mode: In fall duplex modes transmission is simultaneously bi- directions. The devices can transmit and receive
Simultaneously.
Topic # 07
Networks
Networks: Interconnection of a set of devices Capable of communication. whether local or wide network. It consists of two
components, Host and Connecting device.
Host: A network host is a computer or the other device Connected to a computer network. A host may work as a server offering
information resources, services and applications to users or other hosts on the network.
Connecting Device: connecting devices are bridges between the different parts of a document that all the pieces together into one
Coherent package.
A network also must be able to meet a certain number of criteria.
1. Performance:
2. Reliability:
3. Security:
Performance: Performance of a network Pertains to the measure of service quality of Perceived by the user. The characteristics of
performance are (Throughout, Delay).
Reliability: The problem of sending a packet from a source to a destination as a single data link is considered. Reliable
communication is defined as the delivery of a set of packets in order, and without any losses or duplicate.
Security: Data Security is a process of Protecting files, database, and accounts on a network by adopting a set of controls,
applications and techniques, that identify the relative importance of different data sets their sensitivity, regulatory compliance
requirements and then applying appropriate protections to secure those resources.
(Throughput): tells you how much data was transferred from a source at any given time.
(Delay :-) network delay refers to the amount of time it takes.
Topic # 08
Physical Structure
Topic # 09
Physical topology
The physical topology is the way you physically lay out the network, like a map, and the logical topology is the way the
information flows on the network. Usually, the physical and logical topology is the same, but sometimes they can differ, such as
in a physical star/logical ring topology.
Topic # 10
physical layout of network:
Network topology is the layout pattern of interconnections of the various elements (links, nodes, etc.) of a computer
network. Network topologies may be physical or logical. Physical topology means the physical design of a network including the
devices, location and cable installation. Logical topology refers to how data is actually transferred in a network as opposed to its
physical design. In general, physical topology relates to a core network whereas logical topology relates to basic network.
Physical Topologies:
1. Mesh Topology:
Mesh topology is a type of networking where all nodes cooperate to distribute data amongst each other. they are typically used for
things like home automation, smart HVAC control, and smart buildings. A mesh network is a local network topology in which the
infrastructure nodes connect directly, dynamically and non-hierarchically to as many other nodes as possible and cooperate with
one another to efficiently route data from/to clients.
2. star topology:
A star topology is a topology for a Local Area Network (LAN) in which all nodes are individually connected to a central
connection point, like a hub or a switch. A star takes more cable than e.g. a bus, but the benefit is that if a cable fails, only one
node will be brought down.
Topic # 11
3. Bus Topology:
A bus topology is a topology for a Local Area Network (LAN) in which all the nodes are connected to a single cable. The cable
to which the nodes connect is called a "backbone". If the backbone is broken, the entire segment fails.
4. Ring topology
A ring topology is a network configuration where device connections create a circular data path. Each networked device is
connected to two others, like points on a circle. Together, devices in a ring topology are referred to as a ring network.
Topic # 12
Topic# 16
Internet History
• Telegraph and Telephone networks, before 1960:
• Constant-rate communication only
1947 Agency od USA present the ARPAnet.
• ARPANET- Packet Switched
In 1973 once again by WinTV albomycin
• Birth of the Internet &TCP/IP
In 1980 Also present internet in advance level
• MILNET
• CSNET
Topic# 17:
Internet standard and administration
• Internet draft
• Request for Comments (RFC)
✓ Proposed Standard
✓ Draft Standard
✓ Internet Standard
✓ Historic
✓ Experimental
✓ Informational
Internet start from internet Draft, and internet draft request for comments and proposed to standard level and it take at
least six months and two tries of implementation of drafting and then Draft standard take four months and two tries of
converting from Drat to Internet standard and then all point become history of experiment and information.
Topic#18
• Protocol
Rules that both the sender and receiver and all intermediate devices need to follow to be able to communicate effectively
A protocol is a standard set of rules that allow electronic devices to communicate with each other. These rules include what type
of data may be transmitted, what commands are used to send and receive data, and how data transfers are confirmed. You can
think of a protocol as a spoken language.
• Protocol Layering
Topic # 20
Protocol Layering - Advantages and Disadvantages
• Advantages
✓ Modularity
✓ Separation of Service & Implementation
Topic # 21
Protocol Layering - Principles
• Two Principles
✓ Bidirectional Communication → Each Layer performs two opposite tasks in each direction
✓ Two objects under each layer at both sites should be identical
The first principle dictates that if we want bidirectional communication, we need to make each layer so that it is able to perform
two opposite tasks, one in each direction. The second principle that we need to follow in protocol layering is that the two objects
under each layer at both sites should be identical.
Topic# 22
TCP/IP Protocol Suite
Topic#25:
TCP/IP Protocol Suite – Layer Description
Application Layer:
An application layer is an abstraction layer that specifies the shared communications protocols and interface methods used by
hosts in a communications network. The application layer abstraction is used in both of the standard models of computer
networking: The Internet Protocol Suite and the OSI model.
Transport Layer:
Topic # 27:
Open Systems Interconnection (OSI) Model
• International Organization for Standardization (ISO)
• ISO established in 1947
• Close to three-fourths of countries represented
• In 1970’s Introduced OSI Model in late 1970s
• OSI: a 7-Layer Model
• Application Layer:
• An application layer is an abstraction layer that specifies the shared communications protocols and interface methods used
by hosts in a communications network. The application layer abstraction is used in both of the standard models of
computer networking: The Internet Protocol Suite and the OSI model.
Topic # 29
Communication at Physical Layer
Topic # 30:
• Analog & Digital Signals
• Signals represent Data
• Signals → Analog or Digital
• Analog Signal → Infinite Levels of Intensity over time
• Digital Signal → Limited number of defined values
Topic # 31
Periodic Analog Signals
• Periodic Analog Signals → Simple or Composite
• Simple Periodic Analog signal→ Sine wave
• Composite Periodic Analog signal→ Composed of multiple sine waves
Value
•••
Time
Topic # 33
Topic# 34
Phase (or Phase Shift)
• Position of waveform relative to time 0
• Phase describes the amount of shift of the wave
Topics # 35
Wavelength
Wavelength is another characteristic of a signal traveling through a transmission medium.
Wavelength binds the period or the frequency of a simple sine wave to the propagation speed of the medium
(see Figure 3.7).
Figure
Topic # 37
Composite Signals
So far, we have focused on simple sine waves. Simple sine waves have many applications in daily life. We can send a single
sine wave to carry electric energy from one place to another. For example, the power company sends a single sine wave
with a frequency of 60 Hz to distribute electric energy to houses and businesses.
• Single Sine Wave can only carry limited information
• Composite Signal is made up of multiple simple sine waves
• Can be periodic or non-periodic
Amplitude
•••
Time
Amplitude
f 3f 9f Frequency
Topic # 38
Bandwidth
• An important characteristic that measures Network Performance
• Bandwidth can be used in two different contexts with two different measuring values:
• Bandwidth in Hertz
• Bandwidth in bits per second
Bandwidt
h
Bandwidt
Made
Bandwidt by Ali Raza
h in Hertz
h in bps
• Range of frequencies contained in a Composite Signal
• The bandwidth is normally a difference between two frequencies (the highest and the lowest)
If a periodic signal is decomposed into five sine waves with frequencies of 100, 300, 500, 700, and 900 Hz, what is its
bandwidth? Draw the spectrum, assuming all components have a maximum amplitude of 10 V.
In general, if a signal
has L levels, each
level needs log2 L
log2 4 = 2
bits
TOPIC # 40
In this case, we can send more than 1 bit for each level. Figure 3.17 shows two signals, one with two levels and the other
with four.
Example 3.17
A digital signal has nine levels. How many bits are needed per level? We calculate the number of bits by using the formula.
Each signal level is represented by 3.17 bits. However, this answer is not realistic. The number of bits sent per level needs
to be an integer as well as a power of 2. For this example, 4 bits can represent one level.
A digital signal has nine levels. How many bits are needed per level? We calculate the number of bits by using the formula.
Topic # 41
Bit Rate
Most digital signals are nonperiodic, and thus period and frequency are not appropriate characteristics. Another term—
bit rate (instead of frequency)—is used to describe digital signals. The bit rate is the number of bits sent in 1s, expressed in
bits per second (bps). Figure 3.17 shows the bit rate for two signals.
• Number of bits sent in 1 second
• Bit Rate is expressed in bits per second (bps)
• Most digital signals are non-periodic, and thus period and frequency are not appropriate characteristics
A digitized voice channel is made by digitizing a 4-kHz bandwidth analog voice signal. We need to sample the signal at
twice the highest frequency (two samples per hertz). We assume that each sample requires 8 bits. What is the required bit
rate?
Example 3.19
Solution
A page is an average of 24 lines with 80 characters in each line. If we assume that one character requires 8 bits, the bit rate
is
Topic # 42
Digital Signal as Composite Analog Signal
• Based on Fourier analysis, a digital signal is a composite analog signal
• A digital signal, in the time domain, comprises connected vertical and horizontal line segments
• Infinite Bandwidth
What is sent is not what is received. Three causes of impairment are attenuation, distortion, and noise (see Figure 3.26).
Signals travel through transmission media, which are not perfect. The imperfection causes signal impairment. This means
that the signal at the beginning of the medium is not the same as the signal at the end of the medium.
Attenuation:
Attenuation means a loss of energy. When a signal, simple or composite, travels through a medium, it loses some of its
energy in overcoming the resistance of the medium. That is why a wire carrying electric signals gets warm, if not hot, after
a while. Some of the electrical energy in the signal is converted to heat.
To compensate for this loss, amplifiers are used to amplify the signal. Figure 3.27 shows the effect of attenuation and
amplification.
Topic # 46
• Decibel (dB) measures the relative strengths of two signals or one signal at two different points
Topic # 47:
Distortion
Distortion – It means changes in the form or shape of the signal. This is generally seen in composite signals made up with
different frequencies. Each frequency component has its own propagation speed travelling through a medium
• Distortion means that the signal changes its form or shape.
• Distortion can occur in a composite signal made of different frequencies.
• Each signal component has its own propagation speed (see the next section) through a medium and, therefore, its
own delay in arriving at the final destination.
Topic # 48
Noise
Noise is unwanted electrical or electromagnetic energy that degrades the quality of signals and data. Noise occurs in digital and
analog systems, and can affect files and communications of all types, including text, programs, images, audio, and telemetry. ...
Normally this noise is of little or no consequence.
Figure 3.31
Noise – Signal to Noise Ratio (SNR)
• Signal to Noise Ratio (SNR) is used to find the theoretical bit rate limit of a signal
Topic # 49:
Data Rate Limits
A very important consideration in data communications is how fast we can send data, in bits per second, over a channel. Data
rate depends on three factors: The bandwidth available.
• How fast we can send data, in bits per second, over a channel?
• Data Rate depends on 3 factors:
✓ The Bandwidth available
✓ The level of the signals we use
✓ The level of noise
• Two theoretical formulas developed to calculate the data rate:
✓ one by Nyquist for a noiseless channel
✓ another by Shannon for a noisy channel
✓ For a noiseless channel, the Nyquist bit rate formula defines the theoretical maximum bit rate
✓ Finding balance between Bit rate and System Reliability
Example
Consider the same noiseless channel transmitting a signal with four signal levels (for each level, we send 2 bits). The
maximum bit rate can be calculated as
Topic # 50
Noisy Channel : Shannon Capacity:
• In reality, we cannot have a noiseless channel; the channel is always noisy
• In 1944, Claude Shannon introduced a formula, to determine the theoretical highest data rate for a noisy channel:
• Example:
• Consider an extremely noisy channel in which the value of the signal-to-noise ratio is almost zero. In other words,
the noise is so strong that the signal is faint. For this channel the capacity C is calculated as
• Data transmission (in form of Signal) over a network and how network behaves is important
• More important is the performance of the network
• How good is our network?
Network
Performance
Bandwidth
Bandwidth in Bandwidth in
Hertz bps
Range of frequencies No. of bits a channel, link
or network can transmit in a composite signal
Throughput
• Measure of how fast we can actually send data through a network.
• Bandwidth is not the same as Throughput
• A link may have a bandwidth of B bps, but we can only send T bps through this link with T always less than B
• 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?
Topic # 52:
Latency or Delay
• Latency or delay defines how long it takes for an entire message to completely arrive at the destination from the
time the first bit is sent out from the source
Example
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.
Case 2
Topic # 54
Digital-to-digital Conversion
• Data → Analog or Digital
• Signals → Analog or Digital
• Digital Transmission
• Analog Transmission
• Digital Transmission
Example:
A signal has a signal rate of 100 bauds. What is the Data rate if one data element is carried per signal element?
Topic # 56
Line Coding
Line coding is the process of converting digital data to digital signals. By this technique we convert a sequence of bits to a digital
signal. At the sender side digital data are encoded into a digital signal and at the receiver side the digital data are recreated by
decoding the digital signal
• Digital data to Digital signals
Topic # 58:
Polar RZ
Polar RZ. In this type of Polar signaling, a High in data, though represented by a Mark pulse, its duration T0 is less than the
symbol bit duration. Half of the bit duration remains high but it immediately returns to zero and shows the absence of pulse during
the remaining half of the bit duration.
Polar schemes (RZ)(return-to-zero)
Multilevel: 2B1Q:
Multilevel: 2B1Q scheme 10.2.5. Multiline Transmission NRZ-I and differential Manchester are classified as differential
encoding but use two transition rules to encode binary data (no inversion, inversion). If we have a signal with
2 Binary 1 Quinary
Topic # 62:
• Block coding changes a block of ‘m’ bits into a block of ‘n’ bits (n>m)
• mB/nB encoding technique
• We need Redundancy to ensure Synchronization
• Block coding gives us redundancy and improves line coding performance
Topic # 64
Scrambling
Topic # 65:
Types of Scrambling Techniques
Scrambling is a digital encoding technique that is used in modern data communication schemes and can principally provide aid
in retrieving information from received data enhancing synchronization between the transmitter and the receiver.
• Two common scrambling techniques are B8ZS and HDB3
• Bipolar with 8-Zero Substitution (B8ZS)
• High-density bipolar 3-zero (HDB3)
Topic # 66
Different situations in HDB3 scrambling technique
High-Density Bipolar-3 Zeros Based on bipolar-AMI String of four zeros is replaced with sequences containing one or two
pulses. B. HDB3 Number of Bipolar Pulses since last substitution Polarity of Preceding Pulse Odd Even - 000- +00+ + 000+ -00-
HDB3 substitutes four consecutive zeros with 000V or B00V depending on the number of nonzero pulses after the last
substitution. If no of non-zero pulses are even the substitution is B00V to make total non-zero pulse even. If no of non-zero
pulses are odd the substitution is 000V to make total non-zero pulses even. Example 1 of HDB3 encoding the pattern of bits " 1
0 0 0 0 1 1 0 “encoded in HDB3 is " + 0 0 0 V - + 0 " (the corresponding encoding using AMI is " + 0 0 0 0 - + "). Different
situations in HDB3 scrambling technique
Example 2 of HDB3 encoding the pattern of bits " 1 0 1 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 " encoded in HDB3 is " + 0 - 0 0 0 V
0 + - B 0 0 V - + B 0 0 V 0 0 " which is: " + 0 - 0 0 0 - 0 + - + 0 0 + - + - 0 0 - 0 0 "
• Sampling
• Quantization
• Encoding
Sampling:
In signal processing, sampling is the reduction of a continuous-time signal to a discrete-time ... Audio sampling[edit]. Digital
audio uses pulse-code modulation (PCM) and digital signals for sound reproduction. This includes analog-to-digital.
PCM (Pulse Code Modulation) is a standardized method used in the telephone network (POTS) to change an analog signal
to a digital one. The analog signal is first sampled at a 8-kHz sampling rate. Then each sample is quantized into 1 of 256
levels and then encoded into digital eight-bit words.
Topic # 70
Decoding
Just for explanation:
(The voltage at Vout of the decoder is identical with s(t) above. The decoder itself has introduced no distortion of the received
signal. But s(t) is already an inexact version of the sample-and-hold operation at the encoder. This will give rise to quantization
distortion as well as the sampling distortion already mentioned. You should read about these phenomena in a Text book.
extracts a frame synchronization signal FS from the data itself (from the embedded alternate ones and zeros in the LSB position),
or uses an FS signal stolen from the transmitter (see above).
Topic # 71:
Analog-to-digital Conversion
• Analog Data to Digital Data
• Process of Digitization
• Two techniques:
✓ Pulse Code Modulation (PCM)
✓ Delta Modulation (DM)
Delta Modulation (DM)
A delta modulation (DM or Δ-modulation) is an analog-to-digital and digital-to-analog signal conversion technique used for
transmission of voice information where quality is not of primary importance. The analog signal is approximated with a series of
segments.
• PCM is a very complex technique
• Delta modulation is a simpler technique
Topic # 72:
Delta Modulation Components
• Delta modulation is a simpler technique
• DM finds the change from the previous sample
• No code words
Parallel Transmission
When data is sent using parallel data transmission, multiple data bits are transmitted over multiple channels at the same time.
This means that data can be sent much faster than using serial transmission methods.
• Binary data (1s ad 0s) organized in groups of ‘n’ bits
• We send ‘n’ bits at a time instead of just one
• ‘n’ wires required to send ‘n’ bits at one time
Asynchronous Transmission
Asynchronous Transmission is a mode of serial transmission for modems and other telecommunication devices in which the
data is transmitted as a continuous stream of bytes separated by start and stop bits.
Direction of flow
Frame Frame Frame
Isochronous Transmission
The ISOCHRONOUS (ISOC) format for data transmission is a procedure or protocol in which each information CHARACTER
or BYTE is individually synchronized or FRAMED by the use of Start and Stop Elements, also referred to as START BITS and
STOP BITS.
Topic # 76
Digital-to-Analog Conversion
• Process of changing one of the characteristics of analog signal based on the information in digital data
• A sine wave is defined by 3 characteristics:
✓ Amplitude
✓ Frequency
✓ Phase
✓ By changing one of these characteristics, we can use it to represent a digital signal
Digital-to-Analog Conversion
Digital-to-analog conversion (DAC), Process by which digital signals (which have a binary state)
are converted to analog signals (which theoretically have an infinite number of states). For example, a modem converts
computer digital data to analog audio-frequency signals that can be transmitted over telephone lines.
• Example
An analog signal has a bit rate of 8000 bps and a baud rate of 1000 baud. How many data elements are carried by each
signal element? How many signal elements do we need?
Topic # 79
Amplitude Shift Keying (ASK)
Topic # 80
Amplitude Shift Keying (ASK)
• The amplitude of the carrier signal is varied to create signal elements
• Both frequency and phase remain constant while the amplitude changes
• Binary ASK or On-Off Keying (OOK)
Topic # 81
Frequency Shift Keying (FSK)
Frequency-shift keying (FSK) is a frequency modulation scheme in which digital information is transmitted through
discrete frequency changes of a carrier signal. The simplest FSK is binary FSK (BFSK). BFSK uses a pair of
discrete frequencies to transmit binary (0s and 1s) information.
• The frequency of the carrier signal is varied to represent data
• The frequency of the modulated signal is constant for the duration of one signal element, but changes for the next
signal element if the data element changes
• Both peak amplitude and phase remain constant
• The frequency of the carrier signal is varied to represent data
• Both peak amplitude and phase remain constant
Implementation of BFSK
Topic # 83
Phase Shift Keying (PSK)
Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant
frequency reference signal (the carrier wave). The modulation is accomplished by varying the sine and cosine inputs at a precise
time.
• The phase of the carrier is varied to represent two or more different signal elements
• Both peak amplitude and frequency remain constant
Example:
Find the bandwidth for a signal transmitting at 12 Mbps for QPSK. The value of d = 0.
Analog-to-Analog Conversion
Analog-to-analog conversion, or modulation, is the representation of analog information by an analog signal. It is a process by
virtue of which a characteristic of carrier wave is varied according to the instantaneous amplitude of the modulating signal
• Representation of Analog information by an Analog signal
• Amplitude Modulation (AM)
• Frequency Modulation (FM)
• Phase Modulation (PM)
Topic#88
Analog-to-Analog Conversion
• Representation of Analog information by an Analog signal
• Amplitude Modulation (AM)
• Frequency Modulation (FM)
• Phase Modulation (PM)
d/dt
BPM = 2(1 + b )B
0
fc
Topic#89
Multiplexing
• Simultaneous transmission of multiple signals across a single data link
• As data & telecom use increases, so does traffic
✓ Add individual links each time a new channel is needed
✓ Install higher-bandwidth links and use each to carry multiple signals
In telecommunications and computer networks, multiplexing is a method by which multiple analog or digital signals are combined
into one signal over a shared medium. The aim is to share a scarce resource. For example, in telecommunications, several
telephone calls may be carried using one wire.
Topic#90
Multiplexing
• Simultaneous transmission of multiple signals across a single data link
Categories of Multiplexing
Topic#91
• These modulated signals are then combined into a single composite signal that can be transported by the link
• An analog technique that can be applied when the bandwidth of a link (in hertz) is greater than the combined
bandwidths of the signals to be transmitted
Example:
Five channels, each with a 100-kHz bandwidth, are to be multiplexed together. What is the minimum bandwidth of
the link if there is a need for a guard band of 10 kHz between the channels to prevent interference?
Topic#93
Wavelength-Division Multiplexing
In fiber-optic communications, wavelength-division multiplexing (WDM) is a technology which multiplexes a number of optical
carrier signals onto a single optical.
• Designed to use the high-data-rate capability of fiber-optic cable
• Fiber data rate is higher than the data rate of metallic transmission cable
• Using a fiber-optic cable for a single line wastes the available bandwidth
• Multiplexing allows us to combine several lines into one
Topic#94
Time-Division Multiplexing
Time-division multiplexing (TDM) is a method of transmitting and receiving independent signals over a common signal path by
means of synchronized switches at each end of the transmission line so that each signal appears on the line only a fraction
of time in an alternating pattern.
• Digital process that allows several connections to share the high bandwidth of a link
• Time is shared i.e.; each connection occupies a portion of time in the link
TDM
Topic # 95
Time-Division Multiplexing
• Digital process that allows several connections to share the high bandwidth of a link
• Time is shared i.e. each connection occupies a portion of time in the link
In Figure the data rate for each input connection is 1 kbps. If 1 bit at a time is multiplexed (a unit is 1 bit), what is
the duration of
Topic#96
Time-Division Multiplexing
• Digital process that allows several connections to share the high bandwidth of a link
• Time is shared i.e.; each connection occupies a portion of time in the link
Multilevel Multiplexing
Multilevel Multiplexing Multilevel multiplexing is a technique used when the data rate of an input line is a multiple of
others. ... The first two input lines can be multi- plexed together to provide a data rate equal to the last three. A second level of
multi- plexing can create an output of 160 kbps.
Multilevel Muxing:
When some of the input lines have half the rate of the others.
Pulse stuffing
Pulse Stuffing: insertion of dummy bit (in the line with lower data rate).
Frame Synchronization
Mux-Demex synchronization is very important maintain the integrity of the frames exchange between
source and destination.
Framing bits
A “framing bit” is added at the beginning of a frame, alternating 0,1,0,1… between frames.
Topic#97
Digital Signal Service Hierarchy (DS-N)
Telephone companies use TDM via DS_n digital hierarchy.
Figure 6.23 Digital hierarchy
T-1 line data rate: 24 PCM channels 24 X 8 bits + 1 (framing) = 193 bits to be
transmitted every sample time 125 micro sec/sample (why?)
Notice that the sampling rate is 8000 sample/sec, since the TP line BW is 4 KHz and by Nyquist we
sample twice the channel BW (8000 sample/sec), hence 1/8000 = 125 micro sec/sample
6.47
• Tn are digital lines to carry digital data from digital or analog sources (in this case after using Delta
Code Modulation, DCM).
Topic # 98
Problem? Yes, at the destination “Demux”, directing the frames to the correct destination?
Solution add address to each Muxed frame with its corresponding destination user.
Time-Division Multiplexing
• Synchronous TDM
• Statistical TDM
• Empty slots
Statistical TDM
• TDM is inefficient in case of a user not using its assigned time slot (wasting BW).
Problem? Yes, at the destination “Demux”, directing the frames to the correct destination?
Solution add address to each Muxed frame with its corresponding destination user.
Topic#99
SPREAD SPECTRUM
In telecommunication and radio communication, spread-spectrum techniques are methods by which a signal generated with a
particular bandwidth is deliberately spread in the frequency domain, resulting in a signal with a wider bandwidth.
• In wireless applications, stations must be able to share the medium without interception by an eavesdropper and
without being subject to jamming from a malicious intruder
• To achieve these goals, spread spectrum adds redundancy and spread original spectrum needed for each station
• SPREAD SPECTRUM - Principles
The core principle of spread spectrum is the use of noise-like carrier waves, and, as the name implies, bandwidths much wider
than that required for simple point-to-point communication at the same data rate. Resistance to jamming (interference).
Topic#100
SPREAD SPECTRUM TECHNIQUES
In telecommunication and radio communication, spread-spectrum techniques are methods by which a signal (e.g., an electrical,
electromagnetic, or acoustic signal) generated with a particular bandwidth is deliberately spread in the frequency domain,
resulting in a signal with a wider bandwidth.
• Frequency Hopping Spread Spectrum (FHSS)
FHSS Cycles:
Bandwidth Sharing:
Shared and Dedicated Bandwidth. Shared Plans involves a set bandwidth shared among users, On a shared Internet
connection, all bandwidth (5 Mbps, 10 Mbps, etc.) is split among all users and devices. Download and upload speeds on
a shared package are “up to” a particular limit.
DSSS:
In telecommunications, direct-sequence spread spectrum (DSSS) is a spread-spectrum modulation technique primarily used to
reduce overall signal interference. The direct-sequence modulation makes the transmitted signal wider in bandwidth than the
information bandwidth.
• DSSS also expands the bandwidth of the original signal, but the process is different
• We replace each data bit with ‘n’ bits using a spreading code
• Each bit is assigned a code of ’n’ bits, called chips, where the chip rate is ‘n’ times that of the data bit
Topic#102:
Transmission Media
• Located below the physical layer and are directly controlled by the physical layer
• Belong to layer zero
• Metallic Media i.e. Twisted pair and Coaxial Cable
• Optical Fiber Cable
Guided Media:
Guided media, which are those that provide a conduit from one device to another, include twisted-pair cable, coaxial cable, and
fiber-optic cable. Guided Transmission Media uses a "cabling" system that guides the data signals along a specific path.
• Media that provides a conduit from one device to another
• Twisted-pair cable, coaxial cable, and fiber-optic cable
• Signal traveling along any of these media is directed and contained by the physical limits of the medium
Twisted-Pair Cable:
Twisted pair cabling is a type of wiring in which two conductors of a single circuit are twisted together for the purposes of
improving electromagnetic compatibility
• Consists of 2 copper conductors, each with its own plastic insulation, twisted together
• One wire carries signals and other is ground reference
• Receiver uses difference between the two
• Interference (Noise) & Crosstalk
Topic #103:
Twisted-Pair Cable:
Topic # 104
Categories of Unshielded Twisted-Pair Cables
UTP Connectors:
Topic#106
Coaxial Cable
• Carries signals of higher frequency ranges than those in twisted pair cable
The BNC connector is a miniature quick connect/disconnect radio frequency connector used for coaxial cable.
Fiber-Optic Cable
• Made of glass or plastic and transmits signals in the form of light
Propagation Modes
Topic#109
Modes
Fiber Composition
A single fiber itself is a composite material consisting of cellulose, hemicelluloses, and lignin, with minor amounts of sugars,
starch proteins, etc, — it is a three-dimensional biopolymer. The performance of a natural fiber depends on several factors, such
as its chemical composition and physical properties [8]
The Electromagnetic Spectrum. The electromagnetic (EM) spectrum is the range of all types of EM radiation. Radiation is
energy that travels and spreads out as it goes – the visible light that comes from a lamp in your house and the radio waves that
come from a radio station are two types of electromagnetic radiation.
Bands
Omnidirectional Antenna
In radio communication, an omnidirectional antenna is a class of antenna which radiates equal radio power in all directions
perpendicular to an axis (azimuthal directions), with power varying with angle to the axis (elevation angle), declining to zero on
the axis.
Unidirectional Antennas
A unidirectional antenna focuses the radiofrequency (RF) energy in one or two directions which lowers the beamwidth and
overall area covered, but increases the strength of the signal and distance covered in that direction. In fact, an indoor 14dBi
directional antenna can reach up to 3.2km indoors and 6.4km outdoors! However, for these antennas to work optimally they have
to be pointed directly at the receivers so that the signal can be detected – this can make installation a difficult process.
Infrared
Infrared radiation (IR), or infrared light, is a type of radiant energy that's invisible to human eyes but that we can feel as heat.
All objects in the universe emit some level of IR radiation, but two of the most obvious sources are the sun and fire.
• Infrared waves, with frequencies from 300 GHz to 400 THz (wavelengths from 1 mm to 770 nm), can be used for
short-range communication
• Infrared waves, having high frequencies, cannot penetrate walls
• Prevents interference between one system and another
Topic# 115
Three Methods of Switching
• Three Methods:
✓ Circuit Switching
✓ Packet Switching
Circuit-switched Networks
• A set of switches connected by physical links
• A connection between two stations is a dedicated path made of one or more links
• Each connection uses only one dedicated channel on each link
• Each link is normally divided into n channels by using FDM or TDM
• A set of switches connected by physical links
A Circuit-Switched Network
Example:
As another example, consider a circuit-switched network that connects computers in two remote offices of a
private company. The offices are connected using a T-1 line leased from a communication service provider. There are two
4 × 8 (4 inputs and 8 outputs) switches in this network.
Topic# 117
Three Phases in a Circuit Switched Network
• The actual communication in a circuit-switched network requires 3 phases:
✓ Connection Setup
✓ Data Transfer
✓ Connection Teardown
Topic#118:
Efficiency of a Circuit-Switched Network
• Not as efficient as packet switching because resources are allocated during the entire duration of the connection
and these resources are unavailable to other connections
• In a telephone network, people normally terminate the communication when they have finished their conversation
• Data Network is an issue
Delay in a Circuit-Switched Network
• Circuit switched networks have low efficiency but minimal delay
• Data is not delayed at each switch; the resources are allocated for the duration of the connection
Topic # 122
Virtual-Circuit Networks
A virtual-circuit network is a cross between a circuit-switched network and a datagram network
Virtual-Circuit Identifier
A virtual circuit identifier (VCID) is a type of numeric identifier used to distinguish between different virtual circuits in a
connection-oriented circuit-switched telecommunication network. It enables a circuit-switched network to identify
different virtual circuits/channels involved in a device's data communication.
Topic# 123
Structure of A Circuit Switch
• Circuit switching today can use either of two technologies:
✓ The Space-Division switch
✓ The Time-Division switch
Crossbar switch with 3 inputs & 4 outputs
Time-Division Switch
• Uses TDM inside a switch
• Most popular technology is Time-Slot Interchange (TSI)
Thank You