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 12-05-2008, 09:38 AM
 
Join Date: Sep 2008
Location: UK
Posts: 125
andypugh is on a distinguished road
Very cheap spindle encoder idea.

I am converting a Chinese 9x30 lathe to CNC. (http://www.cnczone.com/forums/showth...t=63621&page=2)
I want to be able to cut threads, so I need a spindle position encoder.
The lathe uses a pair of sealed bearings for the spindle, so the outside of the spindle shaft is in open air in the head casting.
I am thinking of simply laser-printing two black/white tracks (20 pulses per rev + index) onto paper, wrapping this round the spindle with tape, and then using a pair of Optek OPB702 reflective sensors to watch the stripes go round.

Is there any reason this won't work? My first thought was a machined aluminium disc, but I suspect my inkjet printer can print tracks more accurately than I can machine a codewheel, and this approach saves me dismantling the head.
Reply With Quote

  #2   Ban this user!
Old 12-05-2008, 10:00 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Years ago I did a similar thing but it was lines drawn with a drafting pen; laser printers were not even a gleam in anybody's eyes back then.

If your reflective sensor are not already shrouded make a housing so they are looking through a slit about the same width as your lines. This gives crisper definition to the signal.

Also, surely 20 pulse per rev is a bit coarse? One pulse every 18 degrees.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3  
Old 12-05-2008, 10:37 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

Have you considered putting an encoder inside the spindle compartment and using a encoder pressure wheel against the spindle itself? the compartment is a relatively clean and protected environment.
BTW, you only need one reading head, unless you want to indicate direction, or up the resolution by using the multiple edges (80 counts/rev).
Oops, yes you need one for marker.
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

  #4   Ban this user!
Old 12-05-2008, 10:38 AM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Andy,

I cut an encoder wheel on my cnc router with 100 holes plus index. I am using it on my 9x20 spindle. You can see the build up of the spindle encoder here starting at message 48 and following intermittently through the thread.

Alan
Attached Thumbnails
Click image for larger version

Name:	SpindleEncoder05(c).jpg‎
Views:	133
Size:	53.7 KB
ID:	70972   Click image for larger version

Name:	EncoderSupportPlate06(c).jpg‎
Views:	154
Size:	86.8 KB
ID:	70973  
__________________
http://www.alansmachineworks.com
Reply With Quote

  #5   Ban this user!
Old 12-05-2008, 10:49 AM
 
Join Date: Sep 2008
Location: UK
Posts: 125
andypugh is on a distinguished road

Originally Posted by Geof View Post
Also, surely 20 pulse per rev is a bit coarse? One pulse every 18 degrees.
I believe it is possible to thread with only an index pulse, so the extra track is just to track in-cycle speed variations. Certainly it would be insufficient if the software was using the pulses to advance the tool, but EMC2 has a prediction algorithm.
I was trying to minimise the requirement for high-speed switching electronics and parallel port bandwidth. However having just calculated that my computer worst-case latency of 18uS allows me at least a million pulses per rev at 3000rpm, I might go for a finer resolution.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-05-2008, 10:51 AM
 
Join Date: Sep 2008
Location: UK
Posts: 125
andypugh is on a distinguished road

Originally Posted by acondit View Post
I cut an encoder wheel on my cnc router with 100 holes plus index.
I hit a bit of a bootstrapping problem there :-) I can't CNC machine parts until I have finished the conversion.
Reply With Quote

  #7   Ban this user!
Old 12-05-2008, 10:54 AM
 
Join Date: Sep 2008
Location: UK
Posts: 125
andypugh is on a distinguished road

Originally Posted by Al_The_Man View Post
Have you considered putting an encoder inside the spindle compartment and using a encoder pressure wheel against the spindle itself?
Inside the compartment is where I intend to put the encoder (it is also nice and dark in there). However surely a pressure wheel would be very unlikely to run at exactly the same speed as the spindle, leading to a disasterous cumulative pitch error when threading?
Reply With Quote

  #8   Ban this user!
Old 12-05-2008, 11:08 AM
 
Join Date: Sep 2008
Location: UK
Posts: 125
andypugh is on a distinguished road

Looking at that encoder wheel above, it occurs to me that with reflective sensors you could make an encoder wheel very easily indeed out of an inkjet printable CD. In fact I might consider that possibility for making absolute encoders for my ballscrews.
Reply With Quote

  #9  
Old 12-05-2008, 11:12 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by andypugh View Post
However surely a pressure wheel would be very unlikely to run at exactly the same speed as the spindle, leading to a disasterous cumulative pitch error when threading?
Encoder pressure wheels are often used in industry in flying shears etc, A few of the encoder manuf, make such items for this application.
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

  #10   Ban this user!
Old 12-05-2008, 11:44 AM
 
Join Date: Sep 2008
Location: UK
Posts: 125
andypugh is on a distinguished road

Originally Posted by Al_The_Man View Post
Encoder pressure wheels are often used in industry in flying shears etc, A few of the encoder manuf, make such items for this application.
I am sure that they are great for measuring out a fixed length of material, but they don't seem ideal for the spindle encoder of a lathe.
Actually, it might work, as during a thread cutting operation the spindle probably only goes round a few hundred times so if the roller and spindle diameters are within a couple of thou the cumulative error in the thread starting position will be only a few degrees, which is probably OK.

Nevertheless, if this idea doesn't work then Plan B is a machined/drilled aluminium disc machined in two parts to clamp round the spindle.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-05-2008, 11:49 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Slip should not be a worry so long as it was constant; not a worry for threading that is because the spindle does not reverse. It would be a different situation for rigid tapping.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #12   Ban this user!
Old 12-05-2008, 02:06 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by andypugh View Post
I hit a bit of a bootstrapping problem there :-) I can't CNC machine parts until I have finished the conversion.
Maybe, if you asked nice, someone else who has done it before would cut a wheel for you. PM me if interested.

Alan
__________________
http://www.alansmachineworks.com
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
idea for cheap but very accurate linear scale henry_phd CNCzone Club House 1 10-17-2008 11:04 AM
cheap linear bearing idea... billyinks DIY-CNC Router Table Machines 4 04-12-2008 03:21 PM
Drill+encoder = cheap servo? sandos DIY-CNC Router Table Machines 11 04-26-2005 01:58 AM
Here's an idea for a cheap bellows style ballscrew cover DR-Motion DIY-CNC Router Table Machines 31 02-16-2005 04:00 PM
Servo idea: Windscreen-wiper motor w. homemade encoder Evilness DIY-CNC Router Table Machines 2 05-03-2004 01:24 PM




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