Intregrated Circuts
Intregrated Circuts
Course Code:
1
UNIT-IV
2
Contents:
Introduction to Integrated Circuits: Analog Integrated
circuits, Basics of OPAMP: study of parameters of IC
741, inverting and non-inverting amplifier, Digital
integrated circuits: Logic Gates, Boolean algebra,
Combinational logic Circuits, De-Morgan’s theorems,
SOP, POS, K- map, Half Adder, Full Adder,
flip-flops: RS flip flop, J-K flip flop, D flip flop, shift
registers (12L)
3
IC- Integrated circuit
•ICs have three key advantages over digital circuits built from
discrete components
•Small size
•ICs are much smaller, both transistors and wires are
shrunk to micrometer sizes, compared to the
centimeter scales of discrete components
•High speed
•Communication within a chip is faster than
communication between chips on a PCB (Printed
Circuit Board)
•Low power consumption
•Logic operations within a chip take much less power
4
Integrated Circuits
8
Digital Integrated Circuits
The integrated circuits that operate only at a few defined
levels instead of operating over all levels of signal
amplitude are called as Digital ICs.
9
Digital Integrated Circuits
10
Mixed Integrated Circuits
11
IC Packaging
Basic types of IC packages
14
Example of Analog IC
Operational Amplifier
15
Operational Amplifier: OP-AMP
•Linear Integrated Circuit
•Linear– Output signal varies according to the input signal
•Integrated – all components are fabricated on a single chip
17
Op-amp IC Pinout diagram
18
Block diagram of op-amp
19
Block Diagram of OP-AMP
20
Internal Diagram of Op-Amp
21
Stages of internal block diagram
•Input Stage - The input stage is a Dual input balanced output
differential amplifier. The two amplifiers are applied at
inverting or non inverting terminals. This stage provides most
of voltage gain of the op-amp and decides input resistance
value R1.
22
Stages of internal block diagram
•Level shifting stage - This is third stage in the block diagram of
op-amp. Due to direct coupling between first two stage the input of
level shifting stage is an amplifying system with non-zero DC level.
Level shifting stage is used to bring this DC level to a zero volt with
respect to ground.
23
Op Amps Input Modes
Single Ended Mode
Signal is applied to inverting terminal
24
Op Amps Input Modes
Differential Mode
Common Mode
25
Input Signal Modes
26
Ideal Op-amp and Practical Op-amp Circuit
27
Op-Amp Parameters
•1. Open-loop voltage gain, Go
•2. Input impedance, Zin(Ω)
•3. Output impedance, Zo(Ω)
•4. Input Offset current, Ios (nA)
•5. Input Bias current, IBIAS (nA)
•6. Input Offset voltage, Vos (mV)
•7. Slew rate, SR (V/μs)
•8. CMRR
•9. SVRR / PSRR
•10 Gain Bandwidth product
28
Op-Amp Parameters
Maximum Output Voltage Swing (VO(p-p))
29
Op-Amp Parameters
30
Op-Amp Parameters
Input offset voltage
•The ideal op-amp produces zero volts out for zero volts in.
•In a practical op-amp, however, a small dc voltage, VOUT(error),
appears at the output when no differential input voltage is
applied.
•Its primary cause is a slight mismatch of the base-emitter
voltages of the differential amplifier input stage of an op-amp.
•The input offset voltage, VOS, is the differential dc voltage
required between the inputs to force the output to zero volts.
•Typical values of input offset voltage are in the range of 2 mV
or less. In the ideal case, it is 0 V.
31
Op-Amp Parameters
Input bias current
•The input terminals of a bipolar differential amplifier are the
transistor bases and, therefore, the input currents are the base
currents.
•The input bias current is the dc current required by the inputs of
the amplifier to properly operate the first stage.
•By definition, the input bias current is the average of both input
currents and is calculated as follows:
32
Op-Amp Parameters
Input offset current
•Ideally, the two input bias currents are equal, and thus their
difference is zero.
•In a practical op-amp, however, the bias currents are not exactly
equal.
•The input offset current, IOS, is the difference of the input bias
currents, expressed as an absolute value.
IOS = | I1 – I2 |
Input Impedance
34
Op-Amp Parameters
Output Impedance
35
Op-Amp Parameters
Slew rate
36
Slew rate
37
Slew Rate Numerical
38
Op-Amp Parameters
SVRR (Supply Voltage Rejection Ratio) or
Power Supply Rejection Ratio (PSRR)
PSRR = ΔVos / ΔV
39
Op-Amp Parameters
Common Mode Rejection Ratio (CMRR)
•The output signal due to the common mode input voltage is zero,
but it is nonzero in a practical device.
•CMRR is the measure of the amplifier's ability to reject common
mode signals
•The output voltage is proportional to the difference between the
voltages applied to its two input terminals.
•When the two input voltages are equal, ideally the output voltage
should be zero.
•It is a metric used to quantify the ability of the device to reject
common-mode signals, i.e. those that appear simultaneously and
in-phase on both inputs.
40
Common Mode Rejection Ratio (CMRR)
•A signal applied to both input terminals of the op-amp is called
as common-mode signal. Usually it is an unwanted noise
voltage.
•CMRR is defined as the ratio of the open loop differential
voltage gain Aol to the common mode voltage gain Acm
41
CMRR Example
42
Op-Amp Parameters
43
Frequency Response of OP-AMP and Bandwidth
44
45
Op Amp Parameters
Parameter values for op-amps IDEAL PRACTICAL
8. CMRR INF 90 dB
47
What is negative feedback?
•Negative feedback is the most useful concepts in OPAMP
applications.
48
Negative Feedback / Closed Loop configuration
Negative feedback is illustrated in the Figure.
49
Why Use Negative Feedback?
• The inherent open-loop voltage gain of a typical op-amp is very
high (usually greater than 100,000).
• Therefore, an extremely small input voltage drives the op-amp
into its saturated output states.
• In fact, even the input offset voltage of the op-amp can drive it
into saturation.
• For example, assume Vin = 1 mV and Aol = 100,000. Then:
VinAol = (1 mV)(100,000) = 100 V
• Since the output level of an op-amp can never reach 100 V, it is
driven deep into saturation and the output is limited to its
maximum output levels, i. e. Vcc.
• With negative feedback, the closed loop voltage gain (Acl) can be
reduced and controlled so that the op-amp can function as a linear
amplifier.
• In addition to providing a controlled, stable voltage gain, negative
feedback also provides for control of the input and output
impedances and amplifier bandwidth.
50
Why Use Negative Feedback?
Positive Saturation
Negative Saturation
51
Effects of negative feedback on op-amp
performance
52
Closed-Loop Voltage Gain, Acl
53
Virtual short and Virtual ground
•
54
Virtual Ground
• If the non-inverting (+) terminal of OP-AMP is connected to ground, then
due to the "virtual short" existing between the two input terminals, the
inverting (-) terminal also be at ground potential. hence it is said to be as
"virtual ground".
• The input impedance (Ri) of an OP-AMP is ideally infinite. Hence current
"I" flowing from one input terminal to the other will be zero.
55
Inverting Amplifier
•An op-amp connected as an inverting amplifier with a
controlled amount of voltage gain is shown in Figure
•The input signal is applied through a series input resistor Ri to
the inverting (-) input.
•Also, the output is fed back through Rf to the same input. The
noninverting (+) input is grounded.
56
Inverting Amplifier
•Since there is no current at the inverting input, the current
through Ri and the current through Rf are equal, as shown in
Figure
Iin = If
58
The closed-loop gain is independent of the op-amp’s internal open-loop gain.
Numerical
59
Exercise
Acl = -12.5
60
Voltage-Follower
• The voltage-follower configuration is a special case of the noninverting
amplifier where all of the output voltage is fed back to the inverting input
by a straight connection, as shown in Figure.
• The straight feedback connection has a voltage gain of 1 (which means
there is no gain).
• Since B = 1 for a voltage-follower, the closed-loop voltage gain of the
voltage-follower is 1/B
Acl(VF) = 1
62
Noninverting Amplifier
64
Closed loop Gain
• Notice that the closed-loop voltage gain is not at all
dependent on the op-amp’s open-loop voltage gain under the
condition Aol B >> 1
• Example : Aol= 100000 , B<1
65
Numerical
Practice problem: Find Ri to get gain as 30 with the same value of Rf.
66
Exercise
Determine closed loop gain of each amplifier
67
Exercise
Find Rf Value for the each op amp.
68
Exercise
If signal voltage is 10mVrms, find the output voltage.
69
Exercise
In the circuit given below, if R2 = 1 K & R1= 10 K & input in 0.1V
what will be the output
70
Exercise
Calculate the input voltage for this circuit if Vo = –11 V.
71
Exercise
Solution:
i) Vi= 150 mV
Vo= (-15 × 150 mV) = -0.225V
ii) Vi= 1V
Vo= (-15 × 1V) = -15V
72
Advantages of Digital signals
(b) Non-periodic
Step – 3 Divide the quotient which is obtained from the step 2 and
the remainder obtained from this is the second least significant bit of
the binary number.
Step – 5 The last remainder obtained from the division is the most
significant bit of the binary number. Hence arrange the number from
most significant bit to the least significant bit (i.e., from bottom to
top).
Binary-to-Decimal Conversion
Remainder
•The four basic rules for adding binary digits (bits) are as
follows:
Ex. Addition of 11 + 1:
Answer: 100
Basic Logic Functions
• In the 1850s, the Irish logician and mathematician George Boole developed a
mathematical system for formulating logic statements with symbols so that problems can
be written and solved in a manner similar to ordinary algebra
• The term logic is applied to digital circuits used to implement logic functions.
• Three basic logic functions - NOT, AND, and OR
• Logic functions are indicated by standard symbols shown below
• The inputs are on the left of each symbol and the output is on the right.
• A circuit that performs a specified logic function (AND, OR) is called a logic gate.
• AND and OR gates can have any number of inputs.
N = 2n
Logic Expression for AND gate : X = A • B = AB
Truth
Table
Truth
Table
AND Gate
NOT Gate
NOR Gate
NAND Gate
XOR Gate
Digital Circuits
Basically, Digital Circuits are divided into two broad
categories
✔ Combinational circuits
• Combinational Circuit is the type of circuit in which
output depend upon the input present at that
particular instant.
✔ Sequential circuits
• Sequential circuit is the type of circuit where output at
any instant of time depend upon the current input as
well as on the previous input/output.
• It consists of memory element
Combinational Logic Circuit Representation
Combinational Logic Circuits
•Combinational logic circuits have no feedback, and any changes
to the signals being applied to their inputs will immediately
have an effect at the output.
•It has no “memory”, “timing” or “feedback loops”.
•The three main ways of specifying the function of a
combinational logic circuit are:
• Boolean Expression – This forms the algebraic expression
showing the operation of the logic circuit
• Truth Table – Shows all the output states in tabular form
for each possible combination of input variable
• Logic Diagram – This is a graphical representation of a
logic circuit
Combinational Logic Circuit
Boolean expression
A(B + C)
Truth Table
Logic Diagram
Boolean Algebra
Boolean algebra is the mathematics of digital logic
Commutative Laws :
Rule 1
Rule 2
Rule 3
Rule 4
Rule 5
Rule 6
Rule 7
Rule 8
Rule 9
Equivalence
Equivalence
De Morgan’s theorem
1. The complement of a product of variables is equal to the sum of the complements
of the variables.
OR
The complement of two or more ANDed variables is equivalent to the OR of the
complements of the individual variables.
A·B =A +
B
EQUAL
NAND = Bubbled OR
De Morgan’s Theorem 2
A + B = A · B
EQUAL
A + B= A + B = A · B
NOR gate as universal logic gate
Exercise
Exercise- Solution
= X .Y . Z
=W+X+Y+Z
=(A+B+C) + D = A B C + D
=A B C . D E F = (A + B + C) . ( D + E + F )
Standard Forms of Boolean Expressions
1. Sum-of-products form (SOP)
2. Product-of-sums form (POS)
SOP form:
2 level realization
SOP realization using only one type of gate(NAND)
F = (A + B + C) (A + B + C) (A + B + C) (A + B + C) (A + B + C)
Canonical SOP form and POS form
F = m1 + m3 + m5
F = Σm (1, 3, 5)
Shorthand form of canonical POS using maxterms
F = (A + B + C) (A + B + C) (A + B + C) (A + B + C) (A + B + C)
F = M0 M2 M4 M6 M7
F = Π M (0, 2, 4, 6, 7)
A B C D
0 0 0 0 0
Four Variables
0 0 0 1 1
0 0 1 0 2
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1 15
Complementary Property of minterms and
maxterms
Simplification of Boolean expression
•The required Boolean results are transferred from a truth
table onto a two-dimensional grid where, in Karnaugh maps,
the cells are ordered in Gray code,[6][4] and each cell position
represents one combination of input conditions, while each
cell value represents the corresponding output value.
Optimal groups of 1s or 0s are identified, which represent
the terms of a canonical form of the logic in the original
truth table.[7] These terms can be used to write a minimal
Boolean expression representing the required logic.
The Karnaugh Map( K map) Technique
minterms Maxterms
X
YZ
K-map examples (3 variable)
Solution is : F = yz + xz + xy
• YZ
• X
• 1 1 1 1
1 1 1 1
F=1
K-map examples (3 variable)
Example:
F = x’y’z + x’yz + x’yz’ + xy’z’ + xy’z + xyz
Solution:
The equation has six minterms. So, enter 1’s at appropriate positions in the
K-Map
• A redundant group is one whose all the 1’s have been consumed by other
groups. So, there is no need to form such group. Whenever you see that
all 1’s of a group have been exhausted, simply ignore that group.
xy’
y = x’z + xy’
K-map examples (3 variable)
1. F = Σm( 0, 1, 4, 5, 6 )
F = Y’ + X Z’
2. F = Σm( 1, 2, 5, 7 )
F = X’ Y Z’ + X Z + Y’ Z
K-map examples (4 variable)
K-map examples (4 variable)
F(W,X,Y,Z) = Σm(1,3,4,5,6,7,9,11,12,13,14,15)
Grouping 8 adjacent
binary ones
Simplified expression is F = x + z
K-map examples (4 variable)
F(A,B,C,D) = Σm(0,2,3,5,6,7,8,10,11,14,15)
F= + A’BD + B’D’
C
AB
A
CD 1 0 0 1
0 1 0 0
D
1 1 1 1
C
1 1 1 1
B
K-map examples (4 variable)
Simplify the expression
K map is given, Find the truth table, Boolean expression in
SOP and POS forms
F=
A’B’C’D’
+
A’BD
+
BCD+
ABD’
+
AB’CD’
Arithmetic Circuits: Half Adder
•A half-adder is an arithmetic circuit block that can be
used to add two 1 bit numbers. Such a circuit thus has
two inputs that represent the two bits to be added and
two outputs, with one producing the SUM output and
the other producing the CARRY.
•Possible input combinations and the corresponding
outputs are as given in the truth table.
•The Boolean expressions for the SUM and CARRY
outputs are given by the following equations.
Half Adder Truth Table , Kmap, Realization
Sum = S
Input Output
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Carry = C
Full Adder
S = A’B’C + A’BC’+AB’C’+ABC
= A’(B’C + BC’) + A(B’C’ + BC)
= A (B C) + A (B C )
=A B C
Carry = CR
S = ∑m(1,2,4,7)
C = ∑m(3,5,6,7) CR = AB + BC + AC
Full Adder
0
1
0
1
S C
Sequential Logic Circuit
• Sequential logic is a type of logic circuit whose output depends not only on the
present value of its input signals but on the sequence of past inputs, the input
history.
• Sequential logic is combinational logic with memory.
1 0 1
1
SR Flip-Flop
Block diagram
Race Around
SR Flip flop Operation
S.N. Condition Operation
Asynchronous inputs-
Active low
Pr= Preset
Cr= Clear
Truth Table of JK flip flop
Truth Table of J-K Flip-Flop
Fig: Block Diagram
D Flip-Flop
• If we use only middle two rows of SR or JK flip-flop, We obtain D Flip-flop.
Operation of D Flip-Flop
S. Condition Operation
No.
• In parallel fashion
10110
10110 10110
2. SIPO: Serial In, Parallel Out 4. PIPO: Parallel In, Parallel Out
10110
10110
1 clock cycle
10110
Input D Q D Q D Q Output
CLK Q Q Q
SIPO Flip-Flop Shift Register
•Serial In Parallel Out shift register has a single input and access
to all outputs
Input D Q D Q D Q
CLK Q Q Q
PIPO Flip-Flop Shift Register
•Parallel In Parallel Out register has the simplest configuration. It
represents a memory device.
D Q D Q D Q
CLK Q Q Q
•Mode of Operations
•SISO
•SIPO
•PISO
•PIPO
Additional links for more information:
•http://www.ee.surrey.ac.uk/Projects/CAL/digital-logic/gates
func/
•https://www.electronicshub.org/half-adder-and-full-adder-c
ircuits/
THANK YOU
208