I am trying to control the servo motor operation by torque control by interfacing the sensor to an avr , which will continuously monitor the torque value from the sensor and control the torque according to the given set point .Is it possible to make such a setup? If yes how?


  • 2
    $\begingroup$ If you already have a specific sensor in mind, you should link the data sheet or the type name. $\endgroup$
    – Rev
    Aug 8, 2014 at 6:54
  • $\begingroup$ Please give details of the sensor... at the moment this is very difficult to answer $\endgroup$
    – Andrew
    Aug 26, 2014 at 16:09

1 Answer 1


Yes, torque control of a motor with an AVR microcontroller is possible. In fact, torque control of a joint is common practice in robotics. This is a good example of a feedback loop.

There are many ways to measure the torque of a motor. An expensive way is to use an off-the-shelf strain gauge based force/torque sensor on the output. A cheaper way is to just us a rotary spring and measure the angle before and after the spring. If you have a brushed or brushless motor that you are controlling yourself, the motor's torque is proportional to the current draw. there are ways to measure this electronically as well.

As for control, you will probably use some variant of PID control.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.