{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter No.1: Special Diodes" ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 1.1, Page No. 9" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Reverse Saturation current of diode\n", "import math\n", "\n", "#variable declaration\n", "\n", "I=40*10**-3 #forword bias current in A\n", "V=0.25 #forword bias voltage in Volt\n", "T=20 #junction temperature in degree C\n", "T=T+273 #junction temperature in degree K\n", "ETA=1 #For Ge\n", "e=1.6*10**-19 #in Coulamb(electronic charge)\n", "k=1.38*10**-23 #in J/K(Boltzman Constant)\n", "\n", "#Calculation\n", "#Formula : I=Io*(exp(e*V/(ETA*k*T))-1)\n", "x=math.ceil((e*V/(ETA*k*T)))\n", "Io=I/(math.exp(x)-1)\n", "Io=math.ceil(Io*10**8)/10**8\n", "\n", "#Result\n", "print(\"Reverse saturation current in micro Ampere : %.2f \"%(Io*10**6))\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Reverse saturation current in micro Ampere : 1.82 \n" ] } ], "prompt_number": 14 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 1.2, Page No. 9" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Value of forword voltage\n", "import math\n", "#variable declaration\n", "Io=10*10**-6 # reverse saturation currrent in A\n", "I=1 # forword current in Ampere\n", "ETA=2 # For Si\n", "T=27 # room temperature in degree C\n", "T=T+273 # room temperature in degree K\n", "e=1.6*10**-19 # in Coulamb(electronic charge)\n", "k=1.38*10**-23 # in J/K(Boltzman Constant)\n", "\n", "#Calculation\n", "#Formula : I=Io*(exp(%e*V/(ETA*k*T))-1)\n", "V=(ETA*k*T/e)*math.log(I/(Io)+1)\n", "V=math.floor(V*100)/100\n", "#result\n", "print(\"Forward Voltage across the diode in Volt :%.2f\"%V)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Forward Voltage across the diode in Volt :0.59\n" ] } ], "prompt_number": 21 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 1.3 , Page No. 23" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#DC Current, DC Voltage, Ripple Factor\n", "import math\n", "#Variable Declaration\n", "RL=1 #load resistance in kOhm\n", "#rf<1.5mW)\")\n", "print(\"Hence Photourrent can not be calculated.\")" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "(i)\n", "Power of incident light 1mW, Photocurrent in mA is :0.90\n", "\n", "(ii)\n", "Here IP is not proportional to Pop(for Pop>1.5mW)\n", "Hence Photourrent can not be calculated.\n" ] } ], "prompt_number": 74 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 1.14, Page No. 39" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Responsivity of InGaAs photodiode\n", "import math\n", "#variable declaration\n", "ETA=70.0 #in %\n", "Eg=0.75 #in eV\n", "Eg=Eg*1.6*10**-19 #in Joule\n", "h=6.63*10**-34 #Planks constant in J-s\n", "c=3*10**8 #speed of light in m/s\n", "e=1.6*10**-19 #in coulamb\n", "\n", "#Calcualtions\n", "lambda1=h*c/Eg #in meter\n", "R=(ETA/100)*e*lambda1/(h*c) #in A/W\n", "\n", "#Result\n", "print(\"Wavelength in nm :%.1f\"%(lambda1*10**9))\n", "print(\"Responsivity of InGaAs photodiode in A/W :%.3f\"%R)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Wavelength in nm :1657.5\n", "Responsivity of InGaAs photodiode in A/W :0.933\n" ] } ], "prompt_number": 78 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 1.15, Page No. 41" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Equilibrium contact potential\n", "import math\n", "#variable declaration\n", "W1=2.5 #in eV\n", "W2=1.9 #in eV\n", "\n", "#Calculation\n", "ContactPotential=W1-W2 #in Volt\n", "\n", "#Result\n", "print(\"Contact potential in Volts :%.1f \"%ContactPotential)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Contact potential in Volts :0.6 \n" ] } ], "prompt_number": 80 } ], "metadata": {} } ] }