The function of the controller is mainly to output accurate drive signals to the power converter by means of torque hysteresis, flux hysteresis, sector judgment, DITC unit, and finally the switching vector table, based on the torque given,
feedback torque and flux estimation.