electronics ch12

22
CHAPTER 12 SIGNAL GENERATORS AND WAVEFORM-SHAPING CIRCUITS Chapter Outline 12.1 Basic Principles of Sinusoidal Oscillators 12.2 Op Amp-RC Oscillators 12.3 LC and Crystal Oscillators 12.4 Bistable Multivibrators 12.5 Generation of Square and Triangular Waveforms using Astable Multivibrators 12.6 Generation of a Standardized Pulse-The Monostable Multivibrators NTUEE Electronics L. H. Lu 12-1 12.7 Integrated-Circuit Timers 12.8 Nonlinear Waveform-Shaping Circuits 12.9 Precision Rectifier Circuits

Upload: seyi-alabi

Post on 26-Dec-2015

105 views

Category:

Documents


9 download

DESCRIPTION

Electronics Ch12

TRANSCRIPT

Page 1: Electronics Ch12

CHAPTER 12 SIGNAL GENERATORS AND WAVEFORM-SHAPING CIRCUITS

Chapter Outline12.1 Basic Principles of Sinusoidal Oscillators12.2 Op Amp-RC Oscillators12.3 LC and Crystal Oscillators12.4 Bistable Multivibrators12.5 Generation of Square and Triangular Waveforms using Astable Multivibrators12.6 Generation of a Standardized Pulse-The Monostable Multivibrators

NTUEE Electronics – L. H. Lu 12-1

12.7 Integrated-Circuit Timers12.8 Nonlinear Waveform-Shaping Circuits12.9 Precision Rectifier Circuits

Page 2: Electronics Ch12

12.1 BASIC PRINCIPLES OF SINUSOIDAL OSCILLATORS

Types of Oscillators Linear oscillator:

Employs a positive feedback loop consisting of an amplifier and a frequency-selective network. Some form of nonlinearity has to be employed to provide control of the amplitude of the output.

Nonlinear oscillator: Generates square, triangular, pulse waveforms. Employs multivibrators: bistable, astable and monostable.

The Oscillator Feedback Loop and Oscillation Criterion Positive feedback loop analysis:

)(A

NTUEE Electronics – L. H. Lu 12-2

Barkhausen criterion: The phase of loop gain should be zero at 0 . The magnitude of the loop gain should be unity at 0 . The characteristic equation has roots at s = j0 .

Stability of oscillation frequency: 0 is determined solely by the phase characteristics. A “steep” function () results in a more stable frequency.

)()()( :gain loop )()(1

)()( ssAsLssA

sAxxsA

i

of

1)()()( 000 jjAjL

Page 3: Electronics Ch12

Nonlinear Amplitude Control Oscillation: loop gain A = 1 Growing output: loop gain A > 1 Decaying output: loop gain A < 1 Oscillation mechanism:

Initiating oscillation: loop gain slightly larger than unity (poles in RHP). Gain control: nonlinear network reduces loop gain to unity (poles on j-axis).

Limiter Circuits for Amplitude Control For small amplitude (D1 off, D2 off)

NTUEE Electronics – L. H. Lu 12-3

incremental gain (slope) = Rf /R1

For large negative swing (D1 on, D2 off)

incremental gain (slope) = (Rf ||R4) /R1

For large positive swing (D1 off, D2 on)

incremental gain (slope) = (Rf ||R3) /R1

OA vRR

RVRR

Rv32

2

32

3

OB v

RRRV

RRRv

54

5

54

4

DVR

RRVRRL

2

32

2

3

DVR

RRVRRL

5

54

5

4

Page 4: Electronics Ch12

12.2 OP AMP-RC OSCILLATOR CIRCUITS

Wien-Bridge Oscillator

For L = 1 → 0=1/RC and R2/R1 = 2. To initiate oscillation → R2/R1 = 2 + . Limiter is used for amplitude control.

)/1(3/1)( 12

RCRCjRRjL

sRCsRCRRsL

ZZZ

RRsL

sp

p

/13/1)(1)( 12

1

2

NTUEE Electronics – L. H. Lu 12-4

Page 5: Electronics Ch12

Phase-Shift Oscillator The circuit oscillates at the frequency for which the phase shift of the RC network is 180. Only at this frequency will the total phase shift around the loop be 0 or 360. The minimum number of RC sections is three. K should be equal to the inverse of the magnitude of the RC network at oscillation frequency. Slightly higher K is used to ensure that the oscillation starts. Limiter is used for amplitude control.

NTUEE Electronics – L. H. Lu 12-5

Page 6: Electronics Ch12

Quadrature Oscillator Based on the two-integrator loop without damping. R1, R2, R3, R4, D1 and D2 are used as limiter. Loop gain:

t

o

oOO sRCV

VdtR

vC

vv0 1

212

12

22

t

x

oXO sRCV

VdtRv

Cv

0

11

11

2222 1)(

CRsVVsL

x

o

NTUEE Electronics – L. H. Lu 12-6

Poles are initially located in RHP (decreasing Rf ) to ensure that oscillation starts.

Too much positive feedback results in higher output distortion.

vO2 is purer than vO1 because of the filtering action provided by the second integrator on the peak-limited output of the first integrator.

CRsVx

Page 7: Electronics Ch12

Active-Filter Tuned Oscillator The circuit consists of a high-Q bandpass

filter connected in a positive-feedback loopwith a hard limiter.

Any filter circuit with positive gain can be used to implement the bandpass filter.

Can generate high-quality output sine waves. Have independent control of frequency,

amplitude and distortion of the outputsinusoid

NTUEE Electronics – L. H. Lu 12-7

sinusoid.

Final Remark Op amp-RF oscillators ~ 10 to 100kHz. Lower limit: passive components. Upper limit: frequency response and slew

rate of op amp.

Page 8: Electronics Ch12

12.3 LC AND CRYSTAL OSCILLATORS

LC Tuned Oscillators Colpitts oscillator: capacitive divider. Hartley oscillator: inductive divider. Utilize a parallel LC circuit between base and collector. R models the overall losses.

Analysis of Colpitts OscillatorsCLL )(/1 210 1

210 /1/1/1 CCL

0)1)(/1( 22

12 VLCsRsCVgVsC m

NTUEE Electronics – L. H. Lu 12-8

LC-tuned oscillators utilize the nonlinear transistor I-V characteristics for amplitude control (self-limiting). Collector (drain) current waveforms are distorted due to the nonlinear characteristics. Output voltage is a sinusoid with high purity because of the filtering action of the LC tuned circuit.

12 / CCRgm

0)/1()(/ 2122

213 RgCCsRLCsCLCs m

0)()1( 213

212

2

CLCCCjRLC

Rgm

1210 /1/1/1 CCL

Page 9: Electronics Ch12

Complete Circuit for a Colpitts Oscillator

RE

DC Analysis

NTUEE Electronics – L. H. Lu 12-9

AC Analysis

Page 10: Electronics Ch12

Crystal Oscillators Crystal impedance:

]/)[(/11)( 2

2

spsp

s

p CLCCCsLCs

sCsZ

s

p sCsLsCsZ

/11/1)(

ss LC/11)/1/1(/1 psp CCL

221)( sjjZ

NTUEE Electronics – L. H. Lu 12-10

Crystal reactance is inductive over very narrow frequency ( s to p ). The frequency band is well defined for a given crystal. Use the crystal to replace the inductor of the Colpitts oscillators. Oscillation frequency is dominated by Cs (much smaller than other C’s).

Crystals are available with resonance frequencies KHz ~ hundred MHz. The oscillation frequency is fixed (tuning is not possible).

22)(p

s

pCjjZ

ssLC /10

Page 11: Electronics Ch12

12.4 BISTABLE MULTIVIBRATORS

Bistable Characteristics Positive feedback is used for bistable multivibrator. Stable states:

(1) vO = L+ and v+ = L+R1/(R1+R2).(2) vO = L and v+ = LR1/(R1+R2).

Metastable state: vO = 0 and v+ = 0.

Transfer Characteristics of the Inverting Bistable Circuit Initially vO = L+ and v+ = L+R1/(R1+R2) → vO change stage to L when vI increases to a value of L+R1/(R1+R2). Initially vO = L and v+ = L R1/(R1+R2) → vO change stage to L+ when vI decreases to a value of L R1/(R1+R2).

NTUEE Electronics – L. H. Lu 12-11

The circuit exhibits hysteresis with a width of (VTH VTL). Input vI is referred to as a trigger signal which merely initiates or triggers regeneration.

Page 12: Electronics Ch12

Transfer Characteristics of the Noninverting Bistable Circuit Initially vO = L+ and v+ = vI R2/(R1+R2) + L+ R1/(R1+R2) > 0

→ vO change stage to L when vI decreases to a value (VTL) that causes v+ = 0

→ VTL = L+(R1/R2)

Initially vO = L and v+ = vI R2/(R1+R2) + L R1/(R1+R2) < 0

→ vO change stage to L+ when vI increases to a value (VTH) that causes v+ = 0

→ VTL = L(R1/R2)

Application of the Bistable Circuit as a Comparator

NTUEE Electronics – L. H. Lu 12-12

Page 13: Electronics Ch12

Limiter Circuits for Precise Output Levels

)( 1

1

DZ

DZ

VVLVVL

21 DDZ VVVL

NTUEE Electronics – L. H. Lu 12-13

)( 43 DDZ VVVL

Page 14: Electronics Ch12

12.5 GENERATION OF SQUARE AND TRIANGULAR WAVEFORMSUSING ASTABLE MULTIVIBRATORS

Operation of the Astable Multivibrator

F L d R /(R +R ) 0

NTUEE Electronics – L. H. Lu 12-14

For vO = L+ and v+ = vO R1/(R1+R2) > 0 → v is charged toward L+ through RC→ vO change stage to L when v = v+

For vO = L and v+ = vOR1/(R1+R2) < 0→ v is discharged toward L through RC→ vO change stage to L+ when v = v+

1

)/(1ln)()( 1// LLTeLLLeLLLv tRCt

11ln2T

1

)/(1ln)()( 1// LLTeLLLeLLLv tRCt

Page 15: Electronics Ch12

Generation of Triangular WaveformsTriangular can be obtained by replacing the low-pass RC circuit with an integrator.

The bistable circuit required is of the noninverting type.

NTUEE Electronics – L. H. Lu 12-15

L

VVRCTRCL

TVV TLTHTLTH

11

LVVRCT

RCL

TVV TLTHTLTH

22

Page 16: Electronics Ch12

12.6 GENERATION OF A STANDARDIZED PULSE – THE MONOSTABLE MULTIVIBRATORS

Op-Amp Monostable Multivibrators Circuit components:

Trigger: C2 , R4 and D2

Clamping diode: D1

R4 >> R1 → iD4 0 The circuit has one stable state:

vO = L+

vB = VD1 0 D1 and D2 on

NTUEE Electronics – L. H. Lu 12-16

Operation of monostable multivibrator Negative step as the trigger input D2 conducts heavily vC is pulled below vB

vO changes state to L and vC becomes negative D1 and D2 off and C1 is discharged toward L

vO changes state to L as vB = vC

Stays in the stable state Positive trigger step turns off D2 (invalid trigger)

11lnln 31

131 RC

LLLVRCT D

13/1)()( CRt

DB eVLLtv

LeVLLTv CRTDB 13/

1)()(

Page 17: Electronics Ch12

12.7 INTEGRATED-CIRCUIT TIMERS

Monostable Multivibrator using 555 Timer CircuitSR

00

10

00

0 01 0

NTUEE Electronics – L. H. Lu 12-17

Stable state: S = R = 0 and Q = 0 Q1 on and vC = 0

Trigger (vtrigger < VTL): S = 1 and Q = 1 Q1 off and vC is charged toward VCC

Trigger pulse removal (vtrigger > VTL): S = R = 0 and Q = 1 Q1 off and vC is charged toward VCC

End of recovery period (vC = VTH): R = 1 and Q = 0 Q1 on and vC is discharged toward GND

Stable state: vC drops to 0 and S = R = 0 and Q = 0)1()( / RCt

CCC eVtv

RCRCT 1.13ln

Page 18: Electronics Ch12

Astable Multivibrator using 555 Timer Circuit

)(/)()( BA RRCtTLCCCCC eVVVtv

BBL CRCRT 69.03ln

)(69.02ln)( BABAH RRCRRCT

BLH CRTTT 69.0

BCRtTHC eVv /

NTUEE Electronics – L. H. Lu 12-18

Operation of astable multivibrator Initially vC = 0: S/R = 1/0 and Q = 1 Q1 off and vC is charged toward VCC thru RA and RB

vC reaches VTH: S/R = 0/1 and Q = 0 Q1 on and vC is discharged toward GND thru RB

vC reaches VTL: S/R = 1/0 and Q = 1 Q1 off and vC is charged toward VCC thru RA and RB

BA

BA

LH

H

RRRR

TTT

2cycleDuty

Page 19: Electronics Ch12

12.8 NONLINEAR WAVEFORM-SHAPING CIRCUITS

Nonlinear Amplification Method Use amplifiers with nonlinear transfer characteristics

to convert triangular wave to sine wave. Differential pair with an emitter degeneration

resistance can be used as sine-wave shaper.

Breakpoint Method

NTUEE Electronics – L. H. Lu 12-19

Breakpoint Method R4 , R5 >> R1 , R2 and R3 to avoid loading effect.

–V1 < vIN < V1 :

vO = vIN

–V2 < vIN < –V1 or V1 < vIN < V2

vO = V1 + (vIN – V1) R5 / (R4 + R5)

vIN < –V2 or V2 < vIN

vO = V2

Page 20: Electronics Ch12

12.9 PRECISION RECTIFIER CIRCUITS

Precision Half-Wave Rectifier (Superdiode) Operation of super diode:

vO = vI for vI > 0 vO = 0 for vI < 0

The offset voltage (~0.5V) can be eliminated. Nonideal characteristics are masked by the loop gain. Disadvantages:

Reverse bias may damage the input terminals. Op saturation (open loop) degrades the speed.

NTUEE Electronics – L. H. Lu 12-20

Improved Precision Half-Wave Rectifier Rectifier operation:

vI > 0 : D1 off, D2 on vO = 0 vI < 0 : D1 on, D2 off vO = (R2 / R1) vI

The feedback loop remains closed at all times. The op amp remains in its linear operation region. Can prevent the delay due to saturated op amp.

Page 21: Electronics Ch12

AC Voltage Measurement The circuit consists of a half-wave rectifier and

a first-order low-pass filter. Dc component of v1 is (Vp/)(R2/R1). The LPF corner frequency should be much smaller than

the input sine wave to reduce error by the harmonics.

Precision Full-Wave Rectifier Full-wave rectifier is implemented by combining two rectifiers with a common load.

NTUEE Electronics – L. H. Lu 12-21

Diode A is replaced by a superdiode. Diode B is replaced by the inverting precision half-wave rectifier.

Page 22: Electronics Ch12

Precision Peak Rectifiers

Buffered Precision Peak Detector

NTUEE Electronics – L. H. Lu 12-22

Precision Clamping Circuit