CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-23-2005, 07:39 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 500
Sanghera is on a distinguished road
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.
Reply With Quote

  #2  
Old 01-23-2005, 08:05 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

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 Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3  
Old 01-23-2005, 08:10 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

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)
Reply With Quote

  #4   Ban this user!
Old 01-24-2005, 05:45 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 500
Sanghera is on a distinguished road

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.
Reply With Quote

  #5   Ban this user!
Old 01-24-2005, 06:00 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 500
Sanghera is on a distinguished road

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.
Reply With Quote

Sponsored Links
  #6  
Old 01-24-2005, 06:26 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

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)
Reply With Quote

  #7   Ban this user!
Old 01-24-2005, 11:39 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 500
Sanghera is on a distinguished road

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?
Reply With Quote

  #8  
Old 01-25-2005, 08:53 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

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 Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #9  
Old 01-25-2005, 09:32 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

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)
Reply With Quote

  #10   Ban this user!
Old 01-25-2005, 01:21 PM
Swede's Avatar  
Join Date: Dec 2003
Location: United States
Posts: 383
Swede is on a distinguished road

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!
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-25-2005, 08:39 PM
 
Join Date: Mar 2004
Location: Canada
Posts: 500
Sanghera is on a distinguished road

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.
Reply With Quote

  #12  
Old 01-25-2005, 11:06 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

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)
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 11:19 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361