There are two classes of "Servo": "Hobby" or "RC" servos and industrial servos. Both are actually systems, including a motor of some type, with a built in position sensor and control system to move the shaft to the position request from some sort of data input.
RC Servos change position based on the duration of the positive part of the pulse received. The pulse can generally range from 1 to 2 milli-seconds with center at 1.5ms. If the pulse is 1.5ms, the servo will be centered. At 2.0ms, the servo will rotate 90' clockwise. At 1.0ms, it will be at -90' or 90' CCW. The frequency of the pulses is less critical, and most servos will function from 40 to 200Hz. The position feedback is generally (rare exceptions) a potentiometer attached to the shaft. Accuracy is typically no better than a degree or two. The control system is generally an analog electronic circuit which compares the input pulse duty cycle with the duty cycle of another pulse developed from the internal pot and then moves the motor based on the difference. E.g. it is Proportional only.
Industrial servos can be commanded to move with a wide range of input data including step/direction, PWM, serial ASCII data, and so on. They typically use optical or magnetic Quadrature Encoders to measure position, a control system which includes PI or PID control and a driver to move the motor.
(click on the words in the picture below for more information)
Driver: The motor driver needs to match the motor: e.g.
Servo Controller: The "brains" of the operation. It figures out what motion to command based on the current desired position, actual position, and what it knows about the mechanics of the motor and mechanical setup. It needs to speak the language used by each of the parts it talks to... If the motor driver expects step and direction signals, and the control tries to feed it a PWM signal with center at 50% duty cycle, it's just not going to work. In the same way, it needs to understand the format of data the position encoder is putting out and the format of the commands from the motion controller. Quadrature encoders are the most common, but a voltage from a potentiometer is often used with smaller RC servo systems. The motion controller will generally put out step and direction signals. Our offering is the BOB PID Servo Controller
Position Feedback Encoder: Best connected to the actual output shaft, instead of the motor shaft, because then the system can compensate for slop in the gearing.
Gearing is most useful when used with a high speed DC or AC motor, because
they typically don't have good low speed torque. A gear train allows us to
trade their higher speed for strength at low speeds. Stepper motors often
don't need gearing... or servo drive, for that matter...
Turn any motor into a servo with our Controller and Encoder:
NEW: MassMind.org BOB PID Servo Controller
HOT: MassMind Magnetic High Speed Non-Contact Encoder
NEW: MassMind.org H-Bridge DC Motor Driver
Servo control with a sound waveforms or from a web Browser
Servo control with the PIC Embedded controller
There are several non TMR2 PWM versions to be found in the PWM link above +
Can anyone point me to information on how to take servo pulses from an R/C receiver (RX Unit) and convert those pulses to an integer form? I would like to make sort of a two channel mixing unit for my airplane. I'd take two servo pulses, convert them into integers, do some calculations on them, then convert them back into PWM for the servos. Thanks in advance!+
|file: /Techref/io/servo/index.htm, 10KB, , updated: 2017/11/13 11:49, local time: 2017/12/11 11:09,
|©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/io/servo/index.htm"> Servo Motors</A>
|Did you find what you needed?|
PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171211 RussellMc, Van Horn, David, Sean Breheny, James Cameron, alan.b.pearce, IVP, Neil, Bob Blick, David C Brown, John Gardner,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!