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/EX8.1/PLL_Ex_8_1.sce | |
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/EX8.1/PLL_Ex_8_1.sce')
-rwxr-xr-x | 1583/CH8/EX8.1/PLL_Ex_8_1.sce | 16 |
1 files changed, 16 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)
|