Now, from back in the days working on solar inverters, that also use FOC, I remember that iq is the current actually fed to the grid (active current) and id is current that swings back and forth between grid and inverter (reactive current). On the DC side you only see the active current and the losses created by reactive current.
With that info I go about and calculate
Code: Select all
idc = (iq * uq) / FOC::GetMaximumModulationIndex()
https://e2e.ti.com/support/microcontrol ... 12#1693712
Here they calculate, transformed to my code:
Code: Select all
idc=(Vd * Id + Vq * Iq)/ FOC::GetMaximumModulationIndex() * 1.5
What makes it even more confusing is that on IPM motors id combined with iq generates more torque than plain iq. So yes, id should somehow find entry to idc calculation?
Are there any gurus who know how to do this correctly?