MATLAB amplifier in detail
The model of the SiPM amplifier is a system of 24 equations in 24 variables that has been linearized so that it can be solved by MATLAB.
Parameters and variables
The MATLAB model has a number of parameters and variables to describe the amplifier circuit, including the 24 unknowns, 4 inputs, and numerous constants.
Input parameters
There are four input parameters:
- Input current: (A)
- Bias voltage: (V)
- Power voltage: (V)
- Frequency: (Hz)
Unknown variables
There are twenty-four unknown variables. The locations (and directions in the case of currents) are labeled on the circuit diagram. All unknowns are assumed to be of the form
- ,
where gives the amplitude of oscillation, or the AC component, and gives the DC offset.
- Node voltages: , , , , , ,
- Note: there is no on this circuit; it was a redundant variable with .
- Resistor currents: , , , , , , ,
- Transistor currents: , , , , ,
- Capacitor currents: , ,
Constants
Resistors
The resistance values are mostly the same as those marked on the actual amplifier itself, however and were changed for better agreement of the model with the desired responses. See the article on the actual SiPM Amplifier for details on that circuit.
| Component | Resistance |
Capacitors
The capacitors are not labeled on the amplifier itself or in the documentation supplied with the amplifier, so the following values are guesses as to the capacitances. Note that does not exist.
| Component | Capacitance |
Transistors
The transistor parameters used are selections from the Gummel-Poon SPICE model parameters for these two parts.
| Parameter | Description | value | value |
| VT | temperature voltage | 0.0259 | 0.0259 |
| BF | ideal forward maximum | 93 | 34 |
| NF | forward current emission coefficient | 0.99 | 1.0 |
| IS | transport saturation current | 0.24 fA | 0.44 fA |
| ISE | B-E leakage saturation current | 2.4 fA | 87 fA |
| NE | B-E leakage emission coefficient | 1.46 | 1.94 |
| RB | zero-bias base resistance | 21 | 5 |
| RE | emitter resistance | 0.37 | 1 |
Equations
There are five categories of equations, which give a set of twenty-four equations in total. Two categories of equations are non-linear and need to be linearized to solve this system as a linear model using matrices.
Resistor voltage drop
The resistor voltage drop equations all take the form
or alternately
- .
They describe the voltage drop associated with current crossing a resistor, according to Ohm's Law. As such, there is one equation per resistor in the circuit.
- :
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_2} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_2 - I_2 \!\cdot\! R_2 = 0}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_3} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_4 - I_3 \!\cdot\! R_3 = V_3}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_4} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_3 - I_4 \!\cdot\! R_4 = 0}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_5} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_5 - I_5 \!\cdot\! R_5 = V_4}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_6} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_c - I_6 \!\cdot\! R_6 = V_5}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_7} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_c - I_7 \!\cdot\! R_7 = V_7}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R_t} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_{out} - I_t \!\cdot\! R_t = 0}
Node charge flow
Each node must maintain a dynamic equilibrium of charge during steady-state operation. That means that flow of charge (current) into a given node must equal flow of charge (current) out of that same node. Thus the node charge flow equations take the form of
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sum I = 0}
or alternately
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sum I_{into} = \sum I_{out}} .
There is one such equation per node, and each node already is labeled on the above diagram by the voltage at that point; thus there is one equation per voltage. Additionally, each transistor acts as a node.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_1} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I_1 = I_{in} + h_1}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_2} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I_{in} = I_2 + h_2}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_3} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I_3 + h_2 = I_4 + j_b}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_4} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I_5 + k_b = I_3 + j_c}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_5} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I_6 = I_5 + h_3}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle V_7} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I_7 = I_t + k_e}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle T_1} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle I_b + j_c = j_e}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle T_2} : Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_e = k_b + k_c}