duty cycle mode

General topics and discussions about the VESC and its development.
shifm_od
Posts: 1
Joined: 17 Feb 2016, 11:12

duty cycle mode

Postby shifm_od » 17 Feb 2016, 11:21

Hi.guys.when i use the BLDC_TOOL and put the duty_cycle More than 0.2,and then i hold the motor .the motor will stuck.but i put the duty_cycle less than 0.2.and do the same thing the motor do not stuck.i have seen the code :
if (pwm_cycles_sum >= rpm_dep.comm_time_sum_min_rpm)
{
if (state == MC_STATE_RUNNING)
{
if (conf->comm_mode == COMM_MODE_INTEGRATE)
{
// This means that the motor is stuck. If this commutation does not
// produce any torque because of misalignment at start, two
// commutations ahead should produce full torque.
commutate(2);
}
else if (conf->comm_mode == COMM_MODE_DELAY)
{
commutate(1);
}
cycle_integrator = 0.0;
}
}
i have find out that when duty_cycle more than o.2,when the motor is hold ,the code would not Execute.i had change" conf->sl_min_erpm",but the situation do not change.do anybody know how to do.thanks.

Return to “General”

Who is online

Users browsing this forum: No registered users and 5 guests