summaryrefslogtreecommitdiff
path: root/Electronic_Principles_/Chapter_13_New.ipynb
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Electronic_Principles_/Chapter_13_New.ipynb
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
downloadPython-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.gz
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.bz2
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.zip
removing problem statements
Diffstat (limited to 'Electronic_Principles_/Chapter_13_New.ipynb')
-rw-r--r--Electronic_Principles_/Chapter_13_New.ipynb104
1 files changed, 0 insertions, 104 deletions
diff --git a/Electronic_Principles_/Chapter_13_New.ipynb b/Electronic_Principles_/Chapter_13_New.ipynb
index 00c96741..2b92ce1a 100644
--- a/Electronic_Principles_/Chapter_13_New.ipynb
+++ b/Electronic_Principles_/Chapter_13_New.ipynb
@@ -27,17 +27,12 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.1.py\n",
- "#JFET gate current is 1nA when the reverse gate voltage is 20 V. What is the Rin of this JFET?\n",
"\n",
- "#Variable declaration\n",
"VG=20 #Gate voltage(V)\n",
"IG=1*10**-9 #Gate current(A) \n",
"\n",
- "#Calculation\n",
"Rin=VG/IG #input resistance(Ohm)\n",
"\n",
- "#Result\n",
"print 'input resistance of JFET Rin = ',Rin/10**6,'MOhm'"
],
"language": "python",
@@ -65,18 +60,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.2.py\n",
- "#Vp=6V and IDSS=100 mA. What is the ohmic resistance & gate-source cutoff voltage?\n",
"\n",
- "#Variable declaration\n",
"Vp=6 #Pinch off voltage(V)\n",
"IDSS=100*10**-3 #current drain to source with shorted gate(A)\n",
"\n",
- "#Calculation\n",
"RDS=Vp/IDSS #Ohmic resistance(Ohm)\n",
"VGS_off=-Vp #gate-source cutoff voltage(V)\n",
"\n",
- "#Result\n",
"print 'Ohmic resistance RDS = ',RDS,'Ohm'\n",
"print 'Gate-source cutoff VGS(off) = ',VGS_off,'V'"
],
@@ -106,19 +96,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.3.py\n",
- "#VGS(off)=-4V and IDSS=5mA\n",
- "#Find VG & ID at the half cutoff point.\n",
"\n",
- "#Variable declaration\n",
"VGS_off=-4 #gate-source cutoff voltage(V)\n",
"IDSS=5 #current drain to source with shorted gate(mA)\n",
"\n",
- "#Calculation\n",
"VGS=VGS_off/2 #gate voltage(V)\n",
"ID=IDSS/4.0 #drain current(mA)\n",
"\n",
- "#Result\n",
"print 'Gate voltage VGS = ',VGS,'V'\n",
"print 'Drain current ID = ',ID,'mA'"
],
@@ -148,19 +132,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.4.py\n",
- "#VGS(off)=-8V and IDSS=16mA\n",
- "#What are VG & ID at the half cutoff point?\n",
"\n",
- "#Variable declaration\n",
"VGS_off=-8 #gate-source cutoff voltage(V)\n",
"IDSS=16 #current drain to source with shorted gate(mA)\n",
"\n",
- "#Calculation\n",
"VGS=VGS_off/2 #gate voltage(V)\n",
"ID=IDSS/4.0 #drain current(mA)\n",
"\n",
- "#Result\n",
"print 'Gate voltage VGS = ',VGS,'V'\n",
"print 'Drain current ID = ',ID,'mA'"
],
@@ -190,26 +168,19 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.5.py\n",
- "#What is the VD in figure 13-8a?\n",
"\n",
- "#Variable declaration\n",
"Vp=4 #pinchoff voltage(V)\n",
"Vin=-10 #input voltage(V)\n",
"RD=10.0 #drain resistor(KOhm)\n",
"IDSS=10.0 #IDSS (mA)\n",
"VDD=10.0 #Drain supply voltage(V)\n",
"\n",
- "#Calculation\n",
- "#Befor point A,\n",
"VGS_off=-Vp #VGS cutoff voltage(V)\n",
"VD=-Vin #drain voltage(V)\n",
- "#Between point A&B,\n",
"ID_sat=VD/RD #saturation drain current(mA)\n",
"RDS=Vp/IDSS #Ohmic resistance(Ohm)\n",
"VD=VDD*RDS/(RDS+RD) #drain votage(V)\n",
"\n",
- "#Result\n",
"print 'Drain voltage VD = ',round(VD,2),'V'"
],
"language": "python",
@@ -237,22 +208,17 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.6.py\n",
- "#Find medium source resistance & VD.\n",
"\n",
- "#Variable declaration\n",
"Vp=4 #pinchoff voltage(V)\n",
"RD=2.0 #drain resistor(KOhm)\n",
"RS=400 #source resistance(Ohm)\n",
"IDSS=10.0 #IDSS (mA)\n",
"VDD=30.0 #Drain supply voltage(V)\n",
"\n",
- "#Calculation\n",
"RDS=1000*Vp/IDSS #Ohmic resistance(Ohm)\n",
"ID=IDSS/4.0 #drain current(mA)\n",
"VD=VDD-(ID*RD) #drain votage(V)\n",
"\n",
- "#Result\n",
"print 'Ohmic resistance RDS = ',RDS,'Ohm'\n",
"print 'drain voltage VD = ',VD,'V'"
],
@@ -282,16 +248,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.7.py \n",
- "#determine the range of VGS and ID Q point values, optimum source resistor.\n",
"\n",
- "#Variable declaration\n",
"IDSS=20 #IDSS (mA)\n",
"RS=270 #Source resistance (Ohm)\n",
"\n",
- "#Calculation\n",
"VGS=-IDSS*RS #gate-source voltage(V)\n",
- "#after drawing (0,0) and seond point,\n",
"VGSQ_min=-0.8 #Q point minimum gate-source voltage(V)\n",
"VGSQ_max=-2.1 #Q point maximum gate-source voltage(V)\n",
"IDQ_min=2.8 #Q point minimum drain current(V)\n",
@@ -303,7 +264,6 @@
"Rs_min=1000*VGS_off_min/ID_min #Minimum value for Rs(Ohm)\n",
"Rs_max=1000*VGS_off_max/ID_max #Maximum value for Rs(Ohm)\n",
"\n",
- "#Result\n",
"print 'Maximum value for Rs =',Rs_max,'Ohm'\n",
"print 'Minimum value for Rs =',Rs_min,'Ohm'\n",
"print 'Choose approximately mid point between these two.'"
@@ -335,23 +295,18 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.8.py\n",
- "#Draw the dc load line and Q point for figure 13-15a usng ideal methods.\n",
"\n",
- "#Variable declaration\n",
"VS=10 #source voltage (V)\n",
"RS=2.0 #source resistance(KOhm)\n",
"VDD=30 #Drain supply voltage (V)\n",
"RD=1.0 #Drain resistance(KOhm)\n",
"\n",
- "#Calculation\n",
"ID=VS/Rs #Drain current(mA)\n",
"VD=VDD-(ID*RD) #Drain voltage(V)\n",
"VDS=VD-VS #Drain to source voltage (V)\n",
"ID_sat=VDD/(RD+RS) #ID(dc-saturation) (mA)\n",
"VDS_cut=VDD #VDS(cutoff) (V)\n",
"\n",
- "#Result\n",
"print 'ID (saturation) = ',ID_sat,'mA'\n",
"print 'VDS (cutoff) = ',VDS_cut,'V'"
],
@@ -381,10 +336,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.9.py\n",
- "#Find minimum & maximum Q point for JFET.\n",
"\n",
- "#Variable declaration\n",
"IDSS=20 #IDSS (mA)\n",
"RS=270 #Source resistance (Ohm)\n",
"VDD=30 #Drain supply voltage (V)\n",
@@ -392,17 +344,14 @@
"R1=1*10**6 #Gate resistor1(Ohm) \n",
"R2=2*10**6 #Gate resistor2(Ohm) \n",
"\n",
- "#Calculation\n",
"VG=-VDD*R1/(R1+R2) #gate-source voltage(V)\n",
"ID=VG/RS #current for second point(mA)\n",
"\n",
- "#after drawing (0,0) and seond point,\n",
"VGSQ_min=-0.4 #Q point minimum gate-source voltage(V)\n",
"VGSQ_max=-2.4 #Q point maximum gate-source voltage(V)\n",
"IDQ_min=5.2 #Q point minimum drain current(V)\n",
"IDQ_max=6.3 #Q point maximum drain current(V)\n",
"\n",
- "#Result\n",
"print 'Maximum value for VGS =',VGSQ_max,'V'\n",
"print 'Minimum value for VGS =',VGSQ_min,'V'\n",
"print 'Maximum value for ID =',IDQ_max,'mA'\n",
@@ -436,19 +385,14 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.10.py\n",
- "#What is the ID & VD in figure 13-19a?\n",
"\n",
- "#Variable declaration\n",
"RS=3.0 #Source resistance (KOhm)\n",
"VDD=15 #Drain supply voltage (V)\n",
"RD=1.0 #Drain resistance(KOhm)\n",
"\n",
- "#Calculation\n",
"ID=VDD/RS #drain current(mA)\n",
"VD=VDD-(ID*RD) #drain voltage(V)\n",
"\n",
- "#Result\n",
"print 'Drain current ID = ',ID,'mA'\n",
"print 'Drain voltage VD = ',VD,'V'"
],
@@ -478,20 +422,15 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.11.py\n",
- "#In figure 13-19b, What is the VD & ID? \n",
"\n",
- "#Variable declaration\n",
"RS=2.0 #Source resistance (KOhm)\n",
"VDD=10 #Drain supply voltage (V)\n",
"RD=1.0 #Drain resistance(KOhm)\n",
"VBE=0.7 #BJT transistor drop(V)\n",
"\n",
- "#Calculation\n",
"ID=((VDD/2)-VBE)/RS #drain current(mA)\n",
"VD=VDD-(ID*RD) #drain voltage(V)\n",
"\n",
- "#Result\n",
"print 'Drain current ID = ',ID,'mA'\n",
"print 'Drain voltage VD = ',VD,'V'"
],
@@ -521,18 +460,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.12.py\n",
- "#IDSS=5mA and gm0=5000 uS, What is the value of VGS(off) and gm when VGS=-1V?\n",
"\n",
- "#Variable declaration\n",
"IDSS=5.0 #IDSS current (mA)\n",
"gm0=5000.0 #transconductance at VGS=0(uS)\n",
"VGS=-1.0 #VGS (V)\n",
- "#Calculation\n",
"VGS_off=1000*-2*IDSS/gm0 #VGS (off) (V)\n",
"gm=gm0*(1-(VGS/VGS_off)) #gm at VGS=-1V\n",
"\n",
- "#Result\n",
"print 'VGS (Off) = ',VGS_off,'V'\n",
"print 'gm = ',gm,'uS'"
],
@@ -562,21 +496,16 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.13.py\n",
- "#If gm=5000 uS in figure 13-23, what is the output voltage?\n",
"\n",
- "#Variable declaration\n",
"RD=3.6 #drain resistance(KOhm)\n",
"RL=10 #Load resistance(KOhm)\n",
"gm=5000 #transconductance (uS)\n",
"Vin=1 #input(mVpp)\n",
"\n",
- "#Calculation\n",
"rd=RD*RL/(RD+RL) #ac drain resistance(KOhm)\n",
"Av=gm*rd/1000 #voltage gain\n",
"Vout=Av*Vin #Output voltage(V)\n",
"\n",
- "#Result\n",
"print 'ac drain resistance rd = ',round(rd,2),'KOhm'\n",
"print 'voltage gain Av = ',round(Av,2)\n",
"print 'output voltage Vout = ',round(Vout,2),'mVpp'"
@@ -608,21 +537,16 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.14.py\n",
- "#If gm=2500 uS in figure 13-24, what is the output voltage of source follower?\n",
"\n",
- "#Variable declaration\n",
"RS=1.0 #source resistance(KOhm)\n",
"RL=1.0 #Load resistance(KOhm)\n",
"gm=2500.0*10**-6 #transconductance (S)\n",
"Vin=1 #input(mVpp)\n",
"\n",
- "#Calculation\n",
"rs=1000*RS*RL/(RS+RL) #ac source resistance(Ohm)\n",
"Av=gm*rs/(1+(gm*rs)) #voltage gain\n",
"Vout=Av*Vin #Output voltage(V)\n",
"\n",
- "#Result\n",
"print 'ac source resistance rs = ',round(rs,2),'Ohm'\n",
"print 'voltage gain Av = ',round(Av,2)\n",
"print 'output voltage Vout = ',round(Vout,2),'mVpp'"
@@ -654,23 +578,17 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.15.py\n",
- "#Figure 13-25 includes variable resistor of 1KOhm.\n",
- "#If this is adjusted to 780 Ohm, what is the voltage gain?\n",
"\n",
- "#Variable declaration\n",
"Ra=780 #Adjustaed resistance(Ohm)\n",
"RS1=220 #source resistance(Ohm)\n",
"VDD=30 #Drain supply voltage(V)\n",
"RL=3 #Load resistance(KOhm)\n",
"gm=2000.0*10**-6 #transconductance (S)\n",
"\n",
- "#Calculation\n",
"RS=(RS1+Ra)/1000 #total source resistance(KOhm)\n",
"rs=1000*RS*RL/(RS+RL) #ac source resistance(Ohm)\n",
"Av=gm*rs/(1+(gm*rs)) #voltage gain\n",
"\n",
- "#Result\n",
"print 'Ac source resistance rs = ',rs,'Ohm'\n",
"print 'voltage gain Av = ',Av"
],
@@ -700,10 +618,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.16.py\n",
- "#In figure 13-26, What is the ID & Av? \n",
"\n",
- "#Variable declaration\n",
"RS=2.2 #source resistance(Ohm)\n",
"VDD=30 #Drain supply voltage(V)\n",
"RL=3.3 #Load resistance(KOhm)\n",
@@ -711,13 +626,11 @@
"R1=2*10**-6 #Base resistor 1(Ohm)\n",
"R2=1*10**-6 #Base resistor 2(Ohm) \n",
"\n",
- "#Calculation\n",
"VD=VDD*(R2/(R1+R2)) #drain voltage(V)\n",
"ID=VD/RS #drain current(mA)\n",
"rs=1000*RS*RL/(RS+RL) #ac source resistance(Ohm)\n",
"Av=gm*rs/(1+(gm*rs)) #voltage gain\n",
"\n",
- "#Result\n",
"print 'Ac source resistance rs = ',rs/1000,'KOhm'\n",
"print 'voltage gain Av = ',round(Av,2)"
],
@@ -747,11 +660,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.17.py\n",
- "#A JFET shunt switch has RD = 10 KOhm, IDSS=10 mA, and VGS(Off)=-2V. If vin =10 mVpp, \n",
- "#what are output voltages & on-off ratio?\n",
"\n",
- "#Variable declaration\n",
"RD=10.0 #Drain resistance(KOhm)\n",
"R1=0.2 #resistance(KOhm)\n",
"IDSS=10.0 #IDSS current(mA)\n",
@@ -759,13 +668,11 @@
"gm=3500.0*10**-6 #transconductance (S)\n",
"Vin=10.0 #input voltage (mVpp)\n",
"\n",
- "#Calculation\n",
"RDS=-VGS_off/IDSS #Ohmic resistance(Ohm)\n",
"Vout_on=Vin*RDS/(RD+R1) #Output voltage when JFET is on(V)\n",
"Vout_off=Vin #Output voltage when JFET is off(V)\n",
"ratio=Vout_off/Vout_on #on-off ratio\n",
"\n",
- "#Result\n",
"print 'output voltage Vout = ',round(Vout_on,2),'mVpp'\n",
"print 'on-off ratio = ',ratio"
],
@@ -795,10 +702,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.18.py\n",
- "#What are output voltages? Resistance of 10 MOhm when JFET is off, What is the on-off ratio?\n",
"\n",
- "#Variable declaration\n",
"RD=10.0 #Drain resistance(KOhm)\n",
"R1=0.2 #resistance(KOhm)\n",
"R2=10*10**6 #resistance(Ohm)\n",
@@ -807,12 +711,10 @@
"gm=3500.0*10**-6 #transconductance (S)\n",
"Vin=10.0 #input voltage (mVpp)\n",
"\n",
- "#Calculation\n",
"Vout_on=Vin*(RD/(RD+R1)) #Output voltage when JFET is on(V)\n",
"Vout_off=Vin*(RD/R2) #Output voltage when JFET is off(V)\n",
"ratio=Vout_on/Vout_off/1000 #on-off ratio\n",
"\n",
- "#Result\n",
"print 'output voltage Vout when on = ',round(Vout_on,2),'mVpp'\n",
"print 'output voltage Vout when off = ',Vout_off*10**6,'uVpp'\n",
"print 'on-off ratio = ',round(ratio,2)"
@@ -844,20 +746,14 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 13.19.py\n",
- "#The square wave on the gate has frequency of 20KHz. what is frequency of the chopped output?\n",
- "#If RDS = 50 Ohm, what is the peak value of chopped output?\n",
"\n",
- "#Variable declaration\n",
"fout=20 #frequency(KHz)\n",
"RDS=50.0 #Ohmic resistance(Ohm)\n",
"RL=10*10**3 #Load resistance(Ohm)\n",
"Vin=100 #input voltage (mV)\n",
"\n",
- "#Calculation\n",
"Vpeak=Vin*RL/(RL+RDS) #peak voltage(V)\n",
"\n",
- "#Result\n",
"print 'Outout Vpeak = ',round(Vpeak,2),'mV'"
],
"language": "python",