Skip to main content
itri532600
Associate II
December 18, 2015
Question

why get differemt value of FOC's current iab?

  • December 18, 2015
  • 1 reply
  • 593 views
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
January 7, 2016
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