The Relaxation Oscillator

Similar documents
Experiment 8 : Pulse Width Modulation

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Laboratory 4: Feedback and Compensation

Positive Feedback and Oscillators

Content Map For Career & Technology

Lab 7: Operational Amplifiers Part I

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Basic Electronics Prof. Dr. Chitralekha Mahanta Department of Electronics and Communication Engineering Indian Institute of Technology, Guwahati

Rectifier circuits & DC power supplies

BJT Characteristics and Amplifiers

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

Basic Op Amp Circuits

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

Design of op amp sine wave oscillators

Lecture - 4 Diode Rectifier Circuits

SERIES-PARALLEL DC CIRCUITS

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

EXPERIMENT NUMBER 8 CAPACITOR CURRENT-VOLTAGE RELATIONSHIP

Apprentice Telecommunications Technician Test (CTT) Study Guide

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

OPERATIONAL AMPLIFIERS

Precision Diode Rectifiers

Transistor Amplifiers

LAB4: Audio Synthesizer

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Single Supply Op Amp Circuits Dr. Lynn Fuller

30. Bode Plots. Introduction

The Time Constant of an RC Circuit

Fundamentals of Microelectronics

Application Note, V1.0, Nov AN Using the NTC inside a power electronic module IMM INP LP

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT

RC Circuits and The Oscilloscope Physics Lab X

DIODE CIRCUITS LABORATORY. Fig. 8.1a Fig 8.1b

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

Bipolar Transistor Amplifiers

Operational Amplifier as mono stable multi vibrator

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

Fundamentals of Power Electronics. Robert W. Erickson University of Colorado, Boulder

The full wave rectifier consists of two diodes and a resister as shown in Figure

Technical Note #3. Error Amplifier Design and Applications. Introduction

A Lesson on Digital Clocks, One Shots and Counters

Designing Stable Compensation Networks for Single Phase Voltage Mode Buck Regulators

A Lesson on Digital Clocks, One Shots and Counters

CURRENT ELECTRICITY INTRODUCTION TO RESISTANCE, CAPACITANCE AND INDUCTANCE

LM139/LM239/LM339 A Quad of Independently Functioning Comparators

ENEE 307 Electronic Circuit Design Laboratory Spring A. Iliadis Electrical Engineering Department University of Maryland College Park MD 20742

LINEAR INTEGRATED-CIRCUIT FUNCTION GENERATOR

= (0.400 A) (4.80 V) = 1.92 W = (0.400 A) (7.20 V) = 2.88 W

Conversion Between Analog and Digital Signals

A Novel Course To Provide Electrical Engineering Experience To Freshmen Students

A Low-Cost VCA Limiter

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

OPERATIONAL AMPLIFIERS. o/p

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

Understanding Delta Conversion Online "Power Regulation" - Part 2

Experiment #5, Series and Parallel Circuits, Kirchhoff s Laws

Diode Applications. As we have already seen the diode can act as a switch Forward biased or reverse biased - On or Off.

PLL frequency synthesizer

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

See Horenstein 4.3 and 4.4

Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor)

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

Reading: HH Sections , (pgs , )

The D.C Power Supply

EE301 Lesson 14 Reading: , , and

Oscillations and Regenerative Amplification using Negative Resistance Devices

EE 1202 Experiment #4 Capacitors, Inductors, and Transient Circuits

LABORATORY 10 TIME AVERAGES, RMS VALUES AND THE BRIDGE RECTIFIER. Bridge Rectifier

GenTech Practice Questions

Experiment 2 Diode Applications: Rectifiers

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

Drive circuit basics + V. τ e. Industrial Circuits Application Note. Winding resistance and inductance

Single-Stage High Power Factor Flyback for LED Lighting

Lecture 27: Mixers. Gilbert Cell

Series and Parallel Circuits

Designing With the SN54/74LS123. SDLA006A March 1997

MODELING AND SIMULATION OF A THREE-PHASE INVERTER WITH RECTIFIER-TYPE NONLINEAR LOADS

Op amp DC error characteristics and the effect on high-precision applications

ANADOLU UNIVERSITY DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

= V peak 2 = 0.707V peak

Experiment # (4) AM Demodulator

Study Guide for the Electronics Technician Pre-Employment Examination

Chapter 4. LLC Resonant Converter

Chapter 20 Quasi-Resonant Converters

Scaling and Biasing Analog Signals

Computer Aided Design of Home Medical Alert System

LM566C Voltage Controlled Oscillator

Transmission Line Terminations It s The End That Counts!

Frequency Response of Filters

Curcuits and Differential Equaitons

Reading assignment: All students should read the Appendix about using oscilloscopes.

LOW COST MOTOR PROTECTION FILTERS FOR PWM DRIVE APPLICATIONS STOPS MOTOR DAMAGE

W03 Analysis of DC Circuits. Yrd. Doç. Dr. Aytaç Gören

Let s examine the response of the circuit shown on Figure 1. The form of the source voltage Vs is shown on Figure 2. R. Figure 1.

Understanding Power Impedance Supply for Optimum Decoupling

Line Reactors and AC Drives

electronics fundamentals

Decimal Number (base 10) Binary Number (base 2)

Microcontroller-based experiments for a control systems course in electrical engineering technology

Transcription:

Explore More! Points awarded: Name: Net ID: The Relaxation Oscillator Laboratory Outline In Lab 5, we constructed a simple three-element oscillator using a capacitor, resistor, and a Schmitt trigger inverter. It is a feedback system: the binary output of the inverter is at either the ground reference of 0 volts or at the supply voltage of 5 volts, causing the capacitor at the input to discharge or charge, respectively. The path for charging or discharging the capacitor is provided by a resistor, the value of which can be changed to alter the rate of the two events and, thereby, alter the operating frequency of the oscillator itself. In this module, we will generate circuit models for the charging and discharging events, separately, and present time-domain expressions for the voltage across the capacitor to solve for the frequency of oscillation. The models will provide you with a deeper understanding of feedback loops as you learn about relaxation-oscillator analysis. From Wikipedia: [ ] a relaxation oscillator is a nonlinear electronic oscillator that produces a non-sinusoidal output signal, such as a triangle or a square wave. Our low-power oscillator from Lab 5 of ECE110 uses the nonlinear Schmitt trigger (inverter) to produce both a triangular waveform (at the Schmitt trigger input) and a square waveform (at the Schmitt trigger output). Figure 1: The relaxation oscillator of Laboratory Exercise #5. Prerequisites Laboratory Exercise #5, the construction of a simple low-power oscillator circuit. Familiarity with diode circuits. Parts Needed None. This is a reading exercise with some limited exposure to algebra and calculus.

At Home: This entire exercise may be completed anywhere! Schmitt Trigger Parameters To understand the operation of the oscillator, we first need to understand the operation of the Schmitt trigger inverter. Find the datasheet for the CD40106 Schmitt Trigger Inverter. The datasheet will describe a hysteresis (a form of memory) within the device where the input/output relationship for changing input values will depend on the time history of the input. For example, if the input voltage VV IIII starts at 0 volts (ground) and climbs, the output voltage VV OOOOOO will remain high until the input voltage reaches the value VV pp as demonstrated in Figure 2. At this point, the output voltage will drop to 0 volts. As the input voltage then falls back below VV pp, the output voltage persists in staying low (0 volts) until finally the input falls below a value of VV nn. This means that there is not a one-to-one relationship between VV IIII and VV OOOOOO like we are mostly accustomed to in previous math courses. This relationship is graphed in Figure 2. We consider VV pp to be the positive-going threshold voltage and VV nn to be the negativegoing threshold voltage of the Schmitt Trigger. Figure 2: The input/output relationship of the Schmitt trigger from Texas Instruments, the TI 40106. Use the datasheet to argue that the positive-going threshold voltage may be given by VV pp 0.4 VV DDDD for power supply voltages of VV DDDD between 5 and 10 volts. If you are curious, you can set up your own laboratory experiment to improve the approximations VV pp 0.5 VV DDDD and VV nn 0.4 VV DDDD. Use the datasheet to argue that the negative-going threshold voltage may be given by VV nn 0.5 VV DDDD for power supply voltages of VV DDDD between 5 and 10 volts.

Capacitor Charging and Discharging When a capacitor is charged by a constant (DC) voltage supply of VV DDDD, the time-domain voltage across the capacitor is given as VV 1 (tt) = (VV ii VV DDDD ) 1 ee t RRRR + VV DDDD where CC is the capacitance being charged, VV ii is the initial voltage on the capacitor at time tt = 0, and RR is the series resistance within the charging path. We say that the voltage is asymptotically approaching VV DDDD, although most of the charging occurs in a short time span on the order of the product RR tttttttttt CC (often called the time constant). In Figure 3, initial voltage VV ii = 0 volts. Equation Reference: ECE210 textbook, page 97, Analogy Signals and Systems by Kudeki and Munson. Figure 3: The waveform VV 1 across a capacitor while charging to VV DDDD. When a capacitor is being discharged to ground voltage (0 V), the time-domain voltage across the capacitor is given by VV 1 (tt) = VV ssssssssss ee tt RRRR where we are assuming the voltage across the capacitor is VV ssssssssss at the beginning of the discharge. As before, the decay of the capacitor to 0 volts follows an asymptotic path with much of the decay occurring in the order of magnitude of RRRR.

Figure 4: The waveform VV 1 across a capacitor while discharging to ground voltage. With this understanding, let s investigate what happens during the charging and discharging cycles of the capacitor within our oscillator. The Relaxation Oscillator The voltage across the capacitor in our working oscillator charges and discharges as would be expected with any capacitor. The difference lies in the fact that the capacitor is never allowed to fully charge or discharge due to a circuit feedback path. Figure 5: The waveform VV 1 across the capacitor in our oscillator while in repetitive charging/discharging cycles. The switching of the Schmitt trigger s output results in the oscillatory behavior. To explain why the capacitor never completely charges or discharges, we need to use a model for the inverter that allows us to simplify the circuit into something we are more familiar with. First, we make use of the fact that the input to the Schmitt trigger draws very little current. In fact, the current flowing into the Schmitt trigger is so small, we model it as an open circuit! This is true whether we are charging or discharging the capacitor.

For the output of the Schmitt trigger, we will need two models. 1) When the input voltage VV 1 is small, the output of the Schmitt trigger output is high (near VV DDDD ). Therefore, for the charging cycle, the oscillator circuit can be modeled by Figure 6a. 2) When the input voltage is high, the Schmitt trigger output is high (near ground voltage, 0 V) and the oscillator circuit can be modelled by Figure 6b. (a) (b) Figure 6: Charging (a) and discharging (b) schematics for the oscillator circuit after making modeling assumptions for the Schmitt trigger. The arrow shows the direction positive-valued current will flow as the capacitor charges and discharges, respectively. During the charging cycle, the capacitor will asymptotically charging towards VV DDDD V. Of course, it will stop charging at the point that VV 1 (tt 2 ) = VV pp (see Figure 7). We can compute the time required for the charge time Δtt = tt 2 tt 1, by substituting the correct parameters and solving the earlier equation for tt 2. VV pp = (VV nn VV DDDD ) 1 ee Δtt RRRR + VV DDDD VV pp VV DDDD = ee VV nn VV DDDD Δtt RRRR ln VV pp VV DDDD VV nn VV DDDD = Δtt RRRR ln(xx) is the natural log of xx. We make use of the fact that ln(xx) ln(yy) = ln xx yy.

tt cchaaaaaaaa = Δtt = RRRR ln VV pp VV DDDD VV nn VV DDDD = RRRR ln VV DDDD VV pp VV DDDD VV nn Figure 7: Focus on the charging and discharging intervals for a Schmitt-trigger-based oscillator. The time required to discharge from VV pp to VV nn can be computed from VV nn = VV pp ee tt 3 RRRR: tt ddddddddhaaaaaaaa = tt 3 = RRRR ln VV pp VV nn Since the capactor must both charge and discharge in every period of the oscilatory waveform, the period is given by TT = tt cchaaaaaaaa + tt ddddddddhaaaaaaaa = RRRR ln (VV DDDD VV nn )VV pp (1 0.4 )0.5 = ln RRRR = ln 0.6 RRRR = 0.41 RRRR VV DDDD VV pp VV nn (1 0.5)0.4 0.4 and the frequency of oscillation is given by ff = 1 TT = 1 0.41 RRRR What happens to the frequency of oscillation when the capacitance is doubled? What happens to the frequency of oscillation when the resistance is doubled?

Drawing Conclusions Think about it This analysis changes in Lab 8 when diodes are placed in the feedback and feedforward paths. Redraw the charging and discharging circuit schematics (similar to Figure 6) including a diode in the path for each. How do you think these diodes will affect tt cchaaaaaaaa and tt ddddddddhaaaaaaaa? Learning Objectives To apply capacitor charging and discharging formulas to the relaxation oscillator and estimate oscillatory frequency. To use circuit models to reduce a challenging problem to one that can be solved using basic circuit analysis. Explore Even More! The oscillator is a key components in Explore More! Module: The Voltage Comparator where we learn that the voltage VV 1 must be protected by a buffer in order to be utilized in a Pulse-Width Modulation waveform generator. Eventually, the oscillator is a key component in the Explore More! Module: PWM Control via an Active Sensor.