Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CORRELATION SPEED SENSOR
Document Type and Number:
WIPO Patent Application WO/2001/013129
Kind Code:
A1
Abstract:
A relative speed of an object such as a boat is determined by monitoring random reflective surfaces in at least one layer at a predetermined depth under water. The system includes a first and second transmitter-receiver pair for producing a data log or signature of the monitored region. For example, a known ultrasonic signal is transmitted towards two separate regions to be monitored, where reflected signals are sampled and recorded in data logs. The monitoring pair of transducers are preferably positioned along an axis of motion of the object such that sampled data from the first and second transmitter-receiver pair are substantially similar but shifted in time due to a separation of the two. Resulting data logs are then used to generate a time difference correlation function that is used to determine a time difference between the first and second signals from the transmitter-receiver pair. Based on the time difference determined from interpolation or extrapolation techniques and distance between monitored regions, a speed of a vessel is determined.

Inventors:
BARTZ JAMES C
BOUCHER STEPHEN G
TANCRELL ROGER H
Application Number:
PCT/US2000/022399
Publication Date:
February 22, 2001
Filing Date:
August 15, 2000
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
AIRMAR TECHN CORP (US)
International Classes:
G01P5/22; G01S7/526; G01S15/58; G01S15/60; (IPC1-7): G01P5/22; G01S15/60
Foreign References:
US5089996A1992-02-18
US5581515A1996-12-03
US5077700A1991-12-31
Attorney, Agent or Firm:
Reynolds, Leo R. (Brook Smith & Reynold, P.C. 530 Virginia Road P.O. Box 9133 Concord MA, US)
Download PDF:
Claims:
CLAIMS What is claimed is:
1. A system comprising: a first receiver for generating a first signal proportional to an intensity of reflections received from a first monitored region; a second receiver for generating a second signal proportional to an intensity of reflections received from a second monitored region; a threshold generator that generates a corresponding first and second respective running threshold signal; a compare circuit that compares each respective first and second signal to its corresponding running threshold signal and stores results in a memory device; and a processing device that calculates a time difference between the first and second signal based upon results stored in the memory device.
2. A system as described in claim 1 wherein the compare circuit generates results indicating a relation between each signal and its respective running threshold.
3. A system as described in claim 2 wherein the compare circuit generates a single bit result, a state of the single bit result indicating whether an intensity of a corresponding signal is greater or less than a respective running threshold.
4. A system as described in claim 3 wherein the memory device is a tapped shift register.
5. A system as in claim 1 wherein a correlation function is generated based on results stored in memory to determine the time difference between the first and second signal.
6. A system as in claim 5 wherein the correlation function is equal to the autocorrelation function of the first signal plus the auto correlation function of the second signal minus twice the cross correlation function is used to determine a time difference between the first and second signal.
7. A system as described in claim 6 wherein the correlation function is generated from results stored in memory based on logarithmically spaced sample times.
8. A system as described in claim 6 wherein the difference correlation function is generated at discrete logarithmically spaced sample times.
9. A system as described in claim 1 wherein the first and second monitored region are rectangular.
10. A system as described in claim 1 wherein the first and second monitored region are square.
11. A system as described in claim 7 wherein the first and second monitored region are contiguous on a common leg and are adjacent to each other.
12. A system as described in claim 1 wherein the processing device calculates the time difference based on intensity of reflections in a layer at a predetermined depth in the first and second monitored region.
13. A system as described in claim 10 wherein a time difference is calculated for each of multiple layers in the first and second monitored region.
14. A system as described in claim 1 wherein each running threshold is based at least in part on a running average of the respective first or second signal.
15. A system as described in claim 14 wherein each running threshold includes an offset.
16. A system as described in claim 15 wherein the offset is between about 5 and 20 dB.
17. A system comprising: a first receiver for generating a first signal proportional to an intensity of reflections received from a first monitored region, the first monitored region being substantially rectangular; a second receiver for generating a second signal proportional to an intensity of reflections received from a second monitored region, the second monitored region being substantially rectangular; a circuit that samples each signal and stores results in a memory device; and a processing device that calculates a time difference between the first and second signal based upon results stored in the memory device.
18. A system as described in claim 17 wherein the first monitored region is contiguous and nonoverlapping with the second monitored region.
19. A system as described in claim 17 wherein the first and second receiver are a first and second ultrasonic transducer respectively.
20. A system as described in claim 17 wherein a correlation function is generated based on results in memory corresponding to the first and second signal.
21. A system as described in claim 17 wherein the correlation function is generated at discrete sample times, a zerocrossing on the correlation function corresponding to the time difference between the first and second signal.
22. A system as described in claim 18 wherein the discrete sample times are logarithmically spaced.
23. A system as described in claim 22 wherein a zero crossing on the correlation function is calculated based on interpolation.
24. A system as described in claim 22 wherein a zero crossing on the correlation function is calculated based on extrapolation.
25. A system as described in claim 19 wherein the first and second transducer are rectangular.
26. A system comprising: a first receiver for generating a first signal proportional to an intensity of reflections received from a first monitored region; a second receiver for generating a second signal proportional to an intensity of reflections received from a second monitored region; a circuit that samples each signal and stores results in a memory device; and a processing device that analyzes the intensity of reflections at multiple predetermined depths of the first and second monitored region and calculates time differences between the first and second signal at the multiple predetermined depths.
27. A system as described in claim 26 wherein the time differences calculated at multiple predetermined depths are averaged.
28. A system comprising: a first receiver for generating a first signal proportional to an intensity of reflections received from a first monitored region; a second receiver for generating a second signal proportional to an intensity of reflections received from a second monitored region; a circuit that samples each signal and stores results in a memory device; and a processing device that generates a correlation function based upon the intensity of reflections in the first and second monitored region, the correlation function including an auto correlation function of the first signal, an auto correlation function of the second signal, and a crosscorrelation function of the first and second signal.
29. A system as in claim 28 wherein the difference function is equal to the autocorrelation function of the first signal plus the auto correlation function of the second signal minus twice the cross correlation function of the first and second signal.
30. A method comprising: generating a first signal proportional to an intensity of reflections received from a first monitored region; generating a second signal proportional to an intensity of reflections received from a second monitored region; generating a corresponding first and second respective running threshold signal; comparing each respective first and second signal to its corresponding running threshold signal and storing results in a memory device; and calculating a time difference between the first and second signal based upon results stored in the memory device.
31. A method as described in claim 30 wherein results stored in memory indicate a relation between each signal and its respective running threshold.
32. A method as described in claim 31 wherein the step of comparing includes generating a single bit result, a state of the single bit result indicating whether an intensity of a corresponding signal is greater or less than a respective running threshold.
33. A method as described in claim 32 wherein the memory device is a tapped shift register.
34. A method as in claim 30 further comprising the step of: generating a difference correlation function based on results stored in memory to determine a time difference between the first and second signal.
35. A method as in claim 34 wherein the difference correlation function is equal to the auto correlation function of the first signal plus the auto correlation function of the second signal minus twice the cross correlation function, said function providing a basis on which to determine a time difference between the first and second signal.
36. A method as described in claim 35 wherein the difference correlation function is generated from results stored in memory based on a logarithmic time spacing between samples.
37. A method as described in claim 35 wherein the difference correlation function is generated at discrete logarithmically spaced sample times.
38. A method as described in claim 30 wherein the first and second monitored region are rectangular.
39. A method as described in claim 30 wherein the first and second monitored region are square.
40. A method as described in claim 36 wherein the first and second monitored region are contiguous on a common leg and are adjacent to each other.
41. A method as described in claim 30 wherein the time difference is calculated based on intensity of reflections in a layer at a predetermined depth in the first and second monitored region.
42. A method as described in claim 39 wherein a time difference is calculated for each of multiple layers in the first and second monitored region.
43. A method as described in claim 30 wherein each running threshold is based at least in part on a running average of a respective first or second signal.
44. A method as described in claim 43 wherein each respective running threshold includes an offset.
45. A method as described in claim 44 wherein the offset is between about 5 and 20 dB.
46. A method comprising: generating a first signal proportional to an intensity of reflections received from a first monitored region, the first monitored region being substantially rectangular; generating a second signal proportional to an intensity of reflections received from a second monitored region, the second monitored region being substantially rectangular; sampling each signal and storing results in a memory device; and calculating a time difference between the first and second signal based upon results stored in the memory device.
47. A method as described in claim 46 wherein the first monitored region is contiguous and nonoverlapping with the second monitored region.
48. A method as described in claim 46 wherein said first and second region are monitored using ultrasonic signals.
49. A method as described in claim 46 further comprising the step of: generating a correlation function based on results in memory corresponding to the first and second signal.
50. A method as described in claim 49 wherein the correlation function is generated at discrete sample times, a zerocrossing on the correlation function corresponding to the time difference between the first and second signal.
51. A method as described in claim 50 wherein the discrete sample times are logarithmically spaced.
52. A method as described in claim 51 wherein a zero crossing on the correlation function is calculated based on interpolation.
53. A method as described in claim 51 wherein a zero crossing on the correlation function is calculated based on extrapolation.
54. A method comprising: generating a first signal proportional to an intensity of reflections received from a first monitored region; generating a second signal proportional to an intensity of reflections received from a second monitored region; sampling each signal and storing results in a memory device; and analyzing the intensity of reflections at multiple predetermined depths of the first and second monitored region and calculating a time difference between the first and second signal at the multiple predetermined depths.
55. A method as described in claim 54 wherein the time difference calculated at multiple predetermined depths is averaged.
56. A method comprising: generating a first signal proportional to an intensity of reflections received from a first monitored region; generating a second signal proportional to an intensity of reflections received from a second monitored region; sampling each signal and storing results in a memory device; and creating a correlation function based upon the intensity of reflections in the first and second monitored region, the correlation function including an autocorrelation function of the first signal, an autocorrelation function of the second signal, and a crosscorrelation function of the first and second signal.
57. A method as in claim 56 wherein the correlation function is equal to the autocorrelation function of the first signal plus the auto correlation function of the second signal minus twice the cross correlation function of the first and second signal.
58. A system comprising: means for generating a first signal proportional to an intensity of reflections received from a first monitored region; means for generating a second signal proportional to an intensity of reflections received from a second monitored region; means for generating a corresponding first and second respective running threshold signal; means for comparing each signal to its corresponding running threshold and means for storing results in a memory device; and means for calculating a time difference between the first and second signal, characteristically similar but shifted in time, based upon results stored in the memory device.
Description:
CORRELATION SPEED SENSOR BACKGROUND OF THE INVENTION Speed sensors used in aquatic applications such as those used to determine the speed of a vessel moving through water have become more accurate at the cost of increased complexity. In the past, speed sensors of the paddle-wheel type were simple but are now outdated due to the fact that they are vulnerable to damage by debris in the water and often impart an undesirable drag on the boat, thus, impeding forward motion. More advanced speed sensors include sophisticated electronics coupled to ultrasonic transducer pairs spaced on a motion axis of a vessel to monitor a forward speed.

According to suggested ultrasonic speed detection methods, two spaced transducers are used to monitor regions beneath the bottom-side of a vessel. Ultrasonic signals from each transducer are emitted towards randomly located reflective particles from such objects as air bubbles present in the water, while corresponding reflected signals are sampled by each respective transducer. Since the monitoring transducers are located along an axis in line with the forward motion of the vessel, each transducer monitors a substantially similar set of randomly located reflective surfaces when the vessel has a forward motion. In other words, a first sensor detects the reflections from a set of randomly located particles, while a second sensor detects reflections off a substantially similar set of particles at a time shift based on the forward motion.

Accordingly, a time difference associated with the two substantially matching but time-shifted signals can then

be used in conjunction with transducer separation to determine vessel speed.

There are drawbacks associated with the aforementioned side-by-side ultrasonic transducer speed sensor. For example, significant signal processing power must typically be employed to accurately determine vessel speed since two entire sets of sampled data corresponding to the location of the vessel at a given instant in time must be analyzed to accurately determine the time difference between the two sampled reflection signals. This is a heavy price to pay for accurately determining speed of a vessel.

SUMMARY OF THE INVENTION The present invention provides several novel improvements for reducing the complexity of processing and comparing signals. Generally, the signal processing improvements disclosed herein reduce the complexity of determining a time difference between two similar signals, including the processing platform upon which the algorithm runs. In one application of the invention, a simplified set of data samples are processed to derive vessel speed, without unduly compromising accuracy of the speed sensor.

The preferred embodiment of the present invention includes two receivers, each for respectively monitoring a first and second region. A first and second signal are generated from each respective receiver based upon the intensity of corresponding reflections in the first and second monitored regions. Using these signals as inputs, a compare circuit is then used to compare an intensity of a reflection signal with a respective

running threshold signal, wherein results of the compare are stored in memory. Based on this stored data, a time difference is generated between the first and second reflection signal.

In a preferred embodiment, the compare circuit generates a single bit result, where a binary 1 is stored in a memory device when the intensity of a reflection signal is greater than a respective running threshold signal. Conversely, a binary 0 is recorded for a compare sample when the respective running threshold is greater than the intensity of the reflection signal.

As discussed, the running threshold is preferably an historical composite of the intensity of the reflection signal in a monitored region. The running threshold is preferably generated based on the running average of the respective reflection signal in a particular monitored layer, i. e., a range bin, plus an offset between about 5 and 20 dB. An offset of 12 dB is used in a preferred embodiment.

In one embodiment, the memory device for storing binary compare results is a pair of tapped shift registers, in which samples of each monitored region are periodically stored. Based on time-stamped data in the tapped shift register, a time difference between a first and second reflection signal is calculated.

The present invention relies on a unique combination of auto-correlation and cross-correlation functions to determine a time-difference between signals. For example, an auto-correlation function tracks the degree to which a signal over a period of time is similar to itself. Essentially, generating the

auto-correlation function involves convolving a signal onto itself. The cross correlation function, on the other hand, compares the likeness of two different signals with respect to each other. A combination of the auto-correlation of each signal and cross- correlation between the two signals is used to generate a correlation function for calculating a time difference between the two reflection signals.

The correlation function is preferably based on a discrete version of the auto-correlation function of the first and second reflection signal less twice the cross correlation between the first and second signal. For example, the correlation function is generated based on data at discrete points in time. Preferably, the correlation function is generated incrementally over time based on data at logarithmically spaced points in the tapped shift registers.

In one embodiment, monitoring contiguous and adjacent square-shaped regions coupled with the method of"digitizing"a reflection signal, i. e., single bit storage of a compare result, substantially linearizes the correlation function. Hence, it is possible to calculate a time difference between the first and second reflection signal from the correlation function using linear mathematics. Either or both interpolation and extrapolation of points in the correlation function are used to determine a zero-crossing point corresponding with a time difference between the first and second signal. Mathematically, the zero-crossing corresponds to the time difference between two substantially similar reflection signals.

The shape of the monitored region for each transducer is ideally rectangular such as a square. To further optimize accuracy of the device and simplify the mathematics associated with the correlation function, the transducers are preferably positioned to monitor two non-overlapping and contiguous rectangular or square regions because such positioning contributes to the generation of a linear time correlation function.

In one embodiment, a predetermined single layer region suspending randomly located reflective surfaces is monitored to generate the time difference function.

In a preferred embodiment, however, multiple layers at various depths are simultaneously monitored, where data is averaged to produce a more accurate time difference correlation function. Specifically, calculating speed based on echo signals at multiple depths results in more accurate readings because some layers may be void of reflective particles altogether. Typically, one of the layers monitored includes a layer 3 to 5 inches beneath, for example, a boat. In the preferred embodiment, a set of shift registers is provided for each monitored layer or range bin, while a processing system simultaneously generates a difference correlation function based on sample data at multiple layers.

One aspect of the present invention is to generate a correlation function based on a substantially reduced data set. For example, the single bit compare result data stored in the shift registers is used to generate a function for determining the time difference between signals. Although only a single bit is stored for a sample compare, each bit contains enough information about the corresponding reflection signal that an

accurate time difference between signals can be determined based on processing data at selected tap points of the shift register following each sample. For example, 7 logarithmically spaced data taps on the shift registers provide enough information in a 65 bit wide shift register to generate an accurate correlation function.

Another aspect of the present invention is to incrementally generate a correlation function based on tapped data from a shift register such as 65 bits wide.

Based on this topology, there is no need to accumulate and simultaneously process an exorbitant amount of data such as 16 bit A/D readings. Rather, the correlation function or equation used in the present invention is generated incrementally while only a reduced set of sample data is stored at any given time. For instance, a relatively small memory device provides sufficient storage space for data samples. Moreover, a relatively simple processing device is required to process such data.

These and other advantages of the present invention will be described in more detail throughout this specification.

BRIEF DESCRIPTION OF THE DRAWINGS The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views.

The drawings are not necessarily to scale, emphasis

instead being placed upon illustrating the principles of the invention.

Fig. 1 is a schematic cross-section view of the present invention that illustrates the disposition of two sensors monitoring randomly located reflective particles in a medium to be monitored.

Fig. 2 is a plot of echo signal amplitude versus time of two similar but time-shifted reflection signals.

Fig. 3 is a side view of components in a speed sensor application of the present invention.

Fig. 4 is a top view of components in a speed sensor application of the present invention.

Fig. 5 is a block diagram of the electronics and related components in the present invention.

Fig. 6 is a block diagram of the present invention that illustrates further details of how each reflection signal is processed, where results are compared and stored in a tapped shift register.

Fig. 7 is an illustration of a sample reflection signal and associated running threshold signal, which are compared to generate a single bit result that is stored in the tapped shift register of the present invention.

Fig. 8 is a graph of an auto-correlation signal of the first reflection signal.

Fig. 9 is a graph of an auto-correlation signal of the second reflection signal.

Fig. 10 is a graph of a cross-correlation function based on the first and second reflection signal.

Fig. 11 is a graph of a reverse speed correlation function according to the equations of the present invention.

Fig. 12 is a graph of a forward speed correlation function according to the equations of the present invention.

Fig. 13 is a graph illustrating a correlation function according to the principles of the present invention.

Figs. 14a-f is a flow diagram of a method for calculating speed based upon a zero-crossing of the correlation function.

Fig. 15 is a flow chart illustrating the process associated with generating a vessel speed of the present invention.

Fig. 16 is a flow chart illustrating details of how the correlation function is used to calculate vessel speed of the present invention.

Fig. 17 is a diagram illustrating sample time images of the binary information in the shift registers and corresponding mapping to the first reflection signal equations.

Fig. 18 is a diagram illustrating sample time images of the binary information in the shift registers and corresponding mapping to the second reflection signal equations.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT Fig. 1 shows a preferred embodiment of the present invention where a first ultrasonic transducer 120 and second ultrasonic transducer 115 are positioned on a motion axis (arrow 135) of a vessel 110, such as a boat hull, for detecting vessel speed. Random particles 150 located in water provide a reflective surface off which transmitted signals or ultrasonic pings from the first

and second ultrasonic transducers 120,115 respectively are reflected. Ultrasonic pings are typically transmitted from each respective transducer at the same time, while transducers are appropriately spaced to reduce cross-talk.

In addition to generating signals such as pings, first transducer 120 and second transducer 115 also detect respective reflections off the randomly located reflective particles 150. Preferably, the monitored region is a predetermined layer beneath the speed sensor 117 such as range bin 140 or 145. Reflective particles 150 in a respective monitored region typically include bubbles, plankton, seaweed or the like including stationary objects such as an ocean floor or rocks.

Preferably, range bin 140 is located 3 to 5" beneath vessel hull 110, and is about 1/4 inch in thickness. A second range bin 145 is optionally monitored for echo signals in addition to the first range bin 140, thus providing more data for accurately calculating a time difference between signals.

Monitoring multiple range bins according to a preferred embodiment of the present invention results in the acquisition of an optimal pool of statistical samples upon which vessel speed calculations are based.

For example, a particular range bin may be void of reflective particles altogether, making it difficult to generate an accurate time difference correlation function.

The spacing between the first and second range bin 140,145 is typically a % inch and is optimized according to the application. Although only two range bins 140 and 145 are shown in Fig. 1, any reasonable

number of range bins can be monitored for determining vessel speed.

Sampling within each range bin 140 is controlled by precise time-sampling of reflection signals for each respective transducer 120,115 following an ultrasonic ping. For example, each transducer generates an ultrasonic beam 125,130 that is directionally transmitted beneath vessel hull 110 as shown. The ultrasonic signals travel at a known speed through the medium in which randomly located particles 150 are suspended.

The reflections off the randomly located particles also travel at an ultrasonic speed back to the respective transducer 115,120. Accordingly, each ultrasonic transducer 115,120 is sampled at the appropriate time following a transmit signal to properly monitor a range bin 140 at a desired depth. The reflection signal at the given depth is then recorded for later determining vessel speed.

Fig. 2 shows an example of reflected echos of a first and second transducer. For example, each ultrasonic transducer is coupled to electronic circuitry that generates a reflection signal indicative of the intensity of a reflection signal. A first echo signal A is compared to a second echo signal B to determine a delay time, At, between the similar but time-shifted reflection signals. Based on this time difference At and the spacing Ad between centers of the first and second transducer 120,115, a vessel speed is generally calculated based on Ad and At.

It should be noted that the shape of the signals in Fig. 2 is merely exemplary and that actual signals used

in the present invention may vary depending on the application. More details regarding reflection signals and corresponding time difference or correlation functions is specifically described later in the specification.

Fig. 3 illustrates a side view of the correlation sensor including housing 330 that is threaded for installation of the speed sensing device in bored vessel shells. Electronic circuitry resides on circuit board 310 for storing and processing data from first and second ultrasonic sensors located at 335. An interface cable 325 in communication with electronic circuitry 310 provides a medium in which speed calculations or other status information is communicated to other devices on board the vessel. For example, speed information is typically transmitted digitally via communication link 325 to a display monitor conveying the calculated speed of the vessel to the pilot.

The bottom view of housing 330 in Fig. 4 illustrates a first and second transducer 355,356 aligned approximately on an axis 350 of the forward motion of a vessel. Preferably, there is a small gap between transducers 355,356 so that there is little or no cross-talk between them, i. e., each transducer should be substantially independent of the other to prevent interference of transmitted and received ultrasonic signals. This small gap may produce an error in the time difference correlation function, but it does so minimally affecting vessel speed calculations.

Based on a preferred positioning of sensors 355,356, the monitored first and second region lie directly beneath each sensor. While the vessel is

moving in a forward direction, each transducer monitors a substantially same set of reflective particles but at different times. As mentioned, this time difference is ultimately used to calculate vessel speed when the vessel moves forward through a region of randomly located reflective surfaces 150 disposed in the beam path of the sensors 355,356.

Temperature sensor 340 provides a means for essentially detecting the temperature of fluid in communication with retractable insert 345 such as the temperature of water beneath a boat hull.

In the preferred embodiment, transducers 355,356 produce highly directional ultrasonic beams towards randomly located particles 150 in the analyzed medium such as water. A square shape (from top view) of each transducer renders it possible to more accurately monitor a square-shaped range bin. Accordingly, the square shape of the transducers contributes to linearize the time difference correlation function.

Spacing of monitored regions is also important.

For example, it is preferred that adjacent monitored regions, in addition to being square-shaped, are contiguous on a common leg and are non-overlapping.

Based on this orientation, the corresponding shape of the resulting time difference correlation function can be analyzed using linear mathematics.

Fig. 5 is a block diagram of electronic circuitry and ultrasonic transducer elements. A first transducer 410 and second transducer 460 are driven by transducer drive circuit 405. In the preferred embodiment, the transducers 410 and 460 produce ultrasonic pings at a rate of 5.7 KHz, where each ping is 18 consecutive

cycles at 4.5 MHz. Typically, each transducer 410,460 is driven so that both transducers 410,460 emit a ping at the same time.

In addition to transmitting ultrasonic signals, each transducer 410,460 acts as an ultrasonic sensor or receiver. Amplifier and signal conditioner circuitry 415 provides high gain to electronically amplify the reflection signal since it is typically a relatively small signal. The reflection signal output of the amplifier and signal conditioner 415 is typically sinusoidal or an AC-like signal of varying amplitude, similar to an amplitude modulated radio signal. This amplified reflection signal is thereafter fed into envelope detector 420 and running threshold generator 425.

Envelope detector 420 is used to detect the envelope or signal intensity of the amplified reflection signal. The output of the envelope detector 420 is a signal proportional to the intensity of the reflection signal and is fed into compare logic 430.

The running threshold generator 425, as its name suggests, generates a reference voltage corresponding to a running average of each respective reflection signal.

Preferably, the running threshold includes an offset proportional to the signal itself such as between 5 and 20 dB. However, a fixed offset is optionally used to generate the running threshold. The output of the running threshold generator 425 is a running threshold signal embodied as a reference voltage. This reference voltage is also fed into compare logic circuitry 430.

In the preferred embodiment, the running average of a respective reflection or echo signal is tracked only

during the time that a range bin 140,145 is sampled.

This is due to the fact that echoes outside of these bins may be drastically higher or lower than reflection signal levels detected within a range bin. For example, immediately following an ultrasonic ping, there is typically a very intense reflection due to disturbance of water in communication with the hull of the moving vessel. If this portion of the reflection signal were included in the running threshold, the result would naturally be higher, degrading the effectiveness of the comparison between a running threshold and instantaneous reflection signal intensity. In short, more accurate results are obtained when the running threshold is generated based on signals within a monitored range bin.

Tracking the running average of a reflection signal at a particular depth is achieved using a switch to control analog circuit generating the running threshold voltage. When a range bin is sampled, the switch is activated so that the running average and, therefore, running threshold is updated accordingly. Conversely, the switch is deactivated during non-sample time periods so that the running threshold value is maintained until the next sample period. In this way, each respective running threshold is proportional to echoes or reflections of particles in the desired range bins.

Preferably, the running threshold is an analog voltage based upon an RC circuit with a time constant of approximately one millisecond. This is approximately a magnitude slower than the sample rate of 5.7 KHz.

Hence, the running threshold is comparably slow-changing with respect to changes in the intensity of the echo signal itself.

Compare logic circuitry 430 provides hardware for comparing running threshold voltage to the intensity of the reflection signal. As mentioned, a sample compare is precisely timed following an ultrasonic ping to monitor a range bin 140 at a predetermined depth.

Within each range bin, several compare samples are generated. For example, a reflection intensity signal from envelope detector 420 output is compared to a running threshold at four to five times per range bin.

In other words, each range bin is preferably sampled at 4 or 5 different sub-layers for the detection of reflective particles. Again, a sample must be timed appropriately following a ping to monitor a desired range bin and sub-layers.

If sampling within a range bin results in a reflection signal greater than the running threshold, a logic 1 is recorded for the range bin sample.

Conversely, a logic 0 is recorded for the range bin sample if all of the reflection signal samples in a range bin are less than the running threshold reference signal.

In a preferred embodiment, as mentioned, the running threshold is 12 dB above the running average of a respective echo signal. As a result, a logic one is not recorded for a sample within a range bin unless the intensity of the reflection signal is relatively strong.

Based on adjusting the offset of the running threshold, it is possible to discriminate between larger and smaller reflective particles. For example, when the offset in the running threshold is set high, only relatively high intensity reflections corresponding to

ultrasonic reflections off larger particles are recorded as a logic 1.

Microprocessor 400 typically includes ample memory for storage of sample data. Moreover, it also includes the algorithm for processing sampled data stored in memory. Although block 400 is labeled as a microprocessor, different functional packaging can be achieved using alternative electronic components.

Communication interface 440 coupled to microprocessor 400 provides a way to transmit and receive data to remote devices. For example, communication interface 440 supports serial communication of data such as calculated speed to a display for viewing.

It should be noted that although the blocks shown in Fig. 5 provide details of components and associated interconnections, packaging of electronics is not necessarily as important as the functional nature of the circuitry itself. There are known substitutes for each of the blocks and described components. For example, microprocessor or micro-controller 400 optionally includes external memory devices such as RAM or FIFOs.

Fig. 6 illustrates how sample data from sensors or transducers 515,535 is processed and then stored in memory for the generation of a correlation function, which is described in more detail later in this specification.

The first transducer 515 and second transducer 535 transmit ultrasonic pings toward respectively monitored range bins 510 and 530. Preferably, the ping rate is fixed at 5.7 KHz, which transmits an 18 cycle long acoustic wave at a frequency of 4.5 MHz. It should be

noted that transducer spacing and ping rate are optionally adjusted for the range of speeds detected in the application. Likewise, the running threshold level for compare purposes can be adjusted to detect relatively larger or smaller particles as mentioned.

A low level transducer reflection signal from transducers 515,535 is fed into the respective amplifier 516,536 as shown in Fig. 6. The output of the amplifier 516,536 is then fed into respective compare circuitry 518,538 and running threshold generator 517,537. Each running threshold generator then produces a running threshold reference voltage which is used for compare purposes. For example, the amplified reflection signal is compared to the running threshold using compare circuitry 518,538, where results are thereafter stored in shift registers 520,540. As mentioned, a sample compare is timed appropriately following each ultrasonic ping issued at a rate of 5.7 KHz.

Sample compare results are preferably stored as single bit results in each respective FIFO 525,545, where data is shifted for storage of each new sample.

Since the FIFO 520,545 is 64 bits wide, data in the last register is lost as each new sample compare data is stored in FIFO 520,540.

As shown, the tapped elements 525,545 in the FIFOs 520,540 are logarithmically spaced. Following storage of a sample compare data in the respective FIFO, the sample data in tapped elements is then used to generate an optimal correlation function for essentially determining the time difference between the first and second reflection signals.

Fig. 7 is a graph showing an intensity of an echo or reflection signal 570 and corresponding running threshold 560. Accordingly, a sample of the reflection signal 570 at time Si is compared to running threshold 560. If the echo or reflection signal 570 of a sampled transducer is less than the corresponding running threshold 560, a logic 0 is recorded for that sample compare. Conversely, a logic 1 is recorded for a sample compare when the sample of the echo or reflection signal 570 is greater than the corresponding running threshold 560. Hence, for sample Si a logic 1 would be stored in the shift register 520,540. Likewise, for sample S2 a logic 0 would be stored in the shift register 520,540 because the running threshold 570 is greater than intensity of the reflection signal at the sample time.

The following table summarizes compare results for the graph shown in Fig. 7.

Sample Binary Compare <BR> <BR> <BR> <BR> Result<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> si<BR> <BR> <BR> <BR> <BR> S2 0 S3 0 S4 1 S5 1 In a preferred embodiment, however, each range bin is preferably sampled 4 or 5 times and a logic 1 is recorded if any of the samples in a particular range bin 140 is greater than the running threshold 560. Hence, if sample S1 through S4 correspond with 4 samples taken at different depths within a range bin, a logic 1 would

be stored in the shift register because at least one of the samples within the range bin was greater than the running threshold 560.

In the preferred embodiment, the time difference correlation function used to accurately determine the time difference value for calculating vessel speed is generated from the digitized sample data stored in FIFOs 520,540 for each respective reflection signal.

Specifically, an auto-correlation function is generated for each respective sample log while a cross-correlation function is generated based on data from both the first and second reflection signal.

The auto-correlation function for this system can be written as: while the cross-correlation function can be written as: In discrete form, the expressions are further reduced to produce auto and cross correlation functions as follows: where N equals the number of discrete samples in a sample pool, i. e., 2850 consecutive samples at a rate of 5.7KHz, T is the sample period or ping rate and n is a present discrete sample. A first and second auto- correlation function are shown in Figs. 8 and 9 respectively. Likewise, an example of the cross- correlation function is illustrated in Fig. 10.

The shape of the correlation function of the present invention is substantially linear due to the shape of the transducers and monitored range bin, which is preferably rectangular. In the preferred embodiment, both square-shaped transducers are positioned in close proximity such that the rectangular areas monitored (top view) by each transducer or sensor are contiguous on a common side of the rectangular area.

In other words, the monitored region from a top view appears as two non-overlapping squares touching on a common leg or side.

The aforementioned method of digitizing the data also contributes to linearize the time difference function supporting simplified mathematical calculations. Although a linear time difference correlation function is preferred, it is also possible

to use non-linear time difference correlation functions to calculate speed based upon the methods recited herein.

The difference correlation function is derived from the addition of the auto-correlation function for each sample log less twice the cross-correlation function.

In mathematical terms, the equation is as follows: DF(T)=ACS1(T)+ACS2(T)-2CCS1S2(T) In discrete terms the equation is:

Fig. 11 and 12 graphically depict the difference correlation function for a reverse and forward speed respectively. For higher speeds, the slopes of the lines becomes steeper. Conversely, slower vessel speeds result in flatter peaks and valleys on the difference correlation function.

The difference correlation function is preferably evaluated at several well chosen points as follows:

For example, the value of each component, namely Slo Slm + S2o S2m-2 Slo S2m is calculated following each newly stored sample and is summed over a half second of time samples, i. e., 2850 samples.

Fig. 17 is a diagram illustrating a bit image of the 65 bit wide register for the first reflection signal at a given sample time. As shown, each new bit compare is shifted into the register from the left, wherein a cell such as 1750,1751, and 1752 is labeled with corresponding equation mapping information. For example, Slo (tl) is the bit compare result for the first reflection signal in the first cell 1750 of the 65 bit wide shift register for sample time or snapshot at time

tl. The 2850 data samples in the bit images are incrementally used to generate the corresponding DF (T) values at To, Tl, T2, T4, Ta, T16, T32 and T64 in the above equations. Notably, relatively few bits are stored in the corresponding 65 bit wide shift register at any given time.

Likewise, Fig. 18 is a diagram illustrating a bit sample image for the second reflection signal.

Based on the bit sample data stored in the FIFOs at a given snapshot in time, the difference correlation function is generated as illustrated in Fig. 13 using the equations in the table above.

As mentioned, the time difference correlation function is generated incrementally for each new sample of data stored in the shift register. For example, the difference function is the summation of components, i. e., SloSlm+S2oS2m-2SloS2m as described in the above <BR> <BR> <BR> <BR> equations over a half second sample period. For a new second sample period, DF (Tl) through DF (T64) are initially set to zero. Following each new sample stored in the shift register, results for the equations above are incrementally added to generate a final result for DF (T1) through DF (T64).

In the equations above, S1 and S2 correspond to reflection or echo data from the first and second signal respectively, while the subscripts correspond to the tap points 525,545 on the corresponding shift register 520,540. For example, Slo is the binary value of the zeroth tap of the first reflection signal 1750, Sll is the binary value of the first tap of the first reflection signal 1751, and so on. Likewise, S21 is the

binary value of the first tap of second reflection signal 1851.

Each DF (T) is calculated based on standard or binary arithmetic using the binary values at the corresponding taps in the shift registers where: lxl=1 <BR> <BR> <BR> Oxl=0<BR> <BR> <BR> <BR> 1x0=0<BR> <BR> <BR> Ox0=0 It should be noted that a logical operation such as an XOR is optionally used in the above equations in lieu of multiplication.

As mentioned, after a new sample compare value is stored in the corresponding shift register, the difference function component, namely: SloSlm+S2oS2m-2SloS2m for each DF (TM) is computed and summed with the last value for a given TM, where M= logarithmic tap point 0,1,2,4,8,... 64. Based on the summation of these components for each sample compare over a half second sample range, each logarithmically spaced DF (T) is incrementally generated. The resulting values for DF (T,), DF (T2), DF (T4), DF (T8), DF (T16), DF (T32) and DF (T64) comprise a time difference correlation function.

The time difference correlation function as shown in Fig. 13 includes a zero-crossing point on the T-axis (horizontal axis), which mathematically corresponds with the time difference between the first and second reflection signal. Based on the delay time between the

first and second reflection signal, vessel speed is calculated. The zero-crossing point is estimated using either interpolation or extrapolation among data points on the difference correlation function, i. e., DF (T) values at To, T1, T2, T4, Te, T16, T32 and T64. An example of the zero-crossing point is shown in Fig. 13 at reference number 710.

According to the principles of the present invention, the amount of data manipulation or number- crunching is substantially reduced because essentially only 7 points are used to create the difference correlation function, i. e., the following points define the difference correlation function at DF (T1), DF (T2), DF (T4), DF (T8), DF (T16), DF (T32) and DF (T64). A precise At is determined from the difference function by calculating the zero-crossing point as shown at 710 or TSPEED. Since the function is approximately linear, interpolation or extrapolation techniques based on linear mathematics are used to determine TSPEED.

Accordingly, a vessel speed is calculated by: <BR> <BR> <BR> <BR> <BR> <BR> <BR> element spacing<BR> <BR> <BR> Speed = ping rate<BR> <BR> <BR> 2#TSPEED This equation is derived from proportional triangles A, B, C, and D as illustrated in Fig. 13.

Based on this equation, TSPEED at point 710 is calculated. Known dimensions of triangle B are substituted into unknown triangle A. Based on the geometries, it can be shown that: 16 DF (Ti6)-DF (T32) T. 6 ping rate 2DFDF(T32)Tspeedelementspacing- 2 x speed In the instant case, vessel speed for a TSPEED zero- crossing point 710 between T16 and T32 is: sensor element spacing p1ng rate 2 DF (Tl6)-DF (T32) 16 2 DF (TI6)-DF (T32)

The following equations are used to calculate vessel speed based upon where the zero crossing 710 lies on the difference correlation function: SPEED RANGE SPEED EQUATION elementspacing ping rate 2 DF (T,)-DF (Tz) T T 1 1 2 DF f Tl)-DF f T2) elementspacing 2 DF (T2)-DF (T,) 2 4 1 2 2DF (T2)-DF (7,) elementspacing ) s! 4 2DF (7,)-DF (7s) e/eMeMpacMg 2 DF (T)-DF (T,) speed 4 2DF (TQ)-DF (T8) elementspacing pingrate 2 DF (T)-DF (T, 6) 8 16 | 8 2DF (z8)-DF (T, 6) elementspacing pingrate 2 DF (T, 6)-DF (Tz) elementspacing elementspacing ping rate 2 DF (T3z)-DF (Tba) T3z-T64 32 2DF (T32)-DF (T) Speed For example, if the zero crossing lies between Te and T16, the corresponding speed equation is employed to determine the time difference between signals. These equations are derived from the mathematical methods as described in Fig. 13.

Figs. 14a through 14f illustrate a method of determining vessel speed based upon the difference

correlation function. The routine repeats on a continuous basis, constantly generating a vessel speed based on the first and second reflection signal.

In step 905, a value is computed for DF (Tl)-DF (T2).

A range check is then performed for both DF (T1) and DF (T1)-DF (T2) in step 910. If the values fall within the appropriate range indicating reasonable data, then the routine continues at step 920. If the value of DF (T1) or DF (T1)-DF (T2) falls outside a predetermined range, no speed is found and the last speed is held-over for 2 seconds in step 912.

The difference function at To is then calculated in step 920 based on 2DF (T1)-DF (T2). If the result of calculated DF (To) in step 920 does not fall within an appropriate predetermined range in step 925, the routine continues at step 955 for the next speed range check, i. e., T2T4 Speed Range in Fig. 14b. Otherwise, speed is calculated based on equations in steps 930,935 and 940.

The value of"57Kt"in step 930 is based on the ping rate and transducer or receiver element spacing. For example, 57Kt/1 = [ping rate X (element spacing/2)]/1 is the first component of the speed equation for range T1T2 as shown in the Speed Range/Speed Equation table above.

In a preferred embodiment, the ping rate is set to 5.7 KHz and the element spacing is. 405 inches. A conversion factor of. 049 is used to convert from inches/second to nautical miles/hour, i. e., knots.

The calculated speed is then compared in step 945 and 950 to determine whether the calculated speed falls within a high speed or low speed value for the range T and T2. If so, a valid speed has been found. If the

speed result does not fall within range, the speed range T2 to T4 is checked in step 955.

In step 955, it is determined whether the difference function is greater than zero at time T2. If not, the next lower speed range in Fig. 14c is checked beginning in step 1005.

If the difference function is greater than zero at time T2 in step 955, DF (T2)-DF (T4) is calculated in step 960. If the result of DF (T2)-DF (T4) is less than zero in step 965, the next lower speed range is checked beginning in step 1005. Otherwise the difference function at To is calculated based on 2DF (T2)-DF (T4) in step 970.

If the result of calculated DF (To) in step 970 is not within a predetermined range in step 975, the next lower speed range is checked beginning at step 1005. If the result in step 970 is within an appropriate range in step 975, then speed is calculated based on equations in step 980,985 and 990.

The calculated speed is then checked against the speed range in step 995 and step 1000 to determine if the result is within an appropriate range. If so, a valid speed has been found. Otherwise, a next lower speed range is checked beginning in step 1005.

The aforementioned process of determining speed continues in each of the ranges until a valid speed has been found.

Fig. 15 is a flow chart illustrating the process associated with generating a vessel speed. Step 1500 shows the entry point of the flow process. An ultrasonic ping is first generated in step 1505. As mentioned, a time delay is incorporated before sampling

a particular range bin in step 1510 to allow time for the ultrasonic signal to travel through the medium and bounce back to the receiver. In step 515, the running threshold signal for the range bin is activated so that the running threshold signal tracks the value of the reflection signal preferably during a range bin only.

In step 1520, four samples within a range bin are compared to the running threshold signal, where a logic 1 is noted if the running threshold is less than the intensity of the reflection signal at a sample point.

If any of the four samples of the reflection signal within a range bin is greater than the running threshold, a logic 1 is stored as compare result data for the range bin and a particular ping. This compare result data is then stored in appropriate shift register.

The running threshold generator is then disabled in step 1525 after sampling of the range bin.

Step 1530 provides a flow back to step 1510 if all range bins have not been sampled following an ultrasonic ping. After all range bins have been sampled in step 1530, the incremental value for each DF (T) is calculated in step 1535. Thereafter, the aforementioned routine repeats following step 1540 to perform 2850 successive samples for each range bin. After the appropriate number of samples is taken in step 1540, vessel speed is calculated based on the generated values for the DF (T) s in step 1545. Step 1550 shows the end of the flow process.

It should be noted that there is preferably a pair of shift registers for each monitored range bin, and that a set of DF (T) s are generated based on sample

compare data in each corresponding pair of shift registers. Thereafter, a vessel speed is generated based on averaging the calculated speed for each range bin.

Alternatively, a single set of DF (T) s are optionally generated based on the compare sample data in multiple range bins.

Fig. 16 is a flow chart illustrating details of how the correlation function is used to calculate vessel speed. Step 1600 shows the start of the flow process.

In step 1605, the range of points including the zero-crossing is first determined. For example, if T4 corresponds with the DF (T) point on the left and above the zero-crossing while Te corresponds with the DF (T) on the right and below the zero-crossing, the speed range is T4T8. In step 1610, a range check is performed on the value of DF (T) at the corresponding range endpoints, i. e., such as T4 and T8 to determine if the data for DF (T) is within a predetermined range. If the values for a given DF (T) fall outside a corresponding predetermined range, no speed is found and the last calculated speed is held-over for two seconds. In other words, if it is known that the data is bad based on a range check, the data is not used to determine vessel speed.

If the value for the DF (T) s at the range endpoints is within the appropriate range in step 1610, a vessel speed is calculated in step 1615 using the appropriate speed equation for the speed range. Thereafter, a range check is performed on the calculated vessel speed. If the vessel speed is within range, a new vessel speed is recorded in step 1625. Alternatively, if the calculated

vessel speed is not within the predetermined range in step 1620, no speed is found and the last speed is held over for two seconds in step 1630.

The routines as described in Figs. 15 and 16 are repeated on a continuous basis such that a new vessel speed is generated every % second based on the previous two seconds of sampled data. For example, the last four second intervals of sample data used to generate a corresponding vessel speed are averaged to generate a vessel speed for the past 2 second time frame.

While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.