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  
Old 06-24-2004, 03:44 AM
*Registered*
 
Join Date: Jul 2003
Location: longmont, CO
Posts: 67
Noah is on a distinguished road
Help! Consistent Gecko Fault or Servo Stall

Arrg!! My machine is working well, but has the repeatability of a blind squirrel. I can't run more than 40-50 lines of code before an axis will fault for some reason. I can't seem to find any possible explanation for this. I don't know if this is the servos stalling or what.

I am running G320's with 1000 PPR Renco differential encoders and Electrocraft 60v servos. I am a little unsure here. I called Mariss and he said a diff. encoder could be used as a TTL so long as only channels A and B were connected. He also said I could use 10 ft cables no problem as the geckos can filter noise, but at 45,000 Hz isn't it more than likely that the servos will fall 128 counts behind?

The only other cause that I can come up with is my ballscrews are too tight and I am stalling the servos. I set about 100 lbs of preload so it takes a fair amount of force to turn them over, but I can still do it by hand so a 720 oz-in should have no problems right? The machine snapped one of my cutters like a twig today so I am also skeptical about this cause. Please help.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 06-24-2004, 06:25 AM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,303
Bubba is on a distinguished road

Noah,
If you have differential encoders, they generally take about 125 ma of current. The Gecko can only supply 50:{(
You have to run an external power supply for the encoder and put a resistor on the drive (forget which pins), but it is in the instruction sheet.

Had the same problem!
__________________
Art
AKA Country Bubba (Older Than Dirt)
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 06-24-2004, 12:24 PM
*Registered*
 
Join Date: Jul 2003
Location: longmont, CO
Posts: 67
Noah is on a distinguished road

I am currently powering the encoders off my computer's USB port since they are powered at 5 volts. I will try another supply today though as I am not sure if Windows is capable of shutting off power to those ports every once in a while.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 06-24-2004, 02:17 PM
HomeCNC's Avatar  
Join Date: Mar 2003
Location: United States
Age: 54
Posts: 779
HomeCNC is on a distinguished road

Are you using Mach 2 as your controller? If so when I first setup the new version on my router my servo system did the same thing. The code would run for about 20 to 45 seconds and then with a very fast shake, one drive or two would fault.

I had to play with the speed and acceleration in Mach 2 before it would stay running smoothly.

I did not have this problem with an older version of Mach 2. When I upgraded to the new release I had all my setting the same. Art must have made some changes that made the system more sensitive.
__________________
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

  #5  
Old 06-24-2004, 10:35 PM
*Registered*
 
Join Date: Jul 2003
Location: longmont, CO
Posts: 67
Noah is on a distinguished road

Thanks guys. I switched to a separate +5v supply and that seemed to fix everything. Thats too bad though. I had really wanted to use the USB supply. I am still thinking of resetting the preload on my screws anyway as 100 lbs seems a bit excessive. How much preload do you normally have to apply to a rolled ballscrew to eliminate backlash?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 06-24-2004, 11:12 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

100 inch lbs? I don't know, but that sounds a bit much. It may cause flaking of the raceways. The backlash is eliminated when there is zero longitudinal shift. The screw should feel quite solid in the nut, but should not feel gritty as you roll it. If there are any tight spots in the screw's length, then back off the preload until it will go over the tight spot without much force. That is about as tight as you can run it, IMO
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 06-25-2004, 01:37 AM
*Registered*
 
Join Date: Jul 2003
Location: longmont, CO
Posts: 67
Noah is on a distinguished road

Yeah, I thought 100 lbs. was too much. I will back it off. One last question. Mariss said it would be possible to use the other set of outputs from the encoder (A& and B&) as computer inputs to get a fully closed loop system. I noticed Mach 2 accepts quadrature inputs for 3 encoders. Does this mean mach 2 is capable of error correcting closing the servo loop?
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 06-25-2004, 09:22 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

No, Mach2 can't close the loop. I think the inputs are for jogging wheels.? You'd need to find software that does close the loop. $$$
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(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

  #9  
Old 06-25-2004, 01:18 PM
*Registered*
 
Join Date: Jul 2003
Location: longmont, CO
Posts: 67
Noah is on a distinguished road

Ok, thanks for all your help guys.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 06-29-2004, 10:56 PM
 
Join Date: Apr 2004
Location: usa
Posts: 439
sendkeys is on a distinguished road

ger21 so is there really closed loop software that works with gecko's via the printer port.? I wouldnt might looking into it if you know the name of some.

anything that runs as fast as the mach2 ?

thanks
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 06-30-2004, 08:58 AM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,571
ynneb is on a distinguished road

When people talk about "closed loop", what do they mean?
Could some one explain it to me in very simple terms?
Thanks
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 06-30-2004, 11:48 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Benny,
In an "intelligent system", not only does the controller have to issue a movement command, it also needs to receive verification that the position was reached as commanded. This is the so called servo "loop".

In a typical stepper system, the movement commands are issued, but no check is carried out to see if the movement succeeded in execution. This is "open loop".

In a servo system, the controller monitors the encoder position. There is logic built in that compares the current commanded position to the actual position of the encoder. As soon as there is a discrepancy, this generates an error signal in the controller. This error signal is amplified by the servo amps into a useful voltage and current to drive the servo motor. The motor turns, and all the while the controller is looking at the feedback from the encoder.

As the current encoder position is fed back and compared to the commanded position, the controller decreases the error signal, because the positional error is decreasing as the motor moves the machine. The servo amp also cuts back on the voltage applied to the motor. So an equilibrium is reached when the encoder shows zero error between the present and the commanded position. Then motion stops.

So if there is a large inertial load on the servo motor during the movement, the controller is still looking at the encoder feedback, the error signal still exists for as long as it takes for the encoder to reach the equilibrium position. If the motor turns, the encoder counts, and thus there is some "intelligence" to the circuit because the feedback loop is always reporting, and the motor will receive voltage until such time as the fuse blows, or it reaches position.
__________________
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)
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
Servos or Steppers..... and other gecko related questions UKRobotics Gecko Drives 11 04-19-2004 03:14 PM
steppers or servo drives mmjpotter Gecko Drives 14 03-30-2004 03:56 PM
Servo on Taig with Gecko Jcadwell Gecko Drives 4 03-09-2004 12:13 AM
To Gecko, or not to Gecko...that is the question! samualt Gecko Drives 11 09-22-2003 09:42 PM
gecko servo steps balsaman Gecko Drives 4 06-20-2003 12:27 AM




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