[go: up one dir, main page]

0% found this document useful (0 votes)
41 views57 pages

Cs601 Mynotes Merged

Uploaded by

kashafazam41
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views57 pages

Cs601 Mynotes Merged

Uploaded by

kashafazam41
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

In wireless communication, stations (devices) need to share the communication medium while

ensuring their data is protected from two main risks:

1. Interception by Eavesdroppers: Prevent unauthorized access to the transmitted data.

2. Jamming by Malicious Intruders: Protect communication from intentional interference or


disruption.

Spread Spectrum:

To achieve these goals, spread spectrum is used. This technique:

• Adds Redundancy: Extra information is added to the signal, which can help in error
correction and recovery.

• Spreads the Original Signal: The signal is spread out over a larger range of
frequencies, so it's harder for people to listen in or block the signal.

PRINCIPLES

• • Larger Bandwidth for Each Station: Each station (device) needs more bandwidth
than required so that extra data (redundancy) can be added. This helps maintain signal
quality even if there are errors or disruptions.
• • Independent Spreading: The process of spreading the signal over a wide range of
frequencies should be done in a way that doesn't depend on the original signal,
allowing it to be more secure and resistant to interference

SPREAD SPECTRUM TECHNIQUES

• • FHSS: The signal jumps between different frequencies.


• • DSSS: The signal is spread over a wide range of frequencies using a noise code.
Multiplexing is when multiple signals (like data or phone calls) are sent at the same time over a
single connection.

In Simple Terms:

• It’s like sending many messages in one envelope instead of sending each message separately.

Categories of Multiplexing:
1. Frequency Division Multiplexing (FDM):

o Different signals are sent on different frequencies within the same channel.

o Example: Radio stations using different frequencies.

2. Time Division Multiplexing (TDM):

o Each signal gets a specific time slot to use the channel.

o Example: Telephone networks.

3. Wavelength Division Multiplexing (WDM):

o Used in optical Fibers, where different signals are sent using different light
wavelengths (colors).

o Example: Fiber-optic internet.

Frequency-Division Multiplexing (FDM):

1. What It Is:

o FDM is an analog technique used when the total bandwidth of the communication
link is larger than the combined bandwidths of all the signals being sent.

2. How It Works:

o Each signal from a device is sent using a different carrier frequency.

o These frequencies are combined and transmitted together over the same channel
without interfering with each other (in simple words Different signals are merged
into one signal and sent together through the same link.)

Demultiplexing is the process of separating combined signals that were transmitted


together over a single communication link. It is the reverse of multiplexing.

Example -1

Step 1: Allocate the Bandwidth

1. The total available bandwidth is from 20 kHz to 32 kHz.


o Total bandwidth = 32−20=1232 - 20 = 1232−20=12 kHz.

2. Each voice channel takes 4 kHz.

o 12kHz÷3=4kHz per channel.

3. Since there are no guard bands, the channels are placed adjacent to each other.

Step 2: Assign Frequency Ranges

Channel 1 (C1): Occupies 20 kHz to 24

Channel 2 (C2): Occupies 24 kHz to 28 kHz

Channel 3 (C3): Occupies 28 kHz to 32

Frequency Domain Representation

|---------|---------|---------|

20 kHz 24 kHz 28 kHz 32 kHz

C1 C2 C3

Channel 1: 20–24 kHz

• Channel 2: 24–28 kHz

• Channel 3: 28–32 kHz

Example -2

To calculate the minimum bandwidth of the link, we need to account for:

• The bandwidth of each channel (100 kHz)

• The number of channels (5 channels)

• The guard band (10 kHz between each channel)

Step-by-Step Calculation:

1. Total bandwidth required for channels:

o Each channel requires 100 kHz, and there are 5 channels.

o Total bandwidth for channels = 5×100 kHz=500

2. Guard bands:

o Since there are 5 channels, there will be 4 guard bands between them (one less than
the number of channels).
o Total guard band = 4×10 kHz=40

3. Total bandwidth for the link:

o Add the total bandwidth for the channels and the total guard band.

o Total link bandwidth = 500 kHz+40 kHz=540

Answer:

The minimum bandwidth of the link required is 540 kHz

Fiber-Optic Multiplexing:

• Designed for High Data Rates:

o Fiber-optic cables are designed to support very high data rates, much higher than
metallic transmission cables (like copper).

• Fiber-Optic vs. Metallic Cable:

o Fiber-optic cables have much greater bandwidth and can carry more data over long
distances without losing signal quality compared to traditional metallic cables.

• Wasting Bandwidth:

o If a fiber-optic cable is used for just a single data line, it would not be fully utilizing
the high bandwidth available.

In simple words Fiber-optic cables are very fast and can carry a lot of data. If we only use one
line for one signal, we aren't using the full potential of the cable

Wavelength-Division Multiplexing (WDM):

WDM is a technology used in fiber-optic communication that allows multiple signals to be


transmitted over a single fiber-optic cable by using different wavelengths (or frequencies) of
light

A multiplexer combines many signals into one.

A demultiplexer splits that one signal back into the original individual signals

Synchronous Time-Division Multiplexing (STDM) is a type of Time Division Multiplexing


(TDM) where each connection is given a fixed time slot in a repeating sequence, regardless
of whether there is data to send or not
Why Use Interleaving?

• Error Correction

• Improved Reliability

Pulse Stuffing is like filling empty spaces in a schedule with extra, non-important bits (or pulses) to
keep everything running smoothly. This ensures there are no gaps or timing problems in the
transmission, and all data fits correctly into its time slot.

Synchronous TDM is like a fixed schedule where everyone gets their turn to talk at specific times,
even if they don't have anything to say. This can waste time when someone doesn't have data to
send.

Statistical TDM is more like a flexible schedule. People only get time to talk when they have
something to say, which makes the system more efficient. If someone doesn't have data, someone
else can use their time.
Digital-to-Analog Conversion

Digital-to-Analog Conversion (DAC) is the process of changing digital signals (numbers) into analog
signals (smooth, continuous signals). Think of it like translating computer language into something
humans or machines can use, like sound or light.

Example:

 Digital signal: A series of 1s and 0s (binary code), like instructions from a computer.

 Analog signal: A smooth wave, like the sound you hear from a speaker or the voltage
controlling a motor.

A sine wave is a continuous signal that can be modified to carry digital information by changing its
amplitude, frequency, or phase

1. Amplitude Modulation (AM)

 The amplitude (height) of the sine wave changes to represent data.

 Example:

o A high amplitude might represent a digital 1.

o A low amplitude might represent a digital 0.

2. Frequency Modulation (FM)

 The frequency (how many cycles the wave completes in one second) changes to represent
data.

 Example:

o A higher frequency might represent a digital 1.

o A lower frequency might represent a digital 0.

3. Phase Modulation (PM)

 The phase (the wave's starting point in its cycle) shifts to represent data.

 Example:

o A 0-degree phase might represent a digital 1.

o A 180-degree phase might represent a digital 0.

The types of Digital-to-Analog Conversion are:

1. Amplitude Shift Keying (ASK)

2. Frequency Shift Keying (FSK)

3. Phase Shift Keying (PSK)

4. Quadrature Amplitude Modulation (QAM)


5.  Amplitude Shift Keying (ASK): Modulates the amplitude of the carrier wave to
represent digital data.
6.  Frequency Shift Keying (FSK): Modulates the frequency of the carrier wave to
represent digital data.
7.  Phase Shift Keying (PSK): Modulates the phase of the carrier wave to represent
digital data.
8.  Quadrature Amplitude Modulation (QAM): Combines amplitude and phase
modulation to represent multiple bits per symbol.
Before Digital-to-Analog Modulation: Two Basics to Understand

1. Bit Rate and Baud Rate

o Bit Rate: How many bits (1s and 0s) are sent per second.

o Baud Rate: How many times the signal changes per second.

o Key Difference: One signal change (baud) can carry one or more bits, depending on
the method used.

2. Carrier Signal

o What it is: A continuous wave that carries the data.

o Why it matters: We change (modulate) the wave’s amplitude, frequency, or phase to


represent the digital data.

1. Baud Rate ≤ Bit Rate in Analog Transmission of Digital Data

 Reason: Advanced modulation techniques allow multiple bits to be transmitted with one
signal change (baud).

 Example: If a signal change represents 2 bits, the baud rate will be half the bit rate.

2. Data Element vs. Signal Element

 Data Element: The smallest unit of data, typically a bit (1 or 0).

 Signal Element: The smallest unit of a signal, which represents one or more data elements.

3. Data Rate vs. Signal Rate

 Data Rate: The speed at which data is transmitted, measured in bits per second (bps).

 Signal Rate: The speed at which signal elements (modulation changes) are transmitted,
measured in baud.

 Relationship: A higher signal rate often requires more bandwidth, except for techniques like
FSK.
4. Bandwidth Required ∝ Signal Rate (except FSK)

 Explanation: Generally, the more signal changes per second, the more bandwidth is needed.

 FSK Exception: Frequency modulation uses separate frequencies for data, which affects
bandwidth differently.

5. Carrier Signal

 What it is: A continuous wave used to carry digital data.

 How it works: The carrier signal is modulated (amplitude, frequency, or phase) to represent
the digital data for transmission.

These concepts form the foundation of analog transmission of digital data!

4o

You said:

more simple

ChatGPT said:

ChatGPT

Key Concepts for Analog Transmission of Digital Data

1. Baud Rate ≤ Bit Rate

o Why: A single signal change (baud) can represent one or more bits.

o Example: If one signal change carries 2 bits, the baud rate is half the bit rate.

2. Data Element vs. Signal Element

o Data Element: The smallest piece of information, like a bit (1 or 0).

o Signal Element: The part of the signal that represents the data, which could include
one or more bits.

3. Data Rate vs. Signal Rate

o Data Rate: How fast data (bits) is sent, measured in bits per second (bps).

o Signal Rate: How fast the signal changes, measured in baud.

4. Bandwidth Required ∝ Signal Rate (except FSK)

o What it means: More signal changes need more bandwidth.

o FSK Exception: Uses separate frequencies for data, so bandwidth behaves differently.
5. Carrier Signal

o What it is: A wave that carries the data.

o How it works: We change (modulate) the wave's amplitude, frequency, or phase to


send the data.

These are the basics for how digital data is sent using analog signals!

4o

You said:

• In Analog Transmission of Digital Data, Baud Rate is less than or equal to the Bit Rate  Data
Element vs. Signal Element  Data Rate vs. Signal Rate • Bandwidth Required ∝ Signal Rate (except
FSK) • Carrier Signal

ChatGPT said:

ChatGPT

Key Points Simplified

1. Baud Rate ≤ Bit Rate

o One signal change (baud) can carry one or more bits, depending on the modulation.

o Example: If 1 signal change carries 2 bits, baud rate is half the bit rate.

2. Data Element vs. Signal Element

o Data Element: Smallest piece of information, like a single bit (1 or 0).

o Signal Element: A part of the signal representing one or more data elements.

3. Data Rate vs. Signal Rate

o Data Rate: Speed of transmitting bits, measured in bits per second (bps).

o Signal Rate: Speed of signal changes, measured in baud.

4. Bandwidth ∝ Signal Rate (except FSK)

o More signal changes mean more bandwidth is needed.

o FSK Exception: Bandwidth depends on the frequency difference, not directly on


signal rate.

5. Carrier Signal
o A continuous wave used to carry digital data by modulating its amplitude, frequency,
or phase.

Examples

Amplitude Shift Keying (ASK)

 What happens: The amplitude (height) of the carrier signal is varied to represent digital
data.

 Frequency and Phase: Both the frequency and phase of the carrier signal remain constant
while only the amplitude changes.

 Binary ASK or On-Off Keying (OOK):


o Binary ASK: Uses two amplitude levels to represent 0 and 1.

o On-Off Keying (OOK): A special case where:

 Amplitude = 0 represents a 0.

 Amplitude ≠ 0 (any non-zero amplitude) represents a 1.

Example:

 When transmitting a 1, the carrier might have a full amplitude.

 When transmitting a 0, the carrier could have zero amplitude (effectively no signal).

In Binary Amplitude Shift Keying (Binary ASK), the amplitude of the carrier wave is changed to
represent digital data. A high amplitude represents a 1, and a low or zero amplitude represents a
0. In the image, the bit rate is 5 bits per second, meaning 5 bits are transmitted each second. The
baud rate (signal changes per second) is also 5, as each signal change represents one bit of data.
The carrier signal oscillates with varying amplitude to send the information, with each signal
element corresponding to one bit. This method is simple but can be affected by noise, which can
distort the signal.
In this image, Binary ASK is shown in action:

 The carrier signal (black wave) is a constant signal.

 The digital data (1 0 1 1 0) tells when to change the signal's amplitude.

 When the data is 1, the carrier's amplitude is high; when the data is 0, the amplitude is
low.

 A multiplier combines the digital data with the carrier wave to create the modulated signal
(blue wave).

 An oscillator generates the carrier frequency that is used to modulate the signal.

Example
In Frequency Shift Keying (FSK):

 The carrier frequency changes to represent data.

 The frequency stays constant for each signal element but changes for the next if the data
changes.

 The amplitude and phase remain constant.



The image illustrates Binary Frequency Shift Keying (BFSK), where digital data is represented by
two different frequencies. One frequency is used to represent a 1, and another is used to represent
a 0. In the example shown, the bit rate is 5 bits per second, meaning 5 bits are transmitted every
second, and the baud rate is also 5, indicating that 5 signal changes happen each second. The
signal elements (each corresponding to one bit) alternate between two frequencies, f1f_1f1 and
f2f_2f2, depending on whether the data bit is 1 or 0. The amplitude of the signal remains constant,
with only the frequency changing to carry the data. This technique is resistant to noise, making it
useful in communication systems where clarity is important.
2

 PSK (Phase Shift Keying): Modulates data by varying the phase of the carrier signal.

 Amplitude and frequency of the carrier remain constant.

 More robust against noise compared to ASK or FSK.

 Commonly used in digital communication systems.

 Variants include:

o BPSK (Binary PSK): Two phases (0° and 180°).for 1 bit.

o QPSK (Quadrature PSK): Four phases (0°, 90°, 180°, 270°).for 2 bits.
Diagrams

Binary Phase Shift Keying (BPSK) is a modulation technique where binary data is represented by
two distinct phases of a carrier signal. In BPSK, a phase shift corresponds to a bit: one phase
represents a binary 0, and the other phase represents a binary 1. The amplitude and frequency of
the carrier remain constant, making BPSK robust against noise. While it is simple and reliable,
BPSK has a lower data rate compared to higher-order modulation techniques, as it only transmits
one bit per symbol.

To implement Binary Phase Shift Keying (BPSK), binary data (0s and 1s) is mapped to two phases of
a carrier signal. A binary 0 is represented by one phase (e.g., 0°), and a binary 1 is represented by
another phase (e.g., 180°). The carrier signal, with constant amplitude and frequency, is modulated
by switching its phase based on the binary input. At the receiver, the phase of the incoming signal
is detected and compared to decode the transmitted bits. This method is simple, robust against
noise, and transmits one bit per symbol.

QPSK and its Implementation


QPSK (Quadrature Phase Shift Keying) is a type of modulation technique used
in communication systems to transmit data. It encodes two bits of
information in each signal change, making it more efficient than simpler
techniques like BPSK (Binary Phase Shift Keying)
Implementation:
 Modulator: The data is split into pairs of bits. For each pair, a phase
shift (0°, 90°, 180°, or 270°) is applied.
 Demodulator: The receiver detects the phase of the incoming signal
and decodes it back into the original bit pair.
Example:

A constellation diagram is a graphical representation of a modulation


scheme, showing the possible states (symbols) of a signal in terms of their
amplitude and phase. It's used to visualize how the signal varies in the
complex plane, with both the in-phase (I) and quadrature (Q) components
plotted
The image shows a constellation diagram, which visualizes the modulation
process of digital signals. The X-axis represents the in-phase carrier, while the
Y-axis shows the quadrature carrier. Each point represents a unique symbol
defined by its amplitude and phase angle. Examples of modulation schemes
include BASK (OOK), where amplitude varies; BPSK, with two distinct phase
points; and QPSK, which uses four points for encoding data. This diagram
helps analyze signal performance in terms of clarity and noise resilience.

 PSK is limited because it’s hard to detect small phase changes.


 Instead of changing just phase, change both phase and amplitude.
 This combination is called QAM (Quadrature Amplitude Modulation).
 QAM allows higher data rates by using both amplitude and phase.
PSK (Phase Shift Keying) and Its Limitation
 PSK works by altering the phase of a sine wave to encode data. However,
it’s limited by the equipment's ability to distinguish small phase
differences, which can affect its bit rate (the speed at which data is
transmitted).
What if We Alter Two Characteristics?
 Instead of just changing one characteristic of a sine wave (like Amplitude
(ASK) or Phase (PSK)), why not change two characteristics at once? This
allows more data to be transmitted at the same time, increasing
efficiency and bit rate.

Representation of Analog Information by an Analog Signal


Analog signals can be used to represent analog information (continuous
signals) in several ways, by altering different properties of the signal

Modulation
Description Common Example
Type

Amplitude The amplitude of the carrier


Modulation signal is varied according to AM Radio
(AM) the input signal.
Modulation
Description Common Example
Type

Frequency The frequency of the carrier


Modulation signal is varied according to FM Radio
(FM) the input signal.

Phase The phase of the carrier Used in Digital


Modulation signal is varied according to Communications, Satellite
(PM) the input signal. Communication

Key Points:
 AM (Amplitude Modulation): Changes the height (amplitude) of the
signal to encode information.
 FM (Frequency Modulation): Changes the frequency (spacing between
waves) to represent data.
 PM (Phase Modulation): Changes the phase of the wave, which is how
far the wave is shifted over time.
 Multiplexing
 Multiplexing is the process of combining multiple signals or data streams into a single
signal or data stream for transmission over a shared medium. It allows efficient use of
the available bandwidth by enabling simultaneous transmission of multiple signals.

Simultaneous Transmission: Multiple signals are transmitted at the same time


over a single communication link
How It Works:
 Individual links: Traditionally, when a new channel is needed, a new
physical link is added.
 Multiplexing: Instead of adding individual links, higher-bandwidth links
are installed, and multiple signals are combined and transmitted on the
same link.
Types of Multiplexing:
1. Time Division Multiplexing (TDM): Divides time into slots, assigning
each signal a specific time slot for transmission.
2. Frequency Division Multiplexing (FDM): Divides the available bandwidth
into multiple frequency bands, with each signal transmitted in a different
band.
3. Wavelength Division Multiplexing (WDM): Used in fiber-optic
communication, dividing the light spectrum into multiple channels.
Benefits:
 Efficient use of bandwidth.
 Cost-effective: Fewer physical connections are needed.
 Increased capacity: More signals can be transmitted without requiring
more cables or infrastructure.
Multiplexing is essential for modern communication systems, like internet,
phone networks, and broadcasting.
Communication

 Definition: The act of sharing or exchanging information, ideas, or messages between


individuals or groups.

Telecommunications

 Definition: Communication over a distance using electronic means.

Data Communications

 Definition: The transfer of data between two devices using a transmission medium.

 Simple Explanation: Exchanging digital information (like text, images, or videos) over a
network using wired (e.g., fiber optics, Ethernet) or wireless (e.g., Wi-Fi, Bluetooth)
connections

Characteristics of a Data Communication System

Delivery • Accuracy • Timeliness • Jitter

 Delivery: Ensures data is delivered to the correct destination, accurately and in a timely
manner.

 Accuracy: Data must be transmitted without errors or corruption during transmission.

 Timeliness: Data should be delivered within an acceptable time frame to meet application
requirements, especially in real-time communication.
 Jitter: Refers to the variation in time delay during data transmission, which should be
minimal, especially for audio and video applications.

A data communications system has five components

Message: The information or data being communicated, such as text, images, audio, or video.

Sender: The device or entity that generates and sends the message (e.g., computer, smartphone).

Receiver: The device or entity that receives and processes the message (e.g., server, another
computer).

Transmission Medium: The physical path or channel through which the message is transmitted
(e.g., cables, fiber optics, wireless signals).

Protocol: A set of rules and conventions that govern data communication to ensure accurate and
efficient transfer.

Data can be represented in various formats for transmission and interpretation in a communication
system. The primary forms include:

1. Text: Represented using character encoding standards like ASCII or Unicode.

2. Numbers: Represented as binary data (e.g., integers or floating-point).

3. Images: Stored as pixels or vectors, compressed in formats like JPEG or PNG.

4. Audio: Represented as continuous (analog) or sampled (digital) waveforms, using formats


like MP3 or WAV.

5. Video: A sequence of images with synchronized audio, compressed using codecs like MP4 or
AVI.

Data Flow

Data flow describes how data moves between devices. It can occur in three modes:

1. Simplex: Data flows in one direction only (e.g., keyboard to monitor).

2. Half-Duplex: Data flows in both directions, but only one direction at a time (e.g., walkie-
talkies).

3. Full-Duplex: Data flows in both directions simultaneously (e.g., phone conversations).

Network

A network refers to the interconnection of a set of devices (nodes) that are capable of
communicating with one another. These devices can share data, resources, and services over a
communication medium.

Components of a Network
1. Host (End Devices):

o These are devices that generate, send, or receive data in the network.

Connecting Devices:

 These are devices that facilitate communication between hosts by directing or managing
data flow.

 Examples:

o Switch: Connects multiple devices in a local network.

o Router: Connects different networks and manages data routing.

o Hub: A basic device for connecting multiple devices in a network.

o Modem: Converts digital signals to analog for internet access.

A network must meet the following key criteria:

1. Performance:

o Throughput: How much data the network can send in a given time.

o Delay: How long it takes for data to travel from sender to receiver.

2. Reliability:

o The network should work without frequent failures and quickly recover if a problem
occurs.

3. Security:

o The network must protect data from unauthorized access and ensure safe
communication.

Link:

 A physical communication path between two devices in a network.

 Example: A cable or wireless connection that connects devices.

Type of Connection:

 Describes how devices are connected in a network.

 Point-to-Point:

o A direct link between two devices.

o Example: A computer connected to a printer.

 Multipoint:

o A single link shared by multiple devices.

o Example: Several computers connected to a shared hub or switch.


Physical Topologies

A physical topology refers to the layout or arrangement of devices and cables in a network. Common
physical topologies include:

1. Bus Topology:

o All devices are connected to a single central cable (the bus).

o Advantages: Easy to install and cost-effective.

o Disadvantages: A cable failure disrupts the entire network.

2. Star Topology:

o All devices are connected to a central device (like a switch or hub).

o Advantages: Easy to manage; a device failure doesn’t affect others.

o Disadvantages: If the central device fails, the whole network is down.

3. Ring Topology:

o Devices are connected in a circular loop, with data traveling in one or both
directions.

o Advantages: Equal access for all devices.

o Disadvantages: A failure in one connection can disrupt the entire network.

4. Mesh Topology:

o Each device is connected to every other device.

o Advantages: Highly reliable; if one connection fails, others work.

o Disadvantages: Expensive and complex to set up.

In a mesh topology, each device (node) is connected to every other device in the network. This
ensures high reliability because there are multiple paths for data to travel.

Key Features of Mesh Topology

1. Advantages:

o Highly reliable: If one link fails, others can still maintain communication.

o Supports efficient communication with direct links.

o Suitable for critical applications like military and financial systems.

2. Disadvantages:

o Expensive to install: Requires many cables and ports.

o Complex to set up and maintain in larger networks.


Star Topology

In a star topology, all devices (nodes) are connected to a central device, such as a hub, switch, or
router. The central device acts as the communication hub, where all data passes through.

Features of Star Topology

1. Centralized Communication:

o Every device communicates through the central device.

2. Advantages:

o Easy to install and manage.

o A failure in one device does not affect the rest of the network.

o Adding or removing devices is simple.

3. Disadvantages:

o If the central device fails, the entire network goes down.

o Requires more cables compared to a bus topology, making it more costly.

Use Cases
 Offices, schools, and home networks where centralized control is preferred.

 Often used with Ethernet-based LANs.

Formula for Star Topology

L=n

Where:

 L: Number of links (connections).

 n: Number of devices (nodes).

Splicing in networking or cabling refers to the process of joining two cables together to create a
continuous connection

If a cable breaks or needs to be extended, it is repaired or lengthened by splicing it.

Ring Topology
Definition:
In a ring topology, each device (node) is connected to exactly two other devices, forming a closed
loop or ring. Data travels in one direction (or sometimes both directions in a "dual ring" system)
around the ring until it reaches the destination.

Key Characteristics:

 Structure: Devices are connected in a circular (ring) shape.

 Data Flow: Data travels in a specific direction (unidirectional) or both directions


(bidirectional) to reach its destination.
 Token Passing: In some ring networks, a "token" circulates, and only the node holding the
token can transmit data.

Advantages:
1. Predictable Data Transfer: Since data travels in a specific direction, it’s easier to track and
manage.

2. Efficient for Small Networks: Works well when there are fewer devices, as data is passed
directly from node to node.

3. No Collisions: In a token-based ring, data collisions are prevented because only one device
can transmit at a time.

Disadvantages:

1. Single Point of Failure: If one device or cable fails, the entire network can go down unless it's
a dual-ring system.

2. Performance Decreases with Network Size: As more devices are added, the data transfer
speed can slow down.

3. Difficult Troubleshooting: Identifying the exact point of failure can be harder, especially in
large networks.

Best For:

 Small to medium-sized networks where data traffic is predictable and manageable.

 Token Ring Networks (a type of ring topology) used in older LANs.

Example Use Case:

 Legacy Networks: Older networks that used Token Ring for local communication in offices or
labs.
LAN with Common Cables: Best for simple, small networks where only a few devices are
connected. As the network grows, this method becomes inefficient and harder to manage.

LAN with Switch: Ideal for larger networks. A switch improves network performance, reduces
congestion, and handles collisions efficiently. It is more scalable and better suited for a growing
network
Point-
to-
A direct and exclusive connection between two locations.
Point
WAN

Switched WAN A network that dynamically connects multiple locations through switches.

A group of interconnected networks


Internetwork
working together as a single system.

The process of transferring data from one device


Switching or network to another in a communication
system.

Types of
Switching
Circuit-Switched Network

Packet- Switched Network

Circuit Creates a direct connection between two devices for the whole communication
Switching session.

Packet Breaks data into small pieces (packets) and sends them separately to reach their
Switching destination.

The Internet
The Internet (with an uppercase "I") is the global network of interconnected computer networks that
communicate using standardized protocols like TCP/IP. It enables billions of devices worldwide to
share information, access services, and connect in real time.

How it Works:

1. Networks connect to form the Internet, often through ISPs (Internet Service Providers).

2. Routers and switches guide data packets across the world.

3. Protocols ensure reliable and secure communication.


Internet Draft

 A draft is an early version of a proposal for a new Internet standard or technology. It's
published for public review and feedback.

Request for Comments (RFC)

 RFCs are documents that describe protocols, standards, and guidelines for the Internet.

 They are issued by the IETF (Internet Engineering Task Force) and are used to develop and
improve Internet standards.

Types of RFCs:

1. Proposed Standard: A document that suggests a new Internet standard, still under review.

2. Draft Standard: A standard that is close to being finalized but still needs more testing.

3. Internet Standard: A fully accepted and implemented standard that defines how the Internet
works.

4. Historic: An old standard that is no longer in use or relevant.

5. Experimental: A document proposing new ideas or technologies that are being tested but
not yet widely used.

6. Informational: Documents providing helpful information or guidance, but not formal


standards.

1. Labs (Research Labs)

 These are places where scientists, engineers, and researchers work on new technologies and
ideas related to the Internet.

 Example: Universities and companies that create and test new technologies.
2. IRTF (Internet Research Task Force)

 What it does: IRTF is a group that focuses on long-term research to solve big problems
related to the Internet, like improving security or designing new protocols.

 How it fits in: After new ideas are researched and tested in labs, they are discussed in IRTF to
see if they can help improve the Internet.

3. IETF (Internet Engineering Task Force)

 What it does: IETF turns research ideas into actual rules and standards that make the
Internet work. This includes making decisions about how data is transferred or how devices
communicate.

 How it fits in: Once ideas are proven useful in IRTF, they are sent to IETF, where engineers
turn them into practical guidelines for the Internet's operation.

Simple Flow:

1. Labs: Research new ideas and technologies.

2. IRTF: Study and improve these ideas for long-term use.

3. IETF: Create real-world standards and rules from the best ideas.

ISOC (Internet Society)

ISOC is a global nonprofit organization that supports and promotes the


development of the Internet. It brings together individuals and organizations to
ensure that the Internet remains open, accessible, and secure for everyone
The Physical Layer is responsible for the transmission of raw data bits over a physical medium, such
as copper cables, fiber optics, or wireless signals. It handles the conversion of digital data into analog
signals through modulation and encoding, ensuring that data is sent as electrical, optical, or radio
signals. This layer also determines the data rate (speed of transmission), manages synchronization
between sender and receiver, and works with different transmission media. While it doesn't handle
error correction, it detects transmission issues caused by noise or interference. In essence, the
Physical Layer focuses on how data is physically transmitted across networks.

Analog Clock vs. Digital Clock: An analog clock uses rotating hands to show time continuously,
while a digital clock displays time as discrete numerical digits.

Human Voice vs. Data in Computer: The human voice is an analog signal, continuously varying in
sound waves, whereas data in a computer is digital, represented by discrete binary code (0s and 1s).

Digital data is stored as discrete binary values (0s and 1s) in devices like hard drives, SSDs, or flash
memory. Analog data is stored as continuous signals, such as magnetic patterns on tapes or grooves
on vinyl records.

Signals represent data in two main forms:

 Analog Signals: Represent data using an infinite range of intensity levels over time,
continuously varying.

 Digital Signals: Represent data using a limited number of predefined values, typically 0s and
1s, in discrete steps over time.

Analog/Digital Signals can be classified as periodic or non-periodic:

 Periodic Signals: These signals repeat in a pattern over time.

o Period: The time it takes for one complete cycle of the signal.

o Cycle: One full repetition of the pattern.

 Non-Periodic Signals: These signals do not have a repeating pattern over time.
Examples:

 Periodic Analog Signals: Continuous signals like sine waves that repeat regularly.

 Non-Periodic Digital Signals: Digital signals like data bursts that don’t repeat in a regular
pattern.

Periodic Analog Signals can be classified as simple or composite:

 Simple Periodic Analog Signal: A signal that consists of a single sine wave, which repeats
regularly over time. Examples include a pure tone or a single-frequency signal.

 Composite Periodic Analog Signal: A signal composed of multiple sine waves with different
frequencies, amplitudes, or phases, combined together. This can create more complex
waveforms, like music or voice signals, which are made of multiple sine waves at different
frequencies.

The peak amplitude of a sine wave is the maximum value (either positive or negative) the wave
reaches from its zero or equilibrium position during one complete cycle.

Low amplitude refers to a sine wave (or any signal) that has a smaller peak displacement from its
zero or equilibrium position. In other words, the wave's maximum and minimum values are closer to
the center line, indicating a weaker signal or lower intensity compared to waves with higher
amplitudes.
Phase describes how much a waveform is shifted relative to time 0. It shows where the first cycle of
the wave begins.

 No shift: Starts at time 0 (phase = 0).

 Positive shift: Wave is shifted to the right.

 Negative shift: Wave is shifted to the left.

 Phase in degrees: 360° (or 2π) is a full cycle, and 90° (or2π) is a quarter cycle
sine wave is fully described by three main properties: amplitude, frequency, and phase.
 Amplitude: The peak value or height of the wave. It determines the signal's strength.

 Frequency: The number of cycles the wave completes per second (measured in Hz).

 Phase: The horizontal shift of the wave, indicating where it starts within its cycle.

Time-Domain Plot:

A time-domain plot shows how the amplitude of the sine wave changes over time. The x-axis
represents time, and the y-axis represents the amplitude of the wave at any given time.

 The plot is useful for understanding how the signal varies over time.

 Phase is not explicitly shown in this plot, but it is implicit in how the wave starts at time t=0.
For example, if the wave starts at its peak or zero crossing, it’s influenced by its phase.

In a time-domain plot, the amplitude and frequency are clearly visible, but you would have to
compare waves to notice phase shifts.

A composite signal is made up of two or more simple signals (like sine waves) combined together.
Can be periodic or nonperiodic.

These signals can have different frequencies, amplitudes, and phases.

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 Single Sine Wave can only carry limited information

A composite periodic signal is a signal made up of multiple periodic signals (like sine waves)
combined together, which repeats after a fixed period.

Decomposition of a composite periodic signal means breaking it down into simpler sine waves with
different frequencies and amplitudes. This helps us understand the individual components that make
up the complex signal.

Bandwidth is a key measure of network performance and can be understood in two ways:

Bandwidth in Hz refers to the frequency range.

Bandwidth in bps refers to the speed of data transfer.

The bandwidth of a composite signal refers to the range of frequencies it contains. It is calculated as
the difference between the highest and lowest frequencies in the signal.
Key Points:

 Bandwidth = Highest frequency - Lowest frequency.

 It shows how much of the frequency spectrum the signal occupies.

A digital signal represents information using discrete levels. The simplest form uses two levels:

 A 1 is represented by a positive voltage (e.g., +5V), and

 A 0 is represented by zero voltage (0V).

Digital signals can also use more than two levels to represent data, with each level corresponding to
different values (like 0, 1, 2, 3) to carry more information at once.
Bit rate refers to the number of bits transmitted in one second. It is measured in bits per second
(bps).

Key Points:

 Bit Rate: The speed at which data is transmitted, commonly measured in bps.

 For non-periodic digital signals (signals that don't repeat in a regular pattern), the period
and frequency are not used to describe the signal, as they apply mainly to periodic signals.

Example:

If a digital signal has a bit rate of 1,000 bps, it means that 1,000 bits are transmitted every second.

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

Required Bits=Number of Units×Bits per Unit


A digital signal is like a combination of many sine waves when analyzed through Fourier analysis.
Here's how it works:

1. Digital Signal in Time:

o It consists of vertical and horizontal line segments. The vertical lines represent
sudden changes between 0 and 1, while the horizontal lines show when the signal
stays at a constant level.

2. Infinite Bandwidth:

o A perfect digital signal (like a square wave) would need infinite bandwidth because
its sharp changes (vertical lines) require an unlimited range of frequencies.

In Simple Terms:

 A digital signal is made up of many waves, and ideally, it needs infinite bandwidth because of
its sharp changes between levels.

A digital signal, whether periodic or non-periodic, is a composite analog signal made up of multiple
frequencies between zero and infinity (resulting in infinite bandwidth).

Two Approaches for Transmission:

1. Baseband Transmission:

o This is the transmission of the signal at its original frequency without modulation.
o The signal is sent directly over the transmission medium (e.g., copper wires or fiber
optics) at its base frequency.

2. Broadband Transmission:

o In broadband transmission, the digital signal is modulated onto a higher frequency


carrier wave.
o This allows the signal to be sent over longer distances or at higher speeds, as well as
enabling the use of multiple signals at once (like in multiplexing).

In Simple Terms:

 A digital signal uses many frequencies from 0 to infinity.

 It can be transmitted in two ways:

1. Baseband (direct transmission at its own frequency),

2. Broadband (modulated to a higher frequency).

Baseband Transmission means sending a digital signal as it is, without changing its frequency,
typically over short distances.

Modulation is the technique used to convert a digital signal into an analog signal, allowing it to be
transmitted over a medium that uses higher frequencies.

Transmission media (like cables or wireless signals) aren't perfect, and this causes signal
impairments.

 Attenuation: The signal gets weaker as it travels.

 Noise: Unwanted sounds or signals mess with the original signal.

 Distortion: The signal may get altered or stretched out.

 Interference: Other signals can interfere with the one you're sending.

So, the signal sent isn’t always the same as the signal received

Attenuation refers to the loss of energy as a signal travels through a medium (like a wire or air).
When a signal moves through a medium, it faces resistance, which causes some of the signal's
energy to be lost.

Key Points:

 As the signal moves through the medium (such as a wire or fiber optic cable), part of its
energy is converted into heat.

 This loss of energy is why electrical wires carrying signals can get warm or even hot over
time.

In Simple Terms:

 Attenuation means the signal gets weaker as it travels because part of its energy turns into
heat due to resistance in the medium.
The unit of signal strength is the decibel (dB), which is used to measure the relative strength or
power of a signal.

Key Points:

1. Relative Measurement:

o The decibel compares the strength of two signals or the same signal at two different
points (like input and output of a transmission medium).

2. Negative dB:

o A negative dB value means the signal has been attenuated (weakened) as it travels
through the medium.

3. Positive dB:

o A positive dB value means the signal has been amplified (strengthened).

In Simple Terms:

 dB measures how strong or weak a signal is compared to another signal.

 If the signal gets weaker, the dB value is negative. If the signal gets stronger, the dB value is
positive.

Distortion

 If a signal is delayed but not by a full cycle (period), it will cause the signal to be out of sync
with the original, creating a phase shift.

Noise is a significant cause of signal impairment and can interfere with the transmission of
information

Thermal noise is caused by random electron movement.

Induced noise comes from external sources like motors.


Crosstalk happens when signals from different wires interfere with each other.

Impulse Noise:

 A sudden, short-duration noise spike that can cause significant disruptions to the signal, such
as from lightning, switching, or other electronic devices.

Thermal Noise:

 Also known as Johnson-Nyquist noise

Data rate is the speed at which data is transmitted and depends on:

1. Bandwidth: The range of frequencies available for transmission.

2. Signal levels: The number of distinct signal states used to represent data.

3. Noise: The amount of interference that affects the signal.

Higher bandwidth, more signal levels, and lower noise lead to a higher data rate.

Nyquist applies when there’s no noise, calculating data rate based on bandwidth and signal levels.

Shannon applies when there’s noise, calculating the maximum data rate considering both
bandwidth and the signal-to-noise ratio.
In 1944, Claude Shannon introduced a groundbreaking formula known as the Shannon-Hartley
theorem. This formula calculates the maximum data rate (channel capacity) of a communication
channel, considering both bandwidth and noise.

Network Performance:
 The performance of a network is a measure of how well it supports the transmission of data

This includes metrics such as:

 Bandwidth: The amount of data the network can carry.


 Latency: The delay before a transfer of data begins.
 Packet Loss: The percentage of data packets lost during transmission.
 Throughput: The actual rate at which data is successfully transmitted.

 Bandwidth is the maximum potential speed of the link.


 Throughput is the actual speed at which data is transmitted, which is often lower
than the bandwidth due to real-world conditions.
Jitter is the variation in how long it takes for packets to travel, and too much jitter can make
things like video calls or online games feel choppy or out of sync.
1. Data → Analog or Digital:
o Analog data: Information that varies continuously (e.g., sound waves).
o Digital data: Information represented in discrete values (e.g., 0s and 1s in a
computer).
2. Signals → Analog or Digital:
o Analog signals: Continuous signals that vary smoothly over time (e.g., sound
waves or radio signals).
o Digital signals: Discrete signals that represent information as binary values
(0s and 1s).
3. Digital Transmission:
o Transmitting data using digital signals (binary 0s and 1s) over a
communication medium. Digital transmission is used in most modern
communication systems like the internet and digital TV.
4. Analog Transmission:
o Transmitting data using analog signals. It's often used for continuous signals,
like in traditional telephone lines or analog TV signals.
In Simple Terms:
 Analog involves continuous signals, while digital involves discrete signals.
 Digital transmission uses 0s and 1s to send data, while analog transmission uses
continuous waves to send data.

1. Digital Transmission:
o The process of sending digital signals (binary data—0s and 1s) over a
network or communication medium, such as the internet or fiber optics.
2. Digital to Digital Conversion:
o The process of converting digital data from one format to another without
changing its digital nature. This may involve encoding, encryption, or error
checking but keeps the signal in a digital form.
o Example: Sending a file over the internet involves converting the file into a
digital signal for transmission.
3. Analog to Digital Conversion (ADC):
o The process of converting analog signals (continuous signals, like sound or
light) into digital signals (discrete values like 0s and 1s) so that a computer or
digital device can process them.
o Example: A microphone converts sound waves (analog) into a digital signal
for a computer to process.
In Simple Terms:
 Digital Transmission: Sending data as 0s and 1s.
 Digital to Digital Conversion: Changing digital data from one form to another.
 Analog to Digital Conversion: Changing continuous signals (like sound or light) into
digital form for processing.
1. Line Coding:
o Line coding is a technique used to convert digital data (0s and 1s) into a digital
signal for transmission over a medium. The main goal is to ensure the signal is
suitable for the transmission system and maintain synchronization between the
sender and receiver.
o Example: A simple form of line coding is NRZ (Non-Return-to-Zero),
where a 0 might be represented by no voltage and a 1 by a positive voltage.
2. Block Coding:
o Block coding is a method where groups of bits (blocks) are encoded into
larger sets of bits. This helps in error detection and correction, ensuring
reliable transmission of data.
o Example: A 4-bit data block might be converted into a 7-bit block for better
error detection. Hamming Code is an example of block coding used for error
correction.
3. Scrambling:
o Scrambling is a process that changes the original bitstream to ensure that the
signal doesn't have long sequences of 0s or 1s, which can cause
synchronization problems. The goal is to make the signal more reliable and
prevent issues like DC bias (unwanted constant voltage levels).
o Example: B8ZS (Bipolar 8-Zero Substitution) is a scrambling technique
used in digital transmission to replace long sequences of zeros with a special
bit pattern.
In Simple Terms:
 Line Coding: Converts digital data to a suitable signal for transmission.
 Block Coding: Encodes groups of bits into longer ones for error checking.
 Scrambling: Changes the bit sequence to avoid long runs of 0s or 1s and keep the
signal stable.
1. Data Element:
o The smallest unit of information that can represent data, typically a bit
(binary digit: 0 or 1).
o Example: A bit in a computer system (either 0 or 1) represents the smallest
piece of data.
2. Signal Element:
o The shortest unit of a digital signal that can carry a data element. It’s the
physical or electrical signal used to represent the data.
o Example: In digital transmission, a signal element could be a voltage pulse or
a change in voltage that represents a 0 or 1.
3. Data Elements: Carried:
o Data elements represent the actual information we want to transmit. They are
carried by signal elements during transmission.
4. Signal Elements: Carriers:
o Signal elements are the physical manifestations (like voltage changes or
pulses) that carry the data elements over the transmission medium.
In Simple Terms:
 Data elements are the actual bits of information (0 or 1).
 Signal elements are the signals that carry these bits across the network
1. Data Rate (Bit Rate):
o The number of data elements (bits) sent per second.
o Measured in bits per second (bps).
o Example: If 1,000 bits are sent in 1 second, the data rate is 1,000 bps.
2. Signal Rate (Baud Rate):
o The number of signal elements (pulses or changes in the signal) sent per
second.
o Measured in baud or symbols per second.
o Example: If 1,000 signal elements (pulses) are sent in 1 second, the signal rate
is 1,000 baud.
3. Data Rate = Bit Rate:
o Data rate refers to the actual information being transmitted (bits per second).
4. Signal Rate = Baud Rate:
o Signal rate refers to how often signal changes (pulses) occur, which might not
be the same as the data rate if more than one bit is encoded in each pulse.
In Simple Terms:
 Data Rate (Bit Rate): How many bits (0s and 1s) are sent per second.
 Signal Rate (Baud Rate): How many signal changes or pulses are sent per second.
The signal rate could be lower than the data rate if each signal change represents
multiple bits.

Here's a simple explanation of Digital Data to Digital Signals:


1. Data Stored as Bits:
o Data, like text, numbers, pictures, audio, or video, is stored in a computer as
sequences of bits (0s and 1s).
o Example: The letter "A" is stored as a sequence of bits (for example,
01000001 in ASCII code).
2. Line Coding:
o Line coding is the process of converting a sequence of bits into a digital
signal for transmission over a communication medium.
o Line coding involves creating electrical signals or waveforms to represent the
bits so that they can be sent through wires or networks.
o Example: A bit sequence like "0101" can be converted to a digital signal with
voltage changes representing each 0 and 1.
In Simple Terms:
 Data like text or images is stored as bits in a computer.
 Line coding converts those bits into digital signals (electrical pulses) so they can be
sent over a network.
1. Unipolar Encoding:
o Signal Representation: Uses only positive voltages or zero. A '1' is
represented by a positive voltage, and a '0' is represented by zero voltage.
o Example: '1' → +5V, '0' → 0V.
2. Polar Encoding:
o Signal Representation: Uses both positive and negative voltages. A '1' could
be represented by a positive voltage, and a '0' by a negative voltage, or vice
versa.
o Example: '1' → +5V, '0' → -5V.
3. Bipolar Encoding:
o Signal Representation: Similar to polar encoding, but with alternating
voltage levels for successive '1's. This helps to avoid a constant DC level.
o Example: '1' → alternating +5V and -5V, '0' → 0V.
4. Multilevel Encoding:
o Signal Representation: This scheme uses more than two levels to represent
data. It can encode multiple bits in each signal element, making it more
efficient in terms of bandwidth usage.
o Example: In a 4-level encoding, each signal could represent 2 bits (00, 01, 10,
11), and each level would have a different voltage value (e.g., -3V, -1V, +1V,
+3V).
5. Multitransition Encoding:
o Signal Representation: In this scheme, multiple transitions in the signal are
used within one bit period to represent the data. This can improve
synchronization and help avoid long periods without a change in signal, which
could lead to errors.
o Example: A '1' could be represented by two transitions within a bit period,
and a '0' by one transition, allowing for better clock recovery.
In Simple Terms:
 Multilevel Encoding uses more than two voltage levels to send more information per
signal change.
 Multitransition Encoding uses multiple transitions within a signal to represent data,
improving reliability and synchronization.
 Unipolar Encoding: Represents data with only one voltage level, usually positive or
zero.
 Polar Encoding: Uses two voltage levels, one positive and one negative, to represent
binary values.
 Bipolar Encoding: Alternates between positive and negative voltage for ones, with
zeros represented by zero voltage.

The Unipolar Non-Return-to-Zero (NRZ) scheme is a line coding technique where binary
data is represented using a single voltage level. In this scheme, a '1' is typically represented
by a positive voltage (such as +5V), while a '0' is represented by zero voltage (0V). Unlike
other encoding schemes, the signal does not return to zero between bits, meaning that the
signal stays at either a positive voltage for '1' or zero for '0' for the entire bit duration. This
scheme is simple but can suffer from issues like DC bias, where a constant zero voltage level
may lead to difficulty in synchronization over long periods.

Polar Non-Return-to-Zero (NRZ) is a line coding scheme where binary data is represented
using two voltage levels: a positive voltage for '1' and a negative voltage for '0'. In this
scheme, the signal does not return to zero between bit periods, meaning that each bit duration
is represented by a constant voltage level (either positive or negative). This encoding method
is more efficient than unipolar encoding, as it avoids the use of a zero voltage, but it can still
face issues like lack of synchronization for long sequences of identical bits, which can lead to
potential errors in transmission.

Polar Return-to-Zero (RZ) is a line coding scheme where binary data is represented using
two voltage levels: a positive voltage for '1' and a negative voltage for '0'. Unlike NRZ, the
signal in RZ returns to zero midway through the bit period. For example, a '1' is represented
by a positive voltage for the first half of the bit period and then returns to zero for the second
half. Similarly, a '0' is represented by a negative voltage for the first half and then returns to
zero. This scheme helps with synchronization since the signal always returns to zero, but it
requires more bandwidth compared to NRZ due to the additional transitions.

Polar Biphase is a line coding scheme where binary data is represented using two voltage
levels: positive and negative. In this scheme, each bit is represented by a transition at the
middle of the bit period. For a '1', the signal transitions to a positive voltage at the beginning
of the bit period and a negative voltage at the middle, while for a '0', the signal transitions to a
negative voltage at the beginning and a positive voltage at the middle of the bit period. This
encoding helps with synchronization and reduces the likelihood of long periods with no
signal changes, making it more reliable than other schemes like NRZ

Bipolar schemes use three voltage levels: positive, zero, and negative. There are two
common bipolar schemes:
1. Alternate Mark Inversion (AMI): In this scheme, '0' is represented by zero voltage,
while '1' is represented alternately by positive and negative voltages. The signal
alternates between positive and negative voltages for successive '1's, helping to
eliminate a constant DC component in the signal, making it more efficient for
transmission over long distances.
2. Pseudoternary: This scheme is similar to AMI, but it uses zero voltage to represent
'1' and alternating positive and negative voltages to represent '0'. In other words, a '1'
is always represented by zero voltage, while '0' alternates between positive and
negative voltages. This also helps eliminate a DC bias but with different signal
representation compared to AMI

Block Coding: Converts a block of 'm' bits into a block of 'n' bits, where n > m.
mB/nB Encoding: Refers to the encoding technique where 'm' bits are encoded into 'n'
bits.
Redundancy: Added to ensure synchronization and error detection.
Improved Performance: Block coding helps improve the reliability and efficiency of line
coding by adding redundancy.
Block coding is a method of encoding data where a fixed-length group of input bits (called a
"block") is mapped to a longer fixed-length output block. The goal of block coding is to
introduce redundancy into the signal, which improves error detection, synchronization, and
reduces the chance of data loss or corruption during transmission. In block coding, each
group of 'm' bits is converted into a block of 'n' bits, where n > m, adding extra bits
(redundancy) to help detect and correct errors. This redundancy also aids in maintaining
synchronization between the transmitter and receiver, especially in noisy environments.

4B/5B adds an extra bit to avoid long sequences of zeros, improving synchronization and
error detection.
NRZ-I ensures that the signal has sufficient transitions for synchronization, with '1'
causing a transition and '0' maintaining the same signal level.

8B/10B Block Encoding is a line coding technique used to convert 8-bit data into 10-bit data.
This encoding method is widely used in high-speed data transmission systems, like fiber
optics and network protocols, to improve data integrity and synchronization. Here's how it
works:
1. 8B/10B Encoding: In 8B/10B encoding, each 8-bit block of data is converted into a
10-bit block. The extra 2 bits (redundancy) help to ensure there are enough transitions
in the signal, which aids synchronization and provides error detection capabilities.
The 10-bit codes are selected such that the number of 1s and 0s in the code are
balanced, preventing long sequences of consecutive 0s or 1s, which could cause loss
of synchronization.
2-Benefits:
 DC Balance: The encoding ensures that the transmitted signal has a balanced number
of 1s and 0s, which helps maintain a zero DC component, preventing issues like
signal drift.
 Error Detection: The extra bits allow for error detection since invalid codes can be
recognized and corrected.
 Synchronization: The additional transitions introduced by 8B/10B ensure there is
enough change in the signal over time, helping to maintain synchronization between
the transmitter and receiver.

Biphase Schemes:

 Good for LANs because they help with synchronization.

 Not great for long-distance transmission due to higher bandwidth needs.

Block Coding + NRZ-I:

 Helps with synchronization by adding extra bits and ensuring signal transitions.

 However, it still has a DC component (constant signal), which can cause problems over long
distances.

Bipolar AMI:

 No DC component, making it better for long-distance transmission.


 The downside is that it has synchronization issues when there are too many consecutive '0'
bits.

Scrambling is the process of modifying a signal to prevent long sequences of zeros, which can cause
synchronization problems. The system inserts pulses based on specific rules to maintain
synchronization and ensure the signal is correctly received.

AMI (Alternate Mark Inversion) can be used with scrambling to improve data transmission. Here's
how it works:

1. AMI: In AMI, '1' bits are represented by alternating positive and negative voltages, while '0'
bits are represented by zero voltage. This helps eliminate the DC component, making it
suitable for long-distance transmission.

2. Scrambling: Scrambling is applied to avoid long sequences of consecutive zeros, which can
cause synchronization issues. Scrambling inserts pulses or changes the signal according to
specific rules to ensure regular transitions in the signal, keeping the receiver synchronized.

By combining AMI with scrambling, the system ensures:

 No DC component (thanks to AMI).

 Proper synchronization (thanks to scrambling), even if there are long sequences of zeros.

This combination is useful for reliable, long-distance communication

The two common scrambling techniques are B8ZS and HDB3, both used to maintain synchronization
and avoid long sequences of zeros in digital communication. Here's a simple breakdown:

1. B8ZS (Bipolar with 8-Zero Substitution):

o Used in T1 systems.

o If there are 8 consecutive zeros, they are replaced with a specific 8-bit pattern that
introduces voltage transitions, ensuring synchronization.

o This technique ensures that there are no long gaps without signal transitions, making
the signal suitable for transmission over long distances.

2. HDB3 (High-Density Bipolar 3-Zero Substitution):

o Used in E1 systems.

o Similar to B8ZS but designed for AMI (Alternate Mark Inversion) encoding.

o In HDB3, if there are 4 consecutive zeros, they are replaced with a special 4-bit
pattern. The substitution ensures there are enough voltage changes to maintain
synchronization.
Both techniques help in maintaining signal integrity and ensuring that the data can be correctly
received and interpreted by the receiver.

The B8ZS (Bipolar with 8-Zero Substitution) scrambling technique is used to prevent long sequences
of zeros in digital transmission systems, which could lead to loss of synchronization. It replaces
sequences of 8 consecutive zeros with a special 8-bit pattern that ensures signal transitions for
synchronization.

There are two main cases where B8ZS is applied:

1. Case 1: If the previous non-zero bit is positive (a '1' represented by a positive voltage):

 Pattern Substitution: The 8 consecutive zeros are replaced with the pattern "000VB0VB".

o V is a voltage (positive or negative depending on previous bit).

o The pattern contains alternating positive and negative voltages, ensuring signal
transitions for synchronization.

2. Case 2: If the previous non-zero bit is negative (a '1' represented by a negative voltage):

 Pattern Substitution: The 8 consecutive zeros are replaced with the pattern "000-0B0B".

o This pattern similarly includes alternating voltages for proper synchronization.

In both cases, the sequences of zeros are replaced with a combination of positive and negative
voltages, ensuring that the signal has transitions (no long runs of zero voltage) and preventing loss of
synchronization during transmission

You might also like