2021-07-06 06:39 AM
I have created a position control project using the followings.
After creating a basic project I have set up a timer generating an interrupt every 1ms. In the interrupt handler I have placed the code to increment the target position by 0.0001. This seems to work fine until reaching a position of about 1.37. When It gets to this value the hardware starts drawing 1A increasing towards 2A while the rotor is locked. Does anyone know what is going on? I have tried using different position increments and it seems to stop rotating around the same value.
Thanks in advance
2021-07-06 08:15 PM
Dear @msingh
I am not sure that STM32 MC-SDK is well suited for position control usage.
Could you indicate what motor reference you use?
Thanks by advance,
Best regards
2021-07-07 01:24 AM
Dear Laurent,
I am using the following BLDC motor combination from Maxon.
In the final project I'd like to drive the motor using an external voltage (ADC) to drive the motor from 0.5 RPM to a maximum of 3000RPM depending on the amplitude of the signal. I have already created an ADC interface code however I am struggling to get the basics working, having the motor rotating without issues. I have confirmed the motor can achieve them speeds by using the ESCON 50/5 BLDC controller from Maxon. Ideally we would like to design our own controller. Is there anything you can suggest?
Kind Regards
Manpreet Singh