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-29-2007, 08:38 AM
 
Join Date: Oct 2006
Location: USA
Posts: 70
robhrzic is on a distinguished road
Question G320 servo motor tuning

I will be using G320's with these Keling Technology KL34-180-90 servo motors:

http://www.kelinginc.net/KL34-180-90.pdf

Can anyine tell me how to set the limit, damping and gain pots on the G320's? I do not have a scope for tuning. I was wondering what other user's of this motor had their pots' settings dialed in at.
Reply With Quote

  #2   Ban this user!
Old 08-29-2007, 09:03 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,877
Torchhead is on a distinguished road

Tuning will vary based on the table mechanics and motors. One person's settings my cause your table or motors to break into violent oscillation. When you get everything hooked up and mounted turn the current limit full sup and set the gain and damping at at 11:00 o'clock position.

Turn the gain up until it gets unstable. Turn it back down and advanced the dampening a few degrees and turn the gain back up again to instability; keep walking it up. After you get it to a point that has good "stiffness". Run the axis through several rapid moves with direction change. That will tell you if you have the gain too high. Too much dampening can cause problems so it's a dance with both controls and they interact.

Unless you know what you are doing with a scope and don't mind mounting remounting the drives (to get the covers off and on), then tuning by hand is the best way.

It's not so critical that it could cause any damage and you may find the default 11 o'clock starting place is fine. You have to have them on you machine to tune them correctly. You can do it sitting on a bench but it's not much better than just running them at default.

For those size motors I turn the current limit to about 2/3 fully clockwise.

Tom Caudle
www.CandCNC.com
Reply With Quote

  #3   Ban this user!
Old 08-30-2007, 05:59 AM
 
Join Date: Oct 2006
Location: USA
Posts: 70
robhrzic is on a distinguished road

Thanks for the feedback Torchhead. I've read about "tuning by hand", but wasn't sure as to how to go about doing it. Thanks again.
Reply With Quote

  #4   Ban this user!
Old 10-27-2007, 03:52 PM
 
Join Date: Aug 2007
Location: New Zealand
Posts: 42
jrslick22 is on a distinguished road

Using G320's with Mach3

Can anyone please tell me if the steps per (motor tuning, default 2000) effects the oscillation and creeping that i just cannot seem to get rid of?

I have 250 line encoders and from my reading this get multiplied by 4 times so I have set my steps per to 1000? Is my logic correct or do the reduction gears im using to attach my servos to my lead screws also effect this setting?

Because if I run the axis calibration tool (settings tab) I notice if accepted it changes the steps per setting also, explanation please?

I originally assumed that the software had nothing to do with it as when i power the unit on without Mach3 running i still get the oscillation and creeping across all three axis.

I have tried and retried the above method with no joy at all, i did have X and Y tuned but in an attempt to tune Z all three axis now have the jitters.

Please help.

Last edited by jrslick22; 10-28-2007 at 04:10 AM.
Reply With Quote

  #5   Ban this user!
Old 10-28-2007, 03:22 AM
 
Join Date: Aug 2007
Location: New Zealand
Posts: 42
jrslick22 is on a distinguished road

For anyone interested in helping out on this one paste mms://media1.skynetnz.com/mill into your address bar to see it in action.

cheers
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-28-2007, 02:44 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,877
Torchhead is on a distinguished road

Servo motors will "dither" between two line counts on the encoder which presents it's self as a hum and if you try to move the motor shaft it opposes the move qand you will hear the 'hum' change in frequency. Even poorly tuned drives should not creap or move. The two things that would cause the movement are the two things that cause the motor to move under control: Step pulses or Encoder changes. Noise in either place can be seen as the drive as commands to move. Try putting a .01 cap across the step and common pin at the drive and see if the problem goes away. Make sure you have a filter cap close to the drive across Mtr+ and Mtr -. You did not mention if you have a buffered breakout card on the PC. Trying to run straight off the port will give poor results especially in the 300 series Gecko's

The final approach is to deal with the encoders. Depending on the distance between the encoder and the drive you may be picking up the motor PWM signals or other outside noise. Even shielded cables may not fix it in all circumstances.

On all of our EZPlug Gecko cards made for 320/340's we put differential receivers and provide a differential driver 'pigtail' for the motor. It raises the noise immunity of the encoder circuits by a factor of at least 10. We use unshielded twisted pairs (standard network cables) as the interconnect.

You can't tune out noise with the Gain and Dampening. You can only make the drive less responsive and that will effect operation.

Your calculation for steps is 250 * 4 * gear/belt reduction ratio. If you use rack and pinion you have to calculate in that ratio as well. It's ususally a distance INCREASE which will cancel out some or all of the belt reduction.

In the end you want to know how far the load travels in one rev of the motor. Divide that into one inch and multiply by 1000 and you have your answer.

TOM CAUDLE
www.CandCNC.com
Reply With Quote

  #7   Ban this user!
Old 10-28-2007, 03:17 PM
 
Join Date: Aug 2007
Location: New Zealand
Posts: 42
jrslick22 is on a distinguished road

Hi, thanks so much for your reply, I’m using a Sound logic breakout board like this one
http://www.campbelldesigns.com/files...de-rev-1-8.pdf

Now that i know where to look i have a couple of different ideas:
Im using 6 core alarm wire for my encoders, im thinking my cables are to long (about 1.5 meters, approx 2 yards) will making them sorter help?

I will pick up some .01 caps today, what size caps should I use to go across the M+ and M- terminals on the gecko?

Also I have worked out that with the reduction gears and the lead screw one revolution of the motor give me 1mm of movement on the table (we work in metric in this part of the world) so my assumption is 1/1x1000=1000? Sound right?

thanks so much
Reply With Quote

  #8   Ban this user!
Old 10-28-2007, 05:15 PM
 
Join Date: Jul 2005
Location: USA
Posts: 1,877
Torchhead is on a distinguished road

Run the encoder wires away from the Motor cables. Use shielded wire and ground the shield at one end ONLY. 1.5 meters should be close enough that you probably don't need differential signaling.

Use 450 MFD 100VDC caps or larger on the mtr+ and Mtr - at the Gecko. The .01 are for testing only they may cause problems at higher pulse rates but they will pinpoint the area you need to concentrate on. If you find that it's noise in the step & Dir signals from the Campbell card then be mindful of the way the wires are strung between the Gecko inputs and the BOB. They too need to not run close to the motor outputs. shorter is better.

There has been much debate about if it's better to ground the motor supply (NEG) to the controller box chassis. We come down on the side that motor noise can get into the chassis and into the circuit ground unless the chassis and Gecko drives are well grounded (not just the AC safety ground). We build all of our power controllers with the GECKOS and heatsink isolated from the chassis and the power supply ground not tied to anything but the Gecko Mtr - .

The numbers still work the same way. Just put every thing in MM and seconds. If 1 rev of the motor = 1mm of movement then you have 1000 pulses per mm

. Depending on your target speed you need to determine how many pulses per second you need. Lets say you want to move at 2500mm/min or 41.666 mm/sec. You need to supply 41,666 pulses per second to move at that speed. MACH will do that (and more) but you need a faster computer than the 1G min processor.

Shorting cables will help but more important is how they are routed. Need to keep them several inches away from any motor power wires.

tomCAUDLE
www.CandCNC.com
BOB's
Digital THCs
DXFTool Software
Complete Electronic Packages
Stepper & Servo Systems
Hand Controllers
Reply With Quote

  #9   Ban this user!
Old 10-30-2007, 02:05 AM
 
Join Date: Aug 2007
Location: New Zealand
Posts: 42
jrslick22 is on a distinguished road

Have replaced the encoder cabling with shielded microphone style cable, the creeping is alot slower and less jerky and now runs in the opposite direction, no idea what is causing this. Moving the power wires around inside the box does not seem to effect it in any way. I will post a picture of the control unit incase something is obvious.

Is there a chance that the Campbell board is faulty, it is the only thing that was not new and I do seem to remember that when assembled on the bench top running the motors on a 24v battery bank there was still creeping?

thanks alot mate you've been a big help.
Reply With Quote

  #10   Ban this user!
Old 10-30-2007, 04:36 AM
 
Join Date: Aug 2007
Location: New Zealand
Posts: 42
jrslick22 is on a distinguished road



Ok here is the picture of the controller, you can see the space for the other two geckos, the power circuit is in parallel hence the two caps and bridge rectifiers, 1000va total.

Another symptom is that when the x and y are both connected if I move the y to the right the x will move in the positive direction by itself also.

Back to the steps per question, I set it to 1000 and set the motor up, then when I measured 100mm on mach3 the table had only moved 64mm so I used the axis calibration button under settings which set the steps per field to 1500, after tweaking acceleration and velocity I have the y axis moving perfectly (less the creeping) and 100mm of travel on the table reads 100mm of travel on the mach3 DRO have I set this up correctly? I thought it was supposed to be 1000 steps per is all?

thanks very much

if the image dont come up http://www.skynetnz.com/temp/controller.jpg
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-30-2007, 04:56 AM
 
Join Date: Aug 2007
Location: New Zealand
Posts: 42
jrslick22 is on a distinguished road

Before i forget ive added a couple of ferrite core clamps to both the motor and controller ends of the encoder cables, cant hurt?
Reply With Quote

  #12  
Old 10-30-2007, 08:19 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

Give me a call at 1-714-771-1662 during Pacific Coast biz hours.

Mariss
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
Some servo help and questions about the G320/340 Eson Gecko Drives 0 02-07-2007 03:01 PM
g320 48v servo will this work dgalaxy Gecko Drives 0 05-29-2006 08:10 PM
appropriate servo tuning.... help? howling60 Servo Motors and Drives 6 02-27-2006 08:48 AM
Oscilloscope settings for G320 servo tuning + trouble giorgiocnc Gecko Drives 4 12-10-2005 04:44 PM
G320 and back-EMF from servo rc-cellar Gecko Drives 5 02-17-2005 09:15 PM




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