PIN Photodetector
PIN Photodetector #
![]()
PIN Photodetector (PIN) converts input optical power into an electrical signal as the first stage of an optical receiver link. The conversion ratio is set by responsivity; dark current still contributes a DC component under zero optical input. Shot noise, thermal noise, and power saturation can be enabled separately to better approximate real-device receiver behavior. The output electrical signal can be sent directly to filters, eye-diagram, or data-recovery elements.
Ports #
input receives the optical signal; output delivers the detected electrical signal.
| Name | Type | Data |
|---|---|---|
| input | Optical Signal | Input |
| output | Electrical Signal | Output |
Properties #
General #
Used to identify and manage the element itself, including name, annotation, enabled state, and display. This group of properties only affects schematic presentation and does not change device behavior.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| name | Element name | PIN_1 | - | - |
| annotate | Whether to show annotation | true | - | [true, false] |
| enabled | Whether the element is enabled | true | - | [true, false] |
| type | Unique type identifier of the element | PIN Photodetector | - | - |
| description | Brief description of the element | PIN photodetector | - | - |
| prefix | Prefix for the element name | PIN | - | - |
| local path | Local path or working folder of the element | - | - | - |
Standard #
Sets the detection characteristics of the device, which determine photoelectric conversion efficiency and noise level.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| frequency at max power | Whether to use the frequency corresponding to maximum power | true | - | [true, false] |
| frequency | Frequency | 193.1 | THz | (0, +∞) |
| input parameter | Parameter input method | constant | - | [constant, table] |
| responsivity | Responsivity | 1 | A/W | (0, +∞) |
| load from file | Whether to load data from a file | false | - | [true, false] |
| measurement filename | Measurement data file name | - | - | - |
| measurement | Measurement data table | 1×2; columns: frequency (Hz), responsivity (A/W); first row [1.931e14, 1] | - | - |
| dark current | Dark current | 0 | A | [0, +∞) |
| thermal noise | Thermal noise | 1e-22 | A/Hz^.5 | [0, +∞) |
| saturation power | Saturation power | 20 | mW | (0, +∞) |
Numerical #
Controls whether power saturation and each noise type are included, and the repeatability of the noise.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| enable power saturation | Whether to enable power saturation | false | - | [true, false] |
| enable thermal noise | Whether to enable thermal noise | true | - | [true, false] |
| enable shot noise | Whether to enable shot noise | true | - | [true, false] |
| convert noise bins | Whether to convert noise bins | true | - | [true, false] |
| automatic seed | Whether to generate a random seed automatically | true | - | [true, false] |
| seed | Random seed | 1 | - | [0, +∞) |
Numerical / Digital Filter #
Fits the device frequency response to a digital filter required for time-domain simulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| single tap filter | Whether to use a single-tap filter | false | - | [true, false] |
| number of taps estimation | Method for estimating the number of taps | fit tolerance | - | [disabled, fit tolerance, group delay] |
| filter fit tolerance | Filter fit tolerance | 0.001 | - | (0, 1) |
| window function | Window function | rectangular | - | [rectangular, hamming, hanning] |
| number of fir taps | Number of FIR taps | 256 | - | [1, +∞), power of 2 |
| maximum number of fir taps | Upper limit on the number of FIR taps | 4096 | - | [1, +∞), power of 2 |
| filter delay | Filter delay | 0 | s | [0, +∞) |
| initialize filter taps | Whether to initialize filter taps | false | - | [true, false] |
Diagnostic #
Used to check the deviation between the ideal response and the digital-filter fit to confirm frequency-domain accuracy in time-domain simulation. Keep disabled for routine simulation.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| run diagnostic | Whether to run diagnostics | false | - | [true, false] |
| diagnostic size | Number of diagnostic data points or buffer size | 1024 | - | [2, +∞) |
Results #
After run diagnostic is enabled, the following nodes appear in the results:

diagnostic/response
| Name | Description |
|---|---|
| transmission | Variation of the complex transmittance of the ideal response and the fitted response with frequency. |
| gain | Variation of the gain (dB) of the ideal response and the fitted response with frequency. |
| error | Relative mean square error between the ideal amplitude and the fitted amplitude. |

