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.

TMS320F28377D: IDDK_PM_Servo_Project_F2837x (DACVALA-2)

Part Number: TMS320F28377D
Other Parts Discussed in Thread: CONTROLSUITE

Dear Ramesh,

Thank you for your review.

I need to discuss more on the update rate of the DACVALA register with you.

Even though you confirmed that the DACVALA register should be updated at every 100us according to the associated register settings, it is not updated at every 100us as follows.

It is stated in the file of resolver.c as follows:

----------------------------------------------------------------------------------------------------------------------------------------------------

interrupt void ResolverISR ( void )
{
    // *** Set up next sampling instant and update excitation sine wave ***
 rslvrOut.sineIndex = (rslvrOut.sineIndex-1) & (rslvrIn.TABLE_LENGTH-1);  // DELAY_LENGTH must be 2^n
 DacaRegs.DACVALS.bit.DACVALS = sineTable[rslvrOut.sineIndex];;

-----------------------------------------------------------------------------------------------------------------------------------------------------

The interrupt service routine ResolverISR() is executed at every 6.25us.

I measured the resolver carrier signal on the IDDK main board.

Its shape is a 10 kHz sine wave as shown in the captured display inserted below.

The captured display inserted below shows one period of the 10 kHz carrier signal.

The carrier signal is updated 16 times in one period of 100us.

Therefore the carrier signal is updated at every 6.25us; it is updated at every execution of ResolverISR().

Please review this issue for me.

Thank you for your guidance.

G. Kim

  • You inferred it right.

    In Page 23 of the supporting doc (Sensored FOC of PMSM_IDDK_v03.pdf), it is suggested to refer to

    C:\TI\controlSUITE\development_kits\TMDSRSLVR_v2.0\~Docs

    for more information on resolver interface related information, that includes generating carrier wave. In that doc, a pwm carrier was used to generate carrier sine wave, but here, a DAC is used instead. It will help if you review the mentioned literature.