Transistors, Logic Gates and Karnaugh Maps References: Lecture 4 from last.

Slides:



Advertisements
Similar presentations
Digital logic gates.
Advertisements

Computer Science 210 Computer Organization Introduction to Logic Circuits.
L14: Boolean Logic and Basic Gates
PHY 201 (Blum) Transistors and Logic Gates References:
Instructor Name: (Your Name)
Semiconductor basics 1. Vacuum tubes  Diode  Triode 2. Semiconductors  Diode  Transistors Bipolar Bipolar Field Effect Field Effect 3. What’s next?
Chapter 4 Bipolar Junction Transistor
Electronic Devices Prepared by Kazi Md. Shahiduzzaman Transistor.
Basic Electricity and Electronics Mr. McClean Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Chapter 29 Solid State Electronics
IKI a-Simplification of Boolean Functions Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture.
PHY 201 (Blum)1 Karnaugh Maps References: Chapters 4 and 5 in Digital Principles (Tokheim) Chapter 3 in Introduction to Digital Systems (Palmer and Perlman)
Principles & Applications
Unit 7, Chapter 24 CPO Science Foundations of Physics.
Logic Gate A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. The output signal appears only.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 21.1 Bipolar Transistors  Introduction  An Overview of Bipolar Transistors.
PHY 201 (Blum)1 Some basic electronics and truth tables Some material on truth tables can be found in Chapters 3 through 5 of Digital Principles (Tokheim)
10/6/2004EE 42 fall 2004 lecture 161 Lecture #16 Bipolar transistors Reading: transistors Bipolar: chapter 6 MOS: chapter 14.
Introduction to Transistors
BJT in Saturation Mode Section 4.5.
Module 2 Bipolar Junction Transistor. Learning Outcomes 1.The 3 terminals or regions of a BJT. 2.Construction and symbol of NPN and PNP types 3.Low power.
Principles & Applications
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Digital Logic Basics Chapter 2 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 
Bipolar Junction Transistors (BJTs) The bipolar junction transistor is a semiconductor device constructed with three doped regions. These regions essentially.
Recall Lecture 8 Clipper – Step 1: Find the clip value by doing KVL at the output branch – Step 2: Set the conditions to know whether diode is on or off.
Transistors.
TRANSISTOR.  A transistor is a semiconductor device used to amplify and switch electronic signals and electrical power.  The transistor is the fundamental.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
1 SEMICONDUCTORS Transistor Biasing. 2 SEMICONDUCTORS Here we have a collector junction that forms a PN junction diode configuration that is reverse biased.
Digital Logic. 4 Why is 32-bit or 64-bit significant in terms of speed, efficiency? 4 Difference between OR and XOR 4 What is a mux for? PLA 4 Two kinds.
BJTs. Transistor The transistor is the main building block “element” of electronics. A transistor is a semiconductor device used to amplify and switch.
Karnaugh Maps References:
Review: Most semiconductors are made of a poor conductor that has had impurities (atoms of another material) added to it. The process of adding impurities.
Gates and Logic Hakim Weatherspoon CS 3410, Spring 2012 Computer Science Cornell Universty See: P&H Appendix C.2 and C.3 (Also, see C.0 and C.1)
Bipolar Junction E B C Emitter BaseCollector Two Types BJTs.
Semiconductors, ICs and Digital Fundamentals. The Diode The semiconductor phenomena. Diode performance with ac and dc currents. Diode types: –General.
PHY 201 (Blum)1 Transistor Odds and Ends. PHY 201 (Blum)2 RTL NOR.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
February 2, 2004CS 2311 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are AND, OR and.
Chapter 4 Bipolar Junction Transistors
CS231 Boolean Algebra1 Summary so far So far: – A bunch of Boolean algebra trickery for simplifying expressions and circuits – The algebra guarantees us.
June 12, 2002© Howard Huang1 Karnaugh maps Last time we saw applications of Boolean logic to circuit design. – The basic Boolean operations are.
Chapter 3 Bipolar Junction Transistor (BJT)
WORKING PRINCIPLE OF DIGITAL LOGIC
Minute Paper 4/4/04 Z=50+j86.7=100
Transistor Basics – Part I. The Diode The semi-conductor phenomena Diode performance with AC and DC currents Diode types –General purpose –LED –Zenier.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
Introduction Semiconductors are materials whose electrical properties lie between Conductors and Insulators. Ex : Silicon and Germanium.
Chapter 4 Bipolar Junction Transistors
CSE251 Lecture 8: Introduction to Bipolar Junction Transistor (BJT)
COURSE NAME: SEMICONDUCTORS Course Code: PHYS 473 Week No. 5.
COURSE NAME: SEMICONDUCTORS Course Code: PHYS 473 Week No. 8.
Transistors According to Dictionary.com a transistor is:
Regions of a Transistor A Bipolar Junction Transistor is a three terminal device containing 3 regions: Emitter, Base and Collector.
CSE251 Lecture 8: Introduction to Bipolar Junction Transistor (BJT)
Logic Gates Unit 16.
Logic gates.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Computer Science 210 Computer Organization
Transistors and Logic Gates
Karnaugh Maps References:
Karnaugh Maps References: Lecture 4 from last semester
Some basic electronics and truth tables
SOLIDS AND SEMICONDUCTOR DEVICES - IV
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Some basic electronics and truth tables
Semiconductors and Diodes
SOLIDS AND SEMICONDUCTOR DEVICES - IV
Presentation transcript:

Transistors, Logic Gates and Karnaugh Maps References: Lecture 4 from last semester Introduction to Digital Systems (J.Palmer and D. Perlman)

Transistors There are various kinds of transistors: bipolar, field-effect, etc. They differ in stability, energy usage, and so on, but they serve a similar purpose They are used to amplify a signal or to act as a switch It is as switches that they are used in computers

Diode Review Recall that a pn junction — the joining together of p-doped (“too few” electrons) and n-doped (“extra” electrons) — makes a diode A diode is a circuit element that allows current to flow in one direction (forward bias) but not in the other (reverse bias)

Diode Review (Cont.) Some of the “extra” electrons from the n side fill the empty levels in the p side, forming a region in which the valence band is filled and conduction band is empty This region (called the depletion zone) is a poor conductor

Bipolar transistors A bipolar transistor starts with two back-to-back diodes (pn junctions) There are two kinds NPN and PNP The middle region is usually smaller N-doped P-doped N-doped P-doped N-doped P-doped

Third lead So far the device seems useless; two back-to-back diodes wouldn’t conduct in either direction But we add a third lead (connection) directly to the middle portion

Not symmetric The transistor would seem to be symmetric with the two N-doped regions being the same, but actually these regions differ in their amount of doping and serve different purposes in the transistor

Collector, base, emitter Collector Base Emitter

Connecting the transistor Imagine applying a potential difference (voltage) across the base-collector leads with the collector higher, this reverse biases that pn junction so there would be no current flow CBECBE

No flow There is no flow because of the depletion zone (the region in which the valence band is filled and the conduction band empty) Reverse bias voltages tend to make the depletion zone a bit larger

Connecting the transistor (Cont.) Now consider applying a (smaller) voltage across the base-emitter leads with the base higher, this forward biases that pn junction so current will flow CBECBE

Flow Forward biasing a pn junction tends to eliminate the depletion zone (in this case putting electrons into the conduction band) Because the transistor has one shared depletion zone that has been eliminated by the base-emitter forward bias, both currents (collector-base and base-emitter) can flow

NPN in a circuit The arrow on an NPN points from base to emitter indicating the forward-bias direction that turns the transistor “on” CBECBE

Off

Base-emitter circuit Little to no current flowing Most of the voltage dropped across the base- emitter as opposed to the resistor in the circuit Collector-emitter circuit Little to no current flowing Most of the voltage dropped across the collector- emitter as opposed to the resistor in the circuit

On

Base-emitter circuit Current flowing Most of the voltage dropped across the resistor as opposed to the base-emitter in the circuit Collector-emitter circuit Current flowing Most of the voltage dropped across the resistor as opposed to the collector-emitter in the circuit

Unusual feature One feature that people find unusual when learning about transistors is that when the transistor is “on” the collector-emitter voltage is less than the base-emitter voltage This is because in the collector-emitter, one is going from n-doped material to n-doped material, whereas in the base-emitter, one is going from p-doped to n-doped

Logic gates As seen in lab, the on-off nature of diodes and transistors make them ideal for building logic gates Logic gates have input which is interpreted as a logic value (0 or 1, low or high, false or true) and have output which can also be interpreted logically

Logic gates LogicCircuit Symbol NOT AND OR NAND NOR

A Truth Table ABCOut

Simplifying A´BC´ + A´BC + ABC´ + ABC A´B (C´ + C) + AB (C´ + C) A´B + AB (A´ + A) B B ABC means A and B and C A + B means A or B A’ means not A

Simplifying made easy Simplifying Boolean expressions is not always easy So we introduce next a method that is supposed to make simplification more visual

Gray code In addition to binary numbers, there is another way of representing numbers using 1’s and 0’s It is not useful for doing arithmetic, but has other purposes In gray code the numbers are ordered such that consecutive numbers differ by one bit only

Gray code (Cont.)

Constructing Gray code 0 1

Reflect lower bits and 0’s then 1’s in front Lower bits Reflect through red line

Reflect lower bits and 0’s then 1’s in front (again) Reflect through red line

An important property In gray-code order, two consecutive rows of a truth table differ by one bit only If two consecutive rows contain a 1, then a simplification of the Boolean expression is possible

A Truth Table Revisited ABCOut

Improving Some combinations that differ only by a single bit are not in consecutive rows Thus we might miss such a simplification So we put some of the inputs in as columns

ABCOut

A row-column version AB\C

Karnaugh-map This way of arranging truth tables combined with the rules for simplifying Boolean expressions goes under the name Karnaugh map

The rules One identifies blocks (as large as possible) containing 1’s The blocks must contain all 1’s The number of 1’s should be a power of 2 (1, 2, 4, 8, …) A given 1 can belong to more than 1 block

Wrapping Imagine that the rows wrap around, so for instance, a block can include the top and bottom rows (without intermediate rows) Similarly for columns

Example WXY’Z + W’XY’Z + WX’Y’Z’ + W’X’Y’Z’ + WXYZ’ + WXY’Z’ + W’XY’Z’ + W’XYZ’

Example in Karnaugh Z0110 WX\Y W’X’Y’Z’ W’XY’Z’ 1 W’XY’Z 01 W’XYZ’ 111 WXY’Z’ 1 WXY’Z 01 WXYZ’ 101 WX’Y’Z’ 000

Result Y’Z’ + XY’ + X Z’ A block of size two eliminates one Boolean variable; a block of four eliminates two Boolean variables; and so on For a block identify the elements in the block that don’t change, AND them together, that’s your expression for the block Obtain an expression for each block and OR them together