MASEngr
Member
- Join Date
- Nov 2007
- Posts
- 79
Hi everyone.
I've got a DL06 with the 08ADH-2 8-channel analog input. I have that option card because I have to determine the angle of a carriage. To do that, I've built an acceleromter-based sensor that has been configured as a tilt sensor.
The code works well, and I get pretty good results. The voltage out is nice and smooth, and the results are within the right range. The oscilloscope shows a nice flat output voltage with a 0-5V range. This is paired with the 0-5V jumper on the ADH card.The PLC code takes the value, converts it into a +/- 45 degree value and displays it on the LCD panel. It works great. (TIP: When building a sensor like this, use a lot of EM shielding and nice filter caps. It makes an enourmous difference.)
Then I wake up and take the sensor out of ideal conditions. (banging the table, slamming desk drawers, running machines next to it, etc.) The sensor is sensitive enough to pick up the vibrations and give erroneous values.
The PLC converts the values every 200ms. I've tried the analog filter Iboxes from the DS5 package and/or the filtering functions listed in other threads, but they seem to make the problem worse, not better. (And yes, I've played with the numbers.) Changing the sensor design has allowed me to make it twice as sensitive to vibration, but that's exactly the opposite of what I was looking for.
I built a little anti-vibration cage to mitigate the problem, but that's only taking the edge off.
What can I do to make the sensor less sensitive to vibration? Is an accelerometer even the right tool for the job? I only require 1 degree accuracy on the angle measurement.
Thank you.
I've got a DL06 with the 08ADH-2 8-channel analog input. I have that option card because I have to determine the angle of a carriage. To do that, I've built an acceleromter-based sensor that has been configured as a tilt sensor.
The code works well, and I get pretty good results. The voltage out is nice and smooth, and the results are within the right range. The oscilloscope shows a nice flat output voltage with a 0-5V range. This is paired with the 0-5V jumper on the ADH card.The PLC code takes the value, converts it into a +/- 45 degree value and displays it on the LCD panel. It works great. (TIP: When building a sensor like this, use a lot of EM shielding and nice filter caps. It makes an enourmous difference.)
Then I wake up and take the sensor out of ideal conditions. (banging the table, slamming desk drawers, running machines next to it, etc.) The sensor is sensitive enough to pick up the vibrations and give erroneous values.
The PLC converts the values every 200ms. I've tried the analog filter Iboxes from the DS5 package and/or the filtering functions listed in other threads, but they seem to make the problem worse, not better. (And yes, I've played with the numbers.) Changing the sensor design has allowed me to make it twice as sensitive to vibration, but that's exactly the opposite of what I was looking for.
I built a little anti-vibration cage to mitigate the problem, but that's only taking the edge off.
What can I do to make the sensor less sensitive to vibration? Is an accelerometer even the right tool for the job? I only require 1 degree accuracy on the angle measurement.
Thank you.