Do you have a question about the TDC4HM and is the answer not in the manual?
Questions and answers
Summary of Contents for RoentDek TDC4HM
Page 1
RoentDek Handels GmbH Supersonic Gas Jets Detection Techniques Data Acquisition Systems Multifragment Imaging Systems TDC4HM User Guide w w w. r o e n t d e k . c o m...
The TDC4HM is a common-start high resolution time-to-digital converter. Timestamps of leading or trailing edges of digital pulses are recorded. The TDC4HM produces a stream of output packets, each containing data from a single start event. The relative timestamps of all stop pulses that occur within a configurable range are grouped into one packet.
1.2 Applications The TDC4HM can be used in all time measurement applications where a common start setup with four channels is sufficient. For alternatives with more channels or more flexible grouping check our TDC website www.cronologic.de. The TDC4HM is well suited for the following applications: •...
2.1 Installing the PCIe Board The TDC4HM board can be installed in any PCIe-CEM slot with x1 or more lanes. Make sure that the PC is powered off and that the main power connector is disconnected while installing the board.
LED1 LED2 LED3 Figure 2.3 Schematic view of a TDC4HM board including the inter-board connectors. The inter-board connectors are only present on Gen 1 boards. 2.3 Status LEDs of the PCIe boards Three status LEDs are present on the board, as seen in Figure 2.3.
Transitions of the input signals are called hits. To measure all hits with the maximum resolution the hits must fulfill all criteria set forth in this document. However, the TDC4HM does include mechanisms to provide as much information as possible for hits that fall out of these specs.
TDC4HM and the external hardware. Pulses that are short enough for the input AC coupling are available as input signals to the TDC4HM. This can be used to measure exact time differences between the generated output signals and input signals on other channels.
Page 11
T i g e r C n e g a t e T i g e r D Figure 3.2 TiGer blocks can generate outputs that are also available on inputs. RoentDek Handels GmbH TDC4HM Manual (1.10.1)
Even if there is no board present the driver revision can be queried using these functions. tdc4hm_get_driver_revision() Returns the driver version, same format as tdc4hm_static_info.driver_revision. This function does not require a TDC4HM board to be present. const char* tdc4hm_get_driver_revision_str() Returns the driver version including SVN build revision as a string.
The minimum size of the DMA buffer. If set to 0 the default size of 16 MByte is used. For the TDC4HM, only the first entry is used. buffer_type The type of buffer. Must be set to 0.
*device) Returns most recent error message. int tdc4hm_get_fast_info(tdc4hm_device *device, tdc4hm_fast_info *info) Returns fast dynamic information. This call gets a structure that contains dynamic information that can be obtained within a few microsec- onds. RoentDek Handels GmbH TDC4HM Manual (1.10.1)
The board revision number can be read from a register. It is a four-bit number that changes when the schematic of the board is changed. This should match the revision number printed on the board. RoentDek Handels GmbH TDC4HM Manual (1.10.1)
If not 0, the driver found valid calibration data in the flash on the board and is using it. This value is not applicable for the TDC4HM. char calibration_date[20] DIN EN ISO 8601 string YYYY-MM-DD HH:MM of the time when the card was calibrated.
140 °C. In this case the TDC did shut down and the device needs to be reinitialized. pcie_pwr_mgmt Always 0. pcie_link_width Number of PCIe lanes the card uses. Should always be 10 for the TDC4HM. pcie_max_payload Maximum size in bytes for one PCIe transaction. Depends on system configuration. 4.4.5 Structure crono_pcie_info...
The device is configured with a configuration structure. The user should first obtain a structure that contains the default settings of the device read from an on-board ROM, then modify the structure as needed for the user RoentDek Handels GmbH TDC4HM Manual (1.10.1)
#define TDC4HM_TDC_MODE_GROUPED #define TDC4HM_TDC_MODE_CONTINUOUS 1 • Grouped functionality is explained in Section 3.2. • Not applicable for the TDC4HM. crono_bool_t start_rising Selects whether the rising or falling edge of the start signal is used to start a group. double dc_offset[TDC4HM_TDC_CHANNEL_COUNT + 1] Set the threshold voltage for the input channels S, A …D (see Figure 4.1).
Page 20
The parameter must be set to the relative switching voltage for the input standard in use. If the pulses are negative, a negative switching threshold must be set and vice versa. RoentDek Handels GmbH TDC4HM Manual (1.10.1)
The edge that is selected for full resolution measurement must also be enabled for low resolution measurement. 4.5.3 Structure tdc4hm_tiger_block See Section 3.4 for additional information. crono_bool_t enable Activates the timing generator (TiGer). RoentDek Handels GmbH TDC4HM Manual (1.10.1)
This is DC coupled, so make sure that you do not connect any devices as inputs. Pulses created by the TiGer are visible at the inputs of the TDC4HM and can be measured again to get the exact timing. uint32_t...
Page 23
Veto function for grouping of hits into packets in multiples of the binsize. Only hits between start and stop are read out. The parameters must adhere to the following relations: 0 ≤ start ≤ stop < 2 RoentDek Handels GmbH TDC4HM Manual (1.10.1)
Address of header of the last packet in the buffer. This packet is still valid, all data after this packet is invalid. error_code Assignments of the error codes. #define CRONO_READ_OK #define CRONO_READ_NO_DATA #define CRONO_READ_INTERNAL_ERROR 2 #define CRONO_READ_TIMEOUT const char *error_message The last error in human-readable form, possibly with additional information about the error. RoentDek Handels GmbH TDC4HM Manual (1.10.1)
6 Output Data Format 6.1 Memory Management The host buffer is memory on the host’s system in which the data recorded by the TDC4HM is stored until it is acknowledged by the user. The host buffer is managed by the DMA (direct memory access) driver. The DMA driver can only ever write to the host buffer if enough memory is free.
Page 27
= (hit >> 8) & 0xF; uint32_t flags = (hit >> 4) & 0xF; uint32_t channel = hit & 0xF; Bits 7 down to 4 are hit flags and have the following definitions: RoentDek Handels GmbH TDC4HM Manual (1.10.1)
Page 28
Bit 4: Set if this hit is a rising edge. Otherwise, this word belongs to a falling edge. The channel number is given in the lowest nibble of the data word. A value of 0 corresponds to channel A, a value of 3 to channel D. RoentDek Handels GmbH TDC4HM Manual (1.10.1)
Interval between edges for lowres measurements DPlow Interval between consecutive starts Δt Start Measurement range using hits only bins − 1 Range s Extended range using rollovers − 1 Extended Readout rate MHits/s Readout RoentDek Handels GmbH TDC4HM Manual (1.10.1)
Over –40 °C to +85 °C; relative to stabilized frequency after 1 hour of continuous operation @+25 °C; within ±100 ppb of F, where F is the stabilized frequency reached after 1 hour of continuous operation RoentDek Handels GmbH TDC4HM Manual (1.10.1)
12.9 PCIe 12 V rail input current PCIe 3.3 V rail power supply voltage PCIe 3.3 V rail input current 7.2.2 TDC Inputs The TDC4HM’s inputs are single-ended AC-coupled with 50 Ω termination. Symbol Parameter Typical Units Input Baseline Base Trigger Level −...
The device is provided to system integrators to be built into measurement systems that are distributed to end users. These systems usually consist of the TDC4HM, a main board, a case, application software and possibly additional electronics to attach the system to some type of detector. They might also be integrated with the detector.
9, “Überwachungs und Kontrollinstrumente für ausschließlich gewerbliche Nutzung.” The last owner of a TDC4HM must recycle it, treat the board in compliance with §11 and §12 of the German ElektroG, or return it to the manufacturer’s address listed on Page 32.
Need help?
Do you have a question about the TDC4HM and is the answer not in the manual?
Questions and answers