Top Banner
Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators
39

Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Dec 16, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Electronic InstrumentationExperiment 8

* Op Amp Circuits Review

* Voltage Followers and Adders

* Differentiators and Integrators

* Analog Computers

Page 2: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Op Amp Circuits Review

Inverting Amplifier Non-inverting Amplifier Differential Amplifier Op Amp Analysis

Page 3: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Inverting Amplifier

in

f

in

out

R

R

V

V

Page 4: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Non Inverting Amplifier

1

1R

R

V

V f

in

out

Page 5: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Differential Amplifier

in

fout

R

R

VV

V

21

Page 6: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Op Amp Analysis Golden Rules of Op Amp Analysis

• 1) The current at the inputs is 0• 2) The voltage at the two inputs is the same

These are theoretical assumptions which allow us to analyze the op-amp circuit to determine what it does.

These rules essentially allow us to remove the op amp from the circuit.

Page 7: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

General Analysis Example(1)

Assume we have the circuit above, where Zf and Zin represent any combination of resistors, capacitors and inductors.

Page 8: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

We remove the op amp from the circuit and write an equation for each input voltage.

Note that the current through Zin and Zf is the same, because equation 1 is a series circuit.

General Analysis Example(2)

Page 9: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Since I=V/Z, we can write the following:

But VA = VB = 0, therefore:

General Analysis Example(3)

f

outA

in

Ain

Z

VV

Z

VVI

]1

in

f

in

out

f

out

in

in

Z

Z

V

V

Z

V

Z

V

Page 10: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

For any op amp circuit where the positive input is grounded, as pictured above, the equation for the behavior is given by:

General Analysis Conclusion

in

f

in

out

Z

Z

V

V

Page 11: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Voltage Followers and Adders

What is a voltage follower? Why is it useful? Voltage follower limitations Adders

Page 12: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

What is a voltage follower?

inoutBA

inBoutA

VVthereforeVV

VVVV

analysis

,

]2]1

:

1in

out

V

V

Page 13: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Why is it useful?

In this voltage divider, we get a different output depending upon the load we put on the circuit.

Why?

Page 14: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

We can use a voltage follower to convert this real voltage source into an ideal voltage source.

The power now comes from the +/- 15 volts to the op amp and the load will not affect the output.

Page 15: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Voltage follower limitations Voltage followers will not work if

their voltage or current limits are exceeded.

Voltage followers are also called buffers and voltage regulators.

Page 16: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Adders

12121

2

2

1

1

R

R

VV

VthenRRif

R

V

R

VRV

fout

fout

Page 17: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Weighted Adders Unlike differential amplifiers, adders are

also useful when R1<>R2.

This is called a “Weighted Adder” A weighted adder allows you to combine

several different signals with a different gain on each input.

You can use weighted adders to build audio mixers and digital-to-analog converters.

Page 18: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Analysis of weighted adder

I2

I1

If

2

2

1

1

2

2

1

1

2

2

1

1

2

22

1

1121

0

R

V

R

VRV

R

V

R

V

R

V

VVR

VV

R

VV

R

VV

R

VVI

R

VVI

R

VVIIII

foutf

out

BAAA

f

outA

f

outAf

AAf

Page 19: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Differentiators and Integrators

Ideal Differentiator Ideal Integrator Miller (non-ideal) Integrator Comparison of Integration and

Differentiation

Page 20: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Ideal Differentiator

inf

in

f

in

f

in

out CRj

Cj

R

Z

Z

V

V

analysis

1

:

Page 21: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Analysis in time domain

dt

dVCRVtherefore

VVR

VV

dt

VVdCI

IIIRIVdt

dVCI

ininfout

BAf

outAAinin

RfCinfRfRfCin

inCin

,

0)(

Page 22: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Problem with ideal differentiator

Circuits will always have some kind of input resistance, even if it is just the 50 ohms from the function generator.

RealIdeal

Page 23: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

ininin Cj

RZ

1

Analysis of real differentiator

11

inin

inf

inin

f

in

f

in

out

CRj

CRj

CjR

R

Z

Z

V

V

Low Frequencies High Frequencies

infin

out CRjV

V

ideal differentiator

in

f

in

out

R

R

V

V

inverting amplifier

Page 24: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Comparison of ideal and non-ideal

Both differentiate in sloped region.Both curves are idealized, real output is less well behaved.A real differentiator works at frequencies below c=1/RinCin

Page 25: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Ideal Integrator

finfinin

f

in

f

in

out

CR

j

CRjR

Cj

Z

Z

V

V

analysis

1

1

:

Page 26: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Analysis in time domain

)(11

0)(

DCinfin

outinfin

out

BAoutA

fin

Ain

RinCfCf

fCfinRinRin

VdtVCR

VVCRdt

dV

VVdt

VVdC

R

VVI

IIIdt

dVCIRIV

Page 27: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Problem with ideal integrator (1)

No DC offset.Works ok.

Page 28: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Problem with ideal integrator (2)

With DC offset.Saturates immediately.What is the integration of a constant?

Page 29: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Miller (non-ideal) Integrator

If we add a resistor to the feedback path, we get a device that behaves better, but does not integrate at all frequencies.

Page 30: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Low Frequencies High Frequencies

in

f

in

f

in

out

R

R

Z

Z

V

V 0

0

inin

f

in

out

RZ

Z

V

V

inverting amplifier signal disappears

The influence of the capacitor dominates at higher frequencies. Therefore, it acts as an integrator at higher frequencies, where it also tends to attenuate (make less) the signal.

Behavior of Miller integrator

Page 31: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

11

1

ff

f

ff

ff

f CRj

R

CjR

CjR

Z

Analysis of Miller integrator

inffin

f

in

ff

f

in

f

in

out

RCRRj

R

R

CRj

R

Z

Z

V

V

1

Low Frequencies High Frequencies

in

f

in

out

R

R

V

V

inverting amplifier

finin

out

CRjV

V

1

ideal integrator

Page 32: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Comparison of ideal and non-ideal

Both integrate in sloped region.Both curves are idealized, real output is less well behaved.A real integrator works at frequencies above c=1/RfCf

Page 33: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Problem solved with Miller integrator

With DC offset.Still integrates fine.

Page 34: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Why use a Miller integrator? Would the ideal integrator work on a signal with

no DC offset? Is there such a thing as a perfect signal in real

life?• noise will always be present

• ideal integrator will integrate the noise

Therefore, we use the Miller integrator for real circuits.

Miller integrators work as integrators at > c where c=1/RfCf

Page 35: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Comparison Differentiaion Integration original signal

v(t)=Asin(t) v(t)=Asin(t)

mathematically

dv(t)/dt = Acos(t) v(t)dt = -(A/cos(t)

mathematical phase shift

+90 (sine to cosine) -90 (sine to –cosine)

mathematical amplitude change

1/

H(j H(j jRC H(j jRC = j/RC electronic phase shift

-90 (-j) +90 (+j)

electronic amplitude change

RC RC

The op amp circuit will invert the signal and modify the mathematical amplitude by RC (differentiator) or 1/RC (integrator)

Page 36: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Analog Computers (circa. 1970)

Analog computers use op-amp circuits to do real-time mathematical operations.

Page 37: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Using an Analog Computer

Users would hard wire adders, differentiators, etc. using the internal circuits in the computer to perform whatever task they wanted in real time.

Page 38: Electronic Instrumentation Experiment 8 * Op Amp Circuits Review * Voltage Followers and Adders * Differentiators and Integrators * Analog Computers.

Analog vs. Digital Computers In the 60’s and 70’s analog and digital computers

competed. Analog

• Advantage: real time

• Disadvantage: hard wired

Digital• Advantage: more flexible, could program jobs

• Disadvantage: slower

Digital wins• they got faster

• they became multi-user

• they got even more flexible and could do more than just math