{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter 6: Field Effect Transistors and MOSFETs" ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 6.1, Page No.219" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Value of Transconductance\n", "import math\n", "#variable declaration\n", "VGS1=-3.1 #in Volt\n", "VGS2=-3 #in Volt\n", "ID1=1 #in mA\n", "ID2=1.3 #in mA\n", "\n", "#calculations\n", "delVGS=VGS2-VGS1 #in Volts\n", "delID=ID2-ID1 #in mA\n", "gm=delID*10**-3/delVGS #in mhos\n", "\n", "#Result\n", "print(\"Transconductance in mhos : %.3f\"%gm)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Transconductance in mhos : 0.003\n" ] } ], "prompt_number": 8 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 6.2, Page No.219" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#AC drain resistance transconductance and amplification factor\n", "import math\n", "#variable declaration\n", "VGS1=0 #in Volt\n", "VGS2=0 #in Volt\n", "VGS3=-0.2 #in Volt\n", "VDS1=7 #in Volt\n", "VDS2=15 #in Volt\n", "VDS3=15 #in Volt\n", "ID1=10 #in mA\n", "ID2=10.25 #in mA\n", "ID3=9.65 #in mA\n", "\n", "#Calculations\n", "delVDS=VDS2-VDS1 #in Volts\n", "delID=ID2-ID1 #in mA\n", "rd=delVDS/delID #in Kohm\n", "delVGS=VGS3-VGS2 #in Volts\n", "delID=ID3-ID2 #in mA\n", "gm=delID*10**-3/delVGS #in mhos\n", "mu=rd*10**3*gm #unitless\n", "\n", "\n", "#Result \n", "print(\"AC drain resistance in Kohm : %.0f\"%rd)\n", "print(\"Transconductance in mhos : %.3f\"%gm)\n", "print(\"Amplification factor : %.0f\"%mu)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "AC drain resistance in Kohm : 32\n", "Transconductance in mhos : 0.003\n", "Amplification factor : 96\n" ] } ], "prompt_number": 9 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 6.5, Pae No.224" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Voltage Amplification\n", "import math\n", "#variable declaration\n", "gm=2 #in milli-mho\n", "RL=10 #in Kohm\n", "\n", "#calculation\n", "Av=gm*10**-3*RL*10**3 #unitless\n", "\n", "#Result\n", "print(\"assuming rd>>RL\")\n", "print(\"Voltage amplification : %.0f\"%Av)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "assuming rd>>RL\n", "Voltage amplification : 20\n" ] } ], "prompt_number": 10 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 6.6, Page No.224" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Output voltage of amplifier\n", "import math\n", "\n", "#Variable declaration\n", "RL=20.0 #in Kohm\n", "RS=1.0 #in Kohm\n", "RG=1.0 #in Mohm\n", "Cs=25.0*10**-6 #in uF\n", "mu=20.0 #unitless\n", "rd=100.0 #in Kohm\n", "Vs=2.0 #in Volt\n", "f=1.0*10**3 #in KHz\n", "\n", "#Calculations\n", "Xc=1/(2*math.pi*f*Cs) #in Ohm\n", "Av=mu*RL/(rd+RL) #unitless\n", "Vo=Av*Vs #in Volt\n", "\n", "#Result\n", "print(\"Xc in Ohm : %.1f\"%(math.floor(Xc*10)/10))\n", "print(\"As Xc<" ] } ], "prompt_number": 15 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "example 6.11, Page No.234" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Channel width W\n", "import math\n", "#variable declaration\n", "L=1.25 #in um\n", "mu_n=0.065 #in m^2/V-s\n", "Cox=6.9*10**-4 #in F/m^2\n", "VT=0.65 #in Volt\n", "ID_sat=4 #in mA\n", "VGS=5 #in Volt\n", "\n", "#calculations\n", "\n", "#Formula : ID_sat=W*mu_n*Cox*(VGS-VT)^2/(2*L)\n", "W=ID_sat*10**-3*2*L*10**-6/(mu_n*Cox*(VGS-VT)**2)\n", "\n", "#Result\n", "print(\"Channel Width in micro meter :%.1f\"%(W*10**6))" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Channel Width in micro meter :11.8\n" ] } ], "prompt_number": 16 } ], "metadata": {} } ] }