No, I just want it to respond to a torque if its loaded counter clockwise (positive) and return to zero once the load is released. I understand I wouldn't be able to use PWM to respond to both positive (ccw) and negative (cw) torques.
Thanks for the input, its greatly appreciated! So to be a bit more clear, I want the motor to respond with a torque as soon as torque is applied (as a spring would) and also spring back to some initial state. I could use a pot to measure the error and write the PWM signal proportional to this...
I see, so if I used PWM is a means of controlling average voltage to the motor, could I use the width of a PWM pulse as my gain? In effect, wouldn't this control how quickly the motor "springs" back into place? Again, I might be a bit off track. Thank you for your respose!
I'm a relatively new entry into the world of electronics so my understanding of what is possible may not be an accurate one. In a nutshell, I would like to have a DC motor act as a torsional spring with some variable virtual spring constant (k). The motor, or "spring", would act against an...