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! > Machine Controllers Software and Solutions > Quickstep


Quickstep Discuss Quickstep software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-02-2007, 10:45 AM
 
Join Date: Sep 2006
Location: England
Posts: 1
alan T is on a distinguished road
Smile Webcam centre / edge / hole finder

Hi there from the UK. This is my first posting, apologies if it has already been covered but I've not seen it mentioned before on here?
I am a UK based clockmaker / model engineer with an extensive workshop incl Myford S7 and Centec 2A mill, both with Ortec digital readouts (no CNC as yet:-{{ )

Model Engineers Workshop, an excellent magazine published over here recently had a couple of articles on converting cheap Webcams into centre / edge/ hole and corner finding devices, similar to centering microscopes but displaying a highly magnified image of your component on a laptop screen. I have used centering 'scopes for years but they are often difficult to use in akward set-ups. This camera REALLY solves the problems.

It uses the lens and PCB of any cheapo 640 x 480 pixel webcam ( I used a cheap Logitech, about £10.00 US$20 ish.) Machining up a simple body and and adaptor to suit your spindle is real easy and the free software download gives you several options of crosshairs, circles, parallell lines and even a distance / angle measuring option!! There is also an optiion for LED illumination of the job.

I made one immediately, it took a day to make and I can honestly say it is the best machine accessory I have made for years, real easy and VERY ACCURATE :-}} Thoroughly recommended.

Check out www.miketreth.mistral.co.uk/centrecam.htm for full description and software download.

alanT

Last edited by alan T; 07-02-2007 at 11:59 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-02-2007, 11:38 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough

Your link has an error. You need .UK not .KK

There was a thread about this type of thing a while back but the one you link seems a more complete package and description.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-02-2007, 12:13 PM
 
Join Date: Apr 2005
Location: Sweden
Posts: 23
ISO Coder is on a distinguished road

Absolutley exellent hack.
But one thing that first came up in my mind, how do you make sure that the ccd centre ends up alined with the spindle centre, this is important if you cant put the camera oriented exactly in the same place in the spindle every time.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-02-2007, 12:44 PM
 
Join Date: Dec 2006
Location: USA
Posts: 2
SmartArt is on a distinguished road

All you need is to do is add a correction offset.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-02-2007, 12:49 PM
 
Join Date: Apr 2007
Location: USA
Posts: 1,137
harryn is on a distinguished road
Alignment method ?

Hi, That is a neat idea. I could really use something like that.

I looked at the pictures on the site. Very nice. This is probably obvious to an experienced machinist, but could you please provide a little more explanation of how to do the alignment of the camera so it is properly centered ? Thanks

OK, I read some more in the software area - that is a nice concept for alignment using the software.

Is it assumed that the camera will remain "aligned" if it is mounted slightly rotated from the original location ?

Any chance you are going to sell these ?

Take care

Harry
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-02-2007, 01:06 PM
 
Join Date: Dec 2006
Location: USA
Posts: 2
SmartArt is on a distinguished road

I hope I understand the process properly.
in principle, First, drill a small hole. Then, without moving in x and y use your webcam setup. The moves you do in order to center your camera are your offsets.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-02-2007, 02:00 PM
 
Join Date: Sep 2006
Location: England
Posts: 1
alan T is on a distinguished road
Webcam centre finder

Hi again,
I'm amazed at the number of replies so far, excellent and glad you like it.

As all my machines have No 2 Morse taper spindles, I machined all the body including the mounting hole at one setting to ensure mechanical concentricity and fitted a morse taper arbor so it always relocates accurately in the spindles. Alternatively, machine as above, fit a parallell arbor and hold the camera in a collet / end mill holder.

There is a facility in the software to align the CCD accurately. Simply put a hard centre in the machine spindle, bring it down hard on to a piece of scrap clamped in the machine to make a fine "centre punch mark" replace with the cam and align the crosshairs to suit, thus automatically resolving any offset problems.

I have performed repeated point, edge, corner and hole alignments and they have been spot on if you follow the info.

Of course, camera FOCUS and DISTANCE OF THE CCD FROM THE WORK SURFACE both have an effect on accuracy, especially if the CCD is "squinting" at the job ie. not dead square on but looking at an angle.

This is easily resolved by setting up in the first place using an accurate spacer block between the end face of the camera and the work surface. I use a standard 1 inch slip gauge block but any measurement around 1" will prove OK. Keep your block with the camera and ALWAYS use the same block for setting up.

When setting up, adjust the focus / height of the camera until the image on the screen just fills the box on the screen exactly. The camera MUST BE 640 x 480 resolution then 1 pixel equals 0.001"

Hope this helps. No real poiint in selling them, they are so easy and cheap to make and set up :-}} email me or post on here if you need any further help.

By the way, the software is a free download, it just has "Demo version" across the screen, but it is so neat it is well worth registering for his efforts and any future upgrades!! ( I have no connection whatsoever, just a satisfied end user.)

Best wishes,

alanT
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 08-21-2007, 12:23 AM
 
Join Date: Jan 2007
Location: canada
Posts: 65
scubasteve_911 is on a distinguished road

I'm currently working on the same sort of deal, but with less interface and more image processing. The program will have to run in Matlab, but it will take snapshots from any source and input the hole diameter range. Then, it will find the center of the circle automatically with the hough transform. After an offset is programmed in, it will be able to tell you the distance from center.

I have played around quite a bit, but I don't have the hardware built yet. After a lot of fooling around with relaxation parameters, I have gotten it to be very repeatable and provides accurate information about where the holes are located with respect to eachother. I will know for sure when the hardware is built and I can make real measurements. I will post the Matlab code if anyone is interested.

Regards,

Stephen M
Lakehead U
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 08-21-2007, 08:45 AM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,659
Blog Entries: 2
Switcher is on a distinguished road

How about this (Mach3)?

http://www.artsoftcontrols.com/forum...p?topic=2519.0


.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 08-22-2007, 06:52 AM
 
Join Date: Mar 2005
Location: ENGLAND
Age: 46
Posts: 1,655
Oldmanandhistoy is on a distinguished road

More and alternative information in this thread

Another Aussie Adventure in Optical Edge/Centre Finding

John
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-22-2007, 12:39 PM
 
Join Date: Jan 2007
Location: canada
Posts: 65
scubasteve_911 is on a distinguished road

Hey,

I have to critique this hardware solution in hopes of product improvement. First of all, is this a 1.3M optical sensor? These are readily available and would provide more accuracy at little extra cost.

Furthermore, the mount should include white LED lighting run off of the USB port or external power supply. I discovered through several tests that adequate lighting around the features was indisposable for feature recognition. It's the only good way to give enough contrast to distinguish fine lines and circles.

As a followup, attached is the result from the hole finding program I have started writing. I specified a particular pixel radius and it returns all found holes displayed as a picture with the guessed radius and centers.

Here are the X and Y coordinates of each hole found.

131.7250 269.2802
382.2941 261.6078
394.4105 101.8659
586.1414 96.4520

This is my no means an optimal setup and once I get the hardware finished (another month), then it will be clear whether or not the program will work.

Steve
Attached Thumbnails
Click image for larger version

Name:	some holes.jpg‎
Views:	332
Size:	29.1 KB
ID:	42499  
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 08-22-2007, 10:04 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,659
Blog Entries: 2
Switcher is on a distinguished road

You need to add a dimmer control to the LED lights, thats what we use on a Pro. setup at work, it works very good.

The reason for the dimmer control, is because of reflection of the light on some material.


.
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question About Edge Finder FLUTE HEAD Machine Problems, Solutions , Wireless DNC, serial port 16 09-29-2008 02:21 AM
Has anyone used this edge finder? l u k e General Metalwork Discussion 34 03-19-2008 02:52 PM
Laser edge finder dave6 Calibration & Measurement 9 12-10-2006 10:06 AM
anyone know where to get this optical edge finder? mbwittig General Metal Working Machines 6 10-24-2006 02:33 PM
Anyone have a edge finder G-code routine? InspirationTool General CNC (Mill and Lathe) Control Software (NC) 5 10-02-2006 08:48 PM




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