Académique Documents
Professionnel Documents
Culture Documents
pg. 76
Analog and Digital Electronics
ISBN 9788184316902
All tights reserved with Tochn;col Pvbl;cot;ons. No po" of th;s book should be
reproduced in any fotm, Electronic, Mechonicot, Photocopy or ony informotion storoge ond
retrieval systern without prior pormis.sion in writing, from r~chnical Publications, Puno.
Publi$hed by :
6
- Technical PUblications PUne
# 1, """" Raldency, 412, Shanlwo<P.th, Punt · 41 1 030, Indio.
Printer:
N«t OT"'*'<m
s,,.., l G'l,Sni..t..! Rood.
Pw~ · -' 11 04 1
Chapter - 1 Soeclal Diodes {1·1)to{t ·44)
,~:~S\.'~~~J
I I bli ci .I ~1 (C i,11, j
- ---,==
ANALOG ELECTRONICS :
UNIT-I !Cbapr•r·tl
Special Diodes : LED, Varactor diode, Photo diode, Schottky diode, Tunnel diode; Thl!ir
characteristics and applications.
Transistors as a swjtrb
UNIT-ll ccupt<n • z, Jl
Frequenc;y Response : Amplifier transfer function, Low and high frequency response of
common emitter and common source amplifiers.
Feedback : General feedback structure; Properties of negative feedback; Scries·scrics,
Series-shunt, Shunt-series and shunt-shunt feedback amplifiers.
UNIT-lll (Chapt<r-4)
Basic principle of sinusoidal oscillator, R-c phase shift and Wein bridge oscillators, Tuned
osciliators· Collpits and Hartley; Crystal oscillator.
DIGITAl. ELECTRONICS :
Chll M "
2 1 Introduction .......................................................................................... 2- 1
2.1.1 Oefinltion of Cut-off Frequencies and Bandwidth .. . . .. • . . . . • . .. . • . .. . • . • •• . .• . 2 • 2
2 1 2 The Decibel llntt 2-3
Review O~.testiounsi>......~~-~~.~-~-~-~~~~-~~..c.....=~
~~ l I b I .I 1 I
3.3.4 Transfer Ratio or Gain .. •. •••.... .. ....•.••..•.. .•. ..•..••... .• . .• . . •.. .. 3- 5
ch11
4.3.11API > 1 . ...... . ....... ... ... . . . ... .... . ........... ................... 4-5
4.3.21A6 1= 1 . ... ..... . . .. . . ... . . . ... ... .. .. . . .. . .. . . . . . . . .. ...... . ..... . .. 4 - 6
4.3.3!AI3 1< 1 .. . ... . . . . . . . ..... ... ... . . . .. . . ... . .. . .... . . . . . . .......... .. . 4- 6
4.3.4 Starting Voltage .. . . . . .. . . . . . ... .... . .... . . . . . . . .. . .. . . . .. .. . . . . . .. . .. .. . 4 • 6
4 4 C lassificatjo o o f Oscilla tors . .. ............................... .4- 7
4.4.1 Based on the Output Waveform . . .. . . . . . .. . . . . . .. . .. . . . . .. . . . .. . ... . .. . . . . . 4- 7
4.42 Based on the Circuit Components . . . . . .. . .. . . . . . . . . . . . . . .. . . . . .. . . . .. .. . . .. . 4 - 7
4.4.3 Based on the Range of Operatlng Frequency . . .. . . . . . . . . . .. . . . .. ... . .. . . . . . .. . 4 - 7
4 4 4 Based oo • Whether Feedback js Used or Not 7 4-7
tiBEWit t:IF¥B
= = ='='
-,hll~ ~1 Jj
tl s
4.10 Colpitts Oscillator ..............................................................................4- 40
4.10.1 Transislorised Colpitts Oscilator . . . . . . . . . . . .. . . . . . . . . . . . . . . . ... . . . . . . .. . . . 4- 40
4.10.2 Derivation of frequency of Oscillations .. .. . ... . .. . . . .. . . . . . .. . ... . . .. . . . . .. 4 -41
4.10.3 Colpitts Oscillator using FET . .. . . .. . . . ... . .. .... . . .. . . ... . ... . . . .. .. .. . .. 4 - 44
chul M
5.4.11 to 16Demu!tiplexer .......... . ............. .......... .. .. ............. 5-30
5.4.2 1C 74 X154 (1 to 16 Demultiplexer) . .. . ...... . .. .. .. .... .. ........ .. .... .. . 5-30
, r<<:t II h
6.4.3 aocked SR Flip-Flop ...... . ..... . . . .. . ... . .. . . . ..... . .. .. .. ... .... ..... . 6 • 9
6.4.4 Oocked 0 Flip-Flop . .. . . .. . . . . . . . . . . .. .. .. . ... .. . .. . . .. . .. . . . . .. . . . . ... 6 - 11
t-lll 1
b ' .hi •
""
7.1 Introduction .......................................................................................... 7 - 1
- AUIGED
8.1 Introduction ............................... ... . . ................................................. 8 - 1
8.2 Asynchronous I Ripple Counters ......................................................... 8 - 2
8.2.1 Asynchronous/Ripple Down Counter .. . . . .. . . . . . . .. . . . . . • . . . .. • . .. .. . .. .. . . . 8 - 5
8.2.2 Asynchronous UpiDown Counter . .. . .. .. . . . .. . .. . .. . .. .. . .. . . .. . . . .. . .. . 8- 6
8.2.31C 7492193 (4-bit Ripple Down Counter) . . . .. •. . . . •. •. •. . .. . . . .. . .. .. . . •. .. •• 8- 9
,. *'
chul M
8.9.5 Design of Synchronous Decade Counter • • . • . . . . . .. .. . .. • • . . .. . .. • .. • . .. . • . • 8 - 60
8.9.6 Oes!gn ofUpiOown Synchronous Counter . .. . . .. . .... . . . . . . .. . . . . . . . . . . .. . .. 8 • 62
•
~1 tcr•
9.34.1 Binary Weighted Re$istor 0/A Converter... .. ............. .. .. . .... .. ..... . 9-104
9.34.21nverted R/2R ladder 0/A Converter . ••. . •••••. •. •••••• . . ••• ••.• .. •. •. . •. 9- 105
9.34.3 R/2R Ladder 0/A Converter .. . .... . . . . .......... . . ... .. .... . . . .. . .. . ... 9-107
9.35 Sources of Errors in PAC................ ... .. . . .. .. . . . 9 - 110
9.36 AID Converters ...............................................................................9- 111
9.36.1 Performance Pnmeters of ADC . .. . . . ..... . .. . ... . . ... . .. . . . . . . . . . . . .. . 9- 111
9.36.1.1 Resolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9- 112
9.36.1.2 Quantization Enor . . . . . . . . . . . . . . . . . . . . . . . . . . 9 - 112
9.36.1.3Con.,ion Time . . . . . .. . . . . . . . . . . . . . . . . . .. . 9- 112
9.37 Basic Conversion Techniques ........................................................9- 113
9.37.1 Single Slope ADC •. . . . •. .•.. •. . . •. .. . •. •.• . . . . . . . .... .. . . . . .. •. •.• . . . 9- 114
9.37.2 Dual Slope ADC . . . . .. . .. . .. . . ... . .. . .. . . .. . . . . . . . . . ... . . . . .. . . .. . .. . 9-115
9.37.3 Successive ApproxlmatlonADC . •. . •• , . ... . .. . . . . . . . . . . . . .. . .. . . . . . ... . . 9 - 118
9.37.4 Flash ADC . . . . . ... . . ... .. . .. . .. . . .. .. . . . ... . . . .. . .. . .. . . . . . . . . . ..... 9- 120
9.37.5 Comparison between Flash, Dual Slope and Successive Approximation Techniques 9- 122
9.37.6 Counter Type ADC . . .. . . .. . .. .. . . . . . . .. . . ..... . . . .... . .. . . . . .. . ... . .. 9- 123
9.37.7 Della Modulation (OM)....... . . .. . . . ..... .. ... . . ........ . . . . . . .. . .. . . .. 9 - 124
9.37.8 Adaptive Delta Modulation (ADM) .. ... .. . .. . . .. . . . . . .. . . . .. . . . . .. . . . . . . .. 9-126
Review Oue~tions : ..... ... ... .......................9 - 128
b f ,hll J dtil I
10.4.5 Temperature Stabi~ty Factor {Sr) . . .. ... ..... . ... .. . , . . .•••..•••. ...•. .• .• 10 • 5
10.4.6 Ripple Rejection . . . .. . .. ...... . .. . . . . . . . .. . ... . . . . . . ... .... . . . . . .. . .. . 10- 6
dB •
10.15.1 Connection Diagram of LM 317 Regulator ...•. •• . . ..••. .. . .• .• •• •.. .. •.•. 10- 31
e was
Memories
11.1 Introduction
We have seen registers, which arc a type of storage devices; in fact, a register devices
used to store large amount of digitnl data.
Memories arc made up of registers. Each register in the memory is one storage
location. Each location is identified by an address. The number of storage locations can
vary from a few in some memories to hundreds of thousand in others. Each location can
accommodate one or more bits. Generally, the total number of bits that a memory can
store is its capacity. Most of the types the capacity is specified intcrms of bytes (group of
eight-bits).
Each register consists of storage elements (flip-flops or capacitors in semiconductor
memories and magnetic domain in magnetic storage), each of which stores one-bit of data.
A storage clement is called a cell.
The data stored in a memory by a process called writing and nrc . retrieved from the
memory by a process called reading. Fig. 11.1 illustrates in a very simplified way the
concept of write, read, address and storage capacity for a generalized memory.
Storage cells
Address
0
,. /! Address
0
1
2 1 0 0 0 - 1000 2 1 0 0 0 - Reading data
WriUngdata
3 3
4 4
5 5
:::::, =:::::,
n-~EFF! J
(a) Write operation (b) Read operation
Fig. 11.1
(11 - 1)
Analog and Digital Eleclronlcs 11.2 Memories
As shown in the Fig. 11.1 a memory unit stores binary information in groups of bits
called words. A word in memory is an entity of bits that moves in and out of storage as a
unit. A word having group of 8-bits is called a byte. Most computer memories use words
that are multiples of eight-bits in length. Thus, a 16-bit word contains two bytes, and a
32-bit wo~d is made of 4 bytes.
The communication between a memory and its environment is achieved through data
lines, address selection lines, and control lines that specify the direction of transfer. The
Fig. 11.2 shows the block diagram of memory unit The n data lines provide the
information to be stored in memory and the k address lines specify the particular word
chosen among the many available. The two control inputs specify the direction transfer.
n data lines
k address
lines
Read
•Write -
Fig. 11.2 Block diagram of memory unit
11.2 Classification of Memories
Fig 11.3 shows the classificati~n of semiconductor memories.
Memory
crutzl M tcr"
Analog and Digital Electronics 11-3 Memories
RAM memory cells are organized in the form of nn array, in which each cell iS capable
of storing one-bit of information. The Fig. 11.4 shows the row and the column organization
of a 8192-bit memory chip.
:s 62 ' f-<1-•Oata•n
.....
~ 61
!
:.
.........
OS
..
2
2
1
f-t>-
_....!!,
cxyeeb127Y- \L Memo<ycono
127 126 125 124 ~ 2 1 0
I
7 to 128
I I
~) Line decode r
I I I
I
Fig. 11.-' Row and column organization for 8192-blt static RAM
The chip has 13 address lines. The first seven address lines are connected to the
column decoder to indicate one of the 128 columns. The remaining 6 address lines are
connected to the row decoder to indicate one of 64 rows. Wher~ the decoded row and
column cross, they select the desired individual memory cell. Simple arithmetic shows that
there arc 64xl28 =8192. crossings. Therefore. this memory has 8192 memory cells.
The Fig. 11.5 shows the organization of 16 x 8 (16 words of 8-bit each) memory. Here,
the orga.nization il; shown with detail connections of address lines. data lines and control
lines. The data input and the data output of each sense/write circuit are connected to a
single bidirectional data line that can be connected to the datn bu.~ of a computer. Two
control lines, R/W and CS, arc provided in addition to address and data lines. The R/W
(Read/Write) ~put specifics the required operation and the CS input selccq a ~ven chip
in a multichlp memory system.
Nowadays the memory chips with much larger number of memory cells than the
examples shown in Fig. 11.5 are commercially available. We have used small examples to
avoid the complexity of figure. The larger memory has same organization that we have
discussed. But the only difference is the number of data and address lines used in the
memory organization. For example, a 8 Mbit chip may have a 1 M x 8 organization. in
which 20 address and 8 data input/output lines are used.
Analog and Digital Electronics 11 · 4
o, b',
AddtUS Memory
do. - . cells
0.18 inpul/output i ne s : b1
ch·, I ~I lc d
Amlog and Digital Electronics 11 • 8 Memories
disabled by controlling R/W line. When R/W line is LOW, input buffer is enabled and
output buffer is disabled. When R/W line is HIGH, input buffer is disabled and output
buffer is enabled. With this ba.~c information let us see the read, write and refresh
operations.
RJW _____,
RJW _ _,__ _.....
Low Low
(a) Writing a 1 Into the memory cell (b) WriUng a o Into the memory cell
Fig. 11.1 0
11.3.3.2 Read Operation
To read data from the cell, the R/W line is made HIGH; which enables output buffer
and disables input buffer. Then ROW line is made HIGH. It turns transistor ON and
connects the capacitor to the Dotrr line through output buffer. This is illustrated in
Fig. 11.10 (c).
crutzl M tcr"
', Analog and Digital Electronics 11 -10 Memories
2. Its access time is less hence fastar memories lis access time is greater lhan static RAMs.
3. Static RAM consisla of number of Ffip-llops. Dynamic RAM stores the data as a charge on the
Each flip-flop stores one-bit. capacitor. It consists of MOSFET and the
capadtor for each cell.
In above dl'ICUSsion we have seen memory organization for ROM and static RAM. In
thi.~ organization, data l~ organized as a single bit data word. However, in most memory
ICs the data is organi.7.cd as cight·bit data word. In these ICs eight memory cells arc
connected in parallel and enabled at a time to read or write eight-bit data word. The eight
memory cclls connected in parallel forms a register and memory is nothing but an array of
registers.
Read Cycle
Fig. 11.11 shows the read cycle for static RAM The timing diagram is drawn on the
basis of different liming paramelers. These are as follows :
Address;___ _ _.*
-1~.~-
~foe
Valid address
1
Da1a Previous valid data
i 1!'~---t----------~
jt,>u_-~ to£ f-.
$opply
cutrent
'cc:=Jt',S8
Fig. 11.11 Read cycle timing wavefonna
.. twc !
Address
_____ _,)tCI ~'----
t,.w ,!
: . I
----,_.......~ tcw-! /r+-1---
------------~
. ~ *
t- ...s ==j..,_ -=l'- f-
~ =f~~---~-------
-1. tow--i I
Data _ _ _ _ _ _ _ _ _ _ _ _ _,X Data valid X...,____
Fig. 11.12 Write cycle timing wavefonns
Write Cycle
Fig. 11.12 shows the write cycle for static RAM. The timing diagram is drawn on the
basis of different timing parameters. These are as follows :
Solution :
Do
o,
07 04 03 Do
1103 l!Oo J/03 110 0
Ao
1 K >< 4
Ao 1 Kx4
Ao ~
Ro Ro
Road
Fig. 11.15
11 .5.2 Expanding Memory Capacity
The memory capacity can be increased by connecting two o~ more memory ICs in
parallel. This means that the address, data and control lines are connected in parallel to all
memory ICs. Each IC is selected by the separate chip select signal ~cneratcd by the
address decoder. This is illustrated by the following example. ·
Vee
Data output
01 0 1 0 1 0 0 0 1 51
10 0 1 0 0 0 1 1 0 o46
11 1 1 0 1 0 1 0 1 DS
2:4
Decoder
o,
Fig. 11.18 Simple four half-byte ROM
In integrated circuits, a thin metalliz.ed layer connects the gates of some transistors to
the row select lines. The gate connections of MOS transistors depend on the data to be
stored in the ROM. Therefore, according to the user truth table, manufacturer can deposit
!hin layer of metal to connect gates of the transi.~tors. Once the pattern/mask is decided, it
is possible to make thousands of such ROMs. Such ROMs arc called Mask programmed
ROMs. MaSked .ROMs arc used in microprocessor based toys, TV games, home computers
and other such high volume consumer products.
MOSFET
swilth
Fuse
~--- . Output bil
Fig. 11.20 shows four byte PROM. It has diodes in every bit position; therefore, the
output is initially aU Os. Each diode, however · has a fusible link in series with it. By
addressing bit and applying proper current pulse al the corresponding output, we can
blow out the fuse, storing logic 1 at that bit position. The fuse uses material like nichrome
and polycrystalline. For blowing the fuse it is necessary to pass around 20 to 50 mA of
current for period 5 to 20 ~s. The blowing of fuses according to the truth table is called
programming of ROM. The user can program PROMs with Special PROM programmer.
The PROM programmer selectively burns the fuses according to the bit pattern to be
stored. This process is also known as burning of PROM. The PROMs are one time
programmable. Once programmed, the information stored is permanent.
•Vee
o, 02 03 o.
Fig. 11.20 Four byte PROM
11.6.2 EPROM (Erasable Programmable Read Only Memory)
Erasable programmable ROMs use
Quartz window rpos circuitry. They store 1s and 0s as
f' packet of charge in a buried layer of
the IC chip. EPROMs can be
programmed by the user with a 'special
EPROM programmer. The important
point is that we can erase the stored
data in the EPROMs by exposing the
chip to ultraviolet light through its
quartz window for 15 to 20 minutes, as
Fig. 11.21 EPROM shown in the Fig. 11.21.
I '
Analog and Digital Electronics 11.20 Memories
It is m>t possible to erase selective information, when erased the entire information is
lost. The chip can be reprogrammed. This memory is ideally suitable for product
development, experimental projects and college laboratories, since this chip can be reused
many times, over.
EPROM Programming :
When crasc.'CI each cell in the EPROM contains 1. Data is introduced by sclectivcly
programming Os into the desi~ed bit locations. Although only Os will be programmed, both
ls and Os can be presented in the data.
During programming address and data arc applied to address and data pin.q of the
EPROM. When the address and data are stable, program pulse is applied to the program
input of U\c EPROM. The program pulse dmation is around SO ms and its amplitude
depends on EPROM JC. It is typically 11.5 V to 25 V. In EPROM., it is possible to program
any location at any time • either individually, sequentially or at random.
ch·, 1 ~~ 1c d
Analog and Digital Electronics 11.21 Memoriet
I
Transverse
D~eclion
parallel across the width of
the tape, perpendicular to
the direction of motion. A
separate read/write head is
I
provided for each bit
position on the tape, so that
2
all bits of characters can be
read or written in parallel.
One of the character bit is
Fig. 11.23 Magnetic recorded tape used as a parity bit Thi.• is
Ulustratcd in Fig. 11.23.
Data on the tape arc organized in the form of rtcerds separated by gaps, as shown in
the Fig. 11.24. A set of rclated records constitutes a frl~. A file tfUlrlc is used to identify the
beginning of the file. The file mark is a special smgle or multiple character record, usually
preceded by a gap longer than the intcrrccord gap. The record following the file mark
IT I I It[}.
-~~~~~Fi~ole=g=a=p~'(~~R~~~~:;,*I;,~~==~•~J'~~R=~=-~;:::,~J•R~I
gap gap
Fig. 11.24 Organization of data on magnetic tape
Analog,and Digital Electronics 8-34 Counters.
0 L L L L
L L L H
2 L L H L
3 L L H H
4 L H L L
5 H L H
6 L H H L
7 L H H H
8 H L L L
9 H L L H
0 L L
L L L H
L L H
~log and Digital Electronics 8 · 39 Countera r
0 L L L L
L L L H
L L H L
3 L L H H
4 L H L l
5 H L L L
6 H L L H
7 H L H L
8 H L H H
9 H H L L
Table 8.9
CP
Oa
0 0 0 0 0
Oc
Oo
,-;--, 0 0 0 0
OA
0 0 0 0 0 I 1 1 L
Fig. 8.56 Waveforms
Solution : IC 7490 is a decade counter. When two such ICs are cascaded, it becomes a
divide-by-tOO counter. To get a divide-by-25 counter, the counter is reset as soon as it
becomes 0010 0101 . The diagram is shown in Fig. 8.57.
Clock
Fig. 6.57
1.1 Introduction
A general pui'J'OS(' diode has one p-n junction. But number of other types of diodes
having one or more than one p· n junctions arc available. Such diodes have different
characteristics, different methods of construction and special areas of application. These
diodes are called special diodes. Some of such special diodes arc photodiode; tunnel
diode, light emitting d iode, Schottky diode etc. The dctalls about the construction,
charactcri~cs and applications of such special diodes arc discussed in this chapter.
(1 • 1)
Analog and Digital Electronics 1-2 S pecial Diodes
special material which release this energy in the fonn of photons which emit the light
energy. Hence such diodes are called light emitting diodes.
This process is called electroluminescence.
The Fig. 1.2 shows the basic principle of this process. The energy released in the fonn
of light depends on the energy correspondir.g to the forbbiden gap . nus detennines the
wavelength of the emitted light. The wavelength determines the colour of the light and
also determines whether the light is visible or invisible (infrared). The various impurities
are added during the doping process to control the wavelength and colour of the emitted
light. For normal silicon diode, the forbidden energy gap is 1.1 eV and wavelength of the
emitted light energy corresponds to that of infrared light spectrum hence in normal diodes
the light is not visible. The infrared light is not visible.
. [EEmittedenergy
Fortlidden ~intheform Recombination
gap of light
of electron
and hole
Yalenco Hole
R v
band
(a) Process of elec tro l um i nescen ce (b) LED forward bi ased
Anode Cathode
Fig. 1.4
~1· ·"
Analog and Digital Electronics 1·4 Special Diodes
IsRs + Vo
Vs-Vo
~
When forward biased, the voltage drop across conducting LED is about 2 to 3 V which
is considerably greater than that across a normal silicon or germanium diode. The current
range of commercially available LEOs is 10 to 80 mA. Unless and otherwise specified,
while analyzing the LED circuits, th<' drop across LED is considered as V0 = 2 V.
The reverse breakdown voltage of LED is much less than the normal diode, which is
about 3 V to 10 V.
Direction
LED is a directional light
perpendicular source. It emits the light in a
to the _ __,I'F--+1'-'iii'':tM parlic:ular way which has a typical
emitting
surface radiation pattern. Maximum
c.mltted power is perpendicular to
the emitting surface. The Fig. 1.7
shows a radiation pattern for a
typical LED, which shows that
most of the energy is emitted
within 20• of the direction of
maximum light.
Some LEDs usc plastic lenses
to spread the light for a greater
angle to increase the visibility. The
coloured lenses are also used to
enhance the colour.
Fig. 1.7 Radiation pattern of a typical LED
Analog and Digital Electronics 1-6 Special Diodes
H ••
d2
Ractiant intensity
d Distance from LED source in em
The electrical characteristics, maximum ratings and optical characteristics of a typical
MLED81 are given in the following tables.
ct•'r I M ri1
Analog and Digital Electronics 1·7 Special Diodes
Maximum ratings :
Capacitance (f • 1 MHz) c - 25 - pF
Similarly the data sheet includes some graphical characteristics. The Fig. 1.9 shows
spatial radiation pattern and intensity versus forward current graphs for MLED 81.
10 100 1000
1,.fooward current (rnA)
(b) lntenalty ven~us forward current
~~ '.II
Analog and Digital Electronics 1 ·9 Special Diodes
The Fig. 1.10 shows other two graphs for MLED 81 nvailable in its datasheet.
~
8, l.OHNTttmt
~
l!
j ..~r-mnrm
>...
~ 1.2
c
!!- 1
-g
-~ /
~~ 0.8
~ e
~ g_ 0.6
4
-· 0.
0.2
2. The brightness of light emitted by LED depends on the current flowing through
LED. Hence the brightness of light can be smoothly controlled by varying the
current. This makes possible to operate LED displays under different ambient
lighting conditions.
3. LEOs arc fast operating devices. They can be turned on and off in time less than
J microsecond.
4. The LEOs arc light in weight.
5. The LEOs are available in various colo\US.
6. The LEOs have long life.
7. The LEOs are cheap and readily available.
8. The LEOs are easy to interface with various other electronic circuits.
9. Some LEOs radiate infrared light which is invisible but still useful in some
applications like burglar alarm systems.
10. LEOs are useful for the applications which are subjected to frequent on-off cycling.
The fluorescent lamps bum out more quicldy when cycled.
11. LEOs can be easily dimmed using pulse width modulation or by controlling the
forward current.
12. LEOs are shock resistant and difficult to damage due to external shocks.
13. LEOs do not contain toxic material like mercury which is used in fluorescent
lamps.
2. It .......
melerials like gallium, araenide It UMS materials Uke sRicon and germenlwn•
phosphide and gaiSum phosphide.
3. The drop across forward biased LED Ia The drop across fa.ward biased diode Ia
about 2 V. about 0.7v.
mucn lela t11an that of LED.
cl•'r I M ri1
Analog and Digital Electronics 1 -11 Spec;ial Diodes
4. Re~e breakdown voltage is low, about Reverse breakdown vo~age is high, about
3 v !o 10 v. 50 V and more.
5. Needs large power for the operation. Needs less power for the operation.
7.
4-
Symbol;. Symbol is
~
8. The applications .....optocouplers. s6ven The applications are rectifiers. c~ppers,
segment displays, alpha numeric displays. dampers, voltage multipliers and many other
electronic circuits.
2.2kQ
Power
+15 V
supply
Fig. 1.11
Solution : Assume the drop across the LED as 2 V.
.. Yo 2V
From Fig. 1.11, Rs 2.2 kQ and v5 "' 15 v
V - V0 15-2
.. Is -5 - " ' --- = 5.91 mA
Rs 2.2xt0 3
Analog and Digital Electronics 1 - 12 Special Diodes
:EJ:
a rectangular fashion and are l<ibeled A through G. Each
LED is called a segment because it forms a part of the
digit being displayed. An additional LED is used for the
indication o.f a decimal point (DP).
By forward biasing different LEOs we can display
D
OP • the digits 0 through 9. Fo r example, to display a zero,
the LEOs A, B, C, D, E and F are forward biased. To
Fig. 1.12 Se ven s egment light up a 5, we need to forward bias segments A, F, G,
indicator C, D. Thus in a seven segment display depending upon
the digit to be displayed, the particular set of LEOs is
forward biased. The various digits &om 0 to 9 which can be displayed using seven
segment display arc shown in the Fig. 1.13.
:8:8:.8·8:·EJ:
0
(0) (1)
0
(2)
0
(3) (4)
F8 F8 8BFCIBFBAB
0
cE
0
c c el::Jc
0 0
c
~ ~ m ~ ~
In this type, all anodes of LEOs arc connected together and common point is
connected to + V cc which is positive supply voltage. A current limiting resistor is required
to be connected between each LED and ground. The cormection is shown in the
Fig. 1.14.
Common
•Vee anode
Current R
l;mltlnQ
resiStor
A B c D E F G DP
(Doc:imal point)
In this type, all cathodes of LEOs are connected together and common point is
connected to the ground. A current limiting resistor is connected between e.1ch LED and
the supply + Vcc· The anodes of the respective segments arc to be connected to + Vcc for
the required operation of LEOs. The connection of common cathode type display is shown
in the Fig. 1.15.
DP
Current A
limiting
B c D E F G ( Decimal point)
resistor
'
~:LED
: segments
'L-----
Common
calllode
crutzl M tcr"
Analog and Digital Electronics 1 -1.4
+SV +5V
: +SV
~--~JV~~~~~~:
~~--~-v~r-~4k~~:'
4line BC0to7 I -·-- II
BCD decoder ~------------~~vvv-~-k~~:
input driver I
I
------~~vv~~~~~:
I
'----T--JIM"-'-+-I<CI<'4 : Common
:anode
7 Line
output
' ---+--.NW......+-KJ.::~ ~:!ni
• ? :segment
J
.---!--MN'--+~-l_I<_:J_~"_'-_~_ display
Decimal point
ct•'o M ri1
Ana~_ an_ii_Digital Electronics 1 -15 Special Diodes
circuit is used which is a BCD to 7 segment dcroder. It converts 4 BCD lines into 7 lines.
A typieal LED seven segment display with its driver circuit is shown in the Fig. 1.17. The
common anode type display is used.
Notice that, an additional LF.D corresponding to the decimal point is also provided in
the seven segment display, which again has a current limiting series resi~tancc. Here a
positive voltage is applied to the common anode. Therefore selected LEOs are illuminated
by making their respective cathodes low (0 V).
~
~
where t = Permittivity of semiconductor
Fig. 1.19
In practice, special type of diodes are manufactured which shows the transition
capad!ance prope.rty more predominantly as compared to the normal diodes. Such diodes
are called varactor diodes, varicap , VVC ( voltage variable capacitance), or tuning diodes.
The RR is the reverse resistance which is very la.rge Jrlljle Rs is the geometric
resistance of diode which is very small. The inductance Ls indicates that there is a high
frequency limit associated with the usc of varactor diodes.
VI )unction potential
VR Magnitude of reverse bias voltage
At the zero bias condition the capacitance is C(O}. lnterms of C(O), the transition
capacitance is given by,
..---- - - - - ,
Capacitance tolerance range : The capacitance values are based on 10% tolerand
range. For example, varactor diode 1N 5144 she ·s a variation in CT from 19.8 pF to
=
24.2 pF, at VR 4 V d.c. So it can show any value oetween 19.8 pF and 24.2 pF at VR 4 =
v d ..:.
Tuning Ratio : This is also called capacitance ratio as it is a ratio of the varactor diode
capacitance at a minimum reverse voltage to the maximum reverse voltage. This ratio is
=
not related to the tolerance range. For example, If CT of 1N5148 diode at VR 4V (min) is
=
divided by CT of lN 5148 diode at VR 60 V(max), the ratio gives value as 3.4, called
=
tuning raf. This is indicated as C4 /Cro in the table l.l.Thus Cr at VR 4V is 3.2 times
higher th~.t the CT at VR 60 V.=
Now C4 47 pF at VR = 4V for lN 5148 varactor diode, and its tuning ratio
(TR) is 3.2.
TR
.s_ _32 _ 47pF
Cw - . - Cw
14.6875 pF
So CT values from 14.6875 pF to 47 pF for this diode, as VR is changed from 60V to
4V. This gives flexibility to select the diode in the various tuning circuits. The tuning ratio
depends on abruptness of the p-n junction. Many hyper-abrupt varactor diodes give TR
value, ranging between 10 to 15.
Quality factor (Q) : The quality factor of a reactive element either capacitor or
inductor is the ratio of energy stored and returned by the element to the energy dissipated
in the device resistance. It is also called figure of merlt Thus Q = 300 means capacity of
an element to store and return the energy is 300 times more than the energy lost in its
resistance. Thus higher Q values is desirable. For varactor diodes, the Q value increases
with increase in reverse v oltage.
Temperature coefficient ITO : This indicates dependence of Cr on temperature.
Varactor diodes have positive TC i.e. Cr value increases by a small amount as the
temperature in~. While the quality factor has negative temperature coefficient i.e. Q
decreases with increase in temperature.
The table 1.2 gives maximum ratings for lN 5139 - lN 5148 varactor diodes.
f = _1_
1
2!Wi.C
As varactor diode L~ connected in parallel, the resultant capacitance becomes C1 +C2 •
Hence the resonance frequency becomes,
f = 1
' 2rr.jt(C1 +C2 )
Analog and Digital Electronics 1 -20 Special Diodes.·
II.. Example 1.2 : Delmnine the tl'llnsilion capacitance of 11 di!Justd junclion varactor diode
111 =
a reverse biJzs voltage of 4.2 V if C(O) 80 pF and junction potential of 0.7 V. Also
CJJiculalt constant K for diode.
Solution : The transition capacitance is given by,
41.82 xto-12 K
[4.2+0.7] 113
tllil h chu I M
Analog and Digital Electronics 1 - 21 Special Diodes
1.5 Photodlode
The photodiode is a semiconductor p-n junction device whose region o~ operation is
limited to the reverse biased region. The Fig. 1.22 (a) shows the symbol of photodiode
while the Fig. 1.22 (b) shows the working principle of photodiode.
Light
n
-
~ Electron-hole
II pair
This shows that the photodiode can be used as a variable resistance device controlled
by light intensity. It is also called photoconductive device. The response of photodiode is
very fast hence change in resistance from high to low or otherwise is also very fast Hence
it can be used in variety of applications.
r.h ,.
Analog and Digital Electronics 1-23 Special Diodes
llls=KI..L
(a} (bl
Fig. 1.24 Small signal models for photodlode
diode is heavily reversed biased, and hence that the diode may be rcplac«i by its reverse
resistance R. This model also includes the effect of barrier capacitance C and the ohmic
resistance r. The typical values for barrier capacitance, reverse resistance and ohmic
resistance arc of the order of
C • 10 pF, R • SOMn, r - too n
In both the figures, the symbol L represents light flux in lumens, and K is a
proportionality constant in the range 10 to 50 rnA/lumen.
1.5.7 Advantages
The advantages of photodiode arc,
1. Can be used as variable resistance device.
2. Highly sensitive to the light.
3. The speed of operation is very high. The switching of current and hence the
resistance value from high to low or otherwise is very fast.
1.5.8 Disadvantages
The various disadvantages of photodiode are,
1. The dark current lAis temperature dependent.
2. The overall photodiode characteristics are temperature dependent hence have poor
temperature stability.
3. The current and change in current is in the range of 11A which may not be
sufficient to drive other circuits. Hence amplification is necessary.
tllil h chu I M
Analog and Digital Electronics 1 -25 Special Diodes
The Fig. 1.27 shows a photodiode used to count the items on a conveyor belt. As each
item passes, the light beam is broken. Thus reverse current I~ drops to the dark current
level. 'This activates the counting mechanism and the counter is increased by one.
Objects
to be CQtJnled - ~ -Movement of object
Conveyor bell
ct•'r I M ri1
Analog and Digital Electronics 1-26 Special Diodes
FreewheeUng diode
semiconductor material immediately flow into the adjoining metal. This is because the
kinetic energy level of the majority carriers i.e. electrons in the n region is higher than the
electrons in the metal. Hence a heavy flow of majority carriers is established from n region
to the metal. Due to high kinetic energy the injected carriers are called hot carriers.
In conventional diode, the minority carriers get injected into adjoining region while iu
Schottky diode, majority carriers get injected into metal.
Key Point Thus in a conventional diode the conduction is due to mitwrity aml majority
carriers while in Schottky diode the condudion is totally by majority carriers.
The heavy flow of electrons into the metal creates a region near the junction s:~rfacc,
depleted of carriers in the silicon material. This is similar to depletion region in a
conventional diode. The additional carriers in the metal establish a negative wall in the
metal at the boundary bctw~'en the two materials. This results in further current. So there
exists a carrier free region and a negative wall at the surface of the metal.
ct•"r I M ri1
Analog and Digital Electronics 1 -28 Special Diodes
Schol!lcy diodo
'o Di~
cutren1
I
I
1 p.n
/ ..,_ ;unction
/
. I
I diode
,'
,,--------
1
""'
junction 1,'
.
diode :
I
I
1.6.2 Applications
Due to fast switc!Ung characteristics, the Schottky diodes arc very useful for high
frequency applications such as digital computers, high speed 'ITL, radar systems, mixers,
detectors in communication equipments and analog to digital converters.
1.6.3 Comparison between Schottky Diode and Conventional Diode
I I
Characteristics ) v
) v
r
I
0 ,7V
I 0.2SV
:
.. I
Analog and Digital Electronics 1 - 29 Special Diodes
Table 1.4
a) Static characterls1lcs
1j ~ 25' C If= 1 A 1
b) Dynamic characteristics
cl•'t I M ri1
Analog and Digital Electronics 1. 31 Special Diodos
For small forward voltages (upto 50 m V for germanium) the resistance remains small,
of the order of 5 !l and current increases. The current attains a peak value lp
corresponding to the voltage VP which is about 600 mV. The lp can vary from few micro
amperes to several hundred amperes.
At the peak point, the slope dl/ dV of the c:hao:acteristics becomes zero. If now the
forward voltage is increased further, beyond VP• then the current starts decreasing rather
than increasing. Thus the dynamic conductance dl/ dV becomes negative. Hence the
dynamic resistance dV I dl is negative and it shows negative resistance c:haradcristics. This
negative resistance continues till a voltage Vv called as valley voltage.
At the valley voltage Vv• the current is r_. and slope dl I dV becomes again zero.
After V•• if the voltage is increased, the current again increases. Thus resistance again
becomes positive and remains positive thereafter.
At the socalled peak forward voltage V1, the current again reaches the value t..-qual to
peak current lj,·
The value of !=urrent between lp and Iv can be obtained with three different voltage
values. For the value of current between 1p and Iy, the characteristics is triple values. This
multivalucd feature makes the 1\JJ\nel diode useful in the pulse and digital circuits.
The circuit symbol of a 1\JJ\nel diode is shown in the Fig. 1.32 (a) while its equivalent
circuit in the negative resistance region is shown in the Fig. 1.32 (b).
·R,
(-15211)
(a) Symbol (b) Equivaltnt clreult In nt gattvo rtststancc reg~n
1.7.2 Construction
Fig. 1.34
... {1)
So when IT= 0, V-r = V while when VT = 0, IT=~· Using these two points a load line
can be obtained on V-T characteristics of tunnel diode as shown in the Fig. 1.35.
The load tine intersects the chard~teristics at the three points A, B and C. The load line
position and the slope is completely dependent on the network elements and tunnel diode
characteristics.
The points A and C are stable operating points as located in positive resistance region
of characte:istics. While point B is in the negative resistance region and hence unstable
operating point.
An important point regarding stable points A and C is that if there is slight change in
the network conditions there will not be any change in the circuit behaviour and position
of Q point for the circuit If supply voltage increases then point C will move up on the
,,
v, v
curve as voltage across diode Vr will increase. When voltage decreases to original value,
point C will regain its original position back.
But if operating point is defined at point B in the unstable region and if supply
voltage slightly increases then correspondingly Vr increases but lr decreases due to
negative resistance characteristics. This further reduces Vr and process continues till point
shifts into stable region at point C. If supply voltage slightly decreases, point B moves up
to achieve stable point A.
Thus point B can be defined as an operating point using load line concept but in
practice it will get stabilized at the locations A or C.
This concept is used in it negative resistance oscillator using a tunnel diode.
The network elements are so designed to obtain the operating Q point at position '0'
as shown in the Fig. 1.37. This is the intersection point of load line with Tunnel diode
characteristics. The design is such that the load line intersects the characteristics only at
one point which is the Q point. A stable operating point is not at all defined.
-
-----------------------------
B
0
(V.,.I,.}
----~---------+~------------------------------~·~
Fig. 1.37
Initially when switch is closed, the supply voltage starts increasing and at V=VP' the
current attains maximum value IP. Now for V>VP' according to the characteristics current
must decrease.
Sut V = Ir R + Ir (- Rr) ... (2)
This is a stable region where current can further dccn~asc rather than increasing. But from
point D onwa.rds, tunnel current can again increase to iy· Thus the process repeats on its
own again and again, never settling at an operating point defined in an unstable region of
characteristics. The result is the oscillator circuit with the help of a fixed supply and
nega tive resistance characteristics of a Tunnel diode.
The voltage and current waveforms are shown in the Fig. 1.38 (a) and (b).
v,
B 8
v,
v,
(a) Voltage wavefe'>f'm
I ;,•••-••-•••••
'
Vo ---:--------- 1 '
6-----~--------------
'
I '
I
I'
'I'
I
I (b) Cur,..nt wawfonn
I
I
I
I'
I
1"' '
---'---------C,O -------'-- ------ - -- ......
Thus the square type waveform can be obtained using tunnel diode. The oscillator
waveforms are not necessarily exactly symmetrical i.e. T1 :t T2. This is because portions DA
and BC are not identical.
Expression of Time Period T
tllil h chu I M
Analog and Digital Electronics 1 -36 Special Diodes
The linear piecewise approximation of tunnel diode is shown in the Fig. 1.39.
Now Vy " V' - V"' V~- V -1, ~ ... (4)
... (5)
Tz "'
L [V-IvRy]
Ry In V- JP Ry ... (6)
Slope
' ''
----;--r-..
I I
---------'-"-.t-"""'c..,(
-----L----~·~------·------~~--~------~~----~~
v;, V0 vv v' v~ vF
-·-
I,R:
Fig. 1.39
The total period is given by,
T T 1 + T2
crutzl
Analog a!ld Digital Electronics 1 ·37 Spec:ial Diodes
(a) (b)
1. Impurity concentration is high about 1 part in Impurity concenl!"atlon is tow about 1 part In
103 atoms. taB atoms.
2. Depletion region width is about 5 mierons. The width of depletion region Ia high compared
which is 1/100"' the width of typical p-n to the tunnel diode.
junction diode.
3. The carrier velocities are very high at low The canler velocities are low at low forward
forward bias, hence can punch through the bias, hence can not penetrate the depletion
depleijon region. region.
Analog and Digital Electronics 1 - 39 Special Diodes
4. The V-1 characteristics shows the negative The V-1 characteriatico does not show the
resistance region. negative resistance region.
wv
I Negattw
J
I
I
I
I
I
I
I v
I
I v l
6. The materials used for constructlon are The sHicon Is most popularly used.
118f'Tl8nium or galfium arsenide.
7. The symbol Is, The symbol is,
-@-- --@--
8. The swllclling time is very low of the order ot The switching time Is high.
nano to picoseconds.
9. Used for high frequency oscillators, high speed Used in rectifiers and other general purpose
applications such as computers, pulse and appi cations.
digital circuits and switching networks.
Table 1.6
M I ri
Analog and Digital Electronics 1-40 Special Diodes
·>5V
+5V +5V
+5V f 1
l!1n o-.JVIN\,--lH L..r'
ov
ov_J L ov
In this circuit, when input is HIGH, ba..<e current flows and it is greater than lf' hence
transistor is opemted in satmation. In satmation condition, voltage between collector and
emitter, vCE(..t) is typically 0.2 V to 0.3 V and hence transistor acts as closed switch. This
is illustrated in Fig. 1.43.
Vee= +5 v Vee= +5 v
ct··, I M ri1
Analog and Digital Electronics Special Diodes
Vcc~•SV
_j Base current
L
. .
j 0.1 lc ;10%l
: t, . ":
.• 'oFF •.
crutzt M tcr"
Analog and Digital Electronics 1 ·42
Similarly when input ~-urrent 18 is switched OFF, lc does not go to zero level
immediately. It goes to zero level after turn off time, which is the sum of storage time t ,
and fall time t f as shown in the Fig. 1.45. The fall time is specified as the time required
for lc to go from 90 % to 10 % of its maximum level.
Delay Time
It is the time that elapses the application of the input pulse and current to rise to 10
percent of it maximum (saturation) value lc sat e Vcc/Rc. 1be delay time exists due to
following reasons.
• When the driving signal is applied to the transistor input, a nonzero time is
required to charge up the emitter junction transition capacitance so that the
transistor may be brought from rut off to the active region.
• Even when the transistor has been brought to the point where minority carriers
have begun to cross the emitter junction into the base, a time interval is required
before these carriers can cross the base region to the collector junction and be
recorded as collector currenl
• Finally some time is required for the collector current to rise to 10 percent of its
maximum.
ct•"r M ri1
Analog and Digital Electronics 1 ·43 Special Dlodss
Review Questions
l . Yl'lult i.s LED ? Which maU:rial is us.d for LED ?
2. Explain the bluic open~ting principl~ of LED.
3. Explain the construction of LED in brief.
4. State lht advantages and diSIUiwntagts of LED.
5. Compare LED and llllTinll1 p-n junction diodt.
6. SkLtch the output cluzradtri.stics of LED and comment on it.
7. Why LEOs 11re prtiftmd in displays ?
8. If a LED is forward biased for 11 supply of 10 V with a stries rtsi.stanct of 680 n, calculatr. lht
LED cum~nt. (Am. : 11.8 mAl
000
Analog and Digital Electronics 2·2 Frequency Response
of interest is quite large, from 20 Hz to 20 kHz. Hence to show clearly the voltage gain
over such a wide frcqu''JlCY range, the frequency of input signal is plotted on x-axis using
log scale (instead of usual linear scale). However the output voltage or voltage gain of the
amplifier is plotted on y-axis with linear scale.
It is seen from the frequency response curve of an audio frequency amplifier that the
gain of the amplifier remains fairly constant in the mid-frequency range, whlle the gain
varies with frequency in low and high frequency regions of the curve. The frequency
respon~ is nearly ideal over a wide range of mid-frequency. Only at low and high
frequency ends, the gain deviates from Ideal characteristics. The decrease in voltage gain
with frequency is caUcd roll-off.
VO<Iagt
g.oln --f f--
Mid kOQuency region
1\,(m<J) · ········~-,...;...-----....:...._
0.101 A,(m<l)
:-id~!
Bandwidth of the amplifier is defined as the difference between f 2 and f1; i.e.
Bandwidth of the amplifier = f2 - f1. The frequency f2 lies in high frcquen,-y region, while
the fr<'quency f 1 lies in low frequency region. These two frequencies are also referred to as
half·power frequencies since gain or output voltage drops to 70.7 % of maximum value
and this represents a power level of one-half the power at the reference frequency in
mid·fR"<juency region. Although this drop from maximum value to 70.7 % may seem to be
large drop. the change is not easily noticeable to the lislcner, so th,lt an amplifier may be
~-unsldcrcd to have a flat response from 11 to f'l'
ct•"r I M ri1
Analog and Digital Elill:tronies 2-3 Frequency Response
,, . . Example 2.1 : The voltage ampliftr 11115 voltage gain = 200 at cut-off frequencies. Find
the ma.nmum voltage gain.
= 37 dB
Now if we a.-sign maximum gain (40 dB) as a 0 dB then gain at f1 and f2 becomes
-3 dB (40- 37), as shown in the Fig. 2.3.
Ay (d9)
MHI freqc.ncy r.>nge I
0 ~ ~------~~------------~
- 3d8
0 r,
It shows that the voltage gain at f 1 and f2 is Jess than 3 dB of the maximum voltage
gain. Due to this, frequencies f1 and f2 are also called 3 dB frequencies.
=
At f 1 and f2 power gain drops by 3 dB (power gain dB 10 log (0.5) =- 3 dB). For aD
frequencies within the bandwidth (BW = f2 -f1), amplltier power gain Is at least hall of the
maximum power gain. Thus this bandwidth is also referred to as 3 dB bandwidth.
A.,(dB)
I I
-3 --------~--------~------
1 I
I I
I I
I I
I I
I I
I I
-20 ---------+--------
1
I
I
I
I
I
I
I
-Ay(dB)
Below Midband :
Above Midband :
Analog and Digital Electronics 2-6 Frequency R...,-
1- Example 2.2 : For an amplifier, midband gain = 100 and lowu cut-off Jrtqutncy is
1 kHz. Find tht gain of an ~tmplifier at Jrtqutncy =20 Hz.
Solution : We know that,
Amid
· Below midband : A
-/t+ (fJff) 2
A 100 £2
~~+c~r
I~ Example 2.3 : For an 11mplijier, 3-dB gain is 200 and higher cut-off frequtncy is 20kHz.
f"ind tht gain of an amplifier at frequtncy = 100 kHz.
Solution:
We know that 3 dB gain X J2 =200 X J2 =282.84
and
Amid
Above midband : A
-/t + (f/ (2 )2
282 84
A · - - = 115.47
3 2
l+( 100xt0 )
20xto 3
(•)BJT (b)JFET
Fig. 2.5 At low frequencies emitter (source In case of JFET) Is not at ac ground
·~ c,;.
(o)BJT
E
'~ c"'
(b)JFET
s
::. .f C> •
In aVcu
I
I
+c(~)
I
I
.,;:.
(I) (b)
ct•'o I M ri1
Analog and Digital Electronics 2- 9 Frequency Response
Input RC Networtt
Fig. 2.9 shows input RC network formed by
C1 and the input impedance of the amplifier.
Note that Vout shown in the Fig. 2.10 is the
output voltage of the network.
Applying voltage divider theorem we can
write
Flg. 2.9
rc 2nR;., c1
where R;, R1 !1 R2 llhie
I
.. f,
2n(R1 11R 2 11h;.,)C1
If the resistance of input source is taken into account the above equation becomes
I
f, = 2n(R,+R;n)C1
The phase angle in an in;ut RC circuit is expressed as 0 =tan -I(~~ }
Output RC Network
Fig. 2.10 shows output RC network formed by C2 , resistance looking in at the
collector and the load resistance.
c,
[[],
(a) Current source {b) Cunent source replaced by voltage oource
Fig. 2.10
Bypass Network
Fig. 2.11 (b) shows RC network formed by the emitter bypass capacitor CE and the
resistance looking in at the emitter.
+Vee
h. • R
Here, ~!! is the resistance looking in at the emitter. It is derived as follows
where RTII • R1 IIR2 II R,. It is the theven.in's equivalent resistance looking from the
base of the transistor towards the input as shown in the Fig. 2.11 (a).
Tile critical frequency for the bypass network is
I
or
2Jt[( hie+~RTH )'RE JcE
We have seen th;lt each network has a critical frequency. It is not necessary that all
these frequencies should be equal. The network which has higher critical frequency than
other two networks is called dominant network. The dominant network determines the
frequency at which the overall gain of the amplifier begin to drop at -20 dB/decade. This
is illustrated in the following example.
, . . Example 2.4 : Determine the low frtijuency response of the amplifier circuit shown in
Fig. 2.12.
+10V
I.
Fig. 2.12
I ; 919.8 Hz
2 Jt[ 680 + t03t7)x 0.1 x to· 6
b) Output RC network
130.45 Hz
c) Bypass RC network
Ay(dB)
""<"""'
ch·, I ~I lc d
Analog and Digital Electronics 2-13 Frequency Response
Input RC Networtt
'·m~-,
Fig. 2.15 shows the input RC network
formed by cl and the input impedance of the
amplifier.
The lower critical frequency of this network
can be given as
Fig. 1..15 Input RC networtt
where
The vnluc of Rin (gato) can be determined from the data sheet as follows :
Rin(gato) = ~~~~
where less is the gate reverse current
ch·, I ~I lc d
Analog and Digital Electronics 2 - 14 Frequency Response
The 1-"'ET amplifier circuit shown in Fig. 2.14 has two critical frequencies for two
networks, and network having higher critical frequency is called dominant network.
1\
22K
Fig. 2.1 7
Solution : It is necessary to analyze each network to determine the critical frequency of
the amplifier
a) Input RC Network
21tRin c1
where Rc IIRin(gole) = Rc ul,~l
8
100MOII - -- = 100 MO 11100 MO= SO MO
80x1o- 9
1
2Jtx50x 106 x 0.001 x to- 6
=3.18 Hz
b) Output RC Network
1
= = 6.577 Hz
21t(Ro+RL )C2 21t(2.2K+22K)lx10- 6
The above analysis shows that the output network produces dominant lower critical
frequency. Fig. 2.18 shows the frequency response of the given amplifier.
A,(dB)
A.t...,l
~20 dBidOcade
+Vee
The internal capacitance Cbc can be splitted into Cin Cmillcrl and Cout Cmitlcr) as shown
in the Fig. 2.21.
lnpu< RC Network
c., II.
(""'"')
It is given as,
fc (input)
The phase shift in high frequency input RC circu.it is O=tan - 1 ( Rsll R~~:2ll hie)
Output RC Network
(a) Output network with current source (b) Output network with voltage source
Fig. 2.24
The critical frequency can be given as
1 1
fc (output) = .,
2nRO c.,ut(millcr) 2n(Rc II R,)Cbc
We have seen that both the networks have critical frequencies. It is not necessary that
these frequencies should be equal The network which has lower critical frequency than
other network i.~ called dominant network.
1-+ Example 2.6 Ddamine tire high frequency response of tire amplifier circllil shown in
Fig. 2.25.
10K
Fig. 2.25
ch·r 1 ~I lc d
Analog and Digital Electronics 2- 18 Frequency Response
where h;0 ll R1 11 R 2
and Rc IIRL
-h 1• <Rc II RL l - 100(2.21< II10K)
h;. II
Rd(]02 = 1100 II 68 K 1122 K
-100(1.81<) =-1744
1.032 I< .
Negative sign indicates 180° phase shift between input and output.
Cln (miller) Cbc ( A v + 1 ) =4 pF (174.4 + 1) = 0.7016 nF
Cbc (Av +1 ) 4pF(174.4+1)
Cout(millor) = ( Av ) " (174.4) = 4 pF
~(~puQ = 1
2n(R• II Rl II R2 II h;c )(Cbc+Cin(millcr))
1
2n( 680 II 68 I<) II 22 K 111100 )( 20 pF+ 0.7016 nF)
1
= 537947 Hz = 537.947 kHz
2 n( 410)(0.7216x 10-9)
f, (output)
I 1
2n(Rc II RL)Cout(milkr) = 2n(2.2KU10K)x4pF
22.1 MHz
We have calculated both the critical frequencies :
Ay{dB)
Ave...•> 1------,..... -~
0 I(HzJ
where c in ( mi ller)
cout (miller)
FET data sheets do not directly provide values for Cgs and Cgd . The data sheet
normlll-1y provides values for input capacitance, C;.,. and the reverse transfer capacitance
c ...,. Fiom C;55 and C,._, the values for Cgd and C85 can be calculated as follows :
c&d c.,.
Cgs C iss - Crss
Fig. 2.29 shows that there are two RC networks which affect the high frequency
response of the amplifier. These are :
1) Input RC network and
2) Output RC network
Input RC Network
Fig. 2.30 Input RC network The critical frequency for the reduced
input RC network is given as
1
fc (inpul) = 2nR. Cr
1
or fc = 2 11 R , I Cgs + cin (miller) I
The phase shift in high frequency input
RC network is O= tan · (
1
x:~ }
Fig. 2.31 Reduced Input RC network
Analog and Digital Electronics 2·21 Frequency Response
Output RC Network
Fig. 2.32 shows output RC network.
R0 11RL
fE}~-~ CJY~•o
(a) Output netwotl< with current source (b) Ouljlut network with voltage source
Fig. 2.32
We have seen that both the networks have critical frequencies. It is not necessary that
these frequencies should be equal. The netw9rk which has lower critical frequency than
other network is called dominant network.
''* Example 2. 7 : Detennine tile lligll frequency resporrse of lite ilmplifier circuit siJoum in
Fig. 2.33.
+20V
f\=22K
Fig. 2.33
Solution ; Before calculating critical frequencies it is necessary to calculate mid frequency
gain of the given amplifier circuit. This Is required to calculate Cin ( miller) and Cout (milk:r l'
A v " - gm Ro
Here, R0 should be replaced by R0 II RL.
Analog and Digital Electronics 2 · 22 Frequency Response
2.166 pF
1
=53MHz
2Ttx lOOx ( 30 pF]
(<(output)
21t(R 0 II RL )xCout(millcr) = 2Tt(2.2K U22K)x2.166pF
36.74 MHz
We have calculated both the critical frequencies :
a) fc (input) = 53 MHz b) fc (output) = 36.74 MHz.
The above analysis shows that the output network produces the dominant higher
critical frequency. High frequency response of the given amplifier is shown in Fig. 2.34.
A.,(dB)
A,,, ..) 1 - - - -.......
0 f{H:)
chlich ch 1 M nd
Analog and Digital Electronics 2-23 Frequency Response
Review Questions
1. What do you unders!Jmd by frtqumcy responst of the amplifier ? How is it pltrtW 7
2. What do you ml'tlll by bandwidth of the amplifier ?
3. Explain the ustfulness of ckcibtl unit.
4. Explain the significance of octaves and decadts.
5. Gi~ the expressi<ms for voltage gain of the amplifitr below and above midband.
6. What is the tjfect of coupling capacitors on the bandwidth of the amplifier?
7. What is the tjftet of bypass capacitors on the bandtvidtl• of the amplifier?
8. What is the tjfect of inlmull transistor capacitances on the bandwidth of the amplifier ?
9. For the circuit shown in Fig. 2.35 determine the low frequmcy response.
+12V
Fig. 2.35
10. Dettrmine the fqw frequency usponse of the amplifitr circuit sh<JWn in Fig. 2.36.
+20V
Fig. 2.36
M "'
Analog and Digital Electronics 2-24 Frequency Response
11. Dr•w IIU! high frequency equivalent cirruil for tiU! typiCAl RC coupled commom .,.;tter amplifje¥.
12. Dttmni'"' the high frtqumcy response of the amplifier cirruit shown in Fig. 2.37.
+12V
Fig. 2.37
13. Dtttrmint the high frtqurocy response of the amplifrer circuit shown in Fig. 2.38.
Fig. 2.38
14. Why tht gain of IIU! •mplifter d«Ttt.~ in tht low frequtn<y and high frtquency range l
000
Feedback Amplifiers
3.1 Introduction
Feedback plays an important role in almost all electronic circuits. It is almost
invariably used in the amplifier to improve its performance and to make it more ideal. In
the process of feedback, a part of output is sampled and fed back to the input of the
amplifier. Therefore, at input we have two signals : Input signal and part of the output
which is fed back to the input. Both these signals may be in phase or out of phase. When
input signal and part of output signal are in phase, the feedback is called positive
feedback. On the other hand, when they are in out of phase, the feedback is called
negative feedback. Use of positive feedback results in oscillations and hence not used in
amplifiers.
In this chapter, we introduce the concept of feedback and show how to modify the
characteristics of an amplifier by combining a portion or part of the output signal with the
input signal.
~»
M ,.,,
Analog and Digital Electronics 3·2 Feedback Amplifiers
If the amplifier input resistance R i is large compared with the source resistance R,
then Y; ~ v,. If the external load resistance RL is large compared with the output resistance
R0 of the amplifier, then V0 ~ Av Y; z Av v,. Such amplifier circuit provides a voltage
output proportional to the voltage input and the proportionality factor does not depend on
the magnitudes of the source and load resistances. Hence, this amplifier is called voluge
amplifier. An ideal voltage amplifier must have infinite input resistance R; and zero
output resistance R0 • For practical voltage amplifier we must haveR; >> R, and RL >> R0 •
M ,.,,
Analog and Digital Electronics 3-3 Feedback Amplifiers
Fig. 3.4
r.htJ ~I
Analog and Digital Electronics 3-4 Feedback Amplifien~
Fig. 3.6
3.3.2 Feedback Network
It may consists of resistors, capacitors and inductors. Most often it is simply a resistive
configuration. It provides reduced portion of the output as feedback signal to the input
mixer network. It is given as,
Vr = llVo
where ll is a feedback factor or feedback ratio. The symbol ll used in feedback circuits
represents feedback factor which always lies between 0 and 1. It is totally different from ll
symbol used to represent current gain in common emitter amplifier, which is greater
than 1.
Source Shunt·mixer
....::-.
Basic Basic
amplifier ampfifier
A A
v
= RM = Transresistance ... (4)
I;-
The four quantities Av, A., GM and RM are referred to as a transfer gain of the basic
amplifier without feedback and use of only symbol A represent ar>y one of these
quantities.
The transfer gain with feeqback is represented by the symbol Ar· It is defined as the
ratio of the output signal to the input signal of the amplifier configuration shown in
Fig. 3.5. Hence A r is used to represent any one of the following four ratios :
v. =. Avr =Voltage gain with feedback ... (5)
v,
'·
I, A 1r =Current gain with feedback . .. (6)
Io
v. OMr = Transconductance with feedback .•. (7)
r.llll ~I
Analog and Digital Electronics 3·6 Feedback Amplifiers
.Fig. 3.8 shows the schematic representation of a feedback connection around a basic
amplifier. Recall that, when part of output signal and input signal are in out of phase the
feedback is called negative feedback. The schematic diagram shown in Fig. 3.8 represents
negative feedback because the feedback signal is fed back to the input of the amplifier out
of phase with input signal of the amplifier.
Comparator
l<t = llXo
Feedback signal
chli ch ch
Analog and Digital Electronics 3·7 Feedback Amplifiers
X; x, + <- x,J
where Xr c Feedback voltage or feedback current
Analog and Digital Electronics 3-8 Feedback Amplifiers
A X
·:A= x"
I
A
I+ (Xr f X 0 )(X 0 /X;)
A
Ar = l+IIA
... (1)
... (2)
ct··, I M ri1
Analog and Digital Electronics 3 -9 Feedbaek Amplifiers
---x-
dA
(1 + JlA)2
I
Ar
~ x(1+~A) A
since Ar = l+JlA
{l+JlA)2 AI
dA I
... (3)
A(l+JlA)
where
Looking at equation (3) we can say that change in the gain with feedback is less than
the change in gain without feedback by factor (I+ JlA). The fractional change in
amplification with feedback divided by the fractional change without feedback is caUed the
sensitivity of the transfer gain (1 I (1 + Jl A). The reciprocal of the sensitivity is called the
d csc:nsitivity D (1 + JlA).
Therefore, stability of the amplifier increases with increase in dcsensitivity.
U Jl A » 1, then
A A
l+~A=JlA
1
... (4)
ji
and the gain is dependant only on the feedback network.
Since A represents either Av, Gw A 1 or RM and Ar represents the corresponding
transfer gains with feedback either Avu GMf' A 1r or RMf the equation signifies that :
For voltage series feedback
I
Avr = ji Voltage gain is stabilized. ... (5)
A low
... (10)
Now we analyze the effect of negative feedback on lower cut-off and upper cut-off
frequency of the amplifier.
Lo-r cut-off frequency
We know that, the relation between gain at low frequency and gain at mid frequency,
is given as,
Amid
l-{ ~~ ) ·· A =l-{ f~low )
... (12)
1-f::)
1+~[~]
1-f~ )
Amid
(1 + A..udll>-ff)
crutzl M IC!"
Analog and Digital Electronics 3-11 Feedback Amplifiers
l
Amid
Aflow = [
1- j l+~>d~
Amid
A fmid = l+A .
mtd
p
A f low 1
... (13)
AI mid
1
-fY )
where
f
Lower cut-off frequency with feedback= fu = - AL.
1 + nud
p· ... (14)
From equation (14), we can say that lower cut-off frequency with feedback is less than
lower cut-off frequency without feedback by factor (1 + A 011id ll). Therefore, by introducing
negative feedback low frequency response of the amplifier is improved.
Upper Cut-off Frequency
We know that, the relation between gain at high frequency and gain at mid frequency
Is given as,
A high 1
Amid
1-{r:)
Amid
.. A high ... (15)
1-{~)
Substituting value of Atusn In equation (11) we get,
Amid Amid
[ A 1 -{~) l
1 + ll ____!!!!!!__
Analog and Digital Electronics 3-12 Feedback Amplifiers
A, !Ugh
AI mid Amid
Ar mid= l +A midll
1-j[(l +A : idjl)fH J
At mid
1-j(~)
Ill
where upper cut-off frequency with feedback is given as,
•. • (16)
From equation (16), we can say that upper cut-off frequency with feedback' is greater
than upper · cut-off frequency without feedback by factor (I + Amid jl). Therefore, by
introducing negative feedback high frequency response of the amplifier is improved.
Bandwidth
The bandwidth of the amplifier is given as,
It is very clear that (f11r - fu) > (f11 - fL) and hence bandwidth of amplifier with
feedback is greater than bandwidth of amplifier without feedback, as shown in Pig. 3.10.
. Gain
Amid
0.707 Amid .................................... .
A,....,
0.707 Atml<l
L:-'----3---------:----:-l~- Frequency
ll IH
J---BW-f
t------BW1-----~
Hence, the input resistance with feedback R;r = fv is decreased for the d.rcult shown
•
in Fig. 3.12. Now we see the effect of negative feedback on input resistance in different
topologies (ways) of introducing negative feedback and obtain Rif quantitatively.
Voltage series feedback
The voltage series feedback topology shown in Fig. 3.13 with amplifier is replaced by
Thevcnin's model. Here, Av represents the open circuit voltage gain taking R, into
account since throughout the discussion of feedback amplifiers we will consider R, to be
part of the amplifier and we will drop the subscript on the transfer gain and input
resistance {Av instead of Avs and R; 1 instead of R;rs ).
Fig. 3.13
Look at Fig. 3.13 the input resistance with feedback is given ~
v,
R;r = I. ... (18)
I
v, - I; R; - Vr 0
v, I; R; + Vr
I; R; + PV0 ••. (19)
The output voltage V 0 is given as,
A v I 1 R; a Ay V1 ... (20)
V0 AvRL
where Av
"; = Ro + RL
Key Point: Av rqn-esents the qpen circuit ooltilgt gain without feedback and Av is the
voltilgt gain without feedback taking the load RL into account. 1
,
Analog and Digital Electronics 3 -1 5 Feedback Amplifiers
.. v. R; +~Av R;
T,"
.. R;r R; (I+~Av) ... (21)
Fig. 3.14
Looking at Fig. 3.14 the Input resistance with feedback is given as,
R ;r = -
v.
I;
V. - I; R; - V1 0
v. ... (22)
Io
where ~ v,
GmRo
~ = Ro+RL
Key Point: Gm reprt.smls the upen circuit trtmSCtmdud<mce without feedback and GM is
the trrmsconductance without feedback taking the load RL into account.
Analog and Digital Elec1ronics 3 -16 Feedback Amplifiers
v. 11 R 1 +~ GM Vj
11 R; +~ GM 11 R1 V; = l;~
.. v. R; ( I +~GM)
!;"
.. v.
Ru T = R; (I + ~GM) ... (24)
I
T
7--~--==~ll
Rot Rot
Fig. 3.15
15 11 + l1
A 1 11 ... (26)
A 1R0
where A,
Ro+RL
Key Point: A 1 represmts the open circuit cu"mt gain without feedback and A 1 is the
cu"mt gain without feedback taking the load RL into account.
Substituting value of 10 from equation (26) Into equation (25) we get,
15 11 +~A 1 1 1
I; (I+~A 1 )
~.1 • ri
Analog and Digital Electronics 3-17 Feedback Amplifiers
R;r =~
1,
- V;
I; (I+ J3 A1 )
•.. (27)
The voltage shunt feedback topology is shown in Fig. 3.16 with amplifier input circuit
is represented by Norton's equivalent circuit and output circuit represented by Thevenin's
equivalent.
Fig. 3.16
I; +J3V0 .. . (28)
where
Key Point: R, represe1Jis tire ltpCI drcuit transresistance without Jtedlxuk and RM is tire
trtinsresistllnce without feet!back tiVcing tire lood RL into aa:ount.
J
Substituting value of V0 from equation (29) into equation (28) we get,
J. I; +)3 RM I;
I; (I+ J3 RM)
Analog and Digital Electronics 3 ·18 Feedback Ampllftera
v
R; =f. ... (30)
I
Output resistance
The negative feedback which samples the output voltage, regardless of how this
output signal is returned to the input, tends to decrease the output resistance, as shown in
the Fig. 3.17.
Flg. 3.17
On the other hand, the negative feedback which samples the output current, regardless
of how this output signal is returned to the input, tends to increase the output resistance,
as shown in the Fig. 3.18.
Fig. 3.18
Now, we see the effect of negative feedback on output resistance in different
topologies (ways) of introducing negative feedback and obtain R 0 r quantitatively.
Voltage series feedback
In this topology, the output resistance can be measured by shorting the input source
v, = 0 and looking into the output terminals with RL disconnected, as shown in the
Fig. 3.19.
Analog and Digital Electronics 3·19 Feedback Amplifiers
CJ} f:Jl]l
V1= I)V
Fig. 3.19
f\,= ¥ R;,
A.\';+IR 0 - V 0
... (31)
V(I+PA.}
.?..0
v
1
... (33)
Key Point: Hu~ Av is the opnr loop ooltage gain wit/rout taking Rt. in account.
R~r = R r II R1.
0
Analog and Digital Electronics 3-20 Feedback Amplifiers
.. • (34)
Key Point : Here Av is the ope11 loop voltage gain taking RL into account.
In this topology, the output resistance can be measured by ·shorting the input source
V • = 0 and looking into the output terminals with RL disconnected, as shown in the 1
Fig. 3.20.
Fig. 3.20
l = V - R 011 1;
-,~ .•. (35)
R~r =
~
PR m RL
1+- - -
R. +RL
.. . (38)
Th
'•".:......r:..JJR,
Fig. 3.21
Applying the KCL to the output node we get,
v ••. (39)
I • Ro -A; I;
J(I+A 1 IJ)
v
Ro
v
Ror = T= Ro (l+PA ; ) ... (41)
Key Point: Here, A; is the open loop cumnt gain wiJhout tllking RL in account.
R r X RL
0
R~r = R0 r II RL = R+it
or L
R Rt. nd A; R
R + RL a A 1 =---
' _
R
0
---
0
0
R + Rt. 0
0
.. . (42)
Key Point: Here, A 1 is the open loop cu"ent gain tllking RL in account.
Current series feedback
In this topology the output resistance can be measured by shorting the input source
v, = 0 and looking into the output terminals with RL disconnected, as shown in the
Fig. 3.22.
Fig. 3.22
Applying KO. to the output node we get,
... (43)
I ( 1 + Gm Jl)
. .. (45)
Key Point: Here, Gm is flu: open loop transconductance witlrout IRking RL in account.
R~(l+J}G,.J •. R' _ R0 RL d Gm R 0
... (46)
l+J}GM . o-Ro+RL an GM = Ro+RL
Key Point: Note that here, G M is the open loop CUITent gain taking RL in account.
Table 3.1 summarizes the effect of negative feedback on amplilier.
Parameter Voltage aeries Current M ri.. Current ahunt Volblge ahunt
Gain with A G A R
A..r • I+WA. Gflll·~o-: Air • l+ dAi Rmr • t+JJ'lmf
leedbacl<
~ decreases clecreaaea decreases
SIUility Improws Improves Improves Improves
-
relj)OnM
- · distoltion
Input reslslance Rlf • R;(l+illlvl R;r • R;(l+jlG") R R-
increases ~
Rlf=~ Rir * I +P'RM
deaeases decreales
Oulput resistance R - R. R.r = R0 (l .. Jl G,.) R0 r = R0 (1 +JIA;) R
.r-I+~A;, Rof u I +J)oR•
increueo ~
~ deere-.
Table 3.1
ell·, I ~I lc d
Analog and Digital Electronics 3·24 Feedback Amplifiers
• • Example 3.1 : An amplifier has mid-blind IIOIIAge gain (Avmid) of 1000 with fl ; 50 Hz
and fH ; SO kHz, if 5 %feedback is applied then calculale gain f L and f 11 wiJh ftedNck.
•
Solution: Given J}=
1 ~ = 0.05, fL =50, f 11 =50 kHz and Avmid = 1000
Avmid 1000
Avmid = I+PAvmid 1+0.05xt000
19.6
b)
fl so
1 +~Av mid 1 + 0.05x 1000
0.98 Hz
1- 2.55 MHz
Example 3.2 : An amplifier with open loop voltAge gain of 1000 delivers 10 W of power
output at 10% second Jumnonic distortimt when input is 10 mV. If 4Q dB negative ftedback
is applied and output power is to rmuzin at 10 W, determine required input signal V, and
S«tmd luzrmonic distortimt with feedNck.
Solution : Given A v = 1000, Output power = 10 W,
..
02 =
l+~A 1 +JlA 100 .
0.1%
, Example 3.3 : An amplifin will• ~n l011p gain tif A = 2000 ± 150 is trotJilabk. It is v
ru!cdry to lurot the amplifier wlwse wlwgt gain Nries by not 11f01't than ± 0.2 %.
Calculau Jl and AI'
.. l+ JlA 37.5
.. JlA = 36.5
36.5
.. ll 0= 2oOO =0.01825
1.825 ~.
A 2000
b) A,
1+~1.\ 1 + 0.01825 X 200()
53.33
3.6 Advantages and Disadvantages of Negative Feedback
•
The introduction of negative feedback in the amplifier circuit reduces gain of the
amplifier. This is the main disadvantage of using neg~tive feedback in the amplifier.
lnsplte of this disadvantage the negative feedback is used in almost every amplifier, due to
number of advantages provided by it. Some of the advantages provided by negative
feedback are as listed belo·w.
• Negative feedback stabilius the gain of the amplifier.
• Negative feedback increases the bandwidth of thl amplifier so that it provides
nearly constant gain for large frequency range of the input signal.
• Negative feedback reduces the distortion in the amplifier output.
• Series negative feedback increases the input resistance of the amplifier. This
avoids loading of the source of the amplifier.
Q
Analog and Digital Electronic:s 3 ·26 Feedback Ampllfters
• Voltage negative feedback decreases the output resistance of the amplifier. This
avoids loading of amplifier itself when driving an output load.
• Negative feedback also stabilizes operating point.
Step 5 : Find the open loop gain (gain without feedback), A of the amplifier.
ct•"r I M ri1
Analog and Dislttal Electronics 3-27 Feedback Amplifiers
Charac:teristlcs Topology
•
Vott.ge series Current series Cummt shunt Voltage ahunt
'
~
R R,(I +P G.,l R,Cl+ll ~;l
Ror
anA. m
£~ R' (~llA;)
R' R'
R:,r = R0 r II Rl
I+II'Av I+ G,_, I t+!I~M
Table 3.2
•Vee Analysis
R,~4.7K
Step 1 : Identify topology.
c By shorting output voltage ( V0 =0),
feedback signal becomes zero and hence it
is voltage sampling. Looking at Fig. 3.23 we
can see that feedback signal Yr is subtracted
from the cxtemally applied signal V. uui
hence it is a series mixing. Combining two
conclusions we can say that it is a voltage
F"Jg. 3.23 series feedback amplifier.
T-
r.._~-~~lf.
~ E ~ ~
Ag. 3.25 Translator raplaced by Its approximate h-parameter equivalent circuit
Yo h re lbRe
Av = V, = --v.-
Applying KVL to input loop we get,
V. : lb (R, + h;cl
0 = l +llAv
l+lx2.38
3.38
Av
Avr l+llAv
Av 2.38
o = 3.38
0.7
~ R. ... h;..
1 K + 1.1 K =2.1 K
R;r R; 0
2.1 K X 3.38
7.0981<
=29.58 n
3.8.2 FET Source Follo-r
Fig. 3.26 shows the FET source follower circuit. Here feedback voltage is the voltage
across R, and sampled signal is V0 across R,.,
ct•'r I M ri1
Analog and Digital Electronics 3-30 Feedbadt Amplifiers
Analysis:
Step 1 : Identify topology.
By shorting output voltage V0 = 0,
G feedback signal becomes zero and hence it is
voltage sampling. Looking at Pig. 3.26 we
+ can see that feedback signal Vr is subtracted
from the extemally applied signal V. and
hence it is a series mixing. Combining two
conclusions we can say that it is a voltage
series feedback amplifier. ·
Fig. 3.26
Step 2 and Step 3 : Fmd input and
output circuit.
To find the input circuit, set V. = 0, and
hence V, appears between G and S. To find
the output circuit, set I; 10 = =0, and hence
R, appears in the output loop. With these
connections we obtain the circuit as shown
s in the Fig. 3.27.
Fig. 3.27
gm rd R,
.•. (1)
rd +R,
11R,
•.. (2)
rd + R5
Analog and Digital Electronics 3 ·31 Feedback Ampllflera
40x5K
= 40K+5K= 4·44
D t+PAv =1 + tx4.44
5.44 ... (3)
Ay Ay
Avr t+JlAv =o
::!! =0.816
oo and hence R;r = R; D = oo . . . (4)
Ro
D
=405.44K =7.35 K ... (6)
R'0
R~r o
where
4
R~r S~K = 816.2 0 ... (7)
Analysis:
• • Example 3.4 : Transistors in t~ frtdback amplifkr shown in Fig. 3.31 are identical and
their "h' paramdm are h;, = 1100 0. hfr = 100, h" = h"'= 0. Neglect Cilpllcitanas of all
capacitors.
i) Stati topology with justification.
ii) Calculate~ Av, Avf• Rif, R01 and R;1.
Fig. 3.31
Analog and Digital Electronics 3-33 Feedback AmpUfiers
To find input circuit, set V0 = 0 (connecting C:z to ground), which gives parallel
combination of R. with Rr at E 1• To find output circuit, set I; = 0 (opening the input
node E1 at emitter of Q1), which gives series combination of R r and R. 1 across the output
The resultant cirruit is shown in Fig. 3.32
crutzl M tcr"
I
- 8.96
The overall voltage gain without feedback is given as,
Ay = Ay 1X AVl = (-291.82)x (- 8.%)
= 26M.Z
The overall voltage gain taking R6 in account is given as,
v. AvR; 1 2614.7x11.099xt0 3
Av = Vs = R;l + Rs = 11Q99xJ03 +100
2591.35
Step 5 : Calculate 1}.
Looking at Fig. 3.ll.
13
Vr
v., = 100+ lOx 103
0.0099
100
dv, 10K
26.65
Ru R 11 D = llll22.ls 10 3 x 26.65
295.788 kO
Rol ~ =~=ex:~
D
.
D
R'
.. R~r 15 where R~ = RL2
3.2.WQ 3
.. R~r - 26.65 =120.45 Q
, rf'Ct 11 h ch11 1 M n
Analog and Digital Electronics 3-35 Feedback Amplifiers
Analysis
=
To find input circuit set 10 0, then R0
appealS at the input side. To find output
1
shown in the Fig. 3.35.
Fig. 3.35
T
R,
1
Fig. 3.36 Approximate h-parametar equivalent circuit
- hre 1b
GM
lo
= \'; = -v.-
-hrelb
lb(R, +b;e+Re)
-bre 50
R,+h;e+Re 1K+1.1K+l.2K
Vr JeRe
~;=-.;-
- 1.2 I<
D l+PG,. =1+(-1.2I<)x(-0.015)
19.18 ..• (3)
G,. -0.015
o= 19.18
- 0.782x 10-J X 22 K
-1.72 . .. (5)
R1 R.+ h 1.+ R.
1 K + 1.1 K + 1.2 K =3.3 K ... (6)
R 1f R; 0 = 3.3 Kx 19.18
63.294 K ... (7)
... (9)
R~r R0 r II RL
R;.
2.2 K ... (10)
Analysis
c~]~I
To find input circuit set 10 = 0, then R.
appears at the input side. To find output
circuit set I; ~ 0, then R5 appears in the
output circuit. The resulting circuit is
shown in the Fig. 3.38.
Fig. 3.38
l
~~~~-----+-~~~~~-!..JRL J:
J!-v,--+j
Fig. 3.39 FET replaced by Its equivalent circuit
·: V, =VI>" . . . (11)
.•. (12)
- 50 -3
40 K+4.7K+ lK = - l.09x lO
1 + (- 1 K) (-1.09xl0-3 )
GM - 1.09x 10-3
o"'--2.~
.. - lo
· GMr- V,
R; ... (17)
.. Ror
rd+ (I +ji)R,
40 K + (1 + 50) x 1 K =91 K ... (21)
R~r RL II Ror
4.7 K II 91 K =4.47 K ... (22)
••
Fig. 3.40
Step 1 : Identify topology.
By shorting output voltage (V0 = 0), feedback signal does not become zero and hence it
is not voltage sampling. By opening the output loop (1 0 =0), feedback signal becomes zero
and hence it is a current feedback The feedback signal appears in shunt with input
-1,),
(I; = '• hence the topology is current shunt feedback amplifier.
Step 2 and Step 3 : Find input and output circuit.
The input circuit of the amplifier without feedback is obtained by openlng the output
loop at the emitter of Q2 (1, = 0). This places R' in series with ~ &om base to emitter of
Q1• The output circuit is found by shorting the input node (the base of Q1), I.e. making
V; = 0. This places R' in parallel with ~· TI1C resultant equivalent circuit is shown in
Fig. 3.41.
Fig. 3.41
Analog and Digital Electronics 3 ·41 Feedback Amplifiers
We know that,
Att =- hr. = - SO
... (3)
... (4)
Step 5 : Calculate ll
Looking at Fig. 3.41 we can write,
- I. Rc2
lr = .Rc+ R'
- Jc Re2
R0 +R'
lo Rcl
Rcl + R'
lr Re2 50
i;;'" R,1 +R' " 50+1.2 K
0.04
Step 6 : Calculate D, ~. R;r• A11, Avr• R.,. Ror.
D 1+ 13 A1 = 1 + (0.04)x 406
17.2
AI 406
0~17.2
23.6
Yo - lc2 Ra
v.=~
J\ 11 Rc2 _ ,c2
-n.- - - = All
1,
R II h· = 0.612 Kx 1.1 K
•e 0.612 K+ 1.1 K
0.394 K
R; 0.394K
15"17.2
23 0
Ror
Analog and Digital Electronics 3 · 43 Feedback Amplifiers
Prom calculation for A1 we note that At i.~ indL-pendcnt of the load Rl = Ra . Hence
A; = lim =At
Ra .... o
R~r
= soon
3.11 Voltage Shunt Feedback
Fig. 3.42 shows a common emitter amplifier with a resistor R' connected from the
output to the input.
•Vee
h;0 = 1.1 K
htc " 50
R' ~ R'ot
Fig. 3.42
Step 1 : Identify topology.
The feedback curren t 11 is given as,
VI - V0
'• 'R,....
=
By shorting output voltage (\'., 0), feedback reduces to zero and hence it is a voltage
=
sampling. As I; 1, -1 1, the mixing is shunt type and topology is voltage shunt feedback
amplifier.
Step 2 and Step 3 : Find input and output circuit.
To find input circuit, set V0 = 0, this places R' between base and ground. To find
output circuit, set Y, = 0, this places R' between collector and ground.
ch·, I ~I lc d
Analog and Digital Electronics 3 ·44 Feedback Ampllflera
hio
Fig. 3.43
If
RM I
JlRM >> 1
f+Jl RM =p
- R'
vo vu
v.·= I, R,
I -R'
• llRs = R.
Step 4 : Find the open circuit transresistance.
V0 10 R~ -I< R~
RM = 1"; = -,-.- = - ,- .- ... (1)
2.1 K
and
8.33 I<
8.33 K+ 1.1 K
- 92.715 K
- 1 -1
R'"=soK
- 2x 10·5
1 + (-2xlo-5) (-92.715x103)
2.854
RM - 92.715 K
-o =·~2854 --
-32.48 K
Aw
-32.48 K = _ 3248
10 K
R; = R ll ~ = Rhic
c R+ h 1•
8.33 K x 1.1 K
8.33 K + 1.1 K =0.971 K
R, 0.971 K
o = 2.854
340.220
chlich ch 1 M nd
Analbg and Digital Electronics 3-46 Feedback Amplifiers
If the input resistance looking to the right of R5 (from base to emitter in fig. 3.42) is
R~ 1 • then
R11 = R;tiiR.
Solving this we get.
R;, = 352.2 0.
Since
R'
R0 50000
1+BRm = 1+ 2x 10- 5 x 2200000
11110
(1111) (2200)
R0 ,ll R< = = 738.2 0
3311
21
· K
2.854
=7360
n.. Example 3.5 : For the fetd/Jack amplifier shown in Fig. 3.44 calculate :
•Vee
Fig. 3.44
4.7 K
10KJI47KJ133K
R,
1000
r 4.7K
Fig. 3.45
Analog and Digital Electronics 3 ·48 Feedback Amplifiers
Ai2 - ht.= - 50
Ru hw= l.lK
A;zRu = -50x2.37x10 3 = -107.73
Avz
R;2 l.lx t o 3
Rt.t 10 K II 47 K II 33 K II 1.1 K
9420
Au - h 10 = -50
A Vf ~ = 832.75 =45.38
D 18.35
,_. Example 3.6 : For feedbolck amplifier shown in Fig. 3.46, idmtify the feedback topology
with proper justijiCiltion.
Fig. 3.46
The transistors used are identical with the following paramJ!fers :
Jtfr = 200. ' ie = 2 ldl. lr,., = 10- 4, h.. = w· 6 NV
Calcu/Qte
i) Avf ii) Rif iii) R0!
Solution : Step 1 : Identify topology.
The feedback voltage is applied across R.,1 = 1.5 I<, which is in series with input signal.
Hence feedback is voltage series feedback.
Step 2 and Step 3 : Find input and output circuit
To find input circuit, set V0 =0, which gives parallel combination of R.,1 with Rt at E,
as shown in the Fig. 3.47. To find output circuit, set 11 = 0 by opening the input node, E1
at emitter of Q1, which gives the series combination of Rf and R.,1 across the output. The
resultant circuit is shown in Fig. 3.47.
Rr56K
I
1\::z= v.
2.2 K
Ra~h ..
Fig. 3.47
chlich ch 1 M nd
Analog and Digital Electronics 3-50 Feedback Amplifiers
Since It,. R 12 =10~ x 2.119 K =0.002119 is less than 0.1 we use approximate analysis.
A12 - hfe =- 200
Ril ""'=21d'l
.. Av2
A;2RI.2 = - 200x 2.119K
R;2 2K
-211.9
RLl Ra II ~2 = 120 K II 2 K
1.%7K
Since It,. Rll = 10- 6 x 1.967 = 0.001967 is less than 0.1 we use approximate analysis.
Ail -hn,=- 200
~I ~. + (I + 1\n,) R,
2 K + (1 + 200) (1.5 K II 56 K)
295.63 K
A 11 RLl -200x 1.%7 K
~ = 295.63K
-1.33
0.026
Fig. 3.48
r.~ 7l tcr <1
Analog and Digital Electronics 3 · 51 Feedback Amplifiers '
D a l+f3Av
1 + (0.026) X 281.82 = 8.327
Av 261 .82
Avt o= s.327
33.84
120K
R'0 Ra II Ra II <Rt + R,,) = Ra II Ru
1M 112.119 K
2.U4S K
R~ 2.1145 K
R~t 0 = 8.327
= 2540
• • Example 3.7 : ~ two slllge ftedbtu:k 11mplijier shoum in Fig. 3.49 usts FE:I'. ~
partmtders 11re rd = 10 K and 11 =40.
iJ Tdmtify the topology of fudback.
ii) Clllcu/ate D, Av.f Rt, RoJ and R~1 .
Analog and Digital ElectroniC$ 3·52 Feedback Amplifiers
Fig. 3.49
47K
47 K 1 Mll
2000
10K
Fig. 3.50
chlich ch 1 M nd
Analog and Digital Electronics 3-53 Feedback Amplifiers
10K
s,
Fig. 3.51
Step 5 : Find open loop transfer gain.
Av
AV2
where R0 11Rc2=47K!11MO
44.89 kO
Rl'dl =200 1110 K
- 40x 44.98x 10 3
lOx 10 3 + 44.89x 10 3 +(1+ 40)(10 K II 200)
-28.59
Overall Av - 28.59 X - 18.237
52139
Step 6 : Calculate ll
v, 200
Yo = 200+10x10 3
0.0196
ch·, I ~I lc d
Analog and Digital Electronics 3 · 54 Feedback Amplifiers
Rt Rc=1M!l
Ru Rt x D
1 X 106 X 11.22
11 ..22 M!l
R, rd
10 J<
R'0 rd II R12 =10 J< II 8.38 K
4.5591dl
R' 4.559x 10 3
.. R~t __.2. ;
D 11.22
4060
Fig. 3.52
Solution : Here, output voltage is sampled and fed in series with the input signal.
Hence the topology is voltage series feedback.
The open loop voltage gain for one stage is given as,
Av = - Sm R,q
where R,q rd II R.ill CRu + Rz)
8K1140KII(lMO)
6.62 len
Av - 5X tal X 6.62 X let
-33.11
-36306
p= V1 -R 1 -R 1 SO
Vo = ~ = R1 +R2 = t x to 6
-S x 10-6
,_,. Example 3.9 : ln lM txllmp/e 3.8, if output i$ tllken between poinJ B and ground,
calculate Avt
Solution : }W-e, output lenninals are B and ground, thus the forward gain is the gain
of Q 1 and it is,
ABN = -33.11
However, Q 2 and Q 3 must be considered as a part of feedback loop.
Here PsN = -
vt vt
=-
vo Vc
x -x-
Vo Y0 Yc Y8
••
0 v
-A
Vc
and -Vn = Av2
• Vc - V3
-R, -5
~ X A VJ X A Vl =- 5 X 10 X(- 33.11) X (- 33.11)
g
- 0.0548
= - 1.815 = - PA
which is the same value as in example 3.8. It should be clear that regardless of where
the output terminals are taken, the loop gain is unchanged.
_ AlJN _ - 3.'Ul _
A VI - I+ AP- 1 + 1.815 --11.76
,_. Example 3.10 : The two stage FET amplifier slwwn in the Fig. 3.53 liSt'S identical FETs
with 11 =50, rd = 10 K. For this circuit:
(l) IdentifY the fet!dback !apology.
(2) Draw the cirruit diagram of basic amplifier withcmt feedback.
(3) CAlculate Avt JYand Rot
Assume o/1 capacitors to be large enough so as to act as short circuiJ at the lowtSt fnquency
of interest.
10K
Fig. 3.53
cl•'r I M ri1
Analog and Digital Electronics 3 ·57 Feedback Amplifiers
22K
22K IMQ
3000
10K
Fig. 3.54
Step 4 : Replace FET with its equivalent circuit.
.--..--oG1 01 G2
1M 'd 22 K 1 MQ
10K
Fig. 3.55
Step 5 : Find open loop transfer gain.
Ay Vo = Avt AV2
v.
-~ Ru
AV2 a
Ru + rd
where Ru (10 K + 300 0) II 22 K
7kn
-sox 7x 10 3
Av2
7x 10 3 + lOx 10 3
Analog and Digital Electronics 3-58 Feedback Amplifiers
-20.59
-22.51
Overall Av Avlx Av2
- 20.59 X (- 22.51)
463.5
Step 6 : Calculate 11
V1 R5 330
V0 = Rs + R1 = 330+ 10000
0.0319
D 1 +i}Ay
1 + 0.0319 X 463.5
15.786
A v 463.5
o =15.785 =29·36
Rc = 1Mn
R; x D = lx 106 x 15.785
15.785 M!l
R~f
R'0 = 4.118x 10 3 = 261 0
D 15.785
1. . Example 3.11 : fur the circuit shown in tire Fig. 3.56, dttmnine closed loop voltage gain,
input resistllnce with fwlback and output resistance with feedb<lck. Assume ideal input voltage
source. Tire BfTs used liTe idmtiall with hft = 50 and h~e = 1 K. Assume h"' = h..., = 0.
Assume all capacitors to be arbitrlltily large.
•Vee
Fig. 3.56
Solution : Step 1 : Identify topology.
The feedback voltage is applied across the resistance Ret and it is in series with input
signal. Hence feedback is voltage series feedback.
Fig. 3.57
Analog and Digital Electronics 3 -60 Feedback Amplifiers
Ru Rail (Rs + R)
4.7 K II (120+ 33 K)
1.98 kO
Au -h 1• =-50
Ru h;., = 10000 = 1 K
A12R1.2 = - 50xl.98K
Av2 lK
R;2
- 99
An -h 1c=-50
Ru R, J II RJII R4ll Ru
10 I( 11100 I( 1122 K II I I(
= 865.46 0
Ru h..,+ (1 + hrc>Rcldf
where Relcft Rs II R
1000 + (I + 50) (120 113.3 I<)
6.9 kQ
AuRu -sox 865.46
AvJ ~= 6900
-6Zl
The overall voltage gain,
Ay AvJ X Av2
- 6.27 X (- 99)
620.73
Step 5 : Calculate ~
1J = V1 R5
V0 = R• +R
120
120 + 3300 = O.D3S
chlich ch 1 M nd
Analog and Digital Electronics 3-61 Feedback Amplifiers
Fig. 3.58
Solution : Step 1 : Identify topology.
The feedback Is given from emitter of Q2 to the base of Q2. If 10 = 0 then feedback
current through S K register is zero, hence it is current sampling. As feedback signal is
mixed in shunt with input, the amplifier is current shunt feedback amplifier.
Analog and Digital Electronics 3-62 Feedback Amplifiers
R'=
5K
R;,
Fig. 3.59
Step "' : Find open circuit transfer gain.
where .>
11;., + (1 + h 1 <Re2 II R' )
1.5 K + (1 +50) (500 liS K)
24.6818 kn
Fig. 3.60
ch·, I ~I lc d
Analog and Digital Electronics 3 ·&4 Feedblck Amplifiers
E:z 4.7 K
10KII47K1133K
15K
Fig. 3.61
-h,.=-500
h 1• = noon
A i2Ru = - SOOx 3.59x 103 = _
1632
R12 1100
-hrc = -500
h;., + (1 + h rel Rc = 1100+ (1 + 500)(150 II 15 K)
75.5 kO
A i!RLI = -500x 942 = _ .2.38
6
Rn 75.5x 10 3
A VI X A V2 = (-6.238)x (-1632)
10180
Step 5 : Calculate II and D .
R1 150
R +R = 150+ 15000 = 0.0099
1 2
D 1 + A p= 1 + 10180 X 0.0099
101.782
R0 = Ru = 3.59x 10 3 = 35270
0 0 101.782
1- Example 3.14 : An RC wuplt:d amplijin IUJS 11 mid fmfuency gain 500 lltld lower lltld
uppo 3 dB fmfuenc:iLs of 100 Hz 11nd 20 kHz. A negative frt:dbtzck wilh P = O.ot is
inc:orpomtt:d into l!mplifit:r circuit.
Ozlcuhll~:
fL 100
fu l+PA Vnud 1+ O.Olx 500 = 16.67 Hz
fHr fHx(1+11Avrnidl
An8Jog and Digital Electronics 3-66 Feedback Amplifiers
120kHz
+Vee
Fig. 3.62
1
-hf,Rc - - R-
1+...!.
A v. Rb
Vf = V• = R; +hi< +(1+hf,)R,
where R; = R, II R1 II R2
Solution : Step 1 : Identify topology.
=
By shorting output (V0 0), feedbaclc voltage does not become zero. By opening the
output loop feedback becomes 2er0 and hence it is current sampling. The feedback is
applied in series with the input signal, hence topology used is CUirel\t series feedback.
Step 2 and Step 3 : l-ind input and output circuit.
To find input circuit, set I, a 0. This places Re in series with inpuL To find output
circuit I; = 0. This places R, in the output side. The resultant circuit is shown in Fig. 3.63.
Analog and Dlgltai.Eiactronk:s 3 ·67 Feedback Ampllft.,.
E
Fig. 3.63
Step 4 : Replace transistor with its h-parameter equivalent.
ReT
~~~~~~~~=~x
Flg. 3.64
Step 5 : F"md open loop transfer gain.
Prom equation (5) of section 3.9.1 we have
Aw = IoRL. =~ RL
v.
Here R'
• R,. II Rtll R:z
R,.IIR., ·: R., = R1 UR:z
.. vo V0
-X-
vj
v• vi v.
where vi Rb
v. a Rs+Rb
.. vo -hfeRL x~
v• R',+h;e+(l+h...,)R 0 R 1 +Rb
V0 -hfeR<XR
b+ $
~R
V5 = R~+hi0 +(1+h 10)R.
,_., Example 3.16: For the Bff amplifier slwum in the Fig. 3.65, calculate its GMf IV Rot
For lite Bff, tlSSUtne h;. = 1 K, hfr = 50, hrt = h« = 0.
•Vee
47K
v,r 1' vo
4.7K
I
Fig. 3.65
Avr
=1 1<11471<11471< = 8100
-50xl.8x10 3 1
1000
l+ 4272 -72928.679
= -1.38
810+1000+(1 +SO)xlOOO 52310
Analog and Digital Electronics 3 ·69 Feedback Amplifiwa
p= V1 = I~Re = -I0 R• = _ R. = _ 1 K
Io lo lo
GM
l +IJGM
-7.66x10_. GM
1 +(-lOOO)G M
~ - 3.2735 X 10- 3
• • Example 3.17 : Idmtify the topology tmd find the tmnsfrr giZins (both with mut without
considering R), ftal!Jtlck ftzdor, F.v 11nd Rot of the circuit giPm brlow. llssume h~e = 1 ln.
lip = 15{), It,.. =h« = 0.
1
Fig. 3.66
r ' r child .ell d M 11 1
AnalOg and Digital Electronics 3. 70 Feedback Amplifiers
where R~ = R, II Rt II ~
- SOx4xtoJ[
1+--
~000 1
9000"
900+1000+(1 + 1SO)x 1000
- 1.177
Vf = l~R• = :_!oRe =- R ,. - 1 K
lo lo lo c
- 2.943xto- 4
1+(- lOOO)CM
-4.17 x to- 4
D 1 + ll GM = I + (- 1000) (- 4.17 X 10-~
1.417
R; _ = R, +(h;. +R 0 )IIR 0 = 1 K + (1000 + 1000) 11 9 K
2.636 ldl
R;f R; D ~ 2.636 K X 1.417 = 3.735 ldl
Ro
Rot RoD=-
R~t R 0 ,!IR._ =RL
4kfi
M I ri
Analog and Digital Electronics 3 ·71 Feedba~ Amplifianl
,. . Example 3.18 : An RC coupled 11mpli[~n hils mid frtqumcy gtlin 400 tmd lower 11nd
Upptr 3 dB frequencies 100 Hz tmd 15 kHz respectiTJely. A neg~~troe foedback with J3 =O.Dl
is incorpoTIIUd into amplifier circuit. 0:/culllu gain with foedback tmd new brmdwidth.
Solution : Given : Av mid = 400, fL = 100 Hz, fH = 15 kHz and 13 = 0.01
fu fL 100 = 20
1+13Avmid = 1+0.0Jx400
,..,. Example 3.19 : A single stage amplifier has a voltage gain 11[ 10 and lKmdwidth 1 MHz.
1'1rree such stages are CtlSCJlded and negative feedback of 10 % is applw to CtiSCIIde stage.
Find overall voltage g11i11 11nd bandwidth of CtiSCIIde stage.
Solution : Given : Av = 10, BW =1 x 106, n =3
I) Overall volbge gain
1lle gain of cascaded amplifier without feedback
10 X 10 X 10 = 1000
Av 1000
l+IJA v =1 +O.lxlOOO =9·9
ii) Bandwidth of cascaded stage
BW(cascade) • BW .J 21/" - 1
1 X 1o6 .J 2!/J -1 = 509.82 kHz
BW1 sw·.~;(l+I3Avmldl
5()9.h i<.'J~ X (1 + 0.1 X 1000)
51.49 MHz .
25. Draw 1/u! cirrrtit forcurm~t P,unt amplifier and j~~>tify tlu! 1ypt of fotdbock- Derive tlu! apression
Ag. 3.67
[J[J[J
(3. 74)
Oscillators
4.1 Introduction
Feedback plays an important role in almost all electronic circwts. It is ~.lmost
invariably USI.'d in the amplifier to improve its performance and to make it more ideal. I~
the process of feedback, a part of output is sampled and fed back to the input of the
amplifier. Therefore, at input we have two signals : Input signaL and part of the output
which is fed back to the input. Both these signals may be in phase or out of phase. When
input signal and part of output signal arc ;,, phase, the feedback is called positive
feedback. On the other hand, when they arc out of phase, the feedback is called negative
feedback.
The positive feedback results into oscill3tions and hence used in electronic drcltits to
generate the osciUations of dt'Sircd frequency. Such drcwts arc c."llled oscillators.
~OOphasoshifl
Output signal
~
(4. 1)
chli ch ch M nd
Analog and Digital Eledronic:a 4-2 OscUlators
~
~
This is called open loop galn of the amplifier.
For the overaU circuit, the input is supply voltage V5 and net output is V0 • The ratio of
output V0 to input V1 considering effect of feedback is called closed loop gain of the
circuit or gain with feedba<k denoted as At-
~
~
The feedback is positive and voltage V1 is added to V5 to generate input of amplifier
V1• So referring Fig. 4.1 we can write,
1 v. = v. + v, 1 ... {1)
The feedback voltage v 1 depends on the feedback element gain j}. So we can write,
lvr=PV0 I ...{2)
v•
... asA=v
I
Now consider the various values of p and the corresponding values of At for constant
amplifier gain of A = 20.
A p At
20 0.005 22.22
20 0.04 100
20 0.045 200
20 0.05
Table 4.1
-
Conclusions :
The above result shows that the gain with feedback increases as the amount of positive
feedback increases. In the limiting case, the gain becomes infinite. This indicates that circuit
can produce output without external input {V5 =0), just by feeding the part of the output
as its own input. Similarly, output cannot be infinite but gets driven into the oscillations.
In other words, the circuit stops amplifying and starts oscillating.
Key Point: 111us witlwut an input, the output will continue to oscillate whose frt11uetiCIJ
depmds upon the feedback network or the amplifier or bolh. Suth a drcuit is called as an l'
oscillAtor.
It must be noted that p the feedback network gain is always a fraction and hence P< 1.
So the feedback network Is an attenuation network. To start with the oscillations Ajl > 1
but the circuit adjusts itself to get Ajl = 1, when it produces sinusoidal oscillations while
working as an oscillator.
An oscillator Is an amplifier, which uses a positive feedback and without any external
input signal, generates an output waveform, at a desired frequency.
An oscillator is a circuit which basically acts as a generator, generating the output
signal which oscillates with constant amplitude and constant desired frequency. An
oscillator does not require any input signal. An electrical device, alternator generates a
sinusoidal volllsge at a desired frequency of 50 Hz in our nation but electronic oscillator
can generate a volllsge of any desired waveform at any frequency. An oscillator can
generate the o utput waveform of high frequency upto gigahertz..
Analog and Digital Electronics Osc:lllato':S
...(1)
I Vf = 13Vo ...(2)
- Analog and Digital Electronics 4- 5 OscHiators '
For the oscillator. we want that feedback should drive the amplifier and lienee
Vf must
act as 1V1• From equation {3) we can write that. Vr is sufficient to act as V; when,
.. .{4)
And the phase of Vr is same as V; i.e. feedback network should introduce 1800 phase
shift in addition to 180" phase shift introduced by inverting amplifier. This ensures positive
feedbacly So total phase shift around a loop js 3600.
In this condition, V1 d rives the circuit and without external input circuit works as an
oscillator.
The two conditions discussed above, required to work the circuit as an oscillator arc
called Barkluusen Criterion for oscillation.
4.3.1 I A ~ I > 1
Wh<m the total pha<e shift around a loop is o• or 360" and IAll I > 1, then the output
oscillates but the oscillations are of growing type. "The amplitude of oscillations goes on
increasing as shown in the Fig. 4.4.
~h-- · n· ··zs·· 7J
++-p+--+-
..... v-t-t
.. . .v-r-....
-+-.
··.
c- ·
Fig. 4.4 Growing type oscillations
Time
, lJc chli ch ch 1 M nd
Analog and Digital Electronics 4-6 Oscitlatots
4.3.2 I A~ I=1
As stated by Barkhauscn
criterion. when total phase shift
=v. . . .
V. .... \L. • Tone
ensuring positive feedbaclc and
IA PI = 1 then the oscillations
are with constant frequency and
amplitude called sustained
oscillations.
Fig. 4.5 Sustained oscillations Such oscillations arc shown
in the Fig. 4.5.
4.3.3 I A pI < 1
When total phase shift around a
Output
loop is oo or 360" but IAI}I < 1 then
the oscillations are of decaying type
i.e. such oscillation amplitude
decreases exponentially and the
o.<;cillations finally cease. Thus cirt.uit
works as an amplifier without
oscillations. The decaying oscillations
are shown in the Fig. 4.6. ·
So to start the oscillations
Fig. 4.6 Exponentially decaying oscillations without input, 1Al}l is kept higher
than unity and then circuit adjusts itself to get IAI} I =1 to result sustained oscillations.
crutzl M IC!"
Analog and Digital Elec1ronlc:s Oscillators
·~·'·'
v, = 1Xc Vc
The capacitor C and resistance R are in series. Now Xc is the capacitive reactance in
ohms given by,
From expression of CUJTC!1lt it can be seen that cummt I leads input voltage v 1 by
angle~.
jv 0 =VR=IR I
The voltage across the capacitor is,
I Vc = I Xc
crutzl M tcr"
Analog and Digital Electronics Osc;illators
The drop VR is in phase with current I while the drop Vc lags current I by 90° i.e.
I leads Vc by 90°. "The phasor diagram is shown in the Fig. 4.7 (b).
The network is also called the ladder network. All the resistance values and all the
capacitance values are same, so that for a particular frequency, each section of R and C
produces a phase shift of 60".
r---~--------·v"
180"Phase
~shift due to amplifoer
'
v,
Output
R R
~ ~:-d=feedback
R
I 2x~RC I
f =
1
2xRc· .j6+4K
where
And value of I< for minimum hte is 2.7 hence minimum hre = 44.5. So transistor with
hre Jess than 44.5 cannot be used in phase shift osdllator.
But for most of practical circuits, the expression for the frequency is considered as,
lf=~ l
4.5.3 Qerlvatlon for the Frequency of Oscillations
Replacing the transistor by its approximate h-parameter model, we get the equivalent
osdllator circuit as shown in the Fig. 4.10.
®
Fig. 4.10 Equivalent circuit using h-parametar model
Practically R3 is used such that hu, of transL~tor alongwith R3 completers the need of R
Note : U the resistances R1 and Rz arc not neglected then the input impedance of the
amplifier stage becomes as,
Similarly we can replace, the current source hte It, by its equivalent voltage source.
And assume the ratio of the resistance Rc toR be 1<.
K = Rc
R
Analog and Digital Electronics Oscillaton1
Vonage
source
Applying KVL for the various loops in the modified equivalent circuit we get,
For Loop 1,
l
- I I Rc-jroC 11-11 R-t-12 R-hrc I., Rc 0
For Loop 2,
1
- ) roC 12 -1 2R-1 2 R + 11R+I 3R 0
for Loop 3,
I
- 13 'JioC-I 3 R-l yR + ! 2 R 0
(K+ 1) R+
5~ -R - h 1c lb KR
03 -R 2R+..!._ 0
sC
0 - R 0
=. - R2 (l'fe lb KR)
-KR31'fe lb ... (7)
OJ
o
... (8)
s 3 C 3 R 3 [3K+ l ]+s2 C2 R2 (4K+6]+sRC (SK+ 1]+1
And /1.
?utp~~lf ame!ifier circuit = =h !.J.
Inpu t to a.mpliJicr circuit lh fe
.•. (9)
Ajl = - - - - lc
-KR 3 h 53 c3 ••• (10)
5 3 C 3 R 3 [3K+ 1)+ s 2 C 2 R2 [4K + 6)+ sRC [SK+ 1)+ 1
Substituting s = jro, s2 = j 2«l =- ro2, s3 = f'ro3 = - jro3 in the equation (10) we get,
/1.~= - ·- .
- ;ro3 KR 3 c 3 h1
c
- jm3 C 3 R3 (3K+ 1)-rol C 2 R2 [4K+ 6)+ jCDRC [5+ KJ+ 1
-jro3 KR 3 C 3 h
Aj3 = - -- -- 1•.
[1 - 4KrolC 2 R2 -6 o1C2 R
2
)- jCli3Krol R 3 C 3 +rol R 3 C 3 - SRC - KRC]
i{ 00J R\ cJ
4
mRKC ro: c} +{ 3K+ 1 ro2 :2 c2 cif :Z c2}
Replacing
01
~ C =o. for simiplicity
.. A~ = K h·'"'•-::----- . . . (11)
(3 K+ 1-5o.2 -Ko. 2 ]+j[o. 3 -4 Ko.-6o.J
As per the Barkhausen Criterion. L All = 0°. Now the angle of numerator term Kh10 of
the equation (11) is 0° hence to have angle of the Afl term as 0", the imaginary part of the
denominator term must be 0.
.. o.3-4Ko.-6o. 0
o.(o. 2 -4 K-6) 0
2
o. z 4K + 6 neglecting 1.ero value
Analog and Digital Electronics <4-15 Oscillators
a .j4K+6
rok .j4K+6
lro=Rc~
f = 1 ...(12)
2~tRC./4K+6
-4K2 -23K-29
Now IAll!
Khre I
I-4K2 -23K-29
I<hte 4K2 + 23K+29
.. [4- ~;] = 0
ch·, I ~I lc d
Analog and Digital Electronics 4-16 Oscillators
29
4
K • 2.6925 for minimum hte ... (14)
Substituting in the equation (13),
29
<hrclmin = 4 (2-6925) + 23 + (2. 6925)
Key Point: Thus for the circuit to oscillalf. we must sdect the transistor w~ llzr.J min
should be grtAJer than 44.54. ·
By changing the values of R and C, the frequency of the oscillator can be changed. But
the values of R and C of all three sections 'must be changed simultaneously to satisfy the
oscillating conditions. But this is practically impossible. Hence the phase shift oscillator is
considered u a fixed trequency oscillator, for ali practical purposes.
, . Example 4 .1: Find tM arpt~Citqr C 11ttd hft for tM transistor to provide a resorutting
frequncy of 10 kHz of a transistoristd phase shift oscillator. Assume R1 = 25 An.
R2 =57lfl. Rc = 20 An. R =7.1 JSl and ' i<
= 1.8 Ail.
Solution : Referring to equation (1),
.. 10x10 3
2nx7 .lxt0 3 xCx~6+4x2.816
.. c . 539.45 pf
ch·, I ~I lc d
\
Analog a~~ Digital Electronics 4-17 Oscillators
~. <!: 44.562.
4.5.5 Advantages
The advantages of R - C phase shift oscillator are,
1. The circuit is simple to design.
2. Can produce output over audio frequency range.
3. Produces sinusoidal output waveform.
4. It is a fixed frequency oscillator.
4.5.6 Disadvantages
By ch,mging the values of R and C, the frequency of the oscillator can be changed. But
the values of R and C of all three sections must be changed simultaneously to satisfy the
oscillating conditions. But this is practically impossible. Hence the phase shift oscillator is
considered a.~ a fixed frequency oscillator, for all practical purposes.
And the frL-qucncy stability is poor due to the changes in the values of various
components, due to effect of temperature, aging etc.
l'* Example 4.2 : In a RC phase shift oscillator, the phase shift network uses tht res;;tances
tnch of 4 .7 kO and the capacitors each of 0.47 j!f. Find the frequency of oscillaHous.
Solution : The gjven values are, R =4.7 leO and C =0.47 J.IF
f = _ _I - = 1 =2.9.413 Hz
21t.J6RC 21t.J6><4.7x10 3 x0.47xl0-6
1... Example 4.3 : F.stimatt tilt wlues of R aud C for an output frequency of 1 kHz iu a RC
phase shift oscillator.
Solution : f =1 kHz
I
Now
2n:.J6Rc
.. 1 ><10 3
2n: .J6 RxOJxt0-6
.. R 649.747 0
Choose R 6800 standard value
Analog and Digital Electronics 4·18 OscUlatoni
Forward
path
v,M'-
.---- --e:-----e:-----c;-- -:
1
I
I
I
I : RC
I : feedback
I
I : network
I R
I
I _______, I
I
'----+---' · . . . . . Fo=.ack
... (27)
. .. (28)
Key Point : Tht input imptdmlce of the FET llmplifier s!JJge am bt conveniently IISSilmed
as infimle, as kmg as the operating frequency is low enough to neglect the cllplldtive
impedances.
\
Analog and Digital E;Jectronlcs 4··19 Oscillators
Hence the condition on gain of the amplifier is same as in case of op-amp, the
frequency of the oscillator is given by,
f- 1
- 2nRCJ61 ... (30)
,... Example 4.4 : A plwt shift oscillator is to be thsigntd with FET having g,..= 5000 1!5,
r4 = 4 kO while the resistana in the fttdback drcuit is 9.7 leO. Sekd the proper value of C
and Ro to have the frt~~uency of oscillations as 5 kHz.
Solution : Using the expression for the frequency
1
2nRCJ6
c = 1.34 nF
IAI gm Rt
.. IAI ~ 29
.. Km Rt ~ 29
i
.. Rt. ~ ~~ 29
~5.8lc0
8m SOOOxl0-6
R0 x40x10 3
R0 +40 x10 3
crutzl M tcr"
Analog and Digital Electronics 4-20 Oscillators
5.8823 Ro
4.8823 R0 40x10 3
s.u ldl
While for minimum value of RL = 5.8 ldl
R0 = 6.78ldl
4.6 Wien Bridge Oscillator
Generally in an oscillator, amplifier stage introduces 180" phase shift and feedback
network introduces additional 180" phase shift, to obtain a phase shift of 360" (2n radians)
arou.n d a loop. This Is required condition for any oscillator. But Wlen bridge oscillator
uses a noninverting amplifier and hence does not provide any phase s hift during
amplifier stage. As total p!u>sc shift required is 0" or 2mt radians, in Wicn bridge type no
phase shift Is ne<:essary through feedback.
Key Point : Thus the total phase shift around a loop is ao.
Let us study the basic version
of the Wicn bridge oscillator and
its analysis.
A basic Wicn bridge used in
this oscillator and an amplifier
stage Is shown in the Fig. 4.13.
The output of the amplifier Is
applied between the terminals 1
Fig. 4.13 Basic circuit of Wien bridge and 3, which is the input to the
oscillator feedback network. While the
amplifier input is supplied from
the diagonal terminals 2 and 4.
which is the output from the
feedback network. Thus amplifier
supplied its own input through the
Wien bridge as a feedback
network.
The two arms of the bridge,
namely R1, C1 in series and ~' C2
in parallel are called frequency
sensitive arms. This is because the
components of these two arms
decide the frequency of the
Fig. 4.14 Feedback network of Wien bridge
oscillator
crutzl M IC!"
Analog and Digital Electronics 4-21 OSCillators
oscillator. Let us find out the gain of the feedback network. As seen earlier Input Vtn to
the feedback nctwor.k is between 1 and 3 while output V1 of the feedback network is
between 2 and 4. nus is shown in the Fig. 4.14. Such a feedback network is called lead-lag
network. This is beca\llle at, very low frequencies it ads like a lead while at very high
frequencies it ads like lag network.
Now from the Fig. 4.14, as shown,
1
Rt + .,---c
JOl I
1
R x --
1 2 j roC2
~II )roc = 1
2 R2+~ c
JOl 2
. .• (1}
Replacing jro = s,
l+sR1 C1
zt ---sc;--
R2
and z,_ c
l+s R 2 2
and
•.. (2)
p =
[.+~~cJ
.,.,..-~,....,......;,-::-7-----.
[l+~;c•] +[ l+s~:cJ
sC1 R2
p= (l+s R1 c 1 }(l+s R 2 C 2 )+s C 1 R2
sC 1 R2
l+s(R1 C1 +R 2 C 2 )+s 2 R 1 R 2 C1 C 2 +sC1 R 2
sC1 R 1
l+s(R 1 C1 + R2 S +C 1R2 )+s 2 R 1R 2 C1C2
2
Replacing s by jO>, s =- rJ
p = jooCI Rz ... (3)
(I-~ R 1 R2 C1 C2 )+ jro(R 1 C1 +R 2 C2 +C1R2 )
. . . (4)
To have zero phase shift of the feedback network, its imaguwy part must be zero.
w( 1 - w2 RtRzCtC2) 0
~
2 1
w R R C neglecting zero value.
I 2 I
CD
... (5)
Key Point : This is the frequency ~ the oscilWor a11d it shows that tJre annponents ~ tJre
frequency sensiti"oe arms are the tkciding factors, for the frequency.
In practice, R1 ; R2 ; R and C 1 ; Cz ; C arc selected.
f = I
2~
f I . 1
·Substituting = 2nRC Le. w= RC'
we get the magnitude of the feedback network at the resonating frequency of the
oscillator as,
... (7)
ANalog and Digital EIKtronics .. - 24 Oscillators
The positive sign of I} Indicates that the phase shift by the ft.>edback network is o•. Now
to satisfy the Barkhausen criterion for the sustained oscillations, we can write,
!API ;, t
1 1
lAI ;, jPi ~ (1)
IA I 2: 3 I
This is the required gain of the amplifier stage, without any phase shift.
If R1 ~ ~ and C 1 ~ <; then
Another important advantage of the Wien bridge oscillator is that by varying the two
capacitor values simultaneously, by mounting them on the common shaft, different
frequency ranges can be provided.
Let us see the various versions of the Wien bridge oscillator by considering various
circuits for the amplifier stage.
ch-1 I ~I lc d
Analog and Digital Electronics 4 ·25 Oscillators
-
Food
bad<
Stage 1 i Stage 2
Fig. 4.16 Translstorised Wien bridge oscillator
The resistance R4 serves the dual purpose of emitter resistance of the transistor Q1 and
also the clement of the Wicn bridge.
The two stage amplifier provides a gain much more than 3 and it is neccss.uy to
reduce it. To reduce the gain, the negative feedback is used without bypassing the
resistance R4 • The negative feedback can accomplish the gain stability and can control the
output magnitude. The negative feedback also reduces the distortion and therefore output
obtained is a pu're sinusoidal in nature. The amplitude stability can be improved using a
nonlinear resistor for ~· Due to this, the loop gain depends on the amplitude of the
oscillations. Increase in the amplitude of the oscillations, increases the current through
nonlinear resistance, which results into an increase in the value of nonlinear resistance ~·
When this value increases, a greater amount of negative feedback is applied. nus reduces
the loop gain. And hence signal amplitudr gets reduced and controlled.
ampliJier gain is the product of the gains of the two stages. The operation of the circuit is
similar to the Wien bridge oscillator circuit with op-amp.
v.
~
n-
1--"----v...,• • I
Feedback
,_. Example 4.5 : The frequency sensitive arms of 1M Wim bridge oscil/Gim' uses
C 1 • C2 e O.OOI 11F a ..d R1 ; 10 /en while R2 is kept mrUible. The frequei!C)I is to be Nritd
from 10kHz to 50 kHz, by Vllrying R2. Find the minimum Gnd maximum lllllues of R2'
Solutlon : The frequency of the oscillator is given by,
1
For 10kHz,
R2 ~ 25.33 lcfi
For f. so kHz
50 xt0 3
~ = 1.013 lcfi
So minimum value of ~ is 1.013 ~ while the maximum value of ~ is 25.33 kn.
Analog and Digital Electronics 4-27 Oscillators
3) The feedback network introduces 180" The foedback network does not
phase shift. introduce any phase shift.
5) Op-amp circuU lntroduca 180" phase Op-amp circuU does not introduce
shift. any phase shift.
7) The amplifoer gain condition Is. The amplifier gain condition Is.
lA I ~ 29 lA I ~ 3
8) The frequency variation is difficult Mounting the two capacitors on
common shaft and vatYinu their
values. frequency can be varied.
Table 4.2
ch·, I ~I lc d
Analog a nd Digital Electronics 4 - 28 Oscillators
cy=
converted back to electrostatic energy in capacitor.
chli ch ch M nd
Analog and Digital Electronics 4-29 Oscillators
dis=ln~g-
-- 0 n
inductor L. But the direction of current through
circuit is now opposite to the direction of current
C L earlier in the circuit This is sh own in ~ Fig. 4.24.
+ ....
Again clectrost:atic energy is converted to magnetic
QJIT8f11
energy. When capacitor is fully discharged, the
magnetic field starts collapsing, charging the
Fig. 4.24 capacitor again in opposite direction.
Key Point: Thus Cllptlcitor charges with alttrnJJtt polarities and discharges producing
alttrnJJting cu"mt in 1M tank circuit.
This is nothing but oscillatory current. But every time when energy is transferred from
C to Land L to C, the losses,occur due to which amplitude of oscillating current keeps on
decreasing cvcrytime when energy transfer takes place. Hence actually we get
exponentially decaying oscillations called damped oscillations. These are shown in the
Fig. 4.25. Such oscillations stop after sometime.
Current
+lrnax •• ••
...
-I,.,• .. ···
If=~ I
where L is in henries and C is in farads.
Analog and Digital Electronics 4-30 Oscillators
Feedbad<
'J"';'' networ1<
Feedback
voltage
Amplifier provides a phase shift of 180", while the feedback network provides an
additional phase shift of 180", to satisfy the required condition.
Analog and Digital Electronics -4-31 Oscillators
. .. (3)
.. . (4)
(7)
- AP = (R 0 +ZL)x(z; + Z 3 )
00 0
- Av Z 1 Z2
R0 (Z 1 + Z 2 + Z3
(Zt +Z3)
) J
+ Zz (Zt +ZJ)
[
-Av Z 1 Z 2
... (9)
... (10)
To have 180" phase shift, the imaginary part of the denominator must be zero.
:. I xi + x2 + xJ =o I ... (11)
\. ' chlich ch 1 M nd
Analog and Digital Electronics 4-33 Oscillators
-AJ3 = -AvXt
- x2
=+ Av(~)
x2
...(12)
According to the Barkhausen criterion, - AJ3 must be positive and must be greater than
or equal to unity. As Av is positive, the - AJ3 will be positive only when X1 and X2 will
have same sign. nus indicates that X1 and X2 must be of same type of reactances either
both inductive or capacitive.
While from the equation (11), we can say that ~ =- (X1 + ~) must be inductive if
X1, ~ are capacitive while X3 must be capacitive if X" X2 are inductive.
Table 4.3 shows the various types of the LC oscillators depending on the design of the
reactances X1, ~ and X3.
Table 4.3
~'
__,.__Amplifier produces
~ 180" phase shift
Tank circuit
adds further
1800 phase shift
The resistances R 1 and R2 are the biasing resistances. The RFC is the radio frequency
choke. Its reactance value is very high for high frequencies, hence it can be treated as open'
circuit. While for d.c. conditions, the reactance is zero hence caUses no problem for d.c.
capacitors.
Hence due to RFC, the isolation between a.c. and d.c. opl!cation is achieved. Rt; is also
a biasing circuit resistance and CE is the emitter bypass capacitor. Cc1 and Cc2 are the
coupling capacitor.
The common emitter amplifier provides a phase shift of lSW. As emitter is grounded.
the base and the collector voltages arc out of phase by 180". As the centre of L1 and ~ is
grounded, when upper end becomes positive, the lower becomes negative and viceversa.
So the LC fccdbnck network gives an additional phase shift of 180", necessary to satisfy
oscillation conditions.
© ® Input to
~mplifoe<
c t;l
L2 L, h;e
®
-=-
Fig. 4.30 Equivalent circuit
As hie is the input impedance of the transistor. The output of the feedback is the
current Tb which is the input current of the transistor. While input to the feedback network
is the output of the transistor which is 1, = hreli,. converting current source into voltage
source we get,
crutzt M tcr"
Analog and Digital Electronlc:s 4-35 Oscillators
Now L1 and h;., are in parallel. so the total current I drawn from the supply is,
N X y_ 1
ow Lz + ''C J• OO-:z
1.
+ jooC
jroL1 h.,
and
(jroL1 +h;.,)
••• (3)
. 1 ] jooL 1 h ie
[ JOOLz + .,--C
JOO + (j (j)l I+ I1 ie )
Replacing jco by s,
fs L +...!..] + sl,b ;e
L 2 sC (sL1 +h;.)
-s bre l b Lz
ll+s 2 L2 C) sL1b;.
sC +(sl1 +h 10 )
l X . jroLI
(jooL1 + h;e)
chlich ch 1 M nd
Analog and Digital Electronics 4-36 Oscillators
... {4)
- -s _b~fcw
2
lb~L-=..2 C_(:...sL..!.1 _+_h_,;e.:...)_ _ X sL1
It, = -[s-:---
3 (L L C) + s 2 C hie(L + L )+sL +h;,:] (sLI +h;.)
1 2 1 2 1
3
- s hrclbCL 1L 2
3
l = -s hr0 CL1L2 ... (5)
s 3 (L 1L2 C)+s 2 Chic(L 1 +L2 )+sL 1 +h ie
jm3 hieCL1 L2
•.•(6)
[h;. - o:i-Ch;0 (L1 +L 2 )]+jmL1(t-o:i-L2 C)
Rationallstng the R.H.S of the above equation,
jcolbr.CL1L2 [h; -co2Ch ie(L 1 +L 2 )-jmL1(t-co2L2 C))
1 = ~~~~~---"'-'-~~~~~~~ 0
1
w =1JC~(;,L:::1 =+"'L~)
2
crutzl M 1er"
Analog and Digital Elec:1ronlcs 4-37 Oscillators
This is the frequency of the oscillations. At this frequency, the restriction of the value
of hre can be obtained, by equating the magnitudes of the both sides of the equation (7).
q
w4 h 10 L 2 C(1-cd- L 2 Q 1
1 = O+«f-L1(1-«f- L2 Q 2
at w = r;;;'7F=:=l==f
.JC(L 1 +L 2 )
[t- C(~I\CLz)]
I ~. = ~~ I .•. (9)
... (10)
Now I-t + Lz is the equivalent inductance of the two inductances I-t and tz, connected
in series denoted as
... (11)
I f= 2n}cr; I •. • (12)
Key Point: So if the ct~p~~citor C is lcept variable, frequmcy can be varied uver a large rttngt
as per the requirement.
ln practice, Lt and Lz '1'4Y be wound on a single core so that there exists a mutual
inductance between them denoted as M.
In such a case, the mutual inductance is considered while determining the equivalent
inductance Leq. Hence>
.---------,
.•• (13)
If L1 and ~ are assisting each other then sign of 2M is positive while if ~ and ~ are
in series opposition then sign of 2M is negative.
The expression for the frequency of the oscillations remain same as given by (12).
A practical circuit where the mutual inductance exists between Lt and Lz, of
transistorised Hartley oscillator is shown in the Fig. 4.30.
,_,. Example 4.6 : In a transistorised Hartley oscillatqr the two inducflmces' are 2 mH and
20 11H while the frtquency is to l¥ changed from 950 kHz to 2050 kHz. Ozlculate the
range over which the capacitor is to be wried.
Solutioo : The frequency is given by,
f e
I
2 rt~C(L,'I)
.. c 2.98 pF
For fmin : 950 kHz
1
950xl0 3
2rt~ C X 0.00202
.. c 13.89 pF
ct•'r I M ri1
Analog and Digital Electronics 4-39
Hence C must be varied from 2.98 pF to 13.89 pF, to get the required frequency
variation.
~·
Solving for oo, we get the same expression for the frequency as derived earlier.
f-- 2rt~CL«l
1 I
where L,q=4+Lzor4+Lz+2MI
This is dependent on whether L1, Lz are wotmd on the same core or not.
If 4 = Lz = L, then the frequency of oscillations is given by,
f= 1
. . . (14)
2nJ'i.jLC
ch·, I ~I lc d
1_ Analog and Digital ElectroniC$ 4-40
~ Amp~fier produces
180" phase shift
vo
1---;::==t~~v. /
Tank dreult l&_
~
£ _ 1
2
c,
J Tank clrruit
provides further
180" phase shift
...(1)
I = - v~ ... (2)
· [XC:! +X t. J+ [X<i ll h ;cl
The negative sign is because the current direction is assumed in 1M opposite direction
to that, would be due to the polarities of V0 •
X l . L
Now y_
"C2 + I. = j(l)C2 + JCII
I
.,..--c
l Ol 1
x bie
.md
chlich ch 1 M nd
Analog and Digital Electronics Oscillators
1
= -hre 1{Jfc;-) ••. (3)
- b fc 1b (I + s C1 b k )
... (5)
Analog Md Dlgltall!=lectronlcs 4-43 Oscillators
- hre lb
..• (7)
There is no need to rationalize this as there are no j terms in the numerator, as in the
equation (6 of 4.10.2~.
It can be seen that, to satisfy the equation, the imaginary part of the denominator of
the right hand ~de must be zero.
.. (llh;.[C1 +C2 -WZ LC1 C2 ) ,. 0
(C1 +S> 1
LC1 C2 " [ C1 S
L (C, +S)
c c
N~ C 1+ ~ is nothing but the equivalent of two capacitors C 1 and ~ in series.
I 2
Analog and Digital Electronics 4·44 Oscillators
I ~L~~ I
ro=
...{8)
I f=2~1 ...{9)
.••(10)
Thus the behaviour of Colpitts oscillator is similar to the Hartley oscillator, as basic LC
oscillator circuit is same, except the tank circuit.
Key Point: The Colpitts oscillator is vtry commonly usm as loCill oscil/Qtor in
superlu:terodyne radio receiver.
~ FoiWard path
Tank circuit
f = -, - -
211~
c 2 c,c2
eq c, +~
ll_,. Example 4.8 : Find the frequmcy of the oscillations of lrRnsistorised Colpitts oscill11tor
luroing wnk circuit panmu:ters RS C1 = 150 pF, C2 = 1.5 nF ll1ld L 50 1!1f.=
Solution : The equivalent capacitance is given by,
C C2 lSOxl0- 12 xl.5x10-9
Ceq = -1 - = ----;-::---""7
Cl + Cz lSOxl0- 12 +l.Sxl0-9
136.363xto-12 F
Now
2tt~LCeq
2 ttJSOx lO~xl36.363xl0-1 2
1.927 MHz
.. 500xt0 3
2 tt~IOOx w-6 x ceq
.. (500xl0 3 ) 2
4n2xlOOXIO 6 xCeq
.. ceq 1.0132xlo-9 F
but
cl c2 and C 1 =<;=C
Ceq . =
C1 +C2
CxC c
.. ceq C+C=1
1.0132x10-9
c
2
c 2.026 x 10-9 F 2.026 nF
... (1)
Suppose C 1 =<; = 0.001 11F, L = 15 JLH and the new capacitor <; =50 pF
1 1 1
SO,
C.+ c2 +c3
ceq 4.545xto-11
2n~LCeq
The frequencies are almost same, hence in practice the <;, Cz values are neglected and
q is assumed to be Ceq- Hence the frequency is given by,
I f=~ l .. (3)
Now across C3- there is no transi.~tor parameter and hence the frequency of the Qapp
oscillator is stable and accurate. The transistor and stray capacitances have no effect on C:J
_hence good frequency stability is achieved in Clapp oscillator. Hence practically Clapp
oscillator is preferred over Colpitts oscillator. The transistorised Clapp oscillator Is shown
in the Fig. 4.39.
.-------.-~ •Vee
Fig. 4.40
Converting c:uncnt source to voltage soun:e we get the equivalent cin:uit as shown in
the Fig. 4.41.
Fig. 4.41
... (4)
... (5)
The negative sign as the direction of I is assumed opposite to that which voltage
will force the current I through the circuit.
SOII.I'Ce
X c + XC + X L ; 1 1 . L
2 3 jroC + jroC +J6l
2 3
1
~Xh;0
,......,
1
·•.r +h;.
... (6)
Replacing jro by s,
-1-+ -1-+sL+
sC2 sC3 l -1- +h ·
sCI
r
••
~
0
h; l ... (7)
-hr. Jb .cJ
2 sC2 C3 h;c
C3+C2+s LC2C3+(1+sCt h ;el
+s 3 LC 1 C 2 C 3 h 1.+sC2 C 3 h ;0
-h 10 lb C 3 (l+ sC 1 h;el
... (8)
s 3 LC 1 C 2 C3 h ~+s 2 LC 2 C 3
+sh 10 [C2 C 3 +C1C 2 +C 1C 3]+C 2 +C 3
1 1
X lx -. - - lx--
lx - -c_l_ = JroCJ , _sc_l_.
= -.-
Xcl+h,c I h h
jroCl + ic sCI+ i•
.. . (9)
Substituting I,
-h 10 lb C 3 (l+sC 1 h;.) x,.,....,--;;,-..-.,.
s 3 LC1 C2 C 3 h;. +s 2 LC 2 C 3 (!+sCI h ;el
+sh;. !C2 C3 +C t C2 +Ct C3J+C2 + C3
An81og and Digital Electronics 4·50
1 • ~-----------h~~7·c~
3 ___________
s 3 L C1 C1 C 3 h_,+s 2 LC2 C 3
+sh;c rc 1 c 2 +C 2 c 3 +C 3 C 1J+ ~ +C 3
Substituting s jm, s 2
= =j2m2 =- tJJ2, s3 =- jtJJJ
-h 1.c3
1 = --::-----·--"'-'!:-----
-jm3 LC1 C2 C 3 h;. -wl LC 2 C 3
+ jmh;e IC1c 2 + C 2 C 3 +C 3C 1J+ C 2 +C 3
... (11)
.. . (12)
4.11.2 Advantages
1. The frequency is stable and accurate.
2. The good frequency stability.
3. The stray capacitances have no effect on <; which decides the frequency.
4. Keeping <; variable, frequency can be varied in the desired range.
4.12 Frequency Stability of Oscillator
For an OBcillator, the frequency of the oscillations must remain constant The analysis
of the dependence of the oscil.lating frequency on the various factors like stray capacitance,
tempeTature etc. is called as the frequency stability analysis.
The measure o f ability of an oscillator to maintain the desired frequency as precisely as
possible for as long a time as possible is called frequency stability of an OBcillator.
In a transistorised Colpitts oscillator or Hartley oscillator, the basc-collcctor junction is
reverse biased and there exists an internal capacitance which is dominant at high
frequencies. This capacitance affects the value of capacitance in the tank circuit and hence
the oscillating frequency.
Similarly the transistor parameters are temperature sensitive. Hence as temperature
changes, the oscillating frequency also changes and no longer remains stable. Hence
practically the circuits cannot provide stable frequency.
In general follow'.ng arc the factors which affect the frequency stability of an oscillator:
1. Due to the changes in temperature, the values of the components of tank circuit
get affected. So changes in the values of inductors and capacitors due to the
changes in the temperature is the main cause due to which frequency does not
remain stable.
2. Due to the changes in temperature, the parameters of the active device used like
BJT, FET get affected which intum affect the frequency.
3. The variation in the power supply is another factor affecting the frequency.
4. The changes in the atmospheric conditions, aging and unstable transistor
parameters affect the frequency.
5. The changes in the load connected, affect the effective resistance of the tank circuit.
6. The capacitive effect in transistor and stray capacitances, affect the capacitance of
the tank circuit and hence the frequency.
The variation of frequency with temperature is given by the factor denoted as S.
t:J.ro/ ro, .
S"' ,T: t:J.TIT, parts per million per 'C ... (1)
where dO
BJ
=phase shift introduced for a small frequency change in desired
.. . (2)
frequency
f,.
Key Point : l.Jlrger the value of d&'doo, more s/Jlblt is the oscillator.
Rochelle salts and the strength of the tourmaline. Quartz is inexpensive and easily
available in nature and hence very commonly used in the crystal oscillators.
Key Point : Quartz is widely usa for RF oscillaturs and the filters.
... (1)
The. Q factor of the crystal is very high. typically 20,000. Value of Q upto 10 6 also can
be achieved. ~~ Ql factor approaches to unit and we get the reaonating frequency
I+Q2
u,
... (3)
The crystal frequency is intact inversely proportional to the thldcness of the crystal.
~ where t =thickness
So to have very high frequencies, thickness of the crystal should be very small. But it
makes the crystal mechanically weak and hence it may get damaged, under the vibrations.
H~ practically crystal oscillators are used upto 200 or 300 kHz only.
The crystal has two resonating frequencies, series resonant frequency and paraHcl
resonant frequency.
I f. =~ I 000 (4)
The other resonant condition occurs when the reactances of series resonant leg equals
the reactance of the mounting capacitor CM. This is parallel resonance or anliresonance
condition.
Under this condition the impedance offered by the crystal to the external circWt is
maximum.
Under parallel resonance, the equivalent capacitance is,
c111c
Ceq = CM+C 00 0 (5)
I .
f =
P 2rt~LCcq 000 (6)
Analog and Digital Elec:tronlc:s 4-55 Osc:lllators
jX
X
Readance
(Inductive)
or---------~~~~------=====--.~
:"'P
(
Fig. 4.44 (b) The reactance versus frequency
Analog and Digital Electro nics 4- 56 Oscillatons
'The resistances R 1, ~ Re provide d .c. bias while the capacitor Ce is ernitler bypass
capacitor. RFC (Radio Frequency Choke) provides isolation between a.c. and d.c. operation.
Cc~ and Ca are coupling capacitors.
The resulting drc:uit frequency is set by the series resonant frequency of the crystal,
Change in the supply voltages, temperature, transistor parameters have no effect on the
drc:uit operating conditions and hence good frequency stability is obta.i ncd.
The oscillator circuit can be modified by using the internal capacitors of the transistor
used inatead of <; and <;. 'The separate capacitors C 1, <; are not required in such circuit
Such circuits using PET and transistor are shown in the Fig. 4.46 (a) and (b).
tran,jstor acts as a capacitor required to fulfill the elements of the tank circuit The aystal
decides the operating frequency of the oscillator.
21t~LC<q
430.272
C C 12 12
Ceq _M_ = 2x10·12 xO.olxto·1 =9.95xlO·IS F
~ +~ 2x10· +O.Dlxto· 2
1.128 MHz
ch·, I ~I lc d
Analog and Digital Electronics 4-59 Oscillators
...
Examples with Solutions
Example 4.12 : In a certain oscillator circuit, the gain of the amplifier is [ - 16~106 ] a;w
10 3
the feedback factor of the feedback network is • Verify the Barkhausen
[2><10 3 +jro]2
Criterio11 for the sustairwd oscillations. Also find the frequency at which circuit will oscillate.
Solution : From the given in/ormation we can write,
16><106 10 3
A = - -.- . - and P= --=.;:--;:-
3
JW [2>< 10 + jrof
16><10 9
Now to have L All = o•, the imaginary part of All must be zero. This is possible when, ·
.. Ol = 2 x 103 rad/s~
2.56><10 20
--~~- = 1
2.56x t0 20 +0
,,.. Example 4.13 : Tht frequency Stnsitive Qnt!S of the Wim lnidgt oscillator USt$
=
C1 C2 = 0.001 1J.F and R1 = 10 ~ while R2 is kept varLI!>Ie. The frequmcy is to !>t varied
from 20 kHz to 70 kHz by varying R2• Find the minimum Rnd 1111Lrimum -oalutS of R2•
Solution : The frequency of the oscillator is given by,
1
For 20kHz,
20 X llt
6.33 kO
For 70kHz
Analog and Digital Electronics 4 ·61 Oscillators
R:! = 0.516 kn
So minimum value of R2 is 0.516 kn while the maximum value of R:! is 6.33 lcQ.
,,.. Example 4.14 : For pltaSt shift oscillator, the feet/bade neltoork uses R =
6 lfl atul
=
C 1500 pF. The transistoriw! amplifier used, has a collector resistance of 18 kn Calculate
the frtijUency of oscillations and minimum value of l'fr of the transistor.
Solution : R = 6 lcO, C = 1500 pF, Rc = 18 lcQ
Now K
2nRC.J6 +4K
4.168 kHz
41<+23+~
29
4 X3+23+ 3
44.67
,._. Example 4.15 : In a Wien bridge oscilator R1 = R2 = 100 lfl and the ganged rHJriable
capacitor has a range from 50 pF to 500 pF. Find the range of the frtJfuency of the
osci/J4tions possible.
If the frtJfuency tksired is 50 kHz more than the maximum frequency calculated abovt, ford
the rJQ/ue of the resistmrce to be connected in PQrallel with 100 lc!l.
Solution : For a Wien bridge oscillator,
I
2nRC
2nx100xto3 xSOxto-12
31.83 kHz
and fmln c
2nxtOOxt0 3 xSOO xto -12
Alullog and Digital Electronics 4-62 Oscillators
3.183 kHz
Now fncw fmax + 50 " to3 "' 31.83 X tif + 50 X 103
81.83 kHz
.. 81.83 X to3
2nR'x50xto·i2
I~ Example 4.16 : A Hartley oscillator circuit has C = 500 pF, L1 = 20 mH and L2 = 5 mH.
Find the frequency of oscillAtions.
Solution : For a Hartley oscillntor the frequency is given by,
I
where L,q =L1 + 1--:z
2nJL«~ C
20 + 5
= 25mH
l = --;===~2====:7
3
21tJ25xto- x500x 10·-12
..•
45.01 kHz
168xlo3 •
2~tJLcq x SOxlo - 12
.. 1.-eq 17.95 mH
.. 17.95x10-3 15x 10- 3 + L 2 + Sx 10- 6
.. Lz 2.945mH
L1 + M
Now h~e
L2 + M
15xlo-3 +5xlo- 6
2.945x1o-3 +5x1o-6
5.08
l_. Example 4.18 : A Colpitts oscillator is shown in th~ Fig. 4.48. What is approri'11111re
frtqUtney ? What wm bt tht nw frequmcy if the value of L is doubled ? What shauld be
t~ indudance, to double the frequency ?
Fig. 4.48
Solution : For a Colpitts oscillator,
f = _ _I_ _
21t~LCeq
clc2
-
where Ceq
,+c
c2 but cl c c2 a 0.001 !'I'
L Sxl0-6 H
-.,=======
2~t~Sx 10- 6 xSxlo-10
=3.183 MHz
.. f = = 2.25 MHz
27t~ JOxi0- 6 xsxto -Io
.. 6.366><10 6
27t~LxSx1o - 10
.. L = 1.25 I'H
Ill• Example 4.19 : In the abuue problem if 63 pF capacitor is connected in smes with 5 j.LH
indudor, to make it as Clapp oscillator. What is the new jrequmcy of oscillllficn ?
Solution : For a Clapp osdUator,
I
27t,{fZ;
where 63 pF
8.967 MHz
I~ Example 4.20 : Find tlte resistance R and h1, for the transistor to provide ll resonating
jrtquency of 5 kHz of a transistorised phllst shift oscillator. The biasing resistance are 25 A!l
and 47 1<0. The load resistance is 10 1<0. The capacitor in the tank circuit is 1000 pF while
hit of the transistor is 2 1<0.
Solution : Referring to equation (1) of section 4.5.3, the input impedance is given by,
Rj R1 i1 ~ II h;.,
Now 25 kO, R2 = 47 kO, and h;., = 2 kO
1
1 1 1
25xl0 3 + 47x10 3 + 2xto 3
1.7816 kO
Analog and Digital EJec:tronlcs Oscillators
Now ...given
Now
2rtRCJ6+4K
5 X 1lt
2!tRx 1000x 10-12 x ./6+41<
R ./6+41< 31830.989
Rc toxto 3
Now K R=--R-
R ~ 6 + 4x10;10 3 31830.989
Rz ( 6 + 40x;o~) = . (31830.989}2
Rz [6R+40x10 3 J (318..10.989)2
R
6R2 + 40 X 103R - (31830.989)2 0
2: 4 X 0.5973 + 23 + _
29 :2: 73.94
0 5973
.... Example 4.21 : CAlculalt tht compontnl Nlues of the Wien bridgt suiloble to l>t used in
lht osci/liltor to T1ti1Y tht frtl[Utncy from 100 Hz to 10kHz. in.tht two ranges.
Solution : The frequency is given by,
I
2rtRC
1
chu I M lcrl
Analog and Digital Electronics 4-66 Oacllfators
2nx50x10 3 xC
c
21tX50x10 3 x100
31.83 nF
And
2nx50x10 3 xC
1
c
2nx50x10 3 xt0x103
=318.31 pF
R 0.318 nF
Thus to vary the frequency from 100 Hz to 10 kHz, the capacitor range should be
selected as 0.318 nF to 31.83 nF.
Similarly keeping the. capacitor value constant, the range of the resistance values can
be obtained.
I~ Example 4.22 : !11 Colpitis osa1lator using FET, 1M frrquency of oscillations is o~
to be 2.5 MHz. Oscillator uses : L = 10 J!H, c1 =0.02 J!F.
Find : i) Value if C2 ii) If L is doubltd, the new wlut of frtqucrcy of oscillaticn.•.
Solution : f =2.5 MHz, L = 10 11H, C1 = 0.0211f
For Colpitts oscillator, the frequency is given by,
f = l
2n~LC"'l
Analog and Digital Electronics 4 ·67 Osc:Hlators
~ ,. 0.4136 nF
1.7677 MHz
1.087 MHz
CCM 0.065xl
ii) Ceq C+CM "'0.065+1: 0.061 pF
fp" 2rc~LC~
.,
=. --;,====~
2rt'/0.33x0.061x 10-12
1.121 MHz
OJxL 2nf,L
iv) Q ~ = -R-
2rcx1.087xl0 6 x0.33
s.sx10 3
409.789
, . . Example 4.24 : A FET Hartley oscmator circuit uses coupled coils in the tank circuit,
tach with inductance of 0.1 mH and mutual inductance of 0.025 mH. The circuit uses a
fixed azpacitor of 100 pF in series with a variable CJtpQCitor of 100 pF (trimmer) :
(i) Calculate % change in frequency when dirtetio" of coupling bei!Mm coils is r~,
trimmer capiiCifance set to zero.
(ii) ReptJJI calculations in part (i) when trimmer azpacitsmce is changed from 0 to 100 pF,
assume any one direction of coupling.
Solution : Lt =0.1 mH, ~ =0.1 mH.. M = 0.005 mH. C = 100 pF
(i) Assume one particular coupling direction for which,
L,q Lt + ~ + 2M =0.25 mH
1.00658 MHz
Let the direction of coupling is reversed.,
L,q Lt + ~ - 2M =0.15 mH
-r==~i:===~ = 1.2994 MHz
2Tt~0.15xto-3 x!OOxto-12
% change = f'- f
-y-x 100 = 1.2994- 1.00658 100 = 29 09 'Yo
1.00658 x . •
t..q 4 + ~ + 2M =0.25 mH
C1 = Trim capacitor z 100 pF
I _ 1
2~tJLcq Ceq - 21t.j0.25xtO 3 x50xto-l2
= 1.4235 MHz
f' = I 1
2rt~Leq Ceq =2Jt~0.15x1o-3 x50xto-12
1.83776 MHz
2.9.101%
,_.. Eumple 4.25 : Design a RC plulu shift oscill4tor to ge11erale 5 kHz sine WII'Dt with 20 V
=
peQ)c to peQ)c amplitude. Draw the dtsigntd circuit. Assume hfo 150.
Solution ; For RC phase shift oscillator,
150 41<+23+~
:. 4K.Z - 127 I< + 29 0
K 31.52' 0.23
1
2rtRC.J6+41<
... given f =5 kHz
: .Choose c 1000 pF
R 12.1 kn - 12. kn
I<
R
i i.e. Rc = KR = 2.1 ki'l
Neglecting ·effect of biasing resistances assuming them to be large and selecting
transistor with hu, =2 kn ,
R! = ~=2kn
:. Last resistance in phase shift network
R3 = R- Ri = 12 - 2 =10 kn
Using the bade to bade connected zcner diodes of 9.3 V (Vz) each at the output of
emitter follower and using this at the output of the oscillator, the output amplitude can be
controlled to 10 V i.e. 20 V peak to peak The zener diode 9.3 V and forward biased diode
of 0.7 V gives total 10 V.
Analog and Digital Electronics 4. 70 Osclllatol'S
~
Forward Rc
path R,
R3 5 10 kll, Rc • 2.7kll
R=12kll, C = 1000 pF
27t~CxLcq
2.Sx10 6
27t~Cx2.002xlo- J
C = 2.0244 pF
For f = fmln = 1 MHz.
lx10 6
27t ~Cx 2.002xl0- 3
C = U.6525 pF
Thus C must be varied from 2.0244 pF to 12.6525 pF.
Analog and Digital Electronics 4· 71 Oscillators
,,... Example 4.27 : A quart% crystal luzs tht following constants, L =50 mH,
C1 =0.02 pF, R = 500 n and C2 = 12 pF. Find tire values of f. and J,. 1f tht tttemal
CllpllCitance across the crystal cluznges from 5 pF to 6 pF, find the cluznge in frequency of
oscii/Jltions.
Solution : L = SO mH. C 1 = 0.02 pF, R = 500 n, C 2 = 12 pF
Cl C2 0.02x 12X 10-12 X 10-12
Ceq = C1 + C2 = (0.02+ 12jx 10-12
0.01996 pF
1
2Jt,[LC; = 2rt~SOxlo-3 x0.02xto-12
5.0329 MHz
1
and
2rt~LCoq 2tt~50xl0-3 x0.01996x10- 12
5.0379 MHz
Let C5 " 5 pF connected across the crystal.
.. C2 Cz+C,.
12 + 5
17 pF
L. = c, C'z
<"! cl + C'z
Fig. 4.50 " 0.019976 pF
f'p
2'1t~LC:<"J
5.03588 MHz
chlich ch 1 M n
Analog and Digital Electtonlcs 4-72 Oscillators
164Hz
Review Questions
1. What is tht Bark!ufusm criterion for tht ftedlxtck osci/Wors?
2. EzpiJlln 1M cLrssijialtion of 1M fttd/Nzdc oscillators.
3. Clllssify wrious osdlllltors b4sed on output waveforms circuit components, opmtling
frtquencks and fwlback usd.
4. Draw a rwt circuit diagram tif a p/I4St shift oscil/4tor using BJT. Dniflt! an e:cprtssion for its
frequency tif oscillAtions. Determine lht minimum 'hf( for 1M transistor.
5. Draw 1M Wien bridge oscil/Rtor using BJT. Show thai 1M gain tif the amplifier must be al
letlSt 3 for tht oscillAtions lo occur.
6. Why tht negal~ feedback is incorporated in 1M Wien bridge oscr11Rtor circuit ?
7. What is the type tif feedbock incorporated in the Wien bridge oscillRtor circuit ? E;rp/Rin its
working.
8. Discuss and explain tht basic circuit of an LC oscillator and derive the condilion for the
osci11Rtions.
9. Why tht LC oscillators are nol suitable for low frtquency applications. ? &plain lht principle
tif working of basic LC osci11ators.
10, Writt the slwrt notes on :
b. RC oscilllltors
c. Colpitis OscillAtor d. Htufky Oscilhlor
11. E;rpl•in lht wori:ittg tif Hm~llty O$d11Rior. Dtriw the fomrulR for the frequency.
12. Dtriw an expmslon for frtqutrtcy of osa1/ation of Hartky osdJIJlior using B[T.
13. Dtriw an t;rpmSion for frequency of oscil/41/on of Harlky Olcil/4tor using tnmsistor.
14. ~m lht working tif Colpitts Oscil/4tor. Stole the formu/R for lht frequency.
15. Dniw an apresslon for frequmcy of osci/Wion of transistorized Co/pill$ oscil/4tor..
16. Why art RC oscillsdors prtftrrtd for the gtnm~tlon of low frtttutnda ?
17. Dniw an expmslon for tht frtqUtrtcy of oscilllltions tif RC.phase lhift 06cillators using B[T.
18. E;rpiJlln the worting of Clapp Oscillator.
19. Who! is Piezotl«<ric effrct ? DTJJIIJ and e;rplRin LC. tqUiPillmt circuit of a crystal.
20. What is Pitzoel.tdri& tjftd ? E;rp/Rin the worlcing of Crystal Oscil/4tor.
Analog and Digital Electronics Oscillator$
be improved in oscillators.
23. Explain the working aJ Pince crystal oscillator.
24. Explain the worldng aJ Miikr crysl41 osdllJltcr.
25. Whtrt does tht starting ooltoge for on oscillAtor come from 7
26. Find C and hfr aJ a ITansistor to prwilh a r..cnoting frequency of 10 lcHz of a transistor ~
shift oscillator. R1 ~ 24 Ail. R2 ~ 68 !fl. Rc =181fl. R = 6.8 An and hk =2 !fl.
(Ans. : 575 pf, ~ 44.5431
27. A crystal has L = 0.1 H, C = O.Ql pf, R = 10 Kn and CM ~ 1 pf. find
a. Strits rtSOnance frequency b. Q factor (Ans.: 5.03 MHz., 5.05 MHz, 316.()4)
28. In a Colpitts oscillntor C1 "0.00 )If ond C1 = O.Ql )If and L = S11H
a. C4/culate frtqumcy of osciiUJIIDns. b. If L is doubled, find tht nn~ frrsl~ttncy.
c. Find l. to double the frtqutncy in (a). (Ans. : 2.36 MHz., 1.67 MHz, 1.25 JlHl
29. A trysiRI oscillJltor" has L = 0.4 H, C = 0.085 pF and Mounting arpaciiRnoe CM = 1 pF with
R = Slfl. Find stries and parollel r..cnont frequencies. By what percent does tht parol~/ resonont
frtqumcies. By what ptrmtt dots the parolkl r..cnant frellumcy txoetd tht series resononl
frequency ? Also foul tht a.facwr of the crystol.
30. What type of feedback is employed in osciliJltors ? And whot ort its od!NlniRges ? Disc= tht
conditions for sustaining oscillAtions.
31. Find the copacitor C and hfr for 1/u: tfiiiiSislor to prwilh a ,._ting frequency aJ 10 ldlz aJ
tronsistoriud ~-shift oscr11ator. Assume R1 =25 k!l, R2 = 60 k 14 Rc = 40 kQ, R =7.1k!l
and"!<= 1.8 kCl
ODD
(4- 74)
crutzl M tcr"
Combinational Logic Circuits
5.1 Introduction
When logic gates are connected together to produce a specified output for certain
specified combinations of input variables, with no storage involved, the resulting circuit is
called combinational logic. In combinational logic, the output variables are at all times
dependent on the combination of input variables.
A combinational circuit consist<; of input variables, logic gates, and output variables.
l'hc logic gates accept signals from the input variables and generate output signals. This
process transforms binary information from the given input data to the required output
data. Fig. 5.1 shows the block diagram of a combinational circuit. As shown in Fig. 5.1, the
combinational circuit accepts n·input binary variables and generates output variables
"o Yo
x, Combinational y,
n input Logic moutpul
.,_,
variables Circuit variables
Ym-1
chli ch ch M ri
Analog and Digital Electronics 5-2 Combinational Logic Circuits
Determination
of input and
output variables
,_.. Example 5.1 : Design a combinational logic circuit with three input varillblts tJull tuill
produa a logic 1 output when more than one input ooriablts are logic l .
Solution : Given problem specifies that there are three input variables and one output
variable. We assign A, B and C letter symbols to three input variables and assign Y letter
symbol to one output variable. The relationship between input variables and output
variable can be tabulated as shown in truth Table 5.1.
A B c y
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
crutzl M tcr"
Analog a nd Digital Electronics 5·3 Combinational Logic Circuits
BC
A 00 01 11 10
0 0 0 (il' 0
1 0 1
rr, tn =::D
Fig. 5.3
y AC + BC + AB
Logic d iagram
A In this chapter we are going to study various
c---.._ _, combinational circuits using above illustrated design
Solution : The truth table for the given problem is as shown below.
c o, ~ 0. Output
0 X X X 0
1 0 0 0 0
1 0 0 1 1
I 0 1 0 1
1 1 0 0 1
0 1 D2
co3 00 01 11 10
00 0 0 0 0
01 0 . 0 0 0
11
l!- X
~-xJ ....~
10 0 1 iXj 1
'
Fig. 5.5
y
Logic: dlegram
Fig. 5.6
,_. Example 5.3 : Design 11 combinational circuit that multiplies by 5 11n input decimal digit
represented ilr BCD. The output is tllso ill BCD. Slruw that the oulputs am ~ obtained from
tlrr mput lim•s without UJing 11ny logic gates.
Analog and Digital Electronlca 5·5 Combinational Logic Circuits
Input Output
A B c D y7 y& Ys y4 y3 Yz y1 Yo
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 1 0 1
0 0 1 0 0 0 0 1 0 0 0 0
0 0 1 1 0 0 0 1 0 1 0 1
0 1 0 0 0 0 1 0 0 0 0 0
0 1 0 1 0 0 1 0 0 1 0 1
0 1 1 0 0 0 1 1 0 0 0 0
0 1 1 1 0 0 1 1 0 1 0 1
1 0 0 0 0 1 0 0 0 0 0 0
1 0 0 1 0 1 0 0 0 1 0 1
= =
Here, Y0 = D, Y1 = 0, Y2 = D, Y3 0, Y4 C, Y5 = 8, Y6 = A and Y7 = '0. 1llereforc,
the given circuit can be obtained from the input lines without using any logic gates.
II.. Example 5.4 : Fig. 5.7 shows a diagram for an automobile a/ann circuit used to dettet
certain undesirable conditions. The three switches are used to i1uticate tlte status of the door
by tlte driotr's ~t, the ignition and the head lighJs, respectioely. Design the logic circuit
witlt tlttse three switches as inputs so t/uzt ll•e alarm will be adivated wheneoer either of the
following ccmditwn exists :
The headlights are ON whilt the ignition is OFF.
The door is open while t1te igniHon is ON.
Implement t1te logic circuit using only NAND gates. (See Fig. 5.7 on next page).
Solution : Let us consider D for Door, I for Ignition, L for light. Then conditions to
activate the alarm arc :
1. The headlights are ON while the ignition is OFF.
i.e. L " 1 I = 0 and D may be anything.
2. The door is open while the ignition is ON
i.e. D = 1, I = 1, L may be anything.
Also alarm will sound if logic drcuit output is zero.
Fig. 5.10
, . . Example 5.5 : Design circuit to detect invalid BCD number and implmrtlll using NAND
galt only.
Solution : Truth table
Dec A B c 0 Output Y
K·map S implification
0 0 0 0 0 0
1 0 0 0 1 0 CD
AB 00 01 11 10
2 0 0 1 0 0
00 0 0 0 0
3 0 0 1 1 0
4
5
8
0
0
0
1
1
1
0
0
1
0
1
0
0
0
0
01
11
0
1r,·· ..
4
0
1
.
'
'
: 1
0
7
.e- .. ,s
0
,
,.~
... ..
•
7
8
0
1
1
0
1
.0
1
0
0
0
10 0
•
0
9~!.u ~ ...
ll
9 1 0 0 1 0 Y=AB+AC
10 I 0 I 0 I
11 1 0 1 1 1
12 1 1 0 0 1
13 1 1 0 1 1
14 I 1 1 0 1
15 1 1 I 1 1
Logic d iagram
A--.r---....
e-.,.-,__
y
Fig. 5.11
AND-OR logic can be directly implemented by NAND-NAND logic.
Analog and Digital Electronics 5·8 Combinational Logic Circuits
,_. Example 5.6 : A panel light in the ccmtrol room at the IJtunching of a Sllte/Jite is to go
ON if and only if the pressure in botl1 fuel and oxidizer tanks is equal to or above a required
minimum a11d thue are 10 mi11utes or less to lift off, or if the pressure in the oxidiur ta11k
is equal to or above a required minimum and the pressure in fuel tank is below a required
rni11imwn but there are more than 10 minutes to lift off, or if the pressure i11 the oxidizer
tank is below a required minimum but there are more than 20 minutes to lift off. Design a
two level gate combinational circuit to control panel light.
Solution:
0 OthetWise
Input 3 --t From timer
if input 3 1 Indicates that there are less than or exactly 10 minutes
for lift off.
OOtherwise
Output --t Panel light, if light goes on then
Output 1,
else output 0
Truth table
Let input 1 = A, input 2 = B, input 3 = C.
Inputs Output
A 8 c y
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
-
crutzl M tcr"
Analog and Digital Electronics 5-9 Combinational Logic CircuU. '.
K-map simplification :
Fig. 5.12
y ABC+ABC+iiC
ABC+C(B + AB)
ABC+C(B+A) [·:A+AB=A+B)
ABC+C(AB)
AB$C
Logic circuit :
AB -1""'\'-'A.::B~--1
____~_
c ----L-.1 __.~?~ut
Fig. 5.13
5.3 Multiplexers
Multiplexer is a digital switch. It
Source A___.. SeleCI swilch allows digital information from several
sources to be routed onto a single output
Source B ---o '\ ' · Dala line, as shown in the Fig. 5.14. The basic
\.,.___., \...--.. ou!pul
Enable multiplexer has several data-input lines
Source C ---o
switch and a single output line. The selection of a
Source D ---<> particular input line is controlled by a set
of selection lines. Normally, there arc 2"
Fig. 5.14 Analog selector switch input lines and n selection lines whose bit
combinations determine which input is selected. Therefore, multiplexer is 'many into one'
and it provides the digital equivalent of an analog selector switch.
Fig. 5.15 (a) shows 4-to-1 line multiplexer. Each of the four lines, D0 to ~ is applied
to one input of an AND gate. Selectior1 lines are decoded to select a particular AND gate.
Analog and Digital Electronics 5-10, Combinational Logic Circuits
s1 s0
(a) logic diagram
51 So y lnpu1$
Oulpul
0 0 Do
Enable
0 1 01 input
1 0 02
Seled it>puts
1 1 03 (c) Logic symbol
s
(Select)
E
jEnablo)
Function table
E s Output Y
1 X All Os
0 0 Select A
0 1 Select 8
chlich ch ·, 1 M nd
Analog and Digital Electronics 5 ·12 ComblnaUonal Logic Circuits
74)()(151
(5)
Do y
o, (6)
y
D2
D3
D4
Ds
Ds
Dr
Solec:t Enable
c B A EN y y
X X X 1 0 1
0 0 0 0 Do Do
0 0 1 0 D1 o,
0 1 0 0 D2 D2
0 1 1 0 D3 D3
1 0 0 0 D4 D4
1 0 1 0 Ds Ds
1 1 0 0 De De
1 1 1 0 0., Dr
Table 5.3 Truth table for 74XX151, 8 to 1 mutUplexer
Analog and Digital Electron!~ 5-13 Combinational Logic Circuits
74XX157
E
s
1A
18
2A
28
3A
38
4A
4B
E s 1Y 2Y 3Y 4Y
1 X 0 0 0 0
0 0 1A 2A JA 4A
0 , 18 2B 3B 48
74XX153
Inputs Outputs
1EH 2EN B A 1Y 2Y
0 0 0 0 100 200
0 0 0 1 101 201
0 0 1 0 ~~ ~
0 0 1 1 103 203
0 1 0 0 100 0
0 1 0 1 101 0
Analog and Digital Electronics 5 ·15 Combinational Logic Circuits
0 1 1 0 102 0
0 1 1 1 1Da 0
1 0 0 0 0 200
I
. 1 0 0 1 0 201
1 0 1 0 0 202
1 0 1 1 0 203
1 1 X X 0 0
={~
c
D
DaUO<.CpUI
( Do-D,~ •
EN
Da1o
O«pUI
T<ILSt$0(21
Olea Output
( 0 11- 0:1!)
'---f-----i A
'---t----I e
'---t---tc
'----t---to
--,.,_--.,EN
0, o,
o, 0,
0, 0,
o, o,
1 101
o, o, Wu.ip&~ur
o, o, (1)
v
(0,· 0,)
o,
0, "·
0,
A
8
c
.-----< ~
o, o,
0, o,
o,. 0,
o,. 0,
o,
o.,
o,.
,.
o,
o,
8101
Mu~iuet
(2)
y
tD.-01&1
0:~ 0,
A
8
c
r - EN
u,. o,
§ (0...0,,)
Data output
o., o,
o,.
o,.
o,.
o,,
o,
o,
o,
o,
...,
Nuttiploeaw
(>) (0,. - 0,J)
v
o, o,
o., o,
A
•c
,....-< ...
o). 0,
o,. o,
o,.
o,,
o,,
.,
0,
ll, 811)'
Ml.l~llOf
~ ~.-D, ,l
0, (4)
0,
o,,
"'
1).
o,
y
A
8
c
- r tN
==t::F Fig. 5.21
crutzl M tcr"
Analog and Digital Electronics 5·18 Combinational Logic Cln:ults
,_. Example 5.9 : lmplemeut tile following Boolt11n Junction using 8 : 1 multiplexer.
In the above example we have seen the method for implementing Boolean function of
3 variables with 23 (8) to 1 multiplexer. Similarly, we can implement any Boolean function
of n variables with 2n to 1 multiplexer. However, it is possible to do better than this. If we
have Boolean function of n + 1 variables, we take n of these variables and connect them to
the selection lines of a multiplexer. The remaining slOgle variable of the function is used
for the inputs of the multiplexer. In this way we can implement any Boolean function of n
variables with 2n- 1 to 1 multiplexer. Let us sec one example.
,_. Example 5.10: lmpltmenl the following Booltalljllnction using 4:1 multiplexer.
Mlnterm A B c F
0 0 0 0 0
1 0 0 1 1 o - Do
1 - D, 4 : 1
2 0 1 0 0
A- D2 MUX
r-F
3 0 1 1 1 i i - D3
s, som
4 1 0 0 0
5
6
1
1
0
1
1
0
1
1
l lcJ.
7 1 1 1 0
Fig. 5.23 (a) Truth table F1g. 5.23 (b) Multiplexer Implementation
Do D, D2 D3
0 (i) 2 ~ Row1
A 4 ® ® 7 Row2
0 A
As shown in the Fig. 5.23 (c) the implcm~tation table is nothing but the list of the
inputs of the multiplexer and under them ll~t of all the minterms ill two rows. The first
row lists all those rninterms where A Is complemented, and the second row lists all the
rnintcrms with A uru:omplemented. The rnintcrms given in the function arc circled and
then each column is inspected separately as follows.
• If the two rninterms in a column are not circled, 0 is applied to the
corresponding multiplexer input (sec column 1).
• If the two rninterms in a column are circled, 1 is applied to the corresponding
multiplexer input (sec column 2).
• If the minterm in the second row is circled and mintcrm in the first row is not
circled, A is applied to thl' corresponding multiplexer input (see column 3).
• If the mintenn in tJ:te first row is circll'<i and minterm in the second row is not
circled, A is appJ.U:<i to the corresponding multiplexer input (see colulJUl 4).
Analog and Digital Electronics 5·20 Combinational Logic Circuits
lo the previous multiplexer implementation two least significant variables, i.e. B and C
arc connected to the select lines of the multiplexer. The multiplexer implementation is also
possible by connecting most significant variables i.e. A and B (in above case) to the select
lines of the multiplexer. TI1c procedure for same is explained below.
Here, implementation table consists of ~vo columns. The first column lists all the
mintcrms where least significant variable is complemented (C in this case), and the second
column lists all the mintcrms with least significant variable is uncomplcmcntcd (C in this
ca~). The mintcrms given in the function arc circled and then each row is inspected
separately as follows.
• If the two minterms in a row arc not circled, 0 is applied to corresponding
multiplexer input.
If the two minterms in a row arc circled, 1 is applied to corresponding
multiplexer input.
• If the minterrn in the column 1 is circled, least significant variable is
complemented (C in this case) and applied to the corresponding multiplexer
input.
If the mintcrm in the column 2 is circled, least significant variable (C in this
case) is applied to the corresponding multiplexer input.
A B
(a) lmplementallon table (b) Multiplexer lmplementatlon
Fig. 5.24
Do D, 02 03 o. Ds Ds D1
@ (j) 2 G> @ 5 G 7
A ® ® 10 11 12 13 14 @
0 A A 0 0 A
(a) lmplomontation table
Do
o,
02
+--+--1 03 8 :1 y
'---t--1 0 4 MUX
D;;
Ds
'-----1---i 07
0
B C 0
(b) Multiplexer implcmontation
Fig. 5.25
I'* Example 5.12 : Implemen t the following 8oolt1111 functicn 11Si11g 4 : 1 MUX
Do o, Dz ~ o. 0~ 06 o,
@ <D ® 3 0 5 ® 7
A 8 ® 10 11 @ 13 ® 15
0 0 0
chli ch ch M nd
Analog and Digital Electronics 5 - 22 Combinational Logic Circuits
0
~1
4 :1
2 MUX -
3
B
- rl> E 51 So
c y
D
~4
s. So
5
4: 1
L___ 6
MUX r--
7
0
E
,_. Example 5.13 : Implement lire follcrwing Boolean Junction using 8 : 1 multiplexer.
crutzl M tcr"
Analog and Digital Electronics 5 ·23 Combinational Logic Circuits
The truth table for this standard SOP form can be given as
No.
0
Minterms A
0
8
0
c
0
D
0
.v
0
1 AIJC D 0 0 0 1 1
2 0 0 1 0 0
3 AllCD 0 0 1 1 1
4 AIJC D 0 , 0 0 ,
5 ADCD 0 , 0 1 1
6 AIJCO 0 1 1 0 ,
7 0 1 1 1 0
8 1 0 0 0 0
9 , 0 0 1 0
10 1 0 1 0 0
11 AI.ICD , 0 1 1 1
12 1 1 0 0 0
13 1 1 0 1 0
14 1 1 1 0 0
15 ABCD 1 1 1 1 1
- ~7
,-- bo
o,
Do o, 02 03 04 Ds 06 07 ~ Dz
(j) @ @
- I- 03 8: 1
I-y
0 2 ® ® 7 o, MUX
A 8 9 10 ® 12 13 14 @ Ds
Da
0 A o A A A A 07
s, So
~
0
III
8 C D
(a) lmplementallon tablo (b) Multiplexer Implementation
Fig. 5.27
1-
Analog and Digital Electronics
=
F(A, B. C, 0) lt M (0, 3, 5,6. 8, 9, 10, 12, 14)
5 - 24 Combinational Logic Circuits
Solution : Here, instead of mintcrms, maxtcrms arc specified. Thus, we have to drclc
maxlcrms which arc not included in the Boolean function. Fig. 5.28 shows the
implementation of Boolean function with 8: 1 multiplexer.
A
Do D, D2 D3 o. D$ D6 o,
1\ 0 Ci) 0 3 0 5 6 0
A 8 9 10 ® 12 @) 14 @
0 -A -A A -
A A 0
B C 0
(a) lmplemen"'tlon table (b) Mul tiplexer implementation
Fig. 5 ..28
,...,. Example 5.15 : Implemmt lite following Boolean function with 8 : 1 multiplexer.
F(A, 8, C, D! = I
Ill (0, 2, 6, 10, I1. 12, 13) + d (3, 8, 14)
Solution : In the given Boolean function three don't care conditions are also specified.
We know that don't care conditions can be treated as either Os or ls. Fig. 5.29 shows the
implementation of given Boolean function using 8 : 1 multiplexer.
A
Do D, D2 03 D, D$ Ds D,
® 1 0 @ 4 5 @ 7
A @ 9 @ ® ® ® e 15
A A 0
Hera,· don't CoafM are treated as 1$
B C 0
Fig. 5.29
chli ch ch M nd
Analog and Digital Electronics 5-25 Combinational Logic Circuits
D D
D 0 1 D 0 (j)
0 2 3 0 2 3
0 4 5 0 4 5
6 7 @ <D
D 8 9 D 8 ®
10 11 ® @
12 13 ® 13
0 14 15 0 14 15
(a) (b)
Fig. 5.30
Here, implementation table is listrd for least significant bit i.e. D. The first column list
all minterms with D is complemented and the second column lists all the minb!nns with D
uncomplemcntcd, as shown in Pig. 5.30 (a). Then according to data inputs given to the
multiplexer minterms are circled applying following rules.
If multiplexer input is 0, don't circle any mintenn in the corresponding row.
• U multiplexer input 1, circle both the mintcnns in the corresponding row.
li multiplexer input is D. circle the mintcnn belongs to column D in the
corresponding row.
If multiplexer input is D. circle the mintcrm belongs to column i5 in the
corresponding row.
This is illustrated in Fig. 5.30 (b). Now circled min terms can be written to get Boolean
expression as follows :
Y =ABC D+A BC D•A BC D + A B C D+A BCD+ A 8 C D+A BC 5
chli ch ch M nd
Analog and Digital Electronics 5 - 26 ComblnaUonal Logic Circuits
Solution :
Do 0, 0, o,
Wi 0 0 2 3
G) 5 @ (i)
wi ® @ @) @
wx 12 13 14 @
Do Wx+wX Dl = WX+wX =i1
wex
D2 Wx+wi D3 Wx+wX+\VX
wex x+wx
\V+X
y z
Fig. 5.31
5.4 Demultiplexers
A demultiplexer is a circuit that receives information on a single line and transmits
this information on one of 2" possible output lines. The selection of specific output line is
controlled by the values of n selection lines. Fig. 5.32 shows 1 : 4 demultiplexer. The single
input variable Din has a path to all four outputs, but the input information is directed to
only one of the output lines.
Enable s, So Din Yo v, y2 y3
0 X X X 0 0 0 0
1 0 0 0 0 0 0 0
1 0 0 1 1 0 0 0
1 0 1 0 0 0 0 0
1 0 , 1 0 , 0 0
1 1 0 0 0 0 0 0
1 1 0 1 0 0 1 0
1 1 1 0 0 0 0 0
1 1 1 1 0 0 0 1
o.,
Yo
o., v,
y2
A
y3
B
c
tllil h chu I M
Analog and Digital Electronlcls 5-29 Combinational Logic Circuits
A B a,. 0 Bout
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
() 1 1 0 1
1 () 0 1 0
1 () 1 0 0
1 1 () 0 0
1 1 1 1 1
With Din input 1, demultiplexer gives minterms at the output so by logically ORing
required minterms we can implement Boolean fWlctions for full subtracter. Fig. 5.34
shows the implementation of full subtractor using demultiplexer.
Yo
v,
y2
1: 8 Ya
Drn= 1 OEMUX v,
Ys
Ye
y7
s0 s, s 2
A B C
5.4.1 1 to 16 Demultiplexer
R, R, R, ~
crutzl M IC!"
Analog and Digital Electronics 5 . 31 Combinational Logic Circuits
The IC 74 X154 can be USl.>d as 1 to 16 demultiplexer by using one of the enable inputs
as the multiplexer data inp ul When the o ther enable input is low, the add ressed output
will follow the state of the applied data. The Table 5.9 shows the function table of
IC 74X154.
Inputs Outputs
0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1
0 0 0 1 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1
0 0 0 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1
0 0 0 1 1 0 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1
0 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1
0 0 1 0 0 0 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1
0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1
0 0 1 0 '1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1
0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1
0 0 1 1 0 0 1 I I I I 1 1 I 1 I 1 1 0 1 1 1
0 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1
0 0 1 1 l 0 1 1 1 1 1 1 1 1 1 1 1 1 1 I 0 1
0 0 1 1 1 1 1 I 1 1 1 1 1 1 1 1 1 1 1 1 1 0
0 1 • • • • 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 0 • X
• X 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 • • • X 1 1 1 1 1 1 1 1 1 1 I 1 1 1 1 ,
Solution :
5.5 Decoders
A decoder is a multiple-input, multiple-output logic circuit which converts coded
inputs into coded outputs, where the input and output codes are different. The input code
generally has fewer bits than the output code. Each input code word produces a different
output code word, i.e., there is one-to-one mapping from input code words into output
code words. This one-to-one mapping can be expressed in a truth table.
tllil h chu I M
5 ·33 Combinational logic Cln:ults
Decoder Vs Demultiplexer
Sr. Decoder Demultiplexer
No.
1. Decoder is a many inputs to many outputs Demultiplexer is a "1\fl Input to many outputs
device. device.
Multiplexer Vs Decoder
Multiplexer has several data-input lines and a single output line. The selection of a
particular input line is controUed by a set of selection lines. The data of selected input line
is routed to the output line. On the othcrhand, decoder has n input lines and 2" output
lines. Each output line represents one minterm. Decoder activates one of the output line
depending on the input combination.
Applications of Decoder
1. It can be used to implement combinational circuit
2. It can be used to convert BCD into 7-scgment rode.
3. It is used in memories to select particular register.
Solution : Fig. 5.40 shows 3 to 8 line decoder. Here, 3 inputs are decoded into eight
outputs, each output represent one of the minterms of the 3 input variables. 1he three
inverters provide the complement of the inputs, and each one of the eigltt AND gates
generates one of the minrerms. Enable input is provided to activate decoded output based
on data inputs A, 8, and C. The table shows the buth table for 3 to 8 decoder.
crutzl M tcr"
Analog and Digital Eleetronic:s 5-35 Combinational Logic Circuits
'A ii
v0~iiii c
Y1;'Aiic
Y:z"ABC
'
Y3•ABC
v.•Aii c
Y5"ABC
Y8• ABC
Y,.=ABC
Enable(EN)
Fig. SAO 3 : 8 line decoder
Analog and Digital Electronics 5· 36 Combinational Logic Circuits
Inputs Outputs
Inputs Outpu1s
G 8 A y3 Yz y1 Yo
1 X X 1 1 1 1
0 0 0 1 1 1 0
0 0 1 1 1 0 1
0 1 0 1 0 1 1
0 1 1 0 1 1 1
o - - v0
·y,
2 y2
74154
Gv.
~
,..., Example 5.22 ; Design 5 to 32 decoder using one 2 to 4 and four 3 to 8 decodLr ICs. ·
Solution ; The Fig. 5.45 shows the construction of 5 to 32 decoder using four 74lS138s
and half 74lS139. The half section of 74lS139 IC is used as a 2 to 4 decoder to decode the
two higher order inputs, 0 and E. The four outpull: of this decoder are used to enable one
of the four 3 to 8 decoders. The three lower order inputs A, B and C are connected in
··--
74t.SUI(t)
.. ..
8 8
··--
··--
c c v,;.--
v, - .
.-- G, v, ;.--
"• :>--
r-'
""'
G,.
··~
141..St31(Z)
- ~
tG tY0
tv,
>-I- - A
8
c
· --
v,l>--
v,;.--
v,~
v,l>--
0 - tA w,
v, l>--
1-- G,
E - ....___
18 tv, p---
- ""'c,.
"•!>--
"•!>--
I<UitleP)
1- -A Yo!>--
•c v,l>--
v, l>--
v,l>--
v, ,__
- G, v,,__
,_.. G,. v,,__
G,. v,,__
·-
UL$131(4)
'- I-A
B v,,__
c v,,__
v, ,__
v,-.
ENz G, v,l>--
EN., G,.. v,l>--
G,. v,l>--
chlich ch 1 M nd
Analog and Digital ~lectronlcs 5 ·.CO Combinational Logic Circuits
,... Example 5.23 : Dtsign 4 lint to 16 lim decoder using 2 lint to 4 line decoders.
c Ao Do Do
o, o,
D Bo 0
2:4
02
Decoder
E 03
A A
B B
0
2:4
Decoder
Fig. 5.46
Analog. and Digital Electronics 5·41 Combinational Logic Cln:ults
A
B
c
F
'
'
Fig. 5.47 Single output function implementation using decoder and gate
POS Function Implementation
When decoder output is active high, we can implement the POS function in similar
manner as for 501' function except fu~ction output is complemented. This can be achieved
by connecting NOR gate Instead of OR gate. This is illustrated in Fig. 5.48. The Fig. 5.48
shows the implementation of function f =rtM{l . 3.5.7) u.~ing 3 : 8 decoder with active high
outputs.
chli ch ch M nd
Analog and Digital Elec:tronica Combinational logic Cireuita
F: ~tM (1. 3. 5, 7)
Fig. 5.48 Implementation of POS function using decoder
(with active high outputs} and gate
For Active low Output
InpUts{:
c-
F
F ~ nM (1, 3, 5, 7)
Fig. 5.49 (a} Implementation of POS function using decoder
(with active low ouputs} and gate
I iJ li>Chllicf
Analog and Digital Electronics 5-43 Combinational logic Circuits
F=Dn(1,2, 5. 7)
Fig. 5.49 (b) Implementation of SOP function using decoder
(with active low o utputs) and gate
I~ Example 5.24 : Implement foi111Wing multiple output function using 74LS138 and
external gates. r, (A, B, C) = Im(l, 4, 5,7)' F2 (A, B, C)= !tM(2, 3,6,7).
Solutio n : In this example, we use IC 74LS138, 3 : 8 decoder to implement multiple
output function. The outputs of 74LSI38 are activ!! low, therefore, SOP function (function
F1) can be implemented using NAND gate and POS function (function Fv can be
implemented using AND gate, as shown in Fig. 5.50.
F1 =tm(1,4,5, 7)
F2 = nM (2. 3, 6 , 7)
Fig. 5.50
•• Example 5.25 : Implement full subtracter usi11g a decoder and write a truth table.
Solution : The truth table for full subtractor is as shown in Table 5.14.
Inputs Outputs
A B Bin D Bout
0 0 0 0 0
0'" , •. ,, 1 l<zfo..,rp, 1
! ;/fk ,;1-:
A~log and Digital Electronics 5·44 Combinational Logic Circuits
\
'
Yo
v,
y2
YJ
3:8
Decoder v.
Ys
Ye
v,
J..
Fig. 5.51 Implementation of full subtractor using 3 : 8 decoder
Example 5.26 : Impltmmt Gray to Binary code convtrtu usi11g suitable decodu.
Solution : Table 5.15 shows the truth table for 3-bit binary to gray code converter.
0 0 0 0 0 0
0 0 0 0
0 0 0
0 0 0
0 0 0
0
0 0
0 0
Table 5.15 Truth table for 3-bit binary to gray code converter
ch11ld ~I t lid
Analog and Digital Electronics 5 · 45 Combinational logic: Circuits
The Flg. 5.52 shows the implementation of 3-bit binary to g1ay code converter using
3:8 decoder. As outputs of 74138 a.re active low we have to usc NAND gate instead of OR
gate. The active low output from the decoder forces output(s) of connected NAND gate(s)
to become HIGH, thus implementing the function.
A
3:8
8 O.Cocf•r
IC 74138
c
Fig. 5.52
Solution :
Fl'·,,i~. ·~•;;;--~, .• ;.l¥>~.;;~~ ~ '"'·i~'~···o •: ;:;;c,:{~ ;:~:-;::,.
~ ,. iir:-~;,~·: .· 'lP'ils. ': ~-"-111/'~oo ' ")' .. "!31 -· ·~""!'\~ , ••.• te.
· ·· • ~~:~' ·_: ~"'f'a. · 'h·~·:ii.' ·A. ·>·a.
~- A1 ~··~ •. :.,:_•. l "jl!lt·-• o"' ..'A .,.·(f.. ,_,;;.<:a:
--··
0 0 0 0 0 1 0
0 0 0 0 0 1
0 0
0 0
0 0
0 0
0
0
0 0
0 0
0
0 1
0
1 0
1
' .1
Analog and Digital Electronics Combinational Logie Circuits
Do
o, -
02
03
---
1--
A >B
o. 1--
Os
De :-
A, - A
Ao- B 4:16 ~ A=B
B,- c Dec:ocl«
Os
Bo- 0
Dg
Dlo
On n A<B
012
Ou
D,.
Enable- E
015
Fig. 5.53
, . . Example 5.28 : D~ign and implement a full adder circuit using 1t 3 : 8 dtaJdu.
Solution : Truth table for full adder is as shown in the Table 5.17.
In~ Outputs
crutzl M tcr"
Analog and Digital Elec:tronlc:a 5·47 Comblnatlonaf Logic,Circuits '
A A
3:8 Cany
B B Decoder v.
G.. c Ys
Ye
IC 74138
Yr
SlMll
Fig. 5.54
Note : IC 74138 has active low outputs.
Vee
Ao
~ A,
A2
IC 7442/ JC 7445
4 ~
5 '§
ll
GND
chlich ch 1 M nd
Analog and Digital Electronics 5-48 Combinational Logic Cireults
The JC 7445 is al'IO a BCD to decimal decoder with identical pin description as that of
IC 7442. However, IC 7445 p rovides open collector outputs.
0 a. b, c, d, e. f 18·
• c
•
1 b,c 8:
2 a. b, d. e,g
•• ffi·
.
3 e,b,c,d,g ~:
•
4 b, c. f. g I@·
• e
5 a, c, d, I, g 1@.
.
•
.
8 e. c. d. e, I, g :lilt
•
7 a. b. c 8:
8 a, b, c. d. e, I. g ·riJ·
• 9 •
•
.'@"
9 a,b, c. d.l,g .
•
'
Table 5.18
From the Table 5.18 we ca_n determine the truth table for BCD-to-7 segment
decoder/driver. This truth tabl.e also depends on the construction of 7-segment display. If
7-segment display is common anode, the segment driver output must be active low to
glow the segment. In case of common cathode type 7-scgment display, the segment driver
output must be active high to glow the segment. Table 5.19 and 5.20 show the truth tables
for both BCD to 7 segment decoder/driver with common cathode display and with
common anode display respectively.
Digit A B c D a b c d e f 9
0 0 0 0 0 1 1 1 1 1 1 0
1 0 0 0 1 0 1 1 0 0 0 0
2 0 0 1 0 1 1 0 1 1 0 1
3 0 0 1 1 1 1 1 1 0 0 1
4 0 1 0 0 0 1 1 0 0 1 1
5 0 1 0 1 1 0 1 1 0 1 1
6 0 1 1 0 1 0 1 1 1 1 1
7 0 1 1 1 1 1 1 0 0 0 0
8 1 0 0 0 1 1 1 1 1 1 1
9 1 0 0 1 1 1 1 1 0 1 1
4 0 1 0 0 1 0 0 1 1 0 0
5 0 1 0 1 0 1 0 0 1 0 0
6 0 1 1 0 0 1 0 0 0 0 0
7 0 1 1 1 0 0 0 1 1 1 1
8 1 0 0 0 0 0 0 0 0 0 0
9 1 0 0 1 0 0 0 0 1 0 0
Table 5.20 Truth tablo for BCD-to-common anodo 7-sogment decoder/driver
Let us Msign u,c combinational circuit for common cathode 7-segment display/driver.
K-map simplification
For a Forb For c
CD CD co
AS 00 AB 00 01 11 10 AB 00 01 11 10
j..---.
00 ~-..: i 1
c~ _;.l 00
:0 0 '1\- 0
:dI
01
11
01
11
.xt,.
11
:
1.I •' 0
X I xF
0
X
01 ij1
11
II
1 i
xi xl
1!
I
X
1
--...
'12<- -X
10
8 1 ._:] X1 . 10 lt1 :l1 x}.
a=A+C+BO+BO b=B+CO + CO
01 0 fii"
--- tx
~
0 i' 1 01 0 0 0 11
. xr
01 '1
~: 0
rrt
11 X
~ X 11 X X X 11
JSr 2j X
'\.4
10 1l 1 lrx- 'X 10 _::;_) 0 X ·~ 10 1 1 X x)
For g
cooo 01 11 10
AB
00 0 0 1'[1 lf1t
01 lT 11'
I
0
li1
11
~ 2J X I! Jel
10 1 1 l fX
~G.
g=A+ BC+BC•CD
Fig. 5.56
ct 11IZI· ~I '"'
Analog and Digital Electronics 5 ·51 Combinational' Logic Circuits
Logic diagram
A B c 0
Rl Rl Rl Rl
eo
.--.. iil5
.
F
co
J
C5 ~ =D--
I
- co
J
R~
B\<P b- d
:D- ..
~II
eo
=~
J L
~
Fig. 5.57
, . . Example 5.29 : Implement RCD-to-7 segment decoder for common anode 11sing 4 : 16
decoder.
Solution : Referring the truth table from Table 5.25 we can implement BCD-to-7 segment
decoder Cor common anode as shown in the J;ig. 5.58. (&ie Fig. 5.58 show on next page).
crutzl M IC!"
Analog and Digital Electronics 5-52 Combinational Logic Circuits
Active low Outputs
For Common Anode
Display
NC • Not CoMecled
Flg. 5.58 BCD-to-7 segment decoder using 4 : 16 decoder
T+Vcc
-I
F v
cc
Common
a R
8
b b
c c
Common
Seven
segment
BCD( :C
inputs
anode
decoder/
d d
common
driver •node
e 8 display
0
f f
~ Q
GNO
.l Currer} limiting
lllSI$10111
r v
cc ,_
9
R a
b b
c c
Seven
Common Mgment
cathode d d common
decoder/
driver e .. cathode
display
r I
!9 g
Curre~tjlimiting
GND
Ao Vee
A,
U' 9
BiiRBo i
RBI b
Az c
~ (j
GNO e
Fig. 5.61 Pin diagram for 7446A, 7447A and 74l.S47
Analog and Digital Electronics 5 · 54 Combinational Logic Circuits
Pins ~ A 1, A2 and A3 represent BCD inputs with Ao as a least significant bit (LSB)
and A3 as a most significant bit {MSB). Pins ii through i1 are the seven segment outputs.
These are active low outputs, i.e. when segment output goes low (active state), segment is
made 'ON'. The test lamp pin (LT) is provided to test whether all segments are working
properly or not. When 1:1· pin is held low with RBI pin open or at logic high, IC drives all
display terminals ON (active low). When the BI/RBO pin is pulled low, all outputs arc
blanked ; this pin also functions as a ripplc;,-blanking output terminal. BI/RBO along with
Rffi can be used to provide ripple blanking feature discussed later.
Circuit to Drive Single Seven Segmont LED Display
Pig. 5.62 shows a circuit to drive a single, seven segment, common anode LED display.
For common anode, when anode is connected to positive supply, a low voltage is applied
to a cathode to tum it on. Here, BCD to seven segment decoder, IC 7447 is used to apply
low voltages at cathodes according to BCD input applied to 7447. To limit the current
through LED segments, resistors are connected in series with the segments. This circuit
connection is referred to as a static or non-multiplex display because current is being
passed through the display at all times. ·
•SV
R
a
R
b
R
c
d
R
0
+SV
e
R
R
0
R
g
-=-
Fig. 5.62 Circuit for drivi ng single seven segment display using 144611441
The value of the resistor in series with the segment can be calculated as follows :
We know, Vee- drop across LED segment - IR = 0
Drop across LED segment Is nearly 1.5 V.
IR Vee -1.5 v
5-l.SV
3.5 v
tllil h chu I M
Analog and Digital Electronics 5. 55 Combinational Logic Circuits
E.~ch LED segment requires a current of between 5 and 30 rnA to light. Let \IS assume
lhat current through LED segment is 15 rnA
3.5 v
R
In practice, the voltage drop across the LED and the output of 7447 arc not exactly
predictable and the exact current through the LED is not critical as long as we do not
exceed its maximum current rating. Therefore, a standard value 220 n can be used.
DP0
R R
------------------~------------------
BCD lopu1S
Fig. 5.63 Cascaded multi-digit non multiplexed display system
chli ch ch M nd
Analog and Digital Electronics 5-56 Combinational Logic Circuits
Control
logiC
codrive
declmal
pointS
~
BCD inputs
BCD Inputs
To understand the working of signa.ls RBI and RBO we will see the internal circuit for
these two signals, as shown in Fig. 5.66.
{
~
BCD A,
mputs ~
A3
RBI
WhL'll RBI is low (activated) and all the BCD inputs are zero, then RBO goes low.
Looking at Fig. 5.64 we can observe that when there is leading zero, digit 2 is blanked and
it sets RBI zero for adjarent digit (digit 1), so that if BCD inputs for adjacent digit (digit 1)
are 7-Cro, the digit is blanked.
In case of trailing zero the process of blanking starts from the right most digit. Here,
digit 0 is blanked if all BCD inputs to the digit 0 are zero. U so, RBO for digit 0 goes low
and therefore RBI input for digit 1 is low. Now if all BCD inputs of the digit 1 arc zero
then digit 1 is blanked.
R
-~~~~--------~------~~------~------- ii
-~~~~r-------~------~~-------t~----- b
~
e ~
dt
•! ~
,,
abcde •
,-,
0 def9
8 ,-,ObC de 3bcde
0 - t:t 0
f{
Fig. 5.67 Common anode seven segment display in multiplexed connection
The BCD code for digit 0 is first applied to the 7447. The 7447, BCD to seven segment
decoder outputs the corresponding seven segment code on the segment bus lines. The
transistor Oo connected to digit 0 is then turned on by corresponding control signals. All
of the rest of the control lines are made high to ensure no other digits are turned on. After
2 ms, digit 0 is turned-off by making aU control inputs high. The BCD code for digit 1 is
then applied and the conb'ol input for digit 1 is made low to tum it ON. After next 2 ms,
digit 1 is tumed-Qff and the proce55 is repeated for digit 2 and digit 4. After completion of
tum for each digit, aU the digits are lit again in tum.
With 4 digits and 2 ms per digit we get back to digit 1 every 8 ms or about 125 times
a second. This refresh rate is East enough that, to our eye and due to persistence of aU
digits will appear to be lit all the lime.
BCD {
input
>--
>--
-
-
-
-
ii1iRiiO
Rlii
rr
Ao
A,
A,
IC
7..8
•
b
c
d
•
I
• t < d • I g
.}
b
e
d
•
I
Ae1ive
h;gh
segment
Bits
- AJ 9 g
ab Cd e f g
I
,-, ,-, ,-, ,-, I
aocdef9 abC de to aaedef g
0 0 0 1:1
Q;gll 3
Di\;11 2
R
R
~~· ~~· ~~· ~--·
Conoot{ o;g;,' R I
"'""''
D<gii O R
5.6 Encoders
An encoder is a digital circuit that
performs the inverse operation of a
2"-data decoder. An encoder has 2° (or fewer)
inputs
n input lines and n output lines. In
2 :n n data
outputs encoder the output lines generate the
Encoder
binary code corresponding to the input
Enable
Inputs
value. The Pig. 5.69 shows the
general structure of the encoder circuit.
As shown in the Fig. 5.69, the decoded
Fig. 5.69 General structure of encoder infotn1ation is presented as 2n inputs
producing n possible outputs.
74XX147
Decimal
inputs
4
• • • 0 1 1 1 1 1 1 0 1
5 • • X X 0 1 1 1 1 1 0 1 0
6 • X X X X 0 1 1 1 1
,
0 0 1
7 X X X X X X 0 1 1 0 0 0
8 X X X X X X X 0 1 0 1 1 1
9 X X X X X X X X 0 0 1 1 0
R R R R R R R R R R 74LS147
1
2
3
A>--
4
5
6
B >--
C>-
0>-
}sco
7
8
9
1 2 3 4 5 6 7 8 9
Inputs Outputs
Do 01 02 o, o,. Ds o, 0., A B c
1 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 1
0 0 1 0 0 0 0 0 0 1 0
0 0 0 1 0 0 0 0 0 1 1
0 0 0 0 1 0 0 0 1 0 0
0 0 0 0 0 1 0 0 1 0 1
0 0 0 0 0 0 1 0 1 1 0
0 0 0 0 0 0 0 1 1 1 1
Inputs Outputs
Do 01 02 03 y1 Yo v
0 0 0 0 X X 0
1 0 0 0 0 0 1
X 1 0 0 0 1 1
X X 1 0 1 0 1
X X X 1 1 1 1
K-map simpllflcatlon
For v0 For V
00 01 11 10 00 01 11 10 00 01 11 10
r.
I
,,
I I
00 X
'
( 1')
:
'
1 00 X 1r
"':'v 0 00 0
[[' I (1! 1') I
01 0 !. II· 1 01 r; ·lf11 1' 0 01 . 1
I• 1 1\1•
11 0 1
11
1 1
I~ ~ dr
11 0 11 ~ , li 1 11 •J.i
10 0 1 ' '
l\..1) 1
I
10 0 l 1 ;) 0 10 . 1 ll• 1 I ,j)
..
Fig. 5.73(a)
ch11ld ~I t lid
Analog and Digital Electronics 5-64 Combinational L ogic: Circuits
Logic: diagram
~
~
,.._
_ ./
v,
'·
Ts
Vc:c
ro (5)
Ta G5
T7 IC IC 74148
74148
Encoder GS
Ei
(14)
~
'A, lo
GNO
crutzl M 1er"
Analog and Digital Electronics 5 - 65 Combin ational Logic Circuits
Ei is the active low Enable Input. A high on the El will force ali outputs to the
inactive (high) state and allow new data to settle without producing erroneous. information
at the outputs.
A Group Signal (GS) is asserted when the device is enabled and one or more of the
inputs to the encoder are active. Enable Output (EO) is an active low signal that can be
used to cascade several priority encoder devices to form a larger priority encoding system.
When aU inputs arc high, i.e., none of the input is active, the EO goes low indicating that
no priority e vent connected to the IC is present. In cascaded priority encoders, EO is
connected to the Ei input of the next lower priority encoder. The Table 5.24 shows the
truth table for 74XX148 priority encoder.
Inputs Outputs
El 0 . 1 2 3 4 5 6 7 ~ A, Ao GS EO
1 X X X X X X X X 1 1 1 1 1
0 1 1 1 1 1 1 1 1 1 1 1 1 0
0 0 1 1 1 1 1 1 1 1 1 1 0 1
0 X 0 1 1 1 1 1 1 1 1 0 0 ,
0 X X 0 1 1 1 1 1 1 0 1 0 1
0 X X X 0 1 1 , , 1 0 0 0 1
0 X X X X 0 1 1 1 0 1 1 0 1
0 X X X X X 0 1 1 0 , 0 0 1
0 X X X X X X 0 1 0 0 1 0 1
0 X X X X X X X 0 0 0 0 0 1
tllil h chu I M
Analog and Digital Electronics 5 · 66 Combinational Logic Circuits
~ 74LS1 48(1)
El Az
13,__. 17 A,
13()- 16 Ao
1 z~ --< 1 s
l2a--< 1,
127 --< 13 4 to2
lza--<lz Encoder
---------.
1zs--< 1•
12•---< lc
GS
EO~ .
I
J
L 74LS148(2)
El Az
123- 17 A,
122 - 16 Ao
J>+-
121- Is
120- I.
l, g - 13 ,__
' 'a-
In-
l2
I, GS ----------
' •a- lo EO~
I
' - El
74L~
A2 ~
1•s- 17 A, .J
Ao
.,_.3
'••-·6
'•3- ··'s
1, 2-
l,o - •2
I "":l
!!)--< ., GS
EO~
p-
•s- lo
El
L 74LS148(4)
A2
17- 17 A,
•1sa-- 1Iss Ao
1 4~ fA
·3- 13
12___, 12
'· -'·
1o---< 1o
GS
EO f - -
~
GS
Fig. 5.75 32·1nput to 5 output priority encoder using four 74LS148s and gates
crulzl M tc1"
Analog and Digital Electronics 5 ·67 Combinational Logic Circuits
Review Questions
t. Exp/lzin the design proredurt for combinntiOIUII circuits.
2. Wlutt is multiplexer ? DrttW tht logic diagrtmr of 8 lo 1 lint rnultipltxtr.
3. Design even parity gtntrator circuit for 4-bit input using multiplexer.
4. Implement f(A, 8, C, D)= I
rrr (0, 3, 5, 6, 10, 12) using 8:1 multipleur.
5. lmpltlllelll tht folluwing fundioll using 8 : 1 MUX :
j(A, 8, C, D) " 1t M(O, 3, 5, 7, 12, 15) + d (2, 9)
6. lmplemc:nt tht following functiQn using 4 : 1 multiplexers with active low strobe input :
f(A, B,C, D)= I m(2,3,5,7,8,9,12,13,14, 15).
7. lmplt~~~e~~t the following functwn using 4 : 1 rnultiplaers.
j(A, 8, C, D) =I m (1, 3, 6, 8, 10, 11, 15).
8. Wlu!t is tht dijfertnet bttWttn dl!roder and demultiplexer ?
9. Design tht full-adder circuit using decoder and demultiplexer.
10. Wlutt is dtcodtr ?
11. Describe tlrt pins required for a typical 3 to 8 decoder. Indicate the connection to be made
wit!r a neat diJzgram to implement.
Y =CBA + CBA+CBA+CBA + CBA
12. Implement the folluwing frmctions using 3:8 decoder.
F1 (A, 8, C) = I rn (0, 1, 4, 5, 7)
F2 (A, B, C) = I nr (2, 4, 6, 7)
13. What do you mean by tncader ?
14. Write a short rrote on priority enCJ)der.
DOD
r cl echtl h chlrtzl ~I lc d
(5 - 68)
6.1 Introduction
So far we have studied the analysis and design of combinational digital circuits. Tt
constitutes only a part of digital systems. The other major aspect of digital sysll!m is
analysis and design of sequential circuits.
There arc many applications in which digital outputs arc required to be generated in
accordance with the sequence in which the input signals are received. "This requirement
cannot be satisfied using a combinational logic system. These applications require outputs
to be generated that are not only dependent on the present input conditions but they also Note
depend upon the past history of these inputs. The past history is provided by feedback
from the o utput back to the input.
Fig. 6.1 shows the block diagram of sequential circuit/finite state machine (l'SM). As
shown in the Fig. 6.1, memory clements are connected to the combinational circuit as a
feedback path.
The information stored in the memory clements at any given time defines the present
state of the sequential circuit. The present state and the external inputs determine the
outputs and the next state of the sequential circuit Thus we can specify the sequential Note
circuit by a time sequence of external inputs, internal states (present states and next states),
and outputs.
...........................................................................
Combinational
Inputs circuit
r------------,--~o~utaj
(Com~MtioNI
component)
Memory
elements
Present state {SeQuornlal
component)
..........................................................................·
Sequential circuit
Fig. 6.1 Block diagram of sequential circuit I FSM
(6 - 1)
sequential systems are cyclical
in behaviour
Analog and Digital Electronics 6· 2 Sequential Logic Circuits
1. In combinational circuits. tho output variablea In sequential circuits, lhe output variables
are et all times dependent on the combination depend not only on the present Input
ot input vanables. variables but they also depend upon tho
past history of those input variablea.
2. Memory unit Is not required In combinational Memory unit is required to store the past
circuits. history of Input variables In the sequential
circuit.
3. Combinatlonal circuits are faster in speed Sequential circuits are slower than the
because tho delay between input and output is combinational cln:ults.
due to propagation delay of gates.
4. Combinational circuits are easy to design. Sequential circuits are comparatively harder
to design.
3. Tho maximum operating speed of clock depends Bocauao of absence of dock. asynchronous
on time delays Involved. clrc:ults can operate futer lhan synchronous
circuits.
4. Easier to design. More difficult to design.
M I ri
Analog and Digital Electronics 6·3 Sequential Logic Circuits
B a
(a) Using basic i nverter
-
·g:
e 2
R Q
(Reset)
Fig. 6.3 Modified circuit for 1-bit memory cell (SR latch)
For understanding the circuit operation, we must first determine the output of NAND
gate whose one of the input is logic 0 and accordingly we have to determine the output of
other NAND gate in the cross coupled inverter. Because the output of NAND gate is I if
any one input is 0. The circuit operation is as follows. In Fig. 6.4, the output of shaded
NAND gate is determined first, and the 0 input that decides the output of shaded NAND
as 1 is shown in bold.
Case 1 : s =R =o
In this case, S "- R "' 1. If Q is 1, Q and B inputs for NAND gate 2 are both 1
and hence output Q "' 0. Since Q = 0 and S = 1, the output of NAND gate I is 1,
i.e. Q"' 1.
If Q is 0, Q and R inputs for N AND gate 2 arc 0 and 1, and hence output Q "' 1.
Since Q = 1 and S = 1, the output of NAND gate 1 is 0, i.e., Q = 0.
In itial stato : Q = o. Q = 1 Initial state : Q =1, Q =0
11111 h chu I M
Analog and Digital Electronics 6-5 Sequential Logic Cin:uits
Case 2 : S = 1 and R =o
ln this case, S = 0 and R = 1. Since S = 0, the output of NAND gate 1, Q = 1
(Recall that, for NAND any one or more input is 01 the output is 1). For NAND
gate 2, both inputs Q and R arc 1, thus output Q =0.
Case 3 : S = 0 and R = 1
ln this case, S = 1 and R = 0. Since R = 0, the output of NAND gate 2, Q= 1.
For NAND gate 1, both inputs Q and S are 1, thus output Q = 0.
Fig. 6.6
\:n."""!l~"" ~c:JWa1l(·~w~"l~~;R~u~~:/r.~,.,j;.~~
~~~~'r&~~~b~~~~~~
Case 4 : S = 1 and R = 1
When S = R = 1, both the outputs Q and Q try to become 1 which is not
allowed and therefore, this input condition is prohibited.
EN
Fig. 6.7
EN s R Q. Qn f- 1 State
1 0 0 0 0 No change (NC)
1 0 0 1 1
1 0 1 0 0 Reset
1 0 1 1 0
1 1 0 0 1 Sel
1 1 0 1 1
1 1 1 0 X Indeterminate
1 1 1 1 X
0 X X 0 0 No change (NC)
0 X X 1 1
crutzl M tcr"
Analog and Digital ~lectronlcs 6-7 Sequential logic Circuits
=o
a
N
a
EN D Qn On + l State
1 0 X 0 Reset
1 1 X 1 Set
0 X X Qn No change (NC)
6.4 Flip-Flops
according to the S and R input values, when active level is maintained at the enable input
Flip-flops are different from latches. Flip-flops are pulse or clock edge triggered instead of
level triggered.
Enable 1
input
(E)
R
(Reset) Bubble represents
negative level triggering
(a) NegaUve level triggered SR latch (b) Logfc symbol
Fig. 6.12
tllfl h chu I M
Analog and Digital Electronics 6-9 Sequential Logic Circuits
Edge triggering
In the edge triggering, the output responds to the changes in the input only at the
positive or negative edge of the clock pulse at the clock input. There are two types of edge
triggering.
• Positive edge triggering : Here, the output responds to the changes in the input
only at the positive edge of the dock pulse at the clock input.
v
Oulput responds
' - - - - - - - - ' - - - - - - - only at the positive
edges of the pulse
Fig. 6.13 Positive edge triggering
• Negative edge triggering : Here, the output responds to the changes in the input
only at the negative edge of the clock pulse at the clock input.
V Oulpul responds
1~
1
Clock 1
onput
p----- L_j L :~e~ ~fh~~~~':
0
chli ch ch M nd
Analog and Digital Electronics 6 - 10 Sequential Logic Circuits
The Fig. 6.16 shows the logic symbol and truth table of clocked SR flip-flop, and
Fig. 6.17 shows input and output waveforms.
CP s R o. o.,., SUte
T 0 0
, ,0 0
n
No chonoe{NC)
T
1
0
0
0
, 0
1 0 , , 0 0
R..at
CP 1 1 0 0 ,
a 1 1 0 , , Set
t 1 0
1 ,
1
1 , X
X
tndele.rminato
0 X X 0 0
No c.hango(NC)
0 X X 1 1
(a) Logie symbol (b) Truth table f or positive edge clocked SR flip-flop
Fig. 6.16
Negative edge triggered SR flip-flop
CP
a _ __._____.
Fig. 6.17 Input and output waveforms for positive edge triggered clocked SR
flip-flop
In the negative edge triggered SR flip-flop, the negative edge detector circuit is used
and the circuit output responds at the negative edges of the clock pulse. The Fig. 6.18 and
6.19 shows the logic symbol, truth table, and input and output waveforms for negative
edge triggered SR flip-flop. The bubble at the clock input indicates that the flip-flop is
negative edge triggered.
Analog and Digital Electronics 6 ·11 Sequential Logic Circuits ·
CP s R o. o.,., Slate
i 0 0 0 0
No cl'lange(NC)
n
l 0 0 I I
l 0 1 0 0
Reset
~ 0 1 I 0
CP j , 0 0 I
Set
l I 0 I 1
0
! I 1 0 X
Indeterminate
! 1 1 I X
0 X X 0. 0
No Cllange(NC)
0 X X I 1
(a) Logic symbol (b) Truth Table for negative edge clocl!ed
SR flip-flop
Fig. 6.18
CP
L
o -- - - '
Fig. 6.19 Input and output waveforms for negative edgo triggered clocked SR
nip-flop
~ 6.4.4 Clocked D Flip-Flop
Like in D latch, in D flip-flop the basic SR flip-flop is used with complemented inputs.
The D flip-flop is similar to D-latch except dock pulse followed by edge detector is u:;ed
instead of enable input. Such an edge triggered D flip-flop can be of two types :
• Positive ed·g e triggered D flip-flop
• Negative edge triggered D flip-flop.
chli ch ch M nd
Analog and Digital Electronics 6 · 12 Seq uential Logic Circuits
CP .IlJ1...
Gated 0 latch
Fig. 6.20 Positive edge triggered 0 flip-flop
The Fig. 6.21 shows the logic symbol, truth table and the input and the output
waveforms for positive edge triggered D flip-flop. As shown in the Fig. 6.21 (c), the circuit
output responds to the D input only at the positive edges of the clock pulse. At any other
instants of time the D flip-flop will not respond to the changes in input.
~n
CP 0 Qn+1
t 0 0
t 1 1
0 X a.
Fig. 6.21 (a) Logic symbol Fig. 6.21 (b) Truth table of 0 flip-flop
CP
I
I '--~--
1~- - -----4r~
1....
D
0 we have seen the output of D
I 0 0 flip·flop is sensitive at the
CP positive edge of the clock
I 1 1 input. In case of negative edge
a 0 X a. triggering, the output is
sensitive at the negative edge
(a) Logic symbol (b) Truth table of o nip-f16p of the clock input. The
Fig. 6.23 Fig. 6.23 shows the logic
symbol and truth table for
negative edge triggered D flip-flop and Fig. 6.24 shows input and output waveforms for
negative edge triggered D flip-flop. The bubble at the clock input indicates that the
flip-flop is negative edge triggered.
CP
a ---.::..
Fig. 6.24 Input output waveforms of negative edge triggered 0 flip-flop
6.5 Clocked JK Flip-Flop
The uncertainty in the state of an SR flip-flop when S = R = 1 can be eliminated by
converting it into a JK flip-flop. The data inputs are J and K which are ANDed with Q and
Q respectively, to obtainS and R inputs, as shown in the Fig. 6.25. Thus, S = J·Q and
R= K· Q.
K--.r--....
I-'";.....;=~~
·CI1 I I ~I
Analog and Digital Electronics 6 ·14 Sequential Logic Circuits
let us see the operation of JK flip-flop.
Case1:J=K=O
When j = K = 0, S = R = 0 and according to truth table of SR flip-flop there is
no change in the output.
}~ .:::"!'1£?.:-"<'!~:y;.~~~,; •• "·>r~~
@!!S}lt~~~~~~·:~.,n~,.~~. OUtJ'\!tJ!.~ notw;:u~~~'
.
Case 2 : J = 1 and K : 0
Q = 0, Q = 1 : When I = 1, K = 0 and Q = 0, S = 1 and R = 0. According to
truth table of SR flip-flop it is set state and the output Q will be 1.
Q = 1, Q = 0 : When J = 1, K = 0 and Q = 1, S = 0 and R = 0. Since SR = 00,
there is no change in the output and therefore, Q = 1 and Q = 0.
~:Jjg(~i~il;ii~~
Case 3 : J • 0 and K ~ 1
=
Q 0, Q = 1 : When J = 0, K = 1 and Q = 0, S =0 and R =0. Since SR = ()(),
there is no change in the output and therefore, Q =0 and Q = 1.
=
Q = 1, Q = 0 : When J = 0, K = 1 and Q 1, S = 0 and R = 1. According to
truth table of SR flip-flop it is a reset state and the output Q will be 0.
·~~:r,~~l:J~~~J',(:~s"H! · ".\f.~ 1
IDP.:!!..~&.!'.t:~.i~:f:.;~p "'~ .. ~A.li.Si?.~~
Case4:J=K=l
Q = 0, Q = 1 : When I = K = 1 and Q = 0, S = 1 and R = 0. According to truth
table of SR flip-flop it is a set state and the output Q will be 1.
=
Q 1, Q = 0: When J = K = 1 and Q = 1, S = 0 and R = 1. According to truth
table of SR flip-flop it is a reset state and the output Q will be 0.
dt'f~~~,j)pjl
The Fig. 6.26 shows the logic symbol, truth table and timing diagram of positive edge
triggered JK flip-flop .
..flfL
CP
crutzt M tcr"
Analog and Digital Electronics 6- 15 Sequential Logic Circuits
n
o. J K Qn•1
J K an+1
0 0 0 0
0 0
1
1 0 0 0 o.
0 0 1
CP 0 1 1 1 0 1 0
Q 1 0 0 1 1 0 1
1 0 1 0 -
1 1 0 1 1 1 o.
1 1 1 0
Fig. 6.26 (b) Logic symbol Fig 6.26 (c) Truth table
CP
J~
:1
:1
:1
:o :1 :,
K_j I ;o ~o I ;,
0 ----1 (Reset)
I (toggle) ;(No change) ;<set) (toggle)
~
Fig. 6.26 (d) Input and output waveforms for positive edge triggered JK flip-flop
CP
~ · JO :. '§ . jQ
R=KQ ... R• Ko
S=JO R=Ko
Fig. 6.27 JK flip-flop using NAND gates
Analog and Digital Electronics 6-16 Sequential Logic Circuits
ClK
CP ~ L
s -----t
R -~----!
Mastcrou~
; ----!
Slave ou..;tp..;u_t ;..
Slave
CP
~~ ."
Analog and Digital Elec:tronic:s 6 · 18 Sequential Logic: Circuits
When J = 1 and K = 1, master toggles on the positive clock and slave then copies the
output of master Otl the negative clock. At this instant, feedback inputs to the master
flip-flop are complemented but as it is negative half of the clock pulo;e master flip·flop is
inactive. This prevents race around condition. Fig. 6.32 shows input and output waveforms
of master-slave JK flip·flop.
CP J K y
Q" Qn• 1
I 0 0 0 0 NC
l_ 0 0 0 NC 0
_r 0 0 1 0 NC
l_ 0 0 1 NC 0
_r 0 1 0 1 NC
l_ 0 I 0 NC 1
I 0 1 1 1 NC
l_ 0 1 1 NC 1
I 1
,
0 0 1 NC
l_ 0 0 NC 1
I 1 0 1 0 NC
l_ 1 0 1 NC 0
I 1 1 0 I NC
l_ 1 1 0 NC 1
I 1 1 1 0 NC
l_ 1 1 1 NC 0
crutzl M IC!"
Analog and Digital Electronics 6 ·19
CP
K ~~--~~~--~~
Master ·;..--:--~-_.:,--i
output (Y) I
(SlaveS)~
4
~...----..____.r
Master & :
output
(SlaveR) 1 1
. -_ . . . . , . _ _. _ _ . . ; , . . ._ _.
Output ! I ~ :
Slave a--:-----!
Triggered ;
Rip-flop Master Slave Master Slave Master Slave Master Sliwe Master Slave Master Slave
sets sets NC NC tescts resets NC NC toggles . sets toggles resets
(sets) (resets)
Fig. 6.32 Input and output wavefonns of master-slave JK fllp·flop
na+ Example 6.1 : The D input and a single cwck pulse are shown in Fig. 6.33. Compare the
resulting Q outputs for : Positive edge triggered flip-flop, negative edge triggered flip:flop
aud pulse triggered master-s/ave flip-flops. 11ze flip-flops are illilia/ly RESET.
CLK--!l-
o----,
,
Fig. 6.33
Solution:
CLK - - - ! l - - -
1
o II
I
a
(Positive edge)
triggered clock __j
t-----r-
I
!
I
a
(Negative edge) ---+----~-
triggered clo<:k
P~sc --~-----'r----
trlggereddock
for master-slave
Fig. 6.33 (a)
chll ch ch M nd
Analog and Digital Electronics 6-20 Sequential Logic Circuits
CP
n
a. T on• I a/ o 1
T On•1
0 0 0 0 0 (i)
CP 0 On E'
0 1 1
- 1 0 1 1 o;; 1GJ 0
1 1 0 .'.00 ,1 = TQ0 +TQ0
(a) Logic symbol b) Truth table (c) Characteristic equation
I- Fig. 6.35
Example 6.2 : Refer Fig. 6.36 and determine /Ire Q output waveform
out RESET.
if tire flip-flop starts
Fig. 6.36
Analog and Digital Electronics 6-21 - Sequential Logic Cin:uits
Solution :
CLK
r - -,.....---.
'
I
'
Q_j
Fig. 6.37
6.8 Asynchronous or Direct Inputs
For the flip-flops discussed so far, the SR. D, JK, and T, the inputs are called
synchronous inputs because data on these inputs are transferred to the flip-flop's output
only on the triggering edge of the clock pulse; that is, the data arc transferred
synchronously with the dock.
Flip-flops available in IC packages sometimes provide special inputs for setting (preset)
or dearing (clear) the flip-flop, asynchronously. These inputs are called asynchronous or
direct inputs. These inputs are coiU\cded directly into the lalch portion of the flip-flop so
that they override the effect of the synchronous inputs J, K and the clock.
PrOSei
Preset
CP
O Clear
-
Jl.fL
CP
Ci8i1r
(a) Logic symbol (b) JK flip.flop with active high preset and clear
Fig. 6.38
TI1e )K flip-flop with preset and clear is shown in Fig. 6.38. If preset and clear inputs
are 1, the circllit operates in accordance with the truth table of .JK flip-flop given in the
Fig. 6.26 (c). If preset ~ 0 and clear = 1, the output of NAND gate 1 will certainly be 1.
Consequently, all the three inputs to NAND gate 2 will be 1 which will make Q 0. =
Hence making preset = 0 sets the llip·flop. Here, preset s.ignal is active when it is low,
hence it is active low signal. Similarly, low (0) on the clear input resets the flip-flop
making Q = 1.
chil ch ch M rod
Analog and Digital Electronics 6 ·23 Sequential Logic Circuits
state to the next state. For each transition, the required input condition is derived from the
information available in the truth table. Let us see the process by examining each case.
R s Q .. . . Q. Q• • • R s
0 0 On 0 0 X 0
0 1 1 0 1 0 1
1 0 0 1 0 1 0
1 1 . 1 1 0 X
Table 6.5 (a) RS Truth table Table 6.5 (b) RS Excitation table
Note : The symbol "X" in the table represents a don't care condition. i.e., it indicates
that to get required output it does not matter whether the input is either 1 or 0.
0 -t 0 Transition : The present state of the flip-flop is 0 and is to remain 0 when a
clock pulse is applied. Looking at truth table of RS flip-flop we can understand that, this
can happen either when R = S = 0 (no-change condition) or when R = 1 and S = 0. Thus, S
has to be at 0, but R can be at either level. The table indicate!: this with a "0" under S and
an "X" (don't care) under R.
0 -t 1 Transition : The present state is 0 and is to change to 1. This can happen only
when S = 1 and R = 0 (set condition). Therefore, S has to be 1 and R has to be 0 for this
transition to occur.
1-> 0 Transition : The present state is 1 and is to change to a 0. This can happen only
when S = 0 and R = 1 (Reset condition). Therefore, S has to be 0 and R has to be I for this
transition to occur.
1 -t 1 Transition : The present stale is I and is to remain 1. This can happen either
= = = =
when S 1 and R 0 (set condition) or when S 0 and R 0 (no change condition).
Thus R has to be 0, but S can be at either level. The table indicates this with a "X" under S
and "0" under R.
6.9.2 JK Flip-Flop
The truth table and excitation table for Jl< flip-flop are shown in Table 6.6 (a) and (b)
respectively. Let us examine c;~ch case.
J K o••• Q. Q,. ~ I J K
0 0 o. 0 0 0 X
0 1 0 0 1 1 X
1 0 1 1 0 X 1
1 1 Q 1 1 X 0
Table 6.6 (a) JK truth table Table 6.6 (b) JK excitation table
0 -> 0 Transition : When both present state and next state are 0, the J input must
remain at 0 and the K input c.1n be either 0 and 1.
chli ch ch M nd
Analog and Digital Electronics 6-25 Sequential Logic Circuits
0 Qn Qn•1 s R
0 0 0 0 X
0 1 0 0 1
1 0 1 1 0
1 1 1
Table 6.9
X
I 0
K-map simplification
For$ ForR
1lil ~
o'x 1·
~ ...
1 _1_ X . 1 0 0
S=D
Fig. 6.40
Logic diagram
CP Ollip-flop
~1 ·!.II
Analog and Digital Electronics 6. 27 Sequential Logic Circuits
T Qn Qn + 1 s R
0 0 0 0 X
0 1 1 X 0
1 0 1 1 0
1 1 0 0 1
'
Table 6.11
K-map simplification
ForS ForR
lll 1 1
S=T On
0
1BE0
1
X
0
0
Fig. 6.44
Logic diagram
ctr1' 1 M ""
Analog and Digital Electronics 6 ·29 Sequential Logic Circuits
T a. a. • 1 J" KA
0 0 0 0 X
0 1 1 X 0
1 0 1 1 X
~ ~
0 0 X 0 X 0
1 1 X 1 X. , :!J
JA :T K,. =T
Fig. 6.47
Logic diagram
Tfiip.flop
Fig. 6.48 JK to T nip-flop conversio~
6.10.5 JK Flip-Flop to D Flip-Flop
The excitation table for above conversion is as shown in the Table 6.14.
Input Preaent Noxt atato Flip-flop Inputs
state
D J K
0 o 0 0 X
~~~.~:Dim~S~
1 0 1 1 X
X 0
Table 6.14
Analog and Digital Electronics 6-30 Sequential Logic Circuits
ForJ ForK
DOn o 1
0 On 0 1 D
0 0 X 0 ex..:. ~IJ
1 o= £j• 1 X 0
J =D
T D
0 0 0 0
0
0 0
Table 6.15
To" o 1
0 0 1
1 1 0
•• Example 6.4 : Analyze tile circuit artd prove that it is equivalent to T flip-flop.
Solution : To analyze the circuit means to derive the truth table for it.
Output
Fig. 6.53
We have, D Input $ On
1
L
1
1
0
1
1
0
1
0
} When Input is 1
outpul toggles
1 0
~
1 .-
1 0 1 1
1 1 1 0
Table 6.17
~~ ."
Analog and Digital Electronics 6 ·32 Sequential Logic Circuits
1ffij
0
1
o
0
1
1
1
Flip-flop conversion
Fig. 6.54 Fig. 6.55 T to 0 flip·flop conersion
T D Q,. + i5 Qn
s
0
Inputs
R
0
Present
abita Q 0
0
Next
~
0
..
sblte
Flip-flop inputs
J
0
K
X
0 0 1 1 X 0
0 1 0 0 0 X
0 1 1 0 X 1
1 0 0 1 1 X
1 0 1 1 X 0
1 1 0 X X X
1 1 1 X X X
K-rnap simplillcation
ForJ ForK
Qn On
sR 0 1 SR 0
00 0 X 00 X 0
01 0 X
11 X X
10 1 x·
K•R
Fig. 6.56
logic diagram
s~
R+U- CP
Fig. 6.57 JK to SR
6.10.9 D Flip-Flop to SR Flip-Flop
The excitation table for above conversion is as shown in the table 6.19.
s R 0, a•• t 0
0 0 0 0 0
0 0 1 , 1
0 1 0 0 0
0 1 1 0 0
1 0 0 1 1
1 0 1 , 1
1 1 0 X X
1 1 1 X X
K-rnap simplification
ForD
RO
s "oo 01 11 10
0 0 7J; 0 0
1 ·-, ..
1 X Xi
Fig. 6.58
Analog and Digital Electronics Sequential Logic Circuita
Logic diagram
SR Flip-Flop
CP
Fig. 6.59 D to SR flip-flop conversion
6.11 Applications of Flip-Flops
Some of the important applications of flip-flops are :
• It can be used as a memory element.
• It can be used to eliminate key debounce.
j
• It is used as a basic building block in sequential circuits such as counters and
registers.
• It can be used as a delay element.
Let us discuss the application of flip-flop as a key debouncc eliminator.
For interfacing keys to the digital systems, usually push button keys are used. Th
push button keys when pressed bounces a few times, closing and operung the contac
before providing a steady reading, as shown in the Fig. 6.60. Reading taken durin .
bouncing period may be faulty. This problem is known as key debounce. The problem o
key debounce is undesirable and it must be avoided.
<>-A
:1 non
v=
r"-e
I
Fig. 6.60 Effect of key debounce
One way to avoid key debounce problem is to usc SR latch. The circuit used to avoi
keybounce with SR latch is called a switch or contact debouncer. Tile Fig. 6.61 shows t
switch debouncer circuit and its waveforms. When key is at position A, the output of S
r.htJ ~·
Analog and Digital Electronics 6·35 Sequential Logic Circuits
latch is logic 1, and when key is at position B, the output of SR latch is logic 0. It is
important to note that, when key is in between A and B, SR inputs are 00 and hence
output does not change. preventing debouncing of key output. In other words, we can say
that 'the output does not change during transition period, eliminating key debounre.
v .=
I
Fig. 6.61 (a) Switch debouncer
v] ODD
:b nor
:I
:b c
Fig. 6.61 (b) Wavefonns of switch debouncer
Analog and Digital Electronics 6 - 36 Sequential Logic Circuits
Review Questions
1. Draw and explain the WC>rking of following flip-flops
a) RS b) Clocked RS c) D d) JK t) Clocked ]K
2. Write short notes on
a) Edgt triggered flip-flop b) MAster slau flip-flop
3. Wlutt is race around condition ? How it is avoided ?
4. List the functions of asynchronous inputs.
5. Construct the truth table for circuit shown in Fig. 6.62.
I ·:::Q:r:
Fig. 6.62
Ans.:
R s, • Q Q
0 0 1 1
0 1 0 1
1 0 1 0
1 1 No change
Table 6.24
6. Convert SR flip-flop into JK J1ip-flop.
7. Convert ]K flip-flop into T flip-flop.
000
.ct• 1 I ~I r
Shift Registers
7.1 Introduction
In chapter 6 we have seen lhat a flip·flop is nothing but a binary cell capable of
storing one bit information. and C<~n be connected together to perform counting operations.
Such a group of flip-flops is called counter. We have also seen that group of flip-flops can
be used to store a word, which is called register.
A flip-flop can store 1-bit information. So an n·bit register has a group of n flip-flops
and is capable of storing any binary information/number containing n-bits.
Buffer register
Fig. 7.1 shows the simplest register constructed with four 0 flip-flops. This register is
also called buffer register. Each 0 flip-flop is triggered with a common negative edge
clock pulse. The input bits set up the flip-flops for loading. Therefore, when the first
negative clock edge arrives, the ston~d binary information becomes,
crutzl M IC!"
Analog and Digital Electronics I • II. Shift Registers
A 8 c 0
crutzl M tcr"
Analog and Digital Electronics 7·4 Shift Registers
We will illustrate the entry of the four bit binary number 1111 into the register,
beginning with the left-most bit.
Initially, register is cleared. So
Q,..Q 8QcQ0 = oo oo
a) When data 1 1 1 1 is applied serially, i.e. left-most 1 is applied as D11,
Din= 1, Q,..Q8QcQ0 = 0 o0 0
The arrival of the fust falling clock edge sets the right-most flip-flop, and the stored
word becomes,
QAQBQcQo = 0 0 0 1
b) When the next negative clock edge hits, the Oc flip·flop sets and the register
contents become,
QAQsQcQ0 = o o 11
c) The third negative clock edge results in,
QAQ8QcQ 0 = 0 111
d) The fourth falling clock edge gives,
Q,..Q8QcQo = 1 1 1 1
Fig. 7.5 illustrates the input and output condition for each flip-flop stage upon
application of each clock pulse. (Sec Fig. 7.5 on next page.)
Fig. 7.6 shows serial-in serial-out shift-right register.
Fig. 7.5 Four bits 1111 being serially entered into shift..feft register
b) When the next falling clock edge hits, the Q8 flip-flop sets and the register contents
become,
QAQuOcQo = 1100
c) The third falling clock edge results in.
QAQuOcQo = 1110
d) The fourth falling dock t-dge gives,
QA QuOcQo = llll
crutzl M IC!"
Analog and Digital Electronics 7-6 Shift Registers
Fig. 7.7 illustrates the input and output condition of each flip-flop stage upon
application of each clock pulo;e.
SV"L
CP
Me<
CP1
011"1=1
After
CP2
(J1n -=- 1
A11er
CP3
o,.,~,
Mer
CP4--~--------~--------+-------~
Fig. 7.7 Four bits 1111 being serially entered Into shift-right register
7.3.2 Serial In Parallel Out Shift Register
In this case, the data bits are entered into the register in the same manner as discussed
in the last section. i.e. serially. But the output is taken in parallel. Once the data are stored,
each bit appears on its respective output line and all bits arc available simultaneously,
instead of on a bit-by·bit basis as with the serial output as shown in Fig. 7.8.
Serial
data
out
I~
!i:
~
Ag. 7.11 4-bit bidirectional shift register
signal which allows data shifting either towards right or towards left. A high on this line
enables the shifting of data towards right and a low enables it towards left. When
RIGHT/LEFI' signal is high, gates G1, G2, G-3- G4 are enabled. The state of the Q output of
each flip-flop is passed through the D input of the following flip-flop. When a clock pulse
arrives, the data are shifted one place to the right When the RIGHT/LEFf signal is low,
gates Gs- G6' G7, G8 are enabled. The Q output of each· flip-flop is passed through the
D input of the preceding flip-flop. When clock pulse arrives, the data are shifted one place
to the left.
Pataliet OUTDU'IS
Fig. 7.12 4-bit bidirectional shift register with parallel load
shows bidirectional shift register with parallel load.
As shown in the Fig. 7.12, the D input of each flip-flop has three sources: Output of
left adjacent flip-flop, output of right adjacent flip-flop and parallel inpul Out of these
three sources one source is selected at a time and it is done with the help of decoder. The
decoder select lines (SL1 and Slo) select the one source out of three as shown in the
Table 7.1.
!{'.~S~J~i,~ l<.; s~~ l ~·~,·..~~·ii~tiid\o(J~~
p:::.-,,-::w •.,,., ·~"''i
0 0 Parallel input
The Fig. 7.14 shows the 4-bit universal shift register. It has all the capabilities listed
above. It consists of four nip-Oops a nd four multip.lexers. The four multiplexers have two
common selection inputs S 1 and S0 , and they select appropriate input for D Oip-Oop. The
Tablc 7.2 shows the register operation depending on the selection inputs of multiplcxers.
=
Wh en S 1S0 00, input 0 is scl<:ct<..'Ci a.n d the present value of the register is applied to the
D inputs of the llip-flops. This results no change in the register value. When S 1S0 = 01,
input 1 is selected and circuit connections arc such that it operates as a right shift register.
When S 1S0 = 10, input 2 is selected and circuit connections are such that it operates as a
left-shift register. Finally, when S 1S0 = 11, the binary information on the parallel input
lines is transferred into the register simultaneously and it is a parallel load operation.
ParaUel inputs
Serial 2 1 0 Serial
lnpu l lor _.2_ - t npuller
shift-right' shitt-left
I II II L_L
s,
- 3 2 1 0
4x1 f-- r-
3 2 1 0
4x1
' - - 1-
3 2 10
4x1 - 1-
3 2 1 0
4x1
- MUX
'-- r-
MUX ,-- r- MUX
- :-- MUX
-D a
;---
D a - D a
;---
0 Q
r- r-
clear T T T T
clock
A A A
Parallel output
Fig. 7.14 4-blt universal shift naglster
s, So
0 0 No change
0 1 Shift-fight
Analog and Digital Electronics 7-1 2 Shift Registers
0 Shift-left
Parallel load
61 = Nx ..!.
fc
where N is the number oi stages (i.e. flip-flops) and fc is the clock frequency.
Thus, an input pulse train appears at the output delayed by 61:. The amount of delay
can be controlled by the clock frequency or by the number of flip-flops in the shift register.
The shift register can be used to generate a particular bit pattern repetitively. The
Fig. 7.15 shows the bask block diagram of a sequence generator. Here, left most flip-flop
input accept the serial input and the right most flip-flop gives serial data output It is
important to note that the serial data output signal is connected as a serial data in. On
every clock pulse the data shift operation takes place. We get the loaded bit pattern at the
serial output in a sequence. Same bit pattern is again loaded in the register since serial
output is connected serial in of the register. Thus, the circuit generates a particular bit
pattern repetitively.
G1 111110~ - ~~
Serial in Serial out
Serial
data in
Bit-pattem to be detected
Fig. 7.16 4-blt sequence detector
chli ch ch M nd
Analog and Digital Electronics 7 ·14 Shift Registers
crutzl M IC!"
Analog and Digital Electronics 7 ·15 Shift Registers
14 13 12 11 10 9 8
- <t>-
- <t>-
1 2 3 4 5 6 7
i!i
Data inputs
~
m
~A aI ~-------c----------------6
Modo ~ 14
I
3
I , I"'
control ~
Serial
"'
~·
Input
......=-'
:§: Clocl< 1 ....
.8 right-shift ...'
i';" Clock 2 "'
Q. left-shift
~·
iil
3
3- 131 - - - 121 - - - ID, Oo
"§" QA 08 Oc
~ Outputs
"',.
~ ,.
(/1
l=
::r
c
"~
0::: I
•
Analog and Digital Electronics 7-17 Shift Registers
H • High l.r\.·~1 (Stc~dy State), L .. Low Lt·\'cl (Study Statt), X • Don't C01rc (Any lnf'\11. Lndudi:ng tr..-nsitioN)
t = Tra:u1tion from hjgh to low levcl. t = Tr.msiticm from lc)w to h.lgh le\•~1.
3,.b.t,d = 1ht level or ! leady s tate Input ill I lnpucs A,D,C or 0 ~spcctlvcly.
QAn• Oan• OCn· QDn • Th• l<vcl o1 QA. Qs- Qc or Qo rt'lp«tf•·•ly. bel.,.. the mO<I re«nl ! tr>ns•tion ol the clock.
Parallel load
Shift (in the direction QA toward Q0 )
ctr1' 1 M ""
Analog and Digital Electronics 7 ·18 Shift Registers
The Fig. 7.19 (a) shows the pin diagram and Fig 7.19 (b) shows the logic diagram for
74195.
(QJ
""'
(2
Do
(3 1 "·
••>
0,
(5)
s,
s, {10!
crutzl M tcr"
Analog and Digital Electronics 7 - 24 Shift Registers
(1)
OE
10
10
20
20
30
30
40
40
50
74X374
60
11
IC 74X273
The Fig. 7.28 shows lo1,>ic symbol for IC 74X273. The JC 74X273 is a 8-bit register with
a non tri-state outputs and no OE input; instead, it provides an asynchronous clear input
CLR.
74X377
Review Questions
1. Draw and explain tlte operatum of controlled buffer register.
2. List the basic types of shift registers intmns of data movement.
3. Explain the oprrnlion of 4-bit seriJU-in-serial-out shift register with the help of neat diagram.
4. Draw a11d explain 4-bit serwl-in·parnlltl-oul shift register.
5. The binary nuntbtr 10111011 is serially left-shifted into an eigltt-bit parallel out shift register
tltnt /tQS an initial conttnl of 10101010. a) What are the Q outputs after tuJo clock pulses? b)
After four clock pulses ? c) After eigltt clock pulses ? .
(Ans :a) 10101010 b) 10101011 c) 10111011)
6. An eight-bit biltireclional shift register contains 11011101. Z.eros art applied to the shift-right
and shift-left serial data inputs. 17re shift rtgister is in tire shift-right mode for three clock
pulses, 1/rm in lite shift-left mode for five rlock pulses, then in the shift-right mode for one
clock pulse. What is II~ Jittnl state of lite register question ? (Ans. : 00110000)
000
tllil h chu I M
Counters
8.1 Introduction
A group of flip-flops connected together forms a register. A register is used solely for
storing and shifting data which is in the form of 1s and/or Os, entered from an external
source. It has no specific sequence of states except in certain very spedalized application.~.
A counter is a register capable of counting the number of clock pulses arriving at its clock
input. Count represents the number of clock pulses arrived. On arrival of each dock pulse,
the counter is incremented by one. In case of down counter, it is decremented by one.
The Fig. 8.1 shows the logic symbol of a binary counter. External clock is applied to
the clock input of the counter. The counter can be positive edge triggered or ncg:ttive
edge triggered. The n·bit binary counter has n flip-flops altd it has 2 n distinct states of
outputs. For example, 2-bit counter has 2 nip-flops and it has 4(2 2 ) distinct states: 00, 01,
10 and 11. Similarly, the 3-bit binary counter has 3 mp-flops and it has 8 (2 3) distinct
states: 000, 001,010, 011, 100, 101 110 and 111.
CLK CLK
~ ~
n·bit output n-bit output
(8 - 1)
Cf>
a. _____,:-11
i !-!--....1 d--
~ ----~-----i~i~! :~L__ ------:
Oc ----~:~:----~~--------~
~ +
: ~:~:r- tPHL(CPtoOA) --: :-:-:- IPHl(CPto OA)
• • . _ --!-t
. :. :---.
:. tPHt.(0Ato09 )
lpt.tt<0A to 0 0)
.·
r;,_;,
. . . . _ :;: ' r
. -
I~ Example 8.4 : Draw the logic diagram for 3-stage asynchronous counter with negative
edge triggered jlip-flqps.
Solution : When flip-flops are negatively edge triggered, the Q output of previous stage
is connected to the clock input of the next stage. Fig. 8.5 shows 3-stagc asynchronous
counter with negative edge triggered flip·flops.
H IGH-~-----t-------,
CP
~~~ Example 8.5 : A counter has 14 stable stales 0000 through 1101. If lite input frequt11'Y
is 50 kHz what will be its output frequency?
Solution: 50 kHz
14
= 3 57 kHz
.
~~~ Example 8.6 : The tpd for each flip-flop is 50 ns , detemzine the maximum operating
frequ~cy for MOD-32 ripple counter.
Solution : We know that MOD·32 uses five flip-flops. With tpd = 50 ns, Uu~ fmax for
ripple counter can be given as,
chli ch ch M nd
Analog and Digital Electronics 8-5 Counters
1
fmax (ripple) : Sx50ns 4 MHz
CP
Oc~
tiC!!-
; ~~~
~~r:Tt~tlh't~~~~~~~~~~~
~~~:~~~~~~~~
Count
Down counters are not as widely used as up counters. They are used in situations
where it must be kn<>wn when a desired number of input pul5CS has occurred. In these
situations the down counter is preset to the desired number and then allowed to count
down as the pulses are applied. When the counter reaches the ".cro state it is detcct~>d by a
logic gate whose output then indicates that the preset numbe~ of pulses have occurred.
• • Example 8.7 : For tire ripple cou11tcr show11 ill Fig. 8.8, shoru the complete timing
diagram for eight clock pulses, slrowi11g tire clock, Q0 attd Q1 wat'Cjornrs.
High
1 8
J1.IU'U1.fUU1.. CLK
Fig. 8.8
Solution:
2 3 4 5 6 7 8
CLK
LSB 0o
MSB 0 , 0 0 0 0
Count 11 10 01 00 11 10 01 00
Fig. 8.9
8.2.2 Asynchronous Up/Down Counter
To form an asynchronous up/down counter one control input say M is nece.~sary to
rontml the operation of the up/down counter. When M =0, the counter will count up and
when M = 1, the counter will count duwn. To achieve this the M input should be us~'<l to
control whether the normal flip-flop output (Q) or U1e inverted £lip-flop output {Q) is fed
to drive the clock signal of the successive stage flip-flop, as shown in Fig. 8.10 (a). The
truth table for such combinational circuit is shown in Fig. 8.10 (b).
UPIOOWN
• 1
'
Oa
0
- ----..l 0 "1 0 0
L
Oc 0 0 0 : 0 L
Count
~.t 001 010 011 100 101 110 111
I
''
-P
UP/DOWN
=0
I
CLK
Oa ~ :1 '1 0 0 0 0
Oa
I
Oc ~ .1 0 0 0 0
Oc
I
Count 000 111 110 101
I 100 011 010 001 000
Fig. 8.1 3 Timing diagram for 3·bit UP/ DOWN ripple counter
f( h • d .zt M tcr"
Analog and Digital Electronics 8-9 Counters
.,.,. Example 8.8 : Desigrr a 4-bit up/down ripple counter with a corrtrol for up/down
COU11ti11g.
Solution : The 4-bit counter needs four nip-flops. The circuit for '4-bit up/down ripple
counter is similar to 3-bit up/down ripple counter exet.'Pt that 4-bit counter has one more
flip·flop and its clock driving circuiting.
The Fig. 8.14 shows the 4-bit up/down ripple counter.
chli ch ch M nd
Analog and Dlgl1al Electronics 8 -11 Counters
Logic Diagram
NC : NO INTERNAL CONNECnON
NOTE :
The flat pack version has the
sarno J)ino~As (Conn•ctlon cU~gram}
as the dllaf In-line package
L H Count
H L Count
L L Count
,...., Example 8.11 : DtSign a divide-by-78 counter using 7493 and 7492 (as dividr-by·6)
counter TCs.
Solution : Since 78 = 13 x6, we have to use 7493 as mod-13 and 7492 as mod-6 counte.rs.
For the mod-13 counter Qo- Qc and QA outputs or 7493 are ANDed and used to clear the
count when the count reaches 1101. For the mod-6 counter, clock is applied to B input of
7492.
The circuit diagram is as shown in the Fig. 8.19.
CP
Solution : The Fig. 8.20 shows divide-by-6 (MOD 6) counter using 7493. As shown in the
Fig. 8.20. the clock is applied to input B of IC 7493 and the output count sequence is taken
from Q 0 , Qc and Q 8 . As soon as count is 110, i.e. Q 0 and Qc = 1, the internal NAND
gate output goes low and it resets the counter.
1- JA QA r- 1- Ja Os 1- ....... Jc Oc
CLOCK - 1--< 1> t-<1> t-<1>
L- KA QA L- Ks Os L- Kc Oc
~y
Fig. 8.21 (a) Decoding gate to indicate state 7 (111)
Ocl---~
~:::[)-o
c
A~
~~3
c
~--r--'\ 5
c~
Fig. 8.22 Decoding gate connections
8.4 Problem Faced by Ripple Counters (Glitch Problem)
We know that, due to the propagation delay the output flip-flop is delayed by time t 1, .
Thi.~illustrated in the waveform shown in Fig. 8.23 shows the waveform of the circuit
which decodes state 6. Here, the output of flip-flop A triggers the flip-flop 8, hence the
8 waveform is delayed by one flip-flop delay time (t p) from the negative transition of A.
Similarly, the C waveform is delayed by t P from each negative transition of B.
chlich ch 1 M nd
Analog and Digital Electronics 8-18 Counters
For the fourth stage, flip-flop has to change the state when QA= Q 8 = <4: = 1. This
condition is decoded by 3-input AND gate G2. Therefore, when QA= Qs e Qc = 1,
flip-flop D toggles and for all other timC$ it is in no change condition.
CP
QA
Oo
Oc--!-~~---t"-t"t"i-~-!-W--t---t"-t""i
a -j_1.,-1.,_.:...._.:...._l...._Ur---'---'__,;.--'---'---'--t
0
Fig. 8.27 (b) A four-bit synchronous binary counter and timing diagram
!.... Example 8.13 : Dtlmniue f,_ for the 4-bit synchronous courtier if tpd for each fliJ>-f/op
is 50 ns and tpd for laclt AND gate is 20 liS. Compare litis with fnuu for a MOD-16 ripple
counter.
Solution : For a synchronous counter the total delay that must be allowed between input
clock pulses is equal to flip-flop tpd + AND gate ~- Thus Tclock ~50 + 20 "' 70 ns and so
the counter has
chli ch ch M nd
Analog and Digital Electronics 8-20 Counters
To fonn a parallel up/down counter the control input (UP/DOWN) is used to control
whether the normal flip-flop outputs or the inverted flip-flop outputs arc fed to the 1 and
K inputs of the following flip-flops. The Fig. 8.28 shows 3-bit up/down counter that will
count from 000 up to 111 when the up/Down control input is I and from 111 down to 000
when the Up/Down control input is 0.
A logic 1 on the Up/Down enables AND gates 1 and 2 and disables AND gates 3 and
4. This allows the QA and Q8 outputs through to the 1 and K inputs of the next flip-flops
so that the counter wiU count up. as pulses are applied. When Up/Down line is logic 0,
CP--~--------------------._ __________________-J
Fig. 8.29 3-bit synchronous/parallel up/down counter
AND gates 1 and 2 arc disables and AND gates 3 and 4 are enabled. This allows Ute QA
and Cis outputs through to the J and K i.nputs of thc next flip-flops so that the counter
will count down as pulses are applied.
1. In this type of counter flip-flops are connected In this typo there is no connection between
In sucll a way that oU\put of first flip-flop output of first flip-flop and clock Input of the
drives the clock for the next flip-flop. next ftip.ftop.
2. All the flip·flops are not docl<ed All the flip-flops are clocked simultaneously.
l -- + -•-im
_u_lta
_ neously. -------------1--------------------1
3. Logie circuit is very simple even for more Design involves complex logic circu~ as
number of states. number of states increases.
4. Main draWback of these counters is thejr low As clod< i s simultaneously given to all
speed as lhe clock is propagated through flip-flops there is no problem of propagation
number of Orp-llops belate 11 reaches last delay. Hence they are high speed COtJnlers
Orp-flop and aro preferred when number of fiip-flop.s
increases in the given design.
Table 8.3 Synchronous Vs asynchronous counters
MIlia
Analog and Digital Electronics 8 - 23 Counters
Pin Description
1. Data inputs : D0 , Dl' D 2 and D 3 arc the four data Input lines with D0 is LSB and
D3 is MSB. We can load data through these Jines.
2. PL (Parallel Load) : On activation of this signal (active low) the data available on
data inputs (D 0 ,DpD2 , D 3 ) is loaded into the counter and it is then available on
output lines. The parallel load operation has higher priority than counting
operation.
3. Enable (G) Input : When this signal is low, counting is enabled and count is
incremented or decremented accorcijng to status of Down/UP signal on each low
to high transition of clock pulse applied to clock input High on this input disables
counting.
4. Outputs: Q 0 ,Q 1,Q 2 andQ 3 are the four output lines with Q 0 is LSB and Q 3 i5
MSB.
5. DOWN/UP : This signal determines the cijrection of the counting . When this
signal is high counter acts as a down counter; otherwise it acts as a up counter.
6. CP (Clock) : This is the clock Input for the counter.
7. Terminal Count : As soon as the counter reaches its maximum (1111) or minimum
(0000) count this signal goes high for one clock pulse.
8. Ripple Clock (RC) : This is an active low output signal It is used as the clock
input for the next higher stage as shown in the Fig. 8.32.
Oirecllon - . p - - - - - - -- .p - - - - - - - - - ,
control
U/0 RC
G
CLOCK
-=-
Fig. 8.32 Ripple clock connections
Connection Diagram for Different Operating Modes
The Fig. 8.33 shows the connection diagram of 74191 for various operating modes.
tllll h chu I M
A! ·;,g and Digital Electronics 8-24 Counters
Preset count
No
} connection
Drrection
control
Preset count
Solution : · Refer solution of example 8.14. Load 0110 instead of 0101 co\Ult.
,,.. Example 8.16 : Design down counter, anmtiug states from 1101 to 0011 using 4-bit
synchronous counter /C 74LS191.
Solution : The Pig. 8.36 shows the connections for 741..S191 to get desire operation. We
can design the combinational circuit for such counter from the truth table shown in the
Table 8.6.
Fig. 8.36
Q, 0, y
Q, ~
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
1 0 0 0 1
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 0
1 1 1 1 0
Tabla 8.6
Analog and Digital Electronics 8·27 Counters
K·map simplification
a1 a0
02 00 01 11 10
00 0 0 tj 1[ 0 a
.,
01
~- 1 1 11 ..,dl -
11 I
1 u.. 0 0
10 1 1' 1 '
1.t:r-
-
Fig. 8.37
v-a3QtQo+a3Q2+Q3al+Q,a2
Logic diagram for counter
PI I - - - - - - ,
CLOCK
..Ili1...
Fig. 8.38
After switch ON, if the counter output is other thnn 1101 through 0011, the PL. goes
low and count 1101 is loaded in the counter. The counter is then dCO'Cmcnted on the
occunence of clock pulses. When counter reaches 0010, the PL again goes low and count
1101 is loaded in the c;ounter.
,..,. Example 8.17 : How output frt~~uency, f 0111 arui clock frt~~uency, feu: art relattd in cast
of bi11ary counter, IC 74191 in up and down counting modt ? 1f fctK 500 Hz and =
f 0111 = 50 Hz, design the programmable frequency diuider using IC 74191 in up counting
mode.
Analog and Digital Electronics 8-28 Counters
Solution : The IC 74191 is a 4-bit binary counter, therefore fout = fctK fl6 In up and
down counting mode. lf fCLK = 500 Hz and four = 50 Hz we need mod 10 (500/50)
counter. The Fig. 8.39 shows the mod-10 counter using JC 74191.
0 0 0 0
Fig. 8.39
~- Example 8.18 : Design 11 counttr to cormt from 1110 to 0011 using 74191 TC.
CQunt =(16- N)
~
Where N Is the
frequency div1der
rout
,_. Example 8.20 : Design divide-lly-2 for upcounting and di"Oide-lly-5 for down counting
using frequency divider /C 74191.
crutzt M tcr"
Counters
RC
Fig. 8.41
rby· 2 IS a mod·2 muntcr. Since, after prescl above countl!r goes through 2 s~tcs
.,1111, 11 Is a mod-2 muntrt. Thus, above drcWI is a d•vide-by-2 c:ountrt for up
lode.
Analog and Digital Electronics a -Jo
1 1 1 1
ICU191 p[ l -- - --
~ o2 a, Oo
\
Analog and Digital Electronics 8 ·29 Counters
CLK
IC 74191
G RC
DoW!VUp 03
GND
-=-
Fig_ B-41
Dividc-by-2 is a mod-2 counter- Since, after preset above counter goes through 2 states
1110 and 1111, it is a mod-2 counter- lhus, above circuit is a dividc-by-2 counter for up
counting modc-
Divide-by-5 for down counting 111ode :
0:! ~ a, Oo y
1
0 0 0 0 0 02 00 01 11 10
0 0 0 1 0 00 0 0 0 0
0 0 1 0 0 01 0 0 0 0
0 0 1 1 0
11 lit 1 1 1 1]1
0 1 0 0 0
0 0
0 1 0 1 0
10 0
~
0 1 1 0 0
0 1 1 1 0 Fig_ B-42 K-map simplification
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
Truth t~ble
tllil h chu I M
Analog-and Digital Electronics 8 ·31 Counters
CP .I1.I1I1...
CP
Oa _.;..o_ _.;..__. 0
Oc ___________o____~....~~-0---------------~
Ou1putof
NAND
chlich ch 1 M nd
Analog and Digital Electronics 8 ·32 Counters
a"=C)-
Oc M00-5 Counter
Os=C)-
Oc MOD-6 Counter
QAD-
Oa M00-7 Counter
ac
Table 8.7 NAND gate Inputs for MOO-N counter
,,.. Example 8.22 : A cmain counttr is being pulsed by a 256 kHz. clock sig;uzl. T11L output
frequency from lite last flipflop is 2 kHz :
i) IHtmnine the MOD numbtr.
ii) Determine the cou11ting range.
H H X L L L L L
X X H H H L L H
X L X L COUNT
L X L X COUNT
L X X L COUNT
X L L X COUNT
Input
A
We know that, one IC can work as mod-10 (BCD) counter. Therefore we need two ICs.
The counter will go through states 0-19 and should be reset on state 20. Le.
QO QC QB QA QD QC QB QA
00 0 0000
7490 (2) 7490 (1)
Analog and Digital Electronics 8 ·37 Counte.rs
~ ~
Vni1S digh Tens cliglt
Fig. 8.51 Dlvide-by-20 counter using IC 7490
Solution ; IC 7490 is a decade counter. When two such ICs are cascaded, it becomes a
divide-by-100 counter. To get a divide-by·96 counter, the counter is reset as soon as it
becomes 1001 0110. The diagram is shown in Fig. 8.52.
Solution : IC 7490 is a decade counter. When two such ICs are cascaded, it becomes a
divide-by-100 counter. To get a divide-by-93 counter, thc •.countcr is reset as soon as it
becomes 1001 0011. The diagram is shown in the Fig. 8.53. " '
3 L L H H
4 L H L L
5 H L l l
6 H l l H
7 H l H l
8 H l H H
9 H H L L
Fig. 8.49
CLEAR : A LOW level at !he CLEAR input sets all four outputs of !he flip-flops
(QA, Qu- Qc, Qol to LOW levels regardless of the levels at P, T and LOAD Inp uts.
Timi ng waveforms :
CLEAR - - - - - .
LOAD -----+.,
oA -------
OUTPUTS
l Oa - - - - - - -
0c --- ----
Oo - - - - - - -
RIPPLEO~~~ -----i-+.12:-i7:
13:--':"14~15" 0
COUNT -
2
--f.---INHIBIT-
ClEAR PRESET
Fig. 8.59
,. . Example 8.30 : Sketch the output flXIWjrmns of the counter drcuit shotun in Fig. 8.60.
What ~I ~ its modulus 7
Analog end Digital Electronics Coum.,a
+SV
Fig. 8.60
Solution:
08 ~ 1 1 I0 0 I 1 1
I0 o I 1 1 I0 0
o o o o 11 1
I0 0 0 0 0 0
Oc - - - - - - - ' ·
00
o o o o o o o 0 I1 1 I0 0
Fig. 8.61
The CO\Uiter goes through states 0000 (Decimal 0) to 1011 (Decimal 11), i.e., through
12 states. Thus it is a MOD-12 co\Uiter.
,_. Example 8.31 : Explain IM operatum of IM cim1it shown in Fig. 8.62.
Fig. 8.62
ch·, I ~I lc d
Analog and Digital Electronics 8-43 Counters
Solution : The Fig. 8.63 shows the cascaded connection of 4-bit binary counters. Let us
see the drcuit operation. The counter !C1 operates as a counter for counting in the UP
direction since CLEAR = LOAD = 1. When the count reaches the maximum value (1111)
its RC (Ripple Carry Output)· goes HIGH which makes P and T (Enable) inputs of I<;
HIGH for one clock cycle advancing its output by 1 and making Q outputs of IC1, 0 at the
..
sc
:I
0
u
~
c
-.
:s
:s
:I
.2
...a;j!!
~
iii
:I
f:::J
0
u
C>
C>
C>
0
l:do
:2
>
..,i5
"!
CD
a,
ii:
next clock cycle. After this clock cycle P =T =0 for I<; and IC1 will go on counting the
pulses. When the outputs of IC1 and I<; both reach the maximum count, RC outputs of
both of these ICs will go HIGH. This will make P =T of IC:J HIGH and therefore, in the
next clock cycle IC:J counl will be incremented and simultaneously IC1 and I<; will be
cleared. This way the counting will continue.
• • Example 8.32 : Design the tlivitfe..by-40,000 (modulus 40/)00) ccunlu using four
741611Cs.
Solution : Cascading four 74161 (each 4-bit) counters we get 16 (4 >< 4) bit counter as
shown in the Pig. 8.63.
Therefore, we ~I 2 16 = 65,536 modulus counter
However, we require divide-by-40,000 counter. The difference between 65,536 and
40,000 is 25,536, which is the number of states those must be skipped from the full
modulus sequence. This can be achieved by presetting the counter to value 25,536 (63 CO
in hexadecimal). Each time when counter recycles it starts counting from 25,536 upto
65,536 on each full cycle. Therefore, each full cycle of the counter consists of 40,000 states.
74X163
1 0 X X X X X X 0 c B A
1 1 0 X X X X X 03 Q2 a, Oo
1 1 X 0 X X X X 03 02 a, Oo
1 1 1 1 0 0 0 0 0 0 0 1
1 1 1 1 0 0 0 1 0 0 1 0
1 1 1 1 0 0 1 0 0 0 1 1
1 1 1 1 0 0 1 1 0 1 0 0
1 1 1 1 0 1 0 0 0 1 0 1
1 1 1 1 0 .1 0 1 0 1 1 0
1 1 1 1 0 1 1 0 0 1 1 1
1 1 1 1 0 1 1 1 1 0 0 0
1 1 1 1 1 0 0 0 1 0 0 1
1 1 1 1 1 0 0 1 1 0 1 0
1 1 1 1 1 0 1 0 1 0 1 1
1 1 1 1 1 0 1 1 1 1 0 0
1 1 1 1 1 1 0 0 1 1 0 1
1 1 1 1 1 1 0 1 1 1 1 0
1 1 1 1 1 1 1 0 1 1 1 1
1 1 1 1 1 1 1 1 0 0 0 0
chlich ch 1 M nd
AnaiOg:and,Digitlll EIKtronles 8-46 Countera
· count bits are 1 and ENT is asserted. The RCO signal indicates a carry from the most
significant bit position.
ENP-"'17..:..>----r-~
ENT- - t - - - 1
(10) '-------1
Fig. 8.65 Logic diagram for the 74X163 synchronous 4-blt binary counter
crutzl M tcr"
Analog and Digital Electronics 8 ·47 Counter.
Fig. 8.66 Circuit connection for the 74X163 to operate In a free-running mode
ClK
Oo
a,
02
03
i 2 ! 3 ld s l s l 71s
Fig. 8.67 Timing wavefonn In free-running mode
For 74X163, the clear function is synchronous. A low level at the CLR input sets all
four outputs of flip-flops (Q 0 - Q 3 ) to low levels after the next positive-going transition on
the clock (CL.K) inpu~
Counter ICs : 74Xl60, 74Xl61 and 74X162
The counter 74X160, 74X161, 74Xl62 and 74X163 have the same pinouts. However, they
have some differences in the operation. 'These are as follows.
• Counters 74Xl60 and 74162 are the decade counters.
• Counters 74X160 and 74Xt61 provides asynchrono~ clear function where as
counters 74Xl62 and 74X163 provides synchronous clear function.
Analog and Digital Electronics 8 ·48 Counters
When IC 74X160 and 74X162 are connected in &ce running mode they count from
0 to 9. The Fig. 8.68 shows the timing waveform for free running divide-by-tO counter
using 74X160 and 74X162.
ch·, I ~I lc d
Analog and Digital Electronics 8 ·49 Countens
We can also design modulo-11 counter using CLR input as shown in the Fig. 8.70
' - He~, NAND..gatc .is used to detect state 10 and force the next state to 0. A 2·input g<~te is
used to detect state 10 (binary 1010) by connecting Q 1 and Q 3 to the inputs of the NAND
g<~tc.
74X163
chlich ch 1 M nd
Analog and Digital Electronics 8-51 Counters
+SV 74X163
CLK
CLR
R
05
ENP
ENT
CLOCK ,_..Q.A ao -
RESET ~ B a, ' -
I- r---!- c a2' -
~ D a3 , _ _
=D CNTEN
-= RCO ~
tJ '
CLK
74 X163
CLR
LD
- -
RELOAD ENP
........ ENT
,_..Q. A ao-
~B a, -
I- r---!-c 02-
'-- r---!-o a3-
-:... RCO MAXCNT
5. Use K-map or any other simplification method to derive the circuit the flip-flop
input functions.
6. Draw the logic diagram.
Note : The design procedure of sequential circuit involves few additional steps such as
state reduction and state assignment. For simplicity these steps are dclibcrately not
considered here.
Qn Q n+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
Table 8.11
(
-,
chli ch ch M nd
Analog and Digital Electronics 8 ·54 Counters
a. Oa Oc QA+1 Q 8+ 1 Q C +1 JA KA .Is Ka Jc ~
0 0 0 0 0 1 0 X 0 X 1 X
0 0 1 0 1 0 0 X 1 X X 1
0 1 0 0 1 1 0 X X 0 1 X
0 1 1 1 0 0 1 X X 1 X 1
1 0 0 1 0 1 X 0 0 X 1 X
1 0 1 0 0 0 X 1 0 X X 1
1 1 0 X X X X X X X X X
1 1 1 X X X X X X X X X
Fig. 8.77
ch11ld ~I t lid
Analog and Digital Electronics 8-55 Counters
a J Logic1
r->
Oc r--
KA a. . 1 - Ka aa ~ r-Kc Oc r-
cloci<
Fig. 8.78 Implementation of MOD-6 synchronous counter
Note : To avoid crossing of lines and to have better clarity the circuit can also be
represented as shown in Fig. 8.79. Here, instead of actual connections only signal names
are specified.
Logic 1
c~~ ------~------------------~----------~
Fig. 8.79 Simplified representation of Fig. 8.78
8.9.2 Design of a Synchronous Mod-6 Counter using Clocked 0 Fllp·Fiop
Designing with clocked D flip-flop is slightly simpler process than designing with any
other flip-flop. Since Q output of D flip-flop follows D input, next state and flip-flop input,
column~ are same and it is not necessary to refer excitation table and determine the
flip-flop inputs column in the transition table.
Step 1 : Find number of fllp-flops required to build the counter.
Flip·flops required arc : 2n :2: N
Here N = 6 :. n = 3
i.e. 1bree flip-flops are required.
0 0 1 0 1 0
0 1 0 0 1 1
0 1 1 1 0 0
1 0 0 1 0 1
1 0 1 0 0 0
1 1 0 X X X
1 1 1 X X X
Dc=Oc
Fig. 8.80
Step 4 : Implement the counter.
Note : Eventhough the procedure of implementing counters using D flip-flops is
simpler, it requires more circuitry to determine flip-flop inputs.
Fig. 8.81
Qn ~+1 T
0 0 0
0 1 1
1 0 1
1 1 0
0 0 1 0 1 0 0 1 1
0 1 0 0 1 1 0 0 1
crutzl M IC!"
Analog and Digital Electronics 8-58 Counters
'
0 1 1 1 0 0 1 1 1
1 0 0 1 0 1 0 0 1
1 0 1 0 0 0 1 0 1
1 1 0 X X X X X X
1 1 1 X X X X X X
Ta =OAOc Tc = 1
Fig. 8.82
Step 5 : Implement the counter.
QA
ac
logic 1
Clock - - - - + - - - - - - - - - - . . . . . __ _ _ _ __.
Fig. 8.83
8.9.4 Design of a Synchronous Mod-6 Counter using Clocked SR Flip-Flop
For designing of counter using clocked SR flip-flop we have to follow a similar
procedure as that for the design using clocked JK and T flip-flops.
Step 1 : Find number of Flip-Flops required to build the counter.
Flip-flops required arc : 2n <: N
Here N = 6 :. n = 3
i.e. Three flip-flops are required
ch '' 1 I. tc11
Analog and Digital Electronics 8 ·59 Counters
Qn Qn+1 s R
0 0 0 X
0 1 1 0
1 0 0 1
1 1 X 0
'
Ra=OeOc
Flg. 8.84
crutzl M tcr"
Analog and Digital Electronics 8 ·60 Countefs
Clock
Fig. 8.81;
8.9.5 Design of Synchronous Decade Counter
We know that in the decade counters we have to truncate normal counter seq~ence.
11\erefore, it is also called MOD-10 counter. Let us design the synchronous decade
counter. Here, we will not use clear input to reset the counter after state 1010. Table 8.12
shows the exdtation table for synchronous decade counter using T flip-flops.
Excitation table
~~:,,}?r,s"rit ~tllte ~~~~~ ~.: :i:~;r:~~~ i~t{~;siat11: ~ :.;.;~~E{; \L -~1~' Fli~·flo~~IJi~~~;;:~:1t·.
('% .·' "'::ad~: [~~pB' ·' <4;i:i,.-~ .o.;~~ 1 ·a~~ 1 ~Q~~~ Q'!-'•!•
' ·' ot
To::.: :. .Tc •· ~~g .~7 ~!T~~~)
""'1'
0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 1
0 0 0 1 1 1 0 0 0
0 1 1 0 0 0 1
0 · 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 X X X X X X X X
0 X X X X X X X X
0 0 X X X X X X X X
0 1 X X X X X X X X
0 X X X X X X X X
X X X X X X X X
Table 8.12
chu I M I"
Analog and Digital Electronics 8-61 Coun1era
K-map simplification I
ForT0 ForTe
'~~ 01 ni 10 ~A00 01 11 10
()( 0 0 0 0 DC 0 0 1 0
01 0 0 1 0 01 0 0 1 0
11 X I~ ..*_, X 11 X X X X
1( 0 1 X X 10 0 0 X X
ForT8
!JoOA
Oo(lc 00 01 11 10 .~~ 01 11 10
oc o I' 1 0 00 1 1 1 1
01 0 1 1 0 01 1 1 1 1
11 X X X X 11 X X X Xj
·~ 0 X X 1 1 1 X X
0
Fig. 8.86
Logic Diagram
Fig . 8.87
Fig. 8.88 shows the timing diagram for the synchronous decade counter.
Timing diagram
CP
Analog and Digital Electronics 8-63 Counters
Excitation table
)t Input cp!< P..:!~t s~ti. . ,, ',. ill ~N'e:f State " .~ Flip-Hop lilputs
~'"'
·aa
{~~ ClA~~1J1
ac + , ., ~ TA
~> ~Q~ , QB+1 Tc Ta
!UD),.
·~
1..0.. 0. .,,...., 1 }~. '
0 0 0 0 1 1 1 1 1 1
0 0 0 1 0 0 0 0 0 1
0 0 1 0 0 0 1 0 1 1
0 0 1 1 0 1 0 0 0 1
0 1 0 0 0 1 1 1 1 I
0 1 0 1 I 0 0 0 0 1
0 1 1 0 1 0 1 0 1 1
0 1 1 1 1 1 0 0 0 1
1 0 0 0 0 0 1 0 0 1
1 0 0 1 0 1 0 0 1 1
1 0 1 0 0 1 1 0 0 1
1 0 1 1 1 0 0 1 1 1
1 1 0 0 1 0 1 0 0 1
1 1 0 1 1 1 0 0 1 1
1 1 1 0 1 1 1 0 0 1
1 1 1 1 0 0 0 1 1 1
Table 8.14
K-map simplification
ForTe ForT8
00 ~aA QQ
8 A
uo ~~ 01 tt to UO 0 c 00 01 11 10 uoac 00 Ot tt tO
oo[p 0 0 0 001 0 0 1 U< 1 1 1
to o 0 llt 0 10 0 11.! 1 0 1 1 1 1 t
--
Fig. 8.89
Analog and Digital Electronics 8 ·67 Counters
Solution : 1he excitation table for mod-4 down counter is as shown in Table 8.15.
A B A+ ' B+ JA KA Ja Ka
0 0 1 1 1 )( 1 X
0 1 0 0 0 X X 1
1 0 0 1 X 1 1 X
1 1 1 0 X 0 )( 1
K-map simplification
ForJA ForK 8
A
B
0 1 AB 0 , A
B
0 1 A
B
0 1
r.
0 '1 0 0 'X X 0 1 X 0 X 1
1 ,_X X 1 ,
..... 0 , 1 X 1 X 1
-
J,. =B
Fig. 8.93
logic Diagram
+Vee
Fig. 8.94
Excitation table
Present state Next state
QD Qc QB QA Q- QC+1 Q B+1 QA+1
0 0 0 0 0 0 0 1
0 0 0 1 0 0 1 0
0 0 1 0 0 0 1 1
0 0 1 1 0 1 0 0
0 1 0 0 0 1 0 1
0 1 0 1 0 1 1 0
0 1 1 0 0 1 1 1
0 1 1 1 1 0 0 0
1 0 0 0 1 0 0 1
1 0 0 1 1 0 1 0
1 0 1 0 1 0 1 1
1 0 1 1 0 0 0 0
K-map simplification
FotOA For D8
OaOA QQ
0 A
OoOC 00 01 11 10 OoOC 00 01 11 10
00 1 0 0 IT - 00 0 1 0 1
01 1 0 0 1 01 0 1 0 1
11 X X X X II X X X X
10
~ 0 0 1 10 0 ,;,. 0 I
De • Ciao.. • OAOa
DQ"$ Oa
ForDe ForDo
OeOA a"
ac 00 01 11 10 00 01 11 10
00 0 0
lGJ 0 00 0 0 0 0
01 1(1 1 0 ~ 01 0 0 7, 0
I
11 lX X 11 lr:""
X X X X'f, ,'¢.., X
0 0 0
10 0 10 I 1J 0
I~
De • Oc08 + OcOA D0 • 00 00 + Oc08 0;.
+ llo llc Oa QA +Ool:iA
logic Diagram
CLK
Fig. 8.95
=
The first clock pulse produces Qe 1 and remaining outputs are zero. According to
the clock pulses applied at the clock input CP, a sequence of four states Is produced. These
states are listed in Table. 8.16.
74X194
Connected
as a
shift-left
shift register
Fig. 8.98 (b) State diagram for self correcting ring counter
The ring counter shown above has a single circulating 1. The ring counter with a
l...
single circulating 0 can be designed using NAND gate instead of NOR gate in Fig. 8.98 (a).
Example 8.42 : Design a 4-bit, 4-state ring counter using 74X194.
Solution : The Fig. 8.99 (a) shows the circuit diagram for a 4-bit, 4-state ring counter
with a single circulating 1. Here, 74X194 universal shift register is connected so that it
normally performs a left-shift. However, when RESET is asserted it loads 0001. Oru:e
RESET is negated, the 74194 shifts left on each clock pulse. The DSL serial input is
Analog and Digital Electronics 8 ·73 Counters
,_. Example 8.43 : Assume that 1011 input dAtJl p;Jttern is /Oillied into a 4-bit ring counter.
Sketch the rtsulting flip-jlqp Q output war~tjonns (Assume positroe edge triggering).
Solution:
CP
(LSB) a,.
(MSB) 00
Fig. 8.100
clock edge produce; QA=l and Q 8 = O,Qc = 0, Qo =0 since Da, De, Do are zero. The next
clock pulse produces QA=l ,Q8 =1, Qc = 0, Q0 = 0. The sequcnre of states is summarized
in Table 8.17. After 8 states the same sequence is repeated.
CP
So in general we can say that, an n-5tagc Johnson counter will produce a modulus of
2x n , where n is the number of stages (i.e. ffip-flops) in the counter. As shown in tables,
the counter will 'fill up' with ls from left to right and then it will 'fill up' with Os again.
L~ ~ ~ ~
CP
r>0 r>®
~ ~
r@r>@
OA OA- o-- 0, 0, f--<,-- De 0c f-- o-- 0, Oo-
~ ~
=t::)- CP0
.>- CP,
-1....1'"
~
.>-
~ CP7
One advantage of this type of sequence is that it is readily decoded with two input
AND gates. Table 8.19 gives the count sequence and required decoding.
Analog and Digital Electronics 8-76 Countera
74X194
CLOCK -t---'~CLK
RESET CLR Conneded
s, as a
shift-left
So shift register
OSl
0 Oo 12
c a, 13
8 02 14
A 03 15
OSR
ch11' M ern
\
CLOCK
RESeT
a,
'
~
''
'
''
'
(
~
I
''
''I
~
r
'
'
'
~
03
' ~
STATE s, 52 53 s, '
I s~ Sa 57 Sa '' s, 52 5;,
' '
Fig. 8.104 {b) Timing diagram for a 4-bit Johnson counter
s, 0 0 0 0
~ 0 0 0 1
5;, 0 0 1 1
54 0 1 1 1
Ss 1 1 1 1
Se 1 1 1 0
~ 1 1 0 0
Se 1 0 0 0
Table 8.20 States of a 4-bit Johnson counter
This counter can be modified to have self correcting Johnson counter as shown in the
Fig. 8.104 (c). Here, the connections are ~de such that circuit loads 0001 as the next state
whenever the current state is OXXO.
74X194
CLOCK CLK
+5V CLR Conned8d
R as a
s, shift-left
So shift reg-
DSl
D
c Oo
a,
B
02
A 03
DSit
LOAD
1111 h
Analog and Digital Electronics 8-78 Counters
1-+ Example 8.45 : How many flip-flops are required to implement each 1Jf following in a
Johnson counter amfiguration :
i) Mod 10
ii) MJXJ 16
Solution : Johnson counter will produce a modulus of 2x n where n is the number of
stages (i.e. flip-flops) in the counter. Therefore, Mod 10 requires 5 flip-flops and Mod 16
requires 8 rup-flops.
Review Questions
1. Explllin the working of 4-lrit asyncJrronous counter.
2. What is the primary disathJantagt of an asynclrronmls cmmtn?
3. A four-lrit asynchranous counter consists of flip-flops each IJf which luJs · a clock to Q
propag.Uion tk/ay of 12 ns. How long dces it IJike the counter to rtt:ycle from 1111 to 0000
after th.t triggering tdgt 1Jf the clock pulse?
4. Design the following ripple counters using ]K flip-flops :
a) Diuidt-by-5 b) Divide-by-11
5. Draw the complete timing diagram for the five stage syncJrronous lrinary counter.
6. A synchronous counter with three JK flip-flops luJs the following connections :
fA = KA = <b Te = Ks = QA. lc = QAQB- Kc = <2c
Determine its a) Modulus and b) the count sequerra
(Ans: a) S b) QcQaQA a 000,001,010,011,100)
7. Draw and explain the working of 4-lrit UP/DOWN syncJrranous counter.
8. How synchronous counters difftr from asynchronous counters ?
9. Write a sluJrt note on counter applkalions.
10. Draw the four lril /ohnstm counter and txplllin the optration.
11. Draw a four stage ring counter and explain its operatitm.
aaa
9.1 Introduction
The operational amplifier, most commonly referred as 'op-amp' was introduced in
1940s. The first operational amplifier was designed in 1948 using vacuum tubes. In those
days, it was used in the analog computers to perform a variety of mathematical operations
such as addition, subtraction, multiplication etc. Due to its usc in performing mathematical
operations it has been given a name operational amplifier. Due to the usc of vacuum
tubes, the early op-amps were bulky, power consuming and expensive.
Robert J. Widlar at Fairchild brought out the popular 741 integrated circWt (JC)
op-amp between 1964 to 1968. The IC version of op-amp uses BTTs and FETs which are
fabricat(.-d along with the other supporting components, on a single semiconductor chip or
wafer which is of a pinhead size. With the help of IC op·amp, the circWt design becomes
very simple. The variety of useful circuits can be built without the necessity of knowing
about the complex internal circuitry. Moreover, TC op-amps arc inexpensive, take up less
space and COIL<rume lesS power. The fC op-amp has become an intq,'Tal part Of almOSt
every electronic circuit which uses linear integrated circuit. The modern linear IC op-amp
works at lower voltages. It is so low in cost that millions arc now in usc, annually.
Because of their low cost, small size, versatility, flexibility, and d ependability, op-amps
are used in the fields of process control, communications, computers, power and signal
sources, displays and measuring systems. The op·amp is basically an excellent high gain
d.c. ,amplifier.
(9 . 1)
Analog and Digital Electronics 9-2 Op-amp Applications
Positive
supply voltage
® Output tel111inal
Negative
suPIJiy voltage
Fig. 9.1 Op-amp symbol
The input at Inverting Input terminal results In opposite polarity (antipha.o;e) output.
While the input at noninvcrting input terminal results in the same polarity (phase) output.
This is shown in the Fig. 9.2 (a) and (b). The input and output are in antiphase means
haviny tso• phase difference in between them while inphase input and output means
having 0" phase dllicrence in between them.
·-
output wi1ll
respedtoinp<Jt
(a) lnputaPIJIIed to ln..rting lemllnal
ch"t I ~I lc d
Analog and Digital Electronics 9-3 Op;unp Applications
The op-amp is fabricated on a tiny silicon chip and packaged in a suitable case. Fine
gauge wires arc used to connect the chip to the external leads.
+Vee= +15 v
+_l
:h
-T
-Vee =-15V
-T
- VEE =-12V
r.t1·1 I M il
Analog and Digital Electronics 9-4 Op-amp Applications
V1 and v2 are the two input signals while V., is the single ended output. Each signal is
measured with respect to the ground.
In an ideal differential amplifier, Ulc output voltage V0 is proportional to the difference
between Ulc two input signals. Hence we can write,
... (1)
V0 ;, Ad (V1 - V2 )
Where Ad is Ule constant of proportionality. The Ad is Ule gain with which di.ffcrcntial
amplifier amplifies the difference between two input signals. Hence it is called differential
gain of the differential amplifier.
'Thus, Ad = Differential gain
The difference between the two inputs (\J - V2 ) is generally called difference voltage
and denoted as Vd·
'l _v_o_ =_ A_d_v_d--.1
~
~
C.enerally the differential gain is expressed in its decibel (dB) value as,
.. I V,=yl
Practically, the differential amplifier produces the output voltage proportional to such
common mode signal, also. The gain with which it amplifies the common mode signal to
Analog and Digital Electronics 9· 5 O p-amp Applications
produce the output is called common mode gain of the differential amplifier denoted as
A,.
Thus there exists some finite output for V 1 = V2 due to such common mode gain Ac,
in case of practical differential amplifiers.
So the total output of any differential amplifier can be e.xprcssed as,
This shows that if one input is + 25 11V and other is - 25 11V then the output of the
amplifier will not be same, with the inputs as 600 I'V and 650 l'v. though the difference
between the two sets of the inputs is 50 11V.
For an ideal differential amplifier, the differential gain Ad must be infinite while the
common mode gain must be 7-E:ro. This ensures zero output for V1 = V2.
But due to mL~match in the internal circuitry, there is some output available for
V 1 = V2 and gain Ac is not practically zero. The value of such common mode gain Ac is
very very small while the value of the differential gain Ad is always very large.
At this stage; we can define one important parameter of the differential amplifier
known as common mode rejection ratio (CMRR).
Ideally the common mode voltage gain is zero, hence the ideal value of CMRR is
infinite.
For a practical differential amplifier Ad is large and Ac is small hence the value of
CMRR is also very large.
Analog and Digital Electronics 9-6 Op-amp AppliClltions
•-+ Example 9.1 : Determine th~ output voliAge of a diffmmtial amplifia for the input
voltages of 300 11V and 240 11V. The diffrrmtilll gain of the amplifier is 5000 and the ual~
of the CMRR is i) 100 and ii) ul
Solution : The differential amplliier is represented as shown in the Fig. 9.5.
i) CMRR =100
vd "\-V2 =300-240
60 ,.v
Vj + v2
V,= - 2-
300+240
= -- 2-
=270 f1V
Fig. 9.5
CMRR
100 sooo
A";
50
v
• Ad Vd +A 0 '{=5000 X 60 + 50x270
313500 11V =313.5 mV
ii) CMRR = 10S
Ad 5000
Cl\1RR = 1o5 =0.05
v. Ad Vd +A 0 V,=5000 X 60 + 0.05x270
300013.5 f1V =300.0135 mV
·I
~I lc d I
Analog and Digital Electronics 9·7 Op-amp Applications
Ideally Ac must be zero and output should be only Ad Vd which is SOOOx 60x 10-o i.e.
300m V. It can be seen that higher the value of CMRR, the output is almost proportional to
the difference voltage V d• rejecting the common mode signal So ideal value of CMRR for a
differential amplifier is~.
tll , h, I M
.. /
Analog and Digital Electronics 9·8 Op-amp Applications
The cxj,ectcd amplitude of output sine wave is 105 xi mV = 100 V but it gets clippt.'<l
at ± 15 V due to saturable property of the op-amp.
Key Point : PractiCIIIIy tlw ~W~II/ratiou voltage levels are about 90 % of t11e supply voltage
leuels.
Thus for an op-amp of supply ±15V the saturation voltage levels are 90 % of(± 15 V)
i.e. 13.5 V.
e) Infinite bandwidth :
The range of frequency over which the amplifier performance is satisfactory is called
its bandwidth. The bandwidth of an ideal op-amp is infinite. This means the operating
frequency range is from 0 to -. This ensures that the gain of the op-amp will be constant
over the frequency range from d.c. (zero frequency) to infinite frequency. So op-amp can
amplify d.c. as well as a.c. signals.
f) Infinite CMRR : (p =~)
The ratio of differential gain and common mode gain is defined as CMRR. Thus
infinite CMRR of an ideal op-amp ensures zero common mode gain. Due to this common
mode noise output voltage is zero for an ideal op·amp.
g) Infinite slew rate : (S = co)
This ensures that the changes in the output voltage occur simultaneously with the
changes in the input voltage.
The slew rate is important parameter of op·amp. When the input voltage applied is
step type which changes instantaneously then the output also must change rapidly as
input changes. If output does not change with the same rate as input then there occurs
distortion In the output. Such a distortion is not desirable. Infinite slew r~te indicates that
output changes simultaneously with the cha.n ges in the Input voltage.
The parameter slew rate is actually defined as the maximum rate of change of output
voltage with time and expressed in V / !Js.
=S =
~
0
Slew rate
dt mtximunt
crutzl M tcr"
Analog and Digital ElectroniC$ 9·11 OfHimp Applications
•Vee
.......... J--
Inverting
v2o----,
-- -----
crutzl M IC!"
Analog and Digital Electronics 9- 14 Op-amp Applications
,_. Example 9.3 : For a particular O(Himp, the input offset cu"ent is 20 nA while input mas
cu"ent is 60 nA. OJ/cu/ate the oo/ues of two input Uias cu"enls.
Solution: Iios : 20 nA, lb = 60 nA
.. ~I 140
.. 't.t 70 nA, ~t,2 =SOnA
PSRR = 6. vios
6-V.
I
CC ronstant VEE
... (3)
... (4)
I) Sl- rate:
The slew rate is defined as the maximum rate of change of output voltage with time.
The slew rate is s~ed in V/Jl sec. Thus
Slew rate =S =
~ mu
.. . (5)
Analog and Digital Electronics 9-17 Op-amp Applications
Thus the practical voltage transfer curve is as shown in the Fig. 9.14.
v. vd AoL
.. vd
v.
AoL
10
104
1 mV
Hence Vd is very small. As AOl ~ oo, the difference voltage Vd ~ 0 and realistically
assumed to be zero for analyzing the circuits.
v.
AoL
<'i - V2) v.
00
=0
vt v2 ... (1)
R, ~
Thus we can say that under linear range of
v. operation there is vlrtually short circuit
between the two input terminals, in the sense
that their voltages are same. No current flows
from the input terminals to the ground. The
Fig. 9.18 shows the concept of the virtual
gt'Ound. The thick line indicates the virtual short circuit between the input terminals.
Now if the noninverting terminal is gt"Otmded, by the concept of virtual short, the
inverting terminal is also at ground potential, though there is no physical connection
between the inverting terminal and the grotmd. 1his is the prlndple of virtual gJOUnd.
Key Point: Thus from the tqlllllion (1), the volttJge tJt the noninverting input tmnintJI
of "" op-tJmp ctJn be ntJlisticiJlly u:rumul to be elfiiiJl to the volttJge tJt the inverting
inl"'t tmnintJl.
The realistic simplifying assumptions are always used to analyse the practical op-amp
applications. The steps of analysis based on the assumptions are,
Step 1 : Input current of the ideal op-amp is always zero. Using this, the current
distribution in the ciccuit is obtained.
Step 2 : The input terminals of the op-amp arc always at the same potential. Thus if
one is grounded, the other can be treated to be virtuaUy gt"Otmded. From this, the
expressions for various branch cun-ents can be obtained.
Inverting
~\
amp4ifief
• • Phase 5hift
V • • o/180"
~!
Noninwrting
ampllflel
Voltage Vo = Vln
foDowor Unity gsln or
buffer amplifier
upon the comparison, it produces output voltage which is either positive saturation voltage
(+ V,..,) or negative saturation voltage (- V,..,).
A comparator is a circuit which compares a signal voltage applied at on.e input of an
op-amp with a known reference voltage at the other input, and produce either a high or a
low output voltage, depending on which input is higher. As comparator output has two
voltage levels, either high or low, it is not linearly proportional to input voltage.
There are two types of comparator circuits which are,
1. Non-inverting comparator
2. Inverting comparator.
VC<Jt
+
v.,
-.l .l
':'
':'
The point at which the transfer characteristics is straight line is called a trip point The
trip point is the input voltage at which the output changes its states from low to high or
high to low. In the basic comparator this trip point is zero as at Vin = 0, the output
changes its states.
Key Point: So we can Sll'J that whm V;, is gnstkr than trip poirrt, the output is high
while if V;. is Ius th1111 the trip poiJft the output is low.
As this change over occurs at Vin = 0, the basic comparator can be used to detect
occurrence of zero in the input voltage. Hence this circuit is called zero crossing detector.
But iJI practice it is possible to change the trip point from zero to other voltage. This is
achieved by some modifications in the basic comparator circuit
Moving a Trip Point
By application of a reference voltage to the inverting input rather than grounding it,
the trip point can be moved.
The Fig. 9.22 shows the application of reference voltage to the inverting input of a
basic comparator using a potential divider consisting of resisto:s R1 and ~·
+V~a~l--.~--
Now as long as input voltage Vin is less than Vm, the output is low i.e. - v ....- When
Vin becomes sllghtly greater than Vref• the op-amp output becomes high i.e. + V..,. Thus
the trip point is moved from Vin = 0 to Vin = Vref due to reference voltage applied to the
inverting input terminal.
A bypass capacitor is used on the inverting input to reduce the amount of power
supply ripple and noise appearing at the inverting input of op-amp. For effective
bypassing of ripple and noise, the critical frequency of the bypass circuit must be much
lower than the ripple frequency of power supply.
crutzl M IC!"
Analog and Digital Electronics 9-26 Op-amp Applications
vrof
..1.
v.
vt• ..1..
..1.. -:-
-:-
v.,f v.,
Vp~ ~!
.... ~· IVp
7 t~.- / ~
'1' ·-- I! f--·
..... ~
II \ \
IOV
;I\ ) : i\ J_J.V
--- 1-- _1
1ov 1--~0
r-;,:
Transfer characteristics for inverting comparator with +V~~ is shown in the Fig. 9.27.
v.
Vin<Vref -
- - - - --+---11-------- v,n
v,ot
+Vref = - R
R x
Vo R - + v.., R . . .
I+ 2
2 - -I+
R R x
2
2 .... postbve saturation
- Vrot
Vo
= -RI+ R
2
x
R
2 =-R- I+v..R,2 x
R . .
2 .... negative saturation
+ Vref is for positive saturation when V0 =+ v...1 and is called upper threshold
voltage denoted as VUT. - Vref is for negative saturation when V0 = - V,.., and is called
lower thnshold voltage denoted as VLT . The values of these threshold voltage levels can
be determined and adjusted by selecting proper values of R 1 and R2 .
vllf =
+Vsat Rz
Thus
(Rt +R2)
- v.., R2
and VLT
(Rt +R2)
Analog and Digital Electronics 9. 30 Op-amp Applications
ScllmiH ITiggcr
converts sine
wave into a
square wave
..:T_ri.:;gg::::e
...,r_v_o_
lt-'
ag~e
Rz = 12
R V 0 -(Trigger voltage)
While 1 = 12 ... vo = v ...
For BiFET op·amps, select largest of the two resistors as 1 Mn and then calculate
other.
,._. Example 9.4 : Design att irtverting Schmitt trigger to have trigger voltages of± 4 V. Use
op·amp 741 with supply of ± 15 V.
Solution : VlJT = + 4 V, VLT = - 4 V, Supply =± 15 V
±V..,1 = 0.9x[Supply)=±13.SV=V0
For op-amp 741, I ll(max) = 500 nA
12 100 I B(m.>x) = 50 j!A ...12 must be high
R2 ~lJT 4
= - -- = 80 kn (Use 82 leO standard)
12 sox 10- 6
vlJT 4
Recalculate 12 , 12 -- = - - - = 48.78 J.IA
Rz 82x 103
V0 - vlJT +V,., 1 -VLrr _ 13.5-4
--~-
2-
Iz - 48.78x w- 6
194.75 lcil (Use 180 kn standard}
Analog and Digital Electronics 9-32 Op-amp Applications
and
R
and H = VUT - VLT = 2 V531 rf 1
If sinusoidal input is applied to the noninverting Sdunitt trigger, the input and output
waveforms can be shown as in the Fig. 9.35.
r--r-v.,
Vrn> Vvr
Vur
~ ~ -- --- li'(- ·~ -- l
V0 changes from
-Vu , to •v...,
0
VLT +- -- ~· -/- r- -- ~· j
!- r-- r- i-t{
I
I
1-- v. I I I I I
r-t,. J
I I I I
I '
1 I I Vln <Vn
i oI
l V0 changes from
,_. Example 9.5 : For a Schmitt trigger slwwn in the Fig. 9.36, CQ/cuiJlte threslwld voliJige
le!Jels and hystmsis. Assuru v..,, :0.9 Vee·
Fig. 9.38
Analog and Digital Electronics 9. 33 Op-amp Applications
Solution: Vee + 15 v
v..,, 0.9 Vee e 0.9x15 e 13.5 V
51 kn,
0.06338 V =63.38 mV
•• Example 9.6 : For a non-inverting regenerative comparator sho10n in the Fig. 9.37,
calculate tripping vo/IJlges. Assume V541 =± 13.5 V.
100 ldl
Fig. 9.37
Solution : As input is applied to the non-inverting terminal, the circuit is non-inverting
Schmitt trigger.
100 kn' R2 =1 kn
+ v..,, RRz I
= 13.5 X 100 = 0.135 v
1
crutzl M 1e1"
Analog and Digital Electronics 9. 34 Op..amp Applications
v,~lvo +
+
..L-
-
- -
-
Fig. 9.38
This problem can be solved by using Schmitt trigger circuits. This is because they
exhibit Hysteresis. In case of Hysteresis, as soon as the input signal crosses the present
threshold level once, the output changes its state and activates the other threshold level, so
that the input signal must swing back to the new threshold in order to make the output of
the circuit to change its state again. Refer Fig. 9.39. By malcing Hysteresis width greater
than the maximum peak amplitude of nolw, a dead 2:one is created such that noise within
this rone no longer causes multiple output transitions.
Fig. 9.39
Analog and Digital Electronics 9-38 Op-amp Applications
~- Example 9.8 : A Schmitt trigger witlt Hysttresis widtlr 2 V and LTP of - 1.5 V
converts a 1 kHz sine wave of 5 V peak into a square wave. Calculate the time duration of
tile •rtgalive and positive portion of tire output wavefomr.
Solution : Let us draw the input and output waveforms as shown in the Fig. 9.43.
Vrn
LTP = -1.5 V and
H=2V
UTP 0.5 V -··· Now H = UTP- LTP
H = 2V
{
LTP-1.5V '-·-·
' I
2 = UTP- ( -1.5)
-5 v +-H·---
l --i i-.-
I i UTP = 0.5 V
v.~ j j i
vP = 5 v
In the Fig. 9.47, the angle 9
can be obtained from equation
of sine wave. Sine wave is
r, Tz represented as,
Fig. 9.43
vin =vp sin (n +e) when
n < ())! < 2n
AtLTP, - 1.5 5 sin (n+9)
-5 sine
.. sin 0 0.3
a 17.45°
The time period of sine wave is,
1
T = ~ = --=lms
f lx10 3
191.71°Xlrns
i.e. ---:3'"'60""o=--- =0.5325 ms
and T- T1 = 1 - 0.5325
0.4674 ms
l_. Example 9.9 : For the circuit shuwn in the Fig. 9.44 calculate the fl(l/lles of R1 and R2
if saturaticm voltages are +12 V and -12 V. Assume hysteresis width =6 V.
Fig. 9.44
Solution : Given +V,..1 = 12 V -v••, ; - 12 V VH = 6 V
We know that Hysteresis width is given as
R2
VH R'"RI+V""1 - v••.J
\+ 2
R2 VH
R 1 +R2 (+V,.. 1 -V,_,.J
R2 6
Rl + R2 112- (- 12)]
R2
0.25
Rt +R2
R2 0.25 R 1 + 0.25 R2
0.75 R2 0.25 R 1
R2
0.3333
If;'
Asswning R2 10 k!l
R, 10000 = 30 k!l
0.3333
crutzl M tcr"
Analog and Digital Electronics Op-amp Applications
,,.. Example 9.10 : 'for the Schmitt triggi!T shown in the Fig. 9.45, calculate the_trip points
and hysteresis, if V.., = ± 13.5 V. If the resistances have a tolerance of ± 5 %, what is the
minimum Hysteresis?.
Fig. 9.45
Solution : From the Fig. 9.45, R 1 = 68 kQ, ~ = 1.5 k!l and v.., = 13.5 V
5
vlJT R2
V 1. 13 5 = 0.2913 V
R, +R2 sat= 1.5+68x .
-R2
-R R Vsat =- 0.2913 V
1+ 2
,. . . Example 9.11 :Design a Schmitt trigger whose VLT and Vur are± 5 V. Draw its
WllfJtjorms.
Solution : Choose op-amp LM318 with V111 as ± 13.5 V with supply voltage ± 15 V.
vlJT= +5 V
R2
Now Vur R +R v..,
I 2
R2
.. 5
R 1 +R2
X 13.5
crutzl M tcr"
Analog and Digital Electronics 9-41 Op-amp Applications
.. Rl +~ 27~
.. Rl 1.7 R2 •..(1)
Choose R2 10 l<n
.. Rl 1.7 X .10
17 l<n
The designed circuit is shown in the Fig. 9.46 (a) while its waveforms are show~ in the
Fig. 9.46 (b).
•1SV
vout
!
''"'""·v""'EE-
" -f
!
.
• t
-v..t= -ta.sv ....._ _,__ ...___
Fig. 9.46 (a) Fig. 9.46 (b)
V -VF
UTP VUT =_oRR xRz
t+ 2
Where V0 = +Vsat
The diode 0 1 must have peak inverse voltage rating more than the supply voltage.
PIV of D1 > Supply voltage
The maximum reverse recovery time (l,r) of the diode must be very much smaller tha.n
the minimum pulse width of the input signal.
Minimum pulse width
t,, s 10
Key Point: By rroersing the direction of tlte diode 0 1, any negative lroel of LTP with zero
UTP level can be achieved.
By using two diodes, in series with two different resistances, two different UTP and
LTP levels can be achieved. nus is shown in the Fig. 9.48.
ch·, I ~I tc d
Analog and Digital Electronics 9 ·43 Op-amp Applications
:>·--r-------,---------~ Vo
...-------.
0 1 for controlling UTP
0 2 for controUing LTP
1.
~
v,., = Drop across ~
Fig. 9.48 Achieving different UTP and LTP levels in an inverting Schemltt trigger
When the output is positive , D 1 is forward biased and drop across ~ decides liTP
levels.
When the output is negative , 0 2 is forward biased and drop across R2 decides LTP
levels,
By varing the values of R1 and R3 , any desired liTP and LTP levels can be achieved.
ch·, I ~I lc d
Analog and Digital Electronics 9-44 Op-amp Appllcationa
>----+---o vo
.l
.l
Fig. 9.50 Achieving different UTP and LTP levels In nonInverting Schmitt Trigger
crutzr M tcr"
Analog and Digital Elec1ronics ·g · 45 Op-amp Applications
I
U1P = _Vo 1-
_V F X R2
_ and LTP = _IVo1
_-V_
F xR
2
Rl R3
(+V.. t -x) R 1 +x
.. VUT
Rl +R2
... (4)
... (5)
... (6)
r-
.=.. X volts
For -v.., = -10 V,
VI = VLT =- 4 V,
Fig. 9.52
The diode D1 is clamping diode comtccted across C. The diode clamps the capacitor
voltage to 0.7 Y when the output is at +Ysat· A narrow negative triggering pulse V1 is
applied to the noninvcrting input tenninal, through diode D2 .
Lct us see the operation of the circuit.
To understand the operation of the circuit, let us asS\UJ\C that the output V0 is at +Vsa1
i.e. in its stable state. The diode 0 1 conducts and the voltage across the capacitor C i.e. Vc
gets clamped to 0.7 V. The voltage at the non-inverting input terminal is controlled by
potentiometric divider of R1~ to II V0 i.e. +II V..1 in the stable state.
Now if V1, a negative trigger of amplitude V 1 is applied to the non-inverting terminal
~ that the effective voltage at this terminal is less than 0.7 V (+ 13 V501 + (- YJ) then the
output of the op-amp changes its state from + Vsat to - V501•
The diode is now reverse biased and the capacitor starts charging exponentially to
- V.., through the resistance R. The time constant of this charging is "t = RC.
The voltage at the non-inverting input term.inal is now - II Vsat- When the capacitor
voltage Vc becomes just slightly more negative than- 13 Vs.w the output of the op·amp
changes its state back to + Y-
The capacitor now starts charging towards+ V 501 through R until Vc reaches 0.7 Vas
capacitor gets clamped to the voltage.
The waveforms are shown in the Fig. 9.55.
fv,
(Trigger) ---l.., I
-w-TP
I
I
I
~~· --~~~--~~----------~------7'~------
vollage
I I
I I
.
-(! v$81--- -----~--- - - - - - - - - - - - - - - -
1
: ... ::- - - - - - - - - - - - - -
' ......
I '•
+Vsat : : To-Vg
•Vaal
fv 0
Outpot 0
voltage
T
-v...
Fig. 9.55 Wavefonns of monostable multivlbrator
chu I M lcr1
"
Analog and Digital Electronics 9-50 Op-amp Applications
Now for the monostable mullivibrator discussed above, the values of V1 and V1 are,
at t = T, -~v.., . .. (3)
l+V0 1 tv..,]
T = RC In l - Ji ... (5}
[
For monostable operatlon, the trigger pulse width TP should be much less than T, the
pulse width of the monostable multivibrator.
The diode ~ is not essential but it is used to avoid malfunctioning if any positive
noise spikes are present in the triggering line. It can be seen from the waveform that the
Analog and Digital Elec:tronlca 9·51 Op-amp Applications
voltage Vc does not _reach its quiescent value V01 until ti.m e T' > T. Hence it is necessary
that a recovery time T' - T be allowed to elapse before the next triggering signal is
applied.
When power is tum ON, V0 automatically swings either to +V511 or to -V,.1 since these
are the only stable states allowed by the Schmitt trigger. Assume it swings to +V,.1 • With
ch'1 I ~I lc d
Analog and Digital Electronics 9-52 Op-arnp Applications
=
V0 +Vsa1 we have VP = VUT and
capacitor slarts charging towards
+V,.1 through the feedback path
provided by the r""i>;tor R r to the
inverting (-) inpul This is
illustrated in Fig. 9Sl (a). As long
as the capacitor voltage Vc is less
than VUT, the output voltage
remains at +V....
As soon as Vc charges to a
value slightly greater than VUT,
the (-) input goes positive with
respect to the (+) inpul This
switches the output voltage from
Fig. 9.57 (a) When V 0 =
+Vut• capacitor
+V"" to - v.., and we have VP =
charges towards V UT
VLT' which is negative with
respect to ground. As v. switches to -V..,, capacitor starts discharging via~. as shown in
the Fig. 9.57 (b).
v.
R:z
Initially Vc = VUT
Finaly Vc = vlT l_-
':"
R,
T
1
= - R C In ( + v,., - "'IT )
r + V.., - VLT
.. T 2R
r
C In (+V -V )
sot LT
+ V.,. - VUT ... (7)
fo = 2R C In
(: ysat _ V.LT ) ... (8)
f +V,.. - VUT
T 2Rr CIn(~)
=
,. . Example 9.13 : For the circuit shown in Fig. 9.66 if R 2 = 100 .10,
R 1 = 86 .10. + V.w = 15 v.- v..,,
= -15 V, R = 100.10 and C = 0.1 fll',find
1
a) Vm· b) V,,T and c) frequency of osdllation
Solution : a) We know !hat,
R1 x ·• V.., _ 86 Kx IS
VUT R 1 + R 2 - 86 K+ 100 K
6.94 v
b) We know !hat,
R1 x-V.,., 86Kx(-15)
R1 +R 2 86K+ lOOK
-6.94 v
c) We know !hat,
2 R
f
C/n + V.""
( + v.,
-V. LT
- VUT
) .
2xtOO kx OlJ!Fxln
( 15 - ( - 6.94))
IS -(6 .94)
1
0.02 = SO Hz
T = 2 Rr C In +V.sat LT
( +V.,.- VUT
-V.)
Substituting the values of V1rr and VLT we get,
Fig. 9.61
And V0 =± v .., = ± 15 V. When V0 =+V..,1 = +15 V then C will charge through R 3
due to forward biased diode 0 1•
And when V0 = - V,. 1 = - 15V. C will discharge through R 4 due to forward biased
diode 0 2 . Selecting different combinations of R 3 and R4 , charging a.nd discharging time
can be varied and non-symmetrical square wave can be obtained. -
Now
0.5x15=75V
R1(-V..1 )
- R1 +R-;-
7.5
Analog and Digital EkK:tronlcs 9-59 Op-amp Applications
Now assume 50% duty cycle and design hence R 3 =R4 and,
1 1 1
TON = 2T=2x£
1
.!.x---=2xJ0-4 sec
2 2.5x10 3
O.lxl0-6 X ln(0.333)
1.8203 kfl
1.8203 lcQ
Now to vary the duty cycle from 30% to 70% divide R 3 + R4 in the ratio 3 : 4 : 3 as
shown in the Fig. 9.62. The modified circuit will give f = 2.5 kHz with variable duty cycle
from 30 o/o to 70 %.
Fig. 9.62
,_,. Example 9.17 : De;ign an op-amp circuit to generate a pulM lJJIITJtform offrtqumcy 2 kHz.
Solution : Th~ monostablc multivibrator using op-amp produces lhe pulse waveform.
The pulse width is giv~ by,
01 I V..,1 ]
T RC In [1 + V1 _p
1
T !=- - = 5xto-4 sec
f 2x to 3
6.7k 0
o,
~c 10kfl
Input
trigger ~---------------4
Fig. 9.63
crutzl M tcr"
Analog and Digital ElectroniC$ 9·61 Op-amp Applications
Reset
r--------------------------------
1
I
I
Trigger
Charging
•I unit
I output
I I
I I
I I
I I
,II ___________ _ I
t
-------------------------·
Reference
r 1
r child .chu d M "1
Analog and Digital Electronics 9-64 Op-amp Applications
r-~~---~•Vcc = +15 V
Comparator
R R1 SkO
Ch~ll
capadtor Threshold YO!tage is """'e
as capadtor voltage
Discharging when
0 1 is ON
chlich ch 1 M nd
Analog and Digital Electronics 9 - 65 Op-amp Applications
is d riving the set (S) input of R·S flip flop. TI'lis changes the state of output Q back to
high. This drives transistor Q1 into saturation which quickly discharges the capacitor C.
The Fig. 9.70 shows the waveforms of threshold voltage and output voltage Vout· 'The
charging of capacitor is exponential hence the threshold voltage is also exponential in
nature. When Q goes low, the Qbecomes high and positive going pulse appears at Vout·
Similarly when capacitor voltages increases more than the control voltage, Q becomes high
and Qbecomes low. This brings Vout to zero instantly. Thus a rectangular output gets
produced.
It can be observed that output remains high for the time which is required by
the capacitor to charge upto control voltage, through R. Thus by varying R or C,
the output pulse width can be varied. This is the working principle of timer IC
555.
Ground
• +Vee
Trigger Discharge
IC
555
Output Threshold
crutzl M IC!"
Analog and Digital Electronics 9 ·66 Op-amp Applications
51<fl
2
Grov.nd Resot
Pin 2 : Trigger
The IC 555 uses two comparators. The voltage divider consists of three equal
resistances. Due to voltage divider, the voltage of noninverting terminal of comparator 2 is
fixed at Vee I 3. The inverting input of comparator 2 which is compared with Vee/3, is ,
notrung but trigger input brought out as pin number 2. When the trigger input is slightly
less than Vcc /3 the comparator 2 output goes high. 1his output is given to reset input.
of R-S flip-flop. So high output of compa.rator 2 resets the flip·flop.
Pin 3 : Output
The complementary signal output (Q ) of the flip-flop goes to pin 3 which is the
output. The load c;~n be connected in two ways. One between pin 3 and ground while
other between pin 3 and pin 8.
Pin 4: Res et
1his is an interrupt to the timing devkc. When pin 4 is grounded, it stops the working
of device and makes it off. Thus, pin 4 provides on/off feature to the IC 555. 1his reset
input overrides all other functions within the timer when it is momentarily grounded.
ch·, I ~I lc d
Analog and Digital Electronics 9 ·68 Op-amp Applications
9.26.1 Operation
The flip-flop is initially set i.e. Q is high. This drives the transistor ~ in saturation.
The capacitor discharges completely and voltage across it is nearly zero. The output at
pin3 is low.
When a trigger input, a low going pulse is applied, then circuit state remains
unchanged till trigger voltage is greater than 1/3 Vee· When it becomes less than
1/3 Vee• then comparator 2 output goes high. This resets the flip-flop so Q goes low and
Q goes high. Low Q makes the transistor ~ off. Hence capacitor starts charging through
resistance R, as shown by dark arrows in the Fig. 9.72.
The voltage across capacitor increases exponentially. This voltage is nothing but the
threshold voltage at pin 6. When this voltage becomes more than 2/3 Vce , then
comparator 1 output goes high. This sets the flip-flop i.e. Q becomes high and Qlow. This
high Q drives the transistor ~ in saturation. Thus capacitor C quickly discharges through
~ as shown by dotted arrows in the Fig. 9.73.
So it can be noted that Vnut at pin 3 is low at start, when trigger is less than 1/3 Vcc
it becomes high and when threshold is greater than 2/3 Vcc again becomes low, till next
trigger pulse occurs. So a rectangular wave is produced at the output. The pulse width of
this rectangular pulse is controlled by the charging time of capacitor. This depends on the
Analog and Digital Electronics 9-69 Op-amp Applications
time constant RC. Thus RC controls the pulse width. The waveforms arc shown in the
Fig.9.73.
ve V (1- e·•feR) .
If Ve 2/3 Vee
2 Vee (1 -e- •/CR)
then JVee
2 _ c· tfeR
3- 1
1 - tfeR
0
3
t
- CR - 1.0986
+ 1.0986 CR
a 1.1 CR
where C in farads, R in ohms, t in seconds.
Thus, we can say that voltage across capacitor will reach 2/3 Vee in approximately
1.1 times, time constant i.e. 1.1 RC
Thus the p~ width denoted as W is given by,
W • 1.1 RC
Analog and Digital Electronics 9 ·70 Op-amp Appl ications
Output
Initial stage
Makes R=t, O=Low
Q = High, Oct OFF
-R-.
Vc becomes-3-vcc
Output low ..., Output high. Capacitor _, Makes S=1, R=O, a=High,
a= High. O= Low ..... starts charging to Vee· ..... '1:i=Low Output low, Oct ON
ad ON. c discharged Though trigger becomes capacitor discharges to
zero R"O, S"O so no zero through a 0
change in output
"
tllil h ctru I M
Analog and Digital Electronics 9. 71 Op-amp Applications
~--
l outoul:
I ~ ~ ·,--~-- -~-
I
I
I
:T-~--~
: 1 !
- -·--·
I
-·if-~
Jcc ~J_- : I
~,:
I I
r -·
:r--+- I
I I
I
--i--
i
0
- --+--
i
I
n
I
t------1--------
I I I
I I I i i
Fig. 9.76 Input and output wavefonns of the monostable multivibrator
I 1
as a divlde-by-2 circuit
The monostnble multivibrator will be triggered by the first negative going ~>dge of the
trigger input, which will make output to go in its high state. The output will remain high
for the period equal to 'timing interval'. As tinting interval is greater than time period of
the trigger input, output wiU still be high when the second negative going pulse occurs.
The monostable will, however, be re-triggered on the third negative-going pulse. Therefore,
monostable triggers on every other pulse of the trigger input, so there is only one output
for every two input pulses, thus trigger signal is, divided by 2. In this way, by adjusting
the timing interval, the monostable circuit can be: made integral fractions of the frequency
of the input trigger signal.
voltage, and hence the threshold voltage level of the upper compacator (comparator 1). As
a result, time period required to charge the capacitor upto threshold voltage level changes,
giving pulse width modulated signal at the output as shown in the Fig. 9.77 (a).
..• (1)
The time period of output is same as that of the trigger input clock.
I D = ~ I ... (4)
,,... Example 9.18 : Design a nwnostabte for a pulse width of 10 ms by using lC 555.
.. lOxlo - 3 1.1 RC
.. RC 9.0909x l o- 3
Choose c c O.liJF
.. R 90.909 kn ~ 91 kn
The designed circuit is shown in the Fig. 9.78.
Tngger
Fig. 9.78
''* Example 9.19 : Design a timer, wlrich should h•rn ON htater immediately after pressing
a push button and should lwld htater in 'ON-stale' for 5 secotrds.
Solution : Fig. 9.79 shows monostable circuit used to drive the relay.
This relay should be energized for 5 seconds to hold healer 'ON' for 5 seconds. Thus,
To,..., for monostable is 5 seconds.
r - - -- - - , - - - . . , --<> +1 2V
Reset
230V. AC 50 Hz
Fig. 9.79 Monostable multivibrator used to switch 'ON' relay for specific time
We know that the pulse width is given by,
W 1.1 RC
5 1.1 RC
Now, there arc two unknowns. In this case. we have to select value for capacitor and
with the selected value we have to find the value of resistance from the formula.
: . If capacitor value is 10 11F
then 5 l.l x R x 10 11F
R s
l.lx 1011 F
454545.45 n = 454.54 k!l
The calculated value is not standard value, but we can adjust this value by connecting
variable resistance i.e. potentiometer.
lll.. Example 9.20 : Draw tire circuit diagram of Timer using lC 555. Calculate tire
component values if tire controlled door should remain opm for 15 sees after a trigger signal
is received. The de voltagt available is either 10 or 15 volts.
Solution : The requirement is that the door must be open for 15 sec after receiving a
trigger signal and then gets shut down automatically. This requires IC 555 in a monostable
mode with a pulse width of 15 sec.
W = 15 sec.
Now w 1.1 RC
15 1.1 RC
Choose c lOO~F
R 136.363 kQ
The designed circuit is shown in the Fig. 9.80.
Trigger -=-
-!Vee - =lf-.
Fig. 9.80
TI1e supply voltage 10 or 15 V has no effe<:t on the operation of the circuit or the
values of R and C selected.
Transistor
a 4 8
+Vot.A
-=- Output
ramp
O.DI )JF
CI
-=- -=-
Fig. 9.81 Linear ramp generator
Analog and Digital ElectroniC$ 9·76 Op-amp Applications
The circuit is used to obtain constant current lc is a current mirror circuit, using
transistor Q and diode D. The current Ic, charges capacitor C at a constant rate towards
+ Vcc- But when voltage at pin 6 i.e. capacitor voltage Vc becomes ( 2 I 3 Vcc ). the
comparator makes internal tTansistor Q 1 ON within no time. But while discharging when
Vc becomes ( 1 I 3 V cc ), the second comparator makes Q 1 OFF and C starts its charging
again. As discharging time of capacitor C is very small, the time period of ramp is
assumed practically same as that of charging time of capacitor.
The waveforms are shown in the Fig. 9.82.
The time period of the ramp is approximately given by,
VccC
T = JiCsec
V -V V -V
where lc = Charging current = ccR D = cc R BE
f = .!. = .3 lc Hz.
T Vee c
vout
Output
at pin 3
ov~-----+~-----+~-----+-+-----------
Output Vc
at pin 6
tvcct-~~~~----~~----~-+-
j-T-j
Fig. 9.82 Waveforms of ramp generator
crutzt M tcr"
Analog and Digital Electronics 9-77 Op-amp Applications
For this circuit timing interval is adjusted such that it is slightly longer than the period
of input signal. The continuous low going pulses of the period less than the timing
interval do not allow capacitor to charge upto 2/3 Vcc· As a result, output voltage
remains high. [n case of missing pulse (pulse 4), capacitor charges upto 2/3 Vee and
forces output voltage in to its low state, as shown in the Fig. 9.83 (b). This type of circuit
can be used to detect a missing heart bl!llt
1 2 3
Ve
~;~--_/
,:_t ____________________________ ~l~---·
Fig. 9.83 (b) Waveforms for missing pulse detector
Analog and Digital Electronics 9-78 Op-amp Applications
R,
3t-----ovo
IC
555
UTP : 2Vcc
-3-+vnlOd ... (5)
when v .,~>d increases, the UTP level increases and hence pulse width also increases. If
v n><><l decreases, UTP level decreases and pulse width also decreases. Tiiiis the pulse width
varies as shown in the Fig. 9.84 (b). "" ~
~ Pulse wldlh is variable
f-=--1
f+'-i
I : : ~ : : j I
~~ ·
Space betwee11
pulses is constant
Fig. 9.84 (b) Output of PPM
The pulse width is given by,
... (6)
Analog and Digital Electronics 9-79 Op-amp Applications
9.27 .1 Operation
When the flip-flop is set, Q is high which drives the transistor ~ In saturation and
the capacitor gets discharged. Now the capacitor voltage is nothing but the trigger voltage.
So while discharging, when it becomes less than 1/3 Vco comparator 2 output goes high.
This resets the flip-flop hence Q goes low and Qgoes high.
The low Q makes the transistor off. Thus capacitor starts charging through the
resistances RA, Rs and Vcc· The charging path is shown by thick arrows in the Fig. 9.85.
As total resistance in the charging path is (RA + Rs), the charging time constant is
(RA + Rs) C.
Now the capacitor voltage is also a threshold voltage. While charging, capacitor
voltage increases i.e. the threshold voltage increases. When it exceeds 2/3 Vcc' then the
comparator 1 output goes high which sets the flip-flop. The flip-flop output Q becomes
high and output at pin 3 i.e. Q becomes low. High Q drives transistor ~ in saturation and
capacitor starts discha.r ging through resistance R8 and transistor Qd. nus path is shown by
dotted arrows in the Fig. 9.85. Thus the discharging time constant is R8 C. When capacitor
voltage becomes less than 1 /3 Vco comparator 2 output goes high, resetting the flip-flop.
nus cycle repeats.
Thus when capacitor is charging, output is high while when it is discharging the
output is low. The output is a rectangular wave. The capacitor voltage is exponentially
rising and falling. The waveforms are shown in the Fig. 9.86.
crutzl M IC!"
Analog a net Digital Electronlea 9-81 Op-empAppllcations
w
o/o D = TxlOOo/o
The charging lime for the capacitor is given by,
T< = Charging time = 0.693 (RA + Rs) C
While the discharge time i.s given by,
f = _!. = I
T 0.693(RA +2R 11 )C
f -
-
1.44
(RA +2R 8 )C
Hz I
If RA is much smaller than R& duty cycle approaches to 50% and output waveform
approaches to square wave.
crutzl M IC!"
Analog and Digital Electronics 9 - 82 Op-amp Applications
• • Example 9.21 : A 555 timer is co11jigured to run in astable mode with RA = 4 kO.
R8 =4 kn and C = 0.0111F. Determine the frequency of tire output and duty cycle.
Solution : The frequency o f output is given by,
f ~-- = 1.44
(RA + 2 Ro)C (4 + 2 x 4)xt0 3 xO.Ol x to-o
12 kHz
The duty cycle is given by,
D = ~+Ra 4+ 4 = 0.6667
R.., + 2 R0 =4+(2x4)
Thus the duty cycle is 66.67 %.
'This relay should be energized for 3 seconds and then de-energize by 1 seconds.
Hence charging time of capacitor is 3 seconds whkh is a pulse width W.
W = 3 seconds
While total time of one cycle is,
.. T 3 + 1 =4 seconds
.. D
w 3
T = = Duty cycle
4
0.75
RA +Rn
But D
RA + 2 R 8
RA + Rn
.. 0.75
RA + 2 R 9
.. RA + 2 R 8 1.33RA + 1.33 R 8
.. 0.667 Rb 0.333 RA
.. RA 2 R8 ... (1)
Choose c 10 J.IF
3
.. RA + Rs
0.693xtoxto-6
... (2)
4.32 x 103 + R 2
70 ~ 100
14400
.. R2 5.76 leO
Using (1) R3 4.32kn
Thus the va.r ious component values are,
C = 0.1 j.(F, R 1 =R 3=4.32 kO, R 2= 5.76 kO.
9.28 555 Timer as a Schmitt Trigger
The Fig. 9.97 shows the
use of 555 timer as a schmitt
trigger.
The input is given to the
pins 2 and 6 which are tied
3 t-<o---Output together. Pins 4 and 8 are
c connected to supply voltage
v.,~ 555
Input +Vee. The common point of
~ · two pins 2 and 6 is externally
biased at Vcc I 2 through the
0.01 ~F resistance network R1 and
R2. Generally R1 ~ R2 to get
the biasing of Vee 12 . The
Fig. 9.97 555 u a schmitt trigger upper comparator will trip at
2/3 Vcc while lower
Input comparator at 1/3 Vee· The
~Vcc~~-~----+1·-\----~-\--- bias provided by R 1 and R 2
is centred within these two
thresholds.
Thus when sine wave of
sufficient amplitude, greater
Output
than Vcc/6 is applied to the
ciruit as input, it causes the
internal flip-flop to
alternately set and reset.
Due to this, the circuit
produces the &qiUII'e wave at
the output, as shown in the
Fig. 9.98.
Fig. 9.98
crutzl M IC!"
Analog,and Digital .EIIIc:tronlcs 9 - 92
,_. Example 9.26 : DrltW the circuit diagrll11l of 1111 llSIRble multivilrratur to gmmlle the
output sigt~~~l with frequency of 1/cHz mui the duty cycle of 75%.
Solution : f =1kHz
0 75% =0.75
1.44
Now Hz
CR,.. +2R 8 )C
1.44
.. 1 x10 3
(R,.. +2R 8 )C
(R" +Ra)
.. while %0 (R,.. + 2Ru) xlOO
R,.. +R 0
.. 0.75
R,.. +2R 8
(R,.. +R 8 )
.. RA + 2 Rs 0.75
Choose c = 0.1J.1F
Substituting in (1),
crutzl M IC!"
Analog and Digital Electronics 9 ·93 op.amp Appllcatloml
Fig. 9.100
.. RA + Ro 0.6 RA + 1.2 R8
.. 0.4 RA 0.2 R8
.. Ra 2 RA ••• (1)
1.44 1
(RA +2Ro)C =T =1000
Choose C o;IIJ.)'
.. RA + 2Rs 14400
Using (1),. SRA 14400
--QfU 1ms
Fig. 9.101
l... Example 9.28 : Draw the circuit diagTQm of lC 555 used as the astable mode to generate
square wave of 1 kHz frequency, giuing output equal to 5 V for ~ msec atld output equal to
1
OV frr next msec. Connect one red bzmp and one grem lilmp so that frr 1 msec red bzmp
2 2
is ON and green is OFF 11nd jrJr next ~ msec green lamp is ON and red is OFF. lAmps
have r11tings of 5 V 11nd 50 mA.
.. RB 7.246 kQ
Now duty cycle is 50% soRA = R0 =7.246 kQ
Practically a modified circuit is required for 50% duty cycle where diode is connected
across R 8 and charging talces place through R,. and diode. And R 8 must be equal to sum
of RA and diode forward resistance. So to have perfect square wave, RA is kept variable
i.e. pot of say 10 kQ, in this case. It is then adjusted to obtain preciBe squaze wave. The
resistance required in series with LED to be connected is,
Analog and Digital Electronics 9-95 Op-emp Applications
0.25W
1- Fig. 9.102
Example 9.29 : Dt$ign a ramp gentrator using 555 timtr /uroing output frtJ~umcy
5kHz, with Vee =+SV.
of
3Ic
and
vee c
U Rx0.22x10-{,
R 41.4 k!l
NoW. the output of timer is given as,
v. Vcc-2VaE-VCEsal
Let 15 V, VBE = 0.7 V and VCEsol e 0.2 V
15 - 2 X 0.7 - 0.2
13.4 v
Now the drop across LED is 1.4 V. There must be resistance in series with LED say
RLro· The LED CWTent is 20 rnA.
R = v.-vr.cD = 13.4-1.'!_= 6000
LED (LED 20x10-J
To improve the noise immunity, connect a 0.01 (lF capacitor between pin No5 and
ground. The designed circuit is shown in the Fig. 9.105.
R 41.41<!l
._-- --<........t7 3
~---o--l6
cio.22 555
pF
Tnggero---.-1
Fig. 9.105
'The second circuit is an astable with frequency 1 kHz and ~5% duty cycle.
1.44
1.44
.. 1x 10 3
(R" +2R 8 )C
RA +Ra
Duty cycle
RA +2R 8
Substituting in (1),
RA + 2x0.0555RA 144x10 3
.. RA 129.6 kn
and Ro 7.19 kn
The designed circuit is shown in the Fig. 9.106.
Vcc=15V
+----<>--1 7
Fig. 9.106
9.32 0/A Converters
A DAC (Digital to Analog Converter) accepts an n·bit input word b 1', b 2, b 3, ... bn in
binary and produce an analog signal
proportional to il Fig. 9.107 shows circuit
symbol and input-output characteristics of
OAC Yo= Analog output a 4-bit DAC. There are four digital inputs,
indicating 4-bit DAC. Each digital input
requires an electrical signal representing
either a logic 1 or a logic 0. The b n is the
least significant bit, ISB, wherea.~ b 1 is
b1 17 b3o, J>n " Digital inputs the most significant bit, MSB.
Fig. 9.107 (a) DAC circuit symbol
Fig. 9.107 (b) shows analog output voltage V0 is plotted against all 16 possible digital
input words.
15
Das~ed envelope of 14
output voltage vs. 13
digital input
12
L/ 11
10
..
CD
(/)
-'
/
9 .:
"'
~"
8
7 >0
6
5
4
3
2
1
0
b4 - o .... o ~ o ..- o .... o .- o 0 ~ 0 ~
b3 - o o ..- .- o o o o 0 0 ~ ~
b2 - o o o o -
b1 - o o o o o o o o ....
Settling Time
This is the time required for the output of the DAC to settle to within ± 1/2 lSB of
the final value for a given digital input i.e. zero to full scale.
Stability
The performance of converter changes with temperature, age and power supply
variatiom. So all the relevant parameters such as offset, gain, linearity e'!or and
monotonicity must be specified over the full temperature and power supply ranges. Thcse
parameters represent the stability of the converter.
,_,. Example 9.32 : An 8 bit DAC lws an output voltage range of 0 - 2.55 V. Define its
resolution in two ways.
Solution : Por the given DAC,
n Number of bits = 8
i) Resolution
i.e. the output voltage can have 256 different values including zero.
il) VoFS Pull scale output voltage
2.55 v
V0 FS _ 2.55 IOmV
Resolution
2" - 1 - 2 8 -1 = I LSB
.. vo Resolution x D
Now D Decimal of (011% = 6
.. 'vo 1 v/LSB X 6 = 6 v
Analog and Digital Electronics 9-103 Op-amp Applications
,, . . Example 9.34 : An 8 bit DAC has resolution of 20 mV/l..SB. Find VcFS and V0 if the
input is (10000000)z.
v;,FS
Solution: Resolution
2" - I
Vol'S
.. 20
28 -I
.. Vol'S 5.1 v
D Equivalent of (10000000) = 128
.. vo Resolution x D =20 x 128 =2.56 V
,,.. Example 9.35 : Find out stepsize and an4log output for 4-bil R-2R 14ddu DAC when
input is 10()0 and 1111. Assume V, =+5V.
1
Solution : For given DAC, n = 4, Vors = +5 V
,, . . Example 9.36 : A 12-bit DAChas 4 step size of 8 mV. Dttumine the full =le output
voltage and percentage resolution. Also find the output voltage for the input of
010101101101?
Solution : For 12-bit DAC, step si?..e is 8 mV.
V0 FS 8 mVx2 12 - I= 32.76 V
The coefficient of D is the voltage resolution and can be called as simple resolution .
The resolution of R/2R ladder type DAC with current output is,
while the resolution fo R/2R ladder type DAC with voltage output is,
Resolution = (
2~ x ~ } Rr ...(12)
Solution: R~lution = ( 2 ~ x ~ } Rr
crutzl M oct"
Analog and Digital Electronics 9 ·113 Op-Mtp Applications
,_. Example 9.38 : An 8-bit ADC outputs aU 1's when \) =5.1 V. Find its a) Resolution
and b) Digital output when \) 1.28 V.=
Solution : a) From equation (1) we have,
Resolution = 28 =256
and from equation (2) we have,
. 5.1V
Resolution = - - = 20 mV/LSB
2 8 -1
Therefore, we can say that to change output by 1 LSB we have to change input by
20mV.
b) For 1.28 V analog input, cllgital output can be calculated as,
D = 2
l. SV = 64 LSBs
20mVjLSB
l- Exampto 9.39 : Calculate the qttantizing error for 12-lrit ADC with full scale input voltage
4.095 v.
Solution : From equation (3) we get
crutzl M tcr"
Analog and Digital Electronics 9-114 Op.amp Applications
latches
Oeooder or drivers
8888o~ay
Fig. 9.119 Single slope ADC
At the start, the reset signal is provided to the ramp generator and the counters. Thus
cotmters are rcsettcd to O's. The analog input voltage Vin is applied to the positive
tcnninal of the comparator. As this is more positive than the negative input, the
comparator output goes high. The output of ramp generator is applied to the negative
terminal of the comparator. The high output of the comparator enables the AND gate
which allows clock to reach to the counters and also this high output starts the ramp.
The ramp voltage goes positive until it exceeds the input voltage. When it exceeds Vin,
romparator output goes low. This disables AND gate which intum stops the clock to the
rounters. Th.e control circuitry provides the latch signal which is used to latch the rounter
data. The reset signal resets the counters to O's and also rL><;ets the ramp generator. The
latched data is then displayed using deroder and a display device.
let us ronsider the practical example to understand the worldng. Assume that the
clock frequency is 1 MHz. There arc four BCD rountcrs and the input VIn is 2.000 V.
Now let ra.m p has a slope of 1 V/ms as
shown it\ the Fig. 9.120. As the input is
2.000 V, the ramp will take 2 ms to reach to
2 V and to stop the clock to the cotmters.
ValiS
Now how many pulses will reach to the
counters during 2 ms ? It can be calculated
from the frequency of the clock. The number
of pulses reaching to the rounter in 2 ms is
Fig. 9.120 lrus 2000. The comparator output
(II tMHz)
AnalOg and Digital Elec:tronics 9 · 116 Op-amp Applications
Volts
•.. (2)
crutzl M tct"
A"'log and Digital Electronics 9-117 Op-amp Applicationa
The above equation sbows that 12 is direct!)• proportional only to the V1, since VR and
11 are co.nst:ants. lhe bmary digital output of the counter gives corresponding digital va.lue
for time period 12 and hence it is also ctircctly proportional to input signal V1•
The actual conversion of analog voltage V,n into a dJgit:al count occurs during t2 . 'Inc
control circuit connects the dock to the counter at the beginning of ~· The dock is
disconnected at the end of ~· Thus the counter contents is ctigital output. Hence we can
write,
Diglt8 second
. I output ; ( Counts ) lz ...(3)
t2 (~}I
i) ~ (H~) (83.33)
·83.33 ms
ii) v, 200mV
.. ~ ~ (~~ )<83.33)
166.6 IN
• • Examplo 9.41 : Find the digital output of an ADC lulving t 1 as 83.33 ms and VK as
100 mV for an input voltage of •· 100 mV. The clock frequency is 12kHz.
Digital output
ch1j I M na
Analog and Digital Electronics 9 - 118 Op-amp Applications
Output of OAC
Operation:
The searching code process in successive approximation method is similar to weighing
an unknown material with a balance scale and a set of standard weights. Let us assUJJIC
that we have 1 kg. 2 kg and 4 kg weights (SAR) plus a balance scale (comparator and
OAC). Now we will sec the successive approximation analogy for 3-bit ADC.
Rt'fcr Fig. 9.123 and 9J24. 11u• analog voltage V;n is applied ill one input of
comparator. On receiving start of conversion sign.1l (SOC) ~uccessivc approximation
register sets 3-bit binary code 100 2 (b 2 :. 1) as an input of DAC. 11tis is similar process of
placing the unknown weight on one platform of the balance and 4 kg weight on the other.
The DAC converts the digital word 100 and applies it equivalent analog output at the
second input of the comparator. TI1c comparator then compares two voltages just like
comparing unknown weight with 4 kg weight with the help of balance scale. If the input
voltage is greater than the analog output of DAC, successive approximation register keeps
h2 = 1 and makes b1 = 1 (addition of 2 kg weight to have total 6 kg weight) otherwise it
~'Sets hz = 0 and makCli b 1 = 1 (replacing 2 kg weight). The same process is repealed
for b 1 and bw The stahJs of b0 , h 1 and h1 bits gives the digital equivalent of the analog
input.
fig. 9.124 illustrates the procC.<$ we have JUSt discussed.
Start ol """"'""'""(SOC)
I I!............................................................
~art __J ....
End
Clock
~100
No
V>5? bo L O
1
Yes 1
b,~ , ~cs
I ~~· O bo" 1
~-l L-,o,
Yeo ,----,, 0
bo"' No_
I V,>7? ~ - 1
Yes
bo ~
I
~111
The dark line:; in the Fig. 9.124 shows setting and resetting actions of bil~ for input
voltage 5.2 V, on the ba,is of comparison. ft can bC! S<.>cn from the Fig. 9.124 that one clock
pulse is required for the succi!Ssive approximailon regsiter to compare each bit. However
an additional dock pulse is usually required to reset the register prior to performing a
conversion.
lhe time for one analog to digital conversion must depend on both the clock's period
T and number of bits n. It is givl!n as,
T (n + 1) ...(5)
,,_. Example 9.42 : Au 8 bit successive approrimatiou ADC is drivm by a 1 Mllz clock.
Find its CCIIVtrsion Hme.
Solution: f=IMHz
T = l -~ = li'SCC
f = 1x106
n 8
.. Tc T (n + 1) e 1 (8 + 1) ~ 9 IJ$eC.
9.37.4 Flash ADC
When system designs call for the highest speed available, nash-type A/D converters
(ADCs) are likely to be the right choice. They get their names from their ability to do the
conversion very rapidly. !-lash A/0 converters, also known as a simultaneous or parallel
comparator ADC, because the fast conversion speed is accomplished by providing 2" - I
comparators and simultaneously comparing the input signa.! with unique reference levels
spaced I LSB apart.
Fig. 9.125 shows 3-bit nash A/0 converter. For this AOC, seven (2 3 - 1) comparators
arc required. As shown in the Fig. 9.125, one input of each comparator is connected to the
input signal and other input to the reference voltage level generated by the reference
voltage divider. The reference voltage {VRr:F) is equal to the full scale input signal voltage.
The manner in which the flash A/0 converter performs a q uantization is relatively simple.
The comparators give output "1" or "0.. state depending on whether the input signal is
above or below the reference level at that instant. Those comparators referred above the
input signal, remain turned-off, representing a "0.. state. The comparators at or below the
input signal conversely become a "1" state. The code resulting from this comparator is
converted to a binary code by the encoder.
Analog and Digital Electronics 9 - 12 2 Op-amp Applications
, . . Example 9.43 : For a p1Jrticular 8-bil ADC, the amversion .time is 9 !IS· Find the
maximum frU{Uent:y of an input sine tliQVe that can be digitized.
Solution : The maximum frequency is given by,
fmox ~ _ _1_ _ ~ 1
2n:(Tc)2" 2n><9><10~ x28
~ 69.07 Hz
Appllcations High speed fiber opli¢ Tho successive These 8111 used when high
communication. Oigit41 approximation NO accuracy and resolution is
storage oaellloscope. converter has the required and speed is 110t
Imaging and many more disadVantage of requiring the Important cri1eria.
where high speed NO DIA converter. but ij hes
conversion Is required. the odvantage of high
&peed wtlh excellent
resolution. Hence ti\He
are most popular and
used in data acquisijion
syalema.
ICs
All0020110 s S0 !.1Hz ADCtt03 a 1 MHz ADCt•t 10 25Hz
Clock .IUU1.
MSB} Dignat
out.put
Comparator LSB
Analog
input .,__ _ _ _ _ __.
voltage
v,.,
Fig. 9.126
As shown in the Fig. 9.126, the counter type ADC consists of a binary counter, DAC,
comparator and AND gate. The operation of the c:irotit is explained below.
i) Initially, the counter is reset, i.e. its output is set to zero by applying a reset pulse.
The output of the counter is given as digital input to DAC. Since input to DAC is
zero, its output V0 is zero.
ii) When the analog input voltage VA is applied to ADC, it becomes greater than V 0 .
VA acts as input voltage for non inverting terminal and V 0 acts as Input voltage
for inverting tenninal of the comparator. Since VA is greater than V0 , the
comparator output goes high.
iii) For an AND gate, one input is clock pulses and another input is the output of the
comparator. Because of the high output of the comparator, the clock pulses are
allowed to pass through the AND gate.
iv) The counter starts counting these close pulses. According to the number of clock
pulses, the output of the counter goes on increasing. 1his increases the output of
theDAC.
Reset
Activo
Ckx:k
•1 •2 •3 •4 15 •6 17
I I I I I I I
1 I I I I I I I
DAC oUipul V 0 --r--~--r--T--~--~ - -~--,--
' I I I I I I I
Analog input VA --,--~--r --r--r--r--r--
' I I I I I
--
f I I I I I
I I I I
I I I I
I I I I
I I I
I I I
I I
I I
I I
I
6 2 4 5 6 8 9 · 10
Disadvantages
The Fig. 9.128 (a) shows the basic circuit for delta modulator. It consists of comparator,
one bit quantiz.er and integrator. The comparator compares the Input analog signal m(t)
with the feedback signal m'(t), which is the integrated form of the output signal p0 (t). The
comparator output producea the difference signaL H the difference signal is positive, it is
encoded as a binary 1, whereas if the difference signal is negative, it is encoded as a
binary 0. A binary 1 is transmitted as a positive voltage pulse and binary 0 is transmitted
as a negative voltage pulse.
-Jf-- T,
.... I Ill I I I ! ····
Clock pulses, p,(t)
e(t)onnnnmmnnn n
~----~~-+4~+++4~+~~~+----~~+++4~~+4~~---+· l
UUUUU U U UULWLJ
Po(l) Ill I I I I II II Ill I I I
IIIII I I I I Ill 1111
2. Because of the variable step size, the dynamic range of ADM is wide.
3. Utilization of bandwidth is better than delta modulation.
Review Questions
1. Orllfll the circuit dillgTilm of a compander using IC741 op-ttmp. Explain its worldng.
2. How to motJ<! 11 trip point in a basic non-inllerling comparator?
3. Explain lww 11n op-amp can be u~d llS companttcr.
4. Dr'IIW and explain inllerling and non-inllerling t:tmtpllntlcr circuits.
5. Exp/Jiin op-ttmp llS 11 Sclunitt trigger.
6. Wlult is the most import11nt RppUC4timls of Schmitt trigger circuit.
7. Explain the working of Schmitt trigger.
8. CHsign Schmitt trigger having upper and lower thresholds of 720 mV. Input to this circuit is
1 V pt#k to pMk trillngulM w.we of 100 Hz. Dr= the Hysteresis loop.
9. CHsign a Schmitt trigger for UTP a + 0.5 V 11nd LTP = - 0.5 ,V.
10. How to ol>lilin dijfrmtt UPT and LTP kvtls in 11 Scltmill trigger ?
It. W7tat is 11 mullitlilmltor tiratit ? W7tat is iJs - ? Stllk il$ lypt$.
12. Dntw and apl.rin the opmztlmt of IIIDIIDStllblt multiuibrator wing "P""'"1'·
13. DtrirJe the trprasiml for pu/M width of morumablt multiuibrator.
14. Dntw and trplain the opm~timl Df atllblt mullil>ibntlor wing "P""'"1'·
IS. DtrirJe the aprmioll for frttplmcy Df OICillaJUms in IIStalllt multivibr11tor.
16. wmdt llrt the lraic dtmml$ II/ IC SSS ?
17. How tnmmtoristd R-S flip flop cirruit a>orb 7
18. OriiW and explain the basic liming circuil Df IC 55S. Dntw the ntmSIITY ~·
19. Erp/llin tltt principle II/ RC timer in lC 555.
20. Dntw and apl.rin tltt ftmdimllll block d~grwm of IC 555.
21. Ezp/Jtin in briq the funetitnu of pins 2, 3, f. 5, 6 of IC 555.
22. Dr11to and trplllin block d~grwm of IC 555.
23. Ezp/JJin the im~ of control tJOIJ.age pin 5 of timer SSS.
24. DtrirJe tltt trprasion for tltt pulM U1UhJt Df 11 ffU1tllltltllblt mullioibrator using IC SSS.
25. State tmy tUJo applklltimls Df llllmottllblt multiuibrotor.
26. D&rmint the Dlllput pulM width of lht 1M1111Stllblt muUirliJmllor wing IC SSS, if R = 12 .10 and
C • O.l11f. (AN.: U2 mal
2.7. 1\ IC SSS timer IUtd liS 11 monostllblt hilS R = 20 kO lllld C = O.oi 11f. Whllt is the duntiml II/
Dlllpul pu1M 7 (AN.:0.22ma)
28. flllm<llt tltt &illlNtS of llmhrg dtmmts to gmnt~lt • tilru hilly of 1 ms using IC SSS liMtT 11$ •
-lllblt llflllth1ibnllo.
211. Dtstn'b< the monostAble 7PWik of op<mtitm of IC 555. Dots tht SAme circuit work AS timer ?
Justify. Draw 1M neusSAty IJllliJtforrns •nd ~·
30. Mrnlion fJilrious pl'llCIU:4J appliallionS oflC - 555 timc-. fxpr.rin •ny one 1110110$table applialliJm.
31. Dtfine duty cyck. lJeriw 1M e:rpression for the duty cych of an a:st•ble mulliuilmltor using 555.
32. Dniw 1M txprtsSion }vr 1M fmlumcy of 1M output of an ashlbk mullivibr•tor.
33. How AStAblt mode of555 om bt modified to gtl a SljiUll't ""'"" gmnator ?
34. A 555 linrer is configured to run in astable mode will! R1 = 20 .10 And R2 = 8 .10 •nd
C; 0.1 J.l mF. Dtlermine the output frtljumcy and duty cyct.. (An$. : 400Hz, 77.77 %)
35. State the app/iC4tions ~/•stable multivibr•tor using lC 555.
36. Draw And explain Astable multivilmllor using lC 555. DrAW tht output and capaciJor volt•g•
uxtrJ<forms. WlrDt is the range of duty cycle we am ,..., with astable circuit ?
37. OnnD the circuit diagrAm of an AStable multivibr•tor for 50% duty cycle output using IC 555, and
aplnin its operation. Givt any two llf1Plialtions of astable multivibrator.
38. StAtt lht llf1Piialtion of astable multivibrator using IC 555 and apr.rin any one.
39. List 1M !••tum of IC 555.
40. WhidJ 11rt 1M two ways of conntding lciJd to lC 555 ?
41. Wlult is tht di/fntnct bttwr:tn AID And D/A convtrters ?
42. Dtfine the following terms for D/A convtrlers : Resolution, Accuracy, monotonidty, and conversion
time.
43. Explnin the hinATY weighted resistor ttchnique of D/A conversion.
44. £xp/•in tht R/ZR IIIJL!rr ttchniqw! of D/A conversion ?
45. fxpr.rin the adwniAgts of R/].R laddn technique tJ'Ot1' hinATY weighted resistor !tchnique.
46. List 1M d1'1lU1/.rdch off1inATY weighted resistor technique of D/A convtrSion.
47. WlrDtart dl/frrtnt source of errors in DACs ?
48. £xp/Ain the operation of • 4 hit R-2R typ< DAC and dtrillt tht txprtSSion for tire output voltAge.
49. E:rplain following with rtftrtnce to DAC :
i. Lin..mty ii. Accurocy ;;;. Stilling time
50. 0/JIAin an e:rprtSSion for 1M output volt•ge of R/1.R DAC.
51. For tire R/1.Rladder 4 bit type DAC,find tht output voltage And resolution if digitAl input is 1111.
Assume V R ; 10 V and R = 10 ld1 = Py (Ans.: 9.375 V, 0.625 VI
52. Find out sltpsiu and lmAlog output when input is 1000 and 1111. Assume V ref = +5 V
(AM. : St~psiu = 0.3125 V, 1000 -> 2.5 V, 111 t ->4.6975)
53. List tJre 111lri<>U$ sptcifiC41ioru of ADC.
54. L4t VArious AID convtrsi<>n ltdmlqut$.
55. Wlult do you ,...., hy quontiution error ?
56. £xplain the digil41 rtnnp AID converter with the help of nt<lt block diAgram.
57. E:rp/4in tht $UCU3<ivt llpPI'IIrinultioll AID converter ltdmiqtu with 1M help of block diAgram.
58. E:rpr.rin 1M operatUm of flash AID convtrltr.
tllil h chu I M
Analog and Digital Electronics 9-130 Op-amp Applications
DOD
crutzl M 1e1"
Voltage Regulators
10.1 Introduction
The voltage regulator circuli keeps the output voltage constant inspite of changes in
the load current or input voltage. Its input is unregulated pulsating d.c. voltage obtained
from filter and rectifier. Its output is constant d.c. voltage which is almost ripple free. The
basic block diagram of voltage regulator is shown in the Fig. 10.1.
1:::_,
Unregulated d .c.
." , · Load
vi=:,
0
Constant
Regulated
smooth O.C.suppty
A.C . A.C . ~ul.soting To toad
Unregulated
mains voltage type
230V. 50Hz
·Cit I I ~I
Analog and Digital Electronics 10 ·2 Voltage Regulators
The a.c. voltage (230 V, 50 Hz) is connected to the primary of the transforDier. The
transformer steps down the a.c. voltage, to the level required for the desired d.c. output.
Thus, with suitable turns ratio we get desired a.c. secondary voltage. The rectifier circuit
converts this a.c. voltage into a pulsating d.c. voltage. A pulsating d.c. voltage means a
W\idircctional voltage containing large varying component called ripple in it. The filter
circuit is used after a rectifter circuit, which reduces the ripple conlent in the pulsating d.c.
and tries to make it smoother. Still then the filter output contains some ripple. This voltage
is called unregulated d.c. volt.tge. A circuit used after the filter is a regulator circuit which
not only makes the d.c. voltage smooth and almost ripple free but it also keeps the d.c.
output voltage constant though input d.c. voltage varie.~ under certain conditions. It keeps
the output voltage constant under variable load conditions, as well. The output of a
regulator is called d.c. supply, to which the load can be connected. Now a days, .complete
regulator circuits arc available in the integrated circuit (IC) form.
Key Point : Thus a voltage regulator circuit is the one which is .USigned to keep the
output ooltage of a power supply rwrly oonstat1t, under varymg input voltage conditions and
varymg load conditions.
c) The temperature : In a power supply, the rectifier cirCuit uses the p-n junction
diodes. The diode characleristics are temperature sensitive. The other semiconductor
devices used in power supplies have their characleristics, temperature dependent Hence
the temperature is an important factor responsible for the changes in the load voltage.
The voltage regulator circuit in a power supply, has to consider these factors and
provide constant d.c. output voltage.
·- - - - - - - I d e a l
- Load VoiJagc
VrL :C~ses
lnaeeses
Load Current
LR = vNt- Vn I
where VNL load voltage with no load current
VFL load voltage with full load current
The load regulation is often expressed as percentage by dividing the LR by full load
voltage and multiplying rcsull by 100.
The graph of load current against load voltage is called regulation characteristics of a
power supply. The ideal value of load regulation is zero. Less the regulation, better is the
performance of regulator. The regulation characteristics is shown in the Pig. 10.4.
Sy = dVout l
d Vu, I t ond tcmpcratureconot.lnt
Smaller the value of this factor better is the petformance of power supply.
Sr = dVoutl
dT Yin and IL constant
The value of this factor must be as smoall as possible ideally zero, for a power
supply.
crutzt M tcr"
Analog and Digital Electronics 10.7 Voltage Regulators
Each type, provides a constant d.c. output voltage which is regulated. Let us discuss
the functional block diagram and worldng principle of each of these two types of regulator
circuits.
--===.--------':...:...--_,..:_---,---o VL(=V 0)
Regula led
de output
If OUIPU1
increases
-+ Feedback
increases
-+ Conlrol
signal -+ Current
I.,
-+ load
current k -+ Output
voltage
above increases through decrease decreases
regulated control to its
value element original
increases value
If output
deereases -+ Feedback
decreases -+ Control
signal -+ Current
-+ Load
current It. -+ Output
voltage
bleow
regulated
decreases
""thought
control
Jnereaes increases
to its
value element orignial
decreaes value
in seribs
with load ,
current are same, the efficiency depends on output voltage. It provides good regulation
than shunt regulators. It can be used for fixed voltage as well as variable voltage
requirements. To compel)Sate for the drop across the control element, input voltage Vin
must be at least 2 to 3 V .more than output voltage.
Process flowchart of series regulator is,
If output
i~~¢reaSeS -+ ~eedl*l'
tnc:reases
-+ Control signal
Increases
-+ Voft8ge acroas
the control
-+ Output
voltage
above element decreasea
regulated increases back 10 its
value original value
If ouiput
-+ Feod~ck -+ Control signal
-+ Voft8ge across
-+ Output
decreases decreases decreases the control voltage
bleow element Increases
regulated decreases back to its
value orignial vaJue
1. 1. The control element Is In parallel with the The control element is In series with the load.
load.
r~-x1T
lln IL
t
v..,
l l$ ~T
__L ! __L
v ~
2. Only small current passes through the control Tho entire load current IL always passes
element. willch Is required to be diverted to through the control element.
keep output constant.
3. Any change in output voltage is compensated Any chango in output voltage is compensated
by changing the curran~ through the control by adjusting the voltage across the control
element as per tho con signal. element es per the control signal.
4. The control element is low current, high The control element is high current low
voltage rating component voltage rallng component.
6. Efticieocy depends on the load current. Efticiency depends on the output voltage.
7. Not suitable for varying load conditions. Preferred lor fixed 1$ -u 1$ variable voltage
Prefened for fixed volage applications applications.
ct• M
Analog and Digital Electronics 10 ·10 Voltage Regulators
9. Exllmples are : Zener shunt regulator, Examples are : Series feedback type regulator.
transiatorised ahunt regulator etc. aerlu regulator wtth preregulator and foldback
limiting etc.
Table 10.1
ch·, I ~I lc d
Analog and Digital Electronics 10-11 Voltage Regulators
Source
resistance
v,. v.
While the voltage of noninvcrting terminal i.e. node A is zencr voltage VZI decided by
the zener diode Dt·
v8 v,..
i.e. V0 Vz
Key Point: Thus the output voltage is constant equal to zener voltage.
The series pass transistor is to supply the additional load current which op-amp can
not supply. For large load current op-amp has to supply only base current of the
transistor, 18 .
If load current is less than 25 mA, series pass transistor Q1 docs not play any role and
op-amp behaves as a voltage foUower.
The C 1 is large capacitor of the order of 50 to 100 pF. The functions of C1 ne,
l. To help to supply fast demands on regulator.
2. To eliminate the possibility of any oscillatory behaviour of the regulator.
crutzl M IC!"
Analog and Digital Electronic:s 10 ·13 Voltage Regulators
VR(out)
RR = 20 Log v;;<iii) dB ... (8)
Using YR(in) for !Nin and YR(out) for t!.V0 in the equation (3) we get,
VR(in)Zz
YR(out) = R ... (9)
3
~~- Example 10.1 : For a pnrticu/ar voltage follower d.c. rtgr~lator V;. = 15 ± 10 % with
R, =20 n. The output voltage is 4.7 V wi/11 R3 = 330 0 . 'n1e maximum load cummt is
50 mA. Find
i) Une regulation ii) /..cad regulation and iii! Ripple rejeclitJn.
The dynamic impednnce 11j Zeller diode is 7 n.
Solution: Zz = 70, R3 = 3300, V0 = 4.7 Y, Yin= 15 v
The specified change in Yin is 10 %,
10 % of Yin = 0.1 x 15 = 1.5 Y
For 50 mA,
YR(in)Zz
Now
R3
Series pass
transistor
01
+
••. (1)
Tile op-amp acts as a comparator I.e. error amplifier. It amplifies the error if any and
maintains output at constant level.
From equation (1),
r-----------------~~
Vo = Vz(~12+R2)=Vz[l+;;.] ... (2)
Fig. 10.12
.. !No ---x
A Yin Zz
R3
[ 1+Rt]
-
R2
... (3)
IL (max) R5 Zz [ R 1]
and tN0 - ----1+- ... (4)
R3 R2
VR(out) -
VR(in)Zz [
---
R1 ]
1+- ... (5)
R3 R2
,... Example 10.2 : DtSign tm 01H'"'P wies voi!Jtgt regu/Qtor to mut the following
speciftcotums :
V; =(18 ± 3) volts
V0 =9 volts at 10 = 10 to 50 mA
Zener QVQi/ablt' V7. = 5.6 V
Pz,..,. =o.s w
Solution :
vo = (1+=~ )vz
.. 9 = (1+:~ Js.6
.. ,• .'2 = 1.6071
Rz
Rl
.. R, 0.6071
Let Rt 10 kO
.. ~ 16.47 kO
Minimum zener current is say 5 rnA, which is same as current through R3.
lzmm
"
"inc min);- Vz
R3
118-3)-5.6
5xto··J
--R;--
R3 ~ 1.88 kO
Rz 16.47 kO
R3 1.88 kO
Asswne P of the series transistor as 30.
IE 101114l<
.. Ia !i+1 =-IJ+1
.. 50
Iu = 31 =1.61 rnA
The op-amp must be capable of supplying this current. The op·amp 741 has output
cunent rating of 25 rnA. Hence op-amp 741 can be used.
Analog and Digital Electronics 10-18 Voltage Regulator.
2.504xto-3 xlOO %
18 =0.0139
-- 7 - [ 1+ 10 ]
1.8xt03 164
·
=6 .26x10-3
RR
Series pass
transistor a,
+
~}RI
Vln
'\ c, vo
error
amplifier
~ }R2
Fig. 10.14 Precision voltage regulator
Except the ·change in .p osition of zcncr circuit from input to output, there is no change
in the circuit u compared to adjustable voltage regulator circuit.
Now to keep base of Q1 positive, op-amp output must be more positive than regulated
output voltage V0 • But if +Vee of op-amp is connected to V"' it is not possible hence +Vee
terminAl of op-amp is connected to positive of V1n as shown in the Fig. 10.13.
Analog and Digital Electronics 10 ·20 Voltage Regulators
Is I IL
-~
1
Thus the total current op·amp has to supply reduces by the factor which it .can
111 112
easily supply.
If the load current is zero, then 181 is very low and hence IE2 = 181 is low, <4 may not
be operating satisfactorily. To avoid this, resistance ~ is connected to emitter of <4 as
shown in the Fig. 10.15. Its value is given by,
II) Load Regulation : As defined earlier, it is the change in output voltage over a
given range of load currents i.e. from full load to no load. It is usually expressed in
millivolts or as a percentage of output voltage.
ill) Ripple Rejection : It indicates regulator's ability to reject ripple voltage present in
the input. It is defined as the ratio of the r.m.s. input ripple voltage to the r.m.s. output
ripple voltage. It is expressed in decibels (dB).
iv) Dropout Voltage : It is the minimum voltage that must exist between input and
output terminals. As mentioned earlier, it is the difference between input voltage Vin and
output voltage V0 . For most of the regulators it is 2 to 3 V.
v) Output Resistance (RJ : It is the rate of change of output voltage with respect to
the output current. It should be as small as possible.
vi) Maximum Input Voltage (V 1., mn> : Thi~ is the maximum input voltage that can be
applied to the regulator safely.
vii) Maximum Power Dissipation ( Pomu:) : This is the maximum power which
regulator can dissipate without damage. The actual power dissipated is approximately
equal to the voltage drop between the input and the output terminals multiplied by the
current through the regulator. For many regulators it is internally limited.
viil) Quiescent Current (I~ : It is also called as standby current. This is the supply
current drawn by the regulator without any load. It can also be defined as the current that
must flow from the ground terminal of the regulator to operate satisfactorily.
ix) Rated Output Current (10 ) : It is the maximum value of the output current above
which current limiting occurs.
x) Output Noise Voltage : It indicates the tendency of the output voltage to fluctuate
above its prescribed d.c. value, over a specified frequency range.
xi) Maximum Operating Junction Temperature : It is the maximum value of junction
temperature above which thermal shutdown occurs.
Out of these parameters maximum input voltage, maximum power dissipation,
maximum operating junction temperature etc. are called as absolute maximum ratings of
JC regulator, while other ratings arc called as electrical c:h.aracteristics of IC regulator.
ch-1 I ~I lc d
Analog and Digital Electronics 10-26 Voltage Regulators
-1
connecting two resistances
Operating junction
Temperatura range
llA 7800 - 55 <c to + 150 <c
llA 7800 c 0 "C to + 125 "C
Table 10.3
,... Example 10.4 : Calculate the output voltage of the adjustable regulator slwwn in the
Fig. 10.23.
Fig. 10.23
If R2 is varitd from 1 kfl to 10 kfl find the range of output voltage.
Solution : R1 " 5 len, ~ " 10 leO ·
Th!! IC is 7808 i.e. Vreg = + SV
.. Vou1 vres[l•:~]=s[t•~]
8x3 = 24 V
-''" .,.
can be boosted by connecting an
external pass transistor in parallel
with the regulator itself. Due to
this the maximum output current
of 78XX regulator which is lA,
used. The Fig. 10.27 shows the functional diagram of LM 317 along with the capacito'rs
and the protecting diodes.
Kay Point: T/u! diodes fl1e necessary if output voltage is higher than 25 V.
ll.. Example 10.7 : Dtlermirre lht regulated output voltage for the LM 317 voltage regulator
shcnun in the Fig. 10.28.
Lt.1317
V;n v
IN OUT
3
~,·f AOJ
220fl
Fig. 10.28
Solutlon : The resistances used are,
• • Example 10.8 : Find tire range i11 whidr cmtput voltage can be -coried t<Jith II"' help of
LM 317 regulator using R 1 = 820 0 •md R2 as 10 kO potentiometer.
Thus the output voltage can be varied in the range 1.25 V to 17.49 V
ch·, I ~I lc d
An41og and Digital Electronics 10 -34 Voltage Regulators
... (2)
v• = --r
'··· ='"" f
Error
amplifier
Feedback
netwol1<
Potential
Feedback
divider
voltage
The part R2 /R 1 + R 2 of the output is fedback to the inverting input of error amplifier.
It is compared with the reference voltage. The difference is amplified and given to the
comparator inverting terminal.
The oscillator generates a triangular waveform at a fixed frequency. It is applied to the
non-inverting terminal of the comparator. The output of the comparator is high when the
triangular voltage waveform is above the level of the error amplifier output. Due to this
the transistor Q t remains in cut-off state. Thus the output of the comparator is nothlng
but a requmd pulse waveform.
The period of this pulse waveform is same as that of oscillator output say T. The duty
=
cycle Is denoted as o 100 /T or t00 f as mentioned earlier. This duty cycle is controlled by
the difference between the feedback voltage and the referenre voltage.
tllll h chu I M
Analog and Digital Electronics 10·38 Voltage Regulators
OutPut
feedbaCk
Error
Y_z amplifier
Zener diode
lor reference
Fig. 10.32 Step down switching regulator
Consider an equivalent circuit of the regulator as shown in the Fig. 10.33. In this
circuit, Q1 is shown as a switch as it does the function of a switch.
The transistor Q 1 is used for switching the input voltage for the required period of
time, which is dependent on load current requirement. The L-C Alter averages the
switched voltage.
chli ch ch M nd
Analog and Digital Electronics 10-40 Voltage Regulators
The Fig. 10.35 shows the waveform of capacitor v.o ltagcs for 10 n > 10 u and t0 n < 10 rr·
~
-··-
~1'
• VCMJt
Vc
_..
~
'
.....
v••l
u
(b) I,.<..,
Input]
Utwegula~ 1----------------
d.c.
L----------------------•• I
v""'l
----------t-----t--------- --t-----F----· .··
~ 'on - :.... lotr~ : :
~ : :
I
: :·
o
Load ' '
OJrrent :
--~----
1
I
--·---- :
I
I
I I
I I
: :
~1 t
: o:;e ;o:e:
HH
I
l
;~witching
I
!
'
regulator
I
hi t ch M rod
Analog and Digital Electronics 10 ·42 Voltage Regulators
The tra.n sistor Q1 works as an on/ off switch. When Q 1 is driven into saturation. VCF. is
very very small and it acts as short circuit. When Q1 is driven into cut-off, it is off and it
acts as an open circuit. Let us study these two cases in detail.
When Q1 is ON, VCE is denoted as Va(sat) and the voltage across L suddenly
becomes (Vin - VCE(sat)) as sh own in the Fig. 10.38 (a). This expands the magnetic field
around the inductor very quickly. This voltage across L can be obtained by applying KVL
to Vin• L, Q1 and V;n closed path.
During the ON time (t00) of Q 1, the voltage across the inductor starts dccreasmg
exponentially from its initial maximum value [Vin - VCE(sat)J.
Vrn- Vce(sat)f"',,,
OFF
+Vout
-1
+
Vz
Key Point: The Ionge- lht on time of Q1, the stnllllc- will be the voltage across t.
Cue 2 : Let Q 1 is switched OFF i.e. cut-off region. When Q 1 is OFF, the magnetic field
of the inductor L collapses and Its polarity gets rever.!Cd. This is because an inductor
current can not change instantly. Thus value of Vl attained after exponential decrease
when Q1 is ON, now gets reversed as shown in the Fig. 10.38 (b). Due to reversal of
polairty, it gets added to vin·
Trace the path V;n, L, 0 1, C and V;n. The diode 0 1 is forward biased due to reversed
Vl and c.apadtor C now charges to v1n + VL. The output voltage is voltage across
crutzl M 1er"
Analog and Digital Electronics 10 ·45 Voltage Regulators
10.20.2 Disadvantages
The disadvanta~;cs of boost regulator are :
1. It provides single output.
2. The duty cycle is limited to 50% to avoid the continuous current mode. • . ·~lator
enters the continuous current mode, it stops regulating the output. Thw. for a
minimum input voltage range, m.1ximum duty cycle is limited.
3. Due to restricted duty cycle, the pc.rk collector current is very high. This limits its
output power rating.
4. No isolation between input and output. Any surge or transient in input can reach
to output directly.
v..,
-1
R,
The Q 1 goes into saturation and the voltage across it drops to Vc(!(sat) which is about
0.3 V. Due to this voltage across inductor suddenly rises to [Vin - VCE(sat)) and magnetic