All About Opamp
All About Opamp
All About Opamp
UNIT 3
Presentation Outline
• What is an Op-Amp?
• Characteristics of Ideal and Real Op-Amps
• Common Op-Amp Circuits
• Applications of Op-Amps
• References
What is an Op-Amp?
= + +
Brief History
A traditional Op-Amp:
V+ : non-inverting input
V- : inverting input
Vout : output Vout = K (V+ - V-)
Vs+ : positive power supply
Vs- : negative power supply
• The difference between the two inputs voltages (V+ and V-)
multiplied by the gain (K, “amplification factor”) of the Op-Amp gives
you the output voltage
• The output voltage can only be as high as the difference between the
power supply (Vs+ / Vs-)and ground (0 Volts)
Saturation
Saturation is caused by increasing/decreasing the
input voltage to cause the output voltage to equal
the power supply’s voltage*
• What is an Op-Amp?
• Characteristics of Ideal and Real Op-Amps
• Common Op-Amp Circuits
• Applications of Op-Amps
• References
An Ideal Op-Amp
Ideal
Real
Presentation Outline
• What is an Op-Amp?
• Characteristics of Ideal and Real Op-Amps
• Common Op-Amp Circuits
• Applications of Op-Amps
• References
Basics of an Op-Amp Circuit
Vout=K(V+-V-)
Vout Vout
Vsat+ Vsat+
Vin Vin
Vsat- Vsat-
Vout=K(V+-V-)
𝐼
V-=(VoutRin+VinRf)/(Rin+Rf)
Vout=K(0 -V-)
Vout=-VinRf/[(Rin+Rf)/K+(Rin)]
Vout=-VinRf/Rin
Non-Inverting Op-Amp
Vout=[Vin-Vout (R1/(R1+R2))] K
𝐼
Vout=Vin/[(1/K)+ (R1/(R1+R2))]
• 𝑽+ = 𝟎 𝑽
𝟏
• 𝑽− 𝒕 = 𝑽𝒊𝒏 (𝒕) = ∙ 𝑰 𝒕 𝒅𝒕 𝐼(𝑡)
𝑪
𝒅𝑽𝒊𝒏 (𝒕)
• 𝑰 𝒕 =𝑪∙
𝒅𝒕
• 𝑽𝒐𝒖𝒕 = −𝑹 ∙ 𝑰(𝒕)
𝒅𝑽𝒊𝒏 (𝒕)
• 𝑽𝒐𝒖𝒕 = −𝑹𝑪 ∙
𝒅𝒕
𝑹𝟏 + 𝑹𝒇 𝑹𝒈 𝑹𝒇
𝑽𝒐𝒖𝒕 = 𝑽 − 𝑽
𝑹𝟏 𝑹𝒈 + 𝑹 𝟐 𝟐 𝑹𝟏 𝟏
𝑹𝒇 𝑹𝒈
If = ,
𝑹𝟏 𝑹𝟐
𝑹𝒇
𝑽𝒐𝒖𝒕 = (𝑽𝟐 −𝑽𝟏 )
𝑹𝟏
Moreover, if 𝑹𝒇 = 𝑹𝟏 ,
𝑽𝒐𝒖𝒕 = 𝑽𝟐 − 𝑽𝟏
Differential Amplifier
Voltage relations
Output voltage
𝑽𝟏 𝑽𝟐 𝑽𝒏
𝑽𝒐𝒖𝒕 = −𝑹𝒇 + + ⋯+
𝑹𝟏 𝑹𝟐 𝑹𝒏
If 𝑹𝟏 = 𝑹𝟐 = ⋯ = 𝑹𝒏 ,
𝑹𝒇
𝑽𝒐𝒖𝒕 =− (𝑽𝟏 +𝑽𝟐 + ⋯ + 𝑽𝒏 )
𝑹𝟏
Summing Op-Amp (Adder)
• Moreover, if 𝑹𝒇 = 𝑹𝟏 = 𝑹𝟐 = ⋯ = 𝑹𝒏
𝑽𝒐𝒖𝒕 = −(𝑽𝟏 +𝑽𝟐 + ⋯ + 𝑽𝒏 )
𝑹𝒇 𝟏
• By setting = , the summing op-
𝑹𝟏 𝒏
amp can be used as an averaging
operator:
𝟏
𝑽𝒐𝒖𝒕 = − (𝑽𝟏 +𝑽𝟐 + ⋯ + 𝑽𝒏 )
𝒏
Summing Op-Amp (Adder)
Output voltage
• What is an Op-Amp?
• Characteristics of Ideal and Real Op-Amps
• Common Op-Amp Circuits
• Applications of Op-Amps
• References
Applications
• Active filters
• Signal processing
• Digital Image processing
• Strain gauges
• Control circuits
• PID controllers
• PI controllers for temperature measurement circuitry
• And much more…
Applications - Filters
Types:
Attenuates frequencies
below the cutoff frequency.
Cutoff frequency (Hz):
𝟏
𝒇𝒄 =
𝟐𝝅𝑹𝟏 𝑪
𝑹2 𝑹1
𝑯 𝒔 = −
𝒔+ 1 𝑹 𝑪
1
Bandpass Filter
Band Stop (Notch) Filter
Strain Gauge
__
R - ΔR
Rf
• A proportional-integral-derivative (PID)
controller is a generic feedback
mechanism widely used in industrial
control systems.
• It calculates an “error” value as the
difference between a measured process
variable and a desired setpoint.
• Using this error, it calculates a control
input using tuning parameters 𝑲𝒑 , 𝑲𝒅 ,
and 𝑲𝒊 to drive the error to zero.
𝒖 𝒕
𝒕
𝒅
= 𝑲𝒑 𝒆 𝒕 + 𝑲𝒊 𝒆 𝝉 𝒅𝝉 + 𝑲𝒅 𝒆(𝒕)
𝟎 𝒅𝒕
PID Controller – System Block Diagram
D
VSENSOR
Sensor
• Comparators
• Detectors
• Threshold detector
• Zero-level detector
• Oscillators
• Wien bridge oscillator
• Relaxation oscillator
• Level shifters
Outline Presentation
• Introduction
• Applications
• Exercise
Exercise