This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HELLO,I get the motor angle, how to join the lab12a code

Other Parts Discussed in Thread: TMS320F28069M

Thank you, I used the chip is TMS320F28069M

  • Jacky,

    I'm unclear exactly what your question is.  Lab 12a relies on a quadrature encoder being attached to the motor.

  • LineStream - Adam Reynolds

    My motor sensor is a magnetic encoder,I get the motor point of view,How to join the experiment 12a

    thank you

  • Jacky,

    Depending on your magnetic encoder you have a couple options:
    1. If it has QEP outputs, you can connect those to the QEP inputs of the evaluation kit and use lab 12a w/o modifications.
    2. If you wish to use the SPI to collect the angle information you will need to modify lab 12a to replace the encoder block with software that translates the encoder angle into an electrical angle that can be used by the FOC. To do this the electrical angle needs to vary between 0 and 1 in the IQ24 format where 0 is aligned with a true electrical angle of 0 on your motor.

    The lab guide has additional information about this lab.