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 > Mach Software (ArtSoft software) > Mach Wizards, Macros, & Addons



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #13   Ban this user!
Old 10-01-2007, 01:56 PM
 
Join Date: Dec 2005
Location: Usa
Posts: 93
Horsedorf is on a distinguished road
Buy me a Beer?

Originally Posted by extrapilot View Post
-
1. I think you will find that this approach is very similar in concept to knock detection in modern automobiles/ecus. That is, you are looking for a vibration signature that is buried within a lot of machine noise.Rob

Wellll.. yes and no, right? I mean an engine knock sensor is a microphone that is not axis specific. While an accelerometer *IS* axis specific, so if you mount it to the spindle collar you can already guarantee that the vibrations you are detecting along the axis of interest is generated by the cutter.

Though the last time I did anything like this was over twenty years ago and it was only peripherally in that it was a side project in a company I worked for. I only listened into conversations about it. however, they used a dual 68000 based system running at 10mhz to implement it. I left before it was done so i don't know if they succeeded or not.
Reply With Quote

  #14   Ban this user!
Old 10-01-2007, 02:24 PM
 
Join Date: Apr 2007
Location: Greece
Posts: 7
efrag is on a distinguished road

thanks everyone for your input, I think I'm going to turn on PICs. Extrapilot thanks for the idea on "knock detection" I'm looking for it now.
Reply With Quote

  #15   Ban this user!
Old 10-01-2007, 02:41 PM
apache405's Avatar  
Join Date: Jan 2007
Location: USA
Posts: 197
apache405 is on a distinguished road

Horsedorf is right, some signal conditioning will help reduce the load on the stamp's program. maybe use some logic gates and an RC circuit tuned to the desired frequency that is detected. I think if you use a two channel AND gate with the accelerometer and the RC on the inputs, when the RC circuit and the vibration are at the same frequency the gate will open. That will create a high signal that the stamp could process. Then in software there could be a counter tied to a timer so that in effect you have a number of high outputs per second limit that would then trigger a high output to your controller or the keyboard interface.
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 10-01-2007, 08:51 PM
 
Join Date: Feb 2006
Location: US
Posts: 72
extrapilot is on a distinguished road

HD-

I dont think axis is really a factor in this. That is, this is a coupled system- would chatter always be in the same axis? What if you were cutting Y vs X, assuming a cut with the same 'side' of the cutter (now 90deg out of phase). Or, on a 45deg?

On the PIC stuff, this sort of work is not trivial. If all you are looking for is a peak acceleration, this is really simple- just use a nice opamp with the accel chip and charge a small cap in parallel with the ADC input on the PIC. But, I dont think that you can just say 'if accel voltage on X or Y axis > 2.64V then 'chatter detected.'' I hope Im wrong here and just a simple peak voltage detector alarm will work- and it might for a particular cutter/table geometry/stock combination. But I think you want a generic solution for different cutters (and flute counts), machine positions, and spindle speeds, which in combination implies substantially different chatter frequencies. I dont think you can count on any static RC filtering approach if the fingerprint can have 1+ order of magnitude difference in frequency. You are probably going to need to sample the noise as a large number of events and then use FFT or some other filtering approach to characterize it

Regards,
Reply With Quote

  #17   Ban this user!
Old 10-01-2007, 09:09 PM
apache405's Avatar  
Join Date: Jan 2007
Location: USA
Posts: 197
apache405 is on a distinguished road

The axis of motion is critical in acceleration because it is a vector. A subroutine in the software could be used to determine the magnitude of the vector using the Pythagorean theorem in 3D. That way it detects vibration in the three axises of motion of the spindle.
Oh and who said the RC circuit had to be fixed? With a digital pot, the circuit can be tuned in software to match the material/cutter.
Reply With Quote

  #18   Ban this user!
Old 10-01-2007, 10:15 PM
 
Join Date: Feb 2006
Location: US
Posts: 72
extrapilot is on a distinguished road

Apache

Im fairly certain that the line of inquiry here is 'is it feasible to use an accelerometer to detect chatter- and adjust Mach3's feed rate in a closed loop, without a lot of complexity?' So if that is correct, my perspective on this is- no, and probably not without dsp regardless. If one has to predefine resonance points per cutter/mill geometry, map that into a uC to control a digital pot, and then manually or digitally define the condition of the mill (cutter/spindle speed/stock/etc) for each change of configuration so that the uC can control the RC circuit tuning- that does not seem to me very practical- even if the chatter vibration is fully transmitted to the spindle vs. dissipated in the tool or stock/table (that is- the vibration at the accel chip is substantially above background noise).

Again, I could be horribly wrong in my assumption here- maybe chatter is always the same frequency regardless of config. That has not been my experience, however. I look forward to hearing the results of some tests- if it does work, it would be a nice failsafe

Best,
Reply With Quote

  #19   Ban this user!
Old 10-01-2007, 11:12 PM
apache405's Avatar  
Join Date: Jan 2007
Location: USA
Posts: 197
apache405 is on a distinguished road

Extrapilot:

Point taken.
Reply With Quote

  #20   Ban this user!
Old 12-27-2007, 07:53 AM
ProDrawerCom
 
Join Date: Apr 2006
Location: US
Age: 66
Posts: 362
IQChallenged is on a distinguished road
Question

Originally Posted by efrag View Post
Hi all,
I'm building a vibration sensor for mills and Lathes.
I'm using a basic stamp
I'm sure I'm the only one who doesn't know. But what's a "stamp"?
Reply With Quote

Sponsored Links
  #21   Ban this user!
Old 12-27-2007, 10:08 AM
 
Join Date: Dec 2005
Location: Usa
Posts: 93
Horsedorf is on a distinguished road
Buy me a Beer?

Originally Posted by IQChallenged View Post
I'm sure I'm the only one who doesn't know. But what's a "stamp"?
They are a small , dip package that runs basic. They are easy to program using a windows integrated development environement and the pins can be assigned as inputs or outputs. They know how to do things like I2c and a/d conversion and etc. The major problem with them is that they are relatively slow.
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
fanuc magnetic sensor keithmech Fanuc 11 05-04-2009 07:30 PM
magnetic sensor keithmech General Electronics Discussion 0 07-28-2007 06:04 PM
non ARC height sensor sunmix General Electronics Discussion 1 11-05-2006 11:51 AM
Help with Irda sensor on computer jtree83 Computers and Networking 0 04-17-2005 09:35 PM
Optical sensor... aghobby DIY-CNC Router Table Machines 1 09-08-2004 11:17 AM




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