Difference between servo and dc
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Difference between servo and dc

on

  • 191 views

 

Statistics

Views

Total Views
191
Views on SlideShare
191
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Difference between servo and dc Document Transcript

  • 1. What is the difference between a DC motor and servo motor?A DC motor has a two wire connection. All drive power is supplied over these two wires—think of alight bulb. When you turn on a DC motor, it just starts spinning round and round. Most DC motors arepretty fast, about 5000 RPM (revolutions per minute).With the DC motor, its speed (or more accurately, its power level) is controlled using a techniquenamed pulse width modulation, or simply PWM. This is idea of controlling the motor’s power level bystrobing the power on and off. The key concept here is duty cycle—the percentage of “on time”versus“off time.” If the power is on only 1/2 of the time, the motor runs with 1/2 the power of its full-on operation.If you switch the power on and off fast enough, then it just seems like the motor is running weaker—there’s no stuttering. This is what PWM means when referring to DC motors. The Handy Board’s DCmotor power drive circuits simply switch on and off, and the motor runs more slowly because it’s onlyreceiving power for 25%, 50%, or some other fractional percentage of the time.A servo motor is an entirely different story. The servo motor is actually an assembly of four things: anormal DC motor, a gear reduction unit, a position-sensing device (usually a potentiometer—a volumecontrol knob), and a control circuit.The function of the servo is to receive a control signal that represents a desired output position of theservo shaft, and apply power to its DC motor until its shaft turns to that position. It uses the position-sensing device to determine the rotational position of the shaft, so it knows which way the motor mustturn to move the shaft to the commanded position. The shaft typically does not rotate freely round andround like a DC motor, but rather can only turn 200 degrees or so back and forth.The servo has a 3 wire connection: power, ground, and control. The power source must be constantlyapplied; the servo has its own drive electronics that draw current from the power lead to drive themotor.The control signal is pulse width modulated (PWM), but here the duration of the positive-going pulsedetermines the position of the servo shaft. For instance, a 1.520 millisecond pulse is the center positionfor a Futaba S148 servo. A longer pulse makes the servo turn to a clockwise-from-center position, and ashorter pulse makes the servo turn to a counter-clockwise-from-center position.The servo control pulse is repeated every 20 milliseconds. In essence, every 20 milliseconds you aretelling the servo, “go here.”To recap, there are two important differences between the control pulse of the servo motor versus theDC motor. First, on the servo motor, duty cycle (on-time vs. off-time) has no meaning whatsoever—allthat matters is the absolute duration of the positive-going pulse, which corresponds to a commanded
  • 2. output position of the servo shaft. Second, the servo has its own power electronics, so very little powerflows over the control signal. All power is draw from its power lead, which must be simply hooked upto a high-current source of 5 volts.Contrast this to the DC motor. On the Handy Board, there are specific motor driver circuits for four DCmotors. Remember, a DC motor is like a light bulb; it has no electronics of its own and it requires alarge amount of drive current to be supplied to it. This is the function of the L293D chips on the HandyBoard, to act as large current switches for operating DC motors.Plans and software drivers are given to operate two servo motors from the HB. This is done simply bytaking spare digital outputs, which are used to generate the precise timing waveform that the servo usesas a control input. Very little current flows over these servo control signals, because the servo has itsown internal drive electronics for running its built-in motors.