Claims
- 1. In a doppler sonar speed measuring system of the type having a sequence of transmitted pulse signals and a corresponding sequence of reflected pulse signals and providing a doppler frequency as unfiltered raw speed data to an adaptive filter, the filter providing filtered speed data, the filter improvement comprising:
- pulse generator means for transferring said unfiltered raw speed data to a first register of an adaptive filter;
- means for providing said filtered speed data in a second register of said adaptive filter;
- means for comparing said data in said first and second registers;
- means for establishing a value of allowed speed change for said filtered data for each comparison;
- said allowed speed change being determined by the magnitude and sign of each comparison;
- said allowed speed change being reduced to a minimum predetermined value when the sign provided by the comparison of the first and second registers changes from the sign of the previous comparison; and
- said second register thereby providing filtered speed data.
- 2. A method for filtering the raw data of each cycle of a sonar doppler velocity signal to provide a display value of doppler velocity comprising:
- storing a previous raw value of velocity V'.sub.N-1 ;
- storing a previous filtered value of velocity V.sub.N-1 ;
- providing a velocity gate width of G.sub.N-1 ;
- obtaining the difference .DELTA..sub.N-1 =V.sub.N-1 -V'.sub.N-1 of said filtered value and said raw value of velocity;
- determining the sign of the change in polarity of .DELTA..sub.N-1 ;
- step A: measuring the new value of raw data velocity V'.sub.N, and subtracting the previous filtered velocity value V.sub.N-1 from V'.sub.N [.DELTA..sub.N =(V'.sub.N -V.sub.N-1)] to obtain the sign and difference value of .DELTA..sub.N =V'.sub.N -V.sub.N-1 ;
- step B: compare .DELTA..sub.N with .DELTA..sub.N-1 to determine whether the sign has changed;
- if the sign has not changed, determine whether .DELTA..sub.N exceeds the value of velocity gate width G.sub.N-1 ;
- if .DELTA..sub.N is greater than G.sub.N-1, provide the filtered value of velocity V.sub.N-1 +G.sub.N-1 to a first register and increase G.sub.N-1 by the next higher allowable increment to G.sub.N ;
- if .DELTA..sub.N is less than G.sub.N-1, provide the value V'.sub.N to the first register and decrement the gate value G.sub.N-1 to the next lower allowable value G.sub.N ;
- if .DELTA..sub.N is zero, provide the value V'.sub.N to the first register and decrement the gate value G.sub.N-1 to the next lower allowable level G.sub.N and retain the sign of the error .DELTA..sub.N-1 of the previous difference reading;
- return to step A to repeat the process steps for the next raw data input V'.sub.N+1 on the succeeding cycle to obtain the next filtered doppler speed value V.sub.N+1 ;
- if step B determines that the sign of .DELTA..sub.N and .DELTA..sub.N-1 has changed, and if the difference is toward a slower speed, then make V.sub.N equal to V.sub.N-1 -V.sub.0, is the smallest allowable change in display speed value, set G.sub.N to V.sub.0, and retain the sign of the difference .DELTA..sub.N ;
- if step B determines that the sign of .DELTA..sub.N and .DELTA.N-1 has changed, and if the difference is toward a faster speed, then make V.sub.N equal to V.sub.N-1 +V.sub.0, set G.sub.N to V.sub.0, and retain the sign of the difference .DELTA..sub.N ;
- return to step A to repeat the process steps for the raw data input on the succeeding cycle to obtain the next filtered doppler speed value V.sub.N+1.
- 3. A doppler sonar speed measuring system comprising:
- means for cyclically obtaining raw data corresponding to the measured doppler speed during one cycle;
- means for filtering said cycled raw data to obtain cyclical filtered doppler speed data;
- means for storing filtered doppler speed data from the cycle preceding said one cycle; said means for filtering comprising,
- means for comparing said raw data of said one cycle with said filtered data of said preceding cycle to provide a difference signal;
- means for changing said stored filtered data to reduce said difference signal;
- means responsive to said comparing means to determine if the sign of the difference signal amplitude has changed and to determine if said difference signal has been reduced to amplitude zero;
- means responsive to said difference signal to stop said means for changing said stored filtered data in response to a zero amplitude output from said comparing means;
- means responsive to said change in sign of said difference signal to limit the amount by which said means for changing can change the amplitude of said stored filtered data; and
- means for providing said stored filtered data as a speed value to a speed indicating device on each cycle.
- 4. A doppler speed measuring system of the type having a raw speed data register and an output displayed speed data register, where the displayed speed data is filtered raw speed data, the filter improvement comprising:
- a preset register B;
- an up/down register A;
- a cycle start pulse generator means providing cyclic start pulses;
- said start pulse generator means transferring said raw speed data to said preset register, in response to each start pulses;
- a comparator means connected to the outputs of said registers A, B providing separate outputs for A>B, A=B, and A<B;
- a programmer pulse means connected to said start pulse generator providing a sequence of one through six pulses in response to each start pulse;
- a source of clock pulses;
- a 2.sup.N binary number generator where N is a decimal digit responsive to said fourth pulse from said programmer pulse means;
- a preset counter set to the 2.sup.N binary number provided by said generator and counted down by said clock pulses;
- a first AND gate responsive to an output state of said preset counter decremented by clock pulses and responsive to said clock pulses and connected to said counter A to provide clock pulses to cause said counter to count in a direction determined by the state of a signal provided to the U/D terminal of said counter A by said comparator A>B output;
- first and second storage means each storing the states of the A>B and A<B outputs of said comparator on successive first and second cycles, respectively, said first store being responsive to the first pulse produced by said programmer after activation by said cycle start pulse;
- a first OR circuit;
- a first exclusive OR circuit connected to the A>B and A<B outputs of said first and second storage means to provide an output signal to a first input of said first OR circuit;
- a second exclusive OR circuit responsive to the A>B output of said comparator and the A>B output from the latest cycle of said first exclusive OR circuit to provide an output signal to a second input of said first OR circuit, the output of said first OR circuit being connected to the R/L terminal of said 2.sup.N generator;
- a second AND gate connected to the output of said first exclusive OR circuit and to the A=B output of said comparator to provide at its output a signal to the CLEAR input of said 2.sup.N generator;
- the output of said preset counter being provided as an input to the inhibit terminal of said programmer to prevent the programmer from providing a pulse from its fourth output terminal to clock said 2.sup.N generator until the count-down of the count of said preset counter;
- said programmer providing a pulse on its fifth output terminal to said second storage means at the termination of the pulse on the fourth output terminal to transfer the A>B and A<B outputs of the first storage means to said second storage means;
- a second OR gate;
- said programmer providing a pulse on its fifth output terminal at the termination of the pulse on the fourth output terminal to one input of said second OR gate, a second input of said second OR gate being connected to the output of said second AND gate, said second OR gate having its output connected to the CLEAR input of said programmer to put the programmer in a state where it is responsive to the next occurring cycle start pulse; and
- said preset counter providing a number representing the filtered speed data to said displayed speed register.
- 5. The system of claim 4 wherein said first exclusive OR circuit comprises third and fourth exclusive OR circuits;
- the third exclusive OR circuit having its inputs connected to the A>B outputs of said first and second storage means;
- the fourth exclusive OR circuit having its inputs connected to the A>B outputs of said first and second storage means;
- a third OR circuit having inputs connected to the outputs of said third and fourth exclusive OR circuits;
- the output of said third OR circuit being connected to one input of said second AND circuit.
- 6. In a sonar doppler speed measuring system which provides a succession of measured raw speed data and which provides a corresponding succession of filtered indicated speed data, the improvement comprising:
- comparing the relative magnitude of a first filtered indicated speed data resulting from the filtering of a first occurring raw speed data with the relative magnitude of a second occurring raw speed data;
- determining from said comparison whether there has been a reversal in said relative magnitudes; and
- limiting the amount by which said filtered indicated speed data changes in the direction of change of said second occurring raw speed data when said reversal occurs; and
- said filtered indicated speed data being provided by said system as an output speed signal.
- 7. The system of claim 6 wherein said comparing the relative magnitude comprises using a comparator whose output states change with the magnitude of the raw speed and filtered speed data.
- 8. Adaptive filtering for providing a sequence of filtered doppler velocity output signals from a corresponding sequence of unfiltered doppler velocity input signals provided by a sonar system, said filtering comprising the steps of:
- a threshold signal having a plurality of prescribed values;
- (1) determining a sequence of differences between an unfiltered signal and an immediately preceding filtered doppler velocity signal;
- (2) determining changes or the absence of change in polarity of the sequence of the determined differences;
- (a) if the difference is greater than said threshold value, increasing the output by said threshold value, and increasing the threshold value to a next larger prescribed value;
- (b) if the difference is less than said threshold value, decreasing the output to the unfiltered value of velocity, and reducing the threshold to a next smaller prescribed value;
- (c) if the difference is zero, providing the preceding output and reducing the threshold to a smallest prescribed value;
- (3) determining if the difference is of the opposite polarity from the immediately preceding value;
- (a) if the unfiltered value is smaller than said filtered value, decreasing the output by a minimum prescribed threshold value and reducing the threshold to its smallest prescribed value;
- (b) if the unfiltered value is larger than said filtered value, increasing the output by a minimum prescribed threshold value, and reducing the threshold to its smallest prescribed value; and
- providing said filtered values of doppler velocity signals as an output of said sonar system.
- 9. A method for filtering unfiltered data of each cycle of a periodic doppler velocity signal to provide a corresponding filtered value of doppler velocity signal comprising:
- storing a raw velocity value V.sub.N ;
- storing a previous filtered velocity value V.sub.N-1 ;
- providing a velocity gate width of G.sub.N-1 ;
- step A: storing a new value of raw data velocity V.sub.N, and subtracting the filtered velocity value V.sub.N-1 from V.sub.N to obtain the sign and difference value of .DELTA..sub.N ;
- step B: compare .DELTA..sub.N with .DELTA..sub.N-1 to determine whether the sign has changed;
- if the sign has not changed, determine whether .DELTA..sub.N exceeds the value of G.sub.N-1 ;
- if .DELTA..sub.N is greater than G.sub.N-1, provide the filtered value of velocity V.sub.N-1 +G.sub.N-1 to a display register and increase G.sub.N-1 by the next higher allowable increment to G.sub.N ;
- if .DELTA..sub.N is less than G.sub.N-1, provide the value V.sub.N to the display register and decrement the gate value G.sub.N-1 to the next lower allowable value G.sub.N ;
- if .DELTA..sub.N is zero, provide the value V.sub.N to the display register and decrement the gate value G.sub.N-1 to the next lower allowable level G.sub.N and retain the sign of the error .DELTA..sub.N-1 of the previous difference reading;
- return to step A to repeat the process steps for the next raw data input on the succeeding cycle to obtain the next filtered doppler speed value V.sub.N+1 ;
- if step B determines that the sign of .DELTA..sub.N and .DELTA..sub.N-1 has changed, and if the difference is toward a slower speed, then make V.sub.N equal to V.sub.N-1 -V.sub.0, where V.sub.0 is the smallest allowable change in display speed value, set G.sub.N to V.sub.0, and retain the sign of the difference .DELTA..sub.N ;
- if step B determines that the sign of .DELTA..sub.N and .DELTA..sub.N-1 has changed, and if the difference is toward a faster speed, then make V.sub.N equal to V.sub.N-1 +V.sub.0, set G.sub.N to V.sub.0, and retain the sign of the difference .DELTA..sub.N ;
- return to step A to repeat the process steps for the raw data input on the succeeding cycle to obtain the next filtered doppler speed value V.sub.N+1.
- 10. A sonar system for providing at its output of filtered doppler velocity output signals, said system including adaptive filtering for providing a sequence of filtered output signals from a corresponding sequence of unfiltered input signals provided by said sonar system, said filtering comprising the steps of:
- (1) determining a sequence of differences between each one of the sequence of unfiltered signals and each corresponding one of a sequence of preceding filtered signals, each one of such differences having a magnitude and a sign;
- (2) determining a change, or an absence of change, of the sign in the sequence of determined differences;
- (3) modifying a predetermined threshold value and filtered output signal amplitude in accordance with the following criteria:
- in response to the determined absence of a change in sign determining whether said difference magnitude is greater than, less than, or equal to a predetermined threshold value to correspondingly:
- (a) increase the threshold to a next higher value, decrease the threshold to a next lower value, or reduce the threshold to a lowest prescribed value; and
- (b) increase the filtered output signal amplitude by said threshold value, decrease said unfiltered signal amplitude, or leave the unfiltered signal amplitude unchanged;
- in response to a determination of a change in sign in said determined differences, selectively decreasing or increasing the output signal in accordance with the change in sign; and
- said filtering steps providing a filtered doppler velocity output signal from said sonar system.
- 11. A sonar system for providing at its output filtered doppler velocity output signals, said system including adaptive filtering for providing a sequence of filtered output signals and providing a corresponding sequence of prescribed threshold values each from a corresponding sequence of unfiltered input signals, said filtering comprising the steps of:
- (1) determining a sequence of differences between each one of a sequence of unfiltered signals and a corresponding one of a sequence of preceding filtered signals, each one of such differences having a magnitude and a sign;
- (2) determining a change or an absence of change of sign in each of the sequence of determined differences;
- (3) in the absence of a change in sign between two successive determined differences, then determining whether said difference magnitude is greater than, less than, or equal to a predetermined threshold value in which case the threshold is increased, decreased, or reduced to a next higher, a next lower, or the lowest prescribed value, respectively, and the filtered output signal is increased by said threshold value, decreased to said unfiltered signal amplitude, unchanged, respectively;
- (4) for a change in sign in said determined differences changing the output signal by a predetermined amount in accordance with the change in sign, respectively; and
- said filtering steps providing a filtered doppler velocity output signal from said sonar system.
Parent Case Info
This application is a continuation of application Ser. No. 000,262, filed Jan. 2, 1987, now abandoned.
US Referenced Citations (6)
Continuations (1)
|
Number |
Date |
Country |
Parent |
262 |
Jan 1987 |
|