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 12-28-2003, 06:51 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road
Encoder wiring

I seem to have developed(?) a problem with my x axis. It faults randomly. I did some testing and it seems I am loosing some position as well. In 200 1" moves (back and forth) I lost 50 thousands of an inch.

I ran a new encoder cable directly from the encoder to the drive outside the cabletray/cat-tracks. Same problem. switched the x gecko drive with the A(rotary axis) drive. Same problem. I am starting to wonder if it's the encoder itself, but I want to eliminate some more stuff first.

Question: I use 8 conductor shielded cable for the encoder. 4 twisted pairs and a shield. I only use 4 of them. Should A and B from the encoder be a twisted pair? or should I use a wire from one pair for A and a wire from another pair for B with the other wires from the pairs grounded? Or just cut off? I use a twisted pair for the +5 and 0V. The shield is tied to ground at the drive end only.

Anyone else have an idea what's wrong?

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 12-28-2003, 07:30 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

Eric,

Never have 2 signals on the same twisted pair! The cross-talk between them will be terrible.

Send encoder channel A on one wire of the pair, send either Ground or +5VDC on the other wire. Use a seperate twisted-pair for channel B (ground or +5V on one wire, channel B on the other).

Mariss
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 12-28-2003, 07:31 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,713
Al_The_Man is on a distinguished road
Buy me a Beer?

Eric, I would not think it was the encoder at this stage, especially if the error is repeatable, the 50 thou error I suspect may be due to backlash?
If you use an encoder cable with independant pairs, it is customary to use a twisted pair for the A,/A & B,/B pair etc
The shield should only be grounded at one end, Usually the amp input end as this is usually closer to the main cabinet gnd.
Due to noise problems I had on one installation, I have been using belden 9891, I believe this is an ethernet cable, but it has one pair which is larger than the other conductors which I use for the power pair. I have had no problems since with any of the retrofits I have done.
Is your encoder on the motor or on the final motion actuator, i.e. ball screw or slide?
Al
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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

  #4  
Old 12-28-2003, 07:32 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Hi Eric,

I don't know right off if twisted pairs does much of anything for shielding low voltage wires. I know it cancels the field self induced by motor power wires, but that is the only place where I have heard that twisted pairs accomplish anything. But, you're the expert on that anyway.

You can maybe get ahold of cable with shielded pairs, too, all wrapped inside of a larger outer shield. But, I somehow doubt that encoder wires would crosstalk to each other anyway.

Can you swap encoders with another axis to find out if the problem follows?

Whatever is counting your encoder output is what I would suspect. Is that in your drive or in the computer?
__________________
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

  #5   Ban this user!
Old 12-28-2003, 07:47 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

Hu, the drive counts the encoder pulses. I have eliminated that as the problem. I am no expert...just know enough to be dangerous.

Al, there is backlash, but the error accumulates the longer the machine is run. Backlash errors are not cumulative.

Mariss, I used one wire from a pair for A, another from a pair for B. The +5 and 0V are on a twisted pair. The rest of the wires (one pair, and the two left over from A and B) are cut off on the encoder end, folded over and taped on the drive end. Will tieing them to ground at the drive end help? If I make the +5 and 0V the wires twisted with A and B I have to open the encoders and resolder. I can do that if it's the best way.

Thanks,

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 12-28-2003, 08:34 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

Having the unused wire of a pair grounded helps shield the signal carrying wire. Ground them at the drive end only to "encoder minus".

You mentioned on the "geckodrive" group the LEDs are dimly "on" while the motors are running. I looked at your ERR/RES circuit but could not make out the resistor size. If they are 10K or less, the LEDs will be partially on. That should be no problem though.

A bad STEP/DIR cable can cause problems like that as well. The drive may be faulting because it is seeing a burst of noise pulses it stupidly thinks are steps. Try gently wiggling the cable. See what the effect is.

Mariss
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 12-28-2003, 09:11 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

I will ground left over signal wires and try again.

The resistors are 4.7k.

Thanks for the help.

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 12-28-2003, 10:09 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

Let me know if that helps. By the way, are you using a new PC? Some of the newer PCs have 3.3V logic swings on the parallel port instead of the expected 5V. This can cause trouble.

Mariss
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 12-28-2003, 10:30 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

Tied all the left over wires to enc- and same thing....I will have to try a new parallel cable I guess. Wiggling the cable has no effect. The computer is a Pll 233.

Funny thing is, this is the only encoder cable that doesn't run along side the DC motor cables (and noisy router motor cable) all around the machine and thru the cat tacks etc. It goes nicely all alone to the back where the encoder is. The motor is on the oposite side of the leadscrew. Yes the couplings are tight.

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 12-28-2003, 10:51 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

Eric,

What revision number is your drive? Later versions have the REV number screened on the board area covered by the main connector. Our current version is REV-7.

Another possibility is a badly misaligned encoder, an encoder wheel that has a bend in it (metal wheels only) or has some crud or foreign matter on it. This is where the CH-A and CH-B signals aren't in quadrature for a portion of a revolution, or a channel drops out (crud on wheel or bent disk). This drives the quadrature decoder nuts and will result in errors or a FAULT condition.

This is best tested for with a scope. Barring that, cause the motor to move at 5 to 10 RPM. See if the motor acts or sounds funny at the same "clock" location on every revolution. If it does, it's your encoder.

Mariss
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-29-2003, 09:09 AM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

I have tried two drives. The one in there now is one that was replaced in September? by you when you recalled a few drives. I will check the encoder by your 10 rpm test today. I have access to a scope too so I will try that if need be.

Thanks,

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 12-29-2003, 02:38 PM
HomeCNC's Avatar  
Join Date: Mar 2003
Location: United States
Age: 54
Posts: 779
HomeCNC is on a distinguished road

Eric,

How long is this cable. Is it the longest of your other ones?
__________________
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

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
encoder issues rutexus Servo Drives 13 05-21-2006 07:49 PM
What's your max distance to encoder? murphy625 General Electronics Discussion 5 05-12-2005 11:57 AM
Encoder output into 2 different inputs? murphy625 Servo Motors and Drives 2 03-23-2005 10:36 AM
Need encoder recommendation Swede General Metal Working Machines 9 10-05-2004 09:01 PM
Encoder wiring hookup help ty1295 General Electronics Discussion 1 07-04-2004 10:00 AM




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