Simulation and prototype testing of a low- cost

0 downloads 0 Views 5MB Size Report
sonic denoising algorithm to be tested in microprocessor ... microprocessor for signal processing. ..... where T is the temperature in °C, S is the salinity in ppt.
Simulation and prototype testing of a lowcost ultrasonic distance measurement device in underwater Dennis Zhen Wan & Cheng Siong Chin

Journal of Marine Science and Technology Official Journal of the Japan Society of Naval Architects and Ocean Engineers (JASNAOE) ISSN 0948-4280 Volume 20 Number 1 J Mar Sci Technol (2015) 20:142-154 DOI 10.1007/s00773-014-0270-5

1 23

Your article is protected by copyright and all rights are held exclusively by Her Majesty the Queen in Right of United Kingdom. This eoffprint is for personal use only and shall not be self-archived in electronic repositories. If you wish to self-archive your article, please use the accepted manuscript version for posting on your own website. You may further deposit the accepted manuscript version in any repository, provided it is only made publicly available 12 months after official publication or later and provided acknowledgement is given to the original source of publication and a link is inserted to the published article on Springer's website. The link must be accompanied by the following text: "The final publication is available at link.springer.com”.

1 23

Author's personal copy J Mar Sci Technol (2015) 20:142–154 DOI 10.1007/s00773-014-0270-5

ORIGINAL ARTICLE

Simulation and prototype testing of a low-cost ultrasonic distance measurement device in underwater Dennis Zhen Wan • Cheng Siong Chin

Received: 3 November 2013 / Accepted: 29 March 2014 / Published online: 26 April 2014 Ó Her Majesty the Queen in Right of United Kingdom 2014

Abstract This paper describes the development, simulation, and testing of a low-cost ultrasonic (LOCUS) sensing device for a short-range obstacle avoidance in underwater robotic vehicles (URVs). The LOCUS sensing device works on a classic pulse echo detection method to detect obstacle in close proximity. The proposed LOCUS sensing device provides an easy to use test-bed and simulation model for feasibility study of a typical ultrasonic sensor in underwater sensing application. It also allows any ultrasonic denoising algorithm to be tested in microprocessor before actual implementation. The proposed LOCUS sensing device was tested in water and the simulated results using LabVIEW show a reasonable agreement with the experiment results. Therefore, the proposed LOCUS sensing device will be useful for any testing of an underwater sensing system using LabVIEW as a simulation tool and microprocessor for signal processing. Keywords Sensing device  Underwater robotic vehicle  Distance measurement  LabVIEW  Simulation

1 Introduction As a result of great global demand for energy, offshore hydrocarbons industry is growing rapidly. Submerged structures and pipelines need periodic inspections to prevent damage due to tidal abrasion and strong currents. Growing awareness on the impact of commercial exploration activities on delicate marine ecosystems [1] has also D. Z. Wan  C. S. Chin (&) School of Marine Science and Technology, University of Newcastle upon Tyne, NE1 7RU Callaghan, UK e-mail: [email protected]; [email protected]

123

lead to an increase in ocean scientific survey activities. Most inspections of subsea oil and gas plant are carried out using remotely operated vehicles (ROVs) [2, 3] and autonomous underwater vehicles (AUVs) [4–7]. In most survey activities, they commonly employ sonar or sound propagation to detect objects or obstacles in underwater. Mechanically scanning sonars [4, 8] are widely used on URVs for surveillance and collision avoidance tasks. The fan-shaped beam can be rotated in bearing to cover-up to a 360° sector. An electronically scanning forward looking sonars uses multi-element, phased arrays and signal-processing methods to electronically scan part of terrain during forward motion of the vehicle. The minimum detection ranges of these sonars are approximately a meter in distance. However, consequences of this phased array approach increase the sensor complexity, computational time, power consumption and cost. Underwater vision system [9, 10] has become an integral part of URV’s platform to visualize the vehicle positioning during a close inspection task. However, the vision sensors are not suitable in turbid water due to sediment disturbed by the vehicle propulsion. On the other hand, laser scanners [11, 12] are used for a higher resolution distance measurements. Effective range of the laser scanners reduces from a few kilometres in air to several meters in water. Short-range laser scanners work around this limitation through signal processing (such as phased-intensity methods). The laser light emitted from head of the sensor remains in a narrow band compared with a sonar beam spreads while it propagates. Another distance measurement using non-acoustic measurement methods such as electromagnetic (EM) [13] based sensor and lightemitting diode (LED) [14] were used. The EM propagation in water is subjected to high permittivity and electrical conductivity. It has a high attenuation loss, varying

Author's personal copy J Mar Sci Technol (2015) 20:142–154

propagation speed that depends on frequency, depth, temperature and salinity of water. The LED was used for the distance measurement and it works well for a short range in turbid water. However, different types of sensor have their own advantages and disadvantages. In general, acoustic-based sensor is still more favourable and exhibits better performance in underwater than the above-mentioned sensors for underwater applications. In this paper, we will use ultrasonic sensor in the proposed platform for underwater measurement. In the past few decades, a few ultrasonic distance measurement and simulation model using different signal processing algorithms were proposed. For example, using cross-correlation [15, 16], wavelet transform and ICA [17] method. Improved simulation model on diffraction effects in ultrasonic systems was modelled using PSpice model [18] and better time-of-flight [19] measurement method using peak time sequences at different frequencies. In addition, one paper on ultrasonic distance measurement device describes the hardware [20] implementation used. To the best of our knowledge, there is limited ultrasonic sensor simulation tool and hardware implementation platform available in prototyping stage. Hence, an underwater distance measurement using a low-cost ultrasonic sensing device to provide a test-bed platform and simulation model for feasibility study is proposed. After the feasibility study was done, an enclosure design on the proposed sensing device can be fabricated to enable it to test or use in deep water. The proposed LOCUS sensing device will be useful for testing underwater sensing capability designed by universities and companies in prototyping stage using LabVIEW and microprocessor. The paper is organized as follows. The overview of the electromechanical design of the low-cost ultrasonic (LOCUS) sensing device is described in Sect. 2. This is followed by the description of the proposed LabVIEWbased simulation model in Sect. 3. The experiments and testing are described in Sect. 4. Conclusions are drawn in Sect. 5.

2 Electromechanical design of LOCUS sensing device The purpose of this work is to develop a low-cost ultrasonic (called LOCUS) that exhibits a fast processing time, a shorter minimum detection distance with a higher resolution in distance measurement for future deployment on the URVs. It has to be low cost to allow multiple sensor configurations and compact in physical dimensions. The overall structural design of LOCUS sensing device is shown in Fig. 1. The prototype LOCUS sensing device weighs 2 kg and has an overall dimension of 190 mm (length) 9 120 mm (width) 9 60 mm (height) including

143

the transducer’s support. By removing the buoyant float and other support during prototype testing, the dimensions of the proposed transducer size can be reduced to 100 mm (length) 9 120 mm (width) 9 20 mm (height). With the extendable transducer’s cable, it allows the transducer to be placed anywhere on URV platform. However, the current enclosure design of the proposed sensing device can only work in shallow water of not more than 1 m. Hence, an improved design to work in deeper water is needed in our future works.

3 Proposed ultrasonic sensor The LOCUS sensing device uses a short wavelength sound and a classic pulse echo detection method (similar to echo sounder system) for close-range measurement (maximum 2 m) and obstacle avoidance (maximum 5 m). The basic echo sounding system operates at a frequency range from 20 to 500 kHz. The 200LM450 transducer and signal processing module (see Fig. 2) consists of few main components such as amplifier, bandpass filter, microprocessor, transmitter (T) and a receiver (R) or transceiver with T/R switch. The frequency of the ultrasonic sensor is chosen based upon the propagation range, beam spread and directivity. As a lower frequency is suitable for long range propagation, it results in less directivity (for a given diameter of the transceiver with the wider beam spread). Hence, it is more suitable to choose a higher frequency. For short-range measurement and obstacle avoidance tasks on URVs, the maximum detection distance of 5 m is considered. There are many ultrasonic sensors available in market. In this project, a common ultrasonic sensor (see Fig. 2) such as 200LM450 is used. The sensor operates at 200 kHz with bandwidth of 25 kHz. It has 160 dB (minimum) transmitting sound pressure and -180 dB (minimum) receiving sensitivity with a total of 20° beam angle. The resulting sound pressure level (SPL) at 5 m is calculated to be 151 dB after considering the loss due to wave absorption and SPL reduction at 5 m. The voltage generated under this condition is approximately 35 mV after considering the receiving sensitivity (voltage/lPa). 3.1 Electrical system layout The main feature of LOCUS sensing device is the single transducer system using the 200LM450 transducer, a selfcalibration mode for operating in a different fluid medium, a customized module for signal amplification, and a noise filter (integrated with PW0268 chip) and a PIC-based microprocessor for signal control to achieve the desired data processing speed and distance resolution. In the self-

123

Author's personal copy 144

J Mar Sci Technol (2015) 20:142–154

Fig. 1 Actual (left) and schematic diagram (right) of LOCUS transducer

Fig. 2 Physical appearance of 200LM450 transducer and signal processing module

calibration feature, it is used to eliminate the problem of measurement errors in different fluid medium such as fresh and sea water. It removes an additional sensor for detecting different fluid mediums. This mode can be activated by placing an object manually at a pre-fixed distance. A 200LM450 transducer module with a signal-processing module is shown in Fig. 2. A fixed gain pre-amplifier and time controlled variable gain amplifier to amplify and vary the sensitivity of the receiving echo were also implemented. To eliminate the noise (known as ringing effect) from the receiving echo, a lower and upper band pass filter was incorporated. As shown in Fig. 3, the ringing effect on the echo is reduced by a signal-processing circuit consisting of a band pass filter. The LOCUS sensing device starts the distance measurement by clicking a start button as shown in Fig. 4. The

123

self-calibration mode is then activated using a calibration toggle switch. Since the basic echo sounding system works when the transceiver generates high-voltage electrical pulses and sends the signal to the transmitter, the transmitter converts these pulses into sound waves. The sound waves propagate through the fluid medium until it reaches the target object’s surface and propagate back to the source. The receiver converts the echo into electrical pulses before amplification and filtering as shown in Fig. 2. A comparator uses the general-purpose amplifier, NPN 2N4401 to convert the analogue signal of the returning echo to a digital signal via a microprocessor, PIC18F4550. After the sensor calibration, the fluid medium mode switch can be activated. As shown in Fig. 4, the control algorithm (using C programming language coding) is implemented in MPLAB environment to interface the

Author's personal copy J Mar Sci Technol (2015) 20:142–154

145

Fig. 3 Difference of responses without band pass filter (left) and with band pass filter (right)

Fig. 4 Schematic diagram of the components in ICON sensor

microprocessor to the user’s computer (with MPLAB software installed for C programming) via a PICkit2 debugger/programmer. The other side of the programmer is connected to the microprocessor through an in-circuit serial programming (ICSP) that uses two input/output pins. A PICKIT2 programmer was used to enable the written C language to be downloaded into the microprocessor. 3.2 Program flow chart The following describes how the microprocessor determines the distance from the target object in underwater. It captures the falling edge of signal (as seen in Fig. 5) to a correct echo after the signal was amplified and filtered. The

microprocessor transmits a 5 V pulse of 0.1 ms pulse duration to excite the 200LM450 transducer. The microprocessor has two 16-bit CCP (capture, compare, and PWM, module) to assist with measurement. This module allows the system to compute the number of the count period between the transmitting and ringing pulse, and the receiving echo. When there is no ultrasonic pulse, the CCP1 module is held at ‘‘high.’’ Once the transducer transmits the pulses, the timer in microprocessor starts the counting process, and the CCP1 module function records this initial value. The echo signal entering the CCP1 module holds at ‘‘low’’ until the end of ringing. The counting continues to count until the arrival of the echo signal. This arrival of echo signal goes low and causes the timer to stop counting and the CCP1 module

123

Author's personal copy 146

J Mar Sci Technol (2015) 20:142–154

TOC  Maximum counts  SOS NOT 0:2  106 ¼  65536  1500 2 ¼ 9:83 m

MR ¼

Fig. 5 Capturing the signal falling edges

function will register the final value. The number of counts is the difference between the final and the initial value as shown in Fig. 5. The PIC18F4550 microprocessor is used to determine the number of counts between falling edges. The total time delay required can be achieved using the correct number of instruction cycles in the C program. For example, the number of instruction cycle, nI (using 0.2 ls per instruction cycle) is calculated to be approximately 5000. Total time delay nI ¼ Time per instruction cycle 1  103 ¼ 0:2  106 ¼ 5000 instruction cycles

ðTOC  NOCÞn¼1 þ ðTOC  NOCÞn¼2 þ ðTOC  NOCÞn¼3 3  NOT  SOS  100

ð1Þ

ð2Þ

Assuming the speed of sound (SOS) is 1500 m/s, each count defines the measurement resolution. As the timer for CCP1 is 16-bit, it has a maximum value of 65535 counts before it resets back to 0 and continues counting. As the number of trips (to and from the object) is equal to 2, the distance resolution dR and the maximum distance MR can be calculated as follows: dR ¼ TOC  SOS

123

ð5Þ where NOC is the number of counts and ‘3’ indicated the number of measurements.

tp ¼

¼ 0:2  106  1500 ¼ 0:3 mm

where TOC is the time per count, and NOT is the number of trips. This calculated range is acceptable as the operating distance is within 5 m. From the computation, the device is capable of measuring an object up to a resolution of 0.3 mm while minimizing the ringing effect. The application of a classical signal analysis technique in mechanical measurement called three-time majority method [21] is included into the correlation calculation to reduce the measurement error on the transmission before reverberations or secondary echoes are dissipated. To circumvent that, the period between each transmission cycle (n) had been tested and showed to give a delay of 30 ms during the experimental test. As seen in Fig. 5, the transducer transmits one pulse, receive echo and hold the signal for 30 ms before the next measurements. The distance of the object (Ds) was determined by averaging the three collected measurements as shown below. Ds ¼

To measure a distance up to 5 m, twenty burst of 200 kHz ultrasonic waves are required to produce an amplitude of 5 V square signals to excite the 200LM450 transducer. The pulse time duration ðtp Þ is computed approximately 0.1 ms as shown. 1  number of bursts frequency of square waves 1 ¼  20 0:2  106 ¼ 0:1 ms

ð4Þ

ð3Þ

3.3 Mechanical design LOCUS sensing device was designed to measure the underwater objects while floating on the water. It must be able to float with good stability while measuring underwater object. By adjusting the length of the transducer cable, the sensor can be used to detect the depth of the target object. The electronics and switches were housed in a waterproofed casing shown in Fig. 6. LOCUS sensing device consists of three main components: a top casing, bottom casing and Styrofoam board as observed in Fig. 7. The top casing contains the electrical components while the bottom casing contains the transducer’s cable. The partition eliminates the water ingress; the fixer positions the two casings equally onto the Styrofoam board. The bracket is used to hold the three main components together during the test. With the opening of the transducer’s support unit being sealed by a cable gland, drilling of a hole is required. The float and bottom circuit casing were built and assembled. The drilled holes were sealed with waterproof silicon glue with cable glands.

Author's personal copy J Mar Sci Technol (2015) 20:142–154

147

Fig. 6 Operating panel of LOCUS sensing device (front view)

Fig. 7 LOCUS sensing device layout

Since the prototype is floating in the water, the initial and static transverse stability needs to be taken into consideration. All the objects must be symmetrical along its transverse axis to perform the calculation. This was done by adding an addition weight inside the cable casing. The additional weight decreases the vertical distance from K to center of gravity (KG) along the transverse axis. This increases the vertical distance from G to MT (GMT) and resulted in a huge increase in the stability of the prototype. The additional weight also minimizes the water ingress through the top electronic casing. A pictorial diagram for the stability calculation is shown in Fig. 8. The additional weight is required to stabilize the device in water. With the original weight Woriginal = 1.313 kg, density of water q = 1000 kg/m3 and underwater volume of prototype Vp ¼ 0:0021 m3 , the required displacement is VR ¼ qVp . The required additional weight is approximately 0.76 kg. The placement of the additional weight is properly positioned to align with LCG and LCB at the same axis

such that the transducer faces the underwater objects. The position of the additional weight was calculated using first principle of moment. The prototype is considered to be stable if the GMT is greater than zero. The vertical distance from B to the transverse metacentre (BMT) is 0.0517 m and vertical distance from K to center of buoyancy (KB) is 0.0367 m. Since the GMT is approximately 0.0371 (greater than zero), it implies that the stability of the prototype is acceptable. 3.4 LOCUS sensing device simulation using LabVIEW LabVIEW (Laboratory Virtual Instrument Engineering Workbench) [22] developed by National Instrument is a graphical programming environment suited for systemlevel design. LabVIEW was used to simulate the LOCUS sensing device. Figure 9 depicts the front panel of the LabVIEW-based LOCUS sensing device system. The front panel allows the user to insert distance apart, operating

123

Author's personal copy 148

J Mar Sci Technol (2015) 20:142–154

Fig. 8 Necessary stability for the ICON sensor prototype

Part 1 Part 4

Part 2 Part 5 Part 3 Fig. 9 Overview of LabVIEW-based simulation of ICON sensor

fluid medium, and temperature, depth of the sensor, salinity level and transducer’s frequency. It also displays the outputs such as waveform graphs, time-of-flight (TOF), speed of sound (SOS) and error in measurement as compared to the experimental results. This simulation was programmed and grouped into five parts as shown in Fig. 9. It includes the necessary settings of the transducer (e.g., distance apart from object and frequency of the sound wave), the fluid medium parameters and characteristics of actual pulse, the selection of operation device, the results of system information and the measurements. The pulse echo method animation shows

123

how the distance measurement device is able to correlate distance with sound waves. The speed of the animation can be adjusted using a control knob as shown. Part 1 (see Fig. 9): The boundary limits of width and depth are constrained by the beam width. The values on the boundary are presented in distance X of the transducer. Ultrasonic beam converges in the near-field region while diverging in the far-field regions. The beam boundary defines the limits of the beam at the point where it falls to a threshold value. To determine the beam spread angle from ultrasonic wave (emitted from the transducer), the following equation is used.

Author's personal copy J Mar Sci Technol (2015) 20:142–154

149

Table 1 Constant value of circular shape transducer [20] Edge (% dB)

K Through transmission technique

Pulse echo techniques

10

1.08

0.87

50

0.54

0.51

Table 2 Parameters for different fluid medium- sea and fresh water Parameters

Singapore seawater

Freshwater

Temperature (°C) Salinity (ppt)

29.5 35

28 0

Pressure (N/m2)

Assume to be negligible

Speed of sound (from simulation) (m/s)

1544.48

h ¼ sin1

Kk D

Fig. 10 Circuit layout of LOCUS prototype

1504.4

ð6Þ

(salinity, temperature and pressure). There are many empirical formulas to obtain this parameter. One of the common accepted methods [23] is shown below.   T T 2 T SOS ¼ 1449:08 þ 4:57e 86:9þð360Þ þ 1:33ðS  35Þe120 þ 0:1522Pe½1200þð 400 Þ þ 1:46  105 P2 e½20þ T

With the wavelength of the ultrasonic waves written as: k ¼ V=F, equation (6) becomes: KV h ¼ sin1 DF

ð7Þ

where F is the frequency of ultrasonic wave in Hz, V is the velocity of ultrasonic waves in m/s, D is the diameter of the transducer in m and K is a constant dependent upon the beam boundary. The method to determine the beam spread and the shape of the transducer can be seen in Table 1. Part 2 (see Fig. 9): The location where the device is operating, affects the accuracy of the measurement. Therefore, the system needs to identify the fluid medium characterized by the temperature, salinity and depth of the water to determine the actual speed of sound. However, using additional sensor increases the cost to the system. Hence, we assumed the speed of sound. Table 2 shows the realistic assumption, and the speed of sound obtained from the simulation as compared to the experimental results (in the next section). Part 3 (see Fig. 9): After the parameters and the fluid medium were determined, the time-of-flight (TOF) of the actual sound wave is computed using the following relationship. Actual TOF ¼

Distance between transducer and target object Actual speed of sound wave 2 ð8Þ

Part 4 (see Fig. 9): The speed of sound is an important parameter to determine the TOF in (8). The speed of underwater sound (SOS) is a function of three variables

S35

T

S35 10



ð9Þ where T is the temperature in °C, S is the salinity in ppt and P is the pressure in N/m2. The LabVIEW-based software using the parameters obtained from (8) and (9). By tuning the speed of sound or wave length, the TOF could be changed. Part 5 (see Fig. 9): The digital echo signal output with an assumed width of the echo is used to simulate the signal to capture the lower edge of an incoming signal. The system will output the measured distance, the number of pulses transmitted and the speed of pulse waves at selected fluid medium mode. The measurement validity will reflect the minimum reading caused by the ringing effect. To determine the error in measurement, the difference between the actual distance measurements is displayed on the front panel. The percentage of measurement error is then calculated. When the fluid medium mode switch is activated (deactivated), the mode is set in the freshwater mode with sound speed equals to 1504 m/s (1544 m/s). The control pulse duration simulates the number of pulses transmitted and the ringing effects.

4 Experimental tests in water Testing and verification of the circuit and program is necessary to ensure that the real time measurement work as planned during the design and simulation stage. All the problems involving interfacing of components,

123

Author's personal copy 150

programming errors, measurement capability are to be resolved during the experiment. The entire circuit boards of the LOCUS sensing device are connected as shown in Fig. 10. The aims of this lab experiment (see Fig. 11) are to calibrate the integrated circuit in the water tank (0.60 m long 9 0.80 m wide 9 0. 20 m high) and test the underwater distance measurement. In the experiment, the fresh water has a depth of 0.10 m at a temperature of 28 °C. This primary experiment test ensures that all the electronics were interfaced correctly. The object is placed at a 0.50 m apart from the transducer. The digital oscilloscope was used to display the

Fig. 11 Calibration of LOCUS prototype in water tank Fig. 12 Sent pulse signal from microcontroller (left) and output digital echo signal to CCP1 (right)

Fig. 13 Overview of towing tank experimental setup for ICON sensor prototype

123

J Mar Sci Technol (2015) 20:142–154

output of microprocessor. Figure 12 (on the left) shows that the microprocessor sent a 5 V signal at a 0.1 ms period. As observed in Fig. 13, the signal falls to 0 V at the receiver side. The signal goes back to 5 V when the echo was detected. This indicates that correct signal had sent through the CCP1 port in the microprocessor. The system device is tested several times on the object placed 0.5 m apart from the transducer. The microprocessor successfully displayed the measurement on the LCD. It could measure an average of 0.50 m with a standard deviation of 0.004 m and a root mean squared error of 0.017. The second experiment (see Fig. 13) was conducted in a towing tank with a dimension of 15 m 9 2.15 m 9 1 m. The test was conducted to analyse the measurement data in different fluid medium and target objects. The object used in this experiment testing was an acrylic board and galvanized steel. The dimensions of both the objects are 0.35 m 9 0.24 m 9 0.002 m. The PVC pipe in Fig. 14 was used to align the transducer and objects in the towing tank. The object and transducer were placed on the horizontal supports along the edge of the towing tank. The experimental setup is used to perform the measurement (in the left-hand side of Fig. 15) and to collect experimental data. The end of the horizontal support for both the transducer and object was placed at a distance of 0.0575 m from the side of the towing tank. Vertical supports were adjusted to

Author's personal copy J Mar Sci Technol (2015) 20:142–154

151

Fig. 14 Aligning target object and 200LM450 transducer for testing

Fig. 15 Comparison of experimental and simulated results for test 1 (0.5 m depth), test 2 (0.17 m depth) and test 3 (0.12 m depth)

align the midpoint of the object and transducer (as indicated by a yellow dotted line in Fig. 14) at different depth measurement. The actual distance between the transducer and objects was indicated on the side of the towing tank. The experiment consists of four tests. The temperature of the fresh water in the towing tank was at 25.5 °C. The depth of the transducer was 0.50, 0.17, 0.12 and 0.12 m for all tests 1, 2, 3 and 4, respectively. The object used in tests 1–3 was an acrylic sheet while the galvanized steel piece was used in test 4. The distance measured by the test circuit ranges from 0.40 to 5 m (with an increment of 0.20 m).

Several measurement readings were collected. The mean, standard deviation and root mean squared error (RMSE) were determined. As seen in Fig. 15, it is apparent that the simulation result matches the actual distance. The sensor can measure a close distance of 0. 4 m. These results show that the simulation model is able to measure the objects in freshwater accurately. However, there exists a small difference due to the transducer that tilted slightly after the transducer horizontal support was changed. From the experimental results in Fig. 16, it indicates that there are some differences between the freshwater and

123

Author's personal copy 152

J Mar Sci Technol (2015) 20:142–154

Fig. 16 Comparison of experimental and simulated results for fresh water and sea water

Table 3 Experimental value of fresh water and sea water underwater distance measurement Operating condition

Average readings Standard deviation (in cm)

Root mean squared error (in cm)

Percentage error (in %)

Water depth (m)

Target object

Fresh water

Sea water

Fresh water

Sea water

Fresh water

Sea water

Difference (FW - SW)

0.50

Acrylic

0.56

0.17

4.16

14.58

1.09

3.46

2.37

0.17

Acrylic

0.48

0.69

3.72

17.24

0.65

2.95

2.30

0.12

Acrylic

1.68

0.75

8.96

25.72

1.40

3.80

2.40

0.12

Galvanized steel

1.00

0.60

5.24

24.44

0.78

3.42

2.64

seawater mode. As compared to the simulated results, they exhibit the same trend with slight drifted as the measured distance increases. Table 3 shows the freshwater mode has errors \2.64 % (that is less than the common trend of errors of more than 2.75 % [24] when compared to the sea water). The RMSE is quite high in the sea water as compared to fresh water but its standard deviation is smaller in fresh water. This implies that the average magnitude of the error in sea water is higher. These phenomena is caused by the presence of many in homogeneities, including bubble layers close to the surface, living organisms, and mineral particles in suspension in sea water. The speed of sound can be quite sensitive in distance measurement under different fluid medium and depth due to salinity differences. Hence, the solution is to use the self-calibration modes in

123

the program to obtain a better speed of sound in various fluid medium. From Table 3, it can be observed that different materials used for object distance measurement affects the distance measurement. As seen in the standard deviation, the target object material has more impact in sea water than fresh water at the depth of 0.12 m. As seen in the relative percent difference between the acrylic and metal (as compared to the acrylic), the acrylic has a wider spread in the measurements and RMSE as compared to the metal object. The differences are contributed by the surface roughness of the material that causes different scattering of acoustic waves. In Table 4, the average magnitude of the error increases as the measured distance increases. The computed errors are less dominated in fresh water as compared to seawater.

Author's personal copy J Mar Sci Technol (2015) 20:142–154 Table 4 Experimental value of different materials for underwater distance measurement

Depth (in m)

0.12 m

153

Average readings (in cm) Standard deviation (fresh water)

Standard deviation (sea water)

Root mean squared error (fresh water)

Root mean squared error (sea water)

A

M

Rel. % Diff

A

M

Rel. % Diff

A

M

Rel. % Diff

A

M

Rel. % Diff

1.68

1.01

77.15

0.76

0.61

98.45

8.96

5.24

55.89

25.73

24.45

29.36

Fig. 17 Pool experiment for LOCUS sensor

However, the two materials are able to reflect the transmitted ultrasonic wave to the receiver and can detect both metals and acrylic in underwater. During the pool experiment (see Fig. 17), the object used for this experiment was the wall of the swimming pool facing the LOCUS sensing device. The temperature of the pool water was at 28 °C. The device successfully floated in the pool without any supports (see Fig. 17). The device was also able to obtain several measurement distances that were similar to the actual distance from the walls. The device could take some disturbances caused by hand creating some wave on the surface. However, the device was unable to produce measurement with the aggressive wave generation due to excessive presence of bubbles. As seen in Fig. 18, there is approximately 12 % error due to the effect of the waves on the LOCUS sensing device. The possible reason would be the disruption of sound wave transmission when massive bubbles were formed. As stated in reference [25], the presence of air bubbles changes the density and compressibility of the fluid, affecting its speed of sound and resulting direction of the initial sound beam. This indicates that application of acoustic in high concentrations of bubbles, e.g., in the wakes of ships, at shallow depths when waves are breaking at the surface need to be avoided when performing the measurement. However, as the depth increases, these errors will decrease with less wave effect. Hence, it is more viable to use this sensor in deeper water. In summary, the pool test

Fig. 18 Experiment results with and without wave during measurement in pool

results were quite successful and the data collected reflected that the LOCUS sensing device could measure the distance of an underwater target.

5 Conclusion The development and testing of a low-cost ultrasonic (LOCUS) sensing device were shown. The LOCUS sensing device uses the pulse echo detection method to reduce the detection capability. The device was tested at distances up to 5 m in different fluid medium and target objects. The experimental results shown that the percentage difference for the seawater and freshwater measurement was reasonable as compared to the literature. When simulated in the ultrasonic distance measurement software using LabVIEW, the simulated results show a reasonable agreement with the experimental results. In summary, the LOCUS sensing device was

123

Author's personal copy 154

effective for close-range underwater distance measurement study. It provides a test-bed and simulation model for feasibility study of a typical ultrasonic sensor in underwater sensing application before actual implementation. In the future works, the proposed low-cost underwater distance measurement system will be implemented on an actual URV platform. Communication between multiple sensors will be explored using the same platform. The current enclosure design of the proposed sensing device can be improved by designing a new enclosure for deep water testing. Acknowledgments This work was made possible by support of Newcastle University. The authors appreciate the valuable technical support of the academic and technical staff throughout the project.

References 1. Arshad MR (2009) Recent advancement in sensor technology for underwater applications. Indian J Mar Sci 38(3):267–273 2. Snyder J (2010) Doppler Velocity Log navigation for observation-class ROVs, 2010 OCEANS, pp 1–9 3. Arshad MR, Lucas J (1998) Underwater optical ranging system for ROVs. In: OCEANS ‘98 Conference Proceedings, vol 2. pp 1189–1193 4. Nolan S, Toal D (2008) A low directivity ultrasonic sensor for collision avoidance and station keeping on inspection-class AUVs. J Mar Eng Technol A11:1–11 5. Yoon SH, Qiao C (2011) Cooperative search and survey using autonomous underwater vehicles (AUVs). IEEE Trans Parallel Distrib Syst 22(3):364–379 6. Ribas D, Palomeras N, Ridao P, Carreras M, Mallios A (2012) Girona 500 AUV: from survey to intervention. IEEE/ASME Trans Mechatron 17(1):46–53 7. Zhang Y, McEwen RS, Ryan JP, Bellingham JG (2010) Design and tests of an adaptive triggering method for capturing peak samples in a thin phytoplankton layer by an autonomous underwater vehicle. IEEE J Ocean Eng 35(4):785–796 8. Foote KG, Patel R, Tenningen E (2010) Target-tracking in a parametric sonar beam with applications to calibration, 2010 OCEANS, pp 1–7 9. Kocak DM, Dalgleish FR, Caimi FM, Schechner YY (2008) A focus on recent developments and trends in underwater imaging. Mar Technol Soc J 42(1):52–67 10. Caimi FM, Kocak DM, Dalgleish F, Watson J (2008) Underwater imaging and optics: recent advances. IEEE Oceans, Quebec, pp 1–9

123

J Mar Sci Technol (2015) 20:142–154 11. Liu JJ, Jakas A, Obaidi A, Liu Y H (2010) Practical issues and development of underwater 3D laser scanners. In: IEEE Conference on Emerging Technologies and Factory Automation (ETFA), pp 1–8 12. Wang CC, Tang D (2009) Seafloor roughness measured by a laser line scanner and a conductivity probe. IEEE J Ocean Eng 34(4):459–465 13. Hwang PA (2012) Foam and roughness effects on passive microwave remote sensing of the ocean. IEEE Trans Geosci Remote Sens 50(8):2978–2985 14. Simpson J (2008) A 1 Mbps underwater communications system using LEDs and photodiodes with signal processing capability, Master of Science thesis, North Carolina State University 15. Wang JJ, Yuan D and Cai P (2010). Range resolution of ultrasonic distance measurement using single bit cross correlation for robots. In: 2010 IEEE International Conference on Information and Automation (ICIA), pp 917–923 16. Hirata S, Kurosawa MK and Katagiri T (2009). Real-time ultrasonic distance measurements for autonomous mobile robots using cross correlation by single-bit signal processing. In: IEEE International Conference on Robotics and Automation, pp 3601–3606 17. Talebhaghighi Z, Bazzazi F and Sadr A (2010). Design and simulation of ultrasonic denoising algorithm using wavelet transform and ICA. In: 2010 The 2nd International Conference on Computer and Automation Engineering (ICCAE), vol 1, pp 739–743 18. Johansson J, Martinsson PE (2001) Incorporation of diffraction effects in simulations of ultrasonic systems using PSpice models. IEEE Ultrason Symp 1:405–410 19. Jiang SB, Yang CM, Huang RS, Fang CY, Yeh TL (2011) An Innovative ultrasonic time-of-flight measurement method using peak time sequences of different frequencies: part I. IEEE Trans Instrum Meas 60(3):735–744 20. Zhang SY (2010) Research of Ultrasonic Distance Measurement Device. In: 6th International Conference on Wireless Communications Networking and Mobile Computing (WiCOM), pp 1–3 21. Littlestone N, Warmuth MK (1989) The weighted majority algorithm. In: Proceedings of 30th Annual IEEE Symposium on the Foundations of Computer Science, New York, pp 256–261 22. Hammad A, Hafez A, Elewa MT (2007) A LabVIEW based experimental platform for ultrasonic range measurements. DSP J 6(2):1–8 23. Grosso VAD (1974) New equation for the speed of sound in natural waters (with comparisons to other equations). J Acoust Soc Am 56(4):1084–1091 24. Seawater farming. Retrieved September 1723, 2012, from Mission 2014: feeding the World: http://12.000.scripts.mit.edu/mis sion2014/solutions/seawater-farming 25. Kinsler LE, Frey AR, Coppens AB, Sanders JV (2000) Fundamentals of acoustics. John Wiley & Sons Inc, New York

Suggest Documents