ADE2 Tutorial 1 QP
ADE2 Tutorial 1 QP
Tutorial 1
1. The circuit below uses an op amp that is ideal except for having a finite gain A.
Measurements indicate vo = 3.5 V when vi = 3.5 V. What is the op amp gain A (show
your justification)?
U1
Vo
1M
Vi 1k
(Hints:
i) determine voltages at V+ and V- (need to consider opamp characteristics!)
ii) determine the opamp gain.)
(a)
a)
𝑉𝑖
Vi 100k 𝑅𝑖𝑛 = = 10 𝑘Ω
𝐼𝑖
10k
Vo 𝑉 −100𝑘
𝐴 = 𝑉𝑜 = 10𝑘
= −10
𝑖
(b) b)
If the op-amp is ideal it has 0 Ω output impedance.
100k Hence the 10 K resistor connected on the output
Vi
Vo makes no difference.
10k
𝑉𝑖 𝑉 −100𝑘
𝑅𝑖𝑛 = = 10 𝑘Ω ; 𝐴 = 𝑉𝑜 = = −10
10k 𝐼𝑖 𝑖 10𝑘
c)
(c)
The V- terminal is virtual ground, therefore the 10 k
100k resistor from it to ground carries no current and
V voltage. It has no effect on circuit operation.
i V
10k 𝑅𝑖𝑛 = 10 𝑘Ω
10k o
𝐴 = −10
d)
(d) For ideal op-amp, no current flow into op-amp, hence
the 10k resistor in the V+ terminal carries no current
100k and voltage drops. It makes no difference to the
V amplifier operation.
Vo
i 10k
𝑅𝑖𝑛 = 10 𝑘Ω
10k
𝐴 = −10
e)
(e)
𝑉𝑖
𝑅𝑖𝑛 = = 10 𝑘Ω
Vi 𝐼𝑖
Vo
10k 𝑉
𝐴 = 𝑉𝑜 =
−0𝑘
=0
𝑖 10𝑘
Figure 3
Derived the equation for Vo in terms of Vin and voltage gain in term of resistors R1 and RF.
Commence on the input impedance, minimum gain and maximum output voltage.
(Hints:
i) Two golden rules
ii) determine voltages at V+ and V- and all the currents.
ii) derive the equation for output.)
Rf = 150K
Ri= 1 k 10V
V- Vo
Vin = V+ -10V
50 mVpk
Solution:
Negative gain => inverting amplifier, Gain AV = -(Rf / Ri) =-150
Select Ri = 1K, Rf = 150 x 1 = 150 K
i) Peak-to-peak output voltage
vo = Av * vin = 150 * 50mVpk = 7.5 Vpk , vo(PP) = 15 Vpp
ii) Maximum output voltage
Since no load is connected => max +ve output voltage = 10 - 1
=9V
R
min –ve output voltage = -10 +1 = -9V S A
Solution:
a) Gain of amplifier for signal Vi
𝒗𝑜 𝑅𝑓 100𝑘
𝐴𝑣𝑖 = = −( ) = −( ) = −10
𝒗𝑖 𝑅𝑖 10𝑘
b) Output voltage
gain of dc voltage input
𝒗𝑜 𝑅𝑓 100𝑘
𝐴𝑣𝑏 = = −( ) = −( ) = −5
𝒗𝑏 𝑅𝑏 20𝑘
Output voltage,
𝒗𝑜 = 𝐴𝑣𝑖 × 𝒗𝑖 + 𝐴𝑣𝑏 × 𝒗𝑏 = (−10) × 1.5 + (−5) × (−2) =
−15 + 10 = −5𝑉
Vo = -5 V
c) Input impedance
𝒗𝑖 𝒗𝑖
𝑅𝑖𝑛 = = 𝒗𝑖 = 𝑅𝑖 = 10 𝑘
𝒊
𝑅𝑖
= input voltage as Av = 1.
VI = V+ = 5V
R2
R5
R1 R3
VS VO1
VO
R4
Vref
Figure 6
(a) Derive the expression (transfer function) for the final output (VO) in term of Vs, R1, R2,
R3, R4, R5 and Vref.
(b) Given that the sensor output is Vs and a 1.25V reference voltage source is connected
as Vref , (Vref = 1.25V). Based on the circuit shown in Figure 6, design an amplifier for a
temperature sensor to have a transfer function of Vout = (27.0Vs – 0.18)/0.15. Hence
calculate and chose the standard value for resistors R1, R2, R3 and R4 based on E24
standard. Given that R5 =12k.
Solution:
(a) (i) transfer function of the output (VO1) in term of Vs, R1 & R2.
𝑅2
𝑉𝑂1 = − ( ) 𝑉𝑆
𝑅1
(ii) output transfer function
𝑅 𝑅 𝑅 𝑅 𝑅
𝑉𝑂 = −[( 5) 𝑉𝑂1 + ( 5) 𝑉𝑟𝑒𝑓 ] = ( 5 ) ( 2 ) 𝑉𝑆 − ( 5) 𝑉𝑟𝑒𝑓
𝑅 3 𝑅 𝑅 4 𝑅 𝑅 3 1 4
( b ) Given the transfer function of the sensor amplifier and the derived
transfer function, thus
27.0𝑉𝑠 – 0.18 𝑅 𝑅
𝑉𝑜 = = − [( 5) 𝑉𝑂1 + ( 5) 𝑉𝑟𝑒𝑓 ]
0.15 𝑅 3 𝑅 4
𝑅5 𝑅2 𝑅
𝑉𝑜 = 180Vs − 1.2 = ( ) ( ) 𝑉𝑆 − ( 5) 𝑉𝑟𝑒𝑓
𝑅3 𝑅1 𝑅4
𝑅5 𝑅2 𝑅5 1.2
( ) ( ) = 180, 𝑎𝑛𝑑 ( ) = = 0.96
𝑅3 𝑅1 𝑅4 1.25
Let R5 = 12K. R4 = 12.5k 12k + 0.51K 13k (neariest
standard value)
Let R3 = 1.2K and R1 =1k R2 =18K
Gnd
Figure 8
(a) State your basic assumptions and derive the voltage equation for both V2’ and
V01 in terms of V2, R1 & R2.
Assume ideal op-amp are used, therefore,
V+ = V- and iB+ = iB- =0.
∴ 𝑉2′ = 𝑉2
𝑅2
∴ 𝑉2′ = ( ) 𝑉01
𝑅1+𝑅2
𝑅1
∴ 𝑉01 = (1 + 𝑅2) 𝑉2
(b) Derive the voltage equation for Vout in terms of V01, V1, R3 & R4. (Hints : used
Superposition theorem)
Consider only V1
𝑅4
𝑉𝑜𝑢𝑡1 = (1 + ) 𝑉1;
𝑅3
𝑅4 𝑅4
𝑉𝑜𝑢𝑡 = 𝑉𝑜𝑢𝑡1 + 𝑉𝑜𝑢𝑡2 = (1 + 𝑅3) 𝑉1 − (𝑅3) 𝑉01
(c) Derive the voltage equation for Vout in terms of V2, V1, R1 R2, R3 & R4.
𝑅4 𝑅4
𝑉𝑜𝑢𝑡 = (1 + 𝑅3) 𝑉1 − (𝑅3) 𝑉01
𝑅4 𝑅4 𝑅1
= (1 + 𝑅3) 𝑉1 − (𝑅3) (1 + 𝑅2) 𝑉2
𝑅4 𝑅4 𝑅4 𝑅1
= 𝑉1 + ( ) 𝑉1 − ( ) 𝑉2 − ( ) ( ) 𝑉2
𝑅3 𝑅3 𝑅3 𝑅2
𝑅4 𝑅1 𝑅4
∴ 𝑉𝑜𝑢𝑡 = 𝑉1 − (𝑅3) (𝑅2) 𝑉2 + (𝑅3) (𝑉1 − 𝑉2)
𝑅4 𝑅1 𝑅4
𝑖𝑓 (𝑅3) (𝑅2) = 1 ⇒ 𝑉𝑜𝑢𝑡 = 𝑉1 − 𝑉2 + (𝑅3)(𝑉1 − 𝑉2)
𝑅4
∴ 𝑉𝑜𝑢𝑡 = (1 + 𝑅3) (𝑉1 − 𝑉2) = 𝑘(𝑉1 − 𝑉2)
𝑅4 𝑅1
(𝑅3) (𝑅2) = 1 if R2=R4 and R1=R3
(e) Given R4=20k and R1=5k, what would be the voltage equation for Vout in terms of
V2, V1?
𝑅4
𝑉𝑜𝑢𝑡 = (1 + 𝑅3)(𝑉1 − 𝑉2)
20
∴ 𝑉𝑜𝑢𝑡 = (1 + 5
) (𝑉1 − 𝑉2) = 5(𝑉1 − 𝑉2)