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 > UHU Servo Controllers



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-13-2008, 11:01 PM
 
Join Date: Feb 2008
Location: earth
Posts: 501
cnc2 is on a distinguished road
Thumbs up Encoders & their wiring to the UHU servo controllers

Hi everybody !

I meant this thread for collecting information about the different encoder models used with the UHU, their price, reliability & the way they are connected to the UHU. (direct connection or through a differential interface ?)

Feel free to post your wiring diagram !

Here's what i found on the net as a DIY alternative :

1) http://users.on.net/%7Emerrifield/opto/index.html it's an optical incremental quadrature encoder i think it has a 5V output, TTL ?

2)Maybe the end of expensive encoders for UHU servo driver board didn't try it yet & have no idea if it can work.


As i'm not an electronician i ain't sure this will work with the UHU so, if you know the answer let us know !


Thanks !
cnc2.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 07-14-2008, 12:12 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Those are both crude low resolution encoders, the second link appears to be ~80p/rev, which would come out to ~320p/rev after x4 conversion.
a 1200p/rev (before x4) encoder would require a huge diameter wheel using this technique.
In order to make a compact hi-res encoder, it requires a bit of smoke and mirrors called the Moiré effect grating.
A search in the forums will show an explanation.
A 26LS31 can convert to differential line drive for a $1 or so.
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

  #3   Ban this user!
Old 07-14-2008, 09:08 AM
 
Join Date: Dec 2005
Location: netherlands
Posts: 301
vroemm is on a distinguished road

A few years ago i have been playing around with making a DIY encoder.
Made a drawing of a encoder disk with qcad.
Had it printed on transparent foil at a copyshop.
Here is part of the result, with pictures.
http://home.wanadoo.nl/vroemm/cnc/encoder/index.html

A other possible way to make encoder wheels:
Take a big white paper, like 1 x 1 meter.
Draw a very big encoder wheel on it.
Take a 6x6 cm photo camera, which has slides or negatives of 6x6 centimeter.
There must be a lot of 6x6 cameras around doing nothing, because of the digital cameras revolution.
Put high resolution (?) slide film in it.
Take a few photos with it of the paper with the encoder wheel.
Develop the film.
Then you have a encoder wheel, but how good will it be ?
A lot depends on the quality of the lens.
Some questions remain open, like:
How expensive is 6x6 slide film ?
How expensive is it to develop the film ?

Other tip.
Put the light sensors and leds on a line in the direction of the center of the encoder wheel.
This reduces the errors in pulse width.

Vroemm.
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 07-14-2008, 09:48 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Did you happen to test the 50mm 500 line? How successful was it?
The usual problem is the line density is too high for a conventional photo cell arrangement to read.
For example the line spacing on 500 line, 50mm disc will be around .0065" or .165mm.
This is going to make it almost impossible for common photocell transmitter/receiver to distinguish between the lines.
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

  #5   Ban this user!
Old 07-14-2008, 11:38 AM
 
Join Date: Jan 2005
Location: India
Posts: 1,056
contactirfu is on a distinguished road

Hi Guys,

I have with me the US digital ones the mini's EP4's I think, at 250ppr they are low res. but still i think will work for me, when I bought them it was like 17 usd now they are 30+,

have to see if they are good for my router or I need to switch over to the 500ppr or more.

and yes I made the Differential line drivers using the 26LS31 based of schematic on the US digital website.

RGDS
Irfan
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-14-2008, 01:29 PM
 
Join Date: Dec 2005
Location: netherlands
Posts: 301
vroemm is on a distinguished road

Originally Posted by Al_The_Man View Post
Did you happen to test the 50mm 500 line? How successful was it?
The usual problem is the line density is too high for a conventional photo cell arrangement to read.
For example the line spacing on 500 line, 50mm disc will be around .0065" or .165mm.
This is going to make it almost impossible for common photocell transmitter/receiver to distinguish between the lines.
Al.
It is a long time ago.
I used CNY37 led barriers.
And i got a sinus like signal floating somewhere between 0 and 5 volt.
A comparator made it into a square wave.
There was instability in the signal, never found out if it mattered.

Then i stopped experimenting, other priorities :-)
It never was used to actually control a servo motor.

Still interesting puzzle to make a encoder, my hobby hart itches again, but lots of other things to do. :-)

Could a laser from a old cd player be used ?
It has a much narrower beam, i think.

Vroemm.

Last edited by vroemm; 07-14-2008 at 02:03 PM. Reason: Removed text 'I think', because it was a CNY37.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-14-2008, 08:11 PM
 
Join Date: Feb 2008
Location: earth
Posts: 501
cnc2 is on a distinguished road

Originally Posted by Al_The_Man View Post
Those are both crude low resolution encoders, the second link appears to be ~80p/rev, which would come out to ~320p/rev after x4 conversion.
a 1200p/rev (before x4) encoder would require a huge diameter wheel using this technique.
In order to make a compact hi-res encoder, it requires a bit of smoke and mirrors called the Moiré effect grating.
A search in the forums will show an explanation.
A 26LS31 can convert to differential line drive for a $1 or so.
Al.
Thanks for the reply Al !

For the second link, if you enlarge the picture you will see that the encoder wheel isn't the toothed gear but a 50mm plastic disk stuck (glued) on it, it has so many lines that they appear to be a grey band, you can distinguish the lines if you look at a lamp bulb through the disk, it's 200LPI (i think it stands for Line Per Inch) & 1200CT (count).

I was thinking about using this disk with a mouse sensor, but i ain't sure it can detect such a thin lines ?

About the 26LS31 can you post a pinout or a diagram for connecting it to an encoder ?

Thanks !
cnc2.

Last edited by cnc2; 07-14-2008 at 08:44 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 07-14-2008, 09:13 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

The link for the data sheet is one http://pdfdata.datasheetsite.com/web/58498/26LS31.pdf
Example hookup would be:
Pin1 = Ain
Pin2 = Aout
pin3 = /Aout
pin4 = 5v+
pin5 = /Bout
pin6 = Bout
pin7 = Bin
Pin8 = Gnd
pin9 = Zin
pin10 = Zout
pin11 = /Zout
pin12 = NC or GND
pin13,14,15 spare fourth channel
pin16 +5v
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

  #9   Ban this user!
Old 07-14-2008, 10:11 PM
 
Join Date: Feb 2008
Location: earth
Posts: 501
cnc2 is on a distinguished road

Thanks Al !

An encoder like the digikey amt102 has A & B channels, what about the /Aout & /Bout.
from what i uderstand Ain is from the encoder before the diferential interface & Aout is from the diferential interface to the UHU, am i right ? but what about the /Aout (not Aout ?) is it needed for the UHU ?

Zin, Zout & /Zout can be used for an index channel, am i right ? so, if i don't have an index channel Z won't be used ? like the remaining fourth channel.

Is there any redy made layout for such an interface or a bread board will do the job ?

Thanks !
cnc2.
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 07-14-2008, 10:21 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

The advantage to differential driver comes when both A & /A etc are used for noise elimination on long conductor runs, if using only one output, you may as well use the single ended output direct as shown in the first link.
If you really wanted to use differential but only had single ended input at the receiver, a 26LS32 receiver could be used.
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

Sponsored Links
  #11   Ban this user!
Old 07-14-2008, 11:12 PM
 
Join Date: Feb 2008
Location: earth
Posts: 501
cnc2 is on a distinguished road

Thanks Al !

After verification the AMT102 from digikey has only A,B,Index,5V & GND. And i ain't sure if UHU uses (needs) /Aout /Bout.

is there any way of implementing the /Aout /Bout from Aout & Bout on the differential board before the 26LS31 ?

Else, how to make the differential interface assuming we only have A & B, 5V & GND (index isn't used by UHU) can i expect any noise elimination this way ?

Thanks !
cnc2.
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 07-14-2008, 11:25 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,475
kreutz is on a distinguished road

Originally Posted by cnc2 View Post
Thanks Al !

After verification the AMT102 from digikey has only A,B,Index,5V & GND. And i ain't sure if UHU uses (needs) /Aout /Bout.

is there any way of implementing the /Aout /Bout from Aout & Bout on the differential board before the 26LS31 ?

Else, how to make the differential interface assuming we only have A & B, 5V & GND (index isn't used by UHU) can i expect any noise elimination this way ?

Thanks !
cnc2.
The original UHU does not use differential signals, so your encoder seems to be OK.

In order to use a differential interface you need then a differential transmitter chip on the encoder side and a differential receiver chip on the UHU side. The interface cable should be shielded twisted pair (with 4 pairs minimum) for best results.

Regards,

Kreutz.
Tweet this Post!Share on Facebook
Reply With Quote

Reply

Tags
encoder, hpuhu, uhu




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
Need help finding servo controllers CreativeOffroad Controller Cards 7 01-16-2009 03:02 AM
Cheap stepper/servo controllers blackbeard52 Controller Cards 1 02-23-2008 05:36 PM
Help - wiring servos & encoders DYNO429 General Electronics Discussion 11 02-17-2006 04:40 PM
Gecko G320 Wiring Diagram w/servos and encoders CJL5585 Gecko Drives 0 11-18-2005 05:42 AM
Inconsistent (?) instructions for wiring encoders InsaneEPP Servo Drives 5 02-25-2005 02:04 PM




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