Now, I know d and q axis current can be calculated by phase current ia, ib, ic in a PMSM, via clarke transform and park transform.
ialpha = sqrt(2/3) * (ia - ib / 2 - ic / 2)
ibeta = sqrt(1/2) * (ib - ic)
id = ialpha * cos(theta) + ibeta * sin(theta)
iq = ibeta * cos(theta) - ialpha * sin(theta)
Now, if motor running at a steady state, id and iq should be in DC form.
But how to calculate RMS of phase current ia,ib,ic by id,iq.
I think RMS(ia) = RMS(ib) = RMS(ic) = K * sqrt(id^2 + iq^2)
What is the value of K.