Hello!
I have a very unusual question surrounding stepper motors, and I have no idea where on the forum this would go apart from here.
To make a long story short, I've got a project where I'll be using 6 pin stepper motors and potentiometers to give haptic feedback in a suit for a VR tech demo I'm making. It'll be like those haptic feedback gloves you see around, except for the entire body.
However, I'm stuck at a simple problem I did not expect. Stepper motors are excellent at being precise and powerful while holding position, and that's the issue. I need to know (Whether through a hardware interface, or even a smart coding trick with a dual H-bridge driver), if there is a way to affect the torque of the stepper motor dynamically. So that I can feed "10 newtons of force on joint 27" into some magic equation, and have it produce roughly 10 newtons of torque to that body joint.
I have worked with stepper motors before for normal robotics projects, but I've never had to deal with DECREASING the torque of a stepper motor on the fly like that. I've heard that steppers are controlled through current, not voltage, so if I use a current regulator like the LM317 hooked up to my arduino mega, would that work? Or is there something fundamental about stepper motors that makes dynamic torque limiting like this not possible?
Alternatively, is there a type of motor that is designed in such a way to give you this precise torque adjustment that does not hinder movement unless powered? Servo's don't allow for this, stepper motors might be able to, DC motors can but using a standard "Off-the-shelf" DC motor for producing torque seems like a bad idea (They overheat easy if not allowed to rotate).
Effectively, my end goal for this part of the project is to be able to push a packet of data from Unity3D to the arduino (Super simple, built my own library for it) that tells it what forces are on the body at any given time (Minus of course force of gravity), then have an arduino mega apply those forces somehow to the motor (The bit I need assistance with)
I would love any help, be it information on a coding trick to decrease torque of a stepper motor (Maybe some sort of PWM trickery with a dual H-bridge driver), or be it a hardware solution (Some specific motor type, or ideas on current/voltage regulators, or whatever else you can think of)
Any assistance or guidance on the matter would be very helpful!