1 | // settings for pmsm_estim.cpp |
---|
2 | |
---|
3 | experiment={ |
---|
4 | ndat = 8000;//32000; |
---|
5 | }; |
---|
6 | |
---|
7 | system= { |
---|
8 | type = "ITppFileDS"; |
---|
9 | filename = "tec0009ALL.it"; |
---|
10 | varname="D"; |
---|
11 | rv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u |
---|
12 | }; |
---|
13 | |
---|
14 | estimator = ( |
---|
15 | {type="EKF"; |
---|
16 | IM = {type="pmsmIM"; |
---|
17 | params = {type = "external";filename = "../cfg/zcu.cfg";path = "pmsm107";}; |
---|
18 | variant = "Mz"; |
---|
19 | }; |
---|
20 | OM = {type="pmsmOM";}; |
---|
21 | dQ=[6e-3, 6e-3, 5e-7, 3e-13, 1e-2]; |
---|
22 | dR=[0.0025, 0.0025]; |
---|
23 | mu0=[0., 0., 0.,3.4, 1e-10]; |
---|
24 | dP0=[1., 1., 1., 10., 1e-10]; |
---|
25 | //connect |
---|
26 | drv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u |
---|
27 | rv = {type="rv"; names=["EKFMz"]; sizes=[5];}; |
---|
28 | options="logll,logbounds"; |
---|
29 | }, |
---|
30 | {type="EKF"; |
---|
31 | IM = {type="pmsmIM"; |
---|
32 | params = {type = "external";filename = "../cfg/zcu.cfg";path = "pmsm107";}; |
---|
33 | variant = "2o"; |
---|
34 | }; |
---|
35 | OM = {type="pmsmOM";}; |
---|
36 | dQ=[6e-3, 6e-3, 0.3, 5e-9]; |
---|
37 | dR=[0.0025, 0.0025]; |
---|
38 | mu0=[0., 0., 0.,3.4]; |
---|
39 | dP0=[1., 1., 1., 10.]; |
---|
40 | //connect |
---|
41 | drv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u |
---|
42 | rv = {type="rv"; names=["EKF"]; sizes=[4];}; |
---|
43 | options="logll,logbounds"; |
---|
44 | } |
---|
45 | ); |
---|
46 | |
---|
47 | logger= { |
---|
48 | type="mexlog"; |
---|
49 | maxlen = 7999; |
---|
50 | }; |
---|