
亲们: FOC5.4的库里面启动这块的这个函数:__weak bool RUC_Exec( RevUpCtrl_Handle_t * pHandle ) 里面的操作 /*Set the next phases parameter pointer.*/ pHandle->pCurrentPhaseParams = pHandle->pCurrentPhaseParams->pNext; 这里的pCurrentPhaseParams 定义到的结构体是这样的: typedef struct { uint16_t hDurationms; int16_t hFinalMecSpeedUnit; int16_t hFinalTorque; void * pNext; } RevUpCtrl_PhaseParams_t; 那这个操作是啥意思呢?如下: /*Set the next phases parameter pointer.*/ pHandle->pCurrentPhaseParams = pHandle->pCurrentPhaseParams->pNext; 谢谢各位大神能指导一下下 |
ST 电机代码弱磁控制
电机控制弱磁开启之后,为什么转速提高,电流也提升?
FOC电机控制HALL+弱磁
产品
STM32电机控制
ST Motor Control Workbench使用usb转ttl无法连接monitor。
ST无刷库开启弱磁后无法提速
寻找 04841417-AE 引脚资料,维修中遇到该型号电源芯片,没有参数无法检测
6步驱动如何实现位置控制?使用L6235Q驱动板
电机控制FOC代码转速计算
int16_t hFinalMecSpeedUnit; //当前阶段的目标转速
int16_t hFinalTorque; //当前阶段的目标转矩
void * pNext; //指向下一阶段的指针
也就是说开环的5个阶段,先执行第一个,然后依次执行
谢谢大哥,这里小弟明白了