2018-09-24 07:50 AM
I am using a 57BL90 motor with Halls, 90 watts, testing at 24vdc. I am using the ST workbench to specify all of the parameters then generate the *.h files which are downloaded using Keil. I am able to achieve good high speed motor control but very low speeds are very choppy and out of control. Even using torque mode only, the motor jumps and has a very uneven torque output. I will eventually be running the motor in position control mode commanding torque or speed from the position control loop. How can I get smooth torque and/or speed control of the motor at very low speeds??
2018-09-24 03:44 PM
are you using timers to develop interrupts ?
the timers have a limited range, 16bit or 32bit. you may need to extend this range in software.
in the real world, timers like this are overflowing continually.
You may have to add another 16/32 bits to your timers and calculations
or else up the timer prescaler to 256 or 1024 or higher if you can.
If you need both Low speed and High speed then the timer extension may be required.
2018-10-03 09:47 AM
Thanks very much for your response. I will check the timers, it makes sense this may be the issue but ultimately I will need the generate torque at zero speed when resisting an external force. Is anyone out there using torque mode at low/zero speed?
2021-06-22 02:14 AM
The question has been moved from the section "Motor Control Hardware" to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards