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.

TIDM-02014: Question about ipark_run in foc.h

Part Number: TIDM-02014

Tool/software:

For TIDM-02014, ipark_run in foc.h:

static inline void ipark_run(Motor_t * in)
{
in->Vout_ab_V[0] = (in->Vout_dq_V[0] * in->Cosine) -
(in->Vout_dq_V[1] * in->Sine_out);
in->Vout_ab_V[1] = (in->Vout_dq_V[1] * in->Cosine) +
(in->Vout_dq_V[0] * in->Sine_out);
}

Shouldn't the "in->Cosine" also be Cosine_out?  Since "Sine_out" is used.

Thanks!