Real-time waveforms averaging with controlled delays
10972114 ยท 2021-04-06
Assignee
Inventors
Cpc classification
H03M1/0634
ELECTRICITY
International classification
Abstract
Repetitive waveforms are processed to produce an averaged replica of the waveforms by first determining a stream of digital samples, with random time shifts of waveform starts relative to the samples. A mutual arrangement of a trigger signal and a following sample over a succession of sampling periods, enables k sections coinciding with segments [k.Math.T/K, (k+1).Math.T/K]. K is determined and a distance D between the trigger signal and the following sample is calculated. Second, values of the samples are transformed so that waveforms represented by the samples, are shifted in time by D in relation to the sample positions. The mutual positions of the delayed waveforms and the sampling clock along multiple axes, exactly repeats so that values of the produced samples along the axes coincide. The discreet time delays before averaging avoid frequency component distortions in resulting replicas of the waveforms.
Claims
1. A method of noise suppression by averaging repetitive waveforms comprising the steps of: A. converting an applied succession of repetitive analog waveforms into a corresponding succession of streams of digital samples; B. analyzing mutual dispositions of trigger signals marking starts of the respective waveforms of the applied succession of waveforms, and a periodic sampling clock characterized by a period T, to determine a number k, where 0k<K, indicative of an associated section [k.Math.T/K, (k1).Math.T/K] of a sampling period in which the trigger signal appeared; C. shifting in time the samples streams created in the analog to digital conversion, wherein the shift in time is in relation to the position of the respective samples of the samples streams is by an amount equal to D, where D=(K1k).Math.T/K; D. numbering the samples in the shifted samples streams in the order of their appearance, by a number n, beginning with n=0 for a sample immediately following a trigger signal; E. saving intermediate results of the waveform processing in a multi-cell memory, wherein the cells of the memory are reset the to zero at the start of a measurement interval, and each appearing sample of the shifted samples streams is added to contents of the memory cell with an address n; F. calculating a number of waveforms which have been processed during the measurement interval, by counting the trigger signals occurring during the measurement interval; and G. following an end of the measurement interval, extracting the contents of the memory on a sample by sample basis, and when the number of waveforms which have been processed reaches a predetermined number, forming a resultant averaged replica of the processed waveforms.
2. An apparatus for noise suppression by averaging repetitive waveforms, comprising: A. an analog to digital converter (ADC) including: a. an ADC signal input adapted to receive an applied succession of repetitive analog waveforms, b. an ADC clock input adapted to receive an applied periodic clock signal characterized by a sampling period T, and c. an ADC output, wherein the ADC is adapted to convert successive repetitive analog waveforms applied to the ADC signal input into a corresponding succession of streams of digital samples which are applied to the ADC output; B. a time displacement detector (TDD) including: a. a trigger input adapted to receive an applied trigger signal comprising trigger components, wherein the trigger components are representative of respective starts of the repetitive analog waveforms of the applied succession of analog waveforms, b. a clock input adapted to receive an applied clock signal characterized by sampling period T, and c. a TDD output, wherein the time displacement detector is responsive to an applied trigger signal to produce at the TDD output, a number k, where 0k<K, indicating an associated section [k.Math.T/K, (k+1).Math.T/K] of the sampling period T where a respective trigger signal occurred, and keeps this number unchanged up to an appearance of a next trigger signal; C. a controlled delay line (CDL) including: a. a CDL signal input connected to the ADC output, and adapted to receive the succession of streams of digital samples, b. a CDL control input and c. a CDL output, wherein the controlled delay line is characterized by a substantially uniform amplitude frequency response and a variable group delay D controlled by a set of coefficients loaded by way of the CDL control input, whereby the controlled delay line is adapted to shift the waveforms represented by the sample streams by the group delay D; D. a coefficients memory (CM) including: a. a CM input connected to the output of a trigger displacement detector, and b. a CM output connected to the control input of the controlled delay line, wherein the coefficients memory is adapted to: i. receive from the trigger displacement detector by way of the CM input, a number k, and ii. produce at the CM output, a set of coefficients which predetermine the delay of the controlled delay line to be D=(K1k).Math.T/K, E. an adder including: a. a first adder input connected to the CDL output of the controlled delay line, and adapted to receive the sample stream as delayed by the controlled delay line, b. a second adder input connected to a register output, and adapted to receive samples representative of earlier stored sample streams values, c. an adder output, wherein the adder is adapted to sum the samples applied to the first adder input and second adder input, and place the result at the adder output; F. an accumulator including: a. a plurality of memory cells, b. an accumulator signal input connected to the adder output, c. an address input, and d. an address output, wherein a value produced at the address output is transmitted directly or otherwise to the second adder input, wherein the accumulator is adapted to read the contents of the accumulator cell with the address applied to its address input, and to write the value, coming to its signal input, into the same cell; G. an address counter including: a. an address clock input connected to the clock input, and adapted to receive the received clock signal, b. a reset input connected to the trigger input, and adapted to receive the received trigger signal, and c. an output connected to the address input of the accumulator, wherein the address counter is incremented by each clock signal received, and reset to zero by each received trigger signal, and H. a trigger signals counter (TSC) including: a. a TSC input coupled to the trigger input, and b. a TSC output, wherein the trigger signals counter is reset to a first reference value at commencement of a measurement interval, and incremented thereafter during the measurement interval by each trigger signal received until a second reference value is reached, and thereafter provides reading of the accumulator contents, forming at the apparatus output, succession of resultant averaged waveforms.
3. An apparatus for noise suppression by averaging repetitive waveforms, according to claim 2, wherein the ADC is a time interleaved ADC including a plurality of sub-ADCs connected in parallel, where in the frequency and phase responses of the sub-ADCs are mismatched, and the controlled delay line is combined with an equalizer adapted to reduce the ADC frequency and phase response mismatches.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) The purpose of processing a signal containing repetitive waveforms, is to produce an averaged replica of the waveforms. The processing begins by conversion of an initial analog signal into a stream of digital samples. In general, the appearance of repetitive waveforms to be averaged happens independently of the conversion operation. As a consequence, there is a random time shift of starts of waveforms in relation to streams of samples of those waveforms. As noted above, time shift of starts of waveforms in relation to a sampling clock causes frequency components distortions of the averaged replica, which suppress its high frequency components. According to the present disclosure, to prevent the distortion of the averaged replica, a stream of samples representing the initial applied signal to be processed, is subjected to an operation of controlled discreet time delay.
(8) When a next waveform appears in an initial applied repetitive signal, the first step of the controlled discreet time delay operation is performed. At this step, a mutual arrangement of a trigger signal (which marks the start of a waveform) and the following sample is analyzed. The sampling period T of the sampling signal, is divided into K uniform sections so that a section with the number k coincides with the segment [k.Math.T/K, (k+1).Math.T/K]. The number k (0k<K) of the section, where the trigger signal has appeared, is determined and the approximate distance D between the trigger signal and the following sample is calculated with the use of the equation D=(K1k).Math.T/K.
(9) At the second step of the operation, the values of the samples are transformed in such a way that the waveform represented by these samples, is shifted in time in relation to the position of the samples themselves, by an amount equal to D.
(10) The operation of the controlled discreet time delay operation is illustrated along four time axes a, b, c and d in
(11) A second waveform, waveform #2 (similar to the waveform #1), is shown along axis b in
(12) The operation of the discreet time delay by time interval D.sub.1 applied to waveform #1, produces a delayed waveform #1, shown along axis c in
(13) The operation of the discreet time delay by time interval D.sub.2, applied to waveform #2, produces a delayed waveform #2, shown along axis d in
(14) An important result of the controlled discreet time delay operation is the fact that the start of the delayed waveform lies in the last section of the sampling period which immediately precedes the following sample. This fact is common to all delayed waveforms produced by the controlled discreet time delay operation. In the example illustrated along axis a of
(15) As mentioned above, the distance between the initial waveform start and the next sample is a random variable which lies in a range from zero to T. After the operation of the controlled discreet time delay, all starts of the delayed waveforms are clustered in a time interval of length T/K. Consequently, the time shifts of starts of waveforms in relation to the sampling clock, remain a random quantity within the range from zero to T/K. The reduction of starts time shift in K times provides the corresponding decrease in frequency distortions caused by averaging.
(16) An estimation of residual distortions in the averaged signal may be obtained by the use of the equation (1). The greatest attenuation distortion b.sub.N at the Nyquist frequency W.sub.N=/T may be calculated as
b.sub.N=20.Math.log(sin(.sub.NT/K/2)/(.sub.NT/K/2))=20.Math.log(sin(/K/2)/(/K/2)).
When K is chosen to equal 8, then b.sub.N=0.0559 dB. When K equals 16, then b.sub.N=0.0135 dB. This means that for all practical purposes, the controlled discreet time delay operation eliminates the frequency components distortions caused by averaging.
(17) A block diagram of an exemplary embodiment of an apparatus 60 deploying the controlled discreet time delay for averaging a sequence of repetitive waveforms, is shown in
(18) In the illustrated embodiment, the controlled delay line 63 is a FIR filter with a constant amplitude frequency response and a linearly growing phase frequency response ()=D.Math.. The group delay D of the FIR is variable and may be changed by loading an associated set of coefficients into the FIR from a coefficients memory 67 through a control input 63A. The coefficients memory 67 is controlled by a signal coming from an output 66A of a time displacement detector 66. The time displacement detector 66 receives a trigger signal and sampling clock from inputs 66B and 66C, respectively, of apparatus 60, and produces at its output 66A, a signal representative of a number k which indicates a section [k.Math.T/K, (k+1).Math.T/K] of the sampling period T where the trigger signal occurred. The time displacement detector 66 keeps the number k at its output all the time during the processing of a current waveform. The coefficients memory 67, receives at its input, the number k, and produces at its output, a set of coefficients which controls group delay of the controlled delay line 63 to be equal D=(K1k).Math.T/K.
(19) Each waveform appearing in an input signal applied to signal input 69A, is converted by ADC 62 into a set of digital samples which, in effect, transport the waveform to a signal input 63C of the controlled delay line 63. The transformation of the sample values by the controlled delay line 63, shifts the waveform in relation to the samples by the delay D. As a result, the start of the waveform becomes shifted to the last section of the sampling period which immediately precedes the following sample. The concentration of waveform starts in the immediate vicinity of a sample reduces the start time shifts relative to the sampling clock and eliminates the cause of distortions which attend the averaging a sequence of repetitive waveforms.
(20) The block diagram of
(21) The accumulator 65 is employed to save intermediate results of the waveforms averaging. Accumulator 65 constitutes a memory which includes a signal input 65A connected to an output of adder 64, a control read/write input 65C, an address input 65D, and an output 65B. When in a write mode, accumulator 65 saves a sample coming from adder 63, in a memory cell with an address equal to a number coming to an address input 65D. In a read mode, accumulator 65 produces at an output 65B, a value which has been kept in an addressed memory cell.
(22) The read/write modes of the accumulator 65 are determined by a signal coming to the R/W input 65C from the clock input 69C of apparatus 60. In a first half of a sampling period, the clock signal sets the accumulator 65 to its read mode, while in the second half of a sampling period, the mode of accumulator 65 is changed to write.
(23) The number coming to the address input 65D of the accumulator 65, is generated by an address counter 68. The address counter 68 is reset to zero by each trigger signal coming to the reset input 68A from the apparatus trigger input 69B. The address counter 68 is advanced by the sampling clock coming to the counter clock input 68B from the clock input 69C of apparatus 60. In this way, the address counter 68 operates synchronously with ADC 62 and produces at its output 68D, a serial number n for a current sample produced by ADC 62. This serial number n indicates the position of the sample inside the digital representation of the waveform being processed.
(24) During the acquisition of the input signal, ADC 62, at each sampling interval, produces a new sample. The address counter 68 sends to the address input 65D of accumulator 65, a number n of the current sample. In the first half of the sampling interval, the accumulator 65 produces at its output, the contents of the memory cell with the address n. This value is applied to a signal input 61B of register 61 and is written into the register 61 by the falling edge of the sampling clock applied to register clock input 61A. During the second half of the sampling interval, register 61 repeats at its output 61C, the value from the memory cell with the address n. Adder 64 adds up the sample which has been produced by ADC 61, and the value from output 61C of register 61. The resultant sum proceeds to the signal input 65A of accumulator 65 and is written to its memory by a Write command which is set at a R/W input 65C of accumulator 65 in the second half of the sampling interval. In this way, the sample produced by ADC 61 is added to the contents of the memory cell of accumulator 65 with the address n, with the sum being saved in the same memory cell.
(25) At the beginning of the operation of apparatus 60, the contents of the accumulator 65 are reset to zero. Each waveform appearing at signal input 69A of apparatus 60, after being converted to the digital form by the ADC 62 and being aligned in relation to the samples by the controlled delay line 63, is added to the averaged replica of the waveforms accumulated at this time in accumulator 65.
(26) The apparatus 60 further comprises a trigger signals counter (not shown in the
(27) The apparatus, comprising an ADC typically, but not necessarily, further includes an equalizer, adapted for reduction/correction of frequency and phase response mismatches of sub-ADCs within a time-interleaved form of ADC 62, which may be different from the ideal ones. In some cases, it is possible to combine this equalizer with the FIR used in the block diagram of
(28) The above-described exemplary configuration of
(29) One skilled in the art will realize the subject disclosure may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The foregoing embodiments are therefore to be considered in all respects illustrative rather than limiting of the technology described herein. The scope of the subject disclosure is thus indicated by the appended claims, rather than by the foregoing description, and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.