The operation of the algorithm developed as part of this
research is explained in more detail in section II. The result is
to produce compensation data that is the inverse of the torque
ripple produced by the motor. This will result in smoother
output torque.