ZHCUCJ3A October 2024 – December 2024
精確的電流檢測對于估算轉(zhuǎn)子角度和轉(zhuǎn)速以及實(shí)現(xiàn)最佳動態(tài)電機(jī)控制而言非常重要。電流檢測參數(shù)必須與硬件匹配,這可以通過設(shè)置下面的相關(guān)參數(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)