From: Jan Michel Date: Thu, 27 Feb 2014 13:04:31 +0000 (+0100) Subject: Added Qiyans files I got by mail X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=a7525bc18c1caeb39316fa80a821fdc62f941d3e;p=reports.git Added Qiyans files I got by mail --- diff --git a/GSI_2014_QL_ClusterFinder/DAQ-FPGA.png b/GSI_2014_QL_ClusterFinder/DAQ-FPGA.png new file mode 100644 index 0000000..cd46be6 Binary files /dev/null and b/GSI_2014_QL_ClusterFinder/DAQ-FPGA.png differ diff --git a/GSI_2014_QL_ClusterFinder/JACoW-GSI-2013.cls b/GSI_2014_QL_ClusterFinder/JACoW-GSI-2013.cls new file mode 120000 index 0000000..ae28ddc --- /dev/null +++ b/GSI_2014_QL_ClusterFinder/JACoW-GSI-2013.cls @@ -0,0 +1 @@ +../JACoW-GSI-2013.cls \ No newline at end of file diff --git a/GSI_2014_QL_ClusterFinder/Qiyan2013CBM-progressReport.pdf b/GSI_2014_QL_ClusterFinder/Qiyan2013CBM-progressReport.pdf new file mode 100644 index 0000000..9530619 Binary files /dev/null and b/GSI_2014_QL_ClusterFinder/Qiyan2013CBM-progressReport.pdf differ diff --git a/GSI_2014_QL_ClusterFinder/Qiyan2013CBM-progressReport.tex b/GSI_2014_QL_ClusterFinder/Qiyan2013CBM-progressReport.tex new file mode 100644 index 0000000..47e308c --- /dev/null +++ b/GSI_2014_QL_ClusterFinder/Qiyan2013CBM-progressReport.tex @@ -0,0 +1,73 @@ +\documentclass{JACoW-GSI-2013} +\usepackage{graphicx} +\usepackage{url} +\usepackage[utf8]{inputenc} +\usepackage{amsmath} +\usepackage{amssymb} +%% GSI Scientific Report 2013 +%% \setlength{\titleblockheight}{27mm} KG +\setlength{\titleblockheight}{35mm} + +\begin{document} +\title{Implementation of the FPGA-based cluster finder for the CBM-MVD\thanks{Work supported by BMBF (05P12RFFC7), HIC for FAIR, and GSI.}} + +\author[]{Qiyan Li} +\author[]{M. Deveaux} +\author[]{I. Fröhlich} +\author[]{B. Milanovic} +\author[]{J. Michel} +\author[]{C. Müntz} +\author[]{J.Stroth for the CBM-MVD Collaboration} + + +\affil[]{IKF, Goethe-University Frankfurt, Germany} + + +\maketitle +%\section{} +Searching for open charm particles with CBM demands for high collision rates of $\sim$ 100 kHz Au+Au collisions and for performing tracking and secondary decay vertex finding in real time. This generates a significant load to the First Level Event Selector (FLES) of the experiment. To reduce this load, we aim to pre-process the data provided by the Micro-Vertex-Detector (MVD) of CBM before sending it to the FLES. + +Our strategy was studied with the CMOS Monolithic Active Pixel Sensor MIMOSA-26, which features already an on-chip zero suppression and an 1-dimensional cluster finding. To reduce the data further, we implemented and tested algorithms performing a 2-dimensional cluster finding and a more efficient cluster encoding [1]. Based on data obtained from the beam test of the MVD-prototype, we concluded that 99.99\% of all clusters can be encoded, if the most abundant cluster shapes are associated to a 10-bit code. This so-called shape code is packed together whith the x- and y-coordinate of the cluster into 32-bit word. As shown in figure 1, which displays the data volume needed to encode a sensor frame in multiples of 16 bit, the novel +encoding scheme reduces the data by a factor of two as compared to the native encoding of MIMOSA-26. Moreover, the fluctuations are reduced, which helps to balance the load of the readout network. + +\begin{figure}[htb] +\centering +%\includegraphics*[width=65mm]{gsisr1} +\includegraphics*[width=65mm]{dataCompression.png} +\caption{Comparison of the data volume generated by SPS beam test data encoded in proposed format and native data format of MIMOSA-26.} +\label{l2ea4-f1} +\end{figure} + +The algorithms are being implemented into the FPGA of the readout controller board (ROC) of the MVD. Figure 2 (left) shows the modules of the current ROC logic.After the sensors’ data are cross-checked for possible errors and synchronization problems, they are stored in a frame buffer, which serves as the input for the cluster finder. The output of this cluster finder is transferred to a readout buffer and shipped forward via TRB-net. Figure 2(right) displays the main logic structure of the cluster finder. The data of each new row arriving at the \emph{Read Row} - module are compared with the potentially incomplete clusters known from previous rows. In case a new state matches geometrically a known cluster, it is added to this cluster. Otherwise, a new cluster is created. Once a cluster does not find new neighbors, it is considered as completed and sent to the \emph{Shape} and \emph{Cluster Coder}-module. Here, the cluster is encoded into the final 32-bit word by means of a look-up table. + +To accelerate the encoding, a \emph{fast coder} encodes the 8 most abundant shapes and all fully symmetrical shapes without accessing the table. Moreover, the \emph{look-up table} was subdivided into groups of shapes with identical numbers of fired pixels and each group was ordered such that the most abundant cluster shape is encoded with shortest access times. According to our FPGA-simulations, this optimization accelerated the access by a factor of two. +\begin{figure}[ht] +\centering +%\includegraphics*[width=65mm]{gsisr1} +\includegraphics*[width=82mm]{DAQ-FPGA.png} +\caption{ Main modules of ROC logic(left), logic structure of the cluster finder(right).} +\label{l2ea4-f1} +\end{figure} + +A first version of the VHDL code was implemented in the FPGA on the TRBv2-board and tested with test patterns. The algorithm recognized the patterns within the anticipated processing time. In a next step, the code will be exposed to real data and finally integrated into the real time data processing chain of the TRBv3-board[2], which are foreseen as ROCs of the MVD. + + + + +\begin{thebibliography}{9} % Use for 1-9 references +%\begin{thebibliography}{99} % Use for 10-99 references + +\bibitem{} +Q. Li and the CBM-MVD Collaboration, "Online data processing with CBM-MVD prototype",GSI Scientific Report 2012 6 + +\bibitem {Paper:TRB-Board}M. Traxler et al., 2011 JINST 6 C12004 + + +\end{thebibliography} + + + + + +\end{document} + diff --git a/GSI_2014_QL_ClusterFinder/dataCompression.png b/GSI_2014_QL_ClusterFinder/dataCompression.png new file mode 100644 index 0000000..83838d9 Binary files /dev/null and b/GSI_2014_QL_ClusterFinder/dataCompression.png differ