Download - Digital design chap 6
![Page 1: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/1.jpg)
DIGITAL ELECTRONICSCHAPTER 6
DEE 204
![Page 2: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/2.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS
Principle of operation of a A-D and D-A converter
Principle of operation of a single and dual ramp
A continuously balanced and successive approximation A-D converter
![Page 3: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/3.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of a A-D and D-A
converterBasic on digital signal processingDigital signal processing:
- converts signals that naturally occur in analogue form to digital form using digital techniques to enhance and modify analogue signal data for applications
![Page 4: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/4.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation
of a A-D & D-A converter
Basic on digital signal processing
Digital signal processing: - First translates
continuously varying analogue signal into series of discrete levels resembling a staircase as shown
![Page 5: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/5.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of
a A-D & D-A converterBasic on digital signal
processingDigital signal processing: - Changing the analogue
signal to staircase form by a sample and hold circuit
![Page 6: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/6.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of a A-D & D-A converterBasic on digital signal processingDigital signal processing: - The stairstep approximation is quantized into binary
codes by a circuit called analogue-to-digital converter (ADC)
- Binary coded form is then fed into DSP, signal converted back into original analogue signal by digital-to-analogue converter (DAC)
![Page 7: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/7.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of a A-D & D-A converterBasic on digital signal processingDigital signal processing: - The basic block diagram of a typical digital signal
processing system is shown
![Page 8: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/8.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of a A-D converterSampling and filtering- The process of taking sufficient number of
discrete values at points on a waveform- Converts an analogue signal into a series of
impulses- Must be passed through a low-pass filter (anti-
aliasing filter to eliminate harmonic frequencies above Nyquist frequency)
![Page 9: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/9.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS
Principle of operation of a A-D converterSampling and filtering: Nyquist frequency
Or in other words, the highest analogue frequency should be less than half the sampling frequency
frequencyNyquist is
2
max
max
a
asample
f
ff
![Page 10: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/10.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS
Principle of operation of a A-D converter
Sample and hold:- The sampled level must
be held constant until the next sample occurs
- Results in a stairstep waveform
![Page 11: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/11.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of
operation of a A-D converter
Quantization:- Process of
converting an analogue value to a code
- Each sampled value of the analogue signal is converted to a binary code
![Page 12: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/12.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS
Principle of operation of a D-A converter (DAC)- Could be either parallel transfer or series transfer
of data- Parallel transfer: 4-bit codes are coupled out in
sequence as they are processed by digital processor and accepted by DAC at the same time
- Series transfer: 4-bit codes are sent out one bit at a time, following the other in sequence, accepted by DAC in sequence
![Page 13: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/13.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of a D-A converterBasic diagram of digital-to-analogue conversion is shown
![Page 14: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/14.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of
operation of a single ramp
- Consist of ramp generator and BCD or binary counter
- A single slope ADC is shown
![Page 15: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/15.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of a
single ramp- At first reset signal is provided to ramp
generators- Counter reset to 0- Analogue input voltage is applied to
positive terminal of comparator- Comparator output goes HIGH, enabling
AND gate and ramp starts until exceeds input voltage
- Comparator goes LOW, disables AND gate, resets counter and ramp generator
![Page 16: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/16.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS
Principle of operation of a single ramp
- e.g. for the ramp given the ramp is generated at 1V/ms
- The ramp is given as:
timeramp total theis and
x
V at voltage timeramp theis where
21
1
21
1
tt
t
V
V
tt
t
in
X
VX
t1
Vin
t1+t2
![Page 17: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/17.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS
• Principle of operation of a single rampExample:A single ramp ADC is fed with Vin = 5V and
gives a ramp for 1.2ms. At 0.7ms, determine the output voltage of the ramp and the pulses produced if the frequency is 3MHz.
![Page 18: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/18.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS• Principle of operation of a single rampSolution:
210037.0
9.252.1
7.0
;7.0
5,2.1
1
1
21
MHzmsftN
VVms
msV
mst
VVmstt
x
in
![Page 19: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/19.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of
operation of a dual ramp
- A dual slope ADC is shown
- Consist of integrator (ramp generator), comparator, binary counter, output latch and reference voltage
![Page 20: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/20.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation of a dual ramp- Assuming the counter is reset and
output at integrator is ‘0’- Positive input voltage applied,
assuming Vin is constant, capacitor charges linearly
- Counter reaches specified count and resets, switches to negative reference voltage, capacitor charges negative voltage, discharges linearly
- As capacitor discharges, counter advances from RESET state
![Page 21: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/21.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSPrinciple of operation
of a dual ramp
1223
23
12
giving Thus,
1
asgiven is slope decreasing for theequation The
1
asgiven is slope rising for theequation The
3
2
2
1
ttVttV
ttRC
VdtV
RCV
ttRC
VdtV
RCV
inref
reft
t
refr
int
t
inr
Vr
t1 t2 t3
![Page 22: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/22.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS
• Principle of operation of a dual rampExample:A dual slope ADC has a 100kΩ resistor and 1µF
capacitor. If the input voltage is 2V, calculate the output voltage after 1s. If a 5V reference voltage is fed to the integrator, determine the time range from t2 to t3
![Page 23: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/23.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERS• Principle of operation of a dual rampSolution:
stt
ttVsV
ttVttV
VV
VsFk
VV
ttRC
VV
sttFCkRVV
refin
ref
r
inramp
in
4.0
512
;5
2011100
2
;1,1,100,2
23
23
2312
12
12
![Page 24: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/24.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSA continuously balanced
and successive approximation A-D converter
- A successive approximation ADC block diagram is shown
- Consisting DAC, successive approximation register, and comparator
![Page 25: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/25.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSA continuously balanced and successive approximation A-
D converter- For a 4-bit successive approximation ADC as shown,
input bits are enabled one at a time, starting with the most significant bit (MSB)
- Comparator produces LOW when input signal voltage is lower than DAC output, register will RESET the bit
- Comparator produces HIGH when input signal voltage is higher than DAC output, register retains bit
- System does this from the MSB to the LSB, and once all done, conversion cycle is complete
![Page 26: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/26.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSA continuously balanced and successive approximation
A-D converter
Output of DAC is 8V, greater than 5.1V input, output is LOW, MSB in SAR is reset
Output of DAC is 4V, less than 5.1V input, output is HIGH, bit is retained in SAR
![Page 27: Digital design chap 6](https://reader034.vdocument.in/reader034/viewer/2022050817/5537e6f04a79598e758b4693/html5/thumbnails/27.jpg)
CONVERSATION BETWEEN ANALOG AND SYSTEM FUNCTION OF AD AND DA
CONVERTERSA continuously balanced and successive approximation
A-D converter
Output of DAC is 6V, greater than5.1V input, output is LOW, bit is reset to ‘0’
Output of DAC is 5V, binary code in register is 0101, approximate to 5.1V