Changeset 1400 for applications/pmsm/simulator_zdenek
- Timestamp:
- 10/04/11 16:45:04 (13 years ago)
- Location:
- applications/pmsm/simulator_zdenek
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/simulator.cpp
r1387 r1400 465 465 } 466 466 467 void pmsmsim_noreg_step(double ua, double ub ) // you must link array KalmanObs[] to EKF modul467 void pmsmsim_noreg_step(double ua, double ub, double Mz) // you must link array KalmanObs[] to EKF modul 468 468 { 469 469 double kor_Uc; … … 479 479 480 480 pwm(modulace); 481 482 x[8] = Mz; 481 483 482 484 // *us=*u*cos(*(u+1)); -
applications/pmsm/simulator_zdenek/simulator.h
r1380 r1400 19 19 extern void pmsmsim_set_parameters(double Rs0, double Ls0, double Fmag0, double Bf0, double p0, double kp0, double J0, double Uc0, double DT0, double dt0); 20 20 extern void pmsmsim_step(double Ww, double Mz=0.0); 21 extern void pmsmsim_noreg_step(double ua, double ub );21 extern void pmsmsim_noreg_step(double ua, double ub, double Mz=0.0); 22 22 extern void pmsmsim_fill_parameters(double P[10]); 23 23 extern void pmsmsim_fill_xy(double xout[9], double yout[6]);