diff options
Diffstat (limited to 'Electronic_Principles_/Chapter_12_New.ipynb')
-rw-r--r-- | Electronic_Principles_/Chapter_12_New.ipynb | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/Electronic_Principles_/Chapter_12_New.ipynb b/Electronic_Principles_/Chapter_12_New.ipynb index 268348c4..9f88647a 100644 --- a/Electronic_Principles_/Chapter_12_New.ipynb +++ b/Electronic_Principles_/Chapter_12_New.ipynb @@ -27,12 +27,9 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.1.py\n",
- "#What are the values of ICQ,VCEQ,rc in figure 12-7?\n",
"\n",
"import math # This will import math module\n",
"\n",
- "#Variable declaration\n",
"VCC=30 #collector voltage(V)\n",
"RE=20 #Emitter resistance(Ohm)\n",
"R1=490.0 #Base resistance1 (Ohm)\n",
@@ -41,7 +38,6 @@ "RL=180 #Load Resistance(Ohm)\n",
"RC=120 #Collector resistance(Ohm)\n",
"\n",
- "#Calculation\n",
"VB=VCC*(R2/(R1+R2)) #Base voltage(V)\n",
"VE=math.ceil(VB-VBE) #Emitter voltage(V)\n",
"IE=VE/RE #Emitter current(A)\n",
@@ -50,7 +46,6 @@ "VCEQ=VC-VE #collector-emitter voltage (V) \n",
"rc=RC*RL/(RC+RL) #ac collector resistance(Ohm)\n",
"\n",
- "#Result\n",
"print 'Collector current ICQ = ',ICQ*1000,'mA'\n",
"print 'collector-emitter voltage VCEQ = ',VCEQ,'V'\n",
"print 'ac collector resistance rc = ',rc,'Ohm'"
@@ -82,10 +77,7 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.2.py\n",
- "#Determine the ac load line saturation and cutoff points in figure 12-7 & find MPP output voltage. \n",
"\n",
- "#Variable declaration\n",
"\n",
"VCC=30 #collector voltage(V)\n",
"RE=20 #Emitter resistance(Ohm)\n",
@@ -95,19 +87,16 @@ "RL=180 #Load Resistance(Ohm)\n",
"RC=120 #Collector resistance(Ohm)\n",
"\n",
- "#values from previous example,\n",
"ICQ=150 #collector current (mA)\n",
"VCEQ=9 #collector-emitter voltage (V) \n",
"rc=72.0 #ac collector resistance(Ohm)\n",
"\n",
- "#Calculation\n",
"ic_sat=ICQ+(VCEQ/rc)*1000 #ic(sarturation) (mA)\n",
"VCE_cut=VCEQ+((ICQ*rc)/1000) #VCE(cut-off) (V)\n",
"MP1=ICQ*RC\n",
"MP2=VCEQ\n",
"MPP=2*(min(MP1,MP2)) #maximum peak-to-peak voltage (V)\n",
"\n",
- "#Result\n",
"print 'ic(sarturation) = ',ic_sat,'mA'\n",
"print 'VCE(cut-off) = ',VCE_cut,'V'\n",
"print 'maximum peak-to-peak voltage MPP = ',MPP,'V'"
@@ -139,12 +128,9 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.3.py\n",
- "#If Vpp is 18V and the input impedance of base is 100 Ohm, what is power gain in figure 12-9a?\n",
"\n",
"import math # This will import math module\n",
"\n",
- "#Variable declaration\n",
"VCC=30 #collector voltage(V)\n",
"RE=20 #Emitter resistance(Ohm)\n",
"R1=490.0 #Base resistance1 (Ohm)\n",
@@ -156,13 +142,11 @@ "zin=100 #input impedance of base(Ohm)\n",
"MPP=18 #peak-to-peak voltage (V)\n",
"\n",
- "#Calculation\n",
"Zin_stage=((zin**-1)+(R1**-1)+(R2**-1))**-1 #input impedance of stage(KOhm)\n",
"Pin=vin**2/(Zin_stage*8)/1000 #ac input power (mW)\n",
"Pout=1000*MPP**2/(RL*8) #ac output power (mW)\n",
"Ap=Pout/Pin #power gain\n",
"\n",
- "#Result\n",
"print 'Power gain Ap = ',math.ceil(Ap)"
],
"language": "python",
@@ -190,12 +174,9 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.4.py\n",
- "#What is the transistor power dissipation and efficiency in figure 12-9a?\n",
"\n",
"import math # This will import math module\n",
"\n",
- "#Variable declaration\n",
"VCC=30 #collector voltage(V)\n",
"RE=20 #Emitter resistance(Ohm)\n",
"R1=490.0 #Base resistance1 (Ohm)\n",
@@ -204,7 +185,6 @@ "RL=180 #Load Resistance(Ohm)\n",
"RC=120 #Collector resistance(Ohm)\n",
"\n",
- "#Calculation\n",
"VB=VCC*(R2/(R1+R2)) #Base voltage(V)\n",
"VE=math.ceil(VB-VBE) #Emitter voltage(V)\n",
"IE=VE/RE #Emitter current(A)\n",
@@ -218,7 +198,6 @@ "Pout=0.225 #Output power as per example 12-3 (W)\n",
"n=(Pout/Pdc)*100 #efficiency of stage\n",
"\n",
- "#Result\n",
"print 'Power dissipation PDQ = ',PDQ,'W'\n",
"print 'efficiency of stage n = ',round(n,2),'%'"
],
@@ -248,10 +227,7 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.6.py\n",
- "#What are the values of ICQ,VCEQ,rc in figure 12-13?\n",
"\n",
- "#Variable declaration\n",
"VCC=12 #collector voltage(V)\n",
"RE=16 #Emitter resistance(Ohm)\n",
"R1=50.0 #Base resistance1 (Ohm)\n",
@@ -259,7 +235,6 @@ "VBE=0.7 #Base-emitter voltage drop(V)\n",
"RL=16 #Load Resistance(Ohm)\n",
"\n",
- "#Calculation\n",
"VB=VCC*(R2/(R1+R2)) #Base voltage(V)\n",
"VE=(VB-VBE) #Emitter voltage(V)\n",
"IE=VE/RE #Emitter current(A)\n",
@@ -267,7 +242,6 @@ "VCEQ=VCC-VE #collector-emitter voltage (V) \n",
"re=RE*RL/(RE+RL) #ac emitter resistance(Ohm)\n",
"\n",
- "#Result\n",
"print 'Collector current ICQ = ',ICQ*1000,'mA'\n",
"print 'collector-emitter voltage VCEQ = ',VCEQ,'V'\n",
"print 'ac collector resistance re = ',re,'Ohm'"
@@ -299,10 +273,7 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.7.py\n",
- "#Determine the ac saturation and cutoff points in figure 12-13 & find the circuit's MPP output voltage. \n",
"\n",
- "#Variable declaration\n",
"VCC=12 #collector voltage(V)\n",
"RE=16 #Emitter resistance(Ohm)\n",
"R1=50.0 #Base resistance1 (Ohm)\n",
@@ -310,19 +281,16 @@ "VBE=0.7 #Base-emitter voltage drop(V)\n",
"RL=16 #Load Resistance(Ohm)\n",
"\n",
- "#values from previous example,\n",
"ICQ=456 #collector current (mA)\n",
"VCEQ=4.7 #collector-emitter voltage (V) \n",
"re=8.0 #ac emitter resistance(Ohm)\n",
"\n",
- "#Calculation\n",
"ic_sat=(1000*(VCEQ/re))+ICQ #ic(sarturation) (mA)\n",
"VCE_cut=VCEQ+(ICQ*re)/1000 #VCE(cut-off) (V)\n",
"MP1=ICQ*re/1000\n",
"MP2=VCEQ\n",
"MPP=2*(min(MP1,MP2)) #maximum peak-to-peak voltage (V)\n",
"\n",
- "#Result\n",
"print 'ic(sarturation) = ',ic_sat/1000,'A'\n",
"print 'VCE(cut-off) = ',VCE_cut,'V'\n",
"print 'maximum peak-to-peak voltage MPP = ',MPP,'V'"
@@ -354,22 +322,17 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.8.py\n",
- "#What is the max transistor power dissipation & max output power?\n",
"\n",
- "#Variable declaration\n",
"VCC=20 #collector voltage(V)\n",
"R1=100.0 #Base resistance1 (Ohm)\n",
"R2=100.0 #Base resistance2 (Ohm)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"RL=8.0 #Load Resistance(Ohm)\n",
"\n",
- "#Calculation\n",
"MPP=VCC #maximum peak-to-peak voltage (V)\n",
"PD_max=MPP**2/(40*RL) #Maximum power dissipation(W)\n",
"Pout_max=MPP**2/(8*RL) #Maximum output power(W)\n",
"\n",
- "#Result\n",
"print 'Maximum power dissipation PD_max = ',PD_max,'W'\n",
"print 'Maximum output power Pout_max = ',Pout_max,'W'"
],
@@ -399,12 +362,9 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.9.py\n",
- "#If the adjustabe resistor is 15 Ohm, what is the efficiency in preceding example?\n",
"\n",
"import math\n",
"\n",
- "#Variable declaration\n",
"VCC=20 #collector voltage(V)\n",
"R1=100.0 #Base resistance1 (Ohm)\n",
"R2=100.0 #Base resistance2 (Ohm)\n",
@@ -412,7 +372,6 @@ "RL=8.0 #Load Resistance(Ohm)\n",
"Ra=15 #adjustable resistor(Ohm)\n",
"\n",
- "#Calculation\n",
"VCEQ=VCC/2 #collector-emitter voltage (V) \n",
"I_bias=VCC/(R1+R2+Ra) #bias current(mA)\n",
"Ic_sat=VCEQ/RL #ic(sarturation) (mA)\n",
@@ -423,7 +382,6 @@ "n=(Pout/Pdc)*100 #efficiency of stage\n",
"\n",
"\n",
- "#Result\n",
"print 'efficiency of stage n = ',round(n,2),'%'"
],
"language": "python",
@@ -451,17 +409,13 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.10.py\n",
- "#What is the ICQ in figure 12-22 & maximum efficiency of the amplifier?\n",
"\n",
- "#Variable declaration\n",
"VCC=20 #collector voltage(V)\n",
"R1=3.9 #Base resistance1 (KOhm)\n",
"R2=3.9 #Base resistance2 (KOhm)\n",
"VBE=0.7 #Base-emitter voltage drop(V)\n",
"RL=10.0 #Load Resistance(Ohm)\n",
"\n",
- "#Calculation\n",
"VCEQ=VCC/2 #collector-emitter voltage (V) \n",
"I_bias=(VCC-(2*VBE))/(R1+R2) #bias current(mA)\n",
"Ic_sat=VCEQ/RL #ic(sarturation) (mA)\n",
@@ -471,7 +425,6 @@ "Pout=VCC**2/(8*RL) #Output power (W)\n",
"n=(Pout/Pdc)*100 #efficiency of stage\n",
"\n",
- "#Result\n",
"print 'efficiency of stage n = ',round(n,2),'%'"
],
"language": "python",
@@ -499,18 +452,13 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.11.py\n",
- "#Describe the action of figure 12-27?\n",
"import math\n",
"\n",
- "#Variable declaration\n",
"L=2*10**-6 #inductance (H)\n",
"C=470*10**-12 #capacitance(F)\n",
"\n",
- "#Calculation\n",
"fr=((2*math.pi)*((L*C)**0.5))**-1\n",
"\n",
- "#Result\n",
"print 'Resonant frequency fr = ',round((fr*10**-6),2),'MHz'"
],
"language": "python",
@@ -538,25 +486,20 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.12.py\n",
- "#If QL is 100 in figure 12-33, what is the band width of amplifier?\n",
"import math\n",
"\n",
- "#Variable declaration\n",
"fr=5.19*10**6 #frequency as per previous example(Hz)\n",
"L=2*10**-6 #inductance (H)\n",
"C=470*10**-12 #capacitance(F)\n",
"QL=100 #quality factor of coil\n",
"RL=1 #Load resistance(KOhm)\n",
"\n",
- "#Calculation\n",
"XL=2*math.pi*fr*L #inductive impedance(Ohm)\n",
"Rp=QL*XL/1000 #Eq. parallel resistance of coil(KOhm)\n",
"rc=1000*Rp*RL/(Rp+RL) #ac collector resistance(Ohm)\n",
"Q=rc/XL #Q of overall circuit\n",
"BW=(fr/Q/1000) #band width of amplifier(KHz)\n",
"\n",
- "#Result\n",
"print 'band width of amplifier BW = ',round(BW,2),'KHz'"
],
"language": "python",
@@ -584,20 +527,15 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.13.py\n",
- "#In figure 12-33a, what is the worst-case power dissipation?\n",
"\n",
"import math # This will import math module\n",
"\n",
- "#Variable declaration\n",
"VCC=15 #collector voltage(V)\n",
"rc=867.0 #ac collector resistance as per preceding example (Ohm)\n",
"\n",
- "#Calculation\n",
"MPP=2*VCC #Maximum peak-to-peak voltage(V)\n",
"PD=1000*MPP**2/(40*rc) #worst-case power dissipation(mW)\n",
"\n",
- "#Result\n",
"print 'Worst-case power dissipation PD = ',math.ceil(PD),'mW'"
],
"language": "python",
@@ -625,20 +563,14 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "#Example 12.14.py\n",
- "#In circuit of figure 12-37 is to operate over range of 0 to 50 deg C. \n",
- "#Find the maximum power rating of the transistor for the worst-case temperature.\n",
"\n",
- "#Variable declaration\n",
"PD=625 #maximum power rating at 25 deg C(mW)\n",
"D=5 #Derating factor(mW/deg C)\n",
"TA=50 #ambient temperature(deg C)\n",
"\n",
- "#Calculation\n",
"DP=D*(TA-25) #difference in power(mW) \n",
"PD_max=PD-DP #maximum power rating(mW)\n",
"\n",
- "#Result\n",
"print 'Maximum power rating PD_max = ',PD_max,'mW'"
],
"language": "python",
|