Unit 5�Data Converters and PLDs
1
2
Volatile and Non Volatile Memory
Volatile Memory | Non Volatile memory |
It require constant power to maintain the store information | This memory can store the information even when there is no power supply to the memory or storage device |
It is typically use only for primary storage | It is typically use only for secondary storage or long term persistent storage |
e.g. RAM, D-RAM, S-RAM | e.g. ROM, flash memory, optical disk driver |
3
Classification of Memory
Memory
ROM
RAM
Masked ROM
PROM
EPROM
EEPROM
Static RAM
Dynamic RAM
4
Difference between RAM and ROM
RAM | ROM |
It is random access memory | It is read only memory |
RAM is volatile | ROM is non volatile |
It allows reading and writing | It allows only reading |
Used in normal operation | Used in start up process of computer |
Temporary Storage | Permanent Storage |
It is expensive | It is cheap |
5
Difference between Static RAM and Dynamic RAM
Static RAM | Dynamic RAM |
It contains less memory cells per unit area | It contains more memory cells as compared to static RAM per unit area |
It has less access time hence faster memories | It has greater access time than Static RAM |
It consists of Internal flip flop | It consists of MOS transistor and capacitor |
Consume more power | Consume less power |
Cost is more | Cost is less |
It has low packing density | It has high packing density |
It is used in cache memory | It is used in main memory |
6
Types of ROM
7
Types of DAC
There are two types of DAC
8
Weighted Resistor DAC
9
Weighted Resistor DAC
10
Weighted Resistor DAC
11
Weighted Resistor DAC
The above equation represents the output voltage equation of a 3-bit binary weighted resistor DAC. Since the number of bits are three in the binary (digital) input, we will get seven possible values of output voltage by varying the binary input from 000 to 111 for a fixed reference voltage, VR.
Generalized output voltage equation of an N-bit binary weighted resistor DAC is
The disadvantages of a weighted resistor DAC are as follows −
1. The difference between the resistance values corresponding to LSB & MSB will increase as the number of bits present in the digital input increases.
2. It is difficult to design more accurate resistors.
12
R-2R Ladder DAC
The R-2R Ladder DAC overcomes the disadvantages of a binary weighted resistor DAC. As the name suggests, R-2R Ladder DAC produces an analog output, which is almost equal to the digital (binary) input by using a R-2R ladder network in the inverting adder circuit.
The circuit diagram of a 3-bit R-2R Ladder DAC is shown in the following figure −
�
13
R-2R Ladder DAC
14
R-2R Ladder DAC
Let the 3-bit binary input is b2 b1 b0. Here, the bits b2 and b0 denote the Most Significant Bit (MSB) and Least Significant Bit (LSB) respectively.
The digital switches shown in the above figure will be connected to ground, when the corresponding input bits are equal to ‘0’. Similarly, the digital switches shown in above figure will be connected to the negative reference voltage, −VR when the corresponding input bits are equal to ‘1’.
The advantages of a R-2R Ladder DAC are as follows −
Due to the above advantages, R-2R Ladder DAC is preferable over binary weighted resistor DAC.
15
DAC Specifications
16
DAC Specifications
4. Linearity :
5. Monotonicity :
17
Difference between Weighted register DAC and R-2R ladder DAC
18
Applications of DAC