Previous in Forum: Instrument Cable Type and Cable Size   Next in Forum: Siemens SPPA-T2000 DCS
Close
Close
Close
22 comments
Rate Comments: Nested
Participant

Join Date: Sep 2012
Posts: 2

Measuring Height with a Pressure Sensor

09/01/2012 12:39 PM

Hi there!,

I'm working in a electronic/control project which is basically controlling the flow of water to a fix value set by the user. The idea is that the flow has less than 2% of error so it could be use to calibrated a flow meter.

The control system must open or close the ball valve thru a stepper motor which is controlled by a microcontroller which is going to get the feedback from a piezometric tank (as a difference of volume and time interval). As shown in the diagram.

The main problem is how to measure the height accurately (because the area is fixed just by multiplying it's possible to get the right volume).

Due to the turbulence, optical and ultrasonic sensors are discarded. Force sensors (load cell) could work but as far as my research they are way to expensive (up to 400USD for 200Kg). Which leave us the pressure sensors as the best choice.

The dimensions of the piezometric tank are 40cmX40cm and less than 1m of height.

Considering the atmospheric pressure(100kpa) and 1m of a water column(10kpa), the dynamic range of the sensor must be about 100kpa to 110kpa. I found this (http://www.digikey.com/product-detail/en/HSCDANN1.6BASA5/480-5417-ND/3461687) sensor.

The problem is that the pressure sensor cannot achieve a sensitivity of less than 2cm of water and due to the big area of the tank it makes a bad feedback source.

Any idea how can I measure the height of the water in the tank or the volume as accurate as possible without expending lots of money?

Thanks a lot !

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#1

Re: Measuring height with a pressure sensor

09/01/2012 1:12 PM

SunPro 12V Fuel Gauge and Sending Unit

Calibrating a flow meter? That's a dream.

Or, do what bigg says in the next post. WOW, am I traveling back and forth in time here???

Register to Reply
Guru

Join Date: Jun 2010
Posts: 1296
Good Answers: 104
#2

Re: Measuring height with a pressure sensor

09/01/2012 1:22 PM

Put a transparent sight tube on the tank with a ruled gage so you can see the level. Then use a stopwatch when the level reaches a bottom and top mark of known height. If you want to put optical or conductive probes top and bottom you can, but you will have to visually confirm where they switch on rising level. Direct the inlet pipe to your 'piezometric tank' against the side of the tank to minimize turbulence, but don't submerge it as that would change the back pressure on your loop while the calibration is in progress.

Register to Reply Score 1 for Good Answer
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#3

Re: Measuring height with a pressure sensor

09/01/2012 1:37 PM

Drill a hole in the tank at desired height...

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply Score 1 for Good Answer
2
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#4

Re: Measuring Height with a Pressure Sensor

09/01/2012 4:51 PM

Just my catly opinion, but it seems bizarrely over complicated.
A calibrated flow meter in series with a gate valve and a length of pipe to give laminar the flow fed from a header tank which is kept up to a fixed level (a simple overflow will do that).

You can even stuff the pipe with plastic drinking straws if you want to help keepthe flow laminar. (The flow meter should have pipework recomendations in the spec').

Even with your fancy set up you still need some reference to calibrate against, so it doesn't actually gain anything.
Keep it simple, if you try to automate it you may end up with oscillation, hunting and all sorts of other problems.

If it's just a 'project' and not for serious work, then fine, you will learn from the problems... but then you don't need help, as finding and solving the problems is part of the learning process.
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply Good Answer (Score 2)
Guru
United States - Member - Charter Member Engineering Fields - Instrumentation Engineering - Charter Member

Join Date: Mar 2008
Location: The People's Republic of Massachusetts
Posts: 1946
Good Answers: 73
#9
In reply to #4

Re: Measuring Height with a Pressure Sensor

09/02/2012 12:18 PM

"Even with your fancy set up you still need some reference to calibrate against"

That is the crux of the biscuit here.

__________________
I go into every human encounter expecting to be framed for a crime I didn't commit. Dilbert, 2013
Register to Reply
Guru

Join Date: Jun 2009
Location: Bangalore, India
Posts: 725
Good Answers: 24
#5

Re: Measuring Height with a Pressure Sensor

09/01/2012 10:59 PM
__________________
bioramani
Register to Reply
Guru

Join Date: Jan 2008
Posts: 1753
Good Answers: 59
#6

Re: Measuring Height with a Pressure Sensor

09/02/2012 1:58 AM

If I understood your question correctly, the problem you are facing was solved by the industry: washing machine (water) filling sensor. It senses pressure change of the water in a turbulent environment. You couple it with a flexible hose. You set its tripping point by mounting it lover or higher. Problem solved.

If you need a (calibrated) flow sensor on the top of that for some process purpose, the always precisely filled "piezo" tank elevated above the large one, with a (set or regulated) valve takes care of the steady flow.

Sure, it is a two step process. But it is workeable, with known components.

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#7
In reply to #6

Re: Measuring Height with a Pressure Sensor

09/02/2012 2:31 AM

... washing machine (water) filling sensor...
Yeah, but they do it that way because it's it's cheap, not accurate!
And it's not measuring flow, it's measuring water level.
Other than that, it's a great way to measure flow accurately.
Del
(I want to measure arrow speed, so I'm doing it by measuring the height of my chimney and the weight of my car... will this work?)

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Guru
India - Member - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Oct 2006
Location: India, 200 Km. North of Delhi.
Posts: 1393
Good Answers: 53
#8

Re: Measuring Height with a Pressure Sensor

09/02/2012 3:31 AM

Change the shape of tank to conical with a small hole (about 0.5mm) at the bottom of cone. Put a small beaker just under the hole of cone. Open gate valve for different periods and make precise measurements of water you receive in tank and beaker, set a correlation for future measurements.In future you don't need to measure water of large tank, so just a laboratory barrette or a pipette may work.

Register to Reply
Participant

Join Date: Sep 2012
Posts: 2
#10

Re: Measuring Height with a Pressure Sensor

09/02/2012 1:45 PM

First of all, thank you very much for all the comments!

I'm amazed of how many replies! This Forum rocks!

lyn, a floating device for measuring the level sounds good but I don't think they are that accurate, thanks, though.

bigg, the piezometric tank has a sight tube and it reduces the turbulences a lot, it would be nice for an optical measurement or a capacitive measurement of level ( I guess that with 'conductive probes'). Directing the inlet pipe against the side of the tank was also recommended to us by the mechanical people (the ones asking for the project), thanks for pointing that out!

SolarEagle, there is no desired height. I need the height to get the volume and I need the volume and time (interval) to the current flow which is the output variable of the control system.

Del the cat, yeah I know it seems over complicated, but is the price for having a short budget lol. Your idea of putting a calibrated flow meter in series was our first one. The only problem is that a accurate flow meter too expensive (700USD to 9000USD for 10m^3/h). But I have to agree that it would be much simpler and accurate. Thanks!

Your idea for making the flow laminar its good, thanks. Yeah oscillations are going to be a big problem. We are going to get the transfer function of the valve and the curve of flow vs steps and with the coefficients from simulink it's possible to reduce the oscillation a little bit. We don't get to that point yet.

It's just a senior project 1, I guess we will make several mistakes, but at least not the same mistakes as the group of last semester. They used a ultrasonic sensor to get the height and their system was way too inaccurate to be useful for the mechanics. I'm not sure they passed the course.

bioramani, nice sensor. It seems very accurate. However, the datasheet says 0 to 10kpa. Thats absolute pressure? Because the atmospheric pressure is about 100kpa. Would it work? Sorry for my dumb cuestion. Thanks!

leveles, as Del the cat said, it's not accurate for measuring flow, thanks for posting!

rakesh_semwal, I didn't get you. You mean using smaller flows to calibrate the flow meter? One of the specs of the project is to deal with 10m^3/h I think I would have big overflowing problems there. Thanks btw!

Register to Reply
Guru

Join Date: Jun 2009
Location: Bangalore, India
Posts: 725
Good Answers: 24
#15
In reply to #10

Re: Measuring Height with a Pressure Sensor

09/04/2012 2:51 AM

bioramani, nice sensor. It seems very accurate. However, the datasheet says 0 to 10kpa. Thats absolute pressure? Because the atmospheric pressure is about 100kpa. Would it work? Thanks!

Freescale makes MEMS sensors for various ranges. Both absolute and gauge versions are available. We have been using their 3 Bar absolute presure version to monitor steam pressure in sterilizers for years now.

The 10 kPa is gauge pressure and should suit your purpose.

__________________
bioramani
Register to Reply
Guru

Join Date: Jan 2008
Posts: 1753
Good Answers: 59
#11

Re: Measuring Height with a Pressure Sensor

09/02/2012 10:10 PM

It looks like, it bears expanding on the subiect.

By the way, I built a university laboratory setup with such sensors, when my daughter and colleagues did some biomechanical work for NASA as undergrads.

Most people are unaware of the quality available in silicon pressure sensors. For $20 or so you get a sensor to drop in into your proiect. All the calibration, temperare compensation is already taken care at manufacturing. I would not have it any other way, as I, and presume you have no means to do a sensor calibration run.

First, the task to be accomplished. I put it down, how I would go at it. If I misunderstand something, Andre, feel free to come back.

1,. A steady level should be maintained in the smaller "header" tank to maintain exact pressure to the pipe (with resistance) leading the flow to the main tank. The level should be measured and regulated precisely, with electronic sensor.

2,. The pipe should have a settable resistance to the flow, to maintain steady flow, by volume to the big process tank. The settable resistance should be either settable by a knob, or be a replaceable module. I have a preference to the second, as it is simpler, and after calibration a well known quantity. I would use standard glass pipes of different inner diameter, bent in half for easy coupling into the piping, with short silicon hoses.

2.1,. The pressure differential accross the resistance piece can be measured / monitored via differential pressure sensor. It will provide the flow data via the calibration process.

2.2,. If somebody is handy with computer programming, all the calibration data can be applied automatically. For a lab setup, it may be simpler on paper.

3,. Calibration to the required precision and repeatability is an absolute requirement for any newly designed and built equipment. That is a fussy, precise work, but no big deal otherwise. If you do not know how, any good chemist or physical chemist can lend a hand and glassware. They need to do that routinely.

4,. If this would be an industrial process, I would recommend a set of temperature calibration charts. The measuring setup is tightly controlled. But any and all liquids show significant temperature dependence in their hydraulic parameters. In a lab, the need for it can be sidestepped by keeping all temperatures tightly controlled.

5,. Tying 1,. and 2,. you can set any flow by switching in a resistance module, and then modulating the height in the header tank, according the calibration. If the header tank is deep enough, it means a continouos coverage of flow from low to high volume.

Now, to the sensors. There are as many different qualities as price points. And I am talking silicon electronic sensors. A cheap one to set water level in a washing machine may be less than $4, a nice one for real measurement may be $20, a top of the line individually calibrated and laser trimmed may cost you $100. If you need it, that price is well worth it!

6,. I can help you to select the right one, but you have to do some heavy lifting. The first the terminology used is different: absolute, gauge, differential, analog, digital, calibrated, sefcalibrated....... Start with Wikipedia, learn all.

7,. Once you got that under the belt, Google the following:

"silicon diaphragm pressure sensor"

"mems silicon pressure sensor"

"differential silicon pressure sensor"

You will be inundated with tons of choices, as we are not selective enough. But, it will be a useful learning experience.

8,. Once you navigate these waters, and have some idea of what you might need in these terms, we can narrow the choices in the next round, if you care.

Good luck with the hunting!

Register to Reply
Guru
Hobbies - DIY Welding - New Member

Join Date: Sep 2007
Posts: 1601
Good Answers: 58
#12

Re: Measuring Height with a Pressure Sensor

09/03/2012 4:11 PM

Seems to me that a sight glass in the tank will eliminate the turbulence problem and permit you to use any kind of height sensor you wish: ultrasonic, optical, etc.

Register to Reply
Power-User

Join Date: Sep 2008
Posts: 196
Good Answers: 6
#13

Re: Measuring Height with a Pressure Sensor

09/03/2012 6:52 PM

Your example shows a ball valve controlled by a stepper in the inlet to the flowmeter.

If you are wanting accuracy, a ball valve should not ever be used as they do not display nor provide linear flow charactristics.

Even with a precision "V-Ball" the flow loses it's linearity long before it reaches the 100% open position.

If you want accuracy, use a globe or plug valve designed for accurate flow control within the range of your application otherwise your results will be non-linear and intermittent at best.

Register to Reply
Commentator
India - Member - Naveen Menon Engineering Fields - Instrumentation Engineering - Naveen Menon

Join Date: Oct 2007
Location: India
Posts: 92
Good Answers: 2
#14

Re: Measuring Height with a Pressure Sensor

09/04/2012 12:25 AM

How about a DP transmitter,

Rosemount 3051SCD2A would be suitable i guess, You may leave low tapping open and the high tapping connected to the bottom tapping of the tank.

So you should get the mm per your requirement .

I think this should work well.

Best Regards

Naveen Menon

Register to Reply
Guru

Join Date: Jun 2010
Posts: 1296
Good Answers: 104
#17
In reply to #14

Re: Measuring Height with a Pressure Sensor

09/04/2012 10:15 AM

OP, don't forget that any measurement device, whether it be steel tape or fancy, schmancy transmitter, has to itself be calibrated back to a known standard for your end product to have a known accuracy. Otherwise, GIGO. It's easy to assume a shiny $1,000 widget is perfect, but it's not.

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#18
In reply to #17

Re: Measuring Height with a Pressure Sensor

09/04/2012 10:31 AM

Aw c'mon... we all know if it's got a digital display, it must be accurate.
(That's a joke, just in case there is any doubt. But I'm sure we've all met people who believe it!)
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Guru

Join Date: Oct 2006
Location: 44.56024"N 15.307971E
Posts: 8277
Good Answers: 270
#22
In reply to #14

Re: Measuring Height with a Pressure Sensor

03/25/2025 8:07 AM

I agree. Rosemount make very rugged and very accurate pressure transmitters.

They can even detect the turbulence from a passing fly, if required.

__________________
"A man never stands so tall as when he stoops to help a child." "Never argue with a stupid person.They will drag you down to their level and beat you with experience" "To create an apple pie from scratch, first you must create a universe"
Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#16

Re: Measuring Height with a Pressure Sensor

09/04/2012 8:44 AM

I still think it's an overcomplication.
It's relatively easy to get an acurate measurement of volume and time.
Once you have set up a controlled flow (fixed head, linear flow), take your uncalibrated flow meter and spot calibrate it at various flows (achieved with mandraulic gate valve) by measuring time and volume.
You then use that flowmeter to calibrate others, the traceability is done by the volume (or weight) and time measurements.
Del
(I promise I'll go and hide in my secret cat nest now)

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Participant

Join Date: Sep 2012
Posts: 1
#19

Re: Measuring Height with a Pressure Sensor

09/05/2012 12:51 AM

try to use fuel level sensor like automotive fuel level sensor. it is basically resistance wire wound with float unit.

Register to Reply Off Topic (Score 5)
Guru

Join Date: Jan 2008
Posts: 1753
Good Answers: 59
#20

Re: Measuring Height with a Pressure Sensor

09/07/2012 7:32 PM

...???...

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#21

Re: Measuring Height with a Pressure Sensor

03/20/2025 7:07 AM

<...measure the height of the water in the tank...without expending lots of money?...>

Sure.

Use a dipstick.

If a constant level is required, then get rid of the tank.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Register to Reply 22 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

andresjk (1); bigg (2); bioramani (2); Bricktop (1); HiTekRedNek (1); leveles (3); lyn (1); naveen_menon (1); nitinp79 (1); PWSlack (1); rakesh_semwal (1); SHOCKISCAN (1); SolarEagle (1); user-deleted-1105 (4); welderman (1)

Previous in Forum: Instrument Cable Type and Cable Size   Next in Forum: Siemens SPPA-T2000 DCS

Advertisement