experiment 8

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

Upload: ashanti

Post on 13-Jan-2016

72 views

Category:

Documents


0 download

DESCRIPTION

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. Inverting Amplifier. Non Inverting Amplifier. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Experiment 8

Electronic InstrumentationExperiment 8

* Op Amp Circuits Review

* Voltage Followers and Adders

* Differentiators and Integrators

* Analog Computers

Page 2: Experiment 8

Op Amp Circuits Review

Inverting Amplifier Non-inverting Amplifier Differential Amplifier Op Amp Analysis

Page 3: Experiment 8

Inverting Amplifier

in

f

in

out

R

R

V

V

Page 4: Experiment 8

Non Inverting Amplifier

1

1R

R

V

V f

in

out

Page 5: Experiment 8

Differential Amplifier

in

fout

R

R

VV

V

21

Page 6: Experiment 8

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: Experiment 8

General Analysis Example(1)

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

Page 8: Experiment 8

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: Experiment 8

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: Experiment 8

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: Experiment 8

Voltage Followers and Adders

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

Page 12: Experiment 8

What is a voltage follower?

inoutBA

inBoutA

VVthereforeVV

VVVV

analysis

,

]2]1

:

1in

out

V

V

Page 13: Experiment 8

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: Experiment 8

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: Experiment 8

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: Experiment 8

Adders

12121

2

2

1

1

R

R

VV

VthenRRif

R

V

R

VRV

fout

fout

Page 17: Experiment 8

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: Experiment 8

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: Experiment 8

Differentiators and Integrators

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

Differentiation

Page 20: Experiment 8

Ideal Differentiator

inf

in

f

in

f

in

out CRj

Cj

R

Z

Z

V

V

analysis

1

:

Page 21: Experiment 8

Analysis in time domain

dt

dVCRVtherefore

VVR

VV

dt

VVdCI

IIIRIVdt

dVCI

ininfout

BAf

outAAinin

RfCinfRfRfCin

inCin

,

0)(

Page 22: Experiment 8

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: Experiment 8

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: Experiment 8

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: Experiment 8

Ideal Integrator

finfinin

f

in

f

in

out

CR

j

CRjR

Cj

Z

Z

V

V

analysis

1

1

:

Page 26: Experiment 8

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: Experiment 8

Problem with ideal integrator (1)

No DC offset.Works ok.

Page 28: Experiment 8

Problem with ideal integrator (2)

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

Page 29: Experiment 8

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: Experiment 8

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: Experiment 8

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: Experiment 8

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: Experiment 8

Problem solved with Miller integrator

With DC offset.Still integrates fine.

Page 34: Experiment 8

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: Experiment 8

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: Experiment 8

Analog Computers (circa. 1970)

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

Page 37: Experiment 8

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: Experiment 8

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