Tjaart van der Walt wrote:
{Quote hidden}>
> TONY NIXON 54964 wrote:
> >
> > This is not really a PIC question, but the project itself will be
> > controlled by one.
> >
> > I need to measure a distance from a 'sensor' to a wall which will
> > have a rough surface. The measuring distance should not be any more
> > than 5 inches. The PIC will be used to control the 'sensors' movement
> > across the wall and to gather the distance data, and thus I should be
> > able to map the surface contour.
> >
> > It would seem a reasonable problem except that the wall will be under
> > murky water. Also the wall may have mud sticking to it at places so this
> > means I could not have a sensor which actually touched the wall. If
> > this happened then mud may attach itself to the sensor giving me
> > inaccurate data.
> >
> > Any leads on a type of sensor would be appreciated.
> >
> > eg Microwave, Laser etc.
>
> Microwave does'nt work so well in water, and laser won't work in muddy
> water. Try Ultrasonic transducers.
>
You have a very formidable problem with ultrasonics: the impedance
change from transducer to air to water to wall to water to air and back
to the transducer. At each of the media interfaces, there will be a
high proportion of reflected energy. Of course, that is what you want
to get the echo. However, the echo that you really need is the one from
the wall, and its energy will be diminished by all the losses in
between. If there is a way for you to put the transducer (piezoceramic)
in constant contact with the water, things will be much easier.
However, note that measuring such short distances in water won't be
particularly easy, either. You will need to operate at a relatively
high frequency to get the required resolution and to have a transducer
that doesn't continue ringing right through the echo return.
The above assumes echo signal processing. There are continuous wave
distance measuring schemes that may be preferred for this sort of
application.
--
Paul Mathews, consulting engineer
AEngineering Co.
optoeng
KILLspamwhidbey.com
non-contact sensing and optoelectronics specialists