Hi TI team,
I would modify my original software (based on TI labs) which is using the sensorless FOC to use a QEP sensor (1023 PPT).If I only monitor speed value from QEP (using sensorless FOC to control), output is very good. I modified my software as follows :
- In STVELCTL_setVelocityFeedback I modified the speedFeedback to use the one from STPOSCONV_getVelocityFiltered(stObj->posConvHandle);
- I changed the ctrl.h/c files (to keep a compatible firmware and avoid 2 ctrl files) to mach the ctrlQEP.h/c for the CTRL_runOnline_User
- I added the necessary stuff (encoder handles, position converter...)
But I am facing the 2 following issues :
- Iq reference is stucked or almost stucked at maximum value, even if the spin has begun
- The rotor spins alternatively forward and backward with a fixed period
Do you have an idea where it comes from ?
Why there isn't a notion of current control in ctrlQEP files ?
Thanks in advance,