MPC5744P MBDT Motor Encoder

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

MPC5744P MBDT Motor Encoder

859件の閲覧回数
C_Zuercher_APR
Contributor III

Hi,

I'm currently using a motor encoder to monitor the position of a BLDC motor, however at high motor speeds (circa 1,400rpm or so) the board appears to be unable to read the encoder. I'm using a 1,024 line encoder and am thinking that perhaps the line resolution is too high, or is my programming unsatisfactory for this task (I've attached the model to this post)?

FYI, I've worked out that the subroutine used to calculate the rotor position is being executed every 1.5e-5 seconds at 1,000 rpm.

Thanks in advance for your help,

Crispin

0 件の賞賛
2 返答(返信)

803件の閲覧回数
C_Zuercher_APR
Contributor III

Hi @adriantudor 

Thanks for this; now works perfectly!

Thanks,

Crispin

0 件の賞賛

822件の閲覧回数
adriantudor
NXP Employee
NXP Employee

Hi @C_Zuercher_APR ,

We have an example for a motor encoder using MPC5744P. You can find it in examples or get it from here.

We use Etimer in Quadrature count mode and we count the pulses at a fixed period of time. And from here you can calculate the motor speed. Try to start from this example.

 

Best regards,

Adrian