diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1583 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1583')
170 files changed, 1037 insertions, 0 deletions
diff --git a/1583/CH1/EX1.3/IRCS_Ex_1_3.sce b/1583/CH1/EX1.3/IRCS_Ex_1_3.sce new file mode 100755 index 000000000..e5ec5805f --- /dev/null +++ b/1583/CH1/EX1.3/IRCS_Ex_1_3.sce @@ -0,0 +1,9 @@ +clc
+//Chapter 1:Introduction to Radio Communication
+//example 1.3 page no 3
+//given
+disp('The transfer function has no finite zeros ')
+p=poly([1 0.5 1],"s","c")
+x=roots(p)
+disp('The poles ')
+disp(x)
diff --git a/1583/CH1/EX1.3/Result_of_Chapter_1_Ex1_3.jpg b/1583/CH1/EX1.3/Result_of_Chapter_1_Ex1_3.jpg Binary files differnew file mode 100755 index 000000000..96d1f77e6 --- /dev/null +++ b/1583/CH1/EX1.3/Result_of_Chapter_1_Ex1_3.jpg diff --git a/1583/CH1/EX1.4/IRCS_Ex_1_4.sce b/1583/CH1/EX1.4/IRCS_Ex_1_4.sce new file mode 100755 index 000000000..3a885f117 --- /dev/null +++ b/1583/CH1/EX1.4/IRCS_Ex_1_4.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 1:Introduction to Radio Communication Systems
+//example 1.4 page no 8
+//given
+fIF=455*10^3//intermediate frequency
+fO=1.455*10^6//oscillator frequency
+fIM=fIF+fO//image frequency
+mprintf('the image frequency is %f MHz',fIM*1e-6)
diff --git a/1583/CH1/EX1.4/Result_of_Chapter_1_Ex1_4.jpg b/1583/CH1/EX1.4/Result_of_Chapter_1_Ex1_4.jpg Binary files differnew file mode 100755 index 000000000..598e1178a --- /dev/null +++ b/1583/CH1/EX1.4/Result_of_Chapter_1_Ex1_4.jpg diff --git a/1583/CH10/EX10.11/FS_Ex_10_11.sce b/1583/CH10/EX10.11/FS_Ex_10_11.sce new file mode 100755 index 000000000..ca82b98a1 --- /dev/null +++ b/1583/CH10/EX10.11/FS_Ex_10_11.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 10:Frequency Synthesizers
+//Example 10.11 page no 446
+disp('A signal sideband power is -140dB/Hz ')
+N=5*10^6//frequency of reference oscillator
+M=5*10^3//count
+No=-140+10*log10((N/M)^2)//the output noise power due to the reference oscillator
+mprintf('The single sideband noise power at a frequency offset of 0.5KHz is %d dB/Hz ',No)
diff --git a/1583/CH10/EX10.11/Result_of_Chapter_10_Ex10_11.jpg b/1583/CH10/EX10.11/Result_of_Chapter_10_Ex10_11.jpg Binary files differnew file mode 100755 index 000000000..9c5c2daf9 --- /dev/null +++ b/1583/CH10/EX10.11/Result_of_Chapter_10_Ex10_11.jpg diff --git a/1583/CH10/EX10.3/FS_Ex_10_3.sce b/1583/CH10/EX10.3/FS_Ex_10_3.sce new file mode 100755 index 000000000..b05514a10 --- /dev/null +++ b/1583/CH10/EX10.3/FS_Ex_10_3.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 10:Frequency Synthesizers
+//Example 10.3 page no 416
+fr=1*10^6//reference frequency
+f=100*10^6//given frequency
+fi=1*10^6//increment in frequency
+Dmin=fr*f/fi
+mprintf('The value of Dmin is %d Hz',Dmin)
diff --git a/1583/CH10/EX10.3/Result_of_Chapter_10_Ex10_3.jpg b/1583/CH10/EX10.3/Result_of_Chapter_10_Ex10_3.jpg Binary files differnew file mode 100755 index 000000000..b03acd801 --- /dev/null +++ b/1583/CH10/EX10.3/Result_of_Chapter_10_Ex10_3.jpg diff --git a/1583/CH10/EX10.4/FS_Ex_10_4.sce b/1583/CH10/EX10.4/FS_Ex_10_4.sce new file mode 100755 index 000000000..460d847e9 --- /dev/null +++ b/1583/CH10/EX10.4/FS_Ex_10_4.sce @@ -0,0 +1,11 @@ +clc
+//Chapter 10:Frequency Synthesizers
+//Example 10.4 page no 417
+fo=185.6*10^6//required output frequency
+fr=31.25*10^3//reference frequency
+P=64
+disp('To begin with the hopping bin channel spacing requirement of at least 20KHz,a 2MHz crystal is connected to the MC14512-2 with the reference address inputs(pins 4,5,6) connected such that the crystal is divided by 64(RA2=0,RA1=0,RA0=1) This gives a reference frequency of 31.25KHz; and the maximum number of hops is 5.2MHz/31.25KHz=166.4hops FOr 185.6MHZ the values of N and A are found as follows:')
+N=(fo/fr)/P//finding N for A=0
+disp('For this value of N,find A by ')
+A=(fo/fr)-92*P
+mprintf('N = %d \n A = %d ',N,A)
diff --git a/1583/CH10/EX10.4/Result_of_Chapter_10_Ex10_4.jpg b/1583/CH10/EX10.4/Result_of_Chapter_10_Ex10_4.jpg Binary files differnew file mode 100755 index 000000000..8770e742f --- /dev/null +++ b/1583/CH10/EX10.4/Result_of_Chapter_10_Ex10_4.jpg diff --git a/1583/CH10/EX10.5/FS_Ex_10_5.sce b/1583/CH10/EX10.5/FS_Ex_10_5.sce new file mode 100755 index 000000000..312869de6 --- /dev/null +++ b/1583/CH10/EX10.5/FS_Ex_10_5.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 10:Frequency Synthesizers
+//Example 10.5 page no 426
+fr=100*10^3//reference frequency
+f=10*10^6//given frequency
+fi=1*10^3//increment in frequency
+fo=fr*f/fi//required VCO operating frequency
+mprintf('The value of VCO operating frequency is %3.2e Hz',fo)
diff --git a/1583/CH10/EX10.5/Result_of_Chapter_10_Ex10_5.jpg b/1583/CH10/EX10.5/Result_of_Chapter_10_Ex10_5.jpg Binary files differnew file mode 100755 index 000000000..57ca07e53 --- /dev/null +++ b/1583/CH10/EX10.5/Result_of_Chapter_10_Ex10_5.jpg diff --git a/1583/CH10/EX10.7/FS_Ex_10_7.sce b/1583/CH10/EX10.7/FS_Ex_10_7.sce new file mode 100755 index 000000000..b7b3d2e11 --- /dev/null +++ b/1583/CH10/EX10.7/FS_Ex_10_7.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 10:Frequency Synthesizers
+//Example 10.7 page no 429
+N=4
+M=1.8//count
+fr=100*10^3//reference frequency
+fo=fr*(N+M^-1)//output frequency
+mprintf('The value of output frequency is %3.2e Hz',fo)
diff --git a/1583/CH10/EX10.7/Result_of_Chapter_10_Ex10_7.jpg b/1583/CH10/EX10.7/Result_of_Chapter_10_Ex10_7.jpg Binary files differnew file mode 100755 index 000000000..3e16a5e83 --- /dev/null +++ b/1583/CH10/EX10.7/Result_of_Chapter_10_Ex10_7.jpg diff --git a/1583/CH10/EX10.8/FS_Ex_10_8.sce b/1583/CH10/EX10.8/FS_Ex_10_8.sce new file mode 100755 index 000000000..51bc7c4ed --- /dev/null +++ b/1583/CH10/EX10.8/FS_Ex_10_8.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 10:Frequency Synthesizers
+//Example 10.8 page no 429
+N=100
+M=10//count
+fr=10*10^3//reference frequency
+fo=fr*(N+M^-1)//output frequency
+mprintf('The value of output frequency is %f Hz',fo)
diff --git a/1583/CH10/EX10.8/Result_of_Chapter_10_Ex10_8.jpg b/1583/CH10/EX10.8/Result_of_Chapter_10_Ex10_8.jpg Binary files differnew file mode 100755 index 000000000..14d4d2a68 --- /dev/null +++ b/1583/CH10/EX10.8/Result_of_Chapter_10_Ex10_8.jpg diff --git a/1583/CH11/EX11.1/PA_Ex_11_1.sce b/1583/CH11/EX11.1/PA_Ex_11_1.sce new file mode 100755 index 000000000..10f7239b4 --- /dev/null +++ b/1583/CH11/EX11.1/PA_Ex_11_1.sce @@ -0,0 +1,14 @@ +clc
+//Chapter 11:Power amplifiers
+//example 11.1 page no 456
+//given
+Po=5//max power in watts
+Rl=50//load resistance in ohm
+Vp=sqrt(2*5*50)//peak voltage across Rl
+Vcc=24//supply voltage
+Ip=Vp/Rl//peak current corresponding to Vp
+Iq=Vcc/50//Q point current value
+Pcc=Vcc*Iq//power supplied
+Eff=(Po/Pcc)*100//efficiency
+mprintf('peak voltage across Rl is %f V \n the peak current is %f A \n the power supplied is %f W \n the efficiency is %f ',Vp,Ip,Pcc,Eff)
+disp('the transistor that is selected must be able to dissipate 11.52W in case the input power drops to zero and the transistor Vce breakdown voltage must be at least 48V(2*Vcc)')
diff --git a/1583/CH11/EX11.1/Result_of_Chapter_11_Ex11_1.jpg b/1583/CH11/EX11.1/Result_of_Chapter_11_Ex11_1.jpg Binary files differnew file mode 100755 index 000000000..f5d512c5e --- /dev/null +++ b/1583/CH11/EX11.1/Result_of_Chapter_11_Ex11_1.jpg diff --git a/1583/CH11/EX11.2/PA_Ex_11_2.sce b/1583/CH11/EX11.2/PA_Ex_11_2.sce new file mode 100755 index 000000000..79eb6f8ff --- /dev/null +++ b/1583/CH11/EX11.2/PA_Ex_11_2.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 11:Power amplifiers
+//example 11.2 page no 466
+//given
+Po=5//max power in watts
+Rl=50//load resistance in ohm
+//asumme'1:1 truns ratio transformer coupled push pull amplifier each supllying 2.5 watt'
+disp('since a push pull amplifier is used, each class B amplifier will supply 2.5W')
+Pomax=2.5
+Vcc=sqrt(4*Rl*Po)//supply voltage
+Ptmax=Pomax*(4/%pi^2)//maximum power handling requriment of the transistor
+I=sqrt((4*Pomax)/Rl)//peak output current
+mprintf('maximum power handling requriment of the transistor is %d W \n peak output current is %f A ',Ptmax,I)
diff --git a/1583/CH11/EX11.2/Result_of_Chapter_11_Ex11_2.jpg b/1583/CH11/EX11.2/Result_of_Chapter_11_Ex11_2.jpg Binary files differnew file mode 100755 index 000000000..523cd4d8c --- /dev/null +++ b/1583/CH11/EX11.2/Result_of_Chapter_11_Ex11_2.jpg diff --git a/1583/CH11/EX11.3/PA_Ex_11_3.sce b/1583/CH11/EX11.3/PA_Ex_11_3.sce new file mode 100755 index 000000000..dfb8e5762 --- /dev/null +++ b/1583/CH11/EX11.3/PA_Ex_11_3.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 11:Power amplifiers
+//example 11.2 page no 474
+//given
+Po=5//max power in watts
+Rl=50//load resistance in ohm
+f=1e6//operating frequency in hertz
+Vcc=sqrt(2*Rl*Po)
+Ptmax=0.1*Po//allowable power dissipation
+I_m=0.5
+Im=(2*%pi*Vcc*I_m)/Rl//peak collector current
+mprintf('required supply voltage is %f V \n max allowable power dissipation is %f W \n peak collector current is %f A',Vcc,Ptmax,Im)
diff --git a/1583/CH11/EX11.3/Result_of_Chapter_11_Ex11_3.jpg b/1583/CH11/EX11.3/Result_of_Chapter_11_Ex11_3.jpg Binary files differnew file mode 100755 index 000000000..a1a7246bd --- /dev/null +++ b/1583/CH11/EX11.3/Result_of_Chapter_11_Ex11_3.jpg diff --git a/1583/CH11/EX11.4/PA_Ex_11_4.sce b/1583/CH11/EX11.4/PA_Ex_11_4.sce new file mode 100755 index 000000000..9f7e4bf98 --- /dev/null +++ b/1583/CH11/EX11.4/PA_Ex_11_4.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 11:Power amplifiers
+//example 11.4 page no 475
+//given
+Pt=4//max power dissipation in watt
+Idmax=1.5//max drain current in amp
+Vcc=48//supply voltage
+P_t=(4*%pi*Pt)/(Vcc*Idmax)//the normalised max transistor dissipation
+disp('from figure 11.21 it is found that maximum possible conduction angle is =80degree without exceeding the maximum transistor dissipation')
+Po=Pt/0.22//output power
+Rl=Vcc^2/(2*Po)//load resistance
+mprintf('the output power is %f W \n the load resistance is %f ohm ',Po,Rl)
diff --git a/1583/CH11/EX11.4/Result_of_Chapter_11_Ex11_4.jpg b/1583/CH11/EX11.4/Result_of_Chapter_11_Ex11_4.jpg Binary files differnew file mode 100755 index 000000000..59b7e4d2e --- /dev/null +++ b/1583/CH11/EX11.4/Result_of_Chapter_11_Ex11_4.jpg diff --git a/1583/CH11/EX11.5/PA_Ex_11_5.sce b/1583/CH11/EX11.5/PA_Ex_11_5.sce new file mode 100755 index 000000000..11ec2fa79 --- /dev/null +++ b/1583/CH11/EX11.5/PA_Ex_11_5.sce @@ -0,0 +1,5 @@ +clc
+//Chapter 11:Power amplifiers
+//example 11.5 page no 477
+//given
+disp('from the figure 11.23 it is seen that the amplitude of the fourth harmonic has a maximum value for a conduction angle 2theta of approximately 60degree The output circuit would be tuned to the fourth harmonic of the input signal')
diff --git a/1583/CH11/EX11.5/Result_of_Chapter_11_Ex11_5.jpg b/1583/CH11/EX11.5/Result_of_Chapter_11_Ex11_5.jpg Binary files differnew file mode 100755 index 000000000..e8506b940 --- /dev/null +++ b/1583/CH11/EX11.5/Result_of_Chapter_11_Ex11_5.jpg diff --git a/1583/CH11/EX11.6/PA_Ex_11_6.sce b/1583/CH11/EX11.6/PA_Ex_11_6.sce new file mode 100755 index 000000000..cd210d8d9 --- /dev/null +++ b/1583/CH11/EX11.6/PA_Ex_11_6.sce @@ -0,0 +1,11 @@ +clc
+//Chapter 11:Power amplifiers
+//example 11.6 page no 479
+//given
+Po=20//power delivered in watt
+Rl=50//load resistance
+Vcc=sqrt(%pi^2*Rl*Po/8)//suppy volatage
+Idc=4*Vcc/(Rl*%pi^2)//direct current in each transistor
+mprintf('the suppy volatage is %f V \n the direct current in each transistor is %f A',Vcc,Idc)
+disp('the maximum voltage drop across each transistor will be 2Vcc,or 70.2V the load circuit would be tuned to resonant at the fundamental frequency of the input signal')
+
diff --git a/1583/CH11/EX11.6/Result_of_Chapter_11_Ex11_6.jpg b/1583/CH11/EX11.6/Result_of_Chapter_11_Ex11_6.jpg Binary files differnew file mode 100755 index 000000000..e762d91c8 --- /dev/null +++ b/1583/CH11/EX11.6/Result_of_Chapter_11_Ex11_6.jpg diff --git a/1583/CH11/EX11.7/PA_Ex_11_7.sce b/1583/CH11/EX11.7/PA_Ex_11_7.sce new file mode 100755 index 000000000..675b24483 --- /dev/null +++ b/1583/CH11/EX11.7/PA_Ex_11_7.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 11:Power amplifiers
+//example 11.7 page no 480
+//given
+Vg=8//get signal level for VMOS 2N6659
+Rl=50//load resistance in ohms(it should have been given in the problem but its missing)
+disp('The specification sheet for the 2N6659 indicates that yhe on resisitance is approximately 2 ohm for this drive level')
+Ron=2
+Poideal=20
+Po=Poideal*((Rl/(Rl+Ron))^2)//actual output power
+Eff=Rl*100/(Rl+Ron)//Efficiency
+mprintf('actual output power is %f W \n the Efficiency is %f ',Po,Eff)
diff --git a/1583/CH11/EX11.7/Result_of_Chapter_11_Ex11_7.jpg b/1583/CH11/EX11.7/Result_of_Chapter_11_Ex11_7.jpg Binary files differnew file mode 100755 index 000000000..4391ba989 --- /dev/null +++ b/1583/CH11/EX11.7/Result_of_Chapter_11_Ex11_7.jpg diff --git a/1583/CH12/EX12.2/MD_Ex_12_2.sce b/1583/CH12/EX12.2/MD_Ex_12_2.sce new file mode 100755 index 000000000..17645ce04 --- /dev/null +++ b/1583/CH12/EX12.2/MD_Ex_12_2.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 12:Frequency mixers
+//example 12.2 page no 504
+//given
+gm=14*10^-3//tranconductance
+IDSS=40*10^-3
+RL=50//load resistance
+Vgs=0
+Vp=2*IDSS/gm//pinch off voltage
+gc=IDSS/(2*Vp)//conversion tranconductance
+Av=gc*RL//voltage gain
+mprintf('the conversion voltage gain is %f ',Av)
diff --git a/1583/CH12/EX12.2/Result_of_Chapter_12_Ex12_2.jpg b/1583/CH12/EX12.2/Result_of_Chapter_12_Ex12_2.jpg Binary files differnew file mode 100755 index 000000000..a5266f33a --- /dev/null +++ b/1583/CH12/EX12.2/Result_of_Chapter_12_Ex12_2.jpg diff --git a/1583/CH12/EX12.4/MD_Ex_12_4.sce b/1583/CH12/EX12.4/MD_Ex_12_4.sce new file mode 100755 index 000000000..46d54e4ad --- /dev/null +++ b/1583/CH12/EX12.4/MD_Ex_12_4.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 12:Frequency mixers
+//example 12.4
+//given
+f=1*10^3//maximum frequency of unknown signal
+df=1//maximum error in signal
+fs=f^2/df//sampling frequency
+disp(fs,'the required sampling frequency is')
diff --git a/1583/CH12/EX12.4/Result_of_Chapter_12_Ex12_4.jpg b/1583/CH12/EX12.4/Result_of_Chapter_12_Ex12_4.jpg Binary files differnew file mode 100755 index 000000000..369e2322e --- /dev/null +++ b/1583/CH12/EX12.4/Result_of_Chapter_12_Ex12_4.jpg diff --git a/1583/CH2/EX2.1/Result_of_Chapter_2_Ex2_1.jpg b/1583/CH2/EX2.1/Result_of_Chapter_2_Ex2_1.jpg Binary files differnew file mode 100755 index 000000000..cfe70aa5e --- /dev/null +++ b/1583/CH2/EX2.1/Result_of_Chapter_2_Ex2_1.jpg diff --git a/1583/CH2/EX2.1/SSA_Ex_2_1.sce b/1583/CH2/EX2.1/SSA_Ex_2_1.sce new file mode 100755 index 000000000..58d561c5d --- /dev/null +++ b/1583/CH2/EX2.1/SSA_Ex_2_1.sce @@ -0,0 +1,9 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.1 page no 17
+//given
+B=100//current gain
+Ic=10^-3//collector bias current
+//kT/q=0.026 where as k=Boltzmanns constant T=temperature q=charge on an electron
+rpi=(0.026*B)/Ic//base emitter resistance
+mprintf('the base emitter resistance is %d ohm',rpi)
diff --git a/1583/CH2/EX2.10/Result_of_Chapter_2_Ex2_10.jpg b/1583/CH2/EX2.10/Result_of_Chapter_2_Ex2_10.jpg Binary files differnew file mode 100755 index 000000000..6d6e9e9db --- /dev/null +++ b/1583/CH2/EX2.10/Result_of_Chapter_2_Ex2_10.jpg diff --git a/1583/CH2/EX2.10/SSA_Ex_2_10.sce b/1583/CH2/EX2.10/SSA_Ex_2_10.sce new file mode 100755 index 000000000..4df15769e --- /dev/null +++ b/1583/CH2/EX2.10/SSA_Ex_2_10.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.10 page no 51
+//given
+Z1=1*10^3//asumming impedance value for required specification
+Av=-50//voltage gain
+Zf=-Av*Z1//feedback impedance
+mprintf('Z1=%d K ohm \n feedback impedance (Zf)= %d K ohm',Z1*1e-3,Zf*1e-3)
diff --git a/1583/CH2/EX2.11/Result_of_Chapter_2_Ex2_11.jpg b/1583/CH2/EX2.11/Result_of_Chapter_2_Ex2_11.jpg Binary files differnew file mode 100755 index 000000000..6ab6be0ce --- /dev/null +++ b/1583/CH2/EX2.11/Result_of_Chapter_2_Ex2_11.jpg diff --git a/1583/CH2/EX2.11/SSA_Ex_2_11.sce b/1583/CH2/EX2.11/SSA_Ex_2_11.sce new file mode 100755 index 000000000..c28db6625 --- /dev/null +++ b/1583/CH2/EX2.11/SSA_Ex_2_11.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.11 pag no 51
+//given
+wL=10^6//bandwidth
+R1=1*10^3//taking resistance value for required specification
+Av=-50//voltage gain
+Rf=-Av*R1//feedback resistance
+C=(wL*Rf)^-1//capacitance
+mprintf('R1=%d K ohm \n feedback resistance= %d K ohm \n capacitance= %d pF',R1*1e-3,Rf*1e-3,C*1e12)
diff --git a/1583/CH2/EX2.12/Result_of_Chapter_2_Ex2_12.jpg b/1583/CH2/EX2.12/Result_of_Chapter_2_Ex2_12.jpg Binary files differnew file mode 100755 index 000000000..9894bcd46 --- /dev/null +++ b/1583/CH2/EX2.12/Result_of_Chapter_2_Ex2_12.jpg diff --git a/1583/CH2/EX2.12/SSA_Ex_2_12.sce b/1583/CH2/EX2.12/SSA_Ex_2_12.sce new file mode 100755 index 000000000..5ecf80a39 --- /dev/null +++ b/1583/CH2/EX2.12/SSA_Ex_2_12.sce @@ -0,0 +1,9 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.12 page no 53
+//given
+Aa=10^4//open loop gain
+Rf=10^4//feedback resistance
+Ri=100//input resistance
+Av=-(Rf/Ri)/(1+(Ri+Rf)*(Aa*Ri))//actual amplifier gain
+disp(Av,'the actual amplifier gain is ')
diff --git a/1583/CH2/EX2.13/Result_of_Chapter_2_Ex2_13.jpg b/1583/CH2/EX2.13/Result_of_Chapter_2_Ex2_13.jpg Binary files differnew file mode 100755 index 000000000..9563cf8b6 --- /dev/null +++ b/1583/CH2/EX2.13/Result_of_Chapter_2_Ex2_13.jpg diff --git a/1583/CH2/EX2.13/SSA_Ex_2_13.sce b/1583/CH2/EX2.13/SSA_Ex_2_13.sce new file mode 100755 index 000000000..2773308b4 --- /dev/null +++ b/1583/CH2/EX2.13/SSA_Ex_2_13.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 2:Bipolar transistor amplifiers
+//example 2.13 page no 53
+//given
+G=90//low frequency gain in dB
+Ao=(G/20)//low frequency open loop gain
+wT=150*10^6//gain bandwidth product
+wo=wT/Ao//bandwidth
+disp('the transfer function is')
+disp('Av=3.16*e4/(1+jw/(2*pi*4.7*e3))')
diff --git a/1583/CH2/EX2.14/Result_of_Chapter_2_Ex2_14.jpg b/1583/CH2/EX2.14/Result_of_Chapter_2_Ex2_14.jpg Binary files differnew file mode 100755 index 000000000..94963d664 --- /dev/null +++ b/1583/CH2/EX2.14/Result_of_Chapter_2_Ex2_14.jpg diff --git a/1583/CH2/EX2.14/SSA_Ex_2_14.sce b/1583/CH2/EX2.14/SSA_Ex_2_14.sce new file mode 100755 index 000000000..ed3d7f971 --- /dev/null +++ b/1583/CH2/EX2.14/SSA_Ex_2_14.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.14 page no 57
+//given
+Z1=1*10^3//assuming impedance value for required specification
+Av=100//voltage gain
+Z2=(Av-1)*Z1
+mprintf('Z1=%d Kohm \n Z2=%d Kohm',Z1*1e-3,Z2*1e-3)
diff --git a/1583/CH2/EX2.2/Result_of_Chapter_2_Ex2_2.jpg b/1583/CH2/EX2.2/Result_of_Chapter_2_Ex2_2.jpg Binary files differnew file mode 100755 index 000000000..986fdf3fb --- /dev/null +++ b/1583/CH2/EX2.2/Result_of_Chapter_2_Ex2_2.jpg diff --git a/1583/CH2/EX2.2/SSA_Ex_2_2.sce b/1583/CH2/EX2.2/SSA_Ex_2_2.sce new file mode 100755 index 000000000..3aeb65d2e --- /dev/null +++ b/1583/CH2/EX2.2/SSA_Ex_2_2.sce @@ -0,0 +1,17 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.2 page no 22
+//given
+Ic=10^-3//collector bias current
+B=100//current gain
+RL=4*10^3//load resistance
+Rs=50//source resistance
+gm=40*Ic//transconductance
+rpi=B/gm//base emitter resistance
+Av=(B*RL)/(rpi+Rs*(1+B))//voltage gain
+disp(Av,'the voltage gain is ')
+Ai=B/(1+B)//current gain
+disp(Ai,'the current gain is ')
+Zi=1/gm//input impedance
+mprintf('the input impedance is %d ohm',Zi)
+
diff --git a/1583/CH2/EX2.3/Result_of_Chapter_2_Ex2_3.jpg b/1583/CH2/EX2.3/Result_of_Chapter_2_Ex2_3.jpg Binary files differnew file mode 100755 index 000000000..84bd3cb0f --- /dev/null +++ b/1583/CH2/EX2.3/Result_of_Chapter_2_Ex2_3.jpg diff --git a/1583/CH2/EX2.3/SSA_Ex_2_3.sce b/1583/CH2/EX2.3/SSA_Ex_2_3.sce new file mode 100755 index 000000000..b5d7b34ef --- /dev/null +++ b/1583/CH2/EX2.3/SSA_Ex_2_3.sce @@ -0,0 +1,15 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.3 page no 25
+//given
+Ic=40*10^-3//collector bias current
+B=40//current gain
+RL=50//load resistance
+Rs=50//source resistance
+rpi=(0.026*B)/Ic//base emitter resistance
+Av=(B*RL)/(rpi+Rs+(1+B)*RL)//voltage gain
+Ai=(1+B)//current gain
+Ap=Ai*Av//power gain
+mprintf('the power gain is %f \n',Ap)
+Zo=(rpi+Rs)/(1+B)//output impedance
+mprintf('the amplifier output impedance as per seen by 50 ohm \nresistance is %f ohm',Zo)
diff --git a/1583/CH2/EX2.4/Result_of_Chapter_2_Ex2_4.jpg b/1583/CH2/EX2.4/Result_of_Chapter_2_Ex2_4.jpg Binary files differnew file mode 100755 index 000000000..44f092d3d --- /dev/null +++ b/1583/CH2/EX2.4/Result_of_Chapter_2_Ex2_4.jpg diff --git a/1583/CH2/EX2.4/SSA_Ex_2_4.sce b/1583/CH2/EX2.4/SSA_Ex_2_4.sce new file mode 100755 index 000000000..c5697e26e --- /dev/null +++ b/1583/CH2/EX2.4/SSA_Ex_2_4.sce @@ -0,0 +1,15 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.4 page no 30
+//given
+VDS=15
+IDSS=8*10^-3
+gmo=4*10^-3
+rd=13*10^3
+ID=2*10^-3//drain current
+Vs=0//source is grounded Vgs=Vg-Vs=Vi
+RL=2*10^3//load resistance
+R_L=(RL*rd)/(RL+rd)//equivalent load resistance
+gm=gmo*sqrt(ID/IDSS)//transconductance
+Av=-gm*R_L//voltage gain Av=Vo/Vi=-gm*R_L
+mprintf('the midband voltage gain is %f ',Av)
diff --git a/1583/CH2/EX2.5/Result_of_Chapter_2_Ex2_5.jpg b/1583/CH2/EX2.5/Result_of_Chapter_2_Ex2_5.jpg Binary files differnew file mode 100755 index 000000000..193263083 --- /dev/null +++ b/1583/CH2/EX2.5/Result_of_Chapter_2_Ex2_5.jpg diff --git a/1583/CH2/EX2.5/SSA_Ex_2_5.sce b/1583/CH2/EX2.5/SSA_Ex_2_5.sce new file mode 100755 index 000000000..be6e4cfdf --- /dev/null +++ b/1583/CH2/EX2.5/SSA_Ex_2_5.sce @@ -0,0 +1,15 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.5 page no 32
+//given
+gm=60*10^-3//transconductance
+Si=50//antenna source impedance
+rd=2.5*10^3
+Zo=rd/(1+gm*rd)//output impedance without load
+RL=200//load resistance
+zo1=200*Zo/(200+Zo)//output impedance with load
+Av=gm*(rd*RL/rd+RL)/(1+gm*(rd*RL/rd+RL))//voltage gain
+mprintf('the voltage gain is %f ',Av)
+
+
+
diff --git a/1583/CH2/EX2.6/Result_of_Chapter_2_Ex2_6.jpg b/1583/CH2/EX2.6/Result_of_Chapter_2_Ex2_6.jpg Binary files differnew file mode 100755 index 000000000..2ed4a64fa --- /dev/null +++ b/1583/CH2/EX2.6/Result_of_Chapter_2_Ex2_6.jpg diff --git a/1583/CH2/EX2.6/SSA_Ex_2_6.sce b/1583/CH2/EX2.6/SSA_Ex_2_6.sce new file mode 100755 index 000000000..4b3a2a3d0 --- /dev/null +++ b/1583/CH2/EX2.6/SSA_Ex_2_6.sce @@ -0,0 +1,19 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.6 page no 36
+//given
+RL=50//load resistance
+gm=0.2//tranceconductance
+B=100//current gain
+rpi=B/gm//transistor input resistance
+disp(rpi,'the transistor input resistance is ')
+disp('The load resistance seen bythe first stage will be the 2k ohm resistor in parallel with Rb2 and the input impedance of the second stage That is R_L=1.05*10^3')
+R_L=1.05*10^3
+Rs=500//source resistance
+IC1=2*10^-3//collector bias current
+gm1=40*IC1//tranceconductance
+disp(gm1,'the tranceconductance is in ohm ')
+rpi1=B/gm1//transistor input resistance
+disp(rpi1,'the transistor input resistance is in ohm ')
+Av1=-gm1*R_L*(rpi1/(rpi1+Rs))//the voltage gain of first
+disp(Av1,'the voltage gain of second stage is closed to unity the voltage gain of first is ')
diff --git a/1583/CH2/EX2.8/Result_of_Chapter_2_Ex2_8.jpg b/1583/CH2/EX2.8/Result_of_Chapter_2_Ex2_8.jpg Binary files differnew file mode 100755 index 000000000..f6e2b43bc --- /dev/null +++ b/1583/CH2/EX2.8/Result_of_Chapter_2_Ex2_8.jpg diff --git a/1583/CH2/EX2.8/SSA_Ex_2_8.sce b/1583/CH2/EX2.8/SSA_Ex_2_8.sce new file mode 100755 index 000000000..e9f698e68 --- /dev/null +++ b/1583/CH2/EX2.8/SSA_Ex_2_8.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.8 page no 42
+//given
+disp('Assuming Vi (input voltage)=1')
+V1=(5+10^6)/(5+2*10^6)//voltage on the positive terminal
+V2=10^6/(5+2*10^6)//the voltage on the inverting terminal
+ed=V1-V2//differential voltage
+ec=(V1+V2)/2//common-mode voltage
+Ad=2*10^3//differentail gain
+Ac=2*10^-3//common mode gain (here 20% of differentail gain)
+Vo=Ad*ed+Ac*ec//actual amplifier output
+mprintf('the voltage gain is %3.2e Volts',Vo)
diff --git a/1583/CH2/EX2.9/Result_of_Chapter_2_Ex2_9.jpg b/1583/CH2/EX2.9/Result_of_Chapter_2_Ex2_9.jpg Binary files differnew file mode 100755 index 000000000..c47948f07 --- /dev/null +++ b/1583/CH2/EX2.9/Result_of_Chapter_2_Ex2_9.jpg diff --git a/1583/CH2/EX2.9/SSA_Ex_2_9.sce b/1583/CH2/EX2.9/SSA_Ex_2_9.sce new file mode 100755 index 000000000..1cf1e29ff --- /dev/null +++ b/1583/CH2/EX2.9/SSA_Ex_2_9.sce @@ -0,0 +1,15 @@ +clc
+//Chapter 2:Small Signal Amplifiers
+//example 2.9 page no 45
+//given
+ed=5*10^-3//differential voltage
+ec=2.5*10^-3//common-mode voltage
+gm=1.5*10^-3//tranceconductance
+rd=500*10^3
+Rs=150*10^3//source resistance
+RL=10*10^3//load resistance
+Ac=-gm*RL/(1+2*gm*Rs)//common mode gain
+Ad=gm*RL/2//differential gain
+Vo=ec*Ac+ed*Ad//actual amplifier output
+mprintf('the output to the applied signal is %f mV',Vo*1e3)
+
diff --git a/1583/CH3/EX3.10/NNID_Ex_3_10.sce b/1583/CH3/EX3.10/NNID_Ex_3_10.sce new file mode 100755 index 000000000..09a417e58 --- /dev/null +++ b/1583/CH3/EX3.10/NNID_Ex_3_10.sce @@ -0,0 +1,11 @@ +clc
+//Chapter 3:Design of low noise networks
+//example 3.10 page no 86
+//given
+ensqr=8*10^-16//noise voltage
+insqr=9*10^-25//rms noise current
+Rs=10*10^4//sourse resistance
+k=1.37*10^-23//Boltzmmans constant
+T=290//tempreture
+F=(ensqr+(insqr*Rs^2))/(4*k*T*Rs)//amplifier noise factor
+disp(F,'the amplifier noise factor is ')
diff --git a/1583/CH3/EX3.10/Result_of_Chapter_3_Ex3_10.jpg b/1583/CH3/EX3.10/Result_of_Chapter_3_Ex3_10.jpg Binary files differnew file mode 100755 index 000000000..87d885999 --- /dev/null +++ b/1583/CH3/EX3.10/Result_of_Chapter_3_Ex3_10.jpg diff --git a/1583/CH3/EX3.11/NNID_Ex_3_11.sce b/1583/CH3/EX3.11/NNID_Ex_3_11.sce new file mode 100755 index 000000000..f90766ca0 --- /dev/null +++ b/1583/CH3/EX3.11/NNID_Ex_3_11.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.11 page no 88
+//given
+ensqr=8*10^-16//noise voltage
+insqr=9*10^-25//rms noise current
+Rs=sqrt(ensqr/insqr)//sourse resistance
+k=1.38*10^-23//Boltzmmans constant
+T=290//tempreture
+F=(ensqr+insqr*Rs^2+4*k*T*Rs)/(4*k*T*Rs)//amplifier noise factor
+NF=10*log10(F)//noise figure
+mprintf('the minimum minimum noise figure is %f dB',round(NF*10)/10)
diff --git a/1583/CH3/EX3.11/Result_of_Chapter_3_Ex3_11.jpg b/1583/CH3/EX3.11/Result_of_Chapter_3_Ex3_11.jpg Binary files differnew file mode 100755 index 000000000..07a7ec490 --- /dev/null +++ b/1583/CH3/EX3.11/Result_of_Chapter_3_Ex3_11.jpg diff --git a/1583/CH3/EX3.12/NNID_Ex_3_12.sce b/1583/CH3/EX3.12/NNID_Ex_3_12.sce new file mode 100755 index 000000000..cf17077e3 --- /dev/null +++ b/1583/CH3/EX3.12/NNID_Ex_3_12.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.12 page no 89
+//given
+ensqr=8*10^-16//noise voltage
+insqr=9*10^-25//rms noise current
+Rs=9.42*10^3//sourse resistance
+k=1.38*10^-23//Boltzmmans constant
+T=290//tempreture
+N=ensqr+insqr*Rs^2+4*k*T*Rs//total noise
+disp(N,'the total noise is ')
+disp('If the sourse resistance is zero,the total noise is ')
+disp('N=ensqr=8*10^-16')
diff --git a/1583/CH3/EX3.12/Result_of_Chapter_3_Ex3_12.jpg b/1583/CH3/EX3.12/Result_of_Chapter_3_Ex3_12.jpg Binary files differnew file mode 100755 index 000000000..5759c410f --- /dev/null +++ b/1583/CH3/EX3.12/Result_of_Chapter_3_Ex3_12.jpg diff --git a/1583/CH3/EX3.13/NNID_Ex_3_13.sce b/1583/CH3/EX3.13/NNID_Ex_3_13.sce new file mode 100755 index 000000000..1d564b709 --- /dev/null +++ b/1583/CH3/EX3.13/NNID_Ex_3_13.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.13 page no 96
+//given
+PI=20//intercept point in dBm
+Pi=0//input signal power dBm
+PIMR=-2*PI//intermodulation distortion ratio (by the rules of logaritham as values are already given in dBm)
+mprintf('the intermodulation distortion ratio is %d dB',PIMR)
diff --git a/1583/CH3/EX3.13/Result_of_Chapter_3_Ex3_13.jpg b/1583/CH3/EX3.13/Result_of_Chapter_3_Ex3_13.jpg Binary files differnew file mode 100755 index 000000000..d86df2562 --- /dev/null +++ b/1583/CH3/EX3.13/Result_of_Chapter_3_Ex3_13.jpg diff --git a/1583/CH3/EX3.14/NNID_Ex_3_14.sce b/1583/CH3/EX3.14/NNID_Ex_3_14.sce new file mode 100755 index 000000000..944641986 --- /dev/null +++ b/1583/CH3/EX3.14/NNID_Ex_3_14.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.14 page no 97
+//given
+PI=20//intercept point in dBm
+Nf=-123//noise floor in dBm
+DR=2/3*(PI-Nf)//dynamic range (by the rules of logarithms as value are already given in dBm)
+mprintf('the dynamic range is %f dB',DR)
diff --git a/1583/CH3/EX3.14/Result_of_Chapter_3_Ex3_14.jpg b/1583/CH3/EX3.14/Result_of_Chapter_3_Ex3_14.jpg Binary files differnew file mode 100755 index 000000000..5039e3742 --- /dev/null +++ b/1583/CH3/EX3.14/Result_of_Chapter_3_Ex3_14.jpg diff --git a/1583/CH3/EX3.3/NNID_Ex_3_3.sce b/1583/CH3/EX3.3/NNID_Ex_3_3.sce new file mode 100755 index 000000000..9f34dd46d --- /dev/null +++ b/1583/CH3/EX3.3/NNID_Ex_3_3.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.3 page no 80
+//given
+NF1=2//first stage noise figure
+NF2=6//second stage noise figure
+F1=10^(NF1/10)//first stage noise factor
+F2=10^(NF2/10)//second stage noise factor
+G1=15.9//gain of first stage equivalent to 12dB
+G2=10//gain of second stage equivalent to 10dB
+F=F1+(F2-1)/G1//overall noise factor
+NF=10*log10(F)//noise figure of the two-stage systemm
+printf('the noise figure of the two-stage system is %f dB',round(NF*10)/10)
diff --git a/1583/CH3/EX3.3/Result_of_Chapter_3_Ex3_3.jpg b/1583/CH3/EX3.3/Result_of_Chapter_3_Ex3_3.jpg Binary files differnew file mode 100755 index 000000000..b905bcb9a --- /dev/null +++ b/1583/CH3/EX3.3/Result_of_Chapter_3_Ex3_3.jpg diff --git a/1583/CH3/EX3.4/NNID_Ex_3_4.sce b/1583/CH3/EX3.4/NNID_Ex_3_4.sce new file mode 100755 index 000000000..e4f47e113 --- /dev/null +++ b/1583/CH3/EX3.4/NNID_Ex_3_4.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.4 page no 81
+//given
+k=1.37*10^-23//boltzmann's onstant
+T=290//operating tempreture
+B=3*10^3//bandwidth
+F=1.779//overall noise factor(from previous ex)
+G1=15.9//gain of first stage(from previous ex)
+G2=10//gain of second stage(from previous ex)
+Ni_Na=F*k*T*B//noise at the input (addition of Ni and Na)
+No=G1*G2*(Ni_Na)//the output noise
+mprintf('the output noise is %3.2e W',No)
diff --git a/1583/CH3/EX3.4/Result_of_Chapter_3_Ex3_4.jpg b/1583/CH3/EX3.4/Result_of_Chapter_3_Ex3_4.jpg Binary files differnew file mode 100755 index 000000000..3756030cd --- /dev/null +++ b/1583/CH3/EX3.4/Result_of_Chapter_3_Ex3_4.jpg diff --git a/1583/CH3/EX3.5/NNID_Ex_3_5.sce b/1583/CH3/EX3.5/NNID_Ex_3_5.sce new file mode 100755 index 000000000..088c638ed --- /dev/null +++ b/1583/CH3/EX3.5/NNID_Ex_3_5.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.5 page no 82
+//given
+F=1.6//noise factor
+T=290//referance temperture
+Tr=(F-1)*T//system noise tempreture
+mprintf('the system noise tempreture is %d K',Tr)
diff --git a/1583/CH3/EX3.5/Result_of_Chapter_3_Ex3_5.jpg b/1583/CH3/EX3.5/Result_of_Chapter_3_Ex3_5.jpg Binary files differnew file mode 100755 index 000000000..9016716e1 --- /dev/null +++ b/1583/CH3/EX3.5/Result_of_Chapter_3_Ex3_5.jpg diff --git a/1583/CH3/EX3.6/NNID_Ex_3_6.sce b/1583/CH3/EX3.6/NNID_Ex_3_6.sce new file mode 100755 index 000000000..c39f70dff --- /dev/null +++ b/1583/CH3/EX3.6/NNID_Ex_3_6.sce @@ -0,0 +1,11 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.6 page no 82
+//given
+NF=8//noise figure in dB
+B=2.1*10^3//bandwidth
+Rs=50//sourse resistance
+Si_dB=NF-144+log10(B)//available input power in dBm
+Si_W=(10^(Si_dB/10))/10^3//available input power in W
+Ei=sqrt(Si_W*4*Rs)//minimum detectable signal
+mprintf('the minimum detectable signal is %f uV',round(Ei*1e6*100)/100)
diff --git a/1583/CH3/EX3.6/Result_of_Chapter_3_Ex3_6.jpg b/1583/CH3/EX3.6/Result_of_Chapter_3_Ex3_6.jpg Binary files differnew file mode 100755 index 000000000..c1008bbcd --- /dev/null +++ b/1583/CH3/EX3.6/Result_of_Chapter_3_Ex3_6.jpg diff --git a/1583/CH3/EX3.7/NNID_Ex_3_7.sce b/1583/CH3/EX3.7/NNID_Ex_3_7.sce new file mode 100755 index 000000000..3f81af0d7 --- /dev/null +++ b/1583/CH3/EX3.7/NNID_Ex_3_7.sce @@ -0,0 +1,11 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.7 page no 83
+//given
+NF=8//noise figure in dB
+B=2.1*10^3//bandwidth
+Rs=50//sourse resistance
+Si_dB=NF-134+log10(B)//available input power in dBm
+Si_W=(10^(Si_dB/10))/10^3//available input power in Watts
+Ei=sqrt(Si_W*4*Rs)//minimum detectable signal
+mprintf('the minimum detectable signal is %f uV',round(Ei*1e7*1000)/10000)
diff --git a/1583/CH3/EX3.7/Result_of_Chapter_3_Ex3_7.jpg b/1583/CH3/EX3.7/Result_of_Chapter_3_Ex3_7.jpg Binary files differnew file mode 100755 index 000000000..449b7d3a3 --- /dev/null +++ b/1583/CH3/EX3.7/Result_of_Chapter_3_Ex3_7.jpg diff --git a/1583/CH3/EX3.8/NNID_Ex_3_8.sce b/1583/CH3/EX3.8/NNID_Ex_3_8.sce new file mode 100755 index 000000000..37b9ae957 --- /dev/null +++ b/1583/CH3/EX3.8/NNID_Ex_3_8.sce @@ -0,0 +1,18 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.8 page no 83
+//given
+NF=4//noise figure in dB
+B=3*10^3//bandwidth
+Rs=50//sourse resistance
+k=1.38*10^-23//Boltzmmans constant
+T=290//tempreture
+//For si of -125dBm the value of Ei is 0.245uV will produce a 10dB output to noise ratio. now consider the performance of this receiver when it is connected to an antenna with a noise figure of 20dB
+N_ant=20//antenna noise figure
+N_Fr=4//receiver noise figure
+F_ant=10^(N_ant/10)//antenna noise factor
+Fr=10^(N_Fr/10)//receiver noise factor
+S_N=10//output signal to noise ratio
+Si_W=(S_N)*(F_ant+Fr-1)*k*T*B//available input power in Watts
+Ei=sqrt(Si_W*4*Rs)//minimum detectable signal
+mprintf('the minimum detectable signal is %f uV',round(Ei*1e6*100)/100)
diff --git a/1583/CH3/EX3.8/Result_of_Chapter_3_Ex3_8.jpg b/1583/CH3/EX3.8/Result_of_Chapter_3_Ex3_8.jpg Binary files differnew file mode 100755 index 000000000..f0db071d9 --- /dev/null +++ b/1583/CH3/EX3.8/Result_of_Chapter_3_Ex3_8.jpg diff --git a/1583/CH3/EX3.9/NNID_Ex_3_9.sce b/1583/CH3/EX3.9/NNID_Ex_3_9.sce new file mode 100755 index 000000000..336dc8c5e --- /dev/null +++ b/1583/CH3/EX3.9/NNID_Ex_3_9.sce @@ -0,0 +1,17 @@ +clc
+//Chapter 3:Network noise and intermodulation distortion
+//example 3.8 page no 84
+//given
+NF=4//noise figure in dB
+B=3*10^3//bandwidth
+Rs=50//sourse resistance
+k=1.38*10^-23//Boltzmmans constant
+T=290//tempreture
+NFa=20//antenna noise figure
+NFr=10//receiver noise figure
+Fa=10^(NFa/10)//antenna noise factor
+Fr=10^(NFr/10)//receiver noise factor
+S_N=10//output signal to noise ratio
+Si_W=(S_N)*(Fa+Fr-1)*k*T*B//available input power in Watts
+Ei=sqrt(Si_W*4*Rs)//minimum detectable signal
+mprintf('the minimum detectable signal is %f uV',round(Ei*1e6*10)/10)
diff --git a/1583/CH3/EX3.9/Result_of_Chapter_3_Ex3_9.jpg b/1583/CH3/EX3.9/Result_of_Chapter_3_Ex3_9.jpg Binary files differnew file mode 100755 index 000000000..c65a1ddfa --- /dev/null +++ b/1583/CH3/EX3.9/Result_of_Chapter_3_Ex3_9.jpg diff --git a/1583/CH4/EX4.1/FSNT_Ex_4_1.sce b/1583/CH4/EX4.1/FSNT_Ex_4_1.sce new file mode 100755 index 000000000..83cd06deb --- /dev/null +++ b/1583/CH4/EX4.1/FSNT_Ex_4_1.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 4:Frequency selective networks and transformers
+//example 4.1 page no 108
+//given
+R=50//load resistance in ohm
+B=100//bandwidth in KHz
+Cf=5//filter center frequency in MHz
+L=R/(2*%pi*10^5)//inductance in micro henry
+C=((L)*(2*%pi*Cf*10^6)^2)^-1//capacitance
+mprintf('the inductance is %f uH \n the capacitance is %f pF ',L*1e6,C*1e12)
diff --git a/1583/CH4/EX4.1/Result_of_Chapter_4_Ex4_1.jpg b/1583/CH4/EX4.1/Result_of_Chapter_4_Ex4_1.jpg Binary files differnew file mode 100755 index 000000000..5bd144efc --- /dev/null +++ b/1583/CH4/EX4.1/Result_of_Chapter_4_Ex4_1.jpg diff --git a/1583/CH4/EX4.2/FSNT_Ex_4_2.sce b/1583/CH4/EX4.2/FSNT_Ex_4_2.sce new file mode 100755 index 000000000..d93b18e03 --- /dev/null +++ b/1583/CH4/EX4.2/FSNT_Ex_4_2.sce @@ -0,0 +1,9 @@ +clc
+//Chapter 4:Frequency selective networks and transformers
+//example 4.2
+//given
+//Forty decibles corresponds to a voltage ratio of 100:1 therefore since A(jwo)=1
+Ajwo=0.01
+n=5//no. of harmonics
+Q=n/(Ajwo*(n^2-1))//quality point
+mprintf('the minimum circuit Q is =Qmin = %f ',Q)
diff --git a/1583/CH4/EX4.2/Result_of_Chapter_4_Ex4_2.jpg b/1583/CH4/EX4.2/Result_of_Chapter_4_Ex4_2.jpg Binary files differnew file mode 100755 index 000000000..e4100f7d3 --- /dev/null +++ b/1583/CH4/EX4.2/Result_of_Chapter_4_Ex4_2.jpg diff --git a/1583/CH4/EX4.3/FSNT_Ex_4_3.sce b/1583/CH4/EX4.3/FSNT_Ex_4_3.sce new file mode 100755 index 000000000..d9685776a --- /dev/null +++ b/1583/CH4/EX4.3/FSNT_Ex_4_3.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 4:Frequency selective networks and transformers
+//example 4.3 page no 115
+//given
+L=10*10^-6//inductance
+C=10*10^-12//capacitance
+wo=(sqrt(L*C))^-1//resonant frequency(ignoring the finite resistance)
+Q=100
+rs=wo*L/Q//series resistance
+Rp=(wo*L)^2/rs//parallel resistance
+QL=50*10^3/(wo*L)//loaded Q
+mprintf('the loaded Q is %f ',QL)
diff --git a/1583/CH4/EX4.3/Result_of_Chapter_4_Ex4_3.jpg b/1583/CH4/EX4.3/Result_of_Chapter_4_Ex4_3.jpg Binary files differnew file mode 100755 index 000000000..a6b081899 --- /dev/null +++ b/1583/CH4/EX4.3/Result_of_Chapter_4_Ex4_3.jpg diff --git a/1583/CH4/EX4.4/FSNT_Ex_4_4.sce b/1583/CH4/EX4.4/FSNT_Ex_4_4.sce new file mode 100755 index 000000000..44fef7c0d --- /dev/null +++ b/1583/CH4/EX4.4/FSNT_Ex_4_4.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 4:Frequency selective networks and transformers
+//example 4.4 page no 121
+//given
+L1=25*10^-6//primary inductance
+L2=400*10^-6//secondary inductane
+n=(sqrt(L1/L2))//equivalent turns ratio
+CT=(8+(2/n^2))*1e-12//total primary capacitance
+RL=25*10^3//load resistance reflected to the primary
+wo=(sqrt(L1*CT))^-1//resonant frequency
+Q=RL/(wo*L1)//quality point
+mprintf('the resonant frequency is %3.2e rad/s \n Q = %f',wo,Q)
diff --git a/1583/CH4/EX4.4/Result_of_Chapter_4_Ex4_4.jpg b/1583/CH4/EX4.4/Result_of_Chapter_4_Ex4_4.jpg Binary files differnew file mode 100755 index 000000000..d3f2fe022 --- /dev/null +++ b/1583/CH4/EX4.4/Result_of_Chapter_4_Ex4_4.jpg diff --git a/1583/CH4/EX4.6/FSNT_Ex_4_6.sce b/1583/CH4/EX4.6/FSNT_Ex_4_6.sce new file mode 100755 index 000000000..5784c48a6 --- /dev/null +++ b/1583/CH4/EX4.6/FSNT_Ex_4_6.sce @@ -0,0 +1,14 @@ +clc
+//Chapter 4:Frequency selective networks and transformers
+//example 4.6 paga no 130
+//given
+Rs=10//source resistance
+L=0.2*10^-6//inductor
+f=20*10^6//given frequency
+XL=(2*%pi*f*L)//inductive reactance
+Rp=50//input impedance
+Xs=sqrt(Rp*Rs-Rs^2)//series reactance
+Xcs=5.1//series capacitive reactance
+CS=(2*%pi*f*Xcs)^-1//series capacitance
+Xp=(Rs^2+Xs^2)/Xs//equivalent parallel reactance
+mprintf('the value of series reactance is j%f ohm \n the value equivalent parallel reactance is j%f ohm ',Xs,Xp)
diff --git a/1583/CH4/EX4.6/Result_of_Chapter_4_Ex4_6.jpg b/1583/CH4/EX4.6/Result_of_Chapter_4_Ex4_6.jpg Binary files differnew file mode 100755 index 000000000..5afe312a7 --- /dev/null +++ b/1583/CH4/EX4.6/Result_of_Chapter_4_Ex4_6.jpg diff --git a/1583/CH4/EX4.7/FSNT_Ex_4_7.sce b/1583/CH4/EX4.7/FSNT_Ex_4_7.sce new file mode 100755 index 000000000..dcab41537 --- /dev/null +++ b/1583/CH4/EX4.7/FSNT_Ex_4_7.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 4:Frequency selective networks and transformers
+//example 4.7 page no 132
+//given
+Rs=50//series resistance
+Rp=100//parallel resistance
+Xp=sqrt(Rs*Rp^2/(Rp-Rs))//equivalent parallel reactance
+disp(Xp,'the equivalent parallel reactance in ohm is ')
diff --git a/1583/CH4/EX4.7/Result_of_Chapter_4_Ex4_7.jpg b/1583/CH4/EX4.7/Result_of_Chapter_4_Ex4_7.jpg Binary files differnew file mode 100755 index 000000000..d67b9fd03 --- /dev/null +++ b/1583/CH4/EX4.7/Result_of_Chapter_4_Ex4_7.jpg diff --git a/1583/CH5/EX5.1/HFAAGC_Ex_5_1.sce b/1583/CH5/EX5.1/HFAAGC_Ex_5_1.sce new file mode 100755 index 000000000..8302e6076 --- /dev/null +++ b/1583/CH5/EX5.1/HFAAGC_Ex_5_1.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.1 page no 147
+//given
+B=100
+fT=3*10^8//transistor frequency
+Cu=4*10^-12//output capacitance common baxe configuration
+Ic=10*10^-3//collector direct current
+rpi=0.026*B/Ic//base emitter resistance
+gm=40*Ic//transconductance
+wT=0.4/(2*%pi*3*10^8)//gain bandwidth product
+Cpi=wT-Cu//base emitter capacitance
+mprintf('the base emitter resistance is %d ohm \n the transconductance is %f S \n the base emitter capacitance is %3.2e pF',rpi,gm,Cpi)
diff --git a/1583/CH5/EX5.1/Result_of_Chapter_5_Ex5_1.jpg b/1583/CH5/EX5.1/Result_of_Chapter_5_Ex5_1.jpg Binary files differnew file mode 100755 index 000000000..d5778af84 --- /dev/null +++ b/1583/CH5/EX5.1/Result_of_Chapter_5_Ex5_1.jpg diff --git a/1583/CH5/EX5.10/HFAAGC_Ex_5_10.sce b/1583/CH5/EX5.10/HFAAGC_Ex_5_10.sce new file mode 100755 index 000000000..5dc53eff3 --- /dev/null +++ b/1583/CH5/EX5.10/HFAAGC_Ex_5_10.sce @@ -0,0 +1,9 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.10 page no 178
+//given
+fp=10*10^6//upper corner frequency
+n=2//no. of stages
+f1=fp*sqrt(2^(1/n)-1)//overall bandwidth
+disp('since each stage has a gain of 20dB,the overall low-frequency gain is 40dB ')
+mprintf('the overall bandwidth is %f MHz',f1*1e-6)
diff --git a/1583/CH5/EX5.10/Result_of_Chapter_5_Ex5_10.jpg b/1583/CH5/EX5.10/Result_of_Chapter_5_Ex5_10.jpg Binary files differnew file mode 100755 index 000000000..ef8e86e60 --- /dev/null +++ b/1583/CH5/EX5.10/Result_of_Chapter_5_Ex5_10.jpg diff --git a/1583/CH5/EX5.11/HFAAGC_Ex_5_11.sce b/1583/CH5/EX5.11/HFAAGC_Ex_5_11.sce new file mode 100755 index 000000000..0d60ba6a8 --- /dev/null +++ b/1583/CH5/EX5.11/HFAAGC_Ex_5_11.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.11 page no 181
+//given
+rpi=237
+CM=1166*10^-12//miller capacitance
+Co=4*10^-12//equivalent miller capacitance reflected at output side
+Rs=500//source resistance
+RL=600//load resistance
+Cs=rpi*CM/Rs//capacitance across source resistance
+B=(RL*Co)^-1//total bandwidth
+disp('the midfrequency voltage gain is -77.2')
+mprintf('the total bandwidth is %3.2e rad/s \n the capacitance across source resistance is %3.2e F',B,Cs)
diff --git a/1583/CH5/EX5.11/Result_of_Chapter_5_Ex5_11.jpg b/1583/CH5/EX5.11/Result_of_Chapter_5_Ex5_11.jpg Binary files differnew file mode 100755 index 000000000..a4e3555c3 --- /dev/null +++ b/1583/CH5/EX5.11/Result_of_Chapter_5_Ex5_11.jpg diff --git a/1583/CH5/EX5.12/HFAAGC_Ex_5_12.sce b/1583/CH5/EX5.12/HFAAGC_Ex_5_12.sce new file mode 100755 index 000000000..1e436c5be --- /dev/null +++ b/1583/CH5/EX5.12/HFAAGC_Ex_5_12.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.12
+//given
+B=10^7//amplifier bandwidth
+Bf=10*B//closed loop bandwidth
+disp('The closed loop gain has been reduced by 20dB (a factor of 10) so the banwidth increased proportionally')
+mprintf('the closed-loop bandwidth is %3.2e rad/s',B)
diff --git a/1583/CH5/EX5.12/Result_of_Chapter_5_Ex5_12.jpg b/1583/CH5/EX5.12/Result_of_Chapter_5_Ex5_12.jpg Binary files differnew file mode 100755 index 000000000..5ad32e736 --- /dev/null +++ b/1583/CH5/EX5.12/Result_of_Chapter_5_Ex5_12.jpg diff --git a/1583/CH5/EX5.13/HFAAGC_Ex_5_13.sce b/1583/CH5/EX5.13/HFAAGC_Ex_5_13.sce new file mode 100755 index 000000000..e50e962f0 --- /dev/null +++ b/1583/CH5/EX5.13/HFAAGC_Ex_5_13.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 5:High Frequency amplifiers and automatic gain control
+//Example 5.13 page no 184
+//Example on emitter feedback
+disp('The parallel combination of the two base biasing resistors is 2.66k ohm resistor. The parallel combination of this resistor and the 260ohm emitter resistance is 237ohm i.e.rpi=237ohm')
+gm=0.4//transconductance
+rpi=237//base emitter resistance
+RL=600//load resistance (values of resistance are taken from the figure)
+Rs=500//source resistance
+Av=gm*RL*rpi/(rpi+Rs)//Voltage gain
+B=0.84*10^6//Bandwidth (The value of Bandwidth is taken from the Graph firure 5.51)
+GB=Av*B//Gain bandwidth product
+mprintf('The gain bandwidth product is %3.2e Hz ',GB)
diff --git a/1583/CH5/EX5.13/Result_of_Chapter_5_Ex5_13.jpg b/1583/CH5/EX5.13/Result_of_Chapter_5_Ex5_13.jpg Binary files differnew file mode 100755 index 000000000..e28f1eaaf --- /dev/null +++ b/1583/CH5/EX5.13/Result_of_Chapter_5_Ex5_13.jpg diff --git a/1583/CH5/EX5.14/HFAAGC_Ex_5_14.sce b/1583/CH5/EX5.14/HFAAGC_Ex_5_14.sce new file mode 100755 index 000000000..73cc8889b --- /dev/null +++ b/1583/CH5/EX5.14/HFAAGC_Ex_5_14.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 5:High Frequency amplifiers and automatic gain control
+//Example 5.14 page no 189
+//Example on voltage to current feedback
+gm=0.4//transconductance
+RL=600//load resistance
+Rs=500//source resistance (refer figure 5.54)
+disp('Av=-gm*RL/(1+gf*RL+gm*RL*(Rs/RF))')//Voltage gain
+disp('GB=Av*B')
+disp('The gain bandwidth product varies from a low of 59.5*10^6 Hz for a gain of unity 265.1*10^6 Hz for a closed loop gain of 17.9 ')//(refer figure 5.55)
diff --git a/1583/CH5/EX5.14/Result_of_Chapter_5_Ex5_14.jpg b/1583/CH5/EX5.14/Result_of_Chapter_5_Ex5_14.jpg Binary files differnew file mode 100755 index 000000000..742ca1d60 --- /dev/null +++ b/1583/CH5/EX5.14/Result_of_Chapter_5_Ex5_14.jpg diff --git a/1583/CH5/EX5.15/HFAAGC_Ex_5_15.sce b/1583/CH5/EX5.15/HFAAGC_Ex_5_15.sce new file mode 100755 index 000000000..b2c29e5d7 --- /dev/null +++ b/1583/CH5/EX5.15/HFAAGC_Ex_5_15.sce @@ -0,0 +1,27 @@ +clc
+//Chapter 5:High Frequency amplifiers and automatic gain control
+//Example 5.15 page no 193
+disp('Gain bandwidth product of a common base amplifier with lossless feedback ')
+//All the Bandwidth values are taken by graph
+m1=0//i.e. for no turns ratio
+Av1=1//for no turns ratio voltage gain is approx unity
+B1=79.4*10^6//bandwidth
+GB1=Av1*B1//Gain bandwidth product
+m2=4//i.e. for turns ratio is 4
+Av2=m2/2//voltage gain
+B2=11.22*10^6//bandwidth
+GB2=Av2*B2//Gain bandwidth product
+m3=6//i.e. for turns ratio is 6
+Av3=m3/2//voltage gain
+B3=4.67*10^6//bandwidth
+GB3=Av3*B3//Gain bandwidth product
+m4=10//i.e. for turns ratio is 10
+Av4=m4/2//voltage gain
+B4=1.6*10^6//bandwidth
+GB4=Av4*B4//Gain bandwidth product
+m5=20//i.e. for turns ratio is 20
+Av5=m5/2//voltage gain
+B5=4.22*10^5//bandwidth
+GB5=Av5*B5//Gain bandwidth product
+disp('The Gain Bandwidth product in Hz')
+mprintf('GB1 = %3.2e \n GB2 = %3.2e \n GB3 = %3.2e \n GB4 = %3.2e \n GB5 = %3.2e ',GB1,GB2,GB3,GB4,GB5)
diff --git a/1583/CH5/EX5.15/Result_of_Chapter_5_Ex5_15.jpg b/1583/CH5/EX5.15/Result_of_Chapter_5_Ex5_15.jpg Binary files differnew file mode 100755 index 000000000..f582dce2f --- /dev/null +++ b/1583/CH5/EX5.15/Result_of_Chapter_5_Ex5_15.jpg diff --git a/1583/CH5/EX5.18/HFAAGC_Ex_5_18.sce b/1583/CH5/EX5.18/HFAAGC_Ex_5_18.sce new file mode 100755 index 000000000..a6c896805 --- /dev/null +++ b/1583/CH5/EX5.18/HFAAGC_Ex_5_18.sce @@ -0,0 +1,9 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.18
+//given
+Vr=1//reference voltage
+Vc=0.5
+Vo=Vr-Vc//output voltage
+Vi=Vo/Vc^2//input voltage
+mprintf('the dc voltage as function of input voltage is %d V',Vi)
diff --git a/1583/CH5/EX5.18/Result_of_Chapter_5_Ex5_18.jpg b/1583/CH5/EX5.18/Result_of_Chapter_5_Ex5_18.jpg Binary files differnew file mode 100755 index 000000000..eac293a37 --- /dev/null +++ b/1583/CH5/EX5.18/Result_of_Chapter_5_Ex5_18.jpg diff --git a/1583/CH5/EX5.2/HFAAGC_Ex_5_2.sce b/1583/CH5/EX5.2/HFAAGC_Ex_5_2.sce new file mode 100755 index 000000000..2fce74125 --- /dev/null +++ b/1583/CH5/EX5.2/HFAAGC_Ex_5_2.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.2 page no 148
+//given
+wT=3*10^8//gain bandwidth product
+w=10*10^6//given frequency
+Ai=wT/w//short circuit current gain
+mprintf('the short circuit current gain is %d ',Ai)
diff --git a/1583/CH5/EX5.2/Result_of_Chapter_5_Ex5_2.jpg b/1583/CH5/EX5.2/Result_of_Chapter_5_Ex5_2.jpg Binary files differnew file mode 100755 index 000000000..bbdfccee7 --- /dev/null +++ b/1583/CH5/EX5.2/Result_of_Chapter_5_Ex5_2.jpg diff --git a/1583/CH5/EX5.3/HFAAGC_Ex_5_3.sce b/1583/CH5/EX5.3/HFAAGC_Ex_5_3.sce new file mode 100755 index 000000000..56bc553e4 --- /dev/null +++ b/1583/CH5/EX5.3/HFAAGC_Ex_5_3.sce @@ -0,0 +1,18 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.3 page no 153
+//given
+gm=2*10^-3//transconductance
+Cgs=5*10^-12//equivalent Miller's input capacitance
+Cgd=1*10^-12//equivalent Miller's output capacitance
+Cds=1*10^-12
+rd=13*10^3
+R=5*10^3//source resistance
+RL=(6*10^3*13*10^3)/(6*10^3+13*10^3)//total load resistance
+Av=-gm*RL//voltage gain
+R_L=RL*rd/(RL+rd)
+CT=Cgs+Cgd*(1+gm*R_L)//total capacitance
+Co=Cds+(Cgd*(1+gm*R_L)/(gm*R_L))//output capacitance
+w1=(R*CT)^-1//pole due to input circuit
+w2=(RL*Co)^-1//pole due to output circuit
+mprintf('the voltage gain is %f \n the total capacitance is %3.2e pF \n the output capacitance is %3.2e pF \n the pole due to input circuit is %3.2e rad/s \n the pole due to output circuit is %3.2e rad/s ',Av,CT,Co,w1,w2)
diff --git a/1583/CH5/EX5.3/Result_of_Chapter_5_Ex5_3.jpg b/1583/CH5/EX5.3/Result_of_Chapter_5_Ex5_3.jpg Binary files differnew file mode 100755 index 000000000..18899eed5 --- /dev/null +++ b/1583/CH5/EX5.3/Result_of_Chapter_5_Ex5_3.jpg diff --git a/1583/CH5/EX5.4/HFAAGC_Ex_5_4.sce b/1583/CH5/EX5.4/HFAAGC_Ex_5_4.sce new file mode 100755 index 000000000..14e867e3a --- /dev/null +++ b/1583/CH5/EX5.4/HFAAGC_Ex_5_4.sce @@ -0,0 +1,18 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.4 page no 155
+//given
+gm=2*10^-3//transconductance
+Cgs=5*10^-12//equivalent Miller's input capacitance
+Cgd=10^-12//equivalent Miller's output capacitance
+Cds=10^-12
+R=5*10^3
+R_L=4.1*10^3
+wz=2*10^9
+CT=Cgs+Cgd*(1+gm*R_L)//total capacitance
+Co=Cds+(Cgd*(1+gm*R_L)/(gm*R_L))//output capacitance
+w1=(R*CT)^-1//pole due to input circuit
+w2=(R_L*Co)^-1//pole due to output circuit
+mprintf('the transfer function is found to be located at %3.2e rad/s \n the pole due to input circuit is %3.2e rad/s \n the pole due to output circuit is %3.2e rad/s ',wz,w1,w2)
+
+
diff --git a/1583/CH5/EX5.4/Result_of_Chapter_5_Ex5_4.jpg b/1583/CH5/EX5.4/Result_of_Chapter_5_Ex5_4.jpg Binary files differnew file mode 100755 index 000000000..34447bd7e --- /dev/null +++ b/1583/CH5/EX5.4/Result_of_Chapter_5_Ex5_4.jpg diff --git a/1583/CH5/EX5.5/HFAAGC_Ex_5_5.sce b/1583/CH5/EX5.5/HFAAGC_Ex_5_5.sce new file mode 100755 index 000000000..829131736 --- /dev/null +++ b/1583/CH5/EX5.5/HFAAGC_Ex_5_5.sce @@ -0,0 +1,20 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.5 page no 157
+//given
+gm=0.4//transconductance
+rpi=260
+Re=237//emitter resistance
+RL=600//load resistance
+Rs=500//source resistance
+Vi=1//input voltage(asumme Vi=1)
+R=rpi*Rs/(rpi+Rs)
+Vo=-gm*RL*Re/(Re+Rs)//output voltage
+Cgs=960*10^-12//equivalent Miller's input capacitance
+Ci=206*10^-12//input capacitance
+CT=Cgs+Ci//total capacitance
+Co=4*10^-12//output capacitance
+w1=(R*CT)^-1//pole due to input circuit
+w2=(RL*Co)^-1//pole due to output circuit
+disp('The high-frequency performance is determined by the input circuit The upper -3dB frequency of this amplifier is equal to w1')
+mprintf('the upper 3dB frequency is %3.2e rad/s ',w1)
diff --git a/1583/CH5/EX5.5/Result_of_Chapter_5_Ex5_5.jpg b/1583/CH5/EX5.5/Result_of_Chapter_5_Ex5_5.jpg Binary files differnew file mode 100755 index 000000000..cc55b28f1 --- /dev/null +++ b/1583/CH5/EX5.5/Result_of_Chapter_5_Ex5_5.jpg diff --git a/1583/CH5/EX5.6/HFAAGC_Ex_5_6.sce b/1583/CH5/EX5.6/HFAAGC_Ex_5_6.sce new file mode 100755 index 000000000..44a5140e9 --- /dev/null +++ b/1583/CH5/EX5.6/HFAAGC_Ex_5_6.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.5 page no 159
+//given
+s=poly(0,"s")
+Vo=-(0.4-s*4*10^-12)*(966*10^3)
+Vth=s^2*(79.6*10^-18)+s*(190.2*10^-9)+1
+disp(Vo/Vth,'the transfer function is ')
+wz=10^11//transfer function zero
+w1=-5.5*10^6//pole due to input circuit
+w2=-2.41*10^9//pole due to output circuit
+mprintf('the transfer function zero is found to be located at %3.2e rad/s \n the pole due to input circuit is %3.2e rad/s \n the pole due to output circuit is %3.2e rad/s ',wz,w1,w2)
+
diff --git a/1583/CH5/EX5.6/Result_of_Chapter_5_Ex5_6.jpg b/1583/CH5/EX5.6/Result_of_Chapter_5_Ex5_6.jpg Binary files differnew file mode 100755 index 000000000..78e8dabe4 --- /dev/null +++ b/1583/CH5/EX5.6/Result_of_Chapter_5_Ex5_6.jpg diff --git a/1583/CH5/EX5.7/HFAAGC_Ex_5_7.sce b/1583/CH5/EX5.7/HFAAGC_Ex_5_7.sce new file mode 100755 index 000000000..cf2059698 --- /dev/null +++ b/1583/CH5/EX5.7/HFAAGC_Ex_5_7.sce @@ -0,0 +1,18 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.7 page no 162
+//given
+gm=0.4//transconductance
+RL=600//load resistance
+Rs=500//source resistance
+Avec=gm*RL//midband emitter to collector voltage gain
+CM=(1-Avec)*10^-12//miller capacitance
+C_M=CM/Avec//collector to ground miller capacitance
+Ri=gm^-1
+Av=Avec*(Ri/Rs)//midfrequency voltage gain
+Co=(4+1)*10^-12//output capacitance
+CT=(206+CM)*10^-12//toatl capacitance
+R=(500^-1+300^-1+260^-1)^-1
+w1=(R*CT)^-1//pole due to input circuit)
+w2=(RL*Co)^-1//pole due to output circuit
+mprintf('the mid frequency voltage gain %f \n the pole due to input circuit is %3.2e rad/s \n the pole due to output circuit is %3.2e rad/s ',Av,w1,w2)
diff --git a/1583/CH5/EX5.7/Result_of_Chapter_5_Ex5_7.jpg b/1583/CH5/EX5.7/Result_of_Chapter_5_Ex5_7.jpg Binary files differnew file mode 100755 index 000000000..937de974c --- /dev/null +++ b/1583/CH5/EX5.7/Result_of_Chapter_5_Ex5_7.jpg diff --git a/1583/CH5/EX5.8/HFAAGC_Ex_5_8.sce b/1583/CH5/EX5.8/HFAAGC_Ex_5_8.sce new file mode 100755 index 000000000..6165a26e6 --- /dev/null +++ b/1583/CH5/EX5.8/HFAAGC_Ex_5_8.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
+//example 5.8 page no 166
+//given
+Rs=500//source resistance
+rpi=260
+gm=0.4//transconductance
+RL=600//load resistance
+cpi=206*10^-12
+wp=(Rs+rpi+(1+gm*rpi)*RL)/(rpi*cpi*(Rs+RL))//pole at the lower frequency
+wz=(1+gm*rpi)/(rpi*cpi)//pole at the zero frequency
+mprintf('the pole at the lower frequency is %3.2e rad/s \n the pole pole at the zero frequency is %3.2e rad/s ',wp,wz)
diff --git a/1583/CH5/EX5.8/Result_of_Chapter_5_Ex5_8.jpg b/1583/CH5/EX5.8/Result_of_Chapter_5_Ex5_8.jpg Binary files differnew file mode 100755 index 000000000..719100bda --- /dev/null +++ b/1583/CH5/EX5.8/Result_of_Chapter_5_Ex5_8.jpg diff --git a/1583/CH6/EX6.2/HTLT_Ex_6_2.sce b/1583/CH6/EX6.2/HTLT_Ex_6_2.sce new file mode 100755 index 000000000..78fc0df7e --- /dev/null +++ b/1583/CH6/EX6.2/HTLT_Ex_6_2.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 6:Three winding transformer
+//example 6.2 page no 221
+//given
+k=1
+R=50//resistor
+R1=R*k
+R2=R
+R3=100
+R4=R1/(1+k)
+N=sqrt(R1/(2*R3))//turns ratio
+mprintf('the turns ratio %f \n R4=%d ',N,R4)
+disp('the output voltage Eo= -I3.RL = E1/2')
diff --git a/1583/CH6/EX6.2/Result_of_Chapter_6_Ex6_2.jpg b/1583/CH6/EX6.2/Result_of_Chapter_6_Ex6_2.jpg Binary files differnew file mode 100755 index 000000000..3f488abc4 --- /dev/null +++ b/1583/CH6/EX6.2/Result_of_Chapter_6_Ex6_2.jpg diff --git a/1583/CH7/EX7.1/Oscillators_Ex_7_1.sce b/1583/CH7/EX7.1/Oscillators_Ex_7_1.sce new file mode 100755 index 000000000..f828c7168 --- /dev/null +++ b/1583/CH7/EX7.1/Oscillators_Ex_7_1.sce @@ -0,0 +1,18 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.1 page no 247
+//given
+B=100//current gain
+f=20*10^6//oscillator frequency
+VT=26*10^-3
+Ic=1*10^-3//dc bias current
+ri=VT/Ic//common base inout resistance
+gm=ri^-1//transconductance
+GH=3//In oscillator design the loop gain is usually selected to be about 3,which allow for some error in the approximation so that (C1+C2)/C1=3
+C2=(2*%pi*f*8)^-1//second capacitor
+C1=C2/2//first capacitor
+Req=ri*((C1+C2)/C1)^2//equivalent resistor
+L=(((2*%pi*f)^2)*((C1*C2)/(C1+C2)))^-1//inductor
+mprintf('the value of second capacitor is %f pF \n the value of first capacitor is %f pF \n the value of equivalent resistor is %d ohm \n the value of indicator is %f uH',C2*1e12,C1*1e12,Req,L*1e6)
+
+
diff --git a/1583/CH7/EX7.1/Result_of_Chapter_7_Ex7_1.jpg b/1583/CH7/EX7.1/Result_of_Chapter_7_Ex7_1.jpg Binary files differnew file mode 100755 index 000000000..efa6b9a11 --- /dev/null +++ b/1583/CH7/EX7.1/Result_of_Chapter_7_Ex7_1.jpg diff --git a/1583/CH7/EX7.11/Oscillators_Ex_7_11.sce b/1583/CH7/EX7.11/Oscillators_Ex_7_11.sce new file mode 100755 index 000000000..cac412f09 --- /dev/null +++ b/1583/CH7/EX7.11/Oscillators_Ex_7_11.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 7:Oscillators
+//Example 7.11 page no 292
+disp('In order to convert the input waveform from 87.5MHz to 10.7MHz the local oscillator would need to be 76.8MHz(low side injection) or 98.2MHz (high side injection).To convert the input waveform from 108.0MHz the local oscilltor would need to be 97.3MHz (low side injection) or 118.7MHz (high side injection) ')
+L=0.05*10^-6//choosing value of indicator
+f1=76.8*10^6//starting frequency
+f2=97.3*10^6//ending frequency
+C1=((1/(2*%pi*f1))^2)/L//Capacitor value for starting frequency
+C2=((1/(2*%pi*f2))^2)/L//Capacitor value for ending frequency
+mprintf('The value of C is varies batween %3.2e F to %3.2e F ',C1,C2)
diff --git a/1583/CH7/EX7.11/Result_of_Chapter_7_Ex7_11.jpg b/1583/CH7/EX7.11/Result_of_Chapter_7_Ex7_11.jpg Binary files differnew file mode 100755 index 000000000..ea43713c7 --- /dev/null +++ b/1583/CH7/EX7.11/Result_of_Chapter_7_Ex7_11.jpg diff --git a/1583/CH7/EX7.2/Oscillators_Ex_7_2.sce b/1583/CH7/EX7.2/Oscillators_Ex_7_2.sce new file mode 100755 index 000000000..643bf35d9 --- /dev/null +++ b/1583/CH7/EX7.2/Oscillators_Ex_7_2.sce @@ -0,0 +1,17 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.2 page no 251
+//given
+B=100
+f=5*10^6//oscillator frequency
+L=10*10^-6//inductor
+X=(L*(2*%pi*f)^2)^-1//Taking X=C1'*C2/(C1'+C2)
+r=3.14//series resistance of inductor
+C1=200*10^-12//first capacitor(asumming values of capacitors)
+C2=200*10^-12//second capacitor
+Y=(1+B)/(((2*%pi*f)^2)*C1*C2)
+Z=L/C1
+rpi=(Y-Z)*r^-1//resistance
+gm=rpi^-1//transconductance
+I=gm/40//bias current
+mprintf('the equivalent capacitance is %3.2e pF \n the resistance value is %3.2e ohm \n the bias current is %3.2e A',X,rpi,I)
diff --git a/1583/CH7/EX7.2/Result_of_Chapter_7_Ex7_2.jpg b/1583/CH7/EX7.2/Result_of_Chapter_7_Ex7_2.jpg Binary files differnew file mode 100755 index 000000000..af240885b --- /dev/null +++ b/1583/CH7/EX7.2/Result_of_Chapter_7_Ex7_2.jpg diff --git a/1583/CH7/EX7.3/Oscillators_Ex_7_3.sce b/1583/CH7/EX7.3/Oscillators_Ex_7_3.sce new file mode 100755 index 000000000..5ef000eae --- /dev/null +++ b/1583/CH7/EX7.3/Oscillators_Ex_7_3.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.3
+//given
+rpi=1000
+C1=200*10^-12
+r=3.14//series resistance
+C_1=C1/(1+(r/rpi))//capacitance
+
+mprintf('the capacitor value is %f pF',round(C_1*1e12))
diff --git a/1583/CH7/EX7.3/Result_of_Chapter_7_Ex7_3.jpg b/1583/CH7/EX7.3/Result_of_Chapter_7_Ex7_3.jpg Binary files differnew file mode 100755 index 000000000..0585d3d2d --- /dev/null +++ b/1583/CH7/EX7.3/Result_of_Chapter_7_Ex7_3.jpg diff --git a/1583/CH7/EX7.4/Oscillators_Ex_7_4.sce b/1583/CH7/EX7.4/Oscillators_Ex_7_4.sce new file mode 100755 index 000000000..1c08900dd --- /dev/null +++ b/1583/CH7/EX7.4/Oscillators_Ex_7_4.sce @@ -0,0 +1,11 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.4 page no 255
+//given
+gm=6*10^-3
+r=4
+f=10^6
+disp('Assume (w*Cm)^-1=X')
+X=sqrt(r/gm)//minimum permissible reactance
+Cm=(2*%pi*f*X)^-1//maximum series capacitance
+mprintf('the minimum permissible reactance is %f ohm \n the maximum series capacitance is %f pF',X,Cm*1e12)
diff --git a/1583/CH7/EX7.4/Result_of_Chapter_7_Ex7_4.jpg b/1583/CH7/EX7.4/Result_of_Chapter_7_Ex7_4.jpg Binary files differnew file mode 100755 index 000000000..9a7367293 --- /dev/null +++ b/1583/CH7/EX7.4/Result_of_Chapter_7_Ex7_4.jpg diff --git a/1583/CH7/EX7.5/Oscillators_Ex_7_5.sce b/1583/CH7/EX7.5/Oscillators_Ex_7_5.sce new file mode 100755 index 000000000..8732ea4b4 --- /dev/null +++ b/1583/CH7/EX7.5/Oscillators_Ex_7_5.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.5 page no 265
+//given
+Co=3.2//shunt capacitance
+C1=0.008
+k=Co/C1//ratio
+fa=10^6//crystai's antiresonant frequency
+fs=1+(2*k)^-1//series resonant frequency
+mprintf('the series resonant frequency is %f MHz',fs)
diff --git a/1583/CH7/EX7.5/Result_of_Chapter_7_Ex7_5.jpg b/1583/CH7/EX7.5/Result_of_Chapter_7_Ex7_5.jpg Binary files differnew file mode 100755 index 000000000..51eb21502 --- /dev/null +++ b/1583/CH7/EX7.5/Result_of_Chapter_7_Ex7_5.jpg diff --git a/1583/CH7/EX7.6/Oscillators_Ex_7_6.sce b/1583/CH7/EX7.6/Oscillators_Ex_7_6.sce new file mode 100755 index 000000000..4d1d38681 --- /dev/null +++ b/1583/CH7/EX7.6/Oscillators_Ex_7_6.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.6 page no 265
+//given
+f=5.7*10^6//given frequency
+Xs=4654//shunt reactance for shunt capacitacne of 6pF
+r=25//series resistance
+Q1=Xs/r//equivalent to crystal Q for easily expressing
+C1=21*10^-15
+XC1=(C1*2*%pi*f)^-1//capacitive reactance
+disp('C1 is much smaller than the shunt capacitance,so the inductive reactance is XL=1.3*10^6')
+Q=XC1/r//crystal Q
+mprintf('the crystal Q is %d ',Q)
diff --git a/1583/CH7/EX7.6/Result_of_Chapter_7_Ex7_6.jpg b/1583/CH7/EX7.6/Result_of_Chapter_7_Ex7_6.jpg Binary files differnew file mode 100755 index 000000000..33c787527 --- /dev/null +++ b/1583/CH7/EX7.6/Result_of_Chapter_7_Ex7_6.jpg diff --git a/1583/CH7/EX7.7/Oscillators_Ex_7_7.sce b/1583/CH7/EX7.7/Oscillators_Ex_7_7.sce new file mode 100755 index 000000000..0fa0aa2c6 --- /dev/null +++ b/1583/CH7/EX7.7/Oscillators_Ex_7_7.sce @@ -0,0 +1,14 @@ +clc
+//chapter 7:Crystal Oscillator Characteristics
+//Example 7.7 page no 266
+//given
+f=20*10^6//given frequency
+//If the crystal load capacitnace is specified to be 32pF, then the series combination of C1 and C2 must be 32pF. this could be satisfied by using 64pF capacitors for both C1 and C2.
+gm=1.5*10^-3//transconductance
+C1=64*10^-12
+C2=64*10^-12
+r1=gm/((2*%pi*f)^2*C1*C2)//series resistance of the crystal
+mprintf('The series resistnce is approximately %f ohm ',r1)
+disp('In order for oscillations to occur, the loop gain must still be greater than 1')
+G=gm*((2*%pi*f*C1)^-1)^2/r1//loop gain
+disp(G,'loop gain is ')
diff --git a/1583/CH7/EX7.7/Result_of_Chapter_7_Ex7_7.jpg b/1583/CH7/EX7.7/Result_of_Chapter_7_Ex7_7.jpg Binary files differnew file mode 100755 index 000000000..5e7ca1f53 --- /dev/null +++ b/1583/CH7/EX7.7/Result_of_Chapter_7_Ex7_7.jpg diff --git a/1583/CH7/EX7.8/Oscillators_Ex_7_8.sce b/1583/CH7/EX7.8/Oscillators_Ex_7_8.sce new file mode 100755 index 000000000..94d26c7af --- /dev/null +++ b/1583/CH7/EX7.8/Oscillators_Ex_7_8.sce @@ -0,0 +1,12 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.8 page no 270
+//given
+fa=5.7*10^6//parallel antiresonant frequency
+C1=21*10^-15
+Co=37.1*10^-12//here 32pF is parallel with 5.1pF so they get added
+CL=22*10^-12
+f_a=fa*((1+C1/(2*(Co+CL)))/(1+C1/(2*Co)))//new parallel antiresonant frequency
+r1=25
+Rp=r1*(1+((r1*2*%pi*f_a*(Co+CL))^-1)^2)//equivalent parallel resistance
+mprintf('the new parallel antiresonant frequency is %f MHz \n the equivalent parallel resistance is %f Kohm',f_a*1e-6,Rp*1e-3)
diff --git a/1583/CH7/EX7.8/Result_of_Chapter_7_Ex7_8.jpg b/1583/CH7/EX7.8/Result_of_Chapter_7_Ex7_8.jpg Binary files differnew file mode 100755 index 000000000..065b3d7c7 --- /dev/null +++ b/1583/CH7/EX7.8/Result_of_Chapter_7_Ex7_8.jpg diff --git a/1583/CH7/EX7.9/Oscillators_Ex_7_9.sce b/1583/CH7/EX7.9/Oscillators_Ex_7_9.sce new file mode 100755 index 000000000..c72271db7 --- /dev/null +++ b/1583/CH7/EX7.9/Oscillators_Ex_7_9.sce @@ -0,0 +1,18 @@ +clc
+//Chapter 7:Conditions for Oscillation
+//example 7.9 page no 284
+//given
+rd=50*10^3
+gm=5*10^-3//transconductance
+f=16*10^6//frequency of oscillation
+Rs=15
+XC1=1*10^3//capacitive reactance of first capacitor
+XC2=Rs/(gm*XC1)//capacitive reactance of second capacitor
+C1=(2*%pi*f*XC1)^-1//value of first capacitor
+C2=(2*%pi*f*XC2)^-1//value of second capacitor
+mprintf('the value of first capacitor is %3.2e pF\n the value of second capacitor is %3.2e pF\n ',C1,C2)
+disp('This value of C1 may be so small that the transistor output capacitance has a effect. therefore it is desirable to incease C1.If C1 is increased by a factor of 10,so that XC1=100,then C2 must also be increased ')
+XC_2=Rs/(gm*100)//new value of reactance
+XL=100+XC_2//inductive reactance
+L=XL/(2*%pi*f)//value of inductor
+mprintf('the value of inductor is %3.2e H',L)
diff --git a/1583/CH7/EX7.9/Result_of_Chapter_7_Ex7_9.jpg b/1583/CH7/EX7.9/Result_of_Chapter_7_Ex7_9.jpg Binary files differnew file mode 100755 index 000000000..a9ef9a147 --- /dev/null +++ b/1583/CH7/EX7.9/Result_of_Chapter_7_Ex7_9.jpg diff --git a/1583/CH8/EX8.1/PLL_Ex_8_1.sce b/1583/CH8/EX8.1/PLL_Ex_8_1.sce new file mode 100755 index 000000000..58b0b5257 --- /dev/null +++ b/1583/CH8/EX8.1/PLL_Ex_8_1.sce @@ -0,0 +1,16 @@ +clc
+//Chapter 8:Linear model of phase locked loop
+//example 8.1 page no 314
+//given
+fo=1*10^6//output frequency
+fr=25*10^3//reference frequency
+N=fo/fr
+Kd=2//phase detector gain factor
+Ko=100//VCO gain factor
+thetao=(2*100*2*%pi)//output phase
+s=poly(0,"s")
+thetar=s+(2*100*2*%pi)/N//input phase
+Tf=thetao/thetar
+disp(Tf,'the closed loop transfer function is ')
+Kv=Kd*Ko/N//bandwidth
+mprintf('the synthesizer bandwidth will be %d Hz',Kv)
diff --git a/1583/CH8/EX8.1/Result_of_Chapter_8_Ex8_1.jpg b/1583/CH8/EX8.1/Result_of_Chapter_8_Ex8_1.jpg Binary files differnew file mode 100755 index 000000000..73ce478e7 --- /dev/null +++ b/1583/CH8/EX8.1/Result_of_Chapter_8_Ex8_1.jpg diff --git a/1583/CH8/EX8.2/PLL_Ex_8_2.sce b/1583/CH8/EX8.2/PLL_Ex_8_2.sce new file mode 100755 index 000000000..1cc4b8c70 --- /dev/null +++ b/1583/CH8/EX8.2/PLL_Ex_8_2.sce @@ -0,0 +1,10 @@ +clc
+//Chapter 8:Linear model of phase locked loop
+//example 8.2 page no 316
+//given
+zeta=0.707//damping ratio for butterworth filter
+Kv=10*%pi//bandwidth
+wL=Kv*(2*zeta)^2//low pass filter bandwidth
+wn=sqrt(Kv*wL)//bandwidth of closed loop system
+tr=2.2/wn//rise time
+mprintf('low pass filter bandwidth is %f rad/s \n bandwidth of closed loop system is %f rad/s \n the system rise time is %3.2e s',wL,wn,tr)
diff --git a/1583/CH8/EX8.2/Result_of_Chapter_8_Ex8_2.jpg b/1583/CH8/EX8.2/Result_of_Chapter_8_Ex8_2.jpg Binary files differnew file mode 100755 index 000000000..aa87761ea --- /dev/null +++ b/1583/CH8/EX8.2/Result_of_Chapter_8_Ex8_2.jpg diff --git a/1583/CH8/EX8.4/PLL_Ex_8_4.sce b/1583/CH8/EX8.4/PLL_Ex_8_4.sce new file mode 100755 index 000000000..b598770b2 --- /dev/null +++ b/1583/CH8/EX8.4/PLL_Ex_8_4.sce @@ -0,0 +1,23 @@ +clc
+//Chapter 8:Linear model of phase locked loop
+//example 8.6 page no 349
+//given
+//The VCO is designed to oscillate at 100kHz
+R1=10.8*10^3
+R2=10.8*10^3
+C=1*10^-9
+N=2//order of filter
+fmin=(R2*(C+32*10^-12))^-1//minimum frequency
+fmax=fmin+(R1*(C+32*10^-12))^-1//maximum frequency
+VDD=9//regulated power supply
+Kvco=(2*%pi*(fmax-fmin))/(VDD-2)
+Kv=Kvco*(VDD/%pi)/N
+zeta=0.707//damping ratio for butterworth filter
+wL=Kv*(2*zeta)^2//low pass filter bandwidth
+wn=sqrt(Kv*wL)//bandwidth of closed loop system
+mprintf('low pass filter bandwidth is %3.2e rad/s \n bandwidth of closed loop system is %3.2e rad/s',wL,wn)
+thetao=(10.6*10^9)//output phase
+s=poly(0,"s")
+thetar=s^2+s*2.3*10^4+2.66*10^8//input phase
+Tf=thetao/thetar
+disp(Tf,'the closed loop transfer function is ')
diff --git a/1583/CH8/EX8.4/Result_of_Chapter_8_Ex8_4.jpg b/1583/CH8/EX8.4/Result_of_Chapter_8_Ex8_4.jpg Binary files differnew file mode 100755 index 000000000..cb37eea1a --- /dev/null +++ b/1583/CH8/EX8.4/Result_of_Chapter_8_Ex8_4.jpg diff --git a/1583/CH9/EX9.1/PLLA_Ex_9_1.sce b/1583/CH9/EX9.1/PLLA_Ex_9_1.sce new file mode 100755 index 000000000..f799e52ec --- /dev/null +++ b/1583/CH9/EX9.1/PLLA_Ex_9_1.sce @@ -0,0 +1,10 @@ +clc
+//chapter 9: Stability Analysis
+//Example 9.1 page no 357
+//given
+Kv=50//DC gain
+wL=100//corner frequency
+disp('The system crossover frequecny is approximately 50 rad/s')
+PhaseMargin=90-(atan(50/wL)*180/%pi)//phase margin of system
+disp('At this frequency the phase shift of the open loop transfer function is -112.5')
+disp(PhaseMargin,'The phase margin is ')
diff --git a/1583/CH9/EX9.1/Result_of_Chapter_9_Ex9_1.jpg b/1583/CH9/EX9.1/Result_of_Chapter_9_Ex9_1.jpg Binary files differnew file mode 100755 index 000000000..5058d9255 --- /dev/null +++ b/1583/CH9/EX9.1/Result_of_Chapter_9_Ex9_1.jpg diff --git a/1583/CH9/EX9.2/PLLA_Ex_9_2.sce b/1583/CH9/EX9.2/PLLA_Ex_9_2.sce new file mode 100755 index 000000000..194b35628 --- /dev/null +++ b/1583/CH9/EX9.2/PLLA_Ex_9_2.sce @@ -0,0 +1,10 @@ +clc
+//chapter 9: Stability Analysis
+//Example 9.2 page no 357
+//given
+Kv=50//DC gain
+wL=10//corner frequency
+disp('The system crossover frequecny is approximately 22 rad/s')
+PhaseMargin=90-(atan(22/wL)*180/%pi)//phase margin of system
+disp(PhaseMargin,'The phase margin is ')
+
diff --git a/1583/CH9/EX9.2/Result_of_Chapter_9_Ex9_2.jpg b/1583/CH9/EX9.2/Result_of_Chapter_9_Ex9_2.jpg Binary files differnew file mode 100755 index 000000000..8ead2e107 --- /dev/null +++ b/1583/CH9/EX9.2/Result_of_Chapter_9_Ex9_2.jpg diff --git a/1583/CH9/EX9.3/PLLA_Ex_9_3.sce b/1583/CH9/EX9.3/PLLA_Ex_9_3.sce new file mode 100755 index 000000000..d72e55ccd --- /dev/null +++ b/1583/CH9/EX9.3/PLLA_Ex_9_3.sce @@ -0,0 +1,12 @@ +clc
+close
+//chapter 9: Stability Analysis
+//Example 9.3 page no 361
+//given
+clear
+wL=258
+s=poly(0,'s')
+h=syslin('c',(100/(s*(s/wL+1)^2 )))
+clf();bode(h,1,1000);
+disp('The open loop gain and the phase plots are given .It is seen that the crossover frequency is 15Hz,and the phase margin is 50degree')
+disp('We know that the overshoot can be increased by decreasing the phase margin.In fact,in this case selecting wL=233 rad/s corresponding to phase margin of 43.5degree gives an overshoot of 20persent')
diff --git a/1583/CH9/EX9.3/Result_of_Chapter_9_Ex9_3.jpeg b/1583/CH9/EX9.3/Result_of_Chapter_9_Ex9_3.jpeg Binary files differnew file mode 100755 index 000000000..ec8940fa9 --- /dev/null +++ b/1583/CH9/EX9.3/Result_of_Chapter_9_Ex9_3.jpeg diff --git a/1583/CH9/EX9.4/PLLA_Ex_9_4.sce b/1583/CH9/EX9.4/PLLA_Ex_9_4.sce new file mode 100755 index 000000000..684c9291a --- /dev/null +++ b/1583/CH9/EX9.4/PLLA_Ex_9_4.sce @@ -0,0 +1,14 @@ +clc
+close
+//chapter 9: Stability Analysis
+//Example 9.4 page no 363
+//given
+clear
+N=2
+Kv=0.83*10^3//DC gain
+B=1250//closed loop bandwidth
+wn=1.27*10^3
+wL=wn^2/Kv//corner frequency
+s=poly(0,'s')
+h=syslin('c',(1/((s^2/wn^2)+0.9*s/wn+1)))
+clf();bode(h,1,1000);
diff --git a/1583/CH9/EX9.4/Result_of_Chapter_9_Ex9_4.jpeg b/1583/CH9/EX9.4/Result_of_Chapter_9_Ex9_4.jpeg Binary files differnew file mode 100755 index 000000000..34dfaafd6 --- /dev/null +++ b/1583/CH9/EX9.4/Result_of_Chapter_9_Ex9_4.jpeg diff --git a/1583/CH9/EX9.5/PLLA_Ex_9_5.sce b/1583/CH9/EX9.5/PLLA_Ex_9_5.sce new file mode 100755 index 000000000..e91a63eb9 --- /dev/null +++ b/1583/CH9/EX9.5/PLLA_Ex_9_5.sce @@ -0,0 +1,11 @@ +clc
+close
+//chapter 9: Stability Analysis
+//Example 9.5 page no 368
+//given
+clear
+Ka=(2.2e3)^2
+wz=(2*%pi)/(2.2/sqrt((2.2e3)^2))
+s=poly(0,'s')
+h=syslin('c',(1000*(s/(wz+1))/(s^2/Ka +(s/wz) +1)))
+clf();bode(h,1,1000);
diff --git a/1583/CH9/EX9.5/Result_of_Chapter_9_Ex9_5.jpeg b/1583/CH9/EX9.5/Result_of_Chapter_9_Ex9_5.jpeg Binary files differnew file mode 100755 index 000000000..70452dec6 --- /dev/null +++ b/1583/CH9/EX9.5/Result_of_Chapter_9_Ex9_5.jpeg diff --git a/1583/CH9/EX9.6/PLLA_Ex_9_6.sce b/1583/CH9/EX9.6/PLLA_Ex_9_6.sce new file mode 100755 index 000000000..2267dc764 --- /dev/null +++ b/1583/CH9/EX9.6/PLLA_Ex_9_6.sce @@ -0,0 +1,17 @@ +clc
+//Chapter 9:Stability Analysis
+//example 8.6 page no 373
+//given
+zeta=0.8//damping ratio
+B=10^3//closed loop bandwidth
+X=sqrt(1+2*zeta^2+sqrt(2+4*zeta^2+4*zeta^4))
+Ka=(B/X)^2//loop gain
+wn=sqrt(Ka)//
+wz=wn/(2*zeta)//the system zero
+mprintf('the closed loop gain is %3.2e (rad/s)^2 \n wn = %f rad/s \n the system has zero at %d rad/s',Ka,wn,wz)
+
+
+
+
+
+
diff --git a/1583/CH9/EX9.6/Result_of_Chapter_9_Ex9_6.jpg b/1583/CH9/EX9.6/Result_of_Chapter_9_Ex9_6.jpg Binary files differnew file mode 100755 index 000000000..ade7de5b7 --- /dev/null +++ b/1583/CH9/EX9.6/Result_of_Chapter_9_Ex9_6.jpg diff --git a/1583/CH9/EX9.7/PLLA_Ex_9_7.sce b/1583/CH9/EX9.7/PLLA_Ex_9_7.sce new file mode 100755 index 000000000..6fc84ffd1 --- /dev/null +++ b/1583/CH9/EX9.7/PLLA_Ex_9_7.sce @@ -0,0 +1,13 @@ +clc
+//Chapter 9:Phase locked loop Analysis
+//Example 9.7 page no 376
+a=28//taking alpha as a
+Ka=0.21*10^6
+GF=20*log10(a)^1/2
+disp(GF,'The value of gain is ')
+disp('so we must determine where the uncompensated frequency response is -14.5dB ')
+Wc=a^(1/4)*Ka^(1/2)
+disp('The 28:1 lead ratio will increase the crossover frequency by a factor 2.3 The factor zero is placed at ')
+Wz=Wc/sqrt(a)//systems zero
+Wp=a*Wz//systems pole
+mprintf('The crossover frequency is %3.2e rad/s \n The zero is placed at %d rad/s \n The pole is placed at %d rad/s ',Wc,Wz,Wp)
diff --git a/1583/CH9/EX9.7/Result_of_Chapter_9_Ex9_7.jpg b/1583/CH9/EX9.7/Result_of_Chapter_9_Ex9_7.jpg Binary files differnew file mode 100755 index 000000000..c05bf0cb2 --- /dev/null +++ b/1583/CH9/EX9.7/Result_of_Chapter_9_Ex9_7.jpg diff --git a/1583/CH9/EX9.9/PLLA_Ex_9_9.sce b/1583/CH9/EX9.9/PLLA_Ex_9_9.sce new file mode 100755 index 000000000..f79605271 --- /dev/null +++ b/1583/CH9/EX9.9/PLLA_Ex_9_9.sce @@ -0,0 +1,8 @@ +clc
+//Chapter 9:Phase locked loop Analysis
+//Example 9.9 page no 380
+disp('since the phase margin without time delay is 50 degree, a 10 degree phase lag can be introduced by the time delay at the crossover frequecy.That is ,')
+Wc=1000//crossover frequency
+thetaT=-0.174
+T=thetaT/Wc//time delay
+mprintf('The time delay is %3.2e ',T)
diff --git a/1583/CH9/EX9.9/Result_of_Chapter_9_Ex9_9.jpg b/1583/CH9/EX9.9/Result_of_Chapter_9_Ex9_9.jpg Binary files differnew file mode 100755 index 000000000..bcda6eac2 --- /dev/null +++ b/1583/CH9/EX9.9/Result_of_Chapter_9_Ex9_9.jpg |