Professional Documents
Culture Documents
Octave code:
No plot is generated
Given p-n junction is a step junction and I have used the formula of J from the note to calculate
I.
Q 14.4
Octave code
Nd=logspace(14,17);
T=300;
phiB=[0.5 0.6 0.7];
Ksi=11.7; #value of dielectric constant of Si
Epsilon0=(8.85 .*(10.^((-1).*(14))) );
q=(1.6 .*(10.^((-1).*(19))) ); #value of electronic charge
kT=0.0259;
Eg=1.12; #value of Ec-Ev atT=300k
Ni=10.^10;
phiMS= (Eg./2).- kT.*log(Nd./Ni);
Va=0; #assuming reference
#part a
phiB=0.5;
Vfb=phiB - phiMS ;
width= ( (2.*Ksi.*Epsilon0.*(Vfb-Va))./(q.*Nd) ).^(1./2);
loglog(Nd,width);
hold on;
#part b
phiB=0.6;
Vfb=phiB - phiMS ;
width= ( (2.*Ksi.*Epsilon0.*(Vfb-Va))./(q.*Nd) ).^(1./2);
loglog(Nd,width);
hold on;
#part c
phiB=0.7;
Vfb=phiB - phiMS ;
width= ( (2.*Ksi.*Epsilon0.*(Vfb-Va))./(q.*Nd) ).^(1./2);
loglog(Nd,width);
hold on;
xlabel("Nd");
ylabel("width");
legend("barrier=0.5","barrier=0.6","barrier=0.7")
Generated plots:
Discussion and result explanation:
Given a junction in flat band condition, I have used the formula from the notes and using that the
above plot is generated. And variation can be seen from the plot.
Q 14.11
Octave code:
Eg=1.12;
Epsilon0=(8.85 .*(10.^((-1).*(14))) );
area=1.5 .*(10.^((-1).*(3))); #given area
Ksi=11.8; # dielectric constan of si
kT=0.0259; #value of kT at T=300k
q=(1.6 .*(10.^((-1).*(19))) ) ;
Ni=10.^10;
VA=[-1.09 -2.08 -3.07 -4.06 -5.05 -6.04 -7.03 -8.02 -9.01 -10.00];
x=1.0e2 .*[0.953 1.494 2.035 2.579 3.125 3.673 4.217 4.763 5.320 5.890];
f=polyfit(VA,x,1);
Nd= 2./ (q.*Ksi.*Epsilon0.*(area.^2).*(-f(1))) ;
vbi= -f(2)./f(1);
phiMS= (Eg./2).- kT.*log(Nd./Ni);
Vfb=phiMS .+ vbi ;
No generated plot