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.

TIDA-01527: The test description in this front-end design does not give the output of the motor position signal. How to output the motor rotor angle in real time?

Part Number: TIDA-01527
Other Parts Discussed in Thread: TIDM-02014

HI Team,

There's an issue from the customer need your help:

May I ask what method can be used to output the real-time angle of the motor rotor position in real time? In addition, I saw the angle variable in the code. Using the built-in graph function of ccs will cause the problem that the refresh rate is slow and the position signal cannot be displayed. How to output the real-time angle of the motor rotor position in real time?

Thanks & Regards,

Ben

  • Hi Ben, I am traveling on business this week. Please accept a slight delay in response. I share my thoughts on this later. Best regards, Jiri

  • Hi Jiri,

    Is there any updates?

    Best Regards,

    Ben

  • Hi Ben, as you correctly mentioned, you can monitor the angle output by watching one of the angle variable.

         volatile _iq Angle; /* Actual value */
         volatile _iq AngleFlt; /* Low-pass filtered */

    The refresh rate of the CCS watch window is by default 500ms. You can set it lower (e.g. ~100ms) but this is still not enough. There are two possible methods how you can get reading that is real-time.

    a) Create a buffer (array) in RAM and periodically save the Angle or AngleFlt. Use the CCS graph function to display the complete array. This method requires bit of programming and some additional intelligence. You practically emulate an oscilloscope.

    b) What we internally do is that we take the Angle variable and push it to one of the DAC outputs. We monitor the variable with oscilloscope. Attached is an example from the recently released TIDM-02014. This new reference design reuses the TIDM-01527 analog front-end but has a better and more mature algorithm for the resolver decoding (digital tracking loop).

    I hope this helps,

    Best regards, Jiri