As iq and id present the active and reactive current, the φ=arctan(iq/id) express the angle between the stator voltage and current vector, thereby it is easy to judge the polar of phase current. For example, if U phase stator voltage angle is θ, then U phase current angle is θ-φ, so if θ-φ is between 0 and π, U phase current is positive, else negative.