Revision 318, 0.6 kB
(checked in by smidl, 16 years ago)
|
pmsm CRB model
|
-
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 | |
---|
9 | Rev. 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 | |
---|
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 | extern void pmsmsim_step(double Ww, double Mz=0.0); |
---|
21 | extern void pmsmsim_noreg_step(double ua, double ub); |
---|
22 | |
---|
23 | extern double x[9]; |
---|
24 | extern double t; |
---|
25 | extern double KalmanObs[10]; |
---|