TI的评估板:DRV8301-HC-EVM Rev D。
选用sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5\proj_lab11e例程
我参考TI的Lab11e程序,霍尔启动后几乎没有带载能力,确保电机参数更新正确,电机三根线换向顺序都试过,在500rpm加负载时抖动大,且不能输出额定扭矩,是不是和PI参数有关?我在调试窗口改PI值没有发生作用,程序中很多地方出现PI值,不知改哪个,应该在哪里更改PI值?
pidHandle[0] = PID_init(&pid[0],sizeof(pid[0])); pidHandle[1] = PID_init(&pid[1],sizeof(pid[1])); pidHandle[2] = PID_init(&pid[2],sizeof(pid[2])); pidHandle[3] = PID_init(&pid[3],sizeof(pid[3]));
PID_setGains(pidHandle[0],_IQ(0.2),_IQ(0.005),_IQ(0.0)); PID_setMinMax(pidHandle[0],-maxCurrent_pu,maxCurrent_pu); PID_setUi(pidHandle[0],_IQ(0.0)); pidCntSpeed = 0;
PID_setGains(pidHandle[1],Kp_Id,Ki_Id,_IQ(0.0)); PID_setMinMax(pidHandle[1],-maxVoltage_pu,maxVoltage_pu); PID_setUi(pidHandle[1],_IQ(0.0));
PID_setGains(pidHandle[2],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[2],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[2],_IQ(0.0));
PID_setGains(pidHandle[3],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[3],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[3],_IQ(0.0));
PID_setGains(pidHandle[0],_IQ(0.1),_IQ(0.005),_IQ(0.0));
user5376922:如何启动
TI的评估板:DRV8301-HC-EVM Rev D。
选用sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5\proj_lab11e例程
我参考TI的Lab11e程序,霍尔启动后几乎没有带载能力,确保电机参数更新正确,电机三根线换向顺序都试过,在500rpm加负载时抖动大,且不能输出额定扭矩,是不是和PI参数有关?我在调试窗口改PI值没有发生作用,程序中很多地方出现PI值,不知改哪个,应该在哪里更改PI值?
pidHandle[0] = PID_init(&pid[0],sizeof(pid[0])); pidHandle[1] = PID_init(&pid[1],sizeof(pid[1])); pidHandle[2] = PID_init(&pid[2],sizeof(pid[2])); pidHandle[3] = PID_init(&pid[3],sizeof(pid[3]));
PID_setGains(pidHandle[0],_IQ(0.2),_IQ(0.005),_IQ(0.0)); PID_setMinMax(pidHandle[0],-maxCurrent_pu,maxCurrent_pu); PID_setUi(pidHandle[0],_IQ(0.0)); pidCntSpeed = 0;
PID_setGains(pidHandle[1],Kp_Id,Ki_Id,_IQ(0.0)); PID_setMinMax(pidHandle[1],-maxVoltage_pu,maxVoltage_pu); PID_setUi(pidHandle[1],_IQ(0.0));
PID_setGains(pidHandle[2],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[2],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[2],_IQ(0.0));
PID_setGains(pidHandle[3],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[3],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[3],_IQ(0.0));
PID_setGains(pidHandle[0],_IQ(0.1),_IQ(0.005),_IQ(0.0));
mangui zhang:负载的反馈链路接入了吗
TI的评估板:DRV8301-HC-EVM Rev D。
选用sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5\proj_lab11e例程
我参考TI的Lab11e程序,霍尔启动后几乎没有带载能力,确保电机参数更新正确,电机三根线换向顺序都试过,在500rpm加负载时抖动大,且不能输出额定扭矩,是不是和PI参数有关?我在调试窗口改PI值没有发生作用,程序中很多地方出现PI值,不知改哪个,应该在哪里更改PI值?
pidHandle[0] = PID_init(&pid[0],sizeof(pid[0])); pidHandle[1] = PID_init(&pid[1],sizeof(pid[1])); pidHandle[2] = PID_init(&pid[2],sizeof(pid[2])); pidHandle[3] = PID_init(&pid[3],sizeof(pid[3]));
PID_setGains(pidHandle[0],_IQ(0.2),_IQ(0.005),_IQ(0.0)); PID_setMinMax(pidHandle[0],-maxCurrent_pu,maxCurrent_pu); PID_setUi(pidHandle[0],_IQ(0.0)); pidCntSpeed = 0;
PID_setGains(pidHandle[1],Kp_Id,Ki_Id,_IQ(0.0)); PID_setMinMax(pidHandle[1],-maxVoltage_pu,maxVoltage_pu); PID_setUi(pidHandle[1],_IQ(0.0));
PID_setGains(pidHandle[2],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[2],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[2],_IQ(0.0));
PID_setGains(pidHandle[3],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[3],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[3],_IQ(0.0));
PID_setGains(pidHandle[0],_IQ(0.1),_IQ(0.005),_IQ(0.0));
user4708725:
回复 mangui zhang:
确定所有接线正确
TI的评估板:DRV8301-HC-EVM Rev D。
选用sw\solutions\instaspin_foc\boards\drv8301kit_revD\f28x\f2806xF\projects\ccs5\proj_lab11e例程
我参考TI的Lab11e程序,霍尔启动后几乎没有带载能力,确保电机参数更新正确,电机三根线换向顺序都试过,在500rpm加负载时抖动大,且不能输出额定扭矩,是不是和PI参数有关?我在调试窗口改PI值没有发生作用,程序中很多地方出现PI值,不知改哪个,应该在哪里更改PI值?
pidHandle[0] = PID_init(&pid[0],sizeof(pid[0])); pidHandle[1] = PID_init(&pid[1],sizeof(pid[1])); pidHandle[2] = PID_init(&pid[2],sizeof(pid[2])); pidHandle[3] = PID_init(&pid[3],sizeof(pid[3]));
PID_setGains(pidHandle[0],_IQ(0.2),_IQ(0.005),_IQ(0.0)); PID_setMinMax(pidHandle[0],-maxCurrent_pu,maxCurrent_pu); PID_setUi(pidHandle[0],_IQ(0.0)); pidCntSpeed = 0;
PID_setGains(pidHandle[1],Kp_Id,Ki_Id,_IQ(0.0)); PID_setMinMax(pidHandle[1],-maxVoltage_pu,maxVoltage_pu); PID_setUi(pidHandle[1],_IQ(0.0));
PID_setGains(pidHandle[2],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[2],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[2],_IQ(0.0));
PID_setGains(pidHandle[3],Kp_Iq,Ki_Iq,_IQ(0.0)); PID_setMinMax(pidHandle[3],_IQ(0.0),_IQ(0.0)); PID_setUi(pidHandle[3],_IQ(0.0));
PID_setGains(pidHandle[0],_IQ(0.1),_IQ(0.005),_IQ(0.0));
user4708725:
回复 mangui zhang:
负载反馈链路指什么?霍尔线?