Inexpensive Accelerometer balancing, tool breakage, chatter detection

More
14 Sep 2022 19:25 #251927 by lrak
I was thinking about balancing a lathe chuck and ran into this:


Which reminded me of the programs on cellphones for doing vibration testing..

Which led to this:

www.memsic.com/Public/Uploads/uploadfile...PS-048-0072v1.2).pdf

The chip for these runs less than a dollar. I'm thinking one could find a way to make a standalone one for LinuxCNC - seems like many would buy one for balancing/tool breakage - chatter detection (could vary speed if vibration is detected.)

These use a SPI or I2C interface. 

I did a couple of quick searches here - didn't see where anyone else went down the same rabbit hole?
 
The following user(s) said Thank You: arvidb

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 23:45 #251956 by andypugh
I keep meaning to implement this for LinuxCNC.



Which is very easy to do in HAL with existing components. The question is whether it should be built-in?

Please Log in or Create an account to join the conversation.

More
15 Sep 2022 01:13 #251962 by cmorley
I had already done it at one time other then it was turned on and off with HAL pjns as I didnt know how to do m code stuff.
It would be on the maillist somewhere..

Please Log in or Create an account to join the conversation.

More
15 Sep 2022 01:46 #251964 by andypugh

I had already done it at one time other then it was turned on and off with HAL pjns as I didnt know how to do m code stuff.
It would be on the maillist somewhere.I

Indeed, just needs a siggen in HAL. As i said, the question is whether we build it in, or create a specfic HAL component.

So far I have just twiddled the FO MPG. Which works, too,
 

Please Log in or Create an account to join the conversation.

More
15 Sep 2022 01:53 #251966 by cmorley
That's what I meant - I did build it into motion. I just didn't code a NML message to turn it on.

Please Log in or Create an account to join the conversation.

More
15 Sep 2022 15:59 #252009 by arvidb

I was thinking about balancing a lathe chuck and ran into this /.../

Vibration monitoring would certainly be a nice feature. Since the chip you found has a max sample rate of 2 kHz it should be possible to get one sample per servo period. I haven't looked into it but the Mesa cards should be able to communicate via SPI (at least in theory; I haven't looked into actual support).

Great video link too - thanks!

Please Log in or Create an account to join the conversation.

More
15 Sep 2022 19:35 - 15 Sep 2022 19:42 #252034 by jpg
good evening, some examples on dynamic balancing always around the ADXL335/345:
www.instructables.com/Simple-Rotor-Balancing-Machine/






Last edit: 15 Sep 2022 19:42 by jpg.

Please Log in or Create an account to join the conversation.

More
09 Oct 2022 19:58 #253822 by Bari
I vote for a HAL component vs built in. Keep things as flexible as possible.

Please Log in or Create an account to join the conversation.

More
10 Oct 2022 02:16 #253843 by cmorley
The problem of maximum flexibility is it is also the hardest to configure/.
By being built in, it would also standardize the g/m codes to use it.

I did find my code on a old disk drive. I'll have to dust it off and look at the code to see if it's worth moving forward with presenting to anyone.

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.081 seconds
Powered by Kunena Forum