cancel
Showing results for 
Search instead for 
Did you mean: 

Electrical Angle Synchronization in MCSDK v6.4.0 to avoid long-term drift.

Baumi
Visitor

Question about Electrical Angle Synchronization in MCSDK v6.4.0

Hi everyone,

I'm using MCSDK v6.4.0 with an STM32G4, a 42BLF01 motor, and a high-quality incremental encoder with Z-index.

My goal is to accurately correct the electrical angle on each Z-pulse to avoid long-term drift after 100 rounds.

In previous SDK versions, there was a function called ENC_SetElAngle() which allowed setting the electrical angle directly.
In MCSDK v6.4.0, however, this function no longer exists – and the corresponding enc_driver.h file is also missing.

Main Question:

Is there any official or recommended way in MCSDK v6.4.0 to directly set or correct the electrical angle at the Z-pulse – without using ENC_SetElAngle()?

If not:

  • What’s the recommended strategy for drift-free synchronization while the motor is running?

  • Is MC_SetCtrlPositionAngle1() the intended method – even though it may cause stepping or jitter?

Thanks for any insights

0 REPLIES 0