X
Advanced Search

Technique research of embedded event receiver for BEPC-II

Funds: 

This study was supported by the Beijing Electron Positron Collider Upgrade Project (No. Y41G1020Y1).

More Information
  • Received Date: September 18, 2022
  • Revised Date: October 26, 2022
  • Accepted Date: October 30, 2022
  • Available Online: October 18, 2023
  • Published Date: November 30, 2022
  • Purpose The event receiver is an important component of the BEPC-II timing system. It receives event codes from the event generator and then generates triggers and interrupts. The currently applied event receiver is implemented in a single FPGA board, which has to work in conjunction with a single-board computer and an external bus chassis. With the rapid development of System-on-Chip (SoC) technology, combining them in one SoC is more efficient, more integrated, and cheaper. Thereby, an embedded event receiver based on ZYNQ SoC is proposed.
    Methods and Results In this paper, some key techniques of embedded event receiver have been researched. These techniques have been implemented in an embedded event receiver prototype named ER-Z. And the function test results show that ER-Z has the ability to receive event codes and handle them through interrupts while attaching timestamps with event clock precision. The performance test results show that the average interrupt latency is less than 30 μs and the average AXI-Lite read latency is less than 170 ns.
  • [1]
    F.R. Lenkszus, R. Laird, The advanced photon source event system, in Proceedings of ICALEPCS, Chicago, USA 29 Oct.–3 Nov. 1995
    [2]
    Y. Chernousko, A. Gonias, M.T. Heron, et al., The timing system for diamond light source, in Proceedings of EPAC, Edinburgh, UK 26–30 Jun. 2006
    [3]
    P. Cheblakov, S. Karnaev, NSLS-II booster timing system, in Proceedings of ICALEPCS, Grenoble, France 10–15 Oct. 2011
    [4]
    T. Korhonen, M. Heiniger, Timing system of the swiss light source, in Proceedings of ICALEPCS, San Jose, USA 27–30 Nov. 2001
    [5]
    G. Lei, G.L. Xu, L. Wang et al., BEPCII linac timing system. Nucl. Electron. Detect. Technol. 27, 6 (2007). ((in Chinese))
    [6]
    L.Y. Zhao, C.X. Yin, D.K. Liu, The SSRF timing system, in Proceedings of EPAC, Genoa, Italy 23–27 Jun. 2008
    [7]
    G. Lei, G.L. Xu, L. Wang, et al., BEPC-II event timing system. Nucl. Electron. Detect. Technol. 28(3), 451–455, 469 (2008), https://doi.org/https://doi.org/10.3969/j.issn.0258-0934.2008.03.001 (in Chinese)
    [8]
    J.Q. Wang, L. Ma, C. Zhang, et al., Commissioning of BEPCII, in Proceedings of EPAC, Genoa, Italy 23–27 Jun. 2008
    [9]
    G. Lei, G.L. Xu, G. Li, et al., BEPCII Timing system, in Proceedings of ICALEPCS, Kobe, Japan 12–16 Oct. 2009
    [10]
    Z. Liu, G. Lei, G.L. Xu, Technique research of event-based timing system. Radiat. Detect. Technol. Methods. 4, 1–9 (2020). https://doi.org/10.1007/s41605-019-0147-6
    [11]
    P. Jukka, VME Event Generator (VME-EVG-230) Technical Reference. (mrf.fi, 2009), http://mrf.fi/dmdocuments/EVG-230TREF-002.pdf. Accessed 4 Mar 2021
    [12]
    P. Jukka, VME Event Reciever (VME-EVR-230) Technical Reference. (mrf.fi, 2009), http://mrf.fi/dmdocuments/EVR-230TREF-005.pdf. Accessed 20 Dec 2020
    [13]
    ARM, AMBA AXI and ACE Protocol Specification. (Arm Holdings, 2022), https://developer.arm.com/documentation/ihi0022/e/AMBA-AXI4-Lite-Interface-Specification. Accessed 1 Oct 2021
    [14]
    Xilinx, 7 Series FPGAs GTX/GTH Transceivers User Guide. (Xilinx Inc, 2018), https://docs.xilinx.com/v/u/en-US/ug476_7Series_Transceivers. Accessed 10 Jul 2021
    [15]
    Z. Liu, G. Lei, G.L. Xu, The design of clock synchronization for high speed serial transceivers inside FPGA. Nucl. Electron. Detect. Technol. 39, 6 (2019). ((in Chinese))
    [16]
    I. Konorov, H. Angerer, A. Mann, et al., SODA: Time distribution system for the PANDA experiment, In Proceedings of IEEE Nuclear Science Symposium and Medical Imaging Conference, Manchester, UK, 26 Oct.–2 Nov. 2019
    [17]
    Xilinx, FIFO Generator v13.1 LogiCORE IP Product Guide. (Xilinx Inc, 2017), https://docs.xilinx.com/v/u/13.1-English/pg057-fifo-generator. Accessed 1 Feb 2022
    [18]
    S.N. Cheng, Z. Zhang, P. Zhu, et al., Design of accelerator failure analysis system prototype based on high precision time data. Nucl. Tech. 45(10), 100203–1–100203–8 (2022), https://doi.org/https://doi.org/10.11889/j.0253-3219.2022.hjs.45.100203 (in Chinese)
    [19]
    H.J. Koch, The Userspace I/O HOWTO. (The kernel development community, 2006), https://www.kernel.org/doc/html/v4.12/driver-api/uio-howto.html. Accessed 14 Mar 2022
    [20]
    H.J. Koch, H.L. Gmb, Userspace I/O drivers in a realtime context, in Proceedings of the 13th Realtime Linux Workshop, Prague, Czech Republic 20–22 Oct. 2011
    [21]
    Xilinx, Device Tree Tips (2017), https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842482/Device+Tree+Tips. Accessed 2 Mar 2022
    [22]
    EPICS. How To Use POSIX Thread Priority Scheduling under Linux (2022), https://epics-controls.org/resources-and-support/documents/howto-documents/posix-thread-priority. Accessed 5 Apr 2022
    [23]
    IBM. Processor affinity and binding. (ibm.com, 2022), https://www.ibm.com/docs/en/aix/7.2?topic=architecture-processor-affinity-binding. Accessed 20 Apr 2022
    [24]
    F. Reghenzani, G. Massari, W. Fornaciari, The real-time linux kernel: a survey on Preempt_RT. ACM COMPUT SURV. 52, 1 (2015). https://doi.org/10.1145/3297714
    [25]
    Xilinx, Zynq-7000 SoC Data Sheet: Overview. (Xilinx Inc, 2018), https://docs.xilinx.com/v/u/en-US/ds190-Zynq-7000-Overview. Accessed 25 May 2022
  • Zhao Zhang, Zhi Liu, Sinong Cheng, et al. Technique research of embedded event receiver for BEPC-II[J]. Radiation Detection Technology and Methods, 2023, 7(1): 124-133. DOI: 10.1007/s41605-022-00363-z
    Citation: Zhao Zhang, Zhi Liu, Sinong Cheng, et al. Technique research of embedded event receiver for BEPC-II[J]. Radiation Detection Technology and Methods, 2023, 7(1): 124-133. DOI: 10.1007/s41605-022-00363-z

Catalog

    Article views (7) PDF downloads (0) Cited by()

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return