## Image sensor frame rate calculator

Frame Rate Calculator

How to use this calculator:
1. Select a sensor from the dropdown menu.
2. Define the start point (m,n) and end point (p,q) of your readout region of interest (ROI).
3. Enter the clock frequency or select the operation modes in the dropdown menu.
4. The number of rows/columns of the ROI and the frame rate will be calculated and updated automatically.

This calculator should be regarded as a reference only, no guarantee of product performance is implied by the results of this calculator.

### How to calculate frame rate:

This simulator calculates frame rate differently for each sensor.

#### G14671-0808W/G14672-0808W/G14673-0808W/G14674-0808W sensors

Partial readout is valid only at single output port mode
$$\text{Frame Rate} = \frac{1}{MSPL + \frac{RT_M}{MCLK}}$$
$$RT_M$$, the readout time in clocks, is calculated by the equation below.

$$RT_M = \text{blank from MSP rising to scan of channel 1} + ( \text{video data rate x rows x columns} ) + ( \text{blank between each rows x (rows - 1)} ) + \text{blank period between frames}$$
For ease of understanding, the equation can further be simplified as follows:
$$RT_M = {60 + (4 * R * C) + (63 * (R - 1)) + 6}$$ where R denotes rows and C denotes columns

#### S13101/S14501/S16101 sensors

When set to internal start pulse mode:
- Rolling Shutter Mode: $$\text{Frame Rate} = {fTG \over 100 * WinWV}$$
- Global Shutter Mode: $$\text{Frame Rate} = {fTG \over 104 * WinWV}$$

- When set to external pulse mode, the frame rate will be determined by the frequency of MST.
*It is impossible to set the frame rate bigger than follows.

When set to external pulse mode:
- Rolling Shutter Mode: $$\text{Frame Rate} = {fTG \over 100 * WinWV + 96}$$ - Global Shutter Mode: $$\text{Frame Rate} = {fTG \over 104 * WinWV + 106}$$

The value of $$WinWV$$ is the readout rows, and the value of $$fTG$$ is as follows:
- High-Speed Mode: $$fTG$$ = 15 MHz
- High-Resolution Mode: $$fTG$$ = 3 MHz

#### S13102/S13499 sensors

"Blanking"sets the length of blanking time at internal start pulse readout mode.
It can be set from 1 to 65535 rows readout period

When set to internal start pulse mode:
- Rolling Shutter Mode: $$\text{Frame Rate} = {f(MCLK) \over (WinWH + 155) * (WinWV + Blanking)}$$ - Global Shutter Mode: $$\text{Frame Rate} = {f(MCLK) \over (WinWH + 163) * WinWV + 83 + (WinWH + 155) * Blanking}$$

- When set to external pulse mode, the frame rate will be determined by the frequency of MST.
*It is impossible to set the frame rate bigger than follows.

When set to external pulse mode:
- Rolling Shutter Mode: $$\text{Frame Rate} = {f(MCLK) \over (WinWH + 155) * WinWV + 1}$$ - Global Shutter Mode: $$\text{Frame Rate} = {f(MCLK) \over (WinWH + 163) * WinWV + 84}$$

The value of $$f(MCLK)$$ is as follows:
- $$f(MCLK)$$ = 30 MHz