Note: For legacy data format (2022 R2.4 and older) please visit following link:
photodetector_simple QA (Legacy)
Photonic Model: photodetector_simple
Information on QA tests and QA types: Introduction to Quality Assurance (QA) tests
Instructions on running QA tests: Running QA tests in CML Compiler
QA tests
QA script | QA type | FOMs | Conditions |
---|---|---|---|
Behaviour |
dark current (Idark), photocurrent (Iphoto) | ||
Behaviour |
BW |
|
|
Regression |
statistical |
statistical compact model |
QA Variables
These variables are defined as below in a struct named "QA" in the source data file:
[[snippet||12155371687955]]
Statistical QA Variables
(statistical compact models only)
These variables are defined as below in a struct named "QA" in the "statistical" struct in the source data file:
[[snippet||12156461004947]]
VA_reference_data_available
|
boolean | When true, Verilog-A statistical QA results will be compared against reference data of Verilog-A simulation. When false, reference data is generated (only needed for the first run or after a model update). |
VA_N_trials | number | Number of trials in Monte Carlo sweep for Verilog-A |
parameters | struct |
Parameter values used for setting up the QA test bench. The required field is:
|
QA scripts
photodetector_simple_Idark_Iphoto_qa.lsf
Following test-bench is used to extract the dark current and photo current of the photodetector compact model. Here the anode is biased to the value provided in the "voltage" in parameters struct in the QA section of source data file and the cathode current is measured to extract FOMs. To find the dark current, a CW laser with zero power will be connected to the photodetector under test and to find the photocurrent, CW laser will have 1mW power. Measured dark and photo current will be compared to values in the source data file, Idark_data and Resp_data, and made sure the relative difference is less than the tolerance.
QA type | FOMs | QA variables |
---|---|---|
Behavior test |
|
|
photodetector_simple_BW_qa.lsf
Following test-bench is used to extract the 3dB bandwidth of the compact model. In this an optical impulse is fed to the photodetector under test and the photocurrent at the cathode measured using an oscilloscope. A Fourier transform is then performed of the impulse response to extract the 3dB cutoff frequency. This value is compared to "BW_data" provided in the source data and made sure the relative difference is less than the tolerance.
QA type | FOMs | QA variables |
---|---|---|
Behavior test |
|
parameters:
relative_tolerances:
|
photodetector_simple_statistical_qa.lsf
In this test, for each FOM the Monte Carlo analysis is performed on related test-benches described above and data is compared to data saved in "<element_name>_stat_refdata.mat".
This test is a regression test. If this is the first time running QA, the "reference_data_available" in source data should be set to "false", so the Monte Carlo results from first run will be saved in the element folder as in "<element_name>_stat_refdata.mat". For consecutive runs, "reference_data_available" should be set to true, and results will be compared to these statistical data and make sure the difference is within the tolerance value.
QA type | FOMs | QA variables |
---|---|---|
Regression test |
statistical:
|
absolute_tolerances:
parameters:
|