Photon Counting with NI High Speed Digitizer

Hardware requirements

The following hardware is required to use ScanImage’s photon counting software module:

  • National Instruments NI5771 fast digitizer and an NI PXIe-7975 FPGA module

  • A fast transimpedance amplifier (bandwidth >80MHz) (such as the Femto DHPCA-100)

  • (optional) For time correlated photon counting, a clock multiplier board such as the AD9516-0 is required

../_images/5771+7975.png ../_images/AD9516-5PCBZ.png

The ScanImage® Photon Counting Module requires an NI5771 fast digitizer, and an NI PXIe-7975 FPGA module. The digitizer has 2 analog input channels (8bit) and a maximum sample rate of 1.5GHz.

For time correlated single photon counting, a clock generator, such as the AD9516-0, is required to up-multiply the laser clock.


Configuration

../_images/ScanImage+Photon+Counting+Configuration+Bitfile.png

Configuration

Select the NI7975 and NI5771 digitizer as Acquisition device on the Resonant Scanner Configuration Page. From the dropdown menu, select the bitfile ‘Microscopy NI7975 NI5771 PhotonCounting.lvbitx’ to enable Photon Counting support in ScanImage.

../_images/Clock+Multiplication.png

Configuration Laser Clock Synchronization

For time correlated single photon counting, a clock generator, such as the AD9516-0 , is required to up-multiply the laser clock. The Clock generator up-multiplies the laser clock by a factor of 16. The up-multiplied clock is then connected to the CLK IN connector of the NI5771 digitizer.

../_images/ScanImage+Photon+Counting+Configuration+External+Sample+Clock.png

To synchronize the digitizer to the Laser Clock, set up and configure the clock generator, and connect the up-multiplied laser clock to the CLK IN terminal on the NI5771 front panel. In the Resonant Scanner Configuration Page, select ‘Advanced Configuration’, enable the checkbox ‘Use External Sample Clock’ and enter the sample clock value in Hz. Note: the value needs to be smaller than or equal to 1.5GHz.

Note

Once ScanImage® is started, do not disconnect the laser clock. This will cause ScanImage® to enter an error mode, and ScanImage® will need to be restarted.


Principle of Operation

For each physical input channel, ScanImage® implements two processing pipelines: A photon integration pipeline, and a photon counting pipeline. The output of these pipelines can be mapped to ScanImage® channels by the user such that the same sample can be recorded both in photo current integration mode and in photon counting mode at the same time.

The photon counting pipeline for the implements the following stages:

Pipeline stage

Photo Current Integration

Photon Counting

1

Offset subtraction and scaler

x

x

2

Centered differentiation filter

x

3

Programmable FIR filter

x

4

Programmable Photon Discriminator

x

The offset subtraction and scaler applies to the photon integration pipeline and the photon counting pipeline. The remaining stages apply to the photon counting pipeline only. The centered differentiation filter can be used to remove low frequency noise from the signal. The programmable FIR filter can be used to remove high frequency noise from the signal. The photon discriminator uses a sliding window and a debounce filter to discriminate photons (see figure).

Photon Discriminator

../_images/Peak+detection.png

The photon discriminator flags a photon when a sample is is 1) greater than a user settable threshold and 2) the largest signal value within a sliding window (A). If multiple samples within the window have the same signal value because of noise or a flat peak, multiple photons are flagged for a single peak. A debouncing filter checks for each detected photon if it is preceded by another photon within the debouncing time (B). Photons are then counted and binned into pixels (C).

The threshold, the size of the sliding window and the debouncing time are user settable.

Time Correleated Photon Counting

../_images/Photon+Binning.png

If the digitizer is synchronized to the laser clock, the relative time between the laser pulse and the photon arrival can be determined. This allows to bin photons into different channels depending on their arrival time.