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 01-29-2007, 11:02 AM
 
Join Date: Aug 2006
Location: UK
Posts: 1,505
digits is on a distinguished road
Servo tuning for twin screw axes...

Hi guys, can anyone tell me how hard/easy it is to tune a pair of identical spec motors with a pair of G320's with each motor driving a screw on either side of a wide axis? I would like to be able to common the step/direction inputs of the G320's so that the whole arrangement looks just like a single-servo axis to the software.

Am I likely to run into nasty tuning, racking, homing and power-on positioning issues?

Cheers.
Reply With Quote

  #2   Ban this user!
Old 02-14-2007, 05:43 AM
 
Join Date: Aug 2006
Location: UK
Posts: 1,505
digits is on a distinguished road

Has no one ever tried this?
Reply With Quote

  #3  
Old 02-14-2007, 07:52 AM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Will an experiemental airplane fly?

Originally Posted by digits View Post
Has no one ever tried this?
I do not think that any knowledgeable individual will tell you that it would work as well as a single servo. There are too many variables.

The only way that I can visualize any possibility of it working well enough to be acceptable is as follows:

I will use the X Axis as an example:

The X axis step signal from the computer port would be sent to two different output pins on the breakout board. (One output - two locations - right drive and left drive) Direction signal - also wire as per step signal.

Use ONLY one encoder. Amplify the encoder signal and then send the amplified signal to both drives.

This would give the two drives the same input step signal and encoder signal.

The remaining variable is servo tuning. With an oscilliscope, one MIGHT be able to tune everything close enough for some kind of operation.

Will it Fly? Maybe
Reply With Quote

  #4   Ban this user!
Old 02-14-2007, 09:18 AM
 
Join Date: Aug 2006
Location: UK
Posts: 1,505
digits is on a distinguished road

Thanks for the reply!

So what do you think would happen if I had two servos, each with a drive and encoder but with common step/direction inputs, and then tuned them individually before connecting them together mechanically?

If they are correctly tuned, can't I assume they'll behave like steppers?

I can see that if the two servos aren't 100% in sync, they'll be fighting eachother, but as they both have the same commanded position, and feedback of their actual position, won't it behave just like one servo trying to move against a variable force?
Reply With Quote

  #5  
Old 02-14-2007, 04:11 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road

Originally Posted by digits View Post
Thanks for the reply!

So what do you think would happen if I had two servos, each with a drive and encoder but with common step/direction inputs, and then tuned them individually before connecting them together mechanically?

If they are correctly tuned, can't I assume they'll behave like steppers?

I can see that if the two servos aren't 100% in sync, they'll be fighting eachother, but as they both have the same commanded position, and feedback of their actual position, won't it behave just like one servo trying to move against a variable force?
If they are correctly tuned, can't I assume they'll behave like steppers?

NO. Steppers do not use a feedback element to determine it's position.

If you have an axis with 2 servos with 2 encoders, each drive will have the same commanded position. However, the physical position is determined by each of the encoders feedback to it's respective drive. Any positional change that could cause a single pulse from either encoder could start an oscillation between the two sets of drives, servos, and encoders. It would NOT be feasable to use 2 seperate encoders on the same axis for this reason. Each servo could act independently, depending upon the positional information sent back to the drive from the encoder in an effort to hold the SAME commanded position.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-15-2007, 06:46 AM
 
Join Date: Aug 2006
Location: UK
Posts: 1,505
digits is on a distinguished road

Originally Posted by CJL5585 View Post
If they are correctly tuned, can't I assume they'll behave like steppers?

NO. Steppers do not use a feedback element to determine it's position.

If you have an axis with 2 servos with 2 encoders, each drive will have the same commanded position. However, the physical position is determined by each of the encoders feedback to it's respective drive. Any positional change that could cause a single pulse from either encoder could start an oscillation between the two sets of drives, servos, and encoders. It would NOT be feasable to use 2 seperate encoders on the same axis for this reason. Each servo could act independently, depending upon the positional information sent back to the drive from the encoder in an effort to hold the SAME commanded position.

Thanks for the reply - I really hope I'm not going to annoy you by asking another stupid question, but I'd really like to get my head around how it all works!

OK, as far as I understand it, servos are error-driven - you tell the drive where you want the motor to move to, it powers up the motor in the appropriate direction and then watches the encoder to see if it's got there yet. The motor may under or overshoot the commanded position, but the drive should be able to perform the appropriate correction and arrive at the commanded postion. Once the commanded position is reached, there is no position error, and so I guess the motor is either switched off, or it just bounces between two adjacent encoder positions?

If this servo is driving say the X-axis of my mill table, and the end mill suddenly bites into a piece of stock, there will presumably be a farily large force trying to move the table either away from or into the stock, which if it causes the table to move, will back-drive the servo and cause a position error over the commanded position. Won't this then cause the drive to fire up the motor and correct the position (i.e. resist the cutting force)?

As this force is dynamic and unrelated to the commands sent to the servo-drive, doesn't the drive have to resist it using only the info it can glean from its position encoder? In which case, does it matter whether one servo is resisting the cutting forces, or the driving force of anothe servo on the other end of the table with a very slightly (a few encoder positions) different idea of the same position?
Reply With Quote

  #7  
Old 02-15-2007, 08:21 AM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road

Your information is correct.

The Gecko 320/340 drives are designed so that the drive outputs an error condition only after there exists a 128 encoder line error count condition between the commanded position and the actual position. This 128 count difference is needed during acceleration and de-acceleration of the servo. All servo systems have some differential designed in.

What I see as being a problem with using 2 encoders is the interaction between them. For example: While cutting a piece of wood which has a knot on one end, one encoder (A) might see the resistance of the cutter against the knot (which reduces the feedrate -- or encoder pulses are longer which means servo is not up to speed) and the one drive attempts to compensate for the difference by speeding up. (More Voltage and Current to the Servo to compensate for the resistance, and not being at the commanded Position.) On the other hand, the encoder on the opposite end (B) of the knot will not see the resistance posed by the knot. What occurs at this time is racking where one servo (A) is moving in the X direction faster than the other servo (B), although they have the same commanded position. At some point, the racking effect will be sensed by encoder (B) which will attempt to correct same. This in turn is sensed by encoder (A) and will continue as oscillation until the oscillation stops, or the commanded position is reached, or an error condition exists. This is why I stated that only one encoder be used.

By using only one encoder, one can zero the axis. Also, only a single feedback to both drives gives stability to the system without oscillation. In addition, one should not experience any racking condition. In essence, one drive with the encoder is the Master, the other drive is the slave, and the slave will follow the master.

Hope this helps.
Reply With Quote

  #8   Ban this user!
Old 02-15-2007, 04:42 PM
 
Join Date: Nov 2005
Location: Alabama - USA
Posts: 252
Mike Nash is on a distinguished road

I don't see how this is so very different from burning machines that use two analog servos, 2 DC tachs, 2 resolvers and 1 encoder (except for the knot ) The control system drives both servo amps in parallel and uses the one encoder for feedback. But there is an additional bit of circuitry that monitors the two resolvers and sends a correction signal to the slave when it leads or lags the master. Using only 1 encoder with the Geckos would leave the slave side free to rack the gantry at will. I'm not saying I know how well the 2 Gecko, 2 encoder system would work, but I've worked on a few of the resolver tracking burning machines and they work well enough considering the abuse they take. And it's pretty amazing just how massive the gantries are and how small the motors and drives.

Mike
Reply With Quote

  #9   Ban this user!
Old 02-15-2007, 05:22 PM
 
Join Date: Aug 2006
Location: UK
Posts: 1,505
digits is on a distinguished road

Originally Posted by CJL5585 View Post
Your information is correct.

The Gecko 320/340 drives are designed so that the drive outputs an error condition only after there exists a 128 encoder line error count condition between the commanded position and the actual position. This 128 count difference is needed during acceleration and de-acceleration of the servo. All servo systems have some differential designed in.

What I see as being a problem with using 2 encoders is the interaction between them. For example: While cutting a piece of wood which has a knot on one end, one encoder (A) might see the resistance of the cutter against the knot (which reduces the feedrate -- or encoder pulses are longer which means servo is not up to speed) and the one drive attempts to compensate for the difference by speeding up. (More Voltage and Current to the Servo to compensate for the resistance, and not being at the commanded Position.) On the other hand, the encoder on the opposite end (B) of the knot will not see the resistance posed by the knot. What occurs at this time is racking where one servo (A) is moving in the X direction faster than the other servo (B), although they have the same commanded position. At some point, the racking effect will be sensed by encoder (B) which will attempt to correct same. This in turn is sensed by encoder (A) and will continue as oscillation until the oscillation stops, or the commanded position is reached, or an error condition exists. This is why I stated that only one encoder be used.

By using only one encoder, one can zero the axis. Also, only a single feedback to both drives gives stability to the system without oscillation. In addition, one should not experience any racking condition. In essence, one drive with the encoder is the Master, the other drive is the slave, and the slave will follow the master.

Hope this helps.

What I don't get from this example is that if motor A is seeing more resistance, doesn't it need to try harder than motor B to get to the same commanded position at the same time? If both motors apply the same force but experience different resistance, won't that actually make the racking worse? I can't see how you can apply different forces with each motor unless they have independent position error feedback.

I am probably missing something simple, but I can't see why the motor with less resistance will run off, making racking worse? If it is happy that it has met it's commanded position, won't it travel at the 'correct' speed, and if the other motor can't keep up, doesn't that just mean that it is overloaded, like a stepper missing steps?
Reply With Quote

  #10  
Old 02-15-2007, 06:37 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road

Digits

I think you should design and build your system per your own specifications, desires, and calculations.

In theory this discussion could go on forever without being resolved. The only way to determine what works and what doesn't is to build a system and see how it reacts under actual operating conditions.

There are so many variables involved that theory cannot possibly cover every aspect of system operation.

I am sure the members of this site would be interested in how everything works out running two servos with encoders in parallel.

.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-16-2007, 04:28 AM
 
Join Date: Aug 2006
Location: UK
Posts: 1,505
digits is on a distinguished road

Oops, I guess I asked one question too many

Thanks for all your help anyway, I guess I'll just have to suck it and see!

Cheers.
Reply With Quote

  #12   Ban this user!
Old 05-01-2007, 09:11 PM
 
Join Date: May 2004
Location: United States
Age: 56
Posts: 79
bbergami is on a distinguished road

Digits,
Did you ever try the dual servos. How did it workout? I'm thinking of doing the same.
Bert
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
Servo Tuning Problems? RYANPB Gecko Drives 1 11-27-2008 12:43 PM
Servo system tuning problem?? REVCAM_Bob CNCzone Club House 2 12-17-2006 07:20 AM
Anyone got any tips for tuning servo motors? Darc CamSoft Products 25 05-08-2006 12:13 PM
appropriate servo tuning.... help? howling60 Servo Motors and Drives 6 02-27-2006 08:48 AM
Tuning a G340 servo drive chas Gecko Drives 1 04-07-2005 07:15 AM




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