Revision 871, 0.8 kB
(checked in by mido, 15 years ago)
|
adaptation of /applications to new version of LOG_LEVEL
also, a cosmetic change made in enumerations: logub -> logubound, loglb -> loglbound
|
Line | |
---|
1 | // settings for pmsm_estim.cpp |
---|
2 | |
---|
3 | experiment={ |
---|
4 | ndat = 60000; |
---|
5 | }; |
---|
6 | |
---|
7 | system= { |
---|
8 | type = "pmsmDS"; |
---|
9 | params = {type = "external";filename = "../cfg/zcu.cfg";path = "pmsm107";}; |
---|
10 | tstep = 1.0; // steps for profile in [s] |
---|
11 | profileW = [1, 5, 10, 100, 3, 3, 0, 0]; |
---|
12 | //profileM = [0, 0, 10, 10, 10, 0, 10, 0]; |
---|
13 | log_level = "logvoltage"; |
---|
14 | }; |
---|
15 | |
---|
16 | estimator = ( |
---|
17 | {type="pmsmCRB"; |
---|
18 | IM = {type="pmsmIM"; |
---|
19 | params = {type = "external";filename = "../cfg/zcu.cfg";path = "pmsm107";}; |
---|
20 | variant = "2o";// 2nd order Taylor |
---|
21 | }; |
---|
22 | OM = {type="pmsmOM";}; |
---|
23 | dQ=[0.017, 0.017, 0.00000004, 1e-12]; |
---|
24 | dR=[0.0000000001, 0.000000001]; |
---|
25 | //connect |
---|
26 | drv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u |
---|
27 | //drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];}; // true u |
---|
28 | rv = {type="rv"; names=["EKF"]; sizes=[4];}; |
---|
29 | } |
---|
30 | ); |
---|
31 | |
---|
32 | logger= { |
---|
33 | type="mexlog"; |
---|
34 | maxlen = 59999; |
---|
35 | }; |
---|