Home

Matrix System User Manual

image

Contents

1. Table 1 Details of the possible readout module options Matrix System sensl sense light USER MANUAL gt System Overview gt System Components 2 The Front end Electronics Board serves to bias the 144 SiPMs and amplify their signals Candidate signals are flagged through a programmable threshold discriminator and are digitized time stamped buffered and subsequently read out to the Matrix EVB Board through a high speed serial interface The combination of Sensor Head and the Front end Electronics Board form the sensor Readout Module 3 The Matrix EVB Communications Board Matrix EVB 16 provides all of the necessary control for up to 16 Matrix sensor Readout Modules It provides a common clock retrieves and buffers event data and interfaces with the host computer through a high speed USB connection MatrixSM 9 __ Readout Module Front End w MatrixSM 9X1 Matrix EVB or MatrixB 9X1 Board Sensor Head Figure 1 The Matrix System components A working system will consist of a Matrix EVB board and up to 16 sensor Readout Modules USB connector to PC Power inputs 5V and Bias IDC connector to Readout module or front end electronics board Figure 2 Matrix EVB communications board showing the 3 primary connections Apply BIAS for the MatrixSM sensor heads and BIAS for the MatrixB sensor heads Matrix System SENSL sense light USER MANUAL g
2. 12 bit energy value of pixel After the 2 start bits the event is represented by 11 x 16 bit data words MSB transmitted first WNo D15 D14 D13 D12 D11 D10 D9 D8 D7 De DS D4 D3 D2 D1 Do wa X 1 ol oo MI MM MA A A AI PP PYP T 16 bit TDC value with 500ps LSB X This bit is set if the data is invalid If this bit is 1 the data must be ignored M Operating Mode A Array number 0 8 P Pixel number 0 15 EO 12 bit energy value of EVENT Pixel E1 E8 12 bit energies from surrounding pixels H If the energy isn t an array due to boundary pixel these bits will be set HI and the energy will always be O If the energy is real then these bits will always be 0 The relationship between energy number and surrounding pixels is as follows Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Readout Electronics MODE 2 After the 2 start bits the event is represented by 18 x 16 bit data words MSB transmitted first 16 bit TDC value with 500ps LSB This bit is set if the data is invalid If this bit is 1 the data must be ignored Operating Mode Array number 0 8 Pixel number 0 15 T X M A P E0 E15 12 bit energies of all ADCs The energy values EO E15 correspond to the pixel position numbering as given in Figures 3 and 4 on pages 9 and 10 MODE 8 This MODE is reserved for readin
3. MHandle Session handle Channel Module cannel 0 15 State O MatrixSM 9 1 MatrixSM 9X1 1 MatrixB 9X1 Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE SetSampleCount LEE API Error WINAPI LEE_SetSampleCount LEE HANDLE MHandle Uword Channel Uword Count This function sets the sampling time between when an event occurs and when the ADC takes the energy sample value MHandle Session handle Channel Module cannel 0 15 Count Count time Note The Count is a value in the range 0 255 defining the time from OuS to 2 55uS LSB 10ns Driver LEE SetEnergyLimit LEE API Error WINAPI LEE_SetEnergyLimit LEE HANDLE MHandle Uword Channel Uword Energy This function sets the minimum allowable energy value for an event MHandle Session handle Channel Module cannel 0 15 Count Count time This value defines the minimum energy allowable for an event to be regarded as true This value is input as an ADC bin number When an event is detected the ADC value for the pixel is compared with this value If it is less than the Energy Limit value the event will be discarded This is used to filter out undesirable noise related events and hence improve the overall event bandwidth Driver LEE SetUsbConReg LEE API Error WINAPI LEE_SetUsbConReg LEE_HANDLE MHandle Uword Value This function sets the USB control register to a
4. Table 3 below gives some suggested values for the two sensor head types for use with LSO LYSO and BGO respectively Array Threshold Array Offset 1 65V 1 65V Pixel Threshold 0 15V Table 3 Suggested values for the various system parameters to be stored in the ROM The values given in Table 3 should give reasonable results when the module is used with 511keV gamma rays and LSO LYSO MatrixSM 9 X1 or BGO MatrixB 9X1 However since all set ups vary slightly the user should optimize the values as they apply to their own situation Matrix System sensl sense light USER MANUAL gt Matrix Gui Software User Guide gt Array And PixelPositions gt Matrix Channel Configuration Array Threshold and Offset The discriminator threshold for the 9 ARRAY signal channels can be programmed using a 12 bit DAC The 12 bit DAC range allows values from O to 4095 corresponding to a voltage range of O to 3 3V A second DAC is used to define a DC offset in order to raise the signal above any potential system noise It is the difference between these 2 DAC values that defines the effective threshold level for the ARRAY channels The readout electronics run from a single supply The offset is usually set to 1 65V 3 3V 2 to operate the amplifier and comparator input at around the half rail voltage The Matrix GUI simplifies the setup by allowing the user to define an offset and a threshold relative to this offset in Volts The software then automatical
5. 0x40 Note Subtract the same channel from the other regardless of the order in the TIM file e Always preserve the sign A ADC Bin Energy Figure 18 sensl Matrix System sense light USER MANUAL From this set of points calculate the best fit Figure 18 shows a scatter graph of a typical set of data It can be seen from the scatter graph that there is a relationship between the Time and Energy The processing now determines the best fit slope of the data To avoid extreme dT points influencing the result these points should be removed before the slope is calculated 2 Adjust the Timing Once the slope is determined the delta time between pairs is adjusted as follows dT adjusted dT Slope x dE 3 Calculate the Timing Resolution Once the new dT values are determined the values are binned each bin 500ps to provide histogram data From this histogram a region of interest is determined for calculating the best Gaussian fit The Timing Resolution is the FWHM value of this Gaussian fit www sensl com sales sensl com 853 21 240 7110 International 1 650 641 3278 North America sense light All specifications are subject to change without notice
6. 48 0 x 46 5 x 134 3 mms Weight Readout Module 375g Power Main Power 4V 5 5V 1A Matrix EVB Board 0 5A per Readout Module Bias MatrixSM 9 MatrixSM 9X1 id 5mA per Readout Modul MatrixB 9X1 35V to 40V re Table 2 Bias polarities used for different sensor heads Temperature Operating 20 C to 30 C Storage 20 C to 70 C System Requirements The computer used for the Matrix software requires the following minimum configuration e Windows XP Windows 7 32 bit or Windows 7 64 bit e 1 GByte of RAM e At least one spare High Speed USB 2 0 port e Internet connection only for downloading the GUI software for first install see page 8 Matrix System SENSL sense light USER MANUAL gt Matrix Gui Software User Guide gt System Installation Procedures gt System Requirements SYSTEM INSTALLATION PROCEDURES Before connecting the system to the PC for the first time it is very important that the software is installed using the following steps 1 Download the Release Note PDF and the Matrix9 Software EXE from http sensl com matrix9software 2 Run the executable Matrix9_Install_XpY exe where X Y is the latest software revision number by double clicking on the file This will start a process that includes the installation of the Matrix9 GUI and drivers as well as the DPlot graphics package and QuickUSB drivers A number of screens will appear as the installation progresses Follow the instructions as necess
7. Array number 0 8 Pixel number 0 15 Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Readout Fifo Data Format EO 12 bit energy value of EVENT Pixel E1 E8 12 bit energies from surrounding pixels H If the energy is not on array due to boundary pixel these bits will be set HI and the energy will always be O If the energy is real then these bits will always be O The relationship between energy number and surrounding pixels is as follows MODE 2 Each event will be represented by 19 x 16 bit data words These words will be saved in the FIFO WNo D15 D14 D13 D12 D11 D10 D9 D8 D7 De DS D4 DS D2 D1 DO wo 1 1 1 1 9 oo oo oo o o c cl ecl e wa X 1 Jool MI MI MI MA AT AI AT P P P P wa o o o o Eo EO Eo Eo 0 EO Eo Eo Eo Eo Eo EO wa o of of of et E1 E1 E1 E1 E1 E1 E1 E1 E1 E1 E1 ee eee eee eee wis o o o o Jets Eis E15 E15 eis E15 E15 E15 E15 E15 E15 E15 The first word will always have bits 15 to 12 set to 1 Readout channel number 0 15 16 bit TDC value with 500ps LSB This bit is set if the data is invalid If this bit is 1 the data must be ignored Operating Mode Array number 0 8 Pixel number 0 15 EO E15 12 bit energies of all ADCs The energy values EO E15 correspond to the pixel position nu
8. Normally this function should be called once with Clear set TRUE when the system readout is started Further calls to this function should have Clear set to O to allow further data to be read from the FIFO as it arrives Driver LEE ReadoutReset LEE API Error WINAPI LEE_ReadoutReset LEE HANDLE MHandle Uword State This function sets the Matrix EVB Board Readout Processor to the value defined by State MHandle Session handle State Set TRUE to reset the Readout Processor Set FALSE to run the Processor Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE ChannelReadoutReset LEE API Error WINAPI LEE_ChannelReadoutReset LEE HANDLE MHandle Uword Channel Uword State This function sets the specified Readout Module Readout Processor to the value defined by State MHandle Session handle Channel Readout Module channel number State Set TRUE to reset the Readout Processor Set FALSE to run the Processor Note Channel must be set to 0 15 for a specific channel number or set to BROADCAST_CHANNEL to simultaneously set all channels to the same value Driver LEE GetREADOUTinfo LEE API Error WINAPI LEE_GetREADOUTinfo LEE_HANDLE MHandle Uword Mode Uword buff This function reads the 64 bit serial ID number of the Matrix EVB Board MHandle Session handle Mode Mode to put readout module back to once func
9. eis AE co ese nes de ER ed ED ee Oe ee Ee ede ee De are Ee ds 9 Array and PIXel ses led N OE N N N N N N Enana kaiaa iaaea aniisi Eanan 9 General Control and Statys ee RR ER OR n ee ie ed es ER NR N ee de N N ee 11 Matrix Channel CORTQUIATON SE N EE ER EER EE EE N DERE RE GN Ke GENE EES EER SE WERE aa a Aaaa aaa RE eN EE RD e EG Ee EE Ee 12 EVB Readout DOM ede Se N Ge GV ui de oe eN wa wee En OU EN n de ko ed Ee 15 fie d dle RA EE OE RE OR RE A OE EE 17 Ai ao ae Ed oe EE N EN EE A EN EE EE EE EEN 17 EL MERE EE RE ER EE ER EE 18 PIQUE TANG RR EE ME LE N AE OE 19 Matrix System SENSL sense light USER MANUAL gt Contents gt Overview SIMOOU MAG E A E AE E E A A E E 19 ENGO hesoluiuon CAIGUIATION se EE EE Eg De EE RE RE eN Be aea OGE ER SEE RR Ee ee Ee Ee See Ee Ge ee 19 lae EE RE EE EE EE EN RE EE EE 20 TIMING Energy ale eo EE annaa aaa aae aaa aaa E Aaaama Eaa E Eaa 20 Matrix Detailed System DasenpUOR sesse sk ek EN E W ba Ke ke n Ke EK KANKERS Ke ew RR EER N N eg Re Kei 21 Matix Readout Module os ese ei eN Ge BG DR n OR De N N De EN ed en GE ia 21 Eie ode EE RE OE N Oe N ee REENE 21 Readout ESC OCS oen ee DE ee ek vi ee n ae ep ee dk ek dd ie GE NE iN N SE 23 Matri E ede ss EA AA OE OR EO OR N N EE OE DER 29 bed Etes al od EE RR ER AA E T 30 alEeR ao RE RE EI EE RE aaraa 33 Readout FIFO Data FORMAL sesde Ke eo Ro Ke N N N WE Ke n Ea oe Lae bo AE AN wa ie 33 Matrix software Driver EER KERE ENS RNE as aeaa aaa Aaaa ss KEN Re ik Ge Ee
10. AAR AARAR olsjelalofslefololeiefl ole el ole jel ole jel ol ede of slee of sl ef re Figure 4 showing the array and pixel locations for the MatrixSM 9X1 and MatrixB 9X1 Main Page When the Matrix GUI is launched the MAIN Dialog Page is displayed as shown in Figure 5 The software allows the use of different sensor heads Each of the 16 channels has a Linear Array checkbox that allows the user to inform the readout module electronics if the MatrixSM 9X1 or MatrixB 9X1 type of sensor head 4 x 36 pixel configuration is used If the MatrixSM 9 is used the check box should be left blank The readout module requires this information to determine the neighboring pixels for region of interest readout This checkbox also determines how the GUI displays the pixel format When a given channel has been set to Linear Array via the checkbox press Save to save this configuration for that channel To view the pixel map for his channel use the View thumbwheel in the bottom right portion of the MAIN GUI window It will appear as in Figure 6 The bias polarity can also be selected depending on which sensor head is used See the next page for details Sensl Technologies Matrix9 Readout Software Meka sensl mam Es USB MATRIX sense light About Bias ve ake Q EVB D No r MATRIX Channel Configuration Configure i Format Single Energy __Saveinrom __Copy __Paste_ M waTRocTest LED Channel 2 a ARRAY T
11. REEN ee si KANNE Se EKEN GEE ES EE ene ENS Ee 40 DUIL Driver FUNCIONS OR OE Ee le EE 40 COONS EE ER EE N ER oo 40 Drvar DOSCHOUONS AE EE OE EE OE EE RE EE 41 Ene ORR ER OE OE EE RE OO OR ER N EE OE 52 leef oe EER AE EE N EE EE EE EE EE EE EE EE EE EE 55 Dimi Dette alie eene RE A N EE N T T 55 S rt se ie da OE N N Ee EE EE sS 55 EE VAS oi CTION AE N OE EE N N N EO N OR EO EE N 55 Matrix System SENSL sense light USER MANUAL gt System Overview gt System Components System Overview SensL s Matrix system is the first modular turnkey readout system specifically designed for nuclear medicine imaging applications Building on SensL s silicon photomultiplier SIPM technology the MatrixSM 9 MatrixSM 9X1 and MatrixB 9X1 sensor heads provide a fully solid state four side scalable sensor for the readout of LYSO or BGO scintillator arrays The Matrix system integrates the sensor head with all of the electronics required to localize time stamp and discriminate scintillation events Digitized event data comprising time location and energy are sent to the host system via high speed USB interface By connecting multiple sensor readout modules to a host communications board the Matrix EVB the Matrix system can perform temporal coincidence analysis thereby reducing data rates to the host PC The Matrix sensor heads require low power and operating voltage are compact highly robust and offer excellent spatial segmentation and uniformity
12. The FPGA under command from the USB configures the modules using a serial data line The format of this serial data is RS232 with the following settings Signal Level LVTTL Baud Rate 115200 Start Bits Stop Bits Data Bits EG aI Parity Bits ER Configuration commands are passed to the SET SERPT register in the FPGA as a series of ASCII characters The characters are encoded into RS232 format serial data which is then passed on to the relevant module Set ARRAY Format AX The message identifier is the character A This shall be followed by a single character defining the ARRAY type MatrixSM 9 or MatrixSM 9X1 This single character X shall be of value O 1 defining the ARRAY type O MatrixSM 9 1 MatrixSM 9X1 1 MatrixB 9X1 Example Al Define READOUT module as MatrixSM 9X1 Write to DAC Format DXVVV The message identifier is the character D This shall be followed by a single character X of value 0 5 defining the DAC number to write to Three more characters VVV shall define a 3 digit HEX number to be written to the DAC Example D3CEF Write OXCEF to DAC 3 DACO ARRAY Threshold DAC1 ARRAY Offset DAC2 PIXEL Threshold DAC3 PIXEL Offset DAC4 BIAS Offset DAC5 ADC Offset Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Readout Fifo Data Format Set MODE Format MX The message identifier is the character M This shall be followed by a
13. WINAPI LEE SetLED LEE HANDLE MHandle Uword State This function sets the state of the Matrix EVB Board test LED MHandle Session handle State Set TRUE for ON Set FALSE for OFF Driver LEE Set ReadoutLED LEE API Error WINAPI LEE_SetReadoutLED LEE HANDLE MHandle Uword Channel Uword State This function sets the state of the selected Readout Module test LED MHandle Session handle Channel Channel number State Set TRUE for ON Set FALSE for OFF Driver LEE ClearUsbAddress LEE API Error WINAPI LEE_ClearUsbAddress LEE HANDLE MHandle This function sets the USB FIFO address pointer to O MHandle Session handle Matrix System sensl sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE ResetSerialPort LEE API Error WINAPI LEE_ResetSerialPort LEE HANDLE MHandle Uword Channel This function resets the serial port of the specified channel MHandle Session handle Channel Channel number Note The configuration of the modules is carried out via a single serial port line Messaging to this port can be aborted at any time by issuing a reset command Channel must be set to 0 15 for a specific channel number or set to BROADCAST_CHANNEL to simultaneously reset all ports Driver LEE StartReadout LEE_API Error WINAPI LEE StartMatrix LEE HANDLE MHandle This function starts the Readout process running MHandle Session handle Drive
14. handle Value Pointer to location for storing value Driver LEE ReadFpgaRev LEE API Error WINAPI LEE_ReadFpgaRev LEE_HANDLE MHandle Uword Value This function reads the value of the Matrix EVB Board FPGA revision MHandle Session handle Value Pointer to location for storing value This will be a 4 digit BCD value defining the revision of the FRGA code Example 0x0112 Rev 1 12 Driver LEE ReadCounterReg LEE API Error WINAPI LEE ReadCounterReg LEE HANDLE MHandle Uword Value This function reads the value of the FIFO counter register MHandle Session handle Value Pointer to location for storing value Note The Counter Register is a page count defining the current position of the data pointer in the FIFO The page size is 16 words Therefore a value of 0x8100 corresponds to an address of 0x81000 in the FIFO memory Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE ReadSeriallD LEE API Error WINAPI LEE ReadSeriallD LEE HANDLE MHandle Uword Value This function reads the 64 bit serial ID number of the Matrix EVB Board MHandle Session handle Value Pointer to a 4 x 16 bit array for storing the value Note The value of the 64 bit ID will be stored in Value The MSB of Valuel0 will be the MSB of the 64 bit ID and the LSB of Value 3 will be the LSB of the 64 bit ID Driver LEE SetLED LEE API Error
15. is shown in Figure 14 Start Bits 20ns l n 1 n TDC MSB Figure 14 Readout Data Stream The idle state of the LVDS data line is logic 0 The start of a new data stream is defined by the data line going HI for 2 bit durations 40ns The following bits define the contents of the data The first 16 bits of the data is always the TDC value for the event This is followed by a 16 bit event ID word that defines which pixel fired The remaining bits describe the energy information The energy information and hence packet length will vary depending on the mode of operation as described below The various operation modes are referenced as follows more detail on the modes can be found on page 15 Mode 0 Single Energy Mode 1 Region of Interest Mode 2 All Energies Mode 8 status reporting Matrix System sensl sense light USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Readout Electronics MODE 0 After the 2 start bits the event is represented by 3 x 16 bit data words MSB transmitted first WNo D15 D14 D13 D12 D11 D10 D9 D8 D7 De DS D4 D3 D2 D1 DO pwe xi 1 oo ol MI MI MM AT AI AJAI PP Pp wa 0 o o ol elEl El EI E EIE EI EIEIEI E T X M A P E MODE 1 16 bit TDC value with 500ps LSB This bit is set if the data is invalid If this bit is 1 the data must be ignored Operating Mode Array number 0 8 Pixel number 0 15
16. of response They address the need for high resolution imagers such as those required for small animal pre clinical and mammography PET The Matrix system s high degree of modularity makes it a compelling and cost effective substitute for the current PMT based systems in full body PET A crosswire readout architecture is used to simplify the readout electronics and to enable 144 sensor channels to be serviced by just 25 readout channels The design requires the availability of a fast trigger signal allowing for precise time stamping for coincidence based systems The MatrixSM heads are designed to work with LYSO while the MatrixB is designed to work with BGO SYSTEM COMPONENTS The Matrix system architecture is modular and is based on three principal sub systems 1 Sensor Head a 12 x 12 pixel MatrixSM 9 or 4 x 36 pixel MatrixSM 9X1 or MatrixB 9X1 SIPM array integrated on a four side scalable daughter board The sensor head is fitted with mechanical mounting points and connects via an 80 way flexible printed circuit cable to the front end electronics board The two types of sensor head are summarized in Table 1 below The MatrixSM sensor heads are optimized for use with LSO LYSO scintillators and the MatrixB for use with BGO scintillator The MatrixB uses the reverse polarity bias has a higher amplifier gain and a slower shaping time with respect to the MatrixSM systems
17. process the data to make a better measurement of the CRT This binary file will have the same name as appears in the FIFO Data File Name text box on the main GUI page with the suffix TIM The format of the resulting binary TIM file is the same as described on page 34 Mode 0 Each event is stored as 4 x 16 bit words A technique for post processing this data to get the best timing results is described in the Appendix General Controls Plot Pressing this button will start the software acquiring data and saving the binned energy values to the PC Refresh Pressing this button will at any time clear all the bins Halt Pressing this button will halt the acquisition uit Click this button to close down the Energy Plot window Plot Select Pixel 1 2 The GUI allows the energy spectra of up to 2 pixels to be plotted simultaneously The Channel Array and Pixel dropdown boxes allow the user to specify 2 particular pixels in the system Plot Type The Plot type can be selected as Pixel 1 Plot of pixel energy spectrum defined by Pixel 1 buttons Pixel 2 Plot of pixel energy spectrum defined by Pixel 2 buttons Both Plot of both pixel energy spectra simultaneously Fit Plot best fit for Pixel 1 See Energy Resolution Calculation page 19 Timing Plot the coincidence timing data for Pixel 1 and 2 as a histogram Matrix System SENSL sense light USER MANUAL gt Matrix Gui Software User Guide gt Timing Plot gt Plot
18. single character X of value 0 9 defining the mode to put the READOUT module in Example M2 Put READOUT module in MODE 2 Set READOUT Format RX The message identifier is the character R This shall be followed by a single character X of value 0 1 The character 1 will place the READOUT module into RESET The character O will enable the module allowing it to search for events Example R1 Put READOUT module into RESET state Set TEST LED Format TX The message identifier is the character T This shall be followed by a single character X of value O 1 putting the READOUT module TEST LED ON or OFF Example T1 Put READOUT TEST LED on Set SAMPLE TIME Format SXX The message identifier is the character S This shall be followed by 2 HEX characters XX This value shall be the delay time to sample the ADC energy after the event occurs This value has an LSB of 10ns Example S21 Delay is 21 Hex 33 Decimal Delay time 33 x10ns 330ns Set ENERGY LIMIT Format LXXX The message identifier is the character L This shall be followed by 3 HEX characters XXX On detecting a PIXEL EVENT the FPGA will compare the energy value with this LIMIT value IF the value is less then the EVENT will be ignored This value is a HEX number defining an ADC BIN value This feature is used to filter EVENTS due to noise and hence improve the bandwidth of the system Example LO2F Ignore all events with an ADC value of less than
19. specific value MHandle Session handle Value Value to set register to Matrix System sensl sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE GetUsbConReg LEE API Error WINAPI LEE_GetUsbConReg LEE_HANDLE MHandle Uword Value This function reads back the current value of the USB control register MHandle Session handle Value Pointer to location for storing the current value Driver LEE SetConfigReg LEE API Error WINAPI LEE_SetConfigReg LEE_HANDLE MHandle Uword Value This function sets the USB Configuration register to a specific value MHandle Session handle Value Value to set register to Driver LEE SetCountHiReg LEE_API Error WINAPI LEE SetCountHiReg LEE HANDLE MHandle Uword Value This function sets the USB Counter HI register to a specific value MHandle Session handle Value Value to set register to Driver LEE SetCountLoReg LEE API Error WINAPI LEE_SetCountLoReg LEE_HANDLE MHandle Uword Value This function sets the USB Counter LO register to a specific value MHandle Session handle Value Value to set register to Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE ReadUsbStatus LEE API Error WINAPI LEE ReadUsbStatus LEE HANDLE MHandle Uword Value This function reads the value of the USB status register MHandle Session
20. HANDLE MHandle Uword data Ulong wCnt This function streams a data block from the system to the host PC MHandle Session handle data Pointer to array where data is to be stored wCnt Number of words to transfer Driver LEE DLL Version LEE API Uword WINAPI LEE_DLL_Version void The returned value will be a 4 digit BCD value defining the version of the DLL Example 0x0112 Version 1 12 Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE TDCreset LEE API Error WINAPI LEE TDCreset LEE HANDLE MHandle Uword State This function sets the TDC reset signal on the Matrix EVB Board to the value defined by State MHandle Session handle State Set TRUE to reset the TDCs Set FALSE to run the TDCs Note The TDC reset line is a global signal to all Readout Module TDCs in the system Driver LEE SetMode LEE API Error WINAPI LEE_SetMode LEE HANDLE MHandle Uword Mode This function sets the mode for the readout MHandle Session handle Mode Mode to set SNGLE MODE Single S READOUT INFO MODE 8 GetReedouinto Note This is a global definition The individual Readout modules must not be programmed to operate in different modes Driver LEE SetReadoutLINS Uword WINAPI LEE SetReadoutLIN9 LEE HANDLE MHandle Uword Channel Uword State This function sets the selected module in MatrixSM 9 or MatrixSM 9X1 mode
21. INAPI LEE_Find void This function returns the number of Matrix modules present on the USB bus Example include LeeMatrixAPI h Ulong ModuleCount ModuleCount LEE_Find If ModuleCount printf No Module Found Driver LEE Open LEE API Error WINAPI LEE Open LEE HANDLE MHandle Uword ModNo This function opens communication session with the Matrix system ModNo Module number MHandle Pointer to an uninitialized handle The module number is O to n 1 where n is the number of modules detected by LEE_Find On success E NO ERROR is returned and the handle is initialized Example include LeeMatrixAPI h Ulong ModuleCount Error error LEE HANDLE mHandle ModuleCount LEE_Find lf ModuleCount Error LEE_Open amp mHandle 0 else printf No Module Found Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE Close LEE API Error WINAPI LEE Close LEE HANDLE MHandle This function closes the current communication session with the Matrix system MHandle Session handle Driver LEE Wdata LEE API Error WINAPI LEE Wdata LEE HANDLE MHandle Uword data Ulong wCnt This function streams a data block from the host PC to the system MHandle Session handle data Pointer to array containing the data wCnt Number of words to transfer Driver LEE Rdata LEE API Error WINAPI LEE Rdata LEE
22. Matrix System sensl sense light USER MANUAL a AM Matrix Readout System for Nuclear Medicine Detection Document Overview This document provides the user with a comprehensive description of the hardware and software provided in the SensL Matrix readout system including system description detailed design features software GUI and DLL driver description The document is split up into the following sections OVERVIEW This section gives a brief description of the Matrix system outlining its main features and applications GETTING STARTED This section provides instructions for unpacking and installing the SensL Matrix hardware and GUI software ready for use with a host computer MATRIX GUI SOFTWARE USER GUIDE Here the controls for all system operations are described including setup configuration data readout energy spectra plotting and energy resolution calculation MATRIX DETAILED SYSTEM DESCRIPTION This section describes in detail the hardware operation of the system This includes block diagrams and schematics describing how photon events are detected and the process by which these events are passed through the system and collected by the host PC This section also includes a detailed description of the configuration process and the various USB registers used for interfacing with the host PC MATRIX SOFTWARE DRIVERS The Matrix system comes with a set of drivers for controlling the hardware within a user applic
23. Ox02F Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt Matrix evb Board gt Readout Fifo Data Format Reset PORT Format ZZZZZ Sending 5 consecutive Z characters will reset the READOUT module serial port ready for anew message This message is only used for special conditions such as when a previous command was aborted Example ZZA Reset the READOUT RS232 port Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt Dil Driver Functions gt Conventions Matrix Software Drivers DLL DRIVER FUNCTIONS Conventions The Matrix GUI calls a set of functions in a DLL LeeMatrixAPI DLL allowing easy configuration and transfer of data via the USB interface The DLL Library uses data types throughout as follows These types and all relevant parameter constants for the drivers are defined in LeeMatrixAPI H Except for MX_Find all drivers return an Error value reporting the result of the function call The error value will be one of the following ENOERROR Noem S JECOMMAND_ERROR 6 Error while writing command to USB pot E SPI_RESPONSE_ERROR_ 8 _ SPl interface did not return correct value EFIFO_ERROR 9 HFOoverruneror S These error values are defined in LeeMatrixErrs H Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver Descriptions Driver LEE Find LEE API Ulong W
24. Range Save Plots This button will save the plot data of any of the Plot Types listed above for the 2 pixels in files of name Cxx_Ayy_P2zz plt Where xx Channel number 0 15 yy Array number 0 8 zz Pixel number 0 15 These files will be saved in the folder ROOT data where ROOT is the folder the Matrix GUI resides in Plot Range The Plot Range section is used to zoom in and out of the energy spectrum The X axis of the graph is by default set to the range of 0 1000 but can be set up to a maximum of 0 4095 corresponding to the full range of the 12 bit ADC To zoom in to a particular region of the graph set the LOW value to the start of the region of interest and the HIGH value to the end of the region of interest Clicking the Zoom In button will now make the software plot this specific region Clicking the Zoom Out button will make the plot cover the entire 4096 bins Alternatively the plot range can be defined using the mouse and the shortcuts given in Table 6 Special Key s Mouse Button Action Result Ctrl Left Button Double Click Zoom extents 0 1000 bins Shift Left Button Double Click Zoom extents 0 4095 bins Ctrl Left Button Single Click Define lower range Ctrl Right Button Single Click Define upper range Ctrl Shift Left Button Sweep left to right Define range Table 6 Shortcuts for defining Plot Range The zoom features can be operated while the plot process is running Smoothing The Smoothing Factor thumbwheel allows
25. SER MANUAL gt Matrix Gui Software UserGuide gt Array And PixelPositions gt Matrix Channel Configuration USB and MATRIX LEDS When communication between the Matrix EVB and the PC is established these LEDs will turn GREEN The MATRIX LED will turn RED if the MATRIX is acquiring data The USB LED will turn RED if the USB is streaming data from the FIFO to the PC Matrix Channel Configuration Temperature With the Poll Temperature checkbox checked this text box will be continually updated with the temperature of the sensor head Channel Each of the 16 Matrix EVB channels can be selected using this thumbwheel If the selected channel has a valid Readout Module connected the FPGA firmware revision number FPGA REV and unique ID number of the module ID No will be displayed A global channel called ALL can be selected to allow the software to simultaneously set and configure all modules Configure This button commands the GUI to configure the selected channel with the saved parameters Save in ROM This button commands the GUI to store the parameters in the module s non volatile ROM At power up the FPGA in the module will use these ROM values to initialize the module This allows an optimized set of parameters to be applied to each module in order to avoid having to manually configure at each power up Users must keep a note of any values that they save to the ROM in this way as they are not displayed in the GUI fields at power up
26. When the FPGA receives a command to start the readout process it first clears all event latches and then polls for an event on one of the PIXEL lines e The HI LO transition of the PIXEL event automatically latches the value of a TDC implemented in the FPGA This TDC is a 16 bit counter with an LSB of 500ps Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Readout Electronics e The PIXEL event starts a programmable timer with a resolution of 10ns per bit When this timer reaches its programmed duration the output signal of all the slow shapers are sampled on the ADCs to provide the 16 PIXEL energy values e When all energy values have been read the FPGA interrogates the ARRAY event latches to determine in which array the event occurred If there is no event on the ARRAY side then the FPGA sets an error bit that is transmitted with the readout data e If the energy of the EVENT PIXEL is less than the programmable minimum Energy Limit then the event will be ignored e Finally the FPGA clears all the latches for the next event and transmits the event data to the Matrix EVB board via the 50Mbps LVDS bus The content of this data will vary depending on the mode of operation As a minimum the event data will contain the ID ARRAY PIXEL the TDC value and the energy for the pixel that caused the event Readout Data Stream Format The format of the 50Mbps serial data stream
27. allows the user to view the pixel image of a particular channel During acquisition the Rate text box will continually display the event rate of the module in Hz Matrix System USER MANUAL gt Matrix Gui Software User Guide gt Energy Plot gt Evb Readout Control ENERGY PLOT sensl sense light p Plot Range sensL Technologies Matrix Readout Software ZoomTo LOW 0 nee e e be Re eee F Channel 2 7 Arayf2 7 Pxeif2 Pitre Refresh Hatt Zoom Out HGH 672 z Report ENERGY PLOT running Timing Pixel 200 soo Pxel2 200 oo Pair Tolerance a 5 0nS LOW 248 Peak Bin No 305 smoothing If HGH 365 Resolution 14 23 Singes Coincidence Pairs Singes2 45000 Energy Plot 1 RED Best Fit BLUE 40000 35000 30000 25000 Counts 20000 15000 10000 5000 100 150 200 250 300 350 Energy Bin 400 450 500 550 600 650 700 Figure 7 Screenshot of the Energy Plot Page showing the LYSO energy spectra of a selected pixel The Energy Plot Page as shown in Figure 7 allows the user to acquire and plot energy spectra When an event is read from the FIFO the memory location corresponding to the energy value for a given pixel in a given module is incremented The energy value is in the range of O to 4095 12 bit ADC The Matrix GUI allows up to 2 plots to be viewed simultaneously The channel array and pixel buttons are used t
28. and open the file using a spreadsheet application such as EXCEL These files will be saved in the folder ROOT data where ROOT is the folder the Matrix GUI resides in Filter Checkbox The filter must be used for detecting coincidence pairs and making timing measurements If this checkbox is not checked then the Matrix EVB will pass all events to the FIFO for streaming to the PC If this is checked then the Matrix EVB will carry out basic filtering of the data to remove obvious single events Obvious singles are events that occur with dead times both before and after that are greater than 40ns The result is a reduction in event traffic with all data events being potential members of a coincidence pair The user can use the TDC values to do further filtering to determine true coincidence pairs Run Readout This button starts the Matrix system operating in the defined mode Halt Readout This button halts the Matrix system acquisition in either mode EVB LED This checkbox is used to define if the Matrix EVB board test LED is on or off This is particularly useful for verifying communication between the PC and the system Plot Energy Button This button is used to launch the Energy Plot interface See next section for e Viewing energy spectra of selected pixels e Performing peak fitting to calculate energy resolution e Plotting coincidence timing histograms View and Rate When the system is running in PLOT PIXEL mode the View thumbwheel
29. anded to begin collecting readout data the FPGA polls the 16 channels for messages conforming to the Readout Data Stream format On receipt of a message the data is pushed to a FIFO residing in the 2MByte memory block Using the USB interface the host computer can download this FIFO data in real time to memory or file The format of the FIFO data will vary depending on the mode of operation Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Readout Fifo Data Format MODE 0 Each event will be represented by 4 x 16 bit data words These words will be saved in the FIFO WNo D15 D14 D13 D12 D11 D10 D9 Ds D7 De DS D4 D3 D2 D1 DO wo 1 1 1 1 0 9 o o o o1ol o cc ee The first word will always have bits 15 to 12 set to 1 Readout channel number 0 15 16 bit TDC value with 500ps LSB This bit is set if the data is invalid If this bit is 1 the data must be ignored Operating Mode Array number 0 8 Pixel number 0 15 12 bit energy value Mm UP SKAAD MODE 1 Each event will be represented by 12 x 16 bit data words These words will be saved in the FIFO The first word will always have bits 15 to 12 set to 1 C T X M A P Readout channel number 0 15 16 bit TDC value with 500ps LSB This bit is set if the data is invalid If this bit is 1 the data must be ignored Operating Mode
30. ary There is the option to select file locations and which shortcuts to add At the end of this process the software is ready for use 3 Connect the USB cable supplied between the Matrix EVB board and the POT 4 Connect readout module s to the Matrix EVB using the IDC cable s 5 Power up the Matrix EVB by applying 5V and the Bias Voltage see Table 2 to the DC to the screw terminals There is clear labeling by each terminal to show where each supply should be connected 6 The PC will recognize that new hardware has been added Depending on the operating system the drivers may be located automatically or it may be necessary to select them manually by directing the PC to the directory c Program Files SensL Matrix9 QuickUSB where the necessary file will be located 7 Now launch the GUI by running Matrix9 exe Assuming you have installed the Matrix software in the default folder you will find Matrix9 exe in c Program Files SensL Matrix9 8 The system is now ready for use The hardware set up is demonstrated in a video on SensL s website http sensl com documentation videom9 Note Never connect or disconnect readout modules without first switching off the power to the Matrix EVB board Matrix System SENSL sense light USER MANUAL gt Matrix Gui Software User Guide gt Array And Pixel Positions gt System Requirements Matrix GUI Software User Guide The Matrix GUI software is designed to allow the user to evalu
31. ate the Matrix system The software provides for e Easy setup and configuration of the system e Streaming of event data in real time from FIFO to PC file Graphical pixel intensity plotting for imaging Easy plotting of energy spectra and calculation of FWHM energy resolution ARRAY AND PIXEL POSITIONS Each of the 144 individual SIPM in a given Matrix sensor head can be defined by 2 values PIXEL 0 15 and ARRAY 0 8 The value of ARRAY defines the particular ARRAY O to 8 in the Matrix sensor The positioning of the arrays is given for the two types of sensor head 12 x 12 or 4 x 36 pixel layout in Figures 3 and 4 below The value of PIXEL defines the particular SPM O 15 in the ARRAY The positioning of the pixels is given for the two types of sensor head 12 x 12 or 4 x 36 pixel layout in Figures 3 and 4 below Figure 3 and 4 below show the view is as if looking at the Matrix sensor head from the front Sensitive side of the sensor OAR AORABA NAAE alsel 7 slsTeg def sed 7 popo pono ARE DO ee ee 000A 00ga nnna 000a poon ngon popo pono ARE cpm EDE EET Figure 3 showing the array and pixel locations for the MatrixSM 9 Matrix System SENSL sense light USER MANUAL gt Matrix Gui Software User Guide gt Array And Pixel Positions gt System Requirements efr funksi HIE Le 7 nhs 3 z nfs 2 e jolul2 e hof 2 oof 2 edele 2 holil 2 erelid 2 6 dof 2 6 10 s4 f 2 6 10 14 aAaRR AA OAR OAR OAR OAR OAR
32. ation The Matrix DLL library provides a comprehensive set of functions that allow the user to program the system to carry out various operations with relative ease Matrix System SENSL sense light USER MANUAL gt Contents gt Overview Contents Do ument COV SING W ssis isciu ds eed ER aaa aaee ARE ee Ee EE ee ee NE ee uie kn oe eke Be iese Ee Se eg ER 1 8 EE E A E NE EE E E a E E 1 CEEE ENEE A EL EE N RE IE N 1 Matrix GUI Software User GUIS sin oe Ai KA Ke Ke dee RE AR Wo RA AA eb 1 Matrix Detailed System DesefiDUON EER EER ESE EER EE EDE ESE Ne REKE REG DE NN EN EE ER Re EDEN Gb eN GENE NEE ke ese eed EE ei Gede 1 Malie OOMS BINE E ousie ee ese at aati de ei BE ei bed ee ea Ee We n ee EN n ee Ed EN GE Ee 1 System OVBEVIGD sieke de Ne Ge ke ke eie Ek N Ge AN Ge Ge ak Ge Ge GEN ee AN Ge Ere 4 System COMPO OMENS assia EE RE deanery 4 Gening SCA EE OE EO N vines EO Ie RA 6 miesies ee oa E A N RE EE EE E EE 6 Unpacking TAS SVSTCMM cis ii EE Ee Ee EG ee oe De aare ee ede ee ee dee see ek ie ee eie ee se 6 Slade ergste uie n AL EE RE IE 7 System Characteristics and Specifications sk REEKSE SKEER BAR ER RE GEREGEER anaa REG GAD Ee GE RR EE RE REGEER RE EEN Aaaa 7 DIMENSIONS AE EE OE a Ea aawa ieaiai aaau 7 WVCIGN EE EE A A EE T 7 ROUE E EE EE T A E 7 E CIAL E E AE E A A EE EE E E E OO T 7 SVS Ee Pl ie al EE ER OR RR aaka 7 Este lnstallaion ProesdUes es EE GE Ge Ne ei E GE ee AE eN E Ee ee Ke Ge ee Ee eb ee Ee RE 8 Matrix GUI Software User Guide
33. d to pre amplifiers before being passed to the input of a fast comparator The outputs of these 9 comparators are then passed to the FPGA for processing to be used for the event location data The 16 PIXEL event lines are fed from the sensor head to pre amplifiers before being passed to the inputs of a fast comparator and a slow energy shaper Figure 13 shows a block diagram of the analog section of the readout electronics Data from the PIXEL event lines are ultimately used to determine event location energy and timing information Each ARRAY and PIXEL event line from the sensor head is passed through a preamplifier Programmable 12 bit DACS provide a DC offset that lifts the event signal above the ground level The following comparator has a programmable 12 bit DAC to define the threshold of the trigger The effective threshold voltage is the difference between the DC offset and the threshold setting Both off these DACs cover a voltage range of 0 3 3V The output of the PIXEL preamplifier is also fed to a slow shaper to optimize the signal for energy readout The output of the slow shaper is connected to a 12 bit serial ADC A further programmable DAC voltage is provided to lift the baseline of the ADC to a desired position within the ADC count range A further programmable 12 bit DAC is provided to control the BIAS voltage presented to the 144 PIXEL SIPM Array Each bit corresponds to 10 478mV MatrixSM or 8 801mV MatrixB of bias up to a max
34. ed together to provide a total of 16 PIXEL event lines from the whole sensor head In the MatrixB sensor heads the set up is reversed with all 16 anodes of each 16 pixel array connected together giving a total of 9 ARRAY event lines The corresponding cathode from each array is connected to provide a total of 16 PIXEL event lines from the whole sensor head When a particular SIPM fires a pulse will occur on its corresponding ARRAY and PIXEL event lines These pulses are used by the readout electronics to determine which pixel fired and the amplitude of the PIXEL signal is used to determine the energy In this way 144 sensors are read out by just 25 electronic channels sensl Matrix System Ee USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Passive Sensor Head ARRAY 0 ARRAY 1 ARRAY 9 PIXEL 0 PIXEL 1 PIXEL 15 Figure 10 Scrambled Crosswire Readout shown here for the MatrixSM 9 X7 Figure 11 shows the positions of the 144 pixels in both types of sensor head As can be seen each pixel O to 15 is spatially separated by at least 3 pixels This means that if an event occurs in a particular pixel it can be assumed that the neighboring pixel energies can also be determined For example if the pixel event is ARRAY O PIXEL 6 then the energy values of the surrounding pixels will be those read from PIXEL 1 2 3 5 7 9 10 and 11 This is based on the reasonable assumption that only 1 event occurs at any t
35. ed values have been determined for a given module the Save to ROM button see above can be used instead which stores the parameters in the modules own EEPROM and automatically applies these saved values upon power up avoiding the necessity to manually configure EVB Readout Control Mode Button The mode button is used to select the mode of operation for the main page This can be set to STREAM TO FILE This mode is used to stream FIFO data continuously to a file When the Run Readout button is pressed the system will stream all event data from the FIFO to a file named in the FIFO Data File Name text box with the suffix RAW The data will be acquired for a time that is defined in the FIFO Run Time ms text box The user can also define the maximum allowable size for this file using the Max FIFO File Size Mbytes text box Therefore acquisition will stop after the programmed runtime or the maximum file size is reached The format of the resulting binary RAW file is the same as described on pages 34 35 For example if the streaming was carried out in Single Mode Mode 0 then the events will comprise of 4 x 16 bit words as described on page 34 Mode 0 A text form of the RAW file can be generated by pressing the View FIFO File button This converts the RAW file into a text format with the suffix FFO and then launches a text editor that displays the values of the Matrix System SENSL sense light USER MANUAL gt Matrix Gui Soft
36. ergy Plot shown in Figure 7 it can be seen that the peak is in the range 250 to 370 Therefore for this pixel the Timing Energy Window should be set to 250 LOW and 370 HGH Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Passive Sensor Head Matrix Detailed System Description MATRIX READOUT MODULE The Matrix Readout Module comprises a passive sensor head connected to readout electronics In the case of the MatrixSM 9 the sensor head and the front end electronics board are housed inside an enclosure as shown in the Figure 9 below In the case of the MatrixSM 9X1 and the MatrixB 9X1 the sensor head and front end electronics board are not in an enclosure HOLD OBES E Drag H200 aanle Goole Figure 9 Front and back views of the Readout Module MatrixSM 9 Passive Sensor Head The sensor heads are made up of nine 16 pixel SIPM array modules forming a 144 pixel array These arrays are connected together using a Scrambled Crosswire Readout technique This technique is used to greatly reduce the number of readout channels whilst still allowing the readout of individual local events for Region of Interest analysis To explain the principle see Figure 10 In the MatrixSM sensor heads all 16 cathodes of each 16 pixel array are connected together giving a total of 9 ARRAY event lines from the whole sensor head The corresponding anode from each array is connect
37. g back the READOUT board FPGA REV ID and TEMPERATURE When in this mode the READOUT board will send 1 message only The format of this message is as follows Word 0 4 digit BCD value of the FPGA code revision Word 1 4 64 bit board ID Word 5 Temperature of sensor head Word 6 15 Null For future development Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Readout Electronics Note Word 5 is a signed number 16 bits where 1 1 16 C The table below shows some examples of the value to temperature conversion TEMPERATURE DIGITAL OUTPUT DIGITAL OUTPUT Binary Hex 125 C 0000 0111 1101 0000 07D0h HA SA 0000 0101 0101 0000 0550h 25 0625 C 0000 0001 1001 0001 0191h 10 125 C 0000 0000 1010 0010 00A2h 0000 0000 0000 1000 0008h 0 C 0000 0000 0000 0000 0000h 0 5 C 1111 1111 1111 1000 FFF8h 10 125 C 1111 1111 0101 1110 FFSEh 25 0625 C 1111 11100110 1111 FEGFh 1111 1100 1001 0000 FC90h The power on reset value of the temperature register is 85 C For full details please refer to the DS1822 data sheet Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Readout Electronics MATRIX EVB BOARD The EVB Board is responsible for the configuration of the Readout Modules and the collecting of event data for passing to the host computer Figure 15 shows a picture of the board
38. g where the READOUT Processor is currently saving data This value is a 16 word page count The total memory address range is O to OxFFFFF This equates to O to OxFFFF pages Note To stream data from memory in real time the user must poll this register to keep track of where the READOUT Processor is saving data and therefore how much data can be downloaded READ SIDO 1 2 3 Type Read GPIDADR 3 4 5 6 ID DATA These four ports form the 64 bit ID of the Matrix EVB board as read from the SERIAL ID chip The first word is the most significant word The fourth word is the least significant word FIFO Memory The 2Mbytes of memory are configured as 1M x 16 bit words When the readout process is running the FPGA streams the event data from the 16 channels to this memory in consecutive address locations When the maximum address is reached the address will wrap round and storing will begin at the base address Hence the memory can be treated as a 1M x 16 bit FIFO The FIFO provides a 16 bit register that continually reports where the READOUT Processor is currently saving data This value is a 16 bit word page count The total memory address range is O to OxFFFFF This equates to O to OxFFFF pages To stream data from memory in real time the user must poll this register to keep track of where the READOUT Processor is saving data to determine how much data can be downloaded Readout FIFO Data Format When the Matrix EVB Board is comm
39. hreshold o10 v Offsei 1 65 v PIXEL Threshold 0 15 V Offsel 1 65 V Linear Array SPM Bias 23 0 V ADC Offset 2 50 V Temperature I Poll ADC delay 800 nS Energy Limit 100 ID No NO CHANNEL FPGA Rev EVB Readout Control Run Readout Halt Readout Refresh Pixels J Fiter Mode PLOT PIXELS Plot Energy J EVB Test LED Max FIFO File Size Mbytes 100 FIFO Run Time ms 100 View FIFO File FIFO Data File Name test View E 0 Rate Hz View Image File Pixel Image File Name Test Figure 5 Main GUI page showing the default MatrixSM 9 selection Linear Array unchecked Matrix System SENSL sense light USER MANUAL gt Matrix Gui Software User Guide gt Array And Pixel Positions gt General Controls And Status Sens Technologies Matrix9 Readout Software sl Status E sensl Connect Quit oe ER NT TN NS SS Report Success r MATRIX Channel Configuration Configure E i Fomat _ Singie Energy Save in ROM Paste MATRIX Test LED Channel H fo ARRAY Threshold 0 10 V Offset 165 V PIXEL Threshold 0 15 V Offsel 165 V IV Linear Array a SPM Bias 28 0 v ADC Offset 2 50 V J Poll ADC delay 800 nS Energy Limit 100 ID No NO CHANNEL FPGA Rev 27 27 m EVB Readout Control Run Readout Halt Readout Refresh Pixels Filter Mode PLOT PIXELS Plot Energ
40. identifying the various connectors External VO Connector BIAS GND 5V GND Clock Test LED USB For Future Use 77 VY Figure 15 Matrix EVB Board The board interfaces with up to 16 Readout modules via 16 pin IDC connectors The locations of the channels 0 15 are shown in Figure 15 Power Bias and 5V DC is supplied to the board via screw terminals A general purpose VO connector and External Clock SMA are also provided See Table 2 for details on the Bias to use The power for the Readout Modules is supplied via the 16 pin IDC connectors The board also provides a common SOMHz clock and TDC Reset and to all channels Figure 16 shows a block diagram of the EVB Board Note The General Purpose I O and External Clock SMA connectors are for future use Do not use these connectors without first consulting SensL Apply BIAS for the MatrixSM sensor heads and BIAS for the MatrixB sensor heads Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Usb Hardware Registers The FPGA on the EVB board can be upgraded without the need to send it back to SensL This allows the user to benefit from the most recent updates with minimal inconvenience Please contact SensL for details 50Mbps LVDS Serial Readout Serial Configuration S0MHz Clock Reset Power 5V 435V 5V 35V 2MBytes 50Mbps LVDS Serial Readout Memory Serial Configu
41. ime Therefore when the ARRAY 0 PIXEL 6 event occurs there will be no energy contribution to these lines from other pixels in the other 8 arrays olv als Mo vals od das alslej 7 a slelz Mej sl oj 7 eof rofs e ofrojn e ofrojn 12 13 14 15 12 13 14 15 12 13 14 15 olv als Mo also dl poca slsjel Nels ef o rol aff e ofrojn e ol 2 13 14 15 12 13 14 15 12 13 1 AaAA AORAR OE alsjel 7 slsjel Ne sl slee sol ffs Haran Raan Ham Haan sf 7 as HEET 2 f6 fro ral 21e fo ul 2 6 ro raf 2 6 lol 2 e rol ral 2 edel 2 6 ro raf 2 6 fro al 2 6 10 14 OAAR AAR AAAB AARAP OARAP HART AAR AAR 1 5 e hsl ole olsjefalolsjefaf ole elf of 4 sfi2 fo siel ole ea of a afi2ifo 4 el rel Figure 11 Array and Pixel location map for the MatrixSM 9 above and the MatrixSM 9X1 or MatrixB 9X1 below Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Readout Electronics Readout Electronics Figure 12 shows a block diagram of the readout electronics ADC Control shapers ADCs 50Mbps LVDS Serial Readout axe ue P ana even EE Us comparators ete TDC Global Reset offset settings Pre amps and Array events x9 event comparators 16 WAY IDC Connector Array x9 BIAS Voltage Bias Control Figure 12 Readout Electronics The 9 ARRAY event lines are fed from the sensor hea
42. iming Plot the Filter on the Main GUI page is checked Therefore it can be assumed that the delta time between two consecutive events is the difference between the timestamps By reading through the TIM file coincident pairs and singles can be determined based on the time difference and a user defined limit for a coincidence In its simplest form the algorithm could be as the follows pseudo code IF Channel of Event A Channel of Event B and Delta Time lt Limit Events are a pair However this algorithm can be extended to consider groups of events e g four consecutive events at a time to avoid the possibility of creating false pairs This will provide a new modified TIM file with Event Pairs only Time walk Correction The timing of the events is determined by the output of voltage comparators The output of these comparators also known as leading edge discriminators change logic level when the input voltage exceeds a specified threshold Figure 17 shows as simplified drawing of two coincident pulses arriving at two different channels In this example the event on channel A has a greater peak Threshold voltage than the event on channel B It can be seen that this results in the comparator threshold being reached at different times creating a timing error of dT This error is known as the time walk and is a well documented problem with leading edge dT discriminators Figure 17 To avoid this problem
43. improve the overall event bandwidth Matrix Test LED This checkbox is used to define if the sensor readout module LED see Figure 9 back view of the Readout Module is on or off This is particularly useful for verifying communication or identifying a particular module Linear Array Check this box when one of the Linear Arrays are used either the MatrixB 9X1 or the MatrixSM 9X1 Format This button is used to select one of three modes of operation e SINGLE ENERGY e REGION OF INTEREST e ALL ENERGIES Matrix System sensl sense light USER MANUAL gt Matrix Gui Software User Guide gt Array And Pixel Positions gt Evb Readout Control SINGLE ENERGY In this mode the module detects an event and then saves the TDC value pixel location and energy value REGION OF INTEREST In this mode the module detects an event and then saves the TDC value pixel location and energy of the pixel followed by the energy of all 8 surrounding pixels ALL ENERGIES In this mode the module detects an event and then saves the TDC value pixel location and all 16 energies from the array Copy and Paste These 2 buttons allow the user to copy the parameters of a selected channel and then paste these values into another channel Save This button is used to save all the parameters of the selected channel ready for storing to the module for later use via the Configure button Each channel can have its own stored values Note When optimiz
44. imum of J35V polarity dependent on sensor head type Table 2 All of the DAC values are programmed via commands to the FPGA These DAC values can be saved in EEPROM for automatic configuration at power up The module also has an LED that can be commanded to be ON or OFF This is particularly useful for module identification detection when working with a number of modules sensl Matrix System ete USER MANUAL gt Matrix Detailed System Description gt Matrix Readout Module gt Readout Electronics The 16 way connector provides power to the module configuration and control via a serial data link and a high speed LVDS data bus for streaming readout data to the Matrix EVB board The 16 way connector also provides the system clock and global reset signal for synchronizing the TDC Note For details of the serial configuration link see Matrix EVB board description PIXEL N e PIXEL DC OFFSET PIXEL THRESHOLD TO FPGA ADC DC OFFSET ARRAY N e ARRAY DC OFFSET ARRAY THRESHOLD t PIXEL EVENT ARRAY EVENT Figure 13 Analog electronics of a Pixel and Array event line FPGA Readout Procedure Each event input 9 x ARRAY 16 x PIXEL has a latch to hold the occurrence of an event Due to the inverting of the analog electronics for PIXELS the event is a HI LO transition and for ARRAYS the event is a LO HI transition The FPGA carries out the readout process as follows e
45. in the FIFO For example a single event will be stored in the FIFO as 8 x 16 bit words WO WO W1 W1 W2 W2 W3 and WS e This function implements an address pointer for keeping track with the FPGA page register READ UCNTR e When the readout sequence is started this pointer is automatically set to 0 e When this function is called the READ UCNTR is compared with the address pointer to determine how many words are to be transferred e Once the data is transferred the pointer is updated with the value of the READ UCNTR register e Hence consecutive calls to this function will automatically read the FIFO data Note This function interrogates the MERR bit in the READ_USTAT register to ensure that a wrap round error has not occurred It is the responsibility of the user to ensure that the repetition rate of this function is sufficient to ensure the page pointer is kept up with Example This example puts the system in single energy mode starts the process and streams the first 64K words of data to a memory buffer include LeeMatrixAPI h Ulong ModuleCount Ulong buffSZ count total Matrix System USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Example Error error LEE HANDLE mHandle Uword buffer Set buffer size to 1Meg buffer NULL buffSZ 0x100000 Get the number of modules on USB bus ModuleCount LEE Find If a module exists then open comms w
46. ith first module if ModuleCount error LEE Open amp mHandle 0 else error E FIND MODULE ERROR Allocate the memory buffer if error E NO ERROR buffer Uword malloc buffSZ if mBuffer NULL error E MALLOC ERROR sensl sense light Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Example Set the mode for single energy events if error E NO ERROR error LEE SetMode mHandle SINGLE MODE Start READOUT process running if error E NO ERROR error LEE StartReadout mHandle Now stream the FIFO to buffer until 64K words have been received for total 0 total lt 0x10000 amp amp error E NO ERROR total count error LEE GetFIFOdata MHandle amp buffer total amp count Free the buffer if buffer free buffer Print possible error if error E_NO ERROR printf Success else printf Error encountered d error Matrix System SENSL sense light USER MANUAL gt Appendix gt Timing Data Processing gt Sort Coincident Pairs Appendix TIMING DATA PROCESSING When running a timing plot a binary format TIM file will be created that will record all events The format of this file is described on pages 34 35 This file can be used to determine the Timing Resolution by the following steps Sort Coincident Pairs During a T
47. ly uses these Voltages to set the ARRAY threshold and offset DAC values The different sensor heads have different signal polarities as given in Table 4 so the way in which the effective ARRAY threshold level is calculated will differ for each type For the MatrixSM sensors see Example 1 and for the MatrixB sensors see Example 2 Pixel Threshold and Offset The discriminator threshold for the 16 PIXEL signal channels can be programmed using a 12 bit DAC The 12 bit DAC range allows values from O to 4095 corresponding to a voltage range of OV to 3 3V A second DAC is used to define a DC offset in order to raise the signal above any potential system noise It is the difference between these 2 DAC values that defines the effective threshold level for the PIXEL channels The Matrix GUI simplifies the setup by allowing the user to define an offset and a threshold relative to this offset in Volts The software then automatically uses these voltages to set the PIXEL threshold and offset DAC values The different sensor heads have different signal polarities as given in Table 4 so the way in which the effective PIXEL threshold level is calculated will differ for each type For the MatrixSM sensors see Example 2 and for the MatrixB sensors see Example 1 MatrixSM 9 Table 4 Signal polarities FPGA Rev The channel FPGA revision textbox will display x yy zz The x denotes either a 1 for MatrixSM systems or 2 for Matri
48. mbering as given in Figures 3 and 4 on pages 9 and 10 UP EKAO Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Readout Fifo Data Format MODE 8 This MODE is reserved for reading back the READOUT board FPGA REV ID and TEMPERATURE When in this mode the READOUT board will send 1 message only The format of this message is as follows Word 0 OxFOOX where X is the channel number 0 15 Word 1 4 digit BCD value of the FPGA code revision Word 2 5 64 bit board ID Word 6 Temperature of sensor head Word 7 15 Null For future development Note Word 6 is a signed number 16 bits where 1 1 16 C The table below shows some examples of the value to temperature conversion TEMPERATURE DIGITAL OUTPUT DIGITAL OUTPUT Binary Hex 125 C 0000 0111 1101 0000 07D0h 85 C 0000 0101 0101 0000 0550h 25 0625 C 0000 0001 1001 0001 0191h 10 125 C 1111 1111 0101 1110 FFSEh 25 0625 C 1111 11100110 1111 FEGFh 1111 1100 1001 0000 FC90h The power on reset value of the temperature register is 85 C 10 125 C 0000 0000 1010 0010 00A2h 0000 0000 0000 1000 0008h 0 C 0000 0000 0000 0000 0000h 0 5 C 1111 1111 1111 1000 FFF8h For full details please refer to the DS1822 data sheet Matrix System sensl sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Readout Fifo Data Format Configuration Commands
49. nter to array of 16 DC offset values for the arrays 0 4095 The mode must be set to NOT BROADCAST or BROADCAST CHANNEL If the mode is set to NOT_ BROADCAST then all the modules will be configured with the 16 different values passed in the arrays For example Channel O bias will be set to Bias O Channel 1 bias will be set to Bias 1 etc If the mode is set to BROADCAST_CHANNEL then all modules will be configured with the same values as defined in the first element of the array For example the bias for all channels will be set to the value defined in Bias 0 Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions Driver LEE ResetUSB LEE API Error WINAPI LEE ResetUSB LEE_HANDLE MHandle This function resets the USB process After calling this function the system will stop streaming data from the FIFO to the USB bus MHandle Session handle Driver LEE InitUSB LEE API Error WINAPI LEE_InitUSB LEE HANDLE MHandle Uword Clear Ulong Count This function initializes the USB interface for a block transfer MHandle Session handle Clear Set TRUE to clear the USB FIFO address pointer Set FALSE for no change Count Number of 16 bit words to transfer The transfer will start at the current address defined by the FIFO address pointer If Clear is set TRUE the address pointer will be cleared and the transfer will start at the first location in the FIFO
50. o select the particular pixel TIMING PLOT The Energy Plot Page also allows the user to plot the timing between coincidence pairs detected on two selected pixels of two independent channels The channel array and pixel buttons are used to select the particular pixel sensL Technologies Matrix Readout Software 6000 Plot Range Plot Select ZoomTo Lowo i channet 1 Array 1 Pxeifi Save Pois Zoom Out HGH 794 Z Channel 2 Array 2 Pixel 2 7 Plot Timing Em p Timing Energy Windows p Timing Energy Calculation Low Had Par Tolerance 2 50nS Singles 1 0 SaveRange LOW 259 Peak Bin No Pixel 1 0 4095 preizo see Coincidence Pairs 17452 Singies2 0 smooting AE fellas Timing Plot 4000 Pair Count 2000 1 0 1 Delta Time nS Figure 8 Screenshot of the Energy Plot Page showing the LYSO coincidence timing plot of a selected pixel Matrix System SENSL sense light USER MANUAL gt Matrix Gui Software User Guide gt Timing Plot gt Plot Select TIMING OUTPUT FILE As the Timing Plot is a real time plot the analysis to determine the true coincidence pairs is somewhat limited Therefore the plot should only be regarded as an estimated result At the same time as the real time plot is progressing all events are stored to a binary file in the ROOT data folder that can be used to post
51. r LEE SetDAC LEE_API Error WINAPI LEE_SetDACS LEE HANDLE MHandle Uword Channel Uword Values This function sets all the DACS of a specific channel to the values defined in the array Values MHandle Session handle Channel Channel number Values Pointer to an array of 6 DAC values See Note Note The position of the DAC values in the array is defined by the DAC ID constants For example the Array Threshold DAC will bet programmed with the value in Values ARRAY_THRESHOLD_DAC Matrix System SENSL sense light USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Driver Descriptions ID Name In header file Code Value ARRAY_THRESHOLD_DAC Os Array Threshold DAC ARRAY_REFERENCE_DAC Array DC Offset DAC Driver LEE ConfigureDACS LEE_API Error WINAPI LEE ConfigureDACS LEE_HANDLE MHandle Uword Mode Uword Bias Uword AdcR Uword PixelT Uword PixelR Uword ArrayT Uword ArrayR This function loads the DACS with the values defined by the input parameters MHandle Session handle Mode Mode for setting up DACS See note below Bias Pointer to array of 16 SIPM bias values 0 4095 AdcR Pointer to array of 16 ADC DC baseline offset values 0 4096 PixelT Pointer to array of 16 Threshold values for the pixels 0 4095 PixelR Pointer to array of 16 DC offset values for the pixels 0 4095 ArrayT Pointer to array of 16 Threshold values for the arrays 0 4095 ArrayR Poi
52. r FIT HIGH Ctrl Shift Right button Sweep left to right Define FIT Range Table 7 Shortcuts for defining FIT range Timing Pair Tolerance This defines the maximum time difference in O 5ns steps that is allowed for an event between Pixel 1 and Pixel 2 to be considered as a coincidence pair Pixel 1 2 Singles When running in timing mode these text boxes will be continually updated with the total number of Pixel 1 and Pixel 2 single events A single event is an event on a pixel that did not have an associated coincidence event on another pixel Coincidence Pairs When running in timing mode this text box will be continually updated with the total number of coincidence pairs detected A coincidence pair is when an event on Pixel 1 and Pixel 2 occurs within the Pair Tolerance time When the timing mode is running a histogram will be plotted of the pairs detected The X axis will be a set of bins separated by 0 5ns The Y axis will be the number of pairs detected that occurred in that particular bin Timing Energy Windows The timing energy windows are used to carry out further filtering of the event data To determine true timing it is required to only use coincidence pairs where the energy of each event occurred within the photo peak window To determine the settings of these values it is first necessary to carry out an energy spectra plot From this plot the photo peak window can be determined For example in the previous En
53. r greater then message will be broadcast to all channels simultaneously A Configuration ASCII character to send to module Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Usb Hardware Registers SET UCNTH Type Write GPIDADR 3 D3 DO UCNT19 16 000000000000 The least significant 4 bits defines D19 to D16 of the USB memory word count The USB word count defines how many words are to be transferred from the memory to the USB bus SET UCNTL Type Write GPIDADR 4 UCNT15 0 This register defines D15 to DO of the USB memory word count The USB word count defines how many words are to be transferred from the memory to the USB bus This register is a 16 word PAGE register The LSB represents 16 words READ USTAT Type Read GPIDADR 0 D15 D2 DI S OD 00000000000000 UBSY MERR MERR When set to 1 this bit indicates that the USB read process has not kept up with the READOUT Processor This bit is cleared by asserting the PR bit in the SET_UCTRL register UBSY When set to 1 this bit indicates that the USB data transfer processor is busy READ REVR Type Read GPIDADR 1 D15 DO REV REV 4 digit BCD value of the FPGA code revision Matrix System sensl sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Fifo Memory READ UCNTR Type Read GPIDADR 2 PONT PCNT This is a 16 bit pointer definin
54. ration a Clock USB a Interface 5V 35V I I I I USB Bus to Host Computer 50Mbps LVDS Serial Readout Serial Configuration 50MHz Clock Figure 16 Matrix EVB Board Block Diagram USB Hardware Registers Configuration and readout of the system is carried out via a set of registers residing on the FPGA board These registers are accessed directly via the USB interface and are used to setup the high speed data streaming interface for real time readout of the data and configuration of the READOUT modules Matrix System SENSL sense light USER MANUAL gt Matrix Detailed System Description gt Matrix evb Board gt Usb Hardware Registers SET UCTRL Type Write GPIDADR 0 D15 D12 D11 D8 D7 D5 D4 D3 D2 DM 0000 MMMM 000 m ib PR PRR WR se M Four bit number defining mode of operation TR TDC global reset to READOUT modules LO RESET HI ACTIVE LD Control of test LED PR When set to 1 the memory counter will be reset and ready for a new USB data transfer RR Readout state machine reset active HI UR USB transfer state machine reset active Hl SET RADDC Type Write GPIDADR 1 A write to this register clears the readout memory address counter ready for start of FIFO reading SET SERPT Type Write GPIDADR 2 D15 D13 D12 D8 D7 DO COCCC This register sends ASCII characters to the READOUT modules for configuration C READOUT Module channel number 0 15 If 16 o
55. t Getting Started gt Help And Support Getting Started HELP AND SUPPORT The most up to date versions of the Matrix system software firmware and DLLs can all be found on the Matrix support page http sensl com matrix9software A number of instructional videos related to the use of the Matrix9 can also be found on the website http sensl com documentation videom9 For all other enquiries please contact support sensl com The FPGAs on the EVB board and front end electronics board can be upgraded without the need to send it back to SensL This allows the user to benefit from the most recent updates with minimal inconvenience Please contact SensL for details UNPACKING THE SYSTEM Contents of the package e 1 minimum Matrix Readout Module MatrixSM 9 30035 or e 1 minimum Matrix Sensor Head MatrixSM 9X1 or MatrixB 9X1 Front End Electronics Board 1 Matrix EVB communications board Matrix EVB 16 EVB board to Readout Module 16 way IDC cable USB cable Note It is important to install the Matrix software BEFORE connecting the system to the PC for the first time Matrix System SENSL sense light USER MANUAL gt Getting Started gt Safety Considerations gt Dimensions SAFETY CONSIDERATIONS 1 The system is not intended for outdoor use 2 Liquids should not be spilled on or into the system SYSTEM CHARACTERISTICS AND SPECIFICATIONS Dimensions Matrix EVB Board 141 0 x 183 0 mm Readout Module
56. the hardware solution is to use a Constant Fraction Discriminator CFD that resolves the start time of the signal However CFDs are complicated incorporating several components Also the CFD will not account for noise errors where two identical signals to the same channel trigger at different times due to the noise level at that particular time Matrix System sensl sense light USER MANUAL gt Appendix gt Timing Data Processing gt Time walk Correction To account for these errors it is necessary to post process the data in software It can be seen in Figure 17 that the value of dT will vary with the difference in amplitude dV This relationship between dT and dV is linear The Matrix9 energy value reported by an event is the ADC value of the output of an integrator sampled at a specific time after the input pulse is detected Therefore this value dE will be proportional to the peak value of the input pulse Time walk compensation by amplitude is a standard commonly accepted method The time difference between two coincident events is adjusted based on the energy difference of those events Therefore the process to compensate for time walk is as follows 1 Calculate Slope Using the modified TIM file to produce a set of points dT v dE where dT and dE are the difference in Timestamp and Energy value respectively for each pair of events Example Event A T Ox8010 E 0x0080 Event B T Ox8090 E 0x0040 dT 0x80 dE
57. the user to select a smoothing factor for the plot to allow a modification of the data to diminish outlying data points that may be present in low count data sets A given data value x will become the running average of N consecutive neighboring data points where N is the smoothing factor A smoothing value of O will disable this feature such that no smoothing takes place Energy Resolution Calculation This section is used to dynamically plot a best fit and calculate the energy resolution of a specific pixel The Plot Type must be set to FIT mode When running the energy plot will be carried out for the pixel defined by Pixel 1 At the same time the software will carry out a best fit plot of a Gaussian curve between the range of bins defined by LOW and HIGH At any time during the plot the values of LOW and HIGH can be changed by entering new values into the relevant boxes Alternatively the shortcuts given in Table 7 can be used to specify LOW and HIGH By pressing the Save Range button the software will use the new values to re calculate and plot the new best fit Matrix System SENSL sense light USER MANUAL gt Matrix Gui Software User Guide gt Timing Plot gt Timing As the plot is running the software will report the peak bin and calculated energy resolution based on the best fit curve Special Key s Mouse Button Action Result Shift Left Button Single Click Define lower FIT LOW Right Button Single Click Define uppe
58. tion is completed buff Pointer to 256 x 16 bit array for storing the module s info This function gets the info for all modules up to 16 simultaneously The data will be stored in the 256 word array in 16 word blocks The info for module O will be stored in buff 0 15 The info for module 15 will be stored in buff 240 255 The format of this data will be as follows Word 0 4 digit BCD value of the FPGA code revision Word 1 4 64 bit board ID Word 5 Temperature of sensor head Upper byte Temp HIGH byte Temp LOW byte Word 6 15 Null For future development For details of byte values see DS1822 specification document If the first element in the module s info FPGA code revision is O then no module was detected sensl Matrix System des USER MANUAL gt Matrix Software Drivers gt DI Driver Functions gt Example Driver LEE GetFlFOdata LEE_API Error WINAPI LEE GetFIFOdata LEE HANDLE MHandle Uword buff Ulong Count This function reads into a buffer all data that has been placed in the FIFO since the last call to this function MHandle Session handle buff Pointer to buffer for storing FIFO data Count Pointer to location for storing the number of words received in buff On completion the value of Count will be the total number of 16 bit words copied from the FIFO to the buff The format of this data will be as described in FIFO Data Format However due to a feature of the FIFO streaming each word is repeated
59. ware User Guide gt Array And Pixel Positions gt Evb Readout Control file Alternatively the user can locate the file using the PC browser and open the file using a spreadsheet application such as EXCEL These files will be saved in the folder ROOT data where ROOT is the folder the Matrix GUI resides in Note The RAW file is in binary format and is therefore relatively small when compared with the FFO file The use of FFO files is mainly intended for viewing short runtimes If post processing is to be carried out on long runtimes then it is recommended that the user works with the RAW file PLOT PIXELS This mode will continually read events and keep a running count of the number of valid events for each pixel The image will be continually updated with a grey scale based on the event count of each pixel The pixel with the most events will be white All other pixels will be a grey scale based on the percentage of counts compared to the pixel with the highest count The image can be refreshed at any time by pressing the Refresh Pixels button A refresh will clear all the counts putting all pixels back to black When the Plot Pixels process is halted the counts for each pixel are saved in an image file defined by the Pixel Image File Name text box This file can be viewed through the GUI using the View Image File button which launches a text editor that displays the values of the file Alternatively the user can locate the file using the PC browser
60. xB systems and the yy zz is the revision number Examples 1 01 05 MatrixSM at Rev 01 05 2 01 01 MatrixB at Rev 01 01 Matrix System SENSL sense light USER MANUAL gt Matrix GuiSoftwarel serGuide gt Array And PixelPositions gt Matrix Channel Configuration SiPM Bias The SIPM bias is programmed by a 12 bit DAC The gain of the BIAS interface is dependent on the Matrix sensor head used DAC Gain MatrixSM 9 MatrixSM 9X4 10 478mV per bit MatrixB 9X1 8 801mV per bit Table 5 DAC gain for bias setting Example DAC value 1718 BIAS Voltage 1718 x 10 478mV 18V The Matrix GUI simplifies this setup by allowing the user to define the BIAS in volts The GUI translates this voltage into the corresponding DAC value ADC Offset This 12 bit DAC sets the DC offset for the differential input signal for the ADCs Its full range is OV 3 3V ADC Delay This value selects the time duration for extracting the energy value from the output of the shaper circuit Shaping time of 0 5us An 8 bit DAC allows values from Ops 2 55us with each bit being equal to 10ns Energy Limit This value defines the minimum energy allowable for an event to be regarded as true This value is input as an ADC bin number When an event is detected the ADC value for the pixel is compared with this value If it is less than the Energy Limit value the event will be discarded This is used to filter out undesirable noise related events and hence
61. y EVB Test LED Max FIFO File Size Mbytes 100 FIFO Run Time ms 100 View FIFO Fie FIFO Data File Name test View AG Rate View Image File Pixel Image File Name Test Figure 6 Main GUI page showing the MatrixSM 9X1 amp MatrixB 9X1 selection Linear Array checked General Controls and Status Connect With the USB cable connected and the Matrix system power on pressing this button will direct the software to search for the Matrix EVB board and establish communication Once the communication link is established the USB and MATRIX LEDs should turn green and the FPGA firmware revision number and Matrix EVB ID number will be displayed About This will display the version of the Matrix GUI software installed Bias Pressing this button toggles between positive Ve and negative Ve bias selections Positive is used for MatrixSM sensor heads and negative bias is used for MatrixB sensor heads The bias polarity should be selected before any of the individual channels are configured Quit Click this button to save current settings and close down the software FPGA Rev When communication between the Matrix EVB board and the PC is established this text box will display the FPGA revision number of the Matrix EVB EVB ID No When communication between the Matrix EVB and the PC is established this text box will display the unique ID number of the Matrix EVB Matrix System SENSL sense light U

Download Pdf Manuals

image

Related Search

Related Contents

Sony DR-1R  O novo conceito em motores elétricos    Call Recorder Apresa Admin manual 1.200.12  Relatório Final - Direcção Regional de Agricultura e Pescas do Norte  

Copyright © All rights reserved.
Failed to retrieve file