diff options
Diffstat (limited to 'Electronic_Principles_/Chapter_7_New.ipynb')
-rw-r--r-- | Electronic_Principles_/Chapter_7_New.ipynb | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/Electronic_Principles_/Chapter_7_New.ipynb b/Electronic_Principles_/Chapter_7_New.ipynb index 5f237c0c..bf956ac7 100644 --- a/Electronic_Principles_/Chapter_7_New.ipynb +++ b/Electronic_Principles_/Chapter_7_New.ipynb @@ -27,18 +27,13 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.1.py\n",
- "#Find saturation current and the cutoff voltage in Figure 7-4a.\n",
"\n",
- "#Variable declaration\n",
"VCC=30 #collector voltage(V)\n",
"RC=3 #Collector resistance (KOhm)\n",
"\n",
- "#Calculation\n",
"ICsat=VCC/RC #Saturation current(mA)\n",
"VCEc=VCC #VCE cutoff voltage(V)\n",
"\n",
- "#Result\n",
"print 'Saturation current IC(saturation) = ',ICsat,'mA'\n",
"print 'Collector emitter cutoff VCE(cutoff) = ',VCEc,'V'"
],
@@ -68,18 +63,13 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.2.py\n",
- "#What are the saturation current and the cutoff voltage in Figure 7-4b? \n",
"\n",
- "#Variable declaration\n",
"VCC=9 #collector voltage(V)\n",
"RC=3 #Collector resistance(KOhm)\n",
"\n",
- "#Calculation\n",
"ICsat=VCC/RC #Saturation current(mA)\n",
"VCEc=VCC #VCE cutoff voltage(V)\n",
"\n",
- "#Result\n",
"print 'Saturation current IC(saturation) = ',ICsat,'mA'\n",
"print 'Collector emitter cutoff VCE(cutoff) = ',VCEc,'V'"
],
@@ -109,18 +99,13 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.3.py\n",
- "#What are the saturation current and the cutoff voltage in Figure 7-5a? \n",
"\n",
- "#Variable declaration\n",
"VCC=15 #collector voltage(V)\n",
"RC=1 #Collector resistance(KOhm)\n",
"\n",
- "#Calculation\n",
"ICsat=VCC/RC #Saturation current(mA)\n",
"VCEc=VCC #VCE cutoff voltage(V)\n",
"\n",
- "#Result\n",
"print 'Saturation current IC(saturation) = ',ICsat,'mA'\n",
"print 'Collector emitter cutoff VCE(cutoff) = ',VCEc,'V'"
],
@@ -150,18 +135,13 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.4.py\n",
- "#What are the saturation current and the cutoff voltage in Figure 7-5b? \n",
"\n",
- "#Variable declaration\n",
"VCC=15 #collector voltage(V)\n",
"RC=3 #Collector resistance(KOhm)\n",
"\n",
- "#Calculation\n",
"ICsat=VCC/RC #Saturation current(mA)\n",
"VCEc=VCC #VCE cutoff voltage(V)\n",
"\n",
- "#Result\n",
"print 'Saturation current IC(saturation) = ',ICsat,'mA'\n",
"print 'Collector emitter cutoff VCE(cutoff) = ',VCEc,'V'"
],
@@ -191,27 +171,21 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.5.py\n",
- "#Base resistance is increased to 1MOhm. What happens to the collector-emitter voltage if Bdc is 100?\n",
"\n",
- "#Variable declaration\n",
"VCC=15.0 #collector voltage(V)\n",
"RC=3 #collector resistance (KOhm)\n",
"VBB=15.0 #base voltage(V)\n",
"RB=1 #base resistance (MOhm)\n",
"Bdc=100 #current gain\n",
"\n",
- "#Calculation\n",
"IB1=(VBB/RB) #base current(uA)\n",
"IC1=Bdc*IB1/1000 #Collector current(mA)\n",
"VCE1=VCC-(IC1*RC) #Collector-emitter voltage(V)\n",
"\n",
- "#second approx. calculation\n",
"IB2=((VBB-0.7)/RB) #base current(uA)\n",
"IC2=Bdc*IB2/1000 #Collector current(mA)\n",
"VCE2=VCC-(IC2*RC) #Collector-emitter voltage(V)\n",
"\n",
- "#Result\n",
"print 'Collector emitter voltage VCE1 = ',VCE1,'V'\n",
"print 'For second approx., collector emitter voltage VCE2 = ',VCE2,'V'"
],
@@ -241,23 +215,17 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.6.py\n",
- "#Base resistance of figure 7-7a is increased to 1MOhm. \n",
- "#Is the saturation still saturated?\n",
"\n",
- "#Variable declaration\n",
"VCC=20.0 #collector voltage(V)\n",
"RC=10 #collector resistance (KOhm)\n",
"VBB=10.0 #base voltage(V)\n",
"RB=1 #base resistance (MOhm)\n",
"Bdc=50 #current gain\n",
"\n",
- "#Calculation\n",
"IB=(VBB/RB) #base current(uA)\n",
"IC=Bdc*IB/1000 #Collector current(mA)\n",
"VCE=VCC-(IC*RC) #Collector-emitter voltage(V)\n",
"\n",
- "#Result\n",
"print 'Collector emitter voltage VCE = ',VCE,'V'\n",
"print 'So, transistor is in active region.'"
],
@@ -287,17 +255,13 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.7.py\n",
- "#Collector resistance of figure 7-7a is decreased to 5KOhm. Does the transistor remain in the saturation region?\n",
"\n",
- "#Variable declaration\n",
"VCC=20.0 #collector voltage(V)\n",
"RC=5 #collector resistance (KOhm)\n",
"VBB=10.0 #base voltage(V)\n",
"RB=100 #base resistance(KOhm)\n",
"Bdco=50 #old current gain\n",
"\n",
- "#Calculation\n",
"ICsat=VCC/RC #Saturation current(mA)\n",
"IB=VBB/RB #base current(mA)\n",
"IC=Bdc*IB/1000 #Collector current(mA)\n",
@@ -305,7 +269,6 @@ "Bdcn=ICsat/IB #New current gain\n",
" \n",
"\n",
- "#Result\n",
"print 'ICsat = ',ICsat,'mA'\n",
"print 'Bdc = ',int(Bdcn)\n",
"print 'Current can not be more than ICsat So, current gain will decrease.'\n",
@@ -339,11 +302,7 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.8.py\n",
- "#VCC is decreased to 5V. What are the two values of the output voltage?\n",
- "#If VCE(sat) is 0.15 V and ICEO is 50 nA, What are two values of the output voltage?\n",
"\n",
- "#Variable declaration\n",
"VCC=5.0 #collector voltage(V)\n",
"ICEO=50 #Collector leakage current(nA)\n",
"RC=1 #collector resistance (KOhm)\n",
@@ -351,10 +310,8 @@ "RB=10 #base resistance(KOhm)\n",
"VCEs=0.15 #VCE saturation(V)\n",
"\n",
- "#Calculation\n",
"VCE=VCC-((ICEO*RC)*10**-6) #Collector-emitter voltage(V)\n",
"\n",
- "#Result\n",
"print 'Two values of output voltage are 0 and 5 V'\n",
"print 'first voltage is voltage across saturated transistor = ',VCEs,'V' \n",
"print 'Second voltage is: VCE = ',round(VCE,2),'V'"
@@ -386,10 +343,7 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.9.py\n",
- "#What is the VC & VCE in figure 7-11?\n",
"\n",
- "#Variable declaration\n",
"VCC=15 #collector voltage(V)\n",
"VBB=5 #Base voltage(V)\n",
"RC=2 #collector resistance (KOhm)\n",
@@ -398,7 +352,6 @@ "RE=1 #emitter resistance(KOhm)\n",
"\n",
"\n",
- "#Calculation\n",
"VE=VBB-VBE #Emitter voltage(V)\n",
"IE=(VE/RE) #emitter current(mA)\n",
"IC=IE #Collector current(mA)\n",
@@ -406,7 +359,6 @@ "VCE=VC-VE #Collector-emitter voltage(V)\n",
" \n",
"\n",
- "#Result\n",
"print 'Emitter current IE = ',IE,'mA'\n",
"print 'Emitter voltage VE = ',VE,'V'\n",
"print 'Collector emitter voltage VCE = ',VCE,'V'"
@@ -438,22 +390,17 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 7.10.py\n",
- "#We want 25 mA of LED current when the switch is closed in figure 7-12b. How can we do it?\n",
"\n",
- "#Variable declaration\n",
"VCC=20 #collector voltage(V)\n",
"VBB=15 #Base voltage(V)\n",
"VBE=0.7 #base voltage(V)\n",
"RE=1.5 #emitter resistance(KOhm)\n",
"IE=25.0 #emitter current(mA)\n",
"\n",
- "#Calculation\n",
"VE=IE*RE #emitter current(mA)\n",
"RE=(VBB/IE)*1000 #emitter resistance(KOhm)\n",
"RE2=((VBB-VBE)/IE)*1000 #emitter resistance(KOhm)\n",
" \n",
- "#Result\n",
"print 'Emitter voltage VE = ',VE,'V'\n",
"print 'Emitter resistance RE = ',RE,'Ohm'\n",
"print 'Emitter resistance RE2 = ',RE2,'Ohm'"
|