summaryrefslogtreecommitdiff
path: root/174/CH5/EX5.1/example5_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /174/CH5/EX5.1/example5_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '174/CH5/EX5.1/example5_1.sce')
-rwxr-xr-x174/CH5/EX5.1/example5_1.sce45
1 files changed, 45 insertions, 0 deletions
diff --git a/174/CH5/EX5.1/example5_1.sce b/174/CH5/EX5.1/example5_1.sce
new file mode 100755
index 000000000..eacfcbd78
--- /dev/null
+++ b/174/CH5/EX5.1/example5_1.sce
@@ -0,0 +1,45 @@
+// To find deflection caused by the given unbalance
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 5-1 in Page 101
+
+
+clear; clc; close;
+
+// Given data
+// Resistances of the 4 arms in ohm
+R_1 = 1000;
+R_2 = 100;
+R_3 = 200;
+R_4 = 2005;
+
+E = 5; // battery EMF in volt
+S_I = 10*(10^-3)/(10^-6); //Current sensitivity in m/A
+R_g = 100; //Internal resistance of galvanometer in ohm
+
+//Calculations
+
+//Calculations are made wrt fig 5-3 in page 103
+//Bridge balance occurs if arm BC has a resistance of 2000 ohm. The diagram shows arm BC has as a resistance of 2005 ohm
+
+//To calculate the current in the galvanometer, the ckt is thevenised wrt terminals B and D.
+//The potenttial from B to D, with the galvanometer removed is the Thevenin voltage
+
+// E_TH = E_AD - E_AB
+
+E_TH = E * ((R_2/(R_2+R_3)) - (R_1/ (R_1+R_4)));
+R_TH = ((R_2 * R_3/(R_2+R_3)) + (R_1 * R_4/ (R_1+R_4)));
+
+//When the galvanometer is now connected to the output terminals, The current through the galvanometer is
+
+I_g = E_TH /(R_TH +R_g);
+d = I_g * S_I;
+printf("The deflection of the galvanometer = %0.2f mm",(d*1000));
+
+//Result
+// The deflection of the galvanometer = 33.26 mm
+
+
+