BLDC with encoder for s32k144 example

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

BLDC with encoder for s32k144 example

ソリューションへジャンプ
2,025件の閲覧回数
Abdel
Contributor II

Hello, can you help me to find a possibility to switch between encoder and Hall sensor in the BLDC Motor Application Tuning Tool as with pmsm control page (see picture below). Thank you in Advance

Best regards 

Abdel

0 件の賞賛
1 解決策
1,992件の閲覧回数
marekmusak
NXP Employee
NXP Employee

 

Hello Abdel,

Unfortunately, such a check box does not exist in BLDC app. BLDC motor is trapezoidal motor type controlled by Six-step commutation technique, so here we use Hall sensor that perfectly fit to this commutation technique. Encoder is more expensive sensor intended for sinusoidal control -FOC. This motor control kit offers only Hall sensor, nevertheless, you can use your own motor with encoder and run PMSM_FOC code example. This code example contains routine for encoder signal processing.  

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
2,013件の閲覧回数
marekmusak
NXP Employee
NXP Employee

 

Hello Abdel,

compared to PMSM app, in the BLDC app, there is a macro that defines Hall operation or sensorless operation . This macro can be changed in motor_structure.h as show below:

 

 /*****************************************************************************
* Define Hall based or Sensorless based BLDC SixStep Control
*
* HALL_SENSOR 0 Sensorless operation, motor position/speed obtained by the back-EMF voltage
* zero-cross detection method
* HALL_SENSOR 1 Sensorbased operation, motor position/speed is obtained by the Hall sensor
*
******************************************************************************/
#define HALL_SENSOR 0  

 

 

0 件の賞賛
2,008件の閲覧回数
Abdel
Contributor II

Hi Marekmusak,

Thank you for your answer. Of course I changed the motor_structure.h for the hall sensor, otherwise I would not have seen the signals in freemaster. I meant a checkbox where you could decide between a hall sensor or an encoder in page control from motor control app tuning tool. Can you tell me please, if the bldc motor has also an encoder or just a hall sensor?

 

Best regards

Abdel

0 件の賞賛
1,993件の閲覧回数
marekmusak
NXP Employee
NXP Employee

 

Hello Abdel,

Unfortunately, such a check box does not exist in BLDC app. BLDC motor is trapezoidal motor type controlled by Six-step commutation technique, so here we use Hall sensor that perfectly fit to this commutation technique. Encoder is more expensive sensor intended for sinusoidal control -FOC. This motor control kit offers only Hall sensor, nevertheless, you can use your own motor with encoder and run PMSM_FOC code example. This code example contains routine for encoder signal processing.  

0 件の賞賛