This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I know P,I gain value for 24w pmsm with tms320f2812

hi my name is inho , KOREA

I study dsp for motor control  , now I ues your campany source (Ex. pmsm)

I don't know that the following software

float32 SpeedKp = 1.0;
float32 SpeedKi = 0.005;
float32 SpeedKd = 0.0;
float32 SpeedKc = 0.2;
float32 SpeedMin = -0.99;
float32 SpeedMax = 0.99;

float32 IdKp = 0.1;
float32 IdKi = 0.001;
float32 IdKd = 0.0;
float32 IdKc = 0.5;
float32 IdMin = -0.3;
float32 IdMax = 0.3;

float32 IqKp = 0.1;
float32 IqKi = 0.001;
float32 IqKd = 0.0;
float32 IqKc = 0.5;
float32 IqMin = -0.95;
float32 IqMax = 0.95;

i think that your company make? source program...

/* Define the system frequency (MHz) */
#define SYSTEM_FREQUENCY 150

/* Define the ISR frequency (kHz) */
#define ISR_FREQUENCY 15

 

26W pmsm motor parameter (MODEL-TS4632 N2050 E510)is that

R=2.0 and La=0.51mH...

Kt=0.025 ,Ke=2.6*10^-3....

THUS,  would like to know the value of the gain.of P and I

and I get information of referencr for gain