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! > Other Machines > Digitizing and Laser Digitizing


Digitizing and Laser Digitizing Discuss Digitizing parts via Laser or otherwise here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-14-2004, 08:28 PM
duluthboat's Avatar  
Join Date: Sep 2003
Location: United States
Posts: 363
duluthboat is on a distinguished road
Question DIY encoder for digitizing

Question, how many CPR are on the smallest diameter of an everyday CD?
Question, can this cheap technology be used to build a high resolution encoder?

Gary
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 09-14-2004, 09:04 PM
ToyMaker's Avatar  
Join Date: May 2003
Location: United States
Posts: 325
ToyMaker is on a distinguished road

Interesting idea.
Raw data comes off a CD at something like 44kHz. The drive motor is in a servo loop such that the disc passes under the head at a constant rate, a process called constant linear velocity (CLV). When the read head is near the inside edge the disc spins fast (>300 rpm?), and when near the outside edge it is slow (~100 rpm?). Because there is only one track on a CD (similar to a phonograph record) there would have to be a way to step the head out each revolution.
If you could record a (very) constant tone so that there were a known number of wavelengths per revolution, couple the shaft to your cnc machine, and count wavelengths, the whole thing just might work.
I think the index step each revolution might be the big gotcha.

robotic regards,

Tom
= = = = =
"Some politicians like to move their lips, and apparently, some lips like to move politicians."
- - Shan Jones
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-14-2004, 10:16 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

How high of resolution do you want? Something I've wondered about is using the gear sets out of RC servos to increase resolution. I'm not sure what the ratio is but it could easily be greater than 32:1. It would be fairly easy to make a disk with say 32 quadrature cycles on it, at a ratio of 32:1 that would be 1/1024 or .0009. I'm sure there is some downfall to this idea, just don't know what it is. Nylon gearsets are available for less than $4.

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 09-14-2004, 11:47 PM
duluthboat's Avatar  
Join Date: Sep 2003
Location: United States
Posts: 363
duluthboat is on a distinguished road

I would like 100,000 pluses per revolution, 200,000 would be better. That makes the standard optical disk unrealistically large; under 2” would be OK for a diameter.

I looked at using gears and at first they look like a good option but even the ones that say they are zero backlash, have only 1.5 arc min. accuracy.

There are very small high resolution encoders, but I can not afford them. With all the inventive people on this forum we should be able figure something out.

Gary
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 09-15-2004, 06:37 AM
 
Join Date: May 2003
Location: UK
Posts: 340
Graham S is on a distinguished road

The fact that the dots on the CD form a spiral means it is a no-no as far as I can see. Although CD players are cheap they are modern marvels of control technology in the way they track etc.

Harmonic drives are one way to get true zero backlash gearing but looking at Faro patents it does seem that they use just small and expensive encoders.

One thought I had was to run a cord from the base of one arm portion to the tip of the next and wrap this multiple times around the shaft of an encoder that was springloaded, the extension and retraction of the cord would create multiple revolutions of the encoder, however this would be messy and possibly difficult to calibrate.

Graham
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-15-2004, 08:50 AM
ToyMaker's Avatar  
Join Date: May 2003
Location: United States
Posts: 325
ToyMaker is on a distinguished road

The best trade-off for resolution v. price I can think of is an optical mouse. At <USD10 and 400 ticks/inch it's not too shabby (are there higher res OM out there?).
A 3.1416 inch diameter disk produces 4,000 counts/revolution at the perimeter. That's 11.11 counts/degree or about 5.4 arc-min/count (if my arithmetic is any good).
Even though that's only 1/25 of the goal of 100k counts/rev the price is attractive.

robotic regards,

Tom
= = = = =
"We have civil engineers; too bad we can't engineer civility."
- - Dennis R. Ridley
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 09-15-2004, 09:37 AM
 
Join Date: May 2004
Location: United States
Posts: 60
Cliff_J is on a distinguished road

A quick idea - has anyone found out more of the method of detection used by the higher resolution encoders? They don't use a simple slot system but rather a special pattern and multiple detectors to sense each movement. Is there a term for this science as some sort of geometric or physics to research?

How about some sort of 2D barcode scanner that could read a disc printed with a special pattern? If we could truly print at 1200dpi or 2400dpi on a laser printer on clear stock this sounds like a true budget dream, one person could print multiple wheels on a sheet for a few bucks and easy to mail. When I subscribed to Forbes magazine they sent out a barcode scanner, some sort of mouse device. You were supposed to be able to scan a barcode in ads and get web info from the advertiser. It was a flop and the units were sold as surplus later on (from what I can tell) but some high schools and colleges used the things to teach kids about bar codes and it was opensource. Another $10 idea but this one might be feasible to get real precise....

Cliff
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 09-15-2004, 11:09 AM
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?

I am not sure if you mean incremental encoders above around 100p/turn, below around 100p/turn the light/photo source can differentiate between the individual slots, above that a light/photo source does not work due to the very narrow slot, high resolution encoders still use a slot grating chrome plated or photo etched into the glass This applies to both rotary and linear types.
Above a certain resolution a phenomena known as the moire effect is used. ( I dont profess to know the physics behind the moire effect).
But you may have observed this when light shines through a fine mesh or sheer drapes etc, you can observe a swirling pattern effect ( no I wasn't smoking anything)!.
In a fine graticule encoder e.g. 1000 p/rev, a small piece of grating material is carried by the moving photo head assy and is slightly skewed in relation to the main grating. The effect is, that due to the moire effect, the photo reciever now *sees* an alternating light-dark band, the width of each band is around half the verticle height of the grating, the alternating bands move like a shutter, perpendicular to the direction of motion, i.e. on a linear scale, if the head is moving in a horizontal direction the 'shutter' appear to be rotating up or down,depending on the direction of movement.
This is obviously much wider than the space between the grating, the band will change from light to dark for one increment of the scale.
I hope I have put this in some meaningfull way, but it is one of those
things that is easier with pictures.
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 09-15-2004, 02:56 PM
 
Join Date: Apr 2004
Location: United States
Posts: 16
KissSys is on a distinguished road

Well I've been reading this thread from day one and have enjoyed it greatly, I guess its time I put in my 2 bits worth to keep this going.

If some computer guru could burn the same 2bit grey code onto a pocket CD we could mount two laser diodes to read the bits just as in a typical optical encoder. The CD rom itself would not be used and the disc would move just like an optical encoder but hopefully with more steps.

Even better would be to burn a 16 bit grey code radially and have an absolute encoder.

Steve
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 09-15-2004, 04:15 PM
*Registered*
 
Join Date: Apr 2004
Location: Norway
Posts: 678
ESjaavik is on a distinguished road

Al, I think the moiré effect is also used by having a graticule with a slightly different spacing than the disk. If you have 2 disks, one with 1000 lines/rev, and one with 1001 lines. When viewing through both one side will be completely dark 0% light, the other side 50% dark. In between you will have 0-50% dark. Here is an example of a linear scale:

http://www.sjaavik.com/CNC/images/moire_effect.gif
(Why doesn't IMG tags work here?)

The upper row of lines are spaced 4.08mm, the lower one 4.00mm and the lines are 2mm wide. There are the same number of lines in each row. Now if you scan over the lines left to right, within 25 lines there is complete darkness and going further 25 lines you're back to 50% darkness. (There is no brighter than 50% because the lines and the spacings are equal.

Do you know why people wearing striped suits or ties make the TV production crew cry? It's because they know the moiré effect will make it look awful with lots of strange color artifacts.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 09-15-2004, 04:28 PM
*Registered*
 
Join Date: Apr 2004
Location: Norway
Posts: 678
ESjaavik is on a distinguished road

You want high resolution? Well then take the signal from the phototransistor in the encoder and don't shape it to a logic Hi/Low, but buffer it and run it to an analog input of a microcontroller (or PC). Now you will be able to distinguish not only bright (line 0-12 in my example) or dark (line 13-25). You can also find how dark it is. The position resolution could in theory approach number-of-lines times bits-of-DAC-resolution.

So with an AVR ATtiny15 chip costing $3-4 you multiply the encoder resolution with 1024. This is assuming a lot of things not being there in real life, but let's say you can multiply it by 200, even that is not bad. You would probably have to make a lookup table as the output from the phototransistor during constant speed motion will be more like a sinewave than a triangular wave.
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 09-15-2004, 04:47 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?

Originally Posted by ESjaavik
Al, I think the moiré effect is also used by having a graticule with a slightly different spacing than the disk. If you have 2 disks, one with 1000 lines/rev, and one with 1001 lines. When viewing through both one side will be completely dark 0% light, the other side 50% dark. In between you will have 0-50% dark.
Evidentally it will also work with gratings of the same spacing as shown in this technical paper, where you can copy two exact gratings for demonstration purposes. http://claymore.engineer.gvsu.edu/~j.../cont_sens.pdf
Also the shutter effect can be seen if a 'dead' encoder with the disc exposed but the head still present is held up to reflective light and the shaft is turned.
I still remember working on old linear scales by Ferranti that had a 15watt incandescant lamp in them and every time you changed a lamp the sine/cosine relationship between the heads had to be adjusted using a 'scope.
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

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
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
DIY digital readout kong General Electronics Discussion 21 02-08-2005 05:54 PM
Need encoder recommendation Swede General Metal Working Machines 9 10-05-2004 09:01 PM
Encoder wiring balsaman Gecko Drives 15 12-30-2003 12:01 PM




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