









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This document offers a comprehensive overview of digital-to-digital and analog-to-digital conversion techniques in computer networks. it details various encoding schemes like unipolar and polar encoding, explores pulse code modulation (pcm), delta modulation, and nyquist theorem. furthermore, it covers digital-to-analog conversion methods such as ask, fsk, psk, and qam, along with analog-to-analog conversion (modulation) techniques like am, fm, and pm. the document also discusses transmission media and switching techniques, including circuit switching and packet switching, providing a solid foundation for understanding data transmission in computer networks.
Typology: Summaries
1 / 17
This page cannot be seen from the preview
Don't miss anything!
digital data to digital signal. When binary 1s and 0s generated by the computer are translated into a sequence of voltage pulses that can be propagated over a wire; this process is known as digital-to-digital encoding. The various types of Digital-to-digital encoding schemes are shown in the following figure. Digital- to-digital encoding Unipolar Encoding Polar Encoding Bipolar Encoding NRZ RZ Biphase AMI NRZ-L NRZ-I Manchester Differential Manchester Pseudo- ternary Unipolar: This type of encoding is known as unipolar encoding as it uses only one polarity. In Unipolar encoding, the polarity is assigned to the 1 binary state. In this, 1s are represented as a positive value and 0s are represented as a zero value. In other words, '1' is considered as a high voltage and '0' is considered as a zero voltage. Unipolar encoding is simpler and inexpensive to implement. Unipolar encoding has two problems that make this scheme less desirable: DC Component Synchronization Polar : Polar encoding is an encoding scheme that uses two voltage levels: one is positive, and another is negative. By using two voltage levels, an average voltage level is reduced, and the DC component problem of unipolar encoding scheme is reduced. Polar encoding scheme is of three types: NRZ, RZ and Biphase. NRZ: NRZ stands for Non-return zero. In NRZ encoding, the level of the signal can be represented either positive or negative. The two most common methods used in NRZ are NRZ-L and NRZ-I.
NRZ-L: In NRZ-L encoding, the level of the signal depends on the type of the bit that it represents. If a bit is 0 or 1, then their voltages will be positive and negative respectively. Therefore, we can say that the level of the signal is dependent on the state of the bit. NRZ-I: NRZ-I is an inversion of the voltage level that represents 1 bit. Here, a transition occurs between the positive and negative voltage if the next bit is 1. In this scheme, 0 bit represents no change and 1 bit represents a change in voltage level. Biphase : Biphase is an encoding scheme in which signal changes at the middle of the bit interval but does not return to zero. Biphase encoding is implemented in two different ways; Manchester and Differential Manchester RZ : RZ stands for Return to zero. There must be a signal change for each bit to achieve synchronization. It is an encoding scheme that provides three values, positive voltage represents 1, the negative voltage represents 0, and zero voltage represents none. Here, in the middle of each bit, the signal returns to zero. 1 bit is represented by positive-to-zero and 0 bit is represented by negative-to-zero. Disadvantage of RZ: It performs two signal changes to encode one bit that acquires more bandwidth.
M K Mishra, Asst. Prof. of Comp. Sc., FMAC, Bls. Page 4 of 17 Pulse Code Modulation: The most common technique to change an analog signal to digital data is called pulse code modulation (PCM). A PCM encoder has the following three processes: Sampling Quantization Encoding Sampling – The first step in PCM is sampling. Sampling is a process of measuring the amplitude of a continuous-time signal at discrete instants, converting the continuous signal into a discrete signal. The sampling process is sometimes referred to as pulse amplitude modulation (PAM). There are three sampling methods: (i) Ideal Sampling: This is an ideal sampling method and cannot be easily implemented. (ii) Natural Sampling: Natural Sampling is a practical method of sampling in which pulse have finite width equal to T.The result is a sequence of samples that retain the shape of the analog signal. (iii) Flat top sampling: In comparison to natural sampling flat top sampling can be easily obtained. In this sampling technique, the top of the samples remains constant by using a circuit. This is the most common sampling method used. (Natural Sampling) (Flat top sampling) Nyquist Theorem: One important consideration is the sampling rate or frequency. According to Nyquist theorem, the minimum sampling rate must be at least twice the highest frequency contained in the signal. Quantization: – The result of sampling is a series of pulses with amplitude values between the maximum and minimum amplitudes of the signal. Following are the steps in Quantization:
Encoding: – The digitization of the analog signal is done by the encoder. After each sample is quantized and the number of bits per sample is decided, each sample can be changed to an n bit code. Encoding also minimizes the bandwidth used. Delta Modulation: Since PCM is a very complex technique, other techniques have been developed to reduce the complexity of PCM. The simplest is delta Modulation. Delta Modulation finds the change from the previous value. Modulator – The modulator is used at the sender site to create a stream of bits from an analog signal. The process records a small positive change called delta. If the delta is positive, the process records a 1 else the process records a 0. The modulator builds a second signal that resembles a staircase. The input signal is then compared with this gradually made staircase signal. We have the following rules for output:
M K Mishra, Asst. Prof. of Comp. Sc., FMAC, Bls. Page 7 of 17 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. Frequency Shift Keying (FSK): In this conversion technique, the frequency of the analog carrier signal is modified to reflect binary data. This technique uses two frequencies, f1 and f2. One of them, for example f1, is chosen to represent binary digit 1 and the other one is used to represent binary digit 0. Both amplitude and phase of the carrier wave are kept intact. 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. 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.It is further categorized as follows. Binary Phase Shift Keying (BPSK) Quadrature phase shift keying (QPSK) Binary Phase Shift Keying (BPSK): BPSK also known as phase reversal keying or 2PSK is the simplest form of phase shift keying. The Phase of the carrier wave is changed according to the two binary inputs. In Binary Phase shift keying, difference of 180 phase shift is used between binary 1 and binary 0. This is regarded as the most robust digital modulation technique and is used for long distance wireless communication.
M K Mishra, Asst. Prof. of Comp. Sc., FMAC, Bls. Page 8 of 17 Quadrature phase shift keying (QPSK): This technique is used to increase the bit rate i.e we can code two bits onto one single element. It uses four phases to encode two bits per symbol. QPSK uses phase shifts of multiples of 90 degrees. It has double data rate carrying capacity compare to BPSK as two bits are mapped on each constellation points. 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 algorithm of binary data is very complex. It is a non coherent reference signal. Quadrature Amplitude Modulation (ASK+PSK) : Quadrature Amplitude Modulation combines amplitude & phase changes to give additional capacity & is widely used for data communications. Basic signals exhibit only two positions which allow the transfer of either a 0 or 1. Using QAM there are many different points that can be used, each having defined values of phase and amplitude. This is known as a constellation diagram. The different positions are assigned different values, and in this way a single signal is able to transfer data at a much higher rate. To provide an example of how QAM operates, the constellation diagram shown here indicates the values associated with the different states for a 16QAM (4 Phase & 4 Amplitude) signal. From this it can be seen that a continuous bit stream may be grouped into fours and represented as a sequence. Normally the lowest order QAM encountered is 16QAM. The reason for this being the lowest order normally encountered is that 2QAM is the same as binary phase-shift keying (BPSK) and 4QAM is the same as quadrature phase- shift keying (QPSK). Advantages of QAM: Increase the efficiency of transmission. Disadvantages of QAM:
3. PHASE MODULATION: The modulation in which the phase of the carrier wave is varied according to the instantaneous amplitude of the modulating signal keeping amplitude and frequency as constant. The figure shows the concept of phase modulation. Phase modulation is practically similar to Frequency Modulation, but in Phase modulation frequency of the carrier signal is not increased. It is normally implemented by using a voltage-controlled oscillator along with a derivative. The frequency of the oscillator changes according to the derivative of the input voltage which is the amplitude of the modulating signal.
transmitter and the receiver i.e it is the channel through which data is sent from one place to another. Transmission Media is broadly classified into two types.
M K Mishra, Asst. Prof. of Comp. Sc., FMAC, Bls. Page 11 of 17 i. Unshielded Twisted Pair (UTP): This type of cable has the ability to block interference and does not depend on a physical shield for this purpose. It is used for telephonic applications. Advantages: Least expensive Easy to install High-speed capacity Disadvantage: Susceptible to external interference Lower capacity and performance in comparison to STP Short distance transmission due to attenuation ii. Shielded Twisted Pair (STP): This type of cable consists of a special jacket to block external interference. It is used in fast-data-rate Ethernet and in voice and data channels of telephone lines. Advantages: Better performance at a higher data rate in comparison to UTP Eliminates crosstalk Comparatively faster Disadvantage: Comparatively difficult to install and manufacture More expensive Bulky b) Coaxial Cable – Coaxial cable consists of three layers of elements; core, cladding and jacket. 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. Cladding: The concentric layer of glass is known as cladding. The main functionality of the cladding is to provide the lower refractive index at the core interface as to cause the reflection within the core so that the light waves are transmitted through the fibre. Jacket: The protective coating consisting of plastic is known as a jacket. The main purpose of a jacket is to preserve the fibre strength, absorb shock and extra fibre protection. The coaxial cable transmits information in two modes: Baseband mode (dedicated cable bandwidth) and Broadband mode (cable bandwidth is split into separate ranges). Cable TVs and analog television networks widely use Coaxial cables. Advantages: High Bandwidth Better noise Immunity Easy to install and expand Inexpensive Disadvantages: Single cable failure can disrupt the entire network
Why is Switching Concept required? Switching concept is developed because of the following reasons: It increases bandwidth and overall performance of the network by reducing the traffic on the network. To overcome collision of packets when more than one device transmits the messge over the same physical media. In large networks, there can be multiple paths from sender to receiver. Switching technique is used to connect the systems for making one-to-one communication. Classification of Switching Techniques: Swithing Techniques Circuit Switching Message Switching Packet Switching Time Division Switches Space devision Swithches Datagram Appraoch Virtual Circuit Approach Crossbar Switch Multistage Switch
dedicated path between sender and receiver. In Circuit Switching Technique, once the connection is established then the dedicated path will remain to exist until the connection is terminated. When any user wants to send the data, voice, video, a request signal is sent to the receiver then the receiver sends back the acknowledgment to ensure the availability of the dedicated path. After receiving the acknowledgment, data is transferred through the dedicated path. It is used in public telephone network. It is used for voice transmission. Communication through circuit switching has 3 phases: Circuit establishment Data transfer Circuit Disconnect Circuit Switching can use either of the two technologies:
M K Mishra, Asst. Prof. of Comp. Sc., FMAC, Bls. Page 14 of 17
message is sent in one go, but it is divided into smaller pieces known as packets, and they are sent individually. The packets are given a unique number to identify their order at the receiving end. Every packet contains some information in its headers such as source address, destination address and sequence number.
M K Mishra, Asst. Prof. of Comp. Sc., FMAC, Bls. Page 16 of 17 Advantages of Packet Switching: Delay in delivery of packets is less, since packets are sent as soon as they are available. Switching devices don’t require massive storage, since they don’t have to store the entire messages before forwarding them to the next node. Data delivery can continue even if some parts of the network face link failure. Packets can be routed via other paths. It allows simultaneous usage of the same channel by multiple users. It ensures better bandwidth usage as a number of packets from multiple sources can be transferred via the same link. Disadvantages of Packet Switching: They are unsuitable for applications that cannot afford delays in communication like high quality voice calls. Packet switching high installation costs. They require complex protocols for delivery. Network problems may introduce errors in packets , delay in delivery of packets or loss of packets. Difference between Circuit Switching and Packet Switching Circuit Switching Packet Switching In circuit switching there are 3 phases: i) Connection Establishment. ii) Data Transfer. iii) Connection Released. In Packet switching directly data transfer takes place. In circuit switching, each data unit know the entire path address which is provided by the source. In Packet switching, each data unit just know the final destination address intermediate path is decided by the routers. Delay between data units in circuit switching is uniform. Delay between data units in packet switching is not uniform. Resource reservation is the feature of circuit switching because path is fixed for data transmission. There is no resource reservation because bandwidth is shared among users. Circuit switching is more reliable. Packet switching is less reliable. Wastage of resources are more in Circuit Switching Less wastage of resources as compared to Circuit Switching It is not a store and forward technique. It is a store and forward technique. Transmission of the data is done by the source. Transmission of the data is done not only by the source, but also by the intermediate routers. Congestion can occur during connection establishment time. Congestion can occur during data transfer phase.