Professional Documents
Culture Documents
Digital Frontpage
Digital Frontpage
net/publication/328304329
CITATIONS READS
0 26,583
2 authors:
All content following this page was uploaded by Bishnu Charan Sarkar on 16 October 2018.
2018
i
Digital Electronics: Circuits and Systems
by Bishnu Charan Sarkar and Suvra Sarkar
© Debdeep Sarkar
All rights reserved. No part of this publication may be reproduced or copied
in any form by any means without prior permission. All efforts are made to
ensure that the published information is correct.
ISBN: 978-81-88391-57-8
Available at:
• Bani Book Suppliers (C/O Bandhab Pustakalay, B.C. Road,
Burdwan), Mobile No. 9732293370 (Uttam)
• A. K. Distributors, S. C. Sen Road. Purulia. PIN-723101.
Mobile No. 9647600457
ii
To the beloved memories of our parents
Late Radhakinkar Sarkar and Late Niharbala Sarkar
Late Sunil Sarkar and Late Sandhyarani Sarkar
iii
iv
PREFACE
Electronics science and technology has undergone a huge change during the last
100 years or so. From the days of vacuum tubes, we are in the age of lap-tops, smart
phones and Internet. To enhance the knowledge, Electronics is taught in under-
graduate and post-graduate levels as a major science subject and it is an important
component of Physics courses of all universities. Independent as well as supporting
courses in Electronics are there in electrical, communication, computer science, and
instrumentation engineering graduation programs. As such, different courses on
Electronics have been designed. Generally the subject of Electronics is divided into
two main parts, namely, Analog and Digital. Recently, the new CBCS syllabus on
Physics (Honours) proposed by the UGC (GoI) contains important parts on
Electronics. The present book is written on Digital Electronics portion of that
syllabus. The course on Analog Electronics would be addressed in a companion
book. That book is an abridged and UGC syllabus-oriented version of our earlier
book, “Analog Electronics: Devices and Circuits”.
Authors have a long experience in class room teaching on this subject; one of the
authors (BCS) had taught it for more than 36 years at different levels. This book is
based on that experience. Also the book-writing idea has originated from the desire
to make those teaching experiences a permanent one. In this process, though
students are not present in front, their virtual presence is always felt.
We remember suggestions and help in different forms of our (BCS) students like
Dr Santanu Chattopadhyay (SKU), Dr Madhusudan Ghosh (CU), Dr Tanmoy
Banerjee (BU), Dr Soumen Chakraborty (KNU), Dr Manaj Dandapathak (WBUT),
Dr Joydeep Chakraboty (BU), Dr (Ms) Chaitali Koley (NIT-Mz) and others in
compiling this book. Our son Debdeep has taken interest in writing this book.
We would like to thank our publisher, printer and distributors for their interest
and support. Also we thank Mr. Prabodh Dey for his help in publication. Authors
would consider their work rewarded if the students find the text useful for learning
Digital Electronics and Microprocessors.
v
About the authors
————————————————————————————————-
Prof. Bishnu Charan Sarkar received his M.Sc. (with University Gold Medal)
and Ph.D. degree in 1975 and 1985 respectively from the University of Burdwan. He
was a faculty member of the Physics Department, Burdwan University since 1980
and has retired in 2017 as a Professor of the same department. He was in-charge of
Electronics section and also the coordinator of the M.Tech. Program in ECE
(Microwaves) of that department. He has a research experience of about 40 years
and has published more than 200 papers in journals, conferences and symposium-
proceedings. He did research in the fields of synchronous communications, digital
signal processing, nonlinear electronic circuits, chaotic microwave oscillators etc.
He has supervised PhD works of 15 students till date. He has authored / co-authored
four technical books. He has also contributed 4 book chapters (Springer, Nova
Publishers) and edited three other technical books. He is a regular reviewer of
journals published by IEEE, IET, AIP, Elsevier, Springer etc. He was the Dean of
faculty of science, Burdwan University and Chairman of IETE, Burdwan sub-centre.
Dr. (Mrs.) Suvra Sarkar received her B.Sc. and M.Sc. degrees from the
University of Burdwan in 1981 and 1983 respectively, with University Gold Medals
in both cases. She was also a recipient of Jawaharlal Nehru Memorial Award in
1981. She received her Ph.D. degree from the University of Burdwan for her
research on solid-state microwave oscillators in 1990. She was a CSIR research
associate during 1991-1995. Till date she has published more than 65 technical
papers. She has co-authored one book chapter (Springer) and one text book on
Electronics. Currently she is an Associate Professor in the Department of
Electronics, Burdwan Raj College. She is the in-charge of the same department and
has teaching experience of about 22 years.
vi
About the book
————————————————————————————————
Elementary topics of Electronics are included in two core papers of the
UGC prescribed CBCS syllabus for Physics Honours (PHYH) students.
These papers are Core-VII of semester-III and Core-X of semester-IV.
Core-VII paper deals with digital electronics and core-X paper is on analog
electronics. The present book entitled “Digital Electronics: Circuits and
Systems” is written according to the UGC prescribed CBCS syllabus Core
Course-VII for Physics Honours students. The syllabus is adopted by number
of Indian Universities. Most of the Universities of West Bengal have taken up
this course for digital electronics.
Besides Physics Honours courses this book would be useful for
Electronics Science Honours students and Electronics General / Generic
of three year BSc course according to the UGC CBCS syllabus for their
relevant topics on digital electronics. Some additional and advanced topics
are included to give the discussion a contemporary outlook. All the chapters
are supplemented with review questions, solved problems and exercises.
SEMESTER-III
PHYH-C VII: DIGITAL SYSTEMS AND APPLICATIONS
Introduction to CRO: Block Diagram of CRO, Electron Gun, Deflection
System and Time Base, Deflection Sensitivity Applications of CRO: (1)
Study of Waveform, (2) Measurement of Voltage, Current, Frequency, and
Phase Difference (3 Lectures)
Integrated Circuits (Qualitative treatment only): Active and Passive
components, Discrete components, Wafer, Chip, Advantages and drawbacks
vii
of ICs, Scale of integration: SSI, MSI, LSI and VLSI (basic idea and
definitions only), Classification of ICs, Examples of Linear and Digital ICs.
(3 Lectures)
Digital Circuits: Difference between Analog and Digital Circuits, Binary Numbers,
Decimal to Binary and Binary to Decimal Conversion, BCD, Octal and Hexadecimal
numbers, AND, OR and NOT Gates (realization using Diodes and Transistor),
NAND and NOR Gates as Universal Gates, XOR and XNOR Gates and application
as Parity Checkers. (6 Lectures)
Boolean algebra: De Morgan's Theorems. Boolean Laws., Simplification of Logic
Circuit using Boolean Algebra, Fundamental Products, Idea of Minterms and
Maxterms, Conversion of a Truth table into Equivalent Logic Circuit by (1) Sum of
Products Method and (2) Karnaugh Map. (6 Lectures)
Data processing circuits: Basic idea of Multiplexers, De-multiplexers, Decoders,
Encoders. (4 Lectures)
Arithmetic Circuits: Binary Addition, Binary Subtraction using 2's Complement,
Half and Full Adders, Half and Full Subtractors, 4-bit binary Adder/Subtractor. (5
Lectures)
Sequential Circuits: SR, D, and JK Flip-Flops. Clocked (Level and Edge
Triggered) Flip-Flops, Preset and Clear operations, Race-around conditions in JK
Flip-Flop, M/S JK Flip-Flop. (6 Lectures)
Timers: IC 555: block diagram and applications: Astable multivibrator and
Monostable multivibrator. (3 Lectures)
Shift registers: Serial-in-Serial-out, Serial-in-Parallel-out, Parallel-in-Serial-out and
Parallel-in-Parallel-out Shift Registers (only up to 4 bits). (2 Lectures)
Counters (4 bits): Ring Counter, Asynchronous counters, Decade Counter,
Synchronous Counter. (4 Lectures)
Computer Organization: Input/output Devices, Data storage (idea of RAM and
ROM), Computer memory, Memory organization & addressing, Memory
Interfacing, Memory Map. (6 Lectures)
Intel 8085 Microprocessor Architecture: Main features of 8085. Block diagram,
Components, Pin-out diagram, Buses, Registers, ALU, Memory, Stack memory,
Timing and Control circuitry, Timing states, Instruction cycle, Timing diagram of
MOV and MVI.(8 Lectures)
Introduction to Assembly Language: 1 byte, 2 byte & 3 byte instructions.
(4 Lectures)
Data types: Object types-signal, variable, constant, Data types –scalar types,
composite types, Incomplete types, File Type caveats, subtypes, Subprograms and
functions
viii
CONTENTS
————————————————————————————————
PREFACE viii-xi
DIGITAL ELECTRONICS
CIRCUITS AND SYSTEMS
ix
2.3.1. Binary equivalent of unsigned
decimal integer number 21
2.3.2. Binary equivalent of unsigned
decimal real number 22
2.4. Representation of signed integers 22
2.4.1. BCD Code 25
2.5. Other number systems 25
2.5.1. Octal number system 25
2.5.2. Hexa decimal number system 26
2.6. Basic Arithmetic operations on numbers 27
2.6.1. Binary addition 28
2.6.2. Binary subtraction 29
2.6.3. Binary subtraction in complementary arithmetic 30
Summary 31
Review Questions 32
Solved Problems 32
Exercise 34
x
3.8.2. Max-terms and POS representation 52
3.8.3. Incomplete truth tables and don’t care states 53
3.8.4: Equivalence of SOP and POS forms 54
3.9. Application of EX-OR gates 55
3.9.1. Controlled inverter (CI) 56
3.9.2. Modulo-2 adder/subtractor 56
3.9.3. Parity generator 56
3.9.4. Parity checker 57
3.10. Electrical characteristics of logic gates 58
3.10.1. Logic family 58
3.10.2. Operating temperature 58
3.10.3. Propagation Delay 59
3.10.4. Fan–in 59
3.10.5. Fan-out 59
3.10.6. Allowed range of input and output voltage levels 59
3.10.7. Noise Margin 60
Summary 60
Review Questions 61
Solved Problems 62
Exercise 66
Some common IC gates 68
xi
4.7. Adder/ subtractor circuit (ASC) 88
4.8. Multiplexer 89
4.8.1. Boolean functions using multiplexer 92
4.9. De-multiplexer 94
4.10. Decoders 96
4.10.1. BCD-to-seven decoder 98
4.11. Encoders 99
4.11.1. Decimal-to-binary encoder 100
4.11.2. Priority encoder 102
Summary 103
Review Questions 104
Solved Problems 105
Exercise 106
Some common ICs for Arithmetic and Combinational circuits 108
xii
5.11.2. Johnson Counter 132
5.11.3. Decade Counter 133
Summary 135
Review Questions 137
Solved Problems 137
Exercise 138
Some commonly used ICs for Sequential circuits 140
xiii
7.8.3. Dynamic RAM with refreshing circuit 171
7. 9. Memory Management 171
7.9.1. Accessing speed of memory 172
7.9.2. Cache memory 172
7.9.3. Memory hierarchy 172
7.9.4. Memory Expansion 173
7.10. Memory Map 174
7.11. Discussions 175
Summary 175
Review questions 177
Solved Problems 178
Exercise 178
xiv
8.7.3. Register addressing mode 192
8.7.4. Direct addressing mode 192
8.7.5. Indirect addressing mode 192
8.7.6. Combined or mixed addressing mode 193
8.8. Machine cycles and timing diagram 193
8.8.1. One-byte instruction 193
8.8.2. Two-byte instruction 194
8.8.3. Three-byte instruction 194
8.9. Timing diagram of MOV and MVI instructions 195
8.10. Introduction to Assembly Language 197
8.10.1. Fields of ALP and its translation 197
8.10.2. Structures of ALP 198
8.10.3. Subprogram in ALP 198
8.11. Detailed instruction set 201
8.11.1. Data Transfer Group 201
8.11.2. Arithmetic Group 202
8.11.3. Logical Group 204
8.11.4. Branch group 205
8.11.5. I/O, STACK and machine control Group 206
8.12. Program examples 206
8.12.1. Direct addressing 207
8.12.2. Indirect addressing 207
8.12.3. Multiplication by repeated addition 208
8.12.4. Block data handling 209
Summary 210
Review questions 212
Solved problems 212
Exercise 215
xv
9.7.2. AC voltage measurement 228
9.8. CRO application in measurement of signal frequency 228
9.8.1. Direct method 229
9.8.2. Indirect method using Lissajous pattern 230
9.9. CRO application in measurement of phase difference
between two sinusoidal signals 232
9.9.1. Indirect method using Lissajous pattern 232
9.9.2. Direct method 234
Summary 234
Review questions 236
Solved problems 236
Exercise 237
xvi