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

Similar documents
STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley

Electric Circuit Fall 2017 Lab3 LABORATORY 3. Diode. Guide

Electric Circuit Fall 2015 Pingqiang Zhou. ShanghaiTech University. School of Information Science and Technology. Professor Pingqiang Zhou

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

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

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

Electric Circuit Fall 2017 Lab10. LABORATORY 10 RLC Circuits. Guide. Figure 1: Voltage and current in an AC circuit.

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

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

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

EE431 Lab 1 Operational Amplifiers

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

Lab Exercise # 9 Operational Amplifier Circuits

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

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

LABORATORY 7 v2 BOOST CONVERTER

UC Berkeley, EECS Department EECS 40/42/100 Lab LAB3: Operational Amplifier UID:

EE 233 Circuit Theory Lab 2: Amplifiers

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

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Linear Integrated Circuits Applications

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

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

LABORATORY 3 v1 CIRCUIT ELEMENTS

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

Class #8: Experiment Diodes Part I

Electronic Circuits. Laboratory 6 - Solution

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

1) Consider the circuit shown in figure below. Compute the output waveform for an input of 5kHz

Operational amplifiers

Physics 303 Fall Module 4: The Operational Amplifier

EE 233 Circuit Theory Lab 3: First-Order Filters

Lab 4: Analysis of the Stereo Amplifier

Comparators, positive feedback, and relaxation oscillators

Operational Amplifiers

OPERATIONAL AMPLIFIERS (OP-AMPS) II

Experiment 5.A. Basic Wireless Control. ECEN 2270 Electronics Design Laboratory 1

ECE 203 LAB 6: INVERTED PENDULUM

PreLab 7: LED Blinker (Due Oct 30)

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

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

Positive Feedback and Oscillators

Comparators, positive feedback, and relaxation oscillators

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

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

Chapter 16: Oscillators

University of Jordan School of Engineering Electrical Engineering Department. EE 219 Electrical Circuits Lab

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

E84 Lab 3: Transistor

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Lab 6: Building a Function Generator

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

The steeper the phase shift as a function of frequency φ(ω) the more stable the frequency of oscillation

Comparators, positive feedback, and relaxation oscillators

Digital Applications of the Operational Amplifier

Summer 2015 Examination

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

EXPERIMENT 2.2 NON-LINEAR OP-AMP CIRCUITS

An active filter offers the following advantages over a passive filter:

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

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

WAVEFORM GENERATOR CIRCUITS USING OPERATIONAL AMPLIFIERS

Name Date: Course number: MAKE SURE TA & TI STAMPS EVERY PAGE BEFORE YOU START EXPERIMENT 10. Electronic Circuits

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

The oscilloscope and RC filters

Chapter 8: Field Effect Transistors

HIGH LOW Astable multivibrators HIGH LOW 1:1

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

EE 221 L CIRCUIT II. by Ming Zhu

Operational Amplifiers: Part II

EXPERIMENT 5 : THE DIODE

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

EE320L Electronics I. Laboratory. Laboratory Exercise #6. Current-Voltage Characteristics of Electronic Devices. Angsuman Roy

LABORATORY 6 v3 TIME DOMAIN

Lab 5 Second Order Transient Response of Circuits

EXPERIMENT NUMBER 8 Introduction to Active Filters

California University of Pennsylvania. Department of Applied Engineering & Technology. Electrical / Computer Engineering Technology

Basic Electronics Learning by doing Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC 180A DIGITAL SYSTEMS I Winter 2015

EK307 Active Filters and Steady State Frequency Response

EXPERIMENT 5 : DIODES AND RECTIFICATION

ELEG 205 Analog Circuits Laboratory Manual Fall 2017

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

EXPERIMENT 5 : THE DIODE

Experiment 8 Frequency Response

Gechstudentszone.wordpress.com

Chapter 13: Comparators

Experiment EB2: IC Multivibrator Circuits

EXPERIMENT 5 : THE DIODE

Oscillators. An oscillator may be described as a source of alternating voltage. It is different than amplifier.

DC and AC Circuits. Objective. Theory. 1. Direct Current (DC) R-C Circuit

Experiment 1: Amplifier Characterization Spring 2019

Laboratory Exercise 6 THE OSCILLOSCOPE

EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 6 Diodes: Half-Wave and Full-Wave Rectifiers Converting AC to DC

Physics 120 Lab 1 (2018) - Instruments and DC Circuits

Experiment #2 Half Wave Rectifier

Homework Assignment 07

The Oscilloscope. Vision is the art of seeing things invisible. J. Swift ( ) OBJECTIVE To learn to operate a digital oscilloscope.

Common-Source Amplifiers

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

EK307 Passive Filters and Steady State Frequency Response

Transcription:

LABORATORY 7 RC Oscillator Guide 1. Objective The Waveform Generator Lab Guide In this lab you will first learn to analyze negative resistance converter, and then on the basis of it, you will learn to build a square wave and a triangular wave generator. 2. Introduction To introduce the waveform generators, we shall first introduce the mechanism of negative resistance converter and RC oscillator. 2.1. Negative Resistance Converter Consider the op-amp circuit shown below: Fig. 1. A Negative Resistance Converter This circuit realizes a negative resistance converter incorporating both a negative feedback path (via R f ) and a positive feedback path (via R a ). We will derive its driving characteristic by inspecting both the linear and the saturation regions as well. First assuming that the circuit works in the linear region, in an op-amp you know that no current flows into the inverting terminal, so we can easily find the relationship between i, V o andv i using Ohm's law: i = V i V o R f (1) ShanghaiTech University SIST page 1 / 15

You should understand from the passive sign convention why the numerator is V i V o, not V o V i. Equation (1) above does have an i-v relationship. However, we need to eliminate V o.here is where the positive feedback helps us. Again, the current flowing into the non-inverting terminal of the op-amp is zero. The trick is to spot the voltage divider at the non-inverting terminal. Since no current is flowing into the non-inverting terminal, R a and R b are in series as shown below: Fig. 2. The voltage divider V p (the voltage at the non-inverting terminal) can be easily found using the voltage divider: V i = R b R a +R b V o (2) V o = R a+r b R b V p (3) But, V p = V n (we are assuming the op-amp is in the linear region). Notice however from figure 1 that v i = V n. Substituting in (3): V o = R a+r b R b v i (4) Substituting (4) in (1) and simplifying, we get an i-v relationship for the op-amp operating in the linear region: i = R a R b R f v i (5) The i-v graph for the circuit when the op-amp is operating in the linear region is shown below: Fig. 3. The i-v graph of the circuit in the linear region You can see why the circuit is called a negative-resistance converter because it converts R positive resistance R a, R b, and R f into a negative resistance equal to R b f Ωin the R a linear region. The i-v graph is a straight line but unlike a resistor, it has a negative slope. Also notice the circuit is still linear - the graph is a straight line. Intuitively, this makes sense. ShanghaiTech University SIST page 2 / 15

The op-amp is the device in the circuit that causes the nonlinearity. This will occur if the op-amp is saturated. Since we derived the segment in figure 3 by assuming the op-amp is linear, the i-v graph is a straight line. Let us see what happens when the op-amp saturates. Let us take consider the negative saturation region. That is V o = V nn. Equation (1) is still valid since no current enters the inverting or non-inverting terminal even if the op-amp is saturated: i = V i V nn R f (6) However, to plot the function above we have to figure out for what value of v is the opamp saturated. Intuitively, you know any op-amp obeys the op-amp equation in the linear region: V o = A(V p V n ) (7) where Vo is the voltage at the output, A is the open loop gain (usually huge like 10 6 ), Vp is the voltage at the inverting terminal and V n is the voltage at the noninverting terminal. The op-amp will then rail to V nn if V p <V n. In our circuit, Vn is V i (refer to figure 1). Therefore, if V i >V p, then the circuit will rail to the Vnn. That is, V o = V nn. Then, V p becomes V p = R b R a +R b V nn (from equation (2)). Therefore, the point when the op-amp switches from linear to saturation is when V n = V p or V i = R b R a +R b V nn. Now, V nn is usually negative. That is why in figure 3 I have extended the graph to the negative v region. Fig. 4. The i-v graph of the negative resistance converter Which way does the i-v graph extend when the op-amp is saturated? If you look at equation (6), you can see that if V nn is negative then i has to be positive. The reason is: v will always be smaller than V nn. Therefore, the numerator in equation (6) is always positive. If you stare at figure 3 long enough you will realize that when the op-amp is saturated with V o = V nn then V o is at the lowest possible voltage in the circuit. Therefore current i in figure 3 has to flow from left to right, since Vi is higher than V o. This is in the direction of positive current. By symmetry, the argument(s) above apply for the positive saturation and hence we can complete figure3, as shown in Figure 4. ShanghaiTech University SIST page 3 / 15

That concludes the derivation of the i-v graph for the negative resistance converter. An important observation is the manner in which we derived the graph. We really did not use any step-by-step method to derive the result. Rather, we used our intuitive knowledge of how the op-amp works. This is what is called real-world engineering. 2.2. RC Oscillator In this section, we will analyze the negative resistance converter with a capacitor connected across the v terminal. We will assume the capacitor is initially uncharged, i.e., v(0) = 0 volts. The circuit is shown in figure 5 below. Fig. 5. An oscillatory circuit Let us consider the four different initial pointsq 1, Q 2, Q 3 and Q 4 (corresponding to four different initial capacitor voltages at t = 0) on this characteristic. Since v in(t) = v c(t) = i(t) C and C > 0, we have v in(t) > 0 for all t such that i(t) < 0, v in(t) < 0 for all t such that i(t) > 0. Hence the dynamic route from any initial point must move toward the left in the upper half plane, and toward the right in the lower half plane, as indicated by the arrow headsin Figure 5 (b). Observe that there is no stable equilibrium point in the circuit because the zero i current belongs to an unstable equilibrium (opposite arrowheads diverging from zero). This equilibrium point cannot be observed in practice, because any small amount of noise will drive out the circuit from this point. Also, the breakpoints Q a, and Q b cannot be equilibrium points because i 0. Since, arrowheads towards Q a and Q b are oppositely directed it is impossible to continue drawing the dynamic route beyond Q a or Q b. In other words, an impasse is reached whenever the solution reaches Q a or Q b. The dotted arrows show that a sudden instantaneous transition will occur (also called jump). For an RC circuit this transition should be always a vertical jump (assuming in the v-i plane that i is the vertical axis) because the voltage across a capacitance cannot be changed suddenly such that V c (T + ) = V c (T ). Applying jumps at the two impasse points Q a and Q b, we obtain a closed dynamic route. This means that the solution ShanghaiTech University SIST page 4 / 15

waveforms become periodic after a short transient time (starting from any initial capacitance voltage) and the op-amp circuit functions as an oscillator. Note that the oscillation is not sinusoidal. Such oscillators are usually called relaxation oscillators. To figure out what kind of waveforms will be generated note that the closed dynamic route operates always in the saturation regions (except for the short transient time at the very beginning). These are the segments Q 1 -Q a, and Q 4 -Q b. It means that the output voltage (V o ) will alternate between the two saturation levels, +E sat and E sat. The output will be a square wave with a duty cycle of 50 % if the saturation levels are symmetrical. Since the output voltage will be either +E sat or E sat, then the non-inverting input of the op-amp will be biased at β E sat or β E sat. This will drive the circuit to behave as a comparator. Until the voltage of the capacitance is lower than β E sat the output will remain at +E sat (Q1 to Qa), and similarly until the voltage of the capacitance is larger than β E sat the output will be always E sat (Q4 to Qb). The capacitor voltage will change exponentially because it is charged or discharged through the resistor R f from a constant voltage +E sat or E sat, respectively. Observe that this RC op-amp circuit is autonomous in the sense that it produces periodic oscillatory signal without any external driving periodic signal. 2.3. Additional Remarks Now, you can see how the circuit oscillates. If we start at (0, 0), we will eventually reach one of the impasse points. Then, we have an instantaneous jump. After a while, we will reach another impasse point and the cycle continues. Intuitively, why does this circuit oscillate? We know the dynamics of the circuit leads to the impasse points. Turns out once the circuit reaches an impasse point, the power supply provides the necessary energy to overcome the impasse point. In other words, you cannot have an oscillator without a power supply. Mechanically, think about a simple pendulum. Physically, you always need to give it a push to sustain the oscillation. Reference [1] University of California, Berkeley EE100 Spring, 2013. [2] University of California, Berkeley EE100 Fall, 2004. ShanghaiTech University SIST page 5 / 15

Report Name TA Checkoff Teammate Score You are required to do simulate, build and analyze the aforementioned RC oscillator circuit. Note: You are suggested to finish the simulation tasks before class. Otherwise, it may be difficult for your group to finish all tasks in 3 hours. 3.1 Simulations Task 1: The Relaxation Oscillator Detailed parameter requirements and questions please find the prelab document. Task 2: The Triangle Wave Generator In this task, the square wave output of the relaxation oscillator (Fig. 5.) will be fed into the triangle wave generator. The triangle wave generator is actually just a simple integrator shown below. Fig. 6. Inverting Integrator The output of the above circuit actually integrates and inverts the input signal. V o = V i RC dt 0 This circuit generates a triangle wave from a square waveform. You do not need to prove this statement but we are going to ask you to simulate it. If V i is a 20Hz square wave with 6V amplitude, how would you pick the value of R and C to generate a triangle t ShanghaiTech University SIST page 6 / 15

waveform with 4V amplitude? For V i, you can use a pulse generator or even the output of your relaxation oscillator. Simulate the circuit in Multisim and attach it to the prelab report. 3.2. Experiments Task 1: The Relaxation Oscillator (60%) Build an RC oscillator shown in Figure 5. This is composed of a negative resistance converter and a capacitor connected across its input port. You will be provided a breadboard and other elements. Let R a, R b and R f be 10k, 10k, and 4.7k, respectively. Connect a 1μF monolithic ceramic capacitor across the inverting terminal of the op-amp and the ground. This circuit will serve as a time-base generator. Hint: use V DD = +6V (i.e. V pp = +6V) and V ss = -6V (i.e. V nn = -6V) (on the datasheet these are called +V S and V S ) as power supply for LMC6482. Read LMC6482 datasheet to know the functionality of each of its 8 pins. Refer to the basic lab experiment on how the power supply should be connected. 1-a) Output measurement (20pt): Switch on the circuit. Observe and show the output waveform to your TA for check off. Characterize it (amplitude, frequency, duty cycle) in the following block. Is it possible to change the duty cycle? How? Check Off: ShanghaiTech University SIST page 7 / 15

1-b) Driving-point characteristic (15pt): Measure the input current versus to the input voltage. Set the scope to display the driving-point characteristic (X/Y mode). What does the driving-point characteristic look like? Which parts of the driving-point characteristic are visible? Explain the reasons of this behavior. Hint: Figure 5-b can help. 1-c) Parameter dependency measurement (15pt): Follow the following steps and record the value in the table below: 1. Change R b to 4.7k, measure the frequency and the comparator level V C. 2. Set back R b to 10k and change R f to 10k. Repeat the measurement. 3. Now change the capacitance to 10μF. Repeat the measurement. Changes of component Frequency Comparator level Sth. else changed? How the waveform has changed (frequency, comparator levels, etc.)? Explain the reasons of these changes. ShanghaiTech University SIST page 8 / 15

1-d) Frequency adjustment (10pt): Without doing other changes (R b is 10k, C is 10 μf), just replace R f with a 10k potentiometer. Tune the potentiometer until the frequency is 20Hz and show it to you TA for check off. Measure the resistance of your potentiometer (Pay attention that you need to measure the part which is connected into the circuit) and check whether it s the same of the theoretical value, if not, try to explain the reason. (The following equation may help) 1 f = 2ln (3)R f C Measured Resistance = Theoretical Resistance = Task 2: The Triangle Wave Generator (20%) 2-a) (10pt) Build the triangle wave generator (Fig. 6). The input comes from the square wave generated by your relaxation oscillator built in Task 1. Pick R, C based on your previous calculation. Note that our lab doesn t have the capacitors of any value you want. So it s better to choose an appropriate capacitor and use a potentiometer for R. In this task, a 10μF capacitor and a 10k potentiometer is recommended. Tune the potentiometer until the amplitude is 4V. Show it to your TA for check off and attach the input and output waveform in your report. Note: You may want to put 100k resistor across C to discharge excess charge. Check Off: ShanghaiTech University SIST page 9 / 15

2-b) (8pt) Once you have finished the oscillator, it would be nice to see some indication that it works. To accomplish this, we can attach an LED to the outputs. Add and LED to the output of your relaxation in series with an appropriate resistor. Usually a resistor between 0.2k and 1k do the trick. You should now have a blinking LED at 20Hz. Turn the potentiometer and show the LED blink at different frequencies. Now connect a second LED and resistor to the output of your triangle wave generator. Does the intensity of the LED change with time? Show your set up to TA for check off. 2-c) (2pt) According to the preceding experiment, could you give an application of the relaxation oscillator? ShanghaiTech University SIST page 10 / 15

Prelab Name TA Teammate Score 1. Determine the slope of the linear region of a negative resistance converter in Fig.1 (R a, R b, R f are 10k, 10k, and 4.7k). What is the maximum current in the linear region if E sat equals to 8 V? Please show your steps. Answer: /2pt 2. Connecting a capacitor across the input of the negative resistance converter produces an oscillatory circuit. Does this circuit work in the linear region, in the saturation region, or in both of them? Answer: /1pt ShanghaiTech University SIST page 11 / 15

3. What is the maximum current flowing through the capacitor? (R a, R b, R f are 10k, 10k, and 5.1k, respectively, and E sat is 12V.) Does it depend on the value of the capacitor? Please show your steps below. (Figure 3 may help). Answer: /2pt 4. Plot the expected V o (t) waveform of the relaxation oscillator in Fig. 1 of Lab 7 Guide, with respect to the following input waveform i(t) and V in (t). Your Plot: /2pt ShanghaiTech University SIST page 12 / 15

5. Find the schematic of the relaxation oscillator in Fig. 1 of Lab 7 Guide. The frequency of the output signal of the relaxation oscillator is given by: 1 f = 2ln (3)R f C For the purpose of this lab, please simulate this circuit in Multisim and attach it to this prelab report. Pick REASONABLE values for R f and C that will give you an oscillation frequency of about 20Hz. Note that this part will be implemented in your Lab Session, so you should avoid to choose some strange values for R f and C (e.g. R=95.6 kohm; C=3.5uF), as a result, don t worry that the frequency may not be accurately 10Hz. Searching on the Internet to find the common values of resistor and capacitor which we often use is recommended. (Hints: You may pick 20k resistors for R a &R b and a 10uF resistor for C and solve for R f using the above formula.) If you replace R f with a 10k potentiometer, what happens to the frequency when you turn R f lower with the same C? You do not need to derive the formula. Please record your resistor value and capacitor value below. Answers: R f = C = Frequency = /2pt What happens to the frequency when you turn R f lower? /1pt Please attach the simulation chart, indicating the frequency of output waveform. Tips: You could attach your chart in the end of the Prelab, but you have to LABEL IT CLEARLY. (e.g. Fig-5 is corresponding to this problem) /3pt ShanghaiTech University SIST page 13 / 15

6. In Lab 7 guide 3.1 Task 2, you are required to pick the value of R and C of the inverting integrator and simulate the circuit. Please attach the simulation chart and LABEL IT CLEARLY. Indicating the value of R and C in your chart. Answers: R = C = /2pt simulation chart: /2pt ShanghaiTech University SIST page 14 / 15

7. To display a periodic signal stationary on the oscilloscope screen, it is necessary that the input signal (vertical draw) and the sawtooth waveform (horizontal draw) be synchronized at all times. This means that the beginning of each sweep must occur at the same position on the input waveform. 1) Consider the following periodic signal f y and find the f x sawtooth waveform which is synchronized with the input signal. Answer: /1pt 2) If the sawtooth waveform is not synchronized to the input signal (frequencies differ slightly) then the displayed waveform will drift slowly to the left or to the right. Find the answer for each case (stationary, drifts left, drifts right). Answers: /2pt a) b) c) ShanghaiTech University SIST page 15 / 15