diff options
Diffstat (limited to '174/CH6')
-rwxr-xr-x | 174/CH6/EX6.1/example6_1.sce | 38 | ||||
-rwxr-xr-x | 174/CH6/EX6.1/example6_1.txt | 4 | ||||
-rwxr-xr-x | 174/CH6/EX6.2/example6_2.sce | 42 | ||||
-rwxr-xr-x | 174/CH6/EX6.2/example6_2.txt | 6 | ||||
-rwxr-xr-x | 174/CH6/EX6.3/example6_3.sce | 32 | ||||
-rwxr-xr-x | 174/CH6/EX6.3/example6_3.txt | 4 | ||||
-rwxr-xr-x | 174/CH6/EX6.4/example6_4.sce | 27 | ||||
-rwxr-xr-x | 174/CH6/EX6.4/example6_4.txt | 2 | ||||
-rwxr-xr-x | 174/CH6/EX6.5/example6_5.sce | 34 | ||||
-rwxr-xr-x | 174/CH6/EX6.5/example6_5.txt | 2 | ||||
-rwxr-xr-x | 174/CH6/EX6.6/example6_6.sce | 30 | ||||
-rwxr-xr-x | 174/CH6/EX6.6/example6_6.txt | 3 | ||||
-rwxr-xr-x | 174/CH6/EX6.7/example6_7.sce | 31 | ||||
-rwxr-xr-x | 174/CH6/EX6.7/example6_7.txt | 3 |
14 files changed, 258 insertions, 0 deletions
diff --git a/174/CH6/EX6.1/example6_1.sce b/174/CH6/EX6.1/example6_1.sce new file mode 100755 index 000000000..00f138e3c --- /dev/null +++ b/174/CH6/EX6.1/example6_1.sce @@ -0,0 +1,38 @@ +// To find the form factor and error
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 6-1 in Page 131
+
+
+clear; clc; close;
+
+// Given data
+//let
+E_m = 10; //Let the peak amplitude of the square wave be 10V
+T = 1; //Let the time period of the square wave be 1s
+
+function y= f(t),y=(E_m)^2 ,endfunction
+E_rms = sqrt(1/T * intg(0,T,f));
+printf("(a) The rms value of the square wave = %d V \n",E_rms);
+
+function x = ff(t),x =(E_m) ,endfunction
+E_av = (2/T * intg(0,T/2,ff));
+printf(" The average value of the square wave = %d V\n",E_av);
+
+k = E_rms/E_av;
+printf(" The form factor of the square wave =%d\n",k);
+
+k_sine = 1.11;
+k_square = 1;
+%error = (k_sine - k_square)/k_square*100;
+printf("(b) The percentage error in meter indication = %d %%",%error);
+
+//Result
+// (a) The rms value of the square wave = 10 V
+// The average value of the square wave = 10 V
+// The form factor of the square wave =1
+// (b) The percentage error in meter indication = 11 %
+
+
diff --git a/174/CH6/EX6.1/example6_1.txt b/174/CH6/EX6.1/example6_1.txt new file mode 100755 index 000000000..e4223a619 --- /dev/null +++ b/174/CH6/EX6.1/example6_1.txt @@ -0,0 +1,4 @@ +(a) The rms value of the square wave = 10 V
+ The average value of the square wave = 10 V
+ The form factor of the square wave =1
+(b) The percentage error in meter indication = 11 %
diff --git a/174/CH6/EX6.2/example6_2.sce b/174/CH6/EX6.2/example6_2.sce new file mode 100755 index 000000000..31bb9c858 --- /dev/null +++ b/174/CH6/EX6.2/example6_2.sce @@ -0,0 +1,42 @@ +// To find the form factor and error
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 6-2 in Page 132
+
+
+clear; clc; close;
+
+// Given data
+E_m = 150; //Let the peak amplitude of the sawtooth wave be 150V
+T = 3; //Let the time period of the sawtooth wave be 3s
+// e = 50*t; As seen from the figure 6-7b in page 131
+
+//Calculations
+function y= f(t),y=(50*t)^2 ,endfunction
+E_rms = sqrt(1/T * intg(0,T,f));
+printf("(a) The rms value of the sawtooth wave = %d V \n",E_rms);
+
+function x = ff(t),x =(50*t) ,endfunction
+E_av = (1/T * intg(0,T,ff));
+printf("The average value of the sawtooth wave = %d V\n",E_av);
+
+k_st = E_rms/E_av;
+printf("The form factor of the sawtooth wave =%0.3f\n",k_st);
+
+k_sine = 1.11;
+r = k_sine/k_st;
+printf("(b) The ratio of the two form factors = %0.3f\n",r);
+
+printf("The meter indication is low by a factor of %0.3f\n",r);
+%error = (r - 1)/1*100;
+printf("The percentage error in meter indication = %0.1f %%",%error);
+
+//Result
+// (a) The rms value of the sawtooth wave = 86 V
+// The average value of the sawtooth wave = 75 V
+// The form factor of the sawtooth wave =1.155
+// (b) The ratio of the two form factors = 0.961
+// The meter indication is low by a factor of 0.961
+// The percentage error in meter indication = -3.9 %
diff --git a/174/CH6/EX6.2/example6_2.txt b/174/CH6/EX6.2/example6_2.txt new file mode 100755 index 000000000..6f62683c4 --- /dev/null +++ b/174/CH6/EX6.2/example6_2.txt @@ -0,0 +1,6 @@ +(a) The rms value of the sawtooth wave = 86 V
+The average value of the sawtooth wave = 75 V
+The form factor of the sawtooth wave =1.155
+(b) The ratio of the two form factors = 0.961
+The meter indication is low by a factor of 0.961
+The percentage error in meter indication = -3.9 %
diff --git a/174/CH6/EX6.3/example6_3.sce b/174/CH6/EX6.3/example6_3.sce new file mode 100755 index 000000000..750ee3a64 --- /dev/null +++ b/174/CH6/EX6.3/example6_3.sce @@ -0,0 +1,32 @@ +// To find the maximum time
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 6-3 in Page 144
+
+
+clear; clc; close;
+
+// Given data
+R = 100*(10^3); // Value of resistance in ohm
+C = 0.1*(10^-6); // The value of integrating capacitor in F
+V_ref = 2; // The reference voltage in V
+V_out = 10; // The maximum limit of the output in V
+
+//Calculations
+T = R*C;
+printf("The integrator time constant = %0.3f s\n",T);
+V_s = V_ref/T; //Unit is V/s
+V = 1/V_s;
+printf("Therefore the integrator output = %0.3f s/V",V)
+disp('Therefore to integrate 10V');
+T_max = V*V_out; //The max time the ref voltage can be integrated
+printf("The time required = %0.4f s",T_max);
+
+//Result
+// The integrator time constant = 0.010 s
+// Therefore the integrator output = 0.005 s/V
+// Therefore to integrate 10V
+// The time required = 0.0500 s
+
diff --git a/174/CH6/EX6.3/example6_3.txt b/174/CH6/EX6.3/example6_3.txt new file mode 100755 index 000000000..896f945bb --- /dev/null +++ b/174/CH6/EX6.3/example6_3.txt @@ -0,0 +1,4 @@ + The integrator time constant = 0.010 s
+Therefore the integrator output = 0.005 s/V
+ Therefore to integrate 10V
+The time required = 0.0500 s
diff --git a/174/CH6/EX6.4/example6_4.sce b/174/CH6/EX6.4/example6_4.sce new file mode 100755 index 000000000..ff004daa2 --- /dev/null +++ b/174/CH6/EX6.4/example6_4.sce @@ -0,0 +1,27 @@ +// To find the distributed capacitance
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 6-4 in Page 162
+
+
+clear; clc; close;
+
+// Given data
+// Frequency measurements in Hz
+f_1 = 2*10^6;
+f_2 = 4*10^6;
+// Value of tuning capacitor in F
+C_1 = 460*10^-12;
+C_2 = 100*10^-12;
+
+//Calculations
+ C_d = (C_1- (4*C_2))/3;
+printf("C_d = %0.0E F\n",C_d);
+printf("i.e The value of the distributed capacitance = %d pF",(C_d*10^12));
+
+//Result
+// C_d = 2E-011 F
+// i.e The value of the distributed capacitance = 20 pF
+
diff --git a/174/CH6/EX6.4/example6_4.txt b/174/CH6/EX6.4/example6_4.txt new file mode 100755 index 000000000..2bc340187 --- /dev/null +++ b/174/CH6/EX6.4/example6_4.txt @@ -0,0 +1,2 @@ +C_d = 2E-011 F
+i.e The value of the distributed capacitance = 20 pF
diff --git a/174/CH6/EX6.5/example6_5.sce b/174/CH6/EX6.5/example6_5.sce new file mode 100755 index 000000000..6cc18f4ef --- /dev/null +++ b/174/CH6/EX6.5/example6_5.sce @@ -0,0 +1,34 @@ +// To find the self capacitance
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 6-5 in Page 162
+
+
+clear; clc; close;
+
+// Given data
+// Values of frequencies in Hz
+f_1 = 2*10^6;
+f_2 = 5*10^6;
+// Values of the tuning capacitors in F
+C_1 = 450*10^-12;
+C_2 = 60*10^-12;
+
+//Calculations
+
+//Using the equation f = 1/(2*%pi*sqrt(L*(C_2+C_d)));
+//Since f_2 = 2.5*f_1
+//Equating & reducing the equations
+// 1/(C_2 +C_d) = 6.25/(C_1 +C_d)
+
+C_d = (C_1 -6.25*C_2)/5.25
+printf("C_d = %0.2E F\n",C_d);
+printf("i.e The value of the distributed capacitance = %0.1f pF",(C_d*10^12));
+
+//Result
+// C_d = 1.43E-011 F
+// i.e The value of the distributed capacitance = 14.3 pF
+
+
diff --git a/174/CH6/EX6.5/example6_5.txt b/174/CH6/EX6.5/example6_5.txt new file mode 100755 index 000000000..25c3f5f47 --- /dev/null +++ b/174/CH6/EX6.5/example6_5.txt @@ -0,0 +1,2 @@ +C_d = 1.43E-011 F
+i.e The value of the distributed capacitance = 14.3 pF
diff --git a/174/CH6/EX6.6/example6_6.sce b/174/CH6/EX6.6/example6_6.sce new file mode 100755 index 000000000..405d5b187 --- /dev/null +++ b/174/CH6/EX6.6/example6_6.sce @@ -0,0 +1,30 @@ +// To find percentage error
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 6-6 in Page 163
+
+
+clear; clc; close;
+
+// Given data
+R = 10; //Resistance of the coil in ohm
+f = 1*10^6; //The oscillator frequency in Hz
+C = 65*10^-12; //The value of resonating capacitor in F
+R_i = 0.02; //The value of the insertion resistor in ohm
+
+//Calculations
+w = 2*%pi*f;
+Q_e = 1/(w*C*R);
+printf("The effective Q of the coil = %0.1f\n",Q_e);
+Q_i = 1/(w*C*(R+R_i));
+printf("The indicated Q of the coil = %0.1f\n",Q_i);
+%error = (Q_e - Q_i)/Q_e*100;
+printf("The percentage error is = %0.1f %%",%error);
+
+//Result
+// The effective Q of the coil = 244.9
+// The indicated Q of the coil = 244.4
+// The percentage error is = 0.2 %
+
diff --git a/174/CH6/EX6.6/example6_6.txt b/174/CH6/EX6.6/example6_6.txt new file mode 100755 index 000000000..ce2c69385 --- /dev/null +++ b/174/CH6/EX6.6/example6_6.txt @@ -0,0 +1,3 @@ +The effective Q of the coil = 244.9
+The indicated Q of the coil = 244.4
+The percentage error is = 0.2 %
diff --git a/174/CH6/EX6.7/example6_7.sce b/174/CH6/EX6.7/example6_7.sce new file mode 100755 index 000000000..0442cb27f --- /dev/null +++ b/174/CH6/EX6.7/example6_7.sce @@ -0,0 +1,31 @@ +// To find percentage error
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 6-7 in Page 163
+
+
+clear; clc; close;
+
+// Given data
+R = 0.1; //Resistance of the coil in ohm
+f = 40*10^6; //The frequency at resonance in Hz
+C = 135*10^-12; //The value of tuning capacitor in F
+R_i = 0.02; //The value of the insertion resistor in ohm
+
+
+//Calculations
+w = 2*%pi*f;
+Q_e = 1/(w*C*R);
+printf("The effective Q of the coil = %d\n",ceil(Q_e));
+Q_i = 1/(w*C*(R+R_i));
+printf("The indicated Q of the coil = %d\n",ceil(Q_i));
+%error = (Q_e - Q_i)/Q_e*100;
+printf("The percentage error is = %d %%",ceil(%error));
+
+//Result
+// The effective Q of the coil = 295
+// The indicated Q of the coil = 246
+// The percentage error is = 17 %
+
diff --git a/174/CH6/EX6.7/example6_7.txt b/174/CH6/EX6.7/example6_7.txt new file mode 100755 index 000000000..26e3d9f10 --- /dev/null +++ b/174/CH6/EX6.7/example6_7.txt @@ -0,0 +1,3 @@ +The effective Q of the coil = 295
+The indicated Q of the coil = 246
+The percentage error is = 17 %
|