[1258] | 1 | // settings for pmsm_estim.cpp |
---|
| 2 | |
---|
| 3 | experiment={ |
---|
| 4 | Ndat = 20000; |
---|
| 5 | }; |
---|
| 6 | |
---|
| 7 | system= { |
---|
| 8 | class= "pmsmDSctrl"; |
---|
[1277] | 9 | params = "pmsm107@./cfg/zcu.cfg"; |
---|
[1258] | 10 | tstep = 1; // steps for profile in [s] |
---|
[1261] | 11 | profileW = [0, 10, 0, 2 ]; |
---|
[1258] | 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 | |
---|
[1261] | 18 | UD = {class="EKFfull"; |
---|
[1258] | 19 | IM = {class="IMpmsmStat"; |
---|
[1277] | 20 | params = "pmsm107@./cfg/zcu.cfg"; |
---|
[1258] | 21 | }; |
---|
| 22 | OM = {class="OMpmsm";}; |
---|
[1261] | 23 | dQ=[0.1, 0.1, 0.1, 0.01]; ///??????????????? |
---|
[1258] | 24 | dR=[0.05, 0.05]; |
---|
| 25 | //connect |
---|
[1261] | 26 | log_level="logmean"; |
---|
[1258] | 27 | name = "Est0"; |
---|
| 28 | }; |
---|
| 29 | |
---|
| 30 | controllers=({ |
---|
| 31 | class = "PMSM_LQCtrl"; |
---|
| 32 | estim = "UD"; |
---|
[1261] | 33 | r = 0.05; |
---|
| 34 | h = 10; |
---|
[1258] | 35 | } |
---|
| 36 | ); |
---|
| 37 | |
---|
| 38 | logger= { |
---|
| 39 | class="dirfilelog"; |
---|
| 40 | maxlen = 100; |
---|
| 41 | dirname = "exp/ctrlLQ"; |
---|
| 42 | }; |
---|