Motor Control Class: Lecture 5 - Hall Sensors

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

Motor Control Class: Lecture 5 - Hall Sensors

15,241 Views
dumitru-daniel_
NXP Employee
NXP Employee

In this fifth lecture of the motor control course we discuss about how can we read the hall sensors to obtain the rotor position in order to know how to apply the correct voltage sequence to the motor phases. 

 

Main topics:

    - How Hall sensors works;

    - How to define a commutation sector;

    - How to identify the hall sensors and hall sensors alignment;

    - How to build applications to read the hall sensors via GPIO and eTIMER Capture;

    - How to implement an enhancement to read the rotor initial position to allow the startup from any position;

 

Objectives:

    - Understand how hall sensors works;

    - Implement from scratch Simulink models for GPIO and eTIMER for MPC5744P;

    - Setup FreeMASTER for real time data visualization;

 

NOTE: Chinese viewers can watch the video on YOUKU using this link

注意:中国观众可以使用此链接观看YOUKU上的视频

 

186519_186519.JPG1.JPG186518_186518.JPG2.JPG186520_186520.JPG3.JPG

 

NOTE: Chinese viewers can watch the video on YOUKU using this link

注意:中国观众可以使用此链接观看YOUKU上的视频

 

186522_186522.JPG5.JPG186521_186521.JPG6.JPG186523_186523.JPG7.JPG

 

NOTE: Chinese viewers can watch the video on YOUKU using this link

注意:中国观众可以使用此链接观看YOUKU上的视频

 

Additional information:

    - pdf attached with slides shown in these videos;

    - Simulink models used in these videos;

Original Attachment has been moved to: Lecture5---Simulink-Models.zip

Update revisions:

February 25, 2019

May 06, 2020

22 Replies

356 Views
lukasschäfer
Contributor III

Hi dumitru-daniel.popa,

i tried to use it but i don't know what value i get from the eTimer_capture block. I don't understand what value CAPT1 FIFO and CAPT2 FIFO stand for.

Can you explain how the eTimer_capture block is working?

And what have i to adjust in the eTimer_configuration block?

Thank you.

Best regards.

Lukas

0 Kudos

356 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi lukasschäfer‌,

Please check this out: How to Measure a Signal with eTimer - Capture it's the simplest example i could think of. Hope it helps!

For the meaning of the FIFO's please refer to the Reference Manual.

Best regards,
Daniel

0 Kudos