diff options
author | Trupti Kini | 2016-04-05 23:30:25 +0600 |
---|---|---|
committer | Trupti Kini | 2016-04-05 23:30:25 +0600 |
commit | 5053d9fe204ad6a279c6f75abe0d4ec47707c3ad (patch) | |
tree | 4d9729f61b1db671e4369ddf271bbd75f5d278a9 /Electronic_Communication_by_D._Roddy/Chapter1_Passive_Circuits.ipynb | |
parent | e254cd17a0f1a3444e69e8de66a0d87f056c29df (diff) | |
download | Python-Textbook-Companions-5053d9fe204ad6a279c6f75abe0d4ec47707c3ad.tar.gz Python-Textbook-Companions-5053d9fe204ad6a279c6f75abe0d4ec47707c3ad.tar.bz2 Python-Textbook-Companions-5053d9fe204ad6a279c6f75abe0d4ec47707c3ad.zip |
Added(A)/Deleted(D) following books
A Electronic_Communication_by_D._Roddy/Chapter10_Angle_Modulation.ipynb
A Electronic_Communication_by_D._Roddy/Chapter11_Pulse_Modulation.ipynb
A Electronic_Communication_by_D._Roddy/Chapter12_Digital_Communications.ipynb
A Electronic_Communication_by_D._Roddy/Chapter13_Transmission_Lines_And_Cables.ipynb
A Electronic_Communication_by_D._Roddy/Chapter14_WaveGuides.ipynb
A Electronic_Communication_by_D._Roddy/Chapter15_Radio_Wave_Propogation.ipynb
A Electronic_Communication_by_D._Roddy/Chapter16_Antennas.ipynb
A Electronic_Communication_by_D._Roddy/Chapter17_Telephone_Systems.ipynb
A Electronic_Communication_by_D._Roddy/Chapter18_Fascimile_and_Television.ipynb
A Electronic_Communication_by_D._Roddy/Chapter19_Satellite_Communications.ipynb
A Electronic_Communication_by_D._Roddy/Chapter1_Passive_Circuits.ipynb
A Electronic_Communication_by_D._Roddy/Chapter20_Fibre_Optic_Communication.ipynb
A Electronic_Communication_by_D._Roddy/Chapter2_Waveform_Spectra.ipynb
A Electronic_Communication_by_D._Roddy/Chapter4_Noise.ipynb
A Electronic_Communication_by_D._Roddy/Chapter5_Tuned_Small_Signal_Amplifiers,_Mixers_and_Active_Filters.ipynb
A Electronic_Communication_by_D._Roddy/Chapter6_Oscillators.ipynb
A Electronic_Communication_by_D._Roddy/Chapter7_Receivers.ipynb
A Electronic_Communication_by_D._Roddy/Chapter8_Amplitude_Modulation.ipynb
A Electronic_Communication_by_D._Roddy/Chapter9_Single_Sideband_Modulation.ipynb
A Electronic_Communication_by_D._Roddy/screenshots/1.png
A Electronic_Communication_by_D._Roddy/screenshots/12.png
A Electronic_Communication_by_D._Roddy/screenshots/9.png
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter11_Control_of_DC_Motors_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter12_Controllers_and_Their_Optimisation_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter13_Choppers_and_Transportation_system_Application_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter15_The_AC_motor_control_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter16_Faults_and_Protection_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter3_Fabrication_and_Thermal_characteristics_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter4_Series_and_Parallel_Connection_of_Thyristors_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter5_Line_Commutated_converters_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter7_Inverter_Circuits_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter8_Harmonic_and_PowerFactor_with_the_converter_system_1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/Chapter_2_The_Device__1.ipynb
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/11.JPG
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/15.JPG
A Thyristors_Theory_And_Applications_by_R._K._Sugandhi_And_K._K._Sugandhi/screenshots/8.JPG
Diffstat (limited to 'Electronic_Communication_by_D._Roddy/Chapter1_Passive_Circuits.ipynb')
-rw-r--r-- | Electronic_Communication_by_D._Roddy/Chapter1_Passive_Circuits.ipynb | 372 |
1 files changed, 372 insertions, 0 deletions
diff --git a/Electronic_Communication_by_D._Roddy/Chapter1_Passive_Circuits.ipynb b/Electronic_Communication_by_D._Roddy/Chapter1_Passive_Circuits.ipynb new file mode 100644 index 00000000..7e165345 --- /dev/null +++ b/Electronic_Communication_by_D._Roddy/Chapter1_Passive_Circuits.ipynb @@ -0,0 +1,372 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 1 Passive Circuits" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 1.2.2, Pg.no.5" + ] + }, + { + "cell_type": "code", + "execution_count": 50, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of resistance R is 16.61 ohm\n", + "The value of resistance R3 is 66.8 ohm\n" + ] + } + ], + "source": [ + "import math\n", + "#given\n", + "Ro=50.0\n", + "ILdB=6.0 #T−type attenuator provide 6−dB insertion loss \n", + "#calculation\n", + "IL=10**-(ILdB/20) #Determination of R\n", + "R=Ro*(1-IL)/(1+IL)\n", + "R=round(R,2)\n", + "print 'The value of resistance R is',R,'ohm' \n", + "#Determination of R3\n", + "R3=(2*Ro*IL)/(1-(0.5)**2)\n", + "R3=round(R3,1)\n", + "print 'The value of resistance R3 is',R3,'ohm'" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 1.2.3,Pg.no.6" + ] + }, + { + "cell_type": "code", + "execution_count": 51, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of resistance RA and RB is 150.5 ohm\n", + "The value of resistance RC is 37.4 ohm\n" + ] + } + ], + "source": [ + "import math\n", + "#given\n", + "Ro=50.0\n", + "ILdB=6.0\n", + "IL=10**-(ILdB/20) #Determination of RA and RB\n", + "RA=Ro*(1+IL)/(1-IL)\n", + "RA=round(RA,1)\n", + "print 'The value of resistance RA and RB is',RA,'ohm'\n", + "#Determination of RC\n", + "RC=Ro*(1-(IL)**2)/(2*IL)\n", + "RC=round(RC,1)\n", + "print 'The value of resistance RC is',RC,'ohm'" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 1.2.4,Pg.no.8" + ] + }, + { + "cell_type": "code", + "execution_count": 52, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of resistance R1 is 43.3 ohm\n", + "The value of resistance R3 is 86.61 ohm\n", + "The value of insertion loss is 5.42 dB\n" + ] + } + ], + "source": [ + "import math\n", + "from math import log10,sqrt\n", + "#given\n", + "Rs=75.0 #resistance\n", + "Rl=50.0 \n", + "#Determination of R1\n", + "R1=sqrt(Rs*(Rs-Rl))\n", + "R1=round(R1,2)\n", + "print 'The value of resistance R1 is',R1,'ohm'\n", + "#Determination of R3\n", + "R3=((Rs**2)-(R1**2))/R1\n", + "R3=round(R3,2)\n", + "print 'The value of resistance R3 is',R3,'ohm'\n", + "#Determination of insertion loss\n", + "IL=(R3*(Rs+R1))/((Rs+R1+R3)*(R3+R1)-(R3)**2)\n", + "ILdB=-20*log10(IL) #convertion of power in decibels\n", + "ILdB=round(ILdB,2)\n", + "print 'The value of insertion loss is',ILdB,'dB'" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 1.2.5,Pg.no.9" + ] + }, + { + "cell_type": "code", + "execution_count": 53, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of resistance R2 is 44.721 ohm\n", + "The value of resistance R3 is 11.18 ohm\n", + "The value of insertion loss is 9.99 dB\n" + ] + } + ], + "source": [ + "from math import log10,sqrt\n", + "Rs=10.0\n", + "Rl=50.0 #Determination of R2\n", + "R2=sqrt(Rl*(Rl-Rs))\n", + "R2=round(R2,3)\n", + "print 'The value of resistance R2 is',R2,'ohm'\n", + "#Determination of R3\n", + "R3=((Rl**2)-(R2**2))/R2\n", + "R3=round(R3,2)\n", + "print 'The value of resistance R3 is',R3,'ohm'\n", + "#Determination of insertion loss\n", + "IL=(R3*(Rs+Rl))/((Rs+R3)*(R3+R2+Rl)-(R3)**2)\n", + "ILdB=-20*log10(IL) #convertion of power in decibels\n", + "ILdB=round(ILdB,2)\n", + "print 'The value of insertion loss is',ILdB,'dB'" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 1.5.1,Pg.no.19" + ] + }, + { + "cell_type": "code", + "execution_count": 54, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of self resonant freq is 60.2 MHz\n", + "The value of Q−factor is 31.4\n", + "The value of effective inductance is 1.0 uH\n", + "The value of effective Q−factor is 26.0\n" + ] + } + ], + "source": [ + "import math\n", + "from math import sqrt\n", + "C=7*10**-12\n", + "R=5.0\n", + "L=10**-6\n", + "f=25*10**6 \n", + "#Determination of self resonant freq of coil denoted as Fsr\n", + "Fsr=1/(2*3.14*(L*C)**0.5)\n", + "Fsr=Fsr/(10**6)\n", + "Fsr=round(Fsr,1)\n", + "print 'The value of self resonant freq is',Fsr,'MHz'\n", + "#Determination of Q−factor of coil , excluding self − capacitive effects\n", + "Q=(2*3.14*f*L)/R\n", + "print 'The value of Q−factor is',Q\n", + "#Determination of effective inductance\n", + "Leff=(1-(25/60)**2)**-1\n", + "Leff=round(Leff,0)\n", + "print 'The value of effective inductance is',Leff,'uH'\n", + "#Determination of effective Q−factor\n", + "Qeff=(1-0.173)*Q\n", + "Qeff=round(Qeff,0)\n", + "print 'The value of effective Q−factor is',Qeff" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 1.8.1,Pg.no.23" + ] + }, + { + "cell_type": "code", + "execution_count": 55, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of common resonant freq is 3.77 Mrad/sec\n", + "Zm= 5.655j\n", + "The transfer impedance is (43.8+2250j) ohm\n" + ] + } + ], + "source": [ + "import cmath\n", + "from math import sqrt\n", + "#given\n", + "Lp=150*10**-6 #inductance\n", + "Ls=150*10**-6\n", + "Cp=470*10**-12 #capacitance\n", + "Cs=470*10**-12 #Lp=Ls=150 uH,Cp=Cs=470 pF\n", + "Q=85.0 #Q−factor for each ckt is 85\n", + "c=0.01 #Coeff of coupling is 0.01\n", + "Rl=5000.0 #Load resistance Rl=5000 ohm\n", + "r=75000.0 #Constant current source with internal resistance r=75 kohm\n", + "#calculations\n", + "#Determination of common resonant frequency\n", + "wo=1/(sqrt(Lp*Cp))\n", + "wo=wo/(10**6)\n", + "wo=round(wo,2)\n", + "print 'The value of common resonant freq is',wo,'Mrad/sec'\n", + "p=3.77*10**6\n", + "Z2=complex(62.9004,558) #Formula=Rl/(1+(p*j*Cs*Rl))\n", + "Z1=complex(4.3,565) #Formula=r/(1+(p*j*Cp*r)) ;At resonance Zs=Zp=Z\n", + "z=complex(0,1)\n", + "Z=wo*Ls*(1/Q +z)\n", + "Zm=complex(0,p*c*Lp) #Determination of denominator\n", + "print 'Zm=',Zm\n", + "Dr=((Z+Z1)*(Z+Z2))-(Zm**2) \n", + "Dr=complex(791,80)\n", + "#Hence transfer impedance is given as\n", + "Zr=complex(43.8,2.25*10**3) #formula=(Z1*Z2*Zm)/Dr\n", + "print 'The transfer impedance is',Zr,'ohm'" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example 1.10.1,Pg.no.31" + ] + }, + { + "cell_type": "code", + "execution_count": 56, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The value of common resonant freq is 169.56 Mrad/ sec\n", + "The value of Gl is 5.0 mSec\n", + "The value of alpha is 3.14\n", + "The value of effective load is 1.97 kohm\n", + "The value of tuning capacitance is 47.73 pF\n", + "The value of Rd is 18.534 kohm\n", + "The value of −3dB BW is 1.69 MHz\n" + ] + } + ], + "source": [ + "import math\n", + "C1=70*10**-12\n", + "C2=150*10**-12\n", + "Rl=200.0\n", + "Q=150.0\n", + "f=27*10**6\n", + "r=40000.0\n", + "#Determination of common resonant freq\n", + "wo=2*3.14*f\n", + "wo=wo/(10**6)\n", + "print 'The value of common resonant freq is',wo,'Mrad/ sec'\n", + "#Determination of Gl\n", + "Gl=1/Rl\n", + "G1=Gl*(10**3) \n", + "print'The value of Gl is',G1,'mSec'\n", + "#Checking the approxiamtion in denominator\n", + "ap=((wo*(C1+C2))/(Gl))**2\n", + "alpha=(C1+C2)/C1\n", + "alpha=round(alpha,2)\n", + "print 'The value of alpha is',alpha\n", + "#Determination of effective load\n", + "Reff=((alpha)**2)*Rl\n", + "Reff=Reff/(10**3)\n", + "Reff=round(Reff,2)\n", + "print 'The value of effective load is',Reff,'kohm' \n", + "#If effective load is much less than internal resistance hence tuning capacitance then\n", + "Cs=C1*C2/(C1+C2)\n", + "Cs=Cs*(10**12)\n", + "Cs=round(Cs,2)\n", + "print 'The value of tuning capacitance is',Cs,'pF'\n", + "#Determination of Rd\n", + "Rd=Q/(wo*Cs)*(10**3)\n", + "Rd=round(Rd,3)\n", + "print 'The value of Rd is',Rd,'kohm'\n", + "#If Rd is much greater than Reff then −3dB bandwidth is given by\n", + "B=1/(2*3.14*C2*alpha*Rl)\n", + "B=B/(10**6)\n", + "B=round(B,2)\n", + "print 'The value of −3dB BW is',B,'MHz'" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 2", + "language": "python", + "name": "python2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.10" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |