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

Post on 16-Dec-2015

219 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

Transcript

Electronic InstrumentationExperiment 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

in

f

in

out

R

R

V

V

Non Inverting Amplifier

1

1R

R

V

V f

in

out

Differential Amplifier

in

fout

R

R

VV

V

21

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.

General Analysis Example(1)

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

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)

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

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

Voltage Followers and Adders

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

What is a voltage follower?

inoutBA

inBoutA

VVthereforeVV

VVVV

analysis

,

]2]1

:

1in

out

V

V

Why is it useful?

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

Why?

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.

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.

Adders

12121

2

2

1

1

R

R

VV

VthenRRif

R

V

R

VRV

fout

fout

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.

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

Differentiators and Integrators

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

Differentiation

Ideal Differentiator

inf

in

f

in

f

in

out CRj

Cj

R

Z

Z

V

V

analysis

1

:

Analysis in time domain

dt

dVCRVtherefore

VVR

VV

dt

VVdCI

IIIRIVdt

dVCI

ininfout

BAf

outAAinin

RfCinfRfRfCin

inCin

,

0)(

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

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

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

Ideal Integrator

finfinin

f

in

f

in

out

CR

j

CRjR

Cj

Z

Z

V

V

analysis

1

1

:

Analysis in time domain

)(11

0)(

DCinfin

outinfin

out

BAoutA

fin

Ain

RinCfCf

fCfinRinRin

VdtVCR

VVCRdt

dV

VVdt

VVdC

R

VVI

IIIdt

dVCIRIV

Problem with ideal integrator (1)

No DC offset.Works ok.

Problem with ideal integrator (2)

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

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.

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

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

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

Problem solved with Miller integrator

With DC offset.Still integrates fine.

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

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)

Analog Computers (circa. 1970)

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

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.

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

top related