“…External PI controller sets a reference current Iq based on speed setpoint of the machine, This is compared with actual current isq, generating an error signal which goes through a PI controller that generates the reference Vsq, for flux control, error is calculated between the reference value Idref and the measured value Ireal generating the reference Vsd, by the second PI controller [15]. 4 C. Power Loss.…”