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 08-17-2007, 04:40 AM
 
Join Date: Nov 2003
Location: manitoba, canada
Posts: 350
justCNCit is on a distinguished road
a noobie question

Hi, I was wondering how servo drives work. I am familiar with the principles of stepper motor drives, where an IC is used to provide phase signals to a transistor of some sort(usually a mosfet). Of course this is done with the required regulations in place, such as voltage & current regulating components on the board.

However with servos I understand the voltage may change from like 900v to nothing in a millisecond. I see a german guy has commercialized a board kit to drive a servo, but I am curious as to what it is that controls the current.

There must be some device in there that is able to control current and volts to a point where it can bring the voltage up to 900 v in a matter of milliseconds & current to full and then back to zero in the same matter. How is this done? I understand Mosfets are meant to switch current on and off in stepper setups, however with servos I am at a loss.

I realize I have not done much research into this subject and appreciate very much any replies that are made in advance.
Reply With Quote

  #2   Ban this user!
Old 08-17-2007, 05:21 AM
pointcloud's Avatar
Prototyper
 
Join Date: Sep 2006
Location: USA
Posts: 349
pointcloud is on a distinguished road
Thumbs up

Look at this... It will give a little insight to your question.

http://www.geckodrive.com/photos/G340_REV-4_MANUAL.pdf

There are many other dirves and they work a little diferently... But for the most part that are the same...
__________________
Hey check out my website...www.cravenoriginal.com
Thanks Marc
Reply With Quote

  #3   Ban this user!
Old 08-17-2007, 06:09 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

I am not too sure where you got the 900V from, but here is my version of what you are after

A servo uses an encoder to provide feedback to the controller to allow precise monitoring of the servo's position. The controller reads the encoder position and "holds" the servo position to the setpoint value. So lets say the machine is sitting still, you don't want the servo to move but you still want it to hold its position until told otherwise. What the drive will do is to use what is called "locked anti phase" PWM to do this. Stick with me, it isnt as scary as it sounds. Imagine a square wave signal, or Pulse Width Modulation wave signal, you will have full DC positive applied for half the wave then full DC negative for the other half, now picture this happening 20 000 times a second, which is pretty usual to have a 20 KHz frequency.

So the servo (basically a good quality DC motor) is effectively "rocking" back and forth but the end result is that it "holds" its position. Now the encoder is helping here, as it detects a little movement, it tells the controller which in turn corrects, check position, corrects, and so on. If you grab the servo shaft and try to turn it against its will, it will sense this and "fight" you for its position. If you force it past its position by the preset following error, the drive will fault and give an alarm.

So when you want the servo to move to a certain point, you change the setpoint and the drive gives, say 80% to the positive signal and 20% to the negative, the result is more positive than negative and the motor turns.

Now all of this is variable, I am only giving you a concept, the servo is tuned to the drive and machine it is running, if the machine is told to rapid, then the PWM signal will be as close to 100% in whatever direction as the drive allows, usually not quite 100% as the bootstrap caps need time to charge. So the effect is to apply DC to the servo and it shoots off in whatever direction you told it to, you can imagine that it will have a "top speed", this will be known or worked out during machine commisioning and the software will not exceed this and avoid following errors.

As for current limit, a servo is generally a brushed DC motor of sorts so in general use will not need to worry about excess current, as mentioned during rapid's full DC is applied to the motor and the motor rated voltage is usually what the drive can supply or fairly close. What can happen though is the servo can stall for whatever reason, hitting a hard stop etc, this is when current limit is needed, there are a few methods, I don't claim to be an expert here but basically you can use a sense resistor to measure current, by monitoring the voltage across the resistor, which is in series with the motor and calculating the motor current. When this value gets too high the drive can send a fault signal back to the PC.

I have heard mention of other forms of current limit, namely "highside" current limit, which from what I gather doesn't use sense resistors, I am not too sure how this is done, possibly by monitoring the Vce Sat voltage across the output MOSFET's, as I said, I am no expert, but I hope this gives you a bit of an insight.

I am sure someone will add to/correct this but at least it is a start

Cheers.

Russell.
Reply With Quote

  #4   Ban this user!
Old 08-18-2007, 02:18 AM
 
Join Date: Nov 2003
Location: manitoba, canada
Posts: 350
justCNCit is on a distinguished road

So then, the controller uses MOSFETS to switch current on/off, and can do this fast and precisely enough to close/open the circuit for a percentage of the 1/20,000 part of a second?

I then gather that the voltage regulates itself but using IC's you are able to control the MOSFET at a speed where this can be done?
Reply With Quote

  #5   Ban this user!
Old 08-18-2007, 03:06 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Not so much switch on/off but forwards/backwards, imagine you had a switch that applied either full motor voltage to make the motor spin flat out in one direction, and if you flick the switch it makes tha motor spin flat out in the other direction. If you wanted it to stay "still" you would have to toggle the switch very quickly in both directions, the motor would spin a little one way, then the other with the shaft averaging out to staying "still".

If you wanted the motor to spin in one direction you would just leave the switch to one side.

Now the electronics does this a little better than we can with a switch, and coupled with an encoder does it very accurately, a servo will appear to be perfectly still even though it is being "switched" backwards and forwards very quickly. It also allows for varying waveform (PWM) to vary the speed from standstill to full speed and everything in between.

Russell.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-18-2007, 03:09 AM
 
Join Date: Nov 2003
Location: manitoba, canada
Posts: 350
justCNCit is on a distinguished road

thanks for the explanation, thats what I was looking for, as well as the PDF.

To prod further, how I understand it the MOSFETS are able to switch current on and off in the matter of a percentage of 1/20,000 of a second? These in turn are controlled by some kind of microcontroller?
Reply With Quote

  #7   Ban this user!
Old 08-18-2007, 03:19 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Yup, there are many different types of drivers, generally with some kind of "brains" micro's, FPGA's dedicated hardware, you name it.

You can also have the smarts done on PC, EMC will output PWM directly from the parallel port, add a basic H Bridge or two (or more ) and you have an instant servo drive !

I am currently in the process of doing just that, when time permits.

Russell.
Reply With Quote

  #8  
Old 08-18-2007, 09:35 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

With a modern servo using torque (current) control, the drive current output is directly proportional to the voltage input, With this method, if the motor is commanded to stationary position, and if the encoder indicates that it is in co-incidence, there is no need to output any command voltage, hence no current will flow, all outputs are essentially off.
Unless something attempts to move the servo.
The 50% on 50% off technique was used primarily in velocity drives in order to hold the servo at zero position as the control was weakest around the zero point.
That is why on older systems you could hear the servo's 'singing' at rest, modern servo's are much quieter both at rest and in motion.
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

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
linear bearings noobie question s_a_black Open Source CNC Machine Designs 1 04-25-2007 08:24 PM
Noobie Questions gun_maker JGRO Router Table Design 0 06-09-2006 11:04 AM
noobie need help with mastercam CNC Darren Mastercam 0 09-03-2005 05:17 PM
CNC Noobie, need help NewCents DIY-CNC Router Table Machines 17 07-27-2004 11:14 PM
Noobie needs help!! Summer DIY-CNC Router Table Machines 18 11-27-2003 12:25 AM




All times are GMT -5. The time now is 08:59 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