Changeset 223
- Timestamp:
- 01/05/09 19:55:33 (16 years ago)
- Files:
-
- 1 added
- 7 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/estim/libKF.h
r215 r223 219 219 220 220 class EKFCh : public KalmanCh { 221 protected: 221 222 //! Internal Model f(x,u) 222 223 diffbifn* pfxu; -
bdm/stat/libBM.h
r219 r223 146 146 return vec ( 0 ); 147 147 }; 148 149 //! function substitutes given value into an appropriate position 150 virtual void condition(const vec &val){}; 148 151 149 152 //! access function -
pmsm/CMakeLists.txt
r222 r223 25 25 EXEC (pmsm_sim2 pmsmsim) 26 26 EXEC (mpf_test pmsmsim) 27 EXEC (mpf_u_weight pmsmsim) 28 EXEC (mpf_u_delta pmsmsim) 29 27 30 EXEC (sim pmsmsim) 28 31 EXEC (sim_var pmsmsim) -
pmsm/pmsm.h
r162 r223 13 13 // }; 14 14 15 //! State evolution model for a PMSM drive and its derivative with respect to \f$x\f$ $15 //! State evolution model for a PMSM drive and its derivative with respect to \f$x\f$ 16 16 class IMpmsm : public diffbifn { 17 17 protected: -
pmsm/sim.cpp
r218 r223 1 /* 1 /*! 2 2 \file 3 \brief Models for synchronous electric drive using IT++ and BDM3 \brief Simulation of disturbances in PMSM model, PWM and integration disturbances are distinguished 4 4 \author Vaclav Smidl. 5 5 … … 78 78 79 79 double frg=0.9; 80 vec vecW="0. 0. 0.2 0.4 0.4 0.2 0.0 -0.4 -0.6 -0.6 -0.4 0.0 0.0"; 80 // vec vecW="0. 0. 0.2 0.4 0.4 0.2 0.0 -0.4 -0.6 -0.6 -0.4 0.0 0.0"; 81 vec vecW="1 2 4 9 4 2 0 -4 -9 -16 -4 0 0 0"; 82 vecW*=10.0; 83 81 84 for ( int tK=1;tK<Ndat;tK++ ) { 82 85 //Number of steps of a simulator for one step of Kalman -
pmsm/sim_profiles.h
r218 r223 80 80 static int ind=0; 81 81 static double dW; 82 double tn=t; 83 if (t>0.1*ind) { 82 if (t>=0.1*ind) { 84 83 ind++; 85 84 dW = vecWw(ind)-vecWw(ind-1); -
pmsm/sim_var.cpp
r221 r223 1 1 /*! 2 2 \file 3 \brief Simulation of disturbances in PMSM model, PWM and integration disturbances are distinguished3 \brief Simulation of disturbances in PMSM model, EKF runs with simulated covariances 4 4 \author Vaclav Smidl. 5 5 … … 24 24 25 25 using namespace itpp; 26 //!Extended Kalman filter with unknown \c Q27 26 28 27 int main() {