Compute the offsets for Hall sensor, quadrature encoder sensor, and ADC to accurately calculate the position and current feedback values.
This example calculates the offset between the rotor direct axis (
d-axis) and position detected by the Hall sensor.
This example calculates the offset between the
d-axis of the rotor and encoder index pulse position as detected by the quadrature encoder sensor.
This example uses open-loop control (also known as scalar control or Volts/Hz control) to run a motor.