diff options
Diffstat (limited to '1409/CH7')
-rw-r--r-- | 1409/CH7/EX7.1/7_1.sce | 25 | ||||
-rw-r--r-- | 1409/CH7/EX7.2/7_2.sce | 34 | ||||
-rw-r--r-- | 1409/CH7/EX7.4/7_4.sce | 19 |
3 files changed, 78 insertions, 0 deletions
diff --git a/1409/CH7/EX7.1/7_1.sce b/1409/CH7/EX7.1/7_1.sce new file mode 100644 index 000000000..12e91c60c --- /dev/null +++ b/1409/CH7/EX7.1/7_1.sce @@ -0,0 +1,25 @@ +clc;
+//page no 7-17
+//Example 7.1
+//Given
+fc=15;//in MHz
+fd=10;//in kHz
+fo=45;//in MHz
+//At point 1 in Fig 7.16
+fc1=4*fc;
+fd1=4*fd;
+fmax1=fc1+(fd1*10^(-3));
+fmin1=fc1-(fd1*10^(-3));
+disp(+'MHz',fc1,'Carrier frequency at point 1 is');
+disp(+'kHz',fd1,'frequency deviation at point 1 is');
+disp(+'MHz',fmax1,'fmax=');
+disp(+'MHz',fmin1,'fmin=');
+//At point 2, mixer gives difference frequency with fo=45MHz
+fc2=fc1-fo;
+fmax2=fmax1-fo;
+fmin2=fmin1-fo;
+fd2=(fc-fmin2)*10^3;
+disp(+'MHz',fc2,'Carrier frequency at point 2 is');
+disp(+'MHz',fmax2,'fmax=');
+disp(+'MHz',fmin2,'fmin=');
+disp(+'kHz',fd2,'Frequency deviation at point 2 is');
diff --git a/1409/CH7/EX7.2/7_2.sce b/1409/CH7/EX7.2/7_2.sce new file mode 100644 index 000000000..293100dfc --- /dev/null +++ b/1409/CH7/EX7.2/7_2.sce @@ -0,0 +1,34 @@ +clc;
+//page no 7-18
+//Example 7.2
+//Given
+fc=13.5;//in MHz
+fd=8.5;//in kHz
+//At point 1
+disp("At point 1");
+fc1=2*fc;
+fd1=2*fd;
+disp(+'MHz',fc1,'Carrier frequency is');
+disp(+'kHz',fd1,'Frequency deviation is');
+//At point 2
+disp("At point 2");
+fc2=3*fc1;
+fd2=3*fd1;
+fmax2=(fc2+fd2*10^(-3));
+fmin2=(fc2-fd2*10^(-3));
+disp(+'MHz',fc2,'Carrier frequency is');
+disp(+'kHz',fd2,'Frequency deviation is');
+disp(+'MHz',fmax2,'fmax=');
+disp(+'MHz',fmin2,'fmin=');
+//At poiint 3
+disp("At point 3");
+//Oscillator frequency is 20MHz
+Of=20;//in MHz
+fc3=fc2+Of;
+fmax3=fmax2+Of;
+fmin3=fmin2+Of;
+fd3=(fmax3-fc3)*10^3;//in kHz
+disp(+'MHz',fc3,'Carrier frequency is');
+disp(+'MHz',fmax3,'fmax=');
+disp(+'MHz',fmin3,'fmin=');
+disp(+'kHz',fd3,'Frequency deviation is');
diff --git a/1409/CH7/EX7.4/7_4.sce b/1409/CH7/EX7.4/7_4.sce new file mode 100644 index 000000000..6c5894406 --- /dev/null +++ b/1409/CH7/EX7.4/7_4.sce @@ -0,0 +1,19 @@ +clc;
+//page no 7-21
+//Example 7.4
+//Given transmitter frequency is 160MHz with a maximum deviation of 5.1kHz at a minimum audio frequency of 100Hz, initial phase modulation deviation is to be kept to less than 12 degrees
+ft=160;//transmitter frequency in MHz
+fd=5.1;//maximum frequency deviation in kHz
+fmin=100;//minimum audio frequency in Hz
+Of=100;//oscilltor frequency in kHz
+pd=12;//phase deviation in degrees
+pdmax=(12*%pi)/180;
+disp(+'rad',pdmax,'Maximum phase deviation of the modulator is ');
+fdmax=pdmax*fmin;
+disp(+'Hz',fdmax,'Maximum frequency deviation of the modulator is ');
+N=(fd*10^3)/fdmax;
+disp(N,'Frequency deviation increase required is ');
+//2^5=243; Therefore, the modulated waveform should be passed through a chain of 5 tripler stages to give final deviation of 5.1kHz
+//at a frequency of 100kHz*243-24.3MHz
+mixOf=ft-24.3;//Mixer oscillator frequency
+disp(+'MHz',mixOf,'Mixer oscillator signal is ');
|