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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-05-2005, 09:35 AM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road
DIY digital readout

Following on from this thread I have thinking about building a DRO based on rotary encoders and the software available over here.
The biggest problem I can see is how to mount the encoders to the axis (assuming 3 axis knee mill for now). I have read about using fishing line to rotate the encoder, and someone even used a mouse mounted to an axis and used the mouse' own encoders for the DRO.
What I have in mind would be similar, I am thinking along the lines of a rubber wheel attatched to the encoder, and having the movement of the tables turn the wheel, therefore rotating the encoder. Obviously there are some issues with swarf or the rubber wheel not gripping efectively (either not enough grip or too much to damage the encoder). But what do you guys think?
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #2  
Old 02-05-2005, 12:26 PM
Gold Member
 
Join Date: Dec 2004
Location: Newtown, CT, USA
Age: 68
Posts: 517
lerman is on a distinguished road

I'm working on a similar project using linear encoders (www.usdigital.com). The 500 CPI (2000 counts per inch) encoders are $4 per inch plus $28 (I think) for the head.

When I called usdigital to ask about the precision of the encoder strips, I was told that they are as exact as you could hope to measure them. Of course, the material you mount them on is going to change size with temperature, but that is well within the precision I'm interested in.

I've purchased a 7" strip that I will use for my prototype. So far, I've got most of the components machined, but am no very happy with the polypropylene (that I had lying around) for the slide. I'll probably order some delrin and try that.

For a display, I have a 4 digit up/down counter (K129) that I ordered from http://kitsrus.com. That was around $25. It uses an Atmel processor and I plan to write code for it that will convert it from an up/down counter to a quadrature counter. Four digits will be fine for my 7 inch axis. After I have it working, I'll build my own board with 5-1/2 digits.

The slide will be enclosed in a track made of 1/4 inch aluminum and travel on 1/2 inch stainless rod. It measures 2-1/2 by 1-1/2 by 10 inches (the track length plus 3). This is probably overkill for my 7 inch encoder, but I think will be very nice for the larger ones needed for the X and Y axes. (The linear encoders are available in lengths up to 34 inches.)

Ken
__________________
Kenneth Lerman
55 Main Street
Newtown, CT 06470
Reply With Quote

  #3   Ban this user!
Old 02-05-2005, 04:09 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

I think a rubber wheel won't be accurate enough because the diameter would change with pressure. That will change your counts per inch.

Take a look at the rollers on a band saw. When clamped hard enough, the rollers will move with the blade without sliding.
It would be a simple matter to use the same principle to rotate a 3/8" shaft with a disk on it.

I still favor the use of an optical mouse sensor for the pickup because of the high resolution and the fact that the disk can be made of any non-mirror material. There is no need for a slot pattern.

Instead of using a PC, why not just use a microcontroller and LCD? A 2 line by 16 char is easily purchased for less than $15. I like the atmel AVR controllers. Free software, trivial circuit board and it can be programmed by hanging 4 wires off your parallel port.
Attached Thumbnails
Click image for larger version

Name:	saw.jpg‎
Views:	167
Size:	89.3 KB
ID:	5076  
Reply With Quote

  #4   Ban this user!
Old 02-05-2005, 05:22 PM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road

Thanks guys, since I already have a "spare" pc in the garage, it would be daft not to hook it up. Lcd's aren't that cheap over here
Secondly, I have already tossed out the rubber wheel idea, and am contemplating the use of the wire betwen bearings or a mini timing belt system. The encoders I have on hand are only 128 CPR, so if I use a pulley system such as the timing belt, I can gear up the encoders for a greater resolution - higher than if they were simply rolled across the surface of the table. I am learning/thinking a lot as I go through this one, keep the ideas coming!
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5   Ban this user!
Old 02-06-2005, 12:35 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

The steel cable would be my second choice. I prefer the pinch roller system because it is possible to produce a much higher contact force so that there is less chance of slipping.

128cpr seems a little low. It would need to be geared up at least 8 times to get any usedful readings. It would take several pulleys/precision bearings. Over here, the cheapest optical mouse goes for about $13.00. I don't think a pulley mechanism can be made for less.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-06-2005, 02:16 PM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road

If I have a shaft diameter of 3.2mm, then the encoder shuld put out 128 counts over a circumference of around 10mm. Equates to 0.08mm resolution. If the program takes into account the quadrature reading, it brings it down to 0.02mm resolution. I can live with that. The mechanical advantage of using the two bearings bolted on the non-moving part of the table as seen over here should bring it down to 0.01mm resolution. I see what you are saying, but I have the bearings kicking around somewhere, and the encoders, and erm.....need to buy the cable only.
Now then, back to the pinch roller system, my mind is elsewhere at present, can you expand on how it would be setup?
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #7   Ban this user!
Old 02-06-2005, 03:49 PM
 
Join Date: Jul 2003
Location: NE Ohio
Posts: 167
jimbo is on a distinguished road

I dont see how one can increase resolution beyond that of what the encoder can do, ie. the 128 cpr.

Never mind. It was stupid question.
Reply With Quote

  #8  
Old 02-06-2005, 03:53 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by jimbo
I dont see how one can increase resolution beyond that of what the encoder can do, ie. the 128 cpr.
Apart from gearing, the leading and trailing edges of the quad count can be used to multiply the resolution by 4 times.
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

  #9   Ban this user!
Old 02-06-2005, 03:58 PM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road

jimbo, by using pulleys and the cable system, you can double the length of the cable that passes the encoder for a given table movement. I didn't understand it myself until I did a google for "mechanical advantage" which will explain all about pulley configurations.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #10   Ban this user!
Old 02-06-2005, 04:14 PM
 
Join Date: Jul 2003
Location: NE Ohio
Posts: 167
jimbo is on a distinguished road

Thanks for the responses. For a second I was thinking that gearing would somehow increase the encoder cpr. Cant change the counts per rev, so by adding gearing introduces more revolutions, and hence more counts for a given distance.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-06-2005, 05:21 PM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,357
Bubba is on a distinguished road

Jimbo,
If you look at the crappy diagram at the bottom of my web page (The cable should show all across the top of the diagram), and follow how the cable is run, it may become semi clear.

Think of it as a block and tackle. By doing this repeatadly, it can dramaticly increase the length of the cable that runs over the the encoder shaft. You have to be sure to place the encoder shaft at the correct location (so the maximum cable goes over it) or you will not increase the advantage.

http://bellsouthpwp.net/A/r/Arts_home_page/DRO1/
__________________
Art
AKA Country Bubba (Older Than Dirt)
Reply With Quote

  #12  
Old 02-07-2005, 04:09 PM
MrBean's Avatar
Gold Member
 
Join Date: Oct 2003
Location: UK
Posts: 593
MrBean is on a distinguished road

I've been reading this thread with great interest. I found some encoders in some printers I dismantled the other day and was wondering if they'd be of any use for a DRO project. I know next to nothing about encoders so I've attached a picture. The disk is about 40mm Diameter, 96 slots, (not many). If it's quadrature, does that make it effective 384 CPR? How can I tell if it's quadrature? Also, as mentioned in this thread, I could use gearing to increase the resolution.

Do these look worth experimenting with, or would they look better in the bin?

Regards Terry.....
Attached Thumbnails
Click image for larger version

Name:	enc.jpg‎
Views:	196
Size:	59.0 KB
ID:	5107  
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
Digital photography help.... DAB_Design CNCzone Club House 21 05-20-2005 10:07 PM
University Digital Electronics Class Project. wholepair Stepper Motors and Drives 4 04-26-2005 11:49 PM
godon mini diy cnc uucww DIY-CNC Router Table Machines 5 04-15-2005 10:14 PM
Digital Stop Mechanism polyhedron12 CNCzone Club House 0 02-20-2005 08:54 PM
OPEN SOURCE DIY CNC "thing" High Seas DIY-CNC Router Table Machines 45 05-01-2004 12:53 AM




All times are GMT -5. The time now is 11:21 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 354 355 356 357 358 359 360 361