%%c).matlab code
Iin=0:10^-10:10*10^-6;%%fixing Iin range between 0 to 10uA
R2=100*10^3;%%taking R2=100k
Vout=-R2*Iin;%%calculating vout using derived equation
plot(Iin,Vout);%%plotting Iin vs Vout
title('Iin vs Vout plot');
xlabel('Iin---->');
ylabel('Vout---->')
a the circuit for current to voltage converter is. current current to voltage . convertor. source Rą in vt l. m t vout. Now Apply no Kelat. Node" va! we have in coming current (Tin) is equal to out going current Af). Tin = If. - Now, from ohm's law, Iin & If can be written as follows: Iina vin- un RI If = u vout By putting above Tin & If in eQ-O, we have vin-uzum Wout. +®. Ra
F AS NON-Inverting terminal is grounded so, according to "viritual ground concept the inverting terminal voltage is also I at ground ptential. that is U=.uto Livro e due to virtual] l ground uzo/ By putting uzo in eQ-@, we have a Vin-o- Ri o-Yout Rå Wout = - Race in ® the above equation is the output voltage expression for current to . voltage converter. Nout can also be written as I Vout= - Rå Pin
b] given Resistances values are -Ri=1MM, Ra= lookr, so when Vinz0.5:- 1. Iin=vih 20.5 = Soon A. Vout = - Ra Keth) -(10363) x[ 5-somu, when vinalus Iin un té EIMA Nout= -Race = -100k Giom] Llo - loomu 100X olsomu when vin=l-su's Tin= 1-5 = l-SMA Vout= -100X1834 LSD ---somu when vin=aus . Iin=2=QMA Voute noox io( ) = -200 mu. when vin=a.sus Iin = 2-5 = 2.5MA Nout= - 100 Xlo (25) = -250 mu.
when vin=30 Iin= 3 = 3MA Wout = -100x603 ()= 300 mv. when vin=3.sur Iin= 3.5 23.5 MA Yout= -100x103 (3.3] =-350mu when vin=40 . . Iina u hos = 4MA Wbut = -1 100 X 13 C ) Schoomu. when vinau.sur - Tin = k = 4-S Hệ Yout= -100 x 10? (4,5) = 450 mu. when vin-su" Tina sa = SMA Jout = 100x103 (o)= -soomu. when vincou's . Iin= o to coa vout = -loox13 (9062 SOV,
so, the table will be Tabley current-to-voltage convertora theoretical Results? I vincuets) In (MA) I Vout (mu). 0-5 -50 -100 -190 1.5 -200 o osm -250 -300 .-350 -hoo 4-5 -450 -500: ¢ u
lin vs Vout plot 0 - 0 Vout---> 0 0 0 0 15 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 lin---> x 105