ZHCUCJ3A October 2024 – December 2024
精確的電流檢測對于估算轉子角度和轉速以及實現(xiàn)最佳動態(tài)電機控制而言非常重要。電流檢測參數(shù)必須與硬件匹配,這可以通過設置下面的相關參數(shù)來實現(xiàn):
//! \brief Defines the PWM deadband falling edge delay count (system clocks)
#define MTR1_PWM_DBFED_CNT (uint16_t)(2.5f * 120.0f) // 2.5us, (>2.0us)
//! \brief Defines the PWM deadband rising edge delay count (system clocks)
#define MTR1_PWM_DBRED_CNT (uint16_t)(2.5f * 120.0f) // 2.50us, (>2.0us)
//! \brief Defines the minimum duration, Clock Cycle
#define USER_M1_DCLINKSS_MIN_DURATION (450U)
//! \brief Defines the sample delay, Clock Cycle
#define USER_M1_DCLINKSS_SAMPLE_DELAY (430U)