Main Content

Create Position Sensing Subsystem

The position sensing subsystem reads the motor position from theSurface Mount PMSMblock and simulates the QEP encoder pulse counts. TheSurface Mount PMSMblock outputs the mechanical position of the motor in rad/s.

Convert the position in the range0torad/s to QEP encoder counts as shown in this figure.

For details about detecting the QEP index position offset with respect to the rotord-axis, seeQuadrature Encoder Offset Calibration for PMSM Motor.