summaryrefslogtreecommitdiff
path: root/Fundamentals_Of_Electronic_Devices_by_J_B_Gupta/5-Junction_Properties_Continued.ipynb
blob: 151d2ccdf1748a3a44e41194101b4f1e19b7d28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 5: Junction Properties Continued"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 5.1: Estimate_junction_width.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Exa 5.1\n",
"clc;\n",
"clear;\n",
"close;\n",
"//given data\n",
"ND=10^17;//in atoms/cm^3\n",
"NA=0.5*10^16;//in atoms/cm^3\n",
"Vo=0.7;//in Volts\n",
"V=-10;//in Volts\n",
"ND=ND*10^6;//in atoms/m^3\n",
"NA=NA*10^6;//in atoms/m^3\n",
"epsilon=8.85*10^-11;//in F/m\n",
"e=1.6*10^-19;//coulamb\n",
"//part (i)\n",
"disp('When no external voltage is applied i.e. V=0');\n",
"disp('VB = 0.7 volts');\n",
"VB=0.7;//in Volts\n",
"W=sqrt(2*epsilon*VB*(1/NA+1/ND)/e);//in m\n",
"disp(W,'When no external voltage is applied, Junction width in meter : ');\n",
"//part (ii)\n",
"disp('When external voltage of -10 volt is applied');\n",
"disp('VB = Vo-V volts');\n",
"VB=Vo-V;//in Volts\n",
"W=sqrt(2*epsilon*VB*(1/NA+1/ND)/e);//in m\n",
"disp(W,'When external voltage of -10 Volt is applied, Junction width in meter : ');"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 5.3: Find_new_position_of_fermi_level.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Exa 5.3\n",
"clc;\n",
"clear;\n",
"close;\n",
"//given data\n",
"Ecf=0.3;//in Volts\n",
"T=27+273;//in Kelvin\n",
"delT=55;//in degree centigrade\n",
"//formula : Ecf=Ec-Ef=K*T*log(nc/ND)\n",
"//let K*log(nc/ND)=y\n",
"//Ecf=Ec-Ef=T*y\n",
"y=Ecf/T;//assumed\n",
"Tnew=273+55;//in Kelvin\n",
"EcfNEW=y*Tnew;//in Volts\n",
"disp(EcfNEW,'New position of fermi level is(eV) : ');"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 5.4: Calculate_height_of_potential_barrier.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Exa 5.4\n",
"clc;\n",
"clear;\n",
"close;\n",
"//given data\n",
"ND=8*10^14;//in cm^-3\n",
"NA=8*10^14;//in cm^-3\n",
"ni=2*10^13;//in cm^-3\n",
"T=300;//in Kelvin\n",
"k=8.61*10^-5;//in eV/K\n",
"e=1.6*10^-19;//coulamb\n",
"Vo=k*T*log(ND*NA/ni^2);//in Volts\n",
"disp(Vo,'Potential barrier in volts : ');"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 5.5: Find_electron_and_hole_concentration.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Exa 5.5\n",
"clc;\n",
"clear;\n",
"close;\n",
"//given data\n",
"ND=2*10^16;//in cm^-3\n",
"NA=5*10^15;//in cm^-3\n",
"Ao=4.83*10^21;//constant\n",
"T=300;//in Kelvin\n",
"EG=1.1;//in eV\n",
"kT=0.026;//in eV\n",
"ni=Ao*T^(3/2)*exp(-EG/(2*kT));//in m^-3\n",
"ni=ni*10^-6;//in cm^-3\n",
"p=(ni^2)/ND;//in cm^-3\n",
"n=(ni^2)/NA;//in cm^-3\n",
"disp(p,'Hole concentration in cm^-3 : ');\n",
"disp(n,'electron concentration in cm^-3 : ');\n",
"disp('Since elctron concentration is mote than hole concentration, the given Si is of N-type.');\n",
"//Note : Ans in the book is wrong. Mistake in value putting. "
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 5.6: Determine_junction_capacitance.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"//Exa 5.6\n",
"clc;\n",
"clear;\n",
"close;\n",
"//given data\n",
"CTzero=50;//in pF\n",
"VR=8;//in Volt\n",
"VK=0.7;//in Volt\n",
"n=1/3;//for Si\n",
"CT=CTzero/((1+VR/VK)^n);//in pF\n",
"disp(CT,'Junction capacitance in pF : ');"
   ]
   }
],
"metadata": {
		  "kernelspec": {
		   "display_name": "Scilab",
		   "language": "scilab",
		   "name": "scilab"
		  },
		  "language_info": {
		   "file_extension": ".sce",
		   "help_links": [
			{
			 "text": "MetaKernel Magics",
			 "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
			}
		   ],
		   "mimetype": "text/x-octave",
		   "name": "scilab",
		   "version": "0.7.1"
		  }
		 },
		 "nbformat": 4,
		 "nbformat_minor": 0
}