Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: BaBaBeet on July 27, 2011, 02:29:12 AM

Title: Affordable Underwater Distance Sensor Problem
Post by: BaBaBeet on July 27, 2011, 02:29:12 AM
Hello everyone.

I'm working on a small AUV (8kg) for a project at my university. I want to be able to determine the distance from the AUV and underwater objects around the AUV (say in a 120 - 180 degree arc infront of AUV) to a range of 3m to 5m. Please note that the AUV only need to operate in one depth plane, ie only lateral information is needed of the terrain. I would also prefer if the sensors are relatively cheap (maybe not much more expensive than about $100 - $200). I would also prefer the sensor to be mounted on the AUV, although this is not a must.

Basically what I've thought of using so far:

I also thought of mounting the sensor on a stepper motor or servo to enable it to sweep 180 degrees. This should ofcourse also be able to work underwater - I've seen a few posts on underwater servos and waterproofing your own on this site ( http://www.societyofrobots.com/robotforum/index.php?topic=485.0 (http://www.societyofrobots.com/robotforum/index.php?topic=485.0) and http://www.societyofrobots.com/actuators_waterproof_servo.shtml (http://www.societyofrobots.com/actuators_waterproof_servo.shtml) ). Can I also get feedback on this if its possible?

About the AUV and the testing environment I'm using:

Please give any feedback or comments so that I can atleast have somewhat of an idea what I'm getting myself into or whether this idea is a bit too ambitious...

Please Note that I'm actually more interested in an "quick-fix" method, the measurements do not have to be too detailed as this setup is only needed to practically demonstrate my project (my project is actually on the obstacle avoidance and resolution part and not on the sensing part.) However, I would prefer it to work somewhat nicely atleast.

Sorry for this long post - hopefully I mentioned everything needed to give you a vague idea of my situation. Thanks in advance for any help/suggestions.

Regards Hendrik
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: corrado33 on July 27, 2011, 04:04:51 AM
Just a quick post before I go to work, but have you thought about sonar?  There are plenty of ultrasonic range finders on the market, and dolphins use it for a reason (it works).
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: BaBaBeet on July 27, 2011, 05:06:05 AM
AFAIK underwater sonar sensors are too expensive for my price range (please correct me if I'm wrong - would much rather buy a manufactured product than hacking/building my own tacky equivalent). Because of this reason I'm leaning more to buying and waterproofing a MaxSonar Ultrasonic sensor, but I have no idea how feasible this idea is other than the fact that Admin mentioned himself toying with the idea (see link in OP). thanks
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: Admin on July 27, 2011, 01:23:39 PM
The home-waterproofed MaxSonar that I did worked really really well. I tested it in a large cylindrical old nuclear test plant vat of water that's 50 feet deep and 50 feet diameter (5 stories both directions). The MaxSonar was able to "see" the entire tank. The sonar cone was like 10 degrees wide, if I remember right. Be aware that pings will reflect off the water surface. Also remember the speed of sound underwater is different, so your microcontroller will need to do the proper math to convert the range.
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: corrado33 on July 27, 2011, 02:10:03 PM
AFAIK underwater sonar sensors are too expensive for my price range (please correct me if I'm wrong - would much rather buy a manufactured product than hacking/building my own tacky equivalent). Because of this reason I'm leaning more to buying and waterproofing a MaxSonar Ultrasonic sensor, but I have no idea how feasible this idea is other than the fact that Admin mentioned himself toying with the idea (see link in OP). thanks

Buying and modifying was exactly what I was thinking of.   ;)
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: BaBaBeet on July 27, 2011, 02:18:15 PM
Just knowing that something like that is possible sets my heart at ease :) I'll do some further research before making a final decision though (the South African Rand doesn't convert into $100 per sensor that easily :P), although I believe that this might be the best option currently available to me. So please - other suggestions and ideas are still welcome! :D

A couple of questions:

Thanks again for all the help I really appreciate it (for both of you)! (Sorry for some of the silly questions - I feel I should probably ask before just jumping into a solution willy-nilly)

Hendrik
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: Admin on July 27, 2011, 02:45:00 PM
Waterproofing was very easy (much easier than with servos). I had one last me for many many hours, than it stopped working . . . not sure why, but perhaps because I left some underwater wires exposed . . . my second one is still going strong.

Using geometry and knowing the cone angle degrees plus the dimensions of your water area, you can determine the max measurement range before pings strike the water surface and water bottom.
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: corrado33 on July 27, 2011, 06:21:46 PM
Admin really knows what he's talking about when it comes to underwater stuff.  If you read through enough threads you'll find out he works with underwater bots for part of his living. 

Question for either of you, if you know how deep you are, and you are using sonar, can you just ignore the pings that would come back from reflecting off of the surface since you'd be able to calculate how long it'd take for the ping to get there and back?
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: Admin on July 27, 2011, 06:52:38 PM
Admin really knows what he's talking about when it comes to underwater stuff.  If you read through enough threads you'll find out he works with underwater bots for part of his living.
Sorta . . . my robot fish is very non-traditional, meaning much of what I do isn't entirely applicable to a typical submarine type underwater robot. It took us two years to reliably stop the water from leaking in all the time :P

Quote
Question for either of you, if you know how deep you are, and you are using sonar, can you just ignore the pings that would come back from reflecting off of the surface since you'd be able to calculate how long it'd take for the ping to get there and back?
What happens when the object in front is the same exact distance that the robot is from the surface? :P

In my situation, my robot fish doesn't go more than 5-10 feet deep in the 50 foot tank. As such, I point the sonar downward at a ~20 degree angle so it rarely ever reflects off the water surface, yet it can still see stuff in front. It does on occasion pick up strange echoes when it's close to the surface (I never figured out why), so I wouldn't trust any sonar values as accurate if it's less than 1.5 feet deep.
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: corrado33 on July 28, 2011, 02:43:27 PM

What happens when the object in front is the same exact distance that the robot is from the surface? :P

I thought about that, but how often will you be EXACTLY (within sensor error) the same distance away from an object?  And besides, if you're moving, the object will be getting closer while the surface will be staying put.  Sure you'll have a blind spot of whatever your sensor error is, but that's nothing another sensor (pointed downward maybe) wouldn't fix. 

Can you get sonar that works at different frequencies so you can have multiple running at the same time?
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: Admin on July 28, 2011, 03:40:50 PM
Can you get sonar that works at different frequencies so you can have multiple running at the same time?
MaxBotix, to my knowledge, only sells sonar at the same frequency. You can however do whats called sonar ping patterning, or put one on a rotating motor.
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: BaBaBeet on July 29, 2011, 07:05:09 AM
Thanks for the replies. I've decided to order a few MaxSonar sensors.

Admin: is there a reason why you chose the compact version of the sensors (WRC vs WR)? Does the directing-horn of the WR series sensors make it harder to waterproof, or did you choose the WRC series because of less water resistance and size?
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: Admin on July 29, 2011, 07:45:06 AM
They only had one model that was water resistant at the time, so that's what I chose.
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: BaBaBeet on August 18, 2011, 06:25:06 AM
Ok so I've ordered the MaxSonar sensor. Just a quick question: Admin mentioned in the one post that he used a soft RTV to coat the transducer. I also see the two RTV's that Admin recommends for waterproofing (the DC 1345 and 1340) are rated as 50 and 32 A hardness. Are these too hard for what I plan to do (my limited knowledge of such matters are that you would want to match the water's density as much as possible and 32 A might be a bit too much).

What RTV would you recommend or would the Dow Corning be fine?

thanks
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: Soeren on August 19, 2011, 09:01:03 AM
Hi,

It took us two years to reliably stop the water from leaking in all the time :P
Not trying to jack this thread, but while sodastreaming a bottle of water for my scotch, got this thought... If there's room aboard, A CO2 cartridge (they come in various sizes) with an electronically controlled valve and a similar valve in the hull, could be used to adjust the pressure going down and back up, to match the surrounding pressure and hence loosen the demands on waterproofing.
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: Admin on August 19, 2011, 03:42:18 PM
Dow Corning engineers can help you choose a different RTV. Just send them an email.

That's how I selected mine.
Title: Re: Affordable Underwater Distance Sensor Problem
Post by: corrado33 on August 19, 2011, 05:39:59 PM
Not trying to jack this thread, but while sodastreaming a bottle of water for my scotch, got this thought... If there's room aboard, A CO2 cartridge (they come in various sizes) with an electronically controlled valve and a similar valve in the hull, could be used to adjust the pressure going down and back up, to match the surrounding pressure and hence loosen the demands on waterproofing.


Wow, I love that idea!  It'd be a good emergency assent thing too.  You could even use it as emergency propulsion.  **Imagines mini sub jetting out of the water and flying hundreds of feet into the air** lol