<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>HIGH-SPEED DATA ACQUISITION SYSTEM BASED ON DRS4 WAVEFORM DIGITIZATION</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>J.Z. Zhang</string-name>
          <email>zhangjz@impcas.ac.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>H.B. Yang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>J. Kong</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Y. Qian</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Q.S. She</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>H. Su</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>R.S. Mao</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>T.C. Zhao</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Z.G. Xu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Modern Physics, Chinese Academy of Sciences</institution>
          ,
          <addr-line>730000</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>2017 Jingzhe Zhang</institution>
          ,
          <addr-line>Haibo Yang, Jie Kong, Hongyun Zhao, Yi Qian, Qianshun She, Hong Su,Ruishi Mao, Tiecheng Zhao, Zhiguo Xu</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <fpage>340</fpage>
      <lpage>344</lpage>
      <abstract>
        <p>We present a 5GSPS high-speed data acquisition system with up to 32 channels and 1024 sampling cells per channel, designed for fast-sampling, front-end applications. The data acquisition system consists of four waveform digitalization front-end circuits, one high-speed data transmission circuit and upper computer software. Waveform digitalization front-end circuit has one piece Switched Capacitor Array (SCA) chip, DRS4, developed at Paul Scherrer Institute, Switzerland. The DRS4 chip has been working in full readout mode and its eight channels are independent. High-speed data transmission circuit accept sampling data of four waveform digitization front circuits through four 2.5 Gbps serial link transceivers and send these data to upper computer real-timely. High-speed data transmission circuit with 8 lane PCI Express interface can be inserted in the PCIE x8 slot of upper computer directly and exchange data with the upper computer high-speed. Upper computer software with friendly human-computer interaction interface is responsible for system detection, sending configuration instructions, data processing and saving, etc. The first prototype of high-speed data acquisition system was designed and tested in the laboratory.</p>
      </abstract>
      <kwd-group>
        <kwd>waveform digitization</kwd>
        <kwd>high-speed data acquisition</kwd>
        <kwd>high-speed data transmission</kwd>
        <kwd>switched capacitor array</kwd>
        <kwd>DRS4</kwd>
        <kwd>PCI Express</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In some high-speed particle physics experiments, there is a growing demand for high-speed
sampling and digitizing detector signals, so as to realize the accurate measurement of various
physical quantities, such as time, energy and pulse waveform discernment and so on [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Compared
with the Flash ADCs and TDCs, the waveform digitization based on Switched Capacitor Arrays
(SCA) has obtained the fast development because of its high sampling rate, high bandwidth, low
power consumption and low cost. The basic principle is that detector signals are sampled and stored
in an array of fast capacitors at a very high-speed, and digitized with a commercial ADC at a lower
rate before a new waveform is acquired [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This technique solves the contradiction between high
speed and high accuracy of analog digital transformation, and reduces the power and cost of the
system by avoiding using high-speed ADC. The fourth version of Domino Ring Sampler (DRS4) is
an internationally advanced waveform digitization chip form Paul Scherrer Institute (PSI) capable of
sampling 9 differential input channels at a sampling speed up to 6 GSPS. Its differential inputs
bandwidth is 950 MHz and power consumption is only for 140 mW typical at 2 GSPS [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Based on
the above advantages, DRS4 is increasingly applied in high-speed particle physics experiments, such
as flight time measurement[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], cosmic ray observation [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], PET scanner [
        <xref ref-type="bibr" rid="ref6 ref7">6-7</xref>
        ] and so on.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. High-speed data acquisition system</title>
      <p>The high-speed data acquisition system consists of four waveform digitalization front-end
circuits, one high-speed data transmission circuit and upper computer software. Figure 1 shows the
structure of high-speed data acquisition system. Waveform digitalization front-end circuit, the core of
the data acquisition system, its main function are high-speed sampling and digitizing of analog
signals, combining the data into frames, and transmitting frames to high-speed data transmission
circuit through the optical fiber. High-speed digital data transmission circuit receive data from four
waveform digitalization front-end circuits and send these data to upper computer through the PCI
Express bus real-timely. In the meantime, high-speed digital data transmission circuit also receive
instructions from upper computer and send these instructions to four waveform digitalization
frontend circuits. There are 32 analog input channels of high-speed data acquisition system. Upper
computer software control the whole acquisition system, such as system testing, parameter
configuration, data processing and storage, etc.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Waveform Digitalization Front-end Circuit</title>
      <p>Waveform digitalization front-end circuit is showed in Figure 2. The Circuit is based on
DRS4 chip with eight analog input channels. Signals of detector through the analog front-end are
entered into the DRS4 chip in parallel. The DRS4 chip has been working in full readout mode. Eight
channels are independent of each other in DRS4 chip and each channel has 1024 sampling cells. In
the full readout mode, all 1024 sampling cells are read out consecutively starting from cell 0 to 1024
with clock cycles at 33 MHz. The signals of eight channels are read out in parallel into ADC, so it
takes about 31 s to read out all the data of eight channels form DRS4. The ADC has eight
independent channels, all eight channels can be digitized in parallel. It means that the maximum dead
time of waveform digitalization front-end circuit is 31s. The digital data comes from ADC is
exported to FPGA in parallel for combining into frames, and then cached in DDR2 memory and send
out through the SFP (Small Form-factor Pluggable) interface at last. The transmission rates of SFP is
2.5 Gbps. The key parameters of the circuit are shown in table 1.</p>
    </sec>
    <sec id="sec-4">
      <title>4. High-speed Data Transmission Circuit</title>
      <p>As shown in Figure 3, there are four SFP interfaces on the high-speed data transmission
circuit. The transmission rates of SFP is 2.5 Gbps. The circuit has two independent DDR2 memories
with 512 MB storage capacity, which can provide high-speed caching for data transmission. In order
to realize high-speed data interaction with upper computer, we designed an 8-lane PCI Express
interface with 16Gbps transmission rate on the circuit. We can directly insert the high-speed data
transmission circuit in PCIE8 slot on motherboard of personal computer.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Upper Computer Software</title>
      <p>
        Upper computer software is developed by c++ in the Visual Studio development
environment. The PCI Express interface driver is designed by the WinDriver software [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Graphical
user interface of software is shown in Figure 4, its major function are finding and configuring PCI
Express endpoint devices, sending configuration instructions, DMA interrupt response and
processing, system memory allocation and management, creating files, reading and writing hard
disks, system testing, etc.
      </p>
    </sec>
    <sec id="sec-6">
      <title>6. Test results in the laboratory</title>
      <p>The high speed data acquisition system is tested in detail in the laboratory. Results of test
showed that the maximum transfer rate of SFP and PCI Express interfaces are 200 MB/s and
1598MB/s respectively, and the bit error rate are 2.14710-12 and 2.89810-12 respectively. We use
sampling data of one of channels to test waveform reconstruction. Test signal is a sinusoidal signal,
its amplitude is 225 mV and frequency is 10 MHz. Data processing result is shown in figure 5, we
can get the conclusion that the system can carry out well to reconstruct the test signal by using data
obtained from the actual sampling.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Conclusion</title>
      <p>The technology of waveform digitization based on Switched-Capacitor Arrays is increasingly
applied to the particle physics experiments because of its many advantages. In this paper, the
highspeed data acquisition system based on DRS4 chip has characteristics of multi-channel, high
sampling rate, small dead time and long-distance transmission, thus it has generality to a certain
extent.
with</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Stefan</surname>
            <given-names>R</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roberto</surname>
            <given-names>D</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ueli</surname>
            <given-names>H</given-names>
          </string-name>
          .
          <article-title>Application of the DRS chip for fast waveform digitizing</article-title>
          [J].
          <source>Nuclear Instruments and Methods in Physics Research A</source>
          ,
          <year>2010</year>
          ,
          <volume>623</volume>
          :
          <fpage>486</fpage>
          -
          <lpage>488</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Jinghong</given-names>
            <surname>Wang</surname>
          </string-name>
          . Research of waveform digitization arrays[D].
          <source>HeFei：Unibersity of Science and Technology of China，</source>
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3] STEFAN R.
          <article-title>9 Channel, 5 GSPS switch capacitor array</article-title>
          , DRS4[R/OL]. [
          <fpage>2015</fpage>
          -12-31]. https://www.psi.ch/drs/documentation.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>RONZHIN</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>ALBROW</surname>
            <given-names>M</given-names>
          </string-name>
          , LOS S, et al.
          <article-title>A SiPM-based TOF-PET detector with high speed digital DRS4 readout</article-title>
          [J].
          <source>Nuclear Instruments and Methods in Physics Research A</source>
          ,
          <year>2013</year>
          ,
          <volume>703</volume>
          :
          <fpage>109</fpage>
          -
          <lpage>113</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>TESCARO D.</surname>
          </string-name>
          <article-title>The upgraded MAGIC Cherenkov telescopes</article-title>
          [J].
          <source>Nuclear Instruments and Methods in Physics Research A</source>
          ,
          <year>2014</year>
          ,
          <volume>766</volume>
          :
          <fpage>65</fpage>
          -
          <lpage>68</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>DU</given-names>
            <surname>Chengming</surname>
          </string-name>
          , CHEN Jinda,
          <string-name>
            <surname>YANG Haibo</surname>
          </string-name>
          , et al.
          <source>Application of DRS4 Board on PET [J]. Nuclear Electronics &amp; Detection Technology</source>
          ,
          <year>2015</year>
          ,
          <volume>35</volume>
          (
          <issue>6</issue>
          ):
          <fpage>577</fpage>
          -
          <lpage>580</lpage>
          (in Chinese).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>YANG</given-names>
            <surname>Haibo</surname>
          </string-name>
          , SU Hong,
          <string-name>
            <given-names>KONG</given-names>
            <surname>Jie</surname>
          </string-name>
          , et al.
          <article-title>Application of the DRS4 Chip for GHz Waveform Digitizing Circuit</article-title>
          [J].
          <source>Chinese Physics C</source>
          ,
          <year>2015</year>
          ,
          <volume>39</volume>
          (
          <issue>5</issue>
          ):
          <fpage>73</fpage>
          -
          <lpage>79</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Jungo</given-names>
            <surname>Ltd. WinDriver</surname>
          </string-name>
          <string-name>
            <surname>PCI</surname>
          </string-name>
          /PCI Express/PCMCIA quick start guide[R/OL]. [
          <fpage>2015</fpage>
          -12-31]. http://www.jungo.com/st/support/documentation/windriver/wdpci_qsg.pdf.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>