Lab #5: Operational Amplifier Application: Electronic Security System Design: Part 2 of 2. Theory & Introduction

Similar documents
Lab #6: Op Amps, Part 1

Data Conversion and Lab Lab 1 Fall Operational Amplifiers

ECE 220 Laboratory 3 Thevenin Equivalent Circuits, Constant Current Source, and Inverting Amplifier

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

Discrete Op-Amp Kit MitchElectronics 2019

Lab #7: Transient Response of a 1 st Order RC Circuit

EE 210: CIRCUITS AND DEVICES

Operational Amplifiers

Operational Amplifiers

INTRODUCTION. Figure 1 Three-terminal op amp symbol.

University of Utah Electrical & Computer Engineering Department ECE 1250 Lab 4 Pulse Width Modulation Circuit

BME/ISE 3512 Bioelectronics. Laboratory Five - Operational Amplifiers

ECE 2010 Laboratory # 5 J.P.O Rourke

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

EE100B Experiment 6. The Design of Waveform Generators. College of Engineering University of California, Riverside. Objective

Amplification. Objective. Equipment List. Introduction. The objective of this lab is to demonstrate the basic characteristics an Op amplifier.

Operational Amplifier Circuits

ECE ECE285. Electric Circuit Analysis I. Spring Nathalia Peixoto. Rev.2.0: Rev Electric Circuits I

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 7. RC Oscillator. Guide. The Waveform Generator Lab Guide

EECS 100/43 Lab 6 Frequency Response

ECE Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps

Laboratory Experiments in Instrumentation and Control

EE 221 L CIRCUIT II. by Ming Zhu

Figure 1: Basic Relationships for a Comparator. For example: Figure 2: Example of Basic Relationships for a Comparator

Lab 4: Analysis of the Stereo Amplifier

Process Components. Process component

EE 368 Electronics Lab. Experiment 10 Operational Amplifier Applications (2)

Lab# 13: Introduction to the Digital Logic

Lab: Operational Amplifiers

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments

EE320L Electronics I. Laboratory. Laboratory Exercise #3. Operational Amplifier Application Circuits. Angsuman Roy

Laboratory Project 1a: Power-Indicator LED's

Lab 6: Instrumentation Amplifier

10: AMPLIFIERS. Circuit Connections in the Laboratory. Op-Amp. I. Introduction

Function Generator Op-amp Summing Circuits Pulse Width Modulation LM311 Comparator

EE 3305 Lab I Revised July 18, 2003

ELEC207 LINEAR INTEGRATED CIRCUITS

EE 210 Lab Exercise #5: OP-AMPS I

BME 3512 Bioelectronics Laboratory Five - Operational Amplifiers

OCR Electronics for A2 MOSFETs Variable resistors

Lecture 7 ECEN 4517/5517

EECS 216 Winter 2008 Lab 2: FM Detector Part II: In-Lab & Post-Lab Assignment

Physics 310 Lab 6 Op Amps

Operational Amplifiers

using dc inputs. You will verify circuit operation with a multimeter.

OPERATIONAL AMPLIFIERS LAB

I1 19u 5V R11 1MEG IDC Q7 Q2N3904 Q2N3904. Figure 3.1 A scaled down 741 op amp used in this lab

Electronics and Instrumentation Name ENGR-4220 Spring 1999 Section Experiment 4 Introduction to Operational Amplifiers

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

CHARACTERISTICS OF OPERATIONAL AMPLIFIERS - I

1.0 Introduction to VirtualBench

TTL LOGIC and RING OSCILLATOR TTL

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Comparators, positive feedback, and relaxation oscillators

Operational Amplifiers: Part II

EE 233 Circuit Theory Lab 3: First-Order Filters

Intro To Engineering II for ECE: Lab 7 The Op Amp Erin Webster and Dr. Jay Weitzen, c 2014 All rights reserved.

UNIT E1 (Paper version of on-screen assessment) A.M. WEDNESDAY, 8 June hour

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

MAS.836 HOW TO BIAS AN OP-AMP

ECEN Network Analysis Section 3. Laboratory Manual

Lab 4 - Operational Amplifiers 1 Gain ReadMeFirst

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE

Assignment /01

Homework Assignment 07

To configure op-amp in inverting and non-inverting amplifier mode and measure their gain.

ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Laboratory 8 Operational Amplifiers and Analog Computers

Oct 10 & 17 EGR 220: Engineering Circuit Theory Due Oct 17 & 24 Lab 4: Op Amp Circuits

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

Lab Experiments. Boost converter (Experiment 2) Control circuit (Experiment 1) Power diode. + V g. C Power MOSFET. Load.

EXPERIMENT 2.2 NON-LINEAR OP-AMP CIRCUITS

ECE159H1S University of Toronto 2014 EXPERIMENT #2 OP AMP CIRCUITS AND WAVEFORMS ECE159H1S

ELT 215 Operational Amplifiers (LECTURE) Chapter 5

Comparators, positive feedback, and relaxation oscillators

Chapter 4 CONVERTING VOLTAGE AND CURRENT Name: Date: Chapter 4 AN INTRODUCTION TO THE EXPERIMENTS

Rowan University Freshman Clinic I Lab Project 2 The Operational Amplifier (Op Amp)

TECH 3232 Fall 2010 Lab #1 Into To Digital Circuits. To review basic logic gates and digital logic circuit construction and testing.

University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions:

Experiment EB2: IC Multivibrator Circuits

What is an Op-Amp? The Surface

v 0 = A (v + - v - ) (1)

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

EE2210 Laboratory Project 1 Fall 2013 Function Generator and Oscilloscope

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY

INSTRUMENTATION BREADBOARDING (VERSION 1.3)

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

The Inverting Amplifier

EE 501 Lab 10 Output Amplifier Due: December 10th, 2015

Electronics - PHYS 2371/2 TODAY

Sensor Interfacing and Operational Amplifiers Lab 3

EE 421L Digital Electronics Laboratory. Laboratory Exercise #9 ADC and DAC

Introduction to the Op-Amp

Transcription:

ab #5: Operational Amplifier Application: Electronic Security System Design: Part of Theory & Introduction aser Diode Photodetector CurrenttoVoltage Converter Signal Ampifier Signal Comparator atch ED & Buzzer Figure 5.1: Stages of the Electronic Security System: Goals for ab #5 In this the second of the two experiments for putting together an electronic security system, you will build the last three stages of the system. First, you will build the comparator. Then, you will send the output of the comparator into a latch. Finally, you will send the output of the latch into a ED and Buzzer system. Theory A comparator, as shown in Figure 5., compares signal voltage on one input with a reference voltage on the other input. Without feedback, an op amp operates in saturation whenever the inputs are not equal. If () input of an op amp, V P, is above its () input, V N, the output voltage, V O, is pulled up to the positive saturation voltage. If () input of an op amp, V P, is below its () input, V N, the output voltage is pulled down to the negative saturation voltage. V N V P V O V S V R Figure 5.. of a general purpose opamp such as 1 has limitations. Its output changes between the limits fixed by the saturation voltages, V sat and V sat, that are typically about ±10V for ±1V power supply. Therefore, the output cannot drive devices that require voltage levels 0 and 5V (or, ), such as logic ICs or microcontrollers. This problem can be solved by ICs that have been specifically designed for comparators. One such device is the 19 comparator. This device has comparators in one package. You will use one of them. The pin layout of the device is shown in Figure 5.. ab #5 Page 1

M19N 1 1 1 GROUND (1) NONINVERTING INPUT (1) INVERTING INPUT (1) V 5 OUTPUT (1) V OUTPUT () 8 GROUND () 1 11 10 9 INVERTING INPUT () NONINVERTING INPUT () Figure 5. For the second part of today s experiment, we will be using a latch. The signal output of comparator changes when the input signal changes above/below the reference voltage. Sometimes you may need to hold the status, even if the input changes. CD0 shown in Fig. 5. is one of such devices. When S terminal is low it sets the output Q as high. When R terminal is low it resets the output Q as low. When the S and R terminals are high the output Q keeps previous status. The output status for both S and R low is not defined. Therefore this input status should be avoided. In this lab, the inputs of S and R stay high in normal condition. If the light beam is obstructed, the S input is pulled low and therefore the Q output goes high. If the obstruction is removed, the S input returns back to high. Since both of the S and R are high, the output Q stays high until the R input is pulled low. Once the R is low, the output Q goes low. Then, the S and R return back to high and the Q stays low. CD0 Q 1 1 V DD 15 S S1 1 R R1 1 Q1 ENABE R S 5 1 11 10 R S Q Truth Table S R Q No Change GND 8 9 (a) Q Figure 5. (b) Undefined ab #5 Page

Be sure you understand the information about the latch we will be using. See your TA before lab if you have questions about how this works. Before the final stage of the system will be using a voltage follower as shown in figure 5.5 before the input to the EDs and the buzzer. This voltage follower is a way to allow the output to draw a larger current. You will learn more about this in EEN 5. Buffer Input V i M1N Buffer V O 1V Figure 5.5 ab #5 Page

Prelab Read the entire experiment and be prepared to answer questions in the prelab quiz. Draw the security system through the comparator in PSPICE and run a simulation to see what the output voltages should be. (You can use the u1 again for the comparator.) Print a copy of the schematic to turn in with all voltages and currents labeled. For the circuit below, calculate the input voltage that will change the comparator from high to low. Show all calculations and explain your work. Simulate this stage alone in PSPICE using the ua1 opamp. Use at least three different input voltages. Does it work the way it is expected to work. Comment on any discrepancies. V i V r 1kW 5 11 1 M19N Comparator (/AM).kW 1V Figure 5. abview work: (int: You might want to view this on a color monitor for help.) Consider the block diagram below in Figure 5. Figure 5. ab #5 Page

In this week s lab you will be using abview as a software controller for the buzzer. Basically, abview will replace almost all of the hardware you used to build the comparator and SRlatch system. Although you will not need to design the program, you will need to be familiar with how the program operates. For the prelab, you will need to complete the wiring of a VI provided for you on WebCT so that it looks like Figure 5.. VI Procedure Download the VI for ab 5 from WebCT. Add in wires so that the VI looks like Figure 5.. Print a copy of the block diagram to turn in at the beginning of lab. Note that this VI is an example of a software control that follows a similar algorithm to the hardware design you will build in the lab. Other algorithms and designs may be more efficient or easier to program. If you think of another idea and would like to try it, go for it. Consult your TA for suggestions. Make sure you understand how this VI works. Use the context help provided in abview to help answer questions. Quiz questions may cover the algorithm for this VI. ab #5 Page 5

Procedure Task #1: Construct a comparator. I. Be sure the NI EVIS board is off, but launch the NI EVIS instrument system on the computer. Be sure to connected the and 1V variable power as indicated in Figure 5.8. Consult the theory section if you do not remember the numbering of the pins. Build a comparator circuit shown in Figure 5.8 on the breadboard. What is the reference voltage? Calculate V r and measure V r and record both in Table 5.1. II. Apply a voltage at the input V i (ere, you must use the bench triple output to vary this.). Slowly increase the input voltage V i. Use steps of 0.5V starting at 0V. Find out the input voltage when the output voltage (/AM) changes. Take several readings at 0.1V intervals around V r. Record in Table 5. V i V r 1kW 5 11 1 M19N Comparator (/AM).kW 1V Figure 5.8 III. Turn off the NI EVIS board. Consider the figure below: 00W aser Diode Photodetector aser ab () Module kw 1V M1N (1) V out 1kW kw 1V M1N () V amp,out Figure 5.9 You will have a Printed Circuit Board (PCB) module that will cover the stage in the dashed rectangle. Connect the V OUT from the module to a 1kΩ resistor and build the stage shown at the right of Figure 5.9. Remember to connect the PCB module that to the and 1V variable power supplies. Disconnect the V i in your comparator ab #5 Page

circuit you already built and connect the output of the stage two you just built. When all the connections are made, turn on the NI EVIS board. Record the voltage output of the comparator with the laser beam obstructed and unobstructed in Table 5.. Task #: Construct the latch I. Turn off the NI EVIS board. Build the circuit shown in Figure 5.10. Be sure to connect Pin 5 (ENABE) to high () to enable the device. You may need to push the /RESET button right after power on to initialize the circuit. Check the output (Q) level when you push /AM switch or /RESET switch, and complete Table 5.. S 1 Q 9 atch /AM R CD0B 8 /RESET Figure 5.10 II. Build the circuit shown in Figure 5.11. The direction of ED is as in Figure. 5.1. The long lead is () and the short one (). It is important to connect them correctly as shown in Figure 5.11. Measure the 0 output voltage (Q) and the buffer output voltage and complete table 5.5. One of the EDs should be on. If not check the direction of the ED. Green ED /AM 1 S Q R 8 9 CD0B 1V M1N () Buffer 1.kW 1.kW Red ED /RESET Figure 5.11 ab #5 Page

(a) Figure 5.1 (b) III. IV. Check the laser lab () module. Align the laser beam and check the comparator output. (/AM). Attach the buzzer at the buffer output. Remove /AM switch and 10kΩ resistor. Connect the comparator output the S input of the latch. Now you should have a whole system. Check if the buzzer sounds when you interrupt the laser beam. Comparator (/AM) /RESET 1 S Q R 8 9 CD0B 1V M1N () Buffer Green ED 1.kW 1.kW Red ED Buzzer Figure 5.1. Task #: Implement your *.vi I. Use the *.vi you built in the prelab to act as a software response from the laser input. Test the virtual instrument by obstructing the beam and setting off the buzzer. ab Report Requirements Be sure to include all of the lab report requirements given in the Introduction section. Graph V IN versus V OUT of the comparator. Comment on the security system as a whole. ow would you improve it? ab #5 Page 8

Tables and Results Table 5.1 Reference voltage V r (Measured) Reference voltage V r (Calculated) voltage changes at this input voltage Table 5. V IN V OUT, Comparator Table 5. With laser beam at the photodetector Without laser beam at the photodetector Comparator voltage (Measured) Table 5. /AM on /RESET on Table 5.5 /AM on /RESET on S R Q Q Buffer ED on ab #5 Page 9