Page 1 of 4 1234 LastLast
Results 1 to 12 of 38

Thread: How do Servo Motors Work?

  1. #1
    Registered
    Join Date
    Mar 2004
    Location
    Canada
    Posts
    500
    Downloads
    0
    Uploads
    0

    How do Servo Motors Work?

    Hi all,
    I have been researching on servo motors and am a bit confused. The motor is actually just a normal DC Motor, but it has all of the circuitry and the encoder on the back to control it. How does the motor stop? Is there power supplied to all of the coils? Why do servos need step and direction signals aswell, or don't they? Also, can you program servo's by moving the motors, in turn moving the encoders in the direction or path that you want with your hand. The computer picks up all of the DRO's and can repeat that? Is that possible?
    I'm a bit confused.
    Thanks for the help everyone.
    I really appreciate it.


  2. #2
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,943
    Downloads
    0
    Uploads
    0
    If you are just talking DC servo's, start with a motor and an amplifier, without the motion control element,
    A DC servo does not in and of itself need an encoder to operate, typically in the past DC servo's had a dc tachometer back to the amplifier for velocity control feedback. The amplifier in most cases requires a +- 10vdc analogue signal to control the velocity, If you search the web on basic DC motor operation, you will find the explanation of the relationship between the armature windings and magnetic field and how the armature windings are fed or commutated.
    The encoder is only required when you start using a motion controller and it requires to know exactly what the motor is doing and control it via the +- 10v signal. There are various types of amplifier ranging from the older SCR drives to the later drives which used Pulse Width Modulation, but the motor itself did not change that much.
    Modern drives, operating under CNC control, no longer use the velocity loop and tachometer, but operate in the torque or current mode, so the encoder itself is all that is needed for feedback.
    Like I said there should be a whole raft of web based information on DC servo's that will give you an in depth information.
    Al
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  3. #3
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    edit: oops, I see Al beat me.

    Oh well, I'll just leave what I wrote as kind of a layman's interpretation.

    Well, actually the motor is completely dumb: it will run whenever a current is flowing. The "smarts" are in the controller which compares the current encoder position to the commanded position. When there is a difference, the controller outputs an error signal, which is interpreted by the servo amplifier as a command to supply the current in a particular direction. The motor moves, dragging the encoder disk along for the ride, and as the controller monitors the position according to the encoder it detects "ahhah, we are getting closer to position so let's decrease the error signal in proportion". So it does, and then the amplifier reduces it current and voltage output and the motor slows down. When the encoder position coincides with the commanded position, the controller says "we're there" and reduces the error signal to zero. The amplifier then stops outputting a current and the motor has to stop.

    That's just a simplified description, but there are not really "steps" to a servo the way there are steps to a stepper. The "steps" to command a servo motor are not related to its construction but rather to the number of lines on the encoder.
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  4. #4
    Registered
    Join Date
    Mar 2004
    Location
    Canada
    Posts
    500
    Downloads
    0
    Uploads
    0
    So there is no actuall brake in the servo system? How does the holding torque work then?
    Thank you very much for the help.
    I really appreciate it.


  • #5
    Registered
    Join Date
    Mar 2004
    Location
    Canada
    Posts
    500
    Downloads
    0
    Uploads
    0
    Do servo controllers include the amplifier, like the G320 Gecko Drive? Or does this drive work with the other torque and current mode?
    Thank you ver much for the help.
    I really appreciate it.


  • #6
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    No, there is no mechanical brake in the servo system.

    This is part of the reason that tuning the servos is very important. Tuning is actually just a way of calibrating the controller so that it knows how to accel/decel the motor, by supplying a current that is exactly right for all facets of movement, including coming to a perfect stop without any overshoot of position. If any kind of force attempts to turn the motor when it is stopped, this immediately "awakens" a response in the controller which immediately begins to supply a current that will restore the motor to the stopped position, until such time as a command is received for the motor to change position.

    No, the servo controller is generally not in the amplifier (for cnc purposes), in case it needs to coordinate motion in more than one axis at a time.
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #7
    Registered
    Join Date
    Mar 2004
    Location
    Canada
    Posts
    500
    Downloads
    0
    Uploads
    0
    So, servos do not just brake and stop, they are in a stop position with no current = no turning, when turned, the encoder signals to the amplifier that the shaft turned and the amplifier send a signal that says go back to the original position? So doesn't this mean less +- accuracy? Also, so you have to get a G320 Driver, and then get an amplifier as well for servo use?
    Thank you very much for the help.
    I really appreciate it.
    Also, would supplying current to all of the coils in the motor also act as a brake in a servo? I know now that this is not how it is done, but is this possible?


  • #8
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,943
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Sanghera
    Also, would supplying current to all of the coils in the motor also act as a brake in a servo? I know now that this is not how it is done, but is this possible?
    With a DC servo you can only supply power to one set of windings (the commutated pair).
    With any servo that uses permanent magnets it would be possible to brake if you remove the power to the motor and short out the windings, this used to be a practice years ago for DC motor braking. It is not practical for modern servo systems. Although there are various ways of dynamic braking used in VFD etc.
    Al
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


  • #9
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Sanghera
    So, servos do not just brake and stop, they are in a stop position with no current = no turning, when turned, the encoder signals to the amplifier that the shaft turned and the amplifier send a signal that says go back to the original position? So doesn't this mean less +- accuracy? Also, so you have to get a G320 Driver, and then get an amplifier as well for servo use?
    Thank you very much for the help.
    I really appreciate it.
    Also, would supplying current to all of the coils in the motor also act as a brake in a servo? I know now that this is not how it is done, but is this possible?
    I think the G320 is the amplifier. Driver and amplifier are the same thing. Your PC is the controller.

    Does accuracy suffer? No, not if the motor is tuned correctly. Some of the tuning parameters have to do with the speed of response of the controller to error conditions. Although the holding current might be close to zero, you'd never know the motor was at rest, because if you torque on a handwheel or something, with the servo on, it feels just like the "brakes are on". Its quite amazing how fast the feedback system works, really.
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #10
    Registered Swede's Avatar
    Join Date
    Dec 2003
    Location
    United States
    Posts
    383
    Downloads
    0
    Uploads
    0
    How do servos work?...


    They work very nicely! (Sorry, couldn't resist!)

    "braking"... when commanded to a static position, any deviation from that position will trigger the amplifier to provide corrective current. The feedback is such that if you power up a system, and gently attempt to turn the coupling, the servo will aggressively fight you. Even small motors have terrific holding power in this manner. The servo's tuning has a powerful influence here. If the parameters are off a bit, the servo may hum when static. The humming may throw the shaft off a few encoder ticks; the amplifier says "whoa go back" and applies current. The motor shaft overshoots, the current then reverses in an attempt to correct, and then the servo goes beserk as the hum becomes a pounding vibration, moving heavy tools off the bench and scaring the operator.

    This didn't really happen to me several times; I've just heard about it!

    These guys are really smart on servos, they'll help you!


  • #11
    Registered
    Join Date
    Mar 2004
    Location
    Canada
    Posts
    500
    Downloads
    0
    Uploads
    0
    That's amazing how fast it works. Does the shaft feel like it has some extremely minute play in it when you try to turn it? How does the motor have such high oz-in values in holding torque? I would think that the amplifier doesn't want to send too much current to the motor when it is been "tugged" on because it may overshoot, causing inacuracies. But if it doesn't send enough, then the motor may just lose it's position too easily. This must be extremely advanced physics to calculate the exact amound of current needed to slowly stop the motor taking into consideration the velocity the speed. I don't know if I'm understaning this right. Does the driver acually slowly turn off the current to the motor at just the right amount as to stop it in a specific spot? What about rack and pinion, if something is constantly torqing the motor as it is trying to position, what make the motor keep it's constant speed even if it may be turned and pushed? Woah that's a lot of question.
    Thank you all very much for the help.
    I really appreciate it.


  • #12
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    You're getting in deeper all the time

    There are three different factors to set when tuning the servo motor: its called a PID algorithm, or something like that. This is an acronym for Proportional, Integral, and Derivative gain. You might try googling PID loop and check out some of the articles that come up.

    By carefully adjusting each of these three parameters, you can observe the effect that this has on the controller's control of the servo motor.

    The "I" and "D" factors control the resetting and damping of the controller servo loop. It helps to "calm down" the harshest responses that are technically possible, as the controller monitors the encoder position and tries to make it obey the "prime directive", which is always to have a difference of zero between the commanded and actual encoder position.

    Imagine an example: the encoder is only one count off of commanded position: should the controller command a huge current to move the motor that last count, or should it be a small current? It depends on the load. That's why the tuning has to be done in real life, on the real load, so that it can be judged when the controller response is adequately proportioned. This keeps the motor from getting into a "buzzy state" where it continuously overshoots both directions from zero, because the applied minimum correction is too large.

    Its hard to explain, until you see what happens as you play with the values on a real circuit. Its quite easy to judge when its right, just by looking at it....it takes a bit more work and measurements while the machine move, to prove that it is correctly tuned.
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • Page 1 of 4 1234 LastLast

    Similar Threads

    1. Using surplus servo motors as spindle drive
      By Swede in forum Servo Motors and Drives
      Replies: 11
      Last Post: 03-16-2008, 09:05 AM
    2. DC motors worthy of being a servo?
      By WoodSnarfer in forum Servo Motors and Drives
      Replies: 12
      Last Post: 07-22-2006, 02:25 AM
    3. German DC servo motor, will these work
      By Bryscnc in forum Servo Motors and Drives
      Replies: 7
      Last Post: 01-29-2005, 03:18 PM
    4. 3 servo motors - What are the actual specs?
      By Bloy2004 in forum Servo Motors and Drives
      Replies: 10
      Last Post: 06-10-2004, 02:36 PM
    5. New Contest WIN SERVO MOTORS!!!
      By CNCadmin in forum CNCzone Club House
      Replies: 83
      Last Post: 07-18-2003, 03:16 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.