The reference current generating module has two inputs.
One is the output of the speed control module, Im , and the
other is the angular displacement signal of the
rotor, angular .The output of the module is the current of the
three-phase winding. The position signal of the rotor, Pos (rad),
is calculating as following