Electronic – emulate BLDC motor torque control with a speed controller

brushless-dc-motormotor controller

I am looking to use a BLDC motor to control a reaction wheel. Since this will be used to provide balancing torques for my system, I really only care about the motor torque, not speed (assuming I stay within the max motor speed). Unfortunately, all of the controllers I can find online are speed-based. Since I do not want to make my own controller from scratch, I am wondering if I can simply integrate the desired torque profile to get a velocity profile, and command that velocity profile to the controller. The quality of this controller will depend on how smoothly I can change the velocity profile, the settling time of the speed controller, overshoot, etc.

Will these factors, among others I have not considered, significantly degrade the quality of the torque controller? The (much simpler) alternative I am considering is just using PID control on the PWM of a standard ESC.

For reference, I am looking at using something like TI's DRV10975 controller. I am avoiding general hobby ESCs because I cannot find specifications for converting signal-in to torque or speed output. Though I might be able to tune a controller that is stable, I would prefer to have a sound mathematical model to tune/debug.

Best Answer

Benjamin Vedder's "VESC" project which is open source will allow you to do anything you want. You can find older versions and the latest version online. VESC allows sensorless or sensor based operation, dynamic braking, FOC control, and much much more.

Current VESC 6 project page

Older 2016 VESC V4 site which may be enough.

You can buy commercial ESC's which use the VESC software - so you have full control of what you can do with them. Here in the ads, plus many VESC refs.

VESC V4 uses current sensors in 2 motor phases - which notionally is enough.
VESC V6 has current sensors in all 3 motor phases - which were found to be 'useful' in practice.

These are NOT recommendations - just examples.

Flipsky Mini FSESC4.20 50A ESC Based Upon VESC With Aluminum Anodized Heat Sink for Rc Car

Flipsky High Current FSESC 200A 60V ESC base on VESC6 for Electric Skateboard Rc Model

_________________________________

Disclaimer: I have no involvement with VESC. I am not (yet) even a user of VESC - but almost all paths tend to lead to it at present.