Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PEAK TRACKING CORRELATOR
Document Type and Number:
WIPO Patent Application WO/1979/001119
Kind Code:
A1
Abstract:
Apparatus for tracking the peak of a correlation function between two signals (x(t),y(t)) includes a coarse peak detector (26) for providing a coarse measure of the peak position and a tracking correlator for providing a fine indication of the peak once its tracking range has been set by the coarse detector. The preferred tracking correlator includes a word controlled shift register (25) whose length is controlled by a signal (Np) from the coarse detector (26) thereby setting the tracking range. A delay-lock-loop including a multiplier (16), smoothing circuit (18), integrator (19) and voltage controlled oscillator (20) achieves a stable state when the clock frequency (Fc) of the register (25) produces a null at the input to the integrator (19). A preferred use of the apparatus is as a flowmeter.

Inventors:
JORDAN J (GB)
Application Number:
PCT/GB1979/000076
Publication Date:
December 27, 1979
Filing Date:
May 24, 1979
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SYBRON CORP (US)
JORDAN J (GB)
International Classes:
G01F1/712; G06F17/15; G06G7/19; G01F1/00; (IPC1-7): G06G7/19; G06F15/34; G01F1/00
Foreign References:
DE2133942A11973-01-18
US3660647A1972-05-02
DE2705159A11978-08-17
GB1398381A1975-06-18
US3982114A1976-09-21
FR2041579A51971-01-29
Other References:
The Radio and Electronic Engineer, Volume 43, No. 6, published June 1973, (London) Hayes and Musgrave: "Correlator Design to flow Measurement", see pages 363-367.
Download PDF:
Claims:
CLAIMS : -
1. Apparatus for tracking the peak of a correlation function between two signals, said apparatus comprising in combination first correlator means respon¬ sive to said signals for providing a coarse measure of the position of said peak and second correlator means responsive to said signals for tracking said position when said coarse measure corresponds to the tracking range of said second correlator means , said first correlator means being connected to said second correlator means for causing said tracking range to correspond to said coarse measure.
2. i.
3. Apparatus according to claim 1 wherein said second correlator means includes delay means for providing a delay which determines said tracking range and which is variable in response to said coarse measure such as to cause said tracking range to corres¬ pond to said coarse measure.
4. Apparatus according to claim 2 wherein said delay means comprises a delaylockloop circuit for providing both said delay and a fine measure of the position of said peak within the tracking range.
5. Apparatus according to claim ~ further including means for processing said coarse measure and said fine measure thereby to derive an indication of a delay time between said twc signals at which the correlation function is a maximum.
6. Apparatus according to claim 3 or 4 wherein said delaylockloop circuit includes oscillator means producing a control signal having a frequency corresponding to said fine measure.
7. A flowmeter fortracking tho peak of a correlation function between two flowrelated signals , said flowmeter comprising: two detectors located adjacent a flowing fluid for producing said two signals such that one of said signals identifies given elements of said fluid at a first location and the other of said signals identifies corresponding given elements of said fluid at' a second location, said first and second locations being mutually spaced apart along the path of flow of said fluid; first correlator means responsive to said signals for providing a coarse measure of the position of said peak; and second correlator means responsive to said signals for tracking said position when said coarse measure corresponds to the tracking range of said second correlator means , said first correlator means being connected to said second correlator means for causing said tracking range to correspond to said coarse measure.
8. A flowmeter according to claim 6 wherein said second correlator means includes delay means for providing a delay which determines said tracking range and which is variable in response to said coarse measure such as to cause said tracking range to corres¬ pond to said coarse measure.
9. A flowmeter according to claim 7 wherein said delay means comprises a delaylockloop circuit or providing both said delay and a fine measure of the position of said peak within the tracking range.
10. A flowmeter according to claim 8 further including means for dividing said coarse measure by said fine measure thereby to derive an indication of the flow rate of said fluid.
11. A flowmeter according to claim 9 wherein said delaylockloop circuit includes oscillator means for producing a control signal having a frequency corresponding to said fine measure.
12. A flowmeter according to claim 10 wherein said dividing means comprises a variable modulus counter having its modulus controlled by said coarse measure and having said control signal provided at an input of the counter.
Description:
Peak Tracking Correlator

The present invention relates to data processing apparatus and more particularly to apparatus for tracking the peak of a correlation function between two signals. In many applications , it is necessary to monitor a correlation function between two signals and to determine when the coar-relation function reaches a maximum value. One such application arises in connection with a met,hod of measuring flow in which the flow velocity is determined by identifying the time delay between two related signals , one signal being derived downstream of the flow with respect to the other signal. If the distance between the points

C_t_ V__. C ~ XV I K J. CI1 GJL. K _Ϊ.<_- ϊvO o a. Jjli.ci_ a O C UUS t dll l. , tilt! flow velocity will then be inversely proportional to the identified time delay.

The present invention provide,? apparatus for tracking the peak of a correlation function between two signals, said apparatus comprising in comlination first correlator means responsive to said signals for providing a coarse measure of the position of said peak, and second correlator means responsive to said signals for tracking said position when said coarse measure corresponds to the tracking range of said second correlator means, said first correlator

OMPI

means being connected to said second correlator means for causing said tracking range to correspond to said coarse measure.

In order that the present invention may be more readily understood, an embodiment thereof will now be described by way of example, with reference to the accompanying drawings , in which: -

Figure la is a schematic diagram showing the relationship between two internal variables of a transport process and their external measureable signals;

Figure lb is a block diagram showing one form of correlation function peak tracking apparatus; Figure 2 is a graphical representation of a coirelation function and its differential with respect to delay time;

Figure 3 is a block diagram showing one embodiment of correlation function peak tracking apparatus incorporating coarse-fine resolution;

Figure 4 is a block diagram showing a modification to the peak tracking apparatus of Figure

3;

Figure is a. schematic diagram showing one example of a word-controlled shift register which may be used in the apparatus oi Figure 3 or 4; and

Figure 6 is a diagram of a flow control system incorporating the apparatus of Figure 3 or 4. Referring to Figure la, there is shown in schematic form the relationship between internal variables, x' and y' of a transport process T(S) , and external, measurable signals x and y, Laplace transforms L,(S) and 2 (S) act as transfer functions between x 1 and x, and y' and y respectively. One example of such a transport process occurs in the

above-mentioned method of measuring flow. In this case a pipe or conduit 10 contains a flowing medium represented by the arrow 11. ' Transducers and associated circuits 12 and 13 having transfer functions represented by the Laplace transforms L η (S) and L (S) produce respective signals x and y derived from flow signals 1 and y' .

It can be shown that if the suto-correlation function of x is Rxx(S) and the cross-correlation function between x and y is Ryx(S) ,' then:-

Rxx(S) = L1.. (S) . L1.. (-S) . Rx,'x,' (S) and

R (S) = L 0 (S). T(S). L Q (-S) .T(-S) .R , ,(S) yy £ ώ x

Eliminating R , , (S) gives:- R (S) = L_(S).T(S) . L r .(-S).T(S). R _ (S) yy " u

L 2 (S) L l (-S)

Thus the effective transfer function relating y to x is • L 2. S).T(S)

L 1 (S) ' and therefore R (S) = L n (S).T(S) . R (S) ...(1) yx _2 xx

L 1 (S) When both transfer functions L-, and L_ are unity,

R y-Λ.(S) = T(S).Rxx(S) ...(2)

'vvlαen L = I and L = S ~ ~ , (where ~ is the delay time )

R ( S ) = S -T T( S ) .Rxx( S )3 . . . ( 3) yx In the time delay domain, this is equivalent to the differentiation of equation (2) with respect to time delay.

Where it is desired to carry out these functions with electronic circuits , an ideal di eren- tiator of the sort L, = 1 and L„ = Sf need not be

"BUREAU

OMPI

- - used since L, = 1/ ( 1 + S -V ) and L = S ' / + S ~ ti ) are easily implemented using resistance-capicitancc circuits and still give the ratio S^ to conform with equation (3) above. The essential features of one form of delay-lock-loo , correlation function peak tracking apparatus are shown in Figure lb. One input signal x(t) is fed through a polarity detector 1 to a shift register (SR) 15 which introduces a delay to the signal. This delayed signal is then fed to one input of a multiplier. A second input signal y(t) is fed through a differentiating circuit 17 to the second input of the multiplier 16. The output of the multiplier 16 is fed through a smoothing circuit l8 which may comprise an RC circuit having a suitable time constant, to an integrator 19 whose output is fed to a voltage controlled oscillator (VCO) 20. The voltage controlled oscillator 20 provides the clock frequency setting the shift register delayΥ. . If the feedback loop comprising the integrator 19 and VCO 20 is broken and the shift register delay externally controlled by varying its clock frequency, then it can be shown that the differentiation of the signal y(t) results in a voltage variation appearing at the output of the smoothing cxrcuit iδ Which is representative υf the differentiated cross-correlation function R , as yx* the shift register delay is slowly swept through the delay range of the function. The cross-correlation function R and yx its differential with respect to the delay time are shown graphically in Figure 2.

The differentiated function, illustrated by a broken line , is bipolar and hence the stable

(__C_»

operating point of the closed loop negative feedback system will be obtained when the differentiated function equals zero. This point corresponds to the peak of the correlation function R yx When the feedback loop is connected as shown in Figure 3_b, a signal representative of the differentiated function is received at the input of the integrator 1 . If this input is at zero, i.e. representative of the peak of the function, the integrator output will be constant; therefore the clock frequency derived from the VCO 20 will also be constant and the negative feedback system will be at its stable operating point. However, a posi¬ tive-or negative input to the integrator 19 will be integrated in time , thus leading to a progressively increasing or decreasing clock frequency to the shift register 15. This in turn will lead to a decreasing magnitude of signal output from the multiplier 16 until the input to the integrator 19 is at zero and the stable operating point of the system has been reached. The clock frequency of the shift register 15 will be inversely proportional to the delay time of the register and hence to the delay time corresponding to the peak of the correlation function. Slow changes of this peak position will therefore be tracked by this apparatus.

Previously proposed differentiation methods have used the difference between two correlation unctions, one delayed with respect to the other. The difference signal is proportional to the differ¬ entiated coritjLation function. However, since the zero-crossing point of the differentiated function is obtained from the subtraction of parts of the correla¬ tion functions substantially less than peak values,the accuracy of the result obtained will be reduced due to noise arising from increased variance as the function

magnitude decreases.

Where more rapid changes of peak position are to be tracked, it is an advantage to initially obtain a coarse indication of the peak position. This obviates the need to use the apparatus of

Figure lb in a search mode of operation, which woild cause a long time-delay in the response of the syste to large changes of peak position. The use of a coarse peak indicator also removes the possibility that spurious ,' smaller magnitude peaks will be locke on to before the main peak has been found.

The preferred embodiment of the present invention therefore provides a coarse-fine system approach. A digital correlator with a relatively smalJ number of delay increments will provide a coarse indication of the peak position. This may be used to constrain the peak tracking range of a delay-locked loop to the immediate vicinity of the most significant peak thereby removing the need for I a search mode of operation. By using this technique it will be possible f.o construct correlation functio peak tracking apparatus, e.g. for use in a correla¬ tion flowmeter, having a virtually continuous output resolution. Figure 3 shows a block diagram of a complete constxained peak tracking apparatus. Parts of the circuit common to those shown in Figure lb are denoted by like reference numerals. The circuit of Figure 3 includes that of Figure lb with the exception that the shift register 15 is replaced by a word controlled shift register 25 whose delay time is set both by the frequency of tho clock pulses from the VCO 20 as with the shift register 15, and also by having a variable length, or number of stages which is controlled by a signal such as a digital word N fed to a control input of the shift register

A coarse peak detector 26 , such as a dig¬ ital correlator having a relatively small number of delay increments , is arranged to receive the signals x(t) and y(t) and to provide a signal indicative of a coarsely detected peak position. The signal is shown in Figure 3 a ε taking the form of the digital word N , and this signal is fed to the control input of the shift register 25. The length and hence the delay time of the register is controlled in accor- dance with this signal, and the preferred arrangement is that the signal controls the length of the shift register to be proportional to the detected coarse peak position. Any one of a variety of conventional correlators which produce a coarse measure of the function peak may be used as the coarse peak detector 26.

The clock frequency F of the shift register 25 is set by the VCO 20 forming part of the delay-lock loop in a similar fashion to that of Figure l_b. The integrator 19 provides a signal V_ representative of the integral of the smoothed signal V-. , and this integral signal V contols the VCO 20 and hence the clock frequency F . The integrator output signal V_ effectively adjusts the clock frequency F until the signal V. is nulled as described above, and then the time delay position υf the peak of the function will be given by Time delay = N 1 c For correlation flowmeter applications, an output inversely proportional to time delay is required i.e.

1 F Flow rate (X. c

N

This function may he implemented as shown in Figure 3 u y using suitable processing means such as a variable modulus counter circuit 27 having its

OMPI - IP " .

modulus controlled by the coarse peak indication

Np with the clock freq -u ency J F c as an input. The output frequency is then proportional to flow and this is fed to a frequency to voltage converter (FVC) 28 which produces a voltage V proportional to flow. The voltage V can be arranged to activate conventional indicating means such as a panel meter, pen recorder or digital read out. Alternatively, if a digital output is required, this may be derived directlyfrom the output of the counter 27.

A further output circuit may be formed as follows. The output from the voltage controlled oscillator 20 is given by

where V„ = and K, , K„ and K„ are constants set by the parameters of the apparatus H Hoowweevver the equation for F can be rewritten to give

Hence it is possible to form a voltage V given by

V = F /K c c' 2

Figure 4 shows apparatus using a modified output circuit in accordance with the above-described method. The apparatus is similar to that of Figure

3, but the variable modulus counter 27 and the frequency to voltage converter 28 are replaced by a digital to analogue converter (DAC) circuit 29-

The DAC circuit 29 receives the output V„ of the integrator and effectively divides the varying part

V by the coarse peak indication N . Since the flow c J " P - rate is proportional to F divided by N , and V

is proportional to F as shown above, the output c

V of circuit 29 will bo proportional to the flow rate.

Figure 5 shows one example of a word controlled shift register 25 which may be used in the apparatus of Figure 3 or 4. The binary word Np , applied in this case in parallel form, controls logic switches 42, 44, 46 connecting stages 4l , 43, - respectively of the shift register. When a binary bit of the word N is one , a shift register stage proportional in length to the binary weighting of the bit is connected into the chain of shift register stages whereas when the bit is zero the stage is by-passed by a short circuit. There ore, the control input of the logic switch 42 controls the shift register stage (SRS) 4l having unit length, while the switches 44 and 46 respectively control stages 43 and 45 having respectively double and quadruple the lengths of the stage 4l.

The logic switch 42 is shown in greater detail as including AND-gates 47,48, an OR-gate 49 and an inverter 0- Switches 44 and 46 may be constructed in a similar fashion. Upon receipt of a logic one at the control input, AND-gate 47 allows serial data from the stage 41 to pass therethrough and via OR-gate 49 to the subsequent stage 43- The inverter50 inhibits the AND-gate 48 from providing a by-pass path around the stage 4l. When a logic zero is received at the control input, the states of the AND-gates 47 and 48 are reversed, and the serial data by-passes the stage 4l, thereby shortening the total length of the shift register 25- The total length of the register upon receipt of a control binary word N is then equal to the product of the

maximum obtainable length of the register and the decimal number corresponding to the binary N .

Whilst only ' three stages 4l, 43 and 45 are shown in Figure 5 j any desired number may be provided corresponding to the number of bits in the control word N prodnco.d by the coarse detector 26.

When used for flow measurement appli¬ cations , the tracking apparatus may be arranged to provide an indication or read-out of flow rate or other derived flow parameter. Alternatively, it may be used in a feedback system as shown in Figure 6 to control the flow. The pipe or conduit 10 contains a flowing medium such as a liquid represented by the arrow 11, and is provided with transducers 12 and 13. The peak tracking apparatus 60 , such as shown in Figures 3 or ^j receives flow related signals from the transducers 12, 13 and provides an indication of flow to a control circuit 61. The control circuit

61 is arranged to be responsive to the flow indication from apparatus 60 to activate a flow control mechanism

62 disposed in the path of the flow. Thus, for example , the flow can be maintained constant , or alternatively may be given a maximum limit which may not be exceeded. The flow control mechanism 62 may comprise a valve and/or a pump, and the control circuit 6l may comprise any conventional arrangement such as a comparator which compares the flow indicatio signal with a reference signal and activates the contr mechanism 62 accordingly.

__OM