Home

TDC-V4 - lumat

image

Contents

1. TDC V4 User Manual 28 Notes e Chronological order of encodings of the signals entering a same Channel is restored after encapsulation e Chronological order of encodings of the signals entering different Channels is not maintained after encapsulation e Chronological order of encodings of the signals entering Start Channel with NEXT_START mode selected is restored after encapsulation The first encoding word delivered by Start Channel is distinguished from the following ones because it is at the beginning of the Run or because it is directly preceded with EOE Service Word e Illustration below shows that Data Encapsulation is unchanged if BACKWARD MODE mode is selected TRIGGER NEXT_START Me r signals entering in Start Channel r r r r r r r OR ed signals entering in Stop Channels 4 ht EVI 4 4 4 0 1 2 3 4 5 6 7 8 BACKWARD GATE FORWARD GATE ANALYSIS START WORD STOP WORD 1 STOP WORD 2 STOP WORD 3 STOP WORD 4 STOP WORD 5 STOP WORD 6 START WORD STOP WORD 7 EOE WORD Note 1 ANALYSIS GATE output signal is high during FORWARD GATE Note 2 if NEXT START mode is selected e After RUN OFF Command EOR Service Word is delivered to the acquisition software after the last data table of the last Event processed by TDC VA TDC V4 User Manual 29 8 Data collecting through PCI Bus Collecting of th
2. 11 a required configuration Installation of TDC V4 board as well as associated Driver and DLL needs a PC type computer with the following minimum characteristics e Processor compatible Pentium 1 GHz e RAM memory 256 Mo e Hard disk 10 Mo free e One free slot PCI 32 bits or 64 bits wide with a 3 3V supply PCI certification e Operating System Windows 11 b installation Installation of the board into the PC e Turn off the computer and unplug the supplied cable e Remove the PC cover e Choice a free PCI slot white color slots if a filling bracket shuts the slot on the PC rear panel remove it e Insert the TDC V4 board all the way in holding the board edges firmly e Check that the board is well straight and hold the TDC V4 bracket with the supplied screw e Replace the computer cover and the supplied cable Installation of the driver Windows XP e Start the computer e If the Found new hardware wizard window appears click Cancel e Install the driver by launching the drv_install exe program contained in the Installation Driver folder of the supplied Package TDC V4 then follow the instructions Checking that TDC V4 is recognized by Operating System e Click Start then Control panel System and finally Device manager e Double click Jungo driver supplier then T001 TDC V4 card name Properties window opens and a message displays the device state Check that This device is working properly message is dis
3. Note Modes configuration registers access is write only TDC V4 User Manual 21 4 Commands 4 a Init Commands Function Modes Initialization The Command is controlled by the following register name PCI data address INIT CONF 140 0000h 2 command O OFF 1 ON INIT_CONF ON Command must be followed by INIT_CONF OFF Command Be careful with this Command after this Command executed Function Modes get their default values as described chapter 3 g and may not to correspond to the one displayed by the Configuration utility program gt TDC V4 logical state Initialization The Command is controlled by the following register name PCI data address INIT TDC 160 0000h 2 command 0 ON 1 OFF INIT TDC ON Command must be followed by INIT TDC OFF Command TDC VA logical state is automatically initialized while TDC V4 powering on TDC V4 User Manual 22 4 b RUN Command RUN Command carries out several functions e inany case RUN ON enables Event Trigger e in the TRIGGER_SOURCE RUN HOST_START case see chapter 3 c Trigger Modes RUN ON triggers an Event processing e in the infinite Forward Duration case see chapter 3 d Analysis Duration RUN OFF ends the Analysis Duration e in any case RUN OFF gt disables Event Trigger gt transfers to the acquisition software if data collecting is not st
4. data word 32 bits wide e size number of words to read e address report to summary chapter 14 e mode 3 for DATA register O for the other registers gt Data reading from the FIFO ACQ output buffers int Read_dsp_bis int data_buffer int size To be used to read the data buffer available in the TDC V4 output buffers with the standard protocol This integrated function manages v reading from SEMAPHORE register V test of data availability gt if data are not available the function returns 0 gt if data are available the function reads size from TDC V4 SIZE register reads the suitable number of data from the TDC V4 output buffers resets the SEMAPHORE register returns 6 and assigns the following contents e data buffer read data 32 bits wide table e size number of read words lt 509 TDC V4 User Manual 41 13 Program example The following example clarifies the chronological architecture to be respected by any acquisition software standard protocol 1 Driver opening gt Use OuvertureDriver function Syntax example char flag 0 OuvertureDriver amp flag OX10B5 0x5406 1 2 Initialization not necessary before a Run launching UseData Ecriture function Syntax example define INIT TDC 0x1600000 int register val 0 Data Ecriture amp register val 1 INIT TDC 6 Reset TDC asserted register val 1 Data Ecriture amp register val 1 INIT TDC 6
5. reported into the Start Coding Word bit EL see chapter 6 Data Format This function is controlled by the following register name PCI data address EVENT LABELLING 2200000 2 2 enabling 1 1 START ENABLE as Label On 1 O START ENABLE as Label Off TDC V4 User Manual 17 gt Additional Coding Channel optional This optional Channel encodes either of the two following input signals e SLOW START e EXTERNAL END If either SLOW START or EXTERNAL END is not used Trigger by SLOW START Analysis Duration by EXTERNAL END the Additional Coding Channel permits to extend the number of Coding Channels to 17 and if Interface ISIBox is used to encode a TTL input signal The Additional Coding Channel does not benefit from static or dynamic enabling capabilities see next paragraph Input signal selection is controlled by the following register name PCI data address EXTRA CHANNEL NA 2g input signal O SLOW_START 1 EXTERNAL_END gt Stop Coding Channels enabling Coding Channels can be enabled or disabled e statically for each Channel e dynamically for the whole 16 Channels by means of the STOP_GATE input signal Enabling of the Stop Coding Channels is controlled by the following registers name PCI data address STATIC STOP ENABLE 1200000h 2 static enabling of i channel 0 OFF 1 ON DYNAM_STOP_ENABLE 22000
6. this optimization is valid overall for all the Coding Channels with or without Range Extension This optimization is controlled by the following register name PCI data address OPTIMIZATION 220 0000h 2 Optimized characteristic O RESOLUTION 1 DNL Note 1 Differential Non Linearity quantifies the actual bins width inequality TDC V4 User Manual 19 3 f Acknowledgment Modes Possibilities of Event Acknowledgment according to the suitable Acquisition Mode for the experiment are presented on the following table Acquisition Acknowledgment Mode Mode TDC V4 supplies to the acquisition software processor only the data relative to one Event and enables a new Trigger after it is acknowledged by the acquisition software by means of the command HOST_ACK EBE_HOST_ACK TDC V4 supplies to the acquisition software only the data relative to one Event and enables a new EBE_EXT_END Trigger after it is acknowledged by means of the Event by Event command EXTERNAL_END TDC V4 supplies to the acquisition software only the data relative to one Event and enables a new Trigger as soon as all the data relative to this Event are stored into FIFO ACQ output buffers This Acknowledgment Mode involves that the user controls the Trigger signal in order to ensure the correlation of all data sources making up the Event EBE_TDC_AUTO TDC V4 piles up in succession into FIFO ACQ output
7. V4 may encode Stop signals during a BACKWARD_DURATION before the trigger time This Mode avoids having to delay the Stop input signals occurring before the signal used to trigger the event BACKWARD Mode and its Analysis Duration are controlled by the following registers name PCI data address BACKWARD MODE 180 0000h 2 enabling 0 OFF 1 ON BACKWARD_DURATION 180 0000h pl duration 0 Ons 1 Ons 2 120 ns 3 240 ns 4 360 ns 5 610 ns 6 860 ns 7 1 3 us 8 1 8 us 9 2 8 us 10 3 8 us 11 5 7 us 12 7 7 us 13 11 6 us Notes If BACKWARD MODE is disabled TDC V4 presents a short dead time between the Event Trigger time and the time when the Stop Channels can encode see Start Latency Time chapter 9 Technical Characteristics If BACKWARD_MODE is enabled and BACKWARD_DURATION O ns the Start Latency Time O ns BACKWARD_MODE does not operate with the Coding Start Channel TDC V4 User Manual 15 3 e Coding Modes Start Coding Channel NEXT START mode The Start Coding Channel encodes the Event Trigger time During data encapsulation the Encoding Word delivered by this Channel is automatically placed at the beginning of the table of data relative to the Event whether Backward Mode is used or not see chapter 7 Data Encapsulation Data Encapsulation necessarily ends the table of data relative to an Event with the Service Word EOE then Coding Cha
8. components mp TTAS_FEOA FPRDR ve vem vem ITE ttt tttm tmt IDC V4 105 CNRS D I PI VIA gt PCI_CON o n a time encoding PCI bridge I O connector PCI bridge SCSI 2 50p TDC oscillator oscillator RUN and BUSY LEDs TDC V4 User Manual 6 2 b logical architecture stToPo gt in l Stop Coding Channel 0 FIFO Channel enable STOP1 Stop Coding Channel 1 FIFO Channel enable STOP15 in Stop Coding Channel 15 FIFO Channel enable Start Coding Channel FIFO Channel enable additional Coding Channel optional multiplexing enable Enel olan Event Manager Acquisition Manager FIFO ACQ FIFO ACQ SLOW START gt PCI bridge FIFO Channel single buffer memory depth 512 Time Encoding words buffers encoding words from a same Event anew Event cannot be accepted as long as the FIFO Channel is not emptied of the Encoding words of the previous Event therefore several Events cannot coexist in a FIFO Channel 2 x FIFO ACQ double toggle buffering each memory depth 509 words 32 bits gt in Event By Event Mode EBE HOST ACK EBE TDC AUTO et EBE_EXT_END stores Encoding or Service words from a same Event gt in Accumulation Mode ACC TDC AUTO several Events may coexist in a FIFO ACQ buffer TDC V4 User Manual 7 2 c Inputs Outputs SCSI 2 50p connector SCSI 2 connector front RUN output 25 Reserved output ANALYSIS_GATE output BUSY output
9. listed on the table next page e bold type Labels are allotted to data source types developed in the TDC V4 version described in this User Manual dimmed Labels are allotted to data source types which may be developed in accordance with the user s needs The last 14 Labels are available for exotic data sources as Counting Scale Rate meter ADC QDC TDC V4 User Manual 26 LABEL FUNCTION 231 230 229 228 22 226 9995 xu 2 3 TDC 16 Stop Channels 1 word encoding with mark nnnn Channel number m OF OverFlow FIFO Channel TDC 16 Stop Channels 2 words duration nnnn Channel number m 0 rising edge m 1 falling edge TDC 16 Stop Channels 2 words high resolution nnnn Channel number m 1 MSB s m O LSB s absolute time absolute time absolute time TDC 32 Stop Channels 1 word encoding nnnnn Channel number absolute time Start Channel 1 word encoding with mark EL START ENABLE input as Label unless EL 0 absolute time Additional Channel 1 word encoding absolute time Start Channel 2 words encoding with mark MSB s EL START_ ENABLE input as label unless EL 0 absolute time Start Channel 2 words encoding LSB s absolute time to be specified Additional Channel 2 word encoding m 1 MSB s m O LSB s REXT Range Extension absolute time m 0 1 semi period 7 8 ms count m 1 2 semi per
10. piled up continuously into double buffering FIFOs Continuously Analysis Mode is chosen by selecting EXTERNAL_GATE as Analysis Duration and by suppressing any signal on the EXTERNAL_END input so TDC V4 runs with an infinite Analysis Duration see chapter 3 d Thus the whole Run is considered as a unique Event either Event By Event Mode or Accumulation Mode may be equally selected see chapter 3 f In the same way it does not make sense to select BACKWARD_MODE If all the signals entering the Start Coding Channel NEXT_START mode must be selected see chapter 3 e Data flow is framed by the Start Coding Word at the Run beginning and the EOE EOR Service Words at the end Except the last buffer of the Run all buffers contain 509 Words 32 bits wide Continuing Analysis Mode is the most efficient one from a rate point of view TDC V4 operates no filtering on the input signals and no Event building these operations have to be processed by the acquisition software TDC V4 User Manual 34 gt Accumulation With this method each Trigger induces a Forward Analysis Gate with finite Duration 180 ns minimum 7 8 ms maximum and TDC V4 accumulates the encodings relative to successive Events into the output buffer For each Event TDC V4 gathers encodings occurring during the Backward Analysis Gate if BACKWARD MODE is selected see chapter 3 d and during the Forward Analysis Gate TDC V4 frames Stop Channels encodings and Start C
11. treatment of hardware interruption INT Interruption line of PCI Bus For either these 2 access modes Polling or Interruption TDC V4 is compatible with 2 possible data collecting protocols e Standard Protocol the most often used with previous TDC versions e Simplified Protocol allowing rate increasing in Event By Event Acquisition Mode Standard Protocol Polling Interruption Read SEMAPHORE available buffer Read SIZE N SIZE Read SIZE N Size reset SEMAPHORE reset SEMAPHORE End interruption TDC V4 User Manual 31 Simplified Protocol By Polling access the Simplified Protocol suppresses the reading of SIZE register the protocol uses the SIZE field of SEMAPHORE register gt the Reset by writing into SEMAPHORE register By Interruption access this protocol suppresses gt the Reset by writing into SEMAPHORE register Polling Read available buffer N times Read DATA TDC V4 User Manual SEMAPHORE Interruption Read SIZE N SIZE N times Read DATA End interruption 32 9 Technical Characteristics with ISIBox rack time bin 120 ps resolution 0 60 ps double hit resolution max e isolated 2 5 ns e in burst max 5 ns e in burst mean 4 ns latency after Trigger e without backward mode 4 ns e with backward mode 0 ns INL 0 DNL 4 range
12. 00h 25 enabling by STOP GATE O OFF 1 ON TDC V4 User Manual 18 gt Stop Coding Channels Overflow TDC V4 empties the FIFO Channel memory of each Channel as soon as Forward Analysis begins If the rate of the experiment is larger than the rate of the data collecting system the FIFO Channel of a Channel may overflow In this case the FIFO Channel of this Channel becomes Full and the first Coding Word which will be delivered by the Channel is stamped in his Label Field by means of the bit OF see chapter 6 Data format gt Service Channel Range Extension REXT optional TDC V4 delivers Coding Words and Service Words 32 bits wide These Words are composed with 2 fields see chapter 6 Data format e DATA field 26 bits wide O de A e LABEL field 6 bits wide The DATA field extends the maximum range of the Coding Channels to 2 x 120 ps 7 8 ms Implementation of the unique Service Channel Range Extension permits to extend beyond 7 8 ms the time range of all the 32 bits wide Coding Channels The DATA extension beyond 26 bits has to be processed by the acquisition software The Service Channel Range Extension is not provided with a FIFO Channel memory gt Stop Coding Channels RESOLUTION DNL optimization TDC V4 provides a mechanism in order to optimize either the Resolution figure at the expense of the DNL characteristics or the DNL characteristics at the expense of the Resolution figure
13. RT Command reato ceto eer LY ever edu ica 24 5 Service signals polarity selection eesesesseessesesee esee eene enne nennen nennen nennen nnns 25 6 Data Format e ds 26 7 DataEhRcapsulatiOp titre tee rae OE OE RO T ORONO O O ORONT 28 8 Datacollecting through PCI Busca cita 30 9 Technical Characteristics siinsesse kenai e r pe Ea Soa TE EEEE Ea praa ERRET 33 TDC V4 User Manual 3 10 Data collectihng rates erre rere e e tois 34 10 a the 3 data collecting methods etr tet eet tht tees 34 10 b maximum rate without losses ooooncccnonccnonannnnoncnonnnononnnnnncnnonn cnn nennen nnne nennen enne 36 11 TDC V4 installation estet A tene t ERE I ee aeg e ARX Y Pe eee e ERES ek e eraut 39 11 3 required CornfiB tratiofi AA o detente REO t Eh c WIE 39 11 b ucl 39 12 DLE F nctlons e e ctt pee t er 40 12 45 A n EE DIE Fe ER E II E Te eeu 40 12 b FUNCIONS at drehte ae Rh eret oat ttt add iue 40 13 Program examnple u RIO nii 42 14 TDC VA registers summary rrrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnne 44 TDC V4 User Manual 4 1 Preliminary e TDC V4 board plugs into a free slot of a 32 or 64 bit PCI Bus e TDC V4 operation is guaranteed with an air temperature around the board less than 60 C If the operating environment does not allow this constraint to be followed it is possible to set a fan onto the dissipating
14. Reset TDC de asserted Caution Reset TDC must be a pulse de assertion must follow assertion 3 Configuration may be operated at any time UseData Ecriture function Syntax example static enabling of Stop1 and Stop3 Channels static disabling of the other Stop Channels keeps the other registers to their default values define STATIC STOP ENABLE 0x1200000 register val OxA binary 1010 Data Ecriture amp register val 1 STATIC STOP ENABLE 6 4 Run launching UseData Ecriture function Syntax example define RUN 0x1A00000 register val 1 Data Ecriture amp register val 1 RUN 6 TDC V4 User Manual 42 5 Data collecting standard protocol gt Use Read dsp bis function Syntax example int size data buffer 509 status 0 Acquisition loop during the wanted duration while status 0 Data available polling test gt status Read dsp bis data buffer amp size 6 Run ending gt UseData Ecriture function Syntax example register val 0 Data Ecriture amp register val 1 RUN 6 7 Data collecting ending In order to be sure that all the encodings remaining in the TDC V4 buffers after the Run ending are read data collecting should continue until the EOR Service word is detected 8 Driver closing gt Use FermetureDriver function Syntax example FermetureDriver A functional example of C
15. SLOW START input signals if the ISIBox Interface is used FAST START is a NIM signal and SLOW START is a TTL signal e HOST START command this Trigger Mode may be used for tests or in order to measure physical backward noise by random sampling e RUN command this Trigger Mode may be used to trigger the Continuing Analysis collecting Mode mentioned above without the necessity to generate a signal neither by hardware or by software Moreover Trigger can be validated or inhibited by the START ENABLE input signal Trigger sources are represented on the following figure START ENABLE TRIGGER ENABLE FAST START SLOW START HOST START TRIGGER RUN TRIGGER SOURCE Trigger Modes are controlled by the following registers name PCI data address TRIGGER SOURCE 240 0000h 27 2 source 0 O reserved O 1 FAST_START 1 O SLOW_START 1 1 RUN HOST_START TRIGGER_ENABLE 2200000h 2 2 enabling 0 1 START_ENABLE as Enable On O O START_ENABLE as Enable Off TDC V4 User Manual 12 3 d Analysis Durations gt FORWARD ANALYSIS Once the Event is triggered signals entering into Coding Channels are encoded during a duration beginning immediately after the trigger instant and lasting according to one among the 4 following Forward Modes e apreset time inside TDC V4 INTERNAL GATE e the EXTERNAL END input EXTERNAL GATE e the first of the two s
16. SLOW_START input 23 EXTERNAL_END input 22 STOP_GATE input 21 START_ENABLE input 12v 800mA FA ER 12v 800ma cnp PSA ano 15 14 11 10 STOP 0 input STOP 1 input STOP 2 input STOP 3 input STOP 4 input STOP 5 input STOP 6 input STOP 7 input STOP 9 input STOP 10 input STOP 11 input STOP 12 input STOP 13 input STOP 14 input STOP 15 input FAST START input o 5 29 La 28 3 N N N N N N N N STOP 8input N N N N N N N N N v U U UU U UU VU VU DU VD UV VU VU VU VU u H TTL E LVDS slow signals LVDS fast signals TDC V4 User Manual 3 Functions Modes 3 a Event definition An Event concerns all the information Coding Words and Service Words in relation to a single physical action Then an Event may present a small number of words for instance locating of a few particles after interaction a large number of words for instance time of flight mass spectrometry or a very large number of words for instance cold atoms experiments On a logical point of view an Event is specified by gt a Trigger signal TRIGGER gt an Analysis duration ANALYSIS gt an Acknowledgment signal ACKNOWLEDGE gt an Acquisition Mode Between TRIGGER and ACKNOWLEDGE signals TDC V4 is in the Busy state it cannot collect a new Event The Busy state 1 is displayed by a LED on the printed circuit and on the front panel of ISIBox Interface Event pr
17. TDC V4 Time to Digital Converter Tap TIE WEAAAQS BG CNRS TA User Manual v1 1 July 2013 LUMAT DTPI CNRS UPSud Revision History Formatting improvements Rephrasing to clarify explanations Correcting of TRIGGER GATE and EXTERNAL GATE inversion of FORWARD MODE configuration register TDC V4 User Manual 2 Revision HiStO Vii ia 2 Lo Prem ss 5 2 TDC V4 board architecture mm mrrrvrerservvvvnernrvernrernvvnennnnnnrrevevernsennennsnnnsvnrneennennnnnnnnanenreseneneennse 6 2 a location of the main electronic components rrrrarvrrnnvvrrnnvnrrnvrrranvrrnavnrrnnvrrrnnerrnvrrnnrnrrnnnnrnne 6 2 b logicalarchitectUre creer hee es e E e Ede e ro dailies ates 7 2 c Inputs Outputs SCSI 2 50p connector esses ener nnne nnns 8 LEE V rdenrEuIree E 9 3 a Event definition eren NO 9 3 b Acquisition Modest 10 E Tugger Modes tri A eei d retur rs dou dec etude tius 12 SO MEE AICRBI IE IMP 13 cE MEE SraueIIm EEEDEEDEU ETM 16 3 f Acknowledgment Modes rentre dd diosa 20 3 8 Modes of Function summary esses ener ennemi nen nennen sene nn nnns 21 LEMESInrthetpeR ms 22 4a JnitCommoahds iieri rs 22 4b RUN Command sissie einai ita 23 A c HOST ACK Corimarnd reete rito enden Doa erben teet ee oo mi rna O e are Fe dax edu 23 Ad HOST STA
18. buffer the data related to the successive Events Each Event is acknowledged automatically as soon as all the data relative to an Event are stored into FIFO ACQ output buffers Accumulation ACC_TDC_AUTO Acknowledgment Mode selection is controlled by the following register name PCI data address ACK MODE 260 0000h 26 22 mode 0 O ACC TDC AUTO 0 1 EBE TDC AUTO 1 0 EBE EXT END optional 1 1 EBE HOST ACK TDC V4 User Manual 20 3 g Modes of Function summary default values Trigger Modes e TRIGGER SOURCE FAST_START SLOW_START RUN HOST_START e TRIGGER ENABLE START_ENABLE as Enable FAST_START OFF Analysis Duration FORWARD ANALYSIS INTERNAL_GATE duration table EXTERNAL_GATE EXTERNAL_GATE WATCHDOG TRIGGER_GATE BACKWARD ANALYSIS duration table INTERNAL 180ns OFF Ons Coding Modes Start Coding Channel e NEXT START FAST START SLOW START FORWARD GATE e EVENT LABELLING START ENABLE as Label Additional Coding Channel optional e INPUT SLOW START EXTERNAL END Stop Coding Channels e STATIC STOP ENABLE e DYNAM STOP ENABLE Service Channel Range Extension optional Coding Channel Stop Overflow RESOLUTION DNL Optimization OFF OFF all enabled OFF RESOLUTION Acknowledgment Modes Data collecting EBE HOST ACK EBE EXT END optional EBE TDC AUTO ACC TDC AUTO 3 f ACC_TDC_AUTO
19. component time encoding chip with heat sink see figure chapter 2 a a 5 0V supply connector is available for this purpose Other solution is to restrict the number of time encoding channels to 10 TDC V4 10 option 1 Start Channel 8 Stop Channels 1 Additional Channel e Caution Assignment of SCSI 2 connector pins is characteristic of TDC V4 board the board must not be plugged into a SCSI bus Particularly SCSI 2 connector presents two pins delivering 12v 800mA CC power in order to supply ISIBox Interface see chapter 2 c and ISIBox User Manual e When inserting TDC V4 board into a PCI slot it is imperative that computer power is turned off e From data collecting point of view TDC V4 board is upwards compatible with the ISITime01 TDC family e The following graphical conventions are used in this document blue characters for Input Output signals for instance FAST START BUSY gt red characters for modes of function for instance STATIC STOP ENABLE EBE_HOST_ACK gt green characters for commands for instance RUN HOST START black characters for inner machine states for instance Busy e The quantified characteristics presented in this document are according to TDC V4 version operating 120 ps step e f ISIBox is used as TDC VA Interface mechanical and electrical standards of the Input Output signals are described in the ISIBox User Manual TDC V4 User Manual 5 2 a location of the main electronic
20. controlled by the following register name PCI data address POLARITY 280 0000h 2 24 2 2 2 2 polarity X X X X X O START_ ENABLE input active low X X X X X 1 START ENABLE input active high X X X X O x STOP_GATE input active low X X X X 1 x STOP GATE input active high X X X O x x EXTERNAL END input active low X X X 1x x EXTERNAL END input active high X x O x x x SLOW START input active low X X 1x x x SLOW START input active high X O x x x x BUSY output active low X 1x x x x BUSY output active high Ox x x x X ANALYSIS GATE output active low 1x x x x x ANALYSIS GATE output active high Note If ISIBox Interface is used the state of Busy LED in front panel depends on the selected polarity for BUSY signal Lemo00 in front panel e if BUSY signal is active high the LED is ON while TDC V4 is in Busy state e if BUSY signal is active low the LED is OFF while TDC V4 is in Busy state Note Polarity Selection registers access is write only Polarity Selection default values are in Active high state TDC V4 User Manual 25 TDC V4 delivers Coding Words and Service Words The 32 bits wide Word decomposes into 2 fields e 26 bits wide DATA field e 6 bits wide LABEL field The 6 bits wide LABEL field permits 64 various Labels thus to distinguish 64 data sources Among these 64 Labels 50 Labels are allotted and are
21. e data delivered by TDC V4 operates by means of the 3 following registers the PCI address values are different with TDC V4 version compatible with Narval acquisition software e SEMAPHORE register read and write name PCI data address SEMAPHORE 2AFCO4h 2 21 515 54 2 202 22 X X 0 0 0 1 O O available buffer no n n 0 0 0 1 1 O available buffer yes n n Size Reset of SEMAPHORE register is made by writing 4h e SIZE read only name PCI data address SIZE 2AFCO8h LN D E 0 0 n n n n Size e DATA read only name PCI data address DATA 2AFC18h TIO d d d d Data The 2 FIFO ACQ output buffers of TDC V4 operate as double buffering When a buffer is said available gt If Event By Event Acquisition Mode is selected EBE HOST ACK EBE EXT END or EBE TDC AUTO a buffer is available if the FIFO memory in progress is full 509 words e or EOE End of Event Service Word is stored e or EOR End of Run Service Word is stored gt If Accumulation Acquisition Mode is selected ACC TDC AUTO a buffer is available if the FIFO memory in progress is full 509 words e or EOR End of Run Service Word is stored TDC V4 User Manual 30 The acquisition software accesses to SEMAPHORE i e to the information buffer is available can be done by means of e interrogation of the content of SEMAPHORE register polling e
22. e without REXT 7 8 ms e with REXT optional boundless input buffer per channel 512 words output buffer 2 x 509 words time encoding channels e Start 1 e Stop 16 NIM ECL e Additional optional 1 SCSI input output level LVDS RUN TTL and displayed monitoring outputs BUSY TTL and displayed FORWARD_GATE TTL control inputs TRIGGER_ EN EVENT_LABEL STOP_GATE EXTERNAL_END TTL TTL TTL trigger sources FAST_START SLOW_START HOST NIM TTL analysis gate INTERNAL EXTERNAL BACKWARD boundless acquisition modes EVENT BY EVENT ACCUMULATION PCI handshake POLLING INTERRUPTION TDC V4 User Manual 33 Data collecting rate depends on many parameters power architecture and operating system of the acquisition computer data processing software Event rhythm periodic Poisson Event feature fixed size variable size Analysis Duration data losses etc Moreover data collecting rate depends strongly on selected Acquisition mode and Acknowledgment Mode see chapters 3 b and 3 f This chapter clarifies the 3 modes Continuing Analysis Accumulation Event By Event and presents the measured rate performances 10 a the 3 data collecting methods gt Continuing Analysis With this method all the enabled signals are encoded since TDC V4 is triggered only one Trigger signal is sufficient see chapter 3 c up to the Run reset Resulting data are
23. g mode see below the quantity of data making up an Event is unlimited the acquisition software is called each time a FIFO ACQ output buffer has data to output and is informed of the quantity of relevant data lt 509 words of 32 bits After the last word related to an Event that is to say the EOE Service Word is stored in one of the two FIFO ACQ output buffers TDC V4 proposes two main data collecting modes e Event by Event collecting Mode e Accumulation collecting Mode gt Event by Event collecting Mode The acquisition software is informed that a data table is ready for reading and is informed of the quantity of the available relevant data lt 509 words of 32 bits TDC V4 waits for Event Acknowledgment see chapter 3 f Acknowledgment Modes before accepting a new Trigger Due to the acquisition system latency this regulating mode is not very rate effective and is all the less effective because the size of the Event is small see chapter 10 data collecting mean rate Nevertheless this regulating mode must be used if TDC V4 is correlated with other encoding devices because all the other data sources making up an Event must be collected by the acquisition software before TDC V4 is allowed to encode a new Event TDC V4 User Manual 10 gt Accumulation collecting Mode TDC V4 self acknowledges the Event in progress and is ready to accept a new Trigger Then TDC V4 accumulates the data in succession into FIFO ACQ outp
24. hannel encodings if NEXT_START is selected see chapter 3 e with Start Coding Word at the beginning of the Event table and with EOE Service Word at the end of the Event table In Accumulation Mode the data processing software is simpler than in Continuing Analysis Mode but collecting rate is decreased Except the last buffer of the Run all buffers contain 509 Words 32 bits wide gt Event By Event With this method each Trigger induces a Forward Analysis Gate with finite Duration 180 ns minimum 7 8 ms maximum TDC V4 gathers encodings occurring during the Backward Analysis Gate if BACKWARD_MODE is selected see chapter 3 d and during the Forward Analysis Gate and waits for Acknowledgment before enabling a new Trigger Only in EBE_TDC_AUTO mode see chapter 3 f TDC V4 is self acknowledged TDC V4 frames Stop Channels encodings and Start Channel encodings if NEXT_START is selected see chapter 3 e with Start Coding Word at the beginning of the Event table and with EOE Service Word at the end of the Event table The size of the buffers read by the acquisition software is variable between 2 and 509 words 32 bits wide Event By Event Mode must be used if TDC V4 has to be correlated with other data sources This Mode is the least efficient from rate point of view especially since the mean number of Stops per Event is small TDC V4 User Manual 35 10 b maximum rate without losses The conditions of the measurement are as
25. ignals EXTERNAL END input or preset time inside TDC V4 EXTERNAL GATE WATCHDOG e the duration of TRIGGER signal itself The last Analysis Duration Mode is the easiest to adjust precisely the analysis duration for instance select FAST_START as trigger source and adjust the duration of the FAST_START input signal An infinite FORWARD Duration is configured by selecting EXTERNAL_GATE mode and suppressing any signal onto EXTERNAL_END input Moreover trigger an infinite duration may be got without input signal by selecting TRIGGER_SOURCE RUN HOST_START see chapter 3 c TDC V4 User Manual 13 The FORWARD_MODE and the FORWARD_DURATION if INTERNAL_GATE is selected are controlled by the following registers name PCI data address FORWARD MODE 1C0 0000h 2 2 source 0 O TRIGGER_GATE 0 1 INTERNAL_GATE 1 0 EXTERNAL_GATE 1 1 EXTERNAL_GATE WATCHDOG FORWARD DURATION 1C0 0000h 2595202 Oe duration 0 180 ns 1 260 ns 2 340 ns 3 500 ns 4 660 ns 5 980 ns 6 1 3 us 7 1 9 us 8 2 5 us 9 3 8 us 10 5 1 us 11 7 6 us 12 10 us 13 15 us 14 20 us 15 30 us 16 41 us 17 61 us 18 82 us 19 120 us 20 160 us 21 240 us 22 320 us 23 490 us 24 650 us 25 980 us 26 1 3 ms 27 1 9 ms 28 2 6 ms 29 3 9 ms 30 5 2 ms 31 7 8 ms TDC V4 User Manual 14 gt BACKWARD ANALYSIS TDC
26. iod 7 8 ms EOE End Of Event 1 word free EOE N End Of Event Event Number 2 words m 4 MSB s event number m 0 LSB s EOE T End Of Event Event Time 2 words m 1 MSB s time flag m 0 LSB s SOR Start Of Run run number EOR End Of Run run number EOS End Of Source source number TDC V4 User Manual 27 7 Data Encapsulation Data encapsulation is independent of any Function Mode Data relatives to an Event and delivered by Stop Channels Start Channel if NEXT_START mode is selected Additional Channel if the option is implemented and Range Extension Service Channel if the option is implemented are bulked into an unique table which may be shared between consecutive buffers according to the Event size and the Acquisition Mode and are enclosed with the two following words e atthe head of the table the Start Channel Word encoding the Trigger instant e atthe rear of the table EOE End Of Event Service Word The illustration below presents an example of Data Encapsulation TRIGGER NEXT_START T r signals entering in Start Channel OR ed signals entering in Stop Channels 4 igs 4 Vu 4 4 4 0 a 2 3 4 5 6 7 FORWARD GATE START WORD STOP WORD 1 STOP WORD 2 STOP WORD 3 STOP WORD 4 STOP WORD 5 START WORD STOP WORD 6 STOP WORD 7 EOE WORD if NEXT START mode is selected
27. it follows e central unit multi cores PC e operating system Windows XP e data processing none e Event rhythm periodic e Event size fixed 1 Start n Stops e losses ratio 0 Continuing Analysis data collecting maximum rate without losses 10 sec 16 15 15 1 14 13 12 11 Stops seconde 10 Events seconde 0 9 0 5 n Stops Event without losses rate periodic frequency according to Event size Mode Continuing Analysis TDC V4 User Manual 36 gt 13 12 11 10 ACCUMULATION data collecting maximum rate without losses 10 sec Stops seconde Events seconde n Stops Event 1 2 3 4 8 16 32 without losses rate periodic frequency according to Event size Acknowledgment Mode ACC TDC AUTO INTERNAL_GATE 180 ns mean number of without losses rate without losses rate Stops zs Event MegaEvents sec MegaStops sec as 93 apor o TDC V4 User Manual 37 gt Event By Event data collecting maximum rate without losses 10 sec 2 000 1000 500 Stops seconde 250 125 N Events seconde 30 15 n Stops Event without losses rate periodic frequency according to Event size Acknowledgment Mode EBE HOST ACK or EBE TDC AUTO INTERNAL GATE 180 ns mean number of without losses rate without losses rate Stops per Event KiloEvents sec KiloStops sec TDC V4 User Manual 38 11 TDC V4 installation C
28. nnel Start may without chance of making a mistake during Event Building encode signals occurring after the trigger time We call these Next Starts signals In NEXT START mode TDC V4 permits to select as Next Start one of the 3 following signals see diagram on next page e FAST START e SLOW START e FORWARD GATE In this way if Interface ISIBox is used TDC V4 can operate the 4 following set up Trigger next signals note signal FAST START FAST START Event pile up detection NIM NIM FAST START SLOW START Extra Stop encoding channel TTL input NIM TTL SLOW START FAST START Extra Stop encoding channel NIM input TTL NIM SLOW START SLOW START Event pile up detection TTL TTL FORWARD GATE source selection of the Next Starts permits to control the actual value of the Analysis Duration particularly if this duration is variable EXTERNAL GATE mode NEXT START mode is controlled by the following register name PCI data address NEXT START 2200000h 27 2 Next Start source Oo 0 OFF O 1 FAST START 1 O SLOW START 1 1 FORWARD GATE TDC V4 User Manual 16 Operating in NEXT START mode NEXT_START FORWARD_GATE FAST_START 0 Start Coding Channel in SLOW_START 0 HOST_START RUN TRIGGER_SOURCE gt Start Coding Channel EVENT_LABELLING The state of the START_ENABLE input signal at the Trigger instant can be stored and
29. ocessing is represented by the following chronogram TRIGGER ANALYSIS ACKNOWLEDGE FAST START gt INTERNAL GATE gt HOST ACK SLOW START gt EXTERNAL END EXTERNAL END HOST START TRIGGER AUTO gt RUN RUN A A wass 00 3 4 UUO ps rH E E j TDC V4 User Manual 9 3 b Acquisition Modes Each Coding Channel has a single buffer with 512 words depth FIFO Channel memory and all FIFOs are empty at the trigger time of a new Event So except for Events presenting very large Stop rate a Channel may not sustain losses due to the Stop rate on another channel Output data from FIFO Channels of the Start and Stop Coding Channels are multiplexed and stored into one of the two FIFO ACQ output buffers which operate in toggle buffering mode as signals are encoded as soon as Analysis Duration begins see chapter 2 b logical architecture The multiplexing mechanism gives an equal access probability for all the Channels only the first encoding on the Start Coding Channel has priority This mechanism ensures that a Channel with a large Stop rate does not result in losses on a Channel with a low Stop rate In the FIFO ACQ output buffers chronological order is for the encoding words coming from a same Channel it may be not maintained among the encoding words coming from separate Channels Whichever the selected data collectin
30. opped all the data present in TDC V4 closes the last data table with EOR Service Word see chapter 6 Data Format The Command is controlled by the following register name PCI data address RUN 1A0 0000h 2 command 0 OFF 1 ON RUN ON state is displayed by means of a LED on the TDC V4 printed circuit board as well as on the ISIBox Interface front panel 4 c HOST ACK Command HOST ACK Command is used by EBE HOST ACK Acknowledgment Mode see chapter 3 f Acknowledgment Modes in order to regulate the Event By Event throughput The Command is controlled by the following register name PCI data address HOST ACK 2C0 0000h 2 command 0 OFF 1 ON HOST ACK ON Command must be followed by HOST_ACK OFF Command TDC V4 User Manual 23 4 d HOST START Command HOST_START command is used by TRIGGER_SOURCE RUN HOST_START Trigger Mode see chapter 3 c Trigger modes The Command is controlled by the following register name PCI data address HOST START 2E0 0000h 2 command 0 OFF 1 ON HOST_START ON Command must be followed by HOST_START OFF Command Note Command registers access is write only TDC V4 User Manual 24 Selection of the polarity of each of the START_ENABLE STOP_GATE EXTERNAL_END and SLOW_START input signals as well as of each of the ANALYSIS_GATE and BUSY output signals is
31. played icon next to T001 informs that TDC V4 board is not properly installed TDC V4 User Manual 39 12 DLL Functions 8 This chapter helps to use DLL Functions supplied with TDC V4 board for C C software This DLL was developed by ISITech company and TDC V4 is compatible with it An optimized DLL will be developed later 12 a required files For C C software the following files enclosed in the DLL folder of the TDC V4 Package must be included into the program e isitime dll dll DLL file e import dll h header file e isitime dll lib resource file 12 b functions Driver opening Void OuvertureDriver char flag unsigned long vID unsigned long dID int mc To be used during each program launching This function needs the following parameters e flag returns the value 20 if the function is successful e vID Ox10B5 e dID 0x5406 e mc 1 Driver closing Void FermetureDriver To be used during each program exit Writing into a register Bool Data Ecriture int buffer int taille unsigned long adresse int mode To be used to write into the Mode and Command registers e buffer data word 32 bits wide e size 1 e address report to summary chapter 14 e mode 6 TDC V4 User Manual 40 gt Reading from a register Bool Data_Lecture int buffer int taille unsigned long adresse int mode To be used to read one among the 3 registers DATA SEMAPHORE and SIZE e buffer
32. program is available in the Example program folder of the TDC V4 package TDC V4 User Manual 43 name address page CONFIGURATION REGISTERS TRIGGER_SOURCE 240 0000h 12 TRIGGER_ENABLE 220 0000h 12 FORWARD_MODE 1C0 0000h 14 FORWARD_DURATION 1C0 0000h 14 BACKWARD_MODE 180 0000h 15 BACKWARD_DURATION 180 0000h 15 NEXT_START 220 0000h 16 EVENT_LABELLING 220 0000h 17 EXTRA_CHANNEL NA 18 STATIC_STOP_ENABLE 120 0000h 18 DYNAM_STOP_ENABLE 220 0000h 18 OPTIMIZATION 220 0000h 19 ACK_MODE 260 0000h 20 INIT_CONF 140 0000h 22 INIT_TDC 160 0000h 22 RUN 1A0 0000h 23 HOST_ACK 2C0 0000h 23 HOST_START 2E0 0000h 24 POLARITY 280 0000h 25 COMMAND REGISTERS SEMAPHORE 2AFCO4h 30 SIZE 2AFCO8h 30 DATA 2AFC18h 30 TDC V4 User Manual 44
33. ut buffers the data related to the successive Events This regulating mode is more effective from mean rate point of view and is all the more effective because the size of the Event is small see chapter 10 data collecting mean rate It is suitable for setups which have the TDC V4 as the only data source Particular Accumulation collecting Mode Continuing Analysis In this configuration TDC V4 no longer filters signals by means of Trigger Analysis Duration and Acknowledgment all the signals occurring at the input of the validated Start and Stop Channels are encoded from a single Trigger instant and during the entire time the TDC V4 remains in state Run ON For instance if Trigger is selected with TRIGGER_SOURCE RUN HOST_START see chapter 3 c Trigger Modes the whole Run is logically considered as an unique Event with an infinite Analysis Duration all the signals are encoded during duration of the Run and all the encoding results are stored in succession in the FIFO ACQ output buffers This collecting Mode is the more effective from rate point of view see chapter 10 data collecting rate because filtering of the data and Event building are assigned to the acquisition software This collecting Mode is chosen by selecting FORWARD_MODE EXTERNAL_GATE with no signal present in the EXTERNAL_END input TDC V4 User Manual 11 3 c Trigger Modes An Event can be triggered from 4 sources e either of the FAST START or

Download Pdf Manuals

image

Related Search

Related Contents

ABUS FU8320W security or access control system  CHERRY KC 5000  Canon C3100 Series User's Manual  Toastmaster 7093X User's Manual  EPSON PX-B500 取扱説明書 ネットワーク編  浜松合同株式会社 代表取締役 村上 孝之氏  Télécharger (427 ko)  Manual - Contrisul  事例番号260135  Model 400 - Ronnoco Sales Ltd.  

Copyright © All rights reserved.
Failed to retrieve file