SlideShare a Scribd company logo
Operational Amplifiers
Magic Rules
Application Examples
Winter 2012
UCSD: Physics 121; 2012
2
Op-Amp Introduction
• Op-amps (amplifiers/buffers in general) are drawn as
a triangle in a circuit schematic
• There are two inputs
– inverting and non-inverting
• And one output
• Also power connections (note no explicit ground)

+
2
3 4
7
6
divot on pin-1 end
inverting input
non-inverting input
V+
V
output
Winter 2012
UCSD: Physics 121; 2012
3
The ideal op-amp
• Infinite voltage gain
– a voltage difference at the two inputs is magnified infinitely
– in truth, something like 200,000
– means difference between + terminal and  terminal is
amplified by 200,000!
• Infinite input impedance
– no current flows into inputs
– in truth, about 1012  for FET input op-amps
• Zero output impedance
– rock-solid independent of load
– roughly true up to current maximum (usually 5–25 mA)
• Infinitely fast (infinite bandwidth)
– in truth, limited to few MHz range
– slew rate limited to 0.5–20 V/s
Winter 2012
UCSD: Physics 121; 2012
4
Op-amp without feedback
• The internal op-amp formula is:
Vout = gain(V+  V)
• So if V+ is greater than V, the output goes positive
• If V is greater than V+, the output goes negative
• A gain of 200,000 makes this device (as illustrated
here) practically useless

+
V
V+
Vout
Winter 2012
UCSD: Physics 121; 2012
5
Infinite Gain in negative feedback
• Infinite gain would be useless except in the self-
regulated negative feedback regime
– negative feedback seems bad, and positive good—but in
electronics positive feedback means runaway or oscillation,
and negative feedback leads to stability
• Imagine hooking the output to the inverting terminal:
• If the output is less than Vin, it shoots positive
• If the output is greater than Vin, it shoots negative
– result is that output quickly forces itself to be exactly Vin

+
Vin
negative feedback loop
Winter 2012
UCSD: Physics 121; 2012
6
Even under load
• Even if we load the output (which as pictured wants
to drag the output to ground)…
– the op-amp will do everything it can within its current
limitations to drive the output until the inverting input reaches
Vin
– negative feedback makes it self-correcting
– in this case, the op-amp drives (or pulls, if Vin is negative) a
current through the load until the output equals Vin
– so what we have here is a buffer: can apply Vin to a load
without burdening the source of Vin with any current!

+
Vin
Important note: op-amp output terminal
sources/sinks current at will: not like
inputs that have no current flow
Winter 2012
UCSD: Physics 121; 2012
7
Positive feedback pathology
• In the configuration below, if the + input is even a
smidge higher than Vin, the output goes way positive
• This makes the + terminal even more positive than
Vin, making the situation worse
• This system will immediately “rail” at the supply
voltage
– could rail either direction, depending on initial offset

+
Vin
positive feedback: BAD
Winter 2012
UCSD: Physics 121; 2012
8
Op-Amp “Golden Rules”
• When an op-amp is configured in any negative-
feedback arrangement, it will obey the following two
rules:
– The inputs to the op-amp draw or source no current (true
whether negative feedback or not)
– The op-amp output will do whatever it can (within its
limitations) to make the voltage difference between the two
inputs zero
Winter 2012
UCSD: Physics 121; 2012
9
Inverting amplifier example
• Applying the rules:  terminal at “virtual ground”
– so current through R1 is If = Vin/R1
• Current does not flow into op-amp (one of our rules)
– so the current through R1 must go through R2
– voltage drop across R2 is then IfR2 = Vin(R2/R1)
• So Vout = 0  Vin(R2/R1) = Vin(R2/R1)
• Thus we amplify Vin by factor R2/R1
– negative sign earns title “inverting” amplifier
• Current is drawn into op-amp output terminal

+
Vin
Vout
R1
R2
Winter 2012
UCSD: Physics 121; 2012
10
Non-inverting Amplifier
• Now neg. terminal held at Vin
– so current through R1 is If = Vin/R1 (to left, into ground)
• This current cannot come from op-amp input
– so comes through R2 (delivered from op-amp output)
– voltage drop across R2 is IfR2 = Vin(R2/R1)
– so that output is higher than neg. input terminal by Vin(R2/R1)
– Vout = Vin + Vin(R2/R1) = Vin(1 + R2/R1)
– thus gain is (1 + R2/R1), and is positive
• Current is sourced from op-amp output in this example

+
Vin
Vout
R1
R2
Winter 2012
UCSD: Physics 121; 2012
11
Summing Amplifier
• Much like the inverting amplifier, but with two input
voltages
– inverting input still held at virtual ground
– I1 and I2 are added together to run through Rf
– so we get the (inverted) sum: Vout = Rf(V1/R1 + V2/R2)
• if R2 = R1, we get a sum proportional to (V1 + V2)
• Can have any number of summing inputs
– we’ll make our D/A converter this way

+
V1
Vout
R1
Rf
V2
R2
Winter 2012
UCSD: Physics 121; 2012
12
Differencing Amplifier
• The non-inverting input is a simple voltage divider:
– Vnode = V+R2/(R1 + R2)
• So If = (V  Vnode)/R1
– Vout = Vnode  IfR2 = V+(1 + R2/R1)(R2/(R1 + R2))  V(R2/R1)
– so Vout = (R2/R1)(V  V)
– therefore we difference V and V

+
V
Vout
R1
R2
V+
R1
R2
Winter 2012
UCSD: Physics 121; 2012
13
Differentiator (high-pass)
• For a capacitor, Q = CV, so Icap = dQ/dt = C·dV/dt
– Thus Vout = IcapR = RC·dV/dt
• So we have a differentiator, or high-pass filter
– if signal is V0sint, Vout = V0RCcost
– the -dependence means higher frequencies amplified more

+
Vin
Vout
C
R
Winter 2012
UCSD: Physics 121; 2012
14
Low-pass filter (integrator)
• If = Vin/R, so C·dVcap/dt = Vin/R
– and since left side of capacitor is at virtual ground:
dVout/dt = Vin/RC
– so
– and therefore we have an integrator (low pass)

+
Vin
Vout
R
C
Winter 2012
UCSD: Physics 121; 2012
15
RTD Readout Scheme
Winter 2012
UCSD: Physics 121; 2012
16
Notes on RTD readout
• RTD has resistance R = 1000 + 3.85T(C)
• Goal: put 1.00 mA across RTD and present output voltage
proportional to temperature: Vout = V0 + T
• First stage:
– put precision 10.00 V reference across precision 10k resistor to
make 1.00 mA, sending across RTD
– output is 1 V at 0C; 1.385 V at 100C
• Second stage:
– resistor network produces 0.25 mA of source through R9
– R6 slurps 0.25 mA when stage 1 output is 1 V
• so no current through feedback  output is zero volts
– At 100C, R6 slurps 0.346 mA, leaving net 0.096 that must come
through feedback
– If R7 + R8 = 10389 ohms, output is 1.0 V at 100C
• Tuning resistors R11, R7 allows control over offset and gain,
respectively: this config set up for Vout = 0.01T
Winter 2012
UCSD: Physics 121; 2012
17
Hiding Distortion
• Consider the “push-pull” transistor
arrangement to the right
– an npn transistor (top) and a pnp (bot)
– wimpy input can drive big load (speaker?)
– base-emitter voltage differs by 0.6V in
each transistor (emitter has arrow)
– input has to be higher than ~0.6 V for the
npn to become active
– input has to be lower than 0.6 V for the
pnp to be active
• There is a no-man’s land in between
where neither transistor conducts, so one
would get “crossover distortion”
– output is zero while input signal is
between 0.6 and 0.6 V
out
in
V+
V
crossover distortion
Winter 2012
UCSD: Physics 121; 2012
18
Stick it in the feedback loop!
• By sticking the push-pull into an op-amp’s feedback loop, we
guarantee that the output faithfully follows the input!
– after all, the golden rule demands that + input =  input
• Op-amp jerks up to 0.6 and down to 0.6 at the crossover
– it’s almost magic: it figures out the vagaries/nonlinearities of the thing in
the loop
• Now get advantages of push-pull drive capability, without the mess

+
Vin
out
V+
V
input and output
now the same
Winter 2012
UCSD: Physics 121; 2012
19
Dogs in the Feedback
• The op-amp is obligated to contrive the inverse dog
so that the ultimate output may be as tidy as the
input.
• Lesson: you can hide nasty nonlinearities in the
feedback loop and the op-amp will “do the right thing”

+
Vin
dog
inverse dog
“there is no dog”
We owe thanks to Hayes & Horowitz, p. 173 of the student manual companion to
the Art of Electronics for this priceless metaphor.
Winter 2012
UCSD: Physics 121; 2012
20
Reading
• Read 6.4.2, 6.4.3
• Pay special attention to Figure 6.66 (6.59 in 3rd ed.)

More Related Content

Similar to op-amps Dasar.ppt

1&2.pptx
1&2.pptx1&2.pptx
1&2.pptx
ragu nath
 
Essential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptx
Essential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptxEssential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptx
Essential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptx
Stefan Oprea
 
Basic electricity part 1 chapter 5 Op-amp.pptx
Basic electricity part 1 chapter 5 Op-amp.pptxBasic electricity part 1 chapter 5 Op-amp.pptx
Basic electricity part 1 chapter 5 Op-amp.pptx
kifle203
 
Zoom t
Zoom tZoom t
op amp.pptx
op amp.pptxop amp.pptx
op amp.pptx
ManmohanSingh315178
 
UNIT-3 OPAMP.pptx
UNIT-3 OPAMP.pptxUNIT-3 OPAMP.pptx
UNIT-3 OPAMP.pptx
yogitapatil87
 
Chap 5-Operational Amplifier.pptx. electronics
Chap 5-Operational Amplifier.pptx. electronicsChap 5-Operational Amplifier.pptx. electronics
Chap 5-Operational Amplifier.pptx. electronics
etryroua
 
Admission in delhi ncr
Admission in delhi ncrAdmission in delhi ncr
Admission in delhi ncr
Edhole.com
 
Comparator
ComparatorComparator
Comparator
C035RiteshJadhav
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
Muhd Iqwan Mustaffa
 
Fundamentals of oprational Amplifiers.pptx
Fundamentals of oprational Amplifiers.pptxFundamentals of oprational Amplifiers.pptx
Fundamentals of oprational Amplifiers.pptx
adityaraj7711
 
8 ee362_l_dc_dc_buckboost_ppt (1)
 8 ee362_l_dc_dc_buckboost_ppt (1) 8 ee362_l_dc_dc_buckboost_ppt (1)
8 ee362_l_dc_dc_buckboost_ppt (1)
balaji kumar
 
LIC-CH-2.pptx
LIC-CH-2.pptxLIC-CH-2.pptx
LIC-CH-2.pptx
HIIneed
 
Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)
Mohammed Bamatraf
 
Operational amplifiers
Operational amplifiersOperational amplifiers
Operational amplifiers
Vijendrasingh Rathor
 
08_electronics.basics and introduction12
08_electronics.basics and introduction1208_electronics.basics and introduction12
08_electronics.basics and introduction12
vikknaguem
 
08_electronics.basics and introduction23
08_electronics.basics and introduction2308_electronics.basics and introduction23
08_electronics.basics and introduction23
vikknaguem
 
Slide bab op amp
Slide bab op ampSlide bab op amp
Slide bab op amp
Muhd Faris Noormi
 
Peakdetector
PeakdetectorPeakdetector
Peakdetector
Manjunath Achari
 
Operational Amplifiers
Operational Amplifiers Operational Amplifiers
Operational Amplifiers
Sabyasachi Bhowmick
 

Similar to op-amps Dasar.ppt (20)

1&2.pptx
1&2.pptx1&2.pptx
1&2.pptx
 
Essential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptx
Essential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptxEssential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptx
Essential_&_Practical_Circuit_Analysis_Part 2_Op-Amps.pptx
 
Basic electricity part 1 chapter 5 Op-amp.pptx
Basic electricity part 1 chapter 5 Op-amp.pptxBasic electricity part 1 chapter 5 Op-amp.pptx
Basic electricity part 1 chapter 5 Op-amp.pptx
 
Zoom t
Zoom tZoom t
Zoom t
 
op amp.pptx
op amp.pptxop amp.pptx
op amp.pptx
 
UNIT-3 OPAMP.pptx
UNIT-3 OPAMP.pptxUNIT-3 OPAMP.pptx
UNIT-3 OPAMP.pptx
 
Chap 5-Operational Amplifier.pptx. electronics
Chap 5-Operational Amplifier.pptx. electronicsChap 5-Operational Amplifier.pptx. electronics
Chap 5-Operational Amplifier.pptx. electronics
 
Admission in delhi ncr
Admission in delhi ncrAdmission in delhi ncr
Admission in delhi ncr
 
Comparator
ComparatorComparator
Comparator
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
 
Fundamentals of oprational Amplifiers.pptx
Fundamentals of oprational Amplifiers.pptxFundamentals of oprational Amplifiers.pptx
Fundamentals of oprational Amplifiers.pptx
 
8 ee362_l_dc_dc_buckboost_ppt (1)
 8 ee362_l_dc_dc_buckboost_ppt (1) 8 ee362_l_dc_dc_buckboost_ppt (1)
8 ee362_l_dc_dc_buckboost_ppt (1)
 
LIC-CH-2.pptx
LIC-CH-2.pptxLIC-CH-2.pptx
LIC-CH-2.pptx
 
Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)Operational Amplifier (OpAmp)
Operational Amplifier (OpAmp)
 
Operational amplifiers
Operational amplifiersOperational amplifiers
Operational amplifiers
 
08_electronics.basics and introduction12
08_electronics.basics and introduction1208_electronics.basics and introduction12
08_electronics.basics and introduction12
 
08_electronics.basics and introduction23
08_electronics.basics and introduction2308_electronics.basics and introduction23
08_electronics.basics and introduction23
 
Slide bab op amp
Slide bab op ampSlide bab op amp
Slide bab op amp
 
Peakdetector
PeakdetectorPeakdetector
Peakdetector
 
Operational Amplifiers
Operational Amplifiers Operational Amplifiers
Operational Amplifiers
 

Recently uploaded

International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 

Recently uploaded (20)

International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 

op-amps Dasar.ppt

  • 2. Winter 2012 UCSD: Physics 121; 2012 2 Op-Amp Introduction • Op-amps (amplifiers/buffers in general) are drawn as a triangle in a circuit schematic • There are two inputs – inverting and non-inverting • And one output • Also power connections (note no explicit ground)  + 2 3 4 7 6 divot on pin-1 end inverting input non-inverting input V+ V output
  • 3. Winter 2012 UCSD: Physics 121; 2012 3 The ideal op-amp • Infinite voltage gain – a voltage difference at the two inputs is magnified infinitely – in truth, something like 200,000 – means difference between + terminal and  terminal is amplified by 200,000! • Infinite input impedance – no current flows into inputs – in truth, about 1012  for FET input op-amps • Zero output impedance – rock-solid independent of load – roughly true up to current maximum (usually 5–25 mA) • Infinitely fast (infinite bandwidth) – in truth, limited to few MHz range – slew rate limited to 0.5–20 V/s
  • 4. Winter 2012 UCSD: Physics 121; 2012 4 Op-amp without feedback • The internal op-amp formula is: Vout = gain(V+  V) • So if V+ is greater than V, the output goes positive • If V is greater than V+, the output goes negative • A gain of 200,000 makes this device (as illustrated here) practically useless  + V V+ Vout
  • 5. Winter 2012 UCSD: Physics 121; 2012 5 Infinite Gain in negative feedback • Infinite gain would be useless except in the self- regulated negative feedback regime – negative feedback seems bad, and positive good—but in electronics positive feedback means runaway or oscillation, and negative feedback leads to stability • Imagine hooking the output to the inverting terminal: • If the output is less than Vin, it shoots positive • If the output is greater than Vin, it shoots negative – result is that output quickly forces itself to be exactly Vin  + Vin negative feedback loop
  • 6. Winter 2012 UCSD: Physics 121; 2012 6 Even under load • Even if we load the output (which as pictured wants to drag the output to ground)… – the op-amp will do everything it can within its current limitations to drive the output until the inverting input reaches Vin – negative feedback makes it self-correcting – in this case, the op-amp drives (or pulls, if Vin is negative) a current through the load until the output equals Vin – so what we have here is a buffer: can apply Vin to a load without burdening the source of Vin with any current!  + Vin Important note: op-amp output terminal sources/sinks current at will: not like inputs that have no current flow
  • 7. Winter 2012 UCSD: Physics 121; 2012 7 Positive feedback pathology • In the configuration below, if the + input is even a smidge higher than Vin, the output goes way positive • This makes the + terminal even more positive than Vin, making the situation worse • This system will immediately “rail” at the supply voltage – could rail either direction, depending on initial offset  + Vin positive feedback: BAD
  • 8. Winter 2012 UCSD: Physics 121; 2012 8 Op-Amp “Golden Rules” • When an op-amp is configured in any negative- feedback arrangement, it will obey the following two rules: – The inputs to the op-amp draw or source no current (true whether negative feedback or not) – The op-amp output will do whatever it can (within its limitations) to make the voltage difference between the two inputs zero
  • 9. Winter 2012 UCSD: Physics 121; 2012 9 Inverting amplifier example • Applying the rules:  terminal at “virtual ground” – so current through R1 is If = Vin/R1 • Current does not flow into op-amp (one of our rules) – so the current through R1 must go through R2 – voltage drop across R2 is then IfR2 = Vin(R2/R1) • So Vout = 0  Vin(R2/R1) = Vin(R2/R1) • Thus we amplify Vin by factor R2/R1 – negative sign earns title “inverting” amplifier • Current is drawn into op-amp output terminal  + Vin Vout R1 R2
  • 10. Winter 2012 UCSD: Physics 121; 2012 10 Non-inverting Amplifier • Now neg. terminal held at Vin – so current through R1 is If = Vin/R1 (to left, into ground) • This current cannot come from op-amp input – so comes through R2 (delivered from op-amp output) – voltage drop across R2 is IfR2 = Vin(R2/R1) – so that output is higher than neg. input terminal by Vin(R2/R1) – Vout = Vin + Vin(R2/R1) = Vin(1 + R2/R1) – thus gain is (1 + R2/R1), and is positive • Current is sourced from op-amp output in this example  + Vin Vout R1 R2
  • 11. Winter 2012 UCSD: Physics 121; 2012 11 Summing Amplifier • Much like the inverting amplifier, but with two input voltages – inverting input still held at virtual ground – I1 and I2 are added together to run through Rf – so we get the (inverted) sum: Vout = Rf(V1/R1 + V2/R2) • if R2 = R1, we get a sum proportional to (V1 + V2) • Can have any number of summing inputs – we’ll make our D/A converter this way  + V1 Vout R1 Rf V2 R2
  • 12. Winter 2012 UCSD: Physics 121; 2012 12 Differencing Amplifier • The non-inverting input is a simple voltage divider: – Vnode = V+R2/(R1 + R2) • So If = (V  Vnode)/R1 – Vout = Vnode  IfR2 = V+(1 + R2/R1)(R2/(R1 + R2))  V(R2/R1) – so Vout = (R2/R1)(V  V) – therefore we difference V and V  + V Vout R1 R2 V+ R1 R2
  • 13. Winter 2012 UCSD: Physics 121; 2012 13 Differentiator (high-pass) • For a capacitor, Q = CV, so Icap = dQ/dt = C·dV/dt – Thus Vout = IcapR = RC·dV/dt • So we have a differentiator, or high-pass filter – if signal is V0sint, Vout = V0RCcost – the -dependence means higher frequencies amplified more  + Vin Vout C R
  • 14. Winter 2012 UCSD: Physics 121; 2012 14 Low-pass filter (integrator) • If = Vin/R, so C·dVcap/dt = Vin/R – and since left side of capacitor is at virtual ground: dVout/dt = Vin/RC – so – and therefore we have an integrator (low pass)  + Vin Vout R C
  • 15. Winter 2012 UCSD: Physics 121; 2012 15 RTD Readout Scheme
  • 16. Winter 2012 UCSD: Physics 121; 2012 16 Notes on RTD readout • RTD has resistance R = 1000 + 3.85T(C) • Goal: put 1.00 mA across RTD and present output voltage proportional to temperature: Vout = V0 + T • First stage: – put precision 10.00 V reference across precision 10k resistor to make 1.00 mA, sending across RTD – output is 1 V at 0C; 1.385 V at 100C • Second stage: – resistor network produces 0.25 mA of source through R9 – R6 slurps 0.25 mA when stage 1 output is 1 V • so no current through feedback  output is zero volts – At 100C, R6 slurps 0.346 mA, leaving net 0.096 that must come through feedback – If R7 + R8 = 10389 ohms, output is 1.0 V at 100C • Tuning resistors R11, R7 allows control over offset and gain, respectively: this config set up for Vout = 0.01T
  • 17. Winter 2012 UCSD: Physics 121; 2012 17 Hiding Distortion • Consider the “push-pull” transistor arrangement to the right – an npn transistor (top) and a pnp (bot) – wimpy input can drive big load (speaker?) – base-emitter voltage differs by 0.6V in each transistor (emitter has arrow) – input has to be higher than ~0.6 V for the npn to become active – input has to be lower than 0.6 V for the pnp to be active • There is a no-man’s land in between where neither transistor conducts, so one would get “crossover distortion” – output is zero while input signal is between 0.6 and 0.6 V out in V+ V crossover distortion
  • 18. Winter 2012 UCSD: Physics 121; 2012 18 Stick it in the feedback loop! • By sticking the push-pull into an op-amp’s feedback loop, we guarantee that the output faithfully follows the input! – after all, the golden rule demands that + input =  input • Op-amp jerks up to 0.6 and down to 0.6 at the crossover – it’s almost magic: it figures out the vagaries/nonlinearities of the thing in the loop • Now get advantages of push-pull drive capability, without the mess  + Vin out V+ V input and output now the same
  • 19. Winter 2012 UCSD: Physics 121; 2012 19 Dogs in the Feedback • The op-amp is obligated to contrive the inverse dog so that the ultimate output may be as tidy as the input. • Lesson: you can hide nasty nonlinearities in the feedback loop and the op-amp will “do the right thing”  + Vin dog inverse dog “there is no dog” We owe thanks to Hayes & Horowitz, p. 173 of the student manual companion to the Art of Electronics for this priceless metaphor.
  • 20. Winter 2012 UCSD: Physics 121; 2012 20 Reading • Read 6.4.2, 6.4.3 • Pay special attention to Figure 6.66 (6.59 in 3rd ed.)

Editor's Notes

  1. Lecture 9
  2. Lecture 9
  3. Lecture 9
  4. Lecture 9
  5. Lecture 9
  6. Lecture 9
  7. Lecture 9
  8. Lecture 9
  9. Lecture 9
  10. Lecture 9
  11. Lecture 9
  12. Lecture 9
  13. Lecture 9
  14. Lecture 9
  15. Lecture 9
  16. Lecture 9
  17. Lecture 9
  18. Lecture 9
  19. Lecture 9
  20. Lecture 9