This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello guys,
I have a question about lab11e. It works great in our application but there is one little thing I would like to solve. If the motor isn't spinning, there is a “summing noise”. (In other labs like 5a/b for example is it also there but barely audible)
I think this is needed to estimate the angle before the motor is spinning?
Do I need this if I start with hall sensors? If not can anyone tell me how to disable this noise?
To get rid of the noise I tried two things:
1.I disabled force angle, but this only reduced the noise a bit.
I think I do not need force angle with hall sensors at start-up, is this right?
2. I wanted to set PwmDuty to zero if no signal comes from the throttle but that does not work either.
// BLDC current loop
PID_run(pidHandle[3],gHall_BLDC_Is_ref_pu,gHall_BLDC_Is_fdb_pu,&gHall_PwmDuty);
if(gMotorVars.IqRef_A == 0)// gMotorVars.IqRef_A comes from throttle
gHall_PwmDuty=_IQ(0.0);
HALLBLDC_Ctrl_PwmSet(gHall_PwmState, gHall_PwmDuty);
Thank you
Thanks for your answer,
I just tried something, usually I use torque control therefore I changed the lab11e to torque mode.
e2e.ti.com/.../687037
I changed it back to speed control and there was no noise!
I assume the speed controller turns the pwm down or something.
This are my changes HALLBLDC_Ctrl_Run():
if(gHall_Flag_CurrentCtrl == true) // Torque Control Mode
{
gHall_BLDC_Is_fdb_pu = gAdcData.I.value[gHall_BLDC_Flag_Is_fdb];
if(FS_flag_enableSpeedCtrl == true)
gHall_BLDC_Is_ref_pu = speed_pid_out;
else
gHall_BLDC_Is_ref_pu = FS_Iq_ref_pu;
// BLDC current loop
PID_run(pidHandle[3],gHall_BLDC_Is_ref_pu,gHall_BLDC_Is_fdb_pu,&gHall_PwmDuty);
//gHall_PwmDuty=_IQ(0.0) -> For testing I enabled this and there was no noise.
HALLBLDC_Ctrl_PwmSet(gHall_PwmState, gHall_PwmDuty);
}
else // Speed Control Mode
{
gHall_PwmDuty = speed_pid_out;
HALLBLDC_Ctrl_PwmSet(gHall_PwmState, gHall_PwmDuty);
}
And a soundfile:
Click here to play this audio clip
It works, I did something wrong with the changes from speed to torque control.
sorry about the circumstances