1 | // settings for pmsm_estim.cpp |
---|
2 | |
---|
3 | experiment={ |
---|
4 | ndat = 100000; |
---|
5 | }; |
---|
6 | |
---|
7 | system= { |
---|
8 | class= "pmsmDS"; |
---|
9 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
10 | tstep = 1; // steps for profile in [s] |
---|
11 | // profileW = [0, 0, -30, -60, -90, -60, -30, 0, 30, 60]; |
---|
12 | profileW = [0, 0, 0, 0, 10, 20, 10, 0, -10, -20, -10]; |
---|
13 | // profileW = [1, 10, 50, 200, 200, 30, 0, 0, -30, -30, -100, -100, -40, 0, 0]; |
---|
14 | // profileM = [0, 30, 0, 0, 30, 0, 0, 0, 0, 0, 10, 0, 0]; |
---|
15 | profileM = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; |
---|
16 | }; |
---|
17 | |
---|
18 | estimators = ( |
---|
19 | {class="EKF_UD"; |
---|
20 | IM = {class="IMpmsmStat"; |
---|
21 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
22 | }; |
---|
23 | OM = {class="OMpmsm";}; |
---|
24 | dQ=[0.001, 0.001, 0.00001, 0.00000001]; |
---|
25 | // dQ=[18., 18., 157., 0.001]; |
---|
26 | dR=[0.05, 0.05]; |
---|
27 | // dR=[90., 90.]; |
---|
28 | dP0=[1800., 1800., 1570000., 10.]; |
---|
29 | //connect |
---|
30 | yrv = {class="RV"; names=("o_ia","o_ib");}; // observed u |
---|
31 | rvc = {class="RV"; names=("o_ua","o_ub");}; // observed u |
---|
32 | rv = {class="RV"; names=("ia","ib","om","th");}; |
---|
33 | log_level="logmean,logevidence,logbounds"; |
---|
34 | name = "Est0"; |
---|
35 | }, |
---|
36 | {class="EKFfixedCh"; |
---|
37 | //connect |
---|
38 | yrv = {class="RV"; names=("o_ia","o_ib");}; // observed u |
---|
39 | rvc = {class="RV"; names=("o_ua","o_ub");}; // observed u |
---|
40 | rv = {class="RV"; names=("fix_ia","fix_ib","fix_om","fix_th","fix_M");}; |
---|
41 | log_level="logmean,logevidence,logbounds,logU,logG,logD"; |
---|
42 | name = "Est1"; |
---|
43 | } |
---|
44 | ); |
---|
45 | estimator0=( |
---|
46 | {class="EKF_UDfix"; |
---|
47 | IM = {class="IMpmsmMz"; |
---|
48 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
49 | }; |
---|
50 | OM = {class="OMpmsmRO";}; |
---|
51 | //dQ=[0.0, 0.0, 0.0000, 1e-10, 0.0]; |
---|
52 | dQ=[0.05, 0.05, 0.001, 0.000001, 0.1]; ///////// <====== OK |
---|
53 | // dQ=[0.017, 0.017, 0.0004, 1e-5, 1e-1]; |
---|
54 | dR=[0.025, 0.025]; |
---|
55 | dP0=[0.1, 0.1, 0.1, 0.1, 0.1]; |
---|
56 | //connect |
---|
57 | yrv = {class="RV"; names=("o_ia","o_ib");}; // observed u |
---|
58 | rvc = {class="RV"; names=("t_ua","t_ub");}; // observed u |
---|
59 | //drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // true u |
---|
60 | rv = {class="RV"; names=("UKFMz_ia","UKFMz_ib","UKFMz_om","UKFMz_th","UKFMz_M");}; |
---|
61 | log_level="logmean,logevidence,logbounds,logU,logG,logD"; |
---|
62 | } |
---|
63 | ); |
---|
64 | |
---|
65 | logger= { |
---|
66 | class="dirfilelog"; |
---|
67 | maxlen = 100; |
---|
68 | dirname = "exp/fixch"; |
---|
69 | }; |
---|