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/CH8 | |
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/CH8')
-rwxr-xr-x | 1583/CH8/EX8.1/PLL_Ex_8_1.sce | 16 | ||||
-rwxr-xr-x | 1583/CH8/EX8.1/Result_of_Chapter_8_Ex8_1.jpg | bin | 0 -> 161078 bytes | |||
-rwxr-xr-x | 1583/CH8/EX8.2/PLL_Ex_8_2.sce | 10 | ||||
-rwxr-xr-x | 1583/CH8/EX8.2/Result_of_Chapter_8_Ex8_2.jpg | bin | 0 -> 161958 bytes | |||
-rwxr-xr-x | 1583/CH8/EX8.4/PLL_Ex_8_4.sce | 23 | ||||
-rwxr-xr-x | 1583/CH8/EX8.4/Result_of_Chapter_8_Ex8_4.jpg | bin | 0 -> 166186 bytes |
6 files changed, 49 insertions, 0 deletions
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 |