SlideShare a Scribd company logo
1 of 20
Digital Transmission
& ‘Analog to digital
conversion’
Date 21-10-2020
Digital Transmission:
• Data or information can be stored in two ways, analog and
digital. For a computer to use the data, it must be in discrete
digital form. Similar to data, signals can also be in analog and
digital form. To transmit data digitally, it needs to be first
converted to digital form.
• A computer network is designed to send information from one
point to another. This information needs to be converted to
either a digital signal or an analog signal for transmission.
Analog-to-Digital Conversion:
● Microphones create analog voice and camera creates analog videos,
which are treated is analog data. To transmit this analog data over
digital signals, we need analog to digital conversion.
● Analog data is a continuous stream of data in the wave form whereas
digital data is discrete.
● To convert analog wave into digital data we describe two techniques,
pulse code modulation(PCM) and delta modulation.
Pulse code modulation (PCM):
● The most common technique to change an analog signal
to digital data (digitization) is called pulse code
modulation (PCM).
It involves three steps:
● Sampling
● Quantization
● Encoding
Sampling:
● Sampling is defined as, “The process of measuring the instantaneous values
of continuous-time signal in a discrete form.”
● Sample is a value or set of values at a point in time and/or space.
● The analog signal is sampled every T interval. Most important factor in
sampling is the rate at which analog signal is sampled. According to Nyquist
Theorem, the sampling rate must be at least two times of the highest
frequency of the signal.
Sampling:
● The analog signal is sampled every Ts s, where Ts is the sample
interval or period. The inverse of the sampling interval is called the
sampling rate or sampling frequency and denoted by is, where
is = IITs'
● There are three sampling methods:
1. Ideal sampling
2. Natural sampling
3. flat-top sampling
Ideal Sampling (Impulse Sampling):
● Ideal Sampling is also known as Instantaneous sampling or
Impulse Sampling. ... In this sampling technique
the sampling function is a train of impulses and the principle used is
known as multiplication principle. Here, Figure (a), represent message
signal or input signal or signal to be sampled
● In ideal sampling, pulses from the analog signal are sampled. This is
an ideal sampling method and cannot be easily implemented.
Ideal Sampling (Impulse Sampling)
Natural sampling:
● In natural sampling, a high-speed switch is turned on for only the small period
of time when the sampling occurs. The result is a sequence of samples that
retains the shape of the analog signal.
Flat top sampling:
● During transmission, noise is introduced at top of the transmission pulse
which can be easily removed if the pulse is in the form of flat top. Here, the
top of the samples are flat i.e. they have constant amplitude. Hence, it is
called as flat top sampling or practical sampling. Flat top sampling makes
use of sample and hold circuit.
Nyquist sampling rate for low-pass and bandpass
signals:
● we can sample a signal only if the signal is band-limited.
● If the analog signal is low-pass, the bandwidth and the
highest frequency are the same value.
● If the analog signal is bandpass, the bandwidth value is
lower than the value of the maximum frequency.
Quantization:
● It is a process to converting infinite value signal into a finite value
level.
● Quantization is the process of converting the sampled continuous
Valued signals into discrete-valued data.
● The number of possible states that the converter can output is:
● N=2n where n is the number of bits in the AD converter
● Example: For a 3 bit A/D converter, N=23=8.
● Analog quantization size:
Q=(V max -V min)/N = (10V – 0V)/8 = 1.25V
Actual Amplitude:
● In a PCM stream, the amplitude of the analog signal is sampled regularly at
uniform intervals, and each sample is quantized to the nearest value within a
range of digital steps.
Quantization Levels:
● Quantization is representing the sampled values of the amplitude by a
finite set of levels, which means converting a continuous-amplitude
sample into a discrete-time signal. ... The discrete amplitudes of
the quantized output are called as representation levels or
reconstruction levels.
● The choice of L, the number of levels, depends on the range of the
amplitudes of the analog signal and how accurately we need to recover
the signal. If the amplitude of a signal fluctuates between two values
only, we need only two levels; if the signal, like voice, has many amplitude
values, we need more quantization levels. In audio digitizing, L is normally
chosen to be 256; in video it is normally thousands. Choosing lower values of L
increases the quantization error if there is a lot of fluctuation in the signal.
Encoding:
● Assigning a digital word or number to each state and matching it to the input
signal.
● The last step in PCM is encoding. After each sample is quantized and the
number of bits per sample is decided, each sample can be changed to an llb-
bit code word. A quantization code of 2 is encoded as 010; 5 is encoded as
101; and so on. 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 llb =log2 L.
Step 1(Encoding):
● :Quantizing Example: You have 0-10V signals. Separate them into a set of
discrete states with 1.25V increments. (How did we get 1.25V? (Discussed in
previous slide)
● Output States Discrete Voltage Ranges (V) 0 0.00-1.25 1 1.25-2.50 2 2.50-
3.75 3 3.75-5.00 4 5.00-6.25 5 6.25-7.50 6 7.50-8.75 7 8.75-10.0
● See next slide for this example
Output States Discrete Voltage Ranges (V)
0 0.00-1.25
1 1.25-2.50
2 2.50-3.75
3 3.75-5.00
4 5.00-6.25
5 6.25-7.50
6 7.50-8.75
7 8.75-10.0
Step 2 (Encoding):
● Encoding • Here we assign the digital value (binary number) to each
state for the computer to read.
Output States Output Binary Equivalent
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
Regard: Muhammad Awais
For any mistake please contact: chawais2001@gmail.com

More Related Content

What's hot

Analog to digital conversion technique
Analog to digital conversion techniqueAnalog to digital conversion technique
Analog to digital conversion techniqueUmar Shuaib
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAnas Smarty
 
Digital to Analog conversion
Digital to Analog conversionDigital to Analog conversion
Digital to Analog conversionMariam Butt
 
digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC) digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC) Asif Iqbal
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadavAnil Yadav
 
ADC - Analog digital converter
ADC - Analog digital converterADC - Analog digital converter
ADC - Analog digital converterMahmoud Salheen
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversionFirman Bachtiar
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORAnil Yadav
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion processDJNila
 
Adc and dac
Adc and dacAdc and dac
Adc and dacboarddk1
 
SAR ADC's and industrial Applications
SAR ADC's and industrial Applications SAR ADC's and industrial Applications
SAR ADC's and industrial Applications ilker Şin
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converterAshutosh Jaiswal
 
ADC using single slope technique
ADC using single slope  techniqueADC using single slope  technique
ADC using single slope techniquePoojashreeG
 
Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notesathiulla
 

What's hot (20)

Analog to digital conversion technique
Analog to digital conversion techniqueAnalog to digital conversion technique
Analog to digital conversion technique
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Digital to Analog conversion
Digital to Analog conversionDigital to Analog conversion
Digital to Analog conversion
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
 
digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC) digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC)
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadav
 
ADC - Analog digital converter
ADC - Analog digital converterADC - Analog digital converter
ADC - Analog digital converter
 
Adc f05
Adc f05Adc f05
Adc f05
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Adc &dac ppt
Adc &dac pptAdc &dac ppt
Adc &dac ppt
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
SAR ADC's and industrial Applications
SAR ADC's and industrial Applications SAR ADC's and industrial Applications
SAR ADC's and industrial Applications
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
ADC using single slope technique
ADC using single slope  techniqueADC using single slope  technique
ADC using single slope technique
 
Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notes
 

Similar to Digital transmission & analog Digital to conversion

Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSweta Kumari Barnwal
 
Chapter1 slide
Chapter1 slideChapter1 slide
Chapter1 slideasyrafjpk
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptfaisalahmed441
 
Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulationH K
 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxHarisMasood20
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
L 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmL 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmDEEPIKA KAMBOJ
 
Pcm transmitter and receiver
Pcm transmitter and receiverPcm transmitter and receiver
Pcm transmitter and receiverBPrabhaPalani
 
Classification of Signal.pdf
Classification of Signal.pdfClassification of Signal.pdf
Classification of Signal.pdfShivarkarSandip
 
Analog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptxAnalog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptxMohamedHussain648450
 
A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.MohamedHussain648450
 
Introduction to communication system lecture4
Introduction to communication system lecture4Introduction to communication system lecture4
Introduction to communication system lecture4Jumaan Ally Mohamed
 
digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slideasyrafjpk
 
_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdfSoyallRobi
 

Similar to Digital transmission & analog Digital to conversion (20)

Sensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuitsSensor technology module-3-interface electronic circuits
Sensor technology module-3-interface electronic circuits
 
Digitization
DigitizationDigitization
Digitization
 
Unit 3.pptx
Unit 3.pptxUnit 3.pptx
Unit 3.pptx
 
Pcm
PcmPcm
Pcm
 
Chapter1 slide
Chapter1 slideChapter1 slide
Chapter1 slide
 
Chapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.pptChapter2-PhysicalLayer.ppt
Chapter2-PhysicalLayer.ppt
 
Part 2
Part 2Part 2
Part 2
 
Digital modulation
Digital modulationDigital modulation
Digital modulation
 
Lecture7 encodingmodulation
Lecture7 encodingmodulationLecture7 encodingmodulation
Lecture7 encodingmodulation
 
UPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptxUPDATED Sampling Lecture (2).pptx
UPDATED Sampling Lecture (2).pptx
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Analog_to_Digital.pdf
Analog_to_Digital.pdfAnalog_to_Digital.pdf
Analog_to_Digital.pdf
 
L 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcmL 1 5 sampling quantizing encoding pcm
L 1 5 sampling quantizing encoding pcm
 
Pcm transmitter and receiver
Pcm transmitter and receiverPcm transmitter and receiver
Pcm transmitter and receiver
 
Classification of Signal.pdf
Classification of Signal.pdfClassification of Signal.pdf
Classification of Signal.pdf
 
Analog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptxAnalog and Digital Signals and how to convert between them..pptx
Analog and Digital Signals and how to convert between them..pptx
 
A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.A presentation about Analog and Digital Signals and how to convert between them.
A presentation about Analog and Digital Signals and how to convert between them.
 
Introduction to communication system lecture4
Introduction to communication system lecture4Introduction to communication system lecture4
Introduction to communication system lecture4
 
digital control Chapter1 slide
digital control Chapter1 slidedigital control Chapter1 slide
digital control Chapter1 slide
 
_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf_Pulse-Modulation-Techniqnes.pdf
_Pulse-Modulation-Techniqnes.pdf
 

Recently uploaded

fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 

Recently uploaded (20)

fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

Digital transmission & analog Digital to conversion

  • 1. Digital Transmission & ‘Analog to digital conversion’ Date 21-10-2020
  • 2. Digital Transmission: • Data or information can be stored in two ways, analog and digital. For a computer to use the data, it must be in discrete digital form. Similar to data, signals can also be in analog and digital form. To transmit data digitally, it needs to be first converted to digital form. • A computer network is designed to send information from one point to another. This information needs to be converted to either a digital signal or an analog signal for transmission.
  • 3. Analog-to-Digital Conversion: ● Microphones create analog voice and camera creates analog videos, which are treated is analog data. To transmit this analog data over digital signals, we need analog to digital conversion. ● Analog data is a continuous stream of data in the wave form whereas digital data is discrete. ● To convert analog wave into digital data we describe two techniques, pulse code modulation(PCM) and delta modulation.
  • 4. Pulse code modulation (PCM): ● The most common technique to change an analog signal to digital data (digitization) is called pulse code modulation (PCM). It involves three steps: ● Sampling ● Quantization ● Encoding
  • 5. Sampling: ● Sampling is defined as, “The process of measuring the instantaneous values of continuous-time signal in a discrete form.” ● Sample is a value or set of values at a point in time and/or space. ● The analog signal is sampled every T interval. Most important factor in sampling is the rate at which analog signal is sampled. According to Nyquist Theorem, the sampling rate must be at least two times of the highest frequency of the signal.
  • 6. Sampling: ● The analog signal is sampled every Ts s, where Ts is the sample interval or period. The inverse of the sampling interval is called the sampling rate or sampling frequency and denoted by is, where is = IITs' ● There are three sampling methods: 1. Ideal sampling 2. Natural sampling 3. flat-top sampling
  • 7. Ideal Sampling (Impulse Sampling): ● Ideal Sampling is also known as Instantaneous sampling or Impulse Sampling. ... In this sampling technique the sampling function is a train of impulses and the principle used is known as multiplication principle. Here, Figure (a), represent message signal or input signal or signal to be sampled ● In ideal sampling, pulses from the analog signal are sampled. This is an ideal sampling method and cannot be easily implemented.
  • 9. Natural sampling: ● In natural sampling, a high-speed switch is turned on for only the small period of time when the sampling occurs. The result is a sequence of samples that retains the shape of the analog signal.
  • 10. Flat top sampling: ● During transmission, noise is introduced at top of the transmission pulse which can be easily removed if the pulse is in the form of flat top. Here, the top of the samples are flat i.e. they have constant amplitude. Hence, it is called as flat top sampling or practical sampling. Flat top sampling makes use of sample and hold circuit.
  • 11.
  • 12. Nyquist sampling rate for low-pass and bandpass signals: ● we can sample a signal only if the signal is band-limited. ● If the analog signal is low-pass, the bandwidth and the highest frequency are the same value. ● If the analog signal is bandpass, the bandwidth value is lower than the value of the maximum frequency.
  • 13. Quantization: ● It is a process to converting infinite value signal into a finite value level. ● Quantization is the process of converting the sampled continuous Valued signals into discrete-valued data. ● The number of possible states that the converter can output is: ● N=2n where n is the number of bits in the AD converter ● Example: For a 3 bit A/D converter, N=23=8. ● Analog quantization size: Q=(V max -V min)/N = (10V – 0V)/8 = 1.25V
  • 14. Actual Amplitude: ● In a PCM stream, the amplitude of the analog signal is sampled regularly at uniform intervals, and each sample is quantized to the nearest value within a range of digital steps.
  • 15. Quantization Levels: ● Quantization is representing the sampled values of the amplitude by a finite set of levels, which means converting a continuous-amplitude sample into a discrete-time signal. ... The discrete amplitudes of the quantized output are called as representation levels or reconstruction levels. ● The choice of L, the number of levels, depends on the range of the amplitudes of the analog signal and how accurately we need to recover the signal. If the amplitude of a signal fluctuates between two values only, we need only two levels; if the signal, like voice, has many amplitude values, we need more quantization levels. In audio digitizing, L is normally chosen to be 256; in video it is normally thousands. Choosing lower values of L increases the quantization error if there is a lot of fluctuation in the signal.
  • 16. Encoding: ● Assigning a digital word or number to each state and matching it to the input signal. ● The last step in PCM is encoding. After each sample is quantized and the number of bits per sample is decided, each sample can be changed to an llb- bit code word. A quantization code of 2 is encoded as 010; 5 is encoded as 101; and so on. 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 llb =log2 L.
  • 17. Step 1(Encoding): ● :Quantizing Example: You have 0-10V signals. Separate them into a set of discrete states with 1.25V increments. (How did we get 1.25V? (Discussed in previous slide) ● Output States Discrete Voltage Ranges (V) 0 0.00-1.25 1 1.25-2.50 2 2.50- 3.75 3 3.75-5.00 4 5.00-6.25 5 6.25-7.50 6 7.50-8.75 7 8.75-10.0 ● See next slide for this example
  • 18. Output States Discrete Voltage Ranges (V) 0 0.00-1.25 1 1.25-2.50 2 2.50-3.75 3 3.75-5.00 4 5.00-6.25 5 6.25-7.50 6 7.50-8.75 7 8.75-10.0
  • 19. Step 2 (Encoding): ● Encoding • Here we assign the digital value (binary number) to each state for the computer to read. Output States Output Binary Equivalent 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111
  • 20. Regard: Muhammad Awais For any mistake please contact: chawais2001@gmail.com