Miniproject: Wien-Bridge Oscillators

Similar documents
Design of op amp sine wave oscillators

Positive Feedback and Oscillators

Basic Op Amp Circuits

5B5BBasic RC Oscillator Circuit

Laboratory 4: Feedback and Compensation

Precision Diode Rectifiers

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.

Transistor Amplifiers

Frequency Response of Filters

Bipolar Transistor Amplifiers

Lab 7: Operational Amplifiers Part I

Homework Assignment 03

Power Supplies. 1.0 Power Supply Basics. Module

Understanding Power Impedance Supply for Optimum Decoupling

BJT Amplifier Circuits

Chapter 19 Operational Amplifiers

Switch Mode Power Supply Topologies

Reading: HH Sections , (pgs , )

Lecture 24: Oscillators. Clapp Oscillator. VFO Startup

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

Sinusoidal. Oscillators

Analog and Telecommunication Electronics

Ver 3537 E1.1 Analysis of Circuits (2014) E1.1 Circuit Analysis. Problem Sheet 1 (Lectures 1 & 2)

Keysight Technologies Understanding the Fundamental Principles of Vector Network Analysis. Application Note

electronics fundamentals

BJT Amplifier Circuits

Design of a TL431-Based Controller for a Flyback Converter

Analysis of Common-Collector Colpitts Oscillator

11: AUDIO AMPLIFIER I. INTRODUCTION

MAS.836 HOW TO BIAS AN OP-AMP

TDA W Hi-Fi AUDIO POWER AMPLIFIER

Ron Mancini and Richard Palmer ABSTRACT

Experiment # (4) AM Demodulator

RLC Resonant Circuits

A Low-Cost VCA Limiter

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

OPERATIONAL AMPLIFIERS. o/p

Line Reactors and AC Drives

6.101 Final Project Report Class G Audio Amplifier

LINEAR INTEGRATED-CIRCUIT FUNCTION GENERATOR

Designing Stable Compensation Networks for Single Phase Voltage Mode Buck Regulators

Sophomore Physics Laboratory (PH005/105)

Step response of an RLC series circuit

Lock - in Amplifier and Applications

DIODE CIRCUITS LABORATORY. Fig. 8.1a Fig 8.1b

Digital to Analog Converter. Raghu Tumati

Oscillations and Regenerative Amplification using Negative Resistance Devices

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

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

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

Application of network analyzer in measuring the performance functions of power supply

Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 13, 2006

Chapter 12: The Operational Amplifier

Zero voltage drop synthetic rectifier

AC : MEASUREMENT OF OP-AMP PARAMETERS USING VEC- TOR SIGNAL ANALYZERS IN UNDERGRADUATE LINEAR CIRCUITS LABORATORY

Lab #9: AC Steady State Analysis

Laboratory #5: RF Filter Design

GenTech Practice Questions

Oscillators. 2.0 RF Sine Wave Oscillators. Module. RF Oscillators

OBJECTIVE QUESTIONS IN ANALOG ELECTRONICS

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

Low Cost Pure Sine Wave Solar Inverter Circuit

Operational Amplifier - IC 741

Understanding the Fundamental Principles of Vector Network Analysis. Application Note Table of Contents. Page

Unit/Standard Number. High School Graduation Years 2010, 2011 and 2012

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Common-Emitter Amplifier

POWER SYSTEM HARMONICS. A Reference Guide to Causes, Effects and Corrective Measures AN ALLEN-BRADLEY SERIES OF ISSUES AND ANSWERS

TDA W Hi-Fi AUDIO POWER AMPLIFIER

Application Note SAW-Components

The Operational Amplfier Lab Guide

Chapter 11 Current Programmed Control

UNDERSTANDING POWER FACTOR AND INPUT CURRENT HARMONICS IN SWITCHED MODE POWER SUPPLIES

Operating Manual Ver.1.1

Lecture - 4 Diode Rectifier Circuits

MATRIX TECHNICAL NOTES

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

SERIES-PARALLEL DC CIRCUITS

Chapter 16. Active Filter Design Techniques. Excerpted from Op Amps for Everyone. Literature Number SLOA088. Literature Number: SLOD006A

LM833,LMF100,MF10. Application Note 779 A Basic Introduction to Filters - Active, Passive,and. Switched Capacitor. Literature Number: SNOA224A

Circuits with inductors and alternating currents. Chapter 20 #45, 46, 47, 49

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

Laboratory Manual and Supplementary Notes. CoE 494: Communication Laboratory. Version 1.2

LABORATORY 2 THE DIFFERENTIAL AMPLIFIER

Current and Temperature Ratings

FREQUENCY CONTROLLED AC MOTOR DRIVE

BJT Characteristics and Amplifiers

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

PLL frequency synthesizer

Building the AMP Amplifier

Eðlisfræði 2, vor 2007

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

Operational Amplifiers

Section 3. Sensor to ADC Design Example

Transcription:

Analog and Telecommunication Electronics Prof. Dante Del Corso Miniproject: Wien-Bridge Oscillators Student Name: Emilio Orlandini Student ID: 221773 A.Y. 2014/2015

Index INTRODUCTION 1. Oscillators generalities 1.1 Sinewave oscillator...pag. 3 1.2 Requirements for oscillations...pag. 3 1.3 Phase Shift in the oscillator...pag. 5 1.4 Gain in the oscillator...pag. 6 2. The Wien-Bridge oscillator 2.1 Wien-Bridge oscillator...pag. 7 2.2 Linear Analysis...pag. 8 2.3 Introduction of non-linear elements...pag. 10 2.4 Lamp Stabilised Wien-Bridge Oscillator...pag. 11 2.5 Diode stabilised Wien-Bridge Oscillator...pag. 14 REFERENCES 1 P a g.

Introduction Circuits that produce a specific, periodic waveform without any input signal are called Oscillators. They can generate waveforms such as square, sinusoidal, triangular and so on. They are generally composed by some active elements surrounded by passive components such as resistors, capacitors and inductors. Basically, we divide oscillators in two families: relaxation and sinusoidal. Relaxation oscillators generate waveforms which are not sinusoidal, such as triangular, square, sawtooth, while sinusoidal oscillators generate sinusoidal waveforms with a specific frequency (or period) and amplitude. Oscillators may use amplifiers with external components, or crystals that internally generate the oscillation. In this miniproject we are dealing with sine wave oscillators, and in particular our attention is focused on Wien Bridge configuration, which is based on an OpAmp. 2 P a g.

1 Oscillators generalities 1.1 Sine-wave oscillators OpAmp oscillators are unstable circuits, but ones that are intentionally designed to remain in an unstable or oscillatory state. Oscillators are useful for generating uniform signals that are used as a reference in applications such as audio, function generators, digital systems and communication systems. Sinewave oscillators base on an OpAmp operate without any externally-applied input signal. Some combination of positive and negative feedback is implemented in order to drive the OpAmp into an unstable state. OpAmp oscillators are restricted to a low frequency spectrum because OpAmps do not have the required bandwidth to achieve low phase shift at high frequencies. Voltagefeedback OpAmps are usually limited to a low khz range. Crystal oscillators, instead, are used in high-frequency applications up to the hundreds of MHz range. 1.2 Requirements for oscillation The fundamental characteristic of an oscillator is non linearity; in order to give rise to oscillations the system must be initially unstable. A principle scheme is shown in figure 1.1. Figure 1.1: canonical form of a feedback system Since: V out = E A (1) E = V in + β V out (2) 3 P a g.

Substituing E in (1), we obtain: And collecting the terms in V out yelds: V out A = V in β V out (3) V in = V out ( 1 + β) (4) A Rearranging the elements produces equation 5, which is the classical form of a feedback expression: V out V in = A 1+Aβ (5) Oscillators does not need any input signal; they only use a fraction of the output signal created by the feedback network as the input signal. Oscillations occurs when the feedback system is not able to find a steady-state since its transfer function cannot be satisfied. This happens when the denominator is equal to zero, i.e. when 1 + Aβ = 0 or Aβ = -1. In the design of an oscillator, it must be ensured that Aβ = -1. This is called the Barkhausen criterion. For a positive feedback system, the expression is A = 1 0 and the sign of the A term is negative in equation (5). This criterion implies that the magnitude of the loop gain is unity, with a corresponding phase shift of 180 (due to the minus sign). As the phase shift reaches 180 and Aβ = 1, the output voltage of the unstable system ideally tends to infinity but, in a real system it is limited to finite values of power supply. At this point, one of three things can occur: 1) Nonlinearity in saturation causes the system to become stable and lock-up to the current supply voltage; 2) The initial change causes the system to saturate and stay that way for a long time before it becomes linear and heads for the opposite power rail; 3) The system stays linear and reverses direction, heading for the opposite power rail. 4 P a g.

The second case produces highly distorted oscillations (usually quasi-square waves), the resulting oscillators are called relaxation oscillators. The third case, instead, produces a sine-wave oscillator. 1.3 Phase Shift in the Oscillator The 180 phase shift required by the Barkhausen criterion is introduced by active and passive components. Oscillators are made dependent on passive component phase shift because it is very accurate. The phase shift contributed by active components is minimized because it varies with temperature, has a wide initial tolerance, and is device dependent. A single RL or RC circuit contributed up to 90 phase shift per pole, and since 180 of phase shift is required for oscillation, at least two poles must be used in the oscillator design. An LC circuit has two poles, but LC and LR oscillators are not suitable for lowfrequency applications because inductors at low frequencies are expensive, heavy and highly nonideal. LC oscillators are designed tipically in high frequency applications, where the inductor size, weight and cost are less significant. When RC sections are cascaded, the phase shift multiplies by the number of sections n (figure 1.2). Figure 1.2: Phase plot of RC sections [1] 5 P a g.

In the region where phase shift is 180, the frequency oscillation is very sensitive to the phase shift. Thus, a tight frequency specification requires that the phase shift, dɸ, must be kept within too much narrow limits for there to be only small variations in frequency, dω, at 180. Figure 1.2 shows that the value of dɸ dω at the oscillator frequency is unacceptably small. Thus, in order to have a much higher dɸ dω, tipically four RC sections are used. Crystal or ceramic resonators make the most stable oscillators because resonators have an extremely high dɸ dω as a result of their nonlinear properties. Anyway, OpAmps are not generally used with crystal or ceramic resonator oscillators because of OpAmps low bandwidth. Experience shows that rather than using a low-frequency resonator for low frequencies, it is more cost effective to build a high frequency crystal oscillator, count the output down, and then fitler the output to obtain the low frequency [1]. 1.4 Gain in the Oscillator According to the Barkhausen criterion, the oscillator gain must be one in magnitude at the oscillation frequency. When the gain exceeds unity with a phase shift of -180, the nonlinearity of the active device reduces the gain to unity and the circuits oscillates. The nonlinearity becomes significant when the amplifiers get close to the supply voltage level, since saturation reduces the active device (transistor) gain. The worstcase design usually requires nominal gains exceeding unity, but excess gain causes increased distortion of the output sinewave. When the gain is too low, oscillations cease under worst case conditions, and when the gain is too high, the output wave form looks more like a squarewave than a sinewave. Distortion is a direct result of excessive gain overdriving the amplifier. Thus, gain must be carefully controlled. The more stable the gain, the better the purity of the sinewave output. 6 P a g.

2 The Wien-Bridge oscillator 2.1 Wien-Bridge Oscillator There are many types of sinewave oscillator circuits. In an application, the choice depends on the frequency and the desired monotonicity of the output waveform. This section is focused on the Wien Bridge configuration. The Wien Bridge is one of the simplest and best known oscillators and is largely used in circuits for audio applications [1]. The basic configuration of a Wien-Bridge oscillator is shown in figure 2.1. Figure 2.1: Wien-Bridge circuit schematic [3] 7 P a g.

2.2 Linear Analysis The first goal in the analysis of an oscillator regards the trigger of oscillations. A couple of poles with positive real part is necessary in order to the system to oscillate. But, once oscillations occurs, the positive real part poles must be shifted on the imaginary axis to have a stable sinewave (this will be explained in details in the nonlinear analysis). [2] Looking at the scheme to analyze the linear behaviour of the Wien-Bridge oscillator (figure 2.2), we can identify the feedback block B(ω) and the gain block A. Figure 2.2: Scheme of the Wien-Bridge oscillator for the linear analysis [2] Let us evaluate the expression of B(ω): Since Z p = (6): R p 1+jωτ p and Z f = 1+ jωτ s jωc s B(ω) = B(ω) = V f V o = Z p Z p + Z f (5), substituting these values in (5) we obtain jωc s R p jωc s R p +1+jω(τ p +τ s )+(jω) 2 τ p τ s (6) 8 P a g.

Then, imposing R s = R p = R, C s = C p = C, τ s = τ p = τ, the final expression (7) is: B(ω) = 1 3+j(ωτ 1 ωτ ) (7) Now, since A = 1+ R 2 R 1 (see figure 2.1, A is the gain of an OpAmp non-inverting amplifier), and β(jω) = B(jω) we get: Aβ(jω) = jωrca (1 ω 2 R 2 C 2 )+3jωRC (8) Now, according to Barkhausen criterion (for a positive feedback system), we must satisfy: Aβ(jω) = 0 ω 2 R 2 C 2 1 = 0 ω = 1 RC = ω 0 at ω = ω 0 we have: Aβ(jω 0 ) = A 3 Aβ(jω 0) = 1 R 2 = 2R 1. Summarizing, we have found two conditions to be satisfied in order to have a sinewave at the output at frequency f out : f out = 1 2πRC (9) R 2 = 2R 1 (10) In figure 2.3, the output waveform is shown for different conditions of the A gain: 9 P a g.

Figure 2.4: output waveforms for different values of A [2] 2.3 Introduction of non-linear elements As we can see in figure 2.4, what we want is to force the system to oscillate (A>3), and then to get stable oscillations (A=3). This behaviour can only be obtained by introducing some nonlinearity in our circuit. Different ways can be exploited in order to have nonlinearity, such as a lamp, diodes, in general something which resistance varies with increasing of potential drop across it. This is straightforward to understand: at first we want A>3, so R 2 > 2R 1, but, when the magnitude of the output voltage reaches a desired value, we need R 2 = 2R 1. 10 P a g.

2.4 Lamp Stabilised Wien-Bridge Oscillator The first Wien-Bridge stable oscillator was developed by Bill Hewlett in the late 1930s, as his Stanford s Master thesis. He introduced a light bulb in order to stabilize the gain without producing distortion. It was then commercialized as HP200A audio oscillator [4]. It can still be built using similar principles to the early Hewlett Packard versions, but with modern components [5] (figure 2.6). Figure 2.6: Basic lamp stabilized Wien Bridge oscillator [5] It is a property of filament lamps that the resistance of the tungsten filament increases in a non-linear manner as the filament heats up. The gain of the amplifier is set by A = R 3+R Lamp R Lamp (11) Therefore the greater the resistance of the lamp, the lower the amplifier gain. By choosing a suitable lamp, the gain of the amplifier can be automatically controlled over an appropriate range. Usually, a lamp with a maximum current flow of around 50mA or less is used, to give an initial gain of more than 3 as the oscillator starts, falling quickly to 3 as the lamp heats up. In figure 2.7 there is a graph showing how positive temperature coefficient resistance varies with voltage. 11 P a g.

Figure 2.7: Non-linear resistance of a filament lamp [5] The useful area of the lamp characteristic, where the largest change in resistance occurs is shaded green, the oscillators amplitude is stabilised by making use of this area. To find a value for R 3 that will give the correct amount of gain at start up and during oscillation, its value should be slightly greater than twice the value of the lamps resistance at the lower end of the green shaded area (i.e. 2 x 30Ω = 60Ω) to give a gain >3, but no greater than twice the value of the lamp s resistance at the upper limit of its useful slope (i.e. 2 x 75 = 150 Ω), the gain should then stabilise at 3, with the oscillator providing an undistorted sinewave output. The realization and output waveform of the lamp-stabilised circuit is shown in figure 2.8: Figure 2.8: realization of a lamp-stabilised Wien Bridge oscillator (left) and its output waveform (right) [5]. 12 P a g.

The design formulae are the following: f osc = 1 2πRC R = 1 f osc 2πC (12) (13) C = 1/(f osc 2πR) (14) In order to obtain an output frequency of 159Hz (fig. 2.8), the component list to build the circuit is the following: IC 1 = LM324 (OpAmp) C 1 = C 2 = 100nF R 1 = R 2 = 10kΩ R 3 = 68Ω Lamp = T1 5V 45mA wire ended lamp (suitable from Rapid Electronics UK, May 2015) Supply voltage ±9V 13 P a g.

2.5 Diode stabilised Wien-Bridge Oscillator An alternative to lamp stabilization is provided by using a pair of diodes in parallel with the feedback resistor as shown in figure 2.9. Figure 2.9: Basic diode stabilized Wien-Bridge oscillator In this circuit, the ratio of the non-inverting amplifier is controlled by the ratio between R 3 and R 4. Initially, it will be slightly greater than 3, in order to allow oscillations to start. Once the feedback signal from the output produces a waveform across R 3 that approaches 0.6V pp, the diodes begin to conduct. Their forward resistance reduces, and since they are in parallel with R 3, this reduces the value of R 3 and the amplifier gain as well. A design example, for a f osc = 132Hz, has been carried out with the following components: IC LM224N (OpAmp) C 1 = C 2 = 100nF R 1 = R 2 = 12kΩ R 3 = 80Ω R 4 = 22Ω Supply voltage ±9V The gain in controlled by the R 3 R 4 ratio, which is 3.63. The output waveform for this configuration is shown in figure 2.10: 14 P a g.

Figure 2.10: Output waveform (left) and frequency spectrum (right) for a diode stabilised oscillator with large gain [6] As it can be seen from the output waveform, the main problem of the diode stabilised configuration is that the output is more prone to distortion that in the lamp stabilised circuit, as the diodes will tends to distort the waveform peaks if the gain set by R 3 and R 4 is slightly larger than needed. This also means that the oscillator s output amplitude is somewhat restricted if distortion is to be minimized. Adding a lowpass filter could also improve the quality of the signal in terms of harmonics. 15 P a g.

References [1] Ron Mancini and Richard Palmer, Design of OpAmp sinewave oscillators, SLOA060, March 2001. [2] Elettronica delle telecomunicazioni, course material by Prof. Giovanni Breglio from Università degli studi di Napoli Federico II, a.y. 2013/2014. [3] The Wien Bridge oscillator, website tutorial, Electronics Tutorial. [4] HP Model 200A audio oscillator, 1939, HP website Model 200A. [5] Wien Bridge Oscillators, website tutorial, Learn About Electronics, Wien Bridge Oscillator. [6] Measurements carried out at Politecnico di Torino - Sede Centrale - Cittadella Politecnica, 2nd floor, LED2. 16 P a g.