Skip to main content
itri532600
Associate II
Dec 18, 2015 3:28 AM UTC
Question

why get differemt value of FOC's current iab?

Posted on December 18, 2015 at 04:28

I used stm32 library ADC & DMA to get the FOC Ia,b values, but the values are  different at using PMSM library

PWMC_GetPhaseCurrents(oCurrSensor[MC_NUM], &Iab); 

I didn't know why have different values.

The values of using ADC library are correct.

How could I debug the error of PMSM library?

Thanks!
This topic has been closed for replies.

1 reply

Gigi
ST Employee
Jan 7, 2016 4:53 PM UTC
Posted on January 07, 2016 at 17:53

Ciao Sapphira

Hard to say why you get different values.

Did you consider the offset calibration done by the MC lib?

Ciao

Gigi