Last change
on this file since 17 was
17,
checked in by zhangj, 11 years ago
|
To have a stable version on the server.
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | % reglage tracking simulé |
---|
2 | |
---|
3 | Gr = 0.0435 ; % gradient remanent T/m |
---|
4 | a = 0.0517 ; % G/I T/m/A |
---|
5 | Br = 0.0020 ; % Champ remanent T |
---|
6 | b = 0.00135416 ; % B/I T/A |
---|
7 | rho=12.3773 ; % rayon dipole |
---|
8 | Iqfc = -0.24 ; % Offset QPF |
---|
9 | Iqdc = -0.36 ; % Offset QPD |
---|
10 | Ibc = 0. ; % Offset Dip |
---|
11 | Iqf0 = 198.38 ; |
---|
12 | Iqd0 = 157.28 ; |
---|
13 | Id0 = 546.76 ; |
---|
14 | phi =-0.0001 ; |
---|
15 | rd0 = (Iqd0*a)/(Id0*b*rho) ; |
---|
16 | rf0 = (Iqf0*a)/(Id0*b*rho) ; |
---|
17 | sprintf('KF0= %g KD0= %g', rf0, rd0) |
---|
18 | |
---|
19 | m1 =[ 0.124 0.0176 ; 0.0285 0.1 ] ; % matrice dnu dK=m1*dnu |
---|
20 | |
---|
21 | w=2*3.14159*(50./17.); |
---|
22 | i=0; |
---|
23 | clear fq fd r time |
---|
24 | |
---|
25 | i = 1 : 1 : 340; |
---|
26 | t=i/1000; |
---|
27 | time=t; |
---|
28 | fq = 0.5*(1-cos(w*(t+phi))); |
---|
29 | fd = 0.5*(1-cos(w*t)); |
---|
30 | |
---|
31 | pf=Gr + a*(Iqfc + Iqf0*fq); |
---|
32 | pd=Gr + a*(Iqdc + Iqd0*fq); |
---|
33 | p0=Br + b*(Ibc + Id0*fd); |
---|
34 | rf=pf./(p0*rho); |
---|
35 | rd=pd./(p0*rho); |
---|
36 | dnux= 0.4 + 8.4045*(rf-rf0) - 01.4792*(rd-rd0); |
---|
37 | dnuz= 0.4 - 2.3953*(rf-rf0) + 10.4216*(rd-rd0); |
---|
38 | |
---|
39 | |
---|
40 | plot(time(20:170) , dnux(20:170) , time(20:170) , dnuz(20:170)) |
---|
41 | ylim([0 .5]); |
---|
42 | |
---|
43 | %Calcul offset sur Qpole en A |
---|
44 | testf = (rf0*p0(20)*rho - (Gr + a*Iqf0*fq(20)))/a; |
---|
45 | testd = (rd0*p0(20)*rho - (Gr + a*Iqd0*fq(20)))/a; |
---|
46 | sprintf('courant offset : If= %g Id= %g', testf, testd) |
---|
47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.