BLDC_Sensorless Control(single shunt) running in low speed by open loop

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BLDC_Sensorless Control(single shunt) running in low speed by open loop

Jump to solution
952 Views
sohyunjang
Contributor III

Hi,

I use MC9S12ZVML128_BLDC_Sensorless(sing shunt) application.

But, I have a problem running at low speed. (Because of BackEMF sensing)

At low speed, I want to run motor by open loop.

Is this the right solution?

bleow code is open loop running.

 

void AppStart(void){
  if (driveStatus.bit.AfterCMT == 1) {
      timeZC = TIM0TCNT - (NextCmtPeriod >> 1);

      startCMTcounter--;
      if (startCMTcounter > 0) {
      driveStatus.bit.AfterCMT = 0;

      NextCmtPeriod = MLIB_Mul(NextCmtPeriod,START_CMT_ACCELERATION,F16);
    }
  }
  if (startCMTcounter == 0) {
    AppStartToRun();
  }
}

Thanks you.

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
640 Views
pachamatej
NXP Employee
NXP Employee

Dear Sohyun Jang,

your question is correct and basically you have answered it already. If the motor has problems to run at low speeds in sensorless mode due to low backEMF signal, the classical approach of commutation will not work. Running the motor in open loop is good for a fan or blower application (non-automotive), where the load is very low and you can make some assumptions. Anyway, if the application requires some level of reliability, classical open-loop mode is useless.

In case you would like to create mid- or high-end motor control (e.g. for automotive), there are some scientific and technical papers on low speed sensorless control of BLDC at IEEE Xplore which you may find helpful (e.g. http://ieeexplore.ieee.org/abstract/document/6940933/ ).

If you just want to play with the open-loop code of the AppNote software, you can disable the "startCMTcounter" logic by commenting out the decrement

//startCMTcounter--;

and also commenting out the next commutation period value

// NextCmtPeriod = MLIB_Mul(NextCmtPeriod,START_CMT_ACCELERATION,F16);

Then you can just change the NextCmtPeriod according to your needs and when the motor reaches sufficient backEMF levels, set the startCMTcounter to zero - the state machine will be driven into the "run" state.

Best regards,

Matej

View solution in original post

1 Reply
641 Views
pachamatej
NXP Employee
NXP Employee

Dear Sohyun Jang,

your question is correct and basically you have answered it already. If the motor has problems to run at low speeds in sensorless mode due to low backEMF signal, the classical approach of commutation will not work. Running the motor in open loop is good for a fan or blower application (non-automotive), where the load is very low and you can make some assumptions. Anyway, if the application requires some level of reliability, classical open-loop mode is useless.

In case you would like to create mid- or high-end motor control (e.g. for automotive), there are some scientific and technical papers on low speed sensorless control of BLDC at IEEE Xplore which you may find helpful (e.g. http://ieeexplore.ieee.org/abstract/document/6940933/ ).

If you just want to play with the open-loop code of the AppNote software, you can disable the "startCMTcounter" logic by commenting out the decrement

//startCMTcounter--;

and also commenting out the next commutation period value

// NextCmtPeriod = MLIB_Mul(NextCmtPeriod,START_CMT_ACCELERATION,F16);

Then you can just change the NextCmtPeriod according to your needs and when the motor reaches sufficient backEMF levels, set the startCMTcounter to zero - the state machine will be driven into the "run" state.

Best regards,

Matej