© 2013 the mcgraw-hill companies, inc. all rights reserved. 11-1 mcgraw-hill electronics principles...

45
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Electronics Principles & Applications Principles & Applications Eighth Edition Eighth Edition Chapter 11 Oscillators Charles A. Schuler ©2013

Upload: bruno-eaton

Post on 13-Jan-2016

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-1

McGraw-Hill

ElectronicsElectronics

Principles & ApplicationsPrinciples & ApplicationsEighth EditionEighth Edition

Chapter 11Oscillators

Charles A. Schuler

©2013

Page 2: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-2

McGraw-Hill

• Oscillator Characteristics• RC Circuits• LC Circuits• Crystal Circuits• Relaxation Oscillators• Undesired Oscillations• Troubleshooting• Direct Digital Synthesis

INTRODUCTION

Page 3: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-3

McGraw-Hill

Some possible output waveforms

Oscillator

Oscillators convert dc to ac.

ac outdc in

Page 4: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-4

McGraw-Hill

Vin VoutA

B Feedback

VoutA

B Feedback

An amplifier with negative feedback.

This amplifier has positive feedback.It oscillates if A > B.

Recall: A = open-loop gain and B = feedback fraction

Page 5: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-5

McGraw-Hill

VoutA

B Feedback

Sinusoidal oscillators have positive feedback at only one frequency.

This can be accomplished with RC or LC networks.

frequency

ph

ase

+ 90

0

- 90

fR

in

out

lead-lag

fR

inout

Page 6: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-6

McGraw-Hill

Oscillator basics quiz

Oscillators convert dc to _______.ac

In order for an oscillator to work, the feedbackmust be __________. positive

An oscillator can’t start unless gain (A) is________ than feedback fraction (B). greater

Sine wave oscillators have the correct feedbackphase at one ___________. frequency

The phase shift of an RC lead-lag networkat fR is _____________. 0o

Page 7: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-7

McGraw-Hill

Wien bridge oscillator

Only fR arrives at the + input in phase.

lead-lag

in

out

R

C

C

R

RC

1fR =

Page 8: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-8

McGraw-Hill

in

out

The feedback fraction at fR in this circuit is one-third:

B = inout =

1

3

A must be > 3 for oscillations to start. After that, Amust be reduced to avoid driving the op amp to VSAT.

R2 2R1

R1

A = 1 +R2

R1

One solution is a positivetemperature coefficient

device here to decrease gain.

Page 9: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-9

McGraw-Hill

After theoscillationsstart, the

lamp heats up which increases

its resistanceto reducegain andclipping.

R

Vout

C

RL

2R1

Tungstenlamp

C R

R1

Vout

time

Page 10: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-10

McGraw-Hill

Q1 is an N-channel JFET.After oscillations start, theoutput signal is rectifiedand the negative voltage is applied to the JFET’sgate. This increases its D-Sresistance which decreasesthe gain of the op amp.

Q1D

S G

Notice that the clippingsubsides as Q1 reducesthe loop gain.

Page 11: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-11

McGraw-Hill

When common-emitter amplifiers are used asoscillators, the feedback circuit must providea 180o phase shift to make the circuit oscillate.

A

BOut-of-phase

180o

180o

180o + 180o = 360o = 0o

In-phase

Page 12: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-12

McGraw-Hill

RB

RL

VCC

CCC

R R

Feedback

1 2

3

3 RC networks provide a total phase shift of 180o.

A phase-shift oscillator based on a common-emitter amplifier

Page 13: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-13

McGraw-Hill

A phase-shift oscillator based on an inverting operational amplifier

The gain must be high enough to start the oscillator, but then clipping often results which causes distortion. These circuits often use gain reduction techniques after the oscillations begin.

Page 14: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-14

McGraw-Hill

A phase-shift oscillator using two op-amps and gain limiting for

low distortion.

Page 15: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-15

McGraw-Hill

RC oscillator quiz

A properly designed Wien bridge oscillatorprovides a ________ waveform. sine

The feedback fraction in a Wien bridgeoscillator is ________. 0.333

A tungsten lamp has a _________ temperaturecoefficient. positive

The feedback circuit in a common-emitteroscillator provides _______ of phase shift. 180o

A phase shift oscillator uses three RC sectionsto provide a total shift of ______. 180o

Page 16: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-16

McGraw-Hill

+VCC

+VCC

The Hartley oscillator is LC controlled.

feedbacktank circuit

The supply tap is a signal ground. There is a 180o phase shift

across the tank.

180o

0o

signalground

Page 17: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-17

McGraw-Hill

+VCC

+VCC

2 LC

1fR =

LC

The output frequency is equal to the resonant frequency.

L is the value for the entire coil.

Page 18: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-18

McGraw-Hill

+VCC

This is called a Colpitts oscillator.

The capacitiveleg of the tank

is tapped.

feedback

Page 19: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-19

McGraw-Hill

+VCC Note that the amplifierconfiguration is common-base.

The emitter is theinput and the collector

is the output. Thefeedback circuit

returns some of thecollector signal tothe input with no

phase shift.

signal ground

Page 20: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-20

McGraw-Hill

+VCC

L CEQ

2 LCEQ

1fR =

Page 21: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-21

McGraw-Hill

Quartz crystal Slab cut fromcrystal

Electrodesand leads

Schematicsymbol

Quartz is a piezoelectric material.

Page 22: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-22

McGraw-Hill

Quartz crystals replace LC tanks when frequency accuracy is important.

Quartz disc Rear metalelectrode

Front metalelectrode

Contact pinsEquivalentcircuit

CP

CS

Page 23: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-23

McGraw-Hill

Crystalequivalent

circuit

The equivalent R is verysmall and the Q is often

several thousand.

R

High-Q tuned circuits are notedfor narrow bandwidth and thistranslates to frequency stability.

The equivalent circuit also predicts two resonant

frequencies: series and parallel.A given oscillator circuit is

designed to use one or the other.

CS

CP

Page 24: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-24

McGraw-Hill

Crystals• The fundamental frequency (series

resonance) is controlled by the quartz slab or quartz disk thickness.

• Higher multiples of the fundamental are called overtones.

• The electrode capacitance creates a parallel resonant frequency which is slightly higher.

• Typical frequency accuracy is measured in parts per million (ppm).

Page 25: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-25

McGraw-Hill

+VCCCrystal oscillator circuit

RB2

RB1

RFC

RE

C2

C1

CE

vout

Xtal

Replaces thetank circuit

Page 26: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-26

McGraw-Hill

Packaged oscillators contain a quartz crystal and theoscillator circuitry in a sealed metal can.

Page 27: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-27

McGraw-Hill

High-frequency oscillator quiz

A Hartley oscillator has a tapped _______ in its tank circuit. coil

When the capacitive leg is tapped, the circuitmight be called ________. Colpitts

A quartz crystal is a solid-state replacementfor the ________ circuit. tank

Crystals are more stable than LC tanks dueto their very high ________. Q

Higher multiples of a crystal’s resonantfrequency are called ________. overtones

Page 28: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-28

McGraw-Hill

So far, we have learned that:

• Oscillators can be RC controlled by using phase-shifts.

• Oscillators can be LC controlled by using resonance.

• Oscillators can be crystal controlled by using resonance or overtones.

• There is another RC type called relaxation oscillators. These are time-constant controlled.

Page 29: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-29

McGraw-Hill

Base 2

Base 1

Emitter

RECALL that a unijunction transistor fires when its emitter voltage reaches VP.

VP

Emitter current

Em

itte

r vo

ltag

e

Then, the emitter voltagedrops due to its negativeresistance characteristic.

UJTs can be used inrelaxation oscillators.

Page 30: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-30

McGraw-Hill

+VBB

R

C

A UJT relaxation oscillatorprovides two waveforms.

RC f RC

Exponential sawtooth

Pulse

VP

Page 31: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-31

McGraw-Hill

+VBB

R3

C

A programmable unijunction transistor (PUT) is a better choice.

43

4

RR

R

η =

R1

R2 R4

PUT

VP = 0.7 V + ηVBB

VP

(η is called the intrinsic standoff ratio)

Page 32: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-32

McGraw-Hill

= 0.69RC

= 0.69 x 47 k x 3.3 nF

= 0.107 ms

t = 2 = 0.214 ms

f = 1/t = 4.67 kHz

This multivibrator is also RC controlled.

0 V

Page 33: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-33

McGraw-Hill

Non-sinusoidal op-amp oscillators can also use RC time constants for frequency control, as shown in this circuit.

Exponential sawtooth, which is sometimes treated as a triangle.

Page 34: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-34

McGraw-Hill

Undesired oscillations:

make amplifiers useless.

Why is this a problem?

Page 35: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-35

McGraw-Hill

OutputR

C

Parasitic capacitancescombine with resistances

to form un-wanted lag networks.

R

C

R

C

Page 36: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-36

McGraw-Hill

R

C

This can lead tounwanted oscillations

since the feedbackbecomes positive

at some higher frequency.

It’s the equivalent of a phase-shift oscillator.

Total Lag = 180o

R

C

R

C

Page 37: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-37

McGraw-Hill

R

CR

C

R

C

However,if the gain is less

than unity at thatfrequency, the

amplifier will not oscillate.

There is always some frequency where feedback becomes positive.

Page 38: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-38

McGraw-Hill

100 k10 k1 10 100 1k 1M0

20

80

40

60

100

120

Frequency in Hz

Gain in dB

The typical op amp has this characteristic:

Break frequency setby a dominant (intentional)

internal lag circuit.

The gain isless than unity

before combinedlags total 180o

of phase shift.

Page 39: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-39

McGraw-Hill

Methods of preventing oscillation:

• Reduce the feedback with bypass circuits, shields, and careful circuit layout.

• Cancel feedback with a second path … this is called neutralization.

• Reduce the gain for frequencies where the feedback becomes positive … this is called frequency compensation.

• Reduce the total phase shift … this is called phase compensation.

Page 40: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-40

McGraw-Hill

Oscillator troubleshooting:

• No output: supply voltage; component failure; oscillator is overloaded.

• Reduced output: low supply voltage; bias; component defect; loading.

• Frequency instability: supply voltage; poor connection or contact; temperature; RC, LC, or crystal.

• Frequency error: supply voltage; loading; RC, LC, or crystal.

Page 41: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-41

McGraw-Hill

Phaseaccumulator

Sine lookuptable

DAC LPF

Clock

Direct digital synthesizer

Frequency tuningword (binary)

(also called a numerically controlled oscillator)

The tuning word changes the phase increment value.

Page 42: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-42

McGraw-Hill

30o phaserotation

45o phaserotation

NOTE: Increasing the phase increment increases the frequency.

Access thesine table every 30o

Page 43: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-43

McGraw-Hill

Direct digital synthesizer using the AD9850 IC

Page 44: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-44

McGraw-Hill

Oscillator wrap-up quiz

Relaxation oscillators are controlled by RC__________ __________. time constants

Negative feedback becomes positive at somefrequency due to _______ ______. RC lags

Gain rolloff to prevent oscillation is called____________ compensation. frequency

Direct digital synthesizers are also called_____ _____ oscillators. numerically controlled

Direct digital synthesizers use a sine____________ table. lookup

Page 45: © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 11-1 McGraw-Hill Electronics Principles & Applications Eighth Edition Chapter 11 Oscillators

© 2013 The McGraw-Hill Companies, Inc. All rights reserved.

11-45

McGraw-Hill

REVIEW

• Oscillator Characteristics• RC Circuits• LC Circuits• Crystal Circuits• Relaxation Oscillators• Undesired Oscillations• Troubleshooting• Direct Digital Synthesis