[1246] | 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] |
---|
[1251] | 11 | profileW = [0, 30, 0, 2 ]; |
---|
| 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 | |
---|
| 18 | UD = {class="EKFfull"; |
---|
| 19 | IM = {class="IMpmsmStat"; |
---|
| 20 | params = "pmsm107@../cfg/zcu.cfg"; |
---|
| 21 | }; |
---|
| 22 | OM = {class="OMpmsm";}; |
---|
[1251] | 23 | dQ=[0.01, 0.01, 0.0001, 0.0000000001]; |
---|
[1246] | 24 | dR=[0.05, 0.05]; |
---|
| 25 | //connect |
---|
[1251] | 26 | log_level="logmean,logU,logG,logD"; |
---|
[1246] | 27 | name = "Est0"; |
---|
| 28 | }; |
---|
| 29 | |
---|
| 30 | controllers=({ |
---|
| 31 | class = "PMSM_PICtrl"; |
---|
| 32 | estim = "UD"; |
---|
| 33 | } |
---|
| 34 | ); |
---|
| 35 | |
---|
| 36 | logger= { |
---|
| 37 | class="dirfilelog"; |
---|
| 38 | maxlen = 100; |
---|
| 39 | dirname = "exp/ctrlPI"; |
---|
| 40 | }; |
---|