High resolution digital trigger detector
10924130 ยท 2021-02-16
Assignee
Inventors
- Valeriy Serebryanskiy (Santa Clara, CA, US)
- Alexander Taratorin (Palo Alto, CA, US)
- Anatoli B. Stein (Atherton, CA)
Cpc classification
H03H17/0657
ELECTRICITY
International classification
Abstract
A real time digital trigger detection channel includes an event detector, a pulse former, a low pass filter, an analog-to-digital converter (ADC) and a Discrete Fourier Transform (DFT) processor coupled in series. The event detector is responsive to an applied input signal and the presence of information requiring digital trigger generation. The pulse former generates a pre-determined, limited length, stable pulse signal which is applied to an anti-aliasing, pulse shaping low pass filter. The resultant shaped pulse signal is converted to a sequence of sample values by the ADC, which in turn are applied to the DFT processor, which in turn calculates a discrete Fourier transform of the output sequence of ADC samples, performing trigger position calculation based on values determined by the DFT processor.
Claims
1. A digital trigger detector, comprising: a trigger processor operative in real time, and including: A. an event detector operative to (i) receive an input signal representative of one or more temporally spaced apart events-of-interest, (ii) detect from the received input signal the one or more events-of-interest, and (iii) in response the detection, generate a corresponding one or more requests for a digital trigger associated with the respective detected one or more events-of-interest, B. a pulse former responsive to the request, to generate at a pulse former output, a trigger pulse for each detected event-of-interest, wherein the respective trigger pulses are characterized by a predetermined pulse length, pulse shape, and stability over time, C. a lowpass filter adapted to process the trigger pulses to provide anti-aliasing to, and shaping of, the respective trigger pulses, wherein the lowpass filter is characterized by an anti-aliasing cutoff frequency, D. a trigger detector (TD) analog to digital converter having (i) a TD-ADC signal input adapted to receive the processed trigger pulses, and (ii) an TD-ADC output, wherein in response to an applied TD-ADC sampling clock, the TD analog to digital converter generates a TD sequence of digitized samples of the processed trigger pulses, wherein the sampling is at an TD-ADC sampling rate substantially matched to the anti-aliasing cutoff frequency of the low pass filter, whereby the TD sequence of digitized samples for each processed trigger pulse is a digital representation of a detected digital trigger, and E. a DFT processor adapted to receive the TD sequence and calculate therefrom, a discrete Fourier transform (DFT) of the TD sequence, yielding a plurality of DFT harmonics associated with the respective digitized samples of the TD sequence, and, based on the DFT harmonics, determine a time-position for a digital trigger associated with the respective detected one or more events-of-interest.
2. A digital trigger detector according to claim 1, wherein the DFT processor is operates in a continuous mode, to: A. designate a first trigger pulse applied to the DFT processor, as a reference pulse, and determine and store a reference phase and amplitude associated with the reference pulse, B. determine a running DFT for each of the digitized samples applied to the DFT processor after the first trigger pulse, thereby generating the plurality of DFT harmonics associated with the respective digitized samples, C. for the DFT of each of the digitized samples applied after the first trigger pulse, determine phase difference and amplitude ratios of DFT harmonics relative to the reference phase and amplitude, D. based on comparing the determined phase difference and amplitude ratios to predetermined threshold values, detect the presence of a trigger pulse, E. for each detected trigger pulse, determine a phase delay for each DFT harmonic as a ratio of phase difference with respect to the reference pulse phase to frequency, F. for each detected trigger pulse, determine a time-position for an associated digital trigger based on the delays determined from the DFT harmonics.
3. A digital trigger detector according to claim 2, further comprising a DFT processor operative in real time to: i. measure a signal-to-noise ratio (SNR) for each DFT harmonic, and determine weights for each DFT harmonic based on the measured SNR values, and ii. for each detected trigger pulse, determine a time-position for an associated digital trigger based on the determined weights.
4. A digital trigger detector according to claim 1, wherein the DFT processor is adapted to activate in response to a request from the event detector, to perform the following operations: a. designate a first pulse of the trigger pulse signal applied to the DFT processor, as a reference pulse, and determine and store a reference phase associated with the reference pulse, b. determine phase of each pulse of the trigger pulse signal, and subtract the reference pulse phase from the respective determined phase to obtain a phase difference for the respective pulse, c. determine a phase delay for each of the DFT harmonics associated with the respective trigger pulses as a ratio of the determined phase difference to frequency, and d. for each detected trigger pulse, determine a trigger pulse delay based on the delays determined from the DFT harmonics.
5. A digital trigger detector according to claim 4, a DFT processor operative in real time to: i. measure a signal-to-noise ratio (SNR) for each DFT harmonic, and determine weights for each DFT harmonic based on the measured SNR values, and ii. for each detected trigger pulse, determine a time-position for an associated digital trigger based on the determined weights.
6. A digital trigger detector according to claim 1, further comprising a digital FIR filter adapted to shape the TD sequence of digitized samples prior to receipt by the DFT processor.
7. A digitizer comprising: A. a clock former adapted to receive an applied periodic reference clock signal and in response thereto, provide i. a trigger detector (TD) sampling clock at a TD clock former output, characterized by a first clock frequency, ii. a high speed ADC (HS-ADC) sampling clock at a HS-ADC clock former output, characterized by a second clock frequency, wherein a ratio of the frequency of the HS-ADC sampling clock signal and the frequency of the TD sampling clock signal is a rational number, and B. a high speed analog to digital converter (HS-ADC) having i. an HS-ADC signal input adapted to receive an analog signal-to-be-processed, ii. an HS-ADC sampling clock input adapted to receive the HS-ADC sampling clock from the HS-ADC clock former output, and iii. an HS-ADC output, wherein the HS-ADC is operative to sample an analog signal-to-be-processed received at the HS-ADC input with an HS-ADC sampling clock received at the HS-ADC sampling clock input, and provide on the HS-ADC output, a sequence of HS-ADC samples at the HS-ADC output, C. a digital trigger detector, operative in real time, including: i. inputs adapted to receive: 1. the TD sampling clock, and 2. a trigger signal representative of one or more events-of-interest, and ii. an event detector adapted to detect from the trigger input signal, the one or more events-of-interest, and generate a corresponding one or more requests for a digital trigger associated with the respective detected one or more events-of-interest, iii. operative in response to the detection of the one or more events-of-interest, a. a pulse former responsive to the one or more requests adapted to generate a trigger pulse for each detected event, wherein the respective trigger pulses are characterized by a predetermined pulse length, pulse shape, and stability over time, and b. a lowpass filter operative to process the trigger pulses to provide anti-aliasing and shaping of the respective trigger pulses, c. a trigger detector (TD) analog to digital converter operative to (i) receive the processed trigger pulses at a TD-ADC input and (ii) apply the TD sampling clock to a TD-ADC sampling clock input, whereby a TD sequence of digitized samples is applied to a TD-ADC output, wherein the TD sequence of digitized samples for each processed trigger pulse is a digital representation of a detected digital trigger, and d. a discrete Fourier transform (DFT) processor operative to perform a discrete Fourier transform on the TD sequence yielding a plurality of DFT harmonics associated with the respective digitized samples of the TD sequence, and based on the DFT harmonics, determine a time-position for a digital trigger associated with the respective detected one or more events-of-interest.
8. A digitizer according to claim 7 wherein the relative phase of HS-ADC sampling clock and the TD sampling clock is maintained by a common reference clock oscillator.
9. A digitizer according to claim 7, further comprising a Signal-to-Trigger Position (STP), processor having: i. a first STP input adapted to receive from the HS-ADC output, and ii. a second STP input adapted to receive a time-position of the detected digital triggers, and wherein the STP processor is adapted to perform a position determination for a signal from the HS-ADC relative to a detected trigger.
10. A digitizer according to claim 7, wherein the first clock frequency is greater than the second clock frequency.
11. A digitizer according to claim 7, wherein the first clock frequency is less than the second clock frequency.
12. A digitizer according to claim 7, wherein the first clock frequency is equal to the second clock frequency.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) An exemplary high speed ADC with real time trigger detector channel of the subject technology is schematically shown in block-diagram of
(9) An exemplary real time trigger detector 36 is schematically shown in the block diagram of
(10) Another mode of operation involves event trigger connection 20, which becomes active when event detector 10 is engaged. In this case, the event trigger connection 20 activates DFT processor 18, which in turn, performs a DFT transform calculation and reports a precise trigger timing position on its output.
(11) Another exemplary embodiment of the subject technology is shown in the block diagram of
(12) To illustrate the operation of the trigger detector of
(13) A standard (or prior art) method for pulse level crossing detection is based on interpolation between samples. Linear interpolation is commonly used for digital triggering due to simplicity of real-time implementation. However, that prior art method generates unacceptable timing errors, which depend on relative sample phase. For example,
(14) Timing detection error can be significantly reduced by using interpolating FIR filter or
(15) Fourier transform interpolation methods. Using an interpolation factor of 10 followed by linear interpolation between samples, achieves approximately 1 ps trigger accuracy. However accurate an FIR interpolator requires significant system resources: namely, a large number of FIR taps (e.g. 160 taps for interpolating 16 samples pulse by 10), followed by an additional linear interpolation stage. Moreover, it should be mentioned that timing detection based on level crossing is not optimal. That method ignores details of pulse shape and is more sensitive to noise compared with optimal pulse shape detection, e.g. based on cross-correlation. However, even for a small number of samples, cross-correlation operation requires intensive calculations and is not feasible for real-time trigger operation. Also, resulting cross-correlation function needs to be interpolated to obtain high trigger resolution.
(16) This disclosure provides a simple practical solution for trigger detection based on a Discrete
(17) Fourier Transform (DFT) method. The discrete Fourier transform converts a sequence of N signal samples x.sub.0, x.sub.1, . . . , x.sub.N-1 into sequence of complex numbers X.sub.0, X.sub.1, . . . , X.sub.N-1 which is defined by the following equation:
(18)
Each complex number X.sub.k corresponds to k-th harmonic and is represented by a harmonic amplitude A.sub.k and phase .sub.k as X.sub.k=A.sub.ke.sup.i.sup.(x(t)=X()e.sup.. Therefore, the DFT harmonics of a delayed signal are given by
(19)
Since the phases of reference pulse harmonics .sub.k are known, the phase differences between a reference pulse and an incoming pulse is equal to .sub.k=
(20)
and can be converted to a timing shift by normalizing to a corresponding frequency
(21)
(22) While a phase shift of all harmonics is proportional to
(23)
in practice, each pulse harmonic has a certain signal to noise ratio SNR.sub.k,which is determined by its harmonic amplitude and noise at corresponding frequency. Based on the signal to noise ratio, weighting coefficients W.sub.k (such as
(24)
are defined for each DFT harmonic. For example, weighting coefficients can be defined as
(25)
This procedure ensures that noisy harmonics have a smaller contribution to the delay value and provide an optimal calculation for a given frequency dependent SNR. In this case, timing delay is calculated using a weight coefficients as
(26)
(27) The method of the disclosure is summarized on a flow chart in
(28) The DFT approach of the disclosure has a number of important advantages. Phases of the DFT harmonics carry information about signal shape, so a trigger detector is not limited to a particular level-crossing and is more robust to noise. A short DFT for power of 2 lengths (e.g., 16 samples) is very effectively calculated using a symmetry of DFT coefficients and allows real-time implementation. No complicated interpolation filters are required since phase differences are directly translated to time delay. Finally, a signal to noise ratio (SNR) for each harmonic is taken into account by weighting a contribution of each phase to the total calculation.
(29) The small number of operations required for DFT calculation allows a calculation of a running DFT, wherein length N DFT coefficients are calculated for each incoming sample, preceded by N1 samples. In this mode of operation, pulse event detection is performed in real time by comparing a ratio of DFT harmonic amplitudes and phase differences with pre-determined thresholds. A flow chart of a running DFT detector is schematically shown in
(30) The DFT detection technique of the disclosure uses stable and repeatable pulse shape on the output of pulse forming circuit 12 and anti-aliasing low pass filter matched with sampling speed of ADC 16. Best detection is achieved when an impulse response of a low pass filter 14 is shorter than a selected DFT window. It is preferred that successive trigger pulses not overlap within a DFT window. For example, using a 1 GS/s ADC and 16 DFT samples, trigger pulses are best separated by at least 16 ns intervals.
(31)
(32) The detected trigger pulse timing determined in accordance with the disclosure, is used for accurate timing acquisition of a high-speed ADC according to block diagram of
(33) Therefore, the method and system of the disclosure achieve a better trigger detection result compared to the prior art, by utilizing information about pulse shape and a frequency dependent system signal to noise ratio. This method does not require extensive calculations and is feasible for real-time implementation. In accord with the disclosure, detection with high timing accuracy is based on a low sampling rate ADC without need for complicated real-time equalization.
(34) Although the subject technology has been described in terms of certain embodiments, other embodiments that are apparent to those of ordinary skill in the art, including embodiments which do not provide all the benefits and features set forth herein, are also within the scope of the subject technology. Accordingly, the scope of the subject technology is defined only by reference to the appended claims.