Other Parts Discussed in Thread: DRV8329,
Tool/software:
Hello everyone,
I'm working with the LP-MSPM0G3507 and the DRV8329 EVM, utilizing the example Field-Oriented Control (FOC) code from the SDK (mspm0_sdk_2_02_00_05). In the GUI, which I use to control the motor in continuous read mode, the motor state (such as align, idle, or closed/open loop) is displayed. However, I've noticed that when the motor stalls during the alignment phase, it sometimes incorrectly shows as being in closed/open loop.
- To ensure reliable operation in our application, we need a more accurate method for determining the actual state of the motor, as the current GUI representation is unreliable. Would using Back Electromotive Force (BEMF) zero crossings be a viable solution, or is there a more effective approach?
- Additionally, could you clarify how the example FOC code detects the motor state?
Thanks in advance.
Best regards,
Om Dave