Revision 349, 0.9 kB
(checked in by smidl, 15 years ago)
|
Barcelona + mex for pmsm + results of pwm experiment for off-line use with pwm.m (>> pwm(0))
|
Rev | Line | |
---|
[346] | 1 | // settings for pmsm_estim.cpp |
---|
| 2 | |
---|
| 3 | experiment={ |
---|
[349] | 4 | ndat = 8000; |
---|
[346] | 5 | }; |
---|
| 6 | |
---|
| 7 | system= { |
---|
| 8 | type = "ITppFileDS"; |
---|
[349] | 9 | filename = "tec0009ALL.it"; |
---|
[346] | 10 | varname="D"; |
---|
| 11 | rv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u |
---|
| 12 | }; |
---|
| 13 | |
---|
| 14 | estimator = ( |
---|
| 15 | {type="EKF"; |
---|
| 16 | IM = {type="pmsmIM"; |
---|
| 17 | params = {type = "external";filename = "../cfg/zcu.cfg";path = "pmsm107";}; |
---|
| 18 | variant = "Mz"; |
---|
| 19 | }; |
---|
| 20 | OM = {type="pmsmOM";}; |
---|
| 21 | // dQ=[0.017, 0.017, 0.00000004, 1e-14, 1e-30]; |
---|
| 22 | dQ=[0.017, 0.017, 0.00000007, 1e-14, 1e-3]; |
---|
| 23 | dR=[0.025, 0.025]; |
---|
| 24 | dP0=[1., 1., 1., 10., 1e-10]; |
---|
[349] | 25 | mu0=[1., 1., 1., 2.4, 1e-10]; |
---|
[346] | 26 | //connect |
---|
| 27 | drv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u |
---|
| 28 | //drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];}; // true u |
---|
| 29 | rv = {type="rv"; names=["EKFMz"]; sizes=[5];}; |
---|
| 30 | options="logll,logbounds"; |
---|
| 31 | } |
---|
| 32 | ); |
---|
| 33 | |
---|
| 34 | logger= { |
---|
| 35 | type="itpplog"; |
---|
[349] | 36 | maxlen = 8000; |
---|
[346] | 37 | filename = "real.it"; |
---|
| 38 | }; |
---|