Other Parts Discussed in Thread: CONTROLSUITE
Hi all
recently I have been assigned to develop sensored FOC driver using am437x . since I m very new to FOC ,I would like to verify some of my understandings.I know my question is very basic however ,unfortunately non of our local FAEs are able to answer me on this question.
Anyway I am using eQEP module on AM437x SOC device.
based on my underestimating I have to be able calculate rotor angle by performing following operations.
1.configure the eQEP to absolute mode
2.set QPOSMAX to encoder count per Revelation .
3. read QPOSCNT.
4.divide position by 360 degree.
The division output suppose to be the rotor angle.
another question:
can I assume the startup position is the angle zero?or I need to extra step to find zero angle.like finding QEPI signal and then reset the encoder to zero position.
if you have any sample source code for sensored FOC on other devices (like am335x , C2000 and etc) please share with me too .
thanks in advance