最近在搞基于stm32的pmsm控制,有个问题看不明白,有没有前辈们可以指导一下啊,不胜感激:在这个函数中void SVPWM_3ShuntCalcDutyCycles (Volt_Components Stat_Volt_Input)的矢量占空比的计算公式是怎么推倒过来的啊,: case SECTOR_1: hTimePhA = (T/8) + ((((T + wX) - wZ)/2)/131072); hTimePhB = hTimePhA + wZ/131072; hTimePhC = hTimePhB - wX/131072; case SECTOR_2: hTimePhA = (T/8) + ((((T + wY) - wZ)/2)/131072); hTimePhB = hTimePhA + wZ/131072; hTimePhC = hTimePhA - wY/131072; case SECTOR_3: hTimePhA = (T/8) + ((((T - wX) + wY)/2)/131072); hTimePhC = hTimePhA - wY/131072; hTimePhB = hTimePhC + wX/131072; case SECTOR_4: hTimePhA = (T/8) + ((((T + wX) - wZ)/2)/131072); hTimePhB = hTimePhA + wZ/131072; hTimePhC = hTimePhB - wX/131072; case SECTOR_5: hTimePhA = (T/8) + ((((T + wY) - wZ)/2)/131072); hTimePhB = hTimePhA + wZ/131072; hTimePhC = hTimePhA - wY/131072; case SECTOR_6: hTimePhA = (T/8) + ((((T - wX) + wY)/2)/131072); hTimePhC = hTimePhA - wY/131072; hTimePhB = hTimePhC + wX/131072; |
RE:基于ST的foc控制库2.0中占空比计算的问题
回复:基于ST的foc控制库2.0中占空比计算的问题
六种可能性都排列出来了
是啊,没办法,搞不懂,主要是那个T/8是爱那里代表什么意思搞不明白
RE:基于ST的foc控制库2.0中占空比计算的问题