|
Robochameleon
v1.0
|
Balanced photodiode pair model. More...
Inherits unit.
Public Member Functions | |
| function | BalancedPair_v1 (in param) |
| Class constructor. More... | |
| function | traverse (in obj, in in1, in in2) |
| Traverse function. More... | |
| function | checkDimensions (in obj, in N1, in N2) |
| Make sure number of specified properties is reasonable. | |
Public Member Functions inherited from unit | |
| virtual | traverse (in obj, in varargin) |
| Main function call. | |
| function | traverseNode (in obj) |
| Set unique ID when creating a unit. More... | |
| function | connectOutput (in obj, in uobj, in unitOutput, in nextUnitInput) |
| Specify where signal should go next. More... | |
| function | connectOutputs (in obj, in units, in destInputs) |
| Specify where signal should go next. More... | |
| function | writeInputBuffer (in obj, in sig, in inputId) |
| write input buffer | |
| function | horzcat (in varargin) |
| horizontal concatenation | |
| function | vertcat (in varargin) |
| vertical concatenation | |
| function | setparams (in obj, in params, in REQUIRED_PARAMS, in QUIET_PARAMS) |
| set parameters More... | |
| function | view (in obj) |
| Show interactive GUI through unit_view-class. | |
Public Attributes | |
| Property | R |
| Responsivity (A/W) | |
| Property | CMRR |
| Common-mode rejection ratio (dB) | |
| Property | f3dB |
| 3dB cutoff frequency (Hz) | |
| Property | Rtherm |
| thermal resistance (ohm) | |
| Property | Pmax |
| maximum input power (NOT USED) | |
| Property | T |
| Temperature (K) | |
| Property | modeAdditionEnabled |
| Flag to enable/disable incoherent addition of signals in different optical modes. | |
| Property | nInputs |
| Number of input arguments. | |
| Property | nOutputs |
| Number of output arguments. | |
Public Attributes inherited from unit | |
| Property | inputBuffer |
| Buffer for storing inputs as we traverse the graph. | |
| Property | nextNodes |
| Children nodes. | |
| Property | destInputs |
| Destination inputs in children. | |
| Property | results |
| For storing results. | |
| Property | label |
| Property | draw |
| enable/disable plotting | |
| Property | nInputs |
| Number of signals traverse expects. | |
| Property | nOutputs |
| Number of outputs traverse expects. | |
Balanced photodiode pair model.
Balanced pair model. Includes responsivity, finite common-mode rejection ratio, 3dB bandwidth, thermal, and shot noise contributions.
Notes
Definition at line 25 of file BalancedPair_v1.m.
| function BalancedPair_v1::BalancedPair_v1 | ( | in | param | ) |
Class constructor.
Class constructor
Example:
| param.R | Responsivity [A/W] [Default: 1] |
| param.f3dB | electrical 3dB bandwidth [Hz] [Default: 40G] |
| param.Rtherm | resistance for thermal noise calculation [ohm] [Default: 50] |
| param.CMRR | common-mode rejection ratio [dB][Default: inf] |
| param.T | Temperature [K][Default: 290] |
| param.modeAdditionEnabled | [flag] [Default: true] |
| BalancedPair | object |
| function BalancedPair_v1::traverse | ( | in | obj, |
| in | in1, | ||
| in | in2 | ||
| ) |
Traverse function.
Performs square-law detection on both input signals, then subtracts with finite CMRR, then adds noise, then low-pass filters.
| in1 | input signal 1 |
| in2 | input signal 2 |
| out | BPD output |
| results.Rmix | mixing ratio from CMRR calculation |
1.8.11