is it possible to use hall sensors to start the motor and incremental encoders for position control?
Hi,
I am using the NUCLEO-F302R8 and X-NUCLEO-IHM08M1 to drive a BLDC motor with hall sensors (placed 120 degrees apart) and incremental encoders (1024 per revolution). I have noticed that MCWB allows the option to use both the sensors, but when I go to generate the project it complains about he pin being the same which I have solved simply by using different pins for the encoders. Now the issue is that they both use the same timer (TIM2) and there is no option that allows to use different timer for either of the sensors.
I am aiming to control the motor at very low speeds, this is not possible by using hall sensors only as the motor stops with a feedback error at speeds lower than 1000 RPM. If I try using only the incremental encoders the motor doesn't spin at all, the motor draws a significant amount of current but the rotor is just locked.
Is there anyone who had the same or similar problem and possible had found a solution to it?I'd appreciate any help.
Kind Regards
Manpreet
