agenda and notes

33
Agenda and Notes Today, during class! 9:30 a.m. Boeing Space and Intelligence Systems (Matt and Matt) 4 extra credit assignments available at the bottom of http:// hibp.ecse.rpi.edu/~connor/ education/EILinks.html Friday, Oct. 3 (EMPAC!), Open shop 2:00-5:00 p.m

Upload: quiana

Post on 06-Jan-2016

34 views

Category:

Documents


0 download

DESCRIPTION

Agenda and Notes. Today, during class! 9:30 a.m. Boeing Space and Intelligence Systems (Matt and Matt) 4 extra credit assignments available at the bottom of http://hibp.ecse.rpi.edu/~connor/education/EILinks.html Friday, Oct. 3 (EMPAC!), Open shop 2:00-5:00 p.m. Experiment 4 (continued). - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Agenda and Notes

Agenda and Notes Today, during class! 9:30 a.m. Boeing

Space and Intelligence Systems (Matt and Matt)

4 extra credit assignments available at the bottom of http://hibp.ecse.rpi.edu/~connor/education/EILinks.html

Friday, Oct. 3 (EMPAC!), Open shop 2:00-5:00 p.m

Page 2: Agenda and Notes

Electronic InstrumentationExperiment 4 (continued)

Part A. Op Amp Basics Review

Part B. Adder and Differential Op Amp

Part C. Op Amp Limitations

Page 3: Agenda and Notes

What is an op amp? An inexpensive, versatile, integrated

circuit that is another basic building block to electronics (made of resistors and transistors)

Amplifier that has• Large open loop gain (intrinsic)• Differential input stage, inverting input (-)

and non-inverting input (+)• One output• Uses components in the feedback network

to control the relationship between the input and output

Page 4: Agenda and Notes

What does an Op-Amp do?

Performs “operations” on an input signal• Amplification

• Buffering

• Integration/Differentiation

• Addition/Subtraction

Page 5: Agenda and Notes

Open Loop/Closed Loop and Feedback

Open loop• Very high gain (intrinsic gain)• Poor stability• Open loop gain assumed to be infinite for ideal op amps

Closed loop• Uses feedback to add stability• Reduces gain of the amplifier• Output is applied back into the inverting (-) input• Most amplifiers are used in this configuration

Open loop gain

Feedback

ΣVin Vout-

+

Page 6: Agenda and Notes

Golden Rules of Op-Amp Analysis

Rule 1: VA = VB

• The output attempts to do whatever is necessary to make the voltage difference between the inputs zero.

• The op-amp “looks” at its input terminals and swings its output terminal around so that the external feedback network brings the input differential to zero.

Rule 2: IA = IB = 0• The inputs draw no current

• The inputs are connected to what is essentially an open circuit

Page 7: Agenda and Notes

1) Remove the op-amp from the circuit and draw two circuits (one for the + and one for the – input terminals of the op amp).

2) Write equations for the two circuits.

3) Simplify the equations using the rules for op amp analysis and solve for Vout/Vin

Steps in Analyzing Op-Amp Circuits

Why can the op-amp be removed from the circuit?

• There is no input current, so the connections at the inputs are open circuits.

• The output acts like a new source. We can replace it by a source with a voltage equal to Vout.

Page 8: Agenda and Notes

in

fin

in

fout R

RAV

R

RV

The Inverting Amplifier

Page 9: Agenda and Notes

g

f

ing

fout

R

RA

VR

RV

1

1

The Non-Inverting Amplifier

Page 10: Agenda and Notes

1in

out

V

VA

The Voltage Follower

High input impedanceLow output impedanceBuffer circuit

Page 11: Agenda and Notes

Ideal Differentiator

inf

in

f

in

f

in

out CRj

Cj

R

Z

Z

V

V

analysis

1

:

Amplitude changes by a factor of RfCin

dt

dVCRV in

infout

Time domain (like oscilloscope)

Frequency domain (like AC sweep)

Page 12: Agenda and Notes

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 13: Agenda and Notes

Ideal Integrator

finin

f

in

f

in

out

CRjR

Cj

Z

Z

V

V

analysis

1

1

:

Amplitude changes by a factor of 1/RinCf

)(1

DCinfin

out VdtVCR

V

Time domain (like oscilloscope)

Frequency domain (like AC sweep)

What happens to a capacitor at DC?

Page 14: Agenda and Notes

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 15: Agenda and Notes

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 16: Agenda and Notes

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 multiply

the mathematical amplitude by RC (differentiator) or 1/RC (integrator)

Page 17: Agenda and Notes

In Class Problem1. Which op amp below has a gain of

+5?

2. Op amp Analysis1. What are the golden rules for op amp

analysis?2. For the circuit to the right draw two

circuits (one for – input and one for + input)

3. Write the equation for each circuit

a) b) c)

Page 18: Agenda and Notes

In Class Problem1. Which op amp below has a gain of

+5? All of them! Topology may look different but the functionality is the same!

2. Op amp Analysis1. What are the golden rules for op amp

analysis?2. For the circuit to the right draw two

circuits (one for – input and one for + input)

3. Write the equation for each circuit V 1 V--

Z 1

V-- V out

Z fUse voltage divider

V+

Z 3

Z 2 Z 3V 2

Page 19: Agenda and Notes

Op Amps to know

Inverting Non-inverting Voltage Follower Differentiator Integrator Adder Differential (Subtracting)

Page 20: Agenda and Notes

Adders

12121

2

2

1

1

R

R

VV

VthenRRif

R

V

R

VRV

fout

fout

Output signal is the sum of the input signals (V1 and V2).

Page 21: Agenda and Notes

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 22: Agenda and Notes

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 23: Agenda and Notes

Differential (or Difference) Amplifier

in

f

in

fout R

RAVV

R

RV

)( 12

Page 24: Agenda and Notes

Analysis of Difference Amplifier(1)

:

:)1

Page 25: Agenda and Notes

in

fout

outinffoutinf

in

inf

f

fin

fBA

outinf

in

inf

fB

fin

inf

fin

outinf

B

fin

f

out

inBB

fin

fA

f

outB

in

B

R

R

VV

V

VRVRVRVRR

RV

RR

RV

RR

RVV

VRR

RV

RR

RV

RR

RR

RR

VRVR

V

RR

R

V

RV

VVforsolve

VRR

RV

R

VV

R

VVi

12

1212

1

11

2

1

:

11:)3

:

:)2

Analysis of Difference Amplifier(2)

Note that step 2(-) here is very much like step 2(-) for the inverting amplifier

and step 2(+) uses a voltage divider.

Page 26: Agenda and Notes

Op-Amp Limitations

Model of a Real Op-Amp Saturation Current Limitations Slew Rate

Page 27: Agenda and Notes

Internal Model of a Real Op-amp

• Zin is the input impedance (very large ≈ 2 MΩ)

• Zout is the output impedance (very small ≈ 75 Ω)

• Aol is the open-loop gain

Vout

V2

+V

-V

-+

V1

Vin = V1 - V2Zin

Zout

+

-

AolVin

Page 28: Agenda and Notes

Saturation Even with feedback,

• any time the output tries to go above V+ the op-amp will saturate positive.

• Any time the output tries to go below V- the op-amp will saturate negative.

Ideally, the saturation points for an op-amp are equal to the power voltages, in reality they are 1-2 volts less.

VVV out Ideal: -9V < Vout < +9V

Real: -8V < Vout < +8V

Page 29: Agenda and Notes

Additional Limitations Current Limits If the load on the op-amp is

very small, • Most of the current goes through the load• Less current goes through the feedback path• Op-amp cannot supply current fast enough• Circuit operation starts to degrade

Slew Rate• The op-amp has internal current limits and internal

capacitance. • There is a maximum rate that the internal capacitance

can charge, this results in a maximum rate of change of the output voltage.

• This is called the slew rate.

Page 30: Agenda and Notes

Analog Computers (circa. 1970)

Analog computers use op-amp circuits to do real-time mathematical operations (solve differential equations).

Page 31: Agenda and Notes

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 32: Agenda and Notes

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

Page 33: Agenda and Notes

Now analog computers live in museums with old digital computers:

Mind Machine Web Museum: http://userwww.sfsu.edu/%7Ehl/mmm.htmlAnalog Computer Museum: http://dcoward.best.vwh.net/analog/index.html