op amp notes

31
Operational Amplifier (op- amp) • Op-amp is an integrated circuit that contains about 20 transistors together with resistors and capacitors & encapsulated • Operational Amplifier - An operational amplifier (op amp) is a high gain differential amplifier with nearly ideal external characteristics. Internally the op amp is constructed using many transistors. norashikin/op-amp/group 3 1

Upload: ebonguko-clinton

Post on 28-Apr-2015

75 views

Category:

Documents


6 download

DESCRIPTION

A LEVEL PHYSICS EXERCISES ARE AVAILABLE FOR LAZY STUDENTS

TRANSCRIPT

Page 1: OP AMP Notes

1

Operational Amplifier (op-amp)• Op-amp is an integrated circuit that contains about

20 transistors together with resistors and capacitors & encapsulated

• Operational Amplifier - An operational amplifier (op amp) is a high gain differential amplifier with nearly ideal external characteristics. Internally the op amp is constructed using many transistors.

norashikin/op-amp/group 3

Page 2: OP AMP Notes

norashikin/op-amp/group 3 2

Typical Op Amp IC Packages

Dual-in-Line package (DIP)

Metal Can Package

Page 3: OP AMP Notes

norashikin/op-amp/group 3 3

-VS

(supply -)

Inverting input

Non invertinginput

Output

+

_

VOut

V-

V+

Basic op am diagram with supply voltage.

+VS

(Supply +)

Vinput = V+ – V-

Page 4: OP AMP Notes

norashikin/op-amp/group 3 4

• i(+), i(-) : Currents into the amplifier on the inverting and noninverting lines respectively• Vin: The input voltage into amplifier (V+ - V-)

• +VS , -VS : Supply Voltage• Zi n: The input impedance (for a.c) / input resistance (for d.c)• AO : The open loop gain of the amplifier. Ideally very high, in the 1x1010 range.• ZOut: The output resistance, ideally zero• VOut: The output voltage; Vout = AOVin where AOLis the open-loop voltage gain

The Operational Amplifier Internal Model+VS

-VS

Vin

Inverting

Noninverting

Output

+

_i(-)

i(+)

Vout = AoVin

ZOut

AoZin

V-

V+

Page 5: OP AMP Notes

norashikin/op-amp/group 3 5

Op Amp Pin-out connectionsDual-in-Line Plastic Package

Page 6: OP AMP Notes

norashikin/op-amp/group 3 6

Typical Values of a Real OP AMP & Ideal

Property Ideal Real

Input Impedance, Zin(No Current At Inputs)

105 - 109

Output Impedance, Zout(No InternalVoltage Losses)

0 Ω 106 Ω

Open Loop Gain, Ao 100 – 1000 Ω

Bandwidth Finite

Slew rate

Instantaneous Time Response 10 Vms-1

Page 7: OP AMP Notes

norashikin/op-amp/group 3 7

Op-Amp Saturation• In spite of the huge gain, the maximum or minimum

output is still limited by the input power.• When the op-amp is at the maximum or minimum

extreme, it is said to be saturated• Ideally, the saturation points for an op-amp are equal to

the power voltages, in reality they are 1-2 volts less.

Page 8: OP AMP Notes

norashikin/op-amp/group 3 8

+Vs power supply

-Vs power supply

V+ - V-

Vout

Behaviour of op-amp output (Vout) with input ( V+ - V-)

+ve-ve

Page 9: OP AMP Notes

norashikin/op-amp/group 3 9

Important features of Op Amp

1. High open loop gain (ideally infinite) which implies that even the smallest difference between the two inputs results into saturated output voltage

2. High input impedance (ideally infinite) implies that there is no current flowing into the input of an op amp

Page 10: OP AMP Notes

norashikin/op-amp/group 3 10

The Golden rules for Op-Amp circuit analysis

•Gain is so high (~106) that a few μV at the input will swing the output over its full range, so any feedback control of Vout attempts to do whatever is necessary to make the voltage difference between the inputs zero.

•The input impedance of Op-Amps is very high so it draws very little input current (0.08 μA for the 741; Thus the input current is negligible!!!.

Page 11: OP AMP Notes

norashikin/op-amp/group 3 11

Virtual Ground

1. These two conditions give rise to VIRTUAL GROUND, where the voltages at both the inputs are maintained at exactly same level. V+ = V-

2. To achieve this condition, a feedback circuit between the output and the inverting input terminal of the op amp is necessary.

3. This results into many applications of op amp, which qualify it to be OPERATIONAL: adder, subtractor, multiplier, divider etc.

Page 12: OP AMP Notes

norashikin/op-amp/group 3 12

Feedback

• Is a process whereby a fraction of the output of any devices is fed back to the input, so as to in control of the devices, usually through resistors

Page 13: OP AMP Notes

norashikin/op-amp/group 3 13

Feedback

Gain (Ao)

ADD

Feedback fraction b

An amplifier circuit with feedback

Vin Vout

b Vout

Input after feedback

Page 14: OP AMP Notes

norashikin/op-amp/group 3 14

• Vout = Ao x (the amplifier input)

• = Ao x (Vin + bVout)

= Ao Vin + Ao bVout)• Yield

Vout ( 1 - Ao b) = Ao x Vin

• Thus, overall voltage gain of the amplifier is

• If b -ve, then > unity (1), thus Vout / Vin < overall voltage gain !!

• This is known as Negative feedback

)1( oo

in

out

A

A

V

V

)1( oA

Negative feedback – part of the output of the op-amp is feeding back to the inverting input

Page 15: OP AMP Notes

norashikin/op-amp/group 3 15

Simple negative feedback

Rf = feedback resistor

!!!! Example of two type of op-amp which use negative feedback are inverting amplifier & non-inverting amplifier

Page 16: OP AMP Notes

norashikin/op-amp/group 3 16

Where Vout/Vin = A = Gain

Notice that the input signal entered op-amp at inverting input (V-)

(V-)

(V+)

Notice that the polarity of output and input is change

Page 17: OP AMP Notes

norashikin/op-amp/group 3 17

How to analyze an inverting op-amp ???

1) Remove the Op-Amp from the circuit and draw two circuits(one for the + and – 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

VB is at virtual earth!! Here, VB represent V- while VA represent V+

(At ground)

Page 18: OP AMP Notes

norashikin/op-amp/group 3 18

Why VB (V- ) is at virtual earth

• gain of op-amp (A) is very large / infinite• non-inverting input is at earth / 0 V• Thus, for amplifier not to saturate, VB must be also

at about 0 V• Proof:

A = Gain for amplifier which is very large / infinity (for ideal)for amplifier with feedback, we call A as closed loop gain

Vout = A (V+– V- )Vout = A (VA– VB

)Vout = A (0 – VB

)A is very large or Thus, VB = -Vout/ A ≈ Vout / = 0

Page 19: OP AMP Notes

norashikin/op-amp/group 3 19

For op-amp with unity gain (Gain=1)

Notice that the input signal entered op-amp at non- inverting input (V+)

Example

Notice that the polarity of output and input is same

Page 20: OP AMP Notes

norashikin/op-amp/group 3 20

Non-inverting AmplifierRf

Rg

A = gain

Page 21: OP AMP Notes

norashikin/op-amp/group 3 21

Benefits of negative feedback

• Increased bandwidth • Less distortion of the output• Greater stability

Negative feedback defeat the object of amplifier? So What? ?

Page 22: OP AMP Notes

norashikin/op-amp/group 3 22

Questions

1. The magnitude of the gain of an inverting amplifier is 25. The supply voltage to the op-amp is ± 9.0 V and the non-inverting input is at earth potential. Calculate the output voltage of the amplifier circuit for an input voltage at the inverting input of

a) + 40 mV

b) -1.2 V

AnswerVout

a) -1.0 Vb) 9.0 V

Page 23: OP AMP Notes

norashikin/op-amp/group 3 23

Output devices

• Processing unit (op-amp) produces an output voltage• This voltage is connected across some form of resistor, a

current flow in from the op-amp to the resistor

• Iout ≤ 25 mA (avoid op-amp from destroyed)

• This resistor also acts as a protector to op-amp from being damaged

Page 24: OP AMP Notes

norashikin/op-amp/group 3 24

Relay

• Relay = electromagnetic switch• When current passes through the coil of

electromagnet, the electromagnet operates a switch

• This switch is used to switch on/ off a much larger current connected

Page 25: OP AMP Notes

norashikin/op-amp/group 3 25

Relay

Page 26: OP AMP Notes

norashikin/op-amp/group 3 26

Relay operation – energized (on)

•Current flows through pin 1 and 3 develop a magnetic field around the coil•Causes the switch to close (pin 2 and 4)•Current now flows through pin 2 & 4.•The switch is used to control an external electric circuit connected to it

Page 27: OP AMP Notes

norashikin/op-amp/group 3 27

Relay operation – de-energized (off)

• when current stop flowing in pin 1 & 3, the relay becomes de-energized

• Without magnetic field, the switch open & the current is prevented from flowing through pin 2 & 4

Page 28: OP AMP Notes

norashikin/op-amp/group 3 28

Relay on open switch

When switch is open, current stops flowing through the control circuit coilThe magnetic field around the coil cannot be maintainedAs the magnetic field collapses across the coil, it induces a voltage into itself, creating a reverse polarity voltage of several hundred volts.This induces voltage is e.m.fThis e.m.f could be large enough to damage the op-ampThus, a diode is connected across the coil to protect the op-amp from this e.m.f

Page 29: OP AMP Notes

norashikin/op-amp/group 3 29

Light Emitting Diode (LED) as a visible indicator for sensing devices

Only emits light when it is forward –biasedA resistorfrequently connected in series with an LED to reduce current flow into LEDTypical Iled = 20 mAMight be damaged if reversed bias voltage exceeds about 5 V

Operation of circuit•When output is positive respect to earth, diode D1 will forward biased,•Thus, emit light•D2 is reverse biased & not emit light•Diode D2 will only emit light when it is reversed biased (polarity of output change)

Page 30: OP AMP Notes

norashikin/op-amp/group 3 30

Digital & analogue meters as output devices

• LED - may used to indicate the polarity of an output/ used when an op-amp saturates (as such op-amp as a comparator)

• When does not saturate, the output can be used to indicate magnitude of whatever is being sensed (as such –level of fuel in tank)

• A digital and analogue voltmeter can be connected between the op-amp output & earth will indicate output voltage of an op-amp

Page 31: OP AMP Notes

norashikin/op-amp/group 3 31

Exercises/tutorial

1. Page 398 – exam style questions (please submit)2. Tutorial 13. Tutorial 24. Past year questions