1 Introduction

The original endcap time-of-flight (ETOF) particle identification (PID) system of the Beijing Spectrometer III (BESIII) [1, 2] consists of two disks of 48 pieces of plastic scintillating counters covering the polar angle region of 0.83 \(<\vert \mathrm{cos}\,\theta \vert <\) 0.96 as shown in Fig. 1. It consists of fast scintillators blocks (BC204) readout by fine-mesh photomultiplier tubes (Hamamatsu R5924) [3]. The time resolution measured by ETOF detector is 138 ps for \(\pi \)’s [4, 5], which cannot completely satisfy the higher precision requirement of physics. One significant reason that can worsen the ETOF resolution is the multiple scattering of particles in the thick aluminium endcaps of the main drift chamber. The large numbers of secondary particles from FEE boards and cables between main drift chamber (MDC) and ETOF cause high multi-hits rate in a readout channel of the ETOF made of coarsely segmented scintillator blocks [6]. These multi-hits events distort both shape and amplitude of the output signals deteriorating the time resolution of ETOF and imposing more constraints for offline calibration and physics analysis. Another important reason is the uncertainties of the particle positions hitting the scintillators that produce jittering for the time resolution in the process of position-time correction.

The multi-gap resistive plate chamber (MRPC) [7] is a new type of gaseous detector, with excellent time resolution, high detection efficiency, relatively low cost and is insensitivity to neutral particles. MRPCs have been successfully used as TOF detectors in several experiments, such as ALICE at LHC [8, 9], STAR at RHIC [10, 11]. The segmentation of the MRPC can be made sufficiently fine to suppress multi-hits events effectively at BESIII as discussed in Ref. [6]. The results of the full simulation [12] show that \(K/\pi \) identification at 95 % confidence level up to 1.4 GeV/c can be achieved. In 2012 the proposal [13] was approved to upgrade the current BESIII ETOF with the MRPC technology.

In the following sections, we will describe the ETOF upgrade system, including MRPC detectors, the readout electronics, the high voltage system, the gas system, and data acquisition system. The cosmic ray test of the entire ETOF system and relevant analysis results will be discussed.

Fig. 1
figure 1

Schematic drawing of ETOF location in BESIII spectrometer

2 ETOF upgrade project

2.1 Design of BESIII ETOF

There are 72 total MRPCs in the upgraded ETOF system and 36 on each end [13] as shown in Fig. 2. Adjacent modules are staggered slightly to avoid dead regions. The effective areas of the MRPC rings have inner radius of 501 mm and outer radius 822 mm. Each MRPC is divided into 12 readout strips. The readout granularity is increased by 12 fold in R direction compared to the original ETOF in which each plastic scintillator module is readout by only one PMT from the inner end which will greatly decrease the position related timing jitter.

Fig. 2
figure 2

The schematic drawing of MRPC ETOF upgrade at BESIII

2.2 Structure of ETOF MRPC

The lengths of readout strips in each MRPC are from 9.1 cm to 14.1 cm and their width is 2.4 cm and separated by 3 mm, as shown in Fig. 3. Strips are readout from both ends is used for each strip in order to improve the timing resolution and to help for determining the hit positions. The design of the MRPCs is optimized based on beam test for prototypes in which the single end and dual-end readout schemes are compared [14, 15].

Figure 4 shows the details of MRPC internal structure. Fourteen pieces of thin glass sheets are arranged into two stacks, and a stack is sandwiched in between two layers of readout strips. The middle layer readout strips are shared by the two stacks. There are total 12 active gas gaps and each gap is 0.22 mm thick that is defined by nylon fishing lines. The thicknesses of glass sheets are 0.4 and 0.55 mm for the inner and outer sheets respectively and their volume resistivity is \(10^{13}\Omega {\cdot }\)cm. Graphite spray layer serving as high voltage electrodes are placed on the outer surfaces of the outermost glass sheets. The surface resistivity of the graphite spray layer is \(\sim \) 5 M\({\Omega }/{\Box }\). Two pieces of 3 mm thick glass fiber enforced epoxy honeycomb-boards are attached to the outer surfaces of the detector to ensure the flatness of the structure. The MRPC module is placed in a gas-tight aluminium box with a total thickness of 2.5 cm and the box is flushed with a gas mixture of 90 % Freon+5 % S\(F_{6}\)+5 % iso-\(C_{4}H_{10}\).

Fig. 3
figure 3

The layouts of Printed Circuit Board

Fig. 4
figure 4

The cross-sectional view of a MRPC module along it length

2.3 Readout electronics and data acquisition system

The readout electronics system of MRPC detectors consists of FEE boards, Time-to-Digital (TDIG) convertion modules, Calibration-Threshold-Test-Power (CTTP) board, fast control module and a CLOCK module in NIM crates that communicates with and controlled by data acquisition (DAQ) system. The schematic of the readout electronics system process for the ETOF upgrade is shown in Fig. 5.

The FEE features four NINO chips developed by the ALICE-TOF group [16]. There are twenty four differential channels and correspondent LVDS signal, which convert signal charges into signals width. The timing accuracy is better than 15 ps RMS for each channel when the input charge is larger than 100 fC [17]. The FEE boards with connectors and cables are fixed on the surfaces of the aluminium boxes of the MRPCs. A special designed short flexible printed circuit board connects the MRPC module outputs to the inputs of the NINO chips. For minimizing the time jitter and ensuring the signal quality, high-performance connectors (50 pin QSS-025-01-l-D-RA-MTI) and shielded differential cables (SQCD-025) from SAMTEC are used to connect the FEE and the TDIG [18].

The CTTP board housed in a NIM crate provides power, threshold and test signal for the FEE. It also receives the OR differential signals from the FEE and generates fast logic signals for TOF trigger subsystem.

Fig. 5
figure 5

The schematic of readout electronics system process

The 9U VME crates consist of the VME controller of PowerPC board, readout control module of ROC, CLOCK module, and TDIG module. The TDIG modules are based on the HPTDC chips developed by the microelectronics group at CERN [19]. The principle of time measurements is demonstrated in Fig. 6. HPTDC measures the timing of both leading and trailing edges of the analog signals discriminated by the NINO chips with a pre-fixing threshold value. The time resolution of TDIG electronics system is approximately 25 ps after integral non-linearity (INL) compensation [18]. After receiving and digitizing the signals in TDIG modules, data packing and uploading with predefined format are operated by the data acquisition (DAQ) system via the VME bus.

Fig. 6
figure 6

The diagram of signals consequence in HPTDC digitization

Fig. 7
figure 7

The readout electronics system

There are two working modes for the electronics system, data taking and calibration, which are determined by the ROC module. At data taking mode of operation, the ROC receives a series of control signals, such as clock, trigger and sends them to the module of TDIG to start the system, while at the calibration mode the ROC generates these signals by itself to guarantee each channel’s reliability of electronics system. The ROC module sends signals to CTTP to generate the test signals and to TDIG to control the time measurements. Upon the completion of measurements, the ROC module generates an interrupt signal on VME bus, and then data acquisition system will read out the data from the TDIG module and deliver them to DAQ computer.

Fig. 8
figure 8

The planting setup of MRPCs and scintillators

Fig. 9
figure 9

The block diagram of system setup

The data acquisition system is similar to that at BESIII experiment, adopting the techniques of multi-level buffering, parallel processing, high-speed VME readout and network transmission. Also, the running status such as the event rate, noise level, the time spectrums are monitored by a computer program to provide a real-time information for the entire system. The picture of readout electronics system is shown in Fig. 7.

Fig. 10
figure 10

The schematics of strips group hit by a cosmic ray

2.4 Gas system and high voltage system

The gas system consists of the gas supply bottles, mass flow controller, flow monitor and gas tanks. The composition of working gas mixture is 90 % Freon + 5 % S\(F_{6}\)+5 % iso-\(C_{4}H_{10}\) for the test. The gas components flow into a buffer tank with component ratio controlled by gas mass flow controller, and then delivered to MRPCs at a fixed rate of 400 ml/min. In order to avoid the effect of moisture in MRPC, copper pipes are chosen to connect between gas tanks and MRPCs while plastic pipes are used gas exhaust lines. Each three MRPCs are connected serially in a gas circuit.

The high voltage (HV) system, with nine pairs positive and negative channels for each endcap, consists of high voltage power supplies, HV distribution crate and cables. Each pair of channels are split in the HV distribution crate to supply four modules controlled by the BESIII slow control system.

Fig. 11
figure 11

The typical T-TOT fitted line with empirical function

Fig. 12
figure 12

Four figures before and after slewing correction: a scatter plot of \(T_{2}-TR_{2}\) versus \(\mathrm{TOT}_{2}\) before iterations; b scatter plot of \(T_{2}-TR_{2}(\mathrm{new})\) versus \(\mathrm{TOT}_{2}\) after iterations; c \(T_{2}-TR_{2}\) distribution before iterations; d \(T_{2}-TR_{2}(\mathrm{new})\) distribution after iterations

3 The Cosmic ray test

3.1 The system layout

Three months cosmic ray test has been conducted in our laboratory. The MRPC working voltage is set at \(\pm \)7000V and FEE threshold is set at 150 mV. MRPCs are stacked on four semicircle platforms as shown in Fig. 8. In order to trigger on the passing particles, 18 pairs of fan shaped scintillator counters, with active areas slightly smaller than the MRPC active area, are placed above and below the MRPC module separately. Figure 9 shows block diagram of the system setup.

3.2 Data analysis

For the convenience of data analysis, we select cosmic ray events passing through the same ID strips of the four MRPCs stacked vertically. Figure 10 shows the schematic of a cosmic ray event passing through them.

Two parameters are defined: \(T_{i}\), and \(TR_{i}\). \(T_{i}\) represents mean time of strip; \(TR_{i} = (T_{j}+T_{k}+T_{l})/3\) represents reference time which is independent of \(T_{i}\). Four preliminary resolutions can be obtained from (\(T_{i} - TR_{i}\)) distributions. The analysis process of cosmic ray test is briefly presented below:

Considering the time–amplitude effect, firstly fitting each scatter plot of \(T_{i}-TR_{i}\) versus \(\mathrm{TOT}_{i}\) with empirical function as shown in Eq. (1):

$$\begin{aligned} f(x)=p_{0}+\frac{p_{1}}{\sqrt{x}}+\frac{p_{2}}{x}+\frac{p_{3}}{x\sqrt{x}}+\frac{p_{4}}{x^{2}} \end{aligned}$$
(1)
Fig. 13
figure 13

\(T_{2}(\mathrm{new})-TR_{2}(\mathrm{new})\) distribution after slewing correction

Figure 11 shows the typical fitting line. Then using the corrected mean time \(T_{j,k,l}(\mathrm{new}) = T_{j,k,l} - f_{j,k,l}(\mathrm{TOT}_{j,k,l})\) to replace \(T_{j,k,l}\) in \(TR_{i}\) and repeat the process above. After several times iterations, the reference \(TR_{i}\) is much accurate as shown in Fig. 12. After slewing correction four \(T_{i}(\mathrm{new})-TR_{i}(\mathrm{new})\) distributions can be obtained ultimately.

Define \(\sigma '_{i}\) (i = 1, 2, 3, 4) as measured resolution obtained by fitting the \(T_{i}(\mathrm{new})-TR_{i}(\mathrm{new})\) distribution with Gauss function as shown in Fig. 13, while \(\sigma _{i}\) represents the time resolution of each MRPC strip. Eventually resolutions of four strips can be described in equations (2):

$$\begin{aligned} \left\{ \begin{array}{l} \sigma '^{2}_{1}=\sigma ^{2}_{1}+(\sigma ^{2}_{2}+\sigma ^{2}_{3}+\sigma ^{2}_{4})/9\\ \sigma '^{2}_{2}=\sigma ^{2}_{2}+(\sigma ^{2}_{3}+\sigma ^{2}_{4}+\sigma ^{2}_{1})/9\\ \sigma '^{2}_{3}=\sigma ^{2}_{3}+(\sigma ^{2}_{4}+\sigma ^{2}_{1}+\sigma ^{2}_{2})/9\\ \sigma '^{2}_{4}=\sigma ^{2}_{4}+(\sigma ^{2}_{1}+\sigma ^{2}_{2}+\sigma ^{2}_{3})/9\\ \end{array} \right. \end{aligned}$$
(2)

After solving this matrix equation, the time resolution of each strip can be obtained by the formula (3):

$$\begin{aligned} \left( \begin{array}{cccc} \sigma ^{2}_{1}\\ \sigma ^{2}_{2}\\ \sigma ^{2}_{3}\\ \sigma ^{2}_{4}\\ \end{array} \right) = \left( \begin{array}{cccc} 33/32 &{} -3/32 &{} -3/32 &{} -3/32\\ -3/32 &{} 33/32 &{} -3/32 &{} -3/32\\ -3/32 &{} -3/32 &{} 33/32 &{} -3/32\\ -3/32 &{} -3/32 &{} -3/32 &{} 33/32\\ \end{array} \right) \left( \begin{array}{cccc} \sigma '^{2}_{1}\\ \sigma '^{2}_{2}\\ \sigma '^{2}_{3}\\ \sigma '^{2}_{4}\\ \end{array} \right) \end{aligned}$$
(3)

This method is very useful for the Q&A control in the mass production since it can get the test results of several MRPCs simultaneously.

3.3 Test results

By subtracting the 25 ps jitter of electronics, the intrinsic resolution of MRPCs’ strips can be obtained. The typical resolution results are shown in Fig. 14. The average intrinsic resolution of MRPC strips is approximately 60 ps. The resolutions of shortest and longest strip are a bit worse than middle strips, probably due to detector edge effect and low statistics. The uncertainty from momentum determination and flight time difference between strips of cosmic ray particles are also possible factors which deteriorate resolution slightly.

Fig. 14
figure 14

The resolution versus strip ID

Fig. 15
figure 15

The detecting efficiency versus strip ID

Fig. 16
figure 16

The noise rate at different threshold

The detecting efficiency is determined by the ratio of number of hits in one strip to the number of tracks passing through the pad. As shown in Fig. 15, the average efficiency of strip is 98.5 %, which satisfies the design requirement of \(\ge \)96 %.

The noise rate of strips of every electronic channel is also studied. A signal independent of the cosmic ray was sent to the electronics as random trigger. As FEE threshold increases, the average noise rate of MRPC strips reduces and reaches a plateau at 0.2 Hz/cm\(^{2}\) as shown in Fig. 16. The error bar of each point represents the noise rate fluctuations of different strips. It indicates that in normal working threshold range (usually more than 150 mV) the average noise rate is quite low.

4 Conclusion

The upgraded BES III ETOF system using the MRPC technology has been tested successfully. The intrinsic time resolution of MRPCs is measured to be approximately 60 ps, while the high voltages of MRPCs are set to \(\pm \)7000 V, significantly better than the intrinsic time resolution of the original ETOF using plastic scintillator blocks. The average detecting efficiency for cosmic ray muons is 98.5 %, and the average noise rate is approximately 0.2 Hz/cm\(^{2}\) at the intended threshold range. These results prove that the performance of the MRPC based ETOF meets the requirements of the upgrade.