Previous in Forum: Storage System/Lockers for Apartment building   Next in Forum: Electric-solar hybrid
Close
Close
Close
21 comments
Rate Comments: Nested
Member

Join Date: Sep 2007
Posts: 9

Help with a depth sensor for an ROV

09/24/2007 5:45 PM

I am building an underwater ROV, I am not an engineer by any means, just a hobbyist. I am struggling with how to build a depth sensor or depth gauge that can be read by my ATMEL based microprocessor board. I'm actually not sure how to even start. Can anyone give me any pointers? I have toyed with the possibility of using something like a auto oil pressure sensor but not sure how to turn it into a depth sensor. Can I use something like this to give me the internal air pressure of my ROV and then do some math based on volume of inside of vehicle and known pressure constants to get my depth? Am I barking up the wrong tree? Any help would be greatly appreciated.

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

Re: Help with a depth sensor for an ROV

09/25/2007 12:20 AM

Hi Wingnutzac,

You are not (altogether) barking up the wrong tree. As it turns out, a direct depth can be obtained by use of a pressure gauge, MEASURED OUTSIDE THE ROV.

Gauge pressure can be measured in psig OR inches of water OR millimeters of mercury. One psi = 27.68 inches of water. For example, at 50 psig, your depth would be 115 ft.

Now, about using an auto pressure sensor. The sensor is only a switch. It will not give you proportional output of the pressure it is sensing. All it will do is switch a light on if your oil pressure is too low or too high.

What you need is a pressure sensor similar to the ones built by Freescale Semiconductor. See: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPX5999&fsrch=1

The output signal from the sensor (typically 0 - 40mV) may need to be amplified/scaled to accomodate your readout.

Hope this helps.

mikerho AKA Mike Hogan

(I can't log in and have left an email with CR4. They haven't gotten back to me)

Register to Reply
Guru

Join Date: Jul 2007
Location: UK, Midlands
Posts: 515
Good Answers: 2
#2
In reply to #1

Re: Help with a depth sensor for an ROV

09/25/2007 7:31 AM

I think you meant the sender for the oil pressure gauge fitted to some cars, though I must say too few these days. Look for a seventies/eighties Jag in a breakers for instance. I must say though, that Mr Lucas (Prince of Darkness as he became known not long after entering the automotive lighting market) sadly didn't make his stuff to last long in an underwater environment (or to last long period in that era!). There must also be piezo style sensors available that would probably be a good deal more compact.

__________________
Wish I was here more often.
Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#5
In reply to #1

Re: Help with a depth sensor for an ROV

09/25/2007 8:46 PM

This is great, gives me a better direction. When I was thinking about the oil pressure gauge I was thinking of one my dad's old truck had, when I was a kid, that actually measured the PSI of the oil. Your solution is much better, I think the sensors you pointed me towards are cheaper then ready made depth sensors which I can't find for a "hobbyist" price. Thanks!

Register to Reply
Power-User

Join Date: Jan 2007
Location: Berlin (Germany)
Posts: 332
Good Answers: 1
#7
In reply to #5

Re: Help with a depth sensor for an ROV

09/26/2007 9:45 AM

Wingnutzac, unfortunately I couldn`t recommend the MPX5999 because it is not media compatible. Lo cost sensors like this mostly have an unprotected semicon membrane and are for use ONLY ! in dry air; what you need is a sensor functioning like the above but with a stainless steel membrane. These are often filled with oil or another pressure-transport-media between the sensor plate and the outside membrane isolating the electronic parts from the environment.

You find these parts, par example, at sensotec.com.
Regards Uwe

__________________
The sum of intelligence on earth is a constant. And the population grows and grows and .....
Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#12
In reply to #7

Re: Help with a depth sensor for an ROV

09/27/2007 6:01 PM

Yeah, I was actually going to ask the question when I started looking into these and noticed the issue in the manufacture drawings of the sensors. So this may be a dumb question, but do I need to do anything special with the sensor to set it up (other then calibration and programming with my microprocessor)? I found several on the sensortec website that will probably work.

Register to Reply
Power-User

Join Date: Jan 2007
Location: Berlin (Germany)
Posts: 332
Good Answers: 1
#20
In reply to #12

Re: Help with a depth sensor for an ROV

09/28/2007 1:37 AM

No, you don`t. Calibration is a must, and selecting the sensor for the right media cares for a long lifetime.
Regards Uwe

__________________
The sum of intelligence on earth is a constant. And the population grows and grows and .....
Register to Reply
Power-User

Join Date: Jan 2007
Location: Berlin (Germany)
Posts: 332
Good Answers: 1
#21
In reply to #20

Re: Help with a depth sensor for an ROV

09/28/2007 1:38 AM

..... of the sensor, of course ...... ;-)

__________________
The sum of intelligence on earth is a constant. And the population grows and grows and .....
Register to Reply
Guru
United Kingdom - Member - New Member Hobbies - Musician - New Member Engineering Fields - Mechanical Engineering - New Member Hobbies - Target Shooting - New Member Engineering Fields - Power Engineering - New Member Hobbies - Fishing - New Member

Join Date: Mar 2007
Location: South-east corner of Spain 50 48 49.24N 2 28 27.70W
Posts: 1508
Good Answers: 31
#3

Re: Help with a depth sensor for an ROV

09/25/2007 11:21 AM

How about the petrol gauge? sounds strange but see if you can follow me!

Get a large syringe and seal the needle end (remove needle first of course!) The plunger is attached to the float arm of the petrol gauge. Thus the deeper the ROV goes, the smaller the space in the syringe, which moves the float arm down (or up by design) ! The signal will be analogue, so if you put 12v in, you get 0-12v out( ok, not 0v but a lower voltage than 12v). Can you use this idea? (Or you could put the variable resistor directly on the plunger) Sorry, haven't a clue what a ATMEL microprocessor board can do, but if it has an analogue in port, it may work! Simple to calibrate but I doubt it would be of use really deep!

This is my attempt at a diy solution!

__________________
“It's kind of fun to do the impossible.” Walt Disney
Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#4
In reply to #3

Re: Help with a depth sensor for an ROV

09/25/2007 8:39 PM

I think this idea has merit, definitely a cheap solution. I am going to play with this in my pool and see what kind of results I get. Thanks for the idea!

Register to Reply
Anonymous Poster
#6
In reply to #4

Re: Help with a depth sensor for an ROV

09/26/2007 5:47 AM

Typical modern plastic 'throw-away' syringes have terrible friction/stiction though. There has to be something that can be robbed from another source. I keep thinking of the washing machines water level sensor, but that doesn't give a continuous reading (just a couple of switches in the ones I've dismantled) and is too sensitive. Car's oil pressure gauge would be too insensitive with a full scale of 60-100psi (depending how deep you intend to go).

Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#13
In reply to #6

Re: Help with a depth sensor for an ROV

09/27/2007 6:06 PM

I'm looking for a maximum depth right now of about 150ft, so around 6 ATMs or up to 90 psi. I wonder if the syringe friction issue could be remedied with some heavy grease lubrication...

Register to Reply
Guru
Hobbies - DIY Welding - Wannabeabettawelda

Join Date: May 2007
Location: Annapolis, Maryland
Posts: 7940
Good Answers: 458
#8

Re: Help with a depth sensor for an ROV

09/26/2007 10:06 AM

Rather than measuring the pressure to determine depth, perhaps you might consider measuring the distance with an acoustic solution. You could mount an ultrasonic transducer on the top surface of your ROV. Pinging the transducer and then listening for the return, you can calculate your depth based on the speed of sound through the water and time it takes to make the two way trip. The surface of the water presents an impedance change to the acoustic pulse so you will get a reflection. There are a number of acoustic ranging devices at the hobbyist level that might be adaptable for your situation.

You might even be able to mount a Hummingbird fish finder "upside-down". Those can be purchased for less than $100 USD. There may be a digital output that you can tap into to get the depth signal.

Good luck with your quest!!

Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#14
In reply to #8

Re: Help with a depth sensor for an ROV

09/27/2007 6:12 PM

Nice out of the box solution. In theory would this only work if the ROV was directly under the transducer though? because when I think about it, if the ROV is down 75 feet and 75 feet to the north of the transducer wouldn't the return from the transducer give the actual distance as opposed to the straight up down distance?

Register to Reply
Guru
United Kingdom - Member - New Member Hobbies - Musician - New Member Engineering Fields - Mechanical Engineering - New Member Hobbies - Target Shooting - New Member Engineering Fields - Power Engineering - New Member Hobbies - Fishing - New Member

Join Date: Mar 2007
Location: South-east corner of Spain 50 48 49.24N 2 28 27.70W
Posts: 1508
Good Answers: 31
#15
In reply to #14

Re: Help with a depth sensor for an ROV

09/27/2007 6:22 PM

I think he means mount the transducer on the ROV and ping the surface! The reverse of pinging for depth under a boat so to speak!

__________________
“It's kind of fun to do the impossible.” Walt Disney
Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#18
In reply to #15

Re: Help with a depth sensor for an ROV

09/27/2007 6:32 PM

Now that I read it again I think your right. I like this idea, I think I'll try it along with a pressure sensor and see how they both work.

Register to Reply
Guru
Canada - Member - New Member

Join Date: May 2006
Location: Montreal, Canada
Posts: 632
Good Answers: 11
#9

Re: Help with a depth sensor for an ROV

09/26/2007 10:54 AM

This is an interesting project, but there are certain things you must understand before choosing your sensor, or transducer:

  • Media compatibility: Water, many cheap sensors are for non corrosive gas
  • Depth: in of water vs psi is your working range
  • Depth resolution: See also depth as many sensors have a % over full scale specs
  • Sensor type: Gauge, differential, Absolute? You need absolute. Car sensor probably gauge.
  • Output: Amplified or not, depends on your electronics ability and budget. Some even have a digital output (pulse-Frequency).

Companies like Digikey, Mouser, Allied Electronics carry many types and companies but don't specify media in their filter, go on the manufacturer web sites for easier searches.

If you don't mind the reduced accuracy and re-calibration, and have the room for it, you could use a cheap sensor made for air and use a water hammer arrester. Some will be a rubber diaphragm, some a plunger like the syringe idea. See Water Hammer arrester at mcmaster.com and google. Some may require more tinkering than others.

Have fun!

__________________
''What the hell has my a** got to do with magic?" Don Quixote
Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#16
In reply to #9

Re: Help with a depth sensor for an ROV

09/27/2007 6:28 PM

Can you help me understand a little more about the differences between Gauge and Absolute sensors? Also in of water, I have seen this while looking at sensors but not really sure how to use it or what it means in relation to pressure?

Register to Reply
Guru
Canada - Member - New Member

Join Date: May 2006
Location: Montreal, Canada
Posts: 632
Good Answers: 11
#19
In reply to #16

Re: Help with a depth sensor for an ROV

09/27/2007 7:07 PM

There are 3 main types of sensors:

Absolute pressure is relative to vacuum, each side of the diaphragm: media/vacuum. This is good for you since the ROV's inside pressure will probably be influenced by the depth you are at. Better to have a reference to vacuum. It will also be useful to zero your depth before a dive and remove the atmospheric pressure error. Another post makes reference to this.

Gauge pressure is relative to the atmosphere, each side of the diaphragm: media/atmosphere. This is the type you see the most. Your tire pressure is a gauge pressure.

Differential is media relative to media, each side of the diaphragm: media/media. This is useful for example in measuring the pressure drop in a pipe to deduct the flow rate.

As for inches of water, this is a unit of pressure originating to the fundamentals barometry, using columns of liquid, water or mercury, to measure pressures. Any unit conversion site will tell you the conversion to psi. I use EngNet.

Basically, if you go to a depth of 120 inches, the weight of the water over you will be the pressure of 120 inches of water, or 4.33psi. This a compressive force of 4.33 pounds per in2 on the body you put at this depth under water.

Hope this helps.

__________________
''What the hell has my a** got to do with magic?" Don Quixote
Register to Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#10

Re: Help with a depth sensor for an ROV

09/26/2007 11:03 AM

DigiKey lists 1600 or so pressure sensors

Here's one that's about $24 and has a roughly 0-5V output

http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=480-1927-ND

480-1927-ND

you might need to use some kind of diaphragm, possibly with oil on the inside, to prevent water from getting inside.

Good luck

Dick

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Member

Join Date: Sep 2007
Posts: 9
#17
In reply to #10

Re: Help with a depth sensor for an ROV

09/27/2007 6:29 PM

I think this one will work. Any reason you recommend the gauge over the absolute sensor?

Register to Reply
Associate

Join Date: Nov 2006
Posts: 30
Good Answers: 1
#11

Re: Help with a depth sensor for an ROV

09/27/2007 1:08 PM

Hi winnutzac,

Pressure & depth have a v. simple relationship.

An increase in depth of 10m gives 1 bar extra pressure (exact 10.1974m @ 4deg C).

This will vary slightly for different water temperatures (10.2071m @ 15deg C).

You will also have a variation for saltwater or freshwater, but if your are diving in a specific location this should be fairly constant (exceptions are tidal rivers/inlets). Find out the specific gravity (sg) of the water you are diving so you can adjust the calculatiuon accordingly. When diving to very great depths the sg of the water/ocean can change slightly with depth.

Variations in atmospheric pressure will have an effect (+/-40cm), atmospheric pressure can vary (roughly) from 0.85bar to 1.2 bar and doesn't change v. quickly on calm days. If this is tolerable you can ignore. If you need higer accuracy you can compensate for this.

Thus if you can measure the outside water pressure you can calculate your depth pretty reliably.

I hope the above helps you on your way.

Register to Reply
Register to Reply 21 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (2); Brave Sir Robin (1); dkwarner (1); gigaconcept.com (2); Ian (1); Mr. Truman Brain (2); uweka (3); wingnutzac (8); Wrenched (1)

Previous in Forum: Storage System/Lockers for Apartment building   Next in Forum: Electric-solar hybrid

Advertisement