- Main Page
- Related Pages
- Modules
- Classes
- Files

# simulator.h

    00001 /*
    00002    Simulator of Vector Controlled PMSM Drive
    00003
    00004    This module is background for PMSM drive object design and
    00005    introduces basic functions ... set_parameters() and eval().
    00006
    00007    Z. Peroutka
    00008
    00009 Rev. 16.3.2008
    00010
    00011 */
    00012
    00013 // resi problem s M_PI ve VC8
    00014 #ifndef M_PI
    00015 #define M_PI        3.14159265358979323846
    00016 #endif
    00017
    00018
    00019 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);
    00020 extern void pmsmsim_step(double Ww);
    00021 extern void pmsmsim_noreg_step(double ua, double ub);
    00022
    00023 extern double x[9];
    00024 extern double t;
    00025 extern double KalmanObs[10];