Docsity

Networking Handwritten notes, Study notes of Data Communication Systems and Computer Networks

Toggle sidebar
bg1
Analog and digital signals (unit-2)
Analog and Digital signals are used to transmit information (such as any audio or video), usually
through electric signals. In digital technology, the translation of information is into binary
format (either 0 or 1) and information is translated into electric pulses of varying amplitude in
analog technology.
What is a Digital System?
A digital system is one whose signal has a finite number of discrete values. So, the digital system
works on digital signals and is limited to binary values 0 or 1. Digital systems are used to process
information in digital form. The digital system has wide applications in digital instruments like
calculators, computers, Telephones, etc.
Digital Signal used in Digital System
Features of Digital Systems
Uses Binary Code: Digital systems use binary code, which is a combination of zeros and
ones, to represent information.
Accuracy: Digital systems are more accurate than analog systems because the
information is represented in a precise and consistent manner.
Processing Speed: Digital systems are capable of processing large amounts of data
quickly and accurately.
Noise Immunity: Digital systems are immune to noise and interference, which means that
the transmitted information is less likely to be corrupted.
What is Analog System?
Analog system is one that uses continous time signal or analog signal which is a sinusoidal
waveform. Analog system transmits the output in their raw form reducing the time of
translation. The amplitude of the signal varies continuously with the time. Analog signals are
used to represent sound, temperature, light intensity etc.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31

Partial preview of the text

Download Networking Handwritten notes and more Study notes Data Communication Systems and Computer Networks in PDF only on Docsity!

Analog and digital signals (unit-2)

Analog and Digital signals are used to transmit information (such as any audio or video), usually through electric signals. In digital technology, the translation of information is into binary format (either 0 or 1) and information is translated into electric pulses of varying amplitude in analog technology.

What is a Digital System?

A digital system is one whose signal has a finite number of discrete values. So, the digital system works on digital signals and is limited to binary values 0 or 1. Digital systems are used to process information in digital form. The digital system has wide applications in digital instruments like calculators, computers, Telephones, etc.

Digital Signal used in Digital System

Features of Digital Systems

Uses Binary Code: Digital systems use binary code, which is a combination of zeros and ones, to represent information.  Accuracy: Digital systems are more accurate than analog systems because the information is represented in a precise and consistent manner.  Processing Speed: Digital systems are capable of processing large amounts of data quickly and accurately.  Noise Immunity: Digital systems are immune to noise and interference, which means that the transmitted information is less likely to be corrupted.

What is Analog System?

Analog system is one that uses continous time signal or analog signal which is a sinusoidal waveform. Analog system transmits the output in their raw form reducing the time of translation. The amplitude of the signal varies continuously with the time. Analog signals are used to represent sound, temperature, light intensity etc.

Features of Analog Systems:

Uses Continuous Signals : Analog systems use continuous signals to represent information, such as electrical voltages or sound waves.  Real-World Representation : Analog systems are better suited for representing real-world phenomena such as sound and light, which are continuous in nature.  Smooth Transitions : Analog systems provide smooth and continuous transitions between different values, which can be important in certain applications such as music or video.  Complexity : Analog systems can be more complex than digital systems due to the need for additional circuitry to process and transmit the signals.

Difference Between Digital and Analog System

Analog System Digital System

Signal Analog signal representsphysical measurements.^ Digital signals are discrete and generated by digitalmodulation.

Waves Sine Waves Square Waves

Representation Continuous range of values torepresent information Uses discrete values to represent information

Technology Records waveforms as they are.^ Samples analog waveforms into a limited set ofnumbers and then records them.

Data transmissions

Affected by noise during transmission and write/read cycle.

Noise-immune during transmission and write/read cycle.

Response to Noise More likely to get affected Less likely to get affected

Flexibility Hardware is not flexible. Hardware is flexible.

Bandwidth Less bandwidth. More bandwidth to carry out the sameinformation

Memory Stored data in the form of wavesignal Stored data in the form of binary bit

Power Consumes large power Consumes negligible power

Data Rate Limit Units:

  1. Bits per second (bps)
  2. Bytes per second (B/s)
  3. Kilobits per second (kbps)
  4. Megabits per second (Mbps)
  5. Gigabits per second (Gbps) Advantages:
  6. Prevents Network Congestion
  7. Ensures Fair Usage
  8. Improves Quality of Service (QoS)
  9. Enhances Security

Disadvantages:

  1. Limits Data Transfer Speed
  2. Affects Real-Time Applications
  3. Increases Latency
  4. Impacts User Experience

Digital to Digital Line Encoding Schemes:

Definition: Line encoding schemes convert digital data into a signal suitable for transmission over a communication link. The process of converting the digital data into digital signal is called as line coding which helps the receiver to get the original bits. The data that is in the form of text, numbers, audio, or video is represented internally as series of 1s and 0s. Line coding therefore transforms a set of

bits into a digital signal. The sender side encrypts digital data into digital signals, while the receiving side decodes the digital signal to regenerate the digital data. The primary goal of utilizing line coding is to prevent the overlapping of pulses and distortions. The digital signal is discreet in nature. Example is sending data from computer to printer.

Types of Line Encoding Schemes:

  1. Unipolar Encoding
  2. Polar Encoding
  3. Bipolar Encoding
  4. Manchester Encoding
  5. Differential Manchester Encoding
  6. Miller Encoding
  7. 4B/5B Encoding
  8. 8B/10B Encoding

There are basically three different types of line coding technique:

Unipolar

PolarBipolar

Unipolar:

In Unipolar encoding, only one polarity is used i.e., bit 1 is used to represent positive voltage and bit 0 is used to represent zero voltage or idle line. It is also known as Unipolar-Non-return- to-zero. Signaling of this kind is also referred to as on-off signaling.

Problem in Unipolar:

DC Component: When we find out the average amplitude of a unipolar signal, then the value would always be non-zero because of which it creates DC component. And the signal having DC component is not able to travel through the medium which cannot handle DC component.  Synchronization: When a signal is constant, the receiver cannot distinguish between the start and finish of each bit. For that the receiver has to rely on a timer to track the starting of each bit.

Fig: Unipolar encoding

Polar:

The polar encoding is of four types. In polar encoding two levels of voltage amplitude is used. The DC component issue of unipolar encoding is minimized, and the average voltage level on the line is decreased.  Polar Non-Return to Zero (Polar NRZ): In polar encoding, positive voltage is represented by bit 1 and negative voltage is represented by bit 0. Here two levels of voltage are used to represent binary values. If the line is idle, then there is no transition. With each inversion, the receiver is able to synchronize the timer’s start to the transmission’s real arrival. Again, Polar Non-Return to Zero (Polar NRZ) has two types: NRZ-L and NRZ-I.

Return to Zero (RZ)

Manchester Encoding: In Manchester encoding negative to positive transition represents binary 1 and positive to negative represents binary 0. Use the inversion at the middle of each bit interval. That means bit period is represented by two equal size intervals. Here the logic level of bit is represented by the first interval and the inverse logic level is represented by the second interval.

Fig: Manchester encoding

Differential Manchester: In Differential Manchester, the inversion at the middle of the bit is used.

Transition is represented by binary 0 and no transition is represented by binary 1.

Differential Manchester

Bipolar Encoding: In Bipolar encoding, three types of different voltage level is used that is positive, negative and zero. The zero level is used to represent binary 0, positive and negative voltage represents alternatives 1’s to prevent DC component. Alternate Mark Inversion (AMI) and Pseudoternary are the types of bipolar encoding.

Bipolar Encoding

Digital to Analog Modulation:

Digital Signal –A digital signal is a signal that represents data as a sequence of discrete values; at any given time it can only take on one of a finite number of values.  Analog Signal –An analog signal is any continuous signal for which the time varying feature of the signal is a representation of some other time varying quantity i.e., analogous to another time varying signal. The following techniques can be used for Digital to Analog Conversion:

1. Amplitude Shift keying(ASK) –

Amplitude Shift Keying is a technique in which carrier signal is analog and data to be modulated is digital. The amplitude of analog carrier signal is modified to reflect binary data. The binary signal when modulated gives a zero value when the binary data represents 0 while gives the carrier output when data is 1. The frequency and phase of the carrier signal remain constant.

Advantages of amplitude shift Keying –

 It can be used to transmit digital data over optical fiber.  The receiver and transmitter have a simple design which also makes it comparatively inexpensive.  It uses lesser bandwidth as compared to FSK thus it offers high bandwidth efficiency.

Disadvantages of amplitude shift Keying –

 It is susceptible to noise interference and entire transmissions could be lost due to this.  It has lower power efficiency.

2. Frequency Shift keying (FSK)–

In this modulation the frequency of analog carrier signal is modified to reflect binary data. The output of a frequency shift keying modulated wave is high in frequency for a binary high input and is low in frequency for a binary low input. The amplitude and phase of the carrier signal remain constant.

Advantages of frequency shift Keying –

 Frequency shift keying modulated signal can help avoid the noise problems beset by ASK.  It has lower chances of an error.  It provides high signal to noise ratio.  The transmitter and receiver implementations are simple for low data rate application.

Disadvantages of frequency shift Keying –

 It uses larger bandwidth as compared to ASK thus it offers less bandwidth efficiency.  It has lower power efficiency.

3. Phase Shift keying (PSK)–

In this modulation the phase of the analog carrier signal is modified to reflect binary data.The amplitude and frequency of the carrier signal remains constant.

Advantages of phase shift Keying –

 It is a more power efficient modulation technique as compared to ASK and FSK.  It has lower chances of an error.  It allows data to be carried along a communication signal much more efficiently as compared to FSK.

Disadvantages of phase shift Keying –

 It offers low bandwidth efficiency.  The detection and recovery algorithms of binary data is very complex.  It is a non coherent reference signal.

4. Quadrature Amplitude Modulation (QAM)- is a modulation technique that can be

utilized in Analog modulation concepts and digital modulation concepts. It is a combination of ASK and PSK. Quadrature Amplitude Modulation(QAM):

o A device can only send the data but cannot receive it or it can receive the data but cannot send the data. o This transmission mode is not very popular as mainly communications require the two- way exchange of data. The simplex mode is used in the business field as in sales that do not require any corresponding reply. o The radio station is a simplex channel as it transmits the signal to the listeners but never allows them to transmit back. o Keyboard and Monitor are the examples of the simplex mode as a keyboard can only accept the data from the user and monitor can only be used to display the data on the screen. o The main advantage of the simplex mode is that the full capacity of the communication channel can be utilized during transmission.

Advantage of Simplex mode:

o In simplex mode, the station can utilize the entire bandwidth of the communication channel, so that more data can be transmitted at a time.

Disadvantage of Simplex mode:

o Communication is unidirectional, so it has no inter-communication between devices.

Half-Duplex mode:

o In a Half-duplex channel, direction can be reversed, i.e., the station can transmit and receive the data as well. o Messages flow in both the directions, but not at the same time. o The entire bandwidth of the communication channel is utilized in one direction at a time. o In half-duplex mode, it is possible to perform the error detection, and if any error occurs, then the receiver requests the sender to retransmit the data. o A Walkie-talkie is an example of the Half-duplex mode. In Walkie-talkie, one party speaks, and another party listens. After a pause, the other speaks and first party listens. Speaking simultaneously will create the distorted sound which cannot be understood.

Advantage of Half-duplex mode:

o In half-duplex mode, both the devices can send and receive the data and also can utilize the entire bandwidth of the communication channel during the transmission of data.

Disadvantage of Half-Duplex mode:

o In half-duplex mode, when one device is sending the data, then another has to wait, this causes the delay in sending the data at the right time.

Full-duplex mode:

o In Full duplex mode, the communication is bi-directional, i.e., the data flow in both the directions. o Both the stations can send and receive the message simultaneously. o Full-duplex mode has two simplex channels. One channel has traffic moving in one direction, and another channel has traffic flowing in the opposite direction. o The Full-duplex mode is the fastest mode of communication between devices. o The most common example of the full-duplex mode is a telephone network. When two people are communicating with each other by a telephone line, both can talk and listen at the same time.

Advantage of Full-duplex mode:

o Both the stations can send and receive the data at the same time.

Disadvantage of Full-duplex mode:

o If there is no dedicated path exists between the devices, then the capacity of the communication channel is divided into two parts.

Transmission Media:

What is Transmission media?

o Transmission media is a communication channel that carries the information from the sender to the receiver. Data is transmitted through the electromagnetic signals. o The main functionality of the transmission media is to carry the information in the form of bits through LAN (Local Area Network). o It is a physical path between transmitter and receiver in data communication. o In a copper-based network, the bits in the form of electrical signals. o In a fibre based network, the bits in the form of light pulses. o In OSI (Open System Interconnection) phase, transmission media supports the Layer 1. Therefore, it is considered to be as a Layer 1 component. o The electrical signals can be sent through the copper wire, fibre optics, atmosphere, water, and vacuum. o The characteristics and quality of data transmission are determined by the characteristics of medium and signal. o Transmission media is of two types are wired media and wireless media. In wired media, medium characteristics are more important whereas, in wireless media, signal characteristics are more important. o Different transmission media have different properties such as bandwidth, delay, cost and ease of installation and maintenance. o The transmission media is available in the lowest layer of the OSI reference model, i.e., Physical layer.

Some factors need to be considered for designing the transmission media:

o Bandwidth: All the factors are remaining constant, the greater the bandwidth of a medium, the higher the data transmission rate of a signal. o Transmission impairment: When the received signal is not identical to the transmitted one due to the transmission impairment. The quality of the signals will get destroyed due to transmission impairment. o Interference: An interference is defined as the process of disrupting a signal when it travels over a communication medium on the addition of some unwanted signal.

Causes Of Transmission Impairment:

o Attenuation: Attenuation means the loss of energy, i.e., the strength of the signal decreases with increasing the distance which causes the loss of energy. o Distortion: Distortion occurs when there is a change in the shape of the signal. This type of distortion is examined from different signals having different frequencies. Each frequency component has its own propagation speed, so they reach at a different time which leads to the delay distortion. o Noise: When data is travelled over a transmission medium, some unwanted signal is added to it which creates the noise.

Classification of Transmission Media:

Guided Transmission Media in Computer Network:

Introduction

Communication is an essential component of the vast field of computer networks, which depends on a variety of transmission methods to enable data exchange. In this procedure, guided transmission media also referred to as bounded or wired media, are essential. These media are the actual channels that direct signals between connected devices in a network.

Types of Guided Transmission Media:

1. Twisted Pair Cable:

o Description: To try to reduce electromagnetic interference, insulated copper wires are twisted together in pairs to create twisted pair cables.

o Advantages Of Unshielded Twisted Pair:

o It is cheap. o Installation of the unshielded twisted pair is easy. o It can be used for high-speed LAN.

Disadvantage: o This cable can only be used for shorter distances because of attenuation.

Shielded Twisted Pair:

A shielded twisted pair is a cable that contains the mesh surrounding the wire that allows the higher transmission rate.

Characteristics Of Shielded Twisted Pair:

o The cost of the shielded twisted pair cable is not very high and not very low. o An installation of STP is easy. o It has higher capacity as compared to unshielded twisted pair cable. o It has a higher attenuation. o It is shielded that provides the higher data transmission rate.

Disadvantages:

o It is more expensive as compared to UTP and coaxial cable. o It has a higher attenuation rate.

Coaxial Cable:

o Coaxial cable is very commonly used transmission media, for example, TV wire is usually a coaxial cable. o The name of the cable is coaxial as it contains two conductors parallel to each other. o It has a higher frequency as compared to Twisted pair cable. o The inner conductor of the coaxial cable is made up of copper, and the outer conductor is made up of copper mesh. The middle core is made up of non-conductive cover that separates the inner conductor from the outer conductor. o The middle core is responsible for the data transferring whereas the copper mesh prevents from the EMI (Electromagnetic interference).

Coaxial cable is of two types:

  1. Baseband transmission: It is defined as the process of transmitting a single signal at high speed.
  2. Broadband transmission: It is defined as the process of transmitting multiple signals simultaneously.

Advantages Of Coaxial cable:

o The data can be transmitted at high speed. o It has better shielding as compared to twisted pair cable. o It provides higher bandwidth.

Disadvantages Of Coaxial cable:

o It is more expensive as compared to twisted pair cable. o If any fault occurs in the cable causes the failure in the entire network.

Fibre Optic:

o Fibre optic cable is a cable that uses electrical signals for communication. o Fibre optic is a cable that holds the optical fibres coated in plastic that are used to send the data by pulses of light. o The plastic coating protects the optical fibres from heat, cold, electromagnetic interference from other types of wiring. o Fibre optics provide faster data transmission than copper wires.

Diagrammatic representation of fibre optic cable:

Basic elements of Fibre optic cable:

o Core: The optical fibre consists of a narrow strand of glass or plastic known as a core. A

core is a light transmission area of the fibre. The more the area of the core, the more light will be transmitted into the fibre.