1 | // settings for pmsm_estim.cpp |
---|
2 | |
---|
3 | experiment={ |
---|
4 | ndat = 120000; |
---|
5 | }; |
---|
6 | |
---|
7 | system= { |
---|
8 | class= "pmsmDS"; |
---|
9 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
10 | tstep = 1.0; // steps for profile in [s] |
---|
11 | profileW = [0, 1, 5, 10, 10, 3, 0, 0, -3, -3, -10, -10, -4, 0, 0]; |
---|
12 | profileM = [0, 10, 0, 0, 10, 0, 0, 0, 0, 0, 10, 0, 0]; |
---|
13 | options = "modelu"; |
---|
14 | }; |
---|
15 | |
---|
16 | estimator = ( |
---|
17 | {class="EKFCh"; |
---|
18 | IM = {class="IMpmsmMz"; |
---|
19 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
20 | }; |
---|
21 | OM = {class="OMpmsm";}; |
---|
22 | /* dQ : |
---|
23 | { |
---|
24 | elements = [ 0.001738643873, 0.001738643873, 1.00000004, 1.562501e-08, 1 ]; |
---|
25 | cols = 4; |
---|
26 | };*/ |
---|
27 | dQ=[0.0017, 0.0017, 0.00000004, 1e-14, 1e-1]; |
---|
28 | dR=[0.025, 0.025]; |
---|
29 | dP0=[0., 0., 0., 0., 0.]; |
---|
30 | //connect |
---|
31 | drv = {class="RV"; names=("o_ia","o_ib","o_ua","o_ub");}; // observed u |
---|
32 | //drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // true u |
---|
33 | rv = {class="RV"; names=("EKFMz"); sizes=[5];}; |
---|
34 | options="logll,logbounds"; |
---|
35 | }, |
---|
36 | // |
---|
37 | {class="EKFCh"; |
---|
38 | IM = {class="IMpmsm2o"; |
---|
39 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
40 | }; |
---|
41 | OM = {class="OMpmsm";}; |
---|
42 | dQ=[0.017, 0.017, .1, 1e-6]; |
---|
43 | dR=[0.025, 0.025]; |
---|
44 | dP0=[1., 1., 1., 1.]; |
---|
45 | //connect |
---|
46 | drv = {class="RV"; names=("o_ia","o_ib","o_ua","o_ub");}; // observed u |
---|
47 | //drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // true u |
---|
48 | rv = {class="RV"; names=("EKF"); sizes=[4];}; |
---|
49 | options="logll,logbounds"; |
---|
50 | }, |
---|
51 | // |
---|
52 | {class="EKFCh"; |
---|
53 | IM = {class="IMpmsmStat"; |
---|
54 | params ="pmsm107@../cfg/zcu.cfg"; |
---|
55 | }; |
---|
56 | OM = {class="OMpmsm";}; |
---|
57 | dQ=[0.017, 0.017, .1, 1e-6];//[0.017, 0.017, 100., 1e-4]; |
---|
58 | dR=[0.025, 0.025]; |
---|
59 | dP0=[1., 1., 1., 1.]; |
---|
60 | //connect |
---|
61 | drv = {class="RV"; names=("o_ia","o_ib","o_ua","o_ub");}; // observed u |
---|
62 | //drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // true u |
---|
63 | rv = {class="RV"; names=("EKFw"); sizes=[4];}; |
---|
64 | options="logll,logbounds"; |
---|
65 | }, |
---|
66 | |
---|
67 | {class="pmsmCRBMz"; |
---|
68 | IM = {class="IMpmsmMz"; |
---|
69 | params ="pmsm107@../cfg/zcu.cfg"; |
---|
70 | }; |
---|
71 | OM = {class="OMpmsm";}; |
---|
72 | dQ=[0.0017, 0.0017, 0.00000004, 1e-14, 1e-1]; |
---|
73 | // dQ=[0.017, 0.017, .1, 1e-6];//[0.017, 0.017, 100., 1e-4]; |
---|
74 | dR=[0.025, 0.025]; |
---|
75 | dP0=[0., 0., 0., 0., 0.]; |
---|
76 | //connect |
---|
77 | drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // observed u |
---|
78 | //drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // true u |
---|
79 | rv = {class="RV"; names=("CRB"); sizes=[5];}; |
---|
80 | options="logll,logbounds"; |
---|
81 | } |
---|
82 | |
---|
83 | |
---|
84 | ); |
---|
85 | |
---|
86 | logger= { |
---|
87 | class="dirfilelog"; |
---|
88 | maxlen = 100; |
---|
89 | dirname = "exp/Mz"; |
---|
90 | }; |
---|