Professional Documents
Culture Documents
OPAM Applications
Learning Contents
Learning Goals
1.1. Integrator
1.2. Differentiator
1.3. Logarithmic & Antilog Amplifier
1.4. Multiplying & Dividing Amplifier
1. Non-Linear Op-amp Applications
1.1. Integrator
vO = k vI dt
vI 1
vO = vC =
C i dt
dvo
i =C
dvO
dt
larger the RC,
vI = vR + vO = iR + vO = RC + vO
dt smaller the vO
When vR >>vO ,
for good integrator
ωRC >> 1
1. Non-Linear Op-amp Applications
1.1. Integrator
Ramp generation
1 Vm Vm
v S = Vm sin t vO = − V sin tdt = cos t = sin( 90 + t )
RC RC
m
RC
Phase shifter
1. Non-Linear Op-amp Applications
1.1. Integrator
C
• Op-amp integrating circuits must have
extremely low dc offset and bias currents, R
Vin –
because small errors are equivalent to a dc Vout
input. + Ideal
• The ideal integrator tends to accumulate Integrator
t RiC
Vin 0V t (ms)
0.0 0.5 1.0 1.5 2.0
−2.0 V
C
• Solution:
Ri
Vout V 2V Vin –
= − in = = 2 V/ms
t Ri C (10 k )( 0.1 μF ) Vout
+1.0 V +
Vout 0V t (ms)
0.0 0.5 1.0 1.5 2.0
−1.0 V
1. Non-Linear Op-amp Applications
1.2. Differentiator
vo=-iR
1. Non-Linear Op-amp Applications
1.2. Differentiator
Vin 0V t (ms)
0.0 0.5 1.0 1.5 2.0
−1.0 V
• Solution:
Rf
0.1mF 10 k
V Rin C
Vout = − C Rf C Vin –
t 220 Vout
−1 V
= − (10 k )( 0.1 μF ) = 2 V
+
0.5 ms 10 k Rc
+2.0 V
Vout 0V t (ms)
0.0 0.5 1.0 1.5 2.0
−2.0 V
1. Non-Linear Op-amp Applications
1.3. Logarithmic and Antilog Amplifier
1. Non-Linear Op-amp Applications
1.3. Logarithmic and Antilog Amplifier
Logarithmic Amplifier y=A.ln(Bx)
• When a diode is placed in the feedback path of an inverting op-amp, the
output voltage is proportional to the log of the input voltage.
• The gain decreases with increasing input voltage; therefore the amplifier
is said to compress signals.
Iin IF
Vin
+V –
R1 F
0V
–
Op-amp Vout
+
1. Non-Linear Op-amp Applications
1.3. Logarithmic and Antilog Amplifier
Logarithmic Amplifier y=A.ln(Bx)
𝑉𝑖
Iin IF −𝐼 =0
Vin
𝑅1 𝑓
+V –
R1 F
0V
–
𝑉𝑖 𝑉𝑓
𝐼𝑓 = 𝐼𝑓 = 𝐼𝑠 𝑒 𝑛𝑉𝑇
Op-amp Vout 𝑅1
+
0 − 𝑉𝑓 − 𝑉0 = 0
𝑉𝑓 = −𝑉0
𝑉𝑖 𝑉 𝑉𝑖 𝑉
−𝑛𝑉0 −𝑛𝑉0
= 𝐼𝑠 𝑒 𝑇 =𝑒 𝑇
𝑅1 𝑅1 𝐼𝑠
𝑉𝑖 𝑉0 𝑉𝑖
ln =− 𝑉0 = −𝑛𝑉𝑇 ln
𝑅1 𝐼𝑠 𝑛𝑉𝑇 𝑅1 𝐼𝑠
1. Non-Linear Op-amp Applications
1.3. Logarithmic and Antilog Amplifier
Logarithmic Amplifier [2]
• It can be done by either diode or transistor.
IC
• Vin + –
+
VBE Rf
–
0V
–
Op-amp Vout
+
1. Non-Linear Op-amp Applications
1.3. Logarithmic and Antilog Amplifier
Antilog Amplifier
𝑉0
− = 𝐼𝑓
𝑅1
𝑉𝑓
𝐼𝑓 = 𝐼𝑠 𝑒 𝑛𝑉𝑇
𝑉𝑓
𝑉0 = −𝑅1 𝐼𝑠 𝑒 𝑛𝑉𝑇
𝑉𝑓
𝑉0 = −𝑅1 𝐼𝑠 𝑒 𝑛𝑉𝑇
𝑉𝑖
𝑉𝑖 = 𝑉𝑓 𝑉0 = −𝑅𝑓 𝐼𝑠 𝑒 𝑛𝑉𝑇
1. Non-Linear Op-amp Applications
1.4. Multiplying and Dividing Amplifier
Multiplying Amplifier
R R
ln ln A
A
amp
–
R antilog
ln A*A
A amp
amp ln A +
ln A + ln A
1. Non-Linear Op-amp Applications
1.4. Multiplying and Dividing Amplifier
Dividing Amplifier
A ln R
amp – antilog
B/A
amp
B ln +
amp R
R
2. Comparators
Threshold voltages
vi VR ,
vi VR ,
VO = VO H
VO = VO L
vi (= VR ) = VTH
2. Comparators
2.1. Comparator without Positive Feedback
𝑉ℎ = 𝑉𝑃 −𝑉𝑁
VOH VOH
Vh > 0 Vh > 0
Vh < 0 Vh < 0
VOL VOL
2. Comparators
2.1. Comparator without Positive Feedback
VOH
VOL
2. Comparators
2.1. Comparator without Positive Feedback
What is the threshold voltage ?
R1
E1
R2
Vi _
Vo vi (= VR ) = VTH
E2 +
𝑅1 𝑉𝑖 + 𝑅2 𝐸1
𝑉𝑃 = 𝐸2 𝑉𝑁 =
𝑅1 +𝑅2
𝐸2 (𝑅1 +𝑅2 ) − 𝑅2 𝐸1
𝑉𝑅 = 𝑉𝑖 (𝑉ℎ=0) = 𝑉𝑖 (𝑉𝑃 =𝑉𝑁 ) =
𝑅1
2. Comparators
2.2. Comparator with Positive Feedback
𝑅𝑓 𝐸1 + 𝑅𝑉𝑜
𝑉𝑁 = 𝑉𝑖 𝑉𝑃 =
𝑅𝑓 + 𝑅
2. Comparators
2.2. Comparator with Positive Feedback
When vi(>> 0)> VP, vh < 0 → vO=VOL<0,
𝑅𝑓 𝐸1 + 𝑅𝑉𝑜
𝑉𝑁 = 𝑉𝑖 𝑉𝑃 =
𝑅𝑓 + 𝑅
2. Comparators
2.2. Comparator with Positive Feedback
RF
R
E1 +
Vo VTH2 VTH1
Vi -
2. Comparators
2.2. Comparator with Positive Feedback
Comparator with Hysteresis
• Sometimes the input signal to a comparator may vary due to noise
superimposed on the input. The result can be an unstable output.
• To avoid this, hysteresis can be used.
• Hysteresis is incorporated by
adding regenerative (positive)
feedback, which creates two VUTP
10 k
VUTP =
R2
R1 + R2
( +Vout ( max ) ) =
47 k + 10 k
( +13 V ) R2
10 k
= 2.28 V
By symmetry, the lower trigger point = −2.28 V.
2. Comparators
2.2. Comparator with Positive Feedback
xs(t)
xq(t)
Q
ΔVr
t
Ts
Simultaneous or flash analog-to-digital converters (Flash ADC)
• Use 2n-1 comparators to convert an analog input to a digital value
for processing
• Flash ADCs are a series of comparators, each with a slightly
different reference voltage.
2. Comparators VREF
Op-amp
R comparators
Vin
2.2. Comparator with Positive
(analog) Feedback
–
+
Flash ADC R
+
–
Priority
R encoder
+
VIN (7)
+ VOUT –
(6)
VREF - R (5) D2
+ (4) D1 Binary
– (3) D0 output
(2)
R (1)
+
(0)
–
If Output
R
+
VIN > VREF High Enable
– input
R
2. Comparators
2.2. Comparator with Positive Feedback
Flash ADC
Advantages Disadvantages
• Very fast • Needs many parts
(255 comparators for
8-bit ADC)
• Lower resolution
• Expensive
• Large power
consumption
Quiz 1.
OX Example Select
Quiz Number 1 Quiz Type
Answer D
Feedback
Quiz 2.
OX Example Select
Quiz Number 2 Quiz Type
Answer B
Feedback
Summary
1. Integrator: An inverting amplifier that has a capacitor in the feedback path.
3. Logarithmic: An inverting amplifier that has a diode (or transistor) in the feedback path.
4. Antilog: An inverting amplifier that has a diode (or transistor) in the input path.
5. Comparator: nonlinear op-amp circuit that compares two input voltages and produces an output
state that indicates which one is greater
7. Hysteresis: Characteristics of a circuit in which two different trigger levels produce an offset or
lag in the switching action.
Reference
[1] Electronics devices and Circuits theory – Robert Boylestad, Louis Nashelsky, Prentice Hall, 11th edition
[2] Fundamental of Microelectronics – Behzad Razavi, Wiley, Preview Edition 2006
[3] Electronics Fundamentals : Circuits, Devices, and Applications - Thomas L. Floyd, David. L. Buchla,
Pearson, 8th Edition