Channel Registers (DPP-PHA)
Per-channel parameters (n = 0, 1 for DT5780) grouped by signal processing stage.
Input Signal
| Parameter | Address | Bits | Values / Units | Description |
|---|---|---|---|---|
| Input Range | 0x1nB4 |
full (32-bit) | 0x5: 0.6 Vpp — ADC Dynamic Range 0.6 Volts.0x6: 1.4 Vpp — ADC Dynamic Range 1.4 Volts.0x9: 3.7 Vpp — ADC Dynamic Range 3.7 Volts.0xA: 9.5 Vpp — ADC Dynamic Range 9.5 Volts. |
|
| Input Polarity | 0x1n80 |
[16] |
0x0: Positive — Algorithm is designed to work with positive signals.0x1: Negative — In case of negative polarity the signal is inverted. |
|
| Input Rise Time | 0x1n58 |
mask 0xFFF |
0 .. 40950 ns (step 10) |
Defines the time constant of the derivative component of the PHA fast discriminator filter. In case of RC‐CR2 this value must be equal (or 50% more) to the input rising edge, in such a way the RC‐CR2 peak value corresponds to the height of the input signal. |
| Input Decay Time | 0x1n68 |
mask 0xFFFF |
0 .. 655350 ns (step 10) |
This register corresponds to the trapezoid pole‐zero cancellation. The user must set this register equal to the decay time of the pre‐amplifier. |
| RC-CR2 Smoothing | 0x1n54 |
full (32-bit) | 0x1: 1 sample — N samples of a moving average filter used for the RC‐CR2 signal formation0x2: 2 samples — N samples of a moving average filter used for the RC‐CR2 signal formation0x4: 4 samples — N samples of a moving average filter used for the RC‐CR2 signal formation0x8: 8 samples — N samples of a moving average filter used for the RC‐CR2 signal formation0x10: 16 samples — N samples of a moving average filter used for the RC‐CR2 signal formation0x20: 32 samples — N samples of a moving average filter used for the RC‐CR2 signal formation |
|
| Spike Rejection | 0x1n80 |
[15] |
0x0: Disable — In case of noisy signals ”Enable” is useful to avoid triggering on short spikes.0x1: Enable — Triggers are inhibited until the ”Input Rise Time” duration is reached. |
|
| Zero Compensation | 0x1nD0 |
mask 0xFFFF |
0 .. 100 % (step 0.0015259021896696422) |
This register allows to Pole Zero compensate the Trigger and Timing filter summing a fraction of the input signal. The RC‐CR2 fast discriminator acts taking the input signal, delaying it by a fixed quantity, and subtract this delayed signal from the input one (first derivative). This operation is done twice. This register acts after the first subtraction operation. It means that it is possible to sum a fraction of the input signal after the first subtraction operation. This allows to minimize the overshoot after the first derivative operation due to the subtraction involving exponential signals. |
| Identification | 0x1n80 |
[17] |
0x0: RC-CR2 — Events are usually identified on the zero crossing of the RC‐CR2 signal.0x1: RC-CR — For fast input signals it is possible to trigger on the zero crossing of the RC‐CR signal. |
Digital Filter
| Parameter | Address | Bits | Values / Units | Description |
|---|---|---|---|---|
| Fine Gain | software | — | float (0.001 .. FineGainMax) |
The trapezoidal filter produces a signal whose amplitude is proportional to the input signal, Fine Gain is the (float) multiplicative factor. |
| Absolute Gain | software | — | float (keV/ch) |
Absolute gain is the float number G so that absolute energy E = G * C, where C is amplitude in ADC LSB units. |
| DC Offset | 0x1n98 |
mask 0xFFFF |
0 .. 100 % (step 0.0015259021896696422) |
This register allows to adjust the baseline position (i.e. the 0 Volt) of the input signal on the ADC scale. Before writing this register, it is necessary to check that the channel is not in busy status! |
| Trapezoid Rise Time | 0x1n5C |
mask 0xFFF |
10 .. 40950 ns (step 10) |
Note: the sum of the Trapezoid Rise Time and Trapezoid Flat Top should not exceed 40 us. |
| Trapezoid Flat Top | 0x1n60 |
mask 0xFFF |
10 .. 40950 ns (step 10) |
Note: the sum of the Trapezoid Rise Time and Trapezoid Flat Top should not exceed 40 us. |
| Peak Mean | 0x1n80 |
[13:12] |
0x0: 1 sample — Number of samples for the averaging window of the trapezoid height calculation.0x1: 4 samples — For a correct energy calculation the Peak Mean should be contained in the flat region of the Trapezoid.0x2: 16 samples — Number of samples for the averaging window of the trapezoid height calculation.0x3: 64 samples — For a correct energy calculation the Peak Mean should be contained in the flat region of the Trapezoid. |
|
| Peaking Time | 0x1n64 |
mask 0xFFF |
0 .. 40950 ns (step 10) |
Position in the flat top region where the samples are used for the calculation of the peak height. The peaking time is referred to the trigger position or to the trigger validation signal according to the trigger mode. |
| Peak Hold-Off | 0x1n78 |
mask 0x3FF |
0 .. 81840 ns (step 80) |
The Peak Hold‐off starts at the end of the trapezoid flat top and defines how close must be two trapezoids to be considered piled‐up. Zero is the case where the flat top of one trapezoid starts exactly at the end of the flat top of the previous one. |
| Baseline Offset | 0x1nB8 |
mask 0x7FFF |
0 .. 100 % (step 0.0030518509475997192) |
This register adds a fixed value to the baseline of the trapezoid. |
| Baseline Averaging | 0x1n80 |
[22:20] |
0x0: None — The baseline is not evaluated, the energy values are not subtracted by the baseline.0x1: 16 samples — Number of samples for the baseline average calculation.0x2: 64 samples — Number of samples for the baseline average calculation.0x3: 256 samples — Number of samples for the baseline average calculation.0x4: 1024 samples — Number of samples for the baseline average calculation.0x5: 4096 samples — Number of samples for the baseline average calculation.0x6: 16384 samples — Number of samples for the baseline average calculation.0x7: 32768 samples — Number of samples for the baseline average calculation. |
|
| Baseline Hold-Off | 0x1n7C |
mask 0x3FF |
0 .. 10230 ns (step 10) |
The Baseline Hold‐off defines how long the baseline is kept frozen beyond the end of the trapezoid; after that time, the baseline starts to be calculated again. Depending on the baseline mean value, the baseline itself might take some time to recover after the hold‐off. |
| Baseline Restore | 0x1n80 |
[29] |
0x0: Disable — Disables the baseline calculation for events with poor defined profile.0x1: Enable — Enables Baseline Restore Calculation (BRC) for events with poor defined profile and so not triggered by the fast timing filter. |
|
| TAC Mode | 0x1n80 |
[30] |
0x0: Disable — The trapezoid is obtained from the input according to the DPP settings.0x1: Enable — The trapezoid is replaced by the input delayed signal and it is possible to acquire external signals having a flat top. |
Internal / Hidden Registers
| Parameter | Address | Bits | Values / Units | Description |
|---|---|---|---|---|
| Digital Gain | 0x1nC4 |
mask 0xFFFF |
default: 32767 |
The trapezoidal filter mathematically produces a signal whose amplitude is proportional to the input signal, with multiplicative factors depending on k = (Trapezoid Rise Time) and M = (Decay Time). In the DPP‐PHA algorithm, the user must set two parameters: the Trapezoid Rescaling (SHF) (bits[5:0] of register 0x1n80) and the Fine Gain (f). Given a desired Fine Gain (fg), the user must write in the register: f = 64Kfg2^SHF /(kM), where SHF is the closest power of 2 to kM (refer to bits[5:0] of register 0x1n80), and 64K is the normalization over 16 bits. |
| Trapezoid Rescaling | 0x1n80 |
[5:0] |
default: 0 |
the trapezoid generated by the energy filter in the FPGA is kM times higher than the input pulse, where k is the trapezoid rise time and M is the input signal decay time. This value is internally represented over 48 bits and must be rescaled to 15 bit (i.e. 32K channels) before it is used to calculate the energy value (=pulse height). The trapezoid rescaling SHF defines how many bits are right shifted (i.e. division by 2SHF ) before applying the mask with 0x3FFF and extract the 15 bit value of the pulse height. Use a value for SHF such that 2^SHF <= Mk < 2^(SHF+1). The parameter SHF in conjunction with the fine gain (see register 0x1nC4) acts as a digital gain for the energy scale. |
| Events per Aggregate | 0x1n34 |
full (32-bit) | default: 1 |
|
| Individual Software Trigger | 0x1nC0 |
mask 0xFFFFFFFF |
default: 1 |
A write access to this register sends the Software Trigger to the individual channel n. This is not affected by the Trigger Validation, i.e. the Individual Software Trigger can be issued also when coincidences are enabled without being affected. |
| Roll Over | 0x1n80 |
[26] |
default: 1 |
Trigger
| Parameter | Address | Bits | Values / Units | Description |
|---|---|---|---|---|
| Trigger Threshold | 0x1n6C |
mask 0x3FFF |
0 .. 16383 LSB (step 1) |
Threshold of the Trigger and Timing filter of the DPP‐PHA algorithm. |
| Threshold B | software | — | 0 .. 65535 LSB (step 1) |
Intermediate level software threshold is disabled if it is less or equal to Threshold A. |
| Threshold C | software | — | 0 .. 65535 LSB (step 1) |
High level discriminator threshold is disabled if it is less or equal to Threshold B. |
| Trigger Mode | 0x1n80 |
[19:18] |
0x0: Normal — Each channel self‐triggers independently from the other channels.0x1: Neighbour — The channel self‐trigger is not used for the acquisition, it is propagated to mother board for processing or outside.0x2: Coincidence — Each channel can self‐trigger independently from the other channels and it saves the event only when a validation signal occurs within its coincidence window0x3: Anti-coincidence — Each channel can self‐trigger independently from the other channels and it saves the event only when no validation signal occurs within its coincidence window |
|
| Self-Trigger | 0x1n80 |
[24] |
0x0: Enable — Self‐trigger is used for the acquisition and propagates to the motherboard.0x1: Disable — Self‐trigger is not used for the acquisition, nor for the propagation to the motherboard. |
|
| Trigger Delay | 0x1n44 |
mask 0x3FF |
10 .. 10230 ns (step 10) |
Set a programmable delay on the shaped trigger signal. NOTE: the trapezoid peaking is not affected by this register, so for high delay the energy value might have no sense. Indeed, this register is mainly useful to set a VETO between two detectors with different timing response, like a fast scintillator and a HPGe. In that case, the delay is applied to the scintillator trigger to match the HPGe, but the energy information from the scintillator is not relevant. |
| Trigger Width | 0x1n84 |
mask 0x3FF |
0 .. 10230 ns (step 10) |
Fast Discriminator Output is a logic signal generated by a channel in correspondence with its local self-trigger. It is used to propagate the trigger to the other channels of the board and to other external boards, as well as to feed the coincidence trigger logic. |
| Pre Trigger | 0x1n38 |
mask 0x7FF |
0 .. 20470 ns (step 10) |
Defines the number of samples before the trigger in the waveform saved into memory. |
| Trigger Hold-Off | 0x1n74 |
mask 0xFFFF |
0 .. 655350 ns (step 10) |
The Trigger Hold‐Off is a logic signal of programmable width generated by the trigger logic in correspondence of the fast discriminator output. Other triggers are inhibited for the overall Trigger Hold‐Off duration. |
| Energy Skim | 0x1n80 |
[28] |
0x0: Disable — No selection of the waveforms.0x1: Enable — Allows the selection of the waveform within the LLD and ULD levels. |
|
| Energy skim LLD | 0x1nC8 |
mask 0x3FFF |
0 .. 16383 LSB (step 1) |
The Energy Skim allows the user to select a region in the (not calibrated) energy spectrum and to inspect the waveforms that provides the energy values falling into the selected interval defined by a Lower Level Discriminator (LLD) and an Upper Level Discriminator (ULD). |
| Energy skim ULD | 0x1nCC |
mask 0x3FFF |
0 .. 16383 LSB (step 1) |
The Energy Skim allows the user to select a region in the (not calibrated) energy spectrum and to inspect the waveforms that provides the energy values falling into the selected interval defined by a Lower Level Discriminator (LLD) and an Upper Level Discriminator (ULD). |
| VETO Source | 0x1nA0 |
[5:0] |
0x0: None — No VETO.0x1: Global Trigger — Global Trigger generates the VETO. Note: coincidence mode must be enabled to identify the global trigger as VETO.0x2: Individual Trigger — Individual Trigger generates the VETO. Note: coincidence mode must be enabled to identify the global trigger as VETO.0x4: Over saturation — Over saturation generates the VETO.0x8: Under saturation — Under saturation generates the VETO.0x10: Channel Trigger — Channel Trigger generates the VETO i.e. any possible source of the channel trigger (Global Trigger, Individual Trigger, Software Trigger, Self Trigger) generates the VETO.0x20: Global busy — Global busy generates the VETO. This option is mainly suggested for neighbour trigger mode, when the trigger logic is the OR of the channels. |
|
| VETO Width | 0x1nD4 |
mask 0xFFFFFF |
0 .. 167772150 ns (step 10) |
When a VETO is enabled, this register sets the VETO duration. Note: A Veto Width equal to 0 means that the VETO lasts for the duration of the signal that generated it. A Veto Width different from 0 sets the VETO duration by the amount of time written in the register. |
| TRG‐OUT | 0x1nA0 |
[9:8] |
0x0: Normal mode — Channel trigger is propageted to TRG-OUT.0x1: Analyzer — Trigger propageted when amplitude is within LLD and ULD settins.0x2: Digital Probe — TRG‐OUT signal is generated as soon as the selected digital probe is generated.0x3: Self‐Trigger — Channel Self‐Trigger is propageted to TRG-OUT. |
|
| TRG-IN Inhibit | 0x1nA0 |
[11] |
0x0: Enable — Enable the global trigger coming from TRG‐IN.0x1: Inhibit — Inhibit the global trigger coming from TRG‐IN and use it for counting only. |
|
| Trigger Tag | 0x1nA0 |
[17:16] |
0x0: 1024 — Tag every 1024 triggers.0x1: 128 — Tag every 128 triggers.0x2: 8K — Tag every 8192 triggers |