大侠们好!
用F28069M片子仿制TI高压开发板电路自做电路板,但是电流采样用的是LEM霍尔传感器(50A--4V)经电阻分压后进入采样口是(50A---3.3V),输入和输出电压采样和TI一样,我用程序LAB05E在TI高压开发板上带永磁同步电机OK,但是用自己做的电路板,电机不能正常运行,乱蹦。程序修改如下:
#define USER_IQ_FULL_SCALE_CURRENT_A (50.0) // 10.0 Example for hvkit_rev1p1 typical usage
//! \brief Defines the maximum current at the AD converter
//! \brief The value that will be represtented by the maximum ADC input (3.3V) and conversion (0FFFh)
//! \brief Hardware dependent, this should be based on the current sensing and scaling to the ADC input
#define USER_ADC_FULL_SCALE_CURRENT_A (100.0)