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 > Servo Motors and Drives


Servo Motors and Drives Discuss servo motors, drivers and other related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-05-2010, 10:36 PM
 
Join Date: Feb 2010
Location: USA
Posts: 272
mattbesquare is on a distinguished road
Basic encoder tutorial?

I am looking to wire up my encoders, these things are monsters-7x2 pinout.. Just wondering if there was a thread or site that goes over basic wiring terminology or standards? I was thinking of setting them up to atompro's, if they can handle the bandwidth 5k ppr.
Reply With Quote

  #2   Ban this user!
Old 06-06-2010, 03:55 PM
 
Join Date: Feb 2010
Location: USA
Posts: 272
mattbesquare is on a distinguished road

As usual, I keep reading into things after posting-

so my encoder has:

A
B
Z
A/
B/
Z/
Sensor 5V
Sensor 0v
/
(/)/(UAS/)
0V
Shield


So, if I powered up this little bad boy, and only monitored ABZ, would I only have a four position/directional encoder per 360 degrees of rotation?

A/,B/,Z/ I read somewhere that these are the middle points of the wave, so to put in simpler terms 0+45 degrees for pulses (45, 135, 225, 315 degrees)

what the heck is the "/" channel?!? though,

I and using ROD 476 encoders from heidenhain. And Al (thank you so much) was the only kind soul to give me pinout info on these (I have a bunch)...even Heidenhain didnt get back to me with info on these.

Can anyone correct me on these assumptions?

Also, I am confused why as to why these are called 5000ppr encoders...wouldn't TTL imply a required base 2 (binary) output resolution?
Reply With Quote

  #3  
Old 06-06-2010, 06:33 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

The Basic encoder pulses are A & B with Z being a one/rev marker pulse.
The /A etc pulses are complements of the main ABZ, this means that when each of the ABZ pulses occurs the /A /B /Z are of the exact opposite polarity, this is called RS422 differential TTL transmission, which is a noise reduction standard.
You can use them in the single ended mode by just using ABZ, this has no effect on the resolution at all.
If they are 5000 pulses per rev encoders, this means that the A pulse and the B pulse each have 5000 pulses/rev.
The two are shifted to 90deg apart, hence quadrature encoder, some controllers will take the natural quadrature count and multiply it by either x2 or x4 by using the leading and trailing edges of each pulse.
so yours could be used at up to 5000x4 = 20,000p/rev detection.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.

Last edited by Al_The_Man; 06-06-2010 at 07:21 PM.
Reply With Quote

  #4   Ban this user!
Old 06-06-2010, 10:02 PM
 
Join Date: Feb 2010
Location: USA
Posts: 272
mattbesquare is on a distinguished road

Originally Posted by Al_The_Man View Post
The Basic encoder pulses are A & B with Z being a one/rev marker pulse.
The /A etc pulses are complements of the main ABZ, this means that when each of the ABZ pulses occurs the /A /B /Z are of the exact opposite polarity, this is called RS422 differential TTL transmission, which is a noise reduction standard.
You can use them in the single ended mode by just using ABZ, this has no effect on the resolution at all.
If they are 5000 pulses per rev encoders, this means that the A pulse and the B pulse each have 5000 pulses/rev.
The two are shifted to 90deg apart, hence quadrature encoder, some controllers will take the natural quadrature count and multiply it by either x2 or x4 by using the leading and trailing edges of each pulse.
so yours could be used at up to 5000x4 = 20,000p/rev detection.
Al.

Perfect, perfect, perfect... this is what I was looking for. I googled for like 4 hours and couldn't find out how the counts were multiplied and worked it out in my head last night trying to fall asleep. I was wrong, but this is what I needed to know.

Can you tell me what the "/" line is for that diagram? Is that something to do with phase offset? Everyone uses their own nomenclature...
Reply With Quote

  #5  
Old 06-07-2010, 08:52 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

It is a way of showing the complement or opposite, the bar should actually be horizontal line above the letter, but the easiest way with a normal keyboard is to use a "/".
Quote:
Logical complement In Boolean algebra, the logical complement or negation of a Boolean value is the opposite value, given by the following truth table: A | -A --+--- T | F F | T -A is also written as A with a bar over it or with a small vertical line hanging from the right-hand end of the "-" (LaTeX \neg) or as A'. In the C programming language, it is !A and in digital circuit design, /A. (1995-01-24). Source: The Free On-line Dictionary of Computing..

The way differential works is that at the receiving end the signals have to be 1 positive going pulse for every negative going pulse, it is reasoned that if EMI is imposed on the wiring, it is extremely unlikely that the EMI will impose both a negative signal and positive signal simultaneously on each conductor.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.

Last edited by Al_The_Man; 06-07-2010 at 09:17 AM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-07-2010, 06:14 PM
 
Join Date: Feb 2010
Location: USA
Posts: 272
mattbesquare is on a distinguished road

So why have a line dedicated to "/" or it could be an italic L... in the diagram, pin 9 uses it alone, pin well, what should be 13 is labeled "/" and pin 9 has it because it is the shield, so it should be ground... correct?

I would get if that is what they use for ground, but then could you possibly explain to me what pin 7 means in the top table?
Reply With Quote

  #7  
Old 06-07-2010, 10:25 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

Pin 9 is shown as shield in the case the / is just meant to indicate there is no colour.
Could be a Little misleading I guess.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial kal_pesh GibbsCAM 0 05-08-2010 06:26 PM
Newbie- Tutorial AngelT ArtCam Pro 5 09-02-2008 12:37 PM
tutorial qmas99 Esprit 6 09-18-2007 10:14 AM
CNC Tutorial Blacksunshine DIY-CNC Router Table Machines 3 03-30-2007 01:51 PM
How to tell if my motor is Pulse encoder or quadrature encoder? Darc Servo Motors and Drives 0 07-22-2005 03:51 AM




All times are GMT -5. The time now is 01:50 AM.





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