QUESTION: FOC motor library. X-CUBE-MCSDK. Use hall sen for encoder align
Hello I have a question directed for the developers of the "X-CUBE-MCSDK: FOC motor control library" or anyone who has knowlege on the subject.
Question: My understanding of the FOC (field oriented control) tech is that encoders are not needed due to the fact that that voltage sensors are used on the phase contacts to measure "back EMF" in order to know location and implement control of the motors rotor using algorithms like Cordic,PLL. My question is about the inner workings of the motor control library. I have chosen to use an encoder as the main commutation device and the motors hall sensor as the second auxilary sensor. Now my understanding is if an encoder is going to be used as the main commutation device it must first be aligned.
And as stated in the FOC library documention if an encoder is chosen as the main device in addition to a secondary sensorless "virtual sensor device(cordic,etc.)" that uppon the first start of the motor the encoder will be aligned using the "virtual sensor device(FOC, Cordic, etc.)".
But the docs doesnt state anything about the hall sensor use for encoder alignment uppon first start.
So if my setup has an encoder as main sensor and a hall sensor as auxilary sensor will the encoder be aligned at first start using the hall sensor?
My PMSM Moror has a quadrature encoder and also a hall sensor.
Motor control board STM32H7
Motor Amp Device: x-nucleo-ihm08m1