Download - 2007/4/4 NKS meeting
![Page 1: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/1.jpg)
2007/4/4NKS meeting
Tohoku University
Kyo Tsukada
![Page 2: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/2.jpg)
Schematic view of DAQ system
• K0daq2 :– VME : Bit3 620
• read TKO via SMP
– CAMAC : CC7700• receive interrupt• read scaler
• K0daq1 :– VME : Bit3 620
• read AMT
– CAMAC : CC7700 • receive interrupt
![Page 3: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/3.jpg)
Dead time of k0daq1 (from ppt at 2006/11/15)
• AMT conversion time : nhit×5usec + 25usec• AMT data structure : 2 header + data + 1 footer• AMT read out : ~2usec/word
• Mean estimation– #data at 1 event ~ 80 data
– #AMT at 1 event ~ 10
– Conversion : 8×5+25 ~ 65 usec
– Read out : 100×2 ~ 200 usec
– Total : ~ 270 usec
– 73%@1kHz ...
• In fact, 60%@1kHz• The long tails exist.• Please remove the noise on chamber….
• Most easiest way to reduce the dead time is … One more DAQ PC …?
![Page 4: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/4.jpg)
scheme
Main trigger
Exp. hall
Camac Interrupt register
Common stop
Camac Interrupt register (k0daq2)
Unidaq starts polling and outputs the machine veto signal.If a AMT return the conversion end status, the data are read.When all AMTs become ready, unidaq cancels the machine veto signal.
No delay
No delay
If we install new vertex chamber with larger channels, we need new system.
![Page 5: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/5.jpg)
Multi event mode
• AMT can be used as multi event mode.
• The buffer is not large.• The buffer is equally divided.
• If the buffer is fully used, the DMA transfer method may work well.
• I talked about this topic with Arai-san (@KEK) and Iri-san (@AMSC) at 26 March.
![Page 6: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/6.jpg)
アムスクから送られてきた仕様書
仕様書も日本語なので、日本語で。要約すると、メモリの半分が埋まったところで AMTが readyになる。その際に割り込みを出力するようにするか、ひたすらポーリングを行なうか、はまだ未定。また、 data conversion中には busy信号を現在未使用の NIM outputから出力してもらう。
![Page 7: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/7.jpg)
Some problems
• Most serious problem is “correspondence among events and among modules”.– Among modules: the data of common stop time included in event
header may be available.
– Among events: If correspondence among modules become to be clear, the bit pattern method can be available by using one slot of AMT.
B.G. exit constantly, but the discrepancy doesn’t expand.
![Page 8: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/8.jpg)
AMT data
Data structure Event header
![Page 9: 2007/4/4 NKS meeting](https://reader035.vdocuments.net/reader035/viewer/2022062222/56814f95550346895dbd516f/html5/thumbnails/9.jpg)
AMT module