DP4 User Manual
DP4 User Manual
doc, 4/30/09
Other DP4 documents: DP4 Quick Start Guide and DP4 Programmer’s Guide
Pulse
Selection
Logic Power Supply
(a) (b)
Figure 2. Oscilloscope traces showing typical preamplifier outputs, for reset (a) and continuous (b)
preamplifiers. The DP4 is shipped from the factory configured for the reset inputs, such as those on the left.
Some preamplifiers use a continuous feedback, the simplest of which is a resistor in parallel with the
feedback capacitor. After the voltage step due to each signal interaction, the output slowly drifts back to its
quiescent value, with the time constant of the feedback, as illustrated in Figure 2(b). This time constant is
long, 500 μsec in this case, so that the charge in the signal can be accurately integrated. The DP4 hardware
may be configured for use with most continuous feedback preamplifiers. This is discussed in Section 0
1.3 PULSE SHAPING AND SELECTION
1.3.1 Pulse Shaping
The DP4 implements trapezoidal pulse shaping, with a typical output pulse shape shown in Figure 3.
This shape was chosen because it provides a near optimum signal to noise ratio for many detectors,
including Amptek’s XR100 detectors under normal operating conditions. The user can adjust the rise/fall
time (the rise and fall must be equal) and the duration of the flat top. These values can be set to a large
number of discrete values, shown in Table 1.
A semi-gaussian amplifier with shaping time τ has a peaking time of 2.2τ and is comparable in
performance with the trapezoidal shape of the same peaking time. So, if the DP4’s digital shaper were to be
set to the equivalent of an analog amplifier with a 12 μs shaping time constant it would be set to roughly
2.2*12 = 26.4 μs peaking time.
The electronic noise of a detector will generally have a minimum at some peaking time, the “noise
corner.” At peaking times shorter or longer than this, there is more noise and hence degraded resolution. If
this peaking time is long relative to the rate of incoming counts, then pulse pile-up will occur. In general, a
detector should be operated at a peaking time at the noise corner, or below the noise corner as necessary to
accommodate higher count rates.
If the risetime from the preamp is long compared with this peaking time, then the output pulses will be
distorted by ballistic deficit. In this case, the trapezoidal flat top can be extended to improve the spectrum.
The specific optimum timing characteristics will vary from one type of detector to the next and on the details
of a particular application, e.g. the incoming count rate. The user is encouraged to test the variation of
performance on these characteristics.
Table 1. Table of allowed rise/fall times (peaking times) and flat top times.
The pulse shaping of the DP4 is illustrated in Figure 4. The top trace shows the input to the DP4, which
is the output from a reset-type charge sensitive preamplifier. This is processed by the analog prefilter (see
Figure 1), producing the prefilter output shown at the bottom. This is digitized and then processed digitally,
producing the DP4’s shaped output, also shown at the bottom.
(a) (b)
Figure 5. Oscilloscope traces illustrating the dead time and pile-up reject performance of the DP4
1.3.3.2 Risetime Discrimination
In some types of detectors, pulses with a slow risetime have a charge amplitude deficit. For example, in
many diodes there is an undepleted region with a weak electric field. A radiation interaction in this region will
generate a signal current, but the charge motion is slow through the undepleted region. This leads to a slow
rising edge on the pulse and since charges are trapped, a small pulse. Interactions in this region can lead to
2 DP4 SPECIFICATIONS
2.1 DIMENSIONS
2.2 CONNECTIONS
There are two primary connectors, which are necessary for the DP4’s operation, along with some
auxiliary connectors. JP7 is the analog input, which connects to a preamplifier output. JP6 contains the
power supply connections and the serial interface. These are the primary connectors and are required for
operation. Their use is shown graphically in Figure 6.
JP7
AMP3 J2
IN+
1
Digital 1 OUT
IN- FILTER ADC DAC
2 Processor
2 GND
3 GND
MCA
μprocessor
Memory
or
POWER
Table 2. Pinout for JP6, the primary power and serial interface connector
• +3.3V: This supply powers the majority of the DP4. Average operating current is 100-200mA,
depending on configuration. Peak current is 500 mA at startup.
• +5V, -5V: These supplies power the analog front end. Average operating current is 10 mA for each.
These should be well filtered, since ripple is likely to degrade performance. There is no overcurrent or
reverse voltage protection implemented on the DP4.
• SDA, SCL: These are the I2C bus signals. The DP4 microcontroller is the bus master, so any
peripherals connected to the I2C bus must be slaves. The only I2C devices on the DP4 (other than the
μC) are the 24AA64 boot prom and a temperature sensor.
• RS232-RX, RS232-TX, RS232-CTS, RS232-RTS: These are RS232 signals for interfacing the DP4 to
a host system. The signal names are relative to the DP4, i.e. the DP4 receives on the RX pin and
transmits on the TX pin. The handshaking signals CTS and RTS are not used but are available for
custom applications.
• /RESET: Pulling this signal low will hold the entire DP4 in reset. Floating it or pulling it high allows
normal operation.
• USB+, USB-: This is the USB (Universal Serial Bus) communication bus. The DP4 microcontroller
contains a USB communication core.
Connector:
• Connector: 16 position right angle, Hirose Electronic Co. Ltd: FH21-16S-1DS, Digi-Key: HFG16T-ND
• Mating cable: 1mm Flat Flex Cable 4", Parlex: 100-16-102B, Digi-Key: HF16U-04-ND (other lengths are
available)
2.2.3 J2 – Analog output
This is the shaped output from the DAC. The decimated input and other diagnostic signals can also be
output from the DAC.
• Pin 1: +OUT: This is the output of the DAC. Output range is 0-1V.
AMP3
Test Point
• Time to Peak: Sets the peaking time for the shaped pulse.
• Top Width: Sets the width of the trapezoidal flat top for the shaped pulse.
• Threshold: Sets the lower threshold for spectrum accumulation. Works like an LLD on an MCA.
• Fast Threshold: Sets the threshold for the fast channel pile-up reject logic. If this threshold is too low,
then valid counts are rejected by noise, leading to a very low throughput.
• Output Offset: The offset voltage of the DAC. Should be high enough to prevent underflow.
• Configure: Sends the configuration parameters from the PC to the DP4. If this is yellow, then
configuration parameters have been changed in the PC and not yet sent to the DP4.
• Exit: Exits the program.
• PUR: Enables or disables pile-up reject.
• Reset: Sets the duration of the lockout interval following a reset pulse from the preamplifier.
12 FILTER 2 5 BIAS
X-RAYS DETECTOR
4 1 +9 VDC
8 FEEDBACK
Be
3 2 -9 VDC
9
6,8,9 GND GND
CASE 11
OUT
10
Cf = 40 f F GND RS232 /RST USB
I2C
5 TEST
JP1 1 2 3 4,5 6,7 8,13 9-12 14 15,16
Ctest = 40 f F 50 ohm &
3.3V +5V -5V GND
JP6
MCA
μprocessor
JP7 Memory
AMP3 J2
IN+
1
Digital 1 OUT
IN- FILTER ADC DAC
2 Processor
2 GND
3 GND
DP4
Signal to pin 1
Shield to pin 2
coax cable
Signal
The picture to the right is a close up of the J4A connector, which connects
between the PC4-3 and the PA-210, and the OUT connection, which connects
with a coax cable to the DP4 input (J7: signal pin 1, shield pin 2).
Prefilter Output
DP4 Output
(ADC Input)
DP4 Input
(Preamp Output)
R292
NOT INSTALLED
Zero
V+ R43 V+
R291 R293 NOT INSTALLED V+
3
0 1.0K AMP1 AMP2
2 1 U84
1
U83 ADG619 U86
7
AD8011 R44 AD8011
JP7 3 0 6 Vdd 8 3
+ + AMP2
6 1 6
1 R294 2 3 G 2 2
2 - -
2
1.0K C133 Vss R4
3 6.8NF 100
4
R46 R297
475 NI 3 R285 R7
4.3K 4.3K
V- V- V-
1
R296 R298 R299 R300 U85
0 1.0K 1.0K 330 ADG636(A)
4
6 Vdd 8
Gain1
1
Input Differential Amplifier 3 G 2
Vss
7
R288 R284
High Pass Filter 470 1K
V-
AMP3
Gain2
4
U82B
4
C
U85 C125
7
ADG636(B) D1 NI
8
V+ +2.5V
1
R51
OFFSET
49.9k R287
3 10K
1
Amptek, Inc.
C132
100NF
2
-2.5V
Title
DP4 Analog Pref ilter
R292 correct
Figure 10. Oscilloscope traces showing AMP3 under several conditions. (a) R292 properly adjusted. (b)
R292 too large. (c) R292 too small. When R292 is correct, there is neither undershoot nor overshoot on the
tail.
3) The presence of R292 will change the time constant of the high pass filter, leading to a slope on the
trapezoidal top and to an undershoot or overshoot of short time constant. Typical waveforms are shown
in Figure 11. Using the DP4 DAC output, set the peaking time to a short value and the flat top duration
as long as permitted. Remove R4 and install a 200 Ohm potentiometer into R297. Adjust R297 until
the top is flat and no undershoot or overshoot is visible.
Incorrect
Correct
Incorrect
Figure 11. Oscilloscope traces showing the DAC shaped output under several conditions. (a) R297 properly
adjusted. (b) R297 improperly adjusted. When R297 is incorrect, the top of the trapezoid is sloped and
there is an undershoot or overshoot at the end.
4) The presence of R292 also leads to a DC offset into the circuitry. A preamp generally has some DC
offset at its output, and R292 combines with (R297+R300) to form a DC divider, coupling a fraction of
this offset into the amplifiers, which is then amplified. The DC offset should be measured, first at AMP2
and then at AMP3. If the offset is small enough, then the offset adjust pot R287 can accommodate it. If
the offset is a bit larger, then R51 and/or R303 can be decreased to provide more range.
5) The diode D1 is only needed to clamp the ADC input in the presence of large, negative reset pulses.
We recommend removing it for non-reset preamplifiers.
This procedure will only work if the tail from the preamplifier is a simple exponential (a single pole) and
is constant. If there are multiple poles in the preamplifier response, then the dominant pole may be
cancelled. The remaining pole(s) may or may not affect proper operation. If the time constant varies, i.e.
with temperature or count rate, then the pole will not be cancelled under all conditions.
5.5.2 Inversion
JP7 is the input connector. For positive (negative) going preamp outputs, connect the signal to pin 2
(1). The signal reference from the preamp should be connected to pin 2 (1), respectively.
5.5.3 Input Range Adjustment
U83 has a signal range of +4V. Many preamps have a larger dynamic range, i.e. their output may swing
from +/- 12V. In such cases the input resistors may be used to attenuate the preamplifier signal. Change
R291 and R296 (which must be equal) to provide the necessary attenuation. This will cause a slight loss of
resolution so should only be used if it is really needed. Alternately, if the preamplifier signal is limited to a
smaller range, then this circuit can be configured to provide a small amount of gain, using resistors R293 and
R298.
5.5.4 Single Ended Operation
The DP4 is configured at the factory with a differential input, but may be reconfigured for single ended
operation. Using differential input has several advantages: it reduces common mode interference (with
proper grounding) and it uses a buffer which separates the output impedance of the preamplifier from the
G ADC
Input
Voltage
Pulse
G = 5, 10, 20, or 100
From
Preamp
Amptek can reconfigure the DP4 analog prefilter at the factory to include a charge sensitive preamplifier
which is suitable for use with PMTs and other high gain detectors. A simplified schematic is sketched below.
The buffer amplifier and its feedback components are changed so that it is a charge amplifier with
appropriate high pass filtering, and the gain stages are changed to be commensurate with most
scintillator/PMT uses. With this reconfiguration, the input to the DP4 is the detector output, the current pulse
from the PMT. The charge amplifier integrates this to create a voltage pulse which is amplified and digitized.
Charge Amplifier Voltage Gain
AMP3
G ADC
Input
Current CF
Pulse
G = 10 or 50
RF
From
PMT
Vout = Qin/CF
CF = 6.8 nF (std)
0.15 mV/pC
NOTE THAT THE PMT OUTPUT MUST NOT BE AT HIGH VOLTAGE. In most cases, the anode is
capacitively coupled to the input of the DP4.
The usual connection is for a negative polarity current pulse from the PMT. There is an amplifier which
can be reconfigured to invert for positive polarity pulses. Please contact Amptek if this is needed.
The charge amplifier on the DP4 is adequate for signals coming from high gain devices, such as PMTs.
It is not designed for use with low noise detectors, such as semiconductor diodes. If the DP4 is to be used
with low noise detectors, then a better preamp is required, such as Amptek’s A250CF.
DP4 Conversion Gain
1
U83 U86
7
AD8031 AD8011 R283 R279 R301
7
R44 R3 3 130 360 1.0K
+
JP7 R296 R298 3 0 910 6
IN+
+
0 100 6 2
1 -
2 C128
2 -
15PF
5
3 R2
5
CON3 A R8 R294 0
100K 10 5.0V
1 -5.0V
-5.0V NI
D4 A U85B
4
A A 1N4148 -5.0V 5.0V R7 R285 Vdd R277
GAIN2
R5 U85A 4.3K 4.3K 6 - 10 ADC
453 NI G 7
4
Vss 5 +
R1 GAIN1 6 Vdd 8 A U82B
0 1 AD8032
8
3 G 2
C
Vss -5.0V
C133 A 2.5V OFFSET 5.0V C125
7
6.8NF R284 R288
NI NI NI D1
1
-5.0V 10MQ040N
A
R51
R287 49.9K A A
Charge Amplifier A
10K 2
R303 C132
1
Fixed Gain 1K 1UF
-2.5V
A A
R FAST = R In e b
− RInτ FAST g [1]
The PX4 does not stop its clock during these dead periods. To estimate the incoming count rate, this
equation cannot be used. There is no closed form solution for the true rate, given the fast rate. One can
approximate this as a non-paralyzable system and obtain
RFAST
RIn ≅ Rapprox = [2]
1 − RFAST τ FAST
1
This discussion and the equations are based on the discussion by G.F. Knoll, General properties of
radiation detectors, Chap 4 in Radiation Detection and Measurement, John Wiley & Sons, New
York (1989), pp 120-122
1.0E+06 100%
Rapprox/RIn
Fast Channel Measured Count Rate (sec )
RFast/RIn
-1
75%
RFast
Throughput
1.0E+05 50%
25%
1.0E+04 0%
1.0E+04 1.0E+05 1.0E+06
True Incoming Count Rate (sec-1)
Figure 12. Plot showing the throughput of the fast channel versus input count rate.
6.2 SLOW CHANNEL
The slow channel count rate varies depending on the pile-up rejection settings. Figure 13 shows two
cases. In the plot on the left, the two pulses are separated in time by more than the peaking time. They can
clearly be recognized as separate pulses and accurate peak heights can be measured. Both are valid
events and will be recorded in the spectrum and in the slow channel counts. Because of the symmetry of the
triangular shaping, if the pulses are separated by more than the peaking time, they are not piled up. This is
unlike an analog shaper, where the pulses are asymmetric.
In the plot on the right, the two pulses are separated by less than the peaking time. Only a single pulse
occurs at the shaped output, with amplitude near the sum of the two. If pile-up rejection is turned off, then
this is recorded as a single event with incorrect amplitude. If pile-up rejection is turned on, then both events
are rejected. Nothing appears in either the slow channel counts or in the spectrum.
Figure 14 shows computed (lines) and measured (circles) output count rates versus input count rates, at
several peaking times. The computations use the formula in equation [3]. Excellent agreement is clearly
seen between measurement and calculations.
1.0E+06
Fast Counts
1.0E+05
OCR (sec-1)
1.0E+04
1.0E+03
1.0E+03 1.0E+04 1.0E+05 1.0E+06
ICR (sec-1)
Figure 14. Plot showing measured and computed input and output count rates, with pile-up rejection on, for
various peaking times.
6.3 ACQUISITION TIME
The DP4 provides the fast counts, the slow counts, and the “acquisition time”. It is important to define
this acquisition time. This is the real elapsed time during which data are being acquired. The real time clock
is turned off during certain events, including data transfers over the serial bus and also including reset
intervals. If a reset preamplifier is used, and the DP4 is configured for a certain reset time period, then
acquisition is shut down during the reset period and the acquisition clock is stopped. This acquisition time is
measured using a typical 20 ppm crystal oscillator so is quite accurate. The true count rate should be
computed using the actual acquisition time rather than the nominal data transfer time.
Data transfers occur based on an approximate real time clock. For example, one might configure the
DP4 to update every second. When the data transfer occurs, the acquisition time is shown and this will
probably differ from the nominal “1 second”, due to the approximate clock and also due to reset losses. A
typical value is 1.05 second. At high count rates, a reset preamp resets more often, and so there is less
Current versions as of 4/30/2009: DP4 board D1, VB App 3.26, FP 4.02, FW 4.02