Cypress FM3 Series 빠른 시작 매뉴얼 - 페이지 14

{카테고리_이름} Cypress FM3 Series에 대한 빠른 시작 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. Cypress FM3 Series 17 페이지. 32-bit arm cortex - m3 washing machine evaluation board
Cypress FM3 Series에 대해서도 마찬가지입니다: 매뉴얼 (14 페이지)

Cypress FM3 Series 빠른 시작 매뉴얼
Sensor-less Motor Start-up Parameter
The parameters for sensor-less motor start-up are shown as below. When the sensor-less motor do not start well, the
parameter can be modified to improve the start-up performance.
/** UI_0107 running control of open loop*/
float32_t Motor_f32BemfLpfkMinSpd = 6;
uint8_t
Motor_u8RunLevel
uint32_t
Motor_u32PreheatTimeSec
uint16_t
Motor_u16PreheatSpdRpm
int16_t
Motor_i16Q8_PreheatCurrent = Q8(Motor_f32IsMax*0.7);
int16_t
Motor_i16Q8_OrientIqRef = Q8(Motor_f32IsMax*0.7);
uint16_t
Motor_u16OpenLoopSpdIncHz
uint16_t
Motor_u16OpenLoopSpdInitHz
uint16_t
Motor_u16OpenLoopSpdEndHz
int16_t
Motor_i16Q8_OpenLoopIqRef
loop stage
/** running control of closeloop */
uint16_t
Motor_u16ColseLoopTargetSpdHz = 1;
int16_t
Motor_i16Q8_CloseLoopIsMax
Motor Protection Parameter
The speed range and the phase current of the motor and other protection parameter for the motor control can be modified
at this part.
/** UI_0108 Protection Parameter */
uint16_t
Motor_u16SpdMax
uint16_t
Motor_u16SpdMin
int16_t
Motor_i16Q8CurrentMax
uint16_t
Motor_u16OverCurrentTimeSec = 1;
uint16_t
Motor_u16VbusMax
uint16_t
Motor_u16VbusMin
uint8_t
Motor_ErrorTime
A . 1 . 1
H a r d w a r e S e t t i n g
The Hardware settings for the HW can be set in the H file 'H05_user/ HardwareConfig.h'
Clock and ADC Set
The MCU clock and the ADC port and relevant coefficient are set at this part.
FM3 Family Math and Motor Control Library Quick Start Guide, Doc. No. 002-04766 Rev. *A
// Hz
= 4;
// 1->orientation, 2->open loop running,
// 3->closed loop running, 4->change speed enable
= 0;
= 1;
//the rpm of prehot
= 1;
= 0;
= 1;
= Q8(Motor_f32IsMax*1.0);
= Q8(Motor_f32IsMax);
= 4000;
// motor run maximum speed rpm 9000
= 180;
// motor run minimum speed rpm 1
= Q8(Motor_f32IsMax);
// motor over-current timer PWM
= 27;
// the maximum value of DC voltage
= 21;
// the minimum value of DC voltage
= 10;
//s
//the voltage for prehot
// orientation current
// q axis current referencein open
// motor phase current peak A
Appendix
14