Home
EE 101 Lab 1
Contents
1. 7 Lab Report Score Detach and turn this sheet along with any other requested work or printouts Turn in the following items 1 2 Original schematic of your working design Instructor Signoff of working design Continued on next page Last Revised 8 31 2011 EE 101 Lab 1 Sound the Alarm 3 Table of test vectors with the expected and actual output values for each N X W D G Expected A Actual A Table 1 List your minimal set of test input combinations expected and actual output values 4 Answers to the review questions Last Revised 8 31 2011 8 EE 101 Lab 1 Grading Rubric EE 101 Lab 1 Sound the Alarm Name s Score 100 Req Mult Score 10 Excellent 8 Good 5 Average 2 Poor 0 Failure Guideline i Schematic 3 Correct Logic Correct logic Slight errorin Major error in Missing Design with near but with non logic affecting logic minimal minimal only 1 or 2 number of number of input cases gates gates N inimal Test 4 Near minimal Too many E Vectors number of vectors but Vectors se vectors but e vectors to logic is chosen Missing a aN does not sufficiently sufficiently Ba haphazardly sufficiently test logic tested test logic Review 1 Qi Correct Near correct Wrong Missing Review 2 Demonstrates Demonstrates Demonstrates
2. Demonstrates Q2 clear reasonable some little understanding understanding understanding understand or Missing and correct and correct with adequate poorly reasoning reasoning reasoning reasoned Late 10 per day TOTAL Last Revised 8 31 2011 5
3. EE 101 Lab 1 Sound the Alarm 1 Introduction In this lab you will design implement and then test a simple logic circuit emulating a home alarm system You will use the Digital Trainer board for this lab and may work in teams of two turning in one answer sheet for the both of you 2 What you will learn This lab is intended to teach you the basics of building and wiring digital circuits You will also be asked to think of a test strategy to ensure your circuit works as specified in the following English language description 3 Background Information and Notes The Alarm System The alarm system to be designed has the following inputs Input Description N The system enable i e the on off state of the alarm system 1 Enabled 0 Disabled Window sensors 1 indicates all windows are secured closed Door sensors 1 indicates all doors are secured closed Garage sensor 1 indicates the garage door is secure Exiting input 1 indicates that you are currently leaving the house and thus an open door or window should not cause the alarm to turn on O indicates that you are out of the house xoos The only output of the alarm system should be a single bit A which will be 1 if the alarm is activated and 0 otherwise The alarm should activate if the system is enabled you are not exiting and the house is not secure The house is considered secure if all the sensors windows doors garage are 1 Implementation For this lab you will imple
4. ment your design on the provided Digital Trainer Board Read the Digital Trainer board user manual and or follow along as your instructor describes the features and operation of the board Some important do s and don ts will be highlighted 4 Prelab None Last Revised 8 31 2011 EE 101 Lab 1 Sound the Alarm 5 Procedure 1 Given the description of the alarm system in section 3 design a logic circuit to implement the alarm system Use only inverters and the 2 input AND and OR gates no NOR and NAND for now For inputs and outputs use the following mapping Logical Trainer Board I O Device Input Output SW1 Since the push buttons PB1 PB3 output a 1 by default this means the window door and garage values are secure by default When we press the buttons it will produce a 0 indicating someone has opened or broken the window door or garage This is reiterated in Figure 1 Vdd PB1 PB3 W D or G 1 Secure by default GND Vss Figure 1 PB outputs producing the W D and G values When implementing your circuit note that you only have 2 input gates available However you should be able to easily handle this shortcoming by manipulating your design slightly think about how you could construct a 3 input AND gate using two 2 input AND gates 2 Once you have wired your design it is now time to test it and make sure it is correct To test this circuit exhaustively would require trying every pos
5. sible input combination and ensure the output is as expected How many combinations would this approach require Instead use your understanding of the intended logic design to devise a list of input combinations a k a test vectors that provide high satisfaction that your design is operating correctly e g N X W D G gt A 0 0 0 0 1 gt 0 1 0 0 1 0 gt 1 Use the attached table on page 4 to list your near minimal number of combinations the 2 Last Revised 8 31 2011 EE 101 Lab 1 Sound the Alarm expected value of A and the actual value of A produced by your circuit when you plug in the given combination If you find mismatches between your expected and actual outputs go back to your circuit and make sure you ve implemented it correctly Hint At the very least we need to prove the alarm is off under normal conditions but also turns on under all the necessary cases Think about the gate types you are using and how each input should affect the output e g an OR gate should output 1 when only a single input is 1 even if all other inputs are O Somewhere around six to eight combinations vectors should suffice 6 Review 1 2 How many combinations would be necessary to exhaustively test your design Provide a short justification a paragraph explaining how you chose your minimal set of test vectors and why they provide a high degree of satisfaction that your design works under all conditions
Download Pdf Manuals
Related Search
Related Contents
probtp infos n3 Garmin 276C GPS Receiver User Manual SICTOM Mag` n°9 el archivo de datos tecnicos en PDF Sanitary Pump---User`s Manual: Shun Tak Travel Services Ltd journey Myoguide Operator`s Manual - Intronix Technology Corporation 船舶事故等調査報告書(軽微) Copyright © All rights reserved.
Failed to retrieve file