Ic Applications Digital Notes
Ic Applications Digital Notes
LECTURE NOTES
[Link] (III-EE E I- SEM)
(2018-19)
Prepared by
[Link], Professor
1
2
3
INDEX
[Link]. Contents Page No.
UNIT-I
OPERATIONAL AMPLIFIER
UNIT-II
OP-AMP, IC-555 & IC 565 APPLICATIONS
4
UNIT-III
DATA CONVERTERS
UNIT-IV
DIGITAL INTEGRATED CIRCUITS
26 Priority Encoders 98
27 Multiplexers, Demultiplexers 99
28 ParityGenerators/Checkers, 103
5
UNIT-V
SEQUENTIAL LOGIC IC'S AND MEMORIES
6
INTRODUCTION:
7
Ideal and Practical Op Amps:
Ideal Op – Amp is a device which holds the following characteristics.
2. It has zero offset voltage. That is, the zero output voltage obtained in Op – Amp even for the
zero differential input voltage.
But practically these are not possible due to the imperfections in the manufacturing of practical
Op – Amp.
2. Practical Op – Amp has non zero offset voltage. That is, the zero output is obtained for the non
– zero differential input voltage only.
3. The bandwidth of practical Op – Amp is very small value. This can be increased to desired
value by applying an adequate negative feedback to the Op – Amp.
4. The output impedance is in the order of hundreds. This can be minimized by applying an
adequate negative feedback to the Op – Amp.
5. The input impedance is in the order of Mega Ohms only. (Whereas the ideal Op – Amp has
infinite input impedance).
8
[Link] input voltages exceeds +or- 70 micro volts opamp starts to exhibit nonlinear
characteristics and output voltage saturates at + or- 9volts.
DC and AC Characteristics:
9
10
11
Features of 741 Op-Amps:
The pin configuration of the IC 741 operational amplifier is shown below. It comprises of eight
pins where the function of each pin is discussed below.
12
Modes of Operation - Inverting, Non Inverting amplifier:
13
14
Non Inverting Amplifier:
15
Differential amplifier:
The main function of the differential amplifier is, it amplifies the changes between two i/p
voltages. But, conquers any voltage common to the two i/ps. This article gives an overview of
differential amplifier along with its mathematical expressions.
Instrumentation Amplifier:
16
17
18
AC Amplifier:
19
Diffrentiator:
20
21
Integrator:
22
Comparators:
23
24
25
26
27
Introduction to Voltage Regulators Features of 723 Regulator:
28
29
Features of IC 723 Regulator:
There are basically two types of Three Terminal Fixed Voltage regulator ICs are available. One
is positive output voltage and other has negative output voltage; but the output voltage is fixed.
31
UNIT-II
OP-AMP, IC-555 & IC 565
APPLICATIONS
32
Introduction to Filters:
33
Characteristics of Band Pass,Band Reject filters:
34
35
36
Analysis of 1st order LPF & HPF Butterworth Filters:
37
38
39
40
41
42
43
44
45
46
47
IC555 Timer – Functional Diagram
48
49
50
Monostable Multivibrators:
51
52
53
54
55
56
57
58
IC565 PLL:
59
60
61
62
63
64
Applications of PLL:
65
UNIT-III
DATA CONVERTERS
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
UNIT-IV
DIGITAL INTEGRATED CIRCUITS
81
Classification of Integrated Circuits
82
83
84
Combinational Logic ICs – Specifications and Applications of TTL-74XX & CMOS
40XX Series ICs
7400 Series TTL: The 7400 series TTL logic integrated circuits provided the basis for most of
the logic circuits of the time and they are still available today.
The 7400 series of TTL logic integrated circuits was introduced in October 1966. The 7400
series logic TTL chips spawned a series of other derivative logic families offering slightly
different characteristics: high speed, low power, etc. However the standard parameters remained
the same: logic function ( a 7416 and a 74LS16 had the same function; they were pin compatible,
etc.
The 7400 series TTL chips remained in use for many years. They have long been superseded by
other 74xx00 logic families, but they have been so successful that the basic concept has remained
the same.
Some of the main or highlight features and specifications for the 7400 series logic family are
detailed below:
There are three types of output stage that 7400 series logic may possess.
• Totem pole: This output is the standard output format for 7400 series logic chips. It comprises
two transistors and enables very fast switching times to be achieved.
The 4093 has Schmitt trigger inputs to provide good noise immunity. They are ideal for slowly
changing or noisy signals. The hysteresis is about 0.5V with a 4.5V supply and almost 2V with a
9V supply.
86
Code Converters:
87
88
89
90
91
Decoders & Encoders
92
93
94
95
96
Priority Encoder:
97
Multiplexers:
98
99
100
101
Parity Generators/Checkers:
102
Parallel Binary Adder/ Subtractor
A parallel adder is an arithmetic combinational logic circuit that is used to add more than one bit
of data simultaneously. A full adder adds two bits and a carry to give an output. However, to add
more than one bit of data in length a parallel adder is used. A parallel adder adds
corresponding bits simultaneously using full adders and keeps generating a carry and pushing it
towards the next most significant bit to be added. An n-bit parallel adder uses n full adders
connected in cascade with each full adder adding the two corresponding bits of both the
numbers.
For example, for a binary number D3D2D1D0 and B3B2B1B0, a full adder connected in cascade
would add D0 and B0 and send the result to be displayed (LSB). If a carry is generated, it will be
passed on to the input of the next full adder.
To add two Hex codes we need four full adders connected in cascade. This is because a hex code
can be represented by four binary bits. The four full adders will connect to each other via their
CARRY outputs. And depending on the position of the bits the full adders add, the SUM outputs
of the full adders will be connected to the display. The least significant bit will be connected to
the LSB of the display. The most significant bit will be connected to the pin one bit before the
MSB of the display. The carry output of the final full adder will be connected to the MSB pin of
the display.
We can use two hex 4×4 keypads to generate the input bits or we can just add the bits manually.
If you want a circuit diagram without the hex keypads as inputs let us know in the comments.
Each row of the keypad is connected to a full adder depending on its significance. The first full
adder receives inputs from the first row of the hex keypad, the second receives inputs from the
second row of the hex keypad and the carry from the first and so on. The resultant combinational
logic circuit is shown below.
103
How to design a 4-bit parallel subtractor?
A 4-bit parallel subtractor is used to subtract a number consisting of 4 bits. This is done by
cascading a series of full subtractors. For an n-bit parallel subtractor, n full subtractors can be
cascaded to achieve the desired output. The connections are exactly the same as that of the 4-bit
parallel adder which we saw earlier in this post. Each of the bit is subtracted from its
corresponding bit of equal significance from the other number. A borrow if generated,
propagates through the cascade of full subtractors.
We use the same 4×4 hex keypads to input data in a full subtractor. The first rows (having the
least significance compared to the other rows) of the hex keypads are connected to the first full
subtractor. The second rows to the second full subtractor’s inputs along with the borrow from the
first full subtractor and so on. The output of each full adder is connected to the display on the
basis of their positional significance in the answer. i.e the output of the first full subtractor is
connected to the LSB of the display. The final borrow output of the final full subtractor is
connected to the MSB pin of the display
104
Magnitude Comparators:
105
106
UNIT-V
SEQUENTIAL LOGIC IC'S AND
MEMORIES
107
All Types of Flip-flops:
108
109
110
111
112
113
Conversion of Flip flops
114
115
116
117
118
Synchronous Counters
119
120
Decade Counters
A binary coded decimal (BCD) is a serial digital counter that counts ten digits .And it resets for
every new clock input. As it can go through 10 unique combinations of output, it is also called as
“Decade counter”. A BCD counter can count 0000, 0001, 0010, 1000, 1001, 1010, 1011, 1110,
1111, 0000, and 0001 and so on.
A 4 bit binary counter will act as decade counter by skipping any six outputs out of the 16 (24)
outputs. There are some available ICs for decade counters which we can readily use in our
circuit, like 74LS90. It is an asynchronous decade counter.
The above figure shows a decade counter constructed with JK flip flop. The J output and K
outputs are connected to logic 1. The clock input of every flip flop is connected to the output of
next flip flop, except the last one.
The output of the NAND gate is connected in parallel to the clear input ‘CLR’ to all the flip
flops. This ripple counter can count up to 16 i.e. 24.
The state diagram of Decade counter is given below. State diagram of Decade counter
121
Shift Registers
122
123
124
125
126
127
MEMORIES - ROM Architecture, Types of ROMS & Applications
128
129
Types of ROM:
Although all ROM basically serves the same purpose, there are a few different types
commonly in use today.
Understanding the different types of ROMs will also help you understand how they’re
used for different applications, and which type may apply to your application.
PROM refers to the kind of ROM that the user can burn information into. In other
words, PROM is a user-programmable memory.
For every bit of the PROM, there exists a fuse. PROM is programmed by blowing the
fuses. If the information burned into PROM is wrong, that PROM must be discarded
since its internal fuses are blown permanently. For this reason, PROM is also referred to
as OTP (One Time Programmable).
Programming ROM, also called burning ROM, requires special equipment called a ROM
burner or ROM programmer.
In EPROM, one can program the memory chip and erase it thousands of times. This is
especially necessary during the development of the prototype of a microprocessor-based
project.
A widely used EPROM is called UV-EPROM, where UV stands for ultraviolet. The only
problem with UV-EPROM is that erasing its contents can take up to 20 minutes.
All UV-EPROM chips have a window through which the programmer can shine
ultraviolet (UV) radiation to erase the chip’s contents. For this reason, EPROM is also
referred to as UV-erasable EPROM or simply UV-EPROM.
Programming a UV-EPROM
1. Its contents must be erased. To erase a chip, remove it from its socket on the system
board and place it in EPROM erasure equipment to expose it to UV radiation for 5—20
minutes.
2. Program the chip. To program a UV-EPROM chip, place it in the ROM burner
(programmer). To burn code or data into EPROM, the ROM burner uses 12.5 volts or
higher, depending on the EPROM type. This voltage is referred to as Vpp in the UV-
EPROM data sheet.
3. Place the chip back into its socket on the system board.
As can be seen from the above steps, not only is there an EPROM programmer (burner),
but there is also separate EPROM erasure equipment.
The main problem, and indeed the major disadvantage of UV-EPROM, is that it cannot
be erased and programmed while it is in the system board. To provide a solution to this
problem, EEPROM was invented. ’
EEPROM has several advantages over EPROM, such as the fact that its method of
erasure is electrical and therefore instant. as opposed to the 20-minute erasure time
required for UV-EPROM.
In addition, in EEPROM one can select which byte to be erased, in contrast to UV-
EPROM, in which the entire contents of ROM are erased.
However, the main advantage of EEPROM is that one can program and erase its
contents while it is still in the system board. it does not require physical removal of the
131
memory chip from its socket. In other words, unlike UV-EPROM, EEPROM does not
require an external erasure and programming device.
To utilize EEPROM fully, the designer must incorporate the circuitry to program the
EEPROM into the system board. In general, the cost per bit for EEPROM is much
higher than for UV-EPROM.
Since the early 1990s, Flash EPROM has become a popular user-programmable memory
chip. and for good reasons.
1. First, the erasure of the entire contents takes less than a second, or one might say in a
flash, hence its name, Flash memory.
2. In addition, the erasure method is electrical, and for this reason, it is sometimes referred
to as Flash EEPROM. To avoid confusion, it is commonly called Flash memory.
The major difference between EEPROM and Flash memory is that when Flash
memory’s contents are erased, the entire device is erased, in contrast to EEPROM,
where one can erase a desired byte.
Although in many Flash memories recently made available the contents are divided into
blocks and the erasure can be done block by block, unlike EEPROM, Flash memory has
no byte erasure option.
Because Flash memory can be programmed while it is in its socket on the system board,
it is widely used to upgrade the BIOS ROM of the PC. Some designers believe that Flash
memory will replace the hard disk as a mass storage medium.
This would increase the performance of the computer tremendously since Flash memory
is semiconductor memory with access time in the range of 100 ns compared with disk
access time in the range of tens of milliseconds. For this to happen, Flash memory’s
program/erase cycles must become infinite, just like hard disks.
Program/erase cycle refers to the number of times that a chip can be erased and
reprogrammed before it becomes unusable. At this time, the program/erase cycle is
100,000 for Flash and EEPROM, 1000 for UV-EPROM, and infinite for RAM and disks.
5. Mask ROM
Mask ROM refers to a kind of ROM in which the contents are programmed by the IC
manufacturer. In other words, it is not a user-programmable ROM.
The term mask is used in IC fabrication. Since the process is costly, mask ROM is used when the
needed volume is high (hundreds of thousands) and it is absolutely certain that the contents will
not change.
132
It is common practice to use UV-EPROM or Flash for the development phase of a
project, and only afier the code/data have been finalized is the mask version of the
product ordered.
The main advantage of mask ROM is its cost, since it is significantly cheaper than other kinds of
ROM, but if an error is found in the data/code, the entire batch must be thrown away. It must be
noted that all ROM memories have 8 bits for data pins; therefore, the organization is x8.
• The latest technology computers use BIOS stored on a flash memory chip, called as flash BIOS.
• Modems, pen drives, small cards use flash ROM.
RAM Architecture:
1. SRAM(Static RAM)
2. DRAM(Dynamic RAM)
SRAM Memory Cell: Static memories(SRAM) are memories that consist of circuits capable of
retaining their state as long as power is on. Thus this type of memories is called volatile
memories. The below figure shows a cell diagram of SRAM. A latch is formed by two inverters
connected as shown in the figure. Two transistors T1 and T2 are used for connecting the latch
with two bit lines. The purpose of these transistors is to act as switches that can be opened or
closed under the control of the word line, which is controlled by the address decoder. When the
word line is at 0-level, the transistors are turned off and the latch remains its information. For
134
example, the cell is at state 1 if the logic value at point A is 1 and at point B is 0. This state is
retained as long as the word line is not activated.
For Read operation, the word line is activated by the address input to the address decoder. The
activated word line closes both the transistors (switches) T1 and T2. Then the bit values at points
A and B can transmit to their respective bit lines. The sense/write circuit at the end of the bit
lines sends the output to the processor.
For Write operation, the address provided to the decoder activates the word line to close both
the switches. Then the bit value that to be written into the cell is provided through the sense/write
circuit and the signals in bit lines are then stored in the cell.
DRAM Memory Cell: Though SRAM is very fast, but it is expensive because of its every cell
requires several transistors. Relatively less expensive RAM is DRAM, due to the use of one
transistor and one capacitor in each cell, as shown in the below figure., where C is the capacitor
and T is the transistor. Information is stored in a DRAM cell in the form of a charge on a
capacitor and this charge needs to be periodically recharged.
For storing information in this cell, transistor T is turned on and an appropriate voltage is applied
to the bit line. This causes a known amount of charge to be stored in the capacitor. After the
transistor is turned off, due to the property of the capacitor, it starts to discharge. Hence, the
information stored in the cell can be read correctly only if it is read before the charge on the
capacitors drops below some threshold value.
135
Difference between SRAM and DRAM
Below table lists some of the differences between SRAM and DRAM:
136