# SPARC test program
## Scope
This document intends to list various (possibly exhaustively) tests of the SPARC sensor and specify the corresponding test set-up.
The goals are then:
- to not forget a characterisation step,
- to identify potential requirement for set-up development.
## Available documentation
- [IPHC GitLab](https://gitlab.in2p3.fr/wperrin/sparc_sc_daq_info)
- [Jean Soudier's PhD thesis](https://theses.fr/api/v1/document/2024STRAE047)
## Test list
Definition of terms:
- Timestamp: time at which the address of the fired pixel arrives at the output of the asynchronous arbiter tree (matrix read-out) and is converted into N digits with a clock frequency of X MHz.
There are (to be confirmed) two timestamps associated with a fired pixel, correspond to the leading and trailing edges of the discriminator output pulse. If not specified, the leading edge should be assumed.
- Time or fine time resolution: leading edge of the discriminator output pulses from all pixels in a colum connected to a fastOR.
- ...
**0. Basic control**
Assumed to be passed before considering the rest.
**1. Injection - address correlation**
Injection to a single known pixel yields an output with the correct address. A time correlation can be established between the injection *trigger* and the timestamp associated with the fired pixel address. Check the dependence with the position in the column.
Check the possibility to use the timestamp of the leading and trailing edge to build the time-over-threshold (ToT).
- Priority: very high
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO
**2. Threshold tuning**
S-curve can be obtained for all pixels and a threshold can be tuned to reach low fake rate.
- Priority: very high
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO
**3. Timestamps within clusters make sense**
In a low multiplicity environment obtained with a radioactive source or focused laser, the addresses and timestamps of the fired pixels make sense in terms of localised impact.
- Priority: very high
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO
**4. Detection efficiency**
SPARC includes the diode and front-end of the DPTS sensor. Allthough the pixel aspect ratio is different from DPTS (larger pitch) a detection efficiency in a test-beam should get close to 100% under low rate.
- Priority: very high
- IDROGEN: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: beamline, telescope, adapted mechanical support for SPARC, ...
**5. Fine understanding of timestamp**
In a relatively high hit rate environment with quasi-simultaneous clusters possibly hitting the same columns, SPARC yields timestamps for the fired pixels that can be understood. In the best scenario, "understood" means it can be reproduced by a simulation of the asynchronous logic.
- Priority: medium to high
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO (if lab source can produce necessary hit rate or study can be done with SW injected hits)
**6. Timestamp resolution**
A second device provides the arrival time (nanosecond precision probably sufficient) of a hit with known position on SPARC so that one can built the time residual between the SPARC timestamp and the reference (another SPARC, Telepix, ...).
- Priority: high
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: Yes, need additional detector for time reference, which data can be correlated with SPARC OR need triggered laser source
**7. Hit rate limit**
The hit rate is pushed so high that the asynchronous logic is saturated, whatever it means. The test is used to exactly figure out what *saturation* means and when it occurs. It is compulsory to have an absolute calibration to evaluate the limit. But it is not mandatory to simply observe the saturation. Also it could be enough for a first result on the limit to observe no saturation below a not so precise hit rate but high enough.
- Priority: medium
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO / Yes (test requires other parts that the chip board + DAQ board)
**8. ToT calibration**
Use of injection and/or monochromatic source to calibrate the ToT mechanism, using the timestamps associated to the leading and trailing edges. Check the dependence with the position in the column.
- Priority: medium
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: monochromatic source can be an X-ray gun (available at IPHC) or Sr90
**9. ToT validation**
Use particles with known dE/dx (at least known distribution) to validate that the ToT implementation makes sense.
- Priority: medium
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO / Yes (test requires other parts that the chip board + DAQ board)
**10. Fine timing resolution**
A second device provides the precise arrival time (few 10 ps?) of a hit (possibly with known position on SPARC) so that one can built the time residual between the SPARC fine time and the reference (MCP, ...).
- Priority: low
- IDROGEN: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: Yes for the device providing the the time reference
**11. NIEL fluence tolerance**
Re-do almost all previous tests after NIEL irradiation (fluence to be decided).
- Priority: high for basic tests, medium otherwise
- IDROGEN: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO / Yes (test requires other parts that the chip board + DAQ board)
**12. TID tolerance**
Re-do almost all previous tests after TID (dose to be decided).
- Priority: high for basic tests, medium otherwise
- IDROGEN: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO / Yes (test requires other parts that the chip board + DAQ board)
**13. SEE tolerance**
Measure cross-section of SEE of the asynchronous matrix read-out.
- Priority:
- IDROGEN: YES but w SW dvpmts
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: Yes, need energy-calibrated ion beam with specific support to tilt the sensor (modulate LET)
Also if SEL (latchup) included, additional HW for monitoring.
**14. Impact of temperature on asynchronous logic**
Investigate the temperature influence of results obtained for tests 1-10, possibly integrated in each test.
- Priority:
- IDROGEN: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: YES, on top of what might be needed for each test, a system setting a given operation temperature is needed.
**15. Impact of supply voltage on asynchronous logic**
Investigate the temperature influence of results obtained for tests 1-10, possibly integrated in each test.
- Priority
- IDROGEN: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: YES, the digital supply voltage should be settable and monitored.
**. **
- Priority
- IDROGEN: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- CARIBOU: YES / YES but w dvpmts / NO (choose option and comment if dvpmt)
- HW: NO / Yes (test requires other parts that the chip board + DAQ board)