[1246] | 1 | // settings for pmsm_estim.cpp |
---|
| 2 | |
---|
| 3 | experiment={ |
---|
[1294] | 4 | Ndat = 50000; |
---|
[1246] | 5 | }; |
---|
| 6 | |
---|
| 7 | system= { |
---|
| 8 | class= "pmsmDSctrl"; |
---|
[1294] | 9 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
[1246] | 10 | tstep = 1; // steps for profile in [s] |
---|
[1294] | 11 | profileW = [0, 50, 0, -50, 0, 50 ]; |
---|
[1251] | 12 | // profileW = [0, -10, 30, 60, 90, 60, 30, 0, -30, -60, -30]; |
---|
[1246] | 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 | |
---|
[1294] | 18 | UD = {class="EKFfixedCh"; |
---|
[1246] | 19 | IM = {class="IMpmsmStat"; |
---|
[1294] | 20 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
[1246] | 21 | }; |
---|
| 22 | OM = {class="OMpmsm";}; |
---|
[1294] | 23 | name = "Est0"; |
---|
| 24 | }; |
---|
| 25 | |
---|
| 26 | full = {class="EKFCh"; |
---|
| 27 | IM = {class="IMpmsmStat"; |
---|
| 28 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
| 29 | compensate = 1; |
---|
| 30 | }; |
---|
| 31 | OM = {class="OMpmsm";}; |
---|
| 32 | dQ=[289., 289., 12630., 0.009]; // 0.01*170^2, 0.0005*5026^2, 0.001*3.14^2 |
---|
| 33 | dR=[1445, 1445]; |
---|
| 34 | dP0=[14450., 144500., 157000000., 10.]; |
---|
[1246] | 35 | //connect |
---|
[1251] | 36 | log_level="logmean,logU,logG,logD"; |
---|
[1246] | 37 | name = "Est0"; |
---|
| 38 | }; |
---|
| 39 | |
---|
| 40 | controllers=({ |
---|
| 41 | class = "PMSM_PICtrl"; |
---|
[1387] | 42 | // estim = "UD"; |
---|
[1246] | 43 | } |
---|
| 44 | ); |
---|
| 45 | |
---|
| 46 | logger= { |
---|
| 47 | class="dirfilelog"; |
---|
| 48 | maxlen = 100; |
---|
| 49 | dirname = "exp/ctrlPI"; |
---|
| 50 | }; |
---|