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; // steps for profile in [s] |
---|
11 | // profileW = [0, 1, 5, 10, 10, 3, 0, 0, -3, -3, -10, -10, -4, 0, 0]; |
---|
12 | profileW = [1, 10, 50, 100, 100, 30, 0, 0, -30, -30, -100, -100, -40, 0, 0]; |
---|
13 | profileM = [0, 10, 0, 0, 10, 0, 0, 0, 0, 0, 10, 0, 0]; |
---|
14 | // profileM = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; |
---|
15 | }; |
---|
16 | |
---|
17 | estimator = ( |
---|
18 | {class="EKFfull"; |
---|
19 | IM = {class="IMpmsmMz"; |
---|
20 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
21 | }; |
---|
22 | OM = {class="OMpmsmRO";}; |
---|
23 | dQ=[0.0017, 0.0017, 0.00000004, 1e-14, 1e-1]; |
---|
24 | // dQ=[0.05, 0.05, 0.001, 0.000001, 0.1]; ///////// <====== OK |
---|
25 | // dQ=[0.017, 0.017, 0.000004, 1e-8, 1e-1]; |
---|
26 | dR=[90, 90]; |
---|
27 | dP0=[0.1, 0.1, 0.1, 0.1, 0.1]; |
---|
28 | //connect |
---|
29 | yrv = {class="RV"; names=("o_ia","o_ib");}; // observed u |
---|
30 | rvc = {class="RV"; names=("o_ua","o_ub");}; // observed u |
---|
31 | //drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // true u |
---|
32 | rv = {class="RV"; names=("EKFMz_ia","EKFMz_ib","EKFMz_om","EKFMz_th","EKFMz_M");}; |
---|
33 | log_level="logmean,logevidence,logbounds"; |
---|
34 | } , |
---|
35 | {class="EKF_UD"; |
---|
36 | IM = {class="IMpmsmMz"; |
---|
37 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
38 | }; |
---|
39 | OM = {class="OMpmsmRO";}; |
---|
40 | //dQ=[0.0, 0.0, 0.0000, 1e-10, 0.0]; |
---|
41 | dQ=[0.05, 0.05, 0.001, 0.000001, 0.1]; ///////// <====== OK |
---|
42 | // dQ=[0.017, 0.017, 0.0004, 1e-5, 1e-1]; |
---|
43 | dR=[0.025, 0.025]; |
---|
44 | dP0=[0.1, 0.1, 0.1, 0.1, 0.1]; |
---|
45 | //connect |
---|
46 | yrv = {class="RV"; names=("o_ia","o_ib");}; // observed u |
---|
47 | rvc = {class="RV"; names=("o_ua","o_ub");}; // observed u |
---|
48 | //drv = {class="RV"; names=("o_ia","o_ib","t_ua","t_ub");}; // true u |
---|
49 | rv = {class="RV"; names=("UKFMz_ia","UKFMz_ib","UKFMz_om","UKFMz_th","UKFMz_M");}; |
---|
50 | log_level="logmean,logevidence,logbounds"; |
---|
51 | } |
---|
52 | ); |
---|
53 | |
---|
54 | logger= { |
---|
55 | class="dirfilelog"; |
---|
56 | maxlen = 100; |
---|
57 | dirname = "exp/UKF"; |
---|
58 | }; |
---|