Jordanov_PeakDetect_IEEE_2003.pdf

3
Abstract-- A novel real time digital peak detection technique uses a noise threshold to eliminate noise sensitivity and to provide high throughput. The peak detector at any moment can be in one of only two operating modes – tracking maximum and tracking minimum. The peak detector instantaneously detects and captures the peak values of the digitized signal when the operating mode changes. The maximums are detected at the transition from tracking maximum to tracking minimum. The minimums are detected at the reverse transition. The transitions between the operating modes exhibit a hysterezis that is determined by a digitally set noise threshold. I. INTRODUCTION EAL time digital spectrometers utilize peak detectors to detect and extract the peaks from continuous discrete signals. Typically these discrete signals are generated by time- invariant digital signal processors working at high sampling rates [1,2,3]. A distinctive feature of the real time digital peak detectors is their ability to almost instantaneously detect and capture peak values. These peak detectors are self triggering and may not require an external strobe or reset signal [3,4,5]. The noise is a major obstacle that limits the performance of the digital peak detectors especially in the case of flat topped pulse shapes. The random noise, electromagnetic pick-up, microphonics, ADC and analog circuit signal distortions cause flat top amplitude variations that are the same as the variations of the base line. If the peak detector is sensitive to noise than a multiple peaks can be detected for a single detector event. In order to achieve high throughput rates, the real time digital peak detectors must provide a fast local peak detection. That is, the peaks must be detected every time the slope of the discrete pulse signal changes. It is obvious that the highest throughput and the complete noise immunity can not be achieved at the same time. Therefore, the objective of this work is to develop an optimal high throughput digital peak detector that is immune to the peaks caused by the noise. II. REAL TIME DIGITAL PEAK DETECTION To illustrate the real time digital peak detector operation we will use a simple example of discrete pulse signal shown in Fig. 1. There are two detector events that result in two partially Patent Pending Valentin T. Jordanov is with YANTRA, Durham, NH 03824, USA (email: [email protected]). Dave L. Hall and Mat. Kastner are with Canberra Industries, Meriden, CT 06450, USA. overlapping pulses. Note that the flat top of each pulse (second trace) is free of pile-up but the valley between the two pulses does not recover to the base line. The sampling frequency in this case is much higher than the width of the shaped pulses so the closely spaced discrete points form (visually) a continuous line. n Detector Pulse 1 Detector Pulse 2 n Resulting Signal n Noise Fig. 1. Partially overlapping pulses with peak values free of pile-up. A simple approach to eliminate the noise sensitivity of the peak detector is to use a low-level discriminator with a threshold set above the base line noise level. In this case the absolute maximum is detected for the portion of the signal that is above the threshold. Fig. 2a shows a block diagram of a real- time digital peak detector based on a low-level discriminator. This is a simple configuration that uses two comparators (CMP1 and CMP2) one edge register with enable (PREG) and output latch (MAXL). The operation of the peak detector is illustrated with the waveforms in Fig. 2b. When the discrete pulse signal is below the threshold PREG output is zero. Once the threshold becomes high PREG output can change. When the discrete pulse signal value (input signal) is larger than PREG then PREG is updated with the input signal. MAXL is enabled during peak detection and tracks the peak value. When the input signal becomes smaller than the threshold the MAXL latches the maximum value and the rest of the circuit resets to its initial state. It is clear that this type of peak detector limits the throughput due to inability to resolve partially overlapping pulses. A digital peak detector that is capable to resolve Digital Peak Detector with Noise Threshold Valentin T. Jordanov, Member, IEEE, Dave L. Hall, Mat. Kastner R 0-7803-7636-6/03/$17.00 ©2003 IEEE. 140

description

Peak Detection Paper

Transcript of Jordanov_PeakDetect_IEEE_2003.pdf

Page 1: Jordanov_PeakDetect_IEEE_2003.pdf

Abstract-- A novel real time digital peak detection technique

uses a noise threshold to eliminate noise sensitivity and to provide high throughput. The peak detector at any moment can be in one of only two operating modes – tracking maximum and tracking minimum. The peak detector instantaneously detects and captures the peak values of the digitized signal when the operating mode changes. The maximums are detected at the transition from tracking maximum to tracking minimum. The minimums are detected at the reverse transition. The transitions between the operating modes exhibit a hysterezis that is determined by a digitally set noise threshold.

I. INTRODUCTION

EAL time digital spectrometers utilize peak detectors to detect and extract the peaks from continuous discrete

signals. Typically these discrete signals are generated by time-invariant digital signal processors working at high sampling rates [1,2,3]. A distinctive feature of the real time digital peak detectors is their ability to almost instantaneously detect and capture peak values. These peak detectors are self triggering and may not require an external strobe or reset signal [3,4,5].

The noise is a major obstacle that limits the performance of the digital peak detectors especially in the case of flat topped pulse shapes. The random noise, electromagnetic pick-up, microphonics, ADC and analog circuit signal distortions cause flat top amplitude variations that are the same as the variations of the base line. If the peak detector is sensitive to noise than a multiple peaks can be detected for a single detector event.

In order to achieve high throughput rates, the real time digital peak detectors must provide a fast local peak detection. That is, the peaks must be detected every time the slope of the discrete pulse signal changes. It is obvious that the highest throughput and the complete noise immunity can not be achieved at the same time. Therefore, the objective of this work is to develop an optimal high throughput digital peak detector that is immune to the peaks caused by the noise.

II. REAL TIME DIGITAL PEAK DETECTION To illustrate the real time digital peak detector operation we

will use a simple example of discrete pulse signal shown in Fig. 1. There are two detector events that result in two partially

Patent Pending Valentin T. Jordanov is with YANTRA, Durham, NH 03824, USA (email:

[email protected]). Dave L. Hall and Mat. Kastner are with Canberra Industries, Meriden, CT

06450, USA.

overlapping pulses. Note that the flat top of each pulse (second trace) is free of pile-up but the valley between the two pulses does not recover to the base line. The sampling frequency in this case is much higher than the width of the shaped pulses so the closely spaced discrete points form (visually) a continuous line.

n

DetectorPulse 1

DetectorPulse 2

n

Resulting Signal

n

Noise

Fig. 1. Partially overlapping pulses with peak values free of pile-up. A simple approach to eliminate the noise sensitivity of the

peak detector is to use a low-level discriminator with a threshold set above the base line noise level. In this case the absolute maximum is detected for the portion of the signal that is above the threshold. Fig. 2a shows a block diagram of a real-time digital peak detector based on a low-level discriminator. This is a simple configuration that uses two comparators (CMP1 and CMP2) one edge register with enable (PREG) and output latch (MAXL).

The operation of the peak detector is illustrated with the waveforms in Fig. 2b. When the discrete pulse signal is below the threshold PREG output is zero. Once the threshold becomes high PREG output can change. When the discrete pulse signal value (input signal) is larger than PREG then PREG is updated with the input signal. MAXL is enabled during peak detection and tracks the peak value. When the input signal becomes smaller than the threshold the MAXL latches the maximum value and the rest of the circuit resets to its initial state. It is clear that this type of peak detector limits the throughput due to inability to resolve partially overlapping pulses. A digital peak detector that is capable to resolve

Digital Peak Detector with Noise Threshold Valentin T. Jordanov, Member, IEEE, Dave L. Hall, Mat. Kastner

R

0-7803-7636-6/03/$17.00 ©2003 IEEE. 140

Page 2: Jordanov_PeakDetect_IEEE_2003.pdf

partially overlapping pulses is based on zero-crossing technique.

DiscretePulseSignal

Threshold

MAX

Peak Detect

Q

QD

L

CMP1

PREG MAXL

A>BB

A

clk

D

Q

Q

EN

RST

CMP2

A>BB

A

a)

n

n

n

MAX

DiscretePulseSignal

Threshold

PEAK DETECT

PREGOutput

b)

Fig. 2 Digital peak detector based on low-level discriminator: a) block diagram, b) waveforms.

The zero-crossing peak detection is a well established

method to detect local peaks in both analog and digital domains. The digital peak detectors based on this method utilize the zero-crossing of the first numerical derivative (finite difference) of the discrete pulse signal. In general, there are three operating modes – tracking maximum (first finite difference > 0), tracking minimum (first finite difference < 0) and tracking constant (first finite difference = 0). Practically, the third mode is combined with one of the other two modes reducing the operation to only two modes – tracking maximum and tracking minimum.

The maximum values are detected at the transition from tracking maximum to tracking minimum. The captured maximum values represent the maximum of the discrete signal in the tracking maximum interval. The minimum values are similarly detected at the transition from tracking minimum to tracking maximum and they represent the minimum of the discrete signal in the tracking minimum interval.

Fig 3 shows a block diagram of the zero-crossing peak detector and illustrates the operation. The register (DFF) delays the input signal by one sampling period. The input

signal is compared against the delayed signal by the comparator (CMP). CMP functions as differentiator and zero-crossing detector. The transition of the CMP output are used to detect and capture maximum and minimum values. At the low-to high transition a minimum is detected and captured. The maximum is detected at the other transition of the CMP output.

The digital zero-crossing detectors are very fast but they have a major drawback – high sensitivity to noise. False peaks are detected even when the digitized signal changes with one least significant bit (LSB). There are modifications of the digital zero-crossing peak detectors that use either timing conditions or sign bit filtering techniques to improve the noise immunity [3,5]. Although these methods provide improved performance the optimal setup is difficult. In order to optimize the throughput performance and to eliminate the noise sensitivity of the peak detector a novel peak detector configuration was developed.

Discrete Pulse Signal

clkD

Q

QDFF

Peak Detect

CMP

A>BB

A

MAX

MIN

Q

QD

L

MINL

MAXL

Q

QD

L

a)

n

n

n

DiscretePulseSignal

First FiniteDifference

Peak Detect

b)

Fig. 3 Zero crossing peak detection: a) block diagram, b) waveforms.

III. DIGITAL PEAK DETECTOR WITH NOISE THRESHOLD The digital peak detector with noise threshold combines the

noise immunity of the low level discriminator peak detector with the speed and peak resolving ability of the zero-crossing technique. The block diagram of the digital peak detector with noise threshold is depicted in Fig. 4a and the operation is illustrated in Fig. 4b. Similarly to the low-level discriminator method a PREG register is used to track and capture the maximum/minimum values. The peak detection is controlled

0-7803-7636-6/03/$17.00 ©2003 IEEE. 141

Page 3: Jordanov_PeakDetect_IEEE_2003.pdf

by a comparator CMP with registered output (DFF). The noise threshold is applied directly to one of the inputs of a multiplexer MUX. The threshold is negated by the negating function (NEG) and is applied to the other input of MUX. Thus, the output of MUX alternates between positive and negative threshold values depending of the peak detector mode of operation.

The peak detector at any moment can be in one of only two operating modes – tracking maximum and tracking minimum. The MIN and MAX value are detected at the mode change transitions. The operating mode is determined by the output of DFF (peak detect signal) – when it is HIGH the peak detector tracks maximum and when LOW the peak detector tracks minimum. The maximums are detected at the transition from tracking maximum to tracking minimum. The minimums are detected at the reverse transition.

Discrete Pulse Signal

Noise Threshold

clk

sign

A>B

MX

Σ-

+

0

1

B

A

MAX

MIN

D

Q

Q

EN

Q

QD

L

Q

QD

L

clkD

Q

Q

EN

DFFCMPSUB

MUX

PREG

MINL

MAXL

NEG

Peak Detect

XOR

A

B

a)

n

n

n

n

B A

MAX

DiscretePulseSignal

Threshold

Peak Detect

MAX

MIN

MIN

Track MAX TrackMIN

TrackMAX

Track MIN

PREGOutput

b)

Fig. 4 Peak detector with noise threshold: a) block diagram, b) waveforms.

The noise threshold function utilizes a subtractor (SUB) and CMP. The PREG value is subtracted from the discrete pulse signal and the resulted difference(A) is compared against the threshold (B). (B) is positive when the peak detector tracks minimum and negative when the detector tracks maximum. The sign bit of the (A) is used as zero-crossing indicator and acts as enable signal of PREG. The XOR gate allows proper tracking of minimum and maximum values. As the waveform indicate the threshold adds a hysterezis that eliminates false peak detection caused by the noise. Note that the noise level at (A) is the same as the noise level of the discrete pulse signal.

IV. CONCLUSION We have developed a real time digital peak detector that

exhibits high noise immunity. The peak detection method optimizes the throughput at given noise level. The high throughput is due to ability to resolve partially overlapped pulses. The peak detector is self-triggered and does not require any external gaiting signal. The peak detector has been implemented as a part of digital pulse processor based on field programmable gate arrays.

V. REFERENCES [1] V. T. Jordanov and G. F. Knoll, "Digital Synthesis of Pulse Shapes in

Real Time for High Resolution Radiation Spectroscopy", Nucl. Instr. and Meth., A345, pp. 337-345, 1994, and references therein

[2] V. T. Jordanov, G. F. Knoll, A. C. Huber and J. A. Pantazis, "Digital Techniques for Real Time Pulse Shaping in Radiation Measurements", Nucl. Instr. and Meth., A353, pp. 261-264, 1994

[3] V. T. Jordanov, "Some Digital Techniques for Real Time Processing of Pulses from Radiation Detectors", Ph. D. dissertation, The University of Michigan, Ann Arbor, March 1994

[4] V. Jordanov and G. F. Knoll, "Digital Pulse Processor Using A Moving Average Technique", IEEE Trans Nucl Sci, vol. 40, no 4, pp. 764-769, Aug. 1993.

[5] F. Hilsenrath et al., “ A single chip pulse processor for nuclear spectroscopy”, IEEE Trans Nucl Sci, vol. 32, pp. 145-149, Feb. 1985..

0-7803-7636-6/03/$17.00 ©2003 IEEE. 142