Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AndreaB
Level 2
Level 2
First like received 5 questions asked 10 sign-ins

Hello,

I am working with KIT_A2G_TC387_MOTORCTR board and I am using FOC SW without issue.

now I would like to drive a brushless motor that is very similar to the one of the kit but woth no encoder or sensors.

Are there some libraries/source code examples of FOC sensorless for the same board?

Thanks,

Andrea

0 Likes
1 Solution
gecmar
Employee
Employee
25 sign-ins 5 solutions authored 10 replies posted

Hello Andrea,

there is no official Infineon library/source code example available for KIT_A2G_TC387_MOTORCTR.

Tips:

  • In the original SDK, there are placeholders for sensorless. In functions PmsmFoc_PositionAcquisition_init, PmsmFoc_PositionAcquisition_updatePosition and PmsmFoc_PositionAcquisition_updateSpeed one can find case PositionAcquisition_SensorType_Sensorless, where an sensorless algorithm can be implemented.
  • One should scale the estimated position to fit to the input of lookup tables used in Park and Inverse Park Transform (10-bit resolution).
  • The speed recalculated based on signals from incremental encoder is in rad/s and in function  PmsmFoc_doSpeedControl is transformed in to RPM. If sensorless algorithm output is in rad/s, then you one don't need to modify function PmsmFoc_doSpeedControl .

Best regards

Gecmar

View solution in original post

0 Likes
1 Reply
gecmar
Employee
Employee
25 sign-ins 5 solutions authored 10 replies posted

Hello Andrea,

there is no official Infineon library/source code example available for KIT_A2G_TC387_MOTORCTR.

Tips:

  • In the original SDK, there are placeholders for sensorless. In functions PmsmFoc_PositionAcquisition_init, PmsmFoc_PositionAcquisition_updatePosition and PmsmFoc_PositionAcquisition_updateSpeed one can find case PositionAcquisition_SensorType_Sensorless, where an sensorless algorithm can be implemented.
  • One should scale the estimated position to fit to the input of lookup tables used in Park and Inverse Park Transform (10-bit resolution).
  • The speed recalculated based on signals from incremental encoder is in rad/s and in function  PmsmFoc_doSpeedControl is transformed in to RPM. If sensorless algorithm output is in rad/s, then you one don't need to modify function PmsmFoc_doSpeedControl .

Best regards

Gecmar

0 Likes