If I can control a small hobby servo motor then can I control high torque servo motor in same way? I want to make a robot which needs a high torque and speed motors. But first before buying some industrial servo motors I want to first test the kinematics of my robot with small cheap servo motors. I will be using ros-orocos toolchain to control the robot and to make an efficient motion planning algorithm. Why I can't go for expensive servo motors right now is that first I want to test the working of the robot arm, whether it moves as expected or not. Although I think it is possible, I want to be sure.
2 Answers
For the most part, yes, the working principle is the same.
All servo motors I've ever encountered use PWM to control them (sometimes called PPM). So the code you use to turn your test motor ought to be reusable with the high torque motor, or in fact any other servo. But be aware of the following possible issues that you may or may not need to account for:
- the neutral point might not be in the middle of the PWM range
- the direction of motion of servos is not standardized, so while one might turn clockwise from low PWM to high, another might turn counterclockwise
- most servos work in the range of a 1000μs pulse to a 2000μs pulse for a total rotation of 180° but this is not necessarily true for all, some may work from 800-2200μs or from 1200-1800μs, for example
- the time to turn from one extreme to another might vary greatly between two servos
- 50Hz (or 20ms updates) is pretty standard but some servos (esp. digital servos) may be capable of much quicker updates
This article on the pololu site is very good at describing the reactions to expect from the various signals and how they might vary between servos.
Good servo code will allow you to tweak the performance by adjusting parameters in the code rather than rewriting the code.
No, industrial servo motors are not generally controlled in the same way as hobby servos.
The servo motor, motor drive and position sensors which are combined in a hobby servo are separate items in industrial systems, and the control system is responsible for position feedback. Similar to hobby servos, the motor drive may take a PWM signal or a digital signal, but that signal will usually be the desired drive speed. The motor drive will then attempt to drive the motor at that speed. Look around a supplier's site such as Emerson or Schneider for examples of servo motors and drives.
If you want position control, or force control, then you need to put your own sensor in a feedback loop and request the desired motor speed, rather than requesting a position as you do in most hobby servos - somewhat similar to continuous rotation hobby servos.