Cypress FM3 Series Manual de inicio rápido - Página 13

Navegue en línea o descargue pdf Manual de inicio rápido para Placa base Cypress FM3 Series. Cypress FM3 Series 17 páginas. 32-bit arm cortex - m3 washing machine evaluation board
También para Cypress FM3 Series: Manual (14 páginas)

Cypress FM3 Series Manual de inicio rápido
PID Parameter
/** UI_0104 PID Parameter */
float32_t
Motor_f32LowSpdKi =
float32_t
Motor_f32LowSpdKp =
float32_t
Motor_f32Dki
float32_t
Motor_f32Dkp
float32_t
Motor_f32Qki
float32_t
Motor_f32Qkp
float32_t
Motor_f32Skp
float32_t
Motor_f32Ski
uint16_t
Motor_u16ChgPiSpdHz = 10;
The PID parameter would be changed when the motor is not running stable at someone speed.
Filter Parameter
/** UI_0105 Filter */
float32_t Motor_f32BemfLpfkMinSpd
float32_t Motor_f32BemfLpfkMaxSpd
int32_t
Motor_i32Q12_BemfLpfkMin
int32_t
Motor_i32Q12_BemfLpfkMax
These parameters are used for the sensor-less rotor observer that is PLL estimator.
Hall Motor Start-up Parameter
/** UI_0106 Start-up param for hall motor*/
int32_t
Motor_StartSpd
float
Startup_InitCur
float
Startup_IncCur
float
Startup_SwitchCur = 0.3; //Switch current at closeloop
If the sensor motor does not start well, these parameter can be modified to make the motor start smooth.
FM3 Family Math and Motor Control Library Quick Start Guide, Doc. No. 002-04766 Rev. *A
0.0002f;//0.0003f; //speed PI regulator integral constant
0.043f;//0.15f;
= 0.02;
//d axis current PI regulator integral constant
= 1;
//d axis current PI regulator proportion constant
= 0.02;
//q axis current PI regulator integral constant
= 1;
//q axis current PI regulator proportion constant
= 0.05f;
//speed PI regulator proportion constant
= 0.0001f;
//speed PI regulator integral constant
//PID parameters change at this speed
= 6;
= 120;
= Q12(0.05);
= Q12(0.8);
= 280;
// start up drum speed,unit:rpm
= 0.3;
//initial startup current, unit:A
= 0.08;
//startup current increase step, unit:A
//speed PI regulator proportion constant
// Hz
// Hz
Appendix
13