Changeset 654 for applications/pmsm/cfg
- Timestamp:
- 10/12/09 19:38:57 (15 years ago)
- Location:
- applications/pmsm/cfg
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/cfg/mpf_test.cfg
r295 r654 2 2 3 3 experiment={ 4 ndat = 9000 ;4 ndat = 90000; 5 5 }; 6 6 7 system= { 8 type = "stateDS"; 9 IM = {type="mprod"; 10 mpdfs=( 11 {type="mgnorm"; 12 g={type="pmsmIM"; 13 params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";}; 14 }; 15 dR= 16 }} 17 ); 7 system= "system@cfg/sim.cfg"; 8 9 estimator = ( 10 {class="MPFpmsm"; 11 params = "pmsm107@cfg/zcu.cfg"; 12 dQ=[0.17, 0.17, 0.00004, 1e-9]; 13 dR=[0.06, 0.06]; 14 prior={class="euni";high=[4];low=[-4];}; 15 //connect 16 drv = {class="RV"; names=("o_ia","o_ib","o_ua","o_ub");}; 17 rv = {class="RV"; names=("e_ia","e_ib","e_om","e_th");}; 18 options = "logbounds"; 19 n=20; 18 20 } 19 tstep = 1.0; // steps for profile in [s]20 profile = [1, 5, 0, -3, 8];21 opt = "u";22 };23 24 estimator = (25 {type="EKF";26 IM = {type="pmsmIM";27 params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";};28 };29 OM = {type="pmsmOM";};30 dQ=[62., 66., 44., 0.03];31 dR=[100, 100];32 //connect33 drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];};34 rv = {type="rv"; names=["EKF"]; sizes=[4];};35 }36 21 ); 37 22 38 23 logger= { 39 type="dirfilelog";24 class="dirfilelog"; 40 25 maxlen = 1000; 41 dirname = " exp/sim";26 dirname = "kst/mpf_test"; 42 27 }; -
applications/pmsm/cfg/sim.cfg
r295 r654 6 6 7 7 system= { 8 type= "pmsmDS";9 params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";};8 class = "pmsmDS"; 9 params = "pmsm107@zcu.cfg"; 10 10 tstep = 1.0; // steps for profile in [s] 11 profile = [1, 5, 0, -3, 8];11 profileW = [1, 5, 0, -3, 0, 0, 0, 1, 0, 0 ]; 12 12 opt = "u"; 13 13 }; 14 14 15 15 estimator = ( 16 {type="EKF"; 17 IM = {type="pmsmIM"; 18 params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";}; 19 }; 20 OM = {type="pmsmOM";}; 21 dQ=[62., 66., 44., 0.03]; 22 dR=[100, 100]; 23 //connect 24 drv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u 25 //drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];}; // true u 26 rv = {type="rv"; names=["EKF"]; sizes=[4];}; 27 } 16 {class="EKFfull"; 17 IM = {class="IMpmsm"; 18 params = "pmsm107@cfg/zcu.cfg"; 19 }; 20 OM = {class="OMpmsm";}; 21 dQ=[0.17, 0.17, 0.0000004, 1e-11]; 22 dR=[0.0006, 0.0006]; 23 //connect 24 drv = {class="RV"; names=("o_ia","o_ib","o_ua","o_ub");}; // observed u 25 //drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];}; // true u 26 rv = {class="RV"; names=("EKF"); sizes=[4];}; 27 options = "logbounds"; 28 } 28 29 ); 29 30 30 31 logger= { 31 type="dirfilelog";32 class="dirfilelog"; 32 33 maxlen = 1000; 33 dirname = " exp/sim";34 dirname = "kst/sim"; 34 35 };