). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC

Similar documents
DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Experiment EB2: IC Multivibrator Circuits

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS

Introduction to IC-555. Compiled By: Chanakya Bhatt EE, IT-NU

ASTABLE MULTIVIBRATOR

t w = Continue to the next page, where you will draw a diagram of your design.

OBJECTIVE The purpose of this exercise is to design and build a pulse generator.

HIGH LOW Astable multivibrators HIGH LOW 1:1

Electronic Instrumentation

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory

To design/build monostable multivibrators using 555 IC and verify their operation using measurements by observing waveforms.

Multivibrators. Department of Electrical & Electronics Engineering, Amrita School of Engineering

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EG572EX: ELECTRONIC CIRCUITS I 555 TIMERS

PHYS225 Lecture 18. Electronic Circuits

CHAPTER 4: 555 TIMER. Dr. Wan Mahani Hafizah binti Wan Mahmud

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab Timer: Blinking LED Lights and Pulse Generator

Electronics. RC Filter, DC Supply, and 555

Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET REV. NO. : REV.

555 Timer and Its Application

PRESENTATION ON 555 TIMER A Practical Approach

Physics 116B TLC555 Timer Circuit

Class #6: Experiment The 555-Timer & Pulse Width Modulation

ZSCT1555 PRECISION SINGLE CELL TIMER ISSUE 2 - MAY 1998 DEVICE DESCRIPTION FEATURES APPLICATIONS SCHEMATIC DIAGRAM

Lab 6: Exploring the Servomotor Controller Circuit

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

Lab 2 Revisited Exercise

Features. Applications

Lab 11: 555 Timer/Oscillator Circuits


Electronic Instrumentation ENGR-4300 Fall 2004 Section Experiment 7 Introduction to the 555 Timer, LEDs and Photodiodes

Due date: Sunday, November 8 (midnight) Reading: HH sections , (pgs , )

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

MODULE TITLE : OPERATIONAL AMPLIFIERS TOPIC TITLE : OSCILLATORS LESSON 2 : RELAXATION OSCILLATORS

ECE 2010 Laboratory # 5 J.P.O Rourke

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

1.3 Mixed-Signal Systems: The 555 Timer

Government Polytechnic Muzaffarpur Name of the Lab: Applied Electronics Lab

For the op amp circuit above, how is the output voltage related to the input voltage? = 20 k R 2

ENGR 210 Lab 12: Analog to Digital Conversion

Difference between BJTs and FETs. Junction Field Effect Transistors (JFET)

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

Lecture 14: 555 Timers

Lab 12: Timing sequencer (Version 1.3)

MC3456 DUAL TIMING CIRCUIT

ENGR-4300 Electronic Instrumentation Quiz 3 Fall 2010 Name Section

555 Timer/Oscillator Circuits

+15 V 10k. !15 V Op amp as a simple comparator.

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

Electronics (JUN ) General Certificate of Secondary Education June Time allowed 2 hours TOTAL

Police Siren Circuit using NE555 Timer

ENGR-2300 Electronic Instrumentation Quiz 3 Spring Name: Solution Please write you name on each page. Section: 1 or 2

Lab 7: DELTA AND SIGMA-DELTA A/D CONVERTERS

Comparators, positive feedback, and relaxation oscillators

LM555 and LM556 Timer Circuits

Operating Manual Ver.1.1

Exam Booklet. Pulse Circuits

Electronic Metronome. Using a 555 Timer

ELEC2 (JUN15ELEC201) General Certificate of Education Advanced Subsidiary Examination June Further Electronics TOTAL. Time allowed 1 hour


University of Southern California

Analog Electronic Circuits Lab-manual

Comparators, positive feedback, and relaxation oscillators

Digital Logic Circuits

Chapter 16: Oscillators

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

Electronic PRINCIPLES

LM556 Dual Timer. an external resistor and capacitor for each timing Adjustable Duty Cycle

PHYSICS 536 Experiment 14: Basic Logic Circuits

Getting to know the 555

High Current MOSFET Toggle Switch with Debounced Push Button

Summer 2015 Examination

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Project 3 Build a 555-Timer

NE556 SA556 - SE556 GENERAL PURPOSE DUAL BIPOLAR TIMERS

Electric Circuit Fall 2017 Lab8 LABORATORY 8. Audio Synthesizer. Guide

Concepts to be Reviewed

ELE1. ELECTRONICS Unit 1 Foundation Electronics. General Certificate of Education June 2004 Advanced Subsidiary Examination

Power Line Carrier Communication

11 Counters and Oscillators

ULTRASONIC TRANSMITTER & RECEIVER

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

. HIGH MAXIMUM ASTABLE FREQUENCY 2.7MHz PIN-TO-PIN AND FUNCTIONALLY COMPATIBLE WITH BIPOLAR NE555

Using the SG6105 to Control a Half-Bridge ATX Switching Power Supply. Vcc. 2uA. Vref. Delay 300 msec. Delay. 3 sec V2.5. 8uA. Error Amp. 1.6Mohm.

Massachusetts Institute of Technology MIT

Scheme I Sample Question Paper

..LOW TURN OFF TIME NE555 SA555 - SE555 GENERAL PURPOSE SINGLE BIPOLAR TIMERS. MAXIMUM OPERATING FREQUENCY GREATER THAN 500kHz

Exponential Waveforms

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Linear Integrated Circuit Subject Code:

Creating an Audio Integrator

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

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

LIC & COMMUNICATION LAB MANUAL

CA555, CA555C, LM555, LM555C, NE555

ML4818 Phase Modulation/Soft Switching Controller

CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I)

Application Note AN-3006 Optically Isolated Phase Controlling Circuit Solution

DATA SHEET. HEF4047B MSI Monostable/astable multivibrator. For a complete data sheet, please also download: INTEGRATED CIRCUITS

Draw in the space below a possible arrangement for the resistor and capacitor. encapsulated components

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 8. Audio Synthesizer. Guide

Transcription:

ENGR 210 Lab 8 RC Oscillators and Measurements Purpose: In the previous lab you measured the exponential response of RC circuits. Typically, the exponential time response of a circuit becomes important when you are trying to do something very fast (like changing digital signals on a computer bus) or when you are trying to time something. Since timing is extremely useful to anyone working with sensors, real-time control, or data acquisition this lab is devoted to a special type of integrated circuit called a timer which uses the exponential response of a simple RC circuit to time events, create pulses of known duration, and even convert information into pulses which can be easily counted by a computer. A. Background: The most popular timer or waveform-generator IC is the 555 (and its successors). It is also an easily misunderstood chip. A simple equivalent circuit of the 555 is shown in Figure 1. A resistor divider network produces reference voltages of 1/3V CC and 2/3V CC for the op amps V CC is the voltage used to power the chip, typically 5 volts or more. The two op amps function as comparators causing the output to change whenever the input voltage goes above or below their reference input. For example, whenever the TRIGGER* input is below 1/3V CC the output of the 555 is high (near V CC ). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC the output of the 555 will be low (approximately zero). There is also a separate transistor output called DISCHARGE which can be used as a separate switch to turn things on and off. By connecting these inputs and outputs in clever ways the 555 can be made to perform a very large number of electrical functions. VCC (8) R DISCHARGE (7) THRESHOLD (6) R - COMP + FLIP FLOP (3) TRIGGER* (2) - COMP + R GROUND (1) Figure 1. Simplified 555 schematic. -1-

NOTE: The * in the TRIGGER* is a common digital logic notation for indicating that this is a low true logical signal. When you see TRIGGER* you read it and say it as NOT TRIGGER. We will learn about digital logic later; however, a normal digital logic signal is true when it is high or near 5 volts, and false when it is low, or near zero volts. This is called a high true signal since the voltage is high when the signal is true. The * simply indicates that the logic signals are inverted, or low true the signal is true when the voltage is near zero, and false when the voltage is near 5 volts. The easiest way to understand the workings of the 555 is to look at an example. Figure 2 shows the 555 connected to operate as an oscillator. When the power is first turned on, the capacitor is initially discharged; so the 555 TRIGGER* input is low (near zero) which makes the HIGH, the DISCHARGE transistor is open, and the capacitor charges toward 10 volts (the power supply voltage) through R A + R B. When the capacitor voltage reaches about 2/3*V CC, the op amp connected to the THRESHOLD input causes the to go to zero. The DISCHARGE switch also turns on and shorts C to ground through R B. This causes the capacitor voltage to decrease to zero. However, as soon as C's voltage drops below 1/3*V CC the op amp connected to the TRIGGER* input senses this. The op amp output changes which causes the 555's to go high and opens the DISCHARGE pin causing C to charge up again. The basic operation of this circuit is cyclic, with C's voltage going back and forth between 1/3*V CC and 2/3*V CC, with a period given be T = 0.693(R A +2R B )C. This formula is an approximate one supplied by the manufacturer on data sheets for the 555. RA 7 8 4 VCC RESET* DISCHARGE +10 volts VCC 2/3*VCC 1/3*VCC RB 2 6 TRIGGER* THRESHOLD 555 3 C GROUND 1 Figure 2. The 555 connected as an oscillator. A circuit that produces a repetitive output like that shown in Figure 2 is called an oscillator. The 555 makes a pretty good oscillator. The 555 can also be used to generate single pulses of arbitrary width. This type of circuit is called a monostable or one shot and is extremely useful to clean up noisy pulses. Because the 555 integrated circuit contains comparators, gates, and flip-flops people have found many non-timer uses for the 555 and it has become a game in the electronics industry to try to think of new uses for the 555. Incidentally, a 555 is used as a timer in many of the deep-fat fryers you see in fast food stores. -2-

A caution about the 555: Whenever you discharge a capacitor you generate large instantaneous currents which can interfere with other integrated circuits. Whenever you are using the 555 with any other integrated circuits you should put a capacitor (the value is not critical and can be from 0.1µf to 2.2 µf ) from the power supply lead to the ground lead. Good practice is to put this capacitor as close to the chip as possible. If you ever encounter strange outputs from the 555 or oscillations in other integrated circuits used in a circuit with the 555 you probably forgot to bypass the 555 or the bypass capacitor should be larger. You should not need a bypass capacitor in the simple 555 circuits you will build in this lab. B. Lab Procedure: 1: Locate a data sheet for the 555 integrated circuit Locate and find a data sheet for the 555 integrated circuit timer chip. Hint: you can use the chip specific search engines on the ENGR 210 home page check under Tools --> Chip Selector. A further hint: This timer chips were originally known as the NE555. Any other letters such as LM and LMC preceding the 555 usually indicates an improved version of the 555. Attach a one-page copy of the 555 pinout from this data sheet to your lab report points will be taken off for multipage submissions. 2: 555 IC Relaxation Oscillator The 555 and similar chips have made the design of relatively complex circuits such as an oscillators relatively easy. An RC circuit connected to the 555 as shown in Figure 3 alternately charges and discharges. The frequency of these changes (the oscillation frequency) is claimed by the manufacturer to be approximately given by f osc =1 /(0.7 [R A + 2R B ]C) (1) 10kΩ 7 8 4 VCC DISCHARGE RESET* +10 volts 10kΩ 2 TRIGGER* 555 3 6 THRESHOLD 0.1µf GROUND 1 Figure 3. 555 astable oscillator (a) Construct the 555 relaxation oscillator shown in Figure 3. (b) Look at the output waveform from Pin 3 with Channel 1 of your oscilloscope. Simultaneously look at the capacitor waveform (at Pin 6) with Channel 2 of your oscilloscope. Be sure to use scope probes for these measurements. With both the output and capacitor waveforms showing on your oscilloscope display, record your waveforms using Benchlink Scope. -3-

(c) Replace R B with a short circuit (a wire). Make sure you see both the output waveform from pin 3 and the threshold waveform from pin 6 on your oscilloscope display. Record these voltage waveforms using Benchlink Scope. 3: 555 One Shot A very useful circuit is a one-shot, also called a monostable. Basically a one-shot produces a longer output pulse in response to a short input pulse. These circuits have important applications in digital circuits where they can provide signal delays and can stretch very short pulses into longer pulses to operate computer logic more reliably. These circuits also are used in digital communications, biomedical engineering, and any other application where you need to clean up a digital signal in the presence of noise. A typical one-shot circuit using the 555 is shown in Figure 4. This circuit is exactly the same as the astable oscillator except that pin 2 is no longer connected to pin 6. 1kΩ 10kΩ 7 8 4 VCC DISCHARGE RESET* +10 volts INPUT 0.1µf 2 6 TRIGGER* THRESHOLD 555 3 0.1µf GROUND 1 Figure 4. 555 one-shot The TRIGGER pulse must be shorter than the desired t H. A negative going (or falling) input pulse will cause the 555 output to go high as shown in Figure 5. As long as the input pulse is low (for at least 20 nanoseconds), the output is a positive going pulse which will remain high (near the supply voltage) for a time t H \specified by the manufacturer to be approximately given by t H = 1.1 R A C (2) -4-

INPUT th Figure 5. 555 one-shot waveforms (a) (b) Construct the 555 monostable shown in Figure 4. Note that you only need to make a few small changes from your previous circuit. Connect the trigger input (Pin 2) to the H-P function generator. Adjust the generator output for a 4% duty cycle (a very narrow pulse) at about 100 Hz. See the note below for how to do this! Connect the output from the function generator to Channel 1 of your scope. Connect monostable output from pin 3 to Channel 2. Vary the duty cycle of the H-P function generator. The monostable should be producing pulses which have a constant width (as determined by the R A and C in your monostable circuit) at the frequency determined by the function generator. Record your oscilloscope display using Benchlink. NOTE: There is a special note on the H-P Web site about adjusting the 33120A to produce very low duty cycle output pulses. The procedure appropriate for this part of the lab is: 1. Power up the H-P 33120A 2. Set the frequency to 1 khz 3. Set the amplitude to 10 Vp-p 4. Select square wave output 5. Set the duty cycle to 60% 6. Select Burst Modulation (this is above one of the front panel buttons) 7. This should produce a 400 µs negative going pulse similar to that shown in Figure 5 at the 555 s TRIGGER* input. 4: 555 Water Level Sensor This is a complex application of the 555. We are going to use the 555 to construct a sensor which measures the level of water in a beaker. (a) (b) Modify your one shot circuit from Figure 4 by replacing R A with a 22kΩ resistor and replacing R B with a short circuit (a wire). You will now replace C with a homemade capacitor consisting of two connections to a beaker of water. One connection will connect the circuit ground to the water. This can be a simple wire with the end stripped bare. Bend the wire near the end to get an L as shown in Figure 6 (The L shape helps hold the wire in the water and gives a better signal). Place the bent, bare end in the water. The other lead will be made from 10-20 inches of enameled wire this is thin wire covered with a thin insulating varnish (paint). You may have to sand or scrape the ends of the wire to get a good electrical connection to your circuit. This is not as easy as it sounds! Be sure that no bare metal from this second wire comes in contact with the water. Fold -5-

(c) (d) this wire into a loop and place it into a beaker partially filled with water. Connect the two bare ends of this wire together and to your circuit as shown in Figure 6. Turn on the power supply. Display the input and output waveforms of your circuit on the oscilloscope. Record these waveform using Benchlink Scope. Vary the water level by adding water to the beaker. The 555 is operating as a variable modulator changing the pulse width of the signal generator output in accordance with the level of the water in the beaker. Use the oscilloscope to measure the average value of the output signal as a function of the water level. Record this information in Data Table 1. You can estimate the water level by looking at the beaker, or even using a small ruler. Your measurements of the water level do not need to be very accurate as we are not interested in calibrating this sensor. STRIPPED WIRE TO GROUND (PIN 1) OF YOUR 555 CONNECTION TO PIN 6 OF YOUR 555 WATER LOOP OF ENAMELED WIRE Figure 6. Home made capacitor for water level sensor Producing a signal whose properties vary as a function of some sensed quantity (in this case water level) is a very common way for a modern sensor which interfaces to a computer to work. -6-

DATA AND REPORT SHEET FOR LAB 8 Student Name (Print): Student Signature: Student Name (Print): Student Signature: Student Name (Print): Student Signature: Student ID: Date: Student ID: Date: Student ID: Date: Lab Group: Data Table 1. 555 output as a function of water level. water level Average value of 555 output waveform Make sure you have collected the following oscilloscope displays before leaving the lab. Part 2(b). Oscilloscope display of 555 oscillator output. R B =10kΩ Part 2(c). Oscilloscope display of 555 oscillator output. R B =short Part 3(b). Oscilloscope display of 555 one-shot output. Part 4(d). Oscilloscope display of water level sensor output. -7-

Attach the 555 data sheet and your four oscilloscope displays to this report. Label each one. For Part 1: 1. Where (what URL) did you find your data sheets? For Part 2: 1. For your measured output of the oscillator is the frequency correctly predicted by Equation (1) as claimed by the manufacturer? If not, explain why not. 2. What are the maximum and minimum voltages on the capacitor? Do these values make sense in terms of how the 555 is supposed to operate? 3. Explain what happened when you shorted R B in step 4? 4. What would happen if you replaced R A with a thermistor similar to the ones you used in Lab 4? Qualitatively describe the behavior of this circuit as a function of temperature. For Part 3: 1. Is the width of the pulses correctly predicted by Equation (2) as claimed by the manufacturer? If not, explain why not. 2. What are the maximum and minimum voltages of the output waveform? Will these vary of you change the input voltage (the voltage from the signal generator)? Why or why not? For Part 4: 1. What is the range over which average value of your output waveform from the 555 changed as you varied the water level? -8-