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