How to accurately measure and transmit tank level data to a PLC with sensor offset - Tank setup details included

Question:

I need to accurately measure the tank level and transmit the sensor data to the PLC. The tank has a height of 0-3m, with the sensor placed 0.2m above the tank bottom and the transmitter positioned at the tank top. The maximum allowable level for the tank is 2.6m. How can I ensure an accurate tank level reading with the sensor offset starting at 0.2m? I am utilizing the formula Output=LRV+(Input−LRV/URV−LRV)×(URV−LRV) for this purpose. See below for the tank setup details.

Top Replies

Colesha inquired about achieving precise tank-level readings despite sensor offsets. Could you provide information on the units and range of the transmitter input? In the formula mentioned, the expression (URV - LRV) seems to cancel out. What values do LRV and URV represent? Is LRV possibly 0.2m, the lowest transmitter input level, while URV could be around 2.6m or higher? How does the range of the transmitter input factor into the formula? Additionally, do we have details on whether the transmitter response to input levels is linear or non-linear?

Hello drbitboy, I apologize for any confusion. Here is additional information regarding the transmitter range, which is from 0 to 5 meters with an output of 4-20mA. The formula used for analog scaling is a linear one commonly employed in such situations. For example, determining the mA reading corresponding to 1 meter involves using the upper range value (URV) and lower range value (LRV). My concern lies in whether using 0.2m as the LRV will provide an accurate representation of the actual tank level. For instance, if the sensor measures a current of 10mA, with a sensor input and span of 4-20mA, and a measuring range of 0.2m - 2.6m, the calculated level comes out to be 1.1m. However, given the offset of 0.2m, I question the accuracy of this reading.

Calculating the level using the formula provided by formulacolesha, it can be determined that the signal will reach 20mA when the level is at 2.6m from the bottom of the tank. However, if the Transmitter signal range is set at 4-20mA for a level range of 0-5m in the transmitter, then 20mA indicates a depth of 5m in the transmitter, equivalent to 5.2m (5.0m + 0.2m) in the tank. With a signal of 4mA symbolizing 0m on the sensor dip tube and 20mA representing 5m on the dip tube, each additional mA corresponds to 0.3125m on the dip tube. Therefore, a signal of 10mA would indicate a level of 1.875m (0.3125m/mA x 6mA) on the dip tube, or 2.075m (1.875m + 0.2m) in the tank. In a broader context, the formula for calculating the level can be expressed as Level = 0.2 m + ((InputSignal_mA - 4mA) / (20mA - 4mA)) * (5m - 0m). It's important to note that the range of the transmitter (5m - 0m) can be substituted with the tank range (5.2m - 0.2m) without affecting the outcome. By applying the formula, the level at 10mA can be calculated as Level = 0.2m + ((10mA - 4mA) / (20mA - 4mA)) * (5m - 0m) = 2.075m.

What kind of sensor is this? Simply calibrate it to its full sensor range, perform calculations post-installation, select your reference points, and you're all set.

Determining the shape of the tank is crucial for accurate tank capacity measurements. Is the tank square or circular? This information is essential for calculating the actual volume of liquid it can hold, not just the level reading. Without knowing the tank's shape, it is impossible to determine the true percentage of liquid inside. This would require a mathematical function to accurately calculate the percentage based on the tank's shape.

Given the height of your tank and the position of your sensor, you are correct in assuming that the sensor height offset needs to be taken into account. However, don't forget to adjust the Input and URV in your formula. If your sensor is 0.2m above the tank bottom, you should subtract this offset from your readings. So, for example, if your tank level reading is currently at 1m, this would be an actual 1.2m when adjusting for the offset. Also, if the maximum allowable level is 2.6m, then your URV should be 2.6m + the offset, making it 2.8m. Your adjusted formula might then look like this: Output = LRV + ((Input - 0.2 -LRV) / (2.8 - LRV)) * (URV - LRV). With these adjustments, you should get more accurate data for your PLC.

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.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. How can I accurately measure and transmit tank level data to a PLC with a sensor offset?

Answer: To ensure accurate tank level readings with a sensor offset, you can use the formula Output=LRV+(Input−LRV/URV−LRV)×(URV−LRV) in your setup.

FAQ: 2. What are the tank setup details for measuring tank level accurately?

Answer: The tank has a height of 0-3m, with the sensor placed 0.2m above the tank bottom and the transmitter positioned at the tank top. The maximum allowable level for the tank is 2.6m.

FAQ: 3. How do I account for the sensor offset in measuring tank level accurately?

Answer: By adjusting the sensor offset in your calculations according to the formula provided, you can ensure accurate tank level readings despite the offset starting at 0.2m above the tank bottom.

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  â†’