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 > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-03-2003, 04:33 PM
 
Join Date: Jul 2003
Location: north wales,u.k
Posts: 46
mmjpotter is on a distinguished road
Question steppers or servo drives

Hi,

My name is Mike and I live in the U.K. This is my first experience of discussion forums so please be patient if I am not up to speed on the protocol.

I have followed a few threads on ‘cnczone’ and my interests and aspirations seem to match those expressed by Mr. Davis on his home page at www.homecnc.info.

I have 25 years experience using CNC machines and have recently completed the design and build of my own C.N.C controller. I would like to help unravel the mysteries of motion control for anyone struggling with similar projects, and hopefully develop some cost effective alternatives to some of the more expensive components required to assemble a complete machine.

Enough introduction. The main reason for my post and this tread is to ask a question about the choice between stepper or servo drives. My impression from reading several discussions is that steppers are the popular choice for people converting or building their own equipment. As steppers systems are not usually closed loop and do not report any positional error I do not feel that repeatability is guaranteed, especially with varying loads and speeds. A servo system is fundamentally an error-based system in which the controller waits for a positional error to occur and then applies output power proportionally until the correct position is achieved. An option for those wishing to convert from a stepper to a servo system is to use Gecko Servo Drive Cards.

How do these ‘Gecko Servo Drives’, which receive pulse and direction, input signals, report back to the controller that position is being maintained? If they don’t provided this basic error control facility can they be considered as true servo drives and what advantage is gained over stepper drives?

I look forward to receiving comments and advise from experienced ‘Gecko Drive’ users and also to hearing from anyone who is interested in servo drive controllers.


Regards
Mike
__________________
mike potter
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 08-03-2003, 08:19 PM
HomeCNC's Avatar  
Join Date: Mar 2003
Location: United States
Age: 54
Posts: 779
HomeCNC is on a distinguished road

Nice to see you on this board.

The servo drive system using a Gecko drive is only closed loop back to the gecko drive only. There is no loop back to the software on the PC. If the Gecko drive gets behind processing steps because of a heavy cut or too fast of feed the drive will fault but the software will not know this has happened. It is the next best thing to a complete closed loop system for a lot less money.
__________________
Thanks

Jeff Davis (HomeCNC)
http://www.homecnc.info


(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 08-03-2003, 08:24 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

Mike,

The choice between stepper or servo is almost entirely power; if your app requires 100W mechanical or less, use steppers. If it is 200W or more, use servos; if in between, either will do.

Both are equally reliable as to positioning; the stepper is both a motor and a position transducer, a servo seperates into a motor and a position transducer (encoder).

The G320 is a PID position servo drive. The "I" term (integral) does not permit the motor to be statically off-position by more than +/- 1 encoder count. If it is, the integral term multiplies the motor's corrective torque to its full stall value.

If the motor cannot generate enough torque to keep up with the moving command position, it will fall behind. If it falls 128 counts behind where it should be, the G320 "throws in the towel", shuts the motor off and indicates a "Fault" output.

This happens anytime you ask for more than 100% of what a motor has to give. A stepper will stall; a servo has to be shut down because unlike a stepper, it is willing, able and eager to destroy itself when overloaded. Unlike servos, steppers cannot be harmed by overload; they simply stall to shed the load.

When either is operated within their abilities, neither will ever miss steps or position. Both are equally reliable to go where they are told.

Mariss Freimanis
Geckodrive Inc.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 09-13-2003, 04:04 AM
 
Join Date: Mar 2003
Location: Pineville,KY
Posts: 52
CNCnUtZ is on a distinguished road

Originally posted by Mariss Freimani
Mike,

The choice between stepper or servo is almost entirely power; if your app requires 100W mechanical or less, use steppers. If it is 200W or more, use servos; if in between, either will do.

Mariss....Would you care to clarify for us laymen, as to what mechanical wattage means?

Thanks
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 09-13-2003, 09:00 AM
ToyMaker's Avatar  
Join Date: May 2003
Location: United States
Posts: 325
ToyMaker is on a distinguished road

The arithmetic is 746 Watts = 1 Horsepower. So, loosely (very loosely ), 100 W is a little better than 1/10 hp, and 200 W is a little less than 1/5 hp.

robotic regards,

Tom
= = = = =
A man will pay two dollars for a one-dollar item he wants.
A woman will pay one dollar for a two-dollar item she doesn't want.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-13-2004, 06:56 PM
 
Join Date: Oct 2003
Location: CORBIN, KENTUCKY
Posts: 208
ljoe1969 is on a distinguished road

why choose servos over steppers on a 4' x 8' cut table?
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 03-22-2004, 06:03 PM
 
Join Date: Oct 2003
Location: Sweden
Age: 33
Posts: 398
arvidb is on a distinguished road
Re: steppers or servo drives

Originally posted by mmjpotter
*snip*

I have 25 years experience using CNC machines and have recently completed the design and build of my own C.N.C controller. I would like to help unravel the mysteries of motion control for anyone struggling with similar projects, and hopefully develop some cost effective alternatives to some of the more expensive components required to assemble a complete machine.

*snip*
Mike,

I'd like to know more about your controller. If I can only find servo drivers for my project that won't cost me a fortune, I'm planning to make my own position controller.

The servo drives take +/-10 V as speed reference, and outputs quadrature signals to indicate movement.

My still very loose thinking is to implement three encoder counters in an FPGA, and use some kind of microcontroller (perhaps something from Atmel's AVR family) to implement the position servo loops with PID controllers. The Speed and Torque loops will be handled by the servo motor drivers.

How have you implemented your controller, and what parts of the controlling does it do?

Arvid
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 03-22-2004, 09:57 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

Originally posted by HomeCNC
If the Gecko drive gets behind processing steps because of a heavy cut or too fast of feed the drive will fault but the software will not know this has happened. It is the next best thing to a complete closed loop system for a lot less money. [/B]
It's a matter of having to fit a servo drive to what popular CNC programs are out there. These are primarily "step and direction" output programs with no provision to close a PID loop back at the PC.

The G320 aquits itself rather well. I ran some tests where I accellerated a motor loaded at its rated cont. torque to 2400 RPM in 125 milliseconds while tracking the position error TP. The error never exceeded +/- 4 encoder counts (0.72 degrees).

I have a digital sampling scope picture which shows the drive's position error response in detail.

I have posted it to the G320/G340 folder in the files section of the yahoo group "geckodrive". I'd post it here but the .pdf file at 105K exceeds the 80K limit here and .pdf is not a listed valid extension.

Mariss
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 03-23-2004, 05:09 AM
 
Join Date: Jul 2003
Location: north wales,u.k
Posts: 46
mmjpotter is on a distinguished road

Hi Arvidb

Thanks for the interest shown in my cnc project. My controller is a PC based system which uses the main CPU to perform the PID loop control.

I used 2 standard ISA/PCI slot cards. One is an Analog output card to provide 10 volt drive signals, and the second is a 24bit counter card (quadrature input) which continually tracks and records the encoder position .

A priority interrupt is generated every millisecond this provides the base for real-time operation. The computer constructs a memory model of the required move, which is the distance required at the given speed every millisecond. The interrupt routine compares this position with the actual position recorded by the encoder card. The difference (the following ERROR) is converted by the Anolog card to a voltage between 10 volts and this voltage is PROPORTIONAL to the error.

A tacho is fitted to the rear of the motor and the tacho signal voltage is INTERGRATED with the PROPORTIONAL voltage using a summing amplifier, this helps maintain a constant motor speed under varying loads. Implementing the P & I functions of the PID loop are usually sufficient for basic motion control.

This is a FULL closed loop system and offers very high positional holding torque. I use it to drive different machines with motors that range from 160volts @30amps to
Battery operated motors 24volt@20amps. You can mix motor size and power and even have different encoder resolutions on each axis.

Good Luck Arvidb
Mike
__________________
mike potter
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 03-23-2004, 02:59 PM
 
Join Date: Oct 2003
Location: Sweden
Age: 33
Posts: 398
arvidb is on a distinguished road

Mike,

very interesting! What "base" are you running under - DOS? Windows doesn't lend itself to real-time at all, I have noticed.

Can you get positional error graphs as well? That's what would be really neat with a system like this, to see what's actually happening.

What about feed-forward?

My system would not use tachometers, but instead calculate speed from the encoder. Tacho's are better I guess, but there are simple techniques to calculate speed from an encoder input with quite good dynamic response. There's a lot of interesting info in Application notes from Texas Instruments, Motorola and Analogue Devices.

They all make complete DSP's with everything you'd need for implementing Field Oriented Control (FOC) for 3-ph AC motors. The TI part number is TMS320Lx24x, AD part number ADSP-2199x, and Motorola DSP56F80x.

I have never used any servo system where I've had to set the Derivative term in a PID loop, only the PI terms. This was in a temperature servo system which we are using at work.

Arvid
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-24-2004, 03:51 AM
 
Join Date: Jul 2003
Location: north wales,u.k
Posts: 46
mmjpotter is on a distinguished road

Hi Arvid

You are correct my system is DOS based. I didn‘t see any advantage of running the system under Windows. An old 486 machine running this program under DOS can spin DC Motors dangerously fast. As you are probably aware most windows based systems use DSP’s to perform the real-time motion control. The problem I had with this approach was that these DSP systems provide a user interface library to access the pre-programmed motion routines. I wanted the freedom to develop my own routines. This means the program can be updated to include your idea of plotting positional error graphs, in fact at the moment I am trying to implement ‘S’curve profiling and plotting the move will provide a good visual to examine the systems response.
Using the encoder as a digital tacho should work well. The one I looked at was a bit expensive $250 !!
I’m not sure what you mean by feed-forward? Get back to me.
Thanks for the graph idea!! (That is the trouble with this game you never finish).

Regards
Mike
__________________
mike potter
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 03-24-2004, 02:25 PM
 
Join Date: Oct 2003
Location: Sweden
Age: 33
Posts: 398
arvidb is on a distinguished road

Well, a PID control tries to minimize the error. This is of course good, but it also means that for any change to happen, there HAS to be some error. And we don't want error.

The feed-forward function looks a bit ahead and anticipates what movement will be needed to get zero error, and "injects" the movement after the PID control has done its work. If done completely right, in the next cycle the machine has moved exactly as much as it was supposed to, and the PID will still see zero error. This way, feed-forward is used to get the change, and the PID control is used only to correct the errors that will happen anyway.

I'm not completely sure on how this is implemented (or even when it's really useful) - a google search should give plenty of info.


Glad you liked the graphing idea!

Arvid
Tweet this Post!Share on Facebook
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
Can Gecko's servo drives be used with steppers? bgriggs Gecko Drives 1 05-26-2005 01:39 PM
What servo drives use resolver inputs? murphy625 Servo Motors and Drives 3 03-15-2005 01:28 PM
Servo drives quickerz Servo Motors and Drives 1 01-21-2005 11:24 AM
Servos, steppers, drives and encoders, Oh my MobilDave Servo Motors and Drives 1 09-10-2004 08:04 AM
Servo motors, Drives Wolfe General Electronics Discussion 1 11-16-2003 02:47 PM




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