root/applications/pmsm/simulator_zdenek/simulator.h @ 1381

Revision 1380, 0.7 kB (checked in by smidl, 13 years ago)

MPF v C

  • Property svn:eol-style set to native
Line 
1/*
2   Simulator of Vector Controlled PMSM Drive
3
4   This module is background for PMSM drive object design and
5   introduces basic functions ... set_parameters() and eval().
6
7   Z. Peroutka
8
9Rev. 16.3.2008
10
11*/
12
13// resi problem s M_PI ve VC8
14#ifndef M_PI
15#define M_PI        3.14159265358979323846
16#endif
17
18
19extern void pmsmsim_set_parameters(double Rs0, double Ls0, double Fmag0, double Bf0, double p0, double kp0, double J0, double Uc0, double DT0, double dt0);
20extern void pmsmsim_step(double Ww, double Mz=0.0);
21extern void pmsmsim_noreg_step(double ua, double ub);
22extern void pmsmsim_fill_parameters(double P[10]);
23extern void pmsmsim_fill_xy(double xout[9], double yout[6]);
24extern double pmsmsim_get_t();
Note: See TracBrowser for help on using the browser.