summaryrefslogtreecommitdiff
path: root/49/CH4/EX4.3/ex3.sce
blob: df820efdfc3a1418a06625bb1049288cd52586fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//CHAPTER 4_ Motion and Dimensional Measurement
//Caption : Strain gauge
// Example 3// Page 176
disp("Rg=120")
disp("Sg=2;")
disp("Rs=120000")
Rg=120;    // given
Sg=2;  // gauge factor
v=0.3; 
Rs=120000   //('enter the value of shunt resistor=:')
disp("The input bridge excitation is represented by Eex")
A=10;   //('enter the amplifier gain=:')
// The shunt resistance has to be very large since we intend to measure only very small change in resistance
eo=30*10^-3    //('enter the unbalanced bridge voltage=:')
dR=Rg/(Rg+Rs);
r=1;//ratio of resistances of adjacent arms
Eex=eo*(1+r)^2/(r*dR*A);
printf('The input excitation voltage is %fd V\n',Eex)
p1=2 *(1+v) // bridge factor
Eo=.5   //('enter the voltmeter reading when shunt is removed=:')
E_axial=Eo*(1+r)^2/(r*Sg*p1*Eex*A);
printf(' Axial strain is %fd\n ',E_axial)
E_trans=E_axial*v;
printf('The transverse strain is -%fd',E_trans)