How to Stabilize 2 Tempo Sonics Connected to Studio 5000 CompactLogix

Question:

I am experiencing difficulties in stabilizing the 2 Tempo Sonics connected to my Studio 5000 CompactLogix. The Raw value is fluctuating between 8575.0 and 8755.0 even when the devices are idle. Is there a method to improve the stability and accuracy of these readings? Despite attempting to adjust the Input Module Config Filter, I have not had any success. Any assistance in resolving this issue would be greatly appreciated. Thank you.

Top Replies

One method I frequently use is a first-order filter that I picked up from Mickey's advice on a discussion forum many years ago. This filter is set to run at a consistent interval using a one-shot method, while also incorporating a percentage of the difference between the original value and the filtered value each cycle. Typically, I apply this technique to the milliampere (mA) value prior to converting it into engineering units, although either approach works well. I have included a screenshot below of how I implemented this filter within a scaling AOI. It is crucial to ensure that the filter constant (FC) is kept above zero or equal to 1.0. If set to 1.0, the filtering function will be deactivated.

To view the filter, please refer to the downloadable PDF document.

OkiePC shared a valuable tip on using a first-order filter, which was learned from Mickey on a popular forum. This filter is set to run at a fixed interval using a one-shot method, incorporating a percentage of the difference between the raw and filtered values in each cycle. Typically, this technique is applied to the mA value before converting it into engineering units. Below is a screenshot showcasing this method integrated into a scaling AOI. It's important to ensure that the filter constant (FC) falls within the range of greater than zero to 1.0. A value of 1.0 disables the filtering process. Give this method a try first thing in the morning and share your feedback on its effectiveness.

Mickey mentioned to refer to the PDF file for detailed filter instructions. Click on the link to open the PDF file. Thank you for your cooperation.

The PF filter is a first-order low pass filter, also known as a first-order lag. It is calculated using the formula: y = y1 + Δt / (T + Δt) * (u - y1), where u is the input, y1 is the old filtered value, and y is the new filtered value. If you are wondering why filtering is necessary, it may be to achieve a smoother curve or to implement a closed-loop system. It's important to note that a smoother filtered value will result in a lag behind the actual signal.

It sounds like you've got a bit of a tricky situation there, but don't worry, you're on the right track. The fluctuations you're observing may likely be due to electrical "noise" or potential updates needed in your firmware. Firstly, ensure that you're running the latest version of the firmware for your devices. Secondly, for the electrical noise, try adjusting the analog filter in your CompactLogix PLC program. You might also want to check your wiring, making sure it's as far from power and motor cabling as possible, as these are often sources of electrical noise. Keep us posted on your progress!

It sounds like you're dealing with a tricky situation! Beyond adjusting the Input Module Config Filter, have you tried checking for any grounding issues or interference from nearby equipment? Sometimes, the physical layout or environmental factors can affect readings significantly. Another thing to consider is reviewing the wiring connections for any loose or corroded contacts, as they can also introduce noise into your signals. Lastly, if you haven't already, implementing a software-based averaging or filtering method could help smooth out those fluctuations. Good luck, and I hope you find a solution soon!

It sounds like you're facing a frustrating issue! One thing you might want to check is the grounding and shielding of your wiring, as electromagnetic interference can often cause fluctuations in readings. Additionally, ensuring that your Temp Sonics are calibrated correctly and considering an averaging filter instead of just the input module config filter might help smooth out those fluctuations. If you haven't yet, try testing the system under different conditions or configurations to see if anything changes. Good luck, and I hope you get it sorted out soon!

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

You must be a registered user to add a comment. If you've already registered,
sign in. Otherwise, register and sign in.

Frequently Asked Questions (FAQ)

FAQ: FAQs:

Answer: 1. Q: How can I stabilize the readings of Tempo Sonics connected to my Studio 5000 CompactLogix? One method to improve stability and accuracy is by adjusting the Input Module Config Filter settings. However, the effectiveness of this adjustment may vary based on the specific situation.

FAQ: 2. What could be causing the fluctuation in Raw values of the Tempo Sonics even when idle?

Answer: Fluctuations in Raw values could be caused by factors such as electrical interference, sensor calibration issues, or communication errors between the devices and the CompactLogix.

FAQ: 3. I tried adjusting the Input Module Config Filter but it didn't help. What other solutions can I try?

Answer: In addition to adjusting the Input Module Config Filter, you can also check for loose connections, ensure proper grounding, and verify the sensor calibration to address stability issues with the Tempo Sonics readings.

FAQ: 4. Are there specific troubleshooting steps I can follow to resolve stability issues with my connected Tempo Sonics?

Answer: Yes, troubleshooting steps may include checking for firmware updates, reviewing the sensor installation for any physical obstructions or environmental factors, and consulting the device manuals for additional guidance on stability optimization.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  →