Changeset 326 for applications/pmsm/simulator_zdenek/ekf_example
- Timestamp:
- 04/25/09 22:22:00 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/ekf_example/simul.cpp
r278 r326 22 22 #define CHYBA_POLOHY (0./180.*M_PI) // chyba +/-8 stupnu elektrickych pro senzorovany loziskovy stit 23 23 24 #define MODULACE 1// 0...sinusova PWM, 1...PWM se 3.harmonickou24 #define MODULACE 0 // 0...sinusova PWM, 1...PWM se 3.harmonickou 25 25 #define REZIM_REGULACE 1 // 0...reg. momentu, 1...reg.rychlosti, 2... Isqw=sqrt(Imax^2-Id^2) - max. moment 26 26