The approximate values of k, and k, are obtained by
trial and error through running Matlab simulations. The
value of w*(t)t will be used as the estimated unit vector
that transforms the current vector from the rotational
frame to the stationary frame. AIcl will adjust the
magnitude of the torque current (referred to the rotational
stator frame) thus varying both the magnitude and
direction of the rotating current vector.