| VeeTailHome |
|
![]() How R/C Works - Thinking Inside the R/C Box |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
5 The Servo:
5.1 Position Feedback and Servo Error: The difference between the measured position and the commanded position of the arm is called "servo error", and it is the servo's job to drive the servo error to a value of zero at all times. When the servo error is zero, then the arm is exactly where it is supposed to be according to the control signal. Position measurement is obtained by mechanically connecting a "potentiometer" or variable resistor to the shaft that the arm rotates about. The potentiometer will change in electrical resistance as a function of the servo arm position. What the servo does with this dynamic resistance varies from manufacturer to manufacturer. I will explain only one of several means of using this feedback resistance to precisely position the servo arm as a function of the input command signal. It is not necessary to understand what electrical resistance is, just realize that it changes with the servo arm position. I will explain how it is used to change the operation of the one-shot circuit that has already been described - so let's move on.
5.2 Comparing the Command Signal to Position Feedback:
5.3 Creating a Comparable Command Pulse: If the servo arm were allowed to freely rotate, the feedback pulse would vary from 1 to 2 milliseconds as the arm is moved from one rotational extreme to another. Like the command pulse, the feedback pulse will be high for 1.500 milliseconds when the arm in its center, or neutral position.
5.4 Comparing the Feedback Pulse to the Command Pulse: At this point, we need to go outside the digital domain a little bit and start thinking about an analog signal that is the average voltage value of the command pulse and the Q! feedback pulse. What would we get if we mathematically averaged their voltage values as if they were numbers on a chart? When both pulses are equal and opposite, as they are in this case, their average will always be a straight voltage level exactly half way between the two high and low logic levels, or 2.5 volts in this example. No matter where you compare the two signals, when one is at a 5-volt level, the other is at 0 volts - their average is always 2.5 volts.
5.5 Servo Error: Let's say that the command pulse changed from 1.5 to 1.7-milliseconds, and the servo arm has not moved. Now there is a 0.2-millisecond discrepancy where the command signal extends beyond the feedback pulse. Remember that the command pulse triggers the feedback pulse so they always start together. Now when the two signals are averaged, the average will be 2.5 volts up to the end of the Q! feedback pulse. During the time that the command pulse is high and the Q! feedback pulse is also high, the average of the two signals will be 5 volts. In this state we have a signal that is 2.5 volts for 19.8 milliseconds and 5 volts for 0.2 milliseconds. Now let's go the other way where we leave the servo arm in place and change the command signal to 1.3 milliseconds. When the two signals are averaged in this state, we end up with a signal that is 2.5 volts for 19.8 milliseconds and 0 volts for 0.2 milliseconds. In each example above, there is a 0.2-millisecond point where the average signal is above or below 2.5 volts. Each of these conditions illustrate a servo error where the servo arm position and the resulting feedback pulse does not match the command pulse.
5.6 Servo Mechanics: The final stage of the gear reducer drives a shaft that connects to the servo arm outside the enclosure of the servo body, and also moves the feedback potentiometer inside the servo. This driving shaft is sometimes outfitted with ball bearings to handle a high physical load. All of the servo mechanics as well as all of the electronics required to drive the servo motor and generate the feedback pulse are housed inside a common enclosure.
5.7 Compensating for Servo Error:
5.8 Summary: Now that you know how these systems work, you may be able to create your own circuits that create or modify the existing command signals to do other things. Many of the products that VeeTail offers utilize microcomputers to measure the command signals and modify them in a manner consistent with a defined function (such as cross-channel mixing) to create new command signals that make servos do other things. Let your imagination go, be creative, and make your servos work for you in custom ways that are otherwise not possible. |
| ||||||