Digital Applications of the Operational Amplifier

Similar documents
DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

Physics 303 Fall Module 4: The Operational Amplifier

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp

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

Integrators, differentiators, and simple filters

Page 1 of 7. Power_AmpFal17 11/7/ :14

Operational Amplifiers: Part II

ECE 3274 MOSFET CD Amplifier Project

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Circuits & Electronics Spring 2005

ECE 3274 Common-Emitter Amplifier Project

ECEN 325 Lab 5: Operational Amplifiers Part III

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

TTL LOGIC and RING OSCILLATOR TTL

Facility of Engineering. Biomedical Engineering Department. Medical Electronic Lab BME (317) Post-lab Forms

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

In a cascade configuration, the overall voltage and current gains are given by:

Revised: January 26,

The MOSFET can be easily damaged by static electricity, so careful handling is important.

Lab 6 Prelab Grading Sheet

Lab 4: Analysis of the Stereo Amplifier

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

Op-Amp Simulation Part II

ECE 3274 Common-Emitter Amplifier Project

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

LABORATORY 3: Transient circuits, RC, RL step responses, 2 nd Order Circuits

CHARACTERIZATION OF OP-AMP

Prelab 10: Differential Amplifiers

Lab 6: Building a Function Generator

ECE4902 C Lab 7

EE 2274 RC and Op Amp Circuit Completed Prior to Coming to Lab. Prelab Part I: RC Circuit

Introduction to Analog Interfacing. ECE/CS 5780/6780: Embedded System Design. Various Op Amps. Ideal Op Amps

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

EK307 Active Filters and Steady State Frequency Response

EE 210: CIRCUITS AND DEVICES

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook.

Lab 6: MOSFET AMPLIFIER

For input: Peak to peak amplitude of the input = volts. Time period for 1 full cycle = sec

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

EE4902 C Lab 7

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

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

Lab 9: Operational amplifiers II (version 1.5)

ECE 3274 Common-Collector (Emitter-Follower) Amplifier Project

ENGR 201 Homework, Fall 2018

Spectrum analyzer for frequency bands of 8-12, and MHz

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

EE 221 L CIRCUIT II. by Ming Zhu

EE 3305 Lab I Revised July 18, 2003

OPERATIONAL AMPLIFIERS (OP-AMPS) II

EXPERIMENT 2.2 NON-LINEAR OP-AMP CIRCUITS

Chapter 13: Comparators

Homework Assignment 07

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

EK307 Passive Filters and Steady State Frequency Response

Comparators, positive feedback, and relaxation oscillators

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 4 SINGLE STAGE AMPLIFIER

Lab 6: Instrumentation Amplifier

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

Electronics I. laboratory measurement guide

the reactance of the capacitor, 1/2πfC, is equal to the resistance at a frequency of 4 to 5 khz.

ECEN Network Analysis Section 3. Laboratory Manual

Facility of Engineering. Biomedical Engineering Department. Medical Electronic Lab BME (317) Pre-Report Forms

Schmitt trigger. V I is converted from a sine wave into a square wave. V O switches between +V SAT SAT and is in phase with V I.

EE 210 Lab Exercise #5: OP-AMPS I

UNIVERSITI MALAYSIA PERLIS

Comparators, positive feedback, and relaxation oscillators

ME 365 EXPERIMENT 1 FAMILIARIZATION WITH COMMONLY USED INSTRUMENTATION

Bring your textbook to lab.

GATE SOLVED PAPER - IN

Electronic PRINCIPLES

CHAPTER 6 DIGITAL INSTRUMENTS

UNIVERSITY OF UTAH ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT ELECTROMYOGRAM (EMG) DETECTOR WITH AUDIOVISUAL OUTPUT

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

Lab 2: Discrete BJT Op-Amps (Part I)

Course materials and schedule are at. positron.hep.upenn.edu/p364

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

EE3204 D2015 HW Set 3

EE 2274 MOSFET BASICS

Comparators, positive feedback, and relaxation oscillators

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

Lab 2: Diode Characteristics and Diode Circuits

EECS40 RLC Lab guide

Experiment 8 Frequency Response

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

Revised: Summer 2010

CHARACTERISTICS OF OPERATIONAL AMPLIFIERS - I

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

LINEAR IC APPLICATIONS

LESSON PLAN. SUBJECT: LINEAR IC S AND APPLICATION NO OF HOURS: 52 FACULTY NAME: Mr. Lokesh.L, Hema. B DEPT: ECE. Portions to be covered

Class #8: Experiment Diodes Part I

Homework Assignment 06

Assignment 8 Analyzing Operational Amplifiers in MATLAB and PSpice

Electronics. RC Filter, DC Supply, and 555

Lecture 2 Analog circuits...or How to detect the Alarm beacon

R (a) Explain characteristics and limitations of op-amp comparators. (b) Explain operation of free running Multivibrator using op-amp.

ECE 2201 PRELAB 6 BJT COMMON EMITTER (CE) AMPLIFIER

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Hands-On Introduction to EE Lab Skills Laboratory No. 2 BJT, Op Amps IAP 2008

EE 230 Lab Lab 9. Prior to Lab

Transcription:

Lab Procedure 1. Objective This project will show the versatile operation of an operational amplifier in a voltage comparator (Schmitt Trigger) circuit and a sample and hold circuit. 2. Components Qty Device 1 741 Op Amp 1 2N7000 MOSFET 3. Introduction 3.1. Comparators and Schmitt Triggers A voltage comparator is a two-input circuit that compares the voltage at one input to the voltage at the other input. Usually one input is a reference voltage and the other input a time varying signal. If the time varying input is below or above the reference voltage, then the comparator provides a low or high output accordingly (usually the plus or minus power supply voltages). The ideal operation of a comparator is shown in Figure 1(a). If V ref is zero, the comparator can be used as a zero-crossing detector. If V ref is not zero, the comparator can be referred to as a level detector. The comparator is the basis for most A/D (analog-to-digital) circuits. In these A/D circuits, the reference voltage is gradually changed by a counter and compared to the analog input voltage until it equals the analog input voltage. The Schmitt trigger circuit is a comparator that uses hysteresis to help reject noise. Figure 1(b) shows the input versus the output characteristic of the Schmitt trigger circuit. As the diagram shows, there is a buffer zone about the reference voltage to prevent small perturbations in the input signal from causing the comparator to flip continuously. Because of the buffer zone, the comparator no longer changes state from high to low at the same voltage that it changes from low to high. Hysteresis in the Schmitt trigger ensures that the output signal is the same frequency as the input signal for noisy input signals that may cross the threshold several times while rising and falling. The Schmitt trigger is especially useful for slowly varying and noisy input signals. The op amp in the comparator circuit in Figure 2 allows for flexibility in setting the gain, thresholds, and reference voltage. 3.2. Sample-and-Hold Circuits For an analog signal to be processed by a digital system, it must be converted to a digital signal (discrete-time and discrete-amplitude). A sample and hold circuit makes it easier for us to record Figure 1(a). General comparator transfer function. Figure 1(b). Comparitor transfer function with hysteresis. Page 1 of 6

the amplitude at each sample by holding the signal for a short period of time at a given amplitude. Two important properties of a sample-and-hold circuit are the highest possible sampling rate and how constant the sample remains during the hold interval. The sample and hold circuit shown in Figure 3 uses an op-amp in the non-inverting configuration and a MOSFET. The square wave input determines the sampling rate and the length of time to hold the sample. The MOSFET acts as a switch, which is on during sampling and off during the hold time. When the square wave is positive, the MOSFET is on and circuit samples the input signal by passing it to the op-amp and charging the capacitor. When the square wave is negative, the circuit is in the hold mode. In this mode, the MOSFET turns off and the output is the value the capacitor charged to during the previous sampling interval. 3.3. Oscilloscope Triggering Ever wonder what the trick is to making your waveform lock up so you can see it, instead of having it run across the screen continuously? The secret is the trigger circuit. The trigger circuit monitors the signal and looks for it to cross a voltage threshold. When it does, it starts drawing the wave on the screen thus ensuring all of the traces line up perfectly on top of each other, creating a nice image on the screen. There are two key inputs to the trigger circuit that define its operation: the trigger source, and the trigger level. The trigger source is the waveform that the trigger circuit monitors. If you are using multiple inputs to the scope, you must pick one to monitor for triggering. You can also use a separate input for the trigger source. You may want to use an external trigger source if you are looking at a very low amplitude or a very noisy signal. If your source is a function generator, there is a separate 0-5 V square wave output that is synchronized with the function generator output. This makes a very convenient trigger source. You can also trigger off of the ac line input, which is convenient when monitoring a signal derived from the power lines. The trigger level is the threshold at which the oscilloscope trips and starts drawing the waveform. This is typically set with a knob on the front of the oscilloscope, and is shown on the screen (usually in a corner). After setting your trigger source, adjust this knob to a reasonable level and leave it there. You should now have a stable display on your screen. 4. Prelab Design Project Please show all work, include your schematics, and sketch or print waveforms. Label all schematics and waveforms with name, date, axis scale, conditions, and any important information (peak voltage, cutoff frequency, etc.). 4.1. (15 point) Derive the equations for the comparator input threshold voltages (V TL, V TH) in terms of V out, V ref and the circuit components. Show all work. 4.2. (10 point) Modify the above equations for a reference voltage (V ref) equal to zero. Show all work. 4.3. (25 point) Design a comparator circuit based on Figure 2 such that the V TL = 1 V, V TH = +1 V, and V ref = 0 V. Assume that V out,high = 14.7 V and V out,low =-14.7 V. Verify the comparator design with LTspice. Use ±15 V supplies for the op-amp. Sweep the DC input voltage from 5 V to +5 V and from +5 V to 5 V. Page 2 of 6

R2 +v Vin R1 3 + +V 7 Vout Vref 2-4 6 Figure 2: Comparator with hysteresis 4.4. (25 point) Use LTspice to find the slew rate and maximum frequency for the comparator above. Use a sine source with an input voltage of 2 V pk and a frequency of 3 khz. Assume the minimum time at the high or low state is 0.5 μs. Include a plot with the input and output waveforms and mark the measurement point on the plot. 4.5. (25 point) Verify the operation of the sample-and-hold circuit in Figure 3 with LTspice. Use a time domain analysis to plot the input and output. Use an 2N7000 for the MOSFET, Rin = 100Ω, and set C to 1 μf. Use a 1 V pk sine at 60 Hz for the input waveform and use a 1 khz, 20 V p p square wave (use pulse Vinitial =-10V, Von = -10V, Ton = 0.5ms, Tperiod =1ms, Trise = 0, Tfall =0, Tdelay = 0, and series resistance = 50Ω) as the gate input. Use ±15 V supplies for the opamp. Find the time delay from input to output and mark it on the plot. Page 3 of 6

Vin AC Rin MOSFET D G S C 3 2 +v + - +V 7 4 6 Vout Rgen 50Ω Vgen Function Generator Gate Pulse Figure 3: Sample and Hold Page 4 of 6

5. Lab Procedure 5.1. Construct the comparator circuit in Figure 2. Set the reference voltage to zero and the thresholds to ±1V. Use ±15V supplies for the op-amp (741). Be sure to bypass the power supplies with a 4.7 nf capacitor across the Op Amp (pin 4 to pin 7). No printouts. 5.2. Set the function generator to generate a 10 V p p triangle wave and feed it into the comparator. Record the high and low threshold voltages and save the input and output waveforms. Two printouts. 5.3. Now use a 2 V pk sine wave at 3 khz as the input. Monitor the input and output waveforms on the oscilloscope. Measure the slope of the line between the low to high output limits and the high to low output limits. Save this waveform and use this waveform and data to find the slew rate. Calculate the maximum frequency that the comparator can operate at if the minimum hold times at high and low are 0.5 μs. One printout. 5.4. Construct the sample and hold circuit in Figure 3. Use a 100 Ω resistor for R in and a 1 μf capacitor for C. Remember that the Rgen = 50 Ω resistor is internal to the function generator and that you do not actually need to include it in your circuit. Drive the gate of the MOSFET (2N7000) with a 1.2 khz square wave from the function generator that has an upper limit of +10 V and a lower limit of 10 V. For the input signal source, V in, use the VARIAC with the step-down transformer. Adjust the VARIAC until the secondary voltage from the transformer is 1 V pk. Use ±15 V supplies for the op-amp (741). Be sure to bypass the power supplies with 4.7 nf capacitors. Save the input and output waveforms on the oscilloscope. Be sure to trigger using the ac line input ask your instructor if you need help with this. Do the two waveforms match? Be sure to note any voltage offset and time delay on your printout. Two printouts. 6. Postlab Questions 6.1. Determine the maximum frequency at which the Schmitt trigger can operate from the slew rate data collected. Assume the minimum time at high or low is 0.5 μs. What is the maximum frequency using the slew rate specification from the data sheet? 6.2. For the sample and hold circuit, determine the approximate decay rate of the capacitor voltage in mv/s during the hold mode for the data. Calculate the decay rate by using the input bias current from the data sheet of 80 na. Remember that i c C dv dt 6.3. What is the maximum hold time for the sample-and-hold circuit if the capacitor voltage cannot change by more than 10%? Assume initial capacitor voltage is 1 V. Page 5 of 6

Data Sheet Name: Lab Date: Grade: Partner (s): Remember to include units for all answers and to label all printouts. There are a total of six (6) printouts in this lab. Only one set of printouts is required per group. 5.1. Schmitt trigger comparator circuit. No printouts. Design Values: R 1: R 2: Measured Values: R 1: R 2: 5.2. Schmitt trigger with a triangle wave input. Two printouts. High Threshold: Low Threshold: V TH: V TL: 5.3. Schmitt trigger with a sine wave input. One printout. Slew Rate, low-to-high: Slew Rate, high-to-low: 5.4. Sample-and-hold circuit. Two printouts. Postlab Questions Delay time from input to output: Change in amplitude from input to output: Decay rate during hold time: 6.1. Determine the maximum frequency at which the Schmitt trigger can operate from the slew rate data collected. Assume the minimum time at high or low is 0.5 μs. What is the maximum frequency using the slew rate specification from the data sheet? 6.2. For the sample and hold circuit, determine the approximate decay rate of the capacitor voltage in mv/s during the hold mode for the data. Calculate the decay rate by using the input bias current from the data sheet of 80 na. Remember that i c C dv dt 6.3. What is the maximum hold time for the sample-and-hold circuit if the capacitor voltage cannot change by more than 10%? Assume initial capacitor voltage is 1 V. Page 6 of 6