Technical Information Manual Revision n.1 4 January 2004 Mod.
Table of Contents TABLE OF CONTENTS... I 1 GENERAL DESCRIPTION...1 1.1 OVERVIEW...1 1.2 MAIN TECHNICAL SPECIFICATIONS...1 2 FUNCTIONAL DESCRIPTION...2 3 TECHNICAL SPECIFICATION...3 3.1 PACKAGING...3 3.2 EXTERNAL CONNECTIONS...5 3.3 BACKPLANE CONNECTORS...6 3.4 FRONT PANEL CONNECTORS...7 4 RS232 INTERFACE...9 4.1 COMMANDS...9 4.1.1 Write_Mk...10 4.1.2 Read_Mk...10 4.1.3 Write_Dac...10 4.1.4 Read Cnt...11 4.1.5 T_Win...11 4.1.6 Test Pulse...11 4.1.7 Read_Ch...12 5 SOFTWARE INTERFACE...13 5.1 SET DISCRIMINATOR THRESHOLD...14 5.2 MASK CHANNELS...15 5.3 COUNT CHANNELS HITS...16 5.4 TEST PULSE...17 5.5 MULTIPLEX ONE CHANNEL TO OUTPUT...18 Trigger ICARUS group INFN-sezione di Napoli I
1 General description 1.1 Overview The Local Trigger Contro Unit is a 18 channels analog board. It receives as input 9+9 Analog Wire Sum coming from the V791 boards (generally 9 of 2 nd Induction and 9 of collection). It discriminates the 18 inputs comparing them with a remotely controlled threshold (one for each). Noisy inputs can be masked. LTCU gives as output two trigger proposals (T 0 and T 1 ), each one coming from Fast OR of 9 inputs. It measures the rate of trigger proposals for each input. It is remotely controlled through RS232. The board is housed in a 1-unit wide, 6-unit high Eurocard mechanics. The module hosts nine external connectors: A 64 pin input connector (rear panel), A 30 pin power supply connector (rear panel) A RS232 connector A RJ11 connector to transfer FAST OR A RJ11 connector to read a remote selected channel A RJ45 connector for dedicated bus Three 16 pin connectors to read channels 1.2 Main technical specifications Parameter Number of input channels 18 Input bandwidth frequency > 10 khz Oscillator frequency 10 MHz Threshold range 0 250 mv DAC resolution ~ 1mV Output data 2 bits Tab. 1 Model LTCU main functional specifications Trigger ICARUS group INFN-sezione di Napoli 1
2 Functional description RS232 Interface XILINX Spartan 2 RS232 I/O RS232 Connector Fired Channel Recorder F_OR 2 RJ11 OR Connector Thresholds DAC DAC DAC 6 6 6 Test Pulse 4 MASK MUX 18x1 RJ11 Channel Output Connector 18 ASUM Input + - 18 Discriminators output 18 Discriminators Fig. 1 Block diagram of the model LTCU. Fig. 1 shows a detailed block diagram of the LTCU module. The discriminators provide a comparison of input signals with remotely set thresholds. The external DAC allows to set these thresholds. On the board there are three DAC chips. Each one has 6 channels. It is possible to set each discriminator and each channel individually. The discriminated signals are sent to the FAST OR block. This block produces two signals: T 0 which is the OR between 9 AWS from 2 nd Induction plane and T 1 which is the OR between 9 AWS from collection plane). The OR output connector on the front panel provides the two ORs. The discriminated data are sent to a Multiplexer. It is possible to select one of the 18 discriminator output from a remote PC. Data are also sent to the Fired channel recorder which counts the number of hits for each channel in a time window. The user can define time window from a PC. A test pulse allows to test different groups of input channels. RS232 allows to enable test pulsing on one of following groups of channels: 0 4, 5 8, 9 13, 14 17. MASK block allows to mask noisy channels through RS232 remote control. Trigger ICARUS group INFN-sezione di Napoli 2
3 Technical specification 3.1 Packaging The board is housed in a 1-unit wide, 6-unit high Eurocard standard mechanics. The front panel of the LTCU is shown in Fig. 2 The module hosts nine external connectors: Rear part of the module: Front panel: 64 pin input connector; 30 pin power supply and auxiliary signal connector; RS232 Connector RJ11 Connector ( Fast OR output) RJ11 Connector (Multiplexed channel output ) RJ45 Connector (Dedicated bus reserved) Three 16 pin connectors (Analog sum inputs) Please note that, although the module is housed in a Eurocard standard mechanics, the rear connectors are not VME standard connectors since the backplane for which the board has been designed is proprietary. Trigger ICARUS group INFN-sezione di Napoli 3
LTCU FAST OR OUT...... 18 Analog sum input Multiplexed channel output............ Dedicated bus connector RS232 Connector Fig. 2 Front panel of the LTCU Trigger ICARUS group INFN-sezione di Napoli 4
3.2 External Connections The external connection pin configurations of LTCU are shown in Fig. 3 and Fig. 4, while their function and electro-mechanical specification are listed in the following sections. 1A 1B 1C VCC VCC AVCC AVCC BVCC BVCC INPUT CONNECTOR (P1) Fig. 3 Pin configuration of the backplane connectors on the LTCU Trigger ICARUS group INFN-sezione di Napoli 5
DT0 NDTO DT1 NDT1 DT2 NDT2 DT3 NDT3 RJ45 RX TX RS232 CONNECTOR CH0 CH1 CH2 CH3 CH4 CH5 1A 1B J1 OR1 NOR1 OR2 NOR2 RJ11 LK NLK TT NTT RJ11 CH6 CH7 CH8 1A 1B CH9 CH10 CH11 J2 CH12 CH13 CH14 CH15 CH16 CH18 Fig. 4 Pin Configuration of front panel connector 1A J3 1B 3.3 Backplane connectors INPUT CONNECTOR (P3) Mechanical specification: 64 pin, C-type, A/C lines, DIN41612 standard connector; Electrical specifications: AIN0...AIN31 : not in use A : common terminal Trigger ICARUS group INFN-sezione di Napoli 6
POWER SUPPLY CONNECTOR (P1) Mechanical specification: 30 pin, C-type, A/B/C lines, DIN41612 standard connector; Electrical specifications: VCC: +5V for digital section AVCC: - 5V for analogic section BVCC: +5V for analogic section : common terminal 3.4 Front panel connectors INPUT CHANNEL CONNECTOR (J1, J2, J3) Mechanics specification: 16 pin, A/B lines, DIN standard connector; Electrical specification: CHN...CH(N+5): input channels : common terminal RJ11 (FAST OR) Mechanichs specification: RJ11 type connector; Electrical specification: OR1, OR2 : FAST OR output NOR1, NOR2: FAST OR inverted RJ11 (Channel output) Mechanichs specification: RJ11 type connector; Electrical specification: LK : selected channel output TT : not in use NLK: selected channel inverted LTT: not in use RJ45 (dedicated bus connector) Mechanichs specification: RJ45 type connector; Electrical specification: DT0..1: input data DT2..3: output data NDT0..1: input data inverted NDT2..3: output data inverted Trigger ICARUS group INFN-sezione di Napoli 7
RS232 Connector Mechanichs specification: 9 pin D-type connector; Electrical specification: RS232 signals. Trigger ICARUS group INFN-sezione di Napoli 8
4 RS232 Interface The LTCU can be remotely controlled by a standard PC via RS232 interface. The default setting of the RS232 interface are listed in Tab. 2. 4.1 Commands Baud rate 9600 Parity None Character Lenght 8 bits Number of stop bits 1 bit Tab. 2 RS232 Port setting The LTCU module has 7 functional modes. The user can define the functional mode setting (through PC remote control) a special byte, Control Word. The Control word definition is listed in Tab. 3. Control Word byte Command Operation 00100000 Write_Mk Mask input channel 01100000 Read_Mk Read which channels are masked 00010000 Write_Dac Set descriminators threshold 01010000 Read_Cnt Read channel hits from memory 000010XX Test_P Test pulse mode (2 LS bits to select channels to test) 000001XX T_Win Set time window to count fired input (2 LS bits to select time window width) 11000000 Read_Ch Read selected discriminator output Tab. 3 Control word definition After CW, logic accepts different number of byte depending on the kind of operation (Tab. 4). Command Write_Mk Read_Mk Write_Dac Read_Cnt T_Win Test_P Read_Ch Tab. 4 Bytes request for each operation. Number of byte 1Control Word+3 byte data 1 Control Word 1 Control Word +2 byte data 1 Control Word +1 byte data 1 Control Word 1 Control Word 1 Control Word +1 byte data Trigger ICARUS group INFN-sezione di Napoli 9
4.1.1 Write_Mk This operation permits to mask noisy inputs. Following you find the sequence of data you have to set using PC remote control. Bytes of data define which channel you want to mask. 0 0 1 0 0 0 0 0 Control Word Ch7 Ch6 Ch5 Ch4 Ch3 Ch2 Ch1 Ch0 Ch15 Ch14 Ch13 Ch12 Ch11 Ch10 Ch9 Ch8 Data Bytes Ch17 Ch16 4.1.2 Read_Mk This operation permits to read which channels are masked. It needs only one Control word. 0 1 1 0 0 0 0 0 Control Word 4.1.3 Write_Dac This operation permits to set discriminators threshold. 0 0 0 1 0 0 0 0 Control Word D7 D6 D5 D4 D3 D2 D1 D0 Data Byte x x x A1 A0 Ch2 Ch1 Ch0 Address Byte A1..A0: Ch2..Ch0: D7..D0: Address to select the DAC chip on the board. Address to select the DAC channel on the selected chip. Threshold code. Trigger ICARUS group INFN-sezione di Napoli 10
4.1.4 Read Cnt This command allows to read the number of hits on the channels recorded in a time window. 0 1 0 1 0 0 0 0 Control Word x x x I/C Ch3 Ch2 Ch1 Ch0 Data Byte I/C: Induction II (0) or Collection (1) plane selection Ch3..Ch0: Channel selection. 4.1.5 T_Win It permits to select different time windows. 0 0 0 0 0 1 w w Control Word ww defines the time window length as shown in Tab. 5. ww Value (s) 00 1 01 2 10 4 11 8 Tab. 5 Time window lenght selection 4.1.6 Test Pulse This command permits to send a test Pulse to different groups of discriminator input. 0 0 0 0 1 0 p p Control Word pp defines the input group selected as shown in Tab. 6 pp Channels # 00 0 4 01 5 8 10 9 13 11 14 17 Tab. 6 Channels selection Trigger ICARUS group INFN-sezione di Napoli 11
4.1.7 Read_Ch It permits to read discriminator output 1 1 0 0 0 0 0 0 Control Word x x x Ch4 Ch3 Ch2 Ch1 Ch0 Data Byte Ch4..Ch0: Address to select the channel to read. Trigger ICARUS group INFN-sezione di Napoli 12
5 Software Interface It is possible to select the operation pressing the push button on the left of the panel (Fig. 5). The operations, which are sent on selectable COM port, are explained in Tab. 7. Fig. 5 Software Interface front panel Operations Set discriminator threshold Mask channels Counts channels hits Test pulse Multiplex one channel to output Tab. 7 Software operations Trigger ICARUS group INFN-sezione di Napoli 13
5.1 Set discriminator threshold Fig. 6 shows the Set discriminator threshold panel. Only enabled DAC channels are set when Send button is pushed. All the channels can be set together. Fig. 6 DAC threshold controller panel Trigger ICARUS group INFN-sezione di Napoli 14
5.2 Mask channels Fig. 7 shows the Set Mask channels panel. It permits to mask or unmask channels or monitor the status of the mask. By default all channels are masked. Fig. 7 Mask channels front panel Trigger ICARUS group INFN-sezione di Napoli 15
5.3 Count channels hits Fig. 8 shows the Count channels hits panel. It permits to select the time window in which the hits are counted and the channels to be read. The number of counts can be also selected. For each channels the controller shows the histogram of hits, the mean value and the RMS value. Fig. 8 Counts channels hits panel Trigger ICARUS group INFN-sezione di Napoli 16
5.4 Test pulse Fig. 9 shows the Test pulse panel. It is possible to select which channels to test. Fig. 9 Test pulse panel Trigger ICARUS group INFN-sezione di Napoli 17
5.5 Multiplex one channel to output Fig. 10 shows the Multiplex one channel to output panel. It permits to select which channel to read. Fig. 10 Multiplex one channel to output panel Trigger ICARUS group INFN-sezione di Napoli 18