Digital Logic Circuits. Overview  Objectives  Background  Materials  Procedure  Report / Presentation  Closing.

Slides:



Advertisements
Similar presentations
L14: Boolean Logic and Basic Gates
Advertisements

Programming Logic Gate Functions in PLCs
Digital Logic Circuits
Digital Circuits.
Prof. Sin-Min Lee Department of Computer Science
CSC 405 Lab 1 - Building a Simple Combinatorial Circuit In this laboratory exercise you will learn about the layout of some small-scale integrated circuits.
Appendix B Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Chapter 3 Basic Logic Gates 1.
1 Homework Reading –Tokheim, Section 5-10, 7-4 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
Combinational Logic Discussion D2.5. Combinational Logic Combinational Logic inputsoutputs Outputs depend only on the current inputs.
Laboratory 5: Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report / Presentation Closing.
EG1003: Introduction to Engineering and Design Introduction to LabVIEW.
1 Forging new generations of engineers. 2 DESIGN EXAMPLE “Date of Birth Problem”
Chapter 5 Boolean Algebra and Reduction Techniques William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education,
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
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.
3. DIGITAL ELECTRONICS..
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 2P. 1Winter Quarter Digital Electronics Lab 2.
Intro to Digital Electronics. Classifications of Electronic Circuits Switching Circuits – by turning electricity on and off. – Figure 1 – Known as the.
Laboratory 7: Sensors Matthew R. Gaglio, Feb 2007.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Laboratory 1: Introduction to Microsoft Word, Excel, and PowerPoint General Engineering Polytechnic University.
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Basic Digital Logic 2 Combinational Logic
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
LOGIC GATES.
CSCI-100 Introduction to Computing Hardware Design Part I.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Laboratory 7: Sensors. Overview Objective Background Materials Procedure Report / Presentation Closing.
Digital Logic Circuits. Overview Objectives Background Materials Procedure Report/Presentation Closing.
ENG241/ Lab #11 ENG2410 Digital Design LAB #1 Introduction Combinational Logic Design.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Karnaugh Maps (K-Maps)
LABORATORY11: Digital Logic Circuits
Laboratory 5: Introduction to LabVIEW
Introduction to LabVIEW
Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report/Presentation Closing.
EG1003: Introduction to Engineering and Design Introduction to LabVIEW.
Digital Logic Circuits
Logic gates.
Digital Logic Circuits
Introduction to LabVIEW
Homework Reading Machine Projects Labs
Logic What is logic? Logic is the name given to an electronic component which will monitor a number of inputs and give an output depending on them Input.
Basic Digital Logic.
Combinational Circuit Design
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Principles & Applications
Digital Logic Circuits
How Boolean logic is implemented
Computer Science 210 Computer Organization
Digital Electronics Lab 2 Instructor:
Introduction to LabVIEW
Digital Logic Circuits
Homework Reading Tokheim, Section 5-10, 7-4.
Introduction to LabVIEW
Design Example “Date of Birth Problem”
Digital Logic Circuits
KS4 Electricity – Electronic systems
ELECTRONIC SYSTEMS Note: There is no compulsory question set on Section 25 of the syllabus. Questions set on topics within Section 25 are always set as.
Digital Logic Circuits
Binary Logic.
Prototyping with Micro-controllers, Sensors, and Materials
Prototyping with Micro-controllers, Sensors, and Materials
Introduction to LabVIEW
Prototyping with Micro-controllers, Sensors, and Materials
Introduction to LabVIEW
Prototyping with Micro-controllers, Sensors, and Materials
Introduction to LabVIEW
Presentation transcript:

Digital Logic Circuits

Overview  Objectives  Background  Materials  Procedure  Report / Presentation  Closing

Objectives  Understand logic gates and digital logic circuits  Design combinational logic circuit  Activate under specific conditions  Test with LabVIEW  Test using digital trainer

Logic Functions  AND - “All or nothing operator”  Output high (1) only when ALL inputs are high (1)  OR gate - “Any or all operator”  Output high (1) when at least ONE input is high (1)  NOT operator – “Inverter”  Output always opposite of input  Only one input and one output

Logic Functions Logic FunctionLogic Symbol Boolean Expression Truth Table InputsOutput ABY AND A B = Y OR A + B = Y NOT A = Ā

Sample Problem  ATM machine has three options:  Print statement  Withdraw money  Deposit money  ATM machine will charge $1.00 to:  Withdraw  Print out statement with no transactions  No charge for:  Deposits without withdrawal

Truth Table A truth table displays all possible input / output combinations. INPUT OUTPUT P = Print C = Charge W = Withdraw D = Deposit 0 = “do not” 0 = $ = “do” 1 = $1.00 INPUTSOUTPUT P WDC

INPUTSOUTPUT P WDC C=C= PWD Boolean Equation + PWD Outputs with a value of “ONE” are kept

W Karnaugh Maps (K-maps) C = PWD+ PWD+ PWD + PWD + PWD PPPPWWW D D _ Why can’t you switch PW and PW? 0 1 Why can’t you loop the three adjacent 1s in the top row together? PWDPWDPWD

Karnaugh Maps (K-maps) C = PWD+ PWD+ PWD + PWD + PWD WPPPPWWW D D NOTE:Circle neighboring ONES in powers of 2. Try to find the greatest amount of “neighbors.” Only overlap circles as a last resort! 0 00

1 1 _ _ PWDPWD 1 1 _PWD_PWD Simplified Boolean Equation W Opposite values cancel out 1 1 _PWD _ _ _ _PWD P P P P W W W WDD C = _ + PD 00 0

Simplified Boolean Equation C = W + PD P P P P W W W WDD Opposite values in circles cancel out _ _ PWD PWD _PWD _PWD = W 3 Step _PWD _ _ _ _PWD _ = PD Step

Combinational Logic Circuit W P D _D_D _ _PD C =W PD+ W P D PD+ W PD+W PD+

Integrated Circuits (ICs)  Used for implementation of combinational logic circuits  Use TTL family (transistor transistor logic)

IC Identification

Materials for Lab Computer equipped with LabVIEW Digital/Analog Trainer – Input OR gate IC – Input AND gate IC –7404 Hex Inverter (NOT gate) IC Hook-up Wire

Problem Statement  A farmer has 2 barns  3 items: fox, hen, corn  Items can be in any barn, in any combination  Concerns:  Protect hen from fox  Protect corn from hen  Design alarm system using digital electronics. Alarm sounds when:  Fox and hen are in same barn  Hen and corn are in same barn

Problem Statement  Design combination logic circuit for alarm system:  Use least amount of gates and input variables (cost effectiveness)  Logical circuit output connected to LED  LED “on” indicates alarm activation  LED “off” indicates no problem (alarm off)  Fox, hen and corn must be in barn 1 or barn 2  Presence in barn 1 = 1  Presence in barn 2 = 0

Procedure  Truth Table  Determine input and output variable (s)  How many combinations are there?  Complete truth table on a sheet of paper Truth Table Boolean Expression K-Map Simplified Boolean Expression Logic Circuit LabVIEW Simulation Digital Trainer

Procedure  Boolean Expression  Gather all combinations that produce a 1 for output  Create a Boolean expression from these smaller expressions (independent conditions) Truth Table Boolean Expression K-Map Simplified Boolean Expression Logic Circuit LabVIEW Simulation Digital Trainer

Procedure  K-Map  Create a K-Map table  Only have one variable change state at a time between adjacent boxes  Use the Boolean expression to fill in the 1’s Truth Table Boolean Expression K-Map Simplified Boolean Expression Logic Circuit LabVIEW Simulation Digital Trainer

Procedure  Simplified Boolean Expression  Use K-Map to circle groups of 1’s  1’s may only be circled in powers of 2, starting from largest possible combination and working downward  Write new simplified expression Truth Table Boolean Expression K-Map Simplified Boolean Expression Logic Circuit LabVIEW Simulation Digital Trainer

Procedure  Logic Circuit Diagram  Use new simplified Boolean expression to design a logic circuit  Have TA check/initial work Truth Table Boolean Expression K-Map Simplified Boolean Expression Logic Circuit LabVIEW Simulation Digital Trainer

Procedure  LabVIEW Simulation  Create logic circuit in LabVIEW based on theoretical work  Front panel  3 control switches represent input variables  1 Boolean indicator shows output HINT: some LabVIEW comparison functions are: Truth Table Boolean Expression K-Map Simplified Boolean Expression Logic Circuit LabVIEW Simulation Digital Trainer NOT ANDOR

Procedure  Digital Trainer  Do NOT electrically connect anything until TA has reviewed your work  Use created logic circuit and IC chip diagram to wire actual circuit on digital trainer breadboard  Be sure to connect each of the ICs to “Ground” and “VCC-5V” (circuit power)  V CC is an acronym:  Voltage at the Common Collector  (positive [+] electrical connection) Truth Table Boolean Expression K-Map Simplified Boolean Expression Logic Circuit LabVIEW Simulation Digital Trainer

Assignment: Report  Individual Report  Title page  Discussion topics in the manual  Include original data with instructor’s initials  Scan in data and lab notes  (ask TA for assistance)  Original tables and work should be legible  Include screenshots of LabVIEW front and back panels

Assignment: Presentation  Team presentation  Professional-looking tables  Include screen shots of your programs  Photo of functioning LED assembly  Explain steps taken to complete lab  Be prepared to provide walk-through  Include lab data  Refer to “Creating PowerPoint Presentations” found in Online Manual

Closing  Have all original data signed by TA  Each team member should have turn using software  Perform prelab exercise for Sensors Lab  Submit all work electronically  Return all unused materials to TA