blob: 456a235719a973c5e9e6b2af6063faad3d9d8cad (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//chapter-14,Example14_9,pg 511
//LVDT parameters
Rp=1.3
Rs=4
Lp=2.2*10^-3
Ls=13.1*10^-3
//M1-M2 varies linearly with displacement x, being maximum 0.4 cm
//when M1-M2=4mH so that k=(4/0.4)=10mH/cm
k=10*10^-3
f=50//frequency
w=2*%pi*f//angular frequency
tp=(Lp/Rp)//time const.
N=((w*k)/(Rp*sqrt(1+(w^2)*(tp^2))))//normalized output
phi=(%pi/2)-atan(w*tp)//phase angle
phi=phi*(180/%pi)//conv. into degree
printf("normalized output\n")
printf("N=%.4f V/V/cm\n",N)
printf("phase angle\n")
printf("phi=%.2f",phi)
|