Digital Electronics Through Worked Examples

Similar documents
G. D. Bishop, Electronics II. G. D. Bishop, Electronics III. John G. Ellis, and Norman J. Riches, Safety and Laboratory Practice

Television and Teletext

The Search for Selfhood in Modern Literature

HOW TO STUDY LITERATURE General Editors: John Peck and Martin Coyle HOW TO STUDY A CHARLES DICKENS NOVEL

Charlotte Brontë: The Novels

Digital Electronic Circuits and Systems

THE 1830 REVOLUTION IN FRANCE

DIARIES AND JOURNALS OF LITERARY WOMEN FROM FANNY BURNEY TO VIRGINIA WOOLF

Blake and Modern Literature

George Eliot: The Novels

Rock Music in Performance

An Introduction to Digital Logic

Human Rights Violation in Turkey

Jane Austen: The Novels

Postmodern Narrative Theory

TOLKIEN: A CRITICAL ASSESSMENT

SHAKESPEARE AND THE MODERN DRAMATIST

WOMEN'S REPRESENTATIONS OF THE OCCUPATION IN POST-'68 FRANCE

Modular Narratives in Contemporary Cinema

PLATO ON JUSTICE AND POWER

The Rhetoric of Religious Cults

Towards a Post-Modern Understanding of the Political

Death in Henry James. Andrew Cutting

Introduction to the Sociology of Development

Narrative Dimensions of Philosophy

Series editors: John Peck and Martin Coyle IN THE SAME SERIES

The Invention of the Crusades

This page intentionally left blank

Henry James s Permanent Adolescence

The Philosophy of Friendship

F. B. Pinion A WORDSWORTH CHRONOLOGY A TENNYSON CHRONOLOGY A KEATS CHRONOLOGY

BRITISH WRITERS AND THE MEDIA,

Max Weber and Postmodern Theory

R.S. THOMAS: CONCEDING AN ABSENCE

IN THE SAME SERIES How to Study a Novel john Peck How to Study a Shakespeare Play john Peck and Martin Coyle How to Begin Studying English Literature

Transmission, Chassis and Related Systems

Public Sector Organizations and Cultural Change

HENRY FIELDING. Literary Lives General Editor: Richard Dutton, Professor of English Lancaster University

Also by Brian Rosebury and from the same publisher ART AND DESIRE: A STUDY IN THE AESTHETICS OF FICTION

ANALYSING TEXTS General Editor: Nicholas Marsh Published

Shakespeare, Marlowe and the Politics of France

MACMILLAN MASTER GUIDES JOSEPH ANDREWS BY HENRY FIELDING TREVOR JOHNSON MACMILLAN EDUCATION

A Hybrid Theory of Metaphor

GEORGE ELIOT AND ITALY

Dialectics for the New Century

Heritage, Nostalgia and Modern British Theatre

Existentialism and Romantic Love

DICKENS, VIOLENCE AND THE MODERN STATE

MACMILLAN DICTIONARY OF BUILDING

Defining Literary Criticism

Intellectuals and Politics in Post-War France

HOLLYWOOD AND THE BOX OFFICE,

The Elegies of Ted Hughes

North Shore Community College

Modernism and Morality

THE REVOLUTIONS OF 1848

ROMANTIC WRITING AND PEDESTRIAN TRAVEL

ITALY AND ENGLISH LITERATURE

By the same author. Edited for the New Wessex Edition *THOMAS HARDY: TWO ON A TOWER *THE STORIES OF THOMAS HARDY (3 vols)

POLITICS, SOCIETY AND STALINISM IN THE USSR

SHAKESPEARE'S IMAGINED PERSONS

THE FRENCH REVOLUTION

SIR WALTER RALEGH AND HIS READERS IN THE SEVENTEENTH CENTURY

4.S-[F] SU-02 June All Syllabus Science Faculty B.Sc. II Yr. Instrumentation Practice [Sem.III & IV] S.Lot

The Contemporary Novel and the City

JACOBEAN POETRY AND PROSE

Klein, Sartre and Imagination in the Films of Ingmar Bergman

KAFKA AND PINTER: SHADOW-BOXING

ETHEREGE & WYCHERLEY

RUSSIAN DRAMA OF THE REVOLUTIONARY PERIOD

Descartes Philosophical Revolution: A Reassessment

Myths about doing business in China

EEE130 Digital Electronics I Lecture #1_2. Dr. Shahrel A. Suandi

DICKENS'S CLASS CONSCIOUSNESS: A MARGINAL VIEW

Public Television in the Digital Era

BRITAIN AND THE MAASTRICHT NEGOTIATIONS

The New European Left

Mexico and the Foreign Policy of Napoleon III

Hauntings: Psychoanalysis and Ghostly Transmissions

Re-Reading Harry Potter

Appraising Research: Evaluation in Academic Writing

Minnesota State College Southeast

Lyotard and Greek Thought

Working Time, Knowledge Work and Post-Industrial Society

The Hegel Marx Connection

ALLYN YOUNG: THE PERIPATETIC ECONOMIST

Calculating the Human

Logic and the Limits of Philosophy in Kant and Hegel

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Britain, Europe and National Identity

DECONSTRUCTION: A CRITIQUE

Corpus Approaches to Critical Metaphor Analysis

Also by Victor Sage. Fiction. Criticism DIV!DING LINES A MIRROR FOR LARKS BLACK SHAWL HORROR FICTION IN THE PROTESTANT TRADITION

Microprocessor Design

DOI: / William Corder and the Red Barn Murder

Dickens the Journalist

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

Studies in European History

Postnarrativist Philosophy of Historiography

Feminine Subjects in Masculine Fiction

Transcription:

Digital Electronics Through Worked Examples

Other Macmillan titles of related interest B. R. Bannister and D. G. Whitehead, Fundamentals of Modern Digital Systems, second edition M. Beasley, Reliability for Engineers- An Introduction G. B. Clayton, Data Converters J. C. Cluley, Interfacing to Microprocessors J. C. Cluley, Introduction to Low Level Programming for Microprocessors J. C. Cluley, Transducers for Microprocessor Systems A. B. Fontaine and F. Barrand, 80286 and 80386 Microprocessors -New PC architectures M. Goodge, Analog Electronics B. A. Gregory, An Introduction to Electrical Instrumentation and Measurement Systems, second edition R. Holland, Microcomputer Fault-finding and Design P. Jaulent, The 68000- Hardware and Software P. Jaulent, L. Baticle and P. Pillet, 68020168030 Microprocessors and their Coprocessors P. A. Lynn, An Introduction to the Analysis and Processing of Signals R. J. Mitchell, Microcomputer Systems Using the STE Bus N. M. Morris, Microprocessor and Microcomputer Technology C. Walls, Programming Dedicated Microprocessors

Digital Electronics Through Worked Examples Norman Bonnett M MACMILLAN

N. D. Bonnett 1992 All rights reserved. No reproduction, copy or transmission of this publication may be made without written permission. No paragraph of this publication may be reproduced, copied or transmitted save with written permission or in accordance with the provisions of the Copyright, Designs and Patents Act 1988, or under the terms of any licence permitting limited copying issued by the Copyright Licensing Agency, 90 Tottenham Court Road, London W1 P 9HE. Any person who does any unauthorised act in relation to this publication may be liable to criminal prosecution and civil claims for damages. First published 1992 by MACMILLAN EDUCATION LTD Houndmills, Basingstoke, Hampshire RG21 2XS and London Companies and representatives throughout the world ISBN 978-1-349-11873-1 ISBN 978-1-349-11871-7 (ebook) DOI 10.1007/978-1-349-11871-7 A catalogue record for this book is available from the British Library.

Contents Pmlace Acknowledgements ix xi 1 BASIC DIGITAL THEORY 0.1.1 Basic gates 0.1.2 Pulse parameters 0.1.3 J-K flip-flops 0.1.4 NAND gates and catalogues 0.1.5 Karnaugh maps and demorgan 0.1.6 A-DID-A converters 0.1.7 Counting circuits 1 1 4 7 10 11 14 17 2 MANUFACTURER'S DATA Prior knowledge Introduction 0.2.1 The logic gate families 0.2.2 The 7400 and its data sheet 0.2.3 The 7476 and 74LS76 J-K flip-flops 24 24 24 25 28 35 v

vi 0.2.4 The 74194 as a modem transmitter and receiver 40 0.2.5 The 74151A as a multiplexer 47 0.2.6 Using the 74143 as a counter 52 0.2.7 Counters using MSI devices 56 0.2.8 A binary rate multiplier using the 7497 70 65 0.2.9 A keyboard encoder 66 0.2.10 Basic RAM configurations 69 0.2.11 The CYM1421 as a 1 Mbit RAM 73 0.2.12 PROMs, ARRRAYs and ASICs 78 3 SYSTEM DESIGN 84 Prior knowledge 84 Introduction 84 0.3.1 Present state/next state and transition diagrams 85 0.3.2 Designing a mod-6 counter 91 0.3.3 A BCD decade counter design 102 0.3.4 Designing a sequence detector 105 0.3.5 Hazards and races 112 4 TRANSMISSION OF DIGITAL SIGNALS 118 0.4.1 The RS232C data system 118 0.4.2 Distortion in pulses and its effects on gates 122 0.4.3 Using parity bits and codes in data transmission 128

vii 5 SIGNAL PROCESSING Prior knowledge Q.5.1 Parameters affecting A-D converters 138 138 138 Q.5.2 Q.5.3 Q.5.4 Q.5.5 Q.5.6 A D-A converter using the ZN436E Using the ZN435 as a ramp and compare converter Data acquisition sytems Multiplexing and the ZN437 Interconnecting logic families 143 148 151 154 159 6 DESIGNING SYSTEMS 6.1 Introduction 6.2 Designing systems and systems analysis The technical specification in practice Documenting a design Teamwork and design 166 166 167 171 178 179 Q.6.1 A design example 182 Appendix 1 Appendix 2 Open collector gates J and N device outlines 187 189

Preface There are available many excellent textbooks on both analogue and digital electronics; these range from elementary texts that cover the subject at school level (with a mainly practical approach) to those that are highly advanced and at the fringe of the technologies. It is intended that this book will strike a balance between these two extremes. This book is intended for first and second year students of electrical and electronic engineering, in particular those studying for Higher National Certificates and Diplomas; it will also be valuable for undergraduates and should complement lecture and other source material. The aim is to enable the student to solve real world problems in a systematic and professional way. There is a wind of change in engineering education at the moment It is no longer sufficient to treat engineers and technician engineers simply as the recipients of information, subject them to a heavy diet of lectures, and then demand them to regurgitate these facts in an examination room. In the United Kingdom there is also pressure firstly to move away from conventional laboratory work (where the only decision that generations of students have had to make is whether to have the graph paper vertical or horizontal or what scales to use for the axis;) by moving towards assignment work. Secondly there is pressure to improve the efficiency of the teaching and lecturing process. For too long it has been believed that engineers and technician engineers are an odd body, who unlike other students appear only to be able to receive information when they are lectured to; unlike other students who can obtain and absorb information from source material! Of course this is quite untrue. A student centred approach consistently produces results that are of a higher quality, are easier to transfer to other situations, and more ix

X thoroughly learned than those obtained by conventional rote learning. The approach adopted in this book is that of worked examples, using both the traditional examination question and also assignments that are based both on laboratory work and on literature searches; these latter types of examples use manufacturers' data as the prime source. There is no attempt either to choose, or of choice to ignore, devices at the forefront of technology; a thorough knowledge of the characteristics of key devices is more transferable to new products than a nodding acquaintance with every device in a data book. It is this quality of transferring knowledge from known situations to new and concrete situations that is the hall mark of sound learning.

Acknowledgements I would like to thank the following manufacturers for being allowed to use information from their data books and catalogues. Texas Instruments for extracts concerning the following devices: 7400, 7473, 7476, 74LS76A, 7490, 7493A, 7497, 74143, 74LS139A, 74151, 74161A, 74180, 74194 and TBIBPPAL16LB. Cypress Semiconductors for extracts on the following device: CYM1421 Plessey Semiconductors for extracts on the following devices: ZN426E, ZN435 and ZN437. AS Components for extracts on the following device: RS74C922 and for the pin-outs for the RS232C line drivers and receivers. I must acknowledge the help I have received from Malcolm Stewart and his team at Macmillan Education for the very helpful and patient advice and help they have given me. Thanks also go to the people whose hardware and software I bought and used to produce the book; Amstrad for their PC1640 computer, Digital Research for the GEM drawing package, Timeworks for their DTP system and MicroPro for their Wordstar word processing package. All performed perfectly. Ben Bennett at The Polytechnic Huddersfield ran the HILO simulations for me, and the students there and at Bradford College provided me with the initial encouragement to pursue the line of teaching xi

xii and assessment that this book uses; all have my thanks. Last, and by no means least I must acknowledge the support of my wife Annedore. She tolerated my moods, my irregular hours at the keyboard and shared my joys. Danke Liebste.

TO ANNEDORE