0% found this document useful (0 votes)
12 views

DC 2

dc unit 2

Uploaded by

shivam
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)
12 views

DC 2

dc unit 2

Uploaded by

shivam
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/ 14

DC 2

Analog and Digital Data & Signals


Analog Data and Signals: Analog signals are continuous and represent
information using a continuous range of values. Examples include sound
waves or light waves. Analog signals vary smoothly over time, and their
amplitude or frequency can represent information.

Digital Data and Signals: Digital signals represent information in discrete


steps, typically using binary values (0s and 1s). Unlike analog signals, which
vary continuously, digital signals have defined, fixed values and change in
distinct steps. Digital data is often used in computers and electronic devices.

Periodic and Nonperiodic Signals


Periodic Signals: A signal is periodic if it repeats itself at regular intervals over
time. Examples include sine waves and square waves. Periodic signals have a
characteristic frequency and wavelength.

Nonperiodic Signals: Nonperiodic (or aperiodic) signals do not repeat


themselves. They are often used to represent data that changes irregularly
over time, like human speech or digital data streams.

DC 2 1
1. A sine wave can be represented by three parameters:

Period

Amplitude

Phase

2. Amplitude:

Amplitude of a signal is the absolute value of its highest intensity.

For electrical signals, peak amplitude is measured in volts.

3. Period:

The period refers to the amount of time in seconds a signal needs to


complete one cycle.

4. Frequency:

Frequency, measured in Hertz (Hz), refers to the number of periods


(cycles) in one second.

5. Phase:

The term phase describes the position of a wave in time.

A waveform can be shifted backward or forward along the time axis.

Phase describes the amount of that shift.

Phase is measured in degrees or radians (0°, 360°, 2π rad).

(The diagrams illustrate a wave, showing the shift in phase between two
waveforms.)

6. Wavelength:

Wavelength is the distance a signal can travel in one cycle.

The wavelength depends on both frequency and the medium.

Wavelength depends on both frequency (f) and medium, while frequency is


independent of the medium.λ=fc​=c×T

Formula:
λ=cf=c×T\lambda = \frac{c}{f} = c \times T

DC 2 2
Where:

λ\lambdaλ = Wavelength

ccc = Speed of light (or speed of signal in the given medium)

fff = Frequency

TTT = Time

Bandwidth:

The range of frequencies contained in a composite signal is its bandwidth.

It's the difference between the lowest and highest frequencies in the
signal.

Digital Wave:

A diagram is shown depicting a digital signal as a series of square wave


pulses representing 1s and 0s.

Digital Signal:

Digital data takes on discrete values.

A digital signal can have only a limited number of values.

Bitrate:

Bitrate is the number of bits sent in one second, expressed in bits per
second (bps).

It can be represented as kbps (kilobits per second) or Mbps (megabits per


second).

Bit Length refers to the physical length or duration that a single bit (either a 0
or a 1) occupies in a transmission medium.

It can be calculated using the formula:


Bit Length=Propagation Speed / Bitrate

Bit Length=Bitrate Propagation Speed


Where:

DC 2 3
Propagation Speed: The speed at which the signal travels through the
transmission medium (e.g., speed of light in fiber optics, or speed of
electricity in a copper wire).

Bitrate: The number of bits transmitted per second (measured in bits per
second, bps).

Transmission of Digital Signals refers to the process of sending digital data


(comprising discrete 0s and 1s) from one device to another over a communication
medium. The key steps and concepts in digital signal transmission are as follows:

1. Digital Data Encoding


Digital signals represent data using discrete values, typically binary (0s and 1s).
Before transmission, digital data is encoded into a format suitable for the
transmission medium, such as electrical pulses, light signals, or radio waves.

Unipolar Encoding: Only one voltage level is used for the 1s, and 0 is
represented by no voltage.

Polar Encoding: Two voltage levels (positive and negative) are used to
represent 1s and 0s.

Manchester Encoding: Transitions between high and low voltages are used to
encode data, where the transition itself conveys information.

2. Transmission Medium
Digital signals can be transmitted over various physical media, each with its own
characteristics:

Copper Cables (e.g., twisted pair or coaxial): Electrical signals are used, and
data is transmitted as variations in voltage.

Fiber Optic Cables: Light pulses are used to represent 0s and 1s, allowing
high-speed data transmission over long distances with minimal loss.

Wireless Transmission: Digital data is transmitted through radio waves or


microwaves. Modulation techniques are used to embed digital data into analog
carrier waves for wireless transmission.

DC 2 4
3. Modulation Techniques
In some cases, digital data must be converted into an analog form for
transmission, particularly over wireless networks or analog phone lines. This
process is called modulation.

Amplitude Shift Keying (ASK): The amplitude of the carrier wave is varied to
represent the 1s and 0s.

Frequency Shift Keying (FSK): The frequency of the carrier wave is changed
based on the digital signal.

Phase Shift Keying (PSK): The phase of the carrier wave is shifted to
represent data.

4. Error Detection and Correction


During transmission, digital signals may become corrupted due to noise,
interference, or other impairments. Error detection and correction techniques are
used to ensure the accuracy of the transmitted data:

Parity Bits: Additional bits added to data to check for errors.

Checksum: A value derived from the data is sent along with it to detect errors.

Cyclic Redundancy Check (CRC): A more advanced method of detecting


errors by applying polynomial division to the data.

5. Transmission Modes
Serial Transmission: Data is transmitted one bit at a time over a single channel
or wire. It is simpler and widely used in long-distance communication.

Parallel Transmission: Multiple bits are transmitted simultaneously over


multiple channels or wires, typically used for short-distance communication
due to potential signal timing issues.

6. Impairments Affecting Transmission


Digital signals may face several impairments during transmission:

Attenuation: Signal weakening as it travels through the medium.

DC 2 5
Noise: Unwanted signals or interference that can distort or corrupt the original
data.

Jitter: Variability in signal timing, which can lead to errors in interpreting data.

Distortion: Change in the shape of the signal wave, making it difficult to


recover the original data.

7. Reception and Decoding


At the receiver’s end, the transmitted signal is decoded back into its digital form.
The receiver uses the encoding scheme to interpret the 0s and 1s and reconstruct
the original data. Error detection techniques help identify and correct any
transmission errors.

8. Regeneration and Amplification


Since digital signals can degrade over long distances, repeaters or amplifiers are
often used to restore signal strength. For digital signals, repeaters regenerate the
signal, effectively recreating the original pulse to counteract the effects of noise
and attenuation.

9. Multiplexing Techniques
To optimize bandwidth, multiple digital signals can be transmitted simultaneously
over the same communication channel using multiplexing:

Time-Division Multiplexing (TDM): Multiple data streams are transmitted in


different time slots over the same channel.

Frequency-Division Multiplexing (FDM): Each data stream is transmitted


using different frequency bands on the same channel.

In communication systems, impairments are factors that negatively affect the


quality of transmitted signals. Attenuation, distortion, and noise are the primary
types of impairments that occur during signal transmission. Let’s break them
down:

1. Impairments in Communication

DC 2 6
Impairments are factors that degrade the signal as it travels through a
communication channel. These impairments can lead to signal loss,
misinterpretation, or errors in data recovery. Key types of impairments include
attenuation, distortion, and noise.

2. Attenuation
Attenuation refers to the gradual loss in signal strength as it travels through a
transmission medium, such as copper wire, optical fiber, or through the air in
wireless transmission.

Causes:
Distance: The further a signal has to travel, the more its strength decreases.
This is more pronounced in electrical signals (copper cables) and light signals
(fiber optics).

Medium properties: Each medium has its own attenuation characteristics. For
example, optical fiber has lower attenuation compared to copper cables.

Environmental factors: External factors like temperature changes, moisture,


and electromagnetic interference can contribute to attenuation.

Mitigation:
Repeaters: Devices that regenerate the signal at intervals along the
transmission path to restore its strength.

Amplifiers: Devices that boost the signal strength to counter attenuation.

Using better transmission media: For example, fiber optic cables have less
attenuation compared to traditional copper cables.

Example:
In a copper cable, a signal may start strong but weaken after traveling several
kilometers. To maintain the integrity of the signal, a repeater can be placed
midway to regenerate the signal.

3. Distortion

DC 2 7
Distortion refers to any alteration in the shape of the original signal as it passes
through the medium. Unlike attenuation, which affects signal strength uniformly,
distortion affects the form of the signal, causing changes in its waveform.

Types of Distortion:
Frequency Distortion: Different frequency components of the signal may
travel at different speeds or be attenuated differently. As a result, the
frequency spectrum of the signal is altered.

Phase Distortion: Occurs when the different frequency components of a


signal experience different delays (phases). This can lead to phase shifts,
causing the waveform to be out of sync.

Amplitude Distortion: Happens when the amplitude of different parts of the


signal changes disproportionately. For example, higher amplitude signals
might attenuate faster than lower amplitude signals.

Causes:
The non-linear response of transmission media or amplifiers can cause parts
of the signal to behave differently.

Multipath propagation (in wireless communications) can also result in


distortion due to signals arriving at different times after taking different paths.

Example:
A sine wave traveling through a cable might emerge on the other side looking
less like a smooth wave and more jagged or shifted, resulting in data loss or
errors in interpretation.

4. Noise
Noise refers to unwanted external signals or interference that are superimposed
on the transmitted signal, making it harder to recover the original information.

Types of Noise:
Thermal Noise: Caused by the random motion of electrons within the
transmission medium, generating random signal fluctuations. It is present in all

DC 2 8
electrical circuits and is also known as white noise.

Intermodulation Noise: Occurs when signals at different frequencies mix


together, generating additional unwanted frequencies.

Crosstalk: Happens when signals in adjacent cables interfere with each other,
leading to the transmission of an unintended signal.

Impulse Noise: Sudden and irregular noise bursts caused by external factors
such as power lines, lightning, or switching circuits.

Environmental Noise: Noise introduced from external sources like machinery,


radio frequency interference (RFI), or electromagnetic interference (EMI).

Impact of Noise:
Noise can corrupt data, causing errors during transmission.

Signal-to-Noise Ratio (SNR): This is the ratio of the signal power to the noise
power. A higher SNR indicates a cleaner signal with less noise interference.

Mitigation:
Error detection and correction: Techniques like parity checks, CRC, and
forward error correction (FEC) can help detect and correct errors caused by
noise.

Shielded cables: Use cables with insulation to reduce electromagnetic


interference, such as twisted-pair cables or coaxial cables.

Filtering: Noise filtering techniques can be employed to remove certain types


of noise from the signal.

Example:
In wireless communication, background noise from other radio devices may
interfere with the transmission, causing errors or data loss. An example would
be hearing static noise on a phone call when reception is poor.

Summary:
Attenuation: Decrease in signal strength over distance.

DC 2 9
Distortion: Change in the shape of the signal (frequency, amplitude, or phase).

Noise: Unwanted random signals or interference that degrade the original


signal.

Data Rate Limit


Data Rate Limit refers to the maximum amount of data that can be transmitted
over a communication channel within a given time frame. It is measured in bits per
second (bps) and depends on the bandwidth and the signal-to-noise ratio of the
channel.

Key Concepts:
Shannon-Hartley Theorem: This theorem defines the maximum data rate (C)
for a given channel based on its bandwidth (B) and signal-to-noise ratio
(SNR):
C=B log 2 (1+SNR)
C=Blog⁡2(1+SNR)C = B \log_2 (1 + \text{SNR})

Nyquist Theorem: For a noiseless channel, the maximum data rate can also be
approximated as:
C=2Blog2​(M)
Where M is the number of signal levels, and B is the bandwidth in Hz.

These limits set the upper boundary for the amount of data that can be
transmitted over a communication medium.

2. Bandwidth
Bandwidth refers to the range of frequencies available for signal transmission in a
communication channel. It determines how much data can be sent in a specific
period. Bandwidth is typically measured in hertz (Hz) for analog signals or bits per
second (bps) for digital data transmission.

Types of Bandwidth:

DC 2 10
Network Bandwidth: The maximum rate at which data can be transferred over
a network connection, typically measured in Mbps or Gbps.

Channel Bandwidth: The difference between the highest and lowest


frequencies in a communication channel.

Example:
A channel with a bandwidth of 1 MHz can theoretically transmit data at a rate
of 1 Mbps in ideal conditions.

Bandwidth is a critical factor in determining the data rate and throughput.

3. Throughput
Throughput is the actual rate of successful data transmission through a network
or communication channel, taking into account factors like network congestion,
protocol overhead, and error rates. It is often less than the maximum bandwidth
due to these impairments and inefficiencies.

Key Points:
Measured in bits per second (bps), kilobits per second (Kbps), megabits per
second (Mbps), or gigabits per second (Gbps).

Throughput can be affected by latency, packet loss, and network


congestion.

Example:
If a network connection has a theoretical bandwidth of 100 Mbps, but due to
congestion or errors, only 80 Mbps of data is being transmitted successfully,
the throughput is 80 Mbps.

4. Jitter
Jitter refers to the variation in packet arrival time in a network. It is caused by
network congestion, route changes, or timing issues in packet-switched networks
like the internet.

Impact:

DC 2 11
Jitter is particularly problematic for real-time applications such as VoIP (Voice
over IP), video conferencing, or online gaming, where timing is crucial for
quality.

High jitter can cause voice or video to drop out, stutter, or experience delays.

Solution:
Buffering: Adding a buffer can help smooth out packet arrival times, reducing
jitter’s impact on real-time applications.

5. Latency
Latency is the delay between when data is sent and when it is received at the
destination. It is typically measured in milliseconds (ms) and is influenced by
several factors.

Components of Latency:
Propagation Delay: The time it takes for a signal to travel from sender to
receiver, depending on the physical distance and speed of transmission (e.g.,
fiber optics, copper cables).

Transmission Delay: The time it takes to push all the packet’s bits onto the
link.

Processing Delay: The time routers and switches take to process the data and
decide where to send it next.

Queuing Delay: Time spent waiting in queues inside network routers and
switches.

Types:
One-Way Latency: The time taken for a packet to travel from the source to the
destination.

Round-Trip Time (RTT): The time it takes for a signal to go to the destination
and back to the source.

Example:

DC 2 12
Latency in fiber-optic cables is about 5 microseconds per kilometer, while
satellite communications may experience high latency (500 ms or more) due
to the distance.

6. Bandwidth-Delay Product (BDP)


The Bandwidth-Delay Product (BDP) represents the amount of data that can be
"in-flight" in a network at any given time, considering both the available
bandwidth and the latency (delay) of the network.

Formula:
BDP=Bandwidth × Round Trip Time (RTT)BDP

Where:

Bandwidth: Measured in bits per second (bps).

RTT: Round-trip time, measured in seconds.

Importance:
BDP is useful for determining the ideal TCP window size for a network to
ensure optimal data flow. If the window size is too small, the link will not be
fully utilized.

In high-latency, high-bandwidth networks (like satellite or trans-oceanic fiber-


optic links), a large window size is needed to keep the pipeline full and
maximize throughput.

Example:
If a network has a bandwidth of 10 Mbps and a round-trip time (RTT) of 200
ms, the BDP would be:
BDP=10×10^6bps×0.2sec=2×10^6bits=2Mb

This means that 2 megabits of data can be in transit at any given time.

Summary of Concepts:
Data Rate Limit: Maximum data transmission speed based on bandwidth and
signal quality.

DC 2 13
Bandwidth: The capacity of the communication channel, typically measured in
bps or Hz.

Throughput: The actual amount of data successfully transmitted over the


network.

Jitter: Variations in packet arrival times, affecting real-time applications.

Latency: The delay in data transmission from source to destination, affected


by distance, processing, and queuing.

Bandwidth-Delay Product (BDP): The amount of data that can be in flight,


given the network’s bandwidth and latency.

DC 2 14

You might also like