SLUUDM5 March 2026 MSPM0G1507 , MSPM0G1519 , MSPM0G3507 , MSPM0G3519
In sensored FOC, Hall signals are used to detect the rotor position information and drive the motor efficiently. FOC application requires three digital Hall Inputs placed 60 degrees electrically connected to the GPIO's as inputs feeding the rotor position information.
User needs to populate the Hall Angle Table in IQ27 (PU) appropriately for a given Hall Sequence with reference to motor phase connections, as shown in the following table.
| File | Constant Variable | Description |
|---|---|---|
| ISR.c | forwardHallIndexLUT[MAX_HALL_INDEX] | Hall angle table used for forward rotation. |
| reverseHallIndexLUT[MAX_HALL_INDEX] | Hall angle table used for reverse rotation. |
In general, the Hall Pin sequence with reference to the Motor Phase connection is introduced in the motor’s data sheet. The Hall Pin sequence is significant and the driving angle for a given phase depends on the sequence of connections. However, the Hall sensor placements can be erroneous, and the electrical displacement can be less than or greater than 60 degrees. Any error in the hall placement results in torque ripples and non-sinusoidal current. It is essential for users to do Hall sensor calibration to correct the hall placement error for improved current waveform in the motor.