05 Unit V DTE
05 Unit V DTE
05 Unit V DTE
Amit Nevase
Lecturer,
Department of Electronics & Telecommunication Engineering,
Karmaveer Bhaurao Patil Polytechnic, Satara
PO 3. Experiments and practice: Plan to perform experiments and practices to use the
results to solve broad-based Electronics and Telecommunication engineering
problems.
PO 5. The engineer and society: Assess societal, health, safety, legal and cultural
issues and the consequent responsibilities relevant to practice in field of Electronics
and Telecommunication engineering.
Tota
l Examination Scheme
Teachin Cred
g its
Scheme (L+T Theory Marks Practical Marks
+P)
04 -- 02 06
3 70 28 30 00 100 40 25# 10 25 10 50 20
Total 64 18 22 30 70
Legends: R=Remember, U=Understand, A = Apply and above
9/16/2018 Amit Nevase 10
Unit I – Number System and Codes
Number System: Base or radix of number
systems, Binary, Octal, Decimal and Hexadecimal
number system.
Binary arithmetic: Addition, Subtraction, Multiplication,
Division.
Subtraction using 1’s complement and 2’s complement
Drawbacks of SR FF
of IC 7474, IC 7475.
9/16/2018 Amit Nevase 15
Unit IV – Sequential Logic Circuit
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Converters
(DAC).
Electrical
Analog
Analog
Output
Bit 1 Bit 1 Output
Bit 2 Bit 2
Bit 3 Bit 3
…………….……..
…………….……..
To control
Physical n-bit Digital n-bit Variable
Transduce
Variabl
e
r
ADC Syste DAC
m Actuator
Bit n-1 Bit n-1
Bit n Bit n
Digital Digital
Inputs
9/16/2018 Amit Nevase Inputs 24
Types of Data Converters
Data Converters
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Where, K is the proportionality factor and constant value for a given DAC.
9/16/2018 Amit Nevase 28
Unit V – Data Converters and PLDs
Data Converters: DAC: Types, weighted resistor circuit and R-2R
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
(MSB) R Rf
D3
2R +VCC
D2 -
4R Vo
+
D1
-VEE
8R
D0
(LSB)
Rf
R1 +VCC
Vin -
Vo
+
-VEE
Vo=-(Rf/R1).Vin
Rf
R1 If +VCC
Vin
Iin V1 Ib
- Vo
+
-VEE
Vo=-Iin.Rf
V 0 IinRF
But for above circuit,
Iin (I 1 I 2 I
3 I 4)
Advantages:
Simple Construction/Analysis
Fast Conversion
Disadvantages:
Requires large range of resistors (2000:1 for 12-bit
DAC) with necessary high precision for low
resistors
Requires low switch resistances in transistors
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
+VCC
-
R R R
+
-VEE
Vou
2R 2R 2R 2R 2R
t
(LSB) (MSB)
D0 D1 D2 D3
Digital Inputs
2R 2R 2R 2R 2R
Vou
t
D0 D1 D2 D3 (MSB)
(LSB)
+E
Req=2R
Req
=2R 2R Vou
2R Vou E( 2R )
t +E E
2R 2R
t
2
+E
9/16/2018 Amit Nevase 42
R-2R Ladder DAC
Only one source will be active at a time (using superposition theorem)
i.e. D2 active
R R
2R 2R 2R 2R 2R
Vou
t
D0 D1 D2
(LSB) D3 (MSB)
+E
R
Req=2R R
Req RTH
=2R 2R 2R Vout
+E 2R
+E
9/16/2018 Amit Nevase 43
R-2R Ladder DAC
Thevenins equivalent
2R R 2R
RTH
VTH i1 2R E
E 2
+E
i1 2R VTH 2
RTH [(2R 2R) R]
2R
Req=2R
E 2 E
VTH 2R E
2 Vout ( R )
2 2R 2R
4
2R 2R 2R 2R 2R
Vou
t
D0 D1 D2
(LSB) D3 (MSB)
+E
R R
Req
=2R 2R 2R 2R Vou
t
+E
9/16/2018 Amit Nevase 45
R-2R Ladder DAC
Loop Current method
2R R R 2R
RTH
VTH i2 2R E
E 4
+E
i1 2R i2 2R VTH 4
E 2 E
VTH 2R E
4 Vout ( R )
4 2R 2R
8
2R 2R 2R 2R 2R
Vou
t
(LSB) D0 D1 D2
D3 (MSB)
+E
2R R R R
RTH
+E 2R i 2R 2R
i1 2 i3 VTH
E
E VTH i3 2R
VTH 8
8
RTH [{(((2R 2R) 2R) R}2R] R
R) 2R
Req=2R
E 2 E
VTH 2R E
8 Vout ( R )
8 2R 2R
16
+VCC
-
R R R
+
-VEE
2R 2R
Vou
2R 2R 2R
t
(LSB) (MSB)
D0 D1 D3
D2
Digital Inputs
Using Superposition Principle, E E E E
Vo u t 2 4
8
D2 D1 D0
2 4 8 1 6 1 6
9/16/2018 Amit Nevase 49
D 3
R-2R Ladder DAC
Advantages:
Advantages:
Disadvantages:
Resolution:
Resolution of a DAC is defined as the smallest change that can occur in
an analog output as a result of a change in the digital input.
The resolution of DAC is also defined as the reciprocal of the number
of discrete steps in the full scale output of DAC.
The resolution is always equal to the weight of the LSB and is also
referred to as the step size.
step size
% Re solution full scale 100
Accuracy:
It is a measure of the difference between actual output
and expected output.
It is expressed as a percentage of the maximum output
voltage.
Linearity:
a a
n n
Analog Output Signal
0 0
0 0
0 0
0 0
0 0
0 0
0 0
1 1
9/16/2018 Amit Nevase 57
0 0
0 0
Specifications of DAC
Monotonicity:
Settling Time:
Settling Time:
Temperature Sensitivity:
The reference voltage supplies and resistors of a D/A converter are all
temperature sensitive.
on temperature.
The temperature sensitivity of the offset voltage and the bias current
Reference Voltages:
Used to determine how each digital input will
be assigned to each voltage division
Types:
- Non-multiplier DAC: Vref is fixed
Offset Voltage:
Voltage”
Offset Voltage:
Output Voltage
Ideal Output
Digital Input
Computer Printers
Digital Thermostat
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
National Semiconductor.
MC1508/1408.
Features:
Relative Accuracy: ± 0.19% error maximum
Pin Configuration:
Circuit Diagram:
Output Equation:
A1 A2 A3 A4 A5 A6 A7
Vo Vref ( A8
2 4 8 16 32 64 )
128 256
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
analog signal.
– Continuous in time
Digital
Three Stages:
Sampling
Quantizing
Encoding
The number of possible states that the converter can output is:
N=2n
Example:
Q=(Vmax-Vmin)/N = (10V –
0V)/8 = 1.25V
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Flash ADC
Delta-Sigma ADC
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Analog
+
I/p
-
Counter Counter Counter
Ramp
Generator
RESET
Control Flip Flop Flip Flop Flip
Latch Latch Flop
Circuit Latch
Manual STROBE
Switch
7-Segment 7-Segment 7-
Control Decoder Decoder Segment
Decoder
Manual
RESET
t
VA
Ramp
Signal
t
0 t1 t2
Vc
t
Clk
t
Strobe
t
RESET
t
9/16/2018 Amit Nevase 91
1 Conversion Cycle
Manual
RESET
t
Ramp VB
Signal
t
0 t1 t2
Vc
t
Clk
t
Strobe
t
RESET
t
9/16/2018 Amit Nevase 92
Single Slope ADC
Advantages:
High accuracy
Limitations:
The comparators are assumed to be perfect i.e. their
This A/D converter cannot take bipolar signals. This difficulty can
Any noise of zero means, riding the input analog signal is not
rejected by system.
R Comparator
-
+
+
- Counter Counter Counter
Integrator
Vin
tFIX tmeas t
Then the ADC discharges the capacitor at a fixed rate with the
counter counts the ADC’s output bits. A longer discharge time
results in a higher count
Advantages:
High accuracy
Low cost
Disadvantages:
Long conversion time as compare with other ADCs.
required accuracy
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Binary
….. O/P
DAC
MSB is set to 1.
9/16/2018 Amit Nevase 101
Conversion Process In Successive Approximation ADC
Advantages:
The conversion time is equal to the “n” clock cycle period for an
n-bit ADC.
of analog signal
Disadvantages:
Circuit is complex.
Accuracy of
3 conversion Less Accurate More Accurate
Resolution:
Resolution of the ADC is the change in voltage input
necessary for a one bit change in output. It can
also be expressed as percent.
Accuracy:
1
The accuracy of A/D conversion is limited by the
2 LSB
Speed:
It can be defined in two ways i.e. either the time
necessary to do one conversion or time between
successive conversion at the highest rate possible.
Speed depends on the setting time of components and
the speed of the logic.
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Pin Configuration:
Circuit Diagram:
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
00000001
big array (list) of data
1011111100100100
00000002 1001110011110111
FFFFFFFE 0110101111010000
FFFFFFFF
9/16/2018 Amit Nevase
word 121
Organization of Memory
Memory signals fall into three groups:
Address Bus - selects one of many memory locations
Data Bus -
Read (ROM/RAM): the selected location’s stored data is put
on the data bus
Write (RAM): The data on the data bus is stored
into the selected location
Control Bus - specifies what the memory is to do
Control signals are usually active low
Most common signals are:
• CS: Chip Select; must be active to do anything
• OE: Output Enable; active to read data
• WR: Write; active to write data
9/16/2018 Amit Nevase
122
Classification of Memory
Memory
ROM RAM
PROM Static
EPROM
EEPROM
Dynamic
FLASH
NOR
NAND
Processor Registers
Very Fast, Very
Small Size Expensive
Small
Capacity Processor Cache
Very Fast, Expensive
Power ON
Medium Size Immediate Term
Medium
Random Access Memory
Capacity Power ON Fast, affordable
Very Short Term
Small Size
Power OFF Flash/USB
Large
Slower, Cheap
Capacity Short
Term
Large Size Power OFF
Very Mid Term Hard Drives
Large Slow, Very Cheap
Capacity
Power OFF
Large Size Long Term
Very
Large CDs, DVD’s and Tape
Capacity Backup
Very Slow, Affordable
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
word line
Two lines are connected to each dynamic RAM cell - the Word
Line (W/L) and the Bit Line (B/L) connect as shown so that the
required cell within a matrix can have data read or written to it.
and bit lines and this reduces the time to access the
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
ROM stands for Read Only Memory. The data and instructions in
ROM are stored by the manufacturer at the time of its
manufacturing.
This data and programs cannot be changed or deleted after
wards. The data or instructions stored in ROM can only be read
but new data or instructions cannot be written into it.
This is the reason why it is called Read Only Memory. ROM
stores data and instructions permanently. When the power is
turned off, the instructions stored in ROM are not lost. That is
the reason ROM is called non-volatile memory.
Diode means a
“1” is stored at
this location
data
output
5
active low
Masked ROM
RAM ROM
EPROM
Exposure EEPROM
to ultraviolet light A voltage of 20V 25V
is
to technique used to erase data. applied to erase
data.
Selective erasing not Selective erasing is possible. A
is All get particular locations
possible. can be
erased.
10 locations
to 15 mins. i.e. Long time erased.
10ms. i.e. A very short
required for erasing time required for erasing
Less expensive More expensive
9/16/2018 Amit Nevase 173
Comparison between EPROM & EEPROM
EPROM
It is necessary
EEPROM to remove It is not necessary to remove
EPROM from circuit for erasing EEPROM from circuit for
data. erasing data.
Applications- In computer to Applications- Cell phones,
store operating System Digital cameras etc.
EPROM
Flash Memory
Data can be erased only byte Data can be erased only block
by byte by giving electrical by block.
pulses.
Byte programmable. Block programmable.
0808/0809 specification
Memory: RAM and ROM basic building blocks, Read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Next, the CS and OE signals are activated, after a delay of tGQ, the output
enable access time measured with respect to the High to Low transition of
the OE signal, valid data appears on the data lines.
The tAQ, address access time is measured from the beginning of the valid
address that appears on the address lines to the appearance of valid data on
the data lines.
The tEQ measures the chip enable access time which is the time for the valid
data to appear after the High to Low transition of the chip select signal CS.
Next, the CS and WE signals are activated. The write enable signal WE is
activated after a minimum time of tS(A) the address setup time which is
measured from the beginning of the valid address.
The time for which the WE signal remains active is known as the write pulse
width. After the WE signal becomes active the data that is to be written in
the memory at the addressed location is applied at the data lines.
The WE signal must remain valid after data is applied at the data input lines
and must remain valid for a minimum time duration tWD. The data must
remain valid for a time th(D), hold time after WE signal is deactivated.
9/16/2018 Amit Nevase 179
Memory Write Operation
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Here, the inputs of AND gates are not of programmable type. So, we have to
generate 2n product terms by using 2n AND gates having n inputs each. We can
implement these product terms by using nx2n decoder. So, this decoder
generates ‘n’ min terms.
Here, the inputs of OR gates are programmable. That means, we can program
any number of required product terms, since all the outputs of AND gates are
applied as inputs to each OR gate. Therefore, the outputs of PROM will be in
the form of sum of min terms.
9/16/2018 Amit Nevase 187
Programmable Read Only Memory
(PROM)
Example: Let us implement the following Boolean functions using PROM.
A( X ,Y , Z ) m(5, 6, 7)
B( X ,Y , Z ) m(3, 5, 6, 7)
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Here, the inputs of AND gates are programmable. That means each AND gate
has both normal and complemented inputs of variables. So, based on the
requirement, we can program any of those inputs. So, we can generate only
the required product terms by using these AND gates.
Here, the inputs of OR gates are also programmable. So, we can program any
number of required product terms, since all the outputs of AND gates are
applied as inputs to each OR gate. Therefore, the outputs of PAL will be in the
form of sum of products form.
each function.
functions.
9/16/2018 Amit Nevase 194
Programmable Logic Array (PLA)
The programmable AND gates have the access of both
normal and complemented inputs of variables. In the above
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
AND gates.
Here, the inputs of AND gates are programmable. That means each AND gate
has both normal and complemented inputs of variables. So, based on the
requirement, we can program any of those inputs. So, we can generate only
the required product terms by using these AND gates.
Here, the inputs of OR gates are not of programmable type. So, the number
of inputs to each OR gate will be of fixed type. Hence, apply those required
product terms to each OR gate as inputs. Therefore, the outputs of PAL will be
in the form of sum of products form.
functions.
Highly efficient
Highly secure
High Reliability
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
PAL devices.
Like in PAL, OR gates are used to sum off min terms from the output of the
AND gates.
An OLMC cell consists of a D-flip-flop, which is used to implement sequential
circuits.
Multiplexers in the OLMC cells are used to select the routing of the input
signals to the external output or to the feedback output.
It is also used to select from the sequential and non-sequential output taken
from the input and output of the D-flip-flop depending on the requirement.
9/16/2018 Amit Nevase 208
Unit V – Data Converters and PLDs
Data Converters: DAC: Types, weighted resistor circuit and R-2R
0808/0809 specification
Memory: RAM and ROM basic building blocks, read and write
PLD: Basic building blocks and types of PLDs, PLA, PAL, GAL.
Digital Principles by
Malvino Leach
Modern Digital Electronics
by
R.P. Jain
Digital Electronics,
Principles and Integrated
Circuits by Anil
K. Maini
9/16/2018
Digital Techniques by A. Anand
Amit Nevase 215
Online Tutorials
http://nptel.ac.in/courses/117108038/
38
https://www.mepits.com/tutorial/80
/vl si/programmable-logic-device-pld
https://www.tutorialspoint.com/digital
_circuits/digital_circuits_programmable
_logic_devices.htm
http://ecetutorials.com/digital-
electronics/successive-approximation
- adc-analog-to-digital-converter/