The Wayback Machine - https://web.archive.org/web/20240918045547/https://www.geeksforgeeks.org/digital-to-digital-conversion-in-computer-network/
Open In App

Digital To Digital Conversion in Computer Network

Last Updated : 15 May, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

In this article we will be discussing about digital-to-digital transmission in computer network i.e., how a digital data or information is converted into digital signal. The digital-to-digital encoding can be done by a technique called line coding.

Line Coding

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.

There are basically three different types of line coding technique:

  • Unipolar
  • Polar
  • Bipolar

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.

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.

NRZ-L: Changes its voltage level when different bit is encountered.

NRZ-I: Changes its voltage level when bit 1 is encountered.

Advantages of Polar NRZ

This provides synchronization as whenever a 1 bit is encountered, the signal changes.

  • Return to Zero (RZ): This encoding technique uses three different voltage level to represent binary values. Bit 1 is used to represent positive voltage, bit 0 is used to represent negative voltage and zero voltage for none. During the second half of each bit, this signal enters a resting state(zero).

Problems in Return to Zero

This occupies more bandwidth as it requires two signal changes to encode one bit.

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.

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.

Different 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

 

Table: Comparison of Different Digital-to-Digital Line Encoding Techniques

Line Encoding Technique  Description Advantages  Disadvantages
Unipolar Uses only one level of voltage for bit 0 and bit 1  Easy to implement  DC component problem, synchronization issue
Polar NRZ  Uses two levels of voltage for bit 0 and bit 1, no transition for idle line  Provides synchronization, DC component issue minimized  May encounter problem with long sequences of 0’s or 1’s
RZ Uses three levels of voltage for bit 0, bit 1 and idle line, signal enters resting state during second half of bit  Provides synchronization  Occupies more bandwidth
Manchester Uses transition from positive to negative and negative to positive to represent bit 0 and bit 1 respectively, bit period represented by two equal intervals  Provides synchronization, self-clocking  Occupies more bandwidth
Differential Manchester  Uses transition at the middle of the bit interval to represent bit 0, no transition for bit 1, bit period represented by two equal intervals  Provides synchronization, self-clocking  More complex encoding and decoding process
Bipolar Uses three levels of voltage for bit 0, bit 1 and idle line, alternative 1’s to prevent DC component  Provides synchronization, no DC component  More complex encoding and decoding process


Previous Article
Next Article

Similar Reads

Why Star network is More Efficient in Network Fault Tolerance in Place of Bus Network?
Answer: Star networks offer better fault tolerance than bus networks because a single point of failure in a star network (the central hub) affects only the connected device, while a fault in a bus network can disrupt communication for all devices on the bus.Advantages of Star Topology Over Bus Topology Individual Connection Points: In a star networ
2 min read
Basic Network Attacks in Computer Network
Many people rely on the Internet for many of their professional, social and personal activities. But there are also people who attempt to damage our Internet-connected computers, violate our privacy and render inoperable the Internet services. Given the frequency and variety of existing attacks as well as the threat of new and more destructive futu
7 min read
How to Find Network IP Address of Computer Using Computer Name?
Answer: By using the command "ping" followed by the computer name in the command prompt or terminal.To find the network IP address of a computer using its computer name: Open Command Prompt or Terminal Begin by opening the Command Prompt (Windows) or Terminal (macOS/Linux) on your computer. Use the Ping Command Type "ping" followed by the computer
1 min read
Differences between Wireless Adhoc Network and Wireless Sensor Network
1. Wireless Adhoc Network: A wireless ad-hoc network is a wireless network deployed without any framework or infrastructure. This incorporates wireless mesh networks, mobile ad-hoc networks, and vehicular ad-hoc networks. Its history could be traced back to the Defense Advanced Research Project Agency (DARPA) and Packet Radio Networks (PRNET) which
3 min read
Difference between Next Generation Network and Traditional Network
1. Next Generation Network : In short Next Generation Network is termed as NGN which is packet based network used for both telephony and data. It uses multiple broadband and Quality of Services (QoS) enabled transport technologies to establish advance communication system. NGN can handle multiple type of services/traffic such as voice, audio, video
5 min read
Difference between Network Administrator and Network Engineer
1. Network Administrator :A network administrator is a someone in an organization whose job is to manage organization's computer network. They also do jobs like on-site server organization , software networking and also placing the network in there correct position which is also called as Network Integrity. Those are the main thing in their job to
3 min read
Difference Between Network Security and Network Administration
In the world of information technology, there are two important and distinct roles that are often confused: network security and network administration. While these two jobs may be closely related, they require different sets of skills and responsibilities. It’s significant to understand the differences between network security and network administ
5 min read
Difference Between Network Management and Network Monitoring
Pre-requisites: Areas of Network Management Network management and Network monitoring are two important functions in maintaining the performance and security of a network. While they are often used interchangeably, they are distinct concepts with different goals and methods. Network management refers to the process of controlling, configuring, and
3 min read
Difference Between Network Congestion and Network Latency
Network congestion refers to a situation in which a network experiences an excessive amount of traffic, resulting in a reduction of available bandwidth and increased delays for network users. This can occur in both wired and wireless networks and can have a significant impact on the performance and reliability of the network. Congestion can occur d
9 min read
How Does a Network Topology Affect Your Decision in Setting up a Network?
Answer: Different Network Topology offer different costs, security, reliability, etc. So we choose one of the network topology as a blueprint for setting up our network according to the features that we required.By Network Topology we get to know how different nodes are connected in the network. There are different types of network topology like Bu
2 min read
How does a Network Interface Card (NIC) Facilitate Connectivity in a Wired Network?
Answer: A network interface card (NIC) facilitates connectivity in a wired network by providing an interface between the physical layer which provides the physical connection with the cables and the data link layer which provides reliable communication channel. The NIC converts the digital data into electrical data so that it can be transferred usi
2 min read
Difference Between Network Topology and Network Protocols
Network Topology and Network Protocols are closely related but distinct concepts in the field of computer networking. Network Topology refers to the physical and logical arrangement of devices on a network, while Network Protocols refer to the rules and standards that govern the communication between devices on a network. Understanding the differen
5 min read
Difference between Software Defined Network and Traditional Network
Whenever it comes to networks, new trends keep on adding up and thus it becomes essential to know about the dissimilarities that SDN Networks and Traditional Networks possess. Given the ever-increasing need for the expansion, fault tolerance, and resource optimization of the networks that connect today’s business environments, organizations, and IT
7 min read
Difference between Storage Area Network (SAN) and Network Attached Storage (NAS)
When it comes to managing and storing data in an IT setup it’s important to know the different storage options available. Two key technologies are Storage Area Network (SAN) and Network Attached Storage (NAS). SAN is a high-speed network that connects servers to storage devices, enabling efficient data transfer and centralized management making it
7 min read
Computer Networks | Network Layer | Question 1
If a Company require 60 hosts then What is the best possible subnet mask? (A) 255.255.255.0 (B) 255.255.255.192 (C) 255.255.225.224 (D) 225.225.255.240 Answer: (B) Explanation: Number of host = 2 ^ n - 2 , where n is number of host bits. 2^n - 2 = 60 Solving for n, n is approximate equal 6, so 6 host bits are enough . So desired subnet mask is 1111
1 min read
Computer Networks | Network Layer | Question 2
In class C , if subnet mask is 255.255.255.224 then calculates number of subnet? (A) 6 (B) 8 (C) 4 (D) None of the Above Answer: (B) Explanation: Default subnet mask of class C is 255.255.255.0. In subnetting Number of bits are borrowed from host bits. Given Subnet mask 11111111.11111111.11111111.11100000 3 bits are borrowed form host bits as defau
1 min read
MAC Filtering in Computer Network
There are two kinds of network Adapters. A wired adapter allows us to set up a connection to a modem or router via Ethernet in a computer whereas a wireless adapter identifies and connects to remote hot spots. Each adapter has a distinct label known as a MAC address which recognizes and authenticates the computer. Mac address is shown in the format
10 min read
DHCP Relay Agent in Computer Network
Prerequisite - Dynamic Host Configuration Protocol (DHCP), How DHCP server dynamically assigns IP address to a host? To assign an IP address to the host dynamically, the DHCP client exchanges DHCP messages with the DHCP server in the DORA process. In the DORA process, the discover and request message is broadcast, the offer and the acknowledgement
6 min read
Redundant Link problems in Computer Network
Basically, redundant links are used to prevent nasty network failure. These are used to provide redundancy, i.e back up when a link fails, i.e a frame can be forwarded out through another path but it can cause problems also. Here are some of these problems: Broadcast Storm - A switch forwards out the broadcast frame, generated by another device, to
4 min read
Port Security in Computer Network
Attackers' task is comparatively very easy when they can enter the network they want to attack. Ethernet LANs are very much vulnerable to attack as the switch ports are open to use by default. Various attacks such as Dos attack at layer 2, address spoofing can take place. If the administrator has control over the network then obviously the network
3 min read
EtherChannel in Computer Network
EtherChannel is a port link aggregation technology in which multiple physical port links are grouped into one logical link. It is used to provide high-speed links and redundancy. A maximum of 8 links can be aggregated to form a single logical link. EtherChannel, also known as Link Aggregation Control Protocol (LACP), is a technique used in computer
5 min read
Bit Stuffing in Computer Network
The data link layer is responsible for something called Framing, which is the division of stream of bits from network layer into manageable units (called frames). Frames could be of fixed size or variable size. In variable-size framing, we need a way to define the end of the frame and the beginning of the next frame. Bit stuffing is the insertion o
2 min read
Computer Network | AAA (Authentication, Authorization and Accounting)
The administrator can take access to a router or a device through a console but it is very inconvenient if he is sitting far from the place of that device. So, eventually, he has to take remote access to that device. But as remote access will be available by using an IP address, therefore, it is possible that an unauthorized user can take access us
4 min read
Types of MANET in Computer Network
Prerequisite - MANET: Mobile Ad hoc Network MANET stands for Mobile ad hoc Network also called as wireless ad hoc network or ad hoc wireless network. They consist of a set of mobile nodes connected wirelessly in a self-configured, self-healing network without having a fixed infrastructure. MANET nodes are free to move randomly as the network topolo
12 min read
Redistribution in Computer Network
Often, using a single routing protocol in an organisation is preferred but there are some conditions in which we have to use multi protocol routing. These conditions include multiple administrator running multiple protocols, company mergers or usage of multi-vendors devices. Therefore, we have to advertise a route learned through a routing protocol
5 min read
Type-C Port in Computer Network
Type-C (or USB-C) is a 24-pin USB connector system. This is distinguished by its two-fold rotationally symmetrical connector. The USB Type-C Specification 1.0 was published by the USB Implementers Forum (USB-IF). It was finalized in August 2014. A device that implements USB-C does not necessarily implement USB Power Delivery, USB 3.1, or Alternate
4 min read
Asynchronous Transfer Mode (ATM) in Computer Network
Why ATM networks? Driven by the integration of services and performance requirements of both telephony and data networking: "broadband integrated service vision" (B-ISON). Telephone networks support a single quality of service and are expensive to boot. Internet supports no quality of service but is flexible and cheap. ATM networks were meant to su
5 min read
Puzzle | Eliminating Virus from a Computer Network
In a network of infinitely many computers, 650 computers got infected with certain virus. The IT support team has access to five different types of antivirus software packages (let us call them A, B, C, D and E) that can work on eliminating this virus. Each of the antivirus software packages 'X' can eliminate virus from Xr infected computers if the
3 min read
Elements of Computer Network
Computer Network is a system in which multiple nodes are connected to each other to share information and resources. A computer network allows sharing of resources between different nodes connected within it. Computer Network Elements: The objects basically used in a computer network are known as Computer Network Elements (CNEs). There are basicall
3 min read
Functionality of Computer Network
Prerequisite - Basics of Computer Networking, Network goals, Layers of OSI Model, Transport Layer responsibilities When a client is present on one machine and server is present on another machine, then making a connection between them, is called computer network.Computer networks share common devices, functions, and the features of computer network
4 min read