1 | // settings for pmsm_estim.cpp |
---|
2 | |
---|
3 | experiment={ |
---|
4 | Ndat = 100000; |
---|
5 | }; |
---|
6 | |
---|
7 | system= { |
---|
8 | class= "pmsmDSctrl"; |
---|
9 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
10 | tstep = 1; // steps for profile in [s] |
---|
11 | // profileW = [0, 0, -30, -200, -90, -60, -30, 0, 30, 200]; |
---|
12 | profileW = [0, -10, 30, 60, 90, 60, 30, 0, -30, -60, -30]; |
---|
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 | UD = {class="EKFfull"; |
---|
19 | IM = {class="IMpmsmStat"; |
---|
20 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
21 | }; |
---|
22 | OM = {class="OMpmsm";}; |
---|
23 | dQ=[0.01, 0.01, 0.0001, 0.0001]; |
---|
24 | dR=[0.05, 0.05]; |
---|
25 | //connect |
---|
26 | yrv = {class="RV"; names=("o_ia","o_ib");}; // observed u |
---|
27 | rvc = {class="RV"; names=("t_ua","t_ub");}; // observed u |
---|
28 | rv = {class="RV"; names=("ia","ib","om","th");}; |
---|
29 | log_level="logmean,logevidence,logU,logG,logD"; |
---|
30 | name = "Est0"; |
---|
31 | }; |
---|
32 | |
---|
33 | controllers=({ |
---|
34 | class = "PMSM_PICtrl"; |
---|
35 | estim = "UD"; |
---|
36 | } |
---|
37 | ); |
---|
38 | |
---|
39 | logger= { |
---|
40 | class="dirfilelog"; |
---|
41 | maxlen = 100; |
---|
42 | dirname = "exp/ctrlPI"; |
---|
43 | }; |
---|