%
Temperature effects on diode characteristics
%
Boltzmann’s constant = 1.38e-23 J / oK
k = 1.38e-23;
%
Electronic charge = 1.6e-19 Coulombs
q = 1.6e-19;
%
Specifying two Temperatures
t1 = 273 + 0;
t2 = 273 + 100;
% Reverse saturation current or
leakage current,
ls1 = 1.0e-12;
ks = 0.072;
ls2 = ls1*exp(ks*(t2-t1));
v
= 0.45:0.01:0.7;
l1 = ls1*exp(q*v/(k*t1));
l2 = ls2*exp(q*v/(k*t2));
%Plot
Diode I-V Curve at two Temperatures
plot(v,l1,'+')
hold on;
plot(v,l2,'o')
axis([0.45,0.75,0,10])
xlabel('Voltage (V)')
ylabel('Current (A)') |