The Wayback Machine - https://web.archive.org/web/20240906120457/https://www.geeksforgeeks.org/analog-to-digital-conversion/
Open In App

Analog to Digital Conversion

Last Updated : 24 Jul, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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.

Importance of Analog to Digital Conversion

  • The main role of ADC in modern technology development process is the transition of voice communication systems from outdated analogue signal processing to the more advanced voice over IP, or VoIP, systems of today is largely due to the contribution.
  • The teletypewriters and other computer input devices needed to be connected to a modem which was connected to a mainframe or other front end computer system to communicate with the required computer systems. In contrast to the ultrahigh-speed networks of today, modem transmission speeds were modest to process.
  • The systems for smaller office applications and the digital private branch exchange, or PBX, were developed by using ADC technology as the foundation to process properly.

Techniques of Analog-to-Digital Conversion

The following techniques can be used for Analog to Digital Conversion –

a. 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:

  1. Sampling
  2. Quantization
  3. Encoding

Low pass filter : The low pass filter eliminates the high frequency components present in the input analog signal to ensure that the input signal to sampler is free from the unwanted frequency components. This is done to avoid aliasing of the message signal.

  1. 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. There are three sampling methods: (i) Ideal Sampling: In ideal Sampling also known as Instantaneous sampling pulses from the analog signal are sampled. 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. Nyquist Theorem: One important consideration is the sampling rate or frequency. According to the Nyquist theorem, the sampling rate must be at least 2 times the highest frequency contained in the signal. It is also known as the minimum sampling rate and given by: Fs =2*fh
  2. Quantization – The result of sampling is a series of pulses with amplitude values between the maximum and minimum amplitudes of the signal. The set of amplitudes can be infinite with non-integral values between two limits. The following are the steps in Quantization:
    1. We assume that the signal has amplitudes between Vmax and Vmin
    2. We divide it into L zones each of height d where, d= (Vmax- Vmin)/ L
    3. The value at the top of each sample in the graph shows the actual amplitude.
    4. The normalized pulse amplitude modulation(PAM) value is calculated using the formula amplitude/d.
    5. After this we calculate the quantized value which the process selects from the middle of each zone.
    6. The Quantized error is given by the difference between quantized value and normalised PAM value.
    7. The Quantization code for each sample based on quantization levels at the left of the graph.
  3. 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.  Note that the number of bits for each sample is determined from the number of quantization levels. If the number of quantization levels is L, the number of bits is n bit = log 2 L.

b. 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:

  1. If the input analog signal is higher than the last value of the staircase signal, increase delta by 1, and the bit in the digital data is 1.
  2. If the input analog signal is lower than the last value of the staircase signal, decrease delta by 1, and the bit in the digital data is 0.

Demodulator – The demodulator takes the digital data and, using the staircase maker and the delay unit, creates the analog signal. The created analog signal, however, needs to pass through a low-pass filter for smoothing.

c. ADAPTIVE DELTA MODULATION

The performance of a delta modulator can be improved significantly by making the step size of the modulator assume a time-varying form. A larger step-size is needed where the message has a steep slope of modulating signal and a smaller step-size is needed where the message has a small slope. The size is adapted according to the level of the input signal. This method is known as adaptive delta modulation (ADM).

Applications

  • Digital Signal Processing: In this process, the systems for processing, storing, or transporting almost any analogue signal into digital format require ADCs to perform well. Let’s an example, in TV tuner cards this is use as fast video analog-to-digital converters.
  • Recording Music System: The modern digital audio workstation-based sound recording and music reproduction technologies both are basically rely heavily on analog-to-digital converters.
  • Scientific Instruments or Projects: The digital imaging systems are normally use analog-to-digital converters for digitizing the instruments and projects pixels.

Previous Article
Next Article

Similar Reads

Analog to Analog Conversion (Modulation)
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. Analog to Analog Conversion - Analog-to-analog conversion, or modulation, is the representation of analog information by an analog signal. I
3 min read
Digital to Analog Conversion
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., analogou
3 min read
Counter-Type Analog-to-Digital Converter (ADC)
Analog-to-Digital Converters (ADC) are typically used in all modern-day systems. The main job of the ADC is to convert the analog signal to a digital binary signal. Why digital signal? The reason is that digital data is easy to process, store and transmit. With advancements in CMOS technology, it has been possible to fabricate thousands of logic ci
7 min read
Advantages and Disadvantages of Analog signals
Analog signals : The analog signals were utilized in many systems to supply signals to hold information. These signals remain in the continuous state in both values and time. the utilization of analog signals has been declined with the arrival of digital signals. In short, to know the analog signals – all signals that are natural or come naturally
3 min read
Conversion of Binary number to Base 4 system
We all know that, [Tex]2^2 [/Tex]= [Tex]4^1 [/Tex]. In other words, single digit in base 4 can be represented using 2 digits in base 2. Base 2 has digits 0 and 1. Similarly base 4 has digits 0, 1, 2 and 3. Algorithm for Binary to Base 4 Conversion Beginning from right, group the digits of binary (base 2) number into group of two. Write the base 4 e
1 min read
Conversion of S-R Flip-Flop into T Flip-Flop
Prerequisite - Flip-flop Here, we will discuss the process of conversion of S-R Flip-Flop into a T Flip-Flop using an example. Rules for conversion: Step-1: Find the characteristics table of required flip-flop and the excitation table of the existing (given) flip-flop. Step-2: Find the expression of given flip-flop in terms of required flip-flop us
1 min read
Conversion of J-K Flip-Flop into T Flip-Flop
Prerequisite - Flip-flop 1. J-K Flip-Flop: JK flip-flop shares the initials of Jack Kilby, who won a Nobel prize for his fabrication of the world's first integrated circuit, some people speculate that this type of flip flop was named after him because a flip-flop was the first device that Kilby build when he was developing integrated circuits. J-K
1 min read
Conversion of J-K Flip-Flop into D Flip-Flop
Prerequisite - Flip-flop 1. JK Flip-Flop: JK Flip-Flip is basically a gated SR flip-flop which has an additional input that is clock input. It prevents the invalid output that may be obtained when both the inputs are 1. 2. D Flip-Flop: D Flip-Flop is a modified SR flip-flop which has an additional inverter. It prevents the inputs from becoming the
1 min read
Conversion of S-R Flip-Flop into D Flip-Flop
Prerequisite - Flip-flop 1. S-R Flip-Flop : S-R flip-flop is similar to S-R latch expect clock signal and two AND gates. The circuit responds to the positive edge of clock pulse to the inputs S and R. 2. D Flip-Flop : D Flip-Flop is a modified SR flip-flop which has an additional inverter. It prevents the inputs from becoming the same value. Conver
1 min read
Minimal to Canonical Form Conversion
Canonical Form is also called standard form, we directly obtained it from truth table and hence we have all the variable in normal or complimented form in each minterm. There are 3 steps for conversion of minimal form to canonical form. Find the Total Number of variable present in minimal form. Find the variables absent in each minterm. Try to appl
2 min read
Program for Octal to Decimal Conversion
Given an octal number as input, we need to write a program to convert the given octal number into equivalent decimal number. Examples: Input : 67Output: 55Input : 512Output: 330Input : 123Output: 83The idea is to extract the digits of a given octal number starting from the rightmost digit and keep a variable dec_value. At the time of extracting dig
11 min read
Conversion From Minterm Expression to Maxterm Expression
Minterm is the product of N distinct literals where each literal occurs exactly once. The output of the minterm functions is 1. Maxterm is the sum of N distinct literals where each literals occurs exactly once. The output of the maxterm functions is 0. The conversion from minterm to maxterm involves changing the representation of the function from
8 min read
Program for Binary To Decimal Conversion
Given a binary number as input, we need to write a program to convert the given binary number into an equivalent decimal number. Check: Binary to Decimal ConverterExamples :  Input : 111Output : 7Input : 1010Output : 10Input: 100001Output: 33Recommended PracticeBinary number to decimal numberTry It!The idea is to extract the digits of a given binar
15+ min read
Flip-Flop types, their Conversion and Applications
In this article, we will go through the Flip-Flop types, their Conversion and their Applications, First, we will go through the definition of the flip-flop with its types in brief, and then we will go through the conversion of the flip-flop with its applications, At last, we will conclude our article with some FAQs. Table of Content Flip-FlopTypes
7 min read
Program for Decimal to Binary Conversion
Given a decimal number as input, we need to write a program to convert the given decimal number into an equivalent binary number. Examples of Decimal to Binary:  Input : 7Output : 111Input : 10Output : 1010Input: 33Output: 100001Recommended PracticeDecimal to binaryTry It!Brute force ApproachFor Example: If the decimal number is 10. Step 1: Remaind
15+ min read
Program for Decimal to Octal Conversion
Given a decimal number as input, we need to write a program to convert the given decimal number into an equivalent octal number. i.e convert the number with base value 10 to base value 8. The base value of a number system determines the number of digits used to represent a numeric value. For example, the binary number system uses two digits 0 and 1
10 min read
Basic Conversion of Logic Gates
In the Digital System, logic gates are the basic building blocks.  In these logic gates, we can find the gates having more than one input, but will have only one output. The connection between the input and the output of a gate is based on some logic. Based on this logic, different gates are developed like OR gate, AND gate, NOT gate, and more.   T
6 min read
Digital Electronics and Computer Organisation
Digital Electronics Half Adder Half Subtractor K-Map Counters Computer Organisation and Architecture Machine Instructions What’s difference between 1’s Complement and 2’s Complement? Addressing Modes Cache Memory Computer Arithmetic | Set – 1 Computer Arithmetic | Set – 2 Cache Organization | Set 1 (Introduction) Pipelining | Set 1 (Execution, Stag
1 min read
Half Adder in Digital Logic
Introduction: A half adder is a digital logic circuit that performs binary addition of two single-bit binary numbers. It has two inputs, A and B, and two outputs, SUM and CARRY. The SUM output is the least significant bit (LSB) of the result, while the CARRY output is the most significant bit (MSB) of the result, indicating whether there was a carr
4 min read
Full Subtractor in Digital Logic
A full subtractor is a combinational circuit that performs subtraction of two bits, one is minuend and other is subtrahend, taking into account borrow of the previous adjacent lower minuend bit. This circuit has three inputs and two outputs. The three inputs A, B and Bin, denote the minuend, subtrahend, and previous borrow, respectively. The two ou
3 min read
Encoder in Digital Logic
An encoder is a digital circuit that converts a set of binary inputs into a unique binary code. The binary code represents the position of the input and is used to identify the specific input that is active. Encoders are commonly used in digital systems to convert a parallel set of inputs into a serial code. The basic principle of an encoder is to
6 min read
Shift Registers in Digital Logic
Pre-Requisite: Flip-Flops Flip flops can be used to store a single bit of binary data (1 or 0). However, in order to store multiple bits of data, we need multiple flip-flops. N flip flops are to be connected in order to store n bits of data. A Register is a device that is used to store such information. It is a group of flip-flops connected in seri
8 min read
Block Coding in Digital Electronics
Block coding is a method used in digital electronics to encode data into a specific format. The purpose of block coding is to add redundant information to the data, which can be used to detect and correct errors that may occur during transmission or storage. Block coding is often used in conjunction with error correction codes (ECCs) to provide a m
5 min read
What is Scrambling in Digital Electronics ?
A computer network is designed to send information from one point to another. Data that we send can either be digital or analog. Also, signals that represent data can also be digital or analog. Thus to send data by using signals, we must be able to convert the data into signals, this conversion can be Analog to Analog, Analog to Digital, Digital to
5 min read
Consensus Theorem in Digital Logic
Prerequisite - Properties of Boolean algebra, Minimization of Boolean Functions Redundancy theorem is used as a Boolean algebra trick in Digital Electronics. It is also known as Consensus Theorem: AB + A'C + BC = AB + A'C The consensus or resolvent of the terms AB and A'C is BC. It is the conjunction of all the unique literals of the terms, excludi
3 min read
Operational Amplifier (op-amp) in Digital Electronics
An amplifier is a device that increases the strength of the input signal. It can be Voltage amplifiers, whose input is some voltage and output is also voltage but amplified. Current amplifier, whose input is some current and output is also current but amplified. Transconductance amplifier, whose input is some voltage and output is the current.Trans
4 min read
Variable Entrant Map (VEM) in Digital Logic
Prerequisite - Karnaugh Map (K-map) K-map is the best manual technique to solve Boolean equations, but it becomes difficult to manage when number of variables exceed 5 or 6. So, a technique called Variable Entrant Map (VEM) is used to increase the effective size of k-map. It allows a smaller map to handle large number of variables. This is done by
3 min read
Static Hazards in Digital Logic
A hazard, if exists, in a digital circuit causes a temporary fluctuation in the output of the circuit. In other words, a hazard in a digital circuit is a temporary disturbance in the ideal operation of the circuit which if given some time, gets resolved itself. These disturbances or fluctuations occur when different paths from the input to output h
4 min read
Ring Counter in Digital Logic
A ring counter is a typical application of the Shift register. The ring counter is almost the same as the shift counter. The only change is that the output of the last flip-flop is connected to the input of the first flip-flop in the case of the ring counter but in the case of the shift register it is taken as output. Except for this, all the other
3 min read
Universal Shift Register in Digital logic
A Universal shift register is a register which has both the right shift and left shift with parallel load capabilities. Universal shift registers are used as memory elements in computers. A Unidirectional shift register is capable of shifting in only one direction. A bidirectional shift register is capable of shifting in both the directions. The Un
2 min read
Article Tags :